From 967db5765960b589095fe383415d5006575ef08b Mon Sep 17 00:00:00 2001 From: Jenkins Date: Wed, 18 Dec 2019 14:58:22 +0300 Subject: [PATCH] VERSION 1.15 @ 2019-12-18 11:58:16.705704 setVisibleRange additional argument - right margin % #4512 Indicators are slided when zooming chart #4456 save_load_adapter after removing chart #4454 Overriding timezone definitions #4449 Error while applying study template #4407 Wrong range of overlay after switching timeframe #4372 Intraday Data is Requesting from the server since 1970 #4366 Display price in thousands, millions, billions #4360 setBodyFont of position line tool doesn't work correctly #4353 Realtime updates shifts indicator's data for realtime bars count back #4283 Adaptive indicators dialogs #4247 Click instead of mouseDown for positionLine onClose. #4245 Add applyRightMargin flag to setVisibleRange #4233 Open volume on new pane if volume_force_overlay is enabled #4198 Keep the first visible point when a new bar comes #4188 getVisibleRange should return 00:00 for DWM #4187 21 more indicators #4170 Main series API #4169 Can not set Text property of the Note Shape #4144 Unable to hide legend #4126 setVisibleRange or getVisibleRange adds one more bar to the left #4110 Cannot set tooltip for order line #4079 Dialog is closed immediately if it is invoked from mouse_down event #4077 setVisibleRange doesn't work for multiple charts at once #4068 how to disable mp3 files being loaded? #4052 Increase spacing between bars to display short time periods #4043 Event Marker Placement always uses high #4042 Number cannot be passed as symbol into widget constructor #4039 custom_css_url not working in unstable branch #4017 ConfirmDialog does not close after YES is clicked #3981 Side DOM chart does not render in certain conditions #3975 `getAllShapes` does not return drawings loaded from state #3966 Text inside order/position lines is too small #3962 Removing the last saved chart #3954 get current chart timezone #3943 Text shape throws error setValue #3930 Wrong Symbol and Price values in context menu for secondary instrument. #3926 text override in Horizontal Line does not work #3918 Sticky magnet mode #3902 Add thin bars #3900 Event that study has been removed from the chart #3899 High-Low bars #3898 Multiple Y-axis #3897 Issue with Renko with volume and vwap indicators #3893 Layout rename doesn't send request to server #3878 Cannot create copy of copy of a chart layout #3872 Chart scrolls when tap on a trend line Safari/iphone7 #3871 Chart border overlap scale values #3826 IDatafeedChartApi.subscribeDepth parameters #3821 Error in console when restore defaults #3755 Timeframe is not precise #3722 Wrong year Ticker displayed on X axis if resolution < 2H #3678 New chart layouts #3629 Drawings disappear at certain resolutions #3594 Remove jQuery from loading custom indicator #3563 Align symbol labels #3513 createOrderLine().onMove broken in 1.13 #3480 When changing theme on the fly - chart type changing too #3459 Pivot Points Standard - path to some style params #3441 createMultipointShape overrides with dot don't work #3419 Add inverting price scale #3376 Transparent chart background color #3288 Previous timescale tooltips stay when switching currency #3165 disableSelection still shown the selections on hover #2864 Override symbol from saved_data #2493 Forecast balloon too short #2289 Context menu submenus cover up other options #2007 Add setVisiblePriceRange method #1408 Modify panes height/order #1232 Add custom Interval #1191 --- charting_library/charting_library.min.d.ts | 187 +- charting_library/charting_library.min.js | 2 +- charting_library/datafeed-api.d.ts | 9 +- .../ar-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../ar-tv-chart.9a97ec3c5cba51244359.html | 1 - .../static/bundles/0.1d4cbcaddbec7d8c5363.js | 2 + .../static/bundles/1.2fa13f88d2bf6ae6f3f0.css | 1 + .../bundles/1.2fa13f88d2bf6ae6f3f0.rtl.css | 1 + .../static/bundles/1.ea828ac684caa2b94a1b.js | 1 + .../static/bundles/10.0501e55a3ef6aa50aec6.js | 1 + .../bundles/10.c0a8664f16f3834961e4.css | 1 + .../bundles/10.c0a8664f16f3834961e4.rtl.css | 1 + .../bundles/11.b900b9cb8ed6dd3bc321.css | 1 + .../bundles/11.b900b9cb8ed6dd3bc321.rtl.css | 1 + .../static/bundles/11.dd520838f92e45cd91e3.js | 1 + .../static/bundles/12.18e3c4b9c329e737cb80.js | 1 + .../bundles/12.87f9777d9fe2086ce090.css | 1 + .../bundles/12.87f9777d9fe2086ce090.rtl.css | 1 + .../static/bundles/13.46f312828e93b6546d0c.js | 3 + .../static/bundles/14.579d7892443d1a90180c.js | 4 + .../static/bundles/15.19c5212d15382007773d.js | 6 + .../bundles/16.cc58f582c191485d9392.css | 1 + .../bundles/16.cc58f582c191485d9392.rtl.css | 1 + .../static/bundles/16.e0d00f8a564954896734.js | 1 + .../static/bundles/17.00b04a06a8cd9c6f5f6c.js | 5 + .../bundles/18.183d41ade16dae257526.css | 1 + .../bundles/18.183d41ade16dae257526.rtl.css | 1 + .../static/bundles/18.e4c458360dbad4de5cf6.js | 1 + .../bundles/19.aba848e28ec755548668.css | 1 + .../bundles/19.aba848e28ec755548668.rtl.css | 1 + .../static/bundles/19.c5542d290eefbb001433.js | 1 + .../static/bundles/2.195070ea59b3395625da.js | 1 + .../static/bundles/2.a3e34146d368d13b6bc1.css | 1 + .../bundles/2.a3e34146d368d13b6bc1.rtl.css | 1 + .../static/bundles/20.2416da4fc4c075b56691.js | 1 + .../bundles/20.f75162343321d7d9178c.css | 1 + .../bundles/20.f75162343321d7d9178c.rtl.css | 1 + .../bundles/21.7e987db0ed47cc3f789c.css | 1 + .../bundles/21.7e987db0ed47cc3f789c.rtl.css | 1 + .../static/bundles/21.fc856808959a5b8734f7.js | 1 + .../static/bundles/22.c118eafc7686081984c8.js | 1 + .../static/bundles/22.d344a511955b43dbefcc.js | 2 - .../bundles/22.f31ebffc8672752a2d4b.css | 1 + .../bundles/22.f31ebffc8672752a2d4b.rtl.css | 1 + .../bundles/23.7c4be219df640cb3880c.css | 1 + .../bundles/23.7c4be219df640cb3880c.rtl.css | 1 + .../static/bundles/23.e89d09694523563b8f86.js | 1 + .../static/bundles/24.319f9ed9725f3cea260a.js | 8 + .../static/bundles/25.15d449d35706e01821dd.js | 4 + .../static/bundles/26.16e9146c09ea7d6b839a.js | 3 + .../static/bundles/27.54aad15135c7ea57b345.js | 5 + .../static/bundles/28.3f2589cd73664ea3f3e3.js | 5 + .../static/bundles/29.6a6accc00e80feb13030.js | 4 + .../static/bundles/3.f41fdd1a128935b63e5b.js | 3 + .../static/bundles/30.c3cc90c5fbe9a2b87ffb.js | 2 + .../bundles/31.5c895c4f655400b0b4e2.css | 1 + .../bundles/31.5c895c4f655400b0b4e2.rtl.css | 1 + .../static/bundles/31.d081df3316799b489847.js | 1 + .../static/bundles/32.48df7a8cdc38d60b308b.js | 1 + .../bundles/32.b92773bfff0363a69bb9.css | 1 + .../bundles/32.b92773bfff0363a69bb9.rtl.css | 1 + .../static/bundles/33.4a74c62095be3045c87e.js | 1 + .../bundles/33.ac320c107772f8e72252.css | 1 + .../bundles/33.ac320c107772f8e72252.rtl.css | 1 + .../static/bundles/33.bf2a2fc98cda3004cc87.js | 4 - .../static/bundles/34.17e0ce399a577f17ba55.js | 1 + .../bundles/34.dd27b311326fd1fc6fde.css | 1 + .../bundles/34.dd27b311326fd1fc6fde.rtl.css | 1 + .../bundles/35.47b9d16b3fa10b495a11.css | 1 + .../bundles/35.47b9d16b3fa10b495a11.rtl.css | 1 + .../static/bundles/35.58433cec10095e3c1b7e.js | 1 + .../static/bundles/36.2ee80b40751fcc88a65c.js | 1 + .../bundles/36.e9a6bec06ee11d2c2d4a.css | 1 + .../bundles/36.e9a6bec06ee11d2c2d4a.rtl.css | 1 + .../bundles/37.065a5f2249aafcfe50ec.css | 1 + .../bundles/37.065a5f2249aafcfe50ec.rtl.css | 1 + .../static/bundles/37.1735365b01406a8d696d.js | 1 + .../bundles/38.4073381c29c4e2bc2209.css | 1 + .../bundles/38.4073381c29c4e2bc2209.rtl.css | 1 + .../static/bundles/38.9ae2eea9402c30aa3046.js | 1 + .../bundles/39.5f64b4bc2e263edfbf6e.css | 1 + .../bundles/39.5f64b4bc2e263edfbf6e.rtl.css | 1 + .../static/bundles/39.7e524b82ef9947f0f19f.js | 1 + .../static/bundles/4.80bf1a925965757be6d4.js | 4 + .../bundles/40.0f54f57304896d7506a2.css | 1 + .../bundles/40.0f54f57304896d7506a2.rtl.css | 1 + .../static/bundles/40.42bd9598272e9dd24457.js | 1 + .../static/bundles/41.11c024e8e0504741fd66.js | 1 + .../bundles/41.1dc91fcdd5dbde1247d7.css | 1 + .../bundles/41.1dc91fcdd5dbde1247d7.rtl.css | 1 + .../static/bundles/42.0491acaaf55887f7fcb3.js | 1 + .../bundles/42.db948a104cb86b7df06e.css | 1 + .../bundles/42.db948a104cb86b7df06e.rtl.css | 1 + .../bundles/43.12df9892872230fa2898.css | 1 + .../bundles/43.12df9892872230fa2898.rtl.css | 1 + .../static/bundles/43.4ae432f1b8259dbfd0e5.js | 1 + .../bundles/44.01ec30ff4ce8cf7fa8e5.css | 1 + .../bundles/44.01ec30ff4ce8cf7fa8e5.rtl.css | 1 + .../static/bundles/44.7aabc64d3dfb54c85d60.js | 1 + .../static/bundles/45.6c1fc3ac2f6063249f97.js | 1 + .../bundles/45.e09d2beed14ffd8995a9.css | 1 + .../bundles/45.e09d2beed14ffd8995a9.rtl.css | 1 + .../static/bundles/46.75a0e6fecbc3c92a6bc7.js | 1 + .../bundles/46.923fdbea563cd1d28d4c.css | 1 + .../bundles/46.923fdbea563cd1d28d4c.rtl.css | 1 + .../static/bundles/47.773635a99e184d6dc131.js | 1 + .../bundles/47.b48791ffffadc9c96a10.css | 1 + .../bundles/47.b48791ffffadc9c96a10.rtl.css | 1 + .../bundles/48.912258c9b4f11cd518c3.css | 1 + .../bundles/48.912258c9b4f11cd518c3.rtl.css | 1 + .../static/bundles/48.9d08141ee2d55bcad3e7.js | 1 + .../bundles/49.0cb5c561f3b28a047912.css | 1 + .../bundles/49.0cb5c561f3b28a047912.rtl.css | 1 + .../static/bundles/49.929acbc67c2613c57f58.js | 1 + .../static/bundles/5.1beaffde9123ffaeff74.js | 9 + .../static/bundles/50.2c50aad369bf63f77061.js | 1 + .../bundles/50.e2f9bc14536ad546e595.css | 1 + .../bundles/50.e2f9bc14536ad546e595.rtl.css | 1 + .../static/bundles/51.30c5804303a9f1c455e3.js | 1 + .../bundles/51.a35e4c0d0b08a018e307.css | 1 + .../bundles/51.a35e4c0d0b08a018e307.rtl.css | 1 + .../bundles/52.be1d70abe1a172cc5c3a.css | 1 + .../bundles/52.be1d70abe1a172cc5c3a.rtl.css | 1 + .../static/bundles/52.c212ca3684de16c6f115.js | 1 + .../bundles/53.3f6d736abe33683640bc.css | 1 + .../bundles/53.3f6d736abe33683640bc.rtl.css | 1 + .../static/bundles/53.7217742e39b70fc9d431.js | 1 + .../static/bundles/54.9eb4ca2a30197d95fe82.js | 1 + .../bundles/54.cf540e4ba48bf75e96c2.css | 1 + .../bundles/54.cf540e4ba48bf75e96c2.rtl.css | 1 + .../static/bundles/55.7707e6ae9f2ec8cfb656.js | 1 + .../bundles/55.c11884ad80d526214fb6.css | 1 + .../bundles/55.c11884ad80d526214fb6.rtl.css | 1 + .../static/bundles/56.83cd8456e872f49059c3.js | 1 + .../bundles/56.ea0c135a2b02b495fbb5.css | 1 + .../bundles/56.ea0c135a2b02b495fbb5.rtl.css | 1 + .../static/bundles/57.6384b62456dc4fed6ffb.js | 1 + .../bundles/57.651927021db01a7ed13f.css | 1 + .../bundles/57.651927021db01a7ed13f.rtl.css | 1 + .../static/bundles/58.8077d6b199609737b3d5.js | 1 + .../bundles/58.82b7bef062a290e587d4.css | 1 + .../bundles/58.82b7bef062a290e587d4.rtl.css | 1 + .../static/bundles/6.35dee0cfeb8a4d70732c.css | 1 + .../bundles/6.35dee0cfeb8a4d70732c.rtl.css | 1 + .../static/bundles/6.902d5f3923d45b49b876.js | 1 + .../static/bundles/7.e98fce2ffac2c552565f.css | 1 + .../bundles/7.e98fce2ffac2c552565f.rtl.css | 1 + .../static/bundles/7.fc0941206f7b7d32812d.js | 1 + .../static/bundles/8.180c6bdc716e5045b645.css | 1 + .../bundles/8.180c6bdc716e5045b645.rtl.css | 1 + .../static/bundles/8.62bd4ee21281906a7019.js | 1 + .../static/bundles/9.855edb9bea2352bd5129.js | 15 + ...add-compare-dialog.99e6e22e5d6b137269e9.js | 21 - ...add-compare-dialog.e9db1b14483f3e7358f4.js | 3 + ...ge-interval-dialog.90d98fd5c50c9ae968da.js | 6 - ...ge-interval-dialog.c8c04c297cc329376f2b.js | 2 + ...art-bottom-toolbar.7bbb5f176039f7d3dc2b.js | 17 - ...art-bottom-toolbar.da7ac0cc35cc8a26f65a.js | 10 + .../chart-widget-gui.67de12c05d134554ff1c.js | 13 - .../chart-widget-gui.8005316cfc1f06be4bf0.js | 13 + .../bundles/clipboard.5403f9bd852af06addff.js | 4 + ...firm-inputs-dialog.acb4dc0e002888e741f5.js | 28 - ...firm-inputs-dialog.f9823e95a365cd8974c9.js | 1 + ...ymbol-input-dialog.741858b9ef54b3611d31.js | 13 - ...ymbol-input-dialog.c72289c830292c73812f.js | 1 + ...text-menu-renderer.5eff9c34fa03e94b2c1b.js | 5 + .../create-dialog.472fe015128398f27a86.js | 6 + .../create-dialog.b388c187425e521c5a70.js | 13 - .../dialogs-core.c712826575e8ea62d8e0.js | 9 + .../dialogs-core.e9f630dd3fdeb4ceee21.css | 1 + .../dialogs-core.e9f630dd3fdeb4ceee21.rtl.css | 1 + .../drawing-toolbar.35360bdf4aedb7db7287.js | 14 + .../drawing-toolbar.b5c7b558d29b0ded0e45.js | 45 - .../ds-property-pages.0ec3f0e39331586d5be1.js | 95 - .../ds-property-pages.33a0b54c87f584f79681.js | 79 + .../editobjectdialog.6741e8ad1a77a4388d0f.js | 26 - .../editobjectdialog.a4fd348616e0724542ac.js | 5 + .../export-data.c8730af5d9a5f56fecc4.js | 1 - .../export-data.ea9e219d1d41389ea3b7.js | 1 + .../floating-toolbars.348bec38a5b37a3f388f.js | 65 - .../floating-toolbars.d7f25f59513991368767.js | 18 + ...ont.3293616ec0c605c7c2db25829a0a509e.woff} | Bin ...ont.40f9a03d174178efb12303caa9bc7cd8.woff2 | Bin 0 -> 35328 bytes ...o-date-dialog-impl.193ed211cd4f2c07f45e.js | 30 - ...o-date-dialog-impl.51162344726d8956c763.js | 7 + .../bundles/hammerjs.46686dd839f22b742351.js | 7 + .../bundles/hammerjs.9f017652d0f77438961c.js | 7 - .../header-toolbar.743cca210a6a3e37939e.js | 7 + .../header-toolbar.95cfaecb949c7e2261e3.js | 8 - .../ie-fallback-logos.589046871bfa17cbfbda.js | 3 + .../ie-fallback-logos.ecdc2f1255ecbff1dc5f.js | 54 - .../lazy-jquery-ui.3a9fe36168ca8e6cacb8.js | 34 + .../lazy-jquery-ui.d97968c821f676a52e9b.js | 34 - .../lazy-velocity.b369bcf3fef7b3d24234.js | 15 - .../lazy-velocity.d040cf1092d3b2920dde.js | 15 + .../bundles/library.6193a35b840b0cd54108.js | 572 - .../bundles/library.bb7ca756e7cbe50becb3.css | 1 + .../library.bb7ca756e7cbe50becb3.rtl.css | 1 + ...brary.d4fe80eabeda1f68dfb3cc3f3939c03a.css | 16727 ---------------- ...y.d4fe80eabeda1f68dfb3cc3f3939c03a.rtl.css | 16629 --------------- .../bundles/library.e964cdc99937c68d0389.js | 621 + .../line-tools-icons.c89643eed013eb0ff7c1.js | 28 + .../line-tools-icons.d4bcd6d038b2fea6feed.js | 27 - .../load-chart-dialog.24806d5c5be9fbdfd103.js | 6 + ...hart-layout-dialog.7bca15b478667d4a383c.js | 35 - .../lt-pane-views.92236c4fd18131ce41f4.js | 82 - .../lt-pane-views.e06093931461762ecd11.js | 79 + .../bundles/moment.fdf50ccef2c78863664d.js | 17 + ...edit-object-dialog.232c44a337440602cba4.js | 40 + .../objecttreedialog.b9fa79f3c22b36c514bf.js | 29 - .../objecttreedialog.bb84539d18c87a88a80b.js | 12 + ...ttern.a6506134daec7169f68f563f084a9d41.svg | 1 + ...nifest.60144109bbe17651b1eb050c29e4f6f4.js | 2 + ...opertypagesfactory.42f63d141baef6e836f7.js | 1 - .../bundles/react.cdaa9c19dda854fad341.js | 40 + ...restricted-toolset.a0f7780efd28528934ba.js | 23 - ...restricted-toolset.e356a29caff335c91f6b.js | 19 + .../bundles/runtime.d22af752ee0c2111becd.js | 4 + .../series-icons-map.359d3b9b312cf5f56733.js | 2 - .../series-icons-map.e3b746e7a7341e8ddb2d.js | 2 + .../series-pane-views.678a074c53e327c3184a.js | 1 + .../series-pane-views.9ee45674170ad7836ba4.js | 1 - .../static/bundles/service-worker.js | 29 + .../study-market.c4fcdd9f755d64995795.js | 26 - .../study-market.ff409c6c02ba9edc0151.js | 14 + .../study-pane-views.a750dba6fc5340758064.js | 1 - .../study-pane-views.ee901b6c4a31f84ba03d.js | 1 + ...dy-template-dialog.a6f710070f1f64f2ef11.js | 6 + ...l-info-dialog-impl.6812ea9f986a1db1a6a9.js | 23 - ...l-info-dialog-impl.eaddb54cc066d7a021e2.js | 2 + .../symbolsearch.0057814b113bcee3d957.js | 10 + .../symbolsearch.e22809c43539f903c28a.js | 14 - ...-image-dialog-impl.8581642b95a39228d178.js | 8 - ...-image-dialog-impl.d61e03a87b11d0c1adf1.js | 5 + .../bundles/vendors.267dd414d71e078f822c.js | 95 + .../bundles/vendors.760e5af2bd4c4eac24b4.js | 139 - .../cs-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../cs-tv-chart.9a97ec3c5cba51244359.html | 1 - .../da_DK-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../da_DK-tv-chart.9a97ec3c5cba51244359.html | 1 - .../de-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../de-tv-chart.9a97ec3c5cba51244359.html | 1 - .../el-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../el-tv-chart.9a97ec3c5cba51244359.html | 1 - .../en-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../en-tv-chart.9a97ec3c5cba51244359.html | 1 - .../es-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../es-tv-chart.9a97ec3c5cba51244359.html | 1 - .../et_EE-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../et_EE-tv-chart.9a97ec3c5cba51244359.html | 1 - .../fa-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../fa-tv-chart.9a97ec3c5cba51244359.html | 1 - .../static/fonts/fontawesome-webfont.svg | 414 - .../static/fonts/fontawesome-webfont.ttf | Bin 80652 -> 0 bytes .../fr-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../fr-tv-chart.9a97ec3c5cba51244359.html | 1 - .../he_IL-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../he_IL-tv-chart.9a97ec3c5cba51244359.html | 1 - .../hu_HU-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../hu_HU-tv-chart.9a97ec3c5cba51244359.html | 1 - .../id_ID-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../id_ID-tv-chart.9a97ec3c5cba51244359.html | 1 - .../it-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../it-tv-chart.9a97ec3c5cba51244359.html | 1 - .../ja-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../ja-tv-chart.9a97ec3c5cba51244359.html | 1 - .../ko-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../ko-tv-chart.9a97ec3c5cba51244359.html | 1 - .../ms_MY-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../ms_MY-tv-chart.9a97ec3c5cba51244359.html | 1 - .../nl_NL-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../nl_NL-tv-chart.9a97ec3c5cba51244359.html | 1 - .../no-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../no-tv-chart.9a97ec3c5cba51244359.html | 1 - .../pl-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../pl-tv-chart.9a97ec3c5cba51244359.html | 1 - .../pt-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../pt-tv-chart.9a97ec3c5cba51244359.html | 1 - .../ro-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../ro-tv-chart.9a97ec3c5cba51244359.html | 1 - .../ru-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../ru-tv-chart.9a97ec3c5cba51244359.html | 1 - .../sk_SK-tv-chart.8562c7b8f7bdb50c1f5d.html | 110 + .../sk_SK-tv-chart.9a97ec3c5cba51244359.html | 1 - .../sv-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../sv-tv-chart.9a97ec3c5cba51244359.html | 1 - .../th-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../th-tv-chart.9a97ec3c5cba51244359.html | 1 - .../tr-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../tr-tv-chart.9a97ec3c5cba51244359.html | 1 - .../vi-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../vi-tv-chart.9a97ec3c5cba51244359.html | 1 - .../zh-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../zh-tv-chart.9a97ec3c5cba51244359.html | 1 - .../zh_TW-tv-chart.8562c7b8f7bdb50c1f5d.html | 111 + .../zh_TW-tv-chart.9a97ec3c5cba51244359.html | 1 - datafeeds/udf/dist/bundle.js | 2 +- datafeeds/udf/dist/polyfills.js | 2 +- datafeeds/udf/lib/helpers.js | 1 + datafeeds/udf/lib/history-provider.js | 1 + datafeeds/udf/lib/symbols-storage.js | 2 + datafeeds/udf/package.json | 2 +- datafeeds/udf/src/helpers.js | 1 + datafeeds/udf/src/helpers.ts | 1 + datafeeds/udf/src/history-provider.js | 1 + datafeeds/udf/src/history-provider.ts | 1 + datafeeds/udf/src/symbols-storage.js | 2 + datafeeds/udf/src/symbols-storage.ts | 2 + mobile_black.html | 1 - test.html | 7 +- 310 files changed, 4997 insertions(+), 35322 deletions(-) create mode 100644 charting_library/static/ar-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/ar-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/bundles/0.1d4cbcaddbec7d8c5363.js create mode 100644 charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.css create mode 100644 charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.rtl.css create mode 100644 charting_library/static/bundles/1.ea828ac684caa2b94a1b.js create mode 100644 charting_library/static/bundles/10.0501e55a3ef6aa50aec6.js create mode 100644 charting_library/static/bundles/10.c0a8664f16f3834961e4.css create mode 100644 charting_library/static/bundles/10.c0a8664f16f3834961e4.rtl.css create mode 100644 charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.css create mode 100644 charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.rtl.css create mode 100644 charting_library/static/bundles/11.dd520838f92e45cd91e3.js create mode 100644 charting_library/static/bundles/12.18e3c4b9c329e737cb80.js create mode 100644 charting_library/static/bundles/12.87f9777d9fe2086ce090.css create mode 100644 charting_library/static/bundles/12.87f9777d9fe2086ce090.rtl.css create mode 100644 charting_library/static/bundles/13.46f312828e93b6546d0c.js create mode 100644 charting_library/static/bundles/14.579d7892443d1a90180c.js create mode 100644 charting_library/static/bundles/15.19c5212d15382007773d.js create mode 100644 charting_library/static/bundles/16.cc58f582c191485d9392.css create mode 100644 charting_library/static/bundles/16.cc58f582c191485d9392.rtl.css create mode 100644 charting_library/static/bundles/16.e0d00f8a564954896734.js create mode 100644 charting_library/static/bundles/17.00b04a06a8cd9c6f5f6c.js create mode 100644 charting_library/static/bundles/18.183d41ade16dae257526.css create mode 100644 charting_library/static/bundles/18.183d41ade16dae257526.rtl.css create mode 100644 charting_library/static/bundles/18.e4c458360dbad4de5cf6.js create mode 100644 charting_library/static/bundles/19.aba848e28ec755548668.css create mode 100644 charting_library/static/bundles/19.aba848e28ec755548668.rtl.css create mode 100644 charting_library/static/bundles/19.c5542d290eefbb001433.js create mode 100644 charting_library/static/bundles/2.195070ea59b3395625da.js create mode 100644 charting_library/static/bundles/2.a3e34146d368d13b6bc1.css create mode 100644 charting_library/static/bundles/2.a3e34146d368d13b6bc1.rtl.css create mode 100644 charting_library/static/bundles/20.2416da4fc4c075b56691.js create mode 100644 charting_library/static/bundles/20.f75162343321d7d9178c.css create mode 100644 charting_library/static/bundles/20.f75162343321d7d9178c.rtl.css create mode 100644 charting_library/static/bundles/21.7e987db0ed47cc3f789c.css create mode 100644 charting_library/static/bundles/21.7e987db0ed47cc3f789c.rtl.css create mode 100644 charting_library/static/bundles/21.fc856808959a5b8734f7.js create mode 100644 charting_library/static/bundles/22.c118eafc7686081984c8.js delete mode 100644 charting_library/static/bundles/22.d344a511955b43dbefcc.js create mode 100644 charting_library/static/bundles/22.f31ebffc8672752a2d4b.css create mode 100644 charting_library/static/bundles/22.f31ebffc8672752a2d4b.rtl.css create mode 100644 charting_library/static/bundles/23.7c4be219df640cb3880c.css create mode 100644 charting_library/static/bundles/23.7c4be219df640cb3880c.rtl.css create mode 100644 charting_library/static/bundles/23.e89d09694523563b8f86.js create mode 100644 charting_library/static/bundles/24.319f9ed9725f3cea260a.js create mode 100644 charting_library/static/bundles/25.15d449d35706e01821dd.js create mode 100644 charting_library/static/bundles/26.16e9146c09ea7d6b839a.js create mode 100644 charting_library/static/bundles/27.54aad15135c7ea57b345.js create mode 100644 charting_library/static/bundles/28.3f2589cd73664ea3f3e3.js create mode 100644 charting_library/static/bundles/29.6a6accc00e80feb13030.js create mode 100644 charting_library/static/bundles/3.f41fdd1a128935b63e5b.js create mode 100644 charting_library/static/bundles/30.c3cc90c5fbe9a2b87ffb.js create mode 100644 charting_library/static/bundles/31.5c895c4f655400b0b4e2.css create mode 100644 charting_library/static/bundles/31.5c895c4f655400b0b4e2.rtl.css create mode 100644 charting_library/static/bundles/31.d081df3316799b489847.js create mode 100644 charting_library/static/bundles/32.48df7a8cdc38d60b308b.js create mode 100644 charting_library/static/bundles/32.b92773bfff0363a69bb9.css create mode 100644 charting_library/static/bundles/32.b92773bfff0363a69bb9.rtl.css create mode 100644 charting_library/static/bundles/33.4a74c62095be3045c87e.js create mode 100644 charting_library/static/bundles/33.ac320c107772f8e72252.css create mode 100644 charting_library/static/bundles/33.ac320c107772f8e72252.rtl.css delete mode 100644 charting_library/static/bundles/33.bf2a2fc98cda3004cc87.js create mode 100644 charting_library/static/bundles/34.17e0ce399a577f17ba55.js create mode 100644 charting_library/static/bundles/34.dd27b311326fd1fc6fde.css create mode 100644 charting_library/static/bundles/34.dd27b311326fd1fc6fde.rtl.css create mode 100644 charting_library/static/bundles/35.47b9d16b3fa10b495a11.css create mode 100644 charting_library/static/bundles/35.47b9d16b3fa10b495a11.rtl.css create mode 100644 charting_library/static/bundles/35.58433cec10095e3c1b7e.js create mode 100644 charting_library/static/bundles/36.2ee80b40751fcc88a65c.js create mode 100644 charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.css create mode 100644 charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.rtl.css create mode 100644 charting_library/static/bundles/37.065a5f2249aafcfe50ec.css create mode 100644 charting_library/static/bundles/37.065a5f2249aafcfe50ec.rtl.css create mode 100644 charting_library/static/bundles/37.1735365b01406a8d696d.js create mode 100644 charting_library/static/bundles/38.4073381c29c4e2bc2209.css create mode 100644 charting_library/static/bundles/38.4073381c29c4e2bc2209.rtl.css create mode 100644 charting_library/static/bundles/38.9ae2eea9402c30aa3046.js create mode 100644 charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.css create mode 100644 charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.rtl.css create mode 100644 charting_library/static/bundles/39.7e524b82ef9947f0f19f.js create mode 100644 charting_library/static/bundles/4.80bf1a925965757be6d4.js create mode 100644 charting_library/static/bundles/40.0f54f57304896d7506a2.css create mode 100644 charting_library/static/bundles/40.0f54f57304896d7506a2.rtl.css create mode 100644 charting_library/static/bundles/40.42bd9598272e9dd24457.js create mode 100644 charting_library/static/bundles/41.11c024e8e0504741fd66.js create mode 100644 charting_library/static/bundles/41.1dc91fcdd5dbde1247d7.css create mode 100644 charting_library/static/bundles/41.1dc91fcdd5dbde1247d7.rtl.css create mode 100644 charting_library/static/bundles/42.0491acaaf55887f7fcb3.js create mode 100644 charting_library/static/bundles/42.db948a104cb86b7df06e.css create mode 100644 charting_library/static/bundles/42.db948a104cb86b7df06e.rtl.css create mode 100644 charting_library/static/bundles/43.12df9892872230fa2898.css create mode 100644 charting_library/static/bundles/43.12df9892872230fa2898.rtl.css create mode 100644 charting_library/static/bundles/43.4ae432f1b8259dbfd0e5.js create mode 100644 charting_library/static/bundles/44.01ec30ff4ce8cf7fa8e5.css create mode 100644 charting_library/static/bundles/44.01ec30ff4ce8cf7fa8e5.rtl.css create mode 100644 charting_library/static/bundles/44.7aabc64d3dfb54c85d60.js create mode 100644 charting_library/static/bundles/45.6c1fc3ac2f6063249f97.js create mode 100644 charting_library/static/bundles/45.e09d2beed14ffd8995a9.css create mode 100644 charting_library/static/bundles/45.e09d2beed14ffd8995a9.rtl.css create mode 100644 charting_library/static/bundles/46.75a0e6fecbc3c92a6bc7.js create mode 100644 charting_library/static/bundles/46.923fdbea563cd1d28d4c.css create mode 100644 charting_library/static/bundles/46.923fdbea563cd1d28d4c.rtl.css create mode 100644 charting_library/static/bundles/47.773635a99e184d6dc131.js create mode 100644 charting_library/static/bundles/47.b48791ffffadc9c96a10.css create mode 100644 charting_library/static/bundles/47.b48791ffffadc9c96a10.rtl.css create mode 100644 charting_library/static/bundles/48.912258c9b4f11cd518c3.css create mode 100644 charting_library/static/bundles/48.912258c9b4f11cd518c3.rtl.css create mode 100644 charting_library/static/bundles/48.9d08141ee2d55bcad3e7.js create mode 100644 charting_library/static/bundles/49.0cb5c561f3b28a047912.css create mode 100644 charting_library/static/bundles/49.0cb5c561f3b28a047912.rtl.css create mode 100644 charting_library/static/bundles/49.929acbc67c2613c57f58.js create mode 100644 charting_library/static/bundles/5.1beaffde9123ffaeff74.js create mode 100644 charting_library/static/bundles/50.2c50aad369bf63f77061.js create mode 100644 charting_library/static/bundles/50.e2f9bc14536ad546e595.css create mode 100644 charting_library/static/bundles/50.e2f9bc14536ad546e595.rtl.css create mode 100644 charting_library/static/bundles/51.30c5804303a9f1c455e3.js create mode 100644 charting_library/static/bundles/51.a35e4c0d0b08a018e307.css create mode 100644 charting_library/static/bundles/51.a35e4c0d0b08a018e307.rtl.css create mode 100644 charting_library/static/bundles/52.be1d70abe1a172cc5c3a.css create mode 100644 charting_library/static/bundles/52.be1d70abe1a172cc5c3a.rtl.css create mode 100644 charting_library/static/bundles/52.c212ca3684de16c6f115.js create mode 100644 charting_library/static/bundles/53.3f6d736abe33683640bc.css create mode 100644 charting_library/static/bundles/53.3f6d736abe33683640bc.rtl.css create mode 100644 charting_library/static/bundles/53.7217742e39b70fc9d431.js create mode 100644 charting_library/static/bundles/54.9eb4ca2a30197d95fe82.js create mode 100644 charting_library/static/bundles/54.cf540e4ba48bf75e96c2.css create mode 100644 charting_library/static/bundles/54.cf540e4ba48bf75e96c2.rtl.css create mode 100644 charting_library/static/bundles/55.7707e6ae9f2ec8cfb656.js create mode 100644 charting_library/static/bundles/55.c11884ad80d526214fb6.css create mode 100644 charting_library/static/bundles/55.c11884ad80d526214fb6.rtl.css create mode 100644 charting_library/static/bundles/56.83cd8456e872f49059c3.js create mode 100644 charting_library/static/bundles/56.ea0c135a2b02b495fbb5.css create mode 100644 charting_library/static/bundles/56.ea0c135a2b02b495fbb5.rtl.css create mode 100644 charting_library/static/bundles/57.6384b62456dc4fed6ffb.js create mode 100644 charting_library/static/bundles/57.651927021db01a7ed13f.css create mode 100644 charting_library/static/bundles/57.651927021db01a7ed13f.rtl.css create mode 100644 charting_library/static/bundles/58.8077d6b199609737b3d5.js create mode 100644 charting_library/static/bundles/58.82b7bef062a290e587d4.css create mode 100644 charting_library/static/bundles/58.82b7bef062a290e587d4.rtl.css create mode 100644 charting_library/static/bundles/6.35dee0cfeb8a4d70732c.css create mode 100644 charting_library/static/bundles/6.35dee0cfeb8a4d70732c.rtl.css create mode 100644 charting_library/static/bundles/6.902d5f3923d45b49b876.js create mode 100644 charting_library/static/bundles/7.e98fce2ffac2c552565f.css create mode 100644 charting_library/static/bundles/7.e98fce2ffac2c552565f.rtl.css create mode 100644 charting_library/static/bundles/7.fc0941206f7b7d32812d.js create mode 100644 charting_library/static/bundles/8.180c6bdc716e5045b645.css create mode 100644 charting_library/static/bundles/8.180c6bdc716e5045b645.rtl.css create mode 100644 charting_library/static/bundles/8.62bd4ee21281906a7019.js create mode 100644 charting_library/static/bundles/9.855edb9bea2352bd5129.js delete mode 100644 charting_library/static/bundles/add-compare-dialog.99e6e22e5d6b137269e9.js create mode 100644 charting_library/static/bundles/add-compare-dialog.e9db1b14483f3e7358f4.js delete mode 100644 charting_library/static/bundles/change-interval-dialog.90d98fd5c50c9ae968da.js create mode 100644 charting_library/static/bundles/change-interval-dialog.c8c04c297cc329376f2b.js delete mode 100644 charting_library/static/bundles/chart-bottom-toolbar.7bbb5f176039f7d3dc2b.js create mode 100644 charting_library/static/bundles/chart-bottom-toolbar.da7ac0cc35cc8a26f65a.js delete mode 100644 charting_library/static/bundles/chart-widget-gui.67de12c05d134554ff1c.js create mode 100644 charting_library/static/bundles/chart-widget-gui.8005316cfc1f06be4bf0.js create mode 100644 charting_library/static/bundles/clipboard.5403f9bd852af06addff.js delete mode 100644 charting_library/static/bundles/confirm-inputs-dialog.acb4dc0e002888e741f5.js create mode 100644 charting_library/static/bundles/confirm-inputs-dialog.f9823e95a365cd8974c9.js delete mode 100644 charting_library/static/bundles/confirm-symbol-input-dialog.741858b9ef54b3611d31.js create mode 100644 charting_library/static/bundles/confirm-symbol-input-dialog.c72289c830292c73812f.js create mode 100644 charting_library/static/bundles/context-menu-renderer.5eff9c34fa03e94b2c1b.js create mode 100644 charting_library/static/bundles/create-dialog.472fe015128398f27a86.js delete mode 100644 charting_library/static/bundles/create-dialog.b388c187425e521c5a70.js create mode 100644 charting_library/static/bundles/dialogs-core.c712826575e8ea62d8e0.js create mode 100644 charting_library/static/bundles/dialogs-core.e9f630dd3fdeb4ceee21.css create mode 100644 charting_library/static/bundles/dialogs-core.e9f630dd3fdeb4ceee21.rtl.css create mode 100644 charting_library/static/bundles/drawing-toolbar.35360bdf4aedb7db7287.js delete mode 100644 charting_library/static/bundles/drawing-toolbar.b5c7b558d29b0ded0e45.js delete mode 100644 charting_library/static/bundles/ds-property-pages.0ec3f0e39331586d5be1.js create mode 100644 charting_library/static/bundles/ds-property-pages.33a0b54c87f584f79681.js delete mode 100644 charting_library/static/bundles/editobjectdialog.6741e8ad1a77a4388d0f.js create mode 100644 charting_library/static/bundles/editobjectdialog.a4fd348616e0724542ac.js delete mode 100644 charting_library/static/bundles/export-data.c8730af5d9a5f56fecc4.js create mode 100644 charting_library/static/bundles/export-data.ea9e219d1d41389ea3b7.js delete mode 100644 charting_library/static/bundles/floating-toolbars.348bec38a5b37a3f388f.js create mode 100644 charting_library/static/bundles/floating-toolbars.d7f25f59513991368767.js rename charting_library/static/{fonts/fontawesome-webfont.woff => bundles/fontawesome-webfont.3293616ec0c605c7c2db25829a0a509e.woff} (100%) create mode 100644 charting_library/static/bundles/fontawesome-webfont.40f9a03d174178efb12303caa9bc7cd8.woff2 delete mode 100644 charting_library/static/bundles/go-to-date-dialog-impl.193ed211cd4f2c07f45e.js create mode 100644 charting_library/static/bundles/go-to-date-dialog-impl.51162344726d8956c763.js create mode 100644 charting_library/static/bundles/hammerjs.46686dd839f22b742351.js delete mode 100644 charting_library/static/bundles/hammerjs.9f017652d0f77438961c.js create mode 100644 charting_library/static/bundles/header-toolbar.743cca210a6a3e37939e.js delete mode 100644 charting_library/static/bundles/header-toolbar.95cfaecb949c7e2261e3.js create mode 100644 charting_library/static/bundles/ie-fallback-logos.589046871bfa17cbfbda.js delete mode 100644 charting_library/static/bundles/ie-fallback-logos.ecdc2f1255ecbff1dc5f.js create mode 100644 charting_library/static/bundles/lazy-jquery-ui.3a9fe36168ca8e6cacb8.js delete mode 100644 charting_library/static/bundles/lazy-jquery-ui.d97968c821f676a52e9b.js delete mode 100644 charting_library/static/bundles/lazy-velocity.b369bcf3fef7b3d24234.js create mode 100644 charting_library/static/bundles/lazy-velocity.d040cf1092d3b2920dde.js delete mode 100644 charting_library/static/bundles/library.6193a35b840b0cd54108.js create mode 100644 charting_library/static/bundles/library.bb7ca756e7cbe50becb3.css create mode 100644 charting_library/static/bundles/library.bb7ca756e7cbe50becb3.rtl.css delete mode 100644 charting_library/static/bundles/library.d4fe80eabeda1f68dfb3cc3f3939c03a.css delete mode 100644 charting_library/static/bundles/library.d4fe80eabeda1f68dfb3cc3f3939c03a.rtl.css create mode 100644 charting_library/static/bundles/library.e964cdc99937c68d0389.js create mode 100644 charting_library/static/bundles/line-tools-icons.c89643eed013eb0ff7c1.js delete mode 100644 charting_library/static/bundles/line-tools-icons.d4bcd6d038b2fea6feed.js create mode 100644 charting_library/static/bundles/load-chart-dialog.24806d5c5be9fbdfd103.js delete mode 100644 charting_library/static/bundles/load-chart-layout-dialog.7bca15b478667d4a383c.js delete mode 100644 charting_library/static/bundles/lt-pane-views.92236c4fd18131ce41f4.js create mode 100644 charting_library/static/bundles/lt-pane-views.e06093931461762ecd11.js create mode 100644 charting_library/static/bundles/moment.fdf50ccef2c78863664d.js create mode 100644 charting_library/static/bundles/new-edit-object-dialog.232c44a337440602cba4.js delete mode 100644 charting_library/static/bundles/objecttreedialog.b9fa79f3c22b36c514bf.js create mode 100644 charting_library/static/bundles/objecttreedialog.bb84539d18c87a88a80b.js create mode 100644 charting_library/static/bundles/opacity-pattern.a6506134daec7169f68f563f084a9d41.svg create mode 100644 charting_library/static/bundles/precache-manifest.60144109bbe17651b1eb050c29e4f6f4.js delete mode 100644 charting_library/static/bundles/propertypagesfactory.42f63d141baef6e836f7.js create mode 100644 charting_library/static/bundles/react.cdaa9c19dda854fad341.js delete mode 100644 charting_library/static/bundles/restricted-toolset.a0f7780efd28528934ba.js create mode 100644 charting_library/static/bundles/restricted-toolset.e356a29caff335c91f6b.js create mode 100644 charting_library/static/bundles/runtime.d22af752ee0c2111becd.js delete mode 100644 charting_library/static/bundles/series-icons-map.359d3b9b312cf5f56733.js create mode 100644 charting_library/static/bundles/series-icons-map.e3b746e7a7341e8ddb2d.js create mode 100644 charting_library/static/bundles/series-pane-views.678a074c53e327c3184a.js delete mode 100644 charting_library/static/bundles/series-pane-views.9ee45674170ad7836ba4.js create mode 100644 charting_library/static/bundles/service-worker.js delete mode 100644 charting_library/static/bundles/study-market.c4fcdd9f755d64995795.js create mode 100644 charting_library/static/bundles/study-market.ff409c6c02ba9edc0151.js delete mode 100644 charting_library/static/bundles/study-pane-views.a750dba6fc5340758064.js create mode 100644 charting_library/static/bundles/study-pane-views.ee901b6c4a31f84ba03d.js create mode 100644 charting_library/static/bundles/study-template-dialog.a6f710070f1f64f2ef11.js delete mode 100644 charting_library/static/bundles/symbol-info-dialog-impl.6812ea9f986a1db1a6a9.js create mode 100644 charting_library/static/bundles/symbol-info-dialog-impl.eaddb54cc066d7a021e2.js create mode 100644 charting_library/static/bundles/symbolsearch.0057814b113bcee3d957.js delete mode 100644 charting_library/static/bundles/symbolsearch.e22809c43539f903c28a.js delete mode 100644 charting_library/static/bundles/take-chart-image-dialog-impl.8581642b95a39228d178.js create mode 100644 charting_library/static/bundles/take-chart-image-dialog-impl.d61e03a87b11d0c1adf1.js create mode 100644 charting_library/static/bundles/vendors.267dd414d71e078f822c.js delete mode 100644 charting_library/static/bundles/vendors.760e5af2bd4c4eac24b4.js create mode 100644 charting_library/static/cs-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/cs-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/da_DK-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/da_DK-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/de-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/de-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/el-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/el-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/en-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/en-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/es-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/es-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/et_EE-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/et_EE-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/fa-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/fa-tv-chart.9a97ec3c5cba51244359.html delete mode 100644 charting_library/static/fonts/fontawesome-webfont.svg delete mode 100644 charting_library/static/fonts/fontawesome-webfont.ttf create mode 100644 charting_library/static/fr-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/fr-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/he_IL-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/he_IL-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/hu_HU-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/hu_HU-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/id_ID-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/id_ID-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/it-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/it-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/ja-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/ja-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/ko-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/ko-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/ms_MY-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/ms_MY-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/nl_NL-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/nl_NL-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/no-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/no-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/pl-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/pl-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/pt-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/pt-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/ro-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/ro-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/ru-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/ru-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/sk_SK-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/sk_SK-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/sv-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/sv-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/th-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/th-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/tr-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/tr-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/vi-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/vi-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/zh-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/zh-tv-chart.9a97ec3c5cba51244359.html create mode 100644 charting_library/static/zh_TW-tv-chart.8562c7b8f7bdb50c1f5d.html delete mode 100644 charting_library/static/zh_TW-tv-chart.9a97ec3c5cba51244359.html diff --git a/charting_library/charting_library.min.d.ts b/charting_library/charting_library.min.d.ts index 40a21561..a90b2733 100644 --- a/charting_library/charting_library.min.d.ts +++ b/charting_library/charting_library.min.d.ts @@ -84,10 +84,10 @@ export declare const widget: ChartingLibraryWidgetConstructor; export declare function version(): string; export declare type ActionMetaInfo = ActionDescriptionWithCallback | MenuSeparator; export declare type AvailableSaveloadVersions = '1.0' | '1.1'; -export declare type ChartActionId = 'chartProperties' | 'compareOrAdd' | 'scalesProperties' | 'tmzProperties' | 'paneObjectTree' | 'insertIndicator' | 'symbolSearch' | 'changeInterval' | 'timeScaleReset' | 'chartReset' | 'seriesHide' | 'studyHide' | 'lineToggleLock' | 'lineHide' | 'showLeftAxis' | 'showRightAxis' | 'scaleSeriesOnly' | 'drawingToolbarAction' | 'magnetAction' | 'stayInDrawingModeAction' | 'hideAllMarks' | 'showCountdown' | 'showSeriesLastValue' | 'showSymbolLabelsAction' | 'showStudyLastValue' | 'showStudyPlotNamesAction' | 'undo' | 'redo' | 'paneRemoveAllStudiesDrawingTools'; -export declare type CustomTimezones = 'America/New_York' | 'America/Los_Angeles' | 'America/Chicago' | 'America/Phoenix' | 'America/Toronto' | 'America/Vancouver' | 'America/Argentina/Buenos_Aires' | 'America/El_Salvador' | 'America/Sao_Paulo' | 'America/Bogota' | 'America/Caracas' | 'Europe/Moscow' | 'Europe/Athens' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Paris' | 'Europe/Rome' | 'Europe/Warsaw' | 'Europe/Istanbul' | 'Europe/Zurich' | 'Australia/Sydney' | 'Australia/Brisbane' | 'Australia/Adelaide' | 'Australia/ACT' | 'Asia/Almaty' | 'Asia/Ashkhabad' | 'Asia/Tokyo' | 'Asia/Taipei' | 'Asia/Singapore' | 'Asia/Shanghai' | 'Asia/Seoul' | 'Asia/Tehran' | 'Asia/Dubai' | 'Asia/Kolkata' | 'Asia/Hong_Kong' | 'Asia/Bangkok' | 'Asia/Chongqing' | 'Asia/Jerusalem' | 'Asia/Kuwait' | 'Asia/Muscat' | 'Asia/Qatar' | 'Asia/Riyadh' | 'Pacific/Auckland' | 'Pacific/Chatham' | 'Pacific/Fakaofo' | 'Pacific/Honolulu' | 'America/Mexico_City' | 'Africa/Cairo' | 'Africa/Johannesburg' | 'Asia/Kathmandu' | 'US/Mountain' | 'Europe/Helsinki' | 'Europe/Stockholm' | 'Europe/Copenhagen' | 'Atlantic/Reykjavik' | 'Europe/Tallinn' | 'Europe/Riga' | 'Europe/Vilnius' | 'America/Lima' | 'America/Santiago' | 'Asia/Bahrain' | 'Asia/Jakarta' | 'Africa/Lagos' | 'Pacific/Norfolk' | 'America/Juneau' | 'Asia/Ho_Chi_Minh' | 'Australia/Perth' | 'Europe/Oslo'; +export declare type ChartActionId = 'chartProperties' | 'compareOrAdd' | 'scalesProperties' | 'tmzProperties' | 'paneObjectTree' | 'insertIndicator' | 'symbolSearch' | 'changeInterval' | 'timeScaleReset' | 'chartReset' | 'seriesHide' | 'studyHide' | 'lineToggleLock' | 'lineHide' | 'showLeftAxis' | 'showRightAxis' | 'scaleSeriesOnly' | 'drawingToolbarAction' | 'stayInDrawingModeAction' | 'hideAllMarks' | 'showCountdown' | 'showSeriesLastValue' | 'showSymbolLabelsAction' | 'showStudyLastValue' | 'showStudyPlotNamesAction' | 'undo' | 'redo' | 'paneRemoveAllStudiesDrawingTools'; export declare type Direction = 'buy' | 'sell'; export declare type DomeCallback = (data: DOMData) => void; +export declare type DrawingEventType = 'click' | 'move' | 'remove' | 'hide' | 'show'; export declare type EditObjectDialogObjectType = 'mainSeries' | 'drawing' | 'study' | 'other'; export declare type EmptyCallback = () => void; export declare type EntityId = Nominal; @@ -101,9 +101,11 @@ export declare type InputFieldValidatorResult = PositiveBaseInputFieldValidatorR export declare type LanguageCode = 'ar' | 'zh' | 'cs' | 'da_DK' | 'nl_NL' | 'en' | 'et_EE' | 'fr' | 'de' | 'el' | 'he_IL' | 'hu_HU' | 'id_ID' | 'it' | 'ja' | 'ko' | 'fa' | 'pl' | 'pt' | 'ro' | 'ru' | 'sk_SK' | 'es' | 'sv' | 'th' | 'tr' | 'vi'; export declare type LayoutType = SingleChartLayoutType | MultipleChartsLayoutType; export declare type MarkConstColors = 'red' | 'green' | 'blue' | 'yellow'; -export declare type MultipleChartsLayoutType = '2h' | '2-1' | '2v' | '3h' | '3v' | '3s' | '4' | '6' | '8'; +export declare type MultipleChartsLayoutType = '2h' | '2v' | '2-1' | '3s' | '3h' | '3v' | '4' | '6' | '8' | '1-2' | '3r' | '4h' | '4v' | '4s' | '1-3' | '2-2' | '1-4' | '5s' | '6c' | '8c'; export declare type OnReadyCallback = (configuration: DatafeedConfiguration) => void; export declare type Order = OrderWithParent | PlacedOrder; +export declare type OrderDialogCustomField = TextWithCheckboxFieldMetaInfo | CustomComboBoxMetaInfo; +export declare type PineJS = any; export declare type QuoteData = QuoteOkData | QuoteErrorData; export declare type QuotesCallback = (data: QuoteData[]) => void; export declare type ResolutionBackValues = 'D' | 'M'; @@ -111,6 +113,7 @@ export declare type ResolutionString = string; export declare type ResolveCallback = (symbolInfo: LibrarySymbolInfo) => void; export declare type RssNewsFeedItem = RssNewsFeedInfo | RssNewsFeedInfo[]; export declare type SearchSymbolsCallback = (items: SearchSymbolResultItem[]) => void; +export declare type SeriesFormat = 'price' | 'volume'; export declare type ServerTimeCallback = (serverTime: number) => void; export declare type ShapePoint = StickedPoint | PricedPoint | TimePoint; export declare type SingleChartLayoutType = 's'; @@ -121,6 +124,7 @@ export declare type StudyOverrideValueType = string | number | boolean; export declare type StudyPriceScale = 'left' | 'right' | 'no-scale' | 'as-series'; export declare type SubscribeBarsCallback = (bar: Bar) => void; export declare type SupportedLineTools = 'text' | 'anchored_text' | 'note' | 'anchored_note' | 'double_curve' | 'arc' | 'icon' | 'arrow_up' | 'arrow_down' | 'arrow_left' | 'arrow_right' | 'price_label' | 'flag' | 'vertical_line' | 'horizontal_line' | 'cross_line' | 'horizontal_ray' | 'trend_line' | 'info_line' | 'trend_angle' | 'arrow' | 'ray' | 'extended' | 'parallel_channel' | 'disjoint_angle' | 'flat_bottom' | 'pitchfork' | 'schiff_pitchfork_modified' | 'schiff_pitchfork' | 'balloon' | 'inside_pitchfork' | 'pitchfan' | 'gannbox' | 'gannbox_square' | 'gannbox_fixed' | 'gannbox_fan' | 'fib_retracement' | 'fib_trend_ext' | 'fib_speed_resist_fan' | 'fib_timezone' | 'fib_trend_time' | 'fib_circles' | 'fib_spiral' | 'fib_speed_resist_arcs' | 'fib_channel' | 'xabcd_pattern' | 'cypher_pattern' | 'abcd_pattern' | 'callout' | 'triangle_pattern' | '3divers_pattern' | 'head_and_shoulders' | 'fib_wedge' | 'elliott_impulse_wave' | 'elliott_triangle_wave' | 'elliott_triple_combo' | 'elliott_correction' | 'elliott_double_combo' | 'cyclic_lines' | 'time_cycles' | 'sine_line' | 'long_position' | 'short_position' | 'forecast' | 'date_range' | 'price_range' | 'date_and_price_range' | 'bars_pattern' | 'ghost_feed' | 'projection' | 'rectangle' | 'rotated_rectangle' | 'ellipse' | 'triangle' | 'polyline' | 'curve' | 'cursor' | 'dot' | 'arrow_cursor' | 'eraser' | 'measure' | 'zoom' | 'brush'; +export declare type SymbolType = 'stock' | 'index' | 'forex' | 'futures' | 'bitcoin' | 'crypto' | 'undefined' | 'expression' | 'spread' | 'cfd'; export declare type TableElementFormatFunction = (inputs: TableFormatterInputs) => string | JQuery; export declare type TextInputFieldValidator = (value: string) => InputFieldValidatorResult; export declare type ThemeName = 'Light' | 'Dark'; @@ -172,6 +176,7 @@ export interface AccountManagerInfo { tradeColumns?: AccountManagerColumn[]; pages: AccountManagerPage[]; possibleOrderStatuses?: OrderStatus[]; + marginUsed?: IWatchedValue; contextMenuActions?(contextMenuEvent: JQueryEventObject, activePageActions: ActionMetaInfo[]): Promise; } export interface AccountManagerPage { @@ -205,6 +210,7 @@ export interface ActionDescription { checkable?: boolean; enabled?: boolean; externalLink?: boolean; + icon?: string; } export interface ActionDescriptionWithCallback extends ActionDescription { action: (a: ActionDescription) => void; @@ -245,12 +251,14 @@ export interface BrokerConfigFlags { supportStopOrders?: boolean; supportStopLimitOrders?: boolean; supportDemoLiveSwitcher?: boolean; - supportCustomPlaceOrderTradableCheck?: boolean; supportMarketBrackets?: boolean; supportSymbolSearch?: boolean; supportModifyDuration?: boolean; supportModifyOrder?: boolean; + supportMargin?: boolean; calculatePLUsingLast?: boolean; + cancellingBracketCancelsParentOrder?: boolean; + cancellingOnePositionBracketsCancelsOther?: boolean; requiresFIFOCloseTrades?: boolean; supportBottomWidget?: boolean; /** @@ -258,6 +266,10 @@ export interface BrokerConfigFlags { */ supportBrackets?: boolean; } +export interface BrokerCustomUI { + showOrderDialog?: (order: PreOrder | Order, focus?: OrderTicketFocusControl) => Promise; + showPositionDialog?: (position: Position | Trade, brackets: Brackets, focus?: OrderTicketFocusControl) => Promise; +} export interface ChartData { id: string; name: string; @@ -279,7 +291,7 @@ export interface ChartingLibraryWidgetOptions { container_id: string; datafeed: IBasicDataFeed | (IBasicDataFeed & IDatafeedQuotesApi); interval: ResolutionString; - symbol: string; + symbol?: string; auto_save_delay?: number; autosize?: boolean; debug?: boolean; @@ -308,7 +320,6 @@ export interface ChartingLibraryWidgetOptions { customFormatters?: CustomFormatters; overrides?: Overrides; snapshot_url?: string; - indicators_file_name?: string; preset?: 'mobile'; time_frames?: TimeFrameItem[]; custom_css_url?: string; @@ -317,6 +328,7 @@ export interface ChartingLibraryWidgetOptions { loading_screen?: LoadingScreenOptions; settings_adapter?: ISettingsAdapter; theme?: ThemeName; + custom_indicators_getter?: (PineJS: PineJS) => Promise>; } export interface ContextMenuItem { position: 'top' | 'bottom'; @@ -351,6 +363,14 @@ export interface CrossHairMovedEventParams { time: number; price: number; } +export interface CustomComboBoxItem { + text: string; + value: string; +} +export interface CustomComboBoxMetaInfo extends CustomInputFieldMetaInfo { + inputType: 'ComboBox'; + items: CustomComboBoxItem[]; +} export interface CustomFields { [key: string]: any; } @@ -362,16 +382,22 @@ export interface CustomFormatters { timeFormatter: CustomFormatter; dateFormatter: CustomFormatter; } +export interface CustomIndicator { + readonly name: string; + readonly metainfo: any; + readonly constructor: any; +} export interface CustomInputFieldMetaInfo { + inputType: string; id: string; title: string; - placeHolder: string; - value: any; + placeHolder?: string; + value?: any; validator?: InputFieldValidator; customInfo?: any; } export interface CustomInputFieldsValues { - [fieldId: string]: TextWithCheckboxValue | any; + [fieldId: string]: TextWithCheckboxValue | string | any; } export interface DOMData { snapshot: boolean; @@ -417,6 +443,7 @@ export interface DefaultContextMenuActionsParams { export interface DefaultDropdownActionsParams { showFloatingToolbar?: boolean; showDOM?: boolean; + showOrderPanel?: boolean; tradingProperties?: boolean; selectAnotherBroker?: boolean; disconnect?: boolean; @@ -484,20 +511,16 @@ export interface HistoryMetadata { } export interface IBrokerCommon { chartContextMenuActions(context: ITradeContext, options?: DefaultContextMenuActionsParams): Promise; - isTradable(symbol: string): Promise; + isTradable(symbol: string): Promise; connectionStatus(): ConnectionStatus; - placeOrder(order: PreOrder, silently?: boolean): Promise; - modifyOrder(order: Order, silently?: boolean, focus?: OrderTicketFocusControl): Promise; orders(): Promise; positions?(): Promise; trades?(): Promise; executions(symbol: string): Promise; symbolInfo(symbol: string): Promise; accountInfo(): Promise; - editPositionBrackets?(positionId: string, focus?: OrderTicketFocusControl, brackets?: Brackets, silently?: boolean): Promise; - editTradeBrackets?(tradeId: string, focus?: OrderTicketFocusControl, brackets?: Brackets, silently?: boolean): Promise; accountManagerInfo(): AccountManagerInfo; - formatter?(symbol: string): Promise; + formatter?(symbol: string, alignToMinMove: boolean): Promise; spreadFormatter?(symbol: string): Promise; quantityFormatter?(symbol: string): Promise; } @@ -509,15 +532,17 @@ export interface IBrokerConnectionAdapterFactory { export interface IBrokerConnectionAdapterHost { factory: IBrokerConnectionAdapterFactory; connectionStatusUpdate(status: ConnectionStatus, message?: string): void; - defaultFormatter(symbol: string): Promise; + defaultFormatter(symbol: string, alignToMinMove: boolean): Promise; numericFormatter(decimalPlaces: number): Promise; quantityFormatter(decimalPlaces?: number): Promise; defaultContextMenuActions(context: ITradeContext, params?: DefaultContextMenuActionsParams): Promise; defaultDropdownMenuActions(options?: Partial): ActionMetaInfo[]; floatingTradingPanelVisibility(): IWatchedValue; - domVisibility(): IWatchedValue; + domPanelVisibility(): IWatchedValue; + orderPanelVisibility(): IWatchedValue; silentOrdersPlacement(): IWatchedValue; patchConfig(config: Partial): void; + patchOrderDialogOptions(options: OrderDialogOptions): void; setDurations(durations: OrderDurationMetaInfo[]): void; orderUpdate(order: Order, isHistoryUpdate?: boolean): void; orderPartialUpdate(id: string, orderChanges: Partial): void; @@ -529,10 +554,12 @@ export interface IBrokerConnectionAdapterHost { fullUpdate(): void; realtimeUpdate(symbol: string, data: TradingQuotes): void; plUpdate(positionId: string, pl: number): void; + pipValueUpdate(symbol: string, pipValues: PipValues): void; tradePLUpdate(tradeId: string, pl: number): void; equityUpdate(equity: number): void; + marginAvailableUpdate(marginAvailable: number): void; domeUpdate(symbol: string, equity: DOMData): void; - showOrderDialog(order: T, handler: (order: T, customFieldsResult?: CustomInputFieldsValues) => Promise, focus?: OrderTicketFocusControl, options?: OrderDialogOptions): Promise; + showOrderDialog(order: T, handler: (order: T) => Promise, focus?: OrderTicketFocusControl, options?: OrderDialogOptions): Promise; showCancelOrderDialog(orderId: string, handler: () => Promise): Promise; showCancelMultipleOrdersDialog(symbol: string, side: Side | undefined, qty: number, handler: () => Promise): Promise; showCancelBracketsDialog(orderId: string, handler: () => Promise): Promise; @@ -555,16 +582,24 @@ export interface IBrokerTerminal extends IBrokerWithoutRealtime { export interface IBrokerWithoutRealtime extends IBrokerCommon { subscribeDOME?(symbol: string): void; unsubscribeDOME?(symbol: string): void; - cancelOrder(orderId: string, silently: boolean): Promise; - cancelOrders(symbol: string, side: Side | undefined, ordersIds: string[], silently: boolean): Promise; - reversePosition?(positionId: string, silently?: boolean): Promise; - closePosition?(positionId: string, silently: boolean): Promise; - closeTrade?(tradeId: string, silently: boolean): Promise; + placeOrder(order: PreOrder): Promise; + modifyOrder(order: Order): Promise; + cancelOrder(orderId: string): Promise; + cancelOrders(symbol: string, side: Side | undefined, ordersIds: string[]): Promise; + reversePosition?(positionId: string): Promise; + closePosition?(positionId: string): Promise; + closeTrade?(tradeId: string): Promise; + editPositionBrackets?(positionId: string, brackets?: Brackets): Promise; + editTradeBrackets?(tradeId: string, brackets?: Brackets): Promise; /** * @deprecated Brokers should always send PL and equity updates */ subscribePL?(positionId: string): void; subscribeEquity?(): void; + subscribeMarginAvailable?(symbol: string): void; + subscribePipValue?(symbol: string): void; + unsubscribePipValue?(symbol: string): void; + unsubscribeMarginAvailable?(symbol: string): void; /** * @deprecated */ @@ -580,7 +615,7 @@ export interface IChartWidgetApi { onVisibleRangeChanged(): ISubscription<() => void>; dataReady(callback: () => void): boolean; crossHairMoved(callback: (params: CrossHairMovedEventParams) => void): void; - setVisibleRange(range: VisibleTimeRange, callback: () => void): void; + setVisibleRange(range: VisibleTimeRange, options?: SetVisibleRangeOptions): Promise; setSymbol(symbol: string, callback: () => void): void; setResolution(resolution: ResolutionString, callback: () => void): void; resetData(): void; @@ -595,14 +630,17 @@ export interface IChartWidgetApi { * @deprecated Use shape/study API instead ([getStudyById] / [getShapeById]) */ setEntityVisibility(entityId: EntityId, isVisible: boolean): void; - createStudy(name: string, forceOverlay: boolean, lock?: boolean, inputs?: TStudyInputValue[], callback?: (entityId: EntityId) => void, overrides?: TOverrides, options?: CreateStudyOptions): EntityId | null; + createStudy(name: string, forceOverlay: boolean, lock?: boolean, inputs?: TStudyInputValue[], overrides?: TOverrides, options?: CreateStudyOptions): Promise; getStudyById(entityId: EntityId): IStudyApi; + getSeries(): ISeriesApi; createShape(point: ShapePoint, options: CreateShapeOptions): EntityId | null; createMultipointShape(points: ShapePoint[], options: CreateShapeOptions): EntityId | null; getShapeById(entityId: EntityId): ILineDataSourceApi; removeEntity(entityId: EntityId): void; removeAllShapes(): void; removeAllStudies(): void; + selection(): ISelectionApi; + showPropertiesDialog(studyId: EntityId): void; createStudyTemplate(options: CreateStudyTemplateOptions): object; applyStudyTemplate(template: object): void; createOrderLine(options: CreateTradingPrimitiveOptions): IOrderLineAdapter; @@ -612,14 +650,22 @@ export interface IChartWidgetApi { symbolExt(): SymbolExt; resolution(): ResolutionString; getVisibleRange(): VisibleTimeRange; + /** + * @deprecated Use Price Scale API instead + */ getVisiblePriceRange(): VisiblePriceRange; + scrollPosition(): number; + defaultScrollPosition(): number; priceFormatter(): IFormatter; chartType(): SeriesStyle; setTimezone(timezone: 'exchange' | Timezone): void; + getTimezone(): 'exchange' | Timezone; getPanes(): IPaneApi[]; exportData(options?: ExportDataOptions): Promise; canZoomOut(): boolean; zoomOut(): void; + setZoomEnabled(enabled: boolean): void; + setScrollEnabled(enabled: boolean): void; } export interface IChartingLibraryWidget { headerReady(): Promise; @@ -639,7 +685,7 @@ export interface IChartingLibraryWidget { load(state: object): void; getSavedCharts(callback: (chartRecords: SaveLoadChartRecord[]) => void): void; loadChartFromServer(chartRecord: SaveLoadChartRecord): void; - saveChartToServer(onComplete?: EmptyCallback, onFail?: EmptyCallback, saveAsSnapshot?: false, options?: SaveChartToServerOptions): void; + saveChartToServer(onComplete?: EmptyCallback, onFail?: EmptyCallback, options?: SaveChartToServerOptions): void; removeChartFromServer(chartId: string, onCompleteCallback: EmptyCallback): void; onContextMenu(callback: (unixTime: number, price: number) => ContextMenuItem[]): void; createButton(options?: CreateButtonOptions): HTMLElement; @@ -664,6 +710,8 @@ export interface IChartingLibraryWidget { takeScreenshot(): void; lockAllDrawingTools(): IWatchedValue; hideAllDrawingTools(): IWatchedValue; + magnetEnabled(): IWatchedValue; + magnetMode(): IWatchedValue; undoRedoState(): UndoRedoState; } export interface IDatafeedChartApi { @@ -681,7 +729,7 @@ export interface IDatafeedChartApi { getBars(symbolInfo: LibrarySymbolInfo, resolution: ResolutionString, rangeStartDate: number, rangeEndDate: number, onResult: HistoryCallback, onError: ErrorCallback, isFirstCall: boolean): void; subscribeBars(symbolInfo: LibrarySymbolInfo, resolution: ResolutionString, onTick: SubscribeBarsCallback, listenerGuid: string, onResetCacheNeededCallback: () => void): void; unsubscribeBars(listenerGuid: string): void; - subscribeDepth?(symbolInfo: LibrarySymbolInfo, callback: DomeCallback): string; + subscribeDepth?(symbol: string, callback: DomeCallback): string; unsubscribeDepth?(subscriberUID: string): void; } export interface IDatafeedQuotesApi { @@ -762,6 +810,10 @@ export interface IOrderLineAdapter { setText(value: string): this; getTooltip(): string; setTooltip(value: string): this; + getModifyTooltip(): string; + setModifyTooltip(value: string): this; + getCancelTooltip(): string; + setCancelTooltip(value: string): this; getQuantity(): string; setQuantity(value: string): this; getEditable(): boolean; @@ -801,9 +853,13 @@ export interface IOrderLineAdapter { } export interface IPaneApi { hasMainSeries(): boolean; - getLeftPriceScale(): IPriceScaleApi; - getRightPriceScale(): IPriceScaleApi; + getLeftPriceScales(): ReadonlyArray; + getRightPriceScales(): ReadonlyArray; getMainSourcePriceScale(): IPriceScaleApi | null; + getHeight(): number; + setHeight(height: number): void; + moveTo(paneIndex: number): void; + paneIndex(): number; } export interface IPositionLineAdapter { remove(): void; @@ -819,6 +875,12 @@ export interface IPositionLineAdapter { setText(value: string): this; getTooltip(): string; setTooltip(value: string): this; + getProtectTooltip(): string; + setProtectTooltip(value: string): this; + getCloseTooltip(): string; + setCloseTooltip(value: string): this; + getReverseTooltip(): string; + setReverseTooltip(value: string): this; getQuantity(): string; setQuantity(value: string): this; getExtendLeft(): boolean; @@ -863,6 +925,37 @@ export interface IPositionLineAdapter { export interface IPriceScaleApi { getMode(): PriceScaleMode; setMode(newMode: PriceScaleMode): void; + isInverted(): boolean; + setInverted(isInverted: boolean): void; + getVisiblePriceRange(): VisiblePriceRange | null; + setVisiblePriceRange(range: VisiblePriceRange): void; +} +export interface ISelectionApi { + add(entities: EntityId[]): void; + set(entities: EntityId[]): void; + remove(entities: EntityId[]): void; + contains(entity: EntityId): boolean; + allSources(): EntityId[]; + isEmpty(): boolean; + clear(): void; + onChanged(): ISubscription<() => void>; +} +export interface ISeriesApi { + isUserEditEnabled(): boolean; + setUserEditEnabled(enabled: boolean): void; + mergeUp(): void; + mergeDown(): void; + unmergeUp(): void; + unmergeDown(): void; + detachToRight(): void; + detachToLeft(): void; + detachNoScale(): void; + moveToOtherSourceScale(entityId: EntityId): void; + isVisible(): boolean; + setVisible(visible: boolean): void; + bringToFront(): void; + sendToBack(): void; + entityId(): EntityId; } export interface ISettingsAdapter { initialSettings?: InitialSettingsMap; @@ -918,8 +1011,16 @@ export interface InstrumentInfo { pipSize: number; minTick: number; lotSize?: number; + type?: SymbolType; + brokerSymbol?: string; description: string; domVolumePrecision?: number; + leverage?: string; + marginRate?: number; +} +export interface IsTradableResult { + tradable: boolean; + reason?: string; } export interface LibrarySymbolInfo { /** @@ -945,6 +1046,10 @@ export interface LibrarySymbolInfo { exchange: string; listed_exchange: string; timezone: Timezone; + /** + * Prices format: "price" or "volume" + */ + format: SeriesFormat; /** * Code (Tick) * @example 8/16/.../256 (1/8/100 1/16/100 ... 1/256/100) or 1/10/.../10000000 (1 0.1 ... 0.0000001) @@ -1047,7 +1152,7 @@ export interface NumericFormattingParams { decimal_sign: string; } export interface OrderDialogOptions { - customFields?: (TextWithCheckboxFieldMetaInfo | CustomInputFieldMetaInfo)[]; + customFields?: OrderDialogCustomField[]; } export interface OrderDuration { /** @@ -1059,6 +1164,7 @@ export interface OrderDuration { export interface OrderDurationMetaInfo { hasDatePicker?: boolean; hasTimePicker?: boolean; + default?: boolean; name: string; value: string; } @@ -1072,6 +1178,10 @@ export interface OrderWithParent extends PlacedOrder { export interface Overrides { [key: string]: string | number | boolean; } +export interface PipValues { + buyPipValue: number; + sellPipValue: number; +} export interface PlacedOrder extends PreOrder, CustomFields { id: string; filledQty?: number; @@ -1107,6 +1217,7 @@ export interface PreOrder { stopLoss?: number; takeProfit?: number; duration?: OrderDuration; + customFields?: CustomInputFieldsValues; } export interface PricedPoint extends TimePoint { price: number; @@ -1131,7 +1242,7 @@ export interface QuotesBase { change: number; change_percent: number; last_price: number; - fractional: number; + fractional: boolean; minmov: number; minmove2: number; pricescale: number; @@ -1174,10 +1285,16 @@ export interface SeriesFieldDescriptor { sourceType: 'series'; plotTitle: string; } +export interface SetVisibleRangeOptions { + applyDefaultRightMargin?: boolean; + percentRightMargin?: number; +} export interface SingleBrokerMetaInfo { configFlags: BrokerConfigFlags; customNotificationFields?: string[]; durations?: OrderDurationMetaInfo[]; + orderDialogOptions?: OrderDialogOptions; + customUI?: BrokerCustomUI; } export interface SortingParameters { columnId: string; @@ -1243,6 +1360,7 @@ export interface SubscribeEventsMap { layout_about_to_be_changed: (newLayoutType: LayoutType) => void; layout_changed: EmptyCallback; activeChartChanged: (chartIndex: number) => void; + drawing_event: (soursceId: string, drawingEventType: DrawingEventType) => void; } export interface SuccessFormatterParseResult extends FormatterParseResult { res: true; @@ -1284,6 +1402,7 @@ export interface TextWithCheckboxFieldCustomInfo { asterix?: boolean; } export interface TextWithCheckboxFieldMetaInfo extends CustomInputFieldMetaInfo { + inputType: 'TextWithCheckBox'; value: TextWithCheckboxValue; customInfo: TextWithCheckboxFieldCustomInfo; validator?: TextInputFieldValidator; @@ -1320,6 +1439,10 @@ export interface Trade extends CustomFields { side: Side; price: number; } +export interface TradingCustomization { + position: Overrides; + order: Overrides; +} export interface TradingQuotes { trade?: number; size?: number; @@ -1335,6 +1458,7 @@ export interface TradingTerminalWidgetOptions extends ChartingLibraryWidgetOptio widgetbar?: WidgetBarParams; rss_news_feed?: RssNewsFeedParams; news_provider?: NewsProvider; + trading_customization?: TradingCustomization; brokerFactory?(host: IBrokerConnectionAdapterHost): IBrokerWithoutRealtime | IBrokerTerminal; } export interface UndoRedoState { @@ -1391,5 +1515,6 @@ export interface WidgetBarParams { readonly?: boolean; }; } +export type CustomTimezones = 'Africa/Cairo' | 'Africa/Johannesburg' | 'Africa/Lagos' | 'America/Argentina/Buenos_Aires' | 'America/Bogota' | 'America/Caracas' | 'America/Chicago' | 'America/El_Salvador' | 'America/Juneau' | 'America/Lima' | 'America/Los_Angeles' | 'America/Mexico_City' | 'America/New_York' | 'America/Phoenix' | 'America/Santiago' | 'America/Sao_Paulo' | 'America/Toronto' | 'America/Vancouver' | 'Asia/Almaty' | 'Asia/Ashkhabad' | 'Asia/Bahrain' | 'Asia/Bangkok' | 'Asia/Chongqing' | 'Asia/Dubai' | 'Asia/Ho_Chi_Minh' | 'Asia/Hong_Kong' | 'Asia/Jakarta' | 'Asia/Jerusalem' | 'Asia/Kathmandu' | 'Asia/Kolkata' | 'Asia/Kuwait' | 'Asia/Muscat' | 'Asia/Qatar' | 'Asia/Riyadh' | 'Asia/Seoul' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Taipei' | 'Asia/Tehran' | 'Asia/Tokyo' | 'Atlantic/Reykjavik' | 'Australia/ACT' | 'Australia/Adelaide' | 'Australia/Brisbane' | 'Australia/Perth' | 'Australia/Sydney' | 'Europe/Athens' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/Copenhagen' | 'Europe/Helsinki' | 'Europe/Istanbul' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Moscow' | 'Europe/Oslo' | 'Europe/Paris' | 'Europe/Riga' | 'Europe/Rome' | 'Europe/Stockholm' | 'Europe/Tallinn' | 'Europe/Vilnius' | 'Europe/Warsaw' | 'Europe/Zurich' | 'Pacific/Auckland' | 'Pacific/Chatham' | 'Pacific/Fakaofo' | 'Pacific/Honolulu' | 'Pacific/Norfolk' | 'US/Mountain'; export as namespace TradingView; diff --git a/charting_library/charting_library.min.js b/charting_library/charting_library.min.js index 54d2763f..00b993fd 100644 --- a/charting_library/charting_library.min.js +++ b/charting_library/charting_library.min.js @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.TradingView={})}(this,function(t){"use strict";var e=Object.assign||function(t){for(var e,o=arguments,i=1,n=arguments.length;i'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=s,t.version=s,t.widget=r,Object.defineProperty(t,"__esModule",{value:!0})}); +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.TradingView={})}(this,function(t){"use strict";var e=Object.assign||function(t){for(var e,o=1,i=arguments.length;o'},t}();window.TradingView=window.TradingView||{},window.TradingView.version=s,t.version=s,t.widget=r,Object.defineProperty(t,"__esModule",{value:!0})}); diff --git a/charting_library/datafeed-api.d.ts b/charting_library/datafeed-api.d.ts index 1abd4bcb..1f243cf7 100644 --- a/charting_library/datafeed-api.d.ts +++ b/charting_library/datafeed-api.d.ts @@ -1,4 +1,3 @@ -export declare type CustomTimezones = 'America/New_York' | 'America/Los_Angeles' | 'America/Chicago' | 'America/Phoenix' | 'America/Toronto' | 'America/Vancouver' | 'America/Argentina/Buenos_Aires' | 'America/El_Salvador' | 'America/Sao_Paulo' | 'America/Bogota' | 'America/Caracas' | 'Europe/Moscow' | 'Europe/Athens' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Paris' | 'Europe/Rome' | 'Europe/Warsaw' | 'Europe/Istanbul' | 'Europe/Zurich' | 'Australia/Sydney' | 'Australia/Brisbane' | 'Australia/Adelaide' | 'Australia/ACT' | 'Asia/Almaty' | 'Asia/Ashkhabad' | 'Asia/Tokyo' | 'Asia/Taipei' | 'Asia/Singapore' | 'Asia/Shanghai' | 'Asia/Seoul' | 'Asia/Tehran' | 'Asia/Dubai' | 'Asia/Kolkata' | 'Asia/Hong_Kong' | 'Asia/Bangkok' | 'Asia/Chongqing' | 'Asia/Jerusalem' | 'Asia/Kuwait' | 'Asia/Muscat' | 'Asia/Qatar' | 'Asia/Riyadh' | 'Pacific/Auckland' | 'Pacific/Chatham' | 'Pacific/Fakaofo' | 'Pacific/Honolulu' | 'America/Mexico_City' | 'Africa/Cairo' | 'Africa/Johannesburg' | 'Asia/Kathmandu' | 'US/Mountain' | 'Europe/Helsinki' | 'Europe/Stockholm' | 'Europe/Copenhagen' | 'Atlantic/Reykjavik' | 'Europe/Tallinn' | 'Europe/Riga' | 'Europe/Vilnius' | 'America/Lima' | 'America/Santiago' | 'Asia/Bahrain' | 'Asia/Jakarta' | 'Africa/Lagos' | 'Pacific/Norfolk' | 'America/Juneau' | 'Asia/Ho_Chi_Minh' | 'Australia/Perth' | 'Europe/Oslo'; export declare type DomeCallback = (data: DOMData) => void; export declare type ErrorCallback = (reason: string) => void; export declare type GetMarksCallback = (marks: T[]) => void; @@ -11,6 +10,7 @@ export declare type ResolutionBackValues = 'D' | 'M'; export declare type ResolutionString = string; export declare type ResolveCallback = (symbolInfo: LibrarySymbolInfo) => void; export declare type SearchSymbolsCallback = (items: SearchSymbolResultItem[]) => void; +export declare type SeriesFormat = 'price' | 'volume'; export declare type ServerTimeCallback = (serverTime: number) => void; export declare type SubscribeBarsCallback = (bar: Bar) => void; export declare type Timezone = 'Etc/UTC' | CustomTimezones; @@ -89,7 +89,7 @@ export interface IDatafeedChartApi { getBars(symbolInfo: LibrarySymbolInfo, resolution: ResolutionString, rangeStartDate: number, rangeEndDate: number, onResult: HistoryCallback, onError: ErrorCallback, isFirstCall: boolean): void; subscribeBars(symbolInfo: LibrarySymbolInfo, resolution: ResolutionString, onTick: SubscribeBarsCallback, listenerGuid: string, onResetCacheNeededCallback: () => void): void; unsubscribeBars(listenerGuid: string): void; - subscribeDepth?(symbolInfo: LibrarySymbolInfo, callback: DomeCallback): string; + subscribeDepth?(symbol: string, callback: DomeCallback): string; unsubscribeDepth?(subscriberUID: string): void; } export interface IDatafeedQuotesApi { @@ -124,6 +124,10 @@ export interface LibrarySymbolInfo { exchange: string; listed_exchange: string; timezone: Timezone; + /** + * Prices format: "price" or "volume" + */ + format: SeriesFormat; /** * Code (Tick) * @example 8/16/.../256 (1/8/100 1/16/100 ... 1/256/100) or 1/10/.../10000000 (1 0.1 ... 0.0000001) @@ -216,5 +220,6 @@ export interface TimescaleMark { label: string; tooltip: string[]; } +export type CustomTimezones = 'Africa/Cairo' | 'Africa/Johannesburg' | 'Africa/Lagos' | 'America/Argentina/Buenos_Aires' | 'America/Bogota' | 'America/Caracas' | 'America/Chicago' | 'America/El_Salvador' | 'America/Juneau' | 'America/Lima' | 'America/Los_Angeles' | 'America/Mexico_City' | 'America/New_York' | 'America/Phoenix' | 'America/Santiago' | 'America/Sao_Paulo' | 'America/Toronto' | 'America/Vancouver' | 'Asia/Almaty' | 'Asia/Ashkhabad' | 'Asia/Bahrain' | 'Asia/Bangkok' | 'Asia/Chongqing' | 'Asia/Dubai' | 'Asia/Ho_Chi_Minh' | 'Asia/Hong_Kong' | 'Asia/Jakarta' | 'Asia/Jerusalem' | 'Asia/Kathmandu' | 'Asia/Kolkata' | 'Asia/Kuwait' | 'Asia/Muscat' | 'Asia/Qatar' | 'Asia/Riyadh' | 'Asia/Seoul' | 'Asia/Shanghai' | 'Asia/Singapore' | 'Asia/Taipei' | 'Asia/Tehran' | 'Asia/Tokyo' | 'Atlantic/Reykjavik' | 'Australia/ACT' | 'Australia/Adelaide' | 'Australia/Brisbane' | 'Australia/Perth' | 'Australia/Sydney' | 'Europe/Athens' | 'Europe/Belgrade' | 'Europe/Berlin' | 'Europe/Copenhagen' | 'Europe/Helsinki' | 'Europe/Istanbul' | 'Europe/London' | 'Europe/Luxembourg' | 'Europe/Madrid' | 'Europe/Moscow' | 'Europe/Oslo' | 'Europe/Paris' | 'Europe/Riga' | 'Europe/Rome' | 'Europe/Stockholm' | 'Europe/Tallinn' | 'Europe/Vilnius' | 'Europe/Warsaw' | 'Europe/Zurich' | 'Pacific/Auckland' | 'Pacific/Chatham' | 'Pacific/Fakaofo' | 'Pacific/Honolulu' | 'Pacific/Norfolk' | 'US/Mountain'; export as namespace TradingView; diff --git a/charting_library/static/ar-tv-chart.8562c7b8f7bdb50c1f5d.html b/charting_library/static/ar-tv-chart.8562c7b8f7bdb50c1f5d.html new file mode 100644 index 00000000..ac34e978 --- /dev/null +++ b/charting_library/static/ar-tv-chart.8562c7b8f7bdb50c1f5d.html @@ -0,0 +1,111 @@ + + + + + + + + + + + + + +
+ + + + + + + + + + \ No newline at end of file diff --git a/charting_library/static/ar-tv-chart.9a97ec3c5cba51244359.html b/charting_library/static/ar-tv-chart.9a97ec3c5cba51244359.html deleted file mode 100644 index d592d088..00000000 --- a/charting_library/static/ar-tv-chart.9a97ec3c5cba51244359.html +++ /dev/null @@ -1 +0,0 @@ -
\ No newline at end of file diff --git a/charting_library/static/bundles/0.1d4cbcaddbec7d8c5363.js b/charting_library/static/bundles/0.1d4cbcaddbec7d8c5363.js new file mode 100644 index 00000000..1a9f745b --- /dev/null +++ b/charting_library/static/bundles/0.1d4cbcaddbec7d8c5363.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"29gu":function(e,t,o){"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},s=o("uOxu").getLogger("CommonUI.CreateTVBlockPlugin");e.exports.createTvBlockPlugin=function(e){if(e)return function(t,o,n){function s(t,o){return o?e[t](l,o):e[t](l)}var a,l=$(this);return"get"===t?"function"==typeof e[a=o]?s(a,n):e[a]:e[t]?l.each(function(){return s(t,void 0)}):l}},e.exports.createTvBlockWithInstance=function(e,t){function o(e,t,o){return void 0===o?e[t]():e[t](o)}if(e&&t)return e=e.toString(),function(a,l,i){var c,r,d;return"get"===a?c=l:(r=l,"object"===(void 0===a?"undefined":n(a))&&void 0===l?(r=a,a="init"):"string"!=typeof a&&(a="init")),"getInstance"===a?$(this).eq(0).data(e):"destroy"===a?(d=$(this).eq(0).data(e))?void("function"==typeof d.destroy?(o(d,"destroy",r),$(this).eq(0).removeData(e)):s.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"===a?(d=$(this).eq(0).data(e))?"function"==typeof d[c]?o(d,c,i):d[c]:void console.warn("[Block Plugin] Trying to get prop or execute method of "+e+" but it has not been inited"):$(this).each(function(){var n=$(this),l=n.data(e);void 0===l&&(l=void 0===r?t(n):t(n,r),n.data(e,l)),"init"!==a&&("function"==typeof l[a]?o(l,a,r):s.logError("[Block Plugin] "+e+" does not support command "+a))})}}},QwKQ:function(e,t,o){"use strict";(function(n){var s,a,l,i,c,r;Object.defineProperty(t,"__esModule",{value:!0}),s=function(){function e(e,t){var o,n;for(o=0;o{{#labelLeft}}{{labelLeft}}{{/labelLeft}}{{> inputWrapper }}{{#labelRight}}{{labelRight}}{{/labelRight}}{{/hasLabel}}{{^hasLabel}}{{> inputWrapper }}{{/hasLabel}}',inputWrapper:'<{{ tag }} class="{{ customClass }}{{#disabled}} i-disabled{{/disabled}}">{{^hasCheckbox}}{{> checkbox }}{{/hasCheckbox}}{{> box }}{{> ripple }}',checkbox:'',checkboxClass:"{{ customClass }}__input",box:''+o("aLUT")+"",ripple:''},c="i-inited",r=function(){function e(t){ +var o,n=t.customClass,s=void 0===n?"tv-control-checkbox":n,a=t.$checkbox,i=t.tag,r=t.id,d=t.name,u=t.checked,b=t.disabled,h=t.labelLeft,p=t.labelRight,f=t.labelAddClass,k=t.boxAddClass;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.$el=null,void 0===i&&(i=h||p?"span":"label"),o=a instanceof $&&!!a.length){if(!a.is("input[type=checkbox]"))return void l.logError("`$checkbox` need to be input[type=checkbox]");if(a.hasClass(c))return;this._setInputId(a,r),this._setInputClass(a,s),this._setInputName(a,d),this._setInputChecked(a,u),this._setInputDisabled(a,b),u=!!a.prop("checked"),b=!!a.attr("disabled")}this.$el=this.render({$checkbox:a,hasCheckbox:o,customClass:s,tag:i,id:r,name:d,checked:u,disabled:b,labelLeft:h,labelRight:p,hasLabel:h||p,labelAddClass:f,boxAddClass:k}),this.$checkbox=o?a:this.$el.find("input[type=checkbox]")}return s(e,[{key:"_setInputId",value:function(e,t){void 0!==t&&e.attr("id",t)}},{key:"_setInputClass",value:function(e,t){var o=n.render(i.checkboxClass,{customClass:t});e.addClass(o)}},{key:"_setInputName",value:function(e,t){void 0!==t&&e.attr("name",t)}},{key:"_setInputChecked",value:function(e,t){void 0!==t&&e.prop("checked",!!t)}},{key:"_setInputDisabled",value:function(e,t){void 0!==t&&(t?e.setAttribute("disabled","disabled"):e.removeAttr("disabled"))}},{key:"render",value:function(e){var t=e.$checkbox,o=$(n.render(i.labelWrapper,e,i));return e.hasCheckbox&&(o.insertBefore(t),o.find("."+e.customClass).andSelf().filter("."+e.customClass).eq(0).prepend(t.detach()),t.addClass(c)),o}},{key:"checked",set:function(e){this._setInputChecked(this.$checkbox,!!e)},get:function(){return!!this.$checkbox.prop("checked")}}]),e}(),$.fn.tvControlCheckbox=(0,a.createTvBlockWithInstance)("tv-control-checkbox",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new r(TradingView.mergeObj(t,{$checkbox:e}))}),t.default=r,e.exports=t.default}).call(this,o("OiQe"))},aLUT:function(e,t){e.exports=''},"b6p+":function(e,t,o){}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.css b/charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.css new file mode 100644 index 00000000..53ae2e3c --- /dev/null +++ b/charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.css @@ -0,0 +1 @@ +.tv-control-checkbox{cursor:pointer;-webkit-tap-highlight-color:transparent}.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{position:relative;display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tv-control-checkbox--nowrap,.tv-control-checkbox__label--nowrap{white-space:nowrap}.tv-control-checkbox__input{position:absolute;top:0;left:0;width:18px;height:18px;opacity:0}.tv-control-checkbox__box{display:block;width:18px;height:18px;line-height:1;border-radius:2px;box-sizing:border-box;pointer-events:none;transition:background-color .35s ease}.tv-control-checkbox__box:before{top:50%;left:50%;margin-top:-9px;margin-left:-9px;border-radius:2px;background-color:transparent;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;position:absolute;width:18px;height:18px}.tv-control-checkbox__box:after{top:0;left:0;border:2px solid #758696;border-radius:2px;box-sizing:border-box;transition:border-color .35s ease}.tv-control-checkbox__box svg{display:block;position:absolute;top:50%;left:50%;margin-top:-6px;margin-left:-6px;width:12px;height:12px;stroke:transparent;transform:scale(0);transition:stroke .35s ease 1ms,transform .35s ease 1ms}.tv-control-checkbox__label{white-space:normal;margin-right:10px}.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;min-width:50%;max-width:80%}.tv-control-checkbox__label+.tv-control-checkbox{margin-left:0}.tv-control-checkbox+.tv-control-checkbox__label{margin-right:0;margin-left: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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__box:after{will-change:border-color;border-color:#627384}}.tv-control-checkbox:active .tv-control-checkbox__box:after,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:after{border-color:#2196f3}.tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#2196f3}.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{border-color:#2196f3}.tv-control-checkbox__input:checked+.tv-control-checkbox__box svg{stroke:#fff;transform:scale(1);transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-delay:.0875s;will-change:stroke,transform}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#1e88e5}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after{border-color:#1e88e5}}.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:#049ddc}.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:#049ddc}.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:#dadde0}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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:#dadde0}}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:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){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:#363c4e}}.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:#f1f3f6;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:#2f3241}.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box{background-color:#dadde0}}.tv-control-checkbox__ripple{display:block;position:absolute;top:0;right:0;width:100%;height:100%;margin:-10px;padding:10px;overflow:hidden;border-radius:50%;-webkit-mask-image:radial-gradient(circle,#fff 100%,#000 0);mask-image:radial-gradient(circle,#fff 100%,#000 0)}.tv-control-checkbox__input:checked+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple{background-color:rgba(33,150,243,.25)}.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:transparent}.tv-control-checkbox.i-error .tv-control-checkbox__box:after{border-color:#ff4a68}.tv-control-checkbox.i-disabled{cursor:default} \ No newline at end of file diff --git a/charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.rtl.css b/charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.rtl.css new file mode 100644 index 00000000..d6cab171 --- /dev/null +++ b/charting_library/static/bundles/1.2fa13f88d2bf6ae6f3f0.rtl.css @@ -0,0 +1 @@ +.tv-control-checkbox{cursor:pointer;-webkit-tap-highlight-color:transparent}.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{position:relative;display:inline-block;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tv-control-checkbox--nowrap,.tv-control-checkbox__label--nowrap{white-space:nowrap}.tv-control-checkbox__input{position:absolute;top:0;right:0;width:18px;height:18px;opacity:0}.tv-control-checkbox__box{display:block;width:18px;height:18px;line-height:1;border-radius:2px;box-sizing:border-box;pointer-events:none;transition:background-color .35s ease}.tv-control-checkbox__box:before{top:50%;right:50%;margin-top:-9px;margin-right:-9px;border-radius:2px;background-color:transparent;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;position:absolute;width:18px;height:18px}.tv-control-checkbox__box:after{top:0;right:0;border:2px solid #758696;border-radius:2px;box-sizing:border-box;transition:border-color .35s ease}.tv-control-checkbox__box svg{display:block;position:absolute;top:50%;right:50%;margin-top:-6px;margin-right:-6px;width:12px;height:12px;stroke:transparent;transform:scale(0);transition:stroke .35s ease 1ms,transform .35s ease 1ms}.tv-control-checkbox__label{white-space:normal;margin-left:10px}.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;min-width:50%;max-width:80%}.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__box:after{will-change:border-color;border-color:#627384}}.tv-control-checkbox:active .tv-control-checkbox__box:after,.tv-control-checkbox__input:focus+.tv-control-checkbox__box:after{border-color:#2196f3}.tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#2196f3}.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{border-color:#2196f3}.tv-control-checkbox__input:checked+.tv-control-checkbox__box svg{stroke:#fff;transform:scale(1);transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-delay:.0875s;will-change:stroke,transform}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box{background-color:#1e88e5}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__input:checked+.tv-control-checkbox__box:after{border-color:#1e88e5}}.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:#049ddc}.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:#049ddc}.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:#dadde0}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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:#dadde0}}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:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){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:#363c4e}}.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:#f1f3f6;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:#2f3241}.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-control-checkbox:hover .tv-control-checkbox__input[disabled]:checked+.tv-control-checkbox__box{background-color:#dadde0}}.tv-control-checkbox__ripple{display:block;position:absolute;top:0;left:0;width:100%;height:100%;margin:-10px;padding:10px;overflow:hidden;border-radius:50%;-webkit-mask-image:radial-gradient(circle,#fff 100%,#000 0);mask-image:radial-gradient(circle,#fff 100%,#000 0)}.tv-control-checkbox__input:checked+.tv-control-checkbox__box+.tv-control-checkbox__ripple .tv-ripple{background-color:rgba(33,150,243,.25)}.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:transparent}.tv-control-checkbox.i-error .tv-control-checkbox__box:after{border-color:#ff4a68}.tv-control-checkbox.i-disabled{cursor:default} \ No newline at end of file diff --git a/charting_library/static/bundles/1.ea828ac684caa2b94a1b.js b/charting_library/static/bundles/1.ea828ac684caa2b94a1b.js new file mode 100644 index 00000000..5cb2eb09 --- /dev/null +++ b/charting_library/static/bundles/1.ea828ac684caa2b94a1b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/10.0501e55a3ef6aa50aec6.js b/charting_library/static/bundles/10.0501e55a3ef6aa50aec6.js new file mode 100644 index 00000000..d57c266b --- /dev/null +++ b/charting_library/static/bundles/10.0501e55a3ef6aa50aec6.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[10],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/10.c0a8664f16f3834961e4.css b/charting_library/static/bundles/10.c0a8664f16f3834961e4.css new file mode 100644 index 00000000..e30c6080 --- /dev/null +++ b/charting_library/static/bundles/10.c0a8664f16f3834961e4.css @@ -0,0 +1 @@ +.ui-slider{position:relative;text-align:left}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:0 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-left:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{left:0}.ui-slider-horizontal .ui-slider-range-max{right:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{left:-.3em;margin-left:0;margin-bottom:-.6em}.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}.colorpicker.main{border:1px solid #c9cbcd;box-shadow:0 1px 3px rgba(0,0,0,.4)}.tvcolorpicker-widget{vertical-align:middle;background-image:url(../images/tvcolorpicker-bg.png);background-position:0 0;background-repeat:no-repeat;border:1px solid #cacaca;overflow:hidden;padding:0;width:25px;height:25px;cursor:pointer;font-size:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tvcolorpicker-gradient-widget{background-image:url(../images/tvcolorpicker-bg.png),url(../images/tvcolorpicker-bg-gradient.png);background-size:cover}.tvcolorpicker-popup{position:absolute;z-index:1000;padding:4px;background:#fff;border:1px solid;border-color:#b5b7b9;box-shadow:0 1px 2px rgba(0,0,0,.3)}html.theme-dark .tvcolorpicker-popup{border-color:#363c4e;background:#131722}.tvcolorpicker-table{border-collapse:collapse;table-layout:fixed;margin:0 0 6px}.tvcolorpicker-popup .tvcolorpicker-table:last-of-type{margin-bottom:0}.tvcolorpicker-table td{padding:0;width:18px;height:18px}.tvcolorpicker-swatch{width:16px;height:16px;border:0 none;margin:1px;cursor:pointer;overflow:hidden}.tvcolorpicker-swatch.low-contrast{margin:0;border:1px solid #ccc}.tvcolorpicker-swatch.tvcolorpicker-user{border:1px solid #eee;margin:0}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tvcolorpicker-cell:hover .tvcolorpicker-swatch{border:1px solid #000;margin:0}}.tvcolorpicker-swatch.active{background:url(../images/tvcolorpicker-check.png) 50% 50% no-repeat;border:1px solid #fff;outline:1px solid #000;margin:0}.tvcolorpicker-custom-button{display:block}.tvcolorpicker-hsv{position:relative;top:4px;height:130px;width:160px;margin:0 auto}.tvcolorpicker-hs{position:absolute;top:0;left:-7px;width:147px;height:148px;background:url(../images/tvcolorpicker-sprite.png) 0 0 no-repeat;border:1px solid #eee}.tvcolorpicker-hs-area,.tvcolorpicker-v-area{position:absolute;top:0;left:0;width:100%;height:100%}.tvcolorpicker-v{position:absolute;background:url(../images/tvcolorpicker-sprite.png) -165px 1px no-repeat;border:1px solid #eee;height:149px;width:9px;margin:auto;left:0;right:0}.tvcolorpicker-vv{position:relative;top:0;left:145px;width:25px;height:128px;cursor:default}.tvcolorpicker-hs-handle{width:11px;height:11px;position:absolute;left:0;top:0;margin:-5px 0 0 -5px;background:url(../images/tvcolorpicker-sprite.png) -37px -148px no-repeat}.tvcolorpicker-v-handle{position:absolute;left:0;top:0;width:25px;height:11px;margin:-5px 0 0 -8px;background:url(../images/tvcolorpicker-sprite.png) -48px -148px no-repeat}.tvcolorpicker-custom-button,.tvcolorpicker-user-swatches{margin:6px 0 0}.tvcolorpicker-user-swatches .tvcolorpicker-transparency{background:url(../images/dialogs/opacity-slider.png)!important}.some-colorpicker .tvcolorpicker-container{display:inline-block;margin-right:8px}.tvcolorpicker-container{display:inline-block;position:relative;width:27px;height:27px}div .tvcolorpicker-container:last-of-type{border-right-width:0}.tvcolorpicker-container .tvcolorpicker-transparency{background:url(../images/dialogs/opacity-slider.png)!important;position:absolute;width:25px;height:25px;z-index:1}.tvcolorpicker-container .tvcolorpicker-widget{z-index:2;position:absolute}.widgetbar-widgetheader .colorpicker-widget:not(.disabled):not(.selected){position:relative}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.widgetbar-widgetheader .colorpicker-widget:not(.disabled):not(.selected):not(.disabled):hover{border:1px solid;border-color:#d6d8e0;z-index:1}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .widgetbar-widgetheader .colorpicker-widget:not(.disabled):not(.selected):not(.disabled):hover{border-color:#131722}} \ No newline at end of file diff --git a/charting_library/static/bundles/10.c0a8664f16f3834961e4.rtl.css b/charting_library/static/bundles/10.c0a8664f16f3834961e4.rtl.css new file mode 100644 index 00000000..82d01d8a --- /dev/null +++ b/charting_library/static/bundles/10.c0a8664f16f3834961e4.rtl.css @@ -0,0 +1 @@ +.ui-slider{position:relative;text-align:right}.ui-slider .ui-slider-handle{position:absolute;z-index:2;width:1.2em;height:1.2em;cursor:default}.ui-slider .ui-slider-range{position:absolute;z-index:1;font-size:.7em;display:block;border:0;background-position:100% 0}.ui-slider-horizontal{height:.8em}.ui-slider-horizontal .ui-slider-handle{top:-.3em;margin-right:-.6em}.ui-slider-horizontal .ui-slider-range{top:0;height:100%}.ui-slider-horizontal .ui-slider-range-min{right:0}.ui-slider-horizontal .ui-slider-range-max{left:0}.ui-slider-vertical{width:.8em;height:100px}.ui-slider-vertical .ui-slider-handle{right:-.3em;margin-right:0;margin-bottom:-.6em}.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}.colorpicker.main{border:1px solid #c9cbcd;box-shadow:0 1px 3px rgba(0,0,0,.4)}.tvcolorpicker-widget{vertical-align:middle;background-image:url(../images/tvcolorpicker-bg.png);background-position:100% 0;background-repeat:no-repeat;border:1px solid #cacaca;overflow:hidden;padding:0;width:25px;height:25px;cursor:pointer;font-size:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tvcolorpicker-gradient-widget{background-image:url(../images/tvcolorpicker-bg.png),url(../images/tvcolorpicker-bg-gradient.png);background-size:cover}.tvcolorpicker-popup{position:absolute;z-index:1000;padding:4px;background:#fff;border:1px solid;border-color:#b5b7b9;box-shadow:0 1px 2px rgba(0,0,0,.3)}html.theme-dark .tvcolorpicker-popup{border-color:#363c4e;background:#131722}.tvcolorpicker-table{border-collapse:collapse;table-layout:fixed;margin:0 0 6px}.tvcolorpicker-popup .tvcolorpicker-table:last-of-type{margin-bottom:0}.tvcolorpicker-table td{padding:0;width:18px;height:18px}.tvcolorpicker-swatch{width:16px;height:16px;border:0 none;margin:1px;cursor:pointer;overflow:hidden}.tvcolorpicker-swatch.low-contrast{margin:0;border:1px solid #ccc}.tvcolorpicker-swatch.tvcolorpicker-user{border:1px solid #eee;margin:0}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tvcolorpicker-cell:hover .tvcolorpicker-swatch{border:1px solid #000;margin:0}}.tvcolorpicker-swatch.active{background:url(../images/tvcolorpicker-check.png) 50% 50% no-repeat;border:1px solid #fff;outline:1px solid #000;margin:0}.tvcolorpicker-custom-button{display:block}.tvcolorpicker-hsv{position:relative;top:4px;height:130px;width:160px;margin:0 auto}.tvcolorpicker-hs{position:absolute;top:0;right:-7px;width:147px;height:148px;background:url(../images/tvcolorpicker-sprite.png) 0 0 no-repeat;border:1px solid #eee}.tvcolorpicker-hs-area,.tvcolorpicker-v-area{position:absolute;top:0;right:0;width:100%;height:100%}.tvcolorpicker-v{position:absolute;background:url(../images/tvcolorpicker-sprite.png) -165px 1px no-repeat;border:1px solid #eee;height:149px;width:9px;margin:auto;right:0;left:0}.tvcolorpicker-vv{position:relative;top:0;right:145px;width:25px;height:128px;cursor:default}.tvcolorpicker-hs-handle{width:11px;height:11px;position:absolute;right:0;top:0;margin:-5px -5px 0 0;background:url(../images/tvcolorpicker-sprite.png) -37px -148px no-repeat}.tvcolorpicker-v-handle{position:absolute;right:0;top:0;width:25px;height:11px;margin:-5px -8px 0 0;background:url(../images/tvcolorpicker-sprite.png) -48px -148px no-repeat}.tvcolorpicker-custom-button,.tvcolorpicker-user-swatches{margin:6px 0 0}.tvcolorpicker-user-swatches .tvcolorpicker-transparency{background:url(../images/dialogs/opacity-slider.png)!important}.some-colorpicker .tvcolorpicker-container{display:inline-block;margin-left:8px}.tvcolorpicker-container{display:inline-block;position:relative;width:27px;height:27px}div .tvcolorpicker-container:last-of-type{border-left-width:0}.tvcolorpicker-container .tvcolorpicker-transparency{background:url(../images/dialogs/opacity-slider.png)!important;position:absolute;width:25px;height:25px;z-index:1}.tvcolorpicker-container .tvcolorpicker-widget{z-index:2;position:absolute}.widgetbar-widgetheader .colorpicker-widget:not(.disabled):not(.selected){position:relative}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.widgetbar-widgetheader .colorpicker-widget:not(.disabled):not(.selected):not(.disabled):hover{border:1px solid;border-color:#d6d8e0;z-index:1}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .widgetbar-widgetheader .colorpicker-widget:not(.disabled):not(.selected):not(.disabled):hover{border-color:#131722}} \ No newline at end of file diff --git a/charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.css b/charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.css new file mode 100644 index 00000000..e8c737a8 --- /dev/null +++ b/charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.css @@ -0,0 +1 @@ +.item-2xPVYue0-{display:flex;flex-flow:row nowrap;align-items:center;white-space:nowrap;padding:2px 10px 2px 8px;font-size:14px;background-color:#fff;cursor:default;transition-property:none;color:#131722}html.theme-dark .item-2xPVYue0-{color:#b2b5be;background-color:#1e222d}.item-2xPVYue0-.hovered-1uf45E05-,.item-2xPVYue0-:active{color:#000}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-:hover{color:#000}}html.theme-dark .item-2xPVYue0-.hovered-1uf45E05-,html.theme-dark .item-2xPVYue0-:active{color:#c1c4cd}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-:hover{color:#c1c4cd}}.item-2xPVYue0-.hovered-1uf45E05-,.item-2xPVYue0-:active{background-color:#f0f3fa}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-:hover{background-color:#f0f3fa}}html.theme-dark .item-2xPVYue0-.hovered-1uf45E05-,html.theme-dark .item-2xPVYue0-:active{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-:hover{background-color:#2a2e39}}.item-2xPVYue0-.isDisabled-1wLqKupj-{opacity:.3;cursor:default}.item-2xPVYue0-.isDisabled-1wLqKupj-,.item-2xPVYue0-.isDisabled-1wLqKupj-:active{color:#131722;background-color:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isDisabled-1wLqKupj-:hover{color:#131722;background-color:#fff}}html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-,html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:active{background-color:#1e222d}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:hover{background-color:#1e222d}}html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-,html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:active{color:#b2b5be}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:hover{color:#b2b5be}}.item-2xPVYue0-.isActive-2j-GhQs_-,.item-2xPVYue0-.isActive-2j-GhQs_-:active{color:#fff;background-color:#2196f3}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover{color:#fff;background-color:#2196f3}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active{background-color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover{background-color:#1976d2}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active{color:#131722}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover{color:#131722}}.item-2xPVYue0-.isActive-2j-GhQs_- .icon-2Qm7YIcz- svg,.item-2xPVYue0-.isActive-2j-GhQs_-:active .icon-2Qm7YIcz- svg{fill:currentColor}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover .icon-2Qm7YIcz- svg{fill:currentColor}}.item-2xPVYue0-.isActive-2j-GhQs_- .shortcut-30pveiCO-,.item-2xPVYue0-.isActive-2j-GhQs_-:active .shortcut-30pveiCO-{color:hsla(0,0%,100%,.7)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover .shortcut-30pveiCO-{color:hsla(0,0%,100%,.7)}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_- .shortcut-30pveiCO-,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active .shortcut-30pveiCO-{color:rgba(19,23,34,.7)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover .shortcut-30pveiCO-{color:rgba(19,23,34,.7)}}.item-2xPVYue0-.isActive-2j-GhQs_- .toolbox-3ulPxfe--,.item-2xPVYue0-.isActive-2j-GhQs_-:active .toolbox-3ulPxfe--{color:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover .toolbox-3ulPxfe--{color:#fff}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_- .toolbox-3ulPxfe--,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active .toolbox-3ulPxfe--{color:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover .toolbox-3ulPxfe--{color:#fff}}.item-2xPVYue0-.withIcon-1xBjf-oB-{padding-top:6px;padding-bottom:6px}.item-2xPVYue0-:before{content:" ";display:block;height:28px}.icon-2Qm7YIcz-{display:flex;margin-right:7px;align-items:center;justify-content:center;width:28px;height:28px}.icon-2Qm7YIcz- svg{display:block;fill:currentColor}.labelRow-3Q0rdE8--{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;flex:1 0 auto;margin-right:14px}.labelRow-3Q0rdE8--:first-child{margin-left:4px}.labelRow-3Q0rdE8--:last-child{margin-right:4px}.label-3Xqxy756-{display:flex;flex:0 0 auto}.shortcut-30pveiCO-{font-size:11px;margin-right:14px;min-width:27px;color:#b2b5be}html.theme-dark .shortcut-30pveiCO-{color:#787b86}.toolbox-3ulPxfe--{display:flex;position:relative;align-items:center;color:#9db2bd}html.theme-dark .toolbox-3ulPxfe--{color:#9db2bd}.feature-no-mobiletouch .toolbox-3ulPxfe--.showOnHover-1q6ySzZc-{opacity:0}.toolbox-3ulPxfe-->:not(:last-child){margin-right:10px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.feature-no-mobiletouch .item-2xPVYue0-:hover .toolbox-3ulPxfe--.showOnHover-1q6ySzZc-{opacity:1}}.separator-25lkUpN--{margin:6px 0;height:1px;background-color:#e1ecf2}html.theme-dark .separator-25lkUpN--{background-color:#363c4e} \ No newline at end of file diff --git a/charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.rtl.css b/charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.rtl.css new file mode 100644 index 00000000..8c5ea955 --- /dev/null +++ b/charting_library/static/bundles/11.b900b9cb8ed6dd3bc321.rtl.css @@ -0,0 +1 @@ +.item-2xPVYue0-{display:flex;flex-flow:row nowrap;align-items:center;white-space:nowrap;padding:2px 8px 2px 10px;font-size:14px;background-color:#fff;cursor:default;transition-property:none;color:#131722}html.theme-dark .item-2xPVYue0-{color:#b2b5be;background-color:#1e222d}.item-2xPVYue0-.hovered-1uf45E05-,.item-2xPVYue0-:active{color:#000}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-:hover{color:#000}}html.theme-dark .item-2xPVYue0-.hovered-1uf45E05-,html.theme-dark .item-2xPVYue0-:active{color:#c1c4cd}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-:hover{color:#c1c4cd}}.item-2xPVYue0-.hovered-1uf45E05-,.item-2xPVYue0-:active{background-color:#f0f3fa}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-:hover{background-color:#f0f3fa}}html.theme-dark .item-2xPVYue0-.hovered-1uf45E05-,html.theme-dark .item-2xPVYue0-:active{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-:hover{background-color:#2a2e39}}.item-2xPVYue0-.isDisabled-1wLqKupj-{opacity:.3;cursor:default}.item-2xPVYue0-.isDisabled-1wLqKupj-,.item-2xPVYue0-.isDisabled-1wLqKupj-:active{color:#131722;background-color:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isDisabled-1wLqKupj-:hover{color:#131722;background-color:#fff}}html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-,html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:active{background-color:#1e222d}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:hover{background-color:#1e222d}}html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-,html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:active{color:#b2b5be}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isDisabled-1wLqKupj-:hover{color:#b2b5be}}.item-2xPVYue0-.isActive-2j-GhQs_-,.item-2xPVYue0-.isActive-2j-GhQs_-:active{color:#fff;background-color:#2196f3}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover{color:#fff;background-color:#2196f3}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active{background-color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover{background-color:#1976d2}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active{color:#131722}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover{color:#131722}}.item-2xPVYue0-.isActive-2j-GhQs_- .icon-2Qm7YIcz- svg,.item-2xPVYue0-.isActive-2j-GhQs_-:active .icon-2Qm7YIcz- svg{fill:currentColor}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover .icon-2Qm7YIcz- svg{fill:currentColor}}.item-2xPVYue0-.isActive-2j-GhQs_- .shortcut-30pveiCO-,.item-2xPVYue0-.isActive-2j-GhQs_-:active .shortcut-30pveiCO-{color:hsla(0,0%,100%,.7)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover .shortcut-30pveiCO-{color:hsla(0,0%,100%,.7)}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_- .shortcut-30pveiCO-,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active .shortcut-30pveiCO-{color:rgba(19,23,34,.7)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover .shortcut-30pveiCO-{color:rgba(19,23,34,.7)}}.item-2xPVYue0-.isActive-2j-GhQs_- .toolbox-3ulPxfe--,.item-2xPVYue0-.isActive-2j-GhQs_-:active .toolbox-3ulPxfe--{color:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.item-2xPVYue0-.isActive-2j-GhQs_-:hover .toolbox-3ulPxfe--{color:#fff}}html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_- .toolbox-3ulPxfe--,html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:active .toolbox-3ulPxfe--{color:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .item-2xPVYue0-.isActive-2j-GhQs_-:hover .toolbox-3ulPxfe--{color:#fff}}.item-2xPVYue0-.withIcon-1xBjf-oB-{padding-top:6px;padding-bottom:6px}.item-2xPVYue0-:before{content:" ";display:block;height:28px}.icon-2Qm7YIcz-{display:flex;margin-left:7px;align-items:center;justify-content:center;width:28px;height:28px}.icon-2Qm7YIcz- svg{display:block;fill:currentColor}.labelRow-3Q0rdE8--{display:flex;flex-direction:row;align-items:baseline;justify-content:space-between;flex:1 0 auto;margin-left:14px}.labelRow-3Q0rdE8--:first-child{margin-right:4px}.labelRow-3Q0rdE8--:last-child{margin-left:4px}.label-3Xqxy756-{display:flex;flex:0 0 auto}.shortcut-30pveiCO-{font-size:11px;margin-left:14px;min-width:27px;color:#b2b5be}html.theme-dark .shortcut-30pveiCO-{color:#787b86}.toolbox-3ulPxfe--{display:flex;position:relative;align-items:center;color:#9db2bd}html.theme-dark .toolbox-3ulPxfe--{color:#9db2bd}.feature-no-mobiletouch .toolbox-3ulPxfe--.showOnHover-1q6ySzZc-{opacity:0}.toolbox-3ulPxfe-->:not(:last-child){margin-left:10px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.feature-no-mobiletouch .item-2xPVYue0-:hover .toolbox-3ulPxfe--.showOnHover-1q6ySzZc-{opacity:1}}.separator-25lkUpN--{margin:6px 0;height:1px;background-color:#e1ecf2}html.theme-dark .separator-25lkUpN--{background-color:#363c4e} \ No newline at end of file diff --git a/charting_library/static/bundles/11.dd520838f92e45cd91e3.js b/charting_library/static/bundles/11.dd520838f92e45cd91e3.js new file mode 100644 index 00000000..7a628008 --- /dev/null +++ b/charting_library/static/bundles/11.dd520838f92e45cd91e3.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[11],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/12.18e3c4b9c329e737cb80.js b/charting_library/static/bundles/12.18e3c4b9c329e737cb80.js new file mode 100644 index 00000000..068e5bbf --- /dev/null +++ b/charting_library/static/bundles/12.18e3c4b9c329e737cb80.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[12],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/12.87f9777d9fe2086ce090.css b/charting_library/static/bundles/12.87f9777d9fe2086ce090.css new file mode 100644 index 00000000..4954f55c --- /dev/null +++ b/charting_library/static/bundles/12.87f9777d9fe2086ce090.css @@ -0,0 +1 @@ +.dialog-2APwxL3O-{display:flex;min-width:280px;text-align:left;box-sizing:border-box;background-color:#fff;flex-direction:column}html.theme-dark .dialog-2APwxL3O-{background-color:#1e222d}.dialog-2APwxL3O-.rounded-tXI9mwGE-{border-radius:4px}.dialog-2APwxL3O-.shadowed-2M13-xZa-{box-shadow:0 1px 2px 1px rgba(0,0,0,.275)}.dialog-2APwxL3O-.fullscreen-2RqU2pqU-{position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;min-height:100%} \ No newline at end of file diff --git a/charting_library/static/bundles/12.87f9777d9fe2086ce090.rtl.css b/charting_library/static/bundles/12.87f9777d9fe2086ce090.rtl.css new file mode 100644 index 00000000..0a73eff6 --- /dev/null +++ b/charting_library/static/bundles/12.87f9777d9fe2086ce090.rtl.css @@ -0,0 +1 @@ +.dialog-2APwxL3O-{display:flex;min-width:280px;text-align:right;box-sizing:border-box;background-color:#fff;flex-direction:column}html.theme-dark .dialog-2APwxL3O-{background-color:#1e222d}.dialog-2APwxL3O-.rounded-tXI9mwGE-{border-radius:4px}.dialog-2APwxL3O-.shadowed-2M13-xZa-{box-shadow:0 1px 2px 1px rgba(0,0,0,.275)}.dialog-2APwxL3O-.fullscreen-2RqU2pqU-{position:fixed;width:100%;max-width:100%;height:100%;max-height:100%;min-height:100%} \ No newline at end of file diff --git a/charting_library/static/bundles/13.46f312828e93b6546d0c.js b/charting_library/static/bundles/13.46f312828e93b6546d0c.js new file mode 100644 index 00000000..ab82e138 --- /dev/null +++ b/charting_library/static/bundles/13.46f312828e93b6546d0c.js @@ -0,0 +1,3 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[13],{"+EG+":function(e,t,n){"use strict";var o,r,i,s;n.d(t,"a",function(){return i}),n.d(t,"b",function(){return s}),o=n("mrSG"),r=n("q1tI"),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.render=function(){return r.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})},t}(r.Component),s=r.createContext(null)},AVTG:function(e,t,n){"use strict";function o(e){var t=e.hideIcon?null:s.createElement(a.a,{className:u.close,icon:c,onClick:e.onClose});return s.createElement("div",{className:u.header,"data-dragg-area":!0,ref:e.reference},e.children,t)}function r(e){return s.createElement("div",{className:l(d.body,e.className),ref:e.reference},e.children)}function i(e){var t,n;return e.text?t=s.createElement("span",null,e.text):e.html&&(t=s.createElement("span",{dangerouslySetInnerHTML:{__html:e.html}})),n=p.message,e.isError&&(n+=" "+p.error),t?s.createElement("div",{className:n,key:"0"},s.createElement(h.a,{mouseDown:!0,touchStart:!0,handler:e.onClickOutside},t)):s.createElement("div",null)}var s=n("q1tI"),u=n("kgsH"),c=n("uo4K"),a=n("jjrI"),d=(n("kQXJ"),n("XYXm")),l=n("TSYQ"),p=n("cJj4"),h=n("RgaO");n.d(t,"b",function(){return o}),n.d(t,"a",function(){return r}),n.d(t,"c",function(){return i})},RgaO:function(e,t,n){"use strict";var o,r,i;n.d(t,"a",function(){return i}),o=n("mrSG"),r=n("q1tI"),i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._scope=null,t._handleScopeRef=function(e){return t._scope=e},t._handleOutsideEvent=function(e){void 0!==t.props.handler&&null!==t._scope&&e.target instanceof Node&&(t._scope.contains(e.target)||t.props.handler(e))},t}return o.__extends(t,e),t.prototype.componentDidMount=function(){this.props.click&&document.addEventListener("click",this._handleOutsideEvent,!1),this.props.mouseDown&&document.addEventListener("mousedown",this._handleOutsideEvent,!1),this.props.touchEnd&&document.addEventListener("touchend",this._handleOutsideEvent,!1),this.props.touchStart&&document.addEventListener("touchstart",this._handleOutsideEvent,!1)},t.prototype.componentWillUnmount=function(){document.removeEventListener("click",this._handleOutsideEvent,!1),document.removeEventListener("mousedown",this._handleOutsideEvent,!1),document.removeEventListener("touchend",this._handleOutsideEvent,!1),document.removeEventListener("touchstart",this._handleOutsideEvent,!1)},t.prototype.render=function(){var e=this.props,t=(e.click,e.handler,e.mouseDown,e.touchEnd,e.touchStart,e.ctor),n=void 0===t?"span":t,i=o.__rest(e,["click","handler","mouseDown","touchEnd","touchStart","ctor"]);return r.createElement(n,o.__assign({},i,{ref:this._handleScopeRef}))},t}(r.PureComponent)},XYXm:function(e,t,n){e.exports={body:"body-2N-vuwQW-"}},cJj4:function(e,t,n){e.exports={message:"message-2o-rtQm0-",error:"error-2EW0C6z--"}},jAh7:function(e,t,n){"use strict";function o(e){var t,n,o +;return void 0===e&&(e=document),null!==(t=e.getElementById("overlap-manager-root"))?Object(r.ensureDefined)(u.get(t)):(n=new s(e),o=function(e){var 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),u.set(o,n),n.setContainer(o),e.body.appendChild(o),n)}var r,i,s,u;n.r(t),n.d(t,"OverlapManager",function(){return s}),n.d(t,"getRootOverlapManager",function(){return o}),r=n("Eyy1"),i=function(){function e(){this._storage=[]}return e.prototype.add=function(e){this._storage.push(e)},e.prototype.remove=function(e){this._storage=this._storage.filter(function(t){return e!==t})},e.prototype.has=function(e){return this._storage.includes(e)},e.prototype.getItems=function(){return this._storage},e}(),s=function(){function e(e){void 0===e&&(e=document),this._storage=new i,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}return e.prototype.setContainer=function(e){var t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach(function(e){e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)})}(t,n),this._container=n},e.prototype.registerWindow=function(e){this._storage.has(e)||this._storage.add(e)},e.prototype.ensureWindow=function(e,t){var n,o;return void 0===t&&(t={position:"fixed"}),void 0!==(n=this._windows.get(e))?n:(this.registerWindow(e),(o=this._document.createElement("div")).style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,this._container.appendChild(o),this._windows.set(e,o),++this._index,o)},e.prototype.unregisterWindow=function(e){this._storage.remove(e);var t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))},e.prototype.getZindex=function(e){var t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")},e.prototype.moveToTop=function(e){this.getZindex(e)!==this._index&&(this.ensureWindow(e).style.zIndex=(++this._index).toString())},e.prototype.removeWindow=function(e){this.unregisterWindow(e)},e}(),u=new WeakMap},jjrI:function(e,t,n){"use strict";function o(e){var t=e.className,n=e.icon,o=void 0===n?"":n,s=e.title,u=e.onClick,c=e.onMouseDown,a=e.onMouseUp,d=e.onMouseLeave,l=e.reference,p=r.__rest(e,["className","icon","title","onClick","onMouseDown","onMouseUp","onMouseLeave","reference"]);return i.createElement("span",r.__assign({},p,{title:s,className:t,dangerouslySetInnerHTML:{__html:o},onClick:u,onMouseDown:c,onMouseUp:a,onMouseLeave:d,ref:l}))}var r,i;n.d(t,"a",function(){return o}),r=n("mrSG"),i=n("q1tI")},kQXJ:function(e,t,n){e.exports={footer:"footer-2Zoji8zg-"}},kgsH:function(e,t,n){e.exports={header:"header-dpl-vtN_-",close:"close-3kPn4OTV-"}},uo4K:function(e,t){ +e.exports=''},"ycI/":function(e,t,n){"use strict";var o,r,i;n.d(t,"a",function(){return i}),o=n("mrSG"),r=n("q1tI"),i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleKeyDown=function(e){e.keyCode===t.props.keyCode&&t.props.handler(e)},t}return o.__extends(t,e),t.prototype.componentDidMount=function(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)},t.prototype.componentWillUnmount=function(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)},t.prototype.render=function(){return null},t}(r.PureComponent)}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/14.579d7892443d1a90180c.js b/charting_library/static/bundles/14.579d7892443d1a90180c.js new file mode 100644 index 00000000..21068f1c --- /dev/null +++ b/charting_library/static/bundles/14.579d7892443d1a90180c.js @@ -0,0 +1,4 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[14],{"1O6C":function(t,e,n){"use strict";var o,i,r,s,a,u,h,l;n.d(e,"a",function(){return l}),o=n("mrSG"),i=n("q1tI"),r=n("TSYQ"),s=n("+EG+"),a=n("jAh7"),u=n("QpNh"),h=n("aYmi"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._manager=new a.OverlapManager,e._handleSlot=function(t){e._manager.setContainer(t)},e}return o.__extends(e,t),e.prototype.render=function(){var t=this.props,e=t.rounded,n=void 0===e||e,a=t.shadowed,l=void 0===a||a,c=t.fullscreen,d=void 0!==c&&c,p=t.className,_=r(p,h.dialog,n&&h.rounded,l&&h.shadowed,d&&h.fullscreen),g=Object(u.a)(this.props);return i.createElement(i.Fragment,null,i.createElement(s.b.Provider,{value:this._manager},i.createElement("div",o.__assign({},g,{className:_,style:this._createStyles(),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)),i.createElement(s.a,{reference:this._handleSlot}))},e.prototype._createStyles=function(){var t=this.props,e=t.bottom,n=t.left,o=t.width;return{bottom:e,left:n,right:t.right,top:t.top,zIndex:t.zIndex,maxWidth:o,height:t.height}},e}(i.PureComponent)},AiMB:function(t,e,n){"use strict";var o,i,r,s,a,u,h,l;n.d(e,"a",function(){return h}),n.d(e,"b",function(){return l}),o=n("mrSG"),i=n("q1tI"),r=n("i8i4"),s=n("0waE"),a=n("jAh7"),u=n("+EG+"),h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._uuid=Object(s.guid)(),e}return o.__extends(e,t),e.prototype.componentWillUnmount=function(){this._manager().removeWindow(this._uuid)},e.prototype.render=function(){return r.createPortal(i.createElement(l.Provider,{value:this},this.props.children),this._manager().ensureWindow(this._uuid))},e.prototype.moveToTop=function(){this._manager().moveToTop(this._uuid)},e.prototype._manager=function(){return null===this.context?Object(a.getRootOverlapManager)():this.context},e.contextType=u.b,e}(i.PureComponent),l=i.createContext(null)},QpNh:function(t,e,n){"use strict";function o(t){var e,n,o,r,s,a=Object.entries(t).filter(i),u={};for(e=0,n=a;eo&&(t=o-e),t
{{text}}'+s+'
{{^removeOkButton}}
{{/removeOkButton}}',{captionClassName:r,classSuffix:e.classSuffix||"",text:o,removeOkButton:e&&e.removeOkButton})),n.modalDialog.find("._tv-button.ok").on("click",function(){n.destroy(),e.onOkButtonClick&&e.onOkButtonClick()}),n.positionDialog(),n.applyHandlers(!1,{doNotCloseOnBgClickIfShadowbox:a,beforeDestroy:e.onClose}),n.modalDialog},showCustomDialog:function(t){function o(t){n.destroy(),t.preventDefault()}return n.createModalDialog(t.title||$.t("Dialog"),{addClass:""}),n.modalDialog.find("._tv-dialog").css("width",t.width||"400px"),n.modalDialog.find("._tv-dialog-content").html('
'+(t.html||$.t("Content"))+"
"),n.modalDialog.find(".ok").click(o),n.modalDialog.find("form").submit(o),n.modalDialog.find(".cancel").click(o),n.modalDialog.find("._tv-dialog-title-close").click(o),n.positionDialog(),n.applyHandlers(), +n.modalDialog},createModalDialog:function(t,o){var e,i;return o=o||{},null!==n.modalDialog&&n.destroy(),n.modalDialog=$('
'+(o.noHeader?"":'
'+(o.noClose?"":'')+''+t+"
")+'
').appendTo($("body")).data("title",t),n._addMessageCloseButton(n.modalDialog.find("._tv-dialog-error")),n._addMessageCloseButton(n.modalDialog.find("._tv-dialog-message")),o.noShadowBox&&n.modalDialog.addClass("transparent"),o.addClass&&n.modalDialog.addClass(o.addClass),o.width&&n.modalDialog.find("._tv-dialog").css({width:o.width}),o.content&&n.modalDialog.find("._tv-dialog-content").html(o.content),(e=$(".fancybox-overlay")).length&&(i=e.css("z-index"),$("._tv-dialog-shadowbox").css("z-index",i+1)),o.draggable&&s(n.modalDialog).draggable(n._constrainDraggableOptionsIfNeeded({handle:n.modalDialog.find("._tv-dialog-title")})),o.zIndex&&n.modalDialog.css("z-index",o.zIndex),n.modalDialog},_addMessageCloseButton:function(t){var o=$(e("BhuR")).attr({class:"close",title:$.t("Close message")});t.append(o),$(o).on("click",function(){t.animate({marginTop:n.NOTIFICATION_ANIMATION_START_OFFSET,opacity:0},"fast",function(){t.hide()})})},createDialog:function(t,o){var e,d,r,c,u,g;return n.isOpen(t)?((e=n.get(t)).find("._tv-dialog-content").html(""),e.data("new",!1),e):(d=(o=o||{}).ownerDocument||document,c=(r=l(d)).ensureWindow(t,{position:"relative"}),e=$(i.render('
{{^hideTitle}} {{&title}}{{/hideTitle}}{{^hideCloseCross}}{{/hideCloseCross}}
',{addClass:o.addClass||"",hideTitle:o.hideTitle,hideCloseCross:o.hideCloseCross,title:t}),d).appendTo(c),n._addMessageCloseButton(e.find("._tv-dialog-error")),n._addMessageCloseButton(e.find("._tv-dialog-message")),o.width&&e.css({width:o.width}),o.content&&e.find("._tv-dialog-content").html(o.content),u=0,u=o.zIndex?o.zIndex:n.dialogs&&n.dialogs.length?a($.map(n.dialogs,function(t){return parseInt((t.dialog||t).css("z-index"),10)}))+1:110,e.css("z-index",u),e.data("new",!0),e.data("title",t),e.data("id",n.dialogs.length+1),n.dialogs.push({title:t,dialog:e,id:n.dialogs.length+1}),e.on("mousedown touchstart",function(){r.moveToTop(t)}),g={start:function(t,o){var e,i,a=o.helper.css("z-index"),s=0,l=null;for(e=0;es&&(s=i,l=n.dialogs[e].dialog) +;o.helper.css("z-index",s),l.css("z-index",a)}},o.dragHandle?g.handle=o.dragHandle:o.hideTitle||(g.handle="._tv-dialog-title"),o.dragOptions&&$.extend(g,o.dragOptions),s(e).draggable(n._constrainDraggableOptionsIfNeeded(g)),e)},positionDialog:function(t,o,e){function i(){a.css("margin-left",-Math.round(a.outerWidth()/2)+"px"),a.css("margin-top",-Math.round(a.outerHeight()/2)+"px")}var a,s,l,d,r,c,u,g,p,f;e=e||{},o=o||e.position,t?(l=(s=t.prop("ownerDocument")).defaultView,d=t.width(),r=t.height(),c=$(l).width(),u=$(l).height(),o&&o.top&&o.left?(p=e.forcePosition?o.left:Math.max(2,Math.min(c-d-4,o.left))+"px",g=e.forcePosition?o.top:Math.max(2,Math.min(u-r-4,o.top))+"px"):o&&o.considerScroll?(f=$(s),p=Math.round((c-d)/2+f.scrollLeft())+"px",g=Math.round((u-r)/2+f.scrollTop())+"px"):(p=Math.round((c-d)/2)+"px",g=Math.round((u-r)/2)+"px"),e.fadeIn?t.css({left:p,top:g}).hide().fadeIn("fast"):e.smooth?t.animate({left:p,top:g}):t.css({left:p,top:g})):(t=n.modalDialog,a=t.find("._tv-dialog"),i(),a.resize(i))},applyHandlers:function(t,o){var e,i,a,s=!t||t===this.modalDialog;o=o||{},e=s?function(){n.destroy()}:function(){n.destroy(t.data("title"))},t=t||n.modalDialog.find("._tv-dialog"),i=t.prop("ownerDocument"),o.beforeDestroy&&t.on("destroy",o.beforeDestroy),t.find("._tv-dialog-title ._tv-dialog-title-close, .js-dialog-close").on("click",function(t){o.closeHandler&&"function"==typeof o.closeHandler?o.closeHandler(t):e()}),o.doNotCloseOnBgClick||setTimeout(function(){$(i).on("mousedown.closeDialog",function(n){var a=$(n.target).parents().andSelf();a.is(t)||o.doNotCloseOnBgClickIfShadowbox&&a.is("._tv-dialog-shadowbox, .tv-dialog__modal-wrap")||a.is(".colorpicker, .charts-popup-list, ._tv-dialog, .tvcolorpicker-popup, .symbol-edit-popup, .ui-datepicker, .clockpicker-popover, .pac-container, .context-menu-wrapper")||($(i).off("mousedown.closeDialog"),e())})},0),t.find('input[type="checkbox"]').change(function(){var t=$(this),o=t.next("._tv-dialog-checkbox-mask");o.toggleClass("disabled",t.prop("disabled")).toggleClass("_tv-dialog-checkbox-mask-active",t.is(":checked"))}),a=t.find('input[type="text"]').focus(function(){$(this).addClass("_tv-dialog-content-textactive")}).blur(function(){$(this).removeClass("_tv-dialog-content-textactive")}).first(),Modernizr.mobiletouch||o.notFocusFirst||a.focus(),t.find('input[type="password"]').focus(function(){$(this).addClass("_tv-dialog-content-textactive")}).blur(function(){$(this).removeClass("_tv-dialog-content-textactive")}),t.find("textarea").focus(function(){$(this).addClass("_tv-dialog-content-textareaactive")}).blur(function(){$(this).removeClass("_tv-dialog-content-textareaactive")}),t.find("._tv-dialog-checkbox-mask").click(function(){var t=$(this).prev();t.prop("disabled")||(t.prop("checked",!t[0].checked),t.change())}),o.doNotCloseOnEsc||$(i).bind("keyup.hideDialog",function(o){if(27===o.keyCode)return t?n.destroy(t.data("title")):n.destroy(),!1}),o.processEnterButton&&$(i).bind("keyup.confirmAndCloseDialog",function(t){ +13===t.keyCode&&"textarea"!==t.target.tagName.toLowerCase()&&(o.processEnterButton.click(),$(i).unbind("keyup.confirmAndCloseDialog"))})},showError:function(t,o,e){n.showMessage(t,o,$.extend(e||{},{isError:!0}))},showMessage:function(t,o,e){var i,a,s;o||(o=$("._tv-dialog")),i=(e=e||{}).isError?"_tv-dialog-error":"_tv-dialog-message",s=(a=o.find("."+i)).find(".message"),e.html?s.html("string"==typeof e.html?e.html:t):s.text(t),s.css("width",o.width()).toggleClass("selectable",Boolean(e.selectable)),a.toggleClass("with-close",Boolean(e.withClose)).css({marginTop:n.NOTIFICATION_ANIMATION_START_OFFSET,opacity:"0"}).show().animate({marginTop:0,opacity:1},"fast"),e.withClose||(e.hideWithoutAnimation?a.on("touchstartoutside mousedownoutside keydownoutside",function t(){a.hide(),a.off("touchstartoutside mousedownoutside keydownoutside",t)}):a.on("touchstartoutside mousedownoutside keydownoutside",function t(){a.animate({marginTop:n.NOTIFICATION_ANIMATION_START_OFFSET,opacity:0},"fast",function(){a.hide()}),a.off("touchstartoutside mousedownoutside keydownoutside",t)}))},isOpen:function(t){for(var o=0;oi&&(n-=t-i,n=Math.max(0,n),o.height(n))}},t.exports.TVOldDialogs=n}).call(this,e("Kxc7"),e("OiQe"))},PVgW:function(t,o,e){"use strict";function i(t){return t=Math.abs(t),!Object(r.isInteger)(t)&&t>1&&(t=parseFloat(t.toString().replace(/^.+\./,"0."))),0').appendTo(l.parent()),e=$('
').html(c).appendTo(o),i=$('
').html(c).appendTo(o),o.on("mousedown",function(t){t.preventDefault(),l.focus()}),e.click(function(){l.is(":disabled")||a(l)}),i.click(function(){l.is(":disabled")||s(l)}),l.keydown(function(t){l.is(":disabled")||(38===t.keyCode?e.addClass("i-active"):40===t.keyCode&&i.addClass("i-active"))}),l.keyup(function(t){l.is(":disabled")||(38===t.keyCode?(a(l),e.removeClass("i-active")):40===t.keyCode&&(s(l),i.removeClass("i-active")))}),l.mousewheel(function(t){t.deltaY*(t.deltaFactor/100)>0?e.click():i.click()}))})}},"R4+T":function(t,o){t.exports=''},jAh7:function(t,o,e){"use strict";function i(t){var o,e,i;return void 0===t&&(t=document),null!==(o=t.getElementById("overlap-manager-root"))?Object(n.ensureDefined)(l.get(o)):(e=new s(t),i=function(t){var o=t.createElement("div");return o.style.position="absolute",o.style.zIndex=150..toString(),o.style.top="0px",o.style.left="0px",o.id="overlap-manager-root",o}(t),l.set(i,e),e.setContainer(i),t.body.appendChild(i),e)}var n,a,s,l;e.r(o),e.d(o,"OverlapManager",function(){return s}),e.d(o,"getRootOverlapManager",function(){return i}),n=e("Eyy1"),a=function(){function t(){this._storage=[]}return t.prototype.add=function(t){this._storage.push(t)},t.prototype.remove=function(t){this._storage=this._storage.filter(function(o){return t!==o})},t.prototype.has=function(t){return this._storage.includes(t)},t.prototype.getItems=function(){return this._storage},t}(),s=function(){function t(t){void 0===t&&(t=document),this._storage=new a,this._windows=new Map,this._index=0,this._document=t,this._container=t.createDocumentFragment()}return t.prototype.setContainer=function(t){var o=this._container,e=null===t?this._document.createDocumentFragment():t;!function(t,o){Array.from(t.childNodes).forEach(function(t){t.nodeType===Node.ELEMENT_NODE&&o.appendChild(t)})}(o,e),this._container=e},t.prototype.registerWindow=function(t){this._storage.has(t)||this._storage.add(t)},t.prototype.ensureWindow=function(t,o){var e,i;return void 0===o&&(o={position:"fixed"}),void 0!==(e=this._windows.get(t))?e:(this.registerWindow(t),(i=this._document.createElement("div")).style.position=o.position,i.style.zIndex=this._index.toString(), +i.dataset.id=t,this._container.appendChild(i),this._windows.set(t,i),++this._index,i)},t.prototype.unregisterWindow=function(t){this._storage.remove(t);var o=this._windows.get(t);void 0!==o&&(null!==o.parentElement&&o.parentElement.removeChild(o),this._windows.delete(t))},t.prototype.getZindex=function(t){var o=this.ensureWindow(t);return parseInt(o.style.zIndex||"0")},t.prototype.moveToTop=function(t){this.getZindex(t)!==this._index&&(this.ensureWindow(t).style.zIndex=(++this._index).toString())},t.prototype.removeWindow=function(t){this.unregisterWindow(t)},t}(),l=new WeakMap},"y1L/":function(t,o,e){},zjLg:function(t,o,e){}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/16.cc58f582c191485d9392.css b/charting_library/static/bundles/16.cc58f582c191485d9392.css new file mode 100644 index 00000000..c714af6c --- /dev/null +++ b/charting_library/static/bundles/16.cc58f582c191485d9392.css @@ -0,0 +1 @@ +.header-dpl-vtN_-{position:relative;font-size:14px;font-weight:700;color:#212121;padding:30px 60px 30px 30px;border-bottom:1px solid;border-bottom-color:#dadde0}html.theme-dark .header-dpl-vtN_-{border-bottom-color:#363c4e;color:#c5cbce}@media screen and (max-width:767px){.header-dpl-vtN_-{padding:20px 60px 20px 20px}}.header-dpl-vtN_- .close-3kPn4OTV-{position:absolute;padding:15px;top:17px;right:15px;cursor:pointer;opacity:.5;transition:opacity .35s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media screen and (max-width:767px){.header-dpl-vtN_- .close-3kPn4OTV-{top:7px;right:7px}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.header-dpl-vtN_- .close-3kPn4OTV-:hover{opacity:1;transition-duration:.06s}}.header-dpl-vtN_- .close-3kPn4OTV- svg{display:block;width:13px;height:13px;fill:#4a4a4a}html.theme-dark .header-dpl-vtN_- .close-3kPn4OTV- svg{fill:#c5cbce}.footer-2Zoji8zg-{padding:0 30px 30px}@media screen and (max-width:767px){.footer-2Zoji8zg-{padding:0 20px 20px}}.body-2N-vuwQW-{flex-grow:1;padding:30px;overflow:auto;-webkit-overflow-scrolling:touch}.body-2N-vuwQW-::-webkit-scrollbar{width:5px;height:5px}.body-2N-vuwQW-::-webkit-scrollbar-thumb{border:1px solid;border-color:#f1f3f6;border-radius:3px;background-color:#9db2bd}html.theme-dark .body-2N-vuwQW-::-webkit-scrollbar-thumb{background-color:#363c4e;border-color:#1c2030}.body-2N-vuwQW-::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}@media screen and (max-width:767px){.body-2N-vuwQW-{padding:20px}}.message-2o-rtQm0-{position:absolute;left:0;top:0;right:0;font-size:14px;padding:30px;text-align:center;color:#37bc9b;background:#ebf9f5;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-2o-rtQm0-{background:#21384d}.message-2o-rtQm0-.error-2EW0C6z--{color:#ff4a68;background:#ffedf0}html.theme-dark .message-2o-rtQm0-.error-2EW0C6z--{background:#6f2626} \ No newline at end of file diff --git a/charting_library/static/bundles/16.cc58f582c191485d9392.rtl.css b/charting_library/static/bundles/16.cc58f582c191485d9392.rtl.css new file mode 100644 index 00000000..2ae2f1eb --- /dev/null +++ b/charting_library/static/bundles/16.cc58f582c191485d9392.rtl.css @@ -0,0 +1 @@ +.header-dpl-vtN_-{position:relative;font-size:14px;font-weight:700;color:#212121;padding:30px 30px 30px 60px;border-bottom:1px solid;border-bottom-color:#dadde0}html.theme-dark .header-dpl-vtN_-{border-bottom-color:#363c4e;color:#c5cbce}@media screen and (max-width:767px){.header-dpl-vtN_-{padding:20px 20px 20px 60px}}.header-dpl-vtN_- .close-3kPn4OTV-{position:absolute;padding:15px;top:17px;left:15px;cursor:pointer;opacity:.5;transition:opacity .35s ease;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@media screen and (max-width:767px){.header-dpl-vtN_- .close-3kPn4OTV-{top:7px;left:7px}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.header-dpl-vtN_- .close-3kPn4OTV-:hover{opacity:1;transition-duration:.06s}}.header-dpl-vtN_- .close-3kPn4OTV- svg{display:block;width:13px;height:13px;fill:#4a4a4a}html.theme-dark .header-dpl-vtN_- .close-3kPn4OTV- svg{fill:#c5cbce}.footer-2Zoji8zg-{padding:0 30px 30px}@media screen and (max-width:767px){.footer-2Zoji8zg-{padding:0 20px 20px}}.body-2N-vuwQW-{flex-grow:1;padding:30px;overflow:auto;-webkit-overflow-scrolling:touch}.body-2N-vuwQW-::-webkit-scrollbar{width:5px;height:5px}.body-2N-vuwQW-::-webkit-scrollbar-thumb{border:1px solid;border-color:#f1f3f6;border-radius:3px;background-color:#9db2bd}html.theme-dark .body-2N-vuwQW-::-webkit-scrollbar-thumb{background-color:#363c4e;border-color:#1c2030}.body-2N-vuwQW-::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}@media screen and (max-width:767px){.body-2N-vuwQW-{padding:20px}}.message-2o-rtQm0-{position:absolute;right:0;top:0;left:0;font-size:14px;padding:30px;text-align:center;color:#37bc9b;background:#ebf9f5;transition:opacity .2625s ease,transform .2625s ease}html.theme-dark .message-2o-rtQm0-{background:#21384d}.message-2o-rtQm0-.error-2EW0C6z--{color:#ff4a68;background:#ffedf0}html.theme-dark .message-2o-rtQm0-.error-2EW0C6z--{background:#6f2626} \ No newline at end of file diff --git a/charting_library/static/bundles/16.e0d00f8a564954896734.js b/charting_library/static/bundles/16.e0d00f8a564954896734.js new file mode 100644 index 00000000..1be04eab --- /dev/null +++ b/charting_library/static/bundles/16.e0d00f8a564954896734.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[16],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/17.00b04a06a8cd9c6f5f6c.js b/charting_library/static/bundles/17.00b04a06a8cd9c6f5f6c.js new file mode 100644 index 00000000..d0e5e337 --- /dev/null +++ b/charting_library/static/bundles/17.00b04a06a8cd9c6f5f6c.js @@ -0,0 +1,5 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{bR4N:function(t,e,a){"use strict";var n,o=a("wmOI").ESC,s=a("0waE").guid,i=a("jAh7").getRootOverlapManager,p=function(t,e,n){var l,c,r,u,d,h,f=".popup-menu";t=$(t),(n=n||{}).activeClass=n.activeClass||"",l=(n.event||"click")+f,n.hideEvent&&(c=n.hideEvent+f),u=r=function(){},d={},h=function(l,h,v){function m(e){var a=$(e.target).parents().andSelf();a.is(w)||a.is(t)||a.is(".charts-popup-tab-headers, .charts-popup-itemheader")||u()}function g(t){if(d.preventFirstProcessClick)d.preventFirstProcessClick=!1;else{var e=$(t.target).parents().andSelf();e.is(".charts-popup-tab-headers, .charts-popup-itemheader")||n.notCloseOnButtons&&e.is(".icon-delete")||u()}}function b(t){t.keyCode===o&&u()}var C,w,y,T,x,D,_,k,S,M,A,I,N,L,E,O,W,P,R,z,B,F,G,H=s(),J=l.target.ownerDocument,U=J.defaultView,V=i(J),K=h||e;if("function"==typeof K&&(K=K()),$(this).hasClass("open")||$(this).hasClass("active"))return l.preventDefault(),u(),void(C=d.scrollTop);switch(u=function(){d.scrollTop=w.scrollTop(),w.remove(),V.removeWindow(H),t.removeClass("active open "+n.activeClass),t.data("popup-menu",null),$(J).off("click",g),$(J).off("mousedown",m),Modernizr.mobiletouch&&$(J).off("touchstart.chartgui",m),$(J).off("selectstart."+f),J.removeEventListener("keydown",b,!1),u=r,n.onRemove&&n.onRemove()},t.addClass("active open "+n.activeClass),w=$('
'),n.addClass&&w.addClass(n.addClass),n.zIndex&&w.css("z-index",n.zIndex),y=w,n.listInner&&(y=$('
').appendTo(y)),n.listTable&&(y=$('').text(o.title));else{if(o.separator)return h=$(''),void i.append(h);h=$(''),o.url&&h.attr("href",o.url),o.target&&h.attr("target",o.target),s||h.addClass("first"),"function"==typeof o.active?o.active(o)&&h.addClass("active"):o.active&&h.addClass("active"),o.addClass&&h.addClass(o.addClass),o.addData&&h.data(o.addData),o.disabled&&h.addClass("disabled"),"function"==typeof o.action&&(f=o.action,v=function(t){$(t.target).parents().andSelf().is(T)||(f.apply(h,arguments),!o.url&&t&&"function"==typeof t.preventDefault&&t.preventDefault())},n.upAction?h.bind("mouseup",v):h.bind("click",v)),o.date?(m=$('').appendTo(h),$('').text(o.date||"").appendTo(h)):o.icon&&!n.svg?((g=$('').appendTo(h)).css("background-image",o.icon.image||""),o.icon.offset&&g.css("background-position","string"==typeof o.icon.offset?o.icon.offset:o.icon.offset.x+"px "+o.icon.offset.y+"px"),m=$('').appendTo(h)):!0===n.svg&&o.svg?(n.wrapIcon?h.append($('').addClass(o.iconClass).append(o.svg)):h.append(o.svg),m=$('').appendTo(h)):o.iconClass?(h.append($('').addClass(o.iconClass)),m=$('').appendTo(h)):m=$('').appendTo(h),o.html?m.html(o.html):m.text(TradingView.clean(o.title,!0)||""),b=$('').appendTo(h),o.shortcut&&b.text(o.shortcut.keys),"function"==typeof o.deleteAction&&(C=o.deleteAction,y=o.deleteAction.title||$.t("Delete"),(T=$('')).html(a("uo4K")),T.attr("title",y),T.on("click",function(t){C.apply(h,arguments),t.preventDefault()}),h.append(T)),o.buttons instanceof Array&&o.buttons.length&&o.buttons.forEach(function(t){t.el instanceof $||(t.el=$(t.el)),t.el.appendTo(h),t.handler&&t.el.on("click",function(e){t.handler.apply(h,arguments)})}),void 0!==o.counter&&("function"==typeof o.counter?$('').html(o.counter()).appendTo(h):(x=o.counterBlue?"blue":"",$('').text(o.counter+"").addClass(x).appendTo(h))),i.append(h),t.data("popup-menu",i)}}(this,e,y)}),c||(d.preventFirstProcessClick=!0),$(J).on("click",g),$(J).on("mousedown",m),J.addEventListener("keydown",b,!1),Modernizr.mobiletouch&&$(J).on("touchstart.chartgui",m),n.upAction&&$(J).on("selectstart.popup-menu",function(){return!1}),w.appendTo(V.ensureWindow(H)),T=J.documentElement.clientWidth,x=J.documentElement.clientHeight,D=t.outerWidth(),_=t.outerHeight(),k=t.offset(),C=$(U).scrollTop()||0,k.top-=C, +k.top=Math.round(k.top),k.left=Math.round(k.left),S=w.outerWidth(),M=w.outerHeight(),A=void 0!==n.viewportSpacing?n.viewportSpacing:10,I=n.popupSpacing?~~n.popupSpacing:1,N=n.popupDrift?~~n.popupDrift:0,L=M-w.height(),E="down",n.direction&&(E="function"==typeof n.direction?n.direction():n.direction),O=!!n.reverse,"down"===E?(W=x-k.top-_-I-A-L,P=k.top-I-A-L,WW&&(E="up")):"right"===E&&(R=T-k.left-D-I-A-L,z=k.left-I-A-L,RR&&(E="left")),E){case"down":case"up":"down"===E?w.css("top",k.top+_+I+"px"):w.css("bottom",x-k.top+I+"px").css("top","auto"),O?w.css("left",Math.max(k.left+N+D-S,A)+"px").css("right","auto"):w.css("left",k.left+N+"px").css("right","auto");break;case"right":case"left":I=Math.max(I,4),"right"===E?w.css("left",Math.floor(k.left+D+I)+"px").css("right","auto"):w.css("left",Math.floor(Math.max(k.left-S-I,A))+"px").css("right","auto"),O?w.css("top",Math.floor(Math.max(k.top+N+_-M,A))+"px"):w.css("top",Math.floor(k.top+N)+"px")}w.show(),B=k.top,"up"===E||{left:1,right:1}[E]&&O?"up"!==E?B+=_:B-=_+I+L+A:B=x-B-_-2*I-L,w.height()>B&&w.addClass("popup-menu-scroll-y"),w.css("max-height",B+"px"),n.careRightBorder&&(F=T+$(U).scrollLeft(),parseInt(w.css("left"))+w.width()+A>F&&w.css("left",F-w.width()-A+"px").css("right","auto")),n.careBottomBorder&&parseInt(w.css("top"))+w.height()+A>x+C&&w.css("top",x-w.height()-A+C+"px"),G=w.offset(),w.css({position:"fixed",left:G.left-$(J).scrollLeft(),right:"auto"}),w[0].scrollHeight>w.height()&&w.addClass("popup-with-scroll"),l&&l.preventDefault()},l&&t.bind(l,h),c&&t.bind(c,function(){u()}),n.runOpened&&h()};p.TabGroup=function t(e){if(!(this instanceof t))return new t(e);e=e||{},this.tabs=[],"function"==typeof e.onChange&&(this.onChange=e.onChange)},p.TabGroup.prototype.appendTab=function(t,e,a){if(null==t?t="":t+="",e||(e=[]),a||(a={}),!Array.isArray(e))throw new TypeError("items must be an array");return this.tabs.push({name:t,items:e,active:!!a.active}),e},p.Header=function t(e){if(!(this instanceof t))return new t(e);this.title=e},p.Group=function t(e){if(!(this instanceof t))return new t(e);e=e||{},this.items=[],this.title=null==e.title?"":e.title+"",this.collapsible=!!e.collapsible,this.collapsed=!!e.collapsed,"function"==typeof e.onChange&&(this.onChange=e.onChange)},p.Group.prototype.push=function(){this.items.push.apply(this.items,arguments)},e.bindPopupMenu=p,n=function(t){(t=$(t)).unbind(".popup-menu"),t.removeData("popup-menu")},e.unbindPopupMenu=n},guTw:function(t,e,a){"use strict";(function(e){function n(t,a,n){var o={saveAsText:$.t("Save As..."),applyDefaultText:$.t("Apply Defaults")};this._toolName=t,this._applyTemplate=a,this._options=$.extend(o,n||{}),this._list=[],e.enabled("charting_library_base")||(this.templatesDeferred=this.loadData())}var o=a("bR4N").bindPopupMenu,s=a("UJLt").SaveRenameDialog,i=a("hkLy").InputField,p=a("oNDq").createConfirmDialog,l=a("uOxu").getLogger("Chart.LineToolTemplatesList");n._cache={},n.prototype.getData=function(){return this._list},n.prototype.loadData=function(){var t=this +;return this._toolName in n._cache?(this._list=n._cache[this._toolName],$.Deferred().resolve()):$.get("/drawing-templates/"+this._toolName+"/",function(e){t._list=e,n._cache[t._toolName]=e}).error(function(){l.logWarn("Failed to load drawing template: "+t._toolName)})},n.prototype.templatesLoaded=function(){return this.templatesDeferred},n.prototype.invalidateToolCache=function(){delete n._cache[this._toolName]},n.prototype.createButton=function(t){var e,a=this;return t=$.extend({},t,a._options),e=$("").addClass(t.buttonClass?t.buttonClass:"_tv-button").html(t.buttonInner?t.buttonInner:$.t("Template")+''),o(e,null,{event:"button-popup",hideEvent:"hide-popup",zIndex:t.popupZIndex,activeClass:t.popupActiveClass,direction:t.popupDirection}),e.bind("click",function(e){var n,o,s;e.stopPropagation(),$(this).is("active")||(n=[],"function"==typeof t.getDataForSaveAs&&(o=function(e){var n=JSON.stringify(t.getDataForSaveAs());a.saveTemplate(e,n)},n.push({title:t.saveAsText,action:a.showSaveDialog.bind(a,o),addClass:"special"})),"function"==typeof t.defaultsCallback&&n.push({title:t.applyDefaultText,action:t.defaultsCallback,addClass:"special"}),s=[],$.each(a._list,function(e,n){s.push({title:n,action:function(){a.loadTemplate.call(a,n,t.loadTemplateCallback)},deleteAction:function(){runOrSignIn(function(){var t=$.t("Do you really want to delete Drawing Template '{0}' ?").format(n);p({type:"modal",content:t}).then(function(t){t.on("action:yes",function(t){a.removeTemplate.call(a,n),t.close()}),t.open()})},{source:"Delete line tool template"})}})}),s.length&&(s.sort(function(t,e){return(t=t.title.toUpperCase())===(e=e.title.toUpperCase())?0:t>e?1:-1}),n.push({separator:!0}),n=n.concat(s)),$(this).trigger("button-popup",[n]))}),e},n.prototype.loadTemplate=function(t,e){var a=this;return $.get("/drawing-template/"+this._toolName+"/?templateName="+encodeURIComponent(t),function(t){a._applyTemplate(JSON.parse(t.content)),e&&e()}).error(function(t){l.logWarn(t.responseText)})},n.prototype.removeTemplate=function(t){if(t){$.post("/remove-drawing-template/",{name:t,tool:this._toolName}).error(function(t){l.logWarn(t.responseText)}),this.invalidateToolCache(),this._list=$.grep(this._list,function(e){return e!==t})}},n.prototype.saveTemplate=function(t,e){var a,n=this;t&&e&&(t=TradingView.clean(t),a=-1!==$.inArray(t,n._list),function(){var o={name:t,tool:n._toolName,content:e},s=function(){a||n._list.push(t)};$.post("/save-drawing-template/",o,s).error(function(t){l.logWarn(t.responseText)}),n.invalidateToolCache()}())},n.prototype.deleteAction=function(t){var e=t,a=this;runOrSignIn(function(){var t=$.t(" Do you really want to delete Drawing Template '{0}' ?").format(e);p({type:"modal",content:t}).then(function(t){t.on("action:yes",function(t){a.removeTemplate.call(a,e),t.close()}),t.open()})},{source:"Delete line tool template"})},n.prototype.showSaveDialog=function(t){var e=this,a="text",n=function(t){return TradingView.clean(t[a])},o=new s({fields:[new i({name:a,label:$.t("Template name")+":", +maxLength:64,error:$.t("Please enter template name")})],title:$.t("Save Drawing Template As"),confirm:{shouldShowDialog:function(t){return-1!==e._list.indexOf(n(t))},getMessage:function(t){return $.t("Drawing Template '{0}' already exists. Do you really want to replace it?").format(n(t))}}});runOrSignIn(function(){o.show().then(function(e){t(e[a])})},{source:"Save line tool template",sourceMeta:"Chart"})},t.exports=n}).call(this,a("Kxc7"))},uo4K:function(t,e){t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/18.183d41ade16dae257526.css b/charting_library/static/bundles/18.183d41ade16dae257526.css new file mode 100644 index 00000000..71a8e58a --- /dev/null +++ b/charting_library/static/bundles/18.183d41ade16dae257526.css @@ -0,0 +1 @@ +.inputWrapper-6bNZbTW4-{display:flex;flex-grow:1;position:relative;border-radius:2px 2px 2px 2px}.textInput-3WRWEmm7-{background-color:#fff;border:1px solid;box-sizing:border-box;color:#535353;display:flex;font-size:13px;height:34px;padding:0 12px;transition:border-color .35s ease 0s,background-color .35s ease 0s;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:inherit;border-color:#dadde0;flex:1}html.theme-dark .textInput-3WRWEmm7-{border-color:#363c4e;color:#f2f3f5;background-color:#131722}.textInput-3WRWEmm7-:-ms-input-placeholder,.textInput-3WRWEmm7-::-ms-input-placeholder{color:#adaeb0;opacity:1}.textInput-3WRWEmm7-::placeholder{color:#adaeb0;opacity:1}html.theme-dark .textInput-3WRWEmm7-:-ms-input-placeholder,html.theme-dark .textInput-3WRWEmm7-::-ms-input-placeholder{color:#4f5966}html.theme-dark .textInput-3WRWEmm7-::placeholder{color:#4f5966}.textInput-3WRWEmm7-[readonly],.textInput-3WRWEmm7-[readonly]:focus{border-color:#dadde0;color:#8a8a8a}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-[readonly]:hover{border-color:#dadde0;color:#8a8a8a}}html.theme-dark .textInput-3WRWEmm7-[readonly],html.theme-dark .textInput-3WRWEmm7-[readonly]:focus{color:#758696}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[readonly]:hover{color:#758696}}html.theme-dark .textInput-3WRWEmm7-[readonly],html.theme-dark .textInput-3WRWEmm7-[readonly]:focus{border-color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[readonly]:hover{border-color:#363c4e}}.textInput-3WRWEmm7-[disabled]{color:#ececec;border-color:#ececec;background-color:#fff;cursor:auto}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-[disabled]:hover{color:#ececec;border-color:#ececec;background-color:#fff;cursor:auto}}html.theme-dark .textInput-3WRWEmm7-[disabled]{background-color:#131722}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover{background-color:#131722}}html.theme-dark .textInput-3WRWEmm7-[disabled]{border-color:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover{border-color:#262b3e}}html.theme-dark .textInput-3WRWEmm7-[disabled]{color:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover{color:#262b3e}}.textInput-3WRWEmm7-[disabled]:-ms-input-placeholder,.textInput-3WRWEmm7-[disabled]::-ms-input-placeholder{color:#ececec}.textInput-3WRWEmm7-[disabled]::placeholder{color:#ececec}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-[disabled]:hover:-ms-input-placeholder,.textInput-3WRWEmm7-[disabled]:hover::-ms-input-placeholder{color:#ececec}.textInput-3WRWEmm7-[disabled]:hover::placeholder{color:#ececec}}html.theme-dark .textInput-3WRWEmm7-[disabled]:-ms-input-placeholder,html.theme-dark .textInput-3WRWEmm7-[disabled]::-ms-input-placeholder{color:#262b3e}html.theme-dark .textInput-3WRWEmm7-[disabled]::placeholder{color:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover:-ms-input-placeholder,html.theme-dark .textInput-3WRWEmm7-[disabled]:hover::-ms-input-placeholder{color:#262b3e}html.theme-dark .textInput-3WRWEmm7-[disabled]:hover::placeholder{color:#262b3e}}.textInput-3WRWEmm7-.error-v0663AtN-,.textInput-3WRWEmm7-.error-v0663AtN-[disabled],.textInput-3WRWEmm7-.error-v0663AtN-[readonly]{border-color:#f24965!important}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-.error-v0663AtN-:hover{border-color:#f24965!important}}.textInput-3WRWEmm7-.success-7iP8kTY5-,.textInput-3WRWEmm7-.success-7iP8kTY5-[disabled],.textInput-3WRWEmm7-.success-7iP8kTY5-[readonly]{border-color:#38b395!important}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-.success-7iP8kTY5-:hover{border-color:#38b395!important}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-:hover{border-color:#c8c8c8;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-:hover{border-color:#4c525e}}.textInput-3WRWEmm7-:focus{border-color:#2196f3!important;transition-duration:.06s}.textInput-3WRWEmm7-.textInputLeftDirection-mlAXPh8V-{text-align:left;direction:ltr}.xsmall-3Ah_Or2--{height:19px}.small-2bmxiJCE-{height:27px}.large-1JDowW2I-{height:48px}.iconed-3ZQvxTot- .textInput-3WRWEmm7-{padding-left:30px}.iconed-3ZQvxTot- .inputIcon-W_Bse-a1-{opacity:.4}.iconed-3ZQvxTot- .inputIcon-W_Bse-a1- svg{display:inline-block;position:absolute;width:14px;height:14px;margin:10px 0 0 10px;fill:#4a4a4a;stroke:#4a4a4a}.clearable-2tabt_rj- .textInput-3WRWEmm7-{display:inline-block;width:100%}.clearable-2tabt_rj- .clearIcon-389FR5J4-{display:inline-flex;position:absolute;right:12px;top:10px;cursor:pointer;opacity:.4}.clearable-2tabt_rj- .clearIcon-389FR5J4- svg{max-width:16px;height:16px;fill:#4a4a4a;stroke:#4a4a4a} \ No newline at end of file diff --git a/charting_library/static/bundles/18.183d41ade16dae257526.rtl.css b/charting_library/static/bundles/18.183d41ade16dae257526.rtl.css new file mode 100644 index 00000000..cc585cfd --- /dev/null +++ b/charting_library/static/bundles/18.183d41ade16dae257526.rtl.css @@ -0,0 +1 @@ +.inputWrapper-6bNZbTW4-{display:flex;flex-grow:1;position:relative;border-radius:2px 2px 2px 2px}.textInput-3WRWEmm7-{background-color:#fff;border:1px solid;box-sizing:border-box;color:#535353;display:flex;font-size:13px;height:34px;padding:0 12px;transition:border-color .35s ease 0s,background-color .35s ease 0s;width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:inherit;border-color:#dadde0;flex:1}html.theme-dark .textInput-3WRWEmm7-{border-color:#363c4e;color:#f2f3f5;background-color:#131722}.textInput-3WRWEmm7-:-ms-input-placeholder,.textInput-3WRWEmm7-::-ms-input-placeholder{color:#adaeb0;opacity:1}.textInput-3WRWEmm7-::placeholder{color:#adaeb0;opacity:1}html.theme-dark .textInput-3WRWEmm7-:-ms-input-placeholder,html.theme-dark .textInput-3WRWEmm7-::-ms-input-placeholder{color:#4f5966}html.theme-dark .textInput-3WRWEmm7-::placeholder{color:#4f5966}.textInput-3WRWEmm7-[readonly],.textInput-3WRWEmm7-[readonly]:focus{border-color:#dadde0;color:#8a8a8a}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-[readonly]:hover{border-color:#dadde0;color:#8a8a8a}}html.theme-dark .textInput-3WRWEmm7-[readonly],html.theme-dark .textInput-3WRWEmm7-[readonly]:focus{color:#758696}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[readonly]:hover{color:#758696}}html.theme-dark .textInput-3WRWEmm7-[readonly],html.theme-dark .textInput-3WRWEmm7-[readonly]:focus{border-color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[readonly]:hover{border-color:#363c4e}}.textInput-3WRWEmm7-[disabled]{color:#ececec;border-color:#ececec;background-color:#fff;cursor:auto}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-[disabled]:hover{color:#ececec;border-color:#ececec;background-color:#fff;cursor:auto}}html.theme-dark .textInput-3WRWEmm7-[disabled]{background-color:#131722}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover{background-color:#131722}}html.theme-dark .textInput-3WRWEmm7-[disabled]{border-color:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover{border-color:#262b3e}}html.theme-dark .textInput-3WRWEmm7-[disabled]{color:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover{color:#262b3e}}.textInput-3WRWEmm7-[disabled]:-ms-input-placeholder,.textInput-3WRWEmm7-[disabled]::-ms-input-placeholder{color:#ececec}.textInput-3WRWEmm7-[disabled]::placeholder{color:#ececec}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-[disabled]:hover:-ms-input-placeholder,.textInput-3WRWEmm7-[disabled]:hover::-ms-input-placeholder{color:#ececec}.textInput-3WRWEmm7-[disabled]:hover::placeholder{color:#ececec}}html.theme-dark .textInput-3WRWEmm7-[disabled]:-ms-input-placeholder,html.theme-dark .textInput-3WRWEmm7-[disabled]::-ms-input-placeholder{color:#262b3e}html.theme-dark .textInput-3WRWEmm7-[disabled]::placeholder{color:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-[disabled]:hover:-ms-input-placeholder,html.theme-dark .textInput-3WRWEmm7-[disabled]:hover::-ms-input-placeholder{color:#262b3e}html.theme-dark .textInput-3WRWEmm7-[disabled]:hover::placeholder{color:#262b3e}}.textInput-3WRWEmm7-.error-v0663AtN-,.textInput-3WRWEmm7-.error-v0663AtN-[disabled],.textInput-3WRWEmm7-.error-v0663AtN-[readonly]{border-color:#f24965!important}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-.error-v0663AtN-:hover{border-color:#f24965!important}}.textInput-3WRWEmm7-.success-7iP8kTY5-,.textInput-3WRWEmm7-.success-7iP8kTY5-[disabled],.textInput-3WRWEmm7-.success-7iP8kTY5-[readonly]{border-color:#38b395!important}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-.success-7iP8kTY5-:hover{border-color:#38b395!important}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.textInput-3WRWEmm7-:hover{border-color:#c8c8c8;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .textInput-3WRWEmm7-:hover{border-color:#4c525e}}.textInput-3WRWEmm7-:focus{border-color:#2196f3!important;transition-duration:.06s}.textInput-3WRWEmm7-.textInputLeftDirection-mlAXPh8V-{text-align:left;direction:ltr}.xsmall-3Ah_Or2--{height:19px}.small-2bmxiJCE-{height:27px}.large-1JDowW2I-{height:48px}.iconed-3ZQvxTot- .textInput-3WRWEmm7-{padding-right:30px}.iconed-3ZQvxTot- .inputIcon-W_Bse-a1-{opacity:.4}.iconed-3ZQvxTot- .inputIcon-W_Bse-a1- svg{display:inline-block;position:absolute;width:14px;height:14px;margin:10px 10px 0 0;fill:#4a4a4a;stroke:#4a4a4a}.clearable-2tabt_rj- .textInput-3WRWEmm7-{display:inline-block;width:100%}.clearable-2tabt_rj- .clearIcon-389FR5J4-{display:inline-flex;position:absolute;left:12px;top:10px;cursor:pointer;opacity:.4}.clearable-2tabt_rj- .clearIcon-389FR5J4- svg{max-width:16px;height:16px;fill:#4a4a4a;stroke:#4a4a4a} \ No newline at end of file diff --git a/charting_library/static/bundles/18.e4c458360dbad4de5cf6.js b/charting_library/static/bundles/18.e4c458360dbad4de5cf6.js new file mode 100644 index 00000000..85ee7de3 --- /dev/null +++ b/charting_library/static/bundles/18.e4c458360dbad4de5cf6.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[18],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/19.aba848e28ec755548668.css b/charting_library/static/bundles/19.aba848e28ec755548668.css new file mode 100644 index 00000000..a5b87a7d --- /dev/null +++ b/charting_library/static/bundles/19.aba848e28ec755548668.css @@ -0,0 +1 @@ +.loader-3Pj8ExOX-{position:absolute;top:0;left:0;right:0;bottom:0;height:100%;margin:0 auto;text-align:center;font-size:0;opacity:1;transition:opacity .35s ease}.loader-3Pj8ExOX-:after{content:" ";display:inline-block;height:100%;vertical-align:middle}.loader-3Pj8ExOX- .item-2n55_7om-{margin-right:2px;margin-left:2px;display:inline-block;vertical-align:middle;width:10px;height:10px;opacity:1;border-radius:100%;transform:translateY(0) scale(.6);transition:transform .35s cubic-bezier(.68,-.55,.265,1.55);animation:tv-button-loader-SKpJjjYw- .96s infinite ease-in-out both}.loader-3Pj8ExOX- .item-2n55_7om-:nth-child(2){transition-delay:.11666667s;animation-delay:.151s}.loader-3Pj8ExOX- .item-2n55_7om-:nth-child(3){transition-delay:.23333333s;animation-delay:.32s}.loader-3Pj8ExOX- .item-2n55_7om-.black-eFIQWyf4-{background-color:#757575}.loader-3Pj8ExOX- .item-2n55_7om-.white-2Ma0ajvT-{background-color:#fff}.loader-3Pj8ExOX- .item-2n55_7om-.gray-24fvVR0S-{background-color:#8797a5}.loader-3Pj8ExOX-.loader-initial{opacity:.1}.loader-3Pj8ExOX-.loader-initial .item-2n55_7om-{animation:none;transform:translateY(12px) scale(.6)}.loader-3Pj8ExOX-.loader-appear{opacity:1;transition:opacity .7s ease}.loader-3Pj8ExOX-.loader-appear .item-2n55_7om-{animation:none;transform:translateY(0) scale(.6)}@keyframes tv-button-loader-SKpJjjYw-{0%,to{transform:scale(.6)}50%{transform:scale(.9)}} \ No newline at end of file diff --git a/charting_library/static/bundles/19.aba848e28ec755548668.rtl.css b/charting_library/static/bundles/19.aba848e28ec755548668.rtl.css new file mode 100644 index 00000000..069a2e61 --- /dev/null +++ b/charting_library/static/bundles/19.aba848e28ec755548668.rtl.css @@ -0,0 +1 @@ +.loader-3Pj8ExOX-{position:absolute;top:0;right:0;left:0;bottom:0;height:100%;margin:0 auto;text-align:center;font-size:0;opacity:1;transition:opacity .35s ease}.loader-3Pj8ExOX-:after{content:" ";display:inline-block;height:100%;vertical-align:middle}.loader-3Pj8ExOX- .item-2n55_7om-{margin-left:2px;margin-right:2px;display:inline-block;vertical-align:middle;width:10px;height:10px;opacity:1;border-radius:100%;transform:translateY(0) scale(.6);transition:transform .35s cubic-bezier(.68,-.55,.265,1.55);animation:tv-button-loader-SKpJjjYw- .96s infinite ease-in-out both}.loader-3Pj8ExOX- .item-2n55_7om-:nth-child(2){transition-delay:.11666667s;animation-delay:.151s}.loader-3Pj8ExOX- .item-2n55_7om-:nth-child(3){transition-delay:.23333333s;animation-delay:.32s}.loader-3Pj8ExOX- .item-2n55_7om-.black-eFIQWyf4-{background-color:#757575}.loader-3Pj8ExOX- .item-2n55_7om-.white-2Ma0ajvT-{background-color:#fff}.loader-3Pj8ExOX- .item-2n55_7om-.gray-24fvVR0S-{background-color:#8797a5}.loader-3Pj8ExOX-.loader-initial{opacity:.1}.loader-3Pj8ExOX-.loader-initial .item-2n55_7om-{animation:none;transform:translateY(12px) scale(.6)}.loader-3Pj8ExOX-.loader-appear{opacity:1;transition:opacity .7s ease}.loader-3Pj8ExOX-.loader-appear .item-2n55_7om-{animation:none;transform:translateY(0) scale(.6)}@keyframes tv-button-loader-SKpJjjYw-{0%,to{transform:scale(.6)}50%{transform:scale(.9)}} \ No newline at end of file diff --git a/charting_library/static/bundles/19.c5542d290eefbb001433.js b/charting_library/static/bundles/19.c5542d290eefbb001433.js new file mode 100644 index 00000000..eded22f4 --- /dev/null +++ b/charting_library/static/bundles/19.c5542d290eefbb001433.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[19],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/2.195070ea59b3395625da.js b/charting_library/static/bundles/2.195070ea59b3395625da.js new file mode 100644 index 00000000..8d153e32 --- /dev/null +++ b/charting_library/static/bundles/2.195070ea59b3395625da.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/2.a3e34146d368d13b6bc1.css b/charting_library/static/bundles/2.a3e34146d368d13b6bc1.css new file mode 100644 index 00000000..854e8461 --- /dev/null +++ b/charting_library/static/bundles/2.a3e34146d368d13b6bc1.css @@ -0,0 +1 @@ +.tv-button{position:relative;display:inline-block;vertical-align:middle;min-width:40px;margin:0;padding:1px 22px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:32px;text-align:center;white-space:nowrap;text-decoration:none;font-size:14px;color:#757575;fill:currentColor;border:none;border-radius:4px;outline:0;background-color:transparent;cursor:pointer;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transition:background-color .35s ease,border-color .35s ease,color .35s ease}.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button:hover{transition-duration:.06s}}.tv-button svg{vertical-align:middle}.tv-button--block{display:block;width:100%;text-align:center}.tv-button+.tv-button{margin-left:15px}.tv-button.tv-button--no-left-margin{margin-left:0}.tv-button__text{position:relative;display:inline-block}.tv-button__text--full-height{display:flex;align-items:center;justify-content:center;height:100%;width:100%;white-space:normal;word-wrap:break-word;line-height:1.2em;margin:11px 5px}.tv-button--default,.tv-button--default_ghost{color:#fff;border-color:#fff;background-color:#fff}html.theme-dark .tv-button--default,html.theme-dark .tv-button--default_ghost{background-color:#171b29;border-color:#171b29}.tv-button--default_ghost{color:#fff}html.theme-dark .tv-button--default_ghost{color:#171b29}.tv-button--default_ghost.i-checked{color:#fff;border-color:#fff;background-color:#fff}html.theme-dark .tv-button--default_ghost.i-checked{background-color:#171b29;border-color:#171b29}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{color:#fff;border-color:#f2f2f2;background-color:#f2f2f2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--default:hover,.tv-button--default_ghost:hover{color:#fff;border-color:#f2f2f2;background-color:#f2f2f2}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{background-color:#1c2030}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{background-color:#1c2030}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#1c2030}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#1c2030}}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{color:#fff;border-color:#ececec;background-color:#ececec;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,.tv-button--default.i-checked,.tv-button--default_ghost,.tv-button--default_ghost.i-checked{color:#757575;border:1px solid;border-color:#b5b7b9}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:#363c4e;color:#758696}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{color:#757575;border-color:#b5b7b9}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--default:hover,.tv-button--default_ghost:hover{color:#757575;border-color:#b5b7b9}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#363c4e}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{color:#758696}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{color:#758696}}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{color:#757575;border-color:#b5b7b9}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:#363c4e;color:#758696}.tv-button--primary,.tv-button--primary_ghost{color:#fff;border-color:#2196f3;background-color:#2196f3}.tv-button--primary_ghost{color:#2196f3}.tv-button--primary_ghost.i-checked{color:#fff;border-color:#2196f3;background-color:#2196f3}.tv-button--primary.i-hover,.tv-button--primary_ghost.i-hover{color:#fff;border-color:#1e88e5;background-color:#1e88e5}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--primary:hover,.tv-button--primary_ghost:hover{color:#fff;border-color:#1e88e5;background-color:#1e88e5}}.tv-button--primary.i-active,.tv-button--primary:active,.tv-button--primary_ghost.i-active,.tv-button--primary_ghost:active{color:#fff;border-color:#049ddc;background-color:#049ddc;transform:translateY(1px)}.tv-button--secondary,.tv-button--secondary_ghost{color:#757575;border-color:#e9eff2;background-color:#e9eff2}.tv-button--secondary_ghost{color:#757575}.tv-button--secondary_ghost.i-checked{color:#757575;border-color:#e9eff2;background-color:#e9eff2}.tv-button--secondary.i-hover,.tv-button--secondary_ghost.i-hover{color:#757575;border-color:#dce6ea;background-color:#dce6ea}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--secondary:hover,.tv-button--secondary_ghost:hover{color:#757575;border-color:#dce6ea;background-color:#dce6ea}}.tv-button--secondary.i-active,.tv-button--secondary:active,.tv-button--secondary_ghost.i-active,.tv-button--secondary_ghost:active{color:#757575;border-color:#cfdce3;background-color:#cfdce3;transform:translateY(1px)}.tv-button--success,.tv-button--success_ghost{color:#fff;border-color:#3cbc98;background-color:#3cbc98}.tv-button--success_ghost{color:#3cbc98}.tv-button--success_ghost.i-checked{color:#fff;border-color:#3cbc98;background-color:#3cbc98}.tv-button--success.i-hover,.tv-button--success_ghost.i-hover{color:#fff;border-color:#38b395;background-color:#38b395}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--success:hover,.tv-button--success_ghost:hover{color:#fff;border-color:#38b395;background-color:#38b395}}.tv-button--success.i-active,.tv-button--success:active,.tv-button--success_ghost.i-active,.tv-button--success_ghost:active{color:#fff;border-color:#00a97f;background-color:#00a97f;transform:translateY(1px)}.tv-button--danger,.tv-button--danger_ghost{color:#fff;border-color:#ff4a68;background-color:#ff4a68}.tv-button--danger_ghost{color:#ff4a68}.tv-button--danger_ghost.i-checked{color:#fff;border-color:#ff4a68;background-color:#ff4a68}.tv-button--danger.i-hover,.tv-button--danger_ghost.i-hover{color:#fff;border-color:#f24965;background-color:#f24965}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--danger:hover,.tv-button--danger_ghost:hover{color:#fff;border-color:#f24965;background-color:#f24965}}.tv-button--danger.i-active,.tv-button--danger:active,.tv-button--danger_ghost.i-active,.tv-button--danger_ghost:active{color:#fff;border-color:#ff173e;background-color:#ff173e;transform:translateY(1px)}.tv-button--warning,.tv-button--warning_ghost{color:#fff;border-color:#f89e30;background-color:#f89e30}.tv-button--warning_ghost{color:#f89e30}.tv-button--warning_ghost.i-checked{color:#fff;border-color:#f89e30;background-color:#f89e30}.tv-button--warning.i-hover,.tv-button--warning_ghost.i-hover{color:#fff;border-color:#f79217;background-color:#f79217}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--warning:hover,.tv-button--warning_ghost:hover{color:#fff;border-color:#f79217;background-color:#f79217}}.tv-button--warning.i-active,.tv-button--warning:active,.tv-button--warning_ghost.i-active,.tv-button--warning_ghost:active{color:#fff;border-color:#d47807;background-color:#d47807;transform:translateY(1px)}.tv-button--link{color:#2196f3;transition:color .35s ease}html.theme-dark .tv-button--link{color:#1976d2}.tv-button--link:visited{color:#2196f3;fill:#2196f3}html.theme-dark .tv-button--link:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--link:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}.tv-button--link:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}.tv-button--danger_ghost,.tv-button--default_ghost,.tv-button--primary_ghost,.tv-button--secondary_ghost,.tv-button--success_ghost,.tv-button--warning_ghost{border-width:1px;border-style:solid;background-color:transparent}.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 .tv-ripple{background-color:hsla(0,0%,100%,.25)}.tv-button--default .tv-ripple,.tv-button--default_ghost .tv-ripple{background-color:rgba(117,134,150,.25)}.tv-button.i-disabled .tv-ripple{background-color:transparent}.tv-button.i-disabled,.tv-button.i-disabled:active,.tv-button:disabled,.tv-button:disabled:active{cursor:default;color:#9db2bd;border-color:#f1f3f6;background-color:#f1f3f6}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button.i-disabled:hover,.tv-button:disabled:hover{cursor:default;color:#9db2bd;border-color:#f1f3f6;background-color:#f1f3f6}}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:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{background-color:#262b3e}}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:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{border-color:#262b3e}}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:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{color:#363c4e}}.tv-button.i-disabled:active,.tv-button:disabled:active{transform:translateY(0)}.tv-button--size_xsmall{padding:2px 7px;line-height:15px;border-radius:1px;font-size:11px;font-weight:400}.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{padding:1px 12px;line-height:25px;font-size:13px}.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{padding:1px 30px;font-size:17px;letter-spacing:1px;line-height:44px}.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--max-width{max-width:300px}.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--content-center{display:flex;align-items:center;justify-content:center;height:100%;margin:0 auto;max-width:220px}.tv-button--state{text-align:center;background:transparent;border-width:1px;border-style:solid}.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;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{opacity:1}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{transform:translateY(0)}}.tv-button--state.tv-button--success{color:#3cbc98;background-color:transparent}.tv-button--state.tv-button--success.i-checked{color:#fff;background-color:#3cbc98}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--success:hover{color:#fff;background-color:#38b395}}.tv-button--state.tv-button--success:active{color:#fff;background-color:#00a97f}.tv-button--state.tv-button--danger{color:#ff4a68;background-color:transparent}.tv-button--state.tv-button--danger.i-checked{color:#fff;background-color:#ff4a68}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--danger:hover{color:#fff;background-color:#f24965}}.tv-button--state.tv-button--danger:active{color:#fff;background-color:#ff173e}.tv-button--state.tv-button--primary{color:#2196f3;background-color:transparent}.tv-button--state.tv-button--primary.i-checked{color:#fff;background-color:#2196f3}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--primary:hover{color:#fff;background-color:#1e88e5}}.tv-button--state.tv-button--primary:active{color:#fff;background-color:#049ddc}.tv-button--state.tv-button--secondary{color:#757575;background-color:transparent}.tv-button--state.tv-button--secondary.i-checked{color:#757575;background-color:#e9eff2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--secondary:hover{color:#757575;background-color:#dce6ea}}.tv-button--state.tv-button--secondary:active{color:#757575;background-color:#cfdce3}.tv-button--state.tv-button--warning{color:#f89e30;background-color:transparent}.tv-button--state.tv-button--warning.i-checked{color:#fff;background-color:#f89e30}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--warning:hover{color:#fff;background-color:#f79217}}.tv-button--state.tv-button--warning:active{color:#fff;background-color:#d47807}.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{position:absolute;top:0;left:0;right:0;bottom:0;height:100%;margin:0 auto;text-align:center;font-size:0;opacity: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{margin-right:2px;margin-left:2px;display:inline-block;vertical-align:middle;width:10px;height:10px;opacity:0;border-radius:100%;background-color:#fff;transform:translateY(12px) scale(.6);transition:transform .35s cubic-bezier(.68,-.55,.265,1.55),opacity .35s ease}.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 infinite ease-in-out 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-top-left-radius:0;border-bottom-left-radius:0}.tv-button--connect_right{border-top-right-radius:0;border-bottom-right-radius:0}@keyframes tv-button-loader{0%,to{transform:scale(.6)}50%{transform:scale(.9)}}@media screen and (max-width:767px){.tv-button.tv-button--phone-compact{padding-left:4px;padding-right:4px}}.sb-inner-shadow{box-shadow:0 0 5px rgba(0,0,0,.15);position:absolute;bottom:-10px;width:100%;height:10px;background:#fff;z-index:5;pointer-events:none;transform:translateY(0);transition:opacity .11666667s ease,transform .11666667s ease}html.theme-dark .sb-inner-shadow{background:#171b29}.sb-inner-shadow.top{box-shadow:0 0 5px rgba(0,0,0,.15);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{position:absolute!important;opacity:0;width:7px;height:100px;top:73px;right:1px;z-index:1;transition:opacity .3s}.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{position:absolute;top:0;right:1px;width:6px;height:100%;z-index:1}.sb-scrollbar-wrap .sb-scrollbar{right:0}.sb-scrollbar-body{width:6px;border:0;background:#d8d8d8}html.theme-dark .sb-scrollbar-body{background:#4f5966}.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}.i-hidden{display:none!important}.i-invisible{visibility:hidden!important}.i-clearfix:after{clear:both;display:table;content:""}.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}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-{overflow-y:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:scrollbar}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar{width:5px;height:5px}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar-thumb{border:1px solid;border-color:#f1f3f6;border-radius:3px;background-color:#9db2bd}html.theme-dark .wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar-thumb{background-color:#363c4e;border-color:#1c2030}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar-track{background-color:transparent;border-radius:3px} \ No newline at end of file diff --git a/charting_library/static/bundles/2.a3e34146d368d13b6bc1.rtl.css b/charting_library/static/bundles/2.a3e34146d368d13b6bc1.rtl.css new file mode 100644 index 00000000..dbdf7937 --- /dev/null +++ b/charting_library/static/bundles/2.a3e34146d368d13b6bc1.rtl.css @@ -0,0 +1 @@ +.tv-button{position:relative;display:inline-block;vertical-align:middle;min-width:40px;margin:0;padding:1px 22px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:32px;text-align:center;white-space:nowrap;text-decoration:none;font-size:14px;color:#757575;fill:currentColor;border:none;border-radius:4px;outline:0;background-color:transparent;cursor:pointer;overflow:hidden;box-sizing:border-box;-webkit-tap-highlight-color:transparent;transition:background-color .35s ease,border-color .35s ease,color .35s ease}.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button:hover{transition-duration:.06s}}.tv-button svg{vertical-align:middle}.tv-button--block{display:block;width:100%;text-align:center}.tv-button+.tv-button{margin-right:15px}.tv-button.tv-button--no-left-margin{margin-right:0}.tv-button__text{position:relative;display:inline-block}.tv-button__text--full-height{display:flex;align-items:center;justify-content:center;height:100%;width:100%;white-space:normal;word-wrap:break-word;line-height:1.2em;margin:11px 5px}.tv-button--default,.tv-button--default_ghost{color:#fff;border-color:#fff;background-color:#fff}html.theme-dark .tv-button--default,html.theme-dark .tv-button--default_ghost{background-color:#171b29;border-color:#171b29}.tv-button--default_ghost{color:#fff}html.theme-dark .tv-button--default_ghost{color:#171b29}.tv-button--default_ghost.i-checked{color:#fff;border-color:#fff;background-color:#fff}html.theme-dark .tv-button--default_ghost.i-checked{background-color:#171b29;border-color:#171b29}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{color:#fff;border-color:#f2f2f2;background-color:#f2f2f2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--default:hover,.tv-button--default_ghost:hover{color:#fff;border-color:#f2f2f2;background-color:#f2f2f2}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{background-color:#1c2030}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{background-color:#1c2030}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#1c2030}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#1c2030}}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{color:#fff;border-color:#ececec;background-color:#ececec;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,.tv-button--default.i-checked,.tv-button--default_ghost,.tv-button--default_ghost.i-checked{color:#757575;border:1px solid;border-color:#b5b7b9}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:#363c4e;color:#758696}.tv-button--default.i-hover,.tv-button--default_ghost.i-hover{color:#757575;border-color:#b5b7b9}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--default:hover,.tv-button--default_ghost:hover{color:#757575;border-color:#b5b7b9}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{border-color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{border-color:#363c4e}}html.theme-dark .tv-button--default.i-hover,html.theme-dark .tv-button--default_ghost.i-hover{color:#758696}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button--default:hover,html.theme-dark .tv-button--default_ghost:hover{color:#758696}}.tv-button--default.i-active,.tv-button--default:active,.tv-button--default_ghost.i-active,.tv-button--default_ghost:active{color:#757575;border-color:#b5b7b9}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:#363c4e;color:#758696}.tv-button--primary,.tv-button--primary_ghost{color:#fff;border-color:#2196f3;background-color:#2196f3}.tv-button--primary_ghost{color:#2196f3}.tv-button--primary_ghost.i-checked{color:#fff;border-color:#2196f3;background-color:#2196f3}.tv-button--primary.i-hover,.tv-button--primary_ghost.i-hover{color:#fff;border-color:#1e88e5;background-color:#1e88e5}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--primary:hover,.tv-button--primary_ghost:hover{color:#fff;border-color:#1e88e5;background-color:#1e88e5}}.tv-button--primary.i-active,.tv-button--primary:active,.tv-button--primary_ghost.i-active,.tv-button--primary_ghost:active{color:#fff;border-color:#049ddc;background-color:#049ddc;transform:translateY(1px)}.tv-button--secondary,.tv-button--secondary_ghost{color:#757575;border-color:#e9eff2;background-color:#e9eff2}.tv-button--secondary_ghost{color:#757575}.tv-button--secondary_ghost.i-checked{color:#757575;border-color:#e9eff2;background-color:#e9eff2}.tv-button--secondary.i-hover,.tv-button--secondary_ghost.i-hover{color:#757575;border-color:#dce6ea;background-color:#dce6ea}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--secondary:hover,.tv-button--secondary_ghost:hover{color:#757575;border-color:#dce6ea;background-color:#dce6ea}}.tv-button--secondary.i-active,.tv-button--secondary:active,.tv-button--secondary_ghost.i-active,.tv-button--secondary_ghost:active{color:#757575;border-color:#cfdce3;background-color:#cfdce3;transform:translateY(1px)}.tv-button--success,.tv-button--success_ghost{color:#fff;border-color:#3cbc98;background-color:#3cbc98}.tv-button--success_ghost{color:#3cbc98}.tv-button--success_ghost.i-checked{color:#fff;border-color:#3cbc98;background-color:#3cbc98}.tv-button--success.i-hover,.tv-button--success_ghost.i-hover{color:#fff;border-color:#38b395;background-color:#38b395}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--success:hover,.tv-button--success_ghost:hover{color:#fff;border-color:#38b395;background-color:#38b395}}.tv-button--success.i-active,.tv-button--success:active,.tv-button--success_ghost.i-active,.tv-button--success_ghost:active{color:#fff;border-color:#00a97f;background-color:#00a97f;transform:translateY(1px)}.tv-button--danger,.tv-button--danger_ghost{color:#fff;border-color:#ff4a68;background-color:#ff4a68}.tv-button--danger_ghost{color:#ff4a68}.tv-button--danger_ghost.i-checked{color:#fff;border-color:#ff4a68;background-color:#ff4a68}.tv-button--danger.i-hover,.tv-button--danger_ghost.i-hover{color:#fff;border-color:#f24965;background-color:#f24965}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--danger:hover,.tv-button--danger_ghost:hover{color:#fff;border-color:#f24965;background-color:#f24965}}.tv-button--danger.i-active,.tv-button--danger:active,.tv-button--danger_ghost.i-active,.tv-button--danger_ghost:active{color:#fff;border-color:#ff173e;background-color:#ff173e;transform:translateY(1px)}.tv-button--warning,.tv-button--warning_ghost{color:#fff;border-color:#f89e30;background-color:#f89e30}.tv-button--warning_ghost{color:#f89e30}.tv-button--warning_ghost.i-checked{color:#fff;border-color:#f89e30;background-color:#f89e30}.tv-button--warning.i-hover,.tv-button--warning_ghost.i-hover{color:#fff;border-color:#f79217;background-color:#f79217}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--warning:hover,.tv-button--warning_ghost:hover{color:#fff;border-color:#f79217;background-color:#f79217}}.tv-button--warning.i-active,.tv-button--warning:active,.tv-button--warning_ghost.i-active,.tv-button--warning_ghost:active{color:#fff;border-color:#d47807;background-color:#d47807;transform:translateY(1px)}.tv-button--link{color:#2196f3;transition:color .35s ease}html.theme-dark .tv-button--link{color:#1976d2}.tv-button--link:visited{color:#2196f3;fill:#2196f3}html.theme-dark .tv-button--link:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--link:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}.tv-button--link:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}.tv-button--danger_ghost,.tv-button--default_ghost,.tv-button--primary_ghost,.tv-button--secondary_ghost,.tv-button--success_ghost,.tv-button--warning_ghost{border-width:1px;border-style:solid;background-color:transparent}.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 .tv-ripple{background-color:hsla(0,0%,100%,.25)}.tv-button--default .tv-ripple,.tv-button--default_ghost .tv-ripple{background-color:rgba(117,134,150,.25)}.tv-button.i-disabled .tv-ripple{background-color:transparent}.tv-button.i-disabled,.tv-button.i-disabled:active,.tv-button:disabled,.tv-button:disabled:active{cursor:default;color:#9db2bd;border-color:#f1f3f6;background-color:#f1f3f6}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button.i-disabled:hover,.tv-button:disabled:hover{cursor:default;color:#9db2bd;border-color:#f1f3f6;background-color:#f1f3f6}}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:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{background-color:#262b3e}}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:#262b3e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{border-color:#262b3e}}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:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .tv-button.i-disabled:hover,html.theme-dark .tv-button:disabled:hover{color:#363c4e}}.tv-button.i-disabled:active,.tv-button:disabled:active{transform:translateY(0)}.tv-button--size_xsmall{padding:2px 7px;line-height:15px;border-radius:1px;font-size:11px;font-weight:400}.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{padding:1px 12px;line-height:25px;font-size:13px}.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{padding:1px 30px;font-size:17px;letter-spacing:1px;line-height:44px}.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--max-width{max-width:300px}.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--content-center{display:flex;align-items:center;justify-content:center;height:100%;margin:0 auto;max-width:220px}.tv-button--state{text-align:center;background:transparent;border-width:1px;border-style:solid}.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;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{opacity:1}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.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),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.i-checked:hover .tv-button--state__uncheck-hint{transform:translateY(0)}}.tv-button--state.tv-button--success{color:#3cbc98;background-color:transparent}.tv-button--state.tv-button--success.i-checked{color:#fff;background-color:#3cbc98}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--success:hover{color:#fff;background-color:#38b395}}.tv-button--state.tv-button--success:active{color:#fff;background-color:#00a97f}.tv-button--state.tv-button--danger{color:#ff4a68;background-color:transparent}.tv-button--state.tv-button--danger.i-checked{color:#fff;background-color:#ff4a68}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--danger:hover{color:#fff;background-color:#f24965}}.tv-button--state.tv-button--danger:active{color:#fff;background-color:#ff173e}.tv-button--state.tv-button--primary{color:#2196f3;background-color:transparent}.tv-button--state.tv-button--primary.i-checked{color:#fff;background-color:#2196f3}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--primary:hover{color:#fff;background-color:#1e88e5}}.tv-button--state.tv-button--primary:active{color:#fff;background-color:#049ddc}.tv-button--state.tv-button--secondary{color:#757575;background-color:transparent}.tv-button--state.tv-button--secondary.i-checked{color:#757575;background-color:#e9eff2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--secondary:hover{color:#757575;background-color:#dce6ea}}.tv-button--state.tv-button--secondary:active{color:#757575;background-color:#cfdce3}.tv-button--state.tv-button--warning{color:#f89e30;background-color:transparent}.tv-button--state.tv-button--warning.i-checked{color:#fff;background-color:#f89e30}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-button--state.tv-button--warning:hover{color:#fff;background-color:#f79217}}.tv-button--state.tv-button--warning:active{color:#fff;background-color:#d47807}.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{position:absolute;top:0;right:0;left:0;bottom:0;height:100%;margin:0 auto;text-align:center;font-size:0;opacity: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{margin-left:2px;margin-right:2px;display:inline-block;vertical-align:middle;width:10px;height:10px;opacity:0;border-radius:100%;background-color:#fff;transform:translateY(12px) scale(.6);transition:transform .35s cubic-bezier(.68,-.55,.265,1.55),opacity .35s ease}.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 infinite ease-in-out 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-top-right-radius:0;border-bottom-right-radius:0}.tv-button--connect_right{border-top-left-radius:0;border-bottom-left-radius:0}@keyframes tv-button-loader{0%,to{transform:scale(.6)}50%{transform:scale(.9)}}@media screen and (max-width:767px){.tv-button.tv-button--phone-compact{padding-right:4px;padding-left:4px}}.sb-inner-shadow{box-shadow:0 0 5px rgba(0,0,0,.15);position:absolute;bottom:-10px;width:100%;height:10px;background:#fff;z-index:5;pointer-events:none;transform:translateY(0);transition:opacity .11666667s ease,transform .11666667s ease}html.theme-dark .sb-inner-shadow{background:#171b29}.sb-inner-shadow.top{box-shadow:0 0 5px rgba(0,0,0,.15);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{position:absolute!important;opacity:0;width:7px;height:100px;top:73px;left:1px;z-index:1;transition:opacity .3s}.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{position:absolute;top:0;left:1px;width:6px;height:100%;z-index:1}.sb-scrollbar-wrap .sb-scrollbar{left:0}.sb-scrollbar-body{width:6px;border:0;background:#d8d8d8}html.theme-dark .sb-scrollbar-body{background:#4f5966}.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}.i-hidden{display:none!important}.i-invisible{visibility:hidden!important}.i-clearfix:after{clear:both;display:table;content:""}.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}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-{overflow-y:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:scrollbar}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar{width:5px;height:5px}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar-thumb{border:1px solid;border-color:#f1f3f6;border-radius:3px;background-color:#9db2bd}html.theme-dark .wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar-thumb{background-color:#363c4e;border-color:#1c2030}.wrapper-2KWBfDVB-.touch-E6yQTRo_-.wrapper-2KWBfDVB-.touch-E6yQTRo_-::-webkit-scrollbar-track{background-color:transparent;border-radius:3px} \ No newline at end of file diff --git a/charting_library/static/bundles/20.2416da4fc4c075b56691.js b/charting_library/static/bundles/20.2416da4fc4c075b56691.js new file mode 100644 index 00000000..d1d1baad --- /dev/null +++ b/charting_library/static/bundles/20.2416da4fc4c075b56691.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[20],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/20.f75162343321d7d9178c.css b/charting_library/static/bundles/20.f75162343321d7d9178c.css new file mode 100644 index 00000000..f5f1079d --- /dev/null +++ b/charting_library/static/bundles/20.f75162343321d7d9178c.css @@ -0,0 +1 @@ +.tv-caret{content:"";display:inline-block;width:0;height:0;border-style:solid;border-width:4px 4px 0;border-color:currentColor transparent transparent;margin-left:5px;vertical-align:middle;transition:transform .35s ease}.active .tv-caret,.i-dropped .tv-caret:not(.tv-caret--strict),.tv-caret--strict.i-dropped{transform:rotate(-180deg);will-change:transform;transition-duration:.33}.tv-caret--small{margin-left:3px;margin-right:-1px;border-top-width:3px;border-right-width:3px;border-left-width:3px}.tv-caret--colored{transition:transform .35s ease,color .35s ease}.tv-caret--no-margin{margin-left:0} \ No newline at end of file diff --git a/charting_library/static/bundles/20.f75162343321d7d9178c.rtl.css b/charting_library/static/bundles/20.f75162343321d7d9178c.rtl.css new file mode 100644 index 00000000..14180c75 --- /dev/null +++ b/charting_library/static/bundles/20.f75162343321d7d9178c.rtl.css @@ -0,0 +1 @@ +.tv-caret{content:"";display:inline-block;width:0;height:0;border-style:solid;border-width:4px 4px 0;border-color:currentColor transparent transparent;margin-right:5px;vertical-align:middle;transition:transform .35s ease}.active .tv-caret,.i-dropped .tv-caret:not(.tv-caret--strict),.tv-caret--strict.i-dropped{transform:rotate(180deg);will-change:transform;transition-duration:.33}.tv-caret--small{margin-right:3px;margin-left:-1px;border-top-width:3px;border-left-width:3px;border-right-width:3px}.tv-caret--colored{transition:transform .35s ease,color .35s ease}.tv-caret--no-margin{margin-right:0} \ No newline at end of file diff --git a/charting_library/static/bundles/21.7e987db0ed47cc3f789c.css b/charting_library/static/bundles/21.7e987db0ed47cc3f789c.css new file mode 100644 index 00000000..f87b6081 --- /dev/null +++ b/charting_library/static/bundles/21.7e987db0ed47cc3f789c.css @@ -0,0 +1 @@ +._tv-dialog-shadowbox{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:110;-webkit-transform:translateZ(0)}._tv-dialog-shadowbox.transparent{background:none}._tv-dialog{position:absolute;min-height:18px;left:50%;top:50%;background:#fff;border:1px solid;border-color:#b5b7b9;box-shadow:0 0 10px 0 rgba(0,0,0,.15)}html.theme-dark ._tv-dialog{border-color:#363c4e;background:#1e222d}._tv-dialog__link{color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog__link{color:#1976d2}._tv-dialog__link:visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog__link:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog__link:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog__link:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog__indented-list{padding-left:20px}._tv-dialog__highlightedText{box-shadow:0 0 0 .37em #fff2cf;background:#fff2cf}html.theme-dark ._tv-dialog__highlightedText{background:#194453;box-shadow:0 0 0 .37em #194453}._tv-dialog__highlightedText:empty{background:transparent;box-shadow:none}._tv-dialog__subTitle{margin-top:20px;font-weight:700;display:block}._tv-dialog._tv-dialog-min-width{min-width:400px}._tv-dialog--alert-email a,._tv-dialog--open-a-chart a{color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog--alert-email a,html.theme-dark ._tv-dialog--open-a-chart a{color:#1976d2}._tv-dialog--alert-email a:visited,._tv-dialog--open-a-chart a:visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog--alert-email a:visited,html.theme-dark ._tv-dialog--open-a-chart a:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog--alert-email a:hover,._tv-dialog--open-a-chart a:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog--alert-email a:active,._tv-dialog--open-a-chart a:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog.ui-resizable{position:absolute}._tv-dialog-title{color:#4c525e;font-weight:700;font-size:15px;padding:17px 35px 17px 20px;cursor:default;word-wrap:break-word}html.theme-dark ._tv-dialog-title{color:#d6d8e0}._tv-dialog-title._tv-dialog-title-no-close{padding-right:20px}._tv-dialog-title._tv-dialog-title-hidden{padding:0;font-size:0;color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._tv-dialog-title ._tv-dialog-title-close{width:21px;height:21px;display:block;position:absolute;right:15px;top:13px;cursor:pointer;z-index:1}._tv-dialog-title ._tv-dialog-title-close:after{width:9px;height:9px;content:" ";position:absolute;top:6px;left:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAASCAYAAACJgPRIAAAAUElEQVR42pWQMQoAIAwD++d+x8HJbyoOWXJDSSBgwpVS62vtc8ulXg/ZAZkFMycNoBJgXoUcX1cm9N1NSL0esgMyC2ZOGkAlwLwKObhu/qcHp/zWImEdH8EAAAAASUVORK5CYII=);display:block}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-title ._tv-dialog-title-close:hover:after{background-position:bottom}}._tv-dialog-content{color:#131722;max-width:100%}html.theme-dark ._tv-dialog-content{color:#d6d8e0}._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]){color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]){color:#1976d2}._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog-content .main{padding:0 20px 20px}._tv-dialog-content .main p:first-child{margin-top:0}._tv-dialog-content .main p:last-child{margin-bottom:0}._tv-dialog-content .main .buttons{margin-top:25px;text-align:right}._tv-dialog-content .main .buttons.center{text-align:center}._tv-dialog-content .main .buttons ._tv-button{min-width:60px;text-transform:uppercase}._tv-dialog-content .main-properties{padding:25px}._tv-dialog-content .main-properties.alert-aftertabs,._tv-dialog-content .main-properties.main-properties-aftertabs{padding-top:5px}._tv-dialog-content .main-properties.main-properties-tabless{padding-top:40px}._tv-dialog-content .main-properties td{padding:3px 4px;height:27px}._tv-dialog-content .main-properties td:empty{padding:0}._tv-dialog-content .main-properties td.no-left-indent,._tv-dialog-content .main-properties td:first-child{padding-left:0}._tv-dialog-content .main-properties td:last-child{padding-right:0}._tv-dialog-content .main-properties .percents-label{position:relative;top:5px;left:5px}._tv-dialog-content .main-browser-extension{padding:40px 70px 40px 52px;padding:0}._tv-dialog-content .main-browser-extension .extension-poster{width:328px;height:377px;background:url(../images/dialogs/browser-extension/demo.png) 0 0}._tv-dialog-content .main-browser-extension .left,._tv-dialog-content .main-browser-extension .right{width:50%;box-sizing:border-box}._tv-dialog-content .main-browser-extension .left{float:left;padding:32px 0 0 46px}._tv-dialog-content .main-browser-extension .right{float:right;padding:51px 70px 0 44px}._tv-dialog-content .main-browser-extension .logo{float:left;width:36px;height:36px;background-size:36px 36px;margin-right:10px}._tv-dialog-content .main-browser-extension .logo.chrome{background:url(../images/svg/google-chrome-logo.svg) 0 0}._tv-dialog-content .main-browser-extension .info,._tv-dialog-content .main-browser-extension .name{float:left;clear:right;color:#a9a9a9;width:200px}._tv-dialog-content .main-browser-extension .name{font-size:20px;height:20px;line-height:20px}._tv-dialog-content .main-browser-extension .info{font-size:12px;height:14px;line-height:20px}._tv-dialog-content .main-browser-extension h1{margin-top:48px;margin-bottom:0;font-size:20px;line-height:20px}._tv-dialog-content .main-browser-extension p{color:#c2c5cb;margin:14px 0 28px}._tv-dialog-content .main-browser-extension .install-extension button{height:42px;padding:0 25px;line-height:42px;text-align:center;border:none;font-size:12px;text-transform:uppercase;background:#52c3e7;color:#fff;cursor:pointer}._tv-dialog-content .properties-separator{border-bottom:1px solid #b5b7b9}html.theme-dark ._tv-dialog-content .properties-separator{border-bottom:1px solid #363c4e}._tv-dialog-content ._tv-dialog-checkbox-mask{width:18px;height:16px;position:absolute;top:2px;left:2px;background:url(../images/dialogs/checkbox.png) 0 0}._tv-dialog-content ._tv-dialog-checkbox-mask.radio{background:#fff url(../images/icons.png);background-position:-100px -140px;width:16px}._tv-dialog-content ._tv-dialog-checkbox-mask.disabled{background-position:0 -32px}._tv-dialog-content ._tv-dialog-checkbox-mask-active{background:url(../images/dialogs/checkbox.png) 0 -16px}._tv-dialog-content ._tv-dialog-checkbox-mask-active.radio{background-position:-120px -140px}._tv-dialog-content--with-padding-top{padding-top:40px}._tv-dialog-content form input:not(.tv-control-input)[type=text],._tv-dialog-content form input[type=password],._tv-dialog-text-input{width:100%;box-sizing:border-box;height:33px;border:1px solid #b5b7b9;margin:1px;padding:0 5px;background-color:#fff;color:#4a4a4a}html.theme-dark ._tv-dialog-content form input:not(.tv-control-input)[type=text],html.theme-dark ._tv-dialog-content form input[type=password],html.theme-dark ._tv-dialog-text-input{color:#c5cbce;background-color:#1e222d;border:1px solid #363c4e}._tv-dialog-content form input:not(.tv-control-input)[type=text]:disabled,._tv-dialog-content form input[type=password]:disabled,._tv-dialog-text-input:disabled{color:#5a5a5a;opacity:.5}._tv-dialog-content ._tv-dialog-text-input{height:27px}._tv-dialog-text-input.disabled{color:#909292!important}._tv-dialog-content form input[type=password].error,._tv-dialog-content form input[type=text].error{margin:0;border:2px solid #de5764;background:#f7e4e6;color:#e06571}._tv-dialog-content textarea{color:#4a4a4a;font-size:12px;line-height:18px;border:1px solid;border-color:#b5b7b9;padding:8px 5px;box-sizing:border-box}html.theme-dark ._tv-dialog-content textarea{background:#1e222d;border-color:#363c4e;color:#c5cbce}._tv-dialog-content textarea:disabled{color:#5a5a5a;opacity:.5}._tv-dialog-content form input:not(.tv-control-input)._tv-dialog-content-textactive,._tv-dialog-text-input:focus{background:#fff;border-color:#2196f3!important;color:#595959}html.theme-dark ._tv-dialog-content form input:not(.tv-control-input)._tv-dialog-content-textactive,html.theme-dark ._tv-dialog-text-input:focus{color:#9db2bd;border-color:#1976d2!important;background:#1e222d}._tv-dialog-content textarea{border:1px solid #b5b7b9;background:#fff}html.theme-dark ._tv-dialog-content textarea{border:1px solid #363c4e}._tv-dialog-content textarea._tv-dialog-content-textareaactive{color:#595959;border-color:#2196f3!important}html.theme-dark ._tv-dialog-content textarea._tv-dialog-content-textareaactive{border-color:#1976d2!important}._tv-dialog-content .caption{font-size:11px;color:#4f5966;margin-bottom:3px;margin-top:7px;font-weight:700}html.theme-dark ._tv-dialog-content .caption{color:#f7f8fa}._tv-dialog-content .caption.half{float:left;width:50%}._tv-dialog-content .caption-big{font-size:12px;color:#4f5966;margin:15px 0}html.theme-dark ._tv-dialog-content .caption-big{color:#f7f8fa}._tv-dialog-content .caption-big-center{font-size:12px;color:#4f5966;margin:15px 0;text-align:center}html.theme-dark ._tv-dialog-content .caption-big-center{color:#f7f8fa}._tv-dialog-content .caption-big-center.slim{margin:0;text-align:left}._tv-dialog-content .caption-big-center.slim ul{padding-left:20px}._tv-dialog-content .caption-big.slim{margin:0;text-align:left}._tv-dialog-content .caption.first{margin-top:0}._tv-dialog-content .critical,._tv-dialog-content .disconnect{padding-bottom:15px}._tv-dialog-content .disconnect ol,._tv-dialog-content .disconnect ul{padding-left:1.5em;margin-bottom:0}._tv-dialog-content .disconnect ul{list-style:square}._tv-dialog-content .input input{width:298px!important}._tv-dialog-content .input{margin-bottom:7px}._tv-dialog-content .big-button ._tv-button{padding:10px 50px;background:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-content .big-button ._tv-button:hover{background:#fcfcfc}}._tv-dialog-content label{color:#4a4a4a}html.theme-dark ._tv-dialog-content label{color:#c5cbce}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-content .flat:hover:before{border-width:0!important}}._tv-dialog-error,._tv-dialog-message{display:none;position:absolute;top:0;width:100%;font-size:12px;z-index:100;text-align:center}._tv-dialog-error .message,._tv-dialog-message .message{display:table-cell;vertical-align:middle;padding:10px;height:32px}._tv-dialog-error .close,._tv-dialog-message .close{display:none;position:absolute;top:4px;right:4px;width:9px;height:9px;border:4px solid transparent;cursor:pointer;opacity:.7}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-error .close:hover,._tv-dialog-message .close:hover{opacity:1}}._tv-dialog-error.with-close .message,._tv-dialog-message.with-close .message{padding:10px 30px}._tv-dialog-error.with-close .close,._tv-dialog-message.with-close .close{display:block}._tv-dialog-error a,._tv-dialog-message a{color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog-error a,html.theme-dark ._tv-dialog-message a{color:#1976d2}._tv-dialog-error a:visited,._tv-dialog-message a:visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog-error a:visited,html.theme-dark ._tv-dialog-message a:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-error a:hover,._tv-dialog-message a:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog-error a:active,._tv-dialog-message a:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog-error{color:#c34c36;background:#f9e3e6}html.theme-dark ._tv-dialog-error{background:#6f2626;color:#ffedf0}._tv-dialog-error .close{fill:#9b0202}html.theme-dark ._tv-dialog-error .close{fill:#ffa4b3}._tv-dialog-message{color:#0a8415;background:#e2fde1}html.theme-dark ._tv-dialog-message{background:#21384d;color:#9addcc}._tv-dialog-message .close{fill:#096201}html.theme-dark ._tv-dialog-message .close{fill:#3bc2a1}._tv-dialog-content .dialog-buttons{text-align:right;margin-top:10px}._tv-dialog-content .dialog-comment{float:left;margin-top:15px}._tv-dialog-content .dialog-buttons a{margin:0 0 0 5px;min-width:50px;text-align:center;position:relative}._tv-dialog-content .dialog-buttons a.tv-left{margin:0 5px 0 0}._tv-dialog .ui-resizable-handle{width:11px;height:11px;background:url(../images/dialogs/resize-handle.png) 0 0 no-repeat}._tv-dialog.change-interval-dialog ._tv-dialog-title{text-align:center;font-size:13px;padding:28px 0 23px}._tv-dialog.change-interval-dialog ._tv-dialog-content{padding:0 50px 13px;text-align:center}._tv-dialog.change-interval-dialog ._tv-dialog-content .change-interval-input{box-sizing:border-box;display:block;width:150px;height:76px;border:1px solid #2196f3;text-align:inherit;font-size:43px;color:#4a4a4a;background-color:#fff;text-transform:uppercase}html.theme-dark ._tv-dialog.change-interval-dialog ._tv-dialog-content .change-interval-input{background-color:#2f3241;color:#c5cbce;border:1px solid #1976d2}._tv-dialog.change-interval-dialog ._tv-dialog-content .change-interval-input.error{border-color:#d75442;background-color:#ffefef}._tv-dialog.change-interval-dialog ._tv-dialog-content i{display:block;font-style:normal}._tv-dialog.change-interval-dialog ._tv-dialog-content i.interval-caption{margin:8px 0 15px;color:#a8a8a8;font-size:12px;font-weight:600;cursor:default}._tv-dialog.change-interval-dialog ._tv-dialog-content i.interval-caption.error{color:#d75442}._tv-dialog.change-interval-dialog ._tv-dialog-content i.help-tooltip-trigger{margin:0 auto;width:12px;height:12px;font-size:11px;font-weight:700;line-height:12px;border:1px solid;border-color:rgba(0,0,0,.5);border-radius:50%;cursor:default}html.theme-dark ._tv-dialog.change-interval-dialog ._tv-dialog-content i.help-tooltip-trigger{border-color:rgba(157,178,189,.5)}._tv-dialog-charting-library._tv-dialog{font-size:14px;font-weight:400;background:#f2f5f8}._tv-dialog-charting-library .main{padding:0 20px 20px}._tv-dialog-charting-library .line{height:1px;background:#ced5db;overflow:hidden}._tv-dialog-charting-library .lead-in{margin-bottom:5px}._tv-dialog-charting-library h3{font-size:26px;font-weight:400;text-transform:uppercase;color:#26282f;margin:0}._tv-dialog-charting-library li,._tv-dialog-charting-library p{line-height:28px;margin:0}._tv-dialog-charting-library p,._tv-dialog-charting-library ul{margin:12px 1px}._tv-dialog-charting-library form .dropzone{margin:1px;border:1px dashed rgba(0,0,0,.3);background:#fff;display:inline-block;padding:20px 0;width:140px;height:110px;float:left;box-sizing:border-box}._tv-dialog-charting-library form .dropzone *{box-sizing:border-box}._tv-dialog-charting-library form .dropzone.dz-clickable{cursor:pointer}._tv-dialog-charting-library form .dropzone.dz-started .dz-message{display:none}._tv-dialog-charting-library form .dropzone.dz-drag-hover{border-style:solid}._tv-dialog-charting-library form .dropzone.dz-drag-hover .dz-message{opacity:.5}._tv-dialog-charting-library form .dropzone .dz-message{text-align:center}._tv-dialog-charting-library form .dropzone .dz-message .link{color:#0099d4}._tv-dialog-charting-library form .dropzone .dz-filename{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:lowercase}._tv-dialog-charting-library form .dropzone .dz-filename span{padding:0 .4em}._tv-dialog-charting-library form .dropzone .dz-icon{padding:1px 42px}._tv-dialog-charting-library form .dropzone .dz-remove{fill:#ff6565;position:relative;top:-80px;left:110px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-charting-library form .dropzone .dz-remove:hover{fill:red}}._tv-dialog-charting-library form>div{margin-bottom:12px}._tv-dialog-charting-library form .description{margin:6px 0}._tv-dialog-charting-library form .agreement{margin-bottom:10px}._tv-dialog-charting-library form .agreement .description{display:inline-block;padding:27px 5px;width:388px}._tv-dialog-charting-library form textarea{width:100%;height:90px;margin:1px}._tv-dialog-charting-library form .attach{cursor:pointer;font-size:14px;font-weight:400}._tv-dialog-charting-library form input[type=text].error{margin:1px}._tv-dialog-charting-library form .two-columns .column-wrap{box-sizing:border-box;display:inline-block;width:50%}._tv-dialog-charting-library form .two-columns .column-wrap:first-child{padding-right:10px}._tv-dialog-charting-library .big-buttons{text-align:right;padding:10px 0}._tv-dialog-charting-library .big-buttons .cancel-button{cursor:pointer;border:1px solid transparent;font-size:15px;margin:0 15px;color:#686868;background:#f2f5f8}._tv-dialog-charting-library .big-buttons .big-button{cursor:pointer;border:1px solid transparent;background-color:#06b2ce;color:#fff;font-size:15px;text-transform:uppercase;padding:10px 45px;background-image:url(../images/button-base-process.gif);background-position:-9999px -9999px;background-repeat:no-repeat}._tv-dialog-charting-library .big-buttons .big-button.process{background-position:0 0;background-repeat:repeat}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-charting-library .big-buttons .big-button:hover{background-color:#06bbd8}}._tv-dialog-charting-library .big-buttons .big-button:active{background-color:#07c3e2}._tv-dialog-charting-library .big-buttons .big-button.disabled{cursor:default;background-color:#c3c8cf}._tv-dialog.dialog-highlight .main .message textarea{width:350px;height:130px} \ No newline at end of file diff --git a/charting_library/static/bundles/21.7e987db0ed47cc3f789c.rtl.css b/charting_library/static/bundles/21.7e987db0ed47cc3f789c.rtl.css new file mode 100644 index 00000000..ddd64e5d --- /dev/null +++ b/charting_library/static/bundles/21.7e987db0ed47cc3f789c.rtl.css @@ -0,0 +1 @@ +._tv-dialog-shadowbox{position:fixed;right:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5);z-index:110;-webkit-transform:translateZ(0)}._tv-dialog-shadowbox.transparent{background:none}._tv-dialog{position:absolute;min-height:18px;left:50%;top:50%;background:#fff;border:1px solid;border-color:#b5b7b9;box-shadow:0 0 10px 0 rgba(0,0,0,.15)}html.theme-dark ._tv-dialog{border-color:#363c4e;background:#1e222d}._tv-dialog__link{color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog__link{color:#1976d2}._tv-dialog__link:visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog__link:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog__link:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog__link:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog__indented-list{padding-right:20px}._tv-dialog__highlightedText{box-shadow:0 0 0 .37em #fff2cf;background:#fff2cf}html.theme-dark ._tv-dialog__highlightedText{background:#194453;box-shadow:0 0 0 .37em #194453}._tv-dialog__highlightedText:empty{background:transparent;box-shadow:none}._tv-dialog__subTitle{margin-top:20px;font-weight:700;display:block}._tv-dialog._tv-dialog-min-width{min-width:400px}._tv-dialog--alert-email a,._tv-dialog--open-a-chart a{color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog--alert-email a,html.theme-dark ._tv-dialog--open-a-chart a{color:#1976d2}._tv-dialog--alert-email a:visited,._tv-dialog--open-a-chart a:visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog--alert-email a:visited,html.theme-dark ._tv-dialog--open-a-chart a:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog--alert-email a:hover,._tv-dialog--open-a-chart a:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog--alert-email a:active,._tv-dialog--open-a-chart a:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog.ui-resizable{position:absolute}._tv-dialog-title{color:#4c525e;font-weight:700;font-size:15px;padding:17px 20px 17px 35px;cursor:default;word-wrap:break-word}html.theme-dark ._tv-dialog-title{color:#d6d8e0}._tv-dialog-title._tv-dialog-title-no-close{padding-left:20px}._tv-dialog-title._tv-dialog-title-hidden{padding:0;font-size:0;color:transparent;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}._tv-dialog-title ._tv-dialog-title-close{width:21px;height:21px;display:block;position:absolute;left:15px;top:13px;cursor:pointer;z-index:1}._tv-dialog-title ._tv-dialog-title-close:after{width:9px;height:9px;content:" ";position:absolute;top:6px;right:6px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAASCAYAAACJgPRIAAAAUElEQVR42pWQMQoAIAwD++d+x8HJbyoOWXJDSSBgwpVS62vtc8ulXg/ZAZkFMycNoBJgXoUcX1cm9N1NSL0esgMyC2ZOGkAlwLwKObhu/qcHp/zWImEdH8EAAAAASUVORK5CYII=);display:block}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-title ._tv-dialog-title-close:hover:after{background-position:bottom}}._tv-dialog-content{color:#131722;max-width:100%}html.theme-dark ._tv-dialog-content{color:#d6d8e0}._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]){color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]){color:#1976d2}._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog-content a:not([class*=button]):not([class*=btn]):not([class*=tabs]):not([class*=tab]):not([class*=sbSelector]):not([class*=filter]):not(a[href="#yes"]):not(a[href="#no"]):active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog-content .main{padding:0 20px 20px}._tv-dialog-content .main p:first-child{margin-top:0}._tv-dialog-content .main p:last-child{margin-bottom:0}._tv-dialog-content .main .buttons{margin-top:25px;text-align:left}._tv-dialog-content .main .buttons.center{text-align:center}._tv-dialog-content .main .buttons ._tv-button{min-width:60px;text-transform:uppercase}._tv-dialog-content .main-properties{padding:25px}._tv-dialog-content .main-properties.alert-aftertabs,._tv-dialog-content .main-properties.main-properties-aftertabs{padding-top:5px}._tv-dialog-content .main-properties.main-properties-tabless{padding-top:40px}._tv-dialog-content .main-properties td{padding:3px 4px;height:27px}._tv-dialog-content .main-properties td:empty{padding:0}._tv-dialog-content .main-properties td.no-left-indent,._tv-dialog-content .main-properties td:first-child{padding-right:0}._tv-dialog-content .main-properties td:last-child{padding-left:0}._tv-dialog-content .main-properties .percents-label{position:relative;top:5px;right:5px}._tv-dialog-content .main-browser-extension{padding:40px 52px 40px 70px;padding:0}._tv-dialog-content .main-browser-extension .extension-poster{width:328px;height:377px;background:url(../images/dialogs/browser-extension/demo.png) 100% 0}._tv-dialog-content .main-browser-extension .left,._tv-dialog-content .main-browser-extension .right{width:50%;box-sizing:border-box}._tv-dialog-content .main-browser-extension .left{float:right;padding:32px 46px 0 0}._tv-dialog-content .main-browser-extension .right{float:left;padding:51px 44px 0 70px}._tv-dialog-content .main-browser-extension .logo{float:right;width:36px;height:36px;background-size:36px 36px;margin-left:10px}._tv-dialog-content .main-browser-extension .logo.chrome{background:url(../images/svg/google-chrome-logo.svg) 100% 0}._tv-dialog-content .main-browser-extension .info,._tv-dialog-content .main-browser-extension .name{float:right;clear:left;color:#a9a9a9;width:200px}._tv-dialog-content .main-browser-extension .name{font-size:20px;height:20px;line-height:20px}._tv-dialog-content .main-browser-extension .info{font-size:12px;height:14px;line-height:20px}._tv-dialog-content .main-browser-extension h1{margin-top:48px;margin-bottom:0;font-size:20px;line-height:20px}._tv-dialog-content .main-browser-extension p{color:#c2c5cb;margin:14px 0 28px}._tv-dialog-content .main-browser-extension .install-extension button{height:42px;padding:0 25px;line-height:42px;text-align:center;border:none;font-size:12px;text-transform:uppercase;background:#52c3e7;color:#fff;cursor:pointer}._tv-dialog-content .properties-separator{border-bottom:1px solid #b5b7b9}html.theme-dark ._tv-dialog-content .properties-separator{border-bottom:1px solid #363c4e}._tv-dialog-content ._tv-dialog-checkbox-mask{width:18px;height:16px;position:absolute;top:2px;right:2px;background:url(../images/dialogs/checkbox.png) 100% 0}._tv-dialog-content ._tv-dialog-checkbox-mask.radio{background:#fff url(../images/icons.png);background-position:-100px -140px;width:16px}._tv-dialog-content ._tv-dialog-checkbox-mask.disabled{background-position:100% -32px}._tv-dialog-content ._tv-dialog-checkbox-mask-active{background:url(../images/dialogs/checkbox.png) 100% -16px}._tv-dialog-content ._tv-dialog-checkbox-mask-active.radio{background-position:-120px -140px}._tv-dialog-content--with-padding-top{padding-top:40px}._tv-dialog-content form input:not(.tv-control-input)[type=text],._tv-dialog-content form input[type=password],._tv-dialog-text-input{width:100%;box-sizing:border-box;height:33px;border:1px solid #b5b7b9;margin:1px;padding:0 5px;background-color:#fff;color:#4a4a4a}html.theme-dark ._tv-dialog-content form input:not(.tv-control-input)[type=text],html.theme-dark ._tv-dialog-content form input[type=password],html.theme-dark ._tv-dialog-text-input{color:#c5cbce;background-color:#1e222d;border:1px solid #363c4e}._tv-dialog-content form input:not(.tv-control-input)[type=text]:disabled,._tv-dialog-content form input[type=password]:disabled,._tv-dialog-text-input:disabled{color:#5a5a5a;opacity:.5}._tv-dialog-content ._tv-dialog-text-input{height:27px}._tv-dialog-text-input.disabled{color:#909292!important}._tv-dialog-content form input[type=password].error,._tv-dialog-content form input[type=text].error{margin:0;border:2px solid #de5764;background:#f7e4e6;color:#e06571}._tv-dialog-content textarea{color:#4a4a4a;font-size:12px;line-height:18px;border:1px solid;border-color:#b5b7b9;padding:8px 5px;box-sizing:border-box}html.theme-dark ._tv-dialog-content textarea{background:#1e222d;border-color:#363c4e;color:#c5cbce}._tv-dialog-content textarea:disabled{color:#5a5a5a;opacity:.5}._tv-dialog-content form input:not(.tv-control-input)._tv-dialog-content-textactive,._tv-dialog-text-input:focus{background:#fff;border-color:#2196f3!important;color:#595959}html.theme-dark ._tv-dialog-content form input:not(.tv-control-input)._tv-dialog-content-textactive,html.theme-dark ._tv-dialog-text-input:focus{color:#9db2bd;border-color:#1976d2!important;background:#1e222d}._tv-dialog-content textarea{border:1px solid #b5b7b9;background:#fff}html.theme-dark ._tv-dialog-content textarea{border:1px solid #363c4e}._tv-dialog-content textarea._tv-dialog-content-textareaactive{color:#595959;border-color:#2196f3!important}html.theme-dark ._tv-dialog-content textarea._tv-dialog-content-textareaactive{border-color:#1976d2!important}._tv-dialog-content .caption{font-size:11px;color:#4f5966;margin-bottom:3px;margin-top:7px;font-weight:700}html.theme-dark ._tv-dialog-content .caption{color:#f7f8fa}._tv-dialog-content .caption.half{float:right;width:50%}._tv-dialog-content .caption-big{font-size:12px;color:#4f5966;margin:15px 0}html.theme-dark ._tv-dialog-content .caption-big{color:#f7f8fa}._tv-dialog-content .caption-big-center{font-size:12px;color:#4f5966;margin:15px 0;text-align:center}html.theme-dark ._tv-dialog-content .caption-big-center{color:#f7f8fa}._tv-dialog-content .caption-big-center.slim{margin:0;text-align:right}._tv-dialog-content .caption-big-center.slim ul{padding-right:20px}._tv-dialog-content .caption-big.slim{margin:0;text-align:right}._tv-dialog-content .caption.first{margin-top:0}._tv-dialog-content .critical,._tv-dialog-content .disconnect{padding-bottom:15px}._tv-dialog-content .disconnect ol,._tv-dialog-content .disconnect ul{padding-right:1.5em;margin-bottom:0}._tv-dialog-content .disconnect ul{list-style:square}._tv-dialog-content .input input{width:298px!important}._tv-dialog-content .input{margin-bottom:7px}._tv-dialog-content .big-button ._tv-button{padding:10px 50px;background:#fff}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-content .big-button ._tv-button:hover{background:#fcfcfc}}._tv-dialog-content label{color:#4a4a4a}html.theme-dark ._tv-dialog-content label{color:#c5cbce}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-content .flat:hover:before{border-width:0!important}}._tv-dialog-error,._tv-dialog-message{display:none;position:absolute;top:0;width:100%;font-size:12px;z-index:100;text-align:center}._tv-dialog-error .message,._tv-dialog-message .message{display:table-cell;vertical-align:middle;padding:10px;height:32px}._tv-dialog-error .close,._tv-dialog-message .close{display:none;position:absolute;top:4px;left:4px;width:9px;height:9px;border:4px solid transparent;cursor:pointer;opacity:.7}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-error .close:hover,._tv-dialog-message .close:hover{opacity:1}}._tv-dialog-error.with-close .message,._tv-dialog-message.with-close .message{padding:10px 30px}._tv-dialog-error.with-close .close,._tv-dialog-message.with-close .close{display:block}._tv-dialog-error a,._tv-dialog-message a{color:#2196f3;transition:color .35s ease}html.theme-dark ._tv-dialog-error a,html.theme-dark ._tv-dialog-message a{color:#1976d2}._tv-dialog-error a:visited,._tv-dialog-message a:visited{color:#2196f3;fill:#2196f3}html.theme-dark ._tv-dialog-error a:visited,html.theme-dark ._tv-dialog-message a:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-error a:hover,._tv-dialog-message a:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}._tv-dialog-error a:active,._tv-dialog-message a:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}._tv-dialog-error{color:#c34c36;background:#f9e3e6}html.theme-dark ._tv-dialog-error{background:#6f2626;color:#ffedf0}._tv-dialog-error .close{fill:#9b0202}html.theme-dark ._tv-dialog-error .close{fill:#ffa4b3}._tv-dialog-message{color:#0a8415;background:#e2fde1}html.theme-dark ._tv-dialog-message{background:#21384d;color:#9addcc}._tv-dialog-message .close{fill:#096201}html.theme-dark ._tv-dialog-message .close{fill:#3bc2a1}._tv-dialog-content .dialog-buttons{text-align:left;margin-top:10px}._tv-dialog-content .dialog-comment{float:right;margin-top:15px}._tv-dialog-content .dialog-buttons a{margin:0 5px 0 0;min-width:50px;text-align:center;position:relative}._tv-dialog-content .dialog-buttons a.tv-left{margin:0 0 0 5px}._tv-dialog .ui-resizable-handle{width:11px;height:11px;background:url(../images/dialogs/resize-handle.png) 100% 0 no-repeat}._tv-dialog.change-interval-dialog ._tv-dialog-title{text-align:center;font-size:13px;padding:28px 0 23px}._tv-dialog.change-interval-dialog ._tv-dialog-content{padding:0 50px 13px;text-align:center}._tv-dialog.change-interval-dialog ._tv-dialog-content .change-interval-input{box-sizing:border-box;display:block;width:150px;height:76px;border:1px solid #2196f3;text-align:inherit;font-size:43px;color:#4a4a4a;background-color:#fff;text-transform:uppercase}html.theme-dark ._tv-dialog.change-interval-dialog ._tv-dialog-content .change-interval-input{background-color:#2f3241;color:#c5cbce;border:1px solid #1976d2}._tv-dialog.change-interval-dialog ._tv-dialog-content .change-interval-input.error{border-color:#d75442;background-color:#ffefef}._tv-dialog.change-interval-dialog ._tv-dialog-content i{display:block;font-style:normal}._tv-dialog.change-interval-dialog ._tv-dialog-content i.interval-caption{margin:8px 0 15px;color:#a8a8a8;font-size:12px;font-weight:600;cursor:default}._tv-dialog.change-interval-dialog ._tv-dialog-content i.interval-caption.error{color:#d75442}._tv-dialog.change-interval-dialog ._tv-dialog-content i.help-tooltip-trigger{margin:0 auto;width:12px;height:12px;font-size:11px;font-weight:700;line-height:12px;border:1px solid;border-color:rgba(0,0,0,.5);border-radius:50%;cursor:default}html.theme-dark ._tv-dialog.change-interval-dialog ._tv-dialog-content i.help-tooltip-trigger{border-color:rgba(157,178,189,.5)}._tv-dialog-charting-library._tv-dialog{font-size:14px;font-weight:400;background:#f2f5f8}._tv-dialog-charting-library .main{padding:0 20px 20px}._tv-dialog-charting-library .line{height:1px;background:#ced5db;overflow:hidden}._tv-dialog-charting-library .lead-in{margin-bottom:5px}._tv-dialog-charting-library h3{font-size:26px;font-weight:400;text-transform:uppercase;color:#26282f;margin:0}._tv-dialog-charting-library li,._tv-dialog-charting-library p{line-height:28px;margin:0}._tv-dialog-charting-library p,._tv-dialog-charting-library ul{margin:12px 1px}._tv-dialog-charting-library form .dropzone{margin:1px;border:1px dashed rgba(0,0,0,.3);background:#fff;display:inline-block;padding:20px 0;width:140px;height:110px;float:right;box-sizing:border-box}._tv-dialog-charting-library form .dropzone *{box-sizing:border-box}._tv-dialog-charting-library form .dropzone.dz-clickable{cursor:pointer}._tv-dialog-charting-library form .dropzone.dz-started .dz-message{display:none}._tv-dialog-charting-library form .dropzone.dz-drag-hover{border-style:solid}._tv-dialog-charting-library form .dropzone.dz-drag-hover .dz-message{opacity:.5}._tv-dialog-charting-library form .dropzone .dz-message{text-align:center}._tv-dialog-charting-library form .dropzone .dz-message .link{color:#0099d4}._tv-dialog-charting-library form .dropzone .dz-filename{text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:lowercase}._tv-dialog-charting-library form .dropzone .dz-filename span{padding:0 .4em}._tv-dialog-charting-library form .dropzone .dz-icon{padding:1px 42px}._tv-dialog-charting-library form .dropzone .dz-remove{fill:#ff6565;position:relative;top:-80px;right:110px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-charting-library form .dropzone .dz-remove:hover{fill:red}}._tv-dialog-charting-library form>div{margin-bottom:12px}._tv-dialog-charting-library form .description{margin:6px 0}._tv-dialog-charting-library form .agreement{margin-bottom:10px}._tv-dialog-charting-library form .agreement .description{display:inline-block;padding:27px 5px;width:388px}._tv-dialog-charting-library form textarea{width:100%;height:90px;margin:1px}._tv-dialog-charting-library form .attach{cursor:pointer;font-size:14px;font-weight:400}._tv-dialog-charting-library form input[type=text].error{margin:1px}._tv-dialog-charting-library form .two-columns .column-wrap{box-sizing:border-box;display:inline-block;width:50%}._tv-dialog-charting-library form .two-columns .column-wrap:first-child{padding-left:10px}._tv-dialog-charting-library .big-buttons{text-align:left;padding:10px 0}._tv-dialog-charting-library .big-buttons .cancel-button{cursor:pointer;border:1px solid transparent;font-size:15px;margin:0 15px;color:#686868;background:#f2f5f8}._tv-dialog-charting-library .big-buttons .big-button{cursor:pointer;border:1px solid transparent;background-color:#06b2ce;color:#fff;font-size:15px;text-transform:uppercase;padding:10px 45px;background-image:url(../images/button-base-process.gif);background-position:-9999px -9999px;background-repeat:no-repeat}._tv-dialog-charting-library .big-buttons .big-button.process{background-position:100% 0;background-repeat:repeat}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){._tv-dialog-charting-library .big-buttons .big-button:hover{background-color:#06bbd8}}._tv-dialog-charting-library .big-buttons .big-button:active{background-color:#07c3e2}._tv-dialog-charting-library .big-buttons .big-button.disabled{cursor:default;background-color:#c3c8cf}._tv-dialog.dialog-highlight .main .message textarea{width:350px;height:130px} \ No newline at end of file diff --git a/charting_library/static/bundles/21.fc856808959a5b8734f7.js b/charting_library/static/bundles/21.fc856808959a5b8734f7.js new file mode 100644 index 00000000..c2fd3087 --- /dev/null +++ b/charting_library/static/bundles/21.fc856808959a5b8734f7.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/22.c118eafc7686081984c8.js b/charting_library/static/bundles/22.c118eafc7686081984c8.js new file mode 100644 index 00000000..cf9d7656 --- /dev/null +++ b/charting_library/static/bundles/22.c118eafc7686081984c8.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[22],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/22.d344a511955b43dbefcc.js b/charting_library/static/bundles/22.d344a511955b43dbefcc.js deleted file mode 100644 index 31ad98d4..00000000 --- a/charting_library/static/bundles/22.d344a511955b43dbefcc.js +++ /dev/null @@ -1,2 +0,0 @@ -webpackJsonp([22],{1245:function(t,o){t.exports='{\n\t"content": {\n\t\t"chartProperties": {\n\t\t\t"scalesProperties": {\n\t\t\t\t"textColor": "#D9D9D9",\n\t\t\t\t"lineColor": "#787878",\n\t\t\t\t"backgroundColor": "#ffffff"\n\t\t\t},\n\t\t\t"paneProperties": {\n\t\t\t\t"gridProperties": {\n\t\t\t\t\t"color": "#363c4e"\n\t\t\t\t},\n\t\t\t\t"background": "#131722"\n\t\t\t}\n\t\t},\n\t\t"mainSourceProperties": {\n\t\t \t"baseLineColor": "#5d606b",\n\t\t\t"candleStyle": {\n\t\t\t\t"borderColor": "#378658",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"wickColor": "#B5B5B8",\n\t\t\t\t"wickUpColor": "#336854",\n\t\t\t\t"wickDownColor": "#7f323f",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c"\n\t\t\t},\n\t\t\t"haStyle": {\n\t\t\t\t"borderColor": "#378658",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"wickColor": "#B5B5B8",\n\t\t\t\t"wickUpColor": "#53b987",\n\t\t\t\t"wickDownColor": "#eb4d5c",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c"\n\t\t\t},\n\t\t\t"barStyle": {\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColor": "#53b987"\n\t\t\t},\n\t\t\t"pnfStyle": {\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"upColorProjection": "#336854",\n\t\t\t\t"downColorProjection": "#7f323f"\n\t\t\t},\n\t\t\t"areaStyle": {\n\t\t\t\t"transparency": 50,\n\t\t\t\t"color1": "#606090",\n\t\t\t\t"color2": "#01F6F5",\n\t\t\t\t"linecolor": "#0094FF",\n\t\t\t\t"linewidth": 1,\n\t\t\t\t"linestyle": 0\n\t\t\t},\n\t\t\t"renkoStyle": {\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c",\n\t\t\t\t"upColorProjection": "#336854",\n\t\t\t\t"downColorProjection": "#7f323f",\n\t\t\t\t"borderUpColorProjection": "#336854",\n\t\t\t\t"borderDownColorProjection": "#7f323f",\n\t\t\t\t"wickUpColor": "#336854",\n\t\t\t\t"wickDownColor": "#7f323f"\n\t\t\t},\n\t\t\t"lineStyle": {\n\t\t\t\t"color": "#6FB8F7",\n\t\t\t\t"linewidth": 1,\n\t\t\t\t"linestyle": 0\n\t\t\t},\n\t\t\t"kagiStyle": {\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"upColorProjection": "#336854",\n\t\t\t\t"downColorProjection": "#7f323f"\n\t\t\t},\n\t\t\t"pbStyle": {\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c",\n\t\t\t\t"upColorProjection": "#336854",\n\t\t\t\t"downColorProjection": "#7f323f",\n\t\t\t\t"borderUpColorProjection": "#336854",\n\t\t\t\t"borderDownColorProjection": "#7f323f"\n\t\t\t},\n\t\t\t"rangeStyle": {\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColorProjection": "#336854",\n\t\t\t\t"downColorProjection": "#7f323f"\n\t\t\t}\n\t\t}\n\t}\n}\n'},1246:function(t,o){ -t.exports='{\n\t"content": {\n\t\t"chartProperties": {\n\t\t\t"scalesProperties": {\n\t\t\t\t"textColor": "#555",\n\t\t\t\t"lineColor": "#555",\n\t\t\t\t"backgroundColor": "#ffffff"\n\t\t\t},\n\t\t\t"paneProperties": {\n\t\t\t\t"gridProperties": {\n\t\t\t\t\t"color": "#e1ecf2"\n\t\t\t\t},\n\t\t\t\t"background": "#ffffff"\n\t\t\t}\n\t\t},\n\t\t"mainSourceProperties": {\n\t\t \t"baseLineColor": "#B2B5BE",\n\t\t\t"candleStyle": {\n\t\t\t\t"borderColor": "#378658",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"wickColor": "#737375",\n\t\t\t\t"wickUpColor": "#a9dcc3",\n\t\t\t\t"wickDownColor": "#f5a6ae",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c"\n\t\t\t},\n\t\t\t"haStyle": {\n\t\t\t\t"borderColor": "#378658",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"wickColor": "#737375",\n\t\t\t\t"wickUpColor": "#53b987",\n\t\t\t\t"wickDownColor": "#eb4d5c",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c"\n\t\t\t},\n\t\t\t"barStyle": {\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColor": "#53b987"\n\t\t\t},\n\t\t\t"pnfStyle": {\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"upColorProjection": "#a9dcc3",\n\t\t\t\t"downColorProjection": "#f5a6ae"\n\t\t\t},\n\t\t\t"areaStyle": {\n\t\t\t\t"transparency": 50,\n\t\t\t\t"color1": "#606090",\n\t\t\t\t"color2": "#01F6F5",\n\t\t\t\t"linecolor": "#0094FF",\n\t\t\t\t"linewidth": 1,\n\t\t\t\t"linestyle": 0\n\t\t\t},\n\t\t\t"renkoStyle": {\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c",\n\t\t\t\t"upColorProjection": "#a9dcc3",\n\t\t\t\t"downColorProjection": "#f5a6ae",\n\t\t\t\t"borderUpColorProjection": "#a9dcc3",\n\t\t\t\t"borderDownColorProjection": "#f5a6ae",\n\t\t\t\t"wickUpColor": "#a9dcc3",\n\t\t\t\t"wickDownColor": "#f5a6ae"\n\t\t\t},\n\t\t\t"lineStyle": {\n\t\t\t\t"color": "#0303F7",\n\t\t\t\t"linewidth": 1,\n\t\t\t\t"linestyle": 0\n\t\t\t},\n\t\t\t"kagiStyle": {\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"upColorProjection": "#a9dcc3",\n\t\t\t\t"downColorProjection": "#f5a6ae"\n\t\t\t},\n\t\t\t"pbStyle": {\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"borderUpColor": "#53b987",\n\t\t\t\t"borderDownColor": "#eb4d5c",\n\t\t\t\t"upColorProjection": "#a9dcc3",\n\t\t\t\t"downColorProjection": "#f5a6ae",\n\t\t\t\t"borderUpColorProjection": "#a9dcc3",\n\t\t\t\t"borderDownColorProjection": "#f5a6ae"\n\t\t\t},\n\t\t\t"rangeStyle": {\n\t\t\t\t"upColor": "#53b987",\n\t\t\t\t"downColor": "#eb4d5c",\n\t\t\t\t"upColorProjection": "#a9dcc3",\n\t\t\t\t"downColorProjection": "#f5a6ae"\n\t\t\t}\n\t\t}\n\t}\n}\n'}}); \ No newline at end of file diff --git a/charting_library/static/bundles/22.f31ebffc8672752a2d4b.css b/charting_library/static/bundles/22.f31ebffc8672752a2d4b.css new file mode 100644 index 00000000..849acdb4 --- /dev/null +++ b/charting_library/static/bundles/22.f31ebffc8672752a2d4b.css @@ -0,0 +1 @@ +.button-2ioYhFEY-{display:flex;align-items:center;height:100%;box-sizing:border-box;cursor:default;transition:background-color 60ms ease,opacity 60ms ease,color 60ms ease;color:#131722}html.theme-dark .button-2ioYhFEY-{color:#787b86}.button-2ioYhFEY-:active{color:#000}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-:hover{color:#000}}html.theme-dark .button-2ioYhFEY-:active{color:#868993}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-:hover{color:#868993}}.button-2ioYhFEY- svg{display:block;fill:currentColor;-moz-transform:translateX(0)}.button-2ioYhFEY-.isInteractive-20uLObIc-{position:relative;z-index:0}.button-2ioYhFEY-.isInteractive-20uLObIc-.hover-yHQNmTbI-:before,.button-2ioYhFEY-.isInteractive-20uLObIc-:active:before{content:"";display:block;position:absolute;z-index:-1;top:2px;right:2px;bottom:2px;left:2px;background-color:#f0f3fa;border-radius:2px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:2px;right:2px;bottom:2px;left:2px;background-color:#f0f3fa;border-radius:2px}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.hover-yHQNmTbI-:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-:active:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-:hover:before{background-color:#2a2e39}}.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-{position:relative;z-index:0}.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-.hover-yHQNmTbI-:before,.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:active:before{content:"";display:block;position:absolute;z-index:-1;top:2px;right:2px;bottom:2px;left:2px;background-color:#f0f3fa;border-radius:2px;right:0;left:0}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:2px;right:2px;bottom:2px;left:2px;background-color:#f0f3fa;border-radius:2px;right:0;left:0}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-.hover-yHQNmTbI-:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:active:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:hover:before{background-color:#2a2e39}}.button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-{color:#2196f3}html.theme-sa .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-{color:#ff7200}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-{color:#1976d2}.button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:active{color:#1e88e5}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:hover{color:#1e88e5}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:active{color:#1e88e5}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:hover{color:#1e88e5}}.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-.hover-yHQNmTbI-:before,.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:active:before,.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:before{content:"";display:block;position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;border-radius:0;background-color:#f0f3fa}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;border-radius:0;background-color:#f0f3fa}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-.hover-yHQNmTbI-:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:active:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:hover:before{background-color:#2a2e39}}.button-2ioYhFEY-.isDisabled-1_tmrLfP-{opacity:.3}.button-2ioYhFEY-.isDisabled-1_tmrLfP-,.button-2ioYhFEY-.isDisabled-1_tmrLfP-:active{background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isDisabled-1_tmrLfP-:hover{background-color:transparent}}.button-2ioYhFEY-.isDisabled-1_tmrLfP-.isActive-22S-lGpa-{opacity:1;color:#2196f3}html.theme-sa .button-2ioYhFEY-.isDisabled-1_tmrLfP-.isActive-22S-lGpa-{color:#ff7200}html.theme-dark .button-2ioYhFEY-.isDisabled-1_tmrLfP-.isActive-22S-lGpa-{color:#1976d2}.icon-beK_KS0k-+.text-1sK7vbvh-,.text-1sK7vbvh-+.icon-beK_KS0k-{margin-left:2px} \ No newline at end of file diff --git a/charting_library/static/bundles/22.f31ebffc8672752a2d4b.rtl.css b/charting_library/static/bundles/22.f31ebffc8672752a2d4b.rtl.css new file mode 100644 index 00000000..60fdd2d8 --- /dev/null +++ b/charting_library/static/bundles/22.f31ebffc8672752a2d4b.rtl.css @@ -0,0 +1 @@ +.button-2ioYhFEY-{display:flex;align-items:center;height:100%;box-sizing:border-box;cursor:default;transition:background-color 60ms ease,opacity 60ms ease,color 60ms ease;color:#131722}html.theme-dark .button-2ioYhFEY-{color:#787b86}.button-2ioYhFEY-:active{color:#000}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-:hover{color:#000}}html.theme-dark .button-2ioYhFEY-:active{color:#868993}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-:hover{color:#868993}}.button-2ioYhFEY- svg{display:block;fill:currentColor;-moz-transform:translateX(0)}.button-2ioYhFEY-.isInteractive-20uLObIc-{position:relative;z-index:0}.button-2ioYhFEY-.isInteractive-20uLObIc-.hover-yHQNmTbI-:before,.button-2ioYhFEY-.isInteractive-20uLObIc-:active:before{content:"";display:block;position:absolute;z-index:-1;top:2px;left:2px;bottom:2px;right:2px;background-color:#f0f3fa;border-radius:2px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:2px;left:2px;bottom:2px;right:2px;background-color:#f0f3fa;border-radius:2px}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.hover-yHQNmTbI-:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-:active:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-:hover:before{background-color:#2a2e39}}.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-{position:relative;z-index:0}.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-.hover-yHQNmTbI-:before,.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:active:before{content:"";display:block;position:absolute;z-index:-1;top:2px;left:2px;bottom:2px;right:2px;background-color:#f0f3fa;border-radius:2px;left:0;right:0}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:2px;left:2px;bottom:2px;right:2px;background-color:#f0f3fa;border-radius:2px;left:0;right:0}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-.hover-yHQNmTbI-:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:active:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isGrouped-2BBXQnbO-:hover:before{background-color:#2a2e39}}.button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-{color:#2196f3}html.theme-sa .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-{color:#ff7200}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-{color:#1976d2}.button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:active{color:#1e88e5}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:hover{color:#1e88e5}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:active{color:#1e88e5}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isActive-22S-lGpa-:hover{color:#1e88e5}}.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-.hover-yHQNmTbI-:before,.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:active:before,.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:before{content:"";display:block;position:absolute;z-index:-1;top:0;left:0;bottom:0;right:0;border-radius:0;background-color:#f0f3fa}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:0;left:0;bottom:0;right:0;border-radius:0;background-color:#f0f3fa}}html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-.hover-yHQNmTbI-:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:active:before,html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-2ioYhFEY-.isInteractive-20uLObIc-.isOpened-p-Ume5l9-:hover:before{background-color:#2a2e39}}.button-2ioYhFEY-.isDisabled-1_tmrLfP-{opacity:.3}.button-2ioYhFEY-.isDisabled-1_tmrLfP-,.button-2ioYhFEY-.isDisabled-1_tmrLfP-:active{background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-2ioYhFEY-.isDisabled-1_tmrLfP-:hover{background-color:transparent}}.button-2ioYhFEY-.isDisabled-1_tmrLfP-.isActive-22S-lGpa-{opacity:1;color:#2196f3}html.theme-sa .button-2ioYhFEY-.isDisabled-1_tmrLfP-.isActive-22S-lGpa-{color:#ff7200}html.theme-dark .button-2ioYhFEY-.isDisabled-1_tmrLfP-.isActive-22S-lGpa-{color:#1976d2}.icon-beK_KS0k-+.text-1sK7vbvh-,.text-1sK7vbvh-+.icon-beK_KS0k-{margin-right:2px} \ No newline at end of file diff --git a/charting_library/static/bundles/23.7c4be219df640cb3880c.css b/charting_library/static/bundles/23.7c4be219df640cb3880c.css new file mode 100644 index 00000000..2d724812 --- /dev/null +++ b/charting_library/static/bundles/23.7c4be219df640cb3880c.css @@ -0,0 +1 @@ +.dialog-34XTwGTT-{position:fixed;min-width:280px;width:100%;max-width:380px}.dialog-34XTwGTT- [data-dragg-area]{cursor:url(grab.bc156522a6b55a60be9fae15c14b66c5.cur),move;cursor:grab}.dialog-34XTwGTT- [data-dragg-area].dragging-33JfMDO6-{cursor:url(grabbing.1c0862a8a8c0fb02885557bc97fdafe7.cur),move;cursor:grabbing} \ No newline at end of file diff --git a/charting_library/static/bundles/23.7c4be219df640cb3880c.rtl.css b/charting_library/static/bundles/23.7c4be219df640cb3880c.rtl.css new file mode 100644 index 00000000..2d724812 --- /dev/null +++ b/charting_library/static/bundles/23.7c4be219df640cb3880c.rtl.css @@ -0,0 +1 @@ +.dialog-34XTwGTT-{position:fixed;min-width:280px;width:100%;max-width:380px}.dialog-34XTwGTT- [data-dragg-area]{cursor:url(grab.bc156522a6b55a60be9fae15c14b66c5.cur),move;cursor:grab}.dialog-34XTwGTT- [data-dragg-area].dragging-33JfMDO6-{cursor:url(grabbing.1c0862a8a8c0fb02885557bc97fdafe7.cur),move;cursor:grabbing} \ No newline at end of file diff --git a/charting_library/static/bundles/23.e89d09694523563b8f86.js b/charting_library/static/bundles/23.e89d09694523563b8f86.js new file mode 100644 index 00000000..0c17a676 --- /dev/null +++ b/charting_library/static/bundles/23.e89d09694523563b8f86.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[23],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/24.319f9ed9725f3cea260a.js b/charting_library/static/bundles/24.319f9ed9725f3cea260a.js new file mode 100644 index 00000000..d211dd20 --- /dev/null +++ b/charting_library/static/bundles/24.319f9ed9725f3cea260a.js @@ -0,0 +1,8 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{"2dtg":function(o,e){o.exports=''},"2lje":function(o,e){o.exports=''},"3s8f":function(o,e){o.exports=''},"43BO":function(o,e){o.exports=''},"6oLA":function(o,e){o.exports=''},Csdk:function(o,e){o.exports=''},FVBd:function(o,e){ +o.exports=''},G1jy:function(o,e){o.exports=''},Ijvb:function(o,e,i){"use strict";i.d(e,"a",function(){return n});var n={SyncDrawing:i("G1jy"),arrow:i("tceb"),cursor:i("WHEt"),dot:i("Csdk"),drawginmode:i("2dtg"),drawginmodeActive:i("FVBd"),eraser:i("2lje"),group:i("lZXH"),hideAllDrawings:i("6oLA"),hideAllDrawingsActive:i("dmHa"),lockAllDrawings:i("Uh5y"),lockAllDrawingsActive:i("43BO"),magnet:i("3s8f"),strongMagnet:i("xjKU"),measure:i("oCKS"),removeAllDrawingTools:i("aVjL"),showObjectTree:i("qQ3E"),zoom:i("kmdM"),"zoom-out":i("mbEK")}},"MP+M":function(o,e,i){"use strict";var n,l,t,a,c,s,r;i.d(e,"a",function(){return r}),i("YFKU"),n=i("ei7k"),l=i("zxD0"),t=i("Ijvb"),a={keys:["Shift"],text:window.t("{0} — drawing a straight line at angles of 45")},c={keys:["Shift"],text:window.t("{0} — circle")},s={keys:["Shift"],text:window.t("{0} — square")},r={LineTool5PointsPattern:{icon:l.lineToolsIcons.LineTool5PointsPattern,localizedName:window.t("XABCD Pattern")},LineToolABCD:{icon:l.lineToolsIcons.LineToolABCD,localizedName:window.t("ABCD Pattern")},LineToolArc:{icon:l.lineToolsIcons.LineToolArc,localizedName:window.t("Arc")},LineToolArrow:{icon:l.lineToolsIcons.LineToolArrow,localizedName:window.t("Arrow")},LineToolArrowMarkDown:{icon:l.lineToolsIcons.LineToolArrowMarkDown,localizedName:window.t("Arrow Mark Down")},LineToolArrowMarkLeft:{icon:l.lineToolsIcons.LineToolArrowMarkLeft,localizedName:window.t("Arrow Mark Left")},LineToolArrowMarkRight:{icon:l.lineToolsIcons.LineToolArrowMarkRight,localizedName:window.t("Arrow Mark Right")},LineToolArrowMarkUp:{ +icon:l.lineToolsIcons.LineToolArrowMarkUp,localizedName:window.t("Arrow Mark Up")},LineToolBalloon:{icon:l.lineToolsIcons.LineToolBalloon,localizedName:window.t("Balloon")},LineToolBarsPattern:{icon:l.lineToolsIcons.LineToolBarsPattern,localizedName:window.t("Bars Pattern")},LineToolBezierCubic:{icon:l.lineToolsIcons.LineToolBezierCubic,localizedName:window.t("Double Curve")},LineToolBezierQuadro:{icon:l.lineToolsIcons.LineToolBezierQuadro,localizedName:window.t("Curve")},LineToolBrush:{icon:l.lineToolsIcons.LineToolBrush,localizedName:window.t("Brush")},LineToolCallout:{icon:l.lineToolsIcons.LineToolCallout,localizedName:window.t("Callout")},LineToolCircleLines:{icon:l.lineToolsIcons.LineToolCircleLines,localizedName:window.t("Cyclic Lines")},LineToolCypherPattern:{icon:l.lineToolsIcons.LineToolCypherPattern,localizedName:window.t("Cypher Pattern")},LineToolDateAndPriceRange:{icon:l.lineToolsIcons.LineToolDateAndPriceRange,localizedName:window.t("Date and Price Range")},LineToolDateRange:{icon:l.lineToolsIcons.LineToolDateRange,localizedName:window.t("Date Range")},LineToolDisjointAngle:{icon:l.lineToolsIcons.LineToolDisjointAngle,localizedName:window.t("Disjoint Angle"),hotKey:Object(n.b)(a)},LineToolElliottCorrection:{icon:l.lineToolsIcons.LineToolElliottCorrection,localizedName:window.t("Elliott Correction Wave (ABC)")},LineToolElliottDoubleCombo:{icon:l.lineToolsIcons.LineToolElliottDoubleCombo,localizedName:window.t("Elliott Double Combo Wave (WXY)")},LineToolElliottImpulse:{icon:l.lineToolsIcons.LineToolElliottImpulse,localizedName:window.t("Elliott Impulse Wave (12345)")},LineToolElliottTriangle:{icon:l.lineToolsIcons.LineToolElliottTriangle,localizedName:window.t("Elliott Triangle Wave (ABCDE)")},LineToolElliottTripleCombo:{icon:l.lineToolsIcons.LineToolElliottTripleCombo,localizedName:window.t("Elliott Triple Combo Wave (WXYXZ)")},LineToolEllipse:{icon:l.lineToolsIcons.LineToolEllipse,localizedName:window.t("Ellipse"),hotKey:Object(n.b)(c)},LineToolExtended:{icon:l.lineToolsIcons.LineToolExtended,localizedName:window.t("Extended")},LineToolFibChannel:{icon:l.lineToolsIcons.LineToolFibChannel,localizedName:window.t("Fib Channel")},LineToolFibCircles:{icon:l.lineToolsIcons.LineToolFibCircles,localizedName:window.t("Fib Circles"),hotKey:Object(n.b)(c)},LineToolFibRetracement:{icon:l.lineToolsIcons.LineToolFibRetracement,localizedName:window.t("Fib Retracement")},LineToolFibSpeedResistanceArcs:{icon:l.lineToolsIcons.LineToolFibSpeedResistanceArcs,localizedName:window.t("Fib Speed Resistance Arcs")},LineToolFibSpeedResistanceFan:{icon:l.lineToolsIcons.LineToolFibSpeedResistanceFan,localizedName:window.t("Fib Speed Resistance Fan"),hotKey:Object(n.b)(s)},LineToolFibSpiral:{icon:l.lineToolsIcons.LineToolFibSpiral,localizedName:window.t("Fib Spiral")},LineToolFibTimeZone:{icon:l.lineToolsIcons.LineToolFibTimeZone,localizedName:window.t("Fib Time Zone")},LineToolFibWedge:{icon:l.lineToolsIcons.LineToolFibWedge,localizedName:window.t("Fib Wedge")},LineToolFlagMark:{icon:l.lineToolsIcons.LineToolFlagMark, +localizedName:window.t("Flag Mark")},LineToolFlatBottom:{icon:l.lineToolsIcons.LineToolFlatBottom,localizedName:window.t("Flat Top/Bottom"),hotKey:Object(n.b)(a)},LineToolGannComplex:{icon:l.lineToolsIcons.LineToolGannComplex,localizedName:window.t("Gann Square")},LineToolGannFixed:{icon:l.lineToolsIcons.LineToolGannFixed,localizedName:window.t("Gann Square Fixed")},LineToolGannFan:{icon:l.lineToolsIcons.LineToolGannFan,localizedName:window.t("Gann Fan")},LineToolGannSquare:{icon:l.lineToolsIcons.LineToolGannSquare,localizedName:window.t("Gann Box"),hotKey:Object(n.b)({keys:["Shift"],text:window.t("{0} — fixed increments")})},LineToolGhostFeed:{icon:l.lineToolsIcons.LineToolGhostFeed,localizedName:window.t("Ghost Feed")},LineToolHeadAndShoulders:{icon:l.lineToolsIcons.LineToolHeadAndShoulders,localizedName:window.t("Head and Shoulders")},LineToolHorzLine:{icon:l.lineToolsIcons.LineToolHorzLine,localizedName:window.t("Horizontal Line"),hotKey:Object(n.b)({keys:["Alt","H"],text:"{0} + {1}"})},LineToolHorzRay:{icon:l.lineToolsIcons.LineToolHorzRay,localizedName:window.t("Horizontal Ray")},LineToolIcon:{icon:l.lineToolsIcons.LineToolIcon,localizedName:window.t("Font Icons")},LineToolInsidePitchfork:{icon:l.lineToolsIcons.LineToolInsidePitchfork,localizedName:window.t("Inside Pitchfork")},LineToolNote:{icon:l.lineToolsIcons.LineToolNote,localizedName:window.t("Note")},LineToolNoteAbsolute:{icon:l.lineToolsIcons.LineToolNoteAbsolute,localizedName:window.t("Anchored Note")},LineToolParallelChannel:{icon:l.lineToolsIcons.LineToolParallelChannel,localizedName:window.t("Parallel Channel"),hotKey:Object(n.b)(a)},LineToolPitchfan:{icon:l.lineToolsIcons.LineToolPitchfan,localizedName:window.t("Pitchfan")},LineToolPitchfork:{icon:l.lineToolsIcons.LineToolPitchfork,localizedName:window.t("Pitchfork")},LineToolPolyline:{icon:l.lineToolsIcons.LineToolPolyline,localizedName:window.t("Polyline")},LineToolPrediction:{icon:l.lineToolsIcons.LineToolPrediction,localizedName:window.t("Forecast")},LineToolPriceLabel:{icon:l.lineToolsIcons.LineToolPriceLabel,localizedName:window.t("Price Label")},LineToolPriceRange:{icon:l.lineToolsIcons.LineToolPriceRange,localizedName:window.t("Price Range")},LineToolProjection:{icon:l.lineToolsIcons.LineToolProjection,localizedName:window.t("Projection")},LineToolRay:{icon:l.lineToolsIcons.LineToolRay,localizedName:window.t("Ray")},LineToolRectangle:{icon:l.lineToolsIcons.LineToolRectangle,localizedName:window.t("Rectangle"),hotKey:Object(n.b)({keys:["Shift"],text:window.t("{0} — square")})},LineToolRegressionTrend:{icon:l.lineToolsIcons.LineToolRegressionTrend,localizedName:window.t("Regression Trend")},LineToolRiskRewardLong:{icon:l.lineToolsIcons.LineToolRiskRewardLong,localizedName:window.t("Long Position")},LineToolRiskRewardShort:{icon:l.lineToolsIcons.LineToolRiskRewardShort,localizedName:window.t("Short Position")},LineToolRotatedRectangle:{icon:l.lineToolsIcons.LineToolRotatedRectangle,localizedName:window.t("Rotated Rectangle"),hotKey:Object(n.b)(a)},LineToolSchiffPitchfork:{ +icon:l.lineToolsIcons.LineToolSchiffPitchfork,localizedName:window.t("Modified Schiff Pitchfork")},LineToolSchiffPitchfork2:{icon:l.lineToolsIcons.LineToolSchiffPitchfork2,localizedName:window.t("Schiff Pitchfork")},LineToolSineLine:{icon:l.lineToolsIcons.LineToolSineLine,localizedName:window.t("Sine Line")},LineToolText:{icon:l.lineToolsIcons.LineToolText,localizedName:window.t("Text",{context:"tool"})},LineToolTextAbsolute:{icon:l.lineToolsIcons.LineToolTextAbsolute,localizedName:window.t("Anchored Text")},LineToolThreeDrivers:{icon:l.lineToolsIcons.LineToolThreeDrivers,localizedName:window.t("Three Drives Pattern")},LineToolTimeCycles:{icon:l.lineToolsIcons.LineToolTimeCycles,localizedName:window.t("Time Cycles")},LineToolTrendAngle:{icon:l.lineToolsIcons.LineToolTrendAngle,localizedName:window.t("Trend Angle"),hotKey:Object(n.b)(a)},LineToolTrendBasedFibExtension:{icon:l.lineToolsIcons.LineToolTrendBasedFibExtension,localizedName:window.t("Trend-Based Fib Extension")},LineToolTrendBasedFibTime:{icon:l.lineToolsIcons.LineToolTrendBasedFibTime,localizedName:window.t("Trend-Based Fib Time")},LineToolTrendLine:{icon:l.lineToolsIcons.LineToolTrendLine,localizedName:window.t("Trend Line"),hotKey:Object(n.b)(a)},LineToolInfoLine:{icon:l.lineToolsIcons.LineToolInfoLine,localizedName:window.t("Info Line")},LineToolTriangle:{icon:l.lineToolsIcons.LineToolTriangle,localizedName:window.t("Triangle")},LineToolTrianglePattern:{icon:l.lineToolsIcons.LineToolTrianglePattern,localizedName:window.t("Triangle Pattern")},LineToolVertLine:{icon:l.lineToolsIcons.LineToolVertLine,localizedName:window.t("Vertical Line"),hotKey:Object(n.b)({keys:["Alt","V"],text:"{0} + {1}"})},LineToolCrossLine:{icon:l.lineToolsIcons.LineToolCrossLine,localizedName:$.t("Cross Line")},SyncDrawing:{icon:t.a.SyncDrawing,iconActive:t.a.SyncDrawingActive,localizedName:window.t("New drawings are replicated to all charts in the layout and shown when the same ticker is selected")},arrow:{icon:t.a.arrow,localizedName:window.t("Arrow")},cursor:{icon:t.a.cursor,localizedName:window.t("Cross")},dot:{icon:t.a.dot,localizedName:window.t("Dot")},drawginmode:{icon:t.a.drawginmode,iconActive:t.a.drawginmodeActive,localizedName:window.t("Stay in Drawing Mode")},eraser:{icon:t.a.eraser,localizedName:window.t("Eraser")},group:{icon:t.a.group,localizedName:window.t("Show Hidden Tools")},hideAllDrawings:{icon:t.a.hideAllDrawings,iconActive:t.a.hideAllDrawingsActive,localizedName:window.t("Hide All Drawing Tools")},lockAllDrawings:{icon:t.a.lockAllDrawings,iconActive:t.a.lockAllDrawingsActive,localizedName:window.t("Lock All Drawing Tools")},magnet:{icon:t.a.magnet,localizedName:window.t("Magnet Mode snaps drawings placed near price bars to the closest OHLC value")},measure:{icon:t.a.measure,localizedName:window.t("Measure"),hotKey:Object(n.b)({keys:["Shift"],text:window.t("{0} + Click on the chart")})},removeAllDrawingTools:{icon:t.a.removeAllDrawingTools,localizedName:window.t("Remove All Drawing Tools")},showObjectsTree:{icon:t.a.showObjectTree, +localizedName:window.t("Show Object Tree")},zoom:{icon:t.a.zoom,localizedName:window.t("Zoom In")},"zoom-out":{icon:t.a["zoom-out"],localizedName:window.t("Zoom Out")}}},Uh5y:function(o,e){o.exports=''},WHEt:function(o,e){o.exports=''},aVjL:function(o,e){o.exports=''},b2d7:function(o,e,i){"use strict";var n,l,t,a,c;i.d(e,"a",function(){return c}),n=i("aIyQ"),l=i.n(n),t=i("Vdly"),function(o){function e(){o.favorites=[],Object(t.getJSON)("chart.favoriteDrawings",[]).forEach(function(e){o.favorites.push(e.tool||e)}),o.favoritesSynced.fire()}o.favorites=[],o.favoritesSynced=new l.a,o.favoriteIndex=function(e){return o.favorites.indexOf(e)},o.saveFavorites=function(){Object(t.setJSON)("chart.favoriteDrawings",o.favorites)},e(),t.onSync.subscribe(null,e)}(a||(a={})),function(o){function e(){return a.favorites.length}function i(o){return-1!==a.favoriteIndex(o)}o.favoriteAdded=new l.a,o.favoriteRemoved=new l.a,o.favoriteMoved=new l.a,o.favoritesSynced=a.favoritesSynced,o.favorites=function(){return a.favorites.slice()},o.favoritesCount=e,o.favorite=function(o){return o<0||o>=e()?"":a.favorites[o]},o.addFavorite=function(e){return!i(e)&&(a.favorites.push(e),a.saveFavorites(),o.favoriteAdded.fire(e),!0)},o.removeFavorite=function(e){var i=a.favoriteIndex(e);return-1!==i&&(a.favorites.splice(i,1),a.saveFavorites(),o.favoriteRemoved.fire(e),!0)},o.isFavorite=i,o.moveFavorite=function(i,n){if(n<0||n>=e())return!1;var l=a.favoriteIndex(i);return-1!==l&&n!==l&&(a.favorites.splice(l,1),a.favorites.splice(n,0,i),a.saveFavorites(),o.favoriteMoved.fire(i,l,n),!0)}}(c||(c={}))},dmHa:function(o,e){ +o.exports=''},kmdM:function(o,e){o.exports=''},lZXH:function(o,e){o.exports=''},mbEK:function(o,e){o.exports=''},oCKS:function(o,e){o.exports=''},qQ3E:function(o,e){o.exports=''},tceb:function(o,e){ +o.exports=''},xjKU:function(o,e){o.exports=''}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/25.15d449d35706e01821dd.js b/charting_library/static/bundles/25.15d449d35706e01821dd.js new file mode 100644 index 00000000..0c2e56da --- /dev/null +++ b/charting_library/static/bundles/25.15d449d35706e01821dd.js @@ -0,0 +1,4 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{"5YsI":function(t,e,o){t.exports={button:"button-13wlLwhJ-",hover:"hover-3L87f6Kw-",arrow:"arrow-2pXEy7ej-",arrowWrap:"arrowWrap-r5l5nQXU-",isOpened:"isOpened-1939ai3F-"}},"82wv":function(t,e,o){"use strict";var n,i,r,a,s,c,l,u;o.d(e,"a",function(){return u}),n=o("mrSG"),i=o("q1tI"),r=o("TSYQ"),a=o("9dlw"),s=o("ML8+"),c=o("5YsI"),l=o("Iksw"),u=function(t){function e(e){var o=t.call(this,e)||this;return o._wrapperRef=null,o._handleWrapperRef=function(t){return o._wrapperRef=t},o._handleClick=function(t){t.target instanceof Node&&t.currentTarget.contains(t.target)&&o._handleToggleDropdown()},o._handleToggleDropdown=function(t){var e=o.state.isOpened,n="boolean"==typeof t?t:!e;o.setState({isOpened:n})},o._handleClose=function(){o._handleToggleDropdown(!1)},o.state={isOpened:!1},o}return n.__extends(e,t),e.prototype.render=function(){var t,e=this.props,o=e.id,n=e.arrow,u=e.children,p=e.content,d=e.isDisabled,h=e.minWidth,v=e.title,f=e.className,m=e.hotKey,g=this.state.isOpened,b=r(f,c.button,"apply-common-tooltip",((t={})[c.isDisabled]=d,t[c.isOpened]=g,t)),O={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};return i.createElement("div",{id:o,className:b,onClick:d?void 0:this._handleClick,title:v,"data-tooltip-hotkey":m,ref:this._handleWrapperRef},p,n&&i.createElement("div",{className:c.arrow},i.createElement("div",{className:c.arrowWrap},i.createElement(s.a,{dropped:g}))),i.createElement(a.a,{closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:g,minWidth:h,onClose:this._handleClose,position:Object(l.c)(this._wrapperRef,O)},u))},e.defaultProps={arrow:!0,closeOnClickOutside:!0},e}(i.PureComponent)},"9dlw":function(t,e,o){"use strict";var n,i,r,a,s,c,l,u,p;o.d(e,"a",function(){return p}),n=o("mrSG"),i=o("bf9a"),r=o("q1tI"),a=o("i8i4"),s=o("17x9"),c=o("RgaO"),l=o("AiMB"),u=o("DTHj"),p=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._handleClose=function(){e.props.onClose()},e._handleClickOutside=function(t){var o,n=e.props,i=n.closeOnClickOutside,r=n.onClickOutside,s=n.doNotCloseOn;r&&r(t),i&&(s&&t.target instanceof Node&&(o=a.findDOMNode(s))instanceof Node&&o.contains(t.target)||e._handleClose())},e._handleScroll=function(t){var o=e.props.onScroll;o&&o(t),t.stopPropagation()},e}return n.__extends(e,t),e.prototype.componentWillReceiveProps=function(t){this.props.isOpened&&!t.isOpened&&this.setState({isMeasureValid:void 0})},e.prototype.render=function(){var t=this.props,e=t.children,o=t.isOpened,i=(t.closeOnClickOutside,t.doNotCloseOn,t.onClickOutside,t.onClose,n.__rest(t,["children","isOpened","closeOnClickOutside","doNotCloseOn","onClickOutside","onClose"]));return o?r.createElement(l.a,null,r.createElement(c.a,{handler:this._handleClickOutside, +mouseDown:!0,touchStart:!0},r.createElement(u.a,n.__assign({},i,{isOpened:o,onClose:this._handleClose,onScroll:this._handleScroll,customCloseDelegate:this.context.customCloseDelegate}),e))):null},e.contextTypes={customCloseDelegate:s.any},e.defaultProps={closeOnClickOutside:!0},e}(r.PureComponent)},AiMB:function(t,e,o){"use strict";var n,i,r,a,s,c,l,u;o.d(e,"a",function(){return l}),o.d(e,"b",function(){return u}),n=o("mrSG"),i=o("q1tI"),r=o("i8i4"),a=o("0waE"),s=o("jAh7"),c=o("+EG+"),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._uuid=Object(a.guid)(),e}return n.__extends(e,t),e.prototype.componentWillUnmount=function(){this._manager().removeWindow(this._uuid)},e.prototype.render=function(){return r.createPortal(i.createElement(u.Provider,{value:this},this.props.children),this._manager().ensureWindow(this._uuid))},e.prototype.moveToTop=function(){this._manager().moveToTop(this._uuid)},e.prototype._manager=function(){return null===this.context?Object(s.getRootOverlapManager)():this.context},e.contextType=c.b,e}(i.PureComponent),u=i.createContext(null)},Iksw:function(t,e,o){"use strict";function n(t,e){return function(o,n){var u=Object(i.ensureNotNull)(t).getBoundingClientRect(),p=e.verticalAttachEdge,d=void 0===p?l.verticalAttachEdge:p,h=e.verticalDropDirection,v=void 0===h?l.verticalDropDirection:h,f=e.horizontalAttachEdge,m=void 0===f?l.horizontalAttachEdge:f,g=e.horizontalDropDirection,b=void 0===g?l.horizontalDropDirection:g,O=e.horizontalMargin,_=void 0===O?l.horizontalMargin:O,w=e.verticalMargin,C=void 0===w?l.verticalMargin:w,D=d===r.Top?-1*C:C,E=m===a.Right?u.right:u.left,T=d===r.Top?u.top:u.bottom,N=E-(b===c.FromRightToLeft?o:0),k=T-(v===s.FromBottomToTop?n:0);return{x:N+_,y:k+D}}}var i,r,a,s,c,l;o.d(e,"a",function(){return r}),o.d(e,"b",function(){return s}),o.d(e,"c",function(){return n}),i=o("Eyy1"),function(t){t[t.Top=0]="Top",t[t.Bottom=1]="Bottom"}(r||(r={})),function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(a||(a={})),function(t){t[t.FromTopToBottom=0]="FromTopToBottom",t[t.FromBottomToTop=1]="FromBottomToTop"}(s||(s={})),function(t){t[t.FromLeftToRight=0]="FromLeftToRight",t[t.FromRightToLeft=1]="FromRightToLeft"}(c||(c={})),l={verticalAttachEdge:r.Bottom,horizontalAttachEdge:a.Left,verticalDropDirection:s.FromTopToBottom,horizontalDropDirection:c.FromLeftToRight,verticalMargin:0,horizontalMargin:0}},KKsp:function(t,e,o){"use strict";function n(t){return i.createElement("div",{className:r.separator})}var i,r;o.d(e,"a",function(){return n}),i=o("q1tI"),r=o("NOPy")},"ML8+":function(t,e,o){"use strict";function n(t){var e,o=t.dropped,n=t.className;return i.createElement(a.a,{className:r(n,s.icon,(e={},e[s.dropped]=o,e)),icon:c})}var i,r,a,s,c;o.d(e,"a",function(){return n}),i=o("q1tI"),r=o("TSYQ"),a=o("jjrI"),s=o("cvzQ"),c=o("R4+T")},N5tr:function(t,e,o){"use strict";function n(t){return a.createElement(t.href?"a":"div",t)}function i(t){t.stopPropagation()}var r,a,s,c,l,u,p,d;o.d(e,"a",function(){return d}),r=o("mrSG"),a=o("q1tI"),s=o("TSYQ"),c=o("tWVy"), +l=o("tITk"),u=o("QpNh"),p=o("v1bN"),d=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._handleClick=function(t){var o=e.props,n=o.dontClosePopup,i=o.isDisabled,r=o.onClick,a=o.onClickArg,s=o.trackEventObject;i||(s&&Object(l.trackEvent)(s.category,s.event,s.label),r&&r(a,t),n||Object(c.b)())},e._handleMouseUp=function(t){var o=e.props,n=o.link,i=o.trackEventObject;1===t.button&&n&&i&&Object(l.trackEvent)(i.category,i.event,i.label)},e._formatShortcut=function(t){return t&&t.split("+").join(" + ")},e}return r.__extends(e,t),e.prototype.render=function(){var t,e,o=this.props,c=o.className,l=o.shortcut,d=o.forceShowShortcuts,h=o.icon,v=o.isActive,f=o.isDisabled,m=o.isHovered,g=o.appearAsDisabled,b=o.label,O=o.link,_=o.showToolboxOnHover,w=o.target,C=o.toolbox,D=o.theme,E=void 0===D?p:D,T=Object(u.a)(this.props);return a.createElement(n,r.__assign({},T,{className:s(c,E.item,h&&E.withIcon,(t={},t[E.isActive]=v,t[E.isDisabled]=f||g,t[E.hovered]=m,t)),href:O,target:w,onClick:this._handleClick,onMouseUp:this._handleMouseUp}),void 0!==h&&a.createElement("div",{className:E.icon,dangerouslySetInnerHTML:{__html:h}}),a.createElement("div",{className:E.labelRow},a.createElement("div",{className:E.label},b)),(void 0!==l||d)&&a.createElement("div",{className:E.shortcut},this._formatShortcut(l)),void 0!==C&&a.createElement("div",{onClick:i,className:s(E.toolbox,(e={},e[E.showOnHover]=_,e))},C))},e}(a.PureComponent)},NOPy:function(t,e,o){t.exports={separator:"separator-25lkUpN--"}},QpNh:function(t,e,o){"use strict";function n(t){var e,o,n,r,a,s=Object.entries(t).filter(i),c={};for(e=0,o=s;e'},"D/i5":function(e,t,n){e.exports={inputWrapper:"inputWrapper-6bNZbTW4-",textInput:"textInput-3WRWEmm7-",error:"error-v0663AtN-",success:"success-7iP8kTY5-",textInputLeftDirection:"textInputLeftDirection-mlAXPh8V-",xsmall:"xsmall-3Ah_Or2--",small:"small-2bmxiJCE-",large:"large-1JDowW2I-",iconed:"iconed-3ZQvxTot-",inputIcon:"inputIcon-W_Bse-a1-",clearable:"clearable-2tabt_rj-",clearIcon:"clearIcon-389FR5J4-"}},K5ke:function(e,t,n){e.exports={loader:"loader-3Pj8ExOX-",item:"item-2n55_7om-","tv-button-loader":"tv-button-loader-SKpJjjYw-",black:"black-eFIQWyf4-",white:"white-2Ma0ajvT-",gray:"gray-24fvVR0S-"}},L0Sj:function(e,t,n){"use strict";function a(e){var t,n=e.className,a=e.icon,d=e.clearable,p=e.onClear,m=e.size,f=e.strictLeftDirectionInput,h=r.__rest(e,["className","icon","clearable","onClear","size","strictLeftDirectionInput"]),g=s(l.inputWrapper,((t={})[n]=Boolean(n),t[l.iconed]=Boolean(a),t[l.clearable]=d,t));return o.createElement(u,r.__assign({theme:l,className:g,leftComponent:a?o.createElement(i.a,{key:"inputIcon",icon:a,className:l.inputIcon}):void 0,rightComponent:d?o.createElement(i.a,{className:l.clearIcon,icon:c,key:"clearIcon",onClick:p}):void 0,sizeMode:m,strictLeftDirectionInput:f},h))}var r,o,s,i,c,l,u;n.d(t,"a",function(){return u}),n.d(t,"b",function(){return a}),r=n("mrSG"),o=n("q1tI"),s=n("TSYQ"),i=n("jjrI"),c=n("Ald9"),l=n("D/i5"),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.render=function(){var e,t,n,a,i=this.props,c=i.theme,u=i.error,d=i.success,p=i.sizeMode,m=i.leftComponent,f=i.rightComponent,h=i.grouped,g=i.columnGrouped,v=i.fontSize,I=i.reference,b=i.className,w=(i.strictLeftDirectionInput,r.__rest(i,["theme","error","success","sizeMode","leftComponent","rightComponent","grouped","columnGrouped","fontSize","reference","className","strictLeftDirectionInput"])),x={fontSize:v},y=s(c.textInput,this.props.strictLeftDirectionInput&&l.textInputLeftDirection,((e={})[c.error]=u,e[c.success]=d,e[c[p]]=Boolean(p),e)),C=s(c.inputWrapper,((t={})[b]=Boolean(b),t[c.grouped]=h,t[c.column]=g,t)),_=[],N=o.createElement("input",r.__assign({ref:I,className:y,key:"textInput",style:x},w));return m&&(n={className:s(c.leftComponent,m.props.className),key:"leftComponent"},_.push(o.cloneElement(m,n))),_.push(N),f&&(a={className:s(c.rightComponent,f.props.className),key:"rightComponent"},_.push(o.cloneElement(f,a))),o.createElement("div",{className:C},_)},t}(o.PureComponent)},ntfI:function(e,t,n){"use strict";var a,r,o,s,i,c,l +;n.d(t,"a",function(){return l}),a=n("mrSG"),r=n("q1tI"),o=n("TSYQ"),s=n("j1f4"),i=n("K5ke"),function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(c||(c={})),l=function(e){function t(t){var n=e.call(this,t)||this;return n._stateChangeTimeout=null,n.state={state:c.Initial},n}return a.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,a=t.color,s=void 0===a?"black":a,c=o(i.item,((e={})[i[s]]=Boolean(s),e));return r.createElement("span",{className:o(i.loader,n,this._getStateClass())},r.createElement("span",{className:c}),r.createElement("span",{className:c}),r.createElement("span",{className:c}))},t.prototype.componentDidMount=function(){var e=this;this.setState({state:c.Appear}),this._stateChangeTimeout=setTimeout(function(){e.setState({state:c.Active})},2*s.dur)},t.prototype.componentWillUnmount=function(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)},t.prototype._getStateClass=function(){switch(this.state.state){case c.Initial:return"loader-initial";case c.Appear:return"loader-appear";default:return""}},t}(r.PureComponent)},oj21:function(e,t,n){"use strict";function a(e){var t,n=e.active,a=void 0===n||n,l=e.children,u=e.className,d=void 0===u?"":u,p=e.disabled,m=void 0!==p&&p,f=e.grouped,h=void 0!==f&&f,g=e.growable,v=void 0!==g&&g,I=e.onClick,b=e.reference,w=e.size,x=e.theme,y=e.type,C=void 0===y?"default":y,_=e.loading,N=void 0!==_&&_,k=e.withPadding,E=void 0===k||k,S=e.title,W=void 0===S?"":S,T=e.disabledClassName,L=e.tabIndex,D=void 0===L?0:L,j=e.target,z=void 0===j?"":j,A=e.href,B=void 0===A?"":A,O=e.rounded,q=void 0!==O&&O,P=s(((t={})[d]=Boolean(d),t[i.button]=!0,t[i.active]=a&&!m,t[T||i.disabled]=m,t[i.grouped]=h,t[i.growable]=v,t[i.withPadding]=E,t[function(e){switch(e){case"xsmall":return i.xsmall;case"small":return i.small;case"large":return i.large;default:return""}}(w)]=Boolean(w),t[function(e){switch(e){case"ghost":return i.ghost;default:return""}}(x)]=Boolean(x),t[function(e){switch(e){case"default":return i.base;case"primary":return i.primary;case"secondary":return i.secondary;case"secondary-script":return i.secondaryScript;case"success":return i.success;case"warning":return i.warning;case"danger":return i.danger;case"link":return i.link;default:return""}}(C)]=!0,t[i.rounded]=q,t)),J="default"===C?"black":"white",M={disabled:m,title:W,target:z,href:B};return o.createElement("button",r.__assign({className:P,tabIndex:D,onClick:N?void 0:I,ref:b},M),o.createElement("span",{className:i.hiddenText},l),N?o.createElement("span",{className:i.loader},o.createElement(c.a,{color:J})):o.createElement("span",{className:i.text},l))}var r,o,s,i,c;n.d(t,"a",function(){return a}),r=n("mrSG"),o=n("q1tI"),s=n("TSYQ"),i=n("qsaw"),c=n("ntfI")},qsaw:function(e,t,n){e.exports={ghost:"ghost-3yO24wIn-",primary:"primary-1rSzOFdX-",success:"success-1qQ3_tEI-",danger:"danger-jKTO4wDd-",warning:"warning-2uDfz7Zc-",secondary:"secondary-3ll81brZ-",button:"button-2O-nMUcz-",withPadding:"withPadding-_5CJoO5q-", +hiddenText:"hiddenText-3qcN5Wif-",text:"text-2KOWx3rB-",loader:"loader-1CC-1F8J-",base:"base-2d4XFcnI-",secondaryScript:"secondaryScript-2iIeFIWW-",link:"link-2sR0CShp-",xsmall:"xsmall-1aiWe3Hs-",rounded:"rounded-3qEdyiAz-",small:"small-2-nQtW8O-",large:"large-33HYhX8D-",grouped:"grouped-1WsMjajI-",growable:"growable-F6tv8R_j-",active:"active-2UxWxOgk-",disabled:"disabled-3u0ULovv-"}}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/27.54aad15135c7ea57b345.js b/charting_library/static/bundles/27.54aad15135c7ea57b345.js new file mode 100644 index 00000000..a7fb70df --- /dev/null +++ b/charting_library/static/bundles/27.54aad15135c7ea57b345.js @@ -0,0 +1,5 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{"/NcV":function(t,e){t.exports=''},FxnJ:function(t,e,i){},MjtL:function(t,e){t.exports=''},NhD9:function(t,e,i){"use strict";(function(t){var s,a,o,r,n;Object.defineProperty(e,"__esModule",{value:!0}),e.createTabbedDialog=function(e){var i,l,d,c,h,p,u,_,f,g,v;if(e=$.extend({},n,e),i=$(t.render(o,{tabs:e.tabs,customControls:e.customControls,customControlsAddClass:e.customControlsContainerAddClass},{additionalHeaderContent:e.additionalHeaderContent})),d=l=$(r),e.contentAddClass&&l.addClass(e.contentAddClass),!1!==e.withScroll&&(l=$('
').append(d.addClass("tv-dialog__scroll-wrap-inner"))),c=$('
').append(i).append(l),e.customControls&&i.find(".js-custom-controls").append(e.customControls),!0!==e.doNotCreatePages)for(h=0;h').append(e.tabs[h].page));return p=e.tabStateSaveKey,u=e.activeTab,_=e.tabsScrollBoxAddClass,f=e.tabAddClass,delete e.tabs,delete e.activeTab,delete e.customControls,delete e.tabStateSaveKey,delete e.customControlsContainerAddClass,delete e.tabsScrollBoxAddClass,delete e.tabAddClass,e.closeButtonAddClass="tv-tabbed-dialog__close",e.contentWrapTemplate=c,g=(0,a.createDialog)(e),v=new s.Tabs(i.find(".tv-tabs").get(0),d.get(0),{addLeftArrowsClass:"tv-tabbed-dialog__tabs-arrow-left",addRightArrowsClass:"tv-tabbed-dialog__tabs-arrow-right",addScrollBoxClass:_,tabClass:f,saveTab:p,activeTab:u}),g.on("afterOpen",function(){v.setActivePage(v.index(),!0,!0)}),{dialog:g,tabs:v}},s=i("pIOw"),a=i("YDhE"),i("FxnJ"),o='
{{#tabs}}
{{name}}
{{/tabs}}
{{#customControls}}
{{/customControls}}
{{>additionalHeaderContent}}',r='
',n={tabs:[]}}).call(this,i("OiQe"))},pIOw:function(t,e,i){"use strict";function s(){return new Promise(function(t){i.e("lazy-velocity").then(function(e){i("WJ2Z"),t()}.bind(null,i)).catch(i.oe)})}var a,o,r,n,l,d,c,h,p,u,_,f,g;i.r(e),a=i("Eyy1"),i("P5fv"),$.fn.velocity=function(){var t,e=this,i=[];for(t=0;t'+f.leftArrow+"
"),this._elArrowRight=this._findOrCreateElement(this._options.rArrowClass||"",this._elTabs,"append",'
'+f.rightArrow+"
"),this._addClass(this._elArrowLeft,this._options.addLeftArrowsClass),this._addClass(this._elArrowRight,this._options.addRightArrowsClass)),this._addClass(this._elScrollBox,this._options.addScrollBoxClass),this._addClass(this._elSlider,this._options.addSliderClass),this._addClass(this._elTabs,this._options.tabsContainerClass),this._addClass(this.getTabsArray(),this._options.tabClass),this._addClass(this._elTabs,this._options.loadedClass),this.checkScrollArrows(!0),this._initActivePage(),this._bindEvents()}return t.prototype.getTabsArray=function(){var t,e,i,s=this._elScrollBox.children;if(!this._options.sliderClass)return Array.prototype.slice.call(s);for(t=[],e=0;e=n?e(this._elArrowLeft):(a<=n||this._elScrollWrap.scrollWidth<=r)&&i(this._elArrowLeft,u.Left)),this._elArrowRight&&(l-a>1?e(this._elArrowRight):(a>=l||this._elScrollWrap.scrollWidth<=r)&&i(this._elArrowRight,u.Right))},t.prototype.index=function(){var t=this.getElActiveTab();return t?this.getTabsArray().indexOf(t):-1},t.prototype.getElActiveTab=function(){return this._getActiveElement(this.getTabsArray(),this._options.activeTabClass||"",this._options.inactiveTabClass)},t.prototype.getElActivePage=function(){return this._getActiveElement(this.getPagesArray(),this._options.activePageClass||"",this._options.inactivePageClass)},t.prototype.setActivePage=function(t,e,i){function s(e,i,s){e.forEach(function(e,a){var o=t===a,r=e.classList;i&&r.toggle(i,o),s&&r.toggle(s,!o)})}if(-1!==t&&(t!==this.index()||i)){var a=this.index();s(this.getTabsArray(),this._options.activeTabClass,this._options.inactiveTabClass),s(this.getPagesArray(),this._options.activePageClass,this._options.inactivePageClass),this._options.noSlider||this.updateSlider(a,t,e),this._options.saveTab&&h.setValue(this._options.saveTab,t),this.tabChanged.fire(t)}},t.prototype.updateSlider=function(t,e,i){var a,r,n,l,d,c,h=this;this._options.noSlider||0===(a=this.getTabsArray()[e]).clientWidth||0===a.clientHeight||"none"===window.getComputedStyle(a).getPropertyValue("display")||(r=window.getComputedStyle(a),n=a.offsetLeft+parseInt(r.getPropertyValue("padding-left")),l=this._getElWidth(a),(d=a.querySelector(".js-tabs__slider-pos"))&&(c=window.getComputedStyle(d),n+=parseInt(c.getPropertyValue("padding-left"))+d.offsetLeft,l-=l-this._getElWidth(d)),(i=i||-1===t||document.all&&!window.atob)?(this._elSlider.style.left=n+"px",this._elSlider.style.width=l+"px"):(this._animating=!0,s().then(function(){$.Velocity.animate(h._elSlider,{left:n},{duration:o.dur,easing:"easeOutCubic",queue:!1}),$.Velocity.animate(h._elSlider,{width:l},{complete:function(){h._animating=!1},duration:o.dur,easing:"easeOutCubic",queue:!1})})))},t.prototype.onTabClick=function(t){var e=t.currentTarget||t.target,i=this.getTabsArray().indexOf(e);-1===i||this._isTabDisabled(e)||this.setActivePage(i),document.activeElement.blur(),t.preventDefault()},t.prototype.resizeSlider=function(){var t,e;this._options.noSlider||(t=this._elTabs.offsetWidth)!==this._prevWidth&&(this._prevWidth=t,e=this.index(),this.updateSlider(e,e,!0))},t.prototype.count=function(){return this.getTabsArray().length},t.prototype.add=function(t,e){this._elScrollBox.appendChild(t),this._elPages&&e&&this._elPages.appendChild(e),this._bindTabEvents(t),this.checkScrollArrows(!0)},t.prototype.remove=function(t){function e(t){t.parentElement&&t.parentElement.removeChild(t)}var i,s,a=this.tabAt(t);a&&(this._unbindTabEvents(a),e(a)),(i=this.pageAt(t))&&e(i),s=t-1>=0?t-1:0,this.setActivePage(s),this.checkScrollArrows(!0)},t.prototype.indexOfTab=function(t){return this.getTabsArray().indexOf(t)},t.prototype.indexOfPage=function(t){return this.getPagesArray().indexOf(t)}, +t.prototype.pageAt=function(t){return this.getPagesArray()[t]||null},t.prototype.tabAt=function(t){return this.getTabsArray()[t]||null},t.prototype.deselect=function(t){var e,i=this.getElActiveTab();return this._options.activeTabClass&&i&&i.classList.remove(this._options.activeTabClass),e=this.getElActivePage(),this._options.activePageClass&&e&&e.classList.remove(this._options.activePageClass),this._elSlider&&(this._elSlider.style.left="",this._elSlider.style.width=""),this},t.prototype.stop=function(){this._unbindEvents({})},t.prototype._getElWidth=function(t){if(0===t.offsetWidth)return 0;var e=window.getComputedStyle(t);return t.offsetWidth-parseFloat(e.getPropertyValue("padding-left"))-parseFloat(e.getPropertyValue("padding-right"))-parseFloat(e.getPropertyValue("border-left-width"))-parseFloat(e.getPropertyValue("border-right-width"))},t.prototype._findOrCreateElement=function(t,e,i,s){var a,o,r,n=e.querySelector("."+t);if(!n)if((a=document.createElement("div")).innerHTML=s||'
',n=a.firstElementChild,"append"===i)e.appendChild(n);else{if("wrapInner"!==i)throw new Error("Unknown insertMethod");for(o=Array.prototype.slice.call(e.childNodes),r=0;rn?r=!0:a=e}}),s().then(function(){$.Velocity.animate(e._elScrollWrap,"scroll",{axis:"x",container:$(e._elScrollWrap),duration:o.dur/2,easing:"easeInOutCubic",offset:Math.floor(a-n-e._getElWidth(e._elArrowLeft)),queue:!1})})},target:this._elArrowLeft}),this._elArrowRight&&this._bindOneEvent({eventName:"click",listener:function(t){var i=e.getTabsArray(),r=0,n=p.IS_RTL?0:e._elScrollWrap.scrollLeft+e._getElWidth(e._elScrollWrap);p.IS_RTL&&i.reverse(),i.forEach(function(t){if(0===r){var e=t.offsetLeft+t.offsetWidth;e>n&&(r=e)}}),s().then(function(){$.Velocity.animate(e._elScrollWrap,"scroll",{axis:"x",container:$(e._elScrollWrap),duration:o.dur/2,easing:"easeInOutCubic",offset:Math.ceil(r-n+e._getElWidth(Object(a.ensureDefined)(e._elArrowRight))),queue:!1})})},target:this._elArrowRight}),(t=Array.prototype.slice.call(this._elTabs.querySelectorAll(".js-tabs__slider-hover")||[])).length&&t.forEach(function(t){return e._bindOneEvent({eventName:"mouseenter", +listener:function(t){if(!e._animating){var i=t.currentTarget;i&&e._options.activeTabClass&&i.classList&&i.classList.contains(e._options.activeTabClass)&&e._hoverSlider(i)}},target:t})}),this._bindOneEvent({eventName:"resize",listener:function(){e.checkScrollArrows(!0),e._options.noSlider||e.resizeSlider()},target:window})},t.prototype._bindTabEvents=function(t){var e=this;this._bindOneEvent({eventName:"click",listener:function(t){"function"==typeof e._options.onTabClick?e._options.onTabClick(t):e.onTabClick(t)},target:t})},t.prototype._unbindTabEvents=function(t){this._unbindEvents({target:t})},t.prototype._bindOneEvent=function(t){t.target.addEventListener(t.eventName,t.listener),this._bindings.push(t)},t.prototype._unbindEvents=function(t){var e=function(e){return!(void 0!==e.eventName&&e.eventName!==t.eventName||void 0!==e.target&&e.target!==t.target||void 0!==e.listener&&e.listener!==t.listener)};this._bindings.filter(e).forEach(function(t){return t.target.removeEventListener(t.eventName,t.listener)}),this._bindings=this._bindings.filter(function(t){return!e(t)})},t.prototype._getActiveElement=function(t,e,i){return t.filter(function(t,s,a){return e?t.classList.contains(e):!!i&&!t.classList.contains(i)})[0]||null},t.prototype._isTabDisabled=function(t){return t.classList.contains("i-disabled")||this._options.tabDisabledClass&&t.classList.contains(this._options.tabDisabledClass)||t.hasAttribute("disabled")},t.prototype._hoverSlider=function(t){var e,i=this,a=this._getElWidth(t),r=window.getComputedStyle(t),n=t.offsetLeft+parseInt(r.getPropertyValue("padding-left"))+parseInt(r.getPropertyValue("margin-left")),l={duration:o.dur/4,easing:"easeOutCubic",queue:!1};s().then(function(){$.Velocity.animate(i._elSlider,{left:n},l),$.Velocity.animate(i._elSlider,{width:a},l)}),e=function(){i.getElActiveTab()===t&&i._unhoverSlider(t),t.removeEventListener("mousleave",e)},t.addEventListener("mouseleave",e)},t.prototype._unhoverSlider=function(t){var e=this,i=window.getComputedStyle(t),a=t.querySelector(".js-tabs__slider-pos"),r=window.getComputedStyle(a),n=t.offsetLeft+parseInt(i.getPropertyValue("padding-left"))+parseInt(i.getPropertyValue("margin-left"))+parseInt(r.getPropertyValue("padding-left"))+a.offsetLeft,l=this._getElWidth(t),d=l-(l-this._getElWidth(a)),c={duration:o.dur/2,easing:"easeInSine",queue:!1};s().then(function(){$.Velocity.animate(e._elSlider,{left:n},c),$.Velocity.animate(e._elSlider,{width:d},c)})},t}()}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/28.3f2589cd73664ea3f3e3.js b/charting_library/static/bundles/28.3f2589cd73664ea3f3e3.js new file mode 100644 index 00000000..68782ded --- /dev/null +++ b/charting_library/static/bundles/28.3f2589cd73664ea3f3e3.js @@ -0,0 +1,5 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{"75D8":function(t,e,n){"use strict";function o(t){return{x:t.pageX,y:t.pageY}}function r(t){return{x:t.touches[0].pageX,y:t.touches[0].pageY}}function s(t,e,n,o){var r=function(t,e,n,o){return 180*(Math.atan2(o-e,n-t)+Math.PI/2)/Math.PI}(t,e,n,o);return r<0?360+r:r}function i(t,e,n){var o,r,s;for(void 0===n&&(n=1),o=Math.max(Math.ceil((e-t)/n),0),r=Array(o),s=0;s0&&n.props.selected<=12},n}return l.__extends(e,t),e.prototype.render=function(){var t=this,e=this.props,n=e.center,o=e.radius,r=e.spacing,s=e.selected;return d.createElement("div",null,d.createElement(v,{radius:o,spacing:r,numbers:y,activeNumber:s,format:a,onMouseDown:this._onMouseDown,onTouchStart:this._onTouchStart}),this._renderInnerFace(o*w),d.createElement(g,{ref:function(e){return t._hand=e},length:o-(this.state.isInner?o*w:r)-this.props.numberRadius,angle:s*M,step:M,center:n,onMove:this._onHandMove,onMoveEnd:this._onHandMoveEnd}))},e.prototype._renderInnerFace=function(t){return d.createElement(v,{radius:this.props.radius,spacing:t,numbers:b,activeNumber:this.props.selected,onMouseDown:this._onMouseDown,onTouchStart:this._onTouchStart,isInner:!0})},e.prototype._valueFromDegrees=function(t){return this.state.isInner?b[t/M]:y[t/M]},e}(d.PureComponent),S=i(0,60,5),T=6,C=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._onMouseDown=function(t){e._hand.mouseStart(t)},e._onTouchStart=function(t){e._hand.touchStart(t)},e._onHandMove=function(t){e.props.onChange(t/T)},e._onHandMoveEnd=function(t){e.props.onSelect&&e.props.onSelect(t)},e}return l.__extends(e,t),e.prototype.render=function(){var t=this;return d.createElement("div",null,d.createElement(v,{radius:this.props.radius,spacing:this.props.spacing,numbers:S,activeNumber:this.props.selected,format:a,onMouseDown:this._onMouseDown,onTouchStart:this._onTouchStart}),d.createElement(g,{ref:function(e){return t._hand=e},length:this.props.radius-this.props.spacing-this.props.numberRadius,angle:this.props.selected*T,step:T,center:this.props.center,onMove:this._onHandMove,onMoveEnd:this._onHandMoveEnd}))},e}(d.PureComponent);n.d(e,"a",function(){return h}),c=.18,p=13,function(t){t[t.Hours=0]="Hours",t[t.Minutes=1]="Minutes"}(u||(u={})),h=function(t){function e(e){var n=t.call(this,e)||this;return n._clockFace=null,n._raf=null,n._recalculateTimeout=null,n._calculateShapeBinded=n._calculateShape.bind(n),n._onChangeHours=function(t){n.state.time.hours()!==t&&n._onChange(n.state.time.clone().hours(t))}, +n._onChangeMinutes=function(t){n.state.time.minutes()!==t&&n._onChange(n.state.time.clone().minutes(t))},n._onSelectHours=function(){n._displayMinutes()},n._onSelectMinutes=function(t){t&&t.target instanceof Node&&n._clockFace&&n._clockFace.contains(t.target)&&t.preventDefault(),n.props.onSelect&&n.props.onSelect(n.state.time.clone())},n._displayHours=function(){n.setState({faceType:u.Hours})},n._displayMinutes=function(){n.setState({faceType:u.Minutes})},n._setClockFace=function(t){n._clockFace=t},n.state={center:{x:0,y:0},radius:0,time:n.props.selectedTime,faceType:u.Hours},n}return l.__extends(e,t),e.prototype.render=function(){var t,e;return d.createElement("div",{className:_(f.clock,this.props.className)},d.createElement("div",{className:f.header},d.createElement("span",{className:_(f.number,(t={},t[f.active]=this.state.faceType===u.Hours,t)),onClick:this._displayHours},this.state.time.format("HH")),d.createElement("span",null,":"),d.createElement("span",{className:_(f.number,(e={},e[f.active]=this.state.faceType===u.Minutes,e)),onClick:this._displayMinutes},this.state.time.format("mm"))),d.createElement("div",{className:f.body},d.createElement("div",{className:f.clockFace,ref:this._setClockFace},this.state.faceType===u.Hours?this._renderHours():null,this.state.faceType===u.Minutes?this._renderMinutes():null,d.createElement("span",{className:f.centerDot}))))},e.prototype.componentDidMount=function(){this._calculateShape(),this._recalculateTimeout=setTimeout(this._calculateShapeBinded,1),window.addEventListener("resize",this._calculateShapeBinded),window.addEventListener("scroll",this._calculateShapeBinded,!0)},e.prototype.componentWillUnmount=function(){this._clearTimeout(),window.removeEventListener("resize",this._calculateShapeBinded),window.removeEventListener("scroll",this._calculateShapeBinded,!0),null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)},e.prototype._clearTimeout=function(){null!==this._recalculateTimeout&&(clearTimeout(this._recalculateTimeout),this._recalculateTimeout=null)},e.prototype._renderHours=function(){return d.createElement(E,{center:this.state.center,radius:this.state.radius,spacing:this.state.radius*c,selected:this.state.time.hours(),numberRadius:p,onChange:this._onChangeHours,onSelect:this._onSelectHours})},e.prototype._renderMinutes=function(){return d.createElement(C,{center:this.state.center,radius:this.state.radius,spacing:this.state.radius*c,selected:this.state.time.minutes(),numberRadius:p,onChange:this._onChangeMinutes,onSelect:this._onSelectMinutes})},e.prototype._onChange=function(t){this.setState({time:t}),this.props.onChange&&this.props.onChange(t.clone())},e.prototype._calculateShape=function(){var t=this;null===this._raf&&(this._raf=requestAnimationFrame(function(){var e=Object(m.ensureNotNull)(t._clockFace).getBoundingClientRect(),n=e.left,o=e.top,r=e.width;t.setState({center:{x:n+r/2,y:o+r/2},radius:r/2}),t._raf=null}))},e}(d.PureComponent)},"Db/h":function(t,e,n){t.exports={errors:"errors-C3KBJakt-",show:"show-2G4PY7Uu-",error:"error-3G4k6KUC-"}}, +Oehf:function(t,e,n){t.exports={clock:"clock-3pqBsiNm-",header:"header-pTWMGSpm-",number:"number-9PC9lvyt-",active:"active-1sonmMLV-",body:"body-2Q-g3GDd-",clockFace:"clockFace-eHYbqh-S-",face:"face-2iCoBAOV-",inner:"inner-1mVlhYbe-",hand:"hand-2ZG8pJQb-",knob:"knob-31dEppHa-",centerDot:"centerDot-210Fo0oV-"}},kSQs:function(t,e,n){"use strict";var o,r,s,i,a=n("mrSG"),c=n("q1tI"),p=n("TSYQ"),u=n("uqKQ"),h=n("i8i4"),l=n("Db/h"),d=n("Ialn");n.d(e,"b",function(){return o}),n.d(e,"a",function(){return r}),o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return a.__extends(e,t),e.prototype.render=function(){var t,e,n,o=this.props,r=o.children,s=void 0===r?[]:r,i=o.show,u=void 0!==i&&i,h=o.customErrorClass,m=p(l.errors,((t={})[l.show]=u,t),h),f=s.map(function(t,e){return c.createElement("div",{className:l.error,key:e},t)}),_={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};return d.IS_RTL&&(e=_.left,n=_.right,_=a.__assign({},_,{left:n,right:e})),c.createElement("div",{style:_,className:m},f)},e}(c.PureComponent),r=Object(u.a)((s=o,(i=function(t){function e(e){var n=t.call(this,e)||this;return n._getComponentInstance=function(t){n._instance=t},n._throttleCalcProps=function(){requestAnimationFrame(function(){return n._calcProps(n.props)})},n.state={bottom:n.props.bottom,left:n.props.left,right:n.props.right,top:"number"==typeof n.props.top?n.props.top:-1e4,width:n.props.inheritWidthFromTarget?n.props.target&&n.props.target.getBoundingClientRect().width:n.props.width},n}return a.__extends(e,t),e.prototype.componentDidMount=function(){this._instanceElem=h.findDOMNode(this._instance),this.props.attachOnce||this._subscribe(),this._calcProps(this.props)},e.prototype.componentWillReceiveProps=function(t){if(t.top!==this.props.top&&this.setState({top:t.top}),t.left!==this.props.left&&this.setState({left:t.left}),t.width!==this.props.width&&this.setState({width:t.width}),t.attachmentCommand!==this.props.attachmentCommand&&t.attachmentCommand)switch(t.attachmentCommand.name){case"update":this._calcProps(t)}},e.prototype.componentDidUpdate=function(t){t.children!==this.props.children&&this._calcProps(this.props)},e.prototype.render=function(){return c.createElement(s,a.__assign({},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}),this.props.children)},e.prototype.componentWillUnmount=function(){this._unsubsribe()},e.prototype._calcProps=function(t){var e,n,o,r,s;if(t.target&&t.attachment&&t.targetAttachment){switch(e=this._calcTargetProps(t.target,t.attachment,t.targetAttachment),o=(n=this.props).width,s={width:void 0===(r=n.inheritWidthFromTarget)||r?e.width:o},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}this.setState(s)}},e.prototype._calcTargetProps=function(t,e,n){var o=t.getBoundingClientRect(),r=this._instanceElem.getBoundingClientRect(),s="parent"===this.props.root?this._getCoordsRelToParentEl(t,o):this._getCoordsRelToDocument(o),i=this._getDimensions(r),a=this._getDimensions(o),c=a.width,p=0,u=0;switch(e.vertical){case"top":u=s[n.vertical];break;case"bottom":u=s[n.vertical]-i.height;break;case"middle":u=s[n.vertical]-i.height/2}switch(e.horizontal){case"left":p=s[n.horizontal];break;case"right":p=s[n.horizontal]-i.width;break;case"center":p=s[n.horizontal]-i.width/2}return"number"==typeof this.props.attachmentOffsetY&&(u+=this.props.attachmentOffsetY),"number"==typeof this.props.attachmentOffsetX&&(p+=this.props.attachmentOffsetX),{x:p,y:u,width:c}},e.prototype._getCoordsRelToDocument=function(t){var e=pageYOffset,n=pageXOffset,o=t.top+e,r=t.bottom+e,s=t.left+n,i=t.right+n,a=(o+t.height)/2,c=s+t.width/2;return{top:o,bottom:r,left:s,right:i,middle:a,center:c}},e.prototype._getCoordsRelToParentEl=function(t,e){var n=t.offsetParent,o=n.scrollTop,r=n.scrollLeft,s=t.offsetTop+o,i=t.offsetLeft+r,a=e.width+i,c=e.height+s,p=(s+e.height)/2,u=(i+e.width)/2;return{top:s,bottom:c,left:i,right:a,middle:p,center:u}},e.prototype._getDimensions=function(t){return{height:t.height,width:t.width}},e.prototype._subscribe=function(){"document"===this.props.root&&(window.addEventListener("scroll",this._throttleCalcProps,!0),window.addEventListener("resize",this._throttleCalcProps))},e.prototype._unsubsribe=function(){window.removeEventListener("scroll",this._throttleCalcProps,!0),window.removeEventListener("resize",this._throttleCalcProps)},e}(c.PureComponent)).displayName="Attachable Component",i))},nPPD:function(t,e,n){"use strict";function o(t,e,n){var o,r,s,i,a;for(void 0===n&&(n={}),o=Object.assign({},e),r=0,s=Object.keys(e);r");i.appendTo(t),i.css("padding-left","0px"),i.css("padding-right","0px"),(o=$("")).attr("type","text"),o.addClass("ticker"),o.css("width","40px"),o.attr("id",e),o.appendTo(i)},s=function(t,e,o){var i,n=$("");n.css("padding-left",o),n.css("padding-right",o),n.appendTo(t),(i=$("
")).appendTo(n),i.append(e),i.css("font-size","150%")},(r=$("")).appendTo(t),(a=$("")).appendTo(r),l=["start_hours","start_minutes","end_hours","end_minutes"],n.call(this,a,l[0]),s.call(this,a,":",0),n.call(this,a,l[1]),s.call(this,a,"-",4),n.call(this,a,l[2]),s.call(this,a,":",0),n.call(this,a,l[3]),d=!1,this.bindControl(new p(a,l,e,d,this.model(),i))):w.logError("Session editor adding FAILED: wrong input type.")},i.prototype.prepareControl=function(e,o,i){var n,s,r,a,p,l,d,u,h,c,f,y,m,v,_,C,x,T,S,k,I,O=this,P=null,E=null,L=null;if("resolution"===e.type)P=$('");else if("symbol"===e.type)P=$(''),g().bindToInput(P,{onPopupOpen:function(t){this._$symbolSearchPopup=t,this._symbolSearchZindex&&t.css("z-index",this._symbolSearchZindex)}.bind(this),onPopupClose:function(){this._$symbolSearchPopup=null}.bind(this),callback:function(t){e.value=t}}),o.attr("colspan",5);else if("session"===e.type)this._addSessionEditor(o,this._property.inputs[e.id],e,i);else if("source"===e.type){for(n={},s={open:window.t("open"),high:window.t("high"),low:window.t("low"),close:window.t("close"),hl2:window.t("hl2"),hlc3:window.t("hlc3"),ohlc4:window.t("ohlc4")},r=Object.keys(s),a=0;a").attr("value",S).text(k).appendTo(P);o.addClass("js-value-cell")}else e.options?(P=$(""),"bool"===e.type?P.attr("type","checkbox"):P.attr("type","text"));return P&&(P.appendTo(o),P.is(":checkbox")||"symbol"===e.type||P.css("width","100px")),{valueEditor:P,valueSetter:E,propertyChangedHook:L}},i.prototype._symbolInfoBySymbolProperty=function(t){return this._study.resolvedSymbolInfoBySymbol(t.value())},i.prototype._sortInputs=function(t){return t},i.prototype.prepareLayoutImpl=function(t,e){function o(t){return(new _).format(t)}var i,n,p,l,b,w,g,C,x,T,S,k,I,O,P,E,L,B,V=this._sortInputs(t.inputs);for(i=0;i")).appendTo(e),(g=$("
")).appendTo(w),g.addClass("propertypage-name-label"),g.text(window.t(l,{context:"input"})),(C=$("")).appendTo(w),x=this.prepareControl(n,C,b),T=x.valueEditor,S=x.valueSetter,k=x.propertyChangedHook,n.options?this.bindControl(new y(T,this._property.inputs[p],null,!0,this.model(),b,S,k)):"bar_time"===n.type?(I=10,this.bindControl(new a(T,this._property.inputs[p],!0,this.model(),b,this.model().mainSeries(),I)), +T.addClass("ticker")):"integer"===n.type?(O=[h(n.defval)],(0===n.min||n.min)&&O.push(d(n.min)),(0===n.max||n.max)&&O.push(u(n.max)),this.bindControl(new v(T,this._property.inputs[p],O,!1,this.model(),b)),T.addClass("ticker"),isFinite(n.step)&&n.step>0&&T.attr("data-step",n.step)):"float"===n.type?(O=[c(n.defval)],(0===n.min||n.min)&&O.push(d(n.min)),(0===n.max||n.max)&&O.push(u(n.max)),(P=new v(T,this._property.inputs[p],O,!1,this.model(),b)).addFormatter(o),this.bindControl(P),T.addClass("ticker"),isFinite(n.step)&&n.step>0&&T.attr("data-step",n.step)):"text"===n.type?this.bindControl(new v(T,this._property.inputs[p],null,!1,this.model(),b)):"bool"===n.type?this.bindControl(new m(T,this._property.inputs[p],!0,this.model(),b)):"resolution"===n.type?this.bindControl(new y(T,this._property.inputs[p],s,!0,this.model(),"Change Interval")):"symbol"===n.type&&(E=this._symbolInfoBySymbolProperty.bind(this,this._property.inputs[p]),L=f(E,this._property.inputs[p]),B=new r(T,this._property.inputs[p],!0,this.model(),"Change Symbol",L,this._study.symbolsResolved()),this.bindControl(B))));this._property.offset&&(l=this._property.offset.title?this._property.offset.title.value():window.t("Offset"),T=this.addOffsetEditorRow(e,l),(O=[h(this._property.offset.val)]).push(d(this._property.offset.min)),O.push(u(this._property.offset.max)),this.bindControl(new v(T,this._property.offset.val,O,!1,this.model(),"Undo "+l))),this._property.offsets&&$.each(t.plots,function(t,o){var i,n,s;this._property.offsets[o.id]&&(void 0!==(i=this._property.offsets[o.id]).isHidden&&i.isHidden.value()||(n=i.title.value(),T=this.addOffsetEditorRow(e,n),(s=[h(i.val)]).push(d(i.min)),s.push(u(i.max)),this.bindControl(new v(T,i.val,s,!1,this.model(),"Undo "+n))))}.bind(this))},i.prototype.prepareLayout=function(){this._table=$(""),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2");var t=this._study.metaInfo();this.prepareLayoutImpl(t,this._table),this.loadData()},i.prototype.symbolSearchPopup=function(){return this._$symbolSearchPopup},i.prototype.widget=function(){return this._table},e.StudyInputsPropertyPage=i}).call(this,o("Kxc7"))},PVgW:function(t,e,o){"use strict";function i(t){return t=Math.abs(t),!Object(l.isInteger)(t)&&t>1&&(t=parseFloat(t.toString().replace(/^.+\./,"0."))),0').appendTo(a.parent()),o=$('
').html(d).appendTo(e),i=$('
').html(d).appendTo(e),e.on("mousedown",function(t){t.preventDefault(),a.focus()}),o.click(function(){a.is(":disabled")||s(a)}),i.click(function(){a.is(":disabled")||r(a)}),a.keydown(function(t){a.is(":disabled")||(38===t.keyCode?o.addClass("i-active"):40===t.keyCode&&i.addClass("i-active"))}),a.keyup(function(t){a.is(":disabled")||(38===t.keyCode?(s(a),o.removeClass("i-active")):40===t.keyCode&&(r(a),i.removeClass("i-active")))}),a.mousewheel(function(t){t.deltaY*(t.deltaFactor/100)>0?o.click():i.click()}))})}},"R4+T":function(t,e){t.exports=''},"y1L/":function(t,e,o){}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/3.f41fdd1a128935b63e5b.js b/charting_library/static/bundles/3.f41fdd1a128935b63e5b.js new file mode 100644 index 00000000..40b5ed07 --- /dev/null +++ b/charting_library/static/bundles/3.f41fdd1a128935b63e5b.js @@ -0,0 +1,3 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{"+EG+":function(e,t,n){"use strict";var o,i,r,s;n.d(t,"a",function(){return r}),n.d(t,"b",function(){return s}),o=n("mrSG"),i=n("q1tI"),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.shouldComponentUpdate=function(){return!1},t.prototype.render=function(){return i.createElement("div",{style:{position:"fixed",zIndex:150,left:0,top:0},ref:this.props.reference})},t}(i.Component),s=i.createContext(null)},"6uNr":function(e,t,n){e.exports={menuWrap:"menuWrap-1gEtmoET-",isMeasuring:"isMeasuring-FZ0EJCM2-",scrollWrap:"scrollWrap-1B5MfTJt-",momentumBased:"momentumBased-1Jq4gQt2-",menuBox:"menuBox-20sJGjtG-",isHidden:"isHidden-2vLQpR1t-"}},DTHj:function(e,t,n){"use strict";var o,i,r,s,a,u,d,l,c,p,h;n.d(t,"a",function(){return h}),o=n("mrSG"),i=n("q1tI"),r=n("TSYQ"),s=n("Eyy1"),a=n("Hr11"),u=n("XAms"),d=n("+EG+"),l=n("tWVy"),c=n("jAh7"),p=n("6uNr"),h=function(e){function t(t){var n=e.call(this,t)||this;return n._containerRef=null,n._scrollWrapRef=null,n._raf=null,n._manager=new c.OverlapManager,n._handleContainerRef=function(e){return n._containerRef=e},n._handleScrollWrapRef=function(e){return n._scrollWrapRef=e},n._handleMeasure=function(){var e,t,o,i,r,u,d,l,c,p,h,m,f,_,v,g;n.state.isMeasureValid||(e=n.props.position,o=(t=Object(s.ensureNotNull)(n._containerRef)).getBoundingClientRect(),i=document.documentElement.clientHeight,r=document.documentElement.clientWidth,u=i-10,(d=o.height>u)&&(Object(s.ensureNotNull)(n._scrollWrapRef).style.overflowY="scroll",o=t.getBoundingClientRect()),l=o.width,c=o.height,p="function"==typeof e?e(l,c):e,h=5,m=r-l-5,f=Object(a.clamp)(p.x,h,Math.max(h,m)),_=5,v=i-(p.overrideHeight||c)-5,g=Object(a.clamp)(p.y,_,Math.max(_,v)),n.setState({appearingMenuHeight:p.overrideHeight||(d?u:void 0),appearingMenuWidth:p.overrideWidth,appearingPosition:{x:f,y:g},isMeasureValid:!0},n._scrollToFocusedElement))},n._scrollToFocusedElement=function(){var e=document.activeElement,t=Object(s.ensureNotNull)(n._containerRef);null!==e&&t.contains(e)&&e.scrollIntoView()},n._resize=function(){null===n._raf&&(n._raf=requestAnimationFrame(function(){n.setState({appearingMenuHeight:void 0,appearingMenuWidth:void 0,appearingPosition:void 0,isMeasureValid:void 0}),n._raf=null}))},n._handleGlobalClose=function(){n.props.onClose()},n._handleSlot=function(e){n._manager.setContainer(e)},n.state={},n}return o.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.isOpened&&!e.isOpened&&this.setState({isMeasureValid:void 0})},t.prototype.componentDidMount=function(){this._handleMeasure();var e=this.props.customCloseDelegate;(void 0===e?l.a:e).subscribe(this,this._handleGlobalClose),window.addEventListener("resize",this._resize)},t.prototype.componentDidUpdate=function(){this._handleMeasure()},t.prototype.componentWillUnmount=function(){var e=this.props.customCloseDelegate;(void 0===e?l.a:e).unsubscribe(this,this._handleGlobalClose),window.removeEventListener("resize",this._resize), +null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null)},t.prototype.render=function(){var e=this.props,t=e.children,n=e.minWidth,o=e.theme,s=void 0===o?p:o,a=e.className,l=this.state,c=l.appearingMenuHeight,h=l.appearingMenuWidth,m=l.appearingPosition,f=l.isMeasureValid;return i.createElement(i.Fragment,null,i.createElement(d.b.Provider,{value:this._manager},i.createElement("div",{className:r(a,s.menuWrap,!f&&s.isMeasuring),style:{height:c,left:m&&m.x,minWidth:n,position:"fixed",top:m&&m.y,width:h},ref:this._handleContainerRef,onScroll:this.props.onScroll,onContextMenu:u.b},i.createElement("div",{className:r(s.scrollWrap,!this.props.noMomentumBasedScroll&&s.momentumBased),style:{overflowY:void 0!==c?"scroll":"auto"},ref:this._handleScrollWrapRef},i.createElement("div",{className:s.menuBox},t)))),i.createElement(d.a,{reference:this._handleSlot}))},t}(i.PureComponent)},RgaO:function(e,t,n){"use strict";var o,i,r;n.d(t,"a",function(){return r}),o=n("mrSG"),i=n("q1tI"),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._scope=null,t._handleScopeRef=function(e){return t._scope=e},t._handleOutsideEvent=function(e){void 0!==t.props.handler&&null!==t._scope&&e.target instanceof Node&&(t._scope.contains(e.target)||t.props.handler(e))},t}return o.__extends(t,e),t.prototype.componentDidMount=function(){this.props.click&&document.addEventListener("click",this._handleOutsideEvent,!1),this.props.mouseDown&&document.addEventListener("mousedown",this._handleOutsideEvent,!1),this.props.touchEnd&&document.addEventListener("touchend",this._handleOutsideEvent,!1),this.props.touchStart&&document.addEventListener("touchstart",this._handleOutsideEvent,!1)},t.prototype.componentWillUnmount=function(){document.removeEventListener("click",this._handleOutsideEvent,!1),document.removeEventListener("mousedown",this._handleOutsideEvent,!1),document.removeEventListener("touchend",this._handleOutsideEvent,!1),document.removeEventListener("touchstart",this._handleOutsideEvent,!1)},t.prototype.render=function(){var e=this.props,t=(e.click,e.handler,e.mouseDown,e.touchEnd,e.touchStart,e.ctor),n=void 0===t?"span":t,r=o.__rest(e,["click","handler","mouseDown","touchEnd","touchStart","ctor"]);return i.createElement(n,o.__assign({},r,{ref:this._handleScopeRef}))},t}(i.PureComponent)},jAh7:function(e,t,n){"use strict";function o(e){var t,n,o;return void 0===e&&(e=document),null!==(t=e.getElementById("overlap-manager-root"))?Object(i.ensureDefined)(a.get(t)):(n=new s(e),o=function(e){var 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),a.set(o,n),n.setContainer(o),e.body.appendChild(o),n)}var i,r,s,a;n.r(t),n.d(t,"OverlapManager",function(){return s}),n.d(t,"getRootOverlapManager",function(){return o}),i=n("Eyy1"),r=function(){function e(){this._storage=[]}return e.prototype.add=function(e){this._storage.push(e)},e.prototype.remove=function(e){this._storage=this._storage.filter(function(t){return e!==t}) +},e.prototype.has=function(e){return this._storage.includes(e)},e.prototype.getItems=function(){return this._storage},e}(),s=function(){function e(e){void 0===e&&(e=document),this._storage=new r,this._windows=new Map,this._index=0,this._document=e,this._container=e.createDocumentFragment()}return e.prototype.setContainer=function(e){var t=this._container,n=null===e?this._document.createDocumentFragment():e;!function(e,t){Array.from(e.childNodes).forEach(function(e){e.nodeType===Node.ELEMENT_NODE&&t.appendChild(e)})}(t,n),this._container=n},e.prototype.registerWindow=function(e){this._storage.has(e)||this._storage.add(e)},e.prototype.ensureWindow=function(e,t){var n,o;return void 0===t&&(t={position:"fixed"}),void 0!==(n=this._windows.get(e))?n:(this.registerWindow(e),(o=this._document.createElement("div")).style.position=t.position,o.style.zIndex=this._index.toString(),o.dataset.id=e,this._container.appendChild(o),this._windows.set(e,o),++this._index,o)},e.prototype.unregisterWindow=function(e){this._storage.remove(e);var t=this._windows.get(e);void 0!==t&&(null!==t.parentElement&&t.parentElement.removeChild(t),this._windows.delete(e))},e.prototype.getZindex=function(e){var t=this.ensureWindow(e);return parseInt(t.style.zIndex||"0")},e.prototype.moveToTop=function(e){this.getZindex(e)!==this._index&&(this.ensureWindow(e).style.zIndex=(++this._index).toString())},e.prototype.removeWindow=function(e){this.unregisterWindow(e)},e}(),a=new WeakMap}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/30.c3cc90c5fbe9a2b87ffb.js b/charting_library/static/bundles/30.c3cc90c5fbe9a2b87ffb.js new file mode 100644 index 00000000..de3554e0 --- /dev/null +++ b/charting_library/static/bundles/30.c3cc90c5fbe9a2b87ffb.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[30],{"4Cm8":function(t,e,i){"use strict";function s(t){var e;return c.createElement("div",{className:h(b.fadeLeft,(e={},e[b.isVisible]=t.isVisible,e))})}function r(t){var e;return c.createElement("div",{className:h(b.fadeRight,(e={},e[b.isVisible]=t.isVisible,e))})}function n(t){return c.createElement(l,a.__assign({},t,{className:b.scrollLeft}))}function o(t){return c.createElement(l,a.__assign({},t,{className:b.scrollRight}))}function l(t){var e;return c.createElement("div",{className:h(t.className,(e={},e[b.isVisible]=t.isVisible,e)),onClick:t.onClick},c.createElement("div",{className:b.iconWrap},c.createElement(p.a,{icon:m,className:b.icon})))}var a,c,h,u,p,d,f,w,m,b,_,R,S,V,v,g;i.d(e,"a",function(){return _}),a=i("mrSG"),c=i("q1tI"),h=i("TSYQ"),u=i("XmVn"),p=i("jjrI"),d=i("beCu"),f=i("j1f4"),w=i("Ialn"),m=i("Vike"),b=i("ji/R"),S=o,V=s,v=r,void 0===(R=n)&&(R=n),void 0===S&&(S=o),void 0===V&&(V=s),void 0===v&&(v=r),(g=function(t){function e(e){var i=t.call(this,e)||this;return i._scroll=c.createRef(),i._wrapMeasureRef=c.createRef(),i._contentMeasureRef=c.createRef(),i._handleScrollLeft=function(){i.props.onScrollButtonClick?i.props.onScrollButtonClick("left"):i.animateTo(Math.max(0,i.currentPosition()-(i.state.widthWrap-50)))},i._handleScrollRight=function(){i.props.onScrollButtonClick?i.props.onScrollButtonClick("right"):i.animateTo(Math.min((i.state.widthContent||0)-(i.state.widthWrap||0),i.currentPosition()+(i.state.widthWrap-50)))},i._handleResizeWrap=function(t){i.props.onMeasureWrap&&i.props.onMeasureWrap(t),i.setState({widthWrap:t.width}),i._checkButtonsVisibility()},i._handleResizeContent=function(t){i.props.onMeasureContent&&i.props.onMeasureContent(t);var e=i.props,s=e.shouldDecreaseWidthContent,r=e.buttonsWidthIfDecreasedWidthContent;s&&r?i.setState({widthContent:t.width+2*r}):i.setState({widthContent:t.width})},i._handleScroll=function(){var t=i.props.onScroll;t&&t(i.currentPosition(),i.isAtLeft(),i.isAtRight()),i._checkButtonsVisibility()},i._checkButtonsVisibility=function(){var t,e,s,r,n;(i.props.isVisibleButtons||i.props.isVisibleFade)&&(e=(t=i.state).isVisibleLeftButton,s=t.isVisibleRightButton,r=i.isAtLeft(),n=i.isAtRight(),r||e?r&&e&&i.setState({isVisibleLeftButton:!1}):i.setState({isVisibleLeftButton:!0}),n||s?n&&s&&i.setState({isVisibleRightButton:!1}):i.setState({isVisibleRightButton:!0}))},i.state={widthContent:0,widthWrap:0,isVisibleRightButton:!1,isVisibleLeftButton:!1},i}return a.__extends(e,t),e.prototype.componentDidMount=function(){this._checkButtonsVisibility()},e.prototype.componentDidUpdate=function(t,e){e.widthWrap===this.state.widthWrap&&e.widthContent===this.state.widthContent||this._handleScroll(),this.props.shouldMeasure&&this._wrapMeasureRef.current&&this._contentMeasureRef.current&&(this._wrapMeasureRef.current.measure(),this._contentMeasureRef.current.measure())},e.prototype.currentPosition=function(){return this._scroll.current?w.IS_RTL?Object(w.getLTRScrollLeft)(this._scroll.current):this._scroll.current.scrollLeft:0}, +e.prototype.isAtLeft=function(){return!this._isOverflowed()||this.currentPosition()<=this.props.hideButtonsFrom},e.prototype.isAtRight=function(){return!this._isOverflowed()||this.currentPosition()+this.state.widthWrap>=this.state.widthContent-this.props.hideButtonsFrom},e.prototype.animateTo=function(t,e){void 0===e&&(e=f.dur);var i=this._scroll.current;i&&(w.IS_RTL&&(t=Object(w.getLTRScrollLeftOffset)(i,t)),e<=0?i.scrollLeft=Math.round(t):Object(d.doAnimate)({onStep:function(t,e){i.scrollLeft=Math.round(e)},from:i.scrollLeft,to:Math.round(t),easing:f.easingFunc.easeInOutCubic,duration:e}))},e.prototype.render=function(){var t,e=this.props,i=e.children,s=e.isVisibleScrollbar,r=e.isVisibleFade,n=e.isVisibleButtons,o=e.shouldMeasure,l=e.shouldDecreaseWidthContent,a=e.buttonsWidthIfDecreasedWidthContent,p=this.state,d=p.isVisibleRightButton,f=p.isVisibleLeftButton,w=l&&a;return c.createElement(u,{whitelist:["width"],onMeasure:this._handleResizeWrap,shouldMeasure:o,ref:this._wrapMeasureRef},c.createElement("div",{className:b.wrapOverflow},c.createElement("div",{className:h(b.wrap,w?b.wrapWithArrowsOuting:"")},c.createElement("div",{className:h(b.scrollWrap,(t={},t[b.noScrollBar]=!s,t)),onScroll:this._handleScroll,ref:this._scroll},c.createElement(u,{onMeasure:this._handleResizeContent,whitelist:["width"],shouldMeasure:o,ref:this._contentMeasureRef},i)),r&&c.createElement(V,{isVisible:f}),r&&c.createElement(v,{isVisible:d}),n&&c.createElement(R,{onClick:this._handleScrollLeft,isVisible:f}),n&&c.createElement(S,{onClick:this._handleScrollRight,isVisible:d}))))},e.prototype._isOverflowed=function(){var t=this.state;return t.widthContent>t.widthWrap},e}(c.PureComponent)).defaultProps={isVisibleScrollbar:!0,shouldMeasure:!0,hideButtonsFrom:1},_=g},Vike:function(t,e){t.exports=''},"ji/R":function(t,e,i){t.exports={wrap:"wrap-5DN0XnS4-",wrapWithArrowsOuting:"wrapWithArrowsOuting-1OPNi0IP-",wrapOverflow:"wrapOverflow-2FHnhKaN-",scrollWrap:"scrollWrap-nAnkzkWd-",noScrollBar:"noScrollBar-34JzryqI-",icon:"icon-1nfNqIRh-",scrollLeft:"scrollLeft-2cl_k1e7-",scrollRight:"scrollRight-2SEqCpTf-",isVisible:"isVisible-Stm3XOHb-",iconWrap:"iconWrap-1E4GEP7h-",fadeLeft:"fadeLeft-244lj3pA-",fadeRight:"fadeRight-1JnS42hI-"}}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/31.5c895c4f655400b0b4e2.css b/charting_library/static/bundles/31.5c895c4f655400b0b4e2.css new file mode 100644 index 00000000..84adb0dd --- /dev/null +++ b/charting_library/static/bundles/31.5c895c4f655400b0b4e2.css @@ -0,0 +1 @@ +.icon-3yfDkFjY-{display:flex;flex-direction:row;align-items:center;transition:transform .35s cubic-bezier(.175,.885,.32,1.275)}.icon-3yfDkFjY- svg{display:block;fill:currentColor;width:8px;height:4px}.icon-3yfDkFjY-.dropped-50rfOQ8V-{transform:rotate(180deg)}.button-13wlLwhJ-{display:flex;flex:1 0 auto;align-items:center;height:100%;cursor:default;color:#131722;position:relative;z-index:0;transition:background-color .35s ease,color 60ms ease}html.theme-dark .button-13wlLwhJ-{color:#787b86}.button-13wlLwhJ-:active{color:#000}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-:hover{color:#000}}html.theme-dark .button-13wlLwhJ-:active{color:#868993}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-13wlLwhJ-:hover{color:#868993}}.button-13wlLwhJ-.hover-3L87f6Kw-:before,.button-13wlLwhJ-:active:before{content:"";display:block;position:absolute;z-index:-1;top:2px;right:2px;bottom:2px;left:2px;background-color:#f0f3fa;border-radius:2px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:2px;right:2px;bottom:2px;left:2px;background-color:#f0f3fa;border-radius:2px}}html.theme-dark .button-13wlLwhJ-.hover-3L87f6Kw-:before,html.theme-dark .button-13wlLwhJ-:active:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-13wlLwhJ-:hover:before{background-color:#2a2e39}}.button-13wlLwhJ- svg{display:block;fill:currentColor}.button-13wlLwhJ- .arrow-2pXEy7ej-{display:flex;contain:content;align-items:center;height:100%}.button-13wlLwhJ- .arrowWrap-r5l5nQXU-{margin:0 6px;transition:transform .35s ease}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-:hover .arrowWrap-r5l5nQXU-{transform:translateY(2px)}}.button-13wlLwhJ-.isOpened-1939ai3F-.hover-3L87f6Kw-:before,.button-13wlLwhJ-.isOpened-1939ai3F-:active:before,.button-13wlLwhJ-.isOpened-1939ai3F-:before{content:"";display:block;position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;border-radius:0;background-color:#f0f3fa}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-.isOpened-1939ai3F-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:0;right:0;bottom:0;left:0;border-radius:0;background-color:#f0f3fa}}html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-.hover-3L87f6Kw-:before,html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-:active:before,html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-:hover:before{background-color:#2a2e39}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-.isOpened-1939ai3F-:hover .arrowWrap-r5l5nQXU-{transform:none}} \ No newline at end of file diff --git a/charting_library/static/bundles/31.5c895c4f655400b0b4e2.rtl.css b/charting_library/static/bundles/31.5c895c4f655400b0b4e2.rtl.css new file mode 100644 index 00000000..d0c0441e --- /dev/null +++ b/charting_library/static/bundles/31.5c895c4f655400b0b4e2.rtl.css @@ -0,0 +1 @@ +.icon-3yfDkFjY-{display:flex;flex-direction:row;align-items:center;transition:transform .35s cubic-bezier(.175,.885,.32,1.275)}.icon-3yfDkFjY- svg{display:block;fill:currentColor;width:8px;height:4px}.icon-3yfDkFjY-.dropped-50rfOQ8V-{transform:rotate(-180deg)}.button-13wlLwhJ-{display:flex;flex:1 0 auto;align-items:center;height:100%;cursor:default;color:#131722;position:relative;z-index:0;transition:background-color .35s ease,color 60ms ease}html.theme-dark .button-13wlLwhJ-{color:#787b86}.button-13wlLwhJ-:active{color:#000}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-:hover{color:#000}}html.theme-dark .button-13wlLwhJ-:active{color:#868993}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-13wlLwhJ-:hover{color:#868993}}.button-13wlLwhJ-.hover-3L87f6Kw-:before,.button-13wlLwhJ-:active:before{content:"";display:block;position:absolute;z-index:-1;top:2px;left:2px;bottom:2px;right:2px;background-color:#f0f3fa;border-radius:2px}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:2px;left:2px;bottom:2px;right:2px;background-color:#f0f3fa;border-radius:2px}}html.theme-dark .button-13wlLwhJ-.hover-3L87f6Kw-:before,html.theme-dark .button-13wlLwhJ-:active:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-13wlLwhJ-:hover:before{background-color:#2a2e39}}.button-13wlLwhJ- svg{display:block;fill:currentColor}.button-13wlLwhJ- .arrow-2pXEy7ej-{display:flex;contain:content;align-items:center;height:100%}.button-13wlLwhJ- .arrowWrap-r5l5nQXU-{margin:0 6px;transition:transform .35s ease}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-:hover .arrowWrap-r5l5nQXU-{transform:translateY(2px)}}.button-13wlLwhJ-.isOpened-1939ai3F-.hover-3L87f6Kw-:before,.button-13wlLwhJ-.isOpened-1939ai3F-:active:before,.button-13wlLwhJ-.isOpened-1939ai3F-:before{content:"";display:block;position:absolute;z-index:-1;top:0;left:0;bottom:0;right:0;border-radius:0;background-color:#f0f3fa}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-.isOpened-1939ai3F-:hover:before{content:"";display:block;position:absolute;z-index:-1;top:0;left:0;bottom:0;right:0;border-radius:0;background-color:#f0f3fa}}html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-.hover-3L87f6Kw-:before,html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-:active:before,html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-:before{background-color:#2a2e39}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .button-13wlLwhJ-.isOpened-1939ai3F-:hover:before{background-color:#2a2e39}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.button-13wlLwhJ-.isOpened-1939ai3F-:hover .arrowWrap-r5l5nQXU-{transform:none}} \ No newline at end of file diff --git a/charting_library/static/bundles/31.d081df3316799b489847.js b/charting_library/static/bundles/31.d081df3316799b489847.js new file mode 100644 index 00000000..9b840334 --- /dev/null +++ b/charting_library/static/bundles/31.d081df3316799b489847.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[31],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/32.48df7a8cdc38d60b308b.js b/charting_library/static/bundles/32.48df7a8cdc38d60b308b.js new file mode 100644 index 00000000..bae58312 --- /dev/null +++ b/charting_library/static/bundles/32.48df7a8cdc38d60b308b.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[32],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/32.b92773bfff0363a69bb9.css b/charting_library/static/bundles/32.b92773bfff0363a69bb9.css new file mode 100644 index 00000000..c941075e --- /dev/null +++ b/charting_library/static/bundles/32.b92773bfff0363a69bb9.css @@ -0,0 +1 @@ +.errors-C3KBJakt-{position:absolute;z-index:2;margin-bottom:1px;padding:10px 15px;color:#fff;opacity:0;text-align:center;border-radius:3px;background-color:#2a2e39;pointer-events:none;transform:translateY(-3px);box-sizing:border-box}html.theme-dark .errors-C3KBJakt-{background-color:#363c4e}.errors-C3KBJakt-:empty{display:none}.errors-C3KBJakt-.show-2G4PY7Uu-{opacity:1}.errors-C3KBJakt- .error-3G4k6KUC-{font-size:12px;line-height:1.4;text-transform:none}.clock-3pqBsiNm-{display:flex;flex-direction:column;border-radius:3px;background-color:#fff;box-shadow:0 2px 4px 0 rgba(107,121,136,.4)}html.theme-dark .clock-3pqBsiNm-{background-color:#1e222d;box-shadow:0 2px 4px 0 #000}.header-pTWMGSpm-{flex:0 0 50px;height:50px;box-sizing:border-box;font-size:24px;line-height:1;text-align:center;padding:10px 0;border-bottom:1px solid;border-bottom-color:#eceff2;color:#262b3e}html.theme-dark .header-pTWMGSpm-{color:#c5cbce;border-bottom-color:#363c4e}.header-pTWMGSpm- .number-9PC9lvyt-{padding:0 3px;cursor:pointer}.header-pTWMGSpm- .number-9PC9lvyt-.active-1sonmMLV-{color:#2196f3}.body-2Q-g3GDd-{padding:10px;background:#f7f8fa;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}html.theme-dark .body-2Q-g3GDd-{background:#1c2030}.clockFace-eHYbqh-S-{position:relative;width:200px;height:200px;border-radius:50%;box-sizing:border-box;margin:0 auto;background:#fff}html.theme-dark .clockFace-eHYbqh-S-{background:#262b3e}.clockFace-eHYbqh-S- div{position:absolute;width:100%;height:100%}.clockFace-eHYbqh-S- .face-2iCoBAOV-{position:absolute;top:0;left:0;border-radius:50%;font-size:15px;pointer-events:none}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-{position:absolute;width:28px;height:28px;margin-top:-14px;margin-left:-14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border-radius:50%;display:flex;align-items:center;text-align:center;pointer-events:all;color:#262b3e;transition:background-color 60ms ease}html.theme-dark .clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-{color:#c5cbce}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt->span{flex:1 1 auto}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:hover{background-color:rgba(247,248,250,.5)}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:hover{background-color:rgba(28,32,48,.5)}}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:active{background-color:#f7f8fa}html.theme-dark .clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:active{background-color:#1c2030}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-.inner-1mVlhYbe-{font-size:120%}.clockFace-eHYbqh-S- .hand-2ZG8pJQb-{position:absolute;display:block;pointer-events:none;bottom:50%;left:50%;width:1px;margin-left:-.5px;transform-origin:50% 100%;background:#2196f3}.clockFace-eHYbqh-S- .hand-2ZG8pJQb- .knob-31dEppHa-{position:absolute;top:-26px;left:50%;width:26px;height:26px;margin-left:-13px;box-sizing:border-box;border-radius:50%;border:2px solid;border-color:#2196f3}html.theme-dark .clockFace-eHYbqh-S- .hand-2ZG8pJQb- .knob-31dEppHa-{border-color:#1976d2}.clockFace-eHYbqh-S- .centerDot-210Fo0oV-{position:absolute;top:50%;left:50%;width:4px;height:4px;margin-top:-2px;margin-left:-2px;content:"";border-radius:50%;background:#2196f3} \ No newline at end of file diff --git a/charting_library/static/bundles/32.b92773bfff0363a69bb9.rtl.css b/charting_library/static/bundles/32.b92773bfff0363a69bb9.rtl.css new file mode 100644 index 00000000..435de729 --- /dev/null +++ b/charting_library/static/bundles/32.b92773bfff0363a69bb9.rtl.css @@ -0,0 +1 @@ +.errors-C3KBJakt-{position:absolute;z-index:2;margin-bottom:1px;padding:10px 15px;color:#fff;opacity:0;text-align:center;border-radius:3px;background-color:#2a2e39;pointer-events:none;transform:translateY(-3px);box-sizing:border-box}html.theme-dark .errors-C3KBJakt-{background-color:#363c4e}.errors-C3KBJakt-:empty{display:none}.errors-C3KBJakt-.show-2G4PY7Uu-{opacity:1}.errors-C3KBJakt- .error-3G4k6KUC-{font-size:12px;line-height:1.4;text-transform:none}.clock-3pqBsiNm-{display:flex;flex-direction:column;border-radius:3px;background-color:#fff;box-shadow:0 2px 4px 0 rgba(107,121,136,.4)}html.theme-dark .clock-3pqBsiNm-{background-color:#1e222d;box-shadow:0 2px 4px 0 #000}.header-pTWMGSpm-{flex:0 0 50px;height:50px;box-sizing:border-box;font-size:24px;line-height:1;text-align:center;padding:10px 0;border-bottom:1px solid;border-bottom-color:#eceff2;color:#262b3e}html.theme-dark .header-pTWMGSpm-{color:#c5cbce;border-bottom-color:#363c4e}.header-pTWMGSpm- .number-9PC9lvyt-{padding:0 3px;cursor:pointer}.header-pTWMGSpm- .number-9PC9lvyt-.active-1sonmMLV-{color:#2196f3}.body-2Q-g3GDd-{padding:10px;background:#f7f8fa;flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}html.theme-dark .body-2Q-g3GDd-{background:#1c2030}.clockFace-eHYbqh-S-{position:relative;width:200px;height:200px;border-radius:50%;box-sizing:border-box;margin:0 auto;background:#fff}html.theme-dark .clockFace-eHYbqh-S-{background:#262b3e}.clockFace-eHYbqh-S- div{position:absolute;width:100%;height:100%}.clockFace-eHYbqh-S- .face-2iCoBAOV-{position:absolute;top:0;right:0;border-radius:50%;font-size:15px;pointer-events:none}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-{position:absolute;width:28px;height:28px;margin-top:-14px;margin-left:-14px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;border-radius:50%;display:flex;align-items:center;text-align:center;pointer-events:all;color:#262b3e;transition:background-color 60ms ease}html.theme-dark .clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-{color:#c5cbce}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt->span{flex:1 1 auto}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:hover{background-color:rgba(247,248,250,.5)}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:hover{background-color:rgba(28,32,48,.5)}}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:active{background-color:#f7f8fa}html.theme-dark .clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-:active{background-color:#1c2030}.clockFace-eHYbqh-S- .face-2iCoBAOV- .number-9PC9lvyt-.inner-1mVlhYbe-{font-size:120%}.clockFace-eHYbqh-S- .hand-2ZG8pJQb-{position:absolute;display:block;pointer-events:none;bottom:50%;right:50%;width:1px;margin-right:-.5px;transform-origin:50% 100%;background:#2196f3}.clockFace-eHYbqh-S- .hand-2ZG8pJQb- .knob-31dEppHa-{position:absolute;top:-26px;right:50%;width:26px;height:26px;margin-right:-13px;box-sizing:border-box;border-radius:50%;border:2px solid;border-color:#2196f3}html.theme-dark .clockFace-eHYbqh-S- .hand-2ZG8pJQb- .knob-31dEppHa-{border-color:#1976d2}.clockFace-eHYbqh-S- .centerDot-210Fo0oV-{position:absolute;top:50%;right:50%;width:4px;height:4px;margin-top:-2px;margin-right:-2px;content:"";border-radius:50%;background:#2196f3} \ No newline at end of file diff --git a/charting_library/static/bundles/33.4a74c62095be3045c87e.js b/charting_library/static/bundles/33.4a74c62095be3045c87e.js new file mode 100644 index 00000000..28ac26bc --- /dev/null +++ b/charting_library/static/bundles/33.4a74c62095be3045c87e.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[33],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/33.ac320c107772f8e72252.css b/charting_library/static/bundles/33.ac320c107772f8e72252.css new file mode 100644 index 00000000..d66f7794 --- /dev/null +++ b/charting_library/static/bundles/33.ac320c107772f8e72252.css @@ -0,0 +1 @@ +.ghost-3yO24wIn-.primary-1rSzOFdX-{color:#2196f3;border:1px solid #2196f3;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.primary-1rSzOFdX-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.success-1qQ3_tEI-{color:#3cbc98;border:1px solid #3cbc98;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.success-1qQ3_tEI-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.danger-jKTO4wDd-{color:#ff4a68;border:1px solid #ff4a68;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.danger-jKTO4wDd-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.warning-2uDfz7Zc-{color:#f89e30;border:1px solid #f89e30;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.warning-2uDfz7Zc-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.secondary-3ll81brZ-{color:#757575;border:1px solid #e9eff2;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.secondary-3ll81brZ-:hover{color:#757575;transition-duration:.06s}}.button-2O-nMUcz-{display:inline-flex;justify-content:center;align-items:center;padding:0;position:relative;min-width:35px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;white-space:nowrap;outline:0;cursor:pointer;overflow:hidden;box-sizing:border-box;line-height:32px;font-size:14px;transition:background-color .35s ease,border-color .35s ease,color .35s ease;border-radius:2px;border:1px solid transparent}.button-2O-nMUcz-.withPadding-_5CJoO5q-{padding:0 22px}.button-2O-nMUcz-+.button-2O-nMUcz-{margin-left:15px}.hiddenText-3qcN5Wif-{visibility:hidden;flex:1 1 auto}.text-2KOWx3rB-{position:absolute;left:0;right:0;bottom:0;top:0;text-align:center;display:inline-flex;justify-content:center;align-items:center;transition:opacity .175s ease,transform .175s ease}.loader-1CC-1F8J-{display:inline-block;transition:opacity .35s ease;opacity:1}.base-2d4XFcnI-{color:#757575;border-color:#adaeb0;background-color:transparent}html.theme-dark .base-2d4XFcnI-{border-color:#4f5966;color:#758696}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.base-2d4XFcnI-:hover{background-color:#f2f2f2;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .base-2d4XFcnI-:hover{background-color:#1c2030}}.base-2d4XFcnI-:active{background-color:#ececec;transition-duration:.06s}html.theme-dark .base-2d4XFcnI-:active{background-color:#262b3e}.primary-1rSzOFdX-{color:#fff;border-color:#2196f3;background-color:#2196f3}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.primary-1rSzOFdX-:hover{background-color:#1e88e5;transition-duration:.06s}}.primary-1rSzOFdX-:active{background-color:#049ddc;transition-duration:.06s}.success-1qQ3_tEI-{color:#fff;border-color:#3cbc98;background-color:#3cbc98}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.success-1qQ3_tEI-:hover{background-color:#38b395;transition-duration:.06s}}.success-1qQ3_tEI-:active{background-color:#00a97f;transition-duration:.06s}.danger-jKTO4wDd-{color:#fff;border-color:#ff4a68;background-color:#ff4a68}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.danger-jKTO4wDd-:hover{background-color:#f24965;transition-duration:.06s}}.danger-jKTO4wDd-:active{background-color:#ff173e;transition-duration:.06s}.warning-2uDfz7Zc-{color:#fff;border-color:#f89e30;background-color:#f89e30}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.warning-2uDfz7Zc-:hover{background-color:#f79217;transition-duration:.06s}}.warning-2uDfz7Zc-:active{background-color:#d47807;transition-duration:.06s}.secondary-3ll81brZ-{color:#757575;border-color:#eceff2;background-color:#eceff2}html.theme-dark .secondary-3ll81brZ-{background-color:#363c4e;border-color:#363c4e;color:#c5cbce}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.secondary-3ll81brZ-:hover{background-color:#dce6ea;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .secondary-3ll81brZ-:hover{background-color:#4f5966}}.secondary-3ll81brZ-:active{background-color:#cfdce3;transition-duration:.06s}html.theme-dark .secondary-3ll81brZ-:active{background-color:#4f5966}.secondaryScript-2iIeFIWW-{color:#fff;border-color:#9db2bd;background-color:#9db2bd}html.theme-dark .secondaryScript-2iIeFIWW-{background-color:#363c4e;border-color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.secondaryScript-2iIeFIWW-:hover{background-color:#9db2bd;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .secondaryScript-2iIeFIWW-:hover{background-color:#363c4e}}.secondaryScript-2iIeFIWW-:active{background-color:#cfdce3;transition-duration:.06s}html.theme-dark .secondaryScript-2iIeFIWW-:active{background-color:#363c4e}.link-2sR0CShp-{color:#2196f3;transition:color .35s ease;background-color:transparent}html.theme-dark .link-2sR0CShp-{color:#1976d2}.link-2sR0CShp-:visited{color:#2196f3;fill:#2196f3}html.theme-dark .link-2sR0CShp-:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.link-2sR0CShp-:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}.link-2sR0CShp-:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}.xsmall-1aiWe3Hs-{line-height:17px;border-radius:1px;font-size:11px;font-weight:400}.xsmall-1aiWe3Hs-.withPadding-_5CJoO5q-{padding:0 7px}.xsmall-1aiWe3Hs-+.xsmall-1aiWe3Hs-{margin-left:10px}.xsmall-1aiWe3Hs-.rounded-3qEdyiAz-{border-radius:10px}.small-2-nQtW8O-{line-height:25px;font-size:13px}.small-2-nQtW8O-.withPadding-_5CJoO5q-{padding:0 12px}.small-2-nQtW8O-+.small-2-nQtW8O-{margin-left:10px}.small-2-nQtW8O-.rounded-3qEdyiAz-{border-radius:14px}.large-33HYhX8D-{line-height:46px;font-size:17px;letter-spacing:1px}.large-33HYhX8D-.withPadding-_5CJoO5q-{padding:0 30px}.large-33HYhX8D-.rounded-3qEdyiAz-{border-radius:24px}.grouped-1WsMjajI-:not(:first-child):not(:last-child){border-radius:0}.grouped-1WsMjajI-+.grouped-1WsMjajI-{margin-left:-1px}.grouped-1WsMjajI-:first-child{margin-left:0}.grouped-1WsMjajI-:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.grouped-1WsMjajI-:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0}.growable-F6tv8R_j-{flex:1}.growable-F6tv8R_j-.withPadding-_5CJoO5q-{padding:0}.active-2UxWxOgk-:active{transform:translateY(1px)}.disabled-3u0ULovv-{color:#adaeb0;border-color:#f1f3f6;background-color:#f1f3f6;cursor:default}html.theme-dark .disabled-3u0ULovv-{background-color:#262b3e;border-color:#262b3e;color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.disabled-3u0ULovv-:hover{background-color:#f1f3f6;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .disabled-3u0ULovv-:hover{background-color:#262b3e}}.disabled-3u0ULovv-:active{background-color:#f1f3f6;transition-duration:.06s}html.theme-dark .disabled-3u0ULovv-:active{background-color:#262b3e}.disabled-3u0ULovv-:active{transform:none}.rounded-3qEdyiAz-{border-radius:17px} \ No newline at end of file diff --git a/charting_library/static/bundles/33.ac320c107772f8e72252.rtl.css b/charting_library/static/bundles/33.ac320c107772f8e72252.rtl.css new file mode 100644 index 00000000..7a6d8ada --- /dev/null +++ b/charting_library/static/bundles/33.ac320c107772f8e72252.rtl.css @@ -0,0 +1 @@ +.ghost-3yO24wIn-.primary-1rSzOFdX-{color:#2196f3;border:1px solid #2196f3;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.primary-1rSzOFdX-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.success-1qQ3_tEI-{color:#3cbc98;border:1px solid #3cbc98;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.success-1qQ3_tEI-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.danger-jKTO4wDd-{color:#ff4a68;border:1px solid #ff4a68;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.danger-jKTO4wDd-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.warning-2uDfz7Zc-{color:#f89e30;border:1px solid #f89e30;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.warning-2uDfz7Zc-:hover{color:#fff;transition-duration:.06s}}.ghost-3yO24wIn-.secondary-3ll81brZ-{color:#757575;border:1px solid #e9eff2;background-color:transparent}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.ghost-3yO24wIn-.secondary-3ll81brZ-:hover{color:#757575;transition-duration:.06s}}.button-2O-nMUcz-{display:inline-flex;justify-content:center;align-items:center;padding:0;position:relative;min-width:35px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;white-space:nowrap;outline:0;cursor:pointer;overflow:hidden;box-sizing:border-box;line-height:32px;font-size:14px;transition:background-color .35s ease,border-color .35s ease,color .35s ease;border-radius:2px;border:1px solid transparent}.button-2O-nMUcz-.withPadding-_5CJoO5q-{padding:0 22px}.button-2O-nMUcz-+.button-2O-nMUcz-{margin-right:15px}.hiddenText-3qcN5Wif-{visibility:hidden;flex:1 1 auto}.text-2KOWx3rB-{position:absolute;right:0;left:0;bottom:0;top:0;text-align:center;display:inline-flex;justify-content:center;align-items:center;transition:opacity .175s ease,transform .175s ease}.loader-1CC-1F8J-{display:inline-block;transition:opacity .35s ease;opacity:1}.base-2d4XFcnI-{color:#757575;border-color:#adaeb0;background-color:transparent}html.theme-dark .base-2d4XFcnI-{border-color:#4f5966;color:#758696}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.base-2d4XFcnI-:hover{background-color:#f2f2f2;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .base-2d4XFcnI-:hover{background-color:#1c2030}}.base-2d4XFcnI-:active{background-color:#ececec;transition-duration:.06s}html.theme-dark .base-2d4XFcnI-:active{background-color:#262b3e}.primary-1rSzOFdX-{color:#fff;border-color:#2196f3;background-color:#2196f3}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.primary-1rSzOFdX-:hover{background-color:#1e88e5;transition-duration:.06s}}.primary-1rSzOFdX-:active{background-color:#049ddc;transition-duration:.06s}.success-1qQ3_tEI-{color:#fff;border-color:#3cbc98;background-color:#3cbc98}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.success-1qQ3_tEI-:hover{background-color:#38b395;transition-duration:.06s}}.success-1qQ3_tEI-:active{background-color:#00a97f;transition-duration:.06s}.danger-jKTO4wDd-{color:#fff;border-color:#ff4a68;background-color:#ff4a68}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.danger-jKTO4wDd-:hover{background-color:#f24965;transition-duration:.06s}}.danger-jKTO4wDd-:active{background-color:#ff173e;transition-duration:.06s}.warning-2uDfz7Zc-{color:#fff;border-color:#f89e30;background-color:#f89e30}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.warning-2uDfz7Zc-:hover{background-color:#f79217;transition-duration:.06s}}.warning-2uDfz7Zc-:active{background-color:#d47807;transition-duration:.06s}.secondary-3ll81brZ-{color:#757575;border-color:#eceff2;background-color:#eceff2}html.theme-dark .secondary-3ll81brZ-{background-color:#363c4e;border-color:#363c4e;color:#c5cbce}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.secondary-3ll81brZ-:hover{background-color:#dce6ea;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .secondary-3ll81brZ-:hover{background-color:#4f5966}}.secondary-3ll81brZ-:active{background-color:#cfdce3;transition-duration:.06s}html.theme-dark .secondary-3ll81brZ-:active{background-color:#4f5966}.secondaryScript-2iIeFIWW-{color:#fff;border-color:#9db2bd;background-color:#9db2bd}html.theme-dark .secondaryScript-2iIeFIWW-{background-color:#363c4e;border-color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.secondaryScript-2iIeFIWW-:hover{background-color:#9db2bd;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .secondaryScript-2iIeFIWW-:hover{background-color:#363c4e}}.secondaryScript-2iIeFIWW-:active{background-color:#cfdce3;transition-duration:.06s}html.theme-dark .secondaryScript-2iIeFIWW-:active{background-color:#363c4e}.link-2sR0CShp-{color:#2196f3;transition:color .35s ease;background-color:transparent}html.theme-dark .link-2sR0CShp-{color:#1976d2}.link-2sR0CShp-:visited{color:#2196f3;fill:#2196f3}html.theme-dark .link-2sR0CShp-:visited{fill:#1976d2;color:#1976d2}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.link-2sR0CShp-:hover{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}}.link-2sR0CShp-:active{color:#1e88e5;fill:#1e88e5;transition-duration:.06s}.xsmall-1aiWe3Hs-{line-height:17px;border-radius:1px;font-size:11px;font-weight:400}.xsmall-1aiWe3Hs-.withPadding-_5CJoO5q-{padding:0 7px}.xsmall-1aiWe3Hs-+.xsmall-1aiWe3Hs-{margin-right:10px}.xsmall-1aiWe3Hs-.rounded-3qEdyiAz-{border-radius:10px}.small-2-nQtW8O-{line-height:25px;font-size:13px}.small-2-nQtW8O-.withPadding-_5CJoO5q-{padding:0 12px}.small-2-nQtW8O-+.small-2-nQtW8O-{margin-right:10px}.small-2-nQtW8O-.rounded-3qEdyiAz-{border-radius:14px}.large-33HYhX8D-{line-height:46px;font-size:17px;letter-spacing:1px}.large-33HYhX8D-.withPadding-_5CJoO5q-{padding:0 30px}.large-33HYhX8D-.rounded-3qEdyiAz-{border-radius:24px}.grouped-1WsMjajI-:not(:first-child):not(:last-child){border-radius:0}.grouped-1WsMjajI-+.grouped-1WsMjajI-{margin-right:-1px}.grouped-1WsMjajI-:first-child{margin-right:0}.grouped-1WsMjajI-:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.grouped-1WsMjajI-:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0}.growable-F6tv8R_j-{flex:1}.growable-F6tv8R_j-.withPadding-_5CJoO5q-{padding:0}.active-2UxWxOgk-:active{transform:translateY(1px)}.disabled-3u0ULovv-{color:#adaeb0;border-color:#f1f3f6;background-color:#f1f3f6;cursor:default}html.theme-dark .disabled-3u0ULovv-{background-color:#262b3e;border-color:#262b3e;color:#363c4e}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.disabled-3u0ULovv-:hover{background-color:#f1f3f6;transition-duration:.06s}}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){html.theme-dark .disabled-3u0ULovv-:hover{background-color:#262b3e}}.disabled-3u0ULovv-:active{background-color:#f1f3f6;transition-duration:.06s}html.theme-dark .disabled-3u0ULovv-:active{background-color:#262b3e}.disabled-3u0ULovv-:active{transform:none}.rounded-3qEdyiAz-{border-radius:17px} \ No newline at end of file diff --git a/charting_library/static/bundles/33.bf2a2fc98cda3004cc87.js b/charting_library/static/bundles/33.bf2a2fc98cda3004cc87.js deleted file mode 100644 index c4dcf663..00000000 --- a/charting_library/static/bundles/33.bf2a2fc98cda3004cc87.js +++ /dev/null @@ -1,4 +0,0 @@ -webpackJsonp([33],{1209:function(t,e,n){var o,i,r;!function(a,c){i=[t,n(1210)],o=c,void 0!==(r="function"==typeof o?o.apply(e,i):o)&&(t.exports=r)}(0,function(t,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(e),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){var n,o;for(n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t,e=this,n="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[n?"right":"left"]="-9999px",t=window.pageYOffset||document.documentElement.scrollTop,this.fakeElem.style.top=t+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,i.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t, -"copy"!==this._action&&"cut"!==this._action)throw Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":r(t))||1!==t.nodeType)throw Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=c})},1210:function(t,e){function n(t){var e,n,o,i;return"SELECT"===t.nodeName?(t.focus(),e=t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?(n=t.hasAttribute("readonly"),n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value):(t.hasAttribute("contenteditable")&&t.focus(),o=window.getSelection(),i=document.createRange(),i.selectNodeContents(t),o.removeAllRanges(),o.addRange(i),e=""+o),e}t.exports=n},1211:function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){i.off(t,o),e.apply(n,arguments)}var i=this;return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,i=n.length;for(o;o0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===h(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,f.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null), -this.clipboardAction=new l.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return u("action",t)}},{key:"defaultTarget",value:function(t){var e=u("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return u("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(s.default);t.exports=p})}}); \ No newline at end of file diff --git a/charting_library/static/bundles/34.17e0ce399a577f17ba55.js b/charting_library/static/bundles/34.17e0ce399a577f17ba55.js new file mode 100644 index 00000000..34f0a440 --- /dev/null +++ b/charting_library/static/bundles/34.17e0ce399a577f17ba55.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[34],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/34.dd27b311326fd1fc6fde.css b/charting_library/static/bundles/34.dd27b311326fd1fc6fde.css new file mode 100644 index 00000000..d723cd84 --- /dev/null +++ b/charting_library/static/bundles/34.dd27b311326fd1fc6fde.css @@ -0,0 +1 @@ +.tv-search-row{width:100%;position:relative;cursor:default;display:flex;border-bottom:1px solid;border-bottom-color:#dadde0}html.theme-dark .tv-search-row{border-bottom-color:#363c4e}.tv-search-row__input{background-color:#fff;box-sizing:border-box;width:100%;padding:9px 50px 9px 60px;min-height:50px;height:50px;margin:0;border:none}html.theme-dark .tv-search-row__input{background-color:#1e222d}@media screen and (max-width:767px){.tv-search-row__input{min-height:34px;height:34px;padding-left:50px;padding-right:40px}.feature-mobiletouch .tv-search-row__input{min-height:50px;height:50px}}.tv-search-row--without-controls .tv-search-row__input{padding-right:30px;padding-left:30px}@media screen and (max-width:767px){.tv-search-row--without-controls .tv-search-row__input{padding-left:20px;padding-right:20px}}.tv-search-row__input-reset{top:0;right:16px;bottom:0;width:36px;position:absolute;text-align:center;opacity:.5;cursor:pointer;transition:opacity .35s ease}.tv-search-row__input-reset:after{content:"";display:inline-block;vertical-align:middle;height:100%}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-search-row__input-reset:hover{opacity:1;transition-duration:.06s}}.tv-search-row__input-reset svg{display:inline-block;fill:#4a4a4a;width:9px;height:9px;vertical-align:middle}html.theme-dark .tv-search-row__input-reset svg{fill:#c5cbce}@media screen and (max-width:767px){.tv-search-row__input-reset{right:10px}}.tv-search-row__search-icon{position:absolute;display:block;top:50%;left:30px;margin-top:-9px;opacity:.8;pointer-events:none;transition:opacity .35s ease}@media screen and (max-width:767px){.tv-search-row__search-icon{left:20px}}.tv-search-row__search-icon svg{display:block;fill:#adaeb0;width:18px;height:18px;overflow:visible}html.theme-dark .tv-search-row__search-icon svg{fill:#4f5966}.tv-search-row--without-controls .tv-search-row__input-reset,.tv-search-row--without-controls .tv-search-row__search-icon{display:none} \ No newline at end of file diff --git a/charting_library/static/bundles/34.dd27b311326fd1fc6fde.rtl.css b/charting_library/static/bundles/34.dd27b311326fd1fc6fde.rtl.css new file mode 100644 index 00000000..136b0ca9 --- /dev/null +++ b/charting_library/static/bundles/34.dd27b311326fd1fc6fde.rtl.css @@ -0,0 +1 @@ +.tv-search-row{width:100%;position:relative;cursor:default;display:flex;border-bottom:1px solid;border-bottom-color:#dadde0}html.theme-dark .tv-search-row{border-bottom-color:#363c4e}.tv-search-row__input{background-color:#fff;box-sizing:border-box;width:100%;padding:9px 60px 9px 50px;min-height:50px;height:50px;margin:0;border:none}html.theme-dark .tv-search-row__input{background-color:#1e222d}@media screen and (max-width:767px){.tv-search-row__input{min-height:34px;height:34px;padding-right:50px;padding-left:40px}.feature-mobiletouch .tv-search-row__input{min-height:50px;height:50px}}.tv-search-row--without-controls .tv-search-row__input{padding-left:30px;padding-right:30px}@media screen and (max-width:767px){.tv-search-row--without-controls .tv-search-row__input{padding-right:20px;padding-left:20px}}.tv-search-row__input-reset{top:0;left:16px;bottom:0;width:36px;position:absolute;text-align:center;opacity:.5;cursor:pointer;transition:opacity .35s ease}.tv-search-row__input-reset:after{content:"";display:inline-block;vertical-align:middle;height:100%}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.tv-search-row__input-reset:hover{opacity:1;transition-duration:.06s}}.tv-search-row__input-reset svg{display:inline-block;fill:#4a4a4a;width:9px;height:9px;vertical-align:middle}html.theme-dark .tv-search-row__input-reset svg{fill:#c5cbce}@media screen and (max-width:767px){.tv-search-row__input-reset{left:10px}}.tv-search-row__search-icon{position:absolute;display:block;top:50%;right:30px;margin-top:-9px;opacity:.8;pointer-events:none;transition:opacity .35s ease}@media screen and (max-width:767px){.tv-search-row__search-icon{right:20px}}.tv-search-row__search-icon svg{display:block;fill:#adaeb0;width:18px;height:18px;overflow:visible}html.theme-dark .tv-search-row__search-icon svg{fill:#4f5966}.tv-search-row--without-controls .tv-search-row__input-reset,.tv-search-row--without-controls .tv-search-row__search-icon{display:none} \ No newline at end of file diff --git a/charting_library/static/bundles/35.47b9d16b3fa10b495a11.css b/charting_library/static/bundles/35.47b9d16b3fa10b495a11.css new file mode 100644 index 00000000..343e562e --- /dev/null +++ b/charting_library/static/bundles/35.47b9d16b3fa10b495a11.css @@ -0,0 +1 @@ +.tv-tabbed-dialog{background-color:#fff;color:#4a4a4a}html.theme-dark .tv-tabbed-dialog{color:#c5cbce;background-color:#1e222d}.tv-tabbed-dialog__header{display:flex;position:relative;padding-top:0;padding-left:0;padding-bottom:0;border-bottom:none!important;margin-bottom:-1px;z-index:6}.tv-tabbed-dialog__bottom-border{position:absolute;left:0;right:0;bottom:0;height:1px;background-color:#dadde0;z-index:-1}html.theme-dark .tv-tabbed-dialog__bottom-border{background-color:#363c4e}.tv-tabbed-dialog__tab-page{height:100%;display:none}.tv-tabbed-dialog__tab-page.active{overflow-y:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;display:block}.tv-tabbed-dialog__close{z-index:6;top:5px}.tv-tabbed-dialog__tabs{width:100%;flex-shrink:1;height:53px}.tv-tabbed-dialog__custom-controls{margin-left:10px;flex-shrink:0}.tv-tabbed-dialog__tabs-arrow-left:before,.tv-tabbed-dialog__tabs-arrow-right:before{content:"";position:absolute;bottom:1px;left:0;right:0;height:1px}.tv-tabbed-dialog__tabs-arrow-left:before{background:linear-gradient(90deg,#dadde0 0,#dadde0 85%,hsla(0,0%,100%,0))}.tv-tabbed-dialog__tabs-arrow-right:before{background:linear-gradient(270deg,#dadde0 0,#dadde0 85%,hsla(0,0%,100%,0))} \ No newline at end of file diff --git a/charting_library/static/bundles/35.47b9d16b3fa10b495a11.rtl.css b/charting_library/static/bundles/35.47b9d16b3fa10b495a11.rtl.css new file mode 100644 index 00000000..04972dad --- /dev/null +++ b/charting_library/static/bundles/35.47b9d16b3fa10b495a11.rtl.css @@ -0,0 +1 @@ +.tv-tabbed-dialog{background-color:#fff;color:#4a4a4a}html.theme-dark .tv-tabbed-dialog{color:#c5cbce;background-color:#1e222d}.tv-tabbed-dialog__header{display:flex;position:relative;padding-top:0;padding-right:0;padding-bottom:0;border-bottom:none!important;margin-bottom:-1px;z-index:6}.tv-tabbed-dialog__bottom-border{position:absolute;right:0;left:0;bottom:0;height:1px;background-color:#dadde0;z-index:-1}html.theme-dark .tv-tabbed-dialog__bottom-border{background-color:#363c4e}.tv-tabbed-dialog__tab-page{height:100%;display:none}.tv-tabbed-dialog__tab-page.active{overflow-y:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;display:block}.tv-tabbed-dialog__close{z-index:6;top:5px}.tv-tabbed-dialog__tabs{width:100%;flex-shrink:1;height:53px}.tv-tabbed-dialog__custom-controls{margin-right:10px;flex-shrink:0}.tv-tabbed-dialog__tabs-arrow-left:before,.tv-tabbed-dialog__tabs-arrow-right:before{content:"";position:absolute;bottom:1px;right:0;left:0;height:1px}.tv-tabbed-dialog__tabs-arrow-left:before{background:linear-gradient(270deg,#dadde0 0,#dadde0 85%,hsla(0,0%,100%,0))}.tv-tabbed-dialog__tabs-arrow-right:before{background:linear-gradient(90deg,#dadde0 0,#dadde0 85%,hsla(0,0%,100%,0))} \ No newline at end of file diff --git a/charting_library/static/bundles/35.58433cec10095e3c1b7e.js b/charting_library/static/bundles/35.58433cec10095e3c1b7e.js new file mode 100644 index 00000000..8cc74999 --- /dev/null +++ b/charting_library/static/bundles/35.58433cec10095e3c1b7e.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[35],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/36.2ee80b40751fcc88a65c.js b/charting_library/static/bundles/36.2ee80b40751fcc88a65c.js new file mode 100644 index 00000000..5222a3a8 --- /dev/null +++ b/charting_library/static/bundles/36.2ee80b40751fcc88a65c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[36],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.css b/charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.css new file mode 100644 index 00000000..78806e4b --- /dev/null +++ b/charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.css @@ -0,0 +1 @@ +.tv-text-input{color:#4a4a4a;margin:0;border:1px solid;border-color:#dadde0;display:inline-block;overflow:hidden;width:100px;height:26px;vertical-align:top;padding:0 5px}html.theme-dark .tv-text-input{border-color:#363c4e;color:#c5cbce}.tv-text-input:focus{border-color:#2196f3}html.theme-dark .tv-text-input:focus{border-color:#1976d2}.tv-text-input.inset{background:#fff}html.theme-dark .tv-text-input.inset{background:#131722}.tv-text-input.ticker{height:25px;width:60px}.tv-text-input.ticker--longer-sign_8{width:72px}.tv-text-input.ticker--evenlonger{width:90px} \ No newline at end of file diff --git a/charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.rtl.css b/charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.rtl.css new file mode 100644 index 00000000..72a7a5ed --- /dev/null +++ b/charting_library/static/bundles/36.e9a6bec06ee11d2c2d4a.rtl.css @@ -0,0 +1 @@ +.tv-text-input{color:#4a4a4a;margin:0;border:1px solid;border-color:#dadde0;display:inline-block;overflow:hidden;width:100px;height:26px;vertical-align:top;padding:0 5px;direction:ltr;text-align:right}html.theme-dark .tv-text-input{border-color:#363c4e;color:#c5cbce}.tv-text-input:focus{border-color:#2196f3}html.theme-dark .tv-text-input:focus{border-color:#1976d2}.tv-text-input.inset{background:#fff}html.theme-dark .tv-text-input.inset{background:#131722}.tv-text-input.ticker{height:25px;width:60px}.tv-text-input.ticker--longer-sign_8{width:72px}.tv-text-input.ticker--evenlonger{width:90px} \ No newline at end of file diff --git a/charting_library/static/bundles/37.065a5f2249aafcfe50ec.css b/charting_library/static/bundles/37.065a5f2249aafcfe50ec.css new file mode 100644 index 00000000..d500f6c8 --- /dev/null +++ b/charting_library/static/bundles/37.065a5f2249aafcfe50ec.css @@ -0,0 +1 @@ +.star-uhAI7sV4-{display:block;opacity:.7;box-sizing:border-box;transition:opacity .35s ease;padding:4px;margin:-4px}.star-uhAI7sV4- svg{display:block;fill:currentColor;pointer-events:none}.star-uhAI7sV4-.checked-2bhy04CF- svg{fill:#ffca3b}.star-uhAI7sV4-:active{opacity:1;transition-duration:60ms}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.star-uhAI7sV4-:hover{opacity:1;transition-duration:60ms}} \ No newline at end of file diff --git a/charting_library/static/bundles/37.065a5f2249aafcfe50ec.rtl.css b/charting_library/static/bundles/37.065a5f2249aafcfe50ec.rtl.css new file mode 100644 index 00000000..d500f6c8 --- /dev/null +++ b/charting_library/static/bundles/37.065a5f2249aafcfe50ec.rtl.css @@ -0,0 +1 @@ +.star-uhAI7sV4-{display:block;opacity:.7;box-sizing:border-box;transition:opacity .35s ease;padding:4px;margin:-4px}.star-uhAI7sV4- svg{display:block;fill:currentColor;pointer-events:none}.star-uhAI7sV4-.checked-2bhy04CF- svg{fill:#ffca3b}.star-uhAI7sV4-:active{opacity:1;transition-duration:60ms}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.star-uhAI7sV4-:hover{opacity:1;transition-duration:60ms}} \ No newline at end of file diff --git a/charting_library/static/bundles/37.1735365b01406a8d696d.js b/charting_library/static/bundles/37.1735365b01406a8d696d.js new file mode 100644 index 00000000..7f6fcf64 --- /dev/null +++ b/charting_library/static/bundles/37.1735365b01406a8d696d.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[37],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/38.4073381c29c4e2bc2209.css b/charting_library/static/bundles/38.4073381c29c4e2bc2209.css new file mode 100644 index 00000000..b6244f23 --- /dev/null +++ b/charting_library/static/bundles/38.4073381c29c4e2bc2209.css @@ -0,0 +1 @@ +.wrap-5DN0XnS4-{position:relative;direction:ltr;width:100%;height:100%;overflow:hidden}.wrap-5DN0XnS4- svg{display:block}.wrapWithArrowsOuting-1OPNi0IP-{width:calc(100% - 40px);margin-left:auto;margin-right:auto;overflow:visible}.wrapOverflow-2FHnhKaN-{overflow:hidden;width:100%}.scrollWrap-nAnkzkWd-{position:relative;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.scrollWrap-nAnkzkWd-::-webkit-scrollbar{width:5px;height:5px}.scrollWrap-nAnkzkWd-::-webkit-scrollbar-thumb{border:1px solid;border-color:#f1f3f6;border-radius:3px;background-color:#9db2bd}html.theme-dark .scrollWrap-nAnkzkWd-::-webkit-scrollbar-thumb{background-color:#363c4e;border-color:#1c2030}.scrollWrap-nAnkzkWd-::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-{padding-bottom:100px;margin-bottom:-100px;-ms-overflow-style:none}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-.sb-scrollbar-wrap{display:none}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-::-webkit-scrollbar{display:none;width:0;height:0}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-::-webkit-scrollbar-thumb,.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-::-webkit-scrollbar-track{display:none}.icon-1nfNqIRh-{display:block;transition:transform 60ms ease}.scrollLeft-2cl_k1e7-,.scrollRight-2SEqCpTf-{display:flex;position:absolute;top:0;height:100%;width:24px;background-color:rgba(38,43,62,.7);color:#fff;transition:background-color .35s ease,transform .11666667s cubic-bezier(.55,.055,.675,.19);flex-direction:column;justify-content:center;align-items:center}.scrollLeft-2cl_k1e7-:active,.scrollRight-2SEqCpTf-:active{transition:background-color 58.33333ms ease,transform .11666667s cubic-bezier(.215,.61,.355,1)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.scrollLeft-2cl_k1e7-:hover,.scrollRight-2SEqCpTf-:hover{transition:background-color 58.33333ms ease,transform .11666667s cubic-bezier(.215,.61,.355,1)}}.scrollLeft-2cl_k1e7-:active .icon-1nfNqIRh-,.scrollRight-2SEqCpTf-:active .icon-1nfNqIRh-{transform:translateY(1px)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.scrollLeft-2cl_k1e7-:hover .icon-1nfNqIRh-,.scrollRight-2SEqCpTf-:hover .icon-1nfNqIRh-{transform:translateY(1px)}}.scrollLeft-2cl_k1e7-.isVisible-Stm3XOHb-,.scrollRight-2SEqCpTf-.isVisible-Stm3XOHb-{transform:translateX(0);transition-timing-function:cubic-bezier(.215,.61,.355,1)}.scrollLeft-2cl_k1e7-{left:0;transform:translateX(-100%)}.scrollLeft-2cl_k1e7- .iconWrap-1E4GEP7h-{transform:rotate(90deg)}.scrollRight-2SEqCpTf-{right:0;transform:translateX(100%)}.scrollRight-2SEqCpTf- .iconWrap-1E4GEP7h-{transform:rotate(-90deg)}.fadeLeft-244lj3pA-,.fadeRight-1JnS42hI-{position:absolute;pointer-events:none;width:50px;height:100%;top:0}.fadeLeft-244lj3pA-.isVisible-Stm3XOHb-,.fadeRight-1JnS42hI-.isVisible-Stm3XOHb-{transform:translateX(0);transition-timing-function:cubic-bezier(.215,.61,.355,1)}.fadeLeft-244lj3pA-{left:0;background-image:linear-gradient(270deg,hsla(0,0%,100%,0),#fff);transform:translateX(-100%)}html.theme-dark .fadeLeft-244lj3pA-{background-image:linear-gradient(270deg,rgba(19,23,34,0),#131722)}.fadeRight-1JnS42hI-{right:0;background-image:linear-gradient(90deg,hsla(0,0%,100%,0),#fff);transform:translateX(100%)}html.theme-dark .fadeRight-1JnS42hI-{background-image:linear-gradient(90deg,rgba(19,23,34,0),#131722)} \ No newline at end of file diff --git a/charting_library/static/bundles/38.4073381c29c4e2bc2209.rtl.css b/charting_library/static/bundles/38.4073381c29c4e2bc2209.rtl.css new file mode 100644 index 00000000..43d285f9 --- /dev/null +++ b/charting_library/static/bundles/38.4073381c29c4e2bc2209.rtl.css @@ -0,0 +1 @@ +.wrap-5DN0XnS4-{position:relative;direction:rtl;width:100%;height:100%;overflow:hidden}.wrap-5DN0XnS4- svg{display:block}.wrapWithArrowsOuting-1OPNi0IP-{width:calc(100% - 40px);margin-right:auto;margin-left:auto;overflow:visible}.wrapOverflow-2FHnhKaN-{overflow:hidden;width:100%}.scrollWrap-nAnkzkWd-{position:relative;width:100%;height:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.scrollWrap-nAnkzkWd-::-webkit-scrollbar{width:5px;height:5px}.scrollWrap-nAnkzkWd-::-webkit-scrollbar-thumb{border:1px solid;border-color:#f1f3f6;border-radius:3px;background-color:#9db2bd}html.theme-dark .scrollWrap-nAnkzkWd-::-webkit-scrollbar-thumb{background-color:#363c4e;border-color:#1c2030}.scrollWrap-nAnkzkWd-::-webkit-scrollbar-track{background-color:transparent;border-radius:3px}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-{padding-bottom:100px;margin-bottom:-100px;-ms-overflow-style:none}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-.sb-scrollbar-wrap{display:none}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-::-webkit-scrollbar{display:none;width:0;height:0}.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-::-webkit-scrollbar-thumb,.scrollWrap-nAnkzkWd-.noScrollBar-34JzryqI-::-webkit-scrollbar-track{display:none}.icon-1nfNqIRh-{display:block;transition:transform 60ms ease}.scrollLeft-2cl_k1e7-,.scrollRight-2SEqCpTf-{display:flex;position:absolute;top:0;height:100%;width:24px;background-color:rgba(38,43,62,.7);color:#fff;transition:background-color .35s ease,transform .11666667s cubic-bezier(.55,.055,.675,.19);flex-direction:column;justify-content:center;align-items:center}.scrollLeft-2cl_k1e7-:active,.scrollRight-2SEqCpTf-:active{transition:background-color 58.33333ms ease,transform .11666667s cubic-bezier(.215,.61,.355,1)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.scrollLeft-2cl_k1e7-:hover,.scrollRight-2SEqCpTf-:hover{transition:background-color 58.33333ms ease,transform .11666667s cubic-bezier(.215,.61,.355,1)}}.scrollLeft-2cl_k1e7-:active .icon-1nfNqIRh-,.scrollRight-2SEqCpTf-:active .icon-1nfNqIRh-{transform:translateY(1px)}@media (any-hover:hover),(min--moz-device-pixel-ratio:0),(min-width:0\0){.scrollLeft-2cl_k1e7-:hover .icon-1nfNqIRh-,.scrollRight-2SEqCpTf-:hover .icon-1nfNqIRh-{transform:translateY(1px)}}.scrollLeft-2cl_k1e7-.isVisible-Stm3XOHb-,.scrollRight-2SEqCpTf-.isVisible-Stm3XOHb-{transform:translateX(0);transition-timing-function:cubic-bezier(.215,.61,.355,1)}.scrollLeft-2cl_k1e7-{left:0;transform:translateX(-100%)}.scrollLeft-2cl_k1e7- .iconWrap-1E4GEP7h-{transform:rotate(90deg)}.scrollRight-2SEqCpTf-{right:0;transform:translateX(100%)}.scrollRight-2SEqCpTf- .iconWrap-1E4GEP7h-{transform:rotate(-90deg)}.fadeLeft-244lj3pA-,.fadeRight-1JnS42hI-{position:absolute;pointer-events:none;width:50px;height:100%;top:0}.fadeLeft-244lj3pA-.isVisible-Stm3XOHb-,.fadeRight-1JnS42hI-.isVisible-Stm3XOHb-{transform:translateX(0);transition-timing-function:cubic-bezier(.215,.61,.355,1)}.fadeLeft-244lj3pA-{right:0;background-image:linear-gradient(90deg,hsla(0,0%,100%,0),#fff);transform:translateX(100%)}html.theme-dark .fadeLeft-244lj3pA-{background-image:linear-gradient(90deg,rgba(19,23,34,0),#131722)}.fadeRight-1JnS42hI-{left:0;background-image:linear-gradient(270deg,hsla(0,0%,100%,0),#fff);transform:translateX(-100%)}html.theme-dark .fadeRight-1JnS42hI-{background-image:linear-gradient(270deg,rgba(19,23,34,0),#131722)} \ No newline at end of file diff --git a/charting_library/static/bundles/38.9ae2eea9402c30aa3046.js b/charting_library/static/bundles/38.9ae2eea9402c30aa3046.js new file mode 100644 index 00000000..2bf9df03 --- /dev/null +++ b/charting_library/static/bundles/38.9ae2eea9402c30aa3046.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[38],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.css b/charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.css new file mode 100644 index 00000000..3efdd283 --- /dev/null +++ b/charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.css @@ -0,0 +1 @@ +.tabs-1LGqoVz6-{display:flex;position:relative;width:100%}.tab-1Yr0rq0J-{flex:1 1;padding:13px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;border-bottom:1px solid;border-color:#e1ecf2;transition:color .35s ease;color:#131722}html.theme-dark .tab-1Yr0rq0J-{color:#b2b5be;border-color:#363c4e}.tab-1Yr0rq0J-.noBorder-oc3HwerO-{border-bottom:0}.tab-1Yr0rq0J-.disabled-s8cEYElA-{color:#eceff2}.tab-1Yr0rq0J-.active-37sipdzm-{color:#2196f3}html.theme-dark .tab-1Yr0rq0J-.active-37sipdzm-{color:#1976d2}.defaultCursor-Np9BHjTg-{cursor:default}.slider-1-X4lOmE-{position:absolute;bottom:0;left:0;height:3px;background-color:#2196f3;transition-timing-function:cubic-bezier(.215,.61,.355,1)}html.theme-dark .slider-1-X4lOmE-{background-color:#1976d2}.content-2asssfGq-{width:100%} \ No newline at end of file diff --git a/charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.rtl.css b/charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.rtl.css new file mode 100644 index 00000000..3efdd283 --- /dev/null +++ b/charting_library/static/bundles/39.5f64b4bc2e263edfbf6e.rtl.css @@ -0,0 +1 @@ +.tabs-1LGqoVz6-{display:flex;position:relative;width:100%}.tab-1Yr0rq0J-{flex:1 1;padding:13px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;text-align:center;border-bottom:1px solid;border-color:#e1ecf2;transition:color .35s ease;color:#131722}html.theme-dark .tab-1Yr0rq0J-{color:#b2b5be;border-color:#363c4e}.tab-1Yr0rq0J-.noBorder-oc3HwerO-{border-bottom:0}.tab-1Yr0rq0J-.disabled-s8cEYElA-{color:#eceff2}.tab-1Yr0rq0J-.active-37sipdzm-{color:#2196f3}html.theme-dark .tab-1Yr0rq0J-.active-37sipdzm-{color:#1976d2}.defaultCursor-Np9BHjTg-{cursor:default}.slider-1-X4lOmE-{position:absolute;bottom:0;left:0;height:3px;background-color:#2196f3;transition-timing-function:cubic-bezier(.215,.61,.355,1)}html.theme-dark .slider-1-X4lOmE-{background-color:#1976d2}.content-2asssfGq-{width:100%} \ No newline at end of file diff --git a/charting_library/static/bundles/39.7e524b82ef9947f0f19f.js b/charting_library/static/bundles/39.7e524b82ef9947f0f19f.js new file mode 100644 index 00000000..bcd80d70 --- /dev/null +++ b/charting_library/static/bundles/39.7e524b82ef9947f0f19f.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[39],[]]); \ No newline at end of file diff --git a/charting_library/static/bundles/4.80bf1a925965757be6d4.js b/charting_library/static/bundles/4.80bf1a925965757be6d4.js new file mode 100644 index 00000000..9261d872 --- /dev/null +++ b/charting_library/static/bundles/4.80bf1a925965757be6d4.js @@ -0,0 +1,4 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{"56W2":function(e,t,s){(function(t){var s;s=void 0!==t?t:this,e.exports=function(e){if(e.CSS&&e.CSS.escape)return e.CSS.escape;var t=function(e){var t,s,n,i,o,l;if(0==arguments.length)throw new TypeError("`CSS.escape` requires an argument.");for(t=String(e),s=t.length,n=-1,o="",l=t.charCodeAt(0);++n=1&&i<=31||127==i||0==n&&i>=48&&i<=57||1==n&&i>=48&&i<=57&&45==l?"\\"+i.toString(16)+" ":0==n&&1==s&&45==i||!(i>=128||45==i||95==i||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122)?"\\"+t.charAt(n):t.charAt(n):o+="�";return o};return e.CSS||(e.CSS={}),e.CSS.escape=t,t}(s)}).call(this,s("yLpj"))},Gs9W:function(e,t,s){},jgM0:function(e,t,s){"use strict";var n=s("56W2");s("Gs9W"),function(e,t){function s(){this._state=[],this._defaults={classHolder:"sbHolder",classHolderDisabled:"sbHolderDisabled",classHolderOpen:"sbHolderOpen",classSelector:"sbSelector",classOptions:"sbOptions",classGroup:"sbGroup",classSub:"sbSub",classDisabled:"sbDisabled",classToggleOpen:"sbToggleOpen",classToggle:"sbToggle",classSeparator:"sbSeparator",useCustomPrependWithSelector:"",customPrependSelectorClass:"",speed:200,slidesUp:!1,effect:"slide",onChange:null,beforeOpen:null,onOpen:null,onClose:null}}function i(t,s,n,i){function o(){s.removeClass(t.settings.customPrependSelectorClass),t._lastSelectorPrepend&&(t._lastSelectorPrepend.remove(),delete t._lastSelectorPrepend),n.data("custom-option-prepend")&&(t.settings.customPrependSelectorClass&&s.addClass(t.settings.customPrependSelectorClass),t._lastSelectorPrepend=e(n.data("custom-option-prepend")).clone(),s[t.settings.useCustomPrependWithSelector](t._lastSelectorPrepend))}t.settings.useCustomPrependWithSelector&&(i?t._onAttachCallback=o:o())}e.extend(s.prototype,{_refreshSelectbox:function(e,t){if(!e)return!1;var s=this._getInst(e);return null!=s&&(this._fillList(e,s,t),!0)},_isOpenSelectbox:function(e){return!!e&&this._getInst(e).isOpen},_isDisabledSelectbox:function(e){return!!e&&this._getInst(e).isDisabled},_attachSelectbox:function(t,s){function i(){var t,s=this.attr("id").split("_")[1];for(t in a._state)t!==s&&a._state.hasOwnProperty(t)&&e(":input[sb='"+t+"']")[0]&&a._closeSelectbox(e(":input[sb='"+t+"']")[0])}function o(s){l.children().each(function(n){var i;if(e(this).is(":selected")){if(38==s&&n>0)return i=e(l.children()[n-1]),a._changeSelectbox(t,i.val(),i.text()),!1;if(40==s&&n",{id:"sbHolder_"+c.uid,class:c.settings.classHolder}),(b=l.data("selectbox-css"))&&d.css(b),r=e("",{id:"sbSelector_"+c.uid,href:"#",class:c.settings.classSelector,click:function(s){s.preventDefault(),s.stopPropagation(),i.apply(e(this),[]);var n=e(this).attr("id").split("_")[1] +;a._state[n]?a._closeSelectbox(t):(a._openSelectbox(t),p.focus())},keyup:function(e){o(e.keyCode)}}),p=e("",{id:"sbToggle_"+c.uid,href:"#",class:c.settings.classToggle,click:function(s){s.preventDefault(),s.stopPropagation(),i.apply(e(this),[]);var n=e(this).attr("id").split("_")[1];a._state[n]?a._closeSelectbox(t):(a._openSelectbox(t),p.focus())},keyup:function(e){o(e.keyCode)}}),e('
').appendTo(p),p.appendTo(d),u=e("
").appendTo(t),i=$("
"),$("
").appendTo(e);return $('').appendTo(i)},r.prototype._labelToId=function(t){return"control"+t.replace(/(^| )\w/g,function(t){return"-"+t.trim().toLowerCase()})+Math.floor(1e3*Math.random())},r.prototype.addRow=function(t){return $(document.createElement("tr")).appendTo(t)},r.prototype.addLabeledRow=function(t,e,i,r){var n,s=e&&e.length>0?$.t(e):"",a=$(document.createElement("tr")),l=$(document.createElement("td")).html(s);return r&&(r=parseInt(r),V(r)&&(r=2),l.attr("colspan",r)),i&&(n=this._labelToId(e),i.attr("id",n),l.html(o(s,n))),a.append(l).appendTo(t)},r.prototype.addEditorRow=function(t,e,i,o){var r=$(document.createElement("td"));return i.row=this.addLabeledRow(t,e,i,o),i.appendTo(r.appendTo(i.row)),i},r.prototype.addColorPickerRow=function(t,e){return this.addEditorRow(t,e,this.createColorPicker())},r.prototype.addOffsetEditorRow=function(t,e){var i=$("");return i.attr("type","text"),i.css("width","100px"),i.addClass("ticker"),this.addEditorRow(t,e,i)},r.prototype.addFontEditorRow=function(t,e){return this.addEditorRow(t,e,this.createFontEditor())},r.prototype.refreshStateControls=function(t,e,i){var o,r,n;for(o=0;o0&&(i=e[0],this._control.selectbox("change",i.value,i.text))}catch(t){}},f.prototype.propertyChanged=function(t){var e=t.value();"function"==typeof this._propertyChangedHook&&(e=this._propertyChangedHook(e)),this.setValue(e)},inherit(v,H),v.prototype.value=function(){return this._property.value()},v.prototype.setValue=function(t){return this._control.html(t) +},inherit(g,H),g.prototype.value=function(){return this.control().is(":checked")},g.prototype.setValue=function(t){var e,i,o,r;return this.control().is(".visibility-checker")&&(t?(this.control().closest("tr").find(".slider-range").slider("enable"),this.control().closest("tr").find('input[type="text"]').each(function(){$(this).prop("disabled",!1)})):(this.control().closest("tr").find(".slider-range").slider("disable"),this.control().closest("tr").find('input[type="text"]').each(function(){$(this).prop("disabled",!0)}))),this.control().is(".visibility-switch")&&(e={opacity:t?1:.5},i=t?"enable":"disable",(o=this.control().data("hides"))?o.closest("td").css(e):(r=this.control()).parent().parent().data("visible",t).find("td").filter(function(){var t=$(this);return!t.find("label").length&&t.find(":checkbox").attr("id")!==r.attr("id")}).each(function(){var o=$(this),r=o.children();r.each(function(){var r=$(this);r.is(".ui-slider")?r.slider(i):r.is("select")?(r.selectbox(i),o.css(e)):r.is(".custom-select")?(r.data(i)(),o.css(e)):r.is(".tvcolorpicker-container")?(r.find("input").prop("disabled",!t),o.css(e)):(r.prop("disabled",!t),o.css(e))})})),this.control().attr("checked",!!t)},g.prototype.destroy=function(){H.prototype.destroy.call(this),this._control.off("change")},inherit(_,H),_.prototype.value=function(){return this.control().is(":disabled")},_.prototype.setValue=function(t){return t=Boolean(t),this._inverted&&(t=!t),this.control().parents("label").toggleClass("disabled",t),this.control().attr("disabled",t)},inherit(m,H),m.prototype.value=function(){return this.control().hasClass("active")},m.prototype.setValue=function(t){return this.control().toggleClass("active",!!t)},inherit(b,H),b.prototype.applyOldTransparency=function(){var t,e,i;this.transparencyProperty()&&(R.isHexColor(this.property().value())?(t=this.transparencyProperty().value?this.transparencyProperty().value():this.transparencyProperty(),e=O(this.property().value()),i=(100-t)/100,this.control().val(P(E(e,i)))):this.control().val(this.property().value()),this.control().change())},b.prototype.transparencyProperty=function(){return this._transparencyProperty},b.prototype.value=function(){return this._control.val()},b.prototype.setValue=function(t){this._control.val(t),this._control.change(),this._control.color&&this._control.color.fromString(t)},inherit(y,H),y.prototype.value=function(){return this._control.slider("option","value")},y.prototype.setValue=function(t){this._control.slider("option","value",t)},C.prototype._attachToControl=function(t){var e=this;this._wv.subscribe(this._setValueBinded,{callWithLast:!0}),$(this._control).on("change",function(){e.setValueToProperty(e.value())})},C.prototype.control=function(){return this._control},C.prototype.value=function(){var t=$(this._control).val();return this._transformFunction&&(t=this._transformFunction(t)),t},C.prototype.setValue=function(t){$(this._control).val(t)},C.prototype.setValueToProperty=function(t){this._undoModel.undoHistory.setWatchedValue(this._wv,t,this._undoText)}, +C.prototype.watchedValue=function(){return this._wv},C.prototype.destroy=function(){this._wv.unsubscribe(this._setValueBinded)},inherit(T,C),T.prototype._attachToControl=function(t){var e=this;this._wv.subscribe(this.setValue.bind(this),{callWithLast:!0}),$(this._control).on("click",function(){e.setValueToProperty(e.value())})},T.prototype.value=function(){var t=$(this._control).attr("checked");return this._not&&(t=!t),this._transformFunction&&(t=this._transformFunction(t)),t},T.prototype.setValue=function(t){this._not&&(t=!t),$(this._control).attr("checked",!!t)},k.prototype.properties=function(){return this._properties},k.prototype.value=function(t){return this._control.slider("values",t)},k.prototype.setValue=function(t,e){void 0===e&&(t===this._propFrom&&(e=0),t===this._propTo&&(e=1)),this._control.slider("values",e,t.value()),this._inputsText&&$(this._inputsText[e]).val(t.value())},k.prototype.propertyChanged=function(t){this.setValue(t)},k.prototype.setValueToProperty=function(t,e){($(e).hasClass("from")||"from"===e)&&(this._undoModel.beginUndoMacro(this._undoText[0]),this._undoModel.setProperty(this._propFrom,t[0],this._undoText[0]),this._propFrom.setValue(t[0],0),this._undoModel.endUndoMacro()),($(e).hasClass("to")||"to"===e)&&(this._undoModel.beginUndoMacro(this._undoText[1]),this._undoModel.setProperty(this._propTo,t[1],this._undoText[1]),this._propTo.setValue(t[1],1),this._undoModel.endUndoMacro())},k.prototype.destroy=function(){this._propFrom&&this._propTo&&(this._propFrom.listeners().unsubscribe(this,H.prototype.propertyChanged),this._propTo.listeners().unsubscribe(this,H.prototype.propertyChanged))},inherit(w,H),w.prototype.value=function(){var t=[];return this._control.each(function(){var e=$(this);e.is(":checked")&&t.push(e.attr("value"))}),t.join(this._separator)},w.prototype.setValue=function(t){var e=t.split(this._separator).filter(Boolean);this._control.each(function(){var t=$(this),i=-1!==e.indexOf(t.attr("value"));t.attr("checked",i),t.parents("label").toggleClass("active",i)})},e.PropertyPage=r,e.UppercaseTransformer=function(t){return t.toUpperCase()},e.GreateTransformer=n,e.LessTransformer=s,e.ToIntTransformer=a,e.ToFloatTransformer=l,e.ToFloatTransformerWithDynamicDefaultValue=function(t){var e=new I;return function(i){var o=e.parse(i);return V(o)?t():o}},e.ToFloatLimitedPrecisionTransformer=function(t,e){var i=new D(e);return function(e){var o=i.format(e);return V(o)?t:o}},e.ToAsciiTransformer=function(){return function(t){for(var e=t,i=t.replace(/[^\u0000-\u007F]/,"");i.length!==e.length;)i=(e=i).replace(/[^\u0000-\u007F]/,"");return i}},e.ReplaceEmptyTransformer=function(t){return function(e){return 0===e.length?t:e}},e.SymbolInfoSymbolTransformer=function(t,e){return function(i){var o=t();return i===e.value()&&o&&(o.ticker||o.full_name)?o.ticker||o.full_name:i}},e.SimpleStringBinder=c,e.FloatBinder=u,e.SessionBinder=h,e.BarTimeBinder=p,e.SymbolBinder=d,e.SimpleComboBinder=f,e.StaticContentBinder=v,e.BooleanBinder=g,e.DisabledBinder=_,e.ColorBinding=b,e.SliderBinder=y, +e.CheckboxWVBinding=T,e.RangeBinder=k,e.generateLabelElementStr=o}).call(this,i("tc+8"))},QBwY:function(t,e,i){var o,r,n;r=[i("P5fv"),i("iGnl"),i("vBzC"),i("Qwlt"),i("MIQu")],void 0===(n="function"==typeof(o=function(t){return t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,o=this.options,r=this.element.find(".ui-slider-handle"),n=[];for(i=o.values&&o.values.length||1,r.length>i&&(r.slice(i).remove(),r=r.slice(0,i)),e=r.length;e");this.handles=r.add(t(n.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("
").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,o,r,n,s,a,l,c=this,u=this.options;return!u.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},o=this._normValueFromMouse(i),r=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(o-c.values(e));(r>i||r===i&&(e===c._lastChangedValue||c.values(e)===u.min))&&(r=i,n=t(this),s=e)}),!1!==this._start(e,s)&&(this._mouseSliding=!0,this._handleIndex=s,this._addClass(n,null,"ui-state-active"),n.trigger("focus"),a=n.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-a.left-n.width()/2, +top:e.pageY-a.top-n.height()/2-(parseInt(n.css("borderTopWidth"),10)||0)-(parseInt(n.css("borderBottomWidth"),10)||0)+(parseInt(n.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,s,o),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,o,r,n;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),(o=i/e)>1&&(o=1),o<0&&(o=0),"vertical"===this.orientation&&(o=1-o),r=this._valueMax()-this._valueMin(),n=this._valueMin()+o*r,this._trimAlignValue(n)},_uiHash:function(t,e,i){var o={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(o.value=void 0!==e?e:this.values(t),o.values=i||this.values()),o},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var o,r=this.value(),n=this.values();this._hasMultipleValues()&&(o=this.values(e?0:1),r=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(o,i):Math.max(o,i)),n[e]=i),i!==r&&!1!==this._trigger("slide",t,this._uiHash(e,i,n))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,i){var o,r,n;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(o=this.options.values,r=arguments[0],n=0;n=0;o--)this._change(null,o);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,o;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),o=0;o=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,o=t-i;return 2*Math.abs(i)>=e&&(o+=i>0?e:-e),parseFloat(o.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step,o=Math.round((t-e)/i)*i;(t=o+e)>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=t.toString(),i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,o,r,n,s=this.options.range,a=this.options,l=this,c=!this._animateOff&&a.animate,u={};this._hasMultipleValues()?this.handles.each(function(o){i=(l.values(o)-l._valueMin())/(l._valueMax()-l._valueMin())*100,u["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[c?"animate":"css"](u,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===o&&l.range.stop(1,1)[c?"animate":"css"]({left:i+"%"},a.animate),1===o&&l.range[c?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:a.animate})):(0===o&&l.range.stop(1,1)[c?"animate":"css"]({bottom:i+"%"},a.animate),1===o&&l.range[c?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:a.animate}))),e=i}):(o=this.value(),r=this._valueMin(),n=this._valueMax(),i=n!==r?(o-r)/(n-r)*100:0,u["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[c?"animate":"css"](u,a.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({width:i+"%"},a.animate),"max"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({ +width:100-i+"%"},a.animate),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:i+"%"},a.animate),"max"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[c?"animate":"css"]({height:100-i+"%"},a.animate))},_handleEvents:{keydown:function(e){var i,o,r,n=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),!1===this._start(e,n)))return}switch(r=this.options.step,i=o=this._hasMultipleValues()?this.values(n):this.value(),e.keyCode){case t.ui.keyCode.HOME:o=this._valueMin();break;case t.ui.keyCode.END:o=this._valueMax();break;case t.ui.keyCode.PAGE_UP:o=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===this._valueMax())return;o=this._trimAlignValue(i+r);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===this._valueMin())return;o=this._trimAlignValue(i-r)}this._slide(e,n,o)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}})})?o.apply(e,r):o)||(t.exports=n)},"Y+MS":function(t,e,i){"use strict";var o=function(){function t(t,e){this.mouseFlag=!1,this.accuracy=2,this.value=1,this.colorInput=t,this.$el=$('
',t.prop("ownerDocument")),e&&this.$el.hide(),this.$gradient=$('
').appendTo(this.$el),this.$roller=$('').appendTo(this.$gradient)}return t.prototype.calculateRollerPosition=function(t){var e=t.pageX,i=this.$gradient.offset().left,o=e-i,r=this.$gradient.width();return o>r?100:o<0?0:~~(o/r*100)},t.prototype.toRgb=function(t){var e;return~t.indexOf("#")?t:(e=t.match(/[0-9.]+/g))?"rgb("+e.slice(0,3).join(", ")+")":"rgb(127, 127, 127)"},t.prototype.setValue=function(t){this.value=1!==t?t.toFixed(this.accuracy):t},t.prototype.updateRoller=function(){this.$roller.css("left",100-100*this.value+"%")},t.prototype.rollerMoveHandler=function(t){if(this.mouseFlag){var e=this.calculateRollerPosition(t);this.setValue((100-e)/100),$(this).trigger("change",[this.val()]),this.$roller.css("left",e+"%")}t.preventDefault()},t.prototype.mouseupHandler=function(t){this.mouseFlag&&(this.mouseFlag=!1,$(this).trigger("afterChange",[this.val()]))},t.prototype.initEvents=function(){var t=this.$el.prop("ownerDocument"),e=function(t){return this.rollerMoveHandler(t)}.bind(this),i=function(o){return $(t).off("mousemove mouseup",e), +$(t).off("mouseup",i),this.mouseupHandler(o)}.bind(this);this.$el.on("mousedown",function(o){this.mouseFlag=!0,$(t).on("mousemove mouseup",e),$(t).on("mouseup",i),o.preventDefault()}.bind(this)),this.colorInput.on("change",function(t){this.updateColor()}.bind(this))},t.prototype.removeEvents=function(){},t.prototype.updateColor=function(){var t=this.colorInput.val()||"black",e=this.toRgb(t),i=["-moz-linear-gradient(left, %COLOR 0%, transparent 100%)","-webkit-gradient(linear, left top, right top, color-stop(0%,%COLOR), color-stop(100%,transparent))","-webkit-linear-gradient(left, %COLOR 0%,transparent 100%)","-o-linear-gradient(left, %COLOR 0%,transparent 100%)","linear-gradient(to right, %COLOR 0%,transparent 100%)"];$.browser.msie?this.$gradient.css("filter",["progid:DXImageTransform.Microsoft.gradient(startColorstr='",e,"', EndColor=0, GradientType=1)"].join("")):i.forEach(function(t){this.$gradient.css("background-image",t.replace(/%COLOR/,e))}.bind(this))},t.prototype.val=function(t){return void 0!==t&&(this.setValue(+t),this.updateRoller()),this.value},function(e,i){return new t(e,i)}}();t.exports=o},"d2+F":function(t,e,i){"use strict";var o,r,n,s,a,l,c,u,h,p,d,f,v,g,_,m;i("zNST"),i("utoz"),o=i("eJTA"),r=o.rgba,n=o.areEqualRgb,s=o.areEqualRgba,a=o.normalizeHue,l=o.normalizeHsvSaturation,c=o.normalizeValue,u=o.hsv,h=o.rgbToHsv,p=o.hsvToRgb,d=o.rgbToString,f=o.rgbaToString,v=o.parseRgb,g=o.parseRgba,_=i("Y+MS"),m=i("wmOI").ESC,function(t){function e(t){return""===t?t:f(g(t))}function i(t){t&&(t.join||(t=t?(""+t).split(","):[]),C=t)}function o(k){function w(e,i,o){var n=t(this);e=f(r(v(e),i)),$.call(this,e),n.removeData("tvcolorpicker").removeData("tvcolorpicker-custom-color"),o&&(S.call(n),n.blur())}function $(e){var i=t(this);i.val(e),i.change(),e?i.trigger("pick-color",e):i.trigger("pick-transparent"),x.call(this,e)}function x(e){""!==e?(t(this).removeClass("tvcolorpicker-gradient-widget"),t(this).css({backgroundColor:e,color:e})):t(this).addClass("tvcolorpicker-gradient-widget")}function M(e,i){var o,r,s,a,l,c,u;return i=i||{},r=(o=this).prop("ownerDocument"),s=t(o).val().toLowerCase(),a=r.createElement("table"),l=r.createElement("tbody"),a.appendChild(l),u=0,t.each(e,function(e,r){var a,h;u++,e%y==0&&(c=t("
").appendTo(l)),a=t('').appendTo(c),h=t('
').appendTo(a).find(".tvcolorpicker-swatch").data("color",r),i.addClass&&h.addClass(i.addClass),r&&(r=r.toLowerCase(),s&&n(v(s),v(r))&&h.addClass("active"),h.css({backgroundColor:r}).data("color",r),h.bind("click",function(){w.call(o,r,P.val(),!0)}))}),t(a).addClass("tvcolorpicker-table"),u?a:t()}function V(e){function i(t){var e=t.originalEvent,i=t.offsetX||t.layerX||e&&(e.offsetX||e.layerX)||0,o=t.offsetY||t.layerY||e&&(e.offsetY||e.layerY)||0;V.css({left:i+"px",top:o+"px"}),z[0]=a(i/A),z[1]=l(1-o/R),F.css({backgroundColor:d(p(u(z[0],z[1],1)))}),b()}function o(e){1==e.which&&(H=!1,j.is(".opened")&&t(W).get(0).focus())}function n(e){ +var i=function(e){var i=e.pageY,o=t(D),r=i-o.offset().top;return r>o.height()?o.height():r<0?0:r}(e);I.css({top:i+"px"}),z[2]=c(1-Math.max(0,Math.min(i,R))/R),b()}function m(e){1==e.which&&(B=!1,t(U).unbind("mouseup",m),j.is(".opened")&&t(W).get(0).focus())}function b(){var t,e;L&&(L=!1,j.find(".tvcolorpicker-swatch.active").removeClass("active")),t=r(p(z),P.val()),s(g(W.val().toUpperCase()),t)||(e=f(t),W.data("tvcolorpicker-custom-color",e),$.call(W,e))}var y,k,x,V,S,O,F,I,D,R,A,H,B,L,z,N=!1,W=t(this),U=W.prop("ownerDocument"),j=t('
'),G=t('
').appendTo(j);return G.append(M.call(this,["rgb(0, 0, 0)","rgb(66, 66, 66)","rgb(101, 101, 101)","rgb(152, 152, 152)","rgb(182, 182, 182)","rgb(203, 203, 203)","rgb(216, 216, 216)","rgb(238, 238, 238)","rgb(242, 242, 242)","rgb(255, 255, 255)"])),G.append(M.call(this,["rgb(151, 0, 0)","rgb(255, 0, 0)","rgb(255, 152, 0)","rgb(255, 255, 0)","rgb(0, 255, 0)","rgb(0, 255, 255)","rgb(73, 133, 231)","rgb(0, 0, 255)","rgb(152, 0, 255)","rgb(255, 0, 255)"])),G.append(M.call(this,["rgb(230, 184, 175)","rgb(244, 204, 204)","rgb(252, 229, 205)","rgb(255, 242, 204)","rgb(217, 234, 211)","rgb(208, 224, 227)","rgb(201, 218, 248)","rgb(207, 226, 243)","rgb(217, 210, 233)","rgb(234, 209, 220)","rgb(221, 126, 107)","rgb(234, 153, 153)","rgb(249, 203, 156)","rgb(255, 229, 153)","rgb(182, 215, 168)","rgb(162, 196, 201)","rgb(164, 194, 244)","rgb(159, 197, 232)","rgb(180, 167, 214)","rgb(213, 166, 189)","rgb(204, 65, 37)","rgb(224, 102, 102)","rgb(246, 178, 107)","rgb(255, 217, 102)","rgb(147, 196, 125)","rgb(118, 165, 175)","rgb(109, 158, 235)","rgb(111, 168, 220)","rgb(142, 124, 195)","rgb(194, 123, 160)","rgb(166, 28, 0)","rgb(204, 0, 0)","rgb(230, 145, 56)","rgb(241, 194, 50)","rgb(106, 168, 79)","rgb(69, 129, 142)","rgb(60, 120, 216)","rgb(61, 133, 198)","rgb(103, 78, 167)","rgb(166, 77, 121)","rgb(133, 32, 12)","rgb(153, 0, 0)","rgb(180, 95, 6)","rgb(191, 144, 0)","rgb(56, 118, 29)","rgb(19, 79, 92)","rgb(17, 85, 204)","rgb(11, 83, 148)","rgb(53, 28, 117)","rgb(116, 27, 71)","rgb(91, 15, 0)","rgb(102, 0, 0)","rgb(120, 63, 4)","rgb(127, 96, 0)","rgb(39, 78, 19)","rgb(12, 52, 61)","rgb(28, 69, 135)","rgb(7, 55, 99)","rgb(32, 18, 77)","rgb(76, 17, 48)"])),y=t('
').css({display:"none"}).appendTo(j),k=t('
').appendTo(y),x=t('
').appendTo(k),V=t('
').appendTo(x),S=t('
').appendTo(x),O=t('
').appendTo(k),F=t('
').appendTo(O),I=t('
').appendTo(F),D=t('
').appendTo(F),(P=_(t(this),e.hideTransparency)).initEvents(),P.updateColor(),P.$el.appendTo(j),P.val(g(W.val()||T)[3]),R=x.height(),A=x.width(),H=!1,B=!1,L=!0,z=[0,0,.5],S.bind("mousedown",function(e){1==e.which&&(H=!0, +t(U).bind("mouseup",o),i(e),e.preventDefault())}),S.bind("mousemove",function(t){H&&(i(t),t.preventDefault())}),t(P).on("change",function(){N?b():w.call(this,t(this).val()||T,P.val())}.bind(this)),t(P).on("afterChange",function(){t(this).focus()}.bind(this)),O.bind("mousedown",function(e){1==e.which&&(B=!0,t(U).bind("mouseup",m),n(e),e.preventDefault())}),t(U).bind("mousemove",function(t){B&&(n(t),t.preventDefault())}),t('
'+window.t("Custom color...")+"").appendTo(j).bind("click",function(){var e,i=t(this).is(".active");i||y.css({minWidth:G.width()+"px",minHeight:G.height()+"px"}),t(this)[i?"removeClass":"addClass"]("active"),N=t(this).is(".active"),y.css({display:i?"none":"block"}),G.css({display:i?"block":"none"}),i?W.removeData("tvcolorpicker-custom-color"):(R=x.height(),A=x.width(),e=v(W.val()||T),z=h(e),V.css({left:~~(z[0]*A)+"px",top:~~((1-z[1])*R)+"px"}),I.css({top:~~((1-z[2])*R)+"px"}),F.css({backgroundColor:d(p(u(z[0],z[1],1)))}))}),j.append(t(M.call(this,C,{addClass:"tvcolorpicker-user"})).addClass("tvcolorpicker-user-swatches")),t(U.body).append(j),function(e,i,o){var r,n=t(e).prop("ownerDocument"),s=n.defaultView,a=t(e).offset(),l=(t(n).scrollLeft(),t(n).scrollTop()),c=t(e).outerWidth(),u=t(e).outerHeight(),h=t(s).width(),p=t(s).height(),d=t(i).outerWidth(),f=t(i).outerHeight(),v="function"==typeof o.direction?o.direction():o.direction;switch(v){default:case"down":r={top:a.top+u+o.offset,left:a.left+o.drift};break;case"right":r={top:a.top+o.drift,left:a.left+c+o.offset}}r.top+f>p+l&&(r.top=p-f+l),a.left+d>h&&(r.left=h-d),r.left+="px",r.top+="px",i.css(r)}(W,j,e),U.addEventListener("keydown",E,!1),j}function S(){var e=t(this).prop("ownerDocument")||document;t(e).find(".tvcolorpicker-popup").removeClass("opened").remove(),t(P).off("change"),t(P).off("afterChange"),e.removeEventListener("keydown",E,!1),t(O).data("tvcolorpicker",null),t(O).each(function(){var e,i=t(this).data("tvcolorpicker-custom-color");i&&(function(e){var i=!1,o=v(e);return t.each(C,function(t,e){if(n(v(e),o))return i=!0,!1}),!i&&(C=[d(o)].concat(C.slice(0,b-1)),!0)}(i)&&t(this).trigger("customcolorchange",[C]),t(this).data("tvcolorpicker-custom-color",null)),(e=t(this).data("tvcolorpicker-previous-color"))&&e!=t(this).val()&&t(this).trigger("change"),t(this).removeData("tvcolorpicker-previous-color")})}function E(t){t.keyCode===m&&(S.call(O),O.blur())}var P,O;return k=t.extend({},o.options,k||{}),O=this,k&&"customColors"in k&&i(k.customColors),this.each(function(){function i(){var t=e(s.val());x.call(s,t)}var o,r,n,s=t(this);s.val(e(s.val())),o=null,r=!1,s.addClass("tvcolorpicker-widget").attr("autocomplete","off").attr("readonly",!0),n=function(){s.data("tvcolorpicker")||(S.call(s),o=V.call(s,k),s.data("tvcolorpicker-custom-color",null),s.data("tvcolorpicker",o),s.data("tvcolorpicker-previous-color",s.val()),o.bind("mousedown click",function(e){t(e.target).parents().andSelf().is(o)&&(s.focus(),r=!0,setTimeout(function(){r=!1},0))}))},s.on("touchstart",n),s.focus(n),S.call(s), +s.bind("blur",function(t){r?t.stopPropagation():S.call(s)}),s.change(function(t){i()}),i()})}var b,y,C,T;if(!t)throw new Error("This program cannot be run in DOS mode");o.setCustomColors=i,t.fn.tvcolorpicker=o,b=29,y=10,C=[],T="rgb(14, 15, 16)",o.options={direction:"down",offset:0,drift:0}}(window.jQuery)},jNEI:function(t,e,i){"use strict";function o(t,e){void 0===e&&(e={});var i=$('');return null!==t&&i.appendTo(t),void 0!==e.addClass&&i.addClass(e.addClass),$('
').appendTo(i),$('').tvcolorpicker({customColors:function(t){var e,i,o,r=[];for(e=0,i=t;e50?t-50:0}),Object(s.rgbToString)(i)))}).bind("customcolorchange",function(t,e){Object(a.setJSON)("pickerCustomColors",e)}).appendTo(i),i}var r,n,s,a,l;i.r(e),i.d(e,"addColorPicker",function(){return o}),r=i("P5fv"),n=i("d2+F"),s=i("eJTA"),a=i("Vdly"),l="#727272"},utoz:function(t,e,i){},vBzC:function(t,e,i){var o,r,n;r=[i("P5fv"),i("Qwlt")],void 0===(n="function"==typeof(o=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}})?o.apply(e,r):o)||(t.exports=n)},zNST:function(t,e,i){}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/add-compare-dialog.99e6e22e5d6b137269e9.js b/charting_library/static/bundles/add-compare-dialog.99e6e22e5d6b137269e9.js deleted file mode 100644 index 2d762f03..00000000 --- a/charting_library/static/bundles/add-compare-dialog.99e6e22e5d6b137269e9.js +++ /dev/null @@ -1,21 +0,0 @@ -webpackJsonp([14,2],{1013:function(t,e,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function r(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var a,l;Object.defineProperty(e,"__esModule",{value:!0}),e.AddSymbolCheckbox=void 0,a=o(308),l=i(a),e.AddSymbolCheckbox=function(t){function e(t){n(this,e),t.checked=TVSettings.getBool("showAddSymbolDialog.checkboxState",!0);var o=s(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.$checkbox.change(function(){setTimeout(function(){TVSettings.setValue("showAddSymbolDialog.checkboxState",o.checked)})}),o}return r(e,t),e}(l.default)},1024:function(t,e,o){"use strict";(function(t){function i(e){var o,i,c,d,h,u,p,f,_,g,b;if(e=$.extend({},l,e),o=$(t.render(r,{tabs:e.tabs,customControls:e.customControls,customControlsAddClass:e.customControlsContainerAddClass},{additionalHeaderContent:e.additionalHeaderContent})),i=$(a),c=i,e.contentAddClass&&i.addClass(e.contentAddClass),!1!==e.withScroll&&(i=$('
').append(c.addClass("tv-dialog__scroll-wrap-inner"))),d=$('
').append(o).append(i),e.customControls&&o.find(".js-custom-controls").append(e.customControls),!0!==e.doNotCreatePages)for(h=0;h').append(e.tabs[h].page));return u=e.tabStateSaveKey,p=e.activeTab,f=e.tabsScrollBoxAddClass,_=e.tabAddClass,delete e.tabs,delete e.activeTab,delete e.customControls,delete e.tabStateSaveKey,delete e.customControlsContainerAddClass,delete e.tabsScrollBoxAddClass,delete e.tabAddClass,e.closeButtonAddClass="tv-tabbed-dialog__close",e.contentWrapTemplate=d,g=(0,s.createDialog)(e),b=new n.Tabs(o.find(".tv-tabs").get(0),c.get(0),{addLeftArrowsClass:"tv-tabbed-dialog__tabs-arrow-left",addRightArrowsClass:"tv-tabbed-dialog__tabs-arrow-right",addScrollBoxClass:f,tabClass:_,saveTab:u,activeTab:p}),g.on("afterOpen",function(){b.setActivePage(b.index(),!0,!0)}),{dialog:g,tabs:b}}var n,s,r,a,l;Object.defineProperty(e,"__esModule",{value:!0}),e.createTabbedDialog=i,n=o(1025),s=o(188),o(1027), -r='
{{#tabs}}
{{name}}
{{/tabs}}
{{#customControls}}
{{/customControls}}
{{>additionalHeaderContent}}',a='
',l={tabs:[]}}).call(e,o(126))},1025:function(t,e,o){"use strict";function i(t){var e,o=[];for(e=1;e'+b.leftArrow+"
"),this._elArrowRight=this._findOrCreateElement(this._options.rArrowClass||"",this._elTabs,"append",'
'+b.rightArrow+"
"),this._options.noSlider||(this._elSlider=this._findOrCreateElement(this._options.sliderClass||"",this._elScrollBox,"append")),this._addClass(this._elArrowLeft,this._options.addLeftArrowsClass),this._addClass(this._elArrowRight,this._options.addRightArrowsClass),this._addClass(this._elScrollBox,this._options.addScrollBoxClass), -this._addClass(this._elSlider,this._options.addSliderClass),this._addClass(this._elTabs,this._options.tabsContainerClass),this._addClass(this.getTabsArray(),this._options.tabClass),this._addClass(this._elTabs,this._options.loadedClass),this.checkScrollArrows(!0),this._initActivePage(),this._bindEvents()}return t.prototype.getTabsArray=function(){var t,e,o,i=this._elScrollBox.children;if(!this._options.sliderClass)return Array.prototype.slice.call(i);for(t=[],e=0;e=s?e(this._elArrowLeft):(i<=s||this._elScrollWrap.scrollWidth<=n)&&o(this._elArrowLeft,_.Left),a-i>1?e(this._elArrowRight):(i>=a||this._elScrollWrap.scrollWidth<=n)&&o(this._elArrowRight,_.Right)},t.prototype.index=function(){var t=this.getElActiveTab();return t?this.getTabsArray().indexOf(t):-1},t.prototype.getElActiveTab=function(){return this._getActiveElement(this.getTabsArray(),this._options.activeTabClass||"",this._options.inactiveTabClass)},t.prototype.getElActivePage=function(){return this._getActiveElement(this.getPagesArray(),this._options.activePageClass||"",this._options.inactivePageClass)},t.prototype.setActivePage=function(t,e,o){function i(e,o,i){e.forEach(function(e,n){var s=t===n,r=e.classList;o&&r.toggle(o,s),i&&r.toggle(i,!s)})}if(-1!==t&&(t!==this.index()||o)){var n=this.index();i(this.getTabsArray(),this._options.activeTabClass,this._options.inactiveTabClass),i(this.getPagesArray(),this._options.activePageClass,this._options.inactivePageClass),this._options.noSlider||this.updateSlider(n,t,e),this._options.saveTab&&p.setValue(this._options.saveTab,t),this.tabChanged.fire(t)}},t.prototype.updateSlider=function(t,e,o){var i,n,s,a,c,d,h=this;this._options.noSlider||(i=this.getTabsArray()[e],0===i.clientWidth||0===i.clientHeight||"none"===window.getComputedStyle(i).getPropertyValue("display")||(n=window.getComputedStyle(i),s=i.offsetLeft+parseInt(n.getPropertyValue("padding-left")),a=this._getElWidth(i),c=i.querySelector(".js-tabs__slider-pos"),c&&(d=window.getComputedStyle(c),s+=parseInt(d.getPropertyValue("padding-left"))+c.offsetLeft,a-=a-this._getElWidth(c)), -o=o||-1===t||document.all&&!window.atob,o?(this._elSlider.style.left=s+"px",this._elSlider.style.width=a+"px"):(this._animating=!0,Object(r.lazyVelocity)().then(function(){$.Velocity.animate(h._elSlider,{left:s},{duration:l.dur,easing:"easeOutCubic",queue:!1}),$.Velocity.animate(h._elSlider,{width:a},{complete:function(){h._animating=!1},duration:l.dur,easing:"easeOutCubic",queue:!1})}))))},t.prototype.onTabClick=function(t){var e=t.currentTarget||t.target,o=this.getTabsArray().indexOf(e);-1===o||this._isTabDisabled(e)||this.setActivePage(o),document.activeElement.blur(),t.preventDefault()},t.prototype.resizeSlider=function(){var t,e;this._options.noSlider||(t=this._elTabs.offsetWidth)!==this._prevWidth&&(this._prevWidth=t,e=this.index(),this.updateSlider(e,e,!0))},t.prototype.count=function(){return this.getTabsArray().length},t.prototype.add=function(t,e){this._elScrollBox.appendChild(t),this._elPages&&e&&this._elPages.appendChild(e),this._bindTabEvents(t),this.checkScrollArrows(!0)},t.prototype.remove=function(t){function e(t){t.parentElement&&t.parentElement.removeChild(t)}var o,i,n=this.tabAt(t);n&&(this._unbindTabEvents(n),e(n)),o=this.pageAt(t),o&&e(o),i=t-1>=0?t-1:0,this.setActivePage(i),this.checkScrollArrows(!0)},t.prototype.indexOfTab=function(t){return this.getTabsArray().indexOf(t)},t.prototype.indexOfPage=function(t){return this.getPagesArray().indexOf(t)},t.prototype.pageAt=function(t){return this.getPagesArray()[t]||null},t.prototype.tabAt=function(t){return this.getTabsArray()[t]||null},t.prototype.deselect=function(t){var e,o=this.getElActiveTab();return this._options.activeTabClass&&o&&o.classList.remove(this._options.activeTabClass),e=this.getElActivePage(),this._options.activePageClass&&e&&e.classList.remove(this._options.activePageClass),this._elSlider&&(this._elSlider.style.left="",this._elSlider.style.width=""),this},t.prototype.stop=function(){this._unbindEvents({})},t.prototype._getElWidth=function(t){if(0===t.offsetWidth)return 0;var e=window.getComputedStyle(t);return t.offsetWidth-parseFloat(e.getPropertyValue("padding-left"))-parseFloat(e.getPropertyValue("padding-right"))-parseFloat(e.getPropertyValue("border-left-width"))-parseFloat(e.getPropertyValue("border-right-width"))},t.prototype._findOrCreateElement=function(t,e,o,i){var n,s,r,a=e.querySelector("."+t);if(!a)if(n=document.createElement("div"),n.innerHTML=i||'
',a=n.firstElementChild,"append"===o)e.appendChild(a);else{if("wrapInner"!==o)throw Error("Unknown insertMethod");for(s=Array.prototype.slice.call(e.childNodes),r=0;rs?n=!0:i=e}}),Object(r.lazyVelocity)().then(function(){$.Velocity.animate(e._elScrollWrap,"scroll",{axis:"x",container:$(e._elScrollWrap),duration:l.dur/2,easing:"easeInOutCubic",offset:Math.floor(i-s-e._getElWidth(e._elArrowLeft)),queue:!1})})},target:this._elArrowLeft}),this._bindOneEvent({eventName:"click",listener:function(t){var o=e.getTabsArray(),i=0,n=f.IS_RTL?0:e._elScrollWrap.scrollLeft+e._getElWidth(e._elScrollWrap);f.IS_RTL&&o.reverse(),o.forEach(function(t){if(0===i){var e=t.offsetLeft+t.offsetWidth;e>n&&(i=e)}}),Object(r.lazyVelocity)().then(function(){$.Velocity.animate(e._elScrollWrap,"scroll",{axis:"x",container:$(e._elScrollWrap),duration:l.dur/2,easing:"easeInOutCubic",offset:Math.ceil(i-n+e._getElWidth(e._elArrowRight)),queue:!1})})},target:this._elArrowRight}),t=Array.prototype.slice.call(this._elTabs.querySelectorAll(".js-tabs__slider-hover")||[]),t.length&&t.forEach(function(t){return e._bindOneEvent({eventName:"mouseenter",listener:function(t){if(!e._animating){var o=t.currentTarget;o&&e._options.activeTabClass&&o.classList&&o.classList.contains(e._options.activeTabClass)&&e._hoverSlider(o)}},target:t})}),this._bindOneEvent({eventName:"resize",listener:function(){e.checkScrollArrows(!0),e._options.noSlider||e.resizeSlider()},target:window})},t.prototype._bindTabEvents=function(t){var e=this;this._bindOneEvent({eventName:"click",listener:function(t){"function"==typeof e._options.onTabClick?e._options.onTabClick(t):e.onTabClick(t)},target:t})},t.prototype._unbindTabEvents=function(t){this._unbindEvents({target:t})},t.prototype._bindOneEvent=function(t){t.target.addEventListener(t.eventName,t.listener),this._bindings.push(t)},t.prototype._unbindEvents=function(t){var e=function(e){return!(void 0!==e.eventName&&e.eventName!==t.eventName||void 0!==e.target&&e.target!==t.target||void 0!==e.listener&&e.listener!==t.listener)};this._bindings.filter(e).forEach(function(t){return t.target.removeEventListener(t.eventName,t.listener)}),this._bindings=this._bindings.filter(function(t){return!e(t)})},t.prototype._getActiveElement=function(t,e,o){var i=function(t,i,n){return e?t.classList.contains(e):!!o&&!t.classList.contains(o)};return t.filter(i)[0]||null},t.prototype._isTabDisabled=function(t){return t.classList.contains("i-disabled")||this._options.tabDisabledClass&&t.classList.contains(this._options.tabDisabledClass)||t.hasAttribute("disabled")},t.prototype._hoverSlider=function(t){var e,o=this,i=this._getElWidth(t),n=window.getComputedStyle(t),s=t.offsetLeft+parseInt(n.getPropertyValue("padding-left"))+parseInt(n.getPropertyValue("margin-left")),a={duration:l.dur/4, -easing:"easeOutCubic",queue:!1};Object(r.lazyVelocity)().then(function(){$.Velocity.animate(o._elSlider,{left:s},a),$.Velocity.animate(o._elSlider,{width:i},a)}),e=function(){o.getElActiveTab()===t&&o._unhoverSlider(t),t.removeEventListener("mousleave",e)},t.addEventListener("mouseleave",e)},t.prototype._unhoverSlider=function(t){var e=this,o=window.getComputedStyle(t),i=t.querySelector(".js-tabs__slider-pos"),n=window.getComputedStyle(i),s=t.offsetLeft+parseInt(o.getPropertyValue("padding-left"))+parseInt(o.getPropertyValue("margin-left"))+parseInt(n.getPropertyValue("padding-left"))+i.offsetLeft,a=this._getElWidth(t),c=a-(a-this._getElWidth(i)),d={duration:l.dur/2,easing:"easeInSine",queue:!1};Object(r.lazyVelocity)().then(function(){$.Velocity.animate(e._elSlider,{left:s},d),$.Velocity.animate(e._elSlider,{width:c},d)})},t}()},1026:function(t,e){},1027:function(t,e){},1043:function(t,e){},1216:function(t,e,o){"use strict";(function(t,i){function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var s,r,a,l,c,d;Object.defineProperty(e,"__esModule",{value:!0}),e.CompareTab=void 0,s=function(){function t(t,e){var o,i;for(o=0;o\n\t\t\n\t
',c='
',d='\n\t
\n\t\t\n\t
',e.CompareTab=function(){function e(t,o){n(this,e),this._chartWidgetCollection=t,this._dialog=o,this._$popup=null,this._predefines={},this._symbolAlias={},this.init()}return s(e,[{key:"addCompareSymbol",value:function(t,e,o){var i,n,s,r,l,c,d=this._chartWidgetCollection.activeChartWidget.value();if(d&&(i=d.model())){for(n=i.mainSeries().interval(),s=i.studiesMetaData(),r=void 0,l=0;l\n\t\t\n\t\t
\n\t
',e.AddSymbolTab=function(){function t(e,o){i(this,t),this._chartWidgetCollection=e,this._dialog=o,this._$popup=null,this.init()}return n(t,[{key:"init",value:function(){var t=this;this.$tab=$(a),this._$input=this.$tab.find(".js-add-symbol-tab-input"),this._checkbox=new r.AddSymbolCheckbox({labelRight:$.t("Overlay the main chart"),labelAddClass:"tv-add-symbol-tab__checkbox-label",boxAddClass:"tv-add-symbol-tab__checkbox-box"}), -this.$tab.find(".js-add-symbol-tab-checkbox").append(this._checkbox.$el),(0,s.bindToInput)(this._$input,{callback:function(e){var o=t._chartWidgetCollection.activeChartWidget.value();o&&o.addSymbol(e,t._checkbox.checked)},onPopupOpen:function(e){e.css("z-index",t._dialog.getZIndex()),t._$popup=e},onPopupClose:function(){t._$popup=null},keepFocus:!0,clearAfterAccept:!0})}},{key:"focus",value:function(){Modernizr.touch||this._$input.focus()}},{key:"isClickOnTab",value:function(t){return!!this._$popup&&!(this._$popup[0]!==t.target&&!this._$popup[0].contains(t.target))}}]),t}()},1219:function(t,e){},1220:function(t,e){},188:function(t,e,o){"use strict";function i(t){var e=t.type||"popup";return delete t.type,"modal"===e?new n.TVModal(t):new s.TVPopup(t)}var n,s;Object.defineProperty(e,"__esModule",{value:!0}),n=o(837),s=o(843),e.createDialog=i},690:function(t,e,o){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),i=o(839),o.n(i),o.o(i,"TVDialogAbstract")&&o.d(e,"TVDialogAbstract",function(){return i.TVDialogAbstract}),o.o(i,"closeAllDialogs")&&o.d(e,"closeAllDialogs",function(){return i.closeAllDialogs})},820:function(t,e,o){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n,s,r,a,l;Object.defineProperty(e,"__esModule",{value:!0}),e.AddCompareDialog=void 0,n=function(){function t(t,e){var o,i;for(o=0;ot.height()},breakpoints:l.breakpoints,widgetbarBreakpoint:1064,setFixedBodyState:function(t){var e,o;t&&1==++h?("hidden"!==$(document.body).css("overflow").toLowerCase()&&document.body.scrollHeight>document.body.offsetHeight&&($(".widgetbar-wrap").css("right",u.getScrollbarWidth()),c.css("padding-right",parseInt(c.css("padding-right").replace("px",""))+u.getScrollbarWidth()+"px").data("wasScroll",!0)),c.addClass("i-no-scroll")):!t&&h>0&&0==--h&&(c.removeClass("i-no-scroll"),c.data("wasScroll")&&(e=c.get(0),$(".widgetbar-wrap").css("right",0),o=$(".widgetbar-wrap").width()||0,e.scrollHeight<=e.clientHeight&&(o-=u.getScrollbarWidth()),c.css("padding-right",(o<0?0:o)+"px").data("wasScroll",void 0)))}},p=Object.keys(u.breakpoints).sort(function(t,e){return u.breakpoints[t]-u.breakpoints[e]}),i.extend(u,a.default.prototype),s(),$(s),d.on("resize",s),e.default=u,t.exports=e.default}).call(e,o(187))},833:function(t,e,o){"use strict";(function(t){function i(e,o,i){var n,s,r,a,l,c,d=this;if(this._options=$.extend({},this._defaultOptions,i||{}),this._$wrapper=e, -this._$content=o,this._scroll_speed=40,this._shadow_offset=10,this._header_height=this._options.headerHeight,this._scroll_margin_top=this._options.scrollMarginTop,this.scrolled=new t,this.scrolltoend=new t,this.scrolltostart=new t,this.visibilityCallbacks=[],n=navigator.platform.toLowerCase(),s=navigator.userAgent.toLowerCase(),r=s.indexOf("firefox")>-1,a=n.indexOf("android")>-1||s.indexOf("android")>-1,this._touch=Modernizr.touch||navigator.msMaxTouchPoints||r&&a,this._touch)return this._$content.css("position","relative"),void this._$wrapper.css({"overflow-y":"auto","-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}).scroll(this._onScroll.bind(this));this._$wrapper.css("overflow","hidden"),this._$wrapper.on("mouseenter.sidebar-scroll",function(){d._bottomFixed||d._dragging||(d._options.alwaysVisible||d._$scrollBar.addClass("active"),d._onScroll())}).on("mouseleave.sidebar-scroll",function(){d._bottomFixed||d._dragging||(d._options.alwaysVisible||d._$scrollBar.removeClass("active"),d._onScroll())}).on("mousewheel.sidebar-scroll",function(t,e){if(!t.isDefaultPrevented())return d.scroll(e,"MozMousePixelScroll"===t.originalEvent.type?2:null)}),!1!==this._options.showTopShadow&&(this._$shadowTop=$('
').appendTo(this._$wrapper)),!1!==this._options.showBottomShadow&&(this._$shadowBottom=$('
').appendTo(this._$wrapper)),this._$shadowTop&&this._header_height&&this._$shadowTop.css("top",this._header_height-this._shadow_offset),l=this._options.additionalClass?" "+this._options.additionalClass:"",c=this._options.alwaysVisible?" active-always":"",this._$scrollBarWrapper=$('
').appendTo(this._$wrapper),this._$scrollBar=$('
').appendTo(this._$scrollBarWrapper),this._onScroll()}var n=o(827).lazyJqueryUI;i.prototype.isTouch=function(){return this._touch},i.prototype.getScrollBar=function(){return this._$scrollBar},i.prototype._defaultOptions={headerHeight:0,additionalClass:"",alwaysVisible:!1,showBottomShadow:!0,scrollMarginTop:1,bubbleScrollEvent:!1},i.prototype.initDraggable=function(){if(this._dragInitialized)return this;var t=this;return n(this._$scrollBar).draggable({axis:"y",containment:this._$scrollBarWrapper,start:function(){t._dragging=!0},stop:function(){t._dragging=!1},drag:function(e,o){t.updateScroll()}}),this._dragInitialized=!0,this},i.prototype.updateScroll=function(){var t,e,o,i,n;return this._touch?this:(t=1,e=Math.ceil(this._$scrollBar.position().top-this._scroll_margin_top-this._header_height),o=this.getContainerHeightWithoutHeader(),i=this._$content.outerHeight(),n=i-o-t,o<=0?this:(this._scroll_target_top=n<=0?this._header_height:Math.min(-e*i/o+this._header_height,this._header_height),e+this._$scrollBar.height()+2>=o?this.scrollToEnd():(this._$content.css("top",this._scroll_target_top+"px"),this._onScroll()),this))},i.prototype.getContainerHeightWithoutHeader=function(){ -return this._$wrapper[0].getBoundingClientRect().height-this._header_height},i.prototype.getContainerHeight=function(){return this._$wrapper[0].getBoundingClientRect().height},i.prototype.getContentHeight=function(){return this._$content[0].getBoundingClientRect().height},i.prototype.updateScrollBar=function(){var t,e,o,i,n,s,r,a,l;return this._touch?this:(t=1,e=this._$content.position().top,o=this.getContentHeight(),i=this.getContainerHeight(),n=this.getContainerHeightWithoutHeader(),s=t+this._header_height,r=n-2*t,a=(Math.abs(e)-this._header_height)*r/o,l=i*i/o,this.isContentShort()?(this._$scrollBar.addClass("js-hidden"),this._$wrapper.removeClass("sb-scroll-active")):(this._$scrollBar.removeClass("js-hidden").height(l).css("top",s+a),this._$wrapper.addClass("sb-scroll-active"),this.initDraggable()),this)},i.prototype.scroll=function(t,e){var o,i,n,s,r;return this._touch?this:(o=this._$content.position().top,i=this._$content.outerHeight(),n=this.getContainerHeightWithoutHeader(),s=i-n-1,r=e||this._scroll_speed,s<=0||(this._scroll_target_top=Math.max(-s+this._header_height,Math.min(this._header_height,o+t*r)),this.setContentTop(this._scroll_target_top),this._onScroll()))},i.prototype.animateTo=function(t){var e,o,i;return this._touch?this:(e=this._$content.outerHeight(),o=this.getContainerHeightWithoutHeader(),(i=e-o-1)<=0||(this._scroll_target_top=Math.max(-i+this._header_height,Math.min(this._header_height,-t)),void this._$content.animate({top:this._scroll_target_top},500,function(){this._onScroll()}.bind(this))))},i.prototype.resize=function(){var t,e;if(!this._bottomFixed){if(t=this._$content.outerHeight(),e=this._$wrapper.outerHeight(),!this._options.vAlignBottom&&ts&&t+e.areaHeightr?r-t-e.areaHeight:s-t}else"top"===e.position&&(a=s-t);return this.scroll(a,1),this._onScroll(),!1},i.prototype.scrollToEnd=function(){var t=this._$content.position().top,e=this._$content.outerHeight(),o=this._$wrapper.outerHeight(),i=e+t;return this.setContentTop(t+(o-i)+1),this._onScroll(),this},i.prototype.scrollToStart=function(){return this.setContentTop(this._header_height),this._onScroll(),this},i.prototype.currentPosition=function(){return Math.round(this._$content.position().top)}, -i.prototype.atStart=function(){return Math.round(this._$content.position().top)>=this._header_height},i.prototype.atEnd=function(t){var e,o,i,n;return"number"==typeof t&&isFinite(t)||(t=0),e=1,o=Math.round(this._$content.position().top),i=this._$content.outerHeight(),n=this._$wrapper.outerHeight(),i-Math.abs(o)-e<=n+t},i.prototype._onScroll=function(t){var e,o;return this._touch||this._$content.css("bottom","auto"),this.scrolled.fire(),this._dragging&&!0!==t||this.updateScrollBar(),e=this.atStart(),o=this.atEnd(),this._$shadowTop&&this._$shadowTop.toggleClass("i-invisible",!!e),this._$shadowBottom&&this._$shadowBottom.toggleClass("i-invisible",!!o),this._onContentVisible(),!this._atStart&&e?(this._atStart=!0,this.scrolltostart.fire()):this._atStart&&!e&&delete this._atStart,!this._atEnd&&o?(this._atEnd=!0,this.scrolltoend.fire()):this._atEnd&&!o&&delete this._atEnd,this._options.vAlignBottom&&(this._stickyBottom=this._$content.outerHeight()-Math.abs(this._$content.position().top)-this._$wrapper.outerHeight()),!(!this._atStart&&!this._atEnd||("function"==typeof this._options.bubbleScrollEvent?!this._options.bubbleScrollEvent():!this._options.bubbleScrollEvent))},i.prototype.checkContentVisibility=function(){this._onContentVisible()},i.prototype.subscribeToContentVisible=function(t,e,o){this.visibilityCallbacks.push({id:t,$el:e,callback:o})},i.prototype.triggerVisibilityCallbacks=function(t){this._onContentVisible(t)},i.prototype._contentIsVisible=function(t){return t.$el.position().top>-1*this.currentPosition()},i.prototype._onContentVisible=function(t){var e,o,i;this.visibilityCallbacks.length&&(e=t||this._contentIsVisible.bind(this),o=[],i=this.visibilityCallbacks.filter(function(t,i){if(!$.contains(this._$content,t.$el[0]))return!1;var n=e(t);return n&&o.push(i),!n},this),o.forEach(function(e){this.visibilityCallbacks[e].callback(!!t)},this),delete this.visibilityCallbacks,this.visibilityCallbacks=i)},i.prototype.save=function(){return this._saved={top:this._$content.position().top,height:this._$content.outerHeight()},this},i.prototype.restore=function(){if(this._saved){if(this._saved.top===this._$content.position().top&&this._saved.height===this._$content.outerHeight())return delete this._saved,this;this._options.vAlignBottom&&(this._saved.top-=this._$content.outerHeight()-this._saved.height,this._saved.top>this._header_height&&(this._saved.top=this._header_height)),this.setContentTop(this._saved.top),delete this._saved,this._onScroll(!0)}return this},i.prototype.fixBottom=function(){var t,e;return this._bottomFixed?this:(this._touch?(t=this._$content.outerHeight(),e=this._$wrapper.scrollTop(),this._tempIntervalID=setInterval(function(){this._$wrapper.scrollTop(e+(this._$content.outerHeight()-t))}.bind(this),0)):this._$content.css({top:"auto",bottom:this._$wrapper.outerHeight()-this._$content.position().top-this._$content.outerHeight()}),this._bottomFixed=!0,this)},i.prototype.releaseBottom=function(){return this._bottomFixed?(this._touch?clearInterval(this._tempIntervalID):this._$content.css({ -top:this._$content.position().top,bottom:"auto"}),delete this._bottomFixed,this._onScroll(),this):this},i.prototype.setContentTop=function(t){return this._touch?this._options.vAlignBottom&&this._$content.outerHeight()
',containerTemplate:'
',ajaxErrorTemplate:'
'+$.t("Error")+"
"},e.TVModal=function(e){function o(){var t,e,i,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,o),t=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,c({},w,a))),t.$overlay=$(t.options.overlayTemplate),t.$modalWrap=$(t.options.containerTemplate), -t.$body=t.$modalWrap.find(".tv-dialog__modal-body").append(t.$el),t.options.closeOnOutsideClick&&t.$overlay.add(t.$modalWrap).click(function(e){t.isEventOut(e)&&t.close()}),t.on("change:zIndex",function(){t.$overlay.css("z-index",t.zIndex),t.$modalWrap.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$overlay.remove(),t.$modalWrap.remove()};t.opened?(t.close(),setTimeout(e,t.options.closingDuration)):e()}),t.on("beforeOpen",function(){C.push(t)}),t.options.ajax.url&&(e=t.options.ajax.beforeSend||$.noop,i=t.options.ajax.success||!1,n=t.options.ajax.error||$.noop,$.extend(t.options.ajax,{beforeSend:function(){t.trigger("beforeLoading",[t]),t.startSpinner(),e(t)},success:function(e){t.trigger("afterLoading",[t]),t.renderContent(i?i(t,e):e).showContent(),t.trigger("afterLoadingShow",[t])},error:function(){t.renderContent(t.options.ajaxErrorTemplate),n(t),t.trigger("errorLoading",[t])}})),t.on("error",function(e,o){t.$modalWrap[0].getBoundingClientRect().height0&&C[C.length-1].focus(),e.options.destroyOnClose&&e.destroy()},this.options.closingDuration),this}},{key:"showContent",value:function(){var t=this;return this.$modalWrap.removeClass("i-hidden"),setTimeout(function(){t.$modalWrap.removeClass("i-closed")},20),setTimeout(function(){t.trigger("afterOpen",[t]),t.spinner&&t.stopSpinner()},.75*u.dur+20),this}},{key:"hideContent",value:function(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}},{key:"startSpinner",value:function(){return this.spinner=new g.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}},{key:"stopSpinner",value:function(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this} -}]),o}(_.TVDialogAbstract)}).call(e,o(187))},838:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o.d(e,"breakpoints",function(){return i});var i={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019}},839:function(t,e,o){"use strict";(function(t,i){function n(t){return t&&t.__esModule?t:{default:t}}function s(t){var e,o;if(t&&t.__esModule)return t;if(e={},null!=t)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(){y.forEach(function(t){return t.close()})}var d,h,u,p,f,_,g,b,v,y,m,C,w,k,T,S,x;Object.defineProperty(e,"__esModule",{value:!0}),e.TVDialogAbstract=void 0,d=Object.assign||function(t){var e,o,i;for(e=1;e',errorTemplate:'
{{{ error }}}
',titleTemplate:'
{{{ title }}}
',contentWrapTemplate:'
',actionsWrapTemplate:'
',closeButtonTemplate:'
'+o(828)+"
",helpButtonTemplate:'',helpActionsMod:"tv-dialog__section--actions_with-help"},T={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"},S={_default:'
{{ text }}
',"submit-success":''},$(function(){k.$wrap=$(document.all&&!document.querySelector?"html":"body")}),x=function(e){function o(){var e,i,n,s,l,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(r(this,o),e=a(this,(o.__proto__||Object.getPrototypeOf(o)).call(this)),e._id=v++,e.loadingActions=[],e.disabledActions=[],e.firstFocusControl=null,e.options=d({},k,c),e.$el=$(t.render(e.options.template,{title:e.options.title,closeButton:e.options.closeButton})),e.$el.addClass("js-dialog"),e.el=e.$el[0],e.options.addClass&&e.$el.addClass(e.options.addClass),e.options.width&&e.$el.css({width:"100%","max-width":e.options.width}),e.options.title&&(e.$title=$(t.render(e.options.titleTemplate,{title:e.options.title})).appendTo(e.$el)),e.$content=$(e.options.contentWrapTemplate).appendTo(e.$el),e.$contentIn=e.$content;e.$contentIn.length;)e.$contentIn=e.$contentIn.children();if(e.$contentIn=e.$contentIn.end(),e.options.content&&e.renderContent(e.options.content),(e.options.actions||e.options.help)&&(e.$content.hasClass("tv-dialog__section")&&e.$content.addClass("tv-dialog__section--no-padding_bottom"),e.$actions=$(e.options.actionsWrapTemplate).appendTo(e.$el)),e.options.actions)for(e.actions={},e.$el.on("click touchend",".js-dialog__action-click",function(t){t.preventDefault(),e.actionDispatcher($(t.currentTarget).data("name"))}),i=function(o){var i,n,s,r,a,l,c=e.options.actions[o];c.type||(c.type="default"),c.class||(c.class=T[c.type]?T[c.type]:T.default),"checkbox"===c.type?(i=new _.default({labelRight:c.text,name:c.name,checked:c.checked}),e.actions[c.name]=i.$el.appendTo(e.$actions),e.actions[c.name].on("change",function(){setTimeout(function(){return e.actionDispatcher(c.name,i.checked)})})):e.actions[c.name]=$(t.render(c.template?c.template:S[c.type]||S._default,c,c)).appendTo(e.$actions),c.method&&"function"==typeof e[c.method]&&e.on("action:"+c.name,e[c.method].bind(e)),c.addClass&&e.actions[c.name].addClass(c.addClass),c.key&&(n=void 0,"string"==typeof c.key&&c.key.split("+").length>1?(s=[],r=c.key.split("+"),n=function(t){s=[]},a=function(t){var o=""+t.keyCode;-1!==r.indexOf(o)&&s.indexOf(o)&&s.push(o),e._focused&&s.length===r.length&&(s=[],e.actionDispatcher(c.name))},e.on("afterOpen",function(){w.on("keydown",a),w.on("keyup",n)}),e.on("beforeClose",function(){w.off("keydown",a),w.off("keyup",n)})):(l=$.isArray(c.key)?c.key:[c.key],n=function(t){!t.isDefaultPrevented()&&e._focused&&-1!==l.indexOf(t.keyCode)&&e.actionDispatcher(c.name)},e.on("afterOpen",function(){return w.on("keyup",n)}),e.on("beforeClose",function(){return w.off("keyup",n)})))},n=e.options.actions.length-1;n>=0;n--)i(n) -;return e.options.help&&$(t.render(e.options.helpButtonTemplate,e.options.help)).prependTo(e.$actions.addClass(e.options.helpActionsMod)),e.options.closeButton&&(s=$(e.options.closeButtonTemplate),s.addClass(e.options.closeButtonAddClass||""),l=e.$el,1===e.$el.find(".js-close-button-place").length&&(l=e.$el.find(".js-close-button-place")),s.appendTo(l)),e.setZIndex(C+y.length),c.errorMod&&(e.errorMod=c.errorMod),e.on("afterOpen",function(){e.options.focusFirstControl&&!Modernizr.touch&&(e.firstFocusControl||e.$el.find('input:not([type="hidden"]), textarea').first()).focus()}),e.$el.on("click touchend",".js-dialog__close",e.close.bind(e)),e.$el.on("mousedown touchstart",e.focus.bind(e)),y.push(e),e}return l(o,e),h(o,[{key:"renderContent",value:function(t){return this.$contentIn.html("function"==typeof t?t(this):t),this}},{key:"setDestroyOnClose",value:function(t){this.options.destroyOnClose=t}},{key:"setZIndex",value:function(t){return this.zIndex=t,this.trigger("change:zIndex",[this]),this}},{key:"toTop",value:function(){for(var t=y.length-1;t>=0;t--)y[t].zIndex>this.zIndex&&y[t].setZIndex(y[t].zIndex-1);return this.setZIndex(C+y.length),this}},{key:"isEventOut",value:function(t){var e,o,i;return this.options.isClickOutFn&&void 0!==(e=this.options.isClickOutFn(t))?e:(o=!0,i=$(t.target),i.get(0)!==this.$el.get(0)&&($(">*",this.$el).each(function(){i.get(0)===$(this).get(0)&&(o=!1),0===i.closest("HTML",$(this).get(0)).length&&(o=!1)}),o))}},{key:"focus",value:function(){var t=this;m&&m!==this&&m.unfocus(),this._setFocused(),this._focused=!0,this.$el.addClass(this.options.focusClass),this.trigger("focus",[this]),setTimeout(function(){w.on("mousedown.tv-dialog-unfocus-"+t._id,function(e){t.isEventOut(e)&&(t.unfocus(),w.off("mousedown.tv-dialog-unfocus-"+t._id))})},20)}},{key:"_setFocused",value:function(){m!==this&&(m=this)}},{key:"_setUnfocused",value:function(){m===this&&(m=void 0)}},{key:"unfocus",value:function(){m===this&&(this._setUnfocused(),this._focused=!1,this.$el.removeClass(this.options.focusClass).find(":focus").blur(),this.trigger("unfocus",[this]))}},{key:"isFocused",value:function(){return this._focused}},{key:"setTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.$title.toggleClass("tv-dialog__section--one-line apply-overflow-tooltip",e),this.$title.html(t),this}},{key:"setTitleText",value:function(t){this.$title.find(".js-title-text").text(t)}},{key:"actionDispatcher",value:function(t){if(!this.disabledActions.includes(t)&&!this.loadingActions.includes(t)){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:"init" -;return this.actions[t].tvButtonLoader(o),"init"===o&&(this.actions[t].off("tv-button-loader:start.dialog-action").on("tv-button-loader:start.dialog-action",function(){e.loadingActions.push(t)}),this.actions[t].off("tv-button-loader:stop.dialog-action").on("tv-button-loader:stop.dialog-action",function(){e.loadingActions=i.without(e.loadingActions,t)})),this}},{key:"error",value:function(e){var o=$(t.render(this.options.errorTemplate,{error:e,errorMod:this.errorMod})).appendTo(this.$el),i=function(){o.addClass("i-slided"),setTimeout(function(){return o.remove()},.75*p.dur)};return setTimeout(function(){return o.removeClass("i-slided")},20),w.one("touchstart mousedown keydown",i),this.trigger("error",[this,o]),this}},{key:"destroy",value:function(){y=i.without(y,this);for(var t=0;t'+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}return s(t,[{key:"_start",value:function(){var t=this;this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(function(){t.loading=!0,t.starting=!1,t._startPromise=!1,t.$btn.addClass("i-loading"),t.$btn.removeClass("i-start-load"),t._stopPromise&&t._stop()},2*l.dur)}},{key:"start",value:function(){this.starting||(this.stopping?this._startPromise=!0:this._start())}},{key:"_stop",value:function(){var t=this;this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(function(){t.loading=!1,t.stopping=!1,t._stopPromise=!1,t.$btn.removeClass("i-loading i-start-load i-stop-load"),t._startPromise&&t._start()},l.dur)}},{key:"stop", -value:function(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}},{key:"toggle",value:function(){this.loading?this.stop():this.start()}},{key:"contentHtml",value:function(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}},{key:"contentNojQuery",value:function(){return this.$btn.get(0)}},{key:"disable",value:function(){this.stop(),this.$btn.addClass("i-disabled")}},{key:"enable",value:function(){this.$btn.removeClass("i-disabled")}}]),t}()},841:function(t,e){},842:function(t,e){},843:function(t,e,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function n(t){var e,o;if(t&&t.__esModule)return t;if(e={},null!=t)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l,c,d,h,u,p,f,_,g,b,v,y,m;Object.defineProperty(e,"__esModule",{value:!0}),e.TVPopup=void 0,l=Object.assign||function(t){var e,o,i;for(e=1;e',scrollWrapInner:'
',withScroll:!0},m="js-dialog__scroll-wrap",e.TVPopup=function(t){function e(){var t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,e),t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,l({},y,o))),t.$scrollWrap=t.$content.hasClass(m)?t.$content:t.$content.find("."+m),t.$scrollWrap.length?t.$scrollWrapInner=t.$scrollWrap.children().first():(t.$scrollWrap=t.$content.wrap($(t.options.scrollWrap)).parent(),t.$scrollWrapInner=t.$content.wrap($(t.options.scrollWrapInner)).parent()),t.$actions&&t.$scrollWrap.addClass("i-with-actions"),t.options.withScroll&&(t.scroll=new _.SidebarCustomScroll(t.$scrollWrap,t.$scrollWrapInner),t.scroll.scrolled.subscribe(null,function(){return t.trigger("scroll")})),t.$scrollWrap.css("overflow",""),t.$el.addClass("tv-dialog--popup i-closed i-hidden"),t.options.width&&t.$el.css({width:"calc(100% - 20px)","max-width":t.options.width}),t.$el.on("mousedown touchstart",t.toTop.bind(t)), -t.options.closeOnOutsideClick&&(t.on("beforeOpen",function(){setTimeout(function(){t.opened&&$(document).on("click.tv-popup-"+t.id,function(e){var o=$(e.target).closest(".js-dialog");(t.options.closeOnClickAtOtherDialogs||0===o.length)&&t.isEventOut(e)&&t.close()})},0)}),t.on("beforeClose",function(){return $(document).off("click.tv-popup-"+t.id)})),t.on("change:zIndex",function(){t.$el.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$el.remove()};t.opened?(t.close(),setTimeout(e,h.dur/2)):e()}),t}return a(e,t),c(e,[{key:"open",value:function(){var t=this;return this.opened?this:(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.options.$wrap).removeClass("i-hidden").css(function(){var e,o,i,n,s;return t.calcHeight(),e=v.height(),o=v.width(),i=t.$el.height(),n=t.$el.width(),s=t.options.position,s||(s={top:e/2-i/2,left:o/2-n/2}),s.top>e-i&&(s.top=e-i),s.left>o-n&&(s.left=o-n),s}()),this.focus(),this.toTop(),this._doOpenAnimation().then(function(){t.opened&&(t.$el.removeClass("i-closed"),t.options.draggable&&((0,g.lazyJqueryUI)(t.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing"}),t.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),t.trigger("afterOpen",[t]))}),v.on("resize.tv-popup-"+this.id,function(){t.calcHeight(),t.fixPos()}),this)}},{key:"close",value:function(){var t=this;if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(function(){t.opened||((0,g.lazyJqueryUI)(t.$el).draggable("instance").then(function(t){t&&t.destroy()}),t.$el.addClass("i-hidden").detach(),b.css("cursor","auto"),t.trigger("afterClose",[t]),t.options.destroyOnClose&&t.destroy())}),v.off("resize.tv-popup-"+this.id),this}},{key:"hide",value:function(){this.$el.addClass("i-hidden")}},{key:"show",value:function(){this.$el.removeClass("i-hidden")}},{key:"fixPos",value:function(){var t=this.$el[0].getBoundingClientRect(),e={};t.bottom>p.default.height-10&&(e.top=p.default.height-10-t.height,e.top<10&&(e.top=10)),t.right>p.default.width-10&&(e.left=p.default.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}},{key:"calcHeight",value:function(){var t,e,o=this.$el[0].getBoundingClientRect(),i=this.$scrollWrapInner[0].getBoundingClientRect(),n=this.$scrollWrap[0].getBoundingClientRect(),s=this.options.height&&this.options.heights)&&(s-=o.height-n.height,s<60&&(s=60),this.$scrollWrap.css({height:s})),this.options.withScroll&&this.scroll.resize(),e=s\n\t\t\n\t\t
\n\t
',e.AddSymbolTab=function(){function t(e,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._chartWidgetCollection=e,this._dialog=o,this._$popup=null,this.init()}return a(t,[{key:"init",value:function(){var t=this;this.$tab=$(c),this._$input=this.$tab.find(".js-add-symbol-tab-input"),this._checkbox=new n.AddSymbolCheckbox({labelRight:$.t("Overlay the main chart"),labelAddClass:"tv-add-symbol-tab__checkbox-label",boxAddClass:"tv-add-symbol-tab__checkbox-box"}),this.$tab.find(".js-add-symbol-tab-checkbox").append(this._checkbox.$el),(0,i.symbolSearchUIService)().bindToInput(this._$input,{callback:function(e){var o=t._chartWidgetCollection.activeChartWidget.value();o&&o.addOverlayStudy(e,t._checkbox.checked)},onPopupOpen:function(e){e.css("z-index",t._dialog.getZIndex()),t._$popup=e},onPopupClose:function(){t._$popup=null},keepFocus:!0,clearAfterAccept:!0})}},{key:"focus",value:function(){Modernizr.mobiletouch||this._$input.focus()}},{key:"isClickOnTab",value:function(t){return!!this._$popup&&!(this._$popup[0]!==t.target&&!this._$popup[0].contains(t.target))}}]),t}()},UxRG:function(t,e,o){},dKfe:function(t,e,o){"use strict";var a,n,i;Object.defineProperty(e,"__esModule",{value:!0}),e.AddSymbolCheckbox=void 0,a=o("QwKQ"),n=(i=a)&&i.__esModule?i:{default:i},e.AddSymbolCheckbox=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),t.checked=TVSettings.getBool("showAddSymbolDialog.checkboxState",!0);var o=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return o.$checkbox.change(function(){setTimeout(function(){TVSettings.setValue("showAddSymbolDialog.checkboxState",o.checked)})}),o}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,n.default),e}()},frtK:function(t,e,o){},jPTo:function(t,e,o){},k47Q:function(t,e,o){}, +ocUP:function(t,e,o){"use strict";(function(t,a){var n,i,c,l,r,s;Object.defineProperty(e,"__esModule",{value:!0}),e.CompareTab=void 0,n=function(){function t(t,e){var o,a;for(o=0;o\n\t\t\n\t
',r='
',s='\n\t
\n\t\t\n\t
',e.CompareTab=function(){function e(t,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this._chartWidgetCollection=t,this._dialog=o,this._$popup=null,this._predefines={},this._symbolAlias={},this.init()}return n(e,[{key:"_addCompareSymbol",value:function(t,e,o){var a=this._chartWidgetCollection.activeChartWidget.value();if(a)return a.addCompareStudy(t).then(function(t){var e=null!==t;return e&&(0,c.trackEvent)("GUI","Add Compare"),e})}},{key:"removeCompareSymbol",value:function(t){var e,o=this,a=this._chartWidgetCollection.activeChartWidget.value();a&&(e=a.model())&&e.dataSources().forEach(function(a){if(a._metaInfo&&"Compare@tv-basicstudies"===a._metaInfo.id){var n=a.properties().inputs.symbol.value();(n===t||o._symbolAlias[n]&&o._symbolAlias[n]===t)&&e.removeSource(a)}})}},{key:"init",value:function(){var e,o,a,n=this,i=this._chartWidgetCollection.activeChartWidget.value();i&&(e=i.model())&&(o=e.dataSources(),this.$tab=$(l),this._initSymbolSearch(),t.enabled("charting_library_base")||(this._createPredefinesList(),(a=this.$tab.find(".js-compare-tab-predefines")).find(".js-predefine-checkbox").attr("checked",!1),Object.keys(this._predefines).forEach(function(t){var e=n._symbolToId(t),i=a.find("#"+e);o.forEach(function(e){if(e._metaInfo&&"Compare@tv-basicstudies"===e._metaInfo.id){var o=e.properties().inputs.symbol.value();(o===t||n._symbolAlias[o]&&n._symbolAlias[o]===t)&&i.attr("checked",!0)}})})))}},{key:"_initSymbolSearch",value:function(){var t=this;this._$input=this.$tab.find(".js-compare-tab-input"),(0,i.symbolSearchUIService)().bindToInput(this._$input,{callback:function(e){return t._addCompareSymbol(e)},onPopupOpen:function(e){e.css("z-index",t._dialog.getZIndex()),t._$popup=e},onPopupClose:function(){t._$popup=null},keepFocus:!0, +clearAfterAccept:!0})}},{key:"_createPredefinesList",value:function(){function t(t){var e=this;setTimeout(function(){$(e).is(":checked")?o._addCompareSymbol(t.data.symbol).then(function(t){t||$(e).attr("checked",!1)}):o.removeCompareSymbol(t.data.symbol)})}var e=this,o=this,n=$(r);Object.keys(this._predefines).forEach(function(o){var i=$(a.render(s,{symbolId:e._symbolToId(o),label:e._predefines[o],additionalClass:e._isBovespa?"tv-compare-tab__predefine-cell--wide":""})),c=i.find(".js-predefine-checkbox");c.change({symbol:o},t),i.appendTo(n)}),n.appendTo(this.$tab)}},{key:"_symbolToId",value:function(t){return t.replace(/[^a-z0-9]/gi,"_")}},{key:"focus",value:function(){Modernizr.mobiletouch||this._$input.focus()}},{key:"isClickOnTab",value:function(t){return!!this._$popup&&!(this._$popup[0]!==t.target&&!this._$popup[0].contains(t.target))}}]),e}()}).call(this,o("Kxc7"),o("OiQe"))},tkV1:function(t,e,o){"use strict";var a,n,i,c,l;Object.defineProperty(e,"__esModule",{value:!0}),e.AddCompareDialog=void 0,a=function(){function t(t,e){var o,a;for(o=0;o').html(" "),this._helpTooltipTrigger=$('').text("?").attr("title",$.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)")),this._dialogTitle=$.t("Change Interval")}function a(t){var o=/[\dhdwms]/i,i=/[\dhdwm]/i;return r.enabled("seconds_resolution")?o.test(t):i.test(t)}var n=i(62).linking,s=i(311).parseIntervalValue,l=i(311).intervalIsSupported,d=i(311).sanitizeIntervalValue,r=i(5),c=i(61),u=i(883).TVOldDialogs;e.prototype._setInput=function(){this._input=$(''),this._input.on("keypress",this._handleInput.bind(this)).on("input",function(){this._validate(),this._updateCaption()}.bind(this)).on("blur",function(){setTimeout(this._submit.bind(this),0)}.bind(this))},e.prototype._validate=function(){var t,o=this._input.val();this._parsed=s(o),this._valid=!this._parsed.error,this._supported=!this._parsed.error&&l(o),t=this._parsed.unit,this._supported&&("R"===t&&this._parsed.qty>c.getMaxResolutionValue("R")?this._supported=!1:null!==t&&"H"!==t||this._parsed.qty*("H"===t?60:1)>1440&&(this._supported=!1))},e.prototype._updateCaption=function(){var t,o,i;this._valid&&this._supported?(o=this._parsed.qty||1,i=this._parsed.unit||"",t=c.getTranslatedResolutionModel(o+i).hint,this._input.add(this._caption).removeClass("error")):(t=this._parsed.error?" ":$.t("Not applicable"),this._input.add(this._caption).addClass("error")),this._caption.html(t)},e.prototype._handleInput=function(t){if(13===t.which)return void this._submit();t.ctrlKey||t.metaKey||!t.charCode||!t.which||t.which<=32||a(String.fromCharCode(t.charCode))||t.preventDefault()},e.prototype._submit=function(){var t,o;u.isOpen(this._dialogTitle)&&(this._valid&&this._supported&&(t=d(this._input.val()),o=n.interval.value(),t&&o!==t&&"function"==typeof this._options.callback&&this._options.callback(t)),u.destroy(this._dialogTitle))},e.prototype._setInitialValue=function(t){var o,i;t=t||this._options.initialValue,o="",i=!1,t&&","!==t?o=d(t)||"":(t=n.interval.value(),o=t,i=!0),this._input.val(o),i&&this._input.select()},e.prototype.isValid=function(){return!!this._valid},e.prototype.show=function(t){var o=u.createDialog(this._dialogTitle,{hideCloseCross:!0,addClass:"change-interval-dialog",ownerDocument:this._options.ownerDocument}),i=o.find("._tv-dialog-content");return o.css("min-width",0),i.css("min-width",0).mousedown(function(t){this._input.is(t.target)||t.preventDefault()}.bind(this)).append(this._input.add(this._caption).add(this._helpTooltipTrigger)),u.applyHandlers(o),u.positionDialog(o),this._setInitialValue(t),this._validate(),this._updateCaption(),o},t.exports.ChangeIntervalDialog=e},827:function(t,o,i){"use strict" -;function e(t){return t in $.fn?Promise.resolve():(s||(s=new Promise(function(t){i.e(31).then(function(o){i(831),t()}.bind(null,i)).catch(i.oe)})),s)}function a(t){return new l(t)}var n,s,l;Object.defineProperty(o,"__esModule",{value:!0}),i.d(o,"LazyJqueryUI",function(){return l}),o.lazyJqueryUI=a,n=i(14),i.n(n),l=function(){function t(t){this._$elem=t}return t.prototype.draggable=function(){var t=arguments,o=this._$elem;return e("draggable").then(function(){return o.draggable.apply(o,t)})},t.prototype.resizable=function(){var t=arguments,o=this._$elem;return e("resizable").then(function(){return o.resizable.apply(o,t)})},t.prototype.sortable=function(){var t=arguments,o=this._$elem;return e("sortable").then(function(){return o.sortable.apply(o,t)})},t.prototype.datepicker=function(){var t=arguments,o=this._$elem;return e("datepicker").then(function(){return o.datepicker.apply(o,t)})},t}()},836:function(t,o){t.exports=''},845:function(t,o,i){"use strict";function e(t){var o,i,e=(t+"").match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return null===e?0:(o=e[1]?e[1].length:0,i=e[2]?parseInt(e[2],0):0,Math.max(0,o-i))}function a(t){return t=Math.abs(t),!Object(c.isInteger)(t)&&t>1&&(t=parseFloat((""+t).replace(/^.+\./,"0."))),0').appendTo(n.parent()),i=$('
').html(u).appendTo(o),e=$('
').html(u).appendTo(o),o.on("mousedown",function(t){t.preventDefault(),n.focus()}),i.click(function(){n.is(":disabled")||s(n)}),e.click(function(){n.is(":disabled")||l(n)}),n.keydown(function(t){n.is(":disabled")||(38===t.keyCode?i.addClass("i-active"):40===t.keyCode&&e.addClass("i-active"))}),n.keyup(function(t){ -n.is(":disabled")||(38===t.keyCode?(s(n),i.removeClass("i-active")):40===t.keyCode&&(l(n),e.removeClass("i-active")))}),n.mousewheel(function(t,o){o>0?i.click():e.click()}))})}},851:function(t,o){},883:function(t,o,i){"use strict";(function(o,e){var a,n=i(50).max,s=i(827).lazyJqueryUI;i(845),a={modalDialog:null,dialogs:[],NOTIFICATION_ANIMATION_START_OFFSET:"-33px",_constrainDraggableOptionsIfNeeded:function(t){return o.enabled("constraint_dialogs_movement")&&(t.containment=".chart-page"),t},showNotice:function(t,o,i){var n,s,l,d,r,c;return"object"==typeof o&&(i=o,o=""),i=i||{},n=i.doNotCloseOnBgClick||!1,s=i.html||"",l=i.width||"400px",d={},d.noClose=i.noClose||null,d.addClass=i.modalDialogClass||null,a.createModalDialog(t,d),r=i.centerCaption?"caption-big-center":"caption-big",a.modalDialog.find("._tv-dialog").css("width",l),c=i.customButtonCaption?i.customButtonCaption:$.t("OK"),a.modalDialog.find("._tv-dialog-content").html(e.render('
{{text}}'+s+'
{{^removeOkButton}}
{{/removeOkButton}}
',{captionClassName:r,classSuffix:i.classSuffix||"",text:o,removeOkButton:i&&i.removeOkButton})),a.modalDialog.find("._tv-button.ok").on("click",function(){a.destroy(),i.onOkButtonClick&&i.onOkButtonClick()}),a.positionDialog(),a.applyHandlers(!1,{doNotCloseOnBgClickIfShadowbox:n,beforeDestroy:i.onClose}),a.modalDialog},showCustomDialog:function(t){function o(t){a.destroy(),t.preventDefault()}return a.createModalDialog(t.title||$.t("Dialog"),{addClass:""}),a.modalDialog.find("._tv-dialog").css("width",t.width||"400px"),a.modalDialog.find("._tv-dialog-content").html('
'+(t.html||$.t("Content"))+"
"),a.modalDialog.find(".ok").click(o),a.modalDialog.find("form").submit(o),a.modalDialog.find(".cancel").click(o),a.modalDialog.find("._tv-dialog-title-close").click(o),a.positionDialog(),a.applyHandlers(),a.modalDialog},createModalDialog:function(t,o){var i,e;return o=o||{},null!==a.modalDialog&&a.destroy(),a.modalDialog=$('
'+(o.noHeader?"":'
'+(o.noClose?"":'')+''+t+"
")+'
').appendTo($("body")).data("title",t),a._addMessageCloseButton(a.modalDialog.find("._tv-dialog-error")),a._addMessageCloseButton(a.modalDialog.find("._tv-dialog-message")),o.noShadowBox&&a.modalDialog.addClass("transparent"),o.addClass&&a.modalDialog.addClass(o.addClass),o.width&&a.modalDialog.find("._tv-dialog").css({width:o.width}),o.content&&a.modalDialog.find("._tv-dialog-content").html(o.content),i=$(".fancybox-overlay"),i.length&&(e=i.css("z-index"), -$("._tv-dialog-shadowbox").css("z-index",e+1)),o.draggable&&s(a.modalDialog).draggable(a._constrainDraggableOptionsIfNeeded({handle:a.modalDialog.find("._tv-dialog-title")})),o.zIndex&&a.modalDialog.css("z-index",o.zIndex),a.modalDialog},_addMessageCloseButton:function(t){var o=$(i(884)).attr({class:"close",title:$.t("Close message")});t.append(o),$(o).on("click",function(){t.animate({marginTop:a.NOTIFICATION_ANIMATION_START_OFFSET,opacity:0},"fast",function(){t.hide()})})},createDialog:function(t,o){var i,l,d,r;return a.isOpen(t)?(i=a.get(t),i.find("._tv-dialog-content").html(""),i.data("new",!1),i):(o=o||{},l=o.ownerDocument||document,i=$(e.render('
{{^hideTitle}} {{&title}}{{/hideTitle}}{{^hideCloseCross}}{{/hideCloseCross}}
',{addClass:o.addClass||"",hideTitle:o.hideTitle,hideCloseCross:o.hideCloseCross,title:t}),l).appendTo(l.body),a._addMessageCloseButton(i.find("._tv-dialog-error")),a._addMessageCloseButton(i.find("._tv-dialog-message")),o.width&&i.css({width:o.width}),o.content&&i.find("._tv-dialog-content").html(o.content),d=0,d=o.zIndex?o.zIndex:a.dialogs&&a.dialogs.length?n($.map(a.dialogs,function(t){return parseInt((t.dialog||t).css("z-index"),10)}))+1:110,i.css("z-index",d),i.data("new",!0),i.data("title",t),i.data("id",a.dialogs.length+1),a.dialogs.push({title:t,dialog:i,id:a.dialogs.length+1}),r={start:function(t,o){var i,e,n=o.helper.css("z-index"),s=0,l=null;for(i=0;is&&(s=e,l=a.dialogs[i].dialog);o.helper.css("z-index",s),l.css("z-index",n)}},o.dragHandle?r.handle=o.dragHandle:o.hideTitle||(r.handle="._tv-dialog-title"),o.dragOptions&&$.extend(r,o.dragOptions),s(i).draggable(a._constrainDraggableOptionsIfNeeded(r)),i)},positionDialog:function(t,o,i){function e(){n.css("margin-left",-Math.round(n.outerWidth()/2)+"px"),n.css("margin-top",-Math.round(n.outerHeight()/2)+"px")}var n,s,l,d,r,c,u,p,g,h;i=i||{},o=o||i.position,t?(s=t.prop("ownerDocument"),l=s.defaultView,d=t.width(),r=t.height(),c=$(l).width(),u=$(l).height(),o&&o.top&&o.left?(g=i.forcePosition?o.left:Math.max(2,Math.min(c-d-4,o.left))+"px",p=i.forcePosition?o.top:Math.max(2,Math.min(u-r-4,o.top))+"px"):o&&o.considerScroll?(h=$(s),g=Math.round((c-d)/2+h.scrollLeft())+"px",p=Math.round((u-r)/2+h.scrollTop())+"px"):(g=Math.round((c-d)/2)+"px",p=Math.round((u-r)/2)+"px"),i.fadeIn?t.css({left:g,top:p}).hide().fadeIn("fast"):i.smooth?t.animate({left:g,top:p}):t.css({left:g,top:p})):(t=a.modalDialog,n=t.find("._tv-dialog"),e(),n.resize(e))},applyHandlers:function(t,o){var i,e,n,s=!t||t===this.modalDialog;o=o||{},i=s?function(){a.destroy()}:function(){ -a.destroy(t.data("title"))},t=t||a.modalDialog.find("._tv-dialog"),e=t.prop("ownerDocument"),o.beforeDestroy&&t.on("destroy",o.beforeDestroy),t.find("._tv-dialog-title ._tv-dialog-title-close, .js-dialog-close").on("click",function(t){o.closeHandler&&"function"==typeof o.closeHandler?o.closeHandler(t):i()}),o.doNotCloseOnBgClick||setTimeout(function(){$(e).on("mousedown.closeDialog",function(a){var n=$(a.target).parents().andSelf();n.is(t)||o.doNotCloseOnBgClickIfShadowbox&&n.is("._tv-dialog-shadowbox, .tv-dialog__modal-wrap")||n.is(".colorpicker, .charts-popup-list, ._tv-dialog, .tvcolorpicker-popup, .symbol-edit-popup, .ui-datepicker, .clockpicker-popover, .pac-container")||($(e).off("mousedown.closeDialog"),i())})},0),t.find('input[type="checkbox"]').change(function(){var t=$(this);t.next("._tv-dialog-checkbox-mask").toggleClass("disabled",t.prop("disabled")).toggleClass("_tv-dialog-checkbox-mask-active",t.is(":checked"))}),n=t.find('input[type="text"]').focus(function(){$(this).addClass("_tv-dialog-content-textactive")}).blur(function(){$(this).removeClass("_tv-dialog-content-textactive")}).first(),Modernizr.touch||o.notFocusFirst||n.focus(),t.find('input[type="password"]').focus(function(){$(this).addClass("_tv-dialog-content-textactive")}).blur(function(){$(this).removeClass("_tv-dialog-content-textactive")}),t.find("textarea").focus(function(){$(this).addClass("_tv-dialog-content-textareaactive")}).blur(function(){$(this).removeClass("_tv-dialog-content-textareaactive")}),t.find("._tv-dialog-checkbox-mask").click(function(){var t=$(this).prev();t.prop("disabled")||(t.prop("checked",!t[0].checked),t.change())}),o.doNotCloseOnEsc||$(e).bind("keyup.hideDialog",function(o){if(27===o.keyCode)return t?a.destroy(t.data("title")):a.destroy(),!1}),o.processEnterButton&&$(e).bind("keyup.confirmAndCloseDialog",function(t){13===t.keyCode&&"textarea"!==t.target.tagName.toLowerCase()&&(o.processEnterButton.click(),$(e).unbind("keyup.confirmAndCloseDialog"))})},showError:function(t,o,i){a.showMessage(t,o,$.extend(i||{},{isError:!0}))},showMessage:function(t,o,i){var e,n,s;o||(o=$("._tv-dialog")),i=i||{},e=i.isError&&"_tv-dialog-error"||"_tv-dialog-message",n=o.find("."+e),s=n.find(".message"),i.html?s.html("string"==typeof i.html?i.html:t):s.text(t),s.css("width",o.width()).toggleClass("selectable",!!i.selectable),n.toggleClass("with-close",!!i.withClose).css({marginTop:a.NOTIFICATION_ANIMATION_START_OFFSET,opacity:"0"}).show().animate({marginTop:0,opacity:1},"fast"),i.withClose||(i.hideWithoutAnimation?n.on("touchstartoutside mousedownoutside keydownoutside",function t(){n.hide(),n.off("touchstartoutside mousedownoutside keydownoutside",t)}):n.on("touchstartoutside mousedownoutside keydownoutside",function t(){n.animate({marginTop:a.NOTIFICATION_ANIMATION_START_OFFSET,opacity:0},"fast",function(){n.hide()}),n.off("touchstartoutside mousedownoutside keydownoutside",t)}))},isOpen:function(t){for(var o=0;oe&&(a-=t-e,a=Math.max(0,a),o.height(a))}},t.exports.TVOldDialogs=a}).call(o,i(5),i(126))},884:function(t,o){t.exports=''}}); \ No newline at end of file diff --git a/charting_library/static/bundles/change-interval-dialog.c8c04c297cc329376f2b.js b/charting_library/static/bundles/change-interval-dialog.c8c04c297cc329376f2b.js new file mode 100644 index 00000000..e2d258ff --- /dev/null +++ b/charting_library/static/bundles/change-interval-dialog.c8c04c297cc329376f2b.js @@ -0,0 +1,2 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["change-interval-dialog"],{MuC6:function(t,i,e){"use strict";function s(t){this._options=t||{},this._setInput(),this._caption=$('').html(" "),this._helpTooltipTrigger=$('').text("?").attr("title",$.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)")),this._dialogTitle=$.t("Change Interval")}var n=e("PT1i").linking,o=e("h24c").parseIntervalValue,a=e("h24c").intervalIsSupported,p=e("h24c").sanitizeIntervalValue,l=e("Kxc7"),r=e("pPtI"),h=e("GAqT").TVOldDialogs;s.prototype._setInput=function(){this._input=$(''),this._input.on("keypress",this._handleInput.bind(this)).on("input",function(){this._validate(),this._updateCaption()}.bind(this)).on("blur",function(){setTimeout(this._submit.bind(this),0)}.bind(this))},s.prototype._validate=function(){var t,i=this._input.val();this._parsed=o(i),this._valid=!this._parsed.error,this._supported=!this._parsed.error&&a(i),t=this._parsed.unit,this._supported&&("R"===t&&this._parsed.qty>r.getMaxResolutionValue("R")?this._supported=!1:null!==t&&"H"!==t||this._parsed.qty*("H"===t?60:1)>1440&&(this._supported=!1))},s.prototype._updateCaption=function(){var t,i,e;this._valid&&this._supported?(i=this._parsed.qty||1,e=this._parsed.unit||"",t=r.getTranslatedResolutionModel(i+e).hint,this._input.add(this._caption).removeClass("error")):(t=this._parsed.error?" ":$.t("Not applicable"),this._input.add(this._caption).addClass("error")),this._caption.html(t)},s.prototype._handleInput=function(t){var i,e,s;13!==t.which?t.ctrlKey||t.metaKey||!t.charCode||!t.which||t.which<=32||(i=String.fromCharCode(t.charCode),e=/[\dhdwms]/i,s=/[\dhdwm]/i,(l.enabled("seconds_resolution")?e.test(i):s.test(i))||t.preventDefault()):this._submit()},s.prototype._submit=function(){var t,i;h.isOpen(this._dialogTitle)&&(this._valid&&this._supported&&(t=p(this._input.val()),i=n.interval.value(),t&&i!==t&&"function"==typeof this._options.callback&&this._options.callback(t)),h.destroy(this._dialogTitle))},s.prototype._setInitialValue=function(t){var i,e;i="",e=!1,(t=t||this._options.initialValue)&&","!==t?i=p(t)||"":(i=t=n.interval.value(),e=!0),this._input.val(i),e&&this._input.select()},s.prototype.isValid=function(){return Boolean(this._valid)},s.prototype.show=function(t){var i=h.createDialog(this._dialogTitle,{hideCloseCross:!0,addClass:"change-interval-dialog",ownerDocument:this._options.ownerDocument}),e=i.find("._tv-dialog-content");return i.css("min-width",0),e.css("min-width",0).mousedown(function(t){this._input.is(t.target)||t.preventDefault()}.bind(this)).append(this._input.add(this._caption).add(this._helpTooltipTrigger)),h.applyHandlers(i),h.positionDialog(i),this._setInitialValue(t),this._validate(),this._updateCaption(),i}, +t.exports.ChangeIntervalDialog=s}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/chart-bottom-toolbar.7bbb5f176039f7d3dc2b.js b/charting_library/static/bundles/chart-bottom-toolbar.7bbb5f176039f7d3dc2b.js deleted file mode 100644 index 0f3d1b38..00000000 --- a/charting_library/static/bundles/chart-bottom-toolbar.7bbb5f176039f7d3dc2b.js +++ /dev/null @@ -1,17 +0,0 @@ -webpackJsonp([12],{1041:function(e,t){e.exports={tabs:"tabs-3f6R4UrH-",tab:"tab-C-so14ap-",active:"active-3_gZ3PzW-",slider:"slider-XCKyHkum-"}},1165:function(e,t){e.exports={button:"button-1VVj8kLG-"}},1166:function(e,t){e.exports={item:"item-3cgIlGYO-",hovered:"hovered-2g31gdB--",isActive:"isActive-2M6dwA7--",isFirst:"isFirst-2kfAV5tf-",isLast:"isLast-voJ1bqZh-"}},1167:function(e,t){e.exports={slider:"slider-1ealLtjI-",inner:"inner-3lmAEIjy-"}},1168:function(e,t){e.exports={sliderRow:"sliderRow-Tv1W7hM5-"}},1169:function(e,t){e.exports={button:"button-2gir_Bbb-",hovered:"hovered-C6AkUeyT-"}},1170:function(e,t){e.exports={button:"button-88UE6omC-",hovered:"hovered-3xELmoc6-",inner:"inner-2FptJsfC-"}},1171:function(e,t){e.exports={button:"button-37qwTsBL-"}},1172:function(e,t){e.exports={separator:"separator-3bp1jCsV-"}},1173:function(e,t){e.exports=''},1174:function(e,t){e.exports={icon:"icon-2Gun4jqH-"}},1175:function(e,t){e.exports=''},1176:function(e,t){e.exports=''},1177:function(e,t){e.exports={toolbar:"toolbar-2MJefnwP-",dateRangeWrapper:"dateRangeWrapper-yS_7EK1i-",seriesControlWrapper:"seriesControlWrapper-1c7dZFwu-",dateRangeExpanded:"dateRangeExpanded-Eh9SAOEe-",dateRangeCollapsed:"dateRangeCollapsed-1-pFg0M1-",item:"item-2cWFW_ze-",first:"first-1XNI05qr-",last:"last-2VBe7EFW-",inline:"inline-2rwBBIxN-",timezone:"timezone-34WAZb8x-",icon:"icon-3VRthUnU-",hidden:"hidden-3Tq8Bf9V-",collapsed:"collapsed-2lhil-Rc-"}},816:function(e,t,n){"use strict";function i(e){var t;return t=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i._handleSelectRange=function(e){var t,n,a;i.setState({activeRange:e.value}),t=i.context.chartWidget,n=t.model(),a={val:e.value,res:e.targetResolution},n.loadRange(a)},i.state={ranges:[]},i}return C.c(n,t),n.prototype.componentDidMount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){var n=t.model(),i=n.mainSeries();i.onStatusChanged().subscribe(e,e._updateAvailableRanges), -R.enabled("update_timeframes_set_on_symbol_resolve")&&i.dataEvents().symbolResolved().subscribe(e,e._updateAvailableRanges),i.priceScale().properties().lockScale.subscribe(e,e._updateAvailableRanges),i.onIntervalChanged().subscribe(e,e._onRangeChanged),n.model().onResetScales().subscribe(e,e._resetActiveInterval),i.dataEvents().symbolResolved().subscribe(e,e._resetActiveInterval),i.properties().extendedHours.subscribe(e,e._resetActiveInterval),e._updateAvailableRanges()}),t.onScroll().subscribe(this,this._resetActiveInterval)},n.prototype.componentWillUnmount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){var n=t.model(),i=n.mainSeries();i.onStatusChanged().unsubscribe(e,e._updateAvailableRanges),R.enabled("update_timeframes_set_on_symbol_resolve")&&i.dataEvents().symbolResolved().unsubscribe(e,e._updateAvailableRanges),i.priceScale().properties().lockScale.unsubscribe(e,e._updateAvailableRanges),i.onIntervalChanged().unsubscribe(e,e._onRangeChanged),n.model().onResetScales().unsubscribe(e,e._resetActiveInterval),i.dataEvents().symbolResolved().unsubscribe(e,e._resetActiveInterval),i.properties().extendedHours.unsubscribe(e,e._resetActiveInterval)}),t.onScroll().unsubscribe(this,this._resetActiveInterval)},n.prototype.render=function(){return y.createElement(e,{goToDateButton:this.props.goToDateButton,className:this.props.className,ranges:this.state.ranges,activeRange:this.state.activeRange,onSelectRange:this._handleSelectRange})},n.prototype._onRangeChanged=function(e,t){this.setState({activeRange:t.timeframe})},n.prototype._resetActiveInterval=function(){this.setState({activeRange:void 0})},n.prototype._updateAvailableRanges=function(){var e,t,n,i=this.context,a=i.availableTimeFrames,o=i.chartWidget;o.model()&&(e=o.model().mainSeries(),(t=e.status())!==M.STATUS_LOADING&&t!==M.STATUS_RESOLVING&&(n=a(e.symbolInfo(),e.status()),0!==n.length&&this.setState({ranges:n})))},n}(y.PureComponent),t.contextTypes={availableTimeFrames:S.func.isRequired,chartWidget:S.object.isRequired},t}function a(e){return y.createElement("div",{className:z.slider,ref:e.reference})}function o(e){return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._activeTab=null,e}return C.c(n,t),n.prototype.componentDidUpdate=function(){this._componentDidUpdate()},n.prototype.componentDidMount=function(){this._componentDidUpdate()},n.prototype.render=function(){var t=this,n=this.props.className,i=this._generateTabs();return y.createElement("div",{className:E(n,z.tabs)},i,y.createElement(e,{reference:function(e){t._slider=e}}))},n.prototype._generateTabs=function(){var e=this;return this._activeTab=null,y.Children.map(this.props.children,function(t){var n=t,i=!!n.props.isActive,a={reference:function(t){i&&(e._activeTab=t),n.props.reference&&n.props.reference(t)}};return y.cloneElement(n,a)})},n.prototype._componentDidUpdate=function(){var e,t,n=Object(B.ensureNotNull)(this._slider),i=n.style;this._activeTab?(e=this._activeTab.offsetWidth,t=this._activeTab.offsetLeft, -i.transform="translateX("+t+"px)",i.width=e+"px",i.opacity="1"):i.opacity="0"},n}(y.PureComponent)}function s(e){var t,n=E(I.item,(t={},t[I.isActive]=e.isActive,t[I.isFirst]=e.isFirst,t[I.isLast]=e.isLast,t));return y.createElement("div",{className:n,onClick:e.onClick,ref:e.reference},e.children)}function r(e){return y.createElement("div",{className:L.slider,ref:e.reference},y.createElement("div",{className:L.inner}))}function l(e){var t=e.className,n=e.ranges,i=e.activeRange,a=e.onSelectRange;return y.createElement(H,{className:E($.sliderRow,t)},n.map(function(e,t){return y.createElement(s,{key:e.value,isFirst:0===t,isLast:t===n.length-1,isActive:i===e.value,onClick:a&&a.bind(null,e)},y.createElement("div",{title:e.description||e.text,className:"apply-common-tooltip"},e.text))}))}function c(e){var t=e.reference,n=e.className,i=e.children,a=C.e(e,["reference","className","children"]);return y.createElement("button",C.a({},a,{className:E(n,X.button),ref:t}),y.createElement("span",{className:X.inner},i))}function d(e){e.updateActions();var t=e.actions();return t&&t.applyTimeZone&&t.applyTimeZone.subActions?t.applyTimeZone.subActions:[]}function u(e){return y.createElement("span",{className:E(oe.separator,e.className)})}function p(e){var t;return t=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i._priceScale=null,i._handleSelect=function(){var e=i.context.chartWidget,t=e.model(),n=Object(B.ensureNotNull)(i.state.series),a=n.priceScale(),o=a.mode();n.priceScale().isLockScale()||t.setPriceScaleMode({log:!o.log},a,window.t("Toggle Log Scale"))},i.state={isActive:!1,series:null},i}return C.c(n,t),n.prototype.componentDidMount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){var n=t.model().mainSeries(),i=n.priceScale();e._handleMainSeriesPriceScaleChanged(i),n.priceScaleChanged().subscribe(e,e._handleMainSeriesPriceScaleChanged),e._handleModeChanged({},i.mode()),e.setState({isActive:n.priceScale().isLog(),series:n})})},n.prototype.componentWillUnmount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){t.model().mainSeries().priceScaleChanged().unsubscribe(e,e._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null)},n.prototype.render=function(){var t=this.props.className,n=this.state,i=n.isActive,a=n.series;return y.createElement(e,{className:t,isLogarithm:i,isDisabled:null===a,onClick:this._handleSelect})},n.prototype._handleMainSeriesPriceScaleChanged=function(e){var t={};null!==this._priceScale&&(t=this._priceScale.mode(),this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged)),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged(t,e.mode())},n.prototype._handleModeChanged=function(e,t){e.log!==t.log&&this.setState({isActive:t.log})},n}(y.PureComponent),t.contextTypes={chartWidget:S.object.isRequired},t}function h(e){var t;return t=function(t){function n(e,n){var i=t.call(this,e,n)||this -;return i._priceScale=null,i._handleSelect=function(){var e=i.context.chartWidget,t=e.model(),n=Object(B.ensureNotNull)(i.state.series),a=n.priceScale(),o=a.mode();t.setPriceScaleMode({autoScale:!o.autoScale},a,window.t("Toggle Auto Scale"))},i.state={isActive:!1,series:null},i}return C.c(n,t),n.prototype.componentDidMount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){var n=t.model().mainSeries(),i=n.priceScale();e._handleMainSeriesPriceScaleChanged(i),n.priceScaleChanged().subscribe(e,e._handleMainSeriesPriceScaleChanged),e._handleModeChanged({},i.mode()),e.setState({isActive:n.priceScale().isAutoScale(),series:n})})},n.prototype.componentWillUnmount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){t.model().mainSeries().priceScaleChanged().unsubscribe(e,e._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null)},n.prototype.render=function(){var t=this.props.className,n=this.state,i=n.isActive,a=n.series;return y.createElement(e,{className:t,isAuto:i,isDisabled:null===a,onClick:this._handleSelect})},n.prototype._handleMainSeriesPriceScaleChanged=function(e){var t={};null!==this._priceScale&&(t=this._priceScale.mode(),this._priceScale.modeChanged().unsubscribe(this,this._handleModeChanged)),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleModeChanged),this._handleModeChanged(t,e.mode())},n.prototype._handleModeChanged=function(e,t){e.autoScale!==t.autoScale&&this.setState({isActive:t.autoScale})},n}(y.PureComponent),t.contextTypes={chartWidget:S.object.isRequired},t}function m(e){var t;return t=function(t){function n(e,n){var i=t.call(this,e,n)||this;return i._priceScale=null,i._handleSelect=function(){var e=i.context.chartWidget,t=e.model(),n=Object(B.ensureNotNull)(i.state.series),a=n.priceScale(),o=a.mode();n.priceScale().isLockScale()||t.setPriceScaleMode({percentage:!o.percentage},a,window.t("Toggle Percentage Scale"))},i.state={isActive:!1,series:null},i}return C.c(n,t),n.prototype.componentDidMount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){var n=t.model().mainSeries(),i=n.priceScale();e._handleMainSeriesPriceScaleChanged(i),n.priceScaleChanged().subscribe(e,e._handleMainSeriesPriceScaleChanged),e._handleScaleChange({},i.mode()),e.setState({isActive:n.priceScale().isPercentage(),series:n})})},n.prototype.componentWillUnmount=function(){var e=this,t=this.context.chartWidget;t.withModel(null,function(){t.model().mainSeries().priceScaleChanged().unsubscribe(e,e._handleMainSeriesPriceScaleChanged)}),null!==this._priceScale&&(this._priceScale.modeChanged().unsubscribeAll(this),this._priceScale=null)},n.prototype.render=function(){var t=this.props.className,n=this.state,i=n.isActive,a=n.series;return y.createElement(e,{className:t,isPercentage:i,isDisabled:null===a,onClick:this._handleSelect})},n.prototype._handleMainSeriesPriceScaleChanged=function(e){var t={};null!==this._priceScale&&(t=this._priceScale.mode(), -this._priceScale.modeChanged().unsubscribe(this,this._handleScaleChange)),this._priceScale=e,this._priceScale.modeChanged().subscribe(this,this._handleScaleChange),this._handleScaleChange(t,e.mode())},n.prototype._handleScaleChange=function(e,t){e.percentage!==t.percentage&&this.setState({isActive:t.percentage})},n}(y.PureComponent),t.contextTypes={chartWidget:S.object.isRequired},t}function f(e){var t;return t=function(t){function n(e,n){var i,a=t.call(this,e,n)||this;return a._handleClick=function(e){var t=a.context.resizerDetacher;e.shiftKey&&t.detachable.value()?t.detach():a.state.isFullscreen?t.exitFullscreen():t.requestFullscreen()},a._handleLayoutChange=function(e){a.setState({isFullscreen:e})},i=a.context.resizerDetacher,a.state={isFullscreen:i.fullscreen.value()},a}return C.c(n,t),n.prototype.componentDidMount=function(){this.context.resizerDetacher.fullscreen.subscribe(this._handleLayoutChange)},n.prototype.componentWillUnmount=function(){this.context.resizerDetacher.fullscreen.unsubscribe(this._handleLayoutChange)},n.prototype.render=function(){var t=this.props.className,n=this.state.isFullscreen;return y.createElement(e,{className:t,isFullscreen:n,onClick:this._handleClick})},n}(y.PureComponent),t.contextTypes={chartWidget:S.object.isRequired,resizerDetacher:S.object.isRequired},t}function g(e){if(e.map){return y.Children.toArray(e.children).map(e.map)}return e.children}function v(e){return Object.keys(e).map(function(t){return{name:t,width:e[t].offsetWidth}}).sort(function(e,t){return Te[e.name]-Te[t.name]})}function b(e){var t={};return Object.keys(e).forEach(function(n){var i,a=e[n];null!==a&&null!==(i=x.findDOMNode(a))&&(t[n]=i)}),t}function _(e,t){return function(n,i,a){var o,s,r,l;return y.isValidElement(n)&&"string"!=typeof n.type&&(o=n.props,"string"==typeof o.className)?(s={className:E(o.className,0===i&&fe.first,i===a.length-1&&fe.last)},r=e(),l=Object(B.ensureDefined)(Me.get(n.type)),y.createElement("div",{key:null===n.key?void 0:n.key,className:E(fe.inline,r[l]&&fe.collapsed),ref:function(e){return t(e,l)}},y.cloneElement(n,s))):n}}var C,y,x,S,E,w,R,N,T,M,W,k,A,D,O,j,B,z,I,F,P,L,$,H,U,q,G,V,Z,J,K,Y,X,Q,ee,te,ne,ie,ae,oe,se,re,le,ce,de,ue,pe,he,me,fe,ge,ve,be,_e,Ce,ye,xe,Se,Ee,we,Re,Ne,Te,Me,We,ke,Ae,De;Object.defineProperty(t,"__esModule",{value:!0}),C=n(1),y=n(20),x=n(59),n(11),S=n(105),E=n(103),w=n(313),R=n(5),N=n(880),T=n(846),M=n(40),W=n(849),k=n(328),A=n(1165),D={title:window.t("Date Range"),goToDate:window.t("Go to...")},O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleGoToDateClick=function(){var e=t.context.chartWidget;Object(k.showGoToDateDialog)(e.model())},t._handleRangeSelect=function(e){e&&t.props.onSelectRange&&t.props.onSelectRange(e)},t}return C.c(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.ranges,i=t.activeRange,a=t.goToDateButton;return y.createElement(N.a,{className:A.button,content:D.title,arrow:!0,verticalAttachEdge:N.b.Top,verticalDropDirection:N.c.FromBottomToTop,horizontalMargin:4},n.map(function(t){ -return y.createElement(T.a,{key:t.value,label:t.description||t.text,isActive:i===t.value,onClick:e._handleRangeSelect,onClickArg:t})}),a&&y.createElement(W.a,null),a&&y.createElement(T.a,{label:D.goToDate,onClick:this._handleGoToDateClick}))},t.contextTypes={chartWidget:S.object.isRequired},t}(y.PureComponent),j=i(O),B=n(7),z=n(1041),o(a),I=n(1166),F=n(1167),P=n(882),L=Object(P.a)(z,F),$=n(1168),H=o(r),U=i(l),q=n(306),G=n(1169),V={title:window.t("Go to...")},Z=Object(q.b)({keys:["Alt","G"],text:"{0} + {1}"}),J=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleClick=function(){var e=t.context.chartWidget;Object(k.showGoToDateDialog)(e.model())},t}return C.c(t,e),t.prototype.render=function(){var e=this.props,t=e.className;return e.ranges.length>0&&y.createElement("div",{className:E("apply-common-tooltip",G.button,t),"data-tooltip-hotkey":Z,onClick:this._handleClick},V.title)},t.contextTypes={chartWidget:S.object.isRequired},t}(y.PureComponent),K=i(J),Y=n(847),X=n(1170),Q=n(340),ee=n(130),te=n(195),ne=n(1171),ie={hint:window.t("Timezone")},ae=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i._element=null,i._timeFormatter=new ee.TimeFormatter,i._handleRef=function(e){i._element=e},i.state={time:"",timezone:""},i}return C.c(t,e),t.prototype.componentDidMount=function(){var e,t=this,n=this.context.chartWidget,i=this.props.withMenu;n.withModel(null,function(){var e=n.model();e.model().mainSeries().dataEvents().symbolResolved().subscribe(t,t.updateTimezonesButton),e.model().properties().timezone.subscribe(t,t.updateTimezonesButton)}),i&&(e=Object(B.ensureNotNull)(this._element),Object(Y.bindPopupMenu)(e,function(){return d(n).map(function(e){return{action:e.enabled?e.executeCallback.bind(e):null,addClass:e.enabled?"":"special",disabled:!e.enabled,iconClass:e.checkable&&e.checked?"icon checked-icon":"unchecked-icon",svg:e.checkable&&e.checked?te:"",title:e.text||""}})},{direction:"up",addClass:"context-menu",svg:!0,wrapIcon:!0}))},t.prototype.componentWillUnmount=function(){var e,t=this,n=this.context.chartWidget;n.withModel(null,function(){var e=n.model();e.model().mainSeries().dataEvents().symbolResolved().unsubscribe(t,t.updateTimezonesButton),e.model().properties().timezone.unsubscribe(t,t.updateTimezonesButton)}),e=Object(B.ensureNotNull)(this._element),Object(Y.unbindPopupMenu)(e)},t.prototype.render=function(){var e=this.props,t=e.className,n=e.isDisabled,i=this.state,a=i.time,o=i.timezone;return y.createElement(c,{className:E(t,ne.button,"apply-common-tooltip"),title:ie.hint,reference:this._handleRef,disabled:n},a&&o&&a+" ("+o+")")},t.prototype.updateTimezonesButton=function(){var e,t,n,i,a=this.context.chartWidget;a.model()&&null!==a.model().mainSeries().symbolInfo()&&(e=a.model().model().timezone(),"exchange"===e&&(t=Object(B.ensureNotNull)(a.model().mainSeries().symbolInfo()),(n=t.timezone)&&(e=n)),i=Object(Q.a)(e),this._timezoneOffset=i.offset,this.setState({timezone:i.string}),this.tickClock())},t.prototype.tickClock=function(){ -var e,t,n=this.context.chartApiInstance,i=this._timezoneOffset;void 0!==i&&(e=1e3*n.serverTimeOffset(),t=new Date(Date.now()+i+e),this.setState({time:this._timeFormatter.format(t)}))},t.contextTypes={chartWidget:S.object.isRequired,chartApiInstance:S.object.isRequired},t}(y.PureComponent),oe=n(1172),se=n(848),re=n(300),le=n(41),ce=n(1173),de=n(1174),ue={hint:window.t("Scales Properties")},pe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._element=null,t._handleRef=function(e){t._element=e},t}return C.c(t,e),t.prototype.componentDidMount=function(){var e=this.context.chartWidget,t=Object(B.ensureNotNull)(this._element);Object(Y.bindPopupMenu)(t,function(){var t,n,i,a,o,s,r,l=e.paneWidgets();for(t=0;t'},836:function(e,t){e.exports=''},844:function(e,t,n){"use strict";function i(){h.fire()}var a,o,s,r,l,c,d,u,p,h;n.d(t,"a",function(){return p}),t.b=i,a=n(1),o=n(20),n.n(o),s=n(103),n.n(s),r=n(7),n.n(r),l=n(50), -c=n(871),n.n(c),d=n(8),u=n.n(d),p=function(e){function t(t){var n=e.call(this,t)||this;return n._containerRef=null,n._scrollWrapRef=null,n._handleContainerRef=function(e){return n._containerRef=e},n._handleScrollWrapRef=function(e){return n._scrollWrapRef=e},n._handleMeasure=function(){var e,t,i,a,o,s,c,d,u,p,h,m,f,g,v,b,_;n.state.isMeasureValid||(e=n.props.position,t=Object(r.ensureNotNull)(n._containerRef),i=t.getBoundingClientRect(),a=document.documentElement.clientHeight,o=document.documentElement.clientWidth,s=a-10,c=i.height>s,c&&(d=Object(r.ensureNotNull)(n._scrollWrapRef),d.style.overflowY="scroll",i=t.getBoundingClientRect()),u=i.width,p=i.height,h="function"==typeof e?e(u,p):e,m=5,f=o-u-5,g=Object(l.clamp)(h.x,m,Math.max(m,f)),v=5,b=a-p-5,_=Object(l.clamp)(h.y,v,Math.max(v,b)),n.setState({appearingMenuHeight:c?s:void 0,appearingMenuWidth:h.overrideWidth,appearingPosition:{x:g,y:_},isMeasureValid:!0}))},n._handleGlobalClose=function(){n.props.onClose()},n.state={},n}return a.c(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.isOpened&&!e.isOpened&&this.setState({isMeasureValid:void 0})},t.prototype.componentDidMount=function(){this._handleMeasure(),h.subscribe(this,this._handleGlobalClose)},t.prototype.componentDidUpdate=function(){this._handleMeasure()},t.prototype.componentWillUnmount=function(){h.unsubscribe(this,this._handleGlobalClose)},t.prototype.render=function(){var e,t=this.props,n=t.children,i=t.minWidth,a=t.theme,r=void 0===a?c:a,l=t.className,d=this.state,u=d.appearingMenuHeight,p=d.appearingMenuWidth,h=d.appearingPosition,m=d.isMeasureValid;return o.createElement("div",{className:s(l,r.menuWrap,(e={},e[r.isMeasuring]=!m,e)),style:{height:u,left:h&&h.x,minWidth:i,position:"fixed",top:h&&h.y,width:p},ref:this._handleContainerRef},o.createElement("div",{className:r.scrollWrap,style:{overflowY:void 0!==u?"scroll":"auto"},ref:this._handleScrollWrapRef},o.createElement("div",{className:r.menuBox},n)))},t}(o.PureComponent),h=new u.a},846:function(e,t,n){"use strict";function i(e){return s.createElement(e.href?"a":"div",e)}function a(e){e.stopPropagation()}var o,s,r,l,c,d;n.d(t,"a",function(){return d}),o=n(1),s=n(20),n.n(s),r=n(103),n.n(r),l=n(844),c=n(879),n.n(c),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleClick=function(e){var n=t.props,i=n.dontClosePopup,a=n.isDisabled,o=n.onClick,s=n.onClickArg;a||(o&&o(s,e),i||Object(l.b)())},t}return o.c(t,e),t.prototype.render=function(){var e,t,n=this.props,o=n.className,l=n.forceShowHint,d=n.hint,u=n.icon,p=n.isActive,h=n.isDisabled,m=n.isHovered,f=n.appearAsDisabled,g=n.label,v=n.link,b=n.showToolboxOnHover,_=n.target,C=n.toolbox,y=n.theme,x=void 0===y?c:y;return s.createElement(i,{className:r(o,x.item,u&&x.withIcon,(e={},e[x.isActive]=p,e[x.isDisabled]=h||f,e[x.hovered]=m,e)),href:v,target:_,onClick:this._handleClick},void 0!==u&&s.createElement("div",{className:x.icon,dangerouslySetInnerHTML:{__html:u}}),s.createElement("div",{className:x.labelRow},s.createElement("div",{className:x.label -},g)),(void 0!==d||l)&&s.createElement("div",{className:x.hint},d),void 0!==C&&s.createElement("div",{onClick:a,className:r(x.toolbox,(t={},t[x.showOnHover]=b,t))},C))},t}(s.PureComponent)},847:function(e,t,n){"use strict";var i,a=n(192).ESC,o=function(e,t,i){var s,r,l,c,d,u,p=".popup-menu";e=$(e),i=i||{},i.activeClass=i.activeClass||"",s=(i.event||"click")+p,i.hideEvent&&(r=i.hideEvent+p),l=function(){},c=l,d={},u=function(s,u,h){function m(t){var n=$(t.target).parents().andSelf();n.is(_)||n.is(e)||n.is(".charts-popup-tab-headers, .charts-popup-itemheader")||c()}function f(e){if(d.preventFirstProcessClick)return void(d.preventFirstProcessClick=!1);var t=$(e.target).parents().andSelf();t.is(".charts-popup-tab-headers, .charts-popup-itemheader")||i.notCloseOnButtons&&t.is(".icon-delete")||c()}function g(e){e.keyCode===a&&c()}function v(t,a,s){var r,l,c,d,u,p,h,m,f,g,b,C,y,x,S,E;if(t instanceof o.TabGroup){if(!t.tabs||!t.tabs.length)return;return 1!==t.tabs.length||t.tabs[0].title?(r=$('
').appendTo(s),l=$('
').appendTo(r),c=null,void $.each(t.tabs||[],function(e,n){var i,a;n.items&&n.items.length&&(i=$('
').hide().appendTo(r),$.each(n.items,function(){v(this,void 0,i)}),a=$('').append($('').text(n.name)).appendTo(l),a.on("click",function(e){a.is(".active")||(l.find(".charts-popup-tab-header.active").removeClass("active"),a.addClass("active"),r.find(".charts-popup-tab").hide(),i.show(),e&&e.preventDefault(),"function"==typeof t.onChange&&t.onChange.call(t,n.name))}),c&&!n.active||(c=a,l.find(".charts-popup-tab-header.active").removeClass("active"),a.addClass("active"),r.find(".charts-popup-tab").hide(),i.show()))})):void $.each(t.tabs[0].items,function(){v(this,void 0,s)})}return t instanceof o.Group?(d=$('
').appendTo(s),t.title&&(u=$('
').text(t.title).prepend($('')),t.collapsible&&(d.addClass("charts-popup-group-collapsible"),d.toggleClass("collapsed",t.collapsed),u.on("click",function(){d.toggleClass("collapsed"),"function"==typeof t.onChange&&t.onChange(d.hasClass("collapsed")),_.height()===parseInt(_.css("max-height"))?_.addClass("popup-menu-scroll-y"):_.height()
').text(t.title)):t.separator?(p=$(''),void s.append(p)):(p=$(''),t.url&&p.attr("href",t.url),t.target&&p.attr("target",t.target),a||p.addClass("first"),"function"==typeof t.active?t.active(t)&&p.addClass("active"):t.active&&p.addClass("active"),t.addClass&&p.addClass(t.addClass),t.addData&&p.data(t.addData),t.disabled&&p.addClass("disabled"), -"function"==typeof t.action&&(h=t.action,m=function(e){$(e.target).parents().andSelf().is(x)||(h.apply(p,arguments),!t.url&&e&&"function"==typeof e.preventDefault&&e.preventDefault())},i.upAction?p.bind("mouseup",m):p.bind("click",m)),t.date?(f=$('').appendTo(p),$('').text(t.date||"").appendTo(p)):t.icon&&!i.svg?(g=$('').appendTo(p),g.css("background-image",t.icon.image||""),t.icon.offset&&g.css("background-position","string"==typeof t.icon.offset?t.icon.offset:t.icon.offset.x+"px "+t.icon.offset.y+"px"),f=$('').appendTo(p)):!0===i.svg&&t.svg?(i.wrapIcon?p.append($('').addClass(t.iconClass).append(t.svg)):p.append(t.svg),f=$('').appendTo(p)):t.iconClass?(p.append($('').addClass(t.iconClass)),f=$('').appendTo(p)):f=$('').appendTo(p),t.html?f.html(t.html):f.text(TradingView.clean(t.title,!0)||""),b=$('').appendTo(p),t.shortcut&&b.text(t.shortcut.keys),"function"==typeof t.deleteAction&&(C=t.deleteAction,y=t.deleteAction.title||$.t("Delete"),x=$(''),x.html(n(828)),x.attr("title",y),x.on("click",function(e){C.apply(p,arguments),e.preventDefault()}),p.append(x)),t.buttons instanceof Array&&t.buttons.length&&t.buttons.forEach(function(e){e.el instanceof $||(e.el=$(e.el)),e.el.appendTo(p),e.handler&&e.el.on("click",function(t){e.handler.apply(p,arguments)})}),void 0!==t.counter&&("function"==typeof t.counter?(S=$('').html(t.counter()),S.appendTo(p)):(E=t.counterBlue?"blue":"",$('').text(t.counter+"").addClass(E).appendTo(p))),s.append(p),void e.data("popup-menu",s))}var b,_,C,y,x,S,E,w,R,N,T,M,W,k,A,D,O,j,B,z,I,F,P,L,H,U,q=s.target.ownerDocument,G=q.defaultView,V=u||t;if("function"==typeof V&&(V=V()),$(this).hasClass("open")||$(this).hasClass("active"))return s.preventDefault(),c(),void(b=d.scrollTop);switch(c=function(){d.scrollTop=_.scrollTop(),_.remove(),e.removeClass("active open "+i.activeClass),e.data("popup-menu",null),$(q).off("click",f),$(q).off("mousedown",m),Modernizr.touch&&$(q).off("touchstart.chartgui",m),$(q).off("selectstart."+p),q.removeEventListener("keydown",g,!1),c=l,i.onRemove&&i.onRemove()},e.addClass("active open "+i.activeClass),_=$('
'),i.addClass&&_.addClass(i.addClass),i.zIndex&&_.css("z-index",i.zIndex),C=_,i.listInner&&(C=$('
').appendTo(C)),i.listTable&&(C=$('
').appendTo(C)),$.each(V,function(e){v(this,e,C)}),r||(d.preventFirstProcessClick=!0),$(q).on("click",f),$(q).on("mousedown",m),q.addEventListener("keydown",g,!1),Modernizr.touch&&$(q).on("touchstart.chartgui",m),i.upAction&&$(q).on("selectstart.popup-menu",function(){return!1}),_.appendTo(q.body),y=$(G).width(),x=Math.min($(G).height(),$("body").height()),S=e.outerWidth(),E=e.outerHeight(),w=e.offset(), -b=$(G).scrollTop()||0,w.top-=b,w.top=Math.round(w.top),w.left=Math.round(w.left),R=_.outerWidth(),N=_.outerHeight(),T=void 0!==i.viewportSpacing?i.viewportSpacing:10,M=i.popupSpacing?~~i.popupSpacing:1,W=i.popupDrift?~~i.popupDrift:0,k=N-_.height(),A="down",i.direction&&(A="function"==typeof i.direction?i.direction():i.direction),D=!!i.reverse,"down"===A?(O=x-w.top-E-M-T-k,j=w.top-M-T-k,OO&&(A="up")):"right"===A&&(B=y-w.left-S-M-T-k,z=w.left-M-T-k,BB&&(A="left")),A){case"down":case"up":"down"===A?_.css("top",w.top+E+M+"px"):_.css("bottom",x-w.top+M+"px").css("top","auto"),D?_.css("left",Math.max(w.left+W+S-R,T)+"px").css("right","auto"):_.css("left",w.left+W+"px").css("right","auto");break;case"right":case"left":M=Math.max(M,4),"right"===A?_.css("left",Math.floor(w.left+S+M)+"px").css("right","auto"):_.css("left",Math.floor(Math.max(w.left-R-M,T))+"px").css("right","auto"),D?_.css("top",Math.floor(Math.max(w.top+W+E-N,T))+"px"):_.css("top",Math.floor(w.top+W)+"px")}for(_.show(),I=w.top,"up"===A||{left:1,right:1}[A]&&D?"up"!==A?I+=E:I-=E+M+k+T:I=x-I-E-2*M-k,_.height()>I&&_.addClass("popup-menu-scroll-y"),_.css("max-height",I+"px"),i.careRightBorder&&(F=y+$(G).scrollLeft(),parseInt(_.css("left"))+_.width()+T>F&&_.css("left",F-_.width()-T+"px").css("right","auto")),i.careBottomBorder&&parseInt(_.css("top"))+_.height()+T>x+b&&_.css("top",x-_.height()-T+b+"px"),L=e.parents().andSelf(),H=L.size();H--;)if("fixed"===L.eq(H).css("position")){P=L.eq(H);break}P&&(U=_.offset(),_.css({position:"fixed",left:U.left-$(q).scrollLeft(),right:"auto"})),_[0].scrollHeight>_.height()&&_.addClass("popup-with-scroll"),s&&s.preventDefault()},s&&e.bind(s,u),r&&e.bind(r,function(){c()}),i.runOpened&&u()};o.TabGroup=function e(t){if(!(this instanceof e))return new e(t);t=t||{},this.tabs=[],"function"==typeof t.onChange&&(this.onChange=t.onChange)},o.TabGroup.prototype.appendTab=function(e,t,n){if(null==e?e="":e+="",t||(t=[]),n||(n={}),!Array.isArray(t))throw new TypeError("items must be an array");return this.tabs.push({name:e,items:t,active:!!n.active}),t},o.Header=function e(t){if(!(this instanceof e))return new e(t);this.title=t},o.Group=function e(t){if(!(this instanceof e))return new e(t);t=t||{},this.items=[],this.title=null==t.title?"":t.title+"",this.collapsible=!!t.collapsible,this.collapsed=!!t.collapsed,"function"==typeof t.onChange&&(this.onChange=t.onChange)},o.Group.prototype.push=function(){this.items.push.apply(this.items,arguments)},t.bindPopupMenu=o,i=function(e){e=$(e),e.unbind(".popup-menu"),e.removeData("popup-menu")},t.unbindPopupMenu=i},848:function(e,t,n){"use strict";function i(e){var t,n=e.icon,i=e.isActive,c=e.isOpened,d=e.isDisabled,u=e.onClick,p=e.text,h=e.textBeforeIcon,m=e.title,f=e.theme,g=void 0===f?l:f,v=e.className,b=e.forceInteractive,_=a.e(e,["icon","isActive","isOpened","isDisabled","onClick","text","textBeforeIcon","title","theme","className","forceInteractive"]),C=s(v,g.button,m&&"apply-common-tooltip",(t={},t[g.isActive]=i,t[g.isOpened]=c, -t[g.isInteractive]=(b||!!u)&&!d,t[g.isDisabled]=d,t)),y=n&&("string"==typeof n?o.createElement(r.a,{className:g.icon,icon:n}):o.cloneElement(n,{className:g.icon}));return o.createElement("div",a.a({},_,{className:C,onClick:d?void 0:u,title:m}),h&&p&&o.createElement("div",{className:s("js-button-text",g.text)},p),y,!h&&p&&o.createElement("div",{className:s("js-button-text",g.text)},p))}var a,o,s,r,l;t.a=i,a=n(1),o=n(20),n.n(o),s=n(103),n.n(s),r=n(300),l=n(855),n.n(l)},849:function(e,t,n){"use strict";function i(e){return a.createElement("div",{className:o.separator})}var a,o;t.a=i,a=n(20),n.n(a),o=n(881),n.n(o)},855:function(e,t){e.exports={button:"button-2ioYhFEY-",isInteractive:"isInteractive-20uLObIc-",hovered:"hovered-3perbaxJ-",isActive:"isActive-22S-lGpa-",isOpened:"isOpened-p-Ume5l9-",isDisabled:"isDisabled-1_tmrLfP-",text:"text-1sK7vbvh-",icon:"icon-beK_KS0k-"}},871:function(e,t){e.exports={menuWrap:"menuWrap-1gEtmoET-",isMeasuring:"isMeasuring-FZ0EJCM2-",scrollWrap:"scrollWrap-1B5MfTJt-",menuBox:"menuBox-20sJGjtG-",isHidden:"isHidden-2vLQpR1t-"}},872:function(e,t,n){"use strict";function i(e){var t=p(e),n=document.getElementById(t);return n||(n=document.createElement("div"),n.id=t,document.body.appendChild(n)),u[e]=(u[e]||0)+1,n}function a(e){var t=p(e),n=document.getElementById(t);u[e]&&(u[e]-=1),n&&0===u[e]&&document.body.removeChild(n)}var o,s=n(1),r=(n(127),n(20)),l=n(59),c=n(304),d=0,u={},p=function(e){return"__outside-render-"+e},h=function(e){function t(t){return e.call(this,t)||this}return s.c(t,e),t.prototype.componentDidMount=function(){this._rememberLayer(),this._renderLayer()},t.prototype.componentDidUpdate=function(e){this.props.layerId!==e.layerId&&(a(this._layerId),this._rememberLayer()),this._renderLayer()},t.prototype.componentWillUnmount=function(){l.unmountComponentAtNode(this._layer),a(this._layerId)},t.prototype.render=function(){return null},t.prototype._rememberLayer=function(){var e=this.props.layerId,t=void 0===e?d+++"":e;this._layerId=t,this._layer=i(t)},t.prototype._renderLayer=function(){l.render(r.createElement("div",null,this.props.children),this._layer)},t}(r.Component),m=n(844);n.d(t,"a",function(){return o}),o=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleClose=function(){t.props.onClose()},t._handleClickOutside=function(e){var n=t.props,i=n.closeOnClickOutside,a=n.onClickOutside,o=n.doNotCloseOn;a&&a(e),!i||void 0!==o&&l.findDOMNode(o).contains(e.target)||t._handleClose()},t}return s.c(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.isOpened&&!e.isOpened&&this.setState({isMeasureValid:void 0})},t.prototype.render=function(){var e=this.props,t=e.children,n=e.isOpened,i=(e.closeOnClickOutside,e.doNotCloseOn,e.onClickOutside,e.onClose,s.e(e,["children","isOpened","closeOnClickOutside","doNotCloseOn","onClickOutside","onClose"]));return n?r.createElement(h,null,r.createElement(c.a,{handler:this._handleClickOutside,mouseDown:!0,touchStart:!0,ctor:"div"},r.createElement(m.a,s.a({},i,{isOpened:n,onClose:this._handleClose -}),t))):null},t.defaultProps={closeOnClickOutside:!0},t}(r.PureComponent)},879:function(e,t){e.exports={item:"item-2xPVYue0-",hovered:"hovered-1uf45E05-",isDisabled:"isDisabled-1wLqKupj-",isActive:"isActive-2j-GhQs_-",icon:"icon-2Qm7YIcz-",hint:"hint-1IhIvLPB-",toolbox:"toolbox-3ulPxfe--",withIcon:"withIcon-1xBjf-oB-",labelRow:"labelRow-3Q0rdE8--",label:"label-3Xqxy756-",showOnHover:"showOnHover-1q6ySzZc-"}},880:function(e,t,n){"use strict";var i,a,o,s,r,l,c,d,u,p,h,m;n.d(t,"b",function(){return d}),n.d(t,"c",function(){return p}),n.d(t,"a",function(){return m}),i=n(1),a=n(20),n.n(a),o=n(103),n.n(o),s=n(872),r=n(975),l=n(7),n.n(l),c=n(989),n.n(c),function(e){e[e.Top=0]="Top",e[e.Bottom=1]="Bottom"}(d||(d={})),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(u||(u={})),function(e){e[e.FromTopToBottom=0]="FromTopToBottom",e[e.FromBottomToTop=1]="FromBottomToTop"}(p||(p={})),function(e){e[e.FromLeftToRight=0]="FromLeftToRight",e[e.FromRightToLeft=1]="FromRightToLeft"}(h||(h={})),m=function(e){function t(t){var n=e.call(this,t)||this;return n._wrapperRef=null,n._handleWrapperRef=function(e){return n._wrapperRef=e},n._handleClick=function(){n._handleToggleDropdown()},n._handleToggleDropdown=function(e){var t=n.state.isOpened,i="boolean"==typeof e?e:!t;n.setState({isOpened:i})},n._handleClose=function(){n._handleToggleDropdown(!1)},n._getDropdownPosition=function(e,t){var i=Object(l.ensureNotNull)(n._wrapperRef).getBoundingClientRect(),a=n.props,o=a.verticalAttachEdge,s=a.verticalDropDirection,r=a.horizontalAttachEdge,c=a.horizontalDropDirection,m=a.horizontalMargin,f=void 0===m?0:m,g=a.verticalMargin,v=void 0===g?2:g,b=o===d.Top?-1*v:v,_=r===u.Right?i.right:i.left,C=o===d.Top?i.top:i.bottom;return{x:_-(c===h.FromRightToLeft?e:0)+f,y:C-(s===p.FromBottomToTop?t:0)+b}},n.state={isOpened:!1},n}return i.c(t,e),t.prototype.render=function(){var e,t=this.props,n=t.id,i=t.arrow,l=t.children,d=t.content,u=t.isDisabled,p=t.minWidth,h=t.title,m=t.className,f=t.hotKey,g=this.state.isOpened,v=o(m,c.button,"apply-common-tooltip",(e={},e[c.isDisabled]=u,e[c.isOpened]=g,e));return a.createElement("div",{id:n,className:v,onClick:u?void 0:this._handleClick,title:h,"data-tooltip-hotkey":f,ref:this._handleWrapperRef},d,i&&a.createElement("div",{className:c.arrow},a.createElement("div",{className:c.arrowWrap},a.createElement(r.a,{dropped:g}))),a.createElement(s.a,{closeOnClickOutside:this.props.closeOnClickOutside,doNotCloseOn:this,isOpened:g,minWidth:p,onClose:this._handleClose,position:this._getDropdownPosition},l))},t.defaultProps={arrow:!0,closeOnClickOutside:!0,verticalAttachEdge:d.Bottom,horizontalAttachEdge:u.Left,verticalDropDirection:p.FromTopToBottom,horizontalDropDirection:h.FromLeftToRight},t}(a.PureComponent)},881:function(e,t){e.exports={separator:"separator-25lkUpN--"}},882:function(e,t,n){"use strict";function i(e,t,n){var i,a,o,s,r;for(void 0===n&&(n={}),i=Object.assign({},t),a=0,o=Object.keys(t);a'},J3OW:function(e,t,n){e.exports={button:"button-1VVj8kLG-"}},K3s3:function(e,t,n){"use strict";function i(e){var t,n=s(e.className,c.tab,((t={})[c.active]=e.isActive,t[c.disabled]=e.isDisabled,t[c.defaultCursor]=!!e.shouldUseDefaultCursor,t[c.noBorder]=!!e.noBorder,t));return r.createElement("div",{className:n,onClick:e.onClick,ref:e.reference},e.children)}function a(e){return function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.activeTab={current:null},e}return o.__extends(n,t),n.prototype.componentDidUpdate=function(){var e=Object(l.ensureNotNull)(this._slider),t=e.style;t.transition="transform 350ms",this._componentDidUpdate()},n.prototype.componentDidMount=function(){this._componentDidUpdate()},n.prototype.render=function(){var t=this,n=this.props.className,i=this._generateTabs();return r.createElement("div",{className:s(n,c.tabs)},i,r.createElement(e,{reference:function(e){t._slider=e}}))},n.prototype._generateTabs=function(){var e=this;return this.activeTab.current=null,r.Children.map(this.props.children,function(t){var n=t,i=Boolean(n.props.isActive),a={reference:function(t){i&&(e.activeTab.current=t),n.props.reference&&n.props.reference(t)}};return r.cloneElement(n,a)})},n.prototype._componentDidUpdate=function(){var e,t,n=Object(l.ensureNotNull)(this._slider),i=n.style;this.activeTab.current?(e=this.activeTab.current.offsetWidth,t=this.activeTab.current.offsetLeft,i.transform="translateX("+t+"px)",i.width=e+"px",i.opacity="1"):i.opacity="0"},n}(r.PureComponent)}var o,r,s,l,c,u;n.d(t,"a",function(){return u}),n.d(t,"b",function(){return i}),n.d(t,"c",function(){return a}),o=n("mrSG"),r=n("q1tI"),s=n("TSYQ"),l=n("Eyy1"),c=n("5o6O"),u=c,a(function(e){return r.createElement("div",{className:c.slider,ref:e.reference})})},MfqI:function(e,t,n){"use strict";function i(e){var t;return(t=function(t){function n(e,n){var i,a=t.call(this,e,n)||this;return a._handleUpdate=function(e){a.setState(e)},a._handleSelectRange=function(e){a._binding.selectRange(e)},S.has(n.chartWidget)||S.set(n.chartWidget,new E(n)),i=a._binding=Object(v.ensureDefined)(S.get(n.chartWidget)),a.state=i.state(),a}return u.__extends(n,t),n.prototype.componentDidMount=function(){ +this._binding.onChange().subscribe(this,this._handleUpdate)},n.prototype.componentWillUnmount=function(){this._binding.onChange().unsubscribe(this,this._handleUpdate)},n.prototype.render=function(){return l.createElement(e,{goToDateButton:this.props.goToDateButton,className:this.props.className,ranges:this.state.ranges,activeRange:this.state.activeRange,onSelectRange:this._handleSelectRange})},n}(l.PureComponent)).contextTypes={availableTimeFrames:d.any.isRequired,chartWidget:d.any.isRequired},t}function a(e){var t,n=h(M.item,((t={})[M.isActive]=e.isActive,t[M.isFirst]=e.isFirst,t[M.isLast]=e.isLast,t));return l.createElement("div",{className:n,onClick:e.onClick,ref:e.reference},e.children)}function o(e){var t=e.reference,n=e.className,i=e.children,a=u.__rest(e,["reference","className","children"]);return l.createElement("button",u.__assign({},a,{className:h(n,H.button),ref:t}),l.createElement("span",{className:H.inner},i))}function r(e){return l.createElement("span",{className:h($.separator,e.className)})}function s(e){0}var l,c,u,d,h,p,m,g,f,_,b,v,C,y,S,E,x,R,W,w,N,A,T,M,k,B,D,z,F,P,j,I,L,O,q,U,H,G,V,Z,K,Q,Y,J,X,$,ee,te,ne,ie,ae,oe,re,se,le,ce,ue,de,he,pe,me,ge,fe,_e,be,ve,Ce,ye,Se,Ee,xe;n.r(t),l=n("q1tI"),c=n("i8i4"),u=n("mrSG"),d=n("17x9"),n("YFKU"),h=n("TSYQ"),p=n("XmVn"),m=n("Kxc7"),g=n("82wv"),f=n("Iksw"),_=n("N5tr"),b=n("dfhE"),v=n("Eyy1"),C=n("aIyQ"),y=n.n(C),S=new WeakMap,E=function(){function e(e){var t,n=this;this._state={ranges:[]},this._change=new y.a,(t=(this._context=e).chartWidget).withModel(null,function(){var e=t.model(),i=e.mainSeries();i.onStatusChanged().subscribe(n,n._updateAvailableRanges),m.enabled("update_timeframes_set_on_symbol_resolve")&&i.dataEvents().symbolResolved().subscribe(n,n._updateAvailableRanges),i.priceScale().properties().lockScale.subscribe(n,n._updateAvailableRanges),i.onIntervalChanged().subscribe(n,n._onRangeChanged),e.model().onResetScales().subscribe(n,n._resetActiveInterval),i.dataEvents().symbolResolved().subscribe(n,n._resetActiveInterval),i.properties().extendedHours.subscribe(n,n._resetActiveInterval),n._updateAvailableRanges()}),t.onScroll().subscribe(this,this._resetActiveInterval)}return e.prototype.state=function(){return this._state},e.prototype.onChange=function(){return this._change},e.prototype.selectRange=function(e){var t,n;this._setState({activeRange:e.value}),t=this._context.chartWidget,n={val:e.value,res:e.targetResolution},t.loadRange(n)},e.prototype.destroy=function(){var e=this,t=this._context.chartWidget;t.withModel(null,function(){var n=t.model(),i=n.mainSeries();i.onStatusChanged().unsubscribe(e,e._updateAvailableRanges),m.enabled("update_timeframes_set_on_symbol_resolve")&&i.dataEvents().symbolResolved().unsubscribe(e,e._updateAvailableRanges),i.priceScale().properties().lockScale.unsubscribe(e,e._updateAvailableRanges),i.onIntervalChanged().unsubscribe(e,e._onRangeChanged),n.model().onResetScales().unsubscribe(e,e._resetActiveInterval),i.dataEvents().symbolResolved().unsubscribe(e,e._resetActiveInterval), +i.properties().extendedHours.unsubscribe(e,e._resetActiveInterval)}),t.onScroll().unsubscribe(this,this._resetActiveInterval),this._change.destroy()},e.prototype._setState=function(e){this._state=Object.assign({},this._state,e),this._change.fire(this._state)},e.prototype._onRangeChanged=function(e,t){this._setState({activeRange:t.timeframe})},e.prototype._resetActiveInterval=function(){this._setState({activeRange:void 0})},e.prototype._updateAvailableRanges=function(){var e,t,n,i=this._context,a=i.availableTimeFrames,o=i.chartWidget;o.model()&&(t=(e=o.model().mainSeries()).status())!==b.STATUS_LOADING&&t!==b.STATUS_RESOLVING&&0!==(n=a(e.symbolInfo(),e.status())).length&&this._setState({ranges:n})},e}(),x=n("KKsp"),R=n("cdbK"),W=n("J3OW"),w={title:window.t("Date Range"),goToDate:window.t("Go to...")},N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleGoToDateClick=function(){var e=t.context.chartWidget;Object(R.showGoToDateDialog)(e.model())},t._handleRangeSelect=function(e){e&&t.props.onSelectRange&&t.props.onSelectRange(e)},t}return u.__extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.ranges,i=t.activeRange,a=t.goToDateButton;return l.createElement(g.a,{className:W.button,content:w.title,arrow:!0,verticalAttachEdge:f.a.Top,verticalDropDirection:f.b.FromBottomToTop,horizontalMargin:4},n.map(function(t){return l.createElement(_.a,{key:t.value,label:t.description||t.text,isActive:i===t.value,onClick:e._handleRangeSelect,onClickArg:t})}),a&&l.createElement(x.a,null),a&&l.createElement(_.a,{label:w.goToDate,onClick:this._handleGoToDateClick}))},t.contextTypes={chartWidget:d.any.isRequired},t}(l.PureComponent),A=i(N),T=n("K3s3"),M=n("W9Y+"),k=n("nPPD"),B=n("RZ2Z"),D=Object(k.a)(T.a,B),z=n("qSb5"),F=Object(T.c)(function(e){return l.createElement("div",{className:D.slider,ref:e.reference},l.createElement("div",{className:D.inner}))}),P=i(function(e){var t=e.className,n=e.ranges,i=e.activeRange,o=e.onSelectRange;return l.createElement(F,{className:h(z.sliderRow,t)},n.map(function(e,t){return l.createElement(a,{key:e.value,isFirst:0===t,isLast:t===n.length-1,isActive:i===e.value,onClick:o&&o.bind(null,e)},l.createElement("div",{title:e.description||e.text,className:"apply-common-tooltip"},e.text))}))}),j=n("ei7k"),I=n("c7H2"),L={title:window.t("Go to...")},O=Object(j.b)({keys:["Alt","G"],text:"{0} + {1}"}),q=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleClick=function(){var e=t.context.chartWidget;Object(R.showGoToDateDialog)(e.model())},t}return u.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.className;return e.ranges.length>0&&l.createElement("div",{className:h("apply-common-tooltip",I.button,t),"data-tooltip-hotkey":O,onClick:this._handleClick},L.title)},t.contextTypes={chartWidget:d.any.isRequired},t}(l.PureComponent),U=i(q),H=n("URQ3"),G=n("U/gD"),V=n("4kQX"),Z=n("7KDR"),K=n("5VQP"),Q=function(e){function t(t){var n=e.call(this,t)||this;return n._element=null,n._menu=null,n._handleRef=function(e){ +n._element=e},n._showMenu=function(){var e,t,i,a;if(n._menu&&n._menu.isShown())return n._menu.hide(),void n._menu.destroy();t=(e=n.props).getActions,i=e.right,a=Object(v.ensureNotNull)(n._element),K.ContextMenuManager.createMenu(t()).then(function(e){n._menu=e,e.show(function(e,t){var n=a.getBoundingClientRect();return{clientX:i?n.right-e:n.left,clientY:n.top-Math.min(t,n.top),overrideHeight:n.top'},URQ3:function(e,t,n){e.exports={button:"button-88UE6omC-",hover:"hover-3_vVP91F-",inner:"inner-2FptJsfC-"}},"W9Y+":function(e,t,n){e.exports={item:"item-3cgIlGYO-",hover:"hover-2y46_KNk-",isActive:"isActive-2M6dwA7--",isFirst:"isFirst-2kfAV5tf-",isLast:"isLast-voJ1bqZh-"}},c7H2:function(e,t,n){e.exports={button:"button-2gir_Bbb-",hover:"hover-SrAyrKlT-"}},qSb5:function(e,t,n){e.exports={sliderRow:"sliderRow-Tv1W7hM5-"}},z6ID:function(e,t,n){e.exports={separator:"separator-3bp1jCsV-"}}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/chart-widget-gui.67de12c05d134554ff1c.js b/charting_library/static/bundles/chart-widget-gui.67de12c05d134554ff1c.js deleted file mode 100644 index 09477da6..00000000 --- a/charting_library/static/bundles/chart-widget-gui.67de12c05d134554ff1c.js +++ /dev/null @@ -1,13 +0,0 @@ -webpackJsonp([1],{1040:function(t,e){t.exports=''},1148:function(t,e){t.exports=''},1149:function(t,e){t.exports=''},1150:function(t,e){t.exports=''},1151:function(t,e){t.exports=''},1152:function(t,e){t.exports=''},1153:function(t,e){t.exports=''},1154:function(t,e){t.exports=''},1155:function(t,e){t.exports=''},1178:function(t,e){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){ -for(var e=this;e&&1===e.nodeType;e=e.parentNode)if(e.matches(t))return e;return null})},1179:function(t,e){t.exports=''},1180:function(t,e){t.exports=''},1181:function(t,e){t.exports=''},1182:function(t,e){t.exports=''},1183:function(t,e){t.exports=''},1184:function(t,e){t.exports=''},1185:function(t,e){},814:function(t,e,i){"use strict";(function(t){function s(t,e,i,s){var n,o;this._options=Object.assign({},h,s),this._model=e,this._paneWidget=t,this._chart=t._chart,this.$el=$(document.createElement("div")).addClass("pane-legend"),this._itemsBinding=[],this._mouseEventHandlers=[],this._chart.properties().paneProperties.legendProperties.showStudyTitles.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showSeriesTitle.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showSeriesOHLC.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showBarChange.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showOnlyPriceSource.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showStudyValues.listeners().subscribe(this,this.updateLayout),this._model.mainSeries().properties().style.listeners().subscribe(this,this.updateLayout),n=this._chart.properties().scalesProperties.textColor,n.listeners().subscribe(this,function(t){this.$el.css("color",t.value())}),this.$el.css("color",n.value()),o=this._chart.properties().paneProperties.legendProperties.showLegend,o.subscribe(this,this.updateLayout),this.updateLayout()}var n=(i(34).Study,i(39).trackEvent),o=(i(4).getLogger("Chart.LegendWidget"),i(29)),r=i(197).showEditObjectDialog,a=i(38).IS_RTL,l=i(111).MouseEventHandler,h={contextMenuEnabled:!0,sourceSelectionEnabled:!0,symbolMarkerEnabled:!1};s.prototype.destroy=function(){this._removeMouseEventHandlers(), -this._chart.properties().paneProperties.legendProperties.showLegend.unsubscribeAll(this),this._chart.properties().paneProperties.legendProperties.showStudyTitles.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showSeriesTitle.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showSeriesOHLC.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showBarChange.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showOnlyPriceSource.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showStudyValues.listeners().unsubscribe(this,this.updateLayout),this._model.mainSeries().properties().style.listeners().unsubscribe(this,this.updateLayout)},s.prototype.contextMenuEvent=function(t,e){if(!this._model.chartModel().readOnly()&&this._options.contextMenuEnabled){var i=e.source;this._paneWidget.showContextMenuForSource(i,t)}},s.prototype._removeMouseEventHandlers=function(){this._mouseEventHandlers.forEach(function(t){t.destroy()}),this._mouseEventHandlers=[]},s.prototype.updateLayout=function(){var e,s,n,o,r,a,h,d,u,p,c;if(this._removeMouseEventHandlers(),this._itemsBinding.length=0,this.$el.find(".apply-common-tooltip").trigger("mouseleave"),this.$el.empty(),(e=this._paneWidget.state())&&this._model){for(s={showStudyTitles:this._model.model().properties().paneProperties.legendProperties.showStudyTitles.value(),showSeriesTitle:this._chart.properties().paneProperties.legendProperties.showSeriesTitle.value(),showSeriesOHLC:this._chart.properties().paneProperties.legendProperties.showSeriesOHLC.value(),showStudyValues:this._chart.properties().paneProperties.legendProperties.showStudyValues.value(),showLegend:this._model.model().properties().paneProperties.legendProperties.showLegend.value()},n=this._model.mainSeries(),o=e.orderedSources().slice(),r=o.indexOf(n),r>-1&&(o.splice(r,1),o.push(n)),a=o.length-1;a>=0;a--)h=o[a],(d=h.statusView())&&(!(u=h===n)||s.showSeriesTitle||s.showSeriesOHLC||s.showStudyTitles||s.showStudyValues)&&(u&&t.enabled("fundamental_widget")||(s.showLegend||!u?(u||s.showStudyTitles||s.showStudyValues)&&s.showLegend&&(p=$("
").addClass("pane-legend-line pane-legend-wrap"),this._options.sourceSelectionEnabled||p.addClass("legend-selection-disabled"),p.appendTo(this.$el),p.source=h,u?this._chartHasStudies()?(c=$('').append($(i(1149)).attr({class:"expand"})),p.addClass("main").append(c.on("click touchend",this.toggleTitles.bind(this)))):p.addClass("pane-legend-line--without-child-studies"):p.addClass("study"),h.properties().visible.value()||p.addClass("disabled"),this._generateItemsForRow(p,d,s),this._mouseEventHandlers.push(new l(p,this,!0))):this.$el.find(".expand-line").length||(p=$("
").addClass("pane-legend-line pane-legend-wrap main expand-line"), -this._options.sourceSelectionEnabled||p.addClass("legend-selection-disabled"),p.appendTo(this.$el),this._chartHasStudies()?(c=$('').append($(i(1148)).attr({class:"expand closed"})),p.append(c.on("click touchend",this.toggleTitles.bind(this)))):p.addClass("pane-legend-line--without-child-studies"),p.source=h,h.properties().visible.value()||p.addClass("disabled"),s={showStudyTitles:!1,showSeriesTitle:s.showSeriesTitle,showSeriesOHLC:s.showSeriesOHLC,showStudyValues:!1},this._generateItemsForRow(p,d,s),this._mouseEventHandlers.push(new l(p,this,!0)),this.update())));this.update()}},s.prototype._chartHasStudies=function(){return this._model.model().allStudies().some(function(t){return t.statusView()})},s.prototype._generateItemsForRow=function(e,s,n){var o,r,l,h,d,u,p,c,_,v,m,g=e.source,b=this,y=g===this._model.mainSeries();if((y&&n.showSeriesTitle||!y&&n.showStudyTitles)&&(r=$(""),r.addClass("pane-legend-line apply-overflow-tooltip"),this._options.contextMenuEnabled&&!this._chart.readOnly()||r.addClass("no-context-menu"),this._options.sourceSelectionEnabled||r.addClass("legend-selection-disabled"),y&&r.addClass("main"),g.properties().visible.value()||r.addClass("disabled"),r.css({"font-weight":s.bold()?"bold":"normal","font-size":s.size()}),this._options.contextMenuEnabled&&r.click(function(t){b.contextMenuEvent(t,e)}),r.appendTo(e),this._itemsBinding.push({value:s,cell:r,source:e.source}),!this._chart.readOnly()&&g.userEditEnabled()&&t.enabled("edit_buttons_in_legend")&&(o=$(''),a||o.appendTo(e),!y&&t.enabled("show_hide_button_in_legend")&&$('').append($(i(1150)).attr({width:14,height:14})).appendTo(o).on("click touchend",this._generateItemsForRow._onShowhideClick.bind(this,g)),!y&&t.enabled("property_pages")&&t.enabled("format_button_in_legend")&&$('').append($(i(1151)).attr({width:14,height:14})).appendTo(o).on("click touchend",this._generateItemsForRow._onFormatClick.bind(this,g)),!y&&t.enabled("delete_button_in_legend")&&$('').append($(i(1040)).attr({width:14,height:14})).appendTo(o).on("click touchend",this._generateItemsForRow._onDeleteClick.bind(this,g)))),l=g.legendView(),this.isDataWindowValuesVisible(l)&&l.isValuesVisible()){for(h=[],d=[],u=$('
'),this._options.contextMenuEnabled||u.addClass("no-context-menu"),this._options.sourceSelectionEnabled||u.addClass("legend-selection-disabled"),p=0;p").appendTo(u),_=y?$("").appendTo(c):null,v=$("").appendTo(c),y&&(_.addClass("pane-legend-item-value-title__main"), -v.addClass("pane-legend-item-value__main")),g.properties().visible.value()||(v.addClass("disabled"),_&&_.addClass("disabled")),h.push(v),_&&d.push(_);m=$("").appendTo(u.appendTo(e)),this._itemsBinding.push({value:l,cell:h,titleCells:d.length?d:null,source:g,additional:m})}o&&a&&o.appendTo(e)},s.prototype.isDataWindowValuesVisible=function(t){return this._chart.onWidget()?!!t&&!this._chart.isSmall():!!t},s.prototype._generateItemsForRow._onShowhideClick=function(t){this._model.setProperty(t.properties().visible,!t.properties().visible.value(),"Show/Hide "+t.title())},s.prototype._generateItemsForRow._onFormatClick=function(t,e){t.userEditEnabled()&&(TVSettings.setValue("properties_dialog.active_tab.chart",$.t("Style")),r(t,this._model))},s.prototype._generateItemsForRow._onDeleteClick=function(t){t.isUserDeletable()&&(t.hasChildren()?showDeleteStudyTreeConfirm(this._model.removeSource.bind(this._model,t)):this._model.removeSource(t))},s.prototype._generateItemsForRow._onAddChildSourceClick=function(t){var e,i,s=this._chart.showIndicators(t);s&&(e=function(){n("SOS","Apply SOS","Apply by Plus SOS")},i=this._model.model().studyInserted(),i.subscribe(this,e),s.visibilityChanged.subscribe(this,function(t){t||i.unsubscribe(this,e)},!0))},s.prototype._generateItemsForRow._onViewSorceClick=function(t){var e=t.metaInfo();this._getPineSourceCode(e).done(function(t){TradingView.bottomWidgetBar&&TradingView.bottomWidgetBar.activateScriptEditorTab(t)})},s.prototype._getPineSourceCode=function(t){return $.Deferred()},s.prototype.setItemEnabled=function(t,e){var i=!t.hasClass("disabled"),s=t.closest(".pane-legend-wrap");e&&!i?(t.removeClass("disabled"),s.removeClass("disabled")):!e&&i&&(t.addClass("disabled"),s.addClass("disabled"))},s.prototype.valueChanged=function(t,e,i){return t[e]!==i&&(t[e]=i,!0)},s.prototype.firstTitle=function(){return this.$el.find(".pane-legend-line.pane-legend-wrap:first-child")},s.prototype.updateTitle=function(){var e,i,s,n,o,r,a,l,h,d,u,p,c;for(s=this._itemsBinding.length;s--;)i=this._itemsBinding[s],Array.isArray(i.cell)||(i.last||(i.last={}),n=i.last,o=i.source,e=o.properties().visible.value(),this.valueChanged(n,"sourceVisible",e)&&this.setItemEnabled(i.cell,e),r=i.value.color(),a=o!==this._model.mainSeries()&&o===this._model.selectedSource()?"bold":"normal","function"==typeof i.value.getSplitTitle?(u=i.value.getSplitTitle(),l=u[0].trim(),h=u[1].trim(),d=u[2].trim()):(l=i.value.text().trim(),h="",d=""),t.enabled("fundamental_widget")&&(p=this._model.mainSeries(),c=p.symbolInfo(),l=(c?c.name:p.actualSymbol())+" "+l),i.isCellInited||(i.isCellInited=!0,d||h?(i.titleElement=document.createElement("div"),i.titleElement.classList.add("pane-legend-title__container"),i.cell[0].appendChild(i.titleElement),i.descriptionElement=document.createElement("div"),i.descriptionElement.classList.add("pane-legend-title__description"),i.titleElement.appendChild(i.descriptionElement),h&&(i.intervalElement=document.createElement("div"), -i.intervalElement.classList.add("pane-legend-title__interval"),i.titleElement.appendChild(i.intervalElement)),d&&(i.detailsElement=document.createElement("div"),i.detailsElement.classList.add("pane-legend-title__details"),i.titleElement.appendChild(i.detailsElement)),i.titleElement.classList.add("apply-overflow-tooltip","apply-overflow-tooltip--allow-text","apply-overflow-tooltip--check-children")):(i.titleElement=i.cell[0],i.descriptionElement=i.titleElement,i.descriptionElement.classList.add("apply-overflow-tooltip"))),(this.valueChanged(n,"color",r)||this.valueChanged(n,"fontWeight",a))&&(i.titleElement.style.color=r,i.titleElement.style.borderColor=r,i.titleElement.style.fontWeight=a),l!==i.description&&(i.descriptionElement.textContent=TradingView.clean(l,!0),i.description=l),i.intervalElement&&h&&h!==i.interval&&(i.intervalElement.textContent=TradingView.clean(h,!0),i.interval=h),i.detailsElement&&d&&d!==i.details&&(i.detailsElement.textContent=TradingView.clean(d,!0),i.details=d));this._chart.resizeIndicator()},s.prototype.update=function(t){var e,i,s,n,r,a,l,h,d,u,p;for(this.updateTitle(),h=this._itemsBinding.length;h--;)if(n=this._itemsBinding[h],e=n.cell,i=n.titleCells,s=n.source.properties().visible.value(),Array.isArray(e))for(n.last||(n.last={},n.last.dwView||(n.last.dwView={})),d=n.last,r=n.value.items(),u=this.valueChanged(d,"sourceVisible",s),a=0;a'),this._initVisibility(),this.update(),this.jqDiv.appendTo(i)}var n=i(976);s.prototype.update=function(){var t,e,s,n,o,r,a,l=this._paneWidget.state();if(l){if(!this._visible||!this._chart.isActive())return void this.jqDiv[0].classList.add("pane-controls--hidden");if(this.jqDiv[0].classList.remove("pane-controls--hidden"),t=this, -e=t._model,s=e.panes().indexOf(l),this.jqDiv.toggleClass("toppane",0===s||this._chart.isMaximizedPane()),n=!1,!l.containsMainSeries()&&!this._chart.isMaximizedPane()){for(o=0,r=l.dataSources(),a=r.length;a--;)if(r[a]instanceof TradingView.Study&&++o>1){n=!0;break}r=null}s>0&&!this._chart.isMaximizedPane()?(this._$upButton||(this._$upButton=$(document.createElement("a")).addClass("pane-legend-icon up").append($(i(1152)).attr({width:14,height:14})).attr("title",$.t("Move Up")).on("click",function(){t._model.rearrangePanes(t._chart,t._model.panes().indexOf(t._paneWidget.state()),"up")})),this._$upButton.appendTo(this.jqDiv)):this._$upButton&&this._$upButton.detach(),s1&&!this._chart.isMaximizedPane()?(this._$maximizeButton||(this._$maximizeButton=$(document.createElement("a")).addClass("pane-legend-icon maximize").append($(i(1154)).attr({width:14,height:14})).attr("title",$.t("Toggle Maximize Pane")).on("click",function(){t._chart.toggleMaximizePane(t._paneWidget)})),this._$maximizeButton.appendTo(this.jqDiv)):this._$maximizeButton&&this._$maximizeButton.detach(),this._model.panes().length>1&&this._chart.isMaximizedPane()?(this._$restoreButton||(this._$restoreButton=$(document.createElement("a")).addClass("pane-legend-icon restore").append($(i(1155)).attr({width:14,height:14})).attr("title",$.t("Toggle Maximize Pane")).on("click",function(){t._chart.toggleMaximizePane(t._paneWidget)})),this._$restoreButton.appendTo(this.jqDiv)):this._$restoreButton&&this._$restoreButton.detach()}},s.prototype.destroy=function(){this._visibilityProperty&&(this._visibilityProperty.unsubscribe(this,this._onVisibilityPropertyChange),this._visibilityProperty=null),this._boundMouseHandler&&(this._mainDiv[0].removeEventListener("mouseenter",this._boundMouseHandler,!1),this._mainDiv[0].removeEventListener("mouseleave",this._boundMouseHandler,!1),this._boundMouseHandler=null),this.jqDiv.remove()},s.prototype._initVisibility=function(){this._visible=!0,this._visibilityProperty=n.actualBehavior(),this._visibilityProperty.subscribe(this,this._onVisibilityPropertyChange),this._onVisibilityPropertyChange()},s.prototype._onVisibilityPropertyChange=function(){var t=this._visibilityProperty.value() -;"alwaysOn"===t||"alwaysOff"===t?(this._visible="alwaysOn"===t,this._boundMouseHandler&&(this._mainDiv[0].removeEventListener("mouseenter",this._boundMouseHandler),this._mainDiv[0].removeEventListener("mouseleave",this._boundMouseHandler),this._boundMouseHandler=null)):(this._boundMouseHandler||(this._boundMouseHandler=this._visibilityMouseHandler.bind(this),this._mainDiv[0].addEventListener("mouseenter",this._boundMouseHandler),this._mainDiv[0].addEventListener("mouseleave",this._boundMouseHandler)),this._visible=!1),this.update()},s.prototype._visibilityMouseHandler=function(t){this._visible="mouseenter"===t.type,this.update()},t.exports=s},817:function(t,e,i){"use strict";var s,n,o,r,a,l,h,d,u,p,c,_,v,m,g,b,y,w,f,M,B,C,S,x,T;Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"ControlBarNavigation",function(){return T}),i(11),s=i(1178),i.n(s),n=i(976),o=i(38),r=i(202),a=i(29),l=i(306),h=i(71),i.n(h),i(39),d=i(873),i.n(d),u=i(1179),i.n(u),p=i(1180),i.n(p),c=i(1181),i.n(c),_=i(973),i.n(_),v=i(1182),i.n(v),m=i(1183),i.n(m),g=i(1184),i.n(g),b=i(1185),i.n(b),w=Object(l.b)({keys:["Alt","R"],text:"{0} + {1}"}),f=Object(l.b)({keys:[m],text:"{0}"}),M=Object(l.b)({keys:[g],text:"{0}"}),B='
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t'+u+'\n\t\t\t
\n\t\t\t
\n\t\t\t\t'+c+'\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t'+d+'\n\t\t\t
\n\t\t\t
\n\t\t\t\t'+_+'\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t'+p+"\n\t\t
\n\t
\n
",C='
\n\t'+v+"\n
",y={},y.moving="wait_finishing",y.wait_finishing="stop",y.stop="moving",S=y,x="control-bar__btn--btn-hidden",T=function(){function t(t,e){this._back=null,this._backButtonVisible=!1,this._boundKeydownHandler=null,this._boundKeyupHandler=null,this._boundMouseHandler=null,this._chartBackgroundProperty=null,this._chartModel=null,this._checkIntervalId=0,this._controlBar=null,this._controlBarVisible=!1,this._currentDistance=0,this._deferredFinishTimeout=0,this._finishingTimeout=0,this._moveType="", -this._movingTimeout=0,this._pressedKey=[],this._priceAxisChanged=null,this._resetAvailabilityChanged=null,this._priceAxisName="",this._rafId=0,this._startTime=0,this._state="stop",this._visibilityTypeProperty=null,this._widget=null,this._btnGroups=null,this._chart=t,this._parent=e,this._init(),this._initHandlers()}return t.prototype.destroy=function(){null!==this._visibilityTypeProperty&&(this._visibilityTypeProperty.unsubscribe(this,this._onVisibilityTypeChange),this._visibilityTypeProperty=null),null!==this._boundMouseHandler&&(this._parent.removeEventListener("mousemove",this._boundMouseHandler,!1),this._parent.removeEventListener("mouseleave",this._boundMouseHandler,!1),this._boundMouseHandler=null),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),clearTimeout(this._movingTimeout),null!==this._priceAxisChanged&&(this._priceAxisChanged.unsubscribe(this,this._updateBackBtnPosition),this._priceAxisChanged=null),null!==this._chartBackgroundProperty&&(clearInterval(this._checkIntervalId),this._chartBackgroundProperty.unsubscribe(this,this._updateBgBarStyle),this._chartBackgroundProperty=null),null!==this._resetAvailabilityChanged&&(this._resetAvailabilityChanged.unsubscribe(this,this._updateResetScalesButtonVisibility),this._resetAvailabilityChanged=null),this._chart=null},t.prototype.updatePosition=function(t){null!==this._widget&&null!==this._controlBar&&this._updateBtnGroupVisibility(t)},t.prototype._init=function(){var t,e,i,s=this;if(this._widget=Object(r.a)(B).querySelector(".control-bar-wrapper"),this._back=Object(r.a)(C).querySelector(".control-bar__btn--back-present"),this._controlBar=this._widget.querySelector(".control-bar"),this._btnGroups=Array.from(this._controlBar.querySelectorAll(".js-btn-group")),h.CheckMobile.any())for(t=0,e=this._btnGroups;t=i.left-100&&t.clientX<=i.right+100&&t.clientY>=i.top-100&&t.clientY<=i.bottom+100),this._controlBarVisible!==e&&(this._controlBarVisible=e,null!==this._controlBar&&null===this._rafId&&(this._rafId=this._controlBar.ownerDocument.defaultView.requestAnimationFrame(this._updateControlBarVisibility.bind(this)))))},t.prototype._updateControlBarVisibility=function(){this._rafId=null,null!==this._controlBar&&this._controlBar.classList.toggle("control-bar--hidden",!this._controlBarVisible)},t.prototype._updateBackBtnPosition=function(){if("left"===this._priceAxisName||"right"===this._priceAxisName){var t=this._chart.getPriceAxisMaxWidthByName(this._priceAxisName)+14;t&&null!==this._back&&(this._back.style.marginRight=t+"px")}},t.prototype._updateBgBarStyle=function(){var t,e,i,s;if(null!==this._chartModel){for(t=Object(a.getLuminance)(this._chartModel.model().properties().paneProperties.background.value())<.5,e=0,i=Object.values(this._buttons);e0?86*e.length:50,this._widget.style.left="calc(50% - "+Math.ceil(t/2)+"px)")},t.prototype._updateResetScalesButtonVisibility=function(){if(null!==this._chartModel){var t=this._chartModel.model().isScalesResetAvailable();this._buttons.turn.classList.toggle(x,!t)}},t.prototype._move=function(t){var e,i,s,n=this;null!==this._chartModel&&"stop"===this._state&&this._chartModel.beginUndoMacro(1===t?"Move Left":"Move Right"),this._state=S.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&&(e=this._startTime,i=10,s=function(){n._moveStep(e,0,50*t,1e3),n._movingTimeout=setTimeout(s.bind(n),i)},this._movingTimeout=setTimeout(s.bind(this),i))},t.prototype._moveStep=function(t,e,i,s){var n,o,r;return null===this._chartModel||this._chartModel.timeScale().isEmpty()?void 0:(n=Date.now(),n1||!isFinite(o))&&(o=1),r=1-Math.pow(1-o,3),this._currentDistance=(i-e)*r+e, -this._chartModel.scrollChart(this._currentDistance),o)},t.prototype._finishMove=function(){var t,e,i,s=this;clearTimeout(this._movingTimeout),this._movingTimeout=0,this._deferredFinishTimeout=0,t=this._currentDistance,e=Date.now(),i=function(){var n=s._moveStep(e,t,0,700);n&&n<1?s._finishingTimeout=setTimeout(i.bind(s),10):null!==s._chartModel&&(s._state=S.wait_finishing,s._moveType="",s._movingTimeout=0,s._currentDistance=0,s._chartModel.endUndoMacro())},this._finishingTimeout=setTimeout(i.bind(this),10)},t.prototype._stopMove=function(){"moving"===this._state&&(this._state=S.moving,Date.now()-this._startTime<200?this._deferredFinishTimeout=setTimeout(this._finishMove.bind(this),200-(Date.now()-this._startTime)):this._finishMove())},t.prototype._moveByBar=function(t){var e,i,s,n,o,r,a=this;if(null!==this._chartModel){if(e=this._chartModel.timeScale(),e.isEmpty())return;"stop"===this._state&&this._chartModel.beginUndoMacro(1===t?"Move Left":"Move Right"),null!==e.visibleBars()&&(i=e.indexToCoordinate(e.visibleBars().lastBar())+e.barSpacing()/2,Math.abs(e.width()-i)>e.barSpacing()/6&&this._chartModel.scrollChart(e.width()-i)),this._state=S.stop,this._moveType="by_bar",this._startTime=Date.now(),this._movingTimeout||(s=0,n=150,o=400,r=function(){a._moveByBarStep(t),s++,n>100&&(n-=s/5*20),a._movingTimeout=setTimeout(r,n)},this._movingTimeout=setTimeout(r,o),this._moveByBarStep(t))}},t.prototype._moveByBarStep=function(t){if(null!==this._chartModel){if(this._chartModel.timeScale().isEmpty())return;this._chartModel.scrollChartByBar(t)}},t.prototype._stopMoveByBar=function(){"moving"===this._state&&(clearTimeout(this._movingTimeout),this._movingTimeout=0,this._state=S.wait_finishing,this._moveType="",this._movingTimeout=0,this._currentDistance=0,null!==this._chartModel&&this._chartModel.endUndoMacro())},t.prototype._keydownHandler=function(t){var e,i;t.metaKey||37!==(e=t.which)&&39!==e||this._pressedKey[e]||(this._pressedKey[e]=!0,t.target.closest("input, textarea")||(i=37===e?1:-1,t.ctrlKey||t.altKey?this._move(i):this._moveByBar(i),t.preventDefault()))},t.prototype._keyupHandler=function(t){var e=t.which;37!==e&&39!==e||t.target.closest("input, textarea")||(this._pressedKey[t.which]=!1,"by_bar"===this._moveType?this._stopMoveByBar():this._stopMove())},t.prototype._trackEvent=function(t){},t}()},873:function(t,e){t.exports=''},973:function(t,e){t.exports=''},976:function(t,e,i){"use strict";function s(t){return"alwaysOn"===t||"alwaysOff"===t?t:"visibleOnMouseOver"}function n(){if(!u){var t="NavigationButtons.visibility";u=new h.a,u.setValue(s(d.getValue(t))),u.subscribe(u,function(e){d.setValue(t,s(e.value()))})}return u}function o(){ -return[{value:"visibleOnMouseOver",title:window.t("Visible on Mouse Over")},{value:"alwaysOn",title:window.t("Always Visible")},{value:"alwaysOff",title:window.t("Always Invisible")}]}function r(){var t,e;return p||(p=new h.a,t=n(),e=function(){var e=t.value();"alwaysOn"!==e&&"alwaysOff"!==e&&(e=Modernizr.touch?"alwaysOn":"visibleOnMouseOver"),p&&p.setValue(e)},t.subscribe(p,e),e()),p}var a,l,h,d,u,p;Object.defineProperty(e,"__esModule",{value:!0}),e.property=n,e.availableValues=o,e.actualBehavior=r,i(11),a=i(127),i.n(a),l=i(13),h=i.n(l),d=i(49),i.n(d)}}); \ No newline at end of file diff --git a/charting_library/static/bundles/chart-widget-gui.8005316cfc1f06be4bf0.js b/charting_library/static/bundles/chart-widget-gui.8005316cfc1f06be4bf0.js new file mode 100644 index 00000000..78f08c71 --- /dev/null +++ b/charting_library/static/bundles/chart-widget-gui.8005316cfc1f06be4bf0.js @@ -0,0 +1,13 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["chart-widget-gui"],{"/NcV":function(t,e){t.exports=''},"/vkn":function(t,e){t.exports=''},"1ANp":function(t,e,i){"use strict";function s(t){return"alwaysOn"===t||"alwaysOff"===t?t:"visibleOnMouseOver"}function n(){if(!u){(u=new h.a).setValue(s(d.getValue("NavigationButtons.visibility"))),u.subscribe(u,function(t){d.setValue("NavigationButtons.visibility",s(t.value()))})}return u}function o(){return[{value:"visibleOnMouseOver",title:window.t("Visible on Mouse Over")},{value:"alwaysOn",title:window.t("Always Visible")},{value:"alwaysOff",title:window.t("Always Invisible")}]}function r(){var t,e;return c||(c=new h.a,e=function(){var e=t.value();"alwaysOn"!==e&&"alwaysOff"!==e&&(e=Modernizr.mobiletouch?"alwaysOn":"visibleOnMouseOver"),c&&c.setValue(e)},(t=n()).subscribe(c,e),e()),c}var l,a,h,d,u,c;i.r(e),i.d(e,"property",function(){return n}),i.d(e,"availableValues",function(){return o}),i.d(e,"actualBehavior",function(){return r}),i("YFKU"),l=i("bf9a"),a=i("tc+8"),h=i.n(a),d=i("Vdly")},"3zM7":function(t,e){t.exports=''},"94TV":function(t,e){t.exports=''},"C+zC":function(t,e){t.exports=''},GBBr:function(t,e){t.exports=''},LxXZ:function(t,e,i){"use strict";(function(t){function s(t){t.classList.toggle("js-hidden",!0)}function n(t){t.classList.toggle("js-hidden",!1)}function o(t,e,i,s){var n;this._options=Object.assign({},u,s),this._model=e,this._paneWidget=t,this._chart=t._chart,this.$el=$(document.createElement("div")).addClass("pane-legend"),this._itemsBinding=[],this._mouseEventHandlers=[],this._chart.properties().paneProperties.legendProperties.showStudyTitles.listeners().subscribe(this,this.updateLayout), +this._chart.properties().paneProperties.legendProperties.showSeriesTitle.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showSeriesOHLC.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showBarChange.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showOnlyPriceSource.listeners().subscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showStudyValues.listeners().subscribe(this,this.updateLayout),this._model.mainSeries().properties().style.listeners().subscribe(this,this.updateLayout),this._model.mainSeries().properties().visible.listeners().subscribe(this,this.updateLayout),(n=this._chart.properties().scalesProperties.textColor).listeners().subscribe(this,function(t){this.$el.css("color",t.value())}),this.$el.css("color",n.value()),this._chart.properties().paneProperties.legendProperties.showLegend.subscribe(this,this.updateLayout),this._iconColor=null,this.updateLayout()}i("GVHu").Study;var r=i("tITk").trackEvent,l=(i("uOxu").getLogger("Chart.LegendWidget"),i("Tmoa")),a=i("Ialn").IS_RTL,h=(i("Vdly"),i("S8xo").MouseEventHandler),d=i("QloM").TabNames,u={contextMenuEnabled:!0,sourceSelectionEnabled:!0,symbolMarkerEnabled:!1,miniButtonsWidgetEnabled:!0,alertWidgetEnabled:!0};o.prototype.destroy=function(){this._removeMouseEventHandlers(),this._chart.properties().paneProperties.legendProperties.showLegend.unsubscribeAll(this),this._chart.properties().paneProperties.legendProperties.showStudyTitles.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showSeriesTitle.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showSeriesOHLC.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showBarChange.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showOnlyPriceSource.listeners().unsubscribe(this,this.updateLayout),this._chart.properties().paneProperties.legendProperties.showStudyValues.listeners().unsubscribe(this,this.updateLayout),this._model.mainSeries().properties().style.listeners().unsubscribe(this,this.updateLayout),this._model.mainSeries().properties().visible.listeners().unsubscribe(this,this.updateLayout)},o.prototype.updateThemedColors=function(t){this._iconColor=t,this._applyIconColors()},o.prototype._applyIconColors=function(){this.$el.find(".pane-legend-icon-container").css("color",this._iconColor||"")},o.prototype.contextMenuEvent=function(t,e){if(!this._model.chartModel().readOnly()&&this._options.contextMenuEnabled){this._chart.updateActions();var i=e.source;this._model.selectionMacro(function(t){t.clearSelection(),t.addSourceToSelection(i)}),this._paneWidget.showContextMenuForSelection(t)}},o.prototype._removeMouseEventHandlers=function(){this._mouseEventHandlers.forEach(function(t){t.destroy()}), +this._mouseEventHandlers=[]},o.prototype.updateLayout=function(){var e,s,n,o,r,l,a,d,u,c,p,_;if(this._removeMouseEventHandlers(),this._itemsBinding.length=0,this.$el.find(".apply-common-tooltip").trigger("mouseleave"),this.$el.empty(),this._indicatorRows=[],(e=this._paneWidget.state())&&this._model){for(s={showStudyTitles:this._model.model().properties().paneProperties.legendProperties.showStudyTitles.value(),showSeriesTitle:this._chart.properties().paneProperties.legendProperties.showSeriesTitle.value(),showSeriesOHLC:this._chart.properties().paneProperties.legendProperties.showSeriesOHLC.value(),showStudyValues:this._chart.properties().paneProperties.legendProperties.showStudyValues.value(),showLegend:this._model.model().properties().paneProperties.legendProperties.showLegend.value()},n=this._model.mainSeries(),(r=(o=e.orderedSources().slice()).indexOf(n))>-1&&(o.splice(r,1),o.push(n)),l=o.length-1;l>=0;l--)(d=(a=o[l]).statusView())&&(u=a===n,c=this._options.miniButtonsWidgetEnabled,(!u||s.showSeriesTitle||s.showSeriesOHLC||s.showStudyTitles||s.showStudyValues)&&(u&&t.enabled("fundamental_widget")||(!s.showLegend&&u&&c?this.$el.find(".expand-line").length||(p=$("
").addClass("pane-legend-line pane-legend-wrap main expand-line"),this._options.sourceSelectionEnabled||p.addClass("legend-selection-disabled"),p.appendTo(this.$el),this._chartHasStudies()?(_=$('').append($(i("/vkn")).attr({class:"expand closed"})),p.append(_.on("click touchend",this.toggleTitles.bind(this)))):p.addClass("pane-legend-line--without-child-studies"),p.source=a,a.properties().visible.value()||p.addClass("disabled"),s={showStudyTitles:!1,showSeriesTitle:s.showSeriesTitle,showSeriesOHLC:s.showSeriesOHLC,showStudyValues:!1},this._generateItemsForRow(p,d,s),this._mouseEventHandlers.push(new h(p,this,!0)),this.update()):(u||s.showStudyTitles||s.showStudyValues)&&s.showLegend&&(p=$("
").addClass("pane-legend-line pane-legend-wrap"),this._options.sourceSelectionEnabled||p.addClass("legend-selection-disabled"),p.appendTo(this.$el),u||this._indicatorRows.push(p[0]),p.source=a,u&&c?this._chartHasStudies()?(p.addClass("main"),_=$('').append($(i("scAS")).attr({class:"expand"})),p.append(_.on("click touchend",this.toggleTitles.bind(this)))):p.addClass("pane-legend-line--without-child-studies"):p.addClass("study"),a.properties().visible.value()||p.addClass("disabled"),this._generateItemsForRow(p,d,s),this._mouseEventHandlers.push(new h(p,this,!0))))));this.update()}},o.prototype._chartHasStudies=function(){return this._model.model().allStudies().some(function(t){return t.statusView()})},o.prototype._generateItemsForRow=function(e,s,n){var o,r,l,h,d,u,c,p,_,v,m,g=e.source,b=this,y=g===this._model.mainSeries(),w=g.properties().visible.value() +;if((y&&n.showSeriesTitle||!y&&n.showStudyTitles)&&((r=$("")).addClass("pane-legend-line__wrap-description apply-overflow-tooltip"),this._options.contextMenuEnabled&&!this._chart.readOnly()||r.addClass("no-context-menu"),this._options.sourceSelectionEnabled||r.addClass("legend-selection-disabled"),y&&r.addClass("main"),w||r.addClass("disabled"),r.css({"font-weight":s.bold()?"bold":"normal","font-size":s.size()}),this._options.contextMenuEnabled&&r.click(function(t){b.contextMenuEvent(t,e)}),$('').append($(i("3zM7"))).appendTo(r),r.appendTo(e),this._itemsBinding.push({value:s,cell:r,source:e.source}),!this._chart.readOnly()&&g.userEditEnabled()&&t.enabled("edit_buttons_in_legend")&&(o=$(''),a||o.appendTo(e),y&&w||!t.enabled("show_hide_button_in_legend")||$('').append($(i("cgDJ"))).appendTo(o).on("click touchend",this._generateItemsForRow._onShowhideClick.bind(this,g)),!y&&t.enabled("property_pages")&&t.enabled("format_button_in_legend")&&$('').append($(i("sGj7"))).appendTo(o).on("click touchend",this._generateItemsForRow._onFormatClick.bind(this,g)),!y&&t.enabled("delete_button_in_legend")&&$('').append($(i("VLql"))).appendTo(o).on("click touchend",this._generateItemsForRow._onDeleteClick.bind(this,g)))),l=g.legendView(),this.isDataWindowValuesVisible(l)&&l.isValuesVisible()&&(!y||w)){for(h=[],d=[],u=$('
').css({"font-size":s.size()}),this._options.contextMenuEnabled||u.addClass("no-context-menu"),this._options.sourceSelectionEnabled||u.addClass("legend-selection-disabled"),c=0;c").appendTo(u),_=y?$("").appendTo(p):null,v=$("").appendTo(p),y&&(_.addClass("pane-legend-item-value-title__main"),v.addClass("pane-legend-item-value__main")),g.properties().visible.value()||(v.addClass("disabled"),_&&_.addClass("disabled")),h.push(v),_&&d.push(_);m=$("").appendTo(u.appendTo(e)),this._itemsBinding.push({value:l,cell:h,titleCells:d.length?d:null,source:g,additional:m})}o&&a&&o.appendTo(e),this._applyIconColors()},o.prototype.isDataWindowValuesVisible=function(t){return this._chart.onWidget()?!!t&&!this._chart.isSmall():!!t},o.prototype._generateItemsForRow._onShowhideClick=function(t){this._model.setProperty(t.properties().visible,!t.properties().visible.value(),"Show/Hide "+t.title()),this._trackLegendEvent("Show/Hide")},o.prototype._generateItemsForRow._onFormatClick=function(t,e){t.userEditEnabled()&&this._chart.showChartPropertiesForSource(t,d.style),this._trackLegendEvent("Settings")},o.prototype._generateItemsForRow._onDeleteClick=function(t){ +t.isUserDeletable()&&(t.hasChildren()?showDeleteStudyTreeConfirm(this._model.removeSource.bind(this._model,t)):this._model.removeSource(t)),this._trackLegendEvent("Remove")},o.prototype._generateItemsForRow._onAddChildSourceClick=function(t){var e,i,s=this._chart.showIndicators(t);s&&(e=function(){r("SOS","Apply SOS","Apply by Plus SOS")},(i=this._model.model().studyInserted()).subscribe(this,e),s.visibilityChanged.subscribe(this,function(t){t||i.unsubscribe(this,e)},!0)),this._trackLegendEvent("Indicator on indicator")},o.prototype._generateItemsForRow._onViewSorceClick=function(t){var e=t.metaInfo();this._getPineSourceCode(e).done(function(t){TradingView.bottomWidgetBar&&TradingView.bottomWidgetBar.activateScriptEditorTab(t)}),this._trackLegendEvent("Source code")},o.prototype._getPineSourceCode=function(t){return $.Deferred()},o.prototype.setItemEnabled=function(t,e){var i=!t.hasClass("disabled"),s=t.closest(".pane-legend-wrap");e&&!i?(t.removeClass("disabled"),s.removeClass("disabled")):!e&&i&&(t.addClass("disabled"),s.addClass("disabled"))},o.prototype.valueChanged=function(t,e,i){return t[e]!==i&&(t[e]=i,!0)},o.prototype.firstTitle=function(){return this.$el.find(".pane-legend-wrap:first-child")},o.prototype.updateTitle=function(){var e,i,s,n,o,r,l,a,h,d,u,c,p;for(s=this._itemsBinding.length;s--;)i=this._itemsBinding[s],Array.isArray(i.cell)||(i.last||(i.last={}),n=i.last,e=(o=i.source).properties().visible.value(),this.valueChanged(n,"sourceVisible",e)&&this.setItemEnabled(i.cell,e),r=i.value.color(),l=o!==this._model.mainSeries()&&this._model.selection().isSelected(o)?"bold":"normal","function"==typeof i.value.getSplitTitle?(a=(u=i.value.getSplitTitle())[0].trim(),h=u[1].trim(),d=u[2].trim()):(a=i.value.text().trim(),h="",d=""),t.enabled("fundamental_widget")&&(a=((p=(c=this._model.mainSeries()).symbolInfo())?p.name:c.actualSymbol())+" "+a),i.isCellInited||(i.isCellInited=!0,d||h?(i.titleElement=document.createElement("div"),i.titleElement.classList.add("pane-legend-title__container"),i.cell[0].appendChild(i.titleElement),i.descriptionElement=document.createElement("div"),i.descriptionElement.classList.add("pane-legend-title__description"),i.titleElement.appendChild(i.descriptionElement),h&&(i.intervalElement=document.createElement("div"),i.intervalElement.classList.add("pane-legend-title__interval"),i.titleElement.appendChild(i.intervalElement)),d&&(i.detailsElement=document.createElement("div"),i.detailsElement.classList.add("pane-legend-title__details"),i.titleElement.appendChild(i.detailsElement)),i.titleElement.classList.add("apply-overflow-tooltip","apply-overflow-tooltip--allow-text","apply-overflow-tooltip--check-children")):(i.titleElement=document.createElement("div"),i.titleElement.classList.add("apply-overflow-tooltip","pane-legend-title__container"),i.cell[0].appendChild(i.titleElement),i.descriptionElement=document.createElement("div"),i.descriptionElement.classList.add("pane-legend-title__description"),i.titleElement.appendChild(i.descriptionElement))), +(this.valueChanged(n,"color",r)||this.valueChanged(n,"fontWeight",l))&&(i.titleElement.style.color=r,i.titleElement.style.borderColor=r,i.titleElement.style.fontWeight=l),a!==i.description&&(i.descriptionElement.textContent=TradingView.clean(a,!0),i.description=a),i.intervalElement&&h&&h!==i.interval&&(i.intervalElement.textContent=TradingView.clean(h,!0),i.interval=h),i.detailsElement&&d&&d!==i.details&&(i.detailsElement.textContent=TradingView.clean(d,!0),i.details=d));this._chart.resizeIndicator()},o.prototype.update=function(t){var e,i,o,r,a,h,d,u,c,p,_,v=!this._chart.isActive()&&!this._chart.crossHairSyncEnabled(),m=v?s:n;for(this._indicatorRows.forEach(m),this.updateTitle(),u=this._itemsBinding.length;u--;)if(e=(r=this._itemsBinding[u]).cell,i=r.titleCells,o=r.source.properties().visible.value(),Array.isArray(e))for(r.last||(r.last={},r.last.dwView||(r.last.dwView={})),c=r.last,a=r.value.items(),p=this.valueChanged(c,"sourceVisible",o),h=0;h'},MjtL:function(t,e){t.exports=''},TGRH:function(t,e,i){"use strict";var s,n,o,r,l,a,h,d,u,c,p,_,v,m,g,b,y,w,f,C,M,B,L,T;i.r(e),i.d(e,"ControlBarNavigation",function(){return T}),i("YFKU"),s=i("1ANp"),n=i("Ialn"),o=i("TzTt"),r=i("Tmoa"),l=i("ei7k"),a=i("qFKp"),i("tITk"),h=i("MjtL"),d=i("e8Rm"),u=i("e2QN"),c=i("vg09"),p=i("/NcV"),_=i("94TV"),v=i("qfuz"),m=i("MQEA"),g=i("jrhZ"),y=Object(l.b)({keys:["Alt","R"],text:"{0} + {1}"}),w=Object(l.b)({keys:[v], +text:"{0}"}),f=Object(l.b)({keys:[m],text:"{0}"}),C='
\n\t
\n\t\t
\n\t\t\t
\n\t\t\t\t'+d+'\n\t\t\t
\n\t\t\t
\n\t\t\t\t'+c+'\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t
\n\t\t\t\t'+h+'\n\t\t\t
\n\t\t\t
\n\t\t\t\t'+p+'\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t'+u+"\n\t\t
\n\t
\n
",M='
\n\t'+_+"\n
",(b={}).moving="wait_finishing",b.wait_finishing="stop",b.stop="moving",B=b,L="control-bar__btn--btn-hidden",T=function(){function t(t,e){this._back=null,this._backButtonVisible=!1,this._boundKeydownHandler=null,this._boundKeyupHandler=null,this._boundMouseHandler=null,this._chartBackgroundProperty=null,this._chartModel=null,this._checkIntervalId=0,this._controlBar=null,this._controlBarVisible=!1,this._currentDistance=0,this._deferredFinishTimeout=0,this._finishingTimeout=0,this._moveType="",this._movingTimeout=0,this._pressedKey=[],this._priceAxisChanged=null,this._resetAvailabilityChanged=null,this._priceAxisName="",this._rafId=0,this._startTime=0,this._state="stop",this._visibilityTypeProperty=null,this._widget=null,this._btnGroups=null,this._chart=t,this._parent=e,this._init(),this._initHandlers()}return t.prototype.destroy=function(){null!==this._visibilityTypeProperty&&(this._visibilityTypeProperty.unsubscribe(this,this._onVisibilityTypeChange),this._visibilityTypeProperty=null),null!==this._boundMouseHandler&&(this._parent.removeEventListener("mousemove",this._boundMouseHandler,!1),this._parent.removeEventListener("mouseleave",this._boundMouseHandler,!1),this._boundMouseHandler=null),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),clearTimeout(this._movingTimeout),null!==this._priceAxisChanged&&(this._priceAxisChanged.unsubscribe(this,this._updateBackBtnPosition),this._priceAxisChanged=null), +null!==this._chartBackgroundProperty&&(clearInterval(this._checkIntervalId),this._chartBackgroundProperty.unsubscribe(this,this._updateBgBarStyle),this._chartBackgroundProperty=null),null!==this._resetAvailabilityChanged&&(this._resetAvailabilityChanged.unsubscribe(this,this._updateResetScalesButtonVisibility),this._resetAvailabilityChanged=null),this._chart=null},t.prototype.updatePosition=function(t){var e,i;null!==this._widget&&null!==this._controlBar&&(e=this._chart.getPriceAxisMaxWidthByName("left"),i=this._chart.getPriceAxisMaxWidthByName("right"),this._updateBtnGroupVisibility(t,e,i))},t.prototype._init=function(){var t,e,i=this;if(this._widget=Object(o.a)(C).querySelector(".control-bar-wrapper"),this._back=Object(o.a)(M).querySelector(".control-bar__btn--back-present"),this._controlBar=this._widget.querySelector(".control-bar"),this._btnGroups=Array.from(this._controlBar.querySelectorAll(".js-btn-group")),a.CheckMobile.any())for(t=0,e=this._btnGroups;t=i.left-100&&t.clientX<=i.right+100&&t.clientY>=i.top-100&&t.clientY<=i.bottom+100),this._controlBarVisible!==e&&(this._controlBarVisible=e,null!==this._controlBar&&null===this._rafId&&(this._rafId=this._controlBar.ownerDocument.defaultView.requestAnimationFrame(this._updateControlBarVisibility.bind(this)))))},t.prototype._updateControlBarVisibility=function(){this._rafId=null,null!==this._controlBar&&this._controlBar.classList.toggle("control-bar--hidden",!this._controlBarVisible)},t.prototype._updateBackBtnPosition=function(){if("left"===this._priceAxisName||"right"===this._priceAxisName){var t=this._chart.getPriceAxisMaxWidthByName(this._priceAxisName)+14;t&&null!==this._back&&(this._back.style.marginRight=t+"px")}},t.prototype._updateBgBarStyle=function(){var t,e,i;if(null!==this._chartModel){for(t=Object(r.getLuminance)(this._chartModel.model().properties().paneProperties.background.value())<.5,e=0,i=Object.values(this._buttons);e(l=r[o]).leftPartWidth,d=s-i>l.rightPartWidth,u=!h||!d,void 0!==(c=this._getBtnGroup(l.className))&&u!==c.classList.contains("js-hidden")&&(c.classList.toggle("js-hidden",u),this._updateControlBarPosition())},t.prototype._getBtnGroup=function(t){if(null!==this._btnGroups)return this._btnGroups.find(function(e){return e.classList.contains(t)})},t.prototype._updateControlBarPosition=function(){var t,e;null!==this._widget&&null!==this._controlBar&&(t=0,t=(e=this._controlBar.querySelectorAll(".js-btn-group:not(.js-hidden)")).length>0?86*e.length:50,this._widget.style.left="calc(50% - "+Math.ceil(t/2)+"px)")},t.prototype._updateResetScalesButtonVisibility=function(){if(null!==this._chartModel){var t=this._chartModel.model().isScalesResetAvailable();this._buttons.turn.classList.toggle(L,!t)}},t.prototype._move=function(t){var e,i,s,n=this;null!==this._chartModel&&"stop"===this._state&&this._chartModel.beginUndoMacro(1===t?"Move Left":"Move Right"),this._state=B.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&&(e=this._startTime,i=10,s=function(){n._moveStep(e,0,50*t,1e3),n._movingTimeout=setTimeout(s,i)},this._movingTimeout=setTimeout(s,i))},t.prototype._moveStep=function(t,e,i,s){var n,o,r;return null===this._chartModel||this._chartModel.timeScale().isEmpty()?void 0:((n=Date.now())1||!isFinite(o))&&(o=1),r=1-Math.pow(1-o,3),this._currentDistance=(i-e)*r+e,this._chartModel.scrollChart(this._currentDistance),o)},t.prototype._finishMove=function(){var t,e,i,s=this;clearTimeout(this._movingTimeout),this._movingTimeout=0,this._deferredFinishTimeout=0,t=this._currentDistance,e=Date.now(),i=function(){var n=s._moveStep(e,t,0,700);n&&n<1?s._finishingTimeout=setTimeout(i,10):null!==s._chartModel&&(s._state=B.wait_finishing,s._moveType="",s._movingTimeout=0,s._currentDistance=0,s._chartModel.endUndoMacro())},this._finishingTimeout=setTimeout(i,10)},t.prototype._stopMove=function(){"moving"===this._state&&(this._state=B.moving,Date.now()-this._startTime<200?this._deferredFinishTimeout=setTimeout(this._finishMove.bind(this),200-(Date.now()-this._startTime)):this._finishMove())},t.prototype._moveByBar=function(t){var e,i,s,n,o,r,l=this;if(null!==this._chartModel){if((e=this._chartModel.timeScale()).isEmpty())return;"stop"===this._state&&this._chartModel.beginUndoMacro(1===t?"Move Left":"Move Right"), +null!==e.visibleBarsStrictRange()&&(i=e.indexToCoordinate(e.visibleBarsStrictRange().lastBar())+e.barSpacing()/2,Math.abs(e.width()-i)>e.barSpacing()/6&&this._chartModel.scrollChart(e.width()-i)),this._state=B.stop,this._moveType="by_bar",this._startTime=Date.now(),this._movingTimeout||(s=0,n=150,o=400,r=function(){l._moveByBarStep(t),s++,n>100&&(n-=s/5*20),l._movingTimeout=setTimeout(r,n)},this._movingTimeout=setTimeout(r,o),this._moveByBarStep(t))}},t.prototype._moveByBarStep=function(t){if(null!==this._chartModel){if(this._chartModel.timeScale().isEmpty())return;this._chartModel.scrollChartByBar(t)}},t.prototype._stopMoveByBar=function(){"moving"===this._state&&(clearTimeout(this._movingTimeout),this._movingTimeout=0,this._state=B.wait_finishing,this._moveType="",this._movingTimeout=0,this._currentDistance=0,null!==this._chartModel&&this._chartModel.endUndoMacro())},t.prototype._keydownHandler=function(t){var e,i;t.metaKey||37!==(e=t.which)&&39!==e||this._pressedKey[e]||(this._pressedKey[e]=!0,t.target.closest("input, textarea")||(i=37===e?1:-1,t.ctrlKey||t.altKey?this._move(i):this._moveByBar(i),t.preventDefault()))},t.prototype._keyupHandler=function(t){var e=t.which;37!==e&&39!==e||t.target.closest("input, textarea")||(this._pressedKey[t.which]=!1,"by_bar"===this._moveType?this._stopMoveByBar():this._stopMove())},t.prototype._trackEvent=function(t){0},t}()},VLql:function(t,e){t.exports=''},c44J:function(t,e){t.exports=''},cgDJ:function(t,e){t.exports=''},e2QN:function(t,e){t.exports=''},e8Rm:function(t,e){t.exports=''},jrhZ:function(t,e,i){},kGiK:function(t,e){t.exports=''},koft:function(t,e,i){"use strict";function s(t,e,i){this._model=e, +this._paneWidget=t,this._chart=t._chart,this._mainDiv=i,this.jqDiv=$('
'),this._initVisibility(),this.update(),this.jqDiv.appendTo(i)}var n=i("1ANp");s.prototype.updateThemedColors=function(t){t?this.jqDiv[0].style.color=t:this.jqDiv[0].style.removeProperty("color")},s.prototype.update=function(){var t,e,s,n,o,r,l,a=this._paneWidget.state();if(a)if(this._visible&&this._chart.isActive()){if(this.jqDiv[0].classList.remove("pane-controls--hidden"),e=(t=this)._model.panes().indexOf(a),s=Modernizr.mobiletouch,this.jqDiv.toggleClass("toppane",0===e||this._chart.isMaximizedPane()),n=!1,!a.containsMainSeries()&&!this._chart.isMaximizedPane()){for(o=0,l=(r=a.dataSources()).length;l--;)if(r[l]instanceof TradingView.Study&&++o>1){n=!0;break}r=null}e>0&&!this._chart.isMaximizedPane()&&!s?(this._$upButton||(this._$upButton=$(document.createElement("a")).addClass("pane-legend-icon up").append($(i("C+zC"))).attr("title",$.t("Move Up")).on("click",function(){t._model.rearrangePanes(t._chart,t._model.panes().indexOf(t._paneWidget.state()),"up")})),this._$upButton.appendTo(this.jqDiv)):this._$upButton&&this._$upButton.detach(),e1&&!this._chart.isMaximizedPane()&&!s?(this._$maximizeButton||(this._$maximizeButton=$(document.createElement("a")).addClass("pane-legend-icon maximize").append($(i("c44J"))).attr("title",$.t("Toggle Maximize Pane")).on("click",function(){t._chart.toggleMaximizePane(t._paneWidget)})),this._$maximizeButton.appendTo(this.jqDiv)):this._$maximizeButton&&this._$maximizeButton.detach(),this._model.panes().length>1&&this._chart.isMaximizedPane()?(this._$restoreButton||(this._$restoreButton=$(document.createElement("a")).addClass("pane-legend-icon restore").append($(i("kGiK"))).attr("title",$.t("Toggle Maximize Pane")).on("click",function(){t._chart.toggleMaximizePane(t._paneWidget)})),this._$restoreButton.appendTo(this.jqDiv)):this._$restoreButton&&this._$restoreButton.detach()}else this.jqDiv[0].classList.add("pane-controls--hidden")},s.prototype.destroy=function(){this._visibilityProperty&&(this._visibilityProperty.unsubscribe(this,this._onVisibilityPropertyChange),this._visibilityProperty=null),this._boundMouseHandler&&(this._mainDiv[0].removeEventListener("mouseenter",this._boundMouseHandler,!1), +this._mainDiv[0].removeEventListener("mouseleave",this._boundMouseHandler,!1),this._boundMouseHandler=null),this.jqDiv.remove()},s.prototype._initVisibility=function(){this._visible=!0,this._visibilityProperty=n.actualBehavior(),this._visibilityProperty.subscribe(this,this._onVisibilityPropertyChange),this._onVisibilityPropertyChange()},s.prototype._onVisibilityPropertyChange=function(){var t=this._visibilityProperty.value();"alwaysOn"===t||"alwaysOff"===t?(this._visible="alwaysOn"===t,this._boundMouseHandler&&(this._mainDiv[0].removeEventListener("mouseenter",this._boundMouseHandler),this._mainDiv[0].removeEventListener("mouseleave",this._boundMouseHandler),this._boundMouseHandler=null)):(this._boundMouseHandler||(this._boundMouseHandler=this._visibilityMouseHandler.bind(this),this._mainDiv[0].addEventListener("mouseenter",this._boundMouseHandler),this._mainDiv[0].addEventListener("mouseleave",this._boundMouseHandler)),this._visible=!1),this.update()},s.prototype._visibilityMouseHandler=function(t){this._visible="mouseenter"===t.type,this.update()},t.exports=s},qfuz:function(t,e){t.exports=''},sGj7:function(t,e){t.exports=''},scAS:function(t,e){t.exports=''},vg09:function(t,e){t.exports=''}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/clipboard.5403f9bd852af06addff.js b/charting_library/static/bundles/clipboard.5403f9bd852af06addff.js new file mode 100644 index 00000000..480d3161 --- /dev/null +++ b/charting_library/static/bundles/clipboard.5403f9bd852af06addff.js @@ -0,0 +1,4 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["clipboard"],{Ddwv:function(t,e,n){var o,i,r;i=[t,n("YDNs"),n("wOJ8"),n("TiCD")],void 0===(r="function"==typeof(o=function(t,e,n,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var a=i(e),c=i(n),l=i(o),u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s=function(){function t(t,e){var n,o;for(n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof t.action?t.action:this.defaultAction,this.target="function"==typeof t.target?t.target:this.defaultTarget,this.text="function"==typeof t.text?t.text:this.defaultText,this.container="object"===u(t.container)?t.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=(0,l.default)(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new a.default({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return r("action",t)}},{key:"defaultTarget",value:function(t){var e=r("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return r("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],e="string"==typeof t?[t]:t,n=!!document.queryCommandSupported;return e.forEach(function(t){n=n&&!!document.queryCommandSupported(t)}),n}}]),e}(c.default);t.exports=f})?o.apply(e,i):o)||(t.exports=r)},TiCD:function(t,e,n){var o=n("b+/x"),i=n("jFDo");t.exports=function(t,e,n){ +if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!o.string(e))throw new TypeError("Second argument must be a String");if(!o.fn(n))throw new TypeError("Third argument must be a Function");if(o.node(t))return function(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}(t,e,n);if(o.nodeList(t))return function(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}(t,e,n);if(o.string(t))return function(t,e,n){return i(document.body,t,e,n)}(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},YDNs:function(t,e,n){var o,i,r;i=[t,n("gvr7")],void 0===(r="function"==typeof(o=function(t,e){"use strict";var n,o=(n=e)&&n.__esModule?n:{default:n},i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r=function(){function t(t,e){var n,o;for(n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t,e=this,n="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[n?"right":"left"]="-9999px",t=window.pageYOffset||document.documentElement.scrollTop,this.fakeElem.style.top=t+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,o.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,o.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var t=void 0;try{ +t=document.execCommand(this.action)}catch(e){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),t}();t.exports=a})?o.apply(e,i):o)||(t.exports=r)},"b+/x":function(t,e){e.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},e.nodeList=function(t){var n=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in t&&(0===t.length||e.node(t[0]))},e.string=function(t){return"string"==typeof t||t instanceof String},e.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},gvr7:function(t,e){t.exports=function(t){var e,n,o,i;return"SELECT"===t.nodeName?(t.focus(),e=t.value):"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((n=t.hasAttribute("readonly"))||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value):(t.hasAttribute("contenteditable")&&t.focus(),o=window.getSelection(),(i=document.createRange()).selectNodeContents(t),o.removeAllRanges(),o.addRange(i),e=o.toString()),e}},jFDo:function(t,e,n){function o(t,e,n,o,r){var a=function(t,e,n,o){return function(n){n.delegateTarget=i(n.target,e),n.delegateTarget&&o.call(t,n)}}.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}var i=n("lNia");t.exports=function(t,e,n,i,r){return"function"==typeof t.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return o(t,e,n,i,r)}))}},lNia:function(t,e){var n,o=9;"undefined"==typeof Element||Element.prototype.matches||((n=Element.prototype).matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector),t.exports=function(t,e){for(;t&&t.nodeType!==o;){ +if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},wOJ8:function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){i.off(t,o),e.apply(n,arguments)}var i=this;return o._=e,this.on(t,o,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,i=n.length;o");o.appendTo(t),o.css("padding-left","0px"),o.css("padding-right","0px"),i=$(""),i.attr("type","text"),i.addClass("ticker"),i.css("width","40px"),i.attr("id",e),i.appendTo(o)},s=function(t,e,i){var o,n=$("
");n.css("padding-left",i),n.css("padding-right",i),n.appendTo(t),o=$("
"),o.appendTo(n),o.append(e),o.css("font-size","150%")},r=$(""),r.appendTo(t),a=$(""),a.appendTo(r),h=["start_hours","start_minutes","end_hours","end_minutes"],n.call(this,a,h[0]),s.call(this,a,":",0),n.call(this,a,h[1]),s.call(this,a,"-",4),n.call(this,a,h[2]),s.call(this,a,":",0),n.call(this,a,h[3]),c=!1,this.bindControl(new l(a,h,e,c,this.model(),o))},o.prototype.prepareControl=function(e,i,o){function n(t){return function(e){var i,o,n,s=this,r=null;if(0===e.indexOf("#")){if(i=e.slice(1,e.indexOf("$")),null===(o=I._model.model().getStudyById(i)))return void C.logError("Can not get Study by id "+i);if(o.isStarted()||o.start(null,!0),!(n=o.sourceId()))return void C.logError("Can not get source id for "+o.metaInfo().id);r=e.replace(/^[^\$]+/,n)}!~e.indexOf("$")&&!~e.indexOf("#")||I._study.isStarted()||I._study.start(null,!0),I._study.testInputValue(t,e)?s.setValueToProperty(r||s.value()):s.setValue(I._property.inputs[t.id].value())}}function s(t){return function(e){var i,o,n,s;if(t.hasOwnProperty(e)||0===e.indexOf("#")||!~e.indexOf("$"))return e;for(i=e.slice(0,e.indexOf("$")),o=I._model.model().allStudies(),n=0;n");else if("symbol"===e.type)V=$(''),y(V,{onPopupOpen:function(t){this._$symbolSearchPopup=t,this._symbolSearchZindex&&t.css("z-index",this._symbolSearchZindex)}.bind(this),onPopupClose:function(){this._$symbolSearchPopup=null}.bind(this)}),i.attr("colspan",5);else if("session"===e.type)this._addSessionEditor(i,this._property.inputs[e.id],e,o);else if("source"===e.type){for(r={},a={open:window.t("open"),high:window.t("high"),low:window.t("low"),close:window.t("close"),hl2:window.t("hl2"),hlc3:window.t("hlc3"),ohlc4:window.t("ohlc4")},l=Object.keys(a),h=0;h").attr("value",M).text(P).appendTo(V);i.addClass("js-value-cell")}else if(e.options)for(V=$(""),"bool"===e.type?V.attr("type","checkbox"):V.attr("type","text");return V&&(V.appendTo(i),V.is(":checkbox")||"symbol"===e.type||V.css("width","100px")),{valueEditor:V,valueSetter:E,propertyChangedHook:B}},o.prototype._symbolInfoBySymbolProperty=function(t){return this._study.resolvedSymbolInfoBySymbol(t.value())},o.prototype._sortInputs=function(t){return t},o.prototype.prepareLayoutImpl=function(t,e){function i(t){return(new m).format(t)}var o,n,l,h,y,b,C,w,T,k,x,S,O,M,P,I,V,E,B=this._sortInputs(t.inputs);for(o=0;o"),b.appendTo(e),C=$("
"),C.appendTo(b),C.addClass("propertypage-name-label"),C.text(window.t(h,{context:"input"})),w=$(""),w.appendTo(b),T=this.prepareControl(n,w,y),k=T.valueEditor,x=T.valueSetter,S=T.propertyChangedHook,n.options?this.bindControl(new _(k,this._property.inputs[l],null,!0,this.model(),y,x,S)):"bar_time"===n.type?(O=10,this.bindControl(new a(k,this._property.inputs[l],!0,this.model(),y,this.model().mainSeries(),O)),k.addClass("ticker")):"integer"===n.type?(M=[d(n.defval)],(0===n.min||n.min)&&M.push(c(n.min)),(0===n.max||n.max)&&M.push(u(n.max)),this.bindControl(new g(k,this._property.inputs[l],M,!1,this.model(),y)),k.addClass("ticker"),isFinite(n.step)&&n.step>0&&k.attr("data-step",n.step)):"float"===n.type?(M=[p(n.defval)],(0===n.min||n.min)&&M.push(c(n.min)),(0===n.max||n.max)&&M.push(u(n.max)),P=new g(k,this._property.inputs[l],M,!1,this.model(),y),P.addFormatter(i),this.bindControl(P),k.addClass("ticker"),isFinite(n.step)&&n.step>0&&k.attr("data-step",n.step)):"text"===n.type?this.bindControl(new g(k,this._property.inputs[l],null,!1,this.model(),y)):"bool"===n.type?this.bindControl(new v(k,this._property.inputs[l],!0,this.model(),y)):"resolution"===n.type?this.bindControl(new _(k,this._property.inputs[l],s,!0,this.model(),"Change Interval")):"symbol"===n.type&&(I=this._symbolInfoBySymbolProperty.bind(this,this._property.inputs[l]),V=f(I,this._property.inputs[l]),E=new r(k,this._property.inputs[l],!0,this.model(),"Change Symbol",V,this._study.symbolsResolved()),this.bindControl(E))));this._property.offset&&(h=this._property.offset.title?this._property.offset.title.value():window.t("Offset"),k=this.addOffsetEditorRow(e,h),M=[d(this._property.offset.val)],M.push(c(this._property.offset.min)),M.push(u(this._property.offset.max)),this.bindControl(new g(k,this._property.offset.val,M,!1,this.model(),"Undo "+h))),this._property.offsets&&$.each(t.plots,function(t,i){var o,n,s;this._property.offsets[i.id]&&(o=this._property.offsets[i.id],void 0!==o.isHidden&&o.isHidden.value()||(n=o.title.value(),k=this.addOffsetEditorRow(e,n),s=[d(o.val)],s.push(c(o.min)),s.push(u(o.max)),this.bindControl(new g(k,o.val,s,!1,this.model(),"Undo "+n))))}.bind(this))},o.prototype.prepareLayout=function(){this._table=$(""),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2");var t=this._study.metaInfo();this.prepareLayoutImpl(t,this._table),this.loadData()},o.prototype.symbolSearchPopup=function(){return this._$symbolSearchPopup},o.prototype.widget=function(){return this._table},e.StudyInputsPropertyPage=o}).call(e,i(5))},695:function(t,e,i){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function n(t,e){var i,o,n,s,h,p,f,_,v,g,y,m=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(m=$.extend({},{title:$.t("Confirm Inputs"),callback:function(t){}},m),i=null,o=(0,r.createDialog)({title:m.title,contentWrapTemplate:'
',width:u, -closeOnClickAtOtherDialogs:!0,destroyOnClose:!0,actionsWrapTemplate:'
',isClickOutFn:function(t){var e=i.symbolSearchPopup();if(e)return e[0]!==t.target&&!e[0].contains(t.target)&&void 0},actions:[{name:"apply",type:"primary",text:$.t("Apply"),key:13}]}),d=o,n=(0,l.merge)({},e.defaults.inputs),s=0;su&&o.$el.css("max-width",y),_.find("input,select").first().focus()}function s(){return d}var r,a,l,h,c,u,d;Object.defineProperty(e,"__esModule",{value:!0}),e.show=n,e.instance=s,r=i(188),a=i(692),l=i(12),h=i(13),c=o(h),i(845),u=450,d=null},823:function(t,e,i){"use strict";(function(t){function o(t,e){return'"}function n(t,e){this._model=e,this._bindings=[],this._property=t,this.supportThemeSwitcher=!1}function s(t){return t.toUpperCase()}function r(t){return function(e){return et?t:e}}function l(t){return function(e){var i=parseInt(e,10);return B(i)?t:i}}function h(t){var e=new D;return function(i){var o=e.parse(i);return B(o)?t:o}}function c(t){var e=new D;return function(i){var o=e.parse(i);return B(o)?t():o}}function u(t,e){var i=new z(e);return function(e){var o=i.format(e);return B(o)?t:o}}function d(){return function(t){for(var e=t,i=t.replace(/[^\u0000-\u007F]/,"");i.length!==e.length;)e=i,i=e.replace(/[^\u0000-\u007F]/,"");return i}}function p(t){return function(e){return 0===e.length?t:e}}function f(t,e){return function(i){var o=t();return i===e.value()&&o&&(o.ticker||o.full_name)?o.ticker||o.full_name:i}}function _(t,e,i,o,n,s,r){U.call(this,t,e,o,n,s),this._transformFunction=i,this._setter=r,this._attachToControl(t,o)}function v(t,e,i,o,n){_.call(this,t,e,h(e.value()),i,o,n),this.addFormatter(function(t){return(new D).format(t)})}function g(t,e,i,o,n,s){this._subControlIds=e,U.call(this,t,i,o,n,s),this._forEachSubControl(function(t){this._attachToControl(t,o)})}function y(t,e,i,o,n,s,r){this._model=o,this._mainSeries=s,this._toIntTransformer=l(r),this._disabled=!1,U.call(this,t,e,i,o,n);var a=this;i&&t.change(function(){a.setValueToProperty(a.value())}),this._mainSeries.dataEvents().barReceived().subscribe(this,function(){ -a.setValue(this.property().value())})}function m(t,e,i,o,n,s,r){U.call(this,t,e,i,o,n),this._transform=s,i&&t.on("accept-symbol",function(t,e){this.setValueToProperty(e),this.setValue(e)}.bind(this)),r&&(r.subscribe(this,this._updateDisplayedSymbol),this._updateDelegate=r)}function b(t,e,i,o,n,s,r,a){U.call(this,t,e,o,n,s),this._transformFunction=i,this._propertyChangedHook=a,this._setter=r;var l=this;o&&t.change(function(){l._setter?l._setter.call(l,l.value()):l.setValueToProperty(l.value())})}function C(t,e){U.call(this,t,e)}function w(t,e,i,o,n,s){if(!t.is(":checkbox, :radio"))return new k(t,e,i,o,n);U.call(this,t,e,i,o,n),this._setter=s;var r=this;i&&t.change(function(){r._setter?r._setter.call(r,r.value()):r.setValueToProperty(r.value())})}function T(t,e,i,o,n,s){U.call(this,t,e,i,o,n),this._inverted=!0===s}function k(t,e,i,o,n){U.call(this,t,e,i,o,n);var s=this;i&&t.click(function(){var t=$(this).toggleClass("active").hasClass("active");s.setValueToProperty(t)})}function x(t,e,i,o,n,s){var r,a;r=t.is("input")?t:t.find("input"),U.call(this,r,e,i,o,n),this._transparencyProperty=s,this.applyOldTransparency(),a=this,i&&r.change(function(){a.setValueToProperty(a.value())})}function S(e,i,o,n,s,r){function a(t,e){var i=h.control().slider("option","min"),o=h.control().slider("option","max"),n=h._property.value();(i<=n&&n<=o||il._transformers[1]&&$(s[1]).val(l._transformers[1]),-1!==$.inArray(t.keyCode,[46,8,9,27,13,110,190])||65===t.keyCode&&!0===t.ctrlKey||67===t.keyCode&&!0===t.ctrlKey||88===t.keyCode&&!0===t.ctrlKey||t.keyCode>=35&&t.keyCode<=39||(t.shiftKey||t.keyCode<48||t.keyCode>57)&&(t.keyCode<96||t.keyCode>105)&&t.preventDefault()})}),$(s[0]).on("keyup",function(t){parseInt($(this).val())l._transformers[1]&&$(this).val(l._transformers[1]),parseInt($(this).val())>parseInt($(s[1]).val())&&$(this).val(s[1].val()),l._control.slider("values",0,$(this).val()),I.prototype.setValueToProperty.call(l,l._control.slider("values"),"from")}),$(s[1]).on("keyup",function(t){parseInt($(this).val())l._transformers[1]&&$(this).val(l._transformers[1]),parseInt($(this).val())<$(s[0]).val()&&$(this).val(s[0].val()),l._control.slider("values",1,$(this).val()),I.prototype.setValueToProperty.call(l,l._control.slider("values"),"to")})),this._propFrom.listeners().subscribe(this,I.prototype.propertyChanged),this._propTo.listeners().subscribe(this,I.prototype.propertyChanged),o&&t.on("slide",function(t,e){l.setValueToProperty(l._control.slider("values"),e.handle)}),t.slider({stop:function(t,e){s&&($(s[0]).val(l._control.slider("values",0)),$(s[1]).val(l._control.slider("values",1))),l.setValueToProperty(l._control.slider("values"),e.handle)},start:function(t,e){s&&($(s[0]).val(l._control.slider("values",0)),$(s[1]).val(l._control.slider("values",1))),l.setValueToProperty(l._control.slider("values"),e.handle)}})}function V(t,e,i,o,n,s){U.call(this,t,e,i,o,n),this._separator=s||" ";var r=this;i&&t.change(function(){r.setValueToProperty(r.value())})}var E,B,j,H,A,F,W,D,z,L,R,U,N;i(866),E=i(7).ensureNotNull,B=i(84).isNaN,j=i(24),H=j.rgba,A=j.rgbaToString,F=j.parseRgb,W=i(72).TimePointIndexSearchMode,D=i(106).NumericFormatter,z=i(193).LimitedPrecisionNumericFormatter,L=i(29),R=i(829).addColorPicker,U=i(317).Binding,N=i(4).getLogger("Chart.PropertyPage"),n.prototype.model=function(){return this._model},n.prototype.bindControl=function(t){return this._bindings.push(t),t},n.prototype.unbindControl=function(t){var e=this._bindings.indexOf(t);-1!==e&&this._bindings.splice(e,1)},n.prototype.loadData=function(){var t,e,i;for(t=0;t',t).slider({max:4,min:1,step:1})},n.prototype.createColorPicker=function(t){return R(null,t)},n.prototype.createTextEditor=function(t,e){var i={};return t&&(i.width=t),e&&(i.height=e),$(document.createElement("textarea")).css(i).addClass("tv-control-input")},n.prototype.createCombo=function(t){var e=$(document.createElement("select")),i=t.reduce(function(t,e){return t.add($(document.createElement("option")).prop({value:e,text:e}))},$());return e.append(i)},n.prototype.createKeyCombo=function(t){var e=$(document.createElement("select"));return $.each(t||[],function(t,i){$(document.createElement("option")).prop({value:t,text:i}).appendTo(e)}),e},n.prototype.createFontEditor=function(t){var e=t||TradingView.factoryDefaults("chartproperties.editorFontsList");return this.createCombo(e)},n.prototype.createFontSizeEditor=function(t){var e=t||[10,11,12,14,16,20,24,28,32,40];return this.createCombo(e).addClass("tv-select-container-fontsize")},n.prototype.createSeriesMinTickEditor=function(){var t,e,i,o,n="",$(n)},n.prototype.createPrecisionEditor=function(){var t,e="",$(e)},n.prototype.createLabeledCell=function(t,e,i){var o,n,s,r,a=null;return"number"==typeof t.valueOf()?(a=t,o=e,n=i):(o=t,n=e),o+="",s=this._labelToId(o),r=$("
").appendTo(t),i=$("").appendTo(i),me=this._barsColorerTbody=$("").appendTo(i),we=this._haColorerTbody=$("").appendTo(i),Te=this._candlesTbody=$("").appendTo(o),fe=this._hollowCandlesTbody=$("").appendTo(o),ve=this._haTbody=$("").appendTo(o),Le=this._barsTbody=$("").appendTo(o),ke=this._lineTbody=$("").appendTo(o),Se=this._areaTbody=$("").appendTo(o),xe=this._baselineTbody=$("").appendTo(o);this._isShowStyleSwitcher()&&(p=this.addLabeledRow(_e,"Style"),y=$(document.createElement("td")).appendTo(p),y.addClass("property-wide-select"),a=$(document.createElement("select")),$("").appendTo(a),$("").appendTo(a),$("").appendTo(a),this._isJapaneseChartsAvailable()&&$("").appendTo(a),$("").appendTo(a),$("").appendTo(a),$("").appendTo(a),a.css("width","100px").appendTo(y),this.switchStyle(),this.bindControl(new h(a,n.style,parseInt,!0,this.model(),"Change Series Style"))),n.style.listeners().subscribe(this,this.switchStyle),C=this.createColorPicker(),m=this.createColorPicker(),w=this.createColorPicker(),T=this.createColorPicker(),f=this.createColorPicker(),v=this.createColorPicker(),L=$("").data("hides",$(f).add(v)),k=$("").data("hides",$(w).add(T)),S=$(""),x=this.addLabeledRow($e,"Color Bars Based on Previous Close",S), -$("
"),$("
").appendTo(e);return $('').appendTo(i)},n.prototype._labelToId=function(t){return"control"+t.replace(/(^| )\w/g,function(t){return"-"+t.trim().toLowerCase() -})+Math.floor(1e3*Math.random())},n.prototype.addRow=function(t){return $(document.createElement("tr")).appendTo(t)},n.prototype.addLabeledRow=function(t,e,i,n){var s,r=e&&e.length>0?$.t(e):"",a=$(document.createElement("tr")),l=$(document.createElement("td")).html(r);return n&&(n=parseInt(n),B(n)&&(n=2),l.attr("colspan",n)),i&&(s=this._labelToId(e),i.attr("id",s),l.html(o(r,s))),a.append(l).appendTo(t)},n.prototype.addEditorRow=function(t,e,i,o){var n=$(document.createElement("td"));return i.row=this.addLabeledRow(t,e,i,o),i.appendTo(n.appendTo(i.row)),i},n.prototype.addColorPickerRow=function(t,e){return this.addEditorRow(t,e,this.createColorPicker())},n.prototype.addOffsetEditorRow=function(t,e){var i=$("");return i.attr("type","text"),i.css("width","100px"),i.addClass("ticker"),this.addEditorRow(t,e,i)},n.prototype.addFontEditorRow=function(t,e){return this.addEditorRow(t,e,this.createFontEditor())},n.prototype.refreshStateControls=function(t,e,i){var o,n,s;for(o=0;o0&&(i=e[0],this._control.selectbox("change",i.value,i.text))}catch(t){}},b.prototype.propertyChanged=function(t){var e=t.value();"function"==typeof this._propertyChangedHook&&(e=this._propertyChangedHook(e)),this.setValue(e)},inherit(C,U),C.prototype.value=function(){return this._property.value()},C.prototype.setValue=function(t){return this._control.html(t)},inherit(w,U),w.prototype.value=function(){return this.control().is(":checked")},w.prototype.setValue=function(t){var e,i,o,n;return this.control().is(".visibility-checker")&&(t?(this.control().closest("tr").find(".slider-range").slider("enable"),this.control().closest("tr").find('input[type="text"]').each(function(){$(this).prop("disabled",!1)})):(this.control().closest("tr").find(".slider-range").slider("disable"),this.control().closest("tr").find('input[type="text"]').each(function(){$(this).prop("disabled",!0)}))),this.control().is(".visibility-switch")&&(e={opacity:t?1:.5},i=t?"enable":"disable",o=this.control().data("hides"),o?o.closest("td").css(e):(n=this.control(),n.parent().parent().data("visible",t).find("td").filter(function(){var t=$(this);return!t.find("label").length&&t.find(":checkbox").attr("id")!==n.attr("id")}).each(function(){var o=$(this);o.children().each(function(){var n=$(this);n.is(".ui-slider")?n.slider(i):n.is("select")?(n.selectbox(i),o.css(e)):n.is(".custom-select")?(n.data(i)(),o.css(e)):n.is(".tvcolorpicker-container")?(n.find("input").prop("disabled",!t),o.css(e)):(n.prop("disabled",!t),o.css(e))})}))),this.control().attr("checked",!!t)},w.prototype.destroy=function(){U.prototype.destroy.call(this), -this._control.off("change")},inherit(T,U),T.prototype.value=function(){return this.control().is(":disabled")},T.prototype.setValue=function(t){return t=!!t,this._inverted&&(t=!t),this.control().parents("label").toggleClass("disabled",t),this.control().attr("disabled",t)},inherit(k,U),k.prototype.value=function(){return this.control().hasClass("active")},k.prototype.setValue=function(t){return this.control().toggleClass("active",!!t)},inherit(x,U),x.prototype.applyOldTransparency=function(){var t,e,i;this.transparencyProperty()&&(L.isHexColor(this.property().value())?(t=this.transparencyProperty().value?this.transparencyProperty().value():this.transparencyProperty(),e=F(this.property().value()),i=(100-t)/100,this.control().val(A(H(e,i)))):this.control().val(this.property().value()),this.control().change())},x.prototype.transparencyProperty=function(){return this._transparencyProperty},x.prototype.value=function(){return this._control.val()},x.prototype.setValue=function(t){this._control.val(t),this._control.change(),this._control.color&&this._control.color.fromString(t)},inherit(S,U),S.prototype.value=function(){return this._control.slider("option","value")},S.prototype.setValue=function(t){this._control.slider("option","value",t)},inherit(O,w),O.prototype.onIntervalChanged=function(){+this._intervalProperty.value()<1440?this._control.attr({disabled:!1,checked:!!this._property.value()}):this._control.attr({disabled:!0,checked:!1})},O.prototype.value=function(){return this._control.is(":disabled")?this._property.value():w.prototype.value.call(this)},O.prototype.setValue=function(t){if(!this._control.is(":disabled"))return w.prototype.setValue.call(this,t)},O.prototype.destroy=function(){this._intervalProperty.listeners().unsubscribe(this,this.onIntervalChanged),delete this._intervalProperty,w.prototype.destroy.call(this,arguments)},M.prototype._attachToControl=function(t){var e=this;this._wv.subscribe(this._setValueBinded,{callWithLast:!0}),$(this._control).on("change",function(){e.setValueToProperty(e.value())})},M.prototype.control=function(){return this._control},M.prototype.value=function(){var t=$(this._control).val();return this._transformFunction&&(t=this._transformFunction(t)),t},M.prototype.setValue=function(t){$(this._control).val(t)},M.prototype.setValueToProperty=function(t){this._undoModel.undoHistory.setWatchedValue(this._wv,t,this._undoText)},M.prototype.watchedValue=function(){return this._wv},M.prototype.destroy=function(){this._wv.unsubscribe(this._setValueBinded)},inherit(P,M),P.prototype._attachToControl=function(t){var e=this;this._wv.subscribe(this.setValue.bind(this),{callWithLast:!0}),$(this._control).on("click",function(){e.setValueToProperty(e.value())})},P.prototype.value=function(){var t=$(this._control).attr("checked");return this._not&&(t=!t),this._transformFunction&&(t=this._transformFunction(t)),t},P.prototype.setValue=function(t){this._not&&(t=!t),$(this._control).attr("checked",!!t)},I.prototype.properties=function(){return this._properties},I.prototype.value=function(t){ -return this._control.slider("values",t)},I.prototype.setValue=function(t,e){this._control.slider("values",e,t.value()),this._inputsText&&$(this._inputsText[e]).val(t.value())},I.prototype.propertyChanged=function(t){this.setValue(t)},I.prototype.setValueToProperty=function(t,e){($(e).hasClass("from")||"from"===e)&&(this._undoModel.beginUndoMacro(this._undoText[0]),this._undoModel.setProperty(this._propFrom,t[0],this._undoText[0]),this._propFrom.setValue(t[0],0),this._undoModel.endUndoMacro()),($(e).hasClass("to")||"to"===e)&&(this._undoModel.beginUndoMacro(this._undoText[1]),this._undoModel.setProperty(this._propTo,t[1],this._undoText[1]),this._propTo.setValue(t[1],1),this._undoModel.endUndoMacro())},I.prototype.destroy=function(){this._propFrom&&this._propTo&&(this._propFrom.listeners().unsubscribe(this,U.prototype.propertyChanged),this._propTo.listeners().unsubscribe(this,U.prototype.propertyChanged))},inherit(V,U),V.prototype.value=function(){var t=[];return this._control.each(function(){var e=$(this);e.is(":checked")&&t.push(e.attr("value"))}),t.join(this._separator)},V.prototype.setValue=function(t){var e=t.split(this._separator).filter(Boolean);this._control.each(function(){var t=$(this),i=-1!==e.indexOf(t.attr("value"));t.attr("checked",i),t.parents("label").toggleClass("active",i)})},e.PropertyPage=n,e.UppercaseTransformer=s,e.GreateTransformer=r,e.LessTransformer=a,e.ToIntTransformer=l,e.ToFloatTransformer=h,e.ToFloatTransformerWithDynamicDefaultValue=c,e.ToFloatLimitedPrecisionTransformer=u,e.ToAsciiTransformer=d,e.ReplaceEmptyTransformer=p,e.SymbolInfoSymbolTransformer=f,e.SimpleStringBinder=_,e.FloatBinder=v,e.SessionBinder=g,e.BarTimeBinder=y,e.SymbolBinder=m,e.SimpleComboBinder=b,e.StaticContentBinder=C,e.BooleanBinder=w,e.DisabledBinder=T,e.ColorBinding=x,e.SliderBinder=S,e.CheckboxWVBinding=P,e.RangeBinder=I,e.generateLabelElementStr=o}).call(e,i(13))},827:function(t,e,i){"use strict";function o(t){return t in $.fn?Promise.resolve():(r||(r=new Promise(function(t){i.e(31).then(function(e){i(831),t()}.bind(null,i)).catch(i.oe)})),r)}function n(t){return new a(t)}var s,r,a;Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"LazyJqueryUI",function(){return a}),e.lazyJqueryUI=n,s=i(14),i.n(s),a=function(){function t(t){this._$elem=t}return t.prototype.draggable=function(){var t=arguments,e=this._$elem;return o("draggable").then(function(){return e.draggable.apply(e,t)})},t.prototype.resizable=function(){var t=arguments,e=this._$elem;return o("resizable").then(function(){return e.resizable.apply(e,t)})},t.prototype.sortable=function(){var t=arguments,e=this._$elem;return o("sortable").then(function(){return e.sortable.apply(e,t)})},t.prototype.datepicker=function(){var t=arguments,e=this._$elem;return o("datepicker").then(function(){return e.datepicker.apply(e,t)})},t}()},828:function(t,e){ -t.exports=''},829:function(t,e,i){"use strict";function o(t){var e=Object(l.parseRgb)(t),i=e.map(function(t){return t>50?t-50:0});return Object(l.rgbToString)(i)}function n(t){var e,i,o,n=[];for(e=0,i=t;e');return null!==t&&i.appendTo(t),void 0!==e.addClass&&i.addClass(e.addClass),$('
').appendTo(i),$('').tvcolorpicker({customColors:n(Object(h.getJSON)("pickerCustomColors",[])),direction:e.direction,hideTransparency:!!e.hideTransparency}).on("change",function(){$(this).css("border-color",o($(this).val()||c))}).bind("customcolorchange",function(t,e){Object(h.setJSON)("pickerCustomColors",e)}).appendTo(i),i}var r,a,l,h,c;Object.defineProperty(e,"__esModule",{value:!0}),e.addColorPicker=s,r=i(14),i.n(r),a=i(316),i.n(a),l=i(24),i.n(l),h=i(49),i.n(h),c="#727272"},832:function(t,e,i){"use strict";(function(o){function n(t){return t&&t.__esModule?t:{default:t}}function s(){var t,e,i=c.width();for(d.width=i,d.height=c.height(),t=0;tt.height()},breakpoints:l.breakpoints,widgetbarBreakpoint:1064,setFixedBodyState:function(t){var e,i;t&&1==++u?("hidden"!==$(document.body).css("overflow").toLowerCase()&&document.body.scrollHeight>document.body.offsetHeight&&($(".widgetbar-wrap").css("right",d.getScrollbarWidth()),h.css("padding-right",parseInt(h.css("padding-right").replace("px",""))+d.getScrollbarWidth()+"px").data("wasScroll",!0)),h.addClass("i-no-scroll")):!t&&u>0&&0==--u&&(h.removeClass("i-no-scroll"),h.data("wasScroll")&&(e=h.get(0),$(".widgetbar-wrap").css("right",0),i=$(".widgetbar-wrap").width()||0,e.scrollHeight<=e.clientHeight&&(i-=d.getScrollbarWidth()), -h.css("padding-right",(i<0?0:i)+"px").data("wasScroll",void 0)))}},p=Object.keys(d.breakpoints).sort(function(t,e){return d.breakpoints[t]-d.breakpoints[e]}),o.extend(d,a.default.prototype),s(),$(s),c.on("resize",s),e.default=d,t.exports=e.default}).call(e,i(187))},833:function(t,e,i){"use strict";(function(t){function o(e,i,o){var n,s,r,a,l,h,c=this;if(this._options=$.extend({},this._defaultOptions,o||{}),this._$wrapper=e,this._$content=i,this._scroll_speed=40,this._shadow_offset=10,this._header_height=this._options.headerHeight,this._scroll_margin_top=this._options.scrollMarginTop,this.scrolled=new t,this.scrolltoend=new t,this.scrolltostart=new t,this.visibilityCallbacks=[],n=navigator.platform.toLowerCase(),s=navigator.userAgent.toLowerCase(),r=s.indexOf("firefox")>-1,a=n.indexOf("android")>-1||s.indexOf("android")>-1,this._touch=Modernizr.touch||navigator.msMaxTouchPoints||r&&a,this._touch)return this._$content.css("position","relative"),void this._$wrapper.css({"overflow-y":"auto","-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}).scroll(this._onScroll.bind(this));this._$wrapper.css("overflow","hidden"),this._$wrapper.on("mouseenter.sidebar-scroll",function(){c._bottomFixed||c._dragging||(c._options.alwaysVisible||c._$scrollBar.addClass("active"),c._onScroll())}).on("mouseleave.sidebar-scroll",function(){c._bottomFixed||c._dragging||(c._options.alwaysVisible||c._$scrollBar.removeClass("active"),c._onScroll())}).on("mousewheel.sidebar-scroll",function(t,e){if(!t.isDefaultPrevented())return c.scroll(e,"MozMousePixelScroll"===t.originalEvent.type?2:null)}),!1!==this._options.showTopShadow&&(this._$shadowTop=$('
').appendTo(this._$wrapper)),!1!==this._options.showBottomShadow&&(this._$shadowBottom=$('
').appendTo(this._$wrapper)),this._$shadowTop&&this._header_height&&this._$shadowTop.css("top",this._header_height-this._shadow_offset),l=this._options.additionalClass?" "+this._options.additionalClass:"",h=this._options.alwaysVisible?" active-always":"",this._$scrollBarWrapper=$('
').appendTo(this._$wrapper),this._$scrollBar=$('
').appendTo(this._$scrollBarWrapper),this._onScroll()}var n=i(827).lazyJqueryUI;o.prototype.isTouch=function(){return this._touch},o.prototype.getScrollBar=function(){return this._$scrollBar},o.prototype._defaultOptions={headerHeight:0,additionalClass:"",alwaysVisible:!1,showBottomShadow:!0,scrollMarginTop:1,bubbleScrollEvent:!1},o.prototype.initDraggable=function(){if(this._dragInitialized)return this;var t=this;return n(this._$scrollBar).draggable({axis:"y",containment:this._$scrollBarWrapper,start:function(){t._dragging=!0},stop:function(){t._dragging=!1},drag:function(e,i){t.updateScroll()}}),this._dragInitialized=!0,this},o.prototype.updateScroll=function(){var t,e,i,o,n;return this._touch?this:(t=1,e=Math.ceil(this._$scrollBar.position().top-this._scroll_margin_top-this._header_height), -i=this.getContainerHeightWithoutHeader(),o=this._$content.outerHeight(),n=o-i-t,i<=0?this:(this._scroll_target_top=n<=0?this._header_height:Math.min(-e*o/i+this._header_height,this._header_height),e+this._$scrollBar.height()+2>=i?this.scrollToEnd():(this._$content.css("top",this._scroll_target_top+"px"),this._onScroll()),this))},o.prototype.getContainerHeightWithoutHeader=function(){return this._$wrapper[0].getBoundingClientRect().height-this._header_height},o.prototype.getContainerHeight=function(){return this._$wrapper[0].getBoundingClientRect().height},o.prototype.getContentHeight=function(){return this._$content[0].getBoundingClientRect().height},o.prototype.updateScrollBar=function(){var t,e,i,o,n,s,r,a,l;return this._touch?this:(t=1,e=this._$content.position().top,i=this.getContentHeight(),o=this.getContainerHeight(),n=this.getContainerHeightWithoutHeader(),s=t+this._header_height,r=n-2*t,a=(Math.abs(e)-this._header_height)*r/i,l=o*o/i,this.isContentShort()?(this._$scrollBar.addClass("js-hidden"),this._$wrapper.removeClass("sb-scroll-active")):(this._$scrollBar.removeClass("js-hidden").height(l).css("top",s+a),this._$wrapper.addClass("sb-scroll-active"),this.initDraggable()),this)},o.prototype.scroll=function(t,e){var i,o,n,s,r;return this._touch?this:(i=this._$content.position().top,o=this._$content.outerHeight(),n=this.getContainerHeightWithoutHeader(),s=o-n-1,r=e||this._scroll_speed,s<=0||(this._scroll_target_top=Math.max(-s+this._header_height,Math.min(this._header_height,i+t*r)),this.setContentTop(this._scroll_target_top),this._onScroll()))},o.prototype.animateTo=function(t){var e,i,o;return this._touch?this:(e=this._$content.outerHeight(),i=this.getContainerHeightWithoutHeader(),(o=e-i-1)<=0||(this._scroll_target_top=Math.max(-o+this._header_height,Math.min(this._header_height,-t)),void this._$content.animate({top:this._scroll_target_top},500,function(){this._onScroll()}.bind(this))))},o.prototype.resize=function(){var t,e;if(!this._bottomFixed){if(t=this._$content.outerHeight(),e=this._$wrapper.outerHeight(),!this._options.vAlignBottom&&ts&&t+e.areaHeightr?r-t-e.areaHeight:s-t}else"top"===e.position&&(a=s-t);return this.scroll(a,1),this._onScroll(),!1}, -o.prototype.scrollToEnd=function(){var t=this._$content.position().top,e=this._$content.outerHeight(),i=this._$wrapper.outerHeight(),o=e+t;return this.setContentTop(t+(i-o)+1),this._onScroll(),this},o.prototype.scrollToStart=function(){return this.setContentTop(this._header_height),this._onScroll(),this},o.prototype.currentPosition=function(){return Math.round(this._$content.position().top)},o.prototype.atStart=function(){return Math.round(this._$content.position().top)>=this._header_height},o.prototype.atEnd=function(t){var e,i,o,n;return"number"==typeof t&&isFinite(t)||(t=0),e=1,i=Math.round(this._$content.position().top),o=this._$content.outerHeight(),n=this._$wrapper.outerHeight(),o-Math.abs(i)-e<=n+t},o.prototype._onScroll=function(t){var e,i;return this._touch||this._$content.css("bottom","auto"),this.scrolled.fire(),this._dragging&&!0!==t||this.updateScrollBar(),e=this.atStart(),i=this.atEnd(),this._$shadowTop&&this._$shadowTop.toggleClass("i-invisible",!!e),this._$shadowBottom&&this._$shadowBottom.toggleClass("i-invisible",!!i),this._onContentVisible(),!this._atStart&&e?(this._atStart=!0,this.scrolltostart.fire()):this._atStart&&!e&&delete this._atStart,!this._atEnd&&i?(this._atEnd=!0,this.scrolltoend.fire()):this._atEnd&&!i&&delete this._atEnd,this._options.vAlignBottom&&(this._stickyBottom=this._$content.outerHeight()-Math.abs(this._$content.position().top)-this._$wrapper.outerHeight()),!(!this._atStart&&!this._atEnd||("function"==typeof this._options.bubbleScrollEvent?!this._options.bubbleScrollEvent():!this._options.bubbleScrollEvent))},o.prototype.checkContentVisibility=function(){this._onContentVisible()},o.prototype.subscribeToContentVisible=function(t,e,i){this.visibilityCallbacks.push({id:t,$el:e,callback:i})},o.prototype.triggerVisibilityCallbacks=function(t){this._onContentVisible(t)},o.prototype._contentIsVisible=function(t){return t.$el.position().top>-1*this.currentPosition()},o.prototype._onContentVisible=function(t){var e,i,o;this.visibilityCallbacks.length&&(e=t||this._contentIsVisible.bind(this),i=[],o=this.visibilityCallbacks.filter(function(t,o){if(!$.contains(this._$content,t.$el[0]))return!1;var n=e(t);return n&&i.push(o),!n},this),i.forEach(function(e){this.visibilityCallbacks[e].callback(!!t)},this),delete this.visibilityCallbacks,this.visibilityCallbacks=o)},o.prototype.save=function(){return this._saved={top:this._$content.position().top,height:this._$content.outerHeight()},this},o.prototype.restore=function(){if(this._saved){if(this._saved.top===this._$content.position().top&&this._saved.height===this._$content.outerHeight())return delete this._saved,this;this._options.vAlignBottom&&(this._saved.top-=this._$content.outerHeight()-this._saved.height,this._saved.top>this._header_height&&(this._saved.top=this._header_height)),this.setContentTop(this._saved.top),delete this._saved,this._onScroll(!0)}return this},o.prototype.fixBottom=function(){var t,e;return this._bottomFixed?this:(this._touch?(t=this._$content.outerHeight(),e=this._$wrapper.scrollTop(), -this._tempIntervalID=setInterval(function(){this._$wrapper.scrollTop(e+(this._$content.outerHeight()-t))}.bind(this),0)):this._$content.css({top:"auto",bottom:this._$wrapper.outerHeight()-this._$content.position().top-this._$content.outerHeight()}),this._bottomFixed=!0,this)},o.prototype.releaseBottom=function(){return this._bottomFixed?(this._touch?clearInterval(this._tempIntervalID):this._$content.css({top:this._$content.position().top,bottom:"auto"}),delete this._bottomFixed,this._onScroll(),this):this},o.prototype.setContentTop=function(t){return this._touch?this._options.vAlignBottom&&this._$content.outerHeight()'},837:function(t,e,i){"use strict";(function(t){function o(t){return t&&t.__esModule?t:{default:t}}function n(t){var e,i;if(t&&t.__esModule)return t;if(e={},null!=t)for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function l(){return 0!==C.length}var h,c,u,d,p,f,_,v,g,y,m,b,C,w;Object.defineProperty(e,"__esModule",{value:!0}),e.TVModal=void 0,h=Object.assign||function(t){var e,i,o;for(e=1;e
',containerTemplate:'
',ajaxErrorTemplate:'
'+$.t("Error")+"
"},e.TVModal=function(e){function i(){var t,e,o,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,i),t=r(this,(i.__proto__||Object.getPrototypeOf(i)).call(this,h({},w,a))),t.$overlay=$(t.options.overlayTemplate),t.$modalWrap=$(t.options.containerTemplate),t.$body=t.$modalWrap.find(".tv-dialog__modal-body").append(t.$el),t.options.closeOnOutsideClick&&t.$overlay.add(t.$modalWrap).click(function(e){t.isEventOut(e)&&t.close()}),t.on("change:zIndex",function(){t.$overlay.css("z-index",t.zIndex),t.$modalWrap.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$overlay.remove(),t.$modalWrap.remove()};t.opened?(t.close(),setTimeout(e,t.options.closingDuration)):e()}),t.on("beforeOpen",function(){C.push(t)}),t.options.ajax.url&&(e=t.options.ajax.beforeSend||$.noop,o=t.options.ajax.success||!1,n=t.options.ajax.error||$.noop,$.extend(t.options.ajax,{beforeSend:function(){t.trigger("beforeLoading",[t]),t.startSpinner(),e(t)},success:function(e){t.trigger("afterLoading",[t]),t.renderContent(o?o(t,e):e).showContent(),t.trigger("afterLoadingShow",[t])},error:function(){t.renderContent(t.options.ajaxErrorTemplate),n(t),t.trigger("errorLoading",[t])}})),t.on("error",function(e,i){t.$modalWrap[0].getBoundingClientRect().height0&&C[C.length-1].focus(),e.options.destroyOnClose&&e.destroy() -},this.options.closingDuration),this}},{key:"showContent",value:function(){var t=this;return this.$modalWrap.removeClass("i-hidden"),setTimeout(function(){t.$modalWrap.removeClass("i-closed")},20),setTimeout(function(){t.trigger("afterOpen",[t]),t.spinner&&t.stopSpinner()},.75*d.dur+20),this}},{key:"hideContent",value:function(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}},{key:"startSpinner",value:function(){return this.spinner=new v.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}},{key:"stopSpinner",value:function(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}]),i}(_.TVDialogAbstract)}).call(e,i(187))},838:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),i.d(e,"breakpoints",function(){return o});var o={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019}},839:function(t,e,i){"use strict";(function(t,o){function n(t){return t&&t.__esModule?t:{default:t}}function s(t){var e,i;if(t&&t.__esModule)return t;if(e={},null!=t)for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function h(){m.forEach(function(t){return t.close()})}var c,u,d,p,f,_,v,g,y,m,b,C,w,T,k,x,S;Object.defineProperty(e,"__esModule",{value:!0}),e.TVDialogAbstract=void 0,c=Object.assign||function(t){var e,i,o;for(e=1;e',errorTemplate:'
{{{ error }}}
',titleTemplate:'
{{{ title }}}
',contentWrapTemplate:'
',actionsWrapTemplate:'
', -closeButtonTemplate:'
'+i(828)+"
",helpButtonTemplate:'',helpActionsMod:"tv-dialog__section--actions_with-help"},k={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"},x={_default:'
{{ text }}
',"submit-success":''},$(function(){T.$wrap=$(document.all&&!document.querySelector?"html":"body")}),S=function(e){function i(){var e,o,n,s,l,h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(r(this,i),e=a(this,(i.__proto__||Object.getPrototypeOf(i)).call(this)),e._id=y++,e.loadingActions=[],e.disabledActions=[],e.firstFocusControl=null,e.options=c({},T,h),e.$el=$(t.render(e.options.template,{title:e.options.title,closeButton:e.options.closeButton})),e.$el.addClass("js-dialog"),e.el=e.$el[0],e.options.addClass&&e.$el.addClass(e.options.addClass),e.options.width&&e.$el.css({width:"100%","max-width":e.options.width}),e.options.title&&(e.$title=$(t.render(e.options.titleTemplate,{title:e.options.title})).appendTo(e.$el)),e.$content=$(e.options.contentWrapTemplate).appendTo(e.$el),e.$contentIn=e.$content;e.$contentIn.length;)e.$contentIn=e.$contentIn.children();if(e.$contentIn=e.$contentIn.end(),e.options.content&&e.renderContent(e.options.content),(e.options.actions||e.options.help)&&(e.$content.hasClass("tv-dialog__section")&&e.$content.addClass("tv-dialog__section--no-padding_bottom"),e.$actions=$(e.options.actionsWrapTemplate).appendTo(e.$el)),e.options.actions)for(e.actions={},e.$el.on("click touchend",".js-dialog__action-click",function(t){t.preventDefault(),e.actionDispatcher($(t.currentTarget).data("name"))}),o=function(i){var o,n,s,r,a,l,h=e.options.actions[i];h.type||(h.type="default"),h.class||(h.class=k[h.type]?k[h.type]:k.default),"checkbox"===h.type?(o=new _.default({labelRight:h.text,name:h.name,checked:h.checked}),e.actions[h.name]=o.$el.appendTo(e.$actions),e.actions[h.name].on("change",function(){setTimeout(function(){return e.actionDispatcher(h.name,o.checked)})})):e.actions[h.name]=$(t.render(h.template?h.template:x[h.type]||x._default,h,h)).appendTo(e.$actions),h.method&&"function"==typeof e[h.method]&&e.on("action:"+h.name,e[h.method].bind(e)),h.addClass&&e.actions[h.name].addClass(h.addClass),h.key&&(n=void 0,"string"==typeof h.key&&h.key.split("+").length>1?(s=[], -r=h.key.split("+"),n=function(t){s=[]},a=function(t){var i=""+t.keyCode;-1!==r.indexOf(i)&&s.indexOf(i)&&s.push(i),e._focused&&s.length===r.length&&(s=[],e.actionDispatcher(h.name))},e.on("afterOpen",function(){w.on("keydown",a),w.on("keyup",n)}),e.on("beforeClose",function(){w.off("keydown",a),w.off("keyup",n)})):(l=$.isArray(h.key)?h.key:[h.key],n=function(t){!t.isDefaultPrevented()&&e._focused&&-1!==l.indexOf(t.keyCode)&&e.actionDispatcher(h.name)},e.on("afterOpen",function(){return w.on("keyup",n)}),e.on("beforeClose",function(){return w.off("keyup",n)})))},n=e.options.actions.length-1;n>=0;n--)o(n);return e.options.help&&$(t.render(e.options.helpButtonTemplate,e.options.help)).prependTo(e.$actions.addClass(e.options.helpActionsMod)),e.options.closeButton&&(s=$(e.options.closeButtonTemplate),s.addClass(e.options.closeButtonAddClass||""),l=e.$el,1===e.$el.find(".js-close-button-place").length&&(l=e.$el.find(".js-close-button-place")),s.appendTo(l)),e.setZIndex(C+m.length),h.errorMod&&(e.errorMod=h.errorMod),e.on("afterOpen",function(){e.options.focusFirstControl&&!Modernizr.touch&&(e.firstFocusControl||e.$el.find('input:not([type="hidden"]), textarea').first()).focus()}),e.$el.on("click touchend",".js-dialog__close",e.close.bind(e)),e.$el.on("mousedown touchstart",e.focus.bind(e)),m.push(e),e}return l(i,e),u(i,[{key:"renderContent",value:function(t){return this.$contentIn.html("function"==typeof t?t(this):t),this}},{key:"setDestroyOnClose",value:function(t){this.options.destroyOnClose=t}},{key:"setZIndex",value:function(t){return this.zIndex=t,this.trigger("change:zIndex",[this]),this}},{key:"toTop",value:function(){for(var t=m.length-1;t>=0;t--)m[t].zIndex>this.zIndex&&m[t].setZIndex(m[t].zIndex-1);return this.setZIndex(C+m.length),this}},{key:"isEventOut",value:function(t){var e,i,o;return this.options.isClickOutFn&&void 0!==(e=this.options.isClickOutFn(t))?e:(i=!0,o=$(t.target),o.get(0)!==this.$el.get(0)&&($(">*",this.$el).each(function(){o.get(0)===$(this).get(0)&&(i=!1),0===o.closest("HTML",$(this).get(0)).length&&(i=!1)}),i))}},{key:"focus",value:function(){var t=this;b&&b!==this&&b.unfocus(),this._setFocused(),this._focused=!0,this.$el.addClass(this.options.focusClass),this.trigger("focus",[this]),setTimeout(function(){w.on("mousedown.tv-dialog-unfocus-"+t._id,function(e){t.isEventOut(e)&&(t.unfocus(),w.off("mousedown.tv-dialog-unfocus-"+t._id))})},20)}},{key:"_setFocused",value:function(){b!==this&&(b=this)}},{key:"_setUnfocused",value:function(){b===this&&(b=void 0)}},{key:"unfocus",value:function(){b===this&&(this._setUnfocused(),this._focused=!1,this.$el.removeClass(this.options.focusClass).find(":focus").blur(),this.trigger("unfocus",[this]))}},{key:"isFocused",value:function(){return this._focused}},{key:"setTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.$title.toggleClass("tv-dialog__section--one-line apply-overflow-tooltip",e),this.$title.html(t),this}},{key:"setTitleText",value:function(t){this.$title.find(".js-title-text").text(t)}},{ -key:"actionDispatcher",value:function(t){if(!this.disabledActions.includes(t)&&!this.loadingActions.includes(t)){for(var e=arguments.length,i=Array(e>1?e-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:"init";return this.actions[t].tvButtonLoader(i),"init"===i&&(this.actions[t].off("tv-button-loader:start.dialog-action").on("tv-button-loader:start.dialog-action",function(){e.loadingActions.push(t)}),this.actions[t].off("tv-button-loader:stop.dialog-action").on("tv-button-loader:stop.dialog-action",function(){e.loadingActions=o.without(e.loadingActions,t)})),this}},{key:"error",value:function(e){var i=$(t.render(this.options.errorTemplate,{error:e,errorMod:this.errorMod})).appendTo(this.$el),o=function(){i.addClass("i-slided"),setTimeout(function(){return i.remove()},.75*p.dur)};return setTimeout(function(){return i.removeClass("i-slided")},20),w.one("touchstart mousedown keydown",o),this.trigger("error",[this,i]),this}},{key:"destroy",value:function(){m=o.without(m,this);for(var t=0;t'+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}return s(t,[{key:"_start",value:function(){var t=this;this.starting=!0,this.$btn.addClass("i-start-load"), -this.$btn.trigger("tv-button-loader:start"),setTimeout(function(){t.loading=!0,t.starting=!1,t._startPromise=!1,t.$btn.addClass("i-loading"),t.$btn.removeClass("i-start-load"),t._stopPromise&&t._stop()},2*l.dur)}},{key:"start",value:function(){this.starting||(this.stopping?this._startPromise=!0:this._start())}},{key:"_stop",value:function(){var t=this;this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(function(){t.loading=!1,t.stopping=!1,t._stopPromise=!1,t.$btn.removeClass("i-loading i-start-load i-stop-load"),t._startPromise&&t._start()},l.dur)}},{key:"stop",value:function(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}},{key:"toggle",value:function(){this.loading?this.stop():this.start()}},{key:"contentHtml",value:function(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}},{key:"contentNojQuery",value:function(){return this.$btn.get(0)}},{key:"disable",value:function(){this.stop(),this.$btn.addClass("i-disabled")}},{key:"enable",value:function(){this.$btn.removeClass("i-disabled")}}]),t}()},841:function(t,e){},842:function(t,e){},843:function(t,e,i){"use strict";function o(t){return t&&t.__esModule?t:{default:t}}function n(t){var e,i;if(t&&t.__esModule)return t;if(e={},null!=t)for(i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l,h,c,u,d,p,f,_,v,g,y,m,b;Object.defineProperty(e,"__esModule",{value:!0}),e.TVPopup=void 0,l=Object.assign||function(t){var e,i,o;for(e=1;e',scrollWrapInner:'
',withScroll:!0},b="js-dialog__scroll-wrap",e.TVPopup=function(t){function e(){var t,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,e),t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,l({},m,i))),t.$scrollWrap=t.$content.hasClass(b)?t.$content:t.$content.find("."+b), -t.$scrollWrap.length?t.$scrollWrapInner=t.$scrollWrap.children().first():(t.$scrollWrap=t.$content.wrap($(t.options.scrollWrap)).parent(),t.$scrollWrapInner=t.$content.wrap($(t.options.scrollWrapInner)).parent()),t.$actions&&t.$scrollWrap.addClass("i-with-actions"),t.options.withScroll&&(t.scroll=new _.SidebarCustomScroll(t.$scrollWrap,t.$scrollWrapInner),t.scroll.scrolled.subscribe(null,function(){return t.trigger("scroll")})),t.$scrollWrap.css("overflow",""),t.$el.addClass("tv-dialog--popup i-closed i-hidden"),t.options.width&&t.$el.css({width:"calc(100% - 20px)","max-width":t.options.width}),t.$el.on("mousedown touchstart",t.toTop.bind(t)),t.options.closeOnOutsideClick&&(t.on("beforeOpen",function(){setTimeout(function(){t.opened&&$(document).on("click.tv-popup-"+t.id,function(e){var i=$(e.target).closest(".js-dialog");(t.options.closeOnClickAtOtherDialogs||0===i.length)&&t.isEventOut(e)&&t.close()})},0)}),t.on("beforeClose",function(){return $(document).off("click.tv-popup-"+t.id)})),t.on("change:zIndex",function(){t.$el.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$el.remove()};t.opened?(t.close(),setTimeout(e,u.dur/2)):e()}),t}return a(e,t),h(e,[{key:"open",value:function(){var t=this;return this.opened?this:(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.options.$wrap).removeClass("i-hidden").css(function(){var e,i,o,n,s;return t.calcHeight(),e=y.height(),i=y.width(),o=t.$el.height(),n=t.$el.width(),s=t.options.position,s||(s={top:e/2-o/2,left:i/2-n/2}),s.top>e-o&&(s.top=e-o),s.left>i-n&&(s.left=i-n),s}()),this.focus(),this.toTop(),this._doOpenAnimation().then(function(){t.opened&&(t.$el.removeClass("i-closed"),t.options.draggable&&((0,v.lazyJqueryUI)(t.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing"}),t.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),t.trigger("afterOpen",[t]))}),y.on("resize.tv-popup-"+this.id,function(){t.calcHeight(),t.fixPos()}),this)}},{key:"close",value:function(){var t=this;if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(function(){t.opened||((0,v.lazyJqueryUI)(t.$el).draggable("instance").then(function(t){t&&t.destroy()}),t.$el.addClass("i-hidden").detach(),g.css("cursor","auto"),t.trigger("afterClose",[t]),t.options.destroyOnClose&&t.destroy())}),y.off("resize.tv-popup-"+this.id),this}},{key:"hide",value:function(){this.$el.addClass("i-hidden")}},{key:"show",value:function(){this.$el.removeClass("i-hidden")}},{key:"fixPos",value:function(){var t=this.$el[0].getBoundingClientRect(),e={};t.bottom>p.default.height-10&&(e.top=p.default.height-10-t.height,e.top<10&&(e.top=10)),t.right>p.default.width-10&&(e.left=p.default.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}},{key:"calcHeight",value:function(){ -var t,e,i=this.$el[0].getBoundingClientRect(),o=this.$scrollWrapInner[0].getBoundingClientRect(),n=this.$scrollWrap[0].getBoundingClientRect(),s=this.options.height&&this.options.heights)&&(s-=i.height-n.height,s<60&&(s=60),this.$scrollWrap.css({height:s})),this.options.withScroll&&this.scroll.resize(),e=s1&&(t=parseFloat((""+t).replace(/^.+\./,"0."))),0').appendTo(s.parent()),i=$('
').html(u).appendTo(e),o=$('
').html(u).appendTo(e),e.on("mousedown",function(t){t.preventDefault(),s.focus()}),i.click(function(){s.is(":disabled")||r(s)}),o.click(function(){s.is(":disabled")||a(s)}),s.keydown(function(t){s.is(":disabled")||(38===t.keyCode?i.addClass("i-active"):40===t.keyCode&&o.addClass("i-active"))}),s.keyup(function(t){s.is(":disabled")||(38===t.keyCode?(r(s),i.removeClass("i-active")):40===t.keyCode&&(a(s), -o.removeClass("i-active")))}),s.mousewheel(function(t,e){e>0?i.click():o.click()}))})}},850:function(t,e,i){var o,n,s;!function(r){n=[i(14),i(81)],o=r,void 0!==(s="function"==typeof o?o.apply(e,n):o)&&(t.exports=s)}(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}})},851:function(t,e){},866:function(t,e,i){var o,n,s;!function(r){n=[i(14),i(310),i(850),i(81),i(191)],o=r,void 0!==(s="function"==typeof o?o.apply(e,n):o)&&(t.exports=s)}(function(t){return t.widget("ui.slider",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,i,o=this.options,n=this.element.find(".ui-slider-handle"),s=[];for(i=o.values&&o.values.length||1,n.length>i&&(n.slice(i).remove(),n=n.slice(0,i)),e=n.length;e");this.handles=n.add(t(s.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){t(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:t.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=t("
").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,o,n,s,r,a,l,h=this,c=this.options;return!c.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),i={x:e.pageX,y:e.pageY},o=this._normValueFromMouse(i),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var i=Math.abs(o-h.values(e)) -;(n>i||n===i&&(e===h._lastChangedValue||h.values(e)===c.min))&&(n=i,s=t(this),r=e)}),!1!==this._start(e,r)&&(this._mouseSliding=!0,this._handleIndex=r,this._addClass(s,null,"ui-state-active"),s.trigger("focus"),a=s.offset(),l=!t(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=l?{left:0,top:0}:{left:e.pageX-a.left-s.width()/2,top:e.pageY-a.top-s.height()/2-(parseInt(s.css("borderTopWidth"),10)||0)-(parseInt(s.css("borderBottomWidth"),10)||0)+(parseInt(s.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,r,o),this._animateOff=!0,!0))},_mouseStart:function(){return!0},_mouseDrag:function(t){var e={x:t.pageX,y:t.pageY},i=this._normValueFromMouse(e);return this._slide(t,this._handleIndex,i),!1},_mouseStop:function(t){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(t,this._handleIndex),this._change(t,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1,!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(t){var e,i,o,n,s;return"horizontal"===this.orientation?(e=this.elementSize.width,i=t.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(e=this.elementSize.height,i=t.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),o=i/e,o>1&&(o=1),o<0&&(o=0),"vertical"===this.orientation&&(o=1-o),n=this._valueMax()-this._valueMin(),s=this._valueMin()+o*n,this._trimAlignValue(s)},_uiHash:function(t,e,i){var o={handle:this.handles[t],handleIndex:t,value:void 0!==e?e:this.value()};return this._hasMultipleValues()&&(o.value=void 0!==e?e:this.values(t),o.values=i||this.values()),o},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(t,e){return this._trigger("start",t,this._uiHash(e))},_slide:function(t,e,i){var o,n=this.value(),s=this.values();this._hasMultipleValues()&&(o=this.values(e?0:1),n=this.values(e),2===this.options.values.length&&!0===this.options.range&&(i=0===e?Math.min(o,i):Math.max(o,i)),s[e]=i),i!==n&&!1!==this._trigger("slide",t,this._uiHash(e,i,s))&&(this._hasMultipleValues()?this.values(e,i):this.value(i))},_stop:function(t,e){this._trigger("stop",t,this._uiHash(e))},_change:function(t,e){this._keySliding||this._mouseSliding||(this._lastChangedValue=e,this._trigger("change",t,this._uiHash(e)))},value:function(t){return arguments.length?(this.options.value=this._trimAlignValue(t),this._refreshValue(),void this._change(null,0)):this._value()},values:function(e,i){var o,n,s;if(arguments.length>1)return this.options.values[e]=this._trimAlignValue(i),this._refreshValue(),void this._change(null,e);if(!arguments.length)return this._values();if(!t.isArray(arguments[0]))return this._hasMultipleValues()?this._values(e):this.value();for(o=this.options.values,n=arguments[0],s=0;s=0;o--)this._change(null,o);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(t){this._super(t),this._toggleClass(null,"ui-state-disabled",!!t)},_value:function(){var t=this.options.value;return t=this._trimAlignValue(t)},_values:function(t){var e,i,o;if(arguments.length)return e=this.options.values[t],e=this._trimAlignValue(e);if(this._hasMultipleValues()){for(i=this.options.values.slice(),o=0;o=this._valueMax())return this._valueMax();var e=this.options.step>0?this.options.step:1,i=(t-this._valueMin())%e,o=t-i;return 2*Math.abs(i)>=e&&(o+=i>0?e:-e),parseFloat(o.toFixed(5))},_calculateNewMax:function(){var t=this.options.max,e=this._valueMin(),i=this.options.step;t=Math.round((t-e)/i)*i+e,t>this.options.max&&(t-=i),this.max=parseFloat(t.toFixed(this._precision()))},_precision:function(){var t=this._precisionOf(this.options.step);return null!==this.options.min&&(t=Math.max(t,this._precisionOf(this.options.min))),t},_precisionOf:function(t){var e=""+t,i=e.indexOf(".");return-1===i?0:e.length-i-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(t){"vertical"===t&&this.range.css({width:"",left:""}),"horizontal"===t&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var e,i,o,n,s,r=this.options.range,a=this.options,l=this,h=!this._animateOff&&a.animate,c={};this._hasMultipleValues()?this.handles.each(function(o){i=(l.values(o)-l._valueMin())/(l._valueMax()-l._valueMin())*100,c["horizontal"===l.orientation?"left":"bottom"]=i+"%",t(this).stop(1,1)[h?"animate":"css"](c,a.animate),!0===l.options.range&&("horizontal"===l.orientation?(0===o&&l.range.stop(1,1)[h?"animate":"css"]({left:i+"%"},a.animate),1===o&&l.range[h?"animate":"css"]({width:i-e+"%"},{queue:!1,duration:a.animate})):(0===o&&l.range.stop(1,1)[h?"animate":"css"]({bottom:i+"%"},a.animate),1===o&&l.range[h?"animate":"css"]({height:i-e+"%"},{queue:!1,duration:a.animate}))),e=i}):(o=this.value(),n=this._valueMin(),s=this._valueMax(), -i=s!==n?(o-n)/(s-n)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[h?"animate":"css"](c,a.animate),"min"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:i+"%"},a.animate),"max"===r&&"horizontal"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({width:100-i+"%"},a.animate),"min"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:i+"%"},a.animate),"max"===r&&"vertical"===this.orientation&&this.range.stop(1,1)[h?"animate":"css"]({height:100-i+"%"},a.animate))},_handleEvents:{keydown:function(e){var i,o,n,s=t(e.target).data("ui-slider-handle-index");switch(e.keyCode){case t.ui.keyCode.HOME:case t.ui.keyCode.END:case t.ui.keyCode.PAGE_UP:case t.ui.keyCode.PAGE_DOWN:case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(e.preventDefault(),!this._keySliding&&(this._keySliding=!0,this._addClass(t(e.target),null,"ui-state-active"),!1===this._start(e,s)))return}switch(n=this.options.step,i=o=this._hasMultipleValues()?this.values(s):this.value(),e.keyCode){case t.ui.keyCode.HOME:o=this._valueMin();break;case t.ui.keyCode.END:o=this._valueMax();break;case t.ui.keyCode.PAGE_UP:o=this._trimAlignValue(i+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:o=this._trimAlignValue(i-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(i===this._valueMax())return;o=this._trimAlignValue(i+n);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(i===this._valueMin())return;o=this._trimAlignValue(i-n)}this._slide(e,s,o)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}})})}}); \ No newline at end of file diff --git a/charting_library/static/bundles/confirm-inputs-dialog.f9823e95a365cd8974c9.js b/charting_library/static/bundles/confirm-inputs-dialog.f9823e95a365cd8974c9.js new file mode 100644 index 00000000..cae6ee1c --- /dev/null +++ b/charting_library/static/bundles/confirm-inputs-dialog.f9823e95a365cd8974c9.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["confirm-inputs-dialog"],{KFNk:function(t,e,n){},wv8n:function(t,e,n){"use strict";var o,i,l,a,s,c,r,d;Object.defineProperty(e,"__esModule",{value:!0}),e.show=function(t,e){var n,a,d,u,p,f,v,g,y,_,m,w=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(w=$.extend({},{title:$.t("Confirm Inputs"),callback:function(t){}},w),n=null,a=(0,o.createDialog)({title:w.title,contentWrapTemplate:'
',width:c,closeOnClickAtOtherDialogs:!0,destroyOnClose:!0,actionsWrapTemplate:'
',isClickOutFn:function(t){var e=n.symbolSearchPopup();if(e)return e[0]!==t.target&&!e[0].contains(t.target)&&void 0},actions:[{name:"apply",type:"primary",text:$.t("Apply"),key:13}]}),r=a,d=(0,l.merge)({},e.defaults.inputs),u=0;uc&&a.$el.css("max-width",m),g.find("input,select").first().focus()},e.instance=function(){return r},o=n("YDhE"),i=n("L9lC"),l=n("ogJP"),a=n("tc+8"),s=(d=a)&&d.__esModule?d:{default:d},n("PVgW"),n("jgM0"),n("KFNk"),c=450,r=null}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/confirm-symbol-input-dialog.741858b9ef54b3611d31.js b/charting_library/static/bundles/confirm-symbol-input-dialog.741858b9ef54b3611d31.js deleted file mode 100644 index 5a7d2908..00000000 --- a/charting_library/static/bundles/confirm-symbol-input-dialog.741858b9ef54b3611d31.js +++ /dev/null @@ -1,13 +0,0 @@ -webpackJsonp([19,2],{188:function(t,e,o){"use strict";function i(t){var e=t.type||"popup";return delete t.type,"modal"===e?new n.TVModal(t):new s.TVPopup(t)}var n,s;Object.defineProperty(e,"__esModule",{value:!0}),n=o(837),s=o(843),e.createDialog=i},690:function(t,e,o){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),i=o(839),o.n(i),o.o(i,"TVDialogAbstract")&&o.d(e,"TVDialogAbstract",function(){return i.TVDialogAbstract}),o.o(i,"closeAllDialogs")&&o.d(e,"closeAllDialogs",function(){return i.closeAllDialogs})},818:function(t,e,o){"use strict";function i(t,e,o){var i,n,a,l=$('');l.css({float:"none","box-sizing":"border-box",width:"100%"}),i=null,n=Object(s.createDialog)({title:e||window.t("Add Symbol"),width:400,actions:[{name:"apply",text:window.t("Apply"),type:"primary"}],content:l,isClickOutFn:function(t){if(i&&(t.target===i[0]||i[0].contains(t.target)))return!1}}),a=Object(r.bindToInput)(l,{callback:function(e){t(e),n.close()},onPopupOpen:function(t){t.css("z-index",n.zIndex),i=t},onPopupClose:function(){i=null}}),n.on("action:apply",function(){a.then(function(t){t.acceptTypeIn()})}),o&&n.on("beforeClose",function(){o()}),n.open()}var n,s,r;Object.defineProperty(e,"__esModule",{value:!0}),e.showConfirmSymbolInputDialog=i,n=o(14),o.n(n),o(11),s=o(188),r=o(128)},827:function(t,e,o){"use strict";function i(t){return t in $.fn?Promise.resolve():(r||(r=new Promise(function(t){o.e(31).then(function(e){o(831),t()}.bind(null,o)).catch(o.oe)})),r)}function n(t){return new a(t)}var s,r,a;Object.defineProperty(e,"__esModule",{value:!0}),o.d(e,"LazyJqueryUI",function(){return a}),e.lazyJqueryUI=n,s=o(14),o.n(s),a=function(){function t(t){this._$elem=t}return t.prototype.draggable=function(){var t=arguments,e=this._$elem;return i("draggable").then(function(){return e.draggable.apply(e,t)})},t.prototype.resizable=function(){var t=arguments,e=this._$elem;return i("resizable").then(function(){return e.resizable.apply(e,t)})},t.prototype.sortable=function(){var t=arguments,e=this._$elem;return i("sortable").then(function(){return e.sortable.apply(e,t)})},t.prototype.datepicker=function(){var t=arguments,e=this._$elem;return i("datepicker").then(function(){return e.datepicker.apply(e,t)})},t}()},828:function(t,e){t.exports=''},832:function(t,e,o){"use strict";(function(i){function n(t){return t&&t.__esModule?t:{default:t}}function s(){var t,e,o=h.width();for(d.width=o,d.height=h.height(),t=0;tt.height()},breakpoints:l.breakpoints,widgetbarBreakpoint:1064,setFixedBodyState:function(t){var e,o;t&&1==++u?("hidden"!==$(document.body).css("overflow").toLowerCase()&&document.body.scrollHeight>document.body.offsetHeight&&($(".widgetbar-wrap").css("right",d.getScrollbarWidth()),c.css("padding-right",parseInt(c.css("padding-right").replace("px",""))+d.getScrollbarWidth()+"px").data("wasScroll",!0)),c.addClass("i-no-scroll")):!t&&u>0&&0==--u&&(c.removeClass("i-no-scroll"),c.data("wasScroll")&&(e=c.get(0),$(".widgetbar-wrap").css("right",0),o=$(".widgetbar-wrap").width()||0,e.scrollHeight<=e.clientHeight&&(o-=d.getScrollbarWidth()),c.css("padding-right",(o<0?0:o)+"px").data("wasScroll",void 0)))}},p=Object.keys(d.breakpoints).sort(function(t,e){return d.breakpoints[t]-d.breakpoints[e]}),i.extend(d,a.default.prototype),s(),$(s),h.on("resize",s),e.default=d,t.exports=e.default}).call(e,o(187))},833:function(t,e,o){"use strict";(function(t){function i(e,o,i){var n,s,r,a,l,c,h=this;if(this._options=$.extend({},this._defaultOptions,i||{}),this._$wrapper=e,this._$content=o,this._scroll_speed=40,this._shadow_offset=10,this._header_height=this._options.headerHeight,this._scroll_margin_top=this._options.scrollMarginTop,this.scrolled=new t,this.scrolltoend=new t,this.scrolltostart=new t,this.visibilityCallbacks=[],n=navigator.platform.toLowerCase(),s=navigator.userAgent.toLowerCase(),r=s.indexOf("firefox")>-1,a=n.indexOf("android")>-1||s.indexOf("android")>-1,this._touch=Modernizr.touch||navigator.msMaxTouchPoints||r&&a,this._touch)return this._$content.css("position","relative"),void this._$wrapper.css({"overflow-y":"auto","-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}).scroll(this._onScroll.bind(this));this._$wrapper.css("overflow","hidden"),this._$wrapper.on("mouseenter.sidebar-scroll",function(){h._bottomFixed||h._dragging||(h._options.alwaysVisible||h._$scrollBar.addClass("active"),h._onScroll())}).on("mouseleave.sidebar-scroll",function(){h._bottomFixed||h._dragging||(h._options.alwaysVisible||h._$scrollBar.removeClass("active"),h._onScroll())}).on("mousewheel.sidebar-scroll",function(t,e){if(!t.isDefaultPrevented())return h.scroll(e,"MozMousePixelScroll"===t.originalEvent.type?2:null)}), -!1!==this._options.showTopShadow&&(this._$shadowTop=$('
').appendTo(this._$wrapper)),!1!==this._options.showBottomShadow&&(this._$shadowBottom=$('
').appendTo(this._$wrapper)),this._$shadowTop&&this._header_height&&this._$shadowTop.css("top",this._header_height-this._shadow_offset),l=this._options.additionalClass?" "+this._options.additionalClass:"",c=this._options.alwaysVisible?" active-always":"",this._$scrollBarWrapper=$('
').appendTo(this._$wrapper),this._$scrollBar=$('
').appendTo(this._$scrollBarWrapper),this._onScroll()}var n=o(827).lazyJqueryUI;i.prototype.isTouch=function(){return this._touch},i.prototype.getScrollBar=function(){return this._$scrollBar},i.prototype._defaultOptions={headerHeight:0,additionalClass:"",alwaysVisible:!1,showBottomShadow:!0,scrollMarginTop:1,bubbleScrollEvent:!1},i.prototype.initDraggable=function(){if(this._dragInitialized)return this;var t=this;return n(this._$scrollBar).draggable({axis:"y",containment:this._$scrollBarWrapper,start:function(){t._dragging=!0},stop:function(){t._dragging=!1},drag:function(e,o){t.updateScroll()}}),this._dragInitialized=!0,this},i.prototype.updateScroll=function(){var t,e,o,i,n;return this._touch?this:(t=1,e=Math.ceil(this._$scrollBar.position().top-this._scroll_margin_top-this._header_height),o=this.getContainerHeightWithoutHeader(),i=this._$content.outerHeight(),n=i-o-t,o<=0?this:(this._scroll_target_top=n<=0?this._header_height:Math.min(-e*i/o+this._header_height,this._header_height),e+this._$scrollBar.height()+2>=o?this.scrollToEnd():(this._$content.css("top",this._scroll_target_top+"px"),this._onScroll()),this))},i.prototype.getContainerHeightWithoutHeader=function(){return this._$wrapper[0].getBoundingClientRect().height-this._header_height},i.prototype.getContainerHeight=function(){return this._$wrapper[0].getBoundingClientRect().height},i.prototype.getContentHeight=function(){return this._$content[0].getBoundingClientRect().height},i.prototype.updateScrollBar=function(){var t,e,o,i,n,s,r,a,l;return this._touch?this:(t=1,e=this._$content.position().top,o=this.getContentHeight(),i=this.getContainerHeight(),n=this.getContainerHeightWithoutHeader(),s=t+this._header_height,r=n-2*t,a=(Math.abs(e)-this._header_height)*r/o,l=i*i/o,this.isContentShort()?(this._$scrollBar.addClass("js-hidden"),this._$wrapper.removeClass("sb-scroll-active")):(this._$scrollBar.removeClass("js-hidden").height(l).css("top",s+a),this._$wrapper.addClass("sb-scroll-active"),this.initDraggable()),this)},i.prototype.scroll=function(t,e){var o,i,n,s,r;return this._touch?this:(o=this._$content.position().top,i=this._$content.outerHeight(),n=this.getContainerHeightWithoutHeader(),s=i-n-1,r=e||this._scroll_speed,s<=0||(this._scroll_target_top=Math.max(-s+this._header_height,Math.min(this._header_height,o+t*r)),this.setContentTop(this._scroll_target_top),this._onScroll()))},i.prototype.animateTo=function(t){var e,o,i -;return this._touch?this:(e=this._$content.outerHeight(),o=this.getContainerHeightWithoutHeader(),(i=e-o-1)<=0||(this._scroll_target_top=Math.max(-i+this._header_height,Math.min(this._header_height,-t)),void this._$content.animate({top:this._scroll_target_top},500,function(){this._onScroll()}.bind(this))))},i.prototype.resize=function(){var t,e;if(!this._bottomFixed){if(t=this._$content.outerHeight(),e=this._$wrapper.outerHeight(),!this._options.vAlignBottom&&ts&&t+e.areaHeightr?r-t-e.areaHeight:s-t}else"top"===e.position&&(a=s-t);return this.scroll(a,1),this._onScroll(),!1},i.prototype.scrollToEnd=function(){var t=this._$content.position().top,e=this._$content.outerHeight(),o=this._$wrapper.outerHeight(),i=e+t;return this.setContentTop(t+(o-i)+1),this._onScroll(),this},i.prototype.scrollToStart=function(){return this.setContentTop(this._header_height),this._onScroll(),this},i.prototype.currentPosition=function(){return Math.round(this._$content.position().top)},i.prototype.atStart=function(){return Math.round(this._$content.position().top)>=this._header_height},i.prototype.atEnd=function(t){var e,o,i,n;return"number"==typeof t&&isFinite(t)||(t=0),e=1,o=Math.round(this._$content.position().top),i=this._$content.outerHeight(),n=this._$wrapper.outerHeight(),i-Math.abs(o)-e<=n+t},i.prototype._onScroll=function(t){var e,o;return this._touch||this._$content.css("bottom","auto"),this.scrolled.fire(),this._dragging&&!0!==t||this.updateScrollBar(),e=this.atStart(),o=this.atEnd(),this._$shadowTop&&this._$shadowTop.toggleClass("i-invisible",!!e),this._$shadowBottom&&this._$shadowBottom.toggleClass("i-invisible",!!o),this._onContentVisible(),!this._atStart&&e?(this._atStart=!0,this.scrolltostart.fire()):this._atStart&&!e&&delete this._atStart,!this._atEnd&&o?(this._atEnd=!0,this.scrolltoend.fire()):this._atEnd&&!o&&delete this._atEnd,this._options.vAlignBottom&&(this._stickyBottom=this._$content.outerHeight()-Math.abs(this._$content.position().top)-this._$wrapper.outerHeight()),!(!this._atStart&&!this._atEnd||("function"==typeof this._options.bubbleScrollEvent?!this._options.bubbleScrollEvent():!this._options.bubbleScrollEvent))},i.prototype.checkContentVisibility=function(){ -this._onContentVisible()},i.prototype.subscribeToContentVisible=function(t,e,o){this.visibilityCallbacks.push({id:t,$el:e,callback:o})},i.prototype.triggerVisibilityCallbacks=function(t){this._onContentVisible(t)},i.prototype._contentIsVisible=function(t){return t.$el.position().top>-1*this.currentPosition()},i.prototype._onContentVisible=function(t){var e,o,i;this.visibilityCallbacks.length&&(e=t||this._contentIsVisible.bind(this),o=[],i=this.visibilityCallbacks.filter(function(t,i){if(!$.contains(this._$content,t.$el[0]))return!1;var n=e(t);return n&&o.push(i),!n},this),o.forEach(function(e){this.visibilityCallbacks[e].callback(!!t)},this),delete this.visibilityCallbacks,this.visibilityCallbacks=i)},i.prototype.save=function(){return this._saved={top:this._$content.position().top,height:this._$content.outerHeight()},this},i.prototype.restore=function(){if(this._saved){if(this._saved.top===this._$content.position().top&&this._saved.height===this._$content.outerHeight())return delete this._saved,this;this._options.vAlignBottom&&(this._saved.top-=this._$content.outerHeight()-this._saved.height,this._saved.top>this._header_height&&(this._saved.top=this._header_height)),this.setContentTop(this._saved.top),delete this._saved,this._onScroll(!0)}return this},i.prototype.fixBottom=function(){var t,e;return this._bottomFixed?this:(this._touch?(t=this._$content.outerHeight(),e=this._$wrapper.scrollTop(),this._tempIntervalID=setInterval(function(){this._$wrapper.scrollTop(e+(this._$content.outerHeight()-t))}.bind(this),0)):this._$content.css({top:"auto",bottom:this._$wrapper.outerHeight()-this._$content.position().top-this._$content.outerHeight()}),this._bottomFixed=!0,this)},i.prototype.releaseBottom=function(){return this._bottomFixed?(this._touch?clearInterval(this._tempIntervalID):this._$content.css({top:this._$content.position().top,bottom:"auto"}),delete this._bottomFixed,this._onScroll(),this):this},i.prototype.setContentTop=function(t){return this._touch?this._options.vAlignBottom&&this._$content.outerHeight()
',containerTemplate:'
',ajaxErrorTemplate:'
'+$.t("Error")+"
"},e.TVModal=function(e){function o(){var t,e,i,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,o),t=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,c({},C,a))),t.$overlay=$(t.options.overlayTemplate),t.$modalWrap=$(t.options.containerTemplate),t.$body=t.$modalWrap.find(".tv-dialog__modal-body").append(t.$el),t.options.closeOnOutsideClick&&t.$overlay.add(t.$modalWrap).click(function(e){t.isEventOut(e)&&t.close()}),t.on("change:zIndex",function(){t.$overlay.css("z-index",t.zIndex),t.$modalWrap.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$overlay.remove(),t.$modalWrap.remove()};t.opened?(t.close(),setTimeout(e,t.options.closingDuration)):e()}),t.on("beforeOpen",function(){w.push(t)}),t.options.ajax.url&&(e=t.options.ajax.beforeSend||$.noop,i=t.options.ajax.success||!1,n=t.options.ajax.error||$.noop,$.extend(t.options.ajax,{beforeSend:function(){t.trigger("beforeLoading",[t]),t.startSpinner(),e(t)},success:function(e){t.trigger("afterLoading",[t]),t.renderContent(i?i(t,e):e).showContent(),t.trigger("afterLoadingShow",[t])},error:function(){t.renderContent(t.options.ajaxErrorTemplate),n(t),t.trigger("errorLoading",[t])}})),t.on("error",function(e,o){t.$modalWrap[0].getBoundingClientRect().height0&&w[w.length-1].focus(),e.options.destroyOnClose&&e.destroy()},this.options.closingDuration),this}},{key:"showContent",value:function(){var t=this;return this.$modalWrap.removeClass("i-hidden"),setTimeout(function(){t.$modalWrap.removeClass("i-closed")},20),setTimeout(function(){t.trigger("afterOpen",[t]),t.spinner&&t.stopSpinner()},.75*d.dur+20),this}},{key:"hideContent",value:function(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}},{key:"startSpinner",value:function(){return this.spinner=new _.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}},{key:"stopSpinner",value:function(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}]),o}(g.TVDialogAbstract)}).call(e,o(187))},838:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o.d(e,"breakpoints",function(){return i});var i={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019}},839:function(t,e,o){"use strict";(function(t,i){function n(t){return t&&t.__esModule?t:{default:t}}function s(t){var e,o;if(t&&t.__esModule)return t;if(e={},null!=t)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(){y.forEach(function(t){return t.close()})}var h,u,d,p,f,g,_,v,b,y,m,w,C,k,T,x,O;Object.defineProperty(e,"__esModule",{value:!0}),e.TVDialogAbstract=void 0, -h=Object.assign||function(t){var e,o,i;for(e=1;e',errorTemplate:'
{{{ error }}}
',titleTemplate:'
{{{ title }}}
',contentWrapTemplate:'
',actionsWrapTemplate:'
',closeButtonTemplate:'
'+o(828)+"
",helpButtonTemplate:'',helpActionsMod:"tv-dialog__section--actions_with-help"},T={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"},x={_default:'
{{ text }}
',"submit-success":''},$(function(){k.$wrap=$(document.all&&!document.querySelector?"html":"body")}),O=function(e){function o(){var e,i,n,s,l,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(r(this,o),e=a(this,(o.__proto__||Object.getPrototypeOf(o)).call(this)),e._id=b++,e.loadingActions=[],e.disabledActions=[],e.firstFocusControl=null,e.options=h({},k,c),e.$el=$(t.render(e.options.template,{title:e.options.title,closeButton:e.options.closeButton})),e.$el.addClass("js-dialog"),e.el=e.$el[0],e.options.addClass&&e.$el.addClass(e.options.addClass),e.options.width&&e.$el.css({width:"100%","max-width":e.options.width}),e.options.title&&(e.$title=$(t.render(e.options.titleTemplate,{title:e.options.title})).appendTo(e.$el)),e.$content=$(e.options.contentWrapTemplate).appendTo(e.$el), -e.$contentIn=e.$content;e.$contentIn.length;)e.$contentIn=e.$contentIn.children();if(e.$contentIn=e.$contentIn.end(),e.options.content&&e.renderContent(e.options.content),(e.options.actions||e.options.help)&&(e.$content.hasClass("tv-dialog__section")&&e.$content.addClass("tv-dialog__section--no-padding_bottom"),e.$actions=$(e.options.actionsWrapTemplate).appendTo(e.$el)),e.options.actions)for(e.actions={},e.$el.on("click touchend",".js-dialog__action-click",function(t){t.preventDefault(),e.actionDispatcher($(t.currentTarget).data("name"))}),i=function(o){var i,n,s,r,a,l,c=e.options.actions[o];c.type||(c.type="default"),c.class||(c.class=T[c.type]?T[c.type]:T.default),"checkbox"===c.type?(i=new g.default({labelRight:c.text,name:c.name,checked:c.checked}),e.actions[c.name]=i.$el.appendTo(e.$actions),e.actions[c.name].on("change",function(){setTimeout(function(){return e.actionDispatcher(c.name,i.checked)})})):e.actions[c.name]=$(t.render(c.template?c.template:x[c.type]||x._default,c,c)).appendTo(e.$actions),c.method&&"function"==typeof e[c.method]&&e.on("action:"+c.name,e[c.method].bind(e)),c.addClass&&e.actions[c.name].addClass(c.addClass),c.key&&(n=void 0,"string"==typeof c.key&&c.key.split("+").length>1?(s=[],r=c.key.split("+"),n=function(t){s=[]},a=function(t){var o=""+t.keyCode;-1!==r.indexOf(o)&&s.indexOf(o)&&s.push(o),e._focused&&s.length===r.length&&(s=[],e.actionDispatcher(c.name))},e.on("afterOpen",function(){C.on("keydown",a),C.on("keyup",n)}),e.on("beforeClose",function(){C.off("keydown",a),C.off("keyup",n)})):(l=$.isArray(c.key)?c.key:[c.key],n=function(t){!t.isDefaultPrevented()&&e._focused&&-1!==l.indexOf(t.keyCode)&&e.actionDispatcher(c.name)},e.on("afterOpen",function(){return C.on("keyup",n)}),e.on("beforeClose",function(){return C.off("keyup",n)})))},n=e.options.actions.length-1;n>=0;n--)i(n);return e.options.help&&$(t.render(e.options.helpButtonTemplate,e.options.help)).prependTo(e.$actions.addClass(e.options.helpActionsMod)),e.options.closeButton&&(s=$(e.options.closeButtonTemplate),s.addClass(e.options.closeButtonAddClass||""),l=e.$el,1===e.$el.find(".js-close-button-place").length&&(l=e.$el.find(".js-close-button-place")),s.appendTo(l)),e.setZIndex(w+y.length),c.errorMod&&(e.errorMod=c.errorMod),e.on("afterOpen",function(){e.options.focusFirstControl&&!Modernizr.touch&&(e.firstFocusControl||e.$el.find('input:not([type="hidden"]), textarea').first()).focus()}),e.$el.on("click touchend",".js-dialog__close",e.close.bind(e)),e.$el.on("mousedown touchstart",e.focus.bind(e)),y.push(e),e}return l(o,e),u(o,[{key:"renderContent",value:function(t){return this.$contentIn.html("function"==typeof t?t(this):t),this}},{key:"setDestroyOnClose",value:function(t){this.options.destroyOnClose=t}},{key:"setZIndex",value:function(t){return this.zIndex=t,this.trigger("change:zIndex",[this]),this}},{key:"toTop",value:function(){for(var t=y.length-1;t>=0;t--)y[t].zIndex>this.zIndex&&y[t].setZIndex(y[t].zIndex-1);return this.setZIndex(w+y.length),this}},{key:"isEventOut",value:function(t){var e,o,i -;return this.options.isClickOutFn&&void 0!==(e=this.options.isClickOutFn(t))?e:(o=!0,i=$(t.target),i.get(0)!==this.$el.get(0)&&($(">*",this.$el).each(function(){i.get(0)===$(this).get(0)&&(o=!1),0===i.closest("HTML",$(this).get(0)).length&&(o=!1)}),o))}},{key:"focus",value:function(){var t=this;m&&m!==this&&m.unfocus(),this._setFocused(),this._focused=!0,this.$el.addClass(this.options.focusClass),this.trigger("focus",[this]),setTimeout(function(){C.on("mousedown.tv-dialog-unfocus-"+t._id,function(e){t.isEventOut(e)&&(t.unfocus(),C.off("mousedown.tv-dialog-unfocus-"+t._id))})},20)}},{key:"_setFocused",value:function(){m!==this&&(m=this)}},{key:"_setUnfocused",value:function(){m===this&&(m=void 0)}},{key:"unfocus",value:function(){m===this&&(this._setUnfocused(),this._focused=!1,this.$el.removeClass(this.options.focusClass).find(":focus").blur(),this.trigger("unfocus",[this]))}},{key:"isFocused",value:function(){return this._focused}},{key:"setTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.$title.toggleClass("tv-dialog__section--one-line apply-overflow-tooltip",e),this.$title.html(t),this}},{key:"setTitleText",value:function(t){this.$title.find(".js-title-text").text(t)}},{key:"actionDispatcher",value:function(t){if(!this.disabledActions.includes(t)&&!this.loadingActions.includes(t)){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:"init";return this.actions[t].tvButtonLoader(o),"init"===o&&(this.actions[t].off("tv-button-loader:start.dialog-action").on("tv-button-loader:start.dialog-action",function(){e.loadingActions.push(t)}),this.actions[t].off("tv-button-loader:stop.dialog-action").on("tv-button-loader:stop.dialog-action",function(){e.loadingActions=i.without(e.loadingActions,t)})),this}},{key:"error",value:function(e){var o=$(t.render(this.options.errorTemplate,{error:e,errorMod:this.errorMod})).appendTo(this.$el),i=function(){o.addClass("i-slided"),setTimeout(function(){return o.remove()},.75*p.dur)};return setTimeout(function(){return o.removeClass("i-slided")},20),C.one("touchstart mousedown keydown",i),this.trigger("error",[this,o]),this}},{key:"destroy",value:function(){y=i.without(y,this);for(var t=0;t'+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}return s(t,[{key:"_start",value:function(){var t=this;this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(function(){t.loading=!0,t.starting=!1,t._startPromise=!1,t.$btn.addClass("i-loading"),t.$btn.removeClass("i-start-load"),t._stopPromise&&t._stop()},2*l.dur)}},{key:"start",value:function(){this.starting||(this.stopping?this._startPromise=!0:this._start())}},{key:"_stop",value:function(){var t=this;this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(function(){t.loading=!1,t.stopping=!1,t._stopPromise=!1,t.$btn.removeClass("i-loading i-start-load i-stop-load"),t._startPromise&&t._start()},l.dur)}},{key:"stop",value:function(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}},{key:"toggle",value:function(){this.loading?this.stop():this.start()}},{key:"contentHtml",value:function(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}},{key:"contentNojQuery",value:function(){return this.$btn.get(0)}},{key:"disable",value:function(){this.stop(),this.$btn.addClass("i-disabled")}},{key:"enable",value:function(){this.$btn.removeClass("i-disabled")}}]),t}()},841:function(t,e){},842:function(t,e){},843:function(t,e,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function n(t){var e,o;if(t&&t.__esModule)return t;if(e={},null!=t)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e) -;t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l,c,h,u,d,p,f,g,_,v,b,y,m;Object.defineProperty(e,"__esModule",{value:!0}),e.TVPopup=void 0,l=Object.assign||function(t){var e,o,i;for(e=1;e',scrollWrapInner:'
',withScroll:!0},m="js-dialog__scroll-wrap",e.TVPopup=function(t){function e(){var t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,e),t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,l({},y,o))),t.$scrollWrap=t.$content.hasClass(m)?t.$content:t.$content.find("."+m),t.$scrollWrap.length?t.$scrollWrapInner=t.$scrollWrap.children().first():(t.$scrollWrap=t.$content.wrap($(t.options.scrollWrap)).parent(),t.$scrollWrapInner=t.$content.wrap($(t.options.scrollWrapInner)).parent()),t.$actions&&t.$scrollWrap.addClass("i-with-actions"),t.options.withScroll&&(t.scroll=new g.SidebarCustomScroll(t.$scrollWrap,t.$scrollWrapInner),t.scroll.scrolled.subscribe(null,function(){return t.trigger("scroll")})),t.$scrollWrap.css("overflow",""),t.$el.addClass("tv-dialog--popup i-closed i-hidden"),t.options.width&&t.$el.css({width:"calc(100% - 20px)","max-width":t.options.width}),t.$el.on("mousedown touchstart",t.toTop.bind(t)),t.options.closeOnOutsideClick&&(t.on("beforeOpen",function(){setTimeout(function(){t.opened&&$(document).on("click.tv-popup-"+t.id,function(e){var o=$(e.target).closest(".js-dialog");(t.options.closeOnClickAtOtherDialogs||0===o.length)&&t.isEventOut(e)&&t.close()})},0)}),t.on("beforeClose",function(){return $(document).off("click.tv-popup-"+t.id)})),t.on("change:zIndex",function(){t.$el.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$el.remove()};t.opened?(t.close(),setTimeout(e,u.dur/2)):e()}),t}return a(e,t),c(e,[{key:"open",value:function(){var t=this;return this.opened?this:(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.options.$wrap).removeClass("i-hidden").css(function(){var e,o,i,n,s;return t.calcHeight(),e=b.height(),o=b.width(),i=t.$el.height(),n=t.$el.width(),s=t.options.position,s||(s={top:e/2-i/2,left:o/2-n/2}),s.top>e-i&&(s.top=e-i),s.left>o-n&&(s.left=o-n),s}()),this.focus(),this.toTop(),this._doOpenAnimation().then(function(){t.opened&&(t.$el.removeClass("i-closed"),t.options.draggable&&((0,_.lazyJqueryUI)(t.$el).draggable({handle:".js-dialog__drag", -cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing"}),t.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),t.trigger("afterOpen",[t]))}),b.on("resize.tv-popup-"+this.id,function(){t.calcHeight(),t.fixPos()}),this)}},{key:"close",value:function(){var t=this;if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(function(){t.opened||((0,_.lazyJqueryUI)(t.$el).draggable("instance").then(function(t){t&&t.destroy()}),t.$el.addClass("i-hidden").detach(),v.css("cursor","auto"),t.trigger("afterClose",[t]),t.options.destroyOnClose&&t.destroy())}),b.off("resize.tv-popup-"+this.id),this}},{key:"hide",value:function(){this.$el.addClass("i-hidden")}},{key:"show",value:function(){this.$el.removeClass("i-hidden")}},{key:"fixPos",value:function(){var t=this.$el[0].getBoundingClientRect(),e={};t.bottom>p.default.height-10&&(e.top=p.default.height-10-t.height,e.top<10&&(e.top=10)),t.right>p.default.width-10&&(e.left=p.default.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}},{key:"calcHeight",value:function(){var t,e,o=this.$el[0].getBoundingClientRect(),i=this.$scrollWrapInner[0].getBoundingClientRect(),n=this.$scrollWrap[0].getBoundingClientRect(),s=this.options.height&&this.options.heights)&&(s-=o.height-n.height,s<60&&(s=60),this.$scrollWrap.css({height:s})),this.options.withScroll&&this.scroll.resize(),e=s');a.css({float:"none","box-sizing":"border-box",width:"100%"}),e=null,i=Object(c.createDialog)({title:o||window.t("Add Symbol"),width:400,actions:[{name:"apply",text:window.t("Apply"),type:"primary"}],content:a,isClickOutFn:function(n){if(e&&(n.target===e[0]||e[0].contains(n.target)))return!1}}),p=Object(l.symbolSearchUIService)().bindToInput(a,{callback:function(o){n(o),i.close()},onPopupOpen:function(n){n.css("z-index",i.zIndex),e=n},onPopupClose:function(){e=null}}),i.on("action:apply",function(){p.then(function(n){n.acceptTypeIn()})}),t&&i.on("beforeClose",function(){t()}),i.open()}var i,c,l;t.r(o),t.d(o,"showConfirmSymbolInputDialog",function(){return e}),i=t("P5fv"),t("YFKU"),c=t("YDhE"),l=t("pZll")}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/context-menu-renderer.5eff9c34fa03e94b2c1b.js b/charting_library/static/bundles/context-menu-renderer.5eff9c34fa03e94b2c1b.js new file mode 100644 index 00000000..a525b8cc --- /dev/null +++ b/charting_library/static/bundles/context-menu-renderer.5eff9c34fa03e94b2c1b.js @@ -0,0 +1,5 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["context-menu-renderer"],{"G/dZ":function(e,t,n){e.exports={toolbox:"toolbox-1zer1221-"}},Gpmm:function(e,t,n){e.exports={row:"row-1Gn06tA2-",line:"line-c_e_alAN-",hint:"hint-18i4fysm-"}},K5ke:function(e,t,n){e.exports={loader:"loader-3Pj8ExOX-",item:"item-2n55_7om-","tv-button-loader":"tv-button-loader-SKpJjjYw-",black:"black-eFIQWyf4-",white:"white-2Ma0ajvT-",gray:"gray-24fvVR0S-"}},X64X:function(e,t,n){e.exports={loaderWrap:"loaderWrap-18NjkayD-",loader:"loader-Cgjcl0qz-"}},cbq4:function(e,t,n){"use strict";function o(e){return l.createElement("tr",{className:_.row},l.createElement("td",null,l.createElement("div",{className:_.line})),l.createElement("td",null,l.createElement("div",{className:_.line}),e.hint?l.createElement("div",{className:_.hint},e.hint):null))}function s(e){return l.createElement(C,{icon:w,onClick:e.onClick})}function r(e){return l.createElement(E,{label:l.createElement("div",{className:g.loaderWrap},l.createElement(O.a,{className:g.loader,color:"gray"})),noInteractive:!0,onMouseOver:e.onMouseOver})}function i(e){return l.createElement(E,{label:e.label,noInteractive:!0,disabled:!0,onMouseOver:e.onMouseOver})}var a,l,c,u,p,h,m,d,_,f,v,b,S,y,C,w,E,k,x,N,M,g,O,I,T,D,H,P,A,j;n.r(t),a=n("mrSG"),l=n("q1tI"),c=n("i8i4"),u=n("DTHj"),p=n("RgaO"),h=n("ycI/"),m=n("TSYQ"),d=n("zRdu"),_=n("Gpmm"),f=n("ycgn"),v=n("euMy"),b=n("hn2c"),n("bf9a"),S=n("L/Ed"),y=n("G/dZ"),C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleClick=function(e){t.props.onClick(e.nativeEvent)},t}return a.__extends(t,e),t.prototype.render=function(){return l.createElement("span",{className:y.toolbox,dangerouslySetInnerHTML:{__html:this.props.icon},onClick:this._handleClick,"data-toolbox-icon":!0})},t}(l.PureComponent),w=n("PgQx"),E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleMouseOver=function(e){var n,o,s;(n=e.nativeEvent,o=n.sourceCapabilities,void 0===(s=o&&o.firesTouchEvents)&&(s=Modernizr.touch),s)||t.props.onMouseOver&&t.props.onMouseOver()},t._handleClickToolbox=function(e){e.stopPropagation(),t.props.onClickToolbox&&t.props.onClickToolbox()},t}return a.__extends(t,e),t.prototype.render=function(){return l.createElement(l.Fragment,null,l.createElement("tr",{className:m(f.item,!this.props.noInteractive&&f.interactive,this.props.hovered&&f.hovered,this.props.disabled&&f.disabled,this.props.active&&f.active),onClick:this.props.onClick,onMouseOver:this._handleMouseOver,ref:this.props.reference,"data-action-name":this.props.actionName},l.createElement("td",{className:m(f.iconCell),"data-icon-cell":!0},this._icon()),l.createElement("td",null,l.createElement("div",{className:f.content},l.createElement("span",{className:m(f.label,this.props.checked&&f.checked),"data-label":!0},this.props.label),this._toolbox(),this.props.hasSubItems?l.createElement("span",{className:f.arrowIcon,dangerouslySetInnerHTML:{__html:b},"data-submenu-arrow":!0 +}):null,!this.props.hasSubItems&&this.props.shortcutHint?l.createElement("span",{className:f.shortcut},this.props.shortcutHint):null))),l.createElement("tr",{className:f.subMenu},l.createElement("td",null,this.props.children)))},t.prototype._icon=function(){var e,t;return this.props.checkable?this.props.checked?(e=!this.props.icon&&!this.props.iconChecked,t=this.props.iconChecked||this.props.icon||v,l.createElement("span",{className:m(f.icon,e&&f.checkmark),dangerouslySetInnerHTML:{__html:t},"data-icon-checkmark":e})):this.props.icon?l.createElement("span",{className:f.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):l.createElement("span",{className:f.icon}):this.props.icon?l.createElement("span",{className:f.icon,dangerouslySetInnerHTML:{__html:this.props.icon}}):null},t.prototype._toolbox=function(){return this.props.toolbox?l.createElement("span",{className:m(f.toolbox,this.props.showToolboxOnHover&&f.showToolboxOnHover),onClick:this._handleClickToolbox,"data-toolbox":!0},this._renderToolboxContent()):null},t.prototype._renderToolboxContent=function(){if(this.props.toolbox)switch(this.props.toolbox.type){case S.ToolboxType.Delete:return l.createElement(s,{onClick:this.props.toolbox.action})}return null},t}(l.PureComponent),k=n("tWVy"),x=n("tITk"),N=n("Ialn"),M=function(e){function t(t){var n=e.call(this,t)||this;return n._itemRef=null,n._handleClick=function(e){e.isDefaultPrevented()||n.state.disabled||(n._hasSubItems()?n._showSubMenu():(n.state.doNotCloseOnClick||Object(k.b)(),n.props.action.execute(),n._trackEvent()))},n._handleClickToolbox=function(){Object(k.b)()},n._showSubMenu=function(){n.props.onShowSubMenu(n.props.action)},n._calcSubMenuPos=function(e,t){var o,s,r,i,a,l,c;return n._itemRef?(s=(o=n._itemRef.getBoundingClientRect()).left,r=o.right,i=o.top,a=document.documentElement.clientWidth,l={x:s-e,y:i},c={x:r,y:i},N.IS_RTL?s<=e?c:l:a-r>=e?c:l):{x:0,y:10}},n._updateState=function(e){n.setState(e.getState())},n._setItemRef=function(e){n._itemRef=e},n.state=a.__assign({},n.props.action.getState()),n}return a.__extends(t,e),t.prototype.componentDidMount=function(){this.props.action.onUpdate().subscribe(this,this._updateState)},t.prototype.componentWillUnmount=function(){this.props.action.onUpdate().unsubscribe(this,this._updateState)},t.prototype.render=function(){return l.createElement(E,a.__assign({reference:this._setItemRef,onClick:this._handleClick,onClickToolbox:this._handleClickToolbox,onMouseOver:this._showSubMenu,hovered:this.props.isSubMenuOpened,hasSubItems:this._hasSubItems(),actionName:this.state.name},this.state),l.createElement(A,{isOpened:this.props.isSubMenuOpened,items:this.state.subItems,position:this._calcSubMenuPos,menuStatName:this.props.menuStatName,parentStatName:this._getStatName()}))},t.prototype._hasSubItems=function(){return this.state.subItems.length>0},t.prototype._trackEvent=function(){var e=this._getStatName();Object(x.trackEvent)("ContextMenuClick",this.props.menuStatName||"",e)},t.prototype._getStatName=function(){ +return[this.props.parentStatName,this.state.statName].filter(function(e){return Boolean(e)}).join(".")},t}(l.PureComponent),g=n("X64X"),O=n("ntfI"),I=n("4O8T"),T=n.n(I),D=function(e){function t(t){var n=e.call(this,t)||this;return n._loadEmitter=new T.a,n._onDone=function(){n.setState({loaded:!0,failed:!1})},n._onFail=function(e){n.setState({failed:!0,error:e})},n._handleMouseOver=function(){n.props.onShowSubMenu(n.props.action)},n.state={loaded:n.props.action.isLoaded(),failed:!1,error:""},n}return a.__extends(t,e),t.prototype.componentDidMount=function(){this._loadEmitter.on("done",this._onDone),this._loadEmitter.on("fail",this._onFail),this._load()},t.prototype.componentWillUnmount=function(){this._loadEmitter.removeEvent("done"),this._loadEmitter.removeEvent("fail")},t.prototype.render=function(){return this.state.failed?l.createElement(i,{label:this.state.error,onMouseOver:this._handleMouseOver}):this.state.loaded?l.createElement(M,a.__assign({},this.props)):l.createElement(r,{onMouseOver:this._handleMouseOver})},t.prototype._load=function(){var e=this;this.props.action.loadOptions().then(function(){e._loadEmitter.emit("done")}).catch(function(t){e._loadEmitter.emit("fail",t)})},t}(l.PureComponent),H=function(e){function t(t){var n=e.call(this,t)||this;return n._handleShowSubMenu=function(e){var t=e.getState();n.setState({showSubMenuOf:t.subItems.length?e:void 0})},n.state={},n}return a.__extends(t,e),t.prototype.render=function(){var e=this;return l.createElement("table",null,l.createElement("tbody",null,this.props.items.map(function(t){return e._item(t)})))},t.getDerivedStateFromProps=function(e,t){return!e.parentIsOpened&&t.showSubMenuOf?{showSubMenuOf:void 0}:null},t.prototype._item=function(e){switch(e.type){case d.a.Separator:return l.createElement(o,{key:e.id,hint:e.getHint()});case d.a.Action:return l.createElement(M,{key:e.id,action:e,onShowSubMenu:this._handleShowSubMenu,isSubMenuOpened:this.state.showSubMenuOf===e,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName});case d.a.ActionAsync:return l.createElement(D,{key:e.id,action:e,onShowSubMenu:this._handleShowSubMenu,isSubMenuOpened:this.state.showSubMenuOf===e,menuStatName:this.props.menuStatName,parentStatName:this.props.parentStatName});default:return null}},t}(l.PureComponent),P=n("t3rk"),A=function(e){function t(t){var n=e.call(this,t)||this;return n._handleClose=function(){n.props.onClose&&n.props.onClose()},n._handleOutsideClickClose=function(e){var t=n.props,o=t.doNotCloseOn,s=t.onClose;!s||void 0!==o&&o.contains(e.target)||s()},n.state={},n}return a.__extends(t,e),t.prototype.render=function(){var e=this.props,t=e.isOpened,n=(e.onClose,e.items),o=(e.doNotCloseOn,e.menuStatName),s=e.parentStatName,r=a.__rest(e,["isOpened","onClose","items","doNotCloseOn","menuStatName","parentStatName"]);return t?l.createElement(p.a,{handler:this._handleOutsideClickClose,mouseDown:!0,touchStart:!0,ctor:"div"},l.createElement(h.a,{keyCode:27,eventType:"keyup",handler:this._handleClose}),l.createElement(u.a,a.__assign({},r,{ +isOpened:this.props.isOpened,className:m(P.menu,"context-menu"),onClose:this._handleClose,noMomentumBasedScroll:!0}),l.createElement(H,{items:n,menuStatName:o,parentStatName:s,parentIsOpened:t}))):null},t}(l.PureComponent),n.d(t,"ContextMenuRenderer",function(){return j}),j=function(){function e(e,t,n,o){this._root=null,this._isShown=!1,this._props={isOpened:!1,items:e,position:{x:0,y:0},menuStatName:t.statName},this._onDestroy=n,this._onShow=o}return e.prototype.show=function(e,t,n){var o=this;this._onShow&&this._onShow(),this._isShown=!0,this._render(a.__assign({},this._props,{position:function(t,o){return"function"==typeof e&&(e=e(t,o)),e.touches&&e.touches.length>0&&(e={clientX:e.touches[0].clientX,clientY:e.touches[0].clientY}),{x:!n&&N.IS_RTL?e.clientX-t:e.clientX,y:e.clientY,overrideHeight:e.overrideHeight}},isOpened:!0,onClose:function(){o.hide(),o.destroy()},doNotCloseOn:t}))},e.prototype.hide=function(){this._isShown=!1,this._render(a.__assign({},this._props,{isOpened:!1}))},e.prototype.isShown=function(){return this._isShown},e.prototype.destroy=function(){this._isShown=!1,this._root&&(c.unmountComponentAtNode(this._root),document.body.removeChild(this._root),this._root=null),this._onDestroy&&this._onDestroy()},e.prototype._render=function(e){this._root||(this._root=document.createElement("span"),this._root.className="context-menu-wrapper",document.body.appendChild(this._root)),c.render(l.createElement(A,e),this._root)},e}()},euMy:function(e,t){e.exports=''},hn2c:function(e,t){e.exports=''},ntfI:function(e,t,n){"use strict";var o,s,r,i,a,l,c;n.d(t,"a",function(){return c}),o=n("mrSG"),s=n("q1tI"),r=n("TSYQ"),i=n("j1f4"),a=n("K5ke"),function(e){e[e.Initial=0]="Initial",e[e.Appear=1]="Appear",e[e.Active=2]="Active"}(l||(l={})),c=function(e){function t(t){var n=e.call(this,t)||this;return n._stateChangeTimeout=null,n.state={state:l.Initial},n}return o.__extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.className,o=t.color,i=void 0===o?"black":o,l=r(a.item,((e={})[a[i]]=Boolean(i),e));return s.createElement("span",{className:r(a.loader,n,this._getStateClass())},s.createElement("span",{className:l}),s.createElement("span",{className:l}),s.createElement("span",{className:l}))},t.prototype.componentDidMount=function(){var e=this;this.setState({state:l.Appear}),this._stateChangeTimeout=setTimeout(function(){e.setState({state:l.Active})},2*i.dur)},t.prototype.componentWillUnmount=function(){this._stateChangeTimeout&&(clearTimeout(this._stateChangeTimeout),this._stateChangeTimeout=null)},t.prototype._getStateClass=function(){switch(this.state.state){case l.Initial:return"loader-initial";case l.Appear:return"loader-appear";default:return""}},t}(s.PureComponent)}, +t3rk:function(e,t,n){e.exports={menu:"menu-1y0eDKzl-"}},"ycI/":function(e,t,n){"use strict";var o,s,r;n.d(t,"a",function(){return r}),o=n("mrSG"),s=n("q1tI"),r=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleKeyDown=function(e){e.keyCode===t.props.keyCode&&t.props.handler(e)},t}return o.__extends(t,e),t.prototype.componentDidMount=function(){document.addEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)},t.prototype.componentWillUnmount=function(){document.removeEventListener(this.props.eventType||"keydown",this._handleKeyDown,!1)},t.prototype.render=function(){return null},t}(s.PureComponent)},ycgn:function(e,t,n){e.exports={item:"item-stVdeCwG-",interactive:"interactive-3E0jwVyG-",hovered:"hovered-2HCCgw6c-",disabled:"disabled-2K7FyUI3-",active:"active-muW4lycL-",shortcut:"shortcut-2P38AivB-",iconCell:"iconCell-OhwVvlgA-",icon:"icon-3DDcYD-t-",checkmark:"checkmark-2UE1siCn-",content:"content-1GXgstZ5-",label:"label-1If3beUH-",checked:"checked-5eQn8630-",toolbox:"toolbox-2XX2mSNw-",showToolboxOnHover:"showToolboxOnHover-iCrUIcOG-",arrowIcon:"arrowIcon-2FMesq_x-",subMenu:"subMenu-QM4GIDtY-"}}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/create-dialog.472fe015128398f27a86.js b/charting_library/static/bundles/create-dialog.472fe015128398f27a86.js new file mode 100644 index 00000000..7c944469 --- /dev/null +++ b/charting_library/static/bundles/create-dialog.472fe015128398f27a86.js @@ -0,0 +1,6 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([["create-dialog"],{"33OQ":function(t,e,i){"use strict";(function(o){function s(){d.width=window.innerWidth,d.height=p.height()}function n(t){var e=d.device;d.device=t,d.trigger("changeDevice",[t,e])}var r,h,a,l,p,c,d,u,_,g,f,v;for(Object.defineProperty(e,"__esModule",{value:!0}),r=i("4O8T"),h=(f=r)&&f.__esModule?f:{default:f},a=i("BI5g"),l=$("body"),p=$(window),c=0,d={width:null,height:null,device:null,isSafari:!!navigator.userAgent.match(/Version\/[\d\.]+.*Safari/)||!!navigator.userAgent.match("CriOS"),getScrollbarWidth:(v=void 0,function(){var t,e,i,o;return void 0===v&&((t=document.createElement("div")).style.visibility="hidden",t.style.width="100px",t.style.msOverflowStyle="scrollbar",document.body.appendChild(t),e=t.offsetWidth,t.style.overflow="scroll",(i=document.createElement("div")).style.width="100%",t.appendChild(i),o=i.offsetWidth,t.parentNode.removeChild(t),v=e-o),v}),hasScroll:function(t){return t.get(0).scrollHeight>t.height()},breakpoints:a.breakpoints,widgetbarBreakpoint:1064,setFixedBodyState:function(t){var e,i;t&&1==++c?("hidden"!==$(document.body).css("overflow").toLowerCase()&&document.body.scrollHeight>document.body.offsetHeight&&($(".widgetbar-wrap").css("right",d.getScrollbarWidth()),l.css("padding-right",parseInt(l.css("padding-right").replace("px",""))+d.getScrollbarWidth()+"px").data("wasScroll",!0)),l.addClass("i-no-scroll")):!t&&c>0&&0==--c&&(l.removeClass("i-no-scroll"),l.data("wasScroll")&&(e=l.get(0),$(".widgetbar-wrap").css("right",0),i=$(".widgetbar-wrap").width()||0,e.scrollHeight<=e.clientHeight&&(i-=d.getScrollbarWidth()),l.css("padding-right",(i<0?0:i)+"px").data("wasScroll",void 0)))}},u=Object.keys(d.breakpoints).sort(function(t,e){return d.breakpoints[t]-d.breakpoints[e]}),o.extend(d,h.default.prototype),s(),$(s),p.on("resize",s),_=function(t){var e,i,o=u[t],r=0===t?0:d.breakpoints[u[t-1]]+1,h=d.breakpoints[o],a=(e=r,(i=h)===1/0?window.matchMedia("(min-width: "+e+"px)"):window.matchMedia("(min-width: "+e+"px) and (max-width: "+i+"px)"));a.matches&&n(o),a.addListener(function(t){t.matches&&(s(),n(o))})},g=0;g').appendTo(this._$wrapper)),!1!==this._options.showBottomShadow&&(this._$shadowBottom=$('
').appendTo(this._$wrapper)),this._$shadowTop&&this._header_height&&this._$shadowTop.css("top",this._header_height-this._shadow_offset),n=this._options.additionalClass?" "+this._options.additionalClass:"",r=this._options.alwaysVisible?" active-always":"",this._$scrollBarWrapper=$('
').appendTo(this._$wrapper),this._$scrollBar=$('
').appendTo(this._$scrollBarWrapper),this._onScroll()}var s,n=i("5qpw").lazyJqueryUI;i("nzny"),s=i("pLUm"),o.prototype.isTouch=function(){return this._touch},o.prototype.getScrollBar=function(){return this._$scrollBar},o.prototype._defaultOptions={headerHeight:0,additionalClass:"",alwaysVisible:!1,showBottomShadow:!0,scrollMarginTop:1,bubbleScrollEvent:!1},o.prototype.initDraggable=function(){if(this._dragInitialized)return this;var t=this;return n(this._$scrollBar).draggable({axis:"y",containment:this._$scrollBarWrapper,start:function(){t._dragging=!0},stop:function(){t._dragging=!1},drag:function(e,i){t.updateScroll()}}),this._dragInitialized=!0,this},o.prototype.updateScroll=function(){var t,e,i,o,s;return this._touch?this:(t=1,e=Math.ceil(this._$scrollBar.position().top-this._scroll_margin_top-this._header_height),i=this.getContainerHeightWithoutHeader(),s=(o=this._$content.outerHeight())-i-t,i<=0?this:(this._scroll_target_top=s<=0?this._header_height:Math.min(-e*o/i+this._header_height,this._header_height),e+this._$scrollBar.height()+2>=i?this.scrollToEnd():(this._$content.css("top",this._scroll_target_top+"px"),this._onScroll()),this))},o.prototype.getContainerHeightWithoutHeader=function(){return this._$wrapper[0].getBoundingClientRect().height-this._header_height},o.prototype.getContainerHeight=function(){return this._$wrapper[0].getBoundingClientRect().height}, +o.prototype.getContentHeight=function(){return this._$content[0].getBoundingClientRect().height},o.prototype.updateScrollBar=function(){var t,e,i,o,s,n,r,h,a;return this._touch?this:(t=1,e=this._$content.position().top,i=this.getContentHeight(),o=this.getContainerHeight(),s=this.getContainerHeightWithoutHeader(),n=t+this._header_height,r=s-2*t,h=(Math.abs(e)-this._header_height)*r/i,a=o*o/i,this.isContentShort()?(this._$scrollBar.addClass("js-hidden"),this._$wrapper.removeClass("sb-scroll-active")):(this._$scrollBar.removeClass("js-hidden").height(a).css("top",n+h),this._$wrapper.addClass("sb-scroll-active"),this.initDraggable()),this)},o.prototype.scroll=function(t,e){var i=this._$content.position().top,o=this._$content.outerHeight(),s=this.getContainerHeightWithoutHeader(),n=o-s-1,r=e||this._scroll_speed;return n<=0||(this._scroll_target_top=Math.max(-n+this._header_height,Math.min(this._header_height,i+t*r)),this.setContentTop(this._scroll_target_top),this._onScroll())},o.prototype.animateTo=function(t){var e;return this._touch?this:(e=this._$content.outerHeight()-this.getContainerHeightWithoutHeader()-1)<=0||(this._scroll_target_top=Math.max(-e+this._header_height,Math.min(this._header_height,-t)),void this._$content.animate({top:this._scroll_target_top},500,function(){this._onScroll()}.bind(this)))},o.prototype.resize=function(){var t,e;this._bottomFixed||(t=this._$content.outerHeight(),e=this._$wrapper.outerHeight(),!this._options.vAlignBottom&&ts&&t+e.areaHeightn?n-t-e.areaHeight:s-t}else"top"===e.position&&(r=s-t);return this.scroll(r,1),this._onScroll(),!1},o.prototype.scrollToEnd=function(){var t=1,e=this._$content.position().top,i=this._$content.outerHeight(),o=this._$wrapper.outerHeight(),s=i+e,n=i>o?e+(o-s)+t:t;return this.setContentTop(n),this._onScroll(),this},o.prototype.scrollToStart=function(){return this.setContentTop(this._header_height),this._onScroll(),this},o.prototype.currentPosition=function(){return Math.round(this._$content.position().top)},o.prototype.atStart=function(){return Math.round(this._$content.position().top)>=this._header_height},o.prototype.atEnd=function(t){var e,i,o,s;return"number"==typeof t&&isFinite(t)||(t=0),e=1,i=Math.round(this._$content.position().top), +o=this._$content.outerHeight(),s=this._$wrapper.outerHeight(),o-Math.abs(i)-e<=s+t},o.prototype._onScroll=function(t){var e,i;return this._touch||this._$content.css("bottom","auto"),this.scrolled.fire(),this._dragging&&!0!==t||this.updateScrollBar(),e=this.atStart(),i=this.atEnd(),this._$shadowTop&&this._$shadowTop.toggleClass("i-invisible",!!e),this._$shadowBottom&&this._$shadowBottom.toggleClass("i-invisible",!!i),this._onContentVisible(),!this._atStart&&e?(this._atStart=!0,this.scrolltostart.fire()):this._atStart&&!e&&delete this._atStart,!this._atEnd&&i?(this._atEnd=!0,this.scrolltoend.fire()):this._atEnd&&!i&&delete this._atEnd,this._options.vAlignBottom&&(this._stickyBottom=this._$content.outerHeight()-Math.abs(this._$content.position().top)-this._$wrapper.outerHeight()),!(!this._atStart&&!this._atEnd||("function"==typeof this._options.bubbleScrollEvent?!this._options.bubbleScrollEvent():!this._options.bubbleScrollEvent))},o.prototype.checkContentVisibility=function(){this._onContentVisible()},o.prototype.subscribeToContentVisible=function(t,e,i){this.visibilityCallbacks.push({id:t,$el:e,callback:i})},o.prototype.triggerVisibilityCallbacks=function(t){this._onContentVisible(t)},o.prototype._contentIsVisible=function(t){return t.$el.position().top>-1*this.currentPosition()},o.prototype._onContentVisible=function(t){var e,i,o;this.visibilityCallbacks.length&&(e=t||this._contentIsVisible.bind(this),i=[],o=this.visibilityCallbacks.filter(function(t,o){if(!$.contains(this._$content,t.$el[0]))return!1;var s=e(t);return s&&i.push(o),!s},this),i.forEach(function(e){this.visibilityCallbacks[e].callback(!!t)},this),delete this.visibilityCallbacks,this.visibilityCallbacks=o)},o.prototype.save=function(){return this._saved={top:this._$content.position().top,height:this._$content.outerHeight()},this},o.prototype.restore=function(){if(this._saved){if(this._saved.top===this._$content.position().top&&this._saved.height===this._$content.outerHeight())return delete this._saved,this;this._options.vAlignBottom&&(this._saved.top-=this._$content.outerHeight()-this._saved.height,this._saved.top>this._header_height&&(this._saved.top=this._header_height)),this.setContentTop(this._saved.top),delete this._saved,this._onScroll(!0)}return this},o.prototype.fixBottom=function(){var t,e;return this._bottomFixed?this:(this._touch?(t=this._$content.outerHeight(),e=this._$wrapper.scrollTop(),this._tempIntervalID=setInterval(function(){this._$wrapper.scrollTop(e+(this._$content.outerHeight()-t))}.bind(this),0)):this._$content.css({top:"auto",bottom:this._$wrapper.outerHeight()-this._$content.position().top-this._$content.outerHeight()}),this._bottomFixed=!0,this)},o.prototype.releaseBottom=function(){return this._bottomFixed?(this._touch?clearInterval(this._tempIntervalID):this._$content.css({top:this._$content.position().top,bottom:"auto"}),delete this._bottomFixed,this._onScroll(),this):this},o.prototype.setContentTop=function(t){ +return this._touch?this._options.vAlignBottom&&this._$content.outerHeight()'}}]); \ No newline at end of file diff --git a/charting_library/static/bundles/create-dialog.b388c187425e521c5a70.js b/charting_library/static/bundles/create-dialog.b388c187425e521c5a70.js deleted file mode 100644 index 3287a61c..00000000 --- a/charting_library/static/bundles/create-dialog.b388c187425e521c5a70.js +++ /dev/null @@ -1,13 +0,0 @@ -webpackJsonp([2],{188:function(t,e,o){"use strict";function i(t){var e=t.type||"popup";return delete t.type,"modal"===e?new n.TVModal(t):new s.TVPopup(t)}var n,s;Object.defineProperty(e,"__esModule",{value:!0}),n=o(837),s=o(843),e.createDialog=i},690:function(t,e,o){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),i=o(839),o.n(i),o.o(i,"TVDialogAbstract")&&o.d(e,"TVDialogAbstract",function(){return i.TVDialogAbstract}),o.o(i,"closeAllDialogs")&&o.d(e,"closeAllDialogs",function(){return i.closeAllDialogs})},827:function(t,e,o){"use strict";function i(t){return t in $.fn?Promise.resolve():(r||(r=new Promise(function(t){o.e(31).then(function(e){o(831),t()}.bind(null,o)).catch(o.oe)})),r)}function n(t){return new a(t)}var s,r,a;Object.defineProperty(e,"__esModule",{value:!0}),o.d(e,"LazyJqueryUI",function(){return a}),e.lazyJqueryUI=n,s=o(14),o.n(s),a=function(){function t(t){this._$elem=t}return t.prototype.draggable=function(){var t=arguments,e=this._$elem;return i("draggable").then(function(){return e.draggable.apply(e,t)})},t.prototype.resizable=function(){var t=arguments,e=this._$elem;return i("resizable").then(function(){return e.resizable.apply(e,t)})},t.prototype.sortable=function(){var t=arguments,e=this._$elem;return i("sortable").then(function(){return e.sortable.apply(e,t)})},t.prototype.datepicker=function(){var t=arguments,e=this._$elem;return i("datepicker").then(function(){return e.datepicker.apply(e,t)})},t}()},828:function(t,e){t.exports=''},832:function(t,e,o){"use strict";(function(i){function n(t){return t&&t.__esModule?t:{default:t}}function s(){var t,e,o=h.width();for(u.width=o,u.height=h.height(),t=0;tt.height()},breakpoints:l.breakpoints,widgetbarBreakpoint:1064,setFixedBodyState:function(t){var e,o -;t&&1==++d?("hidden"!==$(document.body).css("overflow").toLowerCase()&&document.body.scrollHeight>document.body.offsetHeight&&($(".widgetbar-wrap").css("right",u.getScrollbarWidth()),c.css("padding-right",parseInt(c.css("padding-right").replace("px",""))+u.getScrollbarWidth()+"px").data("wasScroll",!0)),c.addClass("i-no-scroll")):!t&&d>0&&0==--d&&(c.removeClass("i-no-scroll"),c.data("wasScroll")&&(e=c.get(0),$(".widgetbar-wrap").css("right",0),o=$(".widgetbar-wrap").width()||0,e.scrollHeight<=e.clientHeight&&(o-=u.getScrollbarWidth()),c.css("padding-right",(o<0?0:o)+"px").data("wasScroll",void 0)))}},p=Object.keys(u.breakpoints).sort(function(t,e){return u.breakpoints[t]-u.breakpoints[e]}),i.extend(u,a.default.prototype),s(),$(s),h.on("resize",s),e.default=u,t.exports=e.default}).call(e,o(187))},833:function(t,e,o){"use strict";(function(t){function i(e,o,i){var n,s,r,a,l,c,h=this;if(this._options=$.extend({},this._defaultOptions,i||{}),this._$wrapper=e,this._$content=o,this._scroll_speed=40,this._shadow_offset=10,this._header_height=this._options.headerHeight,this._scroll_margin_top=this._options.scrollMarginTop,this.scrolled=new t,this.scrolltoend=new t,this.scrolltostart=new t,this.visibilityCallbacks=[],n=navigator.platform.toLowerCase(),s=navigator.userAgent.toLowerCase(),r=s.indexOf("firefox")>-1,a=n.indexOf("android")>-1||s.indexOf("android")>-1,this._touch=Modernizr.touch||navigator.msMaxTouchPoints||r&&a,this._touch)return this._$content.css("position","relative"),void this._$wrapper.css({"overflow-y":"auto","-webkit-overflow-scrolling":"touch","-ms-overflow-style":"-ms-autohiding-scrollbar"}).scroll(this._onScroll.bind(this));this._$wrapper.css("overflow","hidden"),this._$wrapper.on("mouseenter.sidebar-scroll",function(){h._bottomFixed||h._dragging||(h._options.alwaysVisible||h._$scrollBar.addClass("active"),h._onScroll())}).on("mouseleave.sidebar-scroll",function(){h._bottomFixed||h._dragging||(h._options.alwaysVisible||h._$scrollBar.removeClass("active"),h._onScroll())}).on("mousewheel.sidebar-scroll",function(t,e){if(!t.isDefaultPrevented())return h.scroll(e,"MozMousePixelScroll"===t.originalEvent.type?2:null)}),!1!==this._options.showTopShadow&&(this._$shadowTop=$('
').appendTo(this._$wrapper)),!1!==this._options.showBottomShadow&&(this._$shadowBottom=$('
').appendTo(this._$wrapper)),this._$shadowTop&&this._header_height&&this._$shadowTop.css("top",this._header_height-this._shadow_offset),l=this._options.additionalClass?" "+this._options.additionalClass:"",c=this._options.alwaysVisible?" active-always":"",this._$scrollBarWrapper=$('
').appendTo(this._$wrapper),this._$scrollBar=$('
').appendTo(this._$scrollBarWrapper),this._onScroll()}var n=o(827).lazyJqueryUI;i.prototype.isTouch=function(){return this._touch},i.prototype.getScrollBar=function(){return this._$scrollBar},i.prototype._defaultOptions={headerHeight:0,additionalClass:"",alwaysVisible:!1, -showBottomShadow:!0,scrollMarginTop:1,bubbleScrollEvent:!1},i.prototype.initDraggable=function(){if(this._dragInitialized)return this;var t=this;return n(this._$scrollBar).draggable({axis:"y",containment:this._$scrollBarWrapper,start:function(){t._dragging=!0},stop:function(){t._dragging=!1},drag:function(e,o){t.updateScroll()}}),this._dragInitialized=!0,this},i.prototype.updateScroll=function(){var t,e,o,i,n;return this._touch?this:(t=1,e=Math.ceil(this._$scrollBar.position().top-this._scroll_margin_top-this._header_height),o=this.getContainerHeightWithoutHeader(),i=this._$content.outerHeight(),n=i-o-t,o<=0?this:(this._scroll_target_top=n<=0?this._header_height:Math.min(-e*i/o+this._header_height,this._header_height),e+this._$scrollBar.height()+2>=o?this.scrollToEnd():(this._$content.css("top",this._scroll_target_top+"px"),this._onScroll()),this))},i.prototype.getContainerHeightWithoutHeader=function(){return this._$wrapper[0].getBoundingClientRect().height-this._header_height},i.prototype.getContainerHeight=function(){return this._$wrapper[0].getBoundingClientRect().height},i.prototype.getContentHeight=function(){return this._$content[0].getBoundingClientRect().height},i.prototype.updateScrollBar=function(){var t,e,o,i,n,s,r,a,l;return this._touch?this:(t=1,e=this._$content.position().top,o=this.getContentHeight(),i=this.getContainerHeight(),n=this.getContainerHeightWithoutHeader(),s=t+this._header_height,r=n-2*t,a=(Math.abs(e)-this._header_height)*r/o,l=i*i/o,this.isContentShort()?(this._$scrollBar.addClass("js-hidden"),this._$wrapper.removeClass("sb-scroll-active")):(this._$scrollBar.removeClass("js-hidden").height(l).css("top",s+a),this._$wrapper.addClass("sb-scroll-active"),this.initDraggable()),this)},i.prototype.scroll=function(t,e){var o,i,n,s,r;return this._touch?this:(o=this._$content.position().top,i=this._$content.outerHeight(),n=this.getContainerHeightWithoutHeader(),s=i-n-1,r=e||this._scroll_speed,s<=0||(this._scroll_target_top=Math.max(-s+this._header_height,Math.min(this._header_height,o+t*r)),this.setContentTop(this._scroll_target_top),this._onScroll()))},i.prototype.animateTo=function(t){var e,o,i;return this._touch?this:(e=this._$content.outerHeight(),o=this.getContainerHeightWithoutHeader(),(i=e-o-1)<=0||(this._scroll_target_top=Math.max(-i+this._header_height,Math.min(this._header_height,-t)),void this._$content.animate({top:this._scroll_target_top},500,function(){this._onScroll()}.bind(this))))},i.prototype.resize=function(){var t,e;if(!this._bottomFixed){if(t=this._$content.outerHeight(),e=this._$wrapper.outerHeight(),!this._options.vAlignBottom&&ts&&t+e.areaHeightr?r-t-e.areaHeight:s-t}else"top"===e.position&&(a=s-t);return this.scroll(a,1),this._onScroll(),!1},i.prototype.scrollToEnd=function(){var t=this._$content.position().top,e=this._$content.outerHeight(),o=this._$wrapper.outerHeight(),i=e+t;return this.setContentTop(t+(o-i)+1),this._onScroll(),this},i.prototype.scrollToStart=function(){return this.setContentTop(this._header_height),this._onScroll(),this},i.prototype.currentPosition=function(){return Math.round(this._$content.position().top)},i.prototype.atStart=function(){return Math.round(this._$content.position().top)>=this._header_height},i.prototype.atEnd=function(t){var e,o,i,n;return"number"==typeof t&&isFinite(t)||(t=0),e=1,o=Math.round(this._$content.position().top),i=this._$content.outerHeight(),n=this._$wrapper.outerHeight(),i-Math.abs(o)-e<=n+t},i.prototype._onScroll=function(t){var e,o;return this._touch||this._$content.css("bottom","auto"),this.scrolled.fire(),this._dragging&&!0!==t||this.updateScrollBar(),e=this.atStart(),o=this.atEnd(),this._$shadowTop&&this._$shadowTop.toggleClass("i-invisible",!!e),this._$shadowBottom&&this._$shadowBottom.toggleClass("i-invisible",!!o),this._onContentVisible(),!this._atStart&&e?(this._atStart=!0,this.scrolltostart.fire()):this._atStart&&!e&&delete this._atStart,!this._atEnd&&o?(this._atEnd=!0,this.scrolltoend.fire()):this._atEnd&&!o&&delete this._atEnd,this._options.vAlignBottom&&(this._stickyBottom=this._$content.outerHeight()-Math.abs(this._$content.position().top)-this._$wrapper.outerHeight()),!(!this._atStart&&!this._atEnd||("function"==typeof this._options.bubbleScrollEvent?!this._options.bubbleScrollEvent():!this._options.bubbleScrollEvent))},i.prototype.checkContentVisibility=function(){this._onContentVisible()},i.prototype.subscribeToContentVisible=function(t,e,o){this.visibilityCallbacks.push({id:t,$el:e,callback:o})},i.prototype.triggerVisibilityCallbacks=function(t){this._onContentVisible(t)},i.prototype._contentIsVisible=function(t){return t.$el.position().top>-1*this.currentPosition()},i.prototype._onContentVisible=function(t){var e,o,i;this.visibilityCallbacks.length&&(e=t||this._contentIsVisible.bind(this),o=[],i=this.visibilityCallbacks.filter(function(t,i){if(!$.contains(this._$content,t.$el[0]))return!1;var n=e(t);return n&&o.push(i),!n},this),o.forEach(function(e){this.visibilityCallbacks[e].callback(!!t)},this),delete this.visibilityCallbacks,this.visibilityCallbacks=i)},i.prototype.save=function(){return this._saved={top:this._$content.position().top,height:this._$content.outerHeight()},this},i.prototype.restore=function(){if(this._saved){ -if(this._saved.top===this._$content.position().top&&this._saved.height===this._$content.outerHeight())return delete this._saved,this;this._options.vAlignBottom&&(this._saved.top-=this._$content.outerHeight()-this._saved.height,this._saved.top>this._header_height&&(this._saved.top=this._header_height)),this.setContentTop(this._saved.top),delete this._saved,this._onScroll(!0)}return this},i.prototype.fixBottom=function(){var t,e;return this._bottomFixed?this:(this._touch?(t=this._$content.outerHeight(),e=this._$wrapper.scrollTop(),this._tempIntervalID=setInterval(function(){this._$wrapper.scrollTop(e+(this._$content.outerHeight()-t))}.bind(this),0)):this._$content.css({top:"auto",bottom:this._$wrapper.outerHeight()-this._$content.position().top-this._$content.outerHeight()}),this._bottomFixed=!0,this)},i.prototype.releaseBottom=function(){return this._bottomFixed?(this._touch?clearInterval(this._tempIntervalID):this._$content.css({top:this._$content.position().top,bottom:"auto"}),delete this._bottomFixed,this._onScroll(),this):this},i.prototype.setContentTop=function(t){return this._touch?this._options.vAlignBottom&&this._$content.outerHeight()
',containerTemplate:'
',ajaxErrorTemplate:'
'+$.t("Error")+"
"},e.TVModal=function(e){function o(){var t,e,i,n,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,o),t=r(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,c({},C,a))),t.$overlay=$(t.options.overlayTemplate),t.$modalWrap=$(t.options.containerTemplate),t.$body=t.$modalWrap.find(".tv-dialog__modal-body").append(t.$el),t.options.closeOnOutsideClick&&t.$overlay.add(t.$modalWrap).click(function(e){t.isEventOut(e)&&t.close()}),t.on("change:zIndex",function(){t.$overlay.css("z-index",t.zIndex),t.$modalWrap.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$overlay.remove(),t.$modalWrap.remove()};t.opened?(t.close(),setTimeout(e,t.options.closingDuration)):e()}),t.on("beforeOpen",function(){w.push(t)}),t.options.ajax.url&&(e=t.options.ajax.beforeSend||$.noop,i=t.options.ajax.success||!1,n=t.options.ajax.error||$.noop,$.extend(t.options.ajax,{beforeSend:function(){t.trigger("beforeLoading",[t]),t.startSpinner(),e(t)},success:function(e){t.trigger("afterLoading",[t]),t.renderContent(i?i(t,e):e).showContent(),t.trigger("afterLoadingShow",[t])},error:function(){t.renderContent(t.options.ajaxErrorTemplate),n(t),t.trigger("errorLoading",[t])}})),t.on("error",function(e,o){t.$modalWrap[0].getBoundingClientRect().height0&&w[w.length-1].focus(),e.options.destroyOnClose&&e.destroy()},this.options.closingDuration),this}},{key:"showContent",value:function(){var t=this;return this.$modalWrap.removeClass("i-hidden"),setTimeout(function(){t.$modalWrap.removeClass("i-closed")},20),setTimeout(function(){t.trigger("afterOpen",[t]),t.spinner&&t.stopSpinner()},.75*u.dur+20),this}},{key:"hideContent",value:function(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}},{key:"startSpinner",value:function(){return this.spinner=new _.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}},{key:"stopSpinner",value:function(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}]),o}(g.TVDialogAbstract)}).call(e,o(187))},838:function(t,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),o.d(e,"breakpoints",function(){return i});var i={desktop:1/0,desktopHd:1919,phone:767,"phone-vertical":479,tablet:1019}},839:function(t,e,o){"use strict";(function(t,i){function n(t){return t&&t.__esModule?t:{default:t}}function s(t){var e,o;if(t&&t.__esModule)return t;if(e={},null!=t)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function l(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function c(){y.forEach(function(t){return t.close()})}var h,d,u,p,f,g,_,v,b,y,m,w,C,k,T,x,O;Object.defineProperty(e,"__esModule",{value:!0}),e.TVDialogAbstract=void 0,h=Object.assign||function(t){var e,o,i;for(e=1;e',errorTemplate:'
{{{ error }}}
', -titleTemplate:'
{{{ title }}}
',contentWrapTemplate:'
',actionsWrapTemplate:'
',closeButtonTemplate:'
'+o(828)+"
",helpButtonTemplate:'',helpActionsMod:"tv-dialog__section--actions_with-help"},T={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"},x={_default:'
{{ text }}
',"submit-success":''},$(function(){k.$wrap=$(document.all&&!document.querySelector?"html":"body")}),O=function(e){function o(){var e,i,n,s,l,c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(r(this,o),e=a(this,(o.__proto__||Object.getPrototypeOf(o)).call(this)),e._id=b++,e.loadingActions=[],e.disabledActions=[],e.firstFocusControl=null,e.options=h({},k,c),e.$el=$(t.render(e.options.template,{title:e.options.title,closeButton:e.options.closeButton})),e.$el.addClass("js-dialog"),e.el=e.$el[0],e.options.addClass&&e.$el.addClass(e.options.addClass),e.options.width&&e.$el.css({width:"100%","max-width":e.options.width}),e.options.title&&(e.$title=$(t.render(e.options.titleTemplate,{title:e.options.title})).appendTo(e.$el)),e.$content=$(e.options.contentWrapTemplate).appendTo(e.$el),e.$contentIn=e.$content;e.$contentIn.length;)e.$contentIn=e.$contentIn.children();if(e.$contentIn=e.$contentIn.end(),e.options.content&&e.renderContent(e.options.content),(e.options.actions||e.options.help)&&(e.$content.hasClass("tv-dialog__section")&&e.$content.addClass("tv-dialog__section--no-padding_bottom"),e.$actions=$(e.options.actionsWrapTemplate).appendTo(e.$el)),e.options.actions)for(e.actions={},e.$el.on("click touchend",".js-dialog__action-click",function(t){t.preventDefault(),e.actionDispatcher($(t.currentTarget).data("name"))}),i=function(o){var i,n,s,r,a,l,c=e.options.actions[o];c.type||(c.type="default"),c.class||(c.class=T[c.type]?T[c.type]:T.default),"checkbox"===c.type?(i=new g.default({labelRight:c.text,name:c.name,checked:c.checked}),e.actions[c.name]=i.$el.appendTo(e.$actions),e.actions[c.name].on("change",function(){setTimeout(function(){ -return e.actionDispatcher(c.name,i.checked)})})):e.actions[c.name]=$(t.render(c.template?c.template:x[c.type]||x._default,c,c)).appendTo(e.$actions),c.method&&"function"==typeof e[c.method]&&e.on("action:"+c.name,e[c.method].bind(e)),c.addClass&&e.actions[c.name].addClass(c.addClass),c.key&&(n=void 0,"string"==typeof c.key&&c.key.split("+").length>1?(s=[],r=c.key.split("+"),n=function(t){s=[]},a=function(t){var o=""+t.keyCode;-1!==r.indexOf(o)&&s.indexOf(o)&&s.push(o),e._focused&&s.length===r.length&&(s=[],e.actionDispatcher(c.name))},e.on("afterOpen",function(){C.on("keydown",a),C.on("keyup",n)}),e.on("beforeClose",function(){C.off("keydown",a),C.off("keyup",n)})):(l=$.isArray(c.key)?c.key:[c.key],n=function(t){!t.isDefaultPrevented()&&e._focused&&-1!==l.indexOf(t.keyCode)&&e.actionDispatcher(c.name)},e.on("afterOpen",function(){return C.on("keyup",n)}),e.on("beforeClose",function(){return C.off("keyup",n)})))},n=e.options.actions.length-1;n>=0;n--)i(n);return e.options.help&&$(t.render(e.options.helpButtonTemplate,e.options.help)).prependTo(e.$actions.addClass(e.options.helpActionsMod)),e.options.closeButton&&(s=$(e.options.closeButtonTemplate),s.addClass(e.options.closeButtonAddClass||""),l=e.$el,1===e.$el.find(".js-close-button-place").length&&(l=e.$el.find(".js-close-button-place")),s.appendTo(l)),e.setZIndex(w+y.length),c.errorMod&&(e.errorMod=c.errorMod),e.on("afterOpen",function(){e.options.focusFirstControl&&!Modernizr.touch&&(e.firstFocusControl||e.$el.find('input:not([type="hidden"]), textarea').first()).focus()}),e.$el.on("click touchend",".js-dialog__close",e.close.bind(e)),e.$el.on("mousedown touchstart",e.focus.bind(e)),y.push(e),e}return l(o,e),d(o,[{key:"renderContent",value:function(t){return this.$contentIn.html("function"==typeof t?t(this):t),this}},{key:"setDestroyOnClose",value:function(t){this.options.destroyOnClose=t}},{key:"setZIndex",value:function(t){return this.zIndex=t,this.trigger("change:zIndex",[this]),this}},{key:"toTop",value:function(){for(var t=y.length-1;t>=0;t--)y[t].zIndex>this.zIndex&&y[t].setZIndex(y[t].zIndex-1);return this.setZIndex(w+y.length),this}},{key:"isEventOut",value:function(t){var e,o,i;return this.options.isClickOutFn&&void 0!==(e=this.options.isClickOutFn(t))?e:(o=!0,i=$(t.target),i.get(0)!==this.$el.get(0)&&($(">*",this.$el).each(function(){i.get(0)===$(this).get(0)&&(o=!1),0===i.closest("HTML",$(this).get(0)).length&&(o=!1)}),o))}},{key:"focus",value:function(){var t=this;m&&m!==this&&m.unfocus(),this._setFocused(),this._focused=!0,this.$el.addClass(this.options.focusClass),this.trigger("focus",[this]),setTimeout(function(){C.on("mousedown.tv-dialog-unfocus-"+t._id,function(e){t.isEventOut(e)&&(t.unfocus(),C.off("mousedown.tv-dialog-unfocus-"+t._id))})},20)}},{key:"_setFocused",value:function(){m!==this&&(m=this)}},{key:"_setUnfocused",value:function(){m===this&&(m=void 0)}},{key:"unfocus",value:function(){m===this&&(this._setUnfocused(),this._focused=!1,this.$el.removeClass(this.options.focusClass).find(":focus").blur(),this.trigger("unfocus",[this]))}},{ -key:"isFocused",value:function(){return this._focused}},{key:"setTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.$title.toggleClass("tv-dialog__section--one-line apply-overflow-tooltip",e),this.$title.html(t),this}},{key:"setTitleText",value:function(t){this.$title.find(".js-title-text").text(t)}},{key:"actionDispatcher",value:function(t){if(!this.disabledActions.includes(t)&&!this.loadingActions.includes(t)){for(var e=arguments.length,o=Array(e>1?e-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:"init";return this.actions[t].tvButtonLoader(o),"init"===o&&(this.actions[t].off("tv-button-loader:start.dialog-action").on("tv-button-loader:start.dialog-action",function(){e.loadingActions.push(t)}),this.actions[t].off("tv-button-loader:stop.dialog-action").on("tv-button-loader:stop.dialog-action",function(){e.loadingActions=i.without(e.loadingActions,t)})),this}},{key:"error",value:function(e){var o=$(t.render(this.options.errorTemplate,{error:e,errorMod:this.errorMod})).appendTo(this.$el),i=function(){o.addClass("i-slided"),setTimeout(function(){return o.remove()},.75*p.dur)};return setTimeout(function(){return o.removeClass("i-slided")},20),C.one("touchstart mousedown keydown",i),this.trigger("error",[this,o]),this}},{key:"destroy",value:function(){y=i.without(y,this);for(var t=0;t'+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}return s(t,[{key:"_start",value:function(){var t=this;this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(function(){t.loading=!0,t.starting=!1,t._startPromise=!1,t.$btn.addClass("i-loading"),t.$btn.removeClass("i-start-load"),t._stopPromise&&t._stop()},2*l.dur)}},{key:"start",value:function(){this.starting||(this.stopping?this._startPromise=!0:this._start())}},{key:"_stop",value:function(){var t=this;this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(function(){t.loading=!1,t.stopping=!1,t._stopPromise=!1,t.$btn.removeClass("i-loading i-start-load i-stop-load"),t._startPromise&&t._start()},l.dur)}},{key:"stop",value:function(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}},{key:"toggle",value:function(){this.loading?this.stop():this.start()}},{key:"contentHtml",value:function(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}},{key:"contentNojQuery",value:function(){return this.$btn.get(0)}},{key:"disable",value:function(){this.stop(),this.$btn.addClass("i-disabled")}},{key:"enable",value:function(){this.$btn.removeClass("i-disabled")}}]),t}()},841:function(t,e){},842:function(t,e){},843:function(t,e,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function n(t){var e,o;if(t&&t.__esModule)return t;if(e={},null!=t)for(o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e.default=t,e}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function a(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var l,c,h,d,u,p,f,g,_,v,b,y,m;Object.defineProperty(e,"__esModule",{value:!0}),e.TVPopup=void 0,l=Object.assign||function(t){var e,o,i;for(e=1;e',scrollWrapInner:'
',withScroll:!0},m="js-dialog__scroll-wrap",e.TVPopup=function(t){function e(){var t,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return s(this,e),t=r(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,l({},y,o))),t.$scrollWrap=t.$content.hasClass(m)?t.$content:t.$content.find("."+m),t.$scrollWrap.length?t.$scrollWrapInner=t.$scrollWrap.children().first():(t.$scrollWrap=t.$content.wrap($(t.options.scrollWrap)).parent(),t.$scrollWrapInner=t.$content.wrap($(t.options.scrollWrapInner)).parent()),t.$actions&&t.$scrollWrap.addClass("i-with-actions"),t.options.withScroll&&(t.scroll=new g.SidebarCustomScroll(t.$scrollWrap,t.$scrollWrapInner),t.scroll.scrolled.subscribe(null,function(){return t.trigger("scroll")})),t.$scrollWrap.css("overflow",""),t.$el.addClass("tv-dialog--popup i-closed i-hidden"),t.options.width&&t.$el.css({width:"calc(100% - 20px)","max-width":t.options.width}),t.$el.on("mousedown touchstart",t.toTop.bind(t)),t.options.closeOnOutsideClick&&(t.on("beforeOpen",function(){setTimeout(function(){t.opened&&$(document).on("click.tv-popup-"+t.id,function(e){var o=$(e.target).closest(".js-dialog");(t.options.closeOnClickAtOtherDialogs||0===o.length)&&t.isEventOut(e)&&t.close()})},0)}),t.on("beforeClose",function(){return $(document).off("click.tv-popup-"+t.id)})),t.on("change:zIndex",function(){t.$el.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$el.remove()};t.opened?(t.close(),setTimeout(e,d.dur/2)):e()}),t}return a(e,t),c(e,[{key:"open",value:function(){var t=this;return this.opened?this:(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.options.$wrap).removeClass("i-hidden").css(function(){var e,o,i,n,s;return t.calcHeight(),e=b.height(),o=b.width(),i=t.$el.height(),n=t.$el.width(),s=t.options.position,s||(s={top:e/2-i/2,left:o/2-n/2}),s.top>e-i&&(s.top=e-i),s.left>o-n&&(s.left=o-n),s}()),this.focus(),this.toTop(),this._doOpenAnimation().then(function(){t.opened&&(t.$el.removeClass("i-closed"),t.options.draggable&&((0,_.lazyJqueryUI)(t.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing"}),t.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),t.trigger("afterOpen",[t]))}),b.on("resize.tv-popup-"+this.id,function(){t.calcHeight(),t.fixPos()}),this)}},{key:"close",value:function(){var t=this;if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(function(){t.opened||((0,_.lazyJqueryUI)(t.$el).draggable("instance").then(function(t){t&&t.destroy()}),t.$el.addClass("i-hidden").detach(),v.css("cursor","auto"),t.trigger("afterClose",[t]),t.options.destroyOnClose&&t.destroy())}),b.off("resize.tv-popup-"+this.id),this}},{key:"hide",value:function(){this.$el.addClass("i-hidden")}},{key:"show",value:function(){this.$el.removeClass("i-hidden")} -},{key:"fixPos",value:function(){var t=this.$el[0].getBoundingClientRect(),e={};t.bottom>p.default.height-10&&(e.top=p.default.height-10-t.height,e.top<10&&(e.top=10)),t.right>p.default.width-10&&(e.left=p.default.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}},{key:"calcHeight",value:function(){var t,e,o=this.$el[0].getBoundingClientRect(),i=this.$scrollWrapInner[0].getBoundingClientRect(),n=this.$scrollWrap[0].getBoundingClientRect(),s=this.options.height&&this.options.heights)&&(s-=o.height-n.height,s<60&&(s=60),this.$scrollWrap.css({height:s})),this.options.withScroll&&this.scroll.resize(),e=s
',containerTemplate:'
',ajaxErrorTemplate:'
'+window.t("Error")+"
"},e.TVModal=function(e){function o(){var t,e,n,s,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this,i({},b,r)))).$overlay=$(t.options.overlayTemplate),t.$modalWrap=$(t.options.containerTemplate),t.$body=t.$modalWrap.find(".tv-dialog__modal-body").append(t.$el),t.options.closeOnOutsideClick&&t.$overlay.add(t.$modalWrap).click(function(e){t.isEventOut(e)&&t.close()}),t.on("change:zIndex",function(){t.$overlay.css("z-index",t.zIndex),t.$modalWrap.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$overlay.remove(),t.$modalWrap.remove()};t.opened?(t.close(),setTimeout(e,t.options.closingDuration)):e()}),t.on("beforeOpen",function(){v.push(t)}),t.options.ajax.url&&(e=t.options.ajax.beforeSend||$.noop,n=t.options.ajax.success||!1,s=t.options.ajax.error||$.noop,$.extend(t.options.ajax,{beforeSend:function(){t.trigger("beforeLoading",[t]),t.startSpinner(),e(t)},success:function(e){t.trigger("afterLoading",[t]),t.renderContent(n?n(t,e):e).showContent(),t.trigger("afterLoadingShow",[t])},error:function(){t.renderContent(t.options.ajaxErrorTemplate),s(t),t.trigger("errorLoading",[t])}})),t.on("error",function(e,o){t.$modalWrap[0].getBoundingClientRect().height0&&v[v.length-1].focus(),e.options.destroyOnClose&&e.destroy()},this.options.closingDuration),this}},{key:"showContent",value:function(){var t=this;return this.$modalWrap.removeClass("i-hidden"),setTimeout(function(){t.$modalWrap.removeClass("i-closed")},20),setTimeout(function(){t.trigger("afterOpen",[t]),t.spinner&&t.stopSpinner()},.75*a.dur+20),this}},{key:"hideContent",value:function(){if(this.$el)return this.$modalWrap.addClass("i-closed"),this.unfocus(),this}},{key:"startSpinner",value:function(){return this.spinner=new d.Spinner("large"),this.spinner.spin(this.$overlay[0]),this}},{key:"stopSpinner",value:function(){if(this.spinner)return this.spinner.stop(),delete this.spinner,this}}]),o}()}).call(this,o("F/us"))},KHon:function(t,e,o){"use strict";var n;o.r(e),n=o("v2PZ"),o.d(e,"TVDialogAbstract",function(){return n.TVDialogAbstract}),o.d(e,"closeAllDialogs",function(){return n.closeAllDialogs})},nZrM:function(t,e,o){},nbyR:function(t,e,o){"use strict";var n,i,s,r,a,l,c,u,d,p,h,f,g,v;Object.defineProperty(e,"__esModule",{value:!0}),e.TVPopup=void 0,n=Object.assign||function(t){var e,o,n;for(e=1;e',scrollWrapInner:'
',withScroll:!0},g="js-dialog__scroll-wrap",e.TVPopup=function(t){function e(){var t,o,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,n({},f,i)))).$scrollWrap=t.$content.hasClass(g)?t.$content:t.$content.find("."+g),t.$scrollWrap.length?t.$scrollWrapInner=t.$scrollWrap.children().first():(t.$scrollWrap=t.$content.wrap($(t.options.scrollWrap)).parent(),t.$scrollWrapInner=t.$content.wrap($(t.options.scrollWrapInner)).parent()),t.$actions&&t.$scrollWrap.addClass("i-with-actions"),t.options.withScroll&&(t.scroll=new u.SidebarCustomScroll(t.$scrollWrap,t.$scrollWrapInner),t.scroll.scrolled.subscribe(null,function(){return t.trigger("scroll")})),t.$scrollWrap.css("overflow",""),o=t.getDialogId(),t.$el.addClass("tv-dialog--popup i-closed i-hidden"),t.options.width&&t.$el.css({width:"calc(100% - 20px)","max-width":t.options.width}),t.$el.on("mousedown touchstart",t.toTop.bind(t)),t.options.closeOnOutsideClick&&(t._preventClick=!0,t.on("beforeOpen",function(){setTimeout(function(){t.opened&&($(document).on("mousedown touchstart",function(){t._preventClick=!1}),$(document).on("click.tv-popup-"+o,function(e){if(!t._preventClick){var o=$(e.target).closest(".js-dialog");(t.options.closeOnClickAtOtherDialogs||0===o.length)&&t.isEventOut(e)&&t.close()}}))},0)}),t.on("beforeClose",function(){return $(document).off("click.tv-popup-"+o)})),t.on("change:zIndex",function(){t.$el.css("z-index",t.zIndex)}),t.on("destroy",function(){var e=function(){t.$el.remove()};t.opened?(t.close(),setTimeout(e,r.dur/2)):e()}),t}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,c.TVDialogAbstract),i(e,[{key:"open",value:function(){var t,e,o,n,i,s=this;return this.opened?this:(this.opened=!0,this.trigger("beforeOpen",[this]),this.$el.appendTo(this.$wrap).removeClass("i-hidden").css((s.calcHeight(),t=h.height(),e=h.width(),o=s.$el.height(),n=s.$el.width(),(i=s.options.position)||(i={top:t/2-o/2,left:e/2-n/2}),i.top>t-o&&(i.top=t-o),i.left>e-n&&(i.left=e-n),i)),this.focus(),this.toTop(),this._doOpenAnimation().then(function(){ +s.opened&&(s.$el.removeClass("i-closed"),s.options.draggable&&((0,d.lazyJqueryUI)(s.$el).draggable({handle:".js-dialog__drag",cancel:"input, textarea, button, select, option, .js-dialog__no-drag, .js-dialog__close",containment:"window",cursor:"-webkit-grabbing"}),s.$el.find(".js-dialog__drag").addClass("tv-dialog__grab")),s.trigger("afterOpen",[s]))}),h.on("resize.tv-popup-"+this.getDialogId(),function(){s.calcHeight(),s.fixPos()}),this)}},{key:"close",value:function(){var t=this;if(this.opened)return this.trigger("beforeClose",[this]),this.$el.addClass("i-closed"),this.opened=!1,this._doCloseAnimation().then(function(){t.opened||((0,d.lazyJqueryUI)(t.$el).draggable("instance").then(function(t){t&&t.destroy()}),t.$el.addClass("i-hidden").detach(),p.css("cursor","auto"),t.trigger("afterClose",[t]),t.options.destroyOnClose&&t.destroy())}),h.off("resize.tv-popup-"+this.getDialogId()),this}},{key:"hide",value:function(){this.$el.addClass("i-hidden")}},{key:"show",value:function(){this.$el.removeClass("i-hidden")}},{key:"fixPos",value:function(){var t=this.$el[0].getBoundingClientRect(),e={};t.bottom>l.default.height-10&&(e.top=l.default.height-10-t.height,e.top<10&&(e.top=10)),t.right>l.default.width-10&&(e.left=l.default.width-10-t.width,e.left<10&&(e.left=10)),(e.top||e.left)&&this.$el.css(e)}},{key:"calcHeight",value:function(){var t,e,o=this.$el[0].getBoundingClientRect(),n=this.$scrollWrapInner[0].getBoundingClientRect(),i=this.$scrollWrap[0].getBoundingClientRect(),s=this.options.height&&this.options.heights)&&((s-=o.height-i.height)<60&&(s=60),this.$scrollWrap.css({height:s})),this.options.withScroll&&this.scroll.resize(),(e=s'+this.$btn.html()+''),this.loading=this.$btn.hasClass("i-loading")}return n(t,[{key:"_start",value:function(){var t=this;this.starting=!0,this.$btn.addClass("i-start-load"),this.$btn.trigger("tv-button-loader:start"),setTimeout(function(){t.loading=!0,t.starting=!1,t._startPromise=!1,t.$btn.addClass("i-loading"),t.$btn.removeClass("i-start-load"),t._stopPromise&&t._stop()},2*r.dur)}},{key:"start",value:function(){this.starting||(this.stopping?this._startPromise=!0:this._start())}},{key:"_stop",value:function(){var t=this;this.stopping=!0,this.$btn.addClass("i-stop-load"),this.$btn.trigger("tv-button-loader:stop"),setTimeout(function(){t.loading=!1,t.stopping=!1,t._stopPromise=!1,t.$btn.removeClass("i-loading i-start-load i-stop-load"),t._startPromise&&t._start()},r.dur)}},{key:"stop",value:function(){this.stopping||(this.starting?this._stopPromise=!0:this._stop())}},{key:"toggle",value:function(){this.loading?this.stop():this.start()}},{key:"contentHtml",value:function(t){return t?(this.$btn.find(".tv-button__text").html(t),t):this.$btn.find(".tv-button__text").html()}},{key:"contentNojQuery",value:function(){return this.$btn.get(0)}},{key:"disable",value:function(){this.stop(),this.$btn.addClass("i-disabled")}},{key:"enable",value:function(){this.$btn.removeClass("i-disabled")}}]),t}()},tKRU:function(t,e,o){"use strict";var n=o("nbyR");o.d(e,"a",function(){return n.TVPopup})},v2PZ:function(t,e,o){"use strict";(function(t,n){function i(t){return t&&t.__esModule?t:{default:t}}var s,r,a,l,c,u,d,p,h,f,g,v,b,y,_,m,w,k;Object.defineProperty(e,"__esModule",{value:!0}),e.TVDialogAbstract=void 0,s=function(){return function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var o,n,i=[],s=!0,r=!1,a=void 0;try{for(o=t[Symbol.iterator]();!(s=(n=o.next()).done)&&(i.push(n.value),!e||i.length!==e);s=!0);}catch(t){r=!0,a=t}finally{try{!s&&o.return&&o.return()}finally{if(r)throw a}}return i}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),r=Object.assign||function(t){var e,o,n;for(e=1;e',errorTemplate:'
{{{ error }}}
',titleTemplate:'
{{{ title }}}
',contentWrapTemplate:'
',actionsWrapTemplate:'
',closeButtonTemplate:'
'+o("uo4K")+"
",helpButtonTemplate:'',helpActionsMod:"tv-dialog__section--actions_with-help"},m={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"},w={_default:'
{{ text }}
',"submit-success":''},k=function(e){function o(){var e,n,i,a,l,c,u,p,v,k,C,O,T,j,x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,o),(e=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(o.__proto__||Object.getPrototypeOf(o)).call(this))).manager=(0,h.getRootOverlapManager)(x.ownerDocument),e._id=f++,e.loadingActions=[],e.disabledActions=[],e.firstFocusControl=null,e.options=r({},_,x),e.$el=$(t.render(e.options.template,{title:e.options.title,closeButton:e.options.closeButton})),e.$el.addClass("js-dialog"),e.el=e.$el[0],e.options.dataset){n=!0,i=!1,a=void 0;try{for(l=Object.entries(e.options.dataset)[Symbol.iterator]();!(n=(c=l.next()).done);n=!0)u=c.value,v=(p=s(u,2))[0],"string"==typeof(k=p[1])&&e.el.setAttribute("data-"+v,k)}catch(t){i=!0,a=t}finally{try{!n&&l.return&&l.return()}finally{if(i)throw a}}}for(e.options.addClass&&e.$el.addClass(e.options.addClass),e.options.width&&e.$el.css({width:"100%","max-width":e.options.width}),e.on("beforeOpen",function(){ +e.$wrap=e.manager.ensureWindow(e._id)}),e.on("afterClose",function(){e.$wrap=null,e.manager.unregisterWindow(e._id)}),e.options.title&&(e.$title=$(t.render(e.options.titleTemplate,{title:e.options.title})).appendTo(e.$el)),e.$content=$(e.options.contentWrapTemplate).appendTo(e.$el),e.$contentIn=e.$content;e.$contentIn.length;)e.$contentIn=e.$contentIn.children();if(e.$contentIn=e.$contentIn.end(),e.options.content&&e.renderContent(e.options.content),(e.options.actions||e.options.help)&&(e.$content.hasClass("tv-dialog__section")&&e.$content.addClass("tv-dialog__section--no-padding_bottom"),e.$actions=$(e.options.actionsWrapTemplate).appendTo(e.$el)),e.options.actions)for(e.actions={},e.$el.on("click touchend",".js-dialog__action-click",function(t){t.preventDefault(),e.actionDispatcher($(t.currentTarget).data("name"))}),C=function(o){var n,i,s,r,a,l,c=e.options.actions[o];c.type||(c.type="default"),c.class||(c.class=m[c.type]?m[c.type]:m.default),"checkbox"===c.type?(n=new d.default({labelRight:c.text,name:c.name,checked:c.checked}),e.actions[c.name]=n.$el.appendTo(e.$actions),e.actions[c.name].on("change",function(){setTimeout(function(){return e.actionDispatcher(c.name,n.checked)})})):e.actions[c.name]=$(t.render(c.template?c.template:w[c.type]||w._default,c,c)).appendTo(e.$actions),c.method&&"function"==typeof e[c.method]&&e.on("action:"+c.name,e[c.method].bind(e)),c.addClass&&e.actions[c.name].addClass(c.addClass),c.key&&(i=void 0,"string"==typeof c.key&&c.key.split("+").length>1?(s=[],r=c.key.split("+"),i=function(t){s=[]},a=function(t){var o=""+t.keyCode;-1!==r.indexOf(o)&&s.indexOf(o)&&s.push(o),e._focused&&s.length===r.length&&(s=[],e.actionDispatcher(c.name))},e.on("afterOpen",function(){y.on("keydown",a),y.on("keyup",i)}),e.on("beforeClose",function(){y.off("keydown",a),y.off("keyup",i)})):(l=$.isArray(c.key)?c.key:[c.key],i=function(t){!t.isDefaultPrevented()&&e._focused&&-1!==l.indexOf(t.keyCode)&&e.actionDispatcher(c.name)},e.on("afterOpen",function(){return y.on("keyup",i)}),e.on("beforeClose",function(){return y.off("keyup",i)})))},O=e.options.actions.length-1;O>=0;O--)C(O);return e.options.help&&$(t.render(e.options.helpButtonTemplate,e.options.help)).prependTo(e.$actions.addClass(e.options.helpActionsMod)),e.options.closeButton&&((T=$(e.options.closeButtonTemplate)).addClass(e.options.closeButtonAddClass||""),j=e.$el,1===e.$el.find(".js-close-button-place").length&&(j=e.$el.find(".js-close-button-place")),T.appendTo(j)),e.setZIndex(b+g.length),x.errorMod&&(e.errorMod=x.errorMod),e.on("afterOpen",function(){e.options.focusFirstControl&&!Modernizr.mobiletouch&&(e.firstFocusControl||e.$el.find('input:not([type="hidden"]), textarea').first()).focus()}),e.$el.on("click",".js-dialog__close",e.close.bind(e)),e.$el.on("mousedown touchstart",e.focus.bind(e)),g.push(e),e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0, +configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(o,p.default),a(o,[{key:"renderContent",value:function(t){return this.$contentIn.html("function"==typeof t?t(this):t),this}},{key:"setDestroyOnClose",value:function(t){this.options.destroyOnClose=t}},{key:"setZIndex",value:function(t){return this.zIndex=t,this.trigger("change:zIndex",[this]),this}},{key:"toTop",value:function(){for(var t=g.length-1;t>=0;t--)g[t].zIndex>this.zIndex&&g[t].setZIndex(g[t].zIndex-1);return this.setZIndex(b+g.length),this.manager.moveToTop(this._id),this}},{key:"isEventOut",value:function(t){var e,o,n;return this.options.isClickOutFn&&void 0!==(e=this.options.isClickOutFn(t))?e:(o=!0,(n=$(t.target)).get(0)!==this.$el.get(0)&&($(">*",this.$el).each(function(){n.get(0)===$(this).get(0)&&(o=!1),0===n.closest("HTML",$(this).get(0)).length&&(o=!1)}),o))}},{key:"focus",value:function(){var t=this;v&&v!==this&&v.unfocus(),this._setFocused(),this._focused=!0,this.$el.addClass(this.options.focusClass),this.trigger("focus",[this]),setTimeout(function(){y.on("mousedown.tv-dialog-unfocus-"+t._id,function(e){t.isEventOut(e)&&(t.unfocus(),y.off("mousedown.tv-dialog-unfocus-"+t._id))})},20)}},{key:"_setFocused",value:function(){v!==this&&(v=this)}},{key:"_setUnfocused",value:function(){v===this&&(v=void 0)}},{key:"unfocus",value:function(){v===this&&(this._setUnfocused(),this._focused=!1,this.$el.removeClass(this.options.focusClass).find(":focus").blur(),this.trigger("unfocus",[this]))}},{key:"isFocused",value:function(){return this._focused}},{key:"setTitle",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return this.$title.toggleClass("tv-dialog__section--one-line apply-overflow-tooltip",e),this.$title.html(t),this}},{key:"setTitleText",value:function(t){this.$title.find(".js-title-text").text(t)}},{key:"actionDispatcher",value:function(t){if(!this.disabledActions.includes(t)&&!this.loadingActions.includes(t)){for(var e=arguments.length,o=Array(e>1?e-1:0),n=1;n1&&void 0!==arguments[1]?arguments[1]:"init";return this.actions[t].tvButtonLoader(o),"init"===o&&(this.actions[t].off("tv-button-loader:start.dialog-action").on("tv-button-loader:start.dialog-action",function(){e.loadingActions.push(t)}),this.actions[t].off("tv-button-loader:stop.dialog-action").on("tv-button-loader:stop.dialog-action",function(){e.loadingActions=n.without(e.loadingActions,t)})),this}},{key:"error",value:function(e){var o=$(t.render(this.options.errorTemplate,{error:e,errorMod:this.errorMod})).appendTo(this.$el),n=function(){o.addClass("i-slided"),setTimeout(function(){return o.remove()},.75*c.dur)} +;return setTimeout(function(){return o.removeClass("i-slided")},20),y.one("touchstart mousedown keydown",n),this.trigger("error",[this,o]),this}},{key:"destroy",value:function(){this.$wrap=null,this.manager.unregisterWindow(this._id),g=n.without(g,this);for(var t=0;t=this.state.heightContent-1},t.prototype.animateTo=function(e,t){if(void 0===t&&(t=F.dur),this._scroll){var o=d.findDOMNode(this._scroll);Object(V.doAnimate)({onStep:function(e,t){o.scrollTop=t},from:o.scrollTop,to:Math.round(e),easing:F.easingFunc.easeInOutCubic,duration:t})}},t.prototype.render=function(){var e,t,o,n,i,r=this,a=this.props,s=a.children,l=a.isVisibleScrollbar,c=a.isVisibleFade,d=a.isVisibleButtons,p=this.state,h=p.heightContent,f=p.heightWrap,g=p.isVisibleBotButton,v=p.isVisibleTopButton;return u.createElement(x,{whitelist:["height"],onMeasure:this._handleResizeWrap},u.createElement("div",{className:I.wrap},u.createElement("div",{className:m(I.scrollWrap,(e={},e[I.noScrollBar]=!l,e)),onScroll:this._handleScroll,ref:function(e){return r._scroll=e}},u.createElement(x,{onMeasure:this._handleResizeContent,whitelist:["height"]},u.createElement("div",{className:I.content},s))),c&&u.createElement("div",{className:m(I.fadeTop,(t={},t[I.isVisible]=v&&h>f,t))}),c&&u.createElement("div",{className:m(I.fadeBot,(o={},o[I.isVisible]=g&&h>f,o))}),d&&u.createElement("div",{className:m(I.scrollTop,(n={},n[I.isVisible]=v&&h>f,n)),onClick:this._handleScrollTop},u.createElement("div",{className:I.iconWrap +},u.createElement(B.a,{icon:R,className:I.icon}))),d&&u.createElement("div",{className:m(I.scrollBot,(i={},i[I.isVisible]=g&&h>f,i)),onClick:this._handleScrollBot},u.createElement("div",{className:I.iconWrap},u.createElement(B.a,{icon:R,className:I.icon})))))},t.defaultProps={isVisibleScrollbar:!0},t}(u.PureComponent),z=o("ycI/"),U=o("WUqb"),G=o("tWVy"),H=o("gb5g"),K=o("wZIs"),q=o("3mf1"),Q=o("9dlw"),J=o("hn2c"),Y=o("KmEK"),X=function(e){function t(t){var o=e.call(this,t)||this;return o._toggleDropdown=function(e){o.setState({isOpened:void 0!==e?e:!o.state.isOpened})},o._handleClose=function(){o._toggleDropdown(!1)},o._getDropdownPosition=function(){if(!o._control)return{x:0,y:0};var e=o._control.getBoundingClientRect();return{x:e.left+e.width+1,y:e.top-6}},o._handleClickArrow=function(){o._toggleDropdown()},o._handleTouchStart=function(){o.props.onClickButton(),o._toggleDropdown()},o._handlePressStart=function(){if(Modernizr.mobiletouch&&!o.props.checkable)o._longPressDelay||o.props.onClickButton();else{if(o._doubleClickDelay)return clearTimeout(o._doubleClickDelay),delete o._doubleClickDelay,void o._toggleDropdown(!0);o._doubleClickDelay=setTimeout(function(){delete o._doubleClickDelay,o._longPressDelay||o.props.onClickButton()},175)}o._longPressDelay=setTimeout(function(){delete o._longPressDelay,o._toggleDropdown(!0)},300)},o._handlePressEnd=function(){o._longPressDelay&&(clearTimeout(o._longPressDelay),delete o._longPressDelay,o.state.isOpened?o._toggleDropdown(!1):o.props.checkable||o.state.isOpened||!o.props.isActive||Modernizr.mobiletouch||o._toggleDropdown(!0))},o.state={isOpened:!1},o}return c.__extends(t,e),t.prototype.render=function(){var e,t=this,o=this.props,n=o.buttonActiveClass,r=o.buttonClass,a=o.buttonIcon,s=o.buttonTitle,l=o.buttonHotKey,c=o.dropdownTooltip,d=o.children,p=o.isActive,h=o.isGrayed,f=o.onClickWhenGrayed,g=o.checkable,v=this.state.isOpened;return u.createElement("div",{className:m(Y.dropdown,(e={},e[Y.isGrayed]=h,e[Y.isActive]=p,e[Y.isOpened]=v,e)),onClick:h?f:void 0},u.createElement("div",{ref:function(e){return t._control=e},className:Y.control},u.createElement("div",{className:m(Y.buttonWrap,{"apply-common-tooltip common-tooltip-vertical":Boolean(s||l)}),"data-tooltip-hotkey":l,"data-tooltip-delay":1500,title:s,onMouseDown:h||Modernizr.mobiletouch?void 0:this._handlePressStart,onMouseUp:h||Modernizr.mobiletouch?void 0:this._handlePressEnd,onTouchStart:!h&&g&&Modernizr.mobiletouch?this._handlePressStart:void 0,onTouchEnd:!h&&g&&Modernizr.mobiletouch?this._handlePressEnd:void 0,onClick:h||g||!Modernizr.mobiletouch?void 0:this._handleTouchStart},u.createElement(i,{activeClass:n,className:r,icon:a,isActive:p,isGrayed:h,isTransparent:!g})),!h&&!Modernizr.mobiletouch&&u.createElement("div",{className:m(Y.arrow,c&&"apply-common-tooltip common-tooltip-vertical"),title:c,onClick:this._handleClickArrow},u.createElement(B.a,{className:Y.arrowIcon,icon:J}))),!h&&u.createElement(Q.a,{doNotCloseOn:this,isOpened:v,onClose:this._handleClose,position:this._getDropdownPosition},d))},t +}(u.PureComponent),Z=o("KKsp"),$=o("EA32"),ee={icon:window.t("Icon"),dropdownTooltip:window.t("Icons")},te=10,oe=function(e){function t(t){var o=e.call(this,t)||this;return o._renderItem=function(e){return u.createElement("div",{className:$.item,key:e,onClick:function(){o._handleSelect(e),Object(G.b)()}},String.fromCharCode(e))},o._onChangeDrawingState=function(){o.setState({isActive:o._isActive()})},o._handleSelect=function(e){var t,n;Object(K.saveDefaults)("linetoolicon",c.__assign({},Object(K.defaults)("linetoolicon"),{icon:e})),v.tool.setValue("LineToolIcon"),-1!==(n=(t=o.state.recents).indexOf(e))&&t.splice(n,1),t=[e].concat(t.slice(0,te-1)),Object(f.setJSON)("linetoolicon.recenticons",t),o.setState({current:e,recents:t})},o.state={current:Object(K.defaults)("linetoolicon").icon,recents:Object(f.getJSON)("linetoolicon.recenticons")||[]},o}return c.__extends(t,e),t.prototype.componentDidMount=function(){v.tool.subscribe(this._onChangeDrawingState),f.onSync.subscribe(this,this._onSyncSettings)},t.prototype.componentWillUnmount=function(){v.tool.unsubscribe(this._onChangeDrawingState),f.onSync.unsubscribe(this,this._onSyncSettings)},t.prototype.render=function(){var e=this,t=this.props,o=t.isGrayed,n=t.toolName,i=this.state,r=i.current,a=i.isActive,s=i.recents;return u.createElement(X,{buttonClass:$.button,buttonIcon:u.createElement("div",{className:$.buttonIcon},String.fromCharCode(r||q.availableIcons[0])),buttonTitle:ee.icon,dropdownTooltip:ee.dropdownTooltip,isActive:a,isGrayed:o,onClickButton:function(){return e._handleSelect(r||q.availableIcons[0])},onClickWhenGrayed:function(){return Object(b.emit)("onGrayedObjectClicked",{type:"drawing",name:T.a[n].localizedName})}},s&&[u.createElement("div",{key:"recent",className:$.wrap},s.map(this._renderItem)),u.createElement(Z.a,{key:"separator"})],u.createElement("div",{key:"all",className:$.wrap},q.availableIcons.map(this._renderItem)))},t.prototype._isActive=function(){return v.tool.value()===this.props.toolName},t.prototype._onSyncSettings=function(){this.setState({recents:Object(f.getJSON)("linetoolicon.recenticons")})},t}(u.Component),ne=o("Ocx9"),ie=function(e){function t(t){var o=e.call(this,t)||this;return o._handleClick=function(){o.props.saveDefaultOnChange&&Object(ne.saveDefaultProperties)(!0),o.props.property.setValue(!o.props.property.value()),o.props.saveDefaultOnChange&&Object(ne.saveDefaultProperties)(!1)},o.state={isActive:o.props.property.value()},o}return c.__extends(t,e),t.prototype.componentDidMount=function(){this.props.property.subscribe(this,this._onChange)},t.prototype.componentWillUnmount=function(){this.props.property.unsubscribe(this,this._onChange)},t.prototype.render=function(){var e=this.props.toolName,t=this.state.isActive,o=T.a[e];return u.createElement(i,{icon:t&&o.iconActive?o.iconActive:o.icon,isActive:t,onClick:this._handleClick,title:o.localizedName})},t.prototype._onChange=function(e){this.setState({isActive:e.value()})},t}(u.PureComponent),re=function(e){function t(t){var o=e.call(this,t)||this;return o._handleClick=function(){ +v.tool.setValue(o.props.toolName)},o._onChange=function(){o.setState({isActive:v.tool.value()===o.props.toolName})},o.state={isActive:v.tool.value()===o.props.toolName},o}return c.__extends(t,e),t.prototype.componentDidMount=function(){v.tool.subscribe(this._onChange)},t.prototype.componentWillUnmount=function(){v.tool.unsubscribe(this._onChange)},t.prototype.render=function(){var e=this.props.toolName,t=this.state.isActive,o=T.a[e];return u.createElement(i,{icon:T.a[e].icon,isActive:t,isTransparent:!0,onClick:this._handleClick,title:o.localizedName,buttonHotKey:o.hotKey})},t}(u.PureComponent),ae=function(e){function t(t){var o=e.call(this,t)||this;return o._boundUndoModel=null,o._handleClick=function(){var e=o._activeChartWidget().model();e&&e.zoomFromViewport()},o._syncUnzoomButton=function(){var e=o._activeChartWidget(),t=e.model(),n=!1;t?(o._boundUndoModel!==t&&(o._boundUndoModel&&o._boundUndoModel.zoomStack().onChange().unsubscribe(null,o._syncUnzoomButton),t.zoomStack().onChange().subscribe(null,o._syncUnzoomButton),o._boundUndoModel=t),n=!t.zoomStack().isEmpty()):e.withModel(null,o._syncUnzoomButton),o.setState({isVisible:n})},o.state={isVisible:!1},o}return c.__extends(t,e),t.prototype.componentDidMount=function(){this.props.chartWidgetCollection.activeChartWidget.subscribe(this._syncUnzoomButton,{callWithLast:!0})},t.prototype.componentWillUnmount=function(){this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._syncUnzoomButton)},t.prototype.render=function(){return this.state.isVisible?u.createElement(r,{action:this._handleClick,isTransparent:!0,toolName:"zoom-out"}):u.createElement("div",null)},t.prototype._activeChartWidget=function(){return this.props.chartWidgetCollection.activeChartWidget.value()},t}(u.PureComponent),se=o("b2d7"),le=o("pr86"),ce=o("N5tr"),ue=o("Bruo"),de=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c.__extends(t,e),t.prototype.componentDidMount=function(){ue.bind(this.props.keys,this.props.handler)},t.prototype.componentDidUpdate=function(e){this.props.keys===e.keys&&this.props.handler===e.handler||(ue.unbind(e.keys),ue.bind(this.props.keys,this.props.handler))},t.prototype.componentWillUnmount=function(){ue.unbind(this.props.keys)},t.prototype.render=function(){return null},t}(u.PureComponent),pe=function(e){function t(t){var o,n=e.call(this,t)||this;return n._onChangeDrawingState=function(){var e=n._getActiveToolIndex();n.setState({current:-1!==e?e:n.state.current,isActive:-1!==e})},n._handleClickButton=function(){var e=n._getCurrentToolName();n._selectTool(e)},n._handleClickItem=function(e){n._selectTool(e)},n._handleGrayedClick=function(e){Object(b.emit)("onGrayedObjectClicked",{type:"drawing",name:T.a[e].localizedName})},n._handleShortcut=function(e){var t=n.props.lineTools.find(function(t){return t.name===e}),o=t&&t.shortcut;o&&o.immediately?n._drawLinetoolImmediately(e):n._selectTool(e)},n._drawLinetoolImmediately=function(e){var t=n.props.chartWidgetCollection.activeChartWidget.value() +;t.activePaneWidget&&t.activePaneWidget.drawRightThere(e)},n._handleClickFavorite=function(e){n.state.favState&&n.state.favState[e]?se.a.removeFavorite(e):se.a.addFavorite(e)},n._onAddFavorite=function(e){var t;n.setState({favState:c.__assign({},n.state.favState,(t={},t[e]=!0,t))})},n._onRemoveFavorite=function(e){var t;n.setState({favState:c.__assign({},n.state.favState,(t={},t[e]=!1,t))})},n._onSyncFavorites=function(){n.setState({favState:n._composeFavState()})},o=n._getActiveToolIndex(),n.state={current:-1===o?n._firstNonGrayedTool():o,favState:n._composeFavState(),isActive:-1!==o},n}return c.__extends(t,e),t.prototype.componentDidMount=function(){v.tool.subscribe(this._onChangeDrawingState),se.a.favoriteAdded.subscribe(null,this._onAddFavorite),se.a.favoriteRemoved.subscribe(null,this._onRemoveFavorite),se.a.favoritesSynced.subscribe(null,this._onSyncFavorites)},t.prototype.componentWillUnmount=function(){v.tool.unsubscribe(this._onChangeDrawingState),se.a.favoriteAdded.unsubscribe(null,this._onAddFavorite),se.a.favoriteRemoved.unsubscribe(null,this._onRemoveFavorite),se.a.favoritesSynced.unsubscribe(null,this._onSyncFavorites)},t.prototype.componentDidUpdate=function(e,t){e.lineTools!==this.props.lineTools&&this.setState({favState:this._composeFavState()})},t.prototype.render=function(){var e=this,t=this.props,o=t.favoriting,n=t.grayedTools,i=t.lineTools,r=t.dropdownTooltip,a=this.state,s=a.current,l=a.favState,c=a.isActive,d=this._getCurrentToolName(),p=T.a[d],h=this._showShortcuts();return u.createElement("span",null,u.createElement(X,{buttonIcon:p.icon,buttonTitle:p.localizedName,buttonHotKey:p.hotKey,dropdownTooltip:r,isActive:c,onClickButton:this._handleClickButton},i.map(function(t,i){var r=t.name,a=T.a[r],d=n[r];return u.createElement(ce.a,{key:r,dontClosePopup:d,forceShowShortcuts:h,shortcut:t.shortcut&&t.shortcut.keys,icon:a.icon,isActive:c&&s===i,appearAsDisabled:d,label:a.localizedName,onClick:d?e._handleGrayedClick:e._handleClickItem,onClickArg:r,showToolboxOnHover:!l[r],toolbox:o&&!d?u.createElement(le.a,{isFilled:l[r],onClick:e._handleClickFavorite,onClickArg:r}):void 0})})),i.map(function(t,o){var n=t.name,i=t.shortcut;return i&&u.createElement(de,{handler:function(t){t.preventDefault(),e._handleShortcut(n)},key:n,keys:i.keys})}))},t.prototype._getCurrentToolName=function(){var e=this.state.current,t=this.props.lineTools;return t[e||0].name},t.prototype._firstNonGrayedTool=function(){var e=this.props,t=e.grayedTools;return e.lineTools.findIndex(function(e){return!t[e.name]})},t.prototype._getActiveToolIndex=function(){return this.props.lineTools.findIndex(function(e){return e.name===v.tool.value()})},t.prototype._showShortcuts=function(){return this.props.lineTools.some(function(e){return"shortcut"in e})},t.prototype._selectTool=function(e){v.tool.setValue(e)},t.prototype._composeFavState=function(){var e={};return this.props.lineTools.forEach(function(t){e[t.name]=se.a.isFavorite(t.name)}),e},t}(u.PureComponent),he={all:window.t("Remove Drawing Tools & Indicators"), +drawings:window.t("Remove Drawing Tools"),studies:window.t("Remove Indicators")},me=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleRemoveToolClick=function(){Modernizr.mobiletouch||t._handleRemoveDrawings()},t._handleRemoveDrawings=function(){t.props.chartWidgetCollection.activeChartWidget.value().removeAllDrawingTools()},t._handleRemoveStudies=function(){t.props.chartWidgetCollection.activeChartWidget.value().removeAllStudies()},t._handleRemoveAll=function(){t.props.chartWidgetCollection.activeChartWidget.value().removeAllStudiesDrawingTools()},t}return c.__extends(t,e),t.prototype.render=function(){return u.createElement(X,{buttonIcon:T.a[this.props.toolName].icon,buttonTitle:he.drawings,onClickButton:this._handleRemoveToolClick},u.createElement(ce.a,{label:he.drawings,onClick:this._handleRemoveDrawings}),u.createElement(ce.a,{label:he.studies,onClick:this._handleRemoveStudies}),u.createElement(ce.a,{label:he.all,onClick:this._handleRemoveAll}))},t}(u.PureComponent),fe=o("g5Qf"),ge=o("85c9"),ve=window.t("Show Favorite Drawings Toolbar"),be=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._instance=null,t._promise=null,t._bindedForceUpdate=function(){return t.forceUpdate()},t._handleClick=function(){null!==t._instance&&(t._instance.isVisible()?t._instance.hide():t._instance.show())},t}return c.__extends(t,e),t.prototype.componentDidMount=function(){var e=this,t=this._promise=Object(p.ensureNotNull)(Object(fe.getFavoriteDrawingToolbarPromise)());t.then(function(o){e._promise===t&&(e._instance=o,e._instance.canBeShown().subscribe(e._bindedForceUpdate),e._instance.visibility().subscribe(e._bindedForceUpdate),e.forceUpdate())})},t.prototype.componentWillUnmount=function(){this._promise=null,null!==this._instance&&(this._instance.canBeShown().unsubscribe(this._bindedForceUpdate),this._instance.visibility().unsubscribe(this._bindedForceUpdate),this._instance=null)},t.prototype.render=function(){return null!==this._instance&&this._instance.canBeShown().value()?u.createElement(i,{id:this.props.id,icon:ge,isActive:this._instance.isVisible(),onClick:this._handleClick,title:ve}):null},t}(u.PureComponent),_e=o("Ijvb"),ye=o("tITk"),we=o("4o++"),Te=o("7RN7"),function(e){e.Screenshot="drawing-toolbar-screenshot",e.FavoriteDrawings="drawing-toolbar-favorite-drawings",e.ObjectTree="drawing-toolbar-object-tree"}(Ce||(Ce={})),ke=o("JQKp"),Se={weakMagnet:window.t("Weak Magnet"),strongMagnet:window.t("Strong Magnet")},Ee=Object(w.onWidget)(),Le=new y.a,De=function(e){function t(t){var o=e.call(this,t)||this;return o._grayedTools={},o._handleChangeVisibility=function(e){o.setState({isVisible:e})},o._handleEsc=function(){v.resetToCursor(!0),Object(G.b)()},v.init(),o._toolsFilter=new C(o.props.drawingsAccess),o._filteredLineTools=k.map(function(e){return{title:e.title,items:e.items.filter(function(e){return o._toolsFilter.isToolEnabled(T.a[e.name].localizedName)})}}).filter(function(e){return 0!==e.items.length}),o._filteredLineTools.forEach(function(e){ +return e.items.forEach(function(e){o._grayedTools[e.name]=o._toolsFilter.isToolGrayed(T.a[e.name].localizedName)})}),o.state={isVisible:S.isDrawingToolbarVisible.value(),magnet:v.properties().childs().magnet.value(),magnetMode:v.properties().childs().magnetMode.value()},o._features={favoriting:!Ee&&g.enabled("items_favoriting"),multicharts:g.enabled("support_multicharts"),tools:!Ee||g.enabled("charting_library_base")},o._negotiateResizer(),o}return c.__extends(t,e),t.prototype.getChildContext=function(){return{chartWidgetCollection:this.props.chartWidgetCollection,customCloseDelegate:Le}},t.prototype.componentDidMount=function(){S.isDrawingToolbarVisible.subscribe(this._handleChangeVisibility),d.findDOMNode(this).addEventListener("contextmenu",function(e){return e.preventDefault()}),G.a.subscribe(this,this._handleGlobalClose),v.properties().childs().magnet.subscribe(this,this._updateMagnetEnabled),v.properties().childs().magnetMode.subscribe(this,this._updateMagnetMode)},t.prototype.componentWillUnmount=function(){S.isDrawingToolbarVisible.unsubscribe(this._handleChangeVisibility),G.a.unsubscribe(this,this._handleGlobalClose),v.properties().childs().magnet.unsubscribe(this,this._updateMagnetEnabled),v.properties().childs().magnetMode.unsubscribe(this,this._updateMagnetMode)},t.prototype.componentDidUpdate=function(e,t){var o=this.state.isVisible;o!==t.isVisible&&(b.emit("toggle_sidebar",!o),f.setValue("ChartDrawingToolbarWidget.visible",o),this._negotiateResizer())},t.prototype.render=function(){var e,t=this,o=this.props,n=o.bgColor,i=o.chartWidgetCollection,c=o.readOnly,d=(o.hideMainMenu,this.state),p=d.isVisible,h=d.magnet,f=d.magnetMode,g={backgroundColor:n&&"#"+n};return u.createElement("div",{className:m(ke.drawingToolbar,(e={},e[ke.isHidden]=!p,e)),style:g,onClick:this.props.onClick},u.createElement(j,{onScroll:this._handleGlobalClose,isVisibleFade:Modernizr.mobiletouch,isVisibleButtons:!Modernizr.mobiletouch,isVisibleScrollbar:!1},u.createElement("div",{className:ke.inner},!1,!c&&u.createElement("div",{className:ke.group,style:g},this._filteredLineTools.map(function(e,o){return u.createElement(pe,{chartWidgetCollection:i,favoriting:t._features.favoriting,grayedTools:t._grayedTools,key:o,dropdownTooltip:e.title,lineTools:e.items})}),this._toolsFilter.isToolEnabled("Font Icons")&&u.createElement(oe,{isGrayed:this._grayedTools["Font Icons"],toolName:"LineToolIcon"})),!c&&u.createElement("div",{className:ke.group,style:g},u.createElement(re,{toolName:"measure"}),u.createElement(re,{toolName:"zoom"}),u.createElement(ae,{chartWidgetCollection:i})),!c&&u.createElement("div",{className:ke.group,style:g},u.createElement(X,{buttonIcon:f===we.MagnetMode.StrongMagnet?_e.a.strongMagnet:_e.a.magnet,buttonTitle:T.a.magnet.localizedName,isActive:h,onClickButton:a,checkable:!0},u.createElement(ce.a,{key:"weakMagnet",icon:_e.a.magnet,isActive:h&&f!==we.MagnetMode.StrongMagnet,label:Se.weakMagnet,onClick:s}),u.createElement(ce.a,{key:"strongMagnet",icon:_e.a.strongMagnet,isActive:h&&f===we.MagnetMode.StrongMagnet, +label:Se.strongMagnet,onClick:l})),this._features.tools&&u.createElement(ie,{property:v.properties().childs().stayInDrawingMode,saveDefaultOnChange:!0,toolName:"drawginmode"}),this._features.tools&&u.createElement(ie,{property:v.lockDrawings(),toolName:"lockAllDrawings"}),this._features.tools&&u.createElement(ie,{property:v.hideAllDrawings(),toolName:"hideAllDrawings"}),!1),!c&&this._features.tools&&u.createElement("div",{className:ke.group,style:g},u.createElement(me,{chartWidgetCollection:i,toolName:"removeAllDrawingTools"})),u.createElement("div",{className:ke.fill,style:g}),!c&&(this._features.tools||!1)&&u.createElement("div",{className:m(ke.group,ke.lastGroup),style:g},!1,this._features.tools&&this._features.favoriting&&u.createElement(be,{id:Ce.FavoriteDrawings}),this._features.tools&&u.createElement(r,{id:Ce.ObjectTree,action:function(){return t._activeChartWidget().showObjectsTreeDialog()},toolName:"showObjectsTree"})))),u.createElement(W,{toolbarVisible:p}),u.createElement(z.a,{keyCode:U.a.Escape,handler:this._handleEsc}))},t.prototype._activeChartWidget=function(){return this.props.chartWidgetCollection.activeChartWidget.value()},t.prototype._negotiateResizer=function(){this.props.resizerBridge.negotiateWidth(this.state.isVisible?Te.b:Te.a)},t.prototype._handleGlobalClose=function(){Le.fire()},t.prototype._updateMagnetEnabled=function(){var e={magnet:v.properties().childs().magnet.value()};this.setState(e)},t.prototype._updateMagnetMode=function(){var e={magnetMode:v.properties().childs().magnetMode.value()};this.setState(e)},t.childContextTypes={chartWidgetCollection:h.any.isRequired,customCloseDelegate:h.any.isRequired},t}(u.PureComponent),o.d(t,"DrawingToolbarRenderer",function(){return Ae}),Ae=function(){function e(e,t){var o=this;this._component=null,this._handleRef=function(e){o._component=e},this._container=e,d.render(u.createElement(De,c.__assign({},t,{ref:this._handleRef})),this._container)}return e.prototype.destroy=function(){d.unmountComponentAtNode(this._container)},e.prototype.getComponent=function(){return Object(p.ensureNotNull)(this._component)},e}()},"85c9":function(e,t){e.exports=''},"9dlw":function(e,t,o){"use strict";var n,i,r,a,s,l,c,u,d;o.d(t,"a",function(){return d}),n=o("mrSG"),i=o("bf9a"),r=o("q1tI"),a=o("i8i4"),s=o("17x9"),l=o("RgaO"),c=o("AiMB"),u=o("DTHj"),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleClose=function(){t.props.onClose()},t._handleClickOutside=function(e){var o,n=t.props,i=n.closeOnClickOutside,r=n.onClickOutside,s=n.doNotCloseOn;r&&r(e), +i&&(s&&e.target instanceof Node&&(o=a.findDOMNode(s))instanceof Node&&o.contains(e.target)||t._handleClose())},t._handleScroll=function(e){var o=t.props.onScroll;o&&o(e),e.stopPropagation()},t}return n.__extends(t,e),t.prototype.componentWillReceiveProps=function(e){this.props.isOpened&&!e.isOpened&&this.setState({isMeasureValid:void 0})},t.prototype.render=function(){var e=this.props,t=e.children,o=e.isOpened,i=(e.closeOnClickOutside,e.doNotCloseOn,e.onClickOutside,e.onClose,n.__rest(e,["children","isOpened","closeOnClickOutside","doNotCloseOn","onClickOutside","onClose"]));return o?r.createElement(c.a,null,r.createElement(l.a,{handler:this._handleClickOutside,mouseDown:!0,touchStart:!0},r.createElement(u.a,n.__assign({},i,{isOpened:o,onClose:this._handleClose,onScroll:this._handleScroll,customCloseDelegate:this.context.customCloseDelegate}),t))):null},t.contextTypes={customCloseDelegate:s.any},t.defaultProps={closeOnClickOutside:!0},t}(r.PureComponent)},AiMB:function(e,t,o){"use strict";var n,i,r,a,s,l,c,u;o.d(t,"a",function(){return c}),o.d(t,"b",function(){return u}),n=o("mrSG"),i=o("q1tI"),r=o("i8i4"),a=o("0waE"),s=o("jAh7"),l=o("+EG+"),c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._uuid=Object(a.guid)(),t}return n.__extends(t,e),t.prototype.componentWillUnmount=function(){this._manager().removeWindow(this._uuid)},t.prototype.render=function(){return r.createPortal(i.createElement(u.Provider,{value:this},this.props.children),this._manager().ensureWindow(this._uuid))},t.prototype.moveToTop=function(){this._manager().moveToTop(this._uuid)},t.prototype._manager=function(){return null===this.context?Object(s.getRootOverlapManager)():this.context},t.contextType=l.b,t}(i.PureComponent),u=i.createContext(null)},EA32:function(e,t,o){e.exports={wrap:"wrap-2I6DAtXG-",buttonIcon:"buttonIcon-2rBwJ1QM-",item:"item-31XunD5q-",hovered:"hovered-2A1Cpat5-",button:"button-21ihqWJ8-"}},GWvR:function(e,t){e.exports=''},HHbT:function(e,t){ +e.exports=''},JQKp:function(e,t,o){e.exports={drawingToolbar:"drawingToolbar-U3_QXRof-",isHidden:"isHidden-2d-PYkzV-",inner:"inner-1xuW-gY4-",group:"group-2JyOhh7Z-",noGroupPadding:"noGroupPadding-1TTjVKWk-",lastGroup:"lastGroup-O75UB5Xa-",fill:"fill-1djIbBXv-",separator:"separator-1BAqp1-l-"}},KKsp:function(e,t,o){"use strict";function n(e){return i.createElement("div",{className:r.separator})}var i,r;o.d(t,"a",function(){return n}),i=o("q1tI"),r=o("NOPy")},KmEK:function(e,t,o){e.exports={dropdown:"dropdown-3_ASLzSj-",buttonWrap:"buttonWrap-3fZWypJl-",control:"control-1TyEfSIx-",arrow:"arrow-1cFKS5Ok-",arrowIcon:"arrowIcon-2wA7q8om-",isOpened:"isOpened-22vLOY9o-",isGrayed:"isGrayed-xr-mULNo-"}},N5tr:function(e,t,o){"use strict";function n(e){return a.createElement(e.href?"a":"div",e)}function i(e){e.stopPropagation()}var r,a,s,l,c,u,d,p;o.d(t,"a",function(){return p}),r=o("mrSG"),a=o("q1tI"),s=o("TSYQ"),l=o("tWVy"),c=o("tITk"),u=o("QpNh"),d=o("v1bN"),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._handleClick=function(e){var o=t.props,n=o.dontClosePopup,i=o.isDisabled,r=o.onClick,a=o.onClickArg,s=o.trackEventObject;i||(s&&Object(c.trackEvent)(s.category,s.event,s.label),r&&r(a,e),n||Object(l.b)())},t._handleMouseUp=function(e){var o=t.props,n=o.link,i=o.trackEventObject;1===e.button&&n&&i&&Object(c.trackEvent)(i.category,i.event,i.label)},t._formatShortcut=function(e){return e&&e.split("+").join(" + ")},t}return r.__extends(t,e),t.prototype.render=function(){var e,t,o=this.props,l=o.className,c=o.shortcut,p=o.forceShowShortcuts,h=o.icon,m=o.isActive,f=o.isDisabled,g=o.isHovered,v=o.appearAsDisabled,b=o.label,_=o.link,y=o.showToolboxOnHover,w=o.target,T=o.toolbox,C=o.theme,k=void 0===C?d:C,S=Object(u.a)(this.props);return a.createElement(n,r.__assign({},S,{className:s(l,k.item,h&&k.withIcon,(e={},e[k.isActive]=m,e[k.isDisabled]=f||v,e[k.hovered]=g,e)),href:_,target:w,onClick:this._handleClick,onMouseUp:this._handleMouseUp}),void 0!==h&&a.createElement("div",{className:k.icon,dangerouslySetInnerHTML:{__html:h}}),a.createElement("div",{className:k.labelRow},a.createElement("div",{className:k.label},b)),(void 0!==c||p)&&a.createElement("div",{className:k.shortcut},this._formatShortcut(c)),void 0!==T&&a.createElement("div",{onClick:i,className:s(k.toolbox,(t={},t[k.showOnHover]=y,t))},T))},t}(a.PureComponent)},NOPy:function(e,t,o){e.exports={separator:"separator-25lkUpN--"}},QpNh:function(e,t,o){ +"use strict";function n(e){var t,o,n,r,a,s=Object.entries(e).filter(i),l={};for(t=0,o=s;t'},nPPD:function(e,t,o){"use strict";function n(e,t,o){var n,i,r,a,s;for(void 0===o&&(o={}),n=Object.assign({},t),i=0,r=Object.keys(t);i=t()?"":s.favorites[e]}function l(o){return!r(o)&&(s.favorites.push(o),s.saveFavorites(),e.favoriteAdded.fire(o),!0)}function a(o){var t=s.favoriteIndex(o);return-1!==t&&(s.favorites.splice(t,1),s.saveFavorites(),e.favoriteRemoved.fire(o),!0)}function r(e){return-1!==s.favoriteIndex(e)}function c(o,n){if(n<0||n>=t())return!1;var i=s.favoriteIndex(o);return-1!==i&&n!==i&&(s.favorites.splice(i,1),s.favorites.splice(n,0,o),s.saveFavorites(),e.favoriteMoved.fire(o,i,n),!0)}e.favoriteAdded=new i.a,e.favoriteRemoved=new i.a,e.favoriteMoved=new i.a,e.favoritesSynced=s.favoritesSynced,e.favorites=o,e.favoritesCount=t,e.favorite=n,e.addFavorite=l,e.removeFavorite=a,e.isFavorite=r,e.moveFavorite=c}(a||(a={}))},1092:function(e,o){e.exports={wrap:"wrap-1h7U5nKd-",scrollWrap:"scrollWrap-3gtPS0Fe-",noScrollBar:"noScrollBar-ieMwbfur-",content:"content-YhoA_L2m-",icon:"icon-2xObs8DI-",scrollBot:"scrollBot-2HHpZNuf-",scrollTop:"scrollTop-1eXi8ltS-",isVisible:"isVisible-3zZOL3TO-",iconWrap:"iconWrap-2Q69rfEO-",fadeBot:"fadeBot-3JstnoWq-",fadeTop:"fadeTop-3oJzNyTq-"}},1093:function(e,o){e.exports={button:"button-263WXsg--",bg:"bg-1kRv1Pf2-",isBgFull:"isBgFull-CmoDGRQP-",icon:"icon-1Y-3MM9F-",hovered:"hovered--MYZioUu-",isActive:"isActive-2mI1-NUL-",isGrayed:"isGrayed-1kWObWVr-",isTransparent:"isTransparent-sRmateFl-",isHidden:"isHidden-2VzaskeU-"}},1094:function(e,o){e.exports={dropdown:"dropdown-3_ASLzSj-",buttonWrap:"buttonWrap-3fZWypJl-",control:"control-1TyEfSIx-",arrow:"arrow-1cFKS5Ok-",arrowIcon:"arrowIcon-2wA7q8om-",isOpened:"isOpened-22vLOY9o-",isGrayed:"isGrayed-xr-mULNo-"}},1095:function(e,o){e.exports={wrap:"wrap-2I6DAtXG-",buttonIcon:"buttonIcon-2rBwJ1QM-",item:"item-31XunD5q-",hovered:"hovered-2A1Cpat5-",button:"button-21ihqWJ8-"}},1096:function(e,o){e.exports={item:"item-62xp8vsV-",enter:"enter-21AyqfcZ-",enterActive:"enterActive-kua-y7K8-",leave:"leave-4EzZ54xf-"}},1097:function(e,o){e.exports={container:"container-3_8ayT2Q-",mirror:"mirror-crJbq8d0-",background:"background-Q1Fcmxly-",arrow:"arrow-WcYWFXUn-"}},1098:function(e,o){e.exports={drawingToolbar:"drawingToolbar-U3_QXRof-",isHidden:"isHidden-2d-PYkzV-",inner:"inner-1xuW-gY4-",toggleButton:"toggleButton-13QgefpG-",collapsed:"collapsed-2trH0gCi-", -group:"group-2JyOhh7Z-",separator:"separator-1BAqp1-l-"}},701:function(e,o,t){"use strict";function n(e){var o,t=e.activeClass,n=e.children,i=e.className,l=e.icon,s=e.isActive,a=e.isBgFull,c=e.isGrayed,d=e.isHidden,p=e.isTransparent,v=e.onClick,z=e.title,u=e.buttonHotKey;return r.createElement("div",{className:h(A.button,i,s?t:"",(o={},o["apply-common-tooltip common-tooltip-vertical"]=!!z,o[A.isActive]=s,o[A.isBgFull]=a,o[A.isGrayed]=c,o[A.isHidden]=d,o[A.isTransparent]=p,o)),onClick:v,title:z,"data-tooltip-hotkey":u},r.createElement("div",{className:A.bg},l&&("string"==typeof l?r.createElement(T.a,{className:A.icon,icon:l}):r.createElement("span",{className:A.icon},l)),n))}function i(e){var o=e.action,t=e.isActive,i=e.isBgFull,l=e.isHidden,s=e.isTransparent,a=e.toolName;return r.createElement(n,{icon:g.a[a].icon,isActive:t,isBgFull:i,isHidden:l,isTransparent:s,onClick:o,title:g.a[a].localizedName})}function l(e){return r.createElement("svg",{xmlns:ie,width:"9",height:"27",viewBox:"0 0 9 27",className:h(ne.container,"right"===e.direction?ne.mirror:null)},r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{className:ne.background,d:"M4.5.5a4 4 0 0 1 4 4v18a4 4 0 1 1-8 0v-18a4 4 0 0 1 4-4z"}),r.createElement("path",{className:ne.arrow,d:"M5.5 10l-2 3.5 2 3.5"})))}var s,a,r,c,h,d,p,v,z,u,g,m,w,f,M,T,L,x,b,y,C,_,B,N,A,k,S,E,D,I,P,F,R,O,W,V,H,j,G,U,K,Z,q,J,Q,Y,X,$,ee,oe,te,ne,ie,le,se,ae,re,ce;Object.defineProperty(o,"__esModule",{value:!0}),s=t(1),t(11),a=t(127),r=t(20),c=t(59),h=t(103),d=t(49),p=t(5),v=t(32),z=t(31),u=t(71),g=t(853),m=function(){function e(e){this._drawingsAccess=e||{tools:[],type:"black"}}return e.prototype.isToolEnabled=function(e){var o=this._findTool(e);return!(!o||!o.grayed)||("black"===this._drawingsAccess.type?!o:!!o)},e.prototype.isToolGrayed=function(e){var o=this._findTool(e);return!(!o||!o.grayed)},e.prototype._findTool=function(e){return this._drawingsAccess.tools.find(function(o){return o.name===e})},e}(),w=[[{name:"cursor"},{name:"dot"},{name:"arrow"},{name:"eraser"}],[{name:"LineToolTrendLine"},{name:"LineToolInfoLine"},{name:"LineToolTrendAngle"},{name:"LineToolHorzLine",shortcut:{keys:"Alt+H",immediately:!0}},{name:"LineToolHorzRay"},{name:"LineToolVertLine",shortcut:{keys:"Alt+V",immediately:!0}},{name:"LineToolCrossLine",shortcut:{keys:"Alt+C",immediately:!0}},{name:"LineToolArrow"},{name:"LineToolRay"},{name:"LineToolExtended"},{name:"LineToolParallelChannel"},{name:"LineToolDisjointAngle"},{name:"LineToolFlatBottom"},null].filter(Boolean),[{name:"LineToolPitchfork"},{name:"LineToolSchiffPitchfork2"},{name:"LineToolSchiffPitchfork"},{name:"LineToolInsidePitchfork"},{name:"LineToolPitchfan"},{name:"LineToolGannSquare"},{name:"LineToolGannComplex"},{name:"LineToolGannFixed"},{name:"LineToolGannFan"},{name:"LineToolFibRetracement"},{name:"LineToolTrendBasedFibExtension"},{name:"LineToolFibSpeedResistanceFan"},{name:"LineToolFibTimeZone"},{name:"LineToolTrendBasedFibTime"},{name:"LineToolFibCircles"},{name:"LineToolFibSpiral"},{ -name:"LineToolFibSpeedResistanceArcs"},{name:"LineToolFibWedge"},{name:"LineToolFibChannel"}],[{name:"LineToolBrush"},{name:"LineToolRectangle"},{name:"LineToolRotatedRectangle"},{name:"LineToolEllipse"},{name:"LineToolTriangle"},{name:"LineToolPolyline"},{name:"LineToolBezierQuadro"},{name:"LineToolBezierCubic"},{name:"LineToolArc"}],[{name:"LineToolText"},{name:"LineToolTextAbsolute"},{name:"LineToolNote"},{name:"LineToolNoteAbsolute"},{name:"LineToolCallout"},{name:"LineToolBalloon"},{name:"LineToolPriceLabel"},{name:"LineToolArrowMarkLeft"},{name:"LineToolArrowMarkRight"},{name:"LineToolArrowMarkUp"},{name:"LineToolArrowMarkDown"},{name:"LineToolFlagMark"}],[{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"}],[{name:"LineToolRiskRewardLong"},{name:"LineToolRiskRewardShort"},{name:"LineToolPrediction"},{name:"LineToolDateRange"},{name:"LineToolPriceRange"},{name:"LineToolDateAndPriceRange"},{name:"LineToolBarsPattern"},{name:"LineToolGhostFeed"},{name:"LineToolProjection"}]],f=t(206),M=t(313),T=t(300),L=t(194),x=t(1092),b=t(184),y=t(990),C=function(e){function o(o){var t=e.call(this,o)||this;return t._scroll=null,t._handleScrollTop=function(){t.animateTo(Math.max(0,t.currentPosition()-(t.state.heightWrap-50)))},t._handleScrollBot=function(){t.animateTo(Math.min((t.state.heightContent||0)-(t.state.heightWrap||0),t.currentPosition()+(t.state.heightWrap-50)))},t._handleResizeWrap=function(e){var o=e.height;t.setState({heightWrap:o})},t._handleResizeContent=function(e){var o=e.height;t.setState({heightContent:o})},t._handleScroll=function(){var e=t.props.onScroll;e&&e(t.currentPosition(),t.isAtTop(),t.isAtBot()),t._checkButtonsVisibility()},t._checkButtonsVisibility=function(){var e,o,n,i,l;(t.props.isVisibleButtons||t.props.isVisibleFade)&&(e=t.state,o=e.isVisibleTopButton,n=e.isVisibleBotButton,i=t.isAtTop(),l=t.isAtBot(),i||o?i&&o&&t.setState({isVisibleTopButton:!1}):t.setState({isVisibleTopButton:!0}),l||n?l&&n&&t.setState({isVisibleBotButton:!1}):t.setState({isVisibleBotButton:!0}))},t.state={heightContent:0,heightWrap:0,isVisibleBotButton:!1,isVisibleTopButton:!1},t}return s.c(o,e),o.prototype.componentDidMount=function(){this._checkButtonsVisibility()},o.prototype.componentDidUpdate=function(e,o){o.heightWrap===this.state.heightWrap&&o.heightContent===this.state.heightContent||this._handleScroll()},o.prototype.currentPosition=function(){return this._scroll?this._scroll.scrollTop:0},o.prototype.isAtTop=function(){return this.currentPosition()<=1},o.prototype.isAtBot=function(){return this.currentPosition()+this.state.heightWrap>=this.state.heightContent-1},o.prototype.animateTo=function(e,o){if(void 0===o&&(o=b.dur),this._scroll){ -var t=c.findDOMNode(this._scroll);Object(L.doAnimate)({onStep:function(e,o){t.scrollTop=o},from:t.scrollTop,to:Math.round(e),easing:b.easingFunc.easeInOutCubic,duration:o})}},o.prototype.render=function(){var e,o,t,n,i,l=this,s=this.props,a=s.children,c=s.isVisibleScrollbar,d=s.isVisibleFade,p=s.isVisibleButtons,v=this.state,z=v.heightContent,u=v.heightWrap,g=v.isVisibleBotButton,m=v.isVisibleTopButton;return r.createElement(M,{whitelist:["height"],onMeasure:this._handleResizeWrap},r.createElement("div",{className:x.wrap},r.createElement("div",{className:h(x.scrollWrap,(e={},e[x.noScrollBar]=!c,e)),onScroll:this._handleScroll,ref:function(e){return l._scroll=e}},r.createElement(M,{onMeasure:this._handleResizeContent,whitelist:["height"]},r.createElement("div",{className:x.content},a))),d&&r.createElement("div",{className:h(x.fadeTop,(o={},o[x.isVisible]=m&&z>u,o))}),d&&r.createElement("div",{className:h(x.fadeBot,(t={},t[x.isVisible]=g&&z>u,t))}),p&&r.createElement("div",{className:h(x.scrollTop,(n={},n[x.isVisible]=m&&z>u,n)),onClick:this._handleScrollTop},r.createElement("div",{className:x.iconWrap},r.createElement(T.a,{icon:y,className:x.icon}))),p&&r.createElement("div",{className:h(x.scrollBot,(i={},i[x.isVisible]=g&&z>u,i)),onClick:this._handleScrollBot},r.createElement("div",{className:x.iconWrap},r.createElement(T.a,{icon:y,className:x.icon})))))},o.defaultProps={isVisibleScrollbar:!0},o}(r.PureComponent),_=t(852),B=t(324),N=t(844),A=t(1093),k=t(133),S=t(335),E=t(872),D=t(1094),I=t(1008),P=function(e){function o(o){var t=e.call(this,o)||this;return t._toggleDropdown=function(e){t.setState({isOpened:void 0!==e?e:!t.state.isOpened})},t._handleClose=function(){t._toggleDropdown(!1)},t._getDropdownPosition=function(){if(!t._control)return{x:0,y:0};var e=t._control.getBoundingClientRect();return{x:e.left+e.width+1,y:e.top-6}},t._handleClickArrow=function(){t._toggleDropdown()},t._handleTouchStart=function(){t.props.onClickButton(),t._toggleDropdown()},t._handlePressStart=function(){if(Modernizr.touch)t._longPressDelay||t.props.onClickButton();else{if(t._doubleClickDelay)return clearTimeout(t._doubleClickDelay),delete t._doubleClickDelay,void t._toggleDropdown(!0);t._doubleClickDelay=setTimeout(function(){delete t._doubleClickDelay,t._longPressDelay||t.props.onClickButton()},175)}t._longPressDelay=setTimeout(function(){delete t._longPressDelay,t._toggleDropdown(!0)},300)},t._handlePressEnd=function(){t._longPressDelay&&(clearTimeout(t._longPressDelay),delete t._longPressDelay,t.state.isOpened?t._toggleDropdown(!1):t.state.isOpened||!t.props.isActive||Modernizr.touch||t._toggleDropdown(!0))},t.state={isOpened:!1},t}return s.c(o,e),o.prototype.render=function(){var e,o=this,t=this.props,i=t.buttonActiveClass,l=t.buttonClass,s=t.buttonIcon,a=t.buttonTitle,c=t.buttonHotKey,d=t.children,p=t.isActive,v=t.isGrayed,z=t.onClickWhenGrayed,u=this.state.isOpened;return r.createElement("div",{className:h(D.dropdown,(e={},e["apply-common-tooltip common-tooltip-vertical"]=!!a,e[D.isGrayed]=v,e[D.isActive]=p,e[D.isOpened]=u,e)), -onClick:v?z:void 0,title:a,"data-tooltip-hotkey":c,"data-tooltip-delay":1500},r.createElement("div",{ref:function(e){return o._control=e},className:D.control},r.createElement("div",{className:D.buttonWrap,onMouseDown:v||Modernizr.touch?void 0:this._handlePressStart,onMouseUp:v||Modernizr.touch?void 0:this._handlePressEnd,onClick:!v&&Modernizr.touch?this._handleTouchStart:void 0},r.createElement(n,{activeClass:i,className:l,icon:s,isActive:p,isGrayed:v,isTransparent:!0})),!v&&!Modernizr.touch&&r.createElement("div",{className:D.arrow,onClick:this._handleClickArrow},r.createElement(T.a,{className:D.arrowIcon,icon:I}))),!v&&r.createElement(E.a,{doNotCloseOn:this,isOpened:u,onClose:this._handleClose,position:this._getDropdownPosition},d))},o}(r.PureComponent),F=t(849),R=t(1095),O={icon:window.t("Icon")},W=10,V=function(e){function o(o){var t=e.call(this,o)||this;return t._renderItem=function(e){return r.createElement("div",{className:R.item,key:e,onClick:function(){t._handleSelect(e),Object(N.b)()}},String.fromCharCode(e))},t._onChangeDrawingState=function(){t.setState({isActive:t._isActive()})},t._handleSelect=function(e){var o,n;Object(k.saveDefaults)("linetoolicon",s.a({},Object(k.defaults)("linetoolicon"),{icon:e})),v.tool.setValue("LineToolIcon"),o=t.state.recents,n=o.indexOf(e),-1!==n&&o.splice(n,1),o=[e].concat(o.slice(0,W-1)),Object(d.setJSON)("linetoolicon.recenticons",o),t.setState({current:e,recents:o})},t.state={current:Object(k.defaults)("linetoolicon").icon,recents:Object(d.getJSON)("linetoolicon.recenticons")||[]},t}return s.c(o,e),o.prototype.componentDidMount=function(){v.tool.subscribe(this._onChangeDrawingState),d.onSync.subscribe(this,this._onSyncSettings)},o.prototype.componentWillUnmount=function(){v.tool.unsubscribe(this._onChangeDrawingState),d.onSync.unsubscribe(this,this._onSyncSettings)},o.prototype.render=function(){var e=this,o=this.props,t=o.isGrayed,n=o.toolName,i=this.state,l=i.current,s=i.isActive,a=i.recents;return r.createElement(P,{buttonClass:R.button,buttonIcon:r.createElement("div",{className:R.buttonIcon},String.fromCharCode(l||S.availableIcons[0])),buttonTitle:O.icon,isActive:s,isGrayed:t,onClickButton:function(){return e._handleSelect(l||S.availableIcons[0])},onClickWhenGrayed:function(){return Object(z.emit)("onGrayedObjectClicked",{type:"drawing",name:g.a[n].localizedName})}},a&&[r.createElement("div",{key:"recent",className:R.wrap},a.map(this._renderItem)),r.createElement(F.a,{key:"separator"})],r.createElement("div",{key:"all",className:R.wrap},S.availableIcons.map(this._renderItem)))},o.prototype._isActive=function(){return v.tool.value()===this.props.toolName},o.prototype._onSyncSettings=function(){this.setState({recents:Object(d.getJSON)("linetoolicon.recenticons")})},o}(r.Component),H=t(3),j=function(e){function o(o){var t=e.call(this,o)||this;return t._handleClick=function(){t.props.saveDefaultOnChange&&Object(H.saveDefaultProperties)(!0),t.props.property.setValue(!t.props.property.value()),t.props.saveDefaultOnChange&&Object(H.saveDefaultProperties)(!1)},t.state={ -isActive:t.props.property.value()},t}return s.c(o,e),o.prototype.componentDidMount=function(){this.props.property.subscribe(this,this._onChange)},o.prototype.componentWillUnmount=function(){this.props.property.unsubscribe(this,this._onChange)},o.prototype.render=function(){var e=this.props.toolName,o=this.state.isActive,t=g.a[e];return r.createElement(n,{icon:o&&t.iconActive?t.iconActive:t.icon,isActive:o,onClick:this._handleClick,title:t.localizedName})},o.prototype._onChange=function(e){this.setState({isActive:e.value()})},o}(r.PureComponent),G=function(e){function o(o){var t=e.call(this,o)||this;return t._handleClick=function(){v.tool.setValue(t.props.toolName)},t._onChange=function(){t.setState({isActive:v.tool.value()===t.props.toolName})},t.state={isActive:v.tool.value()===t.props.toolName},t}return s.c(o,e),o.prototype.componentDidMount=function(){v.tool.subscribe(this._onChange)},o.prototype.componentWillUnmount=function(){v.tool.unsubscribe(this._onChange)},o.prototype.render=function(){var e=this.props.toolName,o=this.state.isActive,t=g.a[e];return r.createElement(n,{icon:g.a[e].icon,isActive:o,isTransparent:!0,onClick:this._handleClick,title:t.localizedName,buttonHotKey:t.hotKey})},o}(r.PureComponent),U=t(302),K=t(1096),Z=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return s.c(o,e),o.prototype.render=function(){var e=this.props.enterAnimationClass,o=void 0===e?K.enter:e,t=this.props.enterActiveAnimationClass,n=void 0===t?K.enterActive:t,i=this.props.enterLeaveAnimationClass,l=void 0===i?K.leave:i,s=this.props.itemClassName,a=void 0===s?K.item:s;return r.createElement(U.CSSTransitionGroup,{transitionName:{enter:o,enterActive:n,leave:l},transitionEnter:!0,transitionEnterTimeout:b.dur/2,transitionLeave:!0,transitionLeaveTimeout:.75*b.dur},this.props.isVisible&&r.createElement("div",{key:"button",className:a},this.props.children))},o}(r.PureComponent),q=function(e){function o(o){var t=e.call(this,o)||this;return t._boundUndoModel=null,t._handleClick=function(){var e=t._activeChartWidget().model();e&&e.zoomFromViewport()},t._syncUnzoomButton=function(){var e=t._activeChartWidget(),o=e.model(),n=!1;o?(t._boundUndoModel!==o&&(t._boundUndoModel&&t._boundUndoModel.zoomStack().onChange().unsubscribe(null,t._syncUnzoomButton),o.zoomStack().onChange().subscribe(null,t._syncUnzoomButton),t._boundUndoModel=o),n=!o.zoomStack().isEmpty()):e.withModel(null,t._syncUnzoomButton),t.setState({isVisible:n})},t.state={isVisible:!1},t}return s.c(o,e),o.prototype.componentDidMount=function(){this.props.chartWidgetCollection.activeChartWidget.subscribe(this._syncUnzoomButton,{callWithLast:!0})},o.prototype.componentWillUnmount=function(){this.props.chartWidgetCollection.activeChartWidget.unsubscribe(this._syncUnzoomButton)},o.prototype.render=function(){return r.createElement(Z,{isVisible:this.state.isVisible},r.createElement(i,{action:this._handleClick,isTransparent:!0,toolName:"zoom-out"}))},o.prototype._activeChartWidget=function(){return this.props.chartWidgetCollection.activeChartWidget.value()},o -}(r.PureComponent),J=t(1009),Q=t(878),Y=t(846),X=t(189),$=function(e){function o(){return null!==e&&e.apply(this,arguments)||this}return s.c(o,e),o.prototype.componentDidMount=function(){X.bind(this.props.keys,this.props.handler)},o.prototype.componentDidUpdate=function(e){this.props.keys===e.keys&&this.props.handler===e.handler||(X.unbind(e.keys),X.bind(this.props.keys,this.props.handler))},o.prototype.componentWillUnmount=function(){X.unbind(this.props.keys)},o.prototype.render=function(){return null},o}(r.PureComponent),ee=function(e){function o(o){var t,n=e.call(this,o)||this;return n._onChangeDrawingState=function(){var e=n._getActiveToolIndex();n.setState({current:-1!==e?e:n.state.current,isActive:-1!==e})},n._handleClickButton=function(){var e=n._getCurrentToolName();n._selectTool(e)},n._handleClickItem=function(e){n._selectTool(e)},n._handleGrayedClick=function(e){Object(z.emit)("onGrayedObjectClicked",{type:"drawing",name:g.a[e].localizedName})},n._handleShortcut=function(e){var o=n.props.lineTools.find(function(o){return o.name===e}),t=o&&o.shortcut;t&&t.immediately?n._drawLinetoolImmediately(e):n._selectTool(e)},n._drawLinetoolImmediately=function(e){var o=n.props.chartWidgetCollection.activeChartWidget.value();o.activePaneWidget&&o.activePaneWidget.drawRightThere(e)},n._handleClickFavorite=function(e){n.state.favState&&n.state.favState[e]?J.a.removeFavorite(e):J.a.addFavorite(e)},n._onAddFavorite=function(e){var o;n.setState({favState:s.a({},n.state.favState,(o={},o[e]=!0,o))})},n._onRemoveFavorite=function(e){var o;n.setState({favState:s.a({},n.state.favState,(o={},o[e]=!1,o))})},n._onSyncFavorites=function(){n.setState({favState:n._composeFavState()})},t=n._getActiveToolIndex(),n.state={current:-1===t?n._firstNonGrayedTool():t,favState:n._composeFavState(),isActive:-1!==t},n}return s.c(o,e),o.prototype.componentDidMount=function(){v.tool.subscribe(this._onChangeDrawingState),J.a.favoriteAdded.subscribe(null,this._onAddFavorite),J.a.favoriteRemoved.subscribe(null,this._onRemoveFavorite),J.a.favoritesSynced.subscribe(null,this._onSyncFavorites)},o.prototype.componentWillUnmount=function(){v.tool.unsubscribe(this._onChangeDrawingState),J.a.favoriteAdded.unsubscribe(null,this._onAddFavorite),J.a.favoriteRemoved.unsubscribe(null,this._onRemoveFavorite),J.a.favoritesSynced.unsubscribe(null,this._onSyncFavorites)},o.prototype.componentDidUpdate=function(e,o){e.lineTools!==this.props.lineTools&&this.setState({favState:this._composeFavState()})},o.prototype.render=function(){var e=this,o=this.props,t=o.favoriting,n=o.grayedTools,i=o.lineTools,l=this.state,s=l.current,a=l.favState,c=l.isActive,h=this._getCurrentToolName(),d=g.a[h],p=this._showHint();return r.createElement("span",null,r.createElement(P,{buttonIcon:d.icon,buttonTitle:d.localizedName,buttonHotKey:d.hotKey,isActive:c,onClickButton:this._handleClickButton},i.map(function(o,i){var l=o.name,h=g.a[l],d=n[l];return r.createElement(Y.a,{key:l,dontClosePopup:d,forceShowHint:p,hint:o.shortcut&&o.shortcut.keys,icon:h.icon,isActive:c&&s===i,appearAsDisabled:d, -label:h.localizedName,onClick:d?e._handleGrayedClick:e._handleClickItem,onClickArg:l,showToolboxOnHover:!a[l],toolbox:t&&!d?r.createElement(Q.a,{isFilled:a[l],onClick:e._handleClickFavorite,onClickArg:l}):void 0})})),i.map(function(o,t){var n=o.name,i=o.shortcut;return i&&r.createElement($,{handler:function(o){o.preventDefault(),e._handleShortcut(n)},key:n,keys:i.keys})}))},o.prototype._getCurrentToolName=function(){var e=this.state.current;return this.props.lineTools[e||0].name},o.prototype._firstNonGrayedTool=function(){var e=this.props,o=e.grayedTools;return e.lineTools.findIndex(function(e){return!o[e.name]})},o.prototype._getActiveToolIndex=function(){return this.props.lineTools.findIndex(function(e){return e.name===v.tool.value()})},o.prototype._showHint=function(){return this.props.lineTools.some(function(e){return"shortcut"in e})},o.prototype._selectTool=function(e){v.tool.setValue(e)},o.prototype._composeFavState=function(){var e={};return this.props.lineTools.forEach(function(o){e[o.name]=J.a.isFavorite(o.name)}),e},o}(r.PureComponent),oe={all:window.t("Remove Drawing Tools & Indicators"),drawings:window.t("Remove Drawing Tools"),studies:window.t("Remove Indicators")},te=function(e){function o(){var o=null!==e&&e.apply(this,arguments)||this;return o._handleRemoveDrawings=function(){o.props.chartWidgetCollection.activeChartWidget.value().removeAllDrawingTools()},o._handleRemoveStudies=function(){o.props.chartWidgetCollection.activeChartWidget.value().removeAllStudies()},o._handleRemoveAll=function(){o.props.chartWidgetCollection.activeChartWidget.value().removeAllStudiesDrawingTools()},o}return s.c(o,e),o.prototype.render=function(){return r.createElement(P,{buttonIcon:g.a[this.props.toolName].icon,buttonTitle:oe.drawings,onClickButton:this._handleRemoveDrawings},r.createElement(Y.a,{label:oe.drawings,onClick:this._handleRemoveDrawings}),r.createElement(Y.a,{label:oe.studies,onClick:this._handleRemoveStudies}),r.createElement(Y.a,{label:oe.all,onClick:this._handleRemoveAll}))},o}(r.PureComponent),ne=t(1097),ie="http://www.w3.org/2000/svg",le=t(334),se=t(1098),t.d(o,"DrawingToolbar",function(){return ce}),ae={hide:window.t("Hide Drawings Toolbar"),show:window.t("Show Drawings Toolbar")},re=Object(u.onWidget)(),ce=function(e){function o(o){var t=e.call(this,o)||this;return t._grayedTools={},t._handleChangeVisibility=function(e){t.setState({isVisible:e})},t._toggleVisibility=function(){f.isDrawingToolbarVisible.setValue(!f.isDrawingToolbarVisible.value())},t._handleEsc=function(){v.resetToCursor(!0),Object(N.b)()},v.init(),t._toolsFilter=new m(t.props.drawingsAccess),t._filteredLineTools=w.map(function(e){return e.filter(function(e){return t._toolsFilter.isToolEnabled(g.a[e.name].localizedName)})}).filter(function(e){return 0!==e.length}),t._filteredLineTools.forEach(function(e){return e.forEach(function(e){t._grayedTools[e.name]=t._toolsFilter.isToolGrayed(g.a[e.name].localizedName)})}),t.state={isVisible:f.isDrawingToolbarVisible.value()},t._features={favoriting:!re&&p.enabled("items_favoriting"), -multicharts:p.enabled("support_multicharts"),tools:!re||p.enabled("charting_library_base")},t._negotiateResizer(),t}return s.c(o,e),o.prototype.componentDidMount=function(){f.isDrawingToolbarVisible.subscribe(this._handleChangeVisibility),c.findDOMNode(this).addEventListener("contextmenu",function(e){return e.preventDefault()})},o.prototype.componentWillUnmount=function(){f.isDrawingToolbarVisible.unsubscribe(this._handleChangeVisibility)},o.prototype.componentDidUpdate=function(e,o){var t=this.state.isVisible;t!==o.isVisible&&(z.emit("toggle_sidebar",!t),d.setValue("ChartDrawingToolbarWidget.visible",t),this._negotiateResizer())},o.prototype.render=function(){var e,o=this,t=this.props,n=t.bgColor,s=t.chartWidgetCollection,a=t.readOnly,c=this.state.isVisible,d={backgroundColor:n&&"#"+n};return r.createElement("div",{className:h(se.drawingToolbar,(e={},e[se.isHidden]=!c,e)),style:d},r.createElement(C,{onScroll:N.b,isVisibleFade:Modernizr.touch,isVisibleButtons:!Modernizr.touch,isVisibleScrollbar:!1},r.createElement("div",{className:se.inner},!1,!a&&r.createElement("div",{className:se.group,style:d},this._filteredLineTools.map(function(e,t){return r.createElement(ee,{chartWidgetCollection:s,favoriting:o._features.favoriting,grayedTools:o._grayedTools,key:t,lineTools:e})}),this._toolsFilter.isToolEnabled("Font Icons")&&r.createElement(V,{isGrayed:this._grayedTools["Font Icons"],toolName:"LineToolIcon"})),!a&&r.createElement("div",{className:se.group,style:d},r.createElement(G,{toolName:"measure"}),r.createElement(G,{toolName:"zoom"}),r.createElement(q,{chartWidgetCollection:s})),!a&&r.createElement("div",{className:se.group,style:d},r.createElement(j,{property:v.properties().magnet,saveDefaultOnChange:!0,toolName:"magnet"}),this._features.tools&&r.createElement(j,{property:v.properties().stayInDrawingMode,saveDefaultOnChange:!0,toolName:"drawginmode"}),this._features.tools&&r.createElement(j,{property:v.lockDrawings(),toolName:"lockAllDrawings"}),this._features.tools&&r.createElement(j,{property:v.hideAllDrawings(),toolName:"hideAllDrawings"}),!1),!a&&this._features.tools&&r.createElement("div",{className:se.group,style:d},r.createElement(i,{action:function(){return o._activeChartWidget().showObjectsTreeDialog()},toolName:"showObjectsTree"}),r.createElement(te,{chartWidgetCollection:s,toolName:"removeAllDrawingTools"})))),r.createElement("div",{className:h(se.toggleButton,"apply-common-tooltip common-tooltip-vertical",!c&&se.collapsed),onClick:this._toggleVisibility,title:c?ae.hide:ae.show},r.createElement(l,{direction:c?"left":"right"})),r.createElement(_.a,{keyCode:B.a.Escape,handler:this._handleEsc}))},o.prototype._activeChartWidget=function(){return this.props.chartWidgetCollection.activeChartWidget.value()},o.prototype._negotiateResizer=function(){this.props.resizerBridge.negotiateWidth(this.state.isVisible?le.b:le.a)},o}(r.PureComponent)},844:function(e,o,t){"use strict";function n(){v.fire()}var i,l,s,a,r,c,h,d,p,v;t.d(o,"a",function(){return p}),o.b=n,i=t(1),l=t(20),t.n(l),s=t(103),t.n(s),a=t(7),t.n(a),r=t(50), -c=t(871),t.n(c),h=t(8),d=t.n(h),p=function(e){function o(o){var t=e.call(this,o)||this;return t._containerRef=null,t._scrollWrapRef=null,t._handleContainerRef=function(e){return t._containerRef=e},t._handleScrollWrapRef=function(e){return t._scrollWrapRef=e},t._handleMeasure=function(){var e,o,n,i,l,s,c,h,d,p,v,z,u,g,m,w,f;t.state.isMeasureValid||(e=t.props.position,o=Object(a.ensureNotNull)(t._containerRef),n=o.getBoundingClientRect(),i=document.documentElement.clientHeight,l=document.documentElement.clientWidth,s=i-10,c=n.height>s,c&&(h=Object(a.ensureNotNull)(t._scrollWrapRef),h.style.overflowY="scroll",n=o.getBoundingClientRect()),d=n.width,p=n.height,v="function"==typeof e?e(d,p):e,z=5,u=l-d-5,g=Object(r.clamp)(v.x,z,Math.max(z,u)),m=5,w=i-p-5,f=Object(r.clamp)(v.y,m,Math.max(m,w)),t.setState({appearingMenuHeight:c?s:void 0,appearingMenuWidth:v.overrideWidth,appearingPosition:{x:g,y:f},isMeasureValid:!0}))},t._handleGlobalClose=function(){t.props.onClose()},t.state={},t}return i.c(o,e),o.prototype.componentWillReceiveProps=function(e){this.props.isOpened&&!e.isOpened&&this.setState({isMeasureValid:void 0})},o.prototype.componentDidMount=function(){this._handleMeasure(),v.subscribe(this,this._handleGlobalClose)},o.prototype.componentDidUpdate=function(){this._handleMeasure()},o.prototype.componentWillUnmount=function(){v.unsubscribe(this,this._handleGlobalClose)},o.prototype.render=function(){var e,o=this.props,t=o.children,n=o.minWidth,i=o.theme,a=void 0===i?c:i,r=o.className,h=this.state,d=h.appearingMenuHeight,p=h.appearingMenuWidth,v=h.appearingPosition,z=h.isMeasureValid;return l.createElement("div",{className:s(r,a.menuWrap,(e={},e[a.isMeasuring]=!z,e)),style:{height:d,left:v&&v.x,minWidth:n,position:"fixed",top:v&&v.y,width:p},ref:this._handleContainerRef},l.createElement("div",{className:a.scrollWrap,style:{overflowY:void 0!==d?"scroll":"auto"},ref:this._handleScrollWrapRef},l.createElement("div",{className:a.menuBox},t)))},o}(l.PureComponent),v=new d.a},846:function(e,o,t){"use strict";function n(e){return s.createElement(e.href?"a":"div",e)}function i(e){e.stopPropagation()}var l,s,a,r,c,h;t.d(o,"a",function(){return h}),l=t(1),s=t(20),t.n(s),a=t(103),t.n(a),r=t(844),c=t(879),t.n(c),h=function(e){function o(){var o=null!==e&&e.apply(this,arguments)||this;return o._handleClick=function(e){var t=o.props,n=t.dontClosePopup,i=t.isDisabled,l=t.onClick,s=t.onClickArg;i||(l&&l(s,e),n||Object(r.b)())},o}return l.c(o,e),o.prototype.render=function(){var e,o,t=this.props,l=t.className,r=t.forceShowHint,h=t.hint,d=t.icon,p=t.isActive,v=t.isDisabled,z=t.isHovered,u=t.appearAsDisabled,g=t.label,m=t.link,w=t.showToolboxOnHover,f=t.target,M=t.toolbox,T=t.theme,L=void 0===T?c:T;return s.createElement(n,{className:a(l,L.item,d&&L.withIcon,(e={},e[L.isActive]=p,e[L.isDisabled]=v||u,e[L.hovered]=z,e)),href:m,target:f,onClick:this._handleClick},void 0!==d&&s.createElement("div",{className:L.icon,dangerouslySetInnerHTML:{__html:d}}),s.createElement("div",{className:L.labelRow},s.createElement("div",{className:L.label -},g)),(void 0!==h||r)&&s.createElement("div",{className:L.hint},h),void 0!==M&&s.createElement("div",{onClick:i,className:a(L.toolbox,(o={},o[L.showOnHover]=w,o))},M))},o}(s.PureComponent)},849:function(e,o,t){"use strict";function n(e){return i.createElement("div",{className:l.separator})}var i,l;o.a=n,i=t(20),t.n(i),l=t(881),t.n(l)},852:function(e,o,t){"use strict";var n,i,l;t.d(o,"a",function(){return l}),n=t(1),i=t(20),t.n(i),l=function(e){function o(){var o=null!==e&&e.apply(this,arguments)||this;return o._handleKeyDown=function(e){e.keyCode===o.props.keyCode&&o.props.handler(e)},o}return n.c(o,e),o.prototype.componentDidMount=function(){document.addEventListener("keydown",this._handleKeyDown,!1)},o.prototype.componentWillUnmount=function(){document.removeEventListener("keydown",this._handleKeyDown,!1)},o.prototype.render=function(){return null},o}(i.PureComponent)},853:function(e,o,t){"use strict";var n,i,l,s,a=(t(11),t(306)),r=t(875),c={SyncDrawing:t(991),arrow:t(992),cursor:t(993),dot:t(994),drawginmode:t(995),drawginmodeActive:t(996),eraser:t(997),group:t(998),hideAllDrawings:t(885),hideAllDrawingsActive:t(999),lockAllDrawings:t(1e3),lockAllDrawingsActive:t(1001),magnet:t(1002),measure:t(1003),removeAllDrawingTools:t(1004),showObjectsTree:t(1005),zoom:t(1006),"zoom-out":t(1007)};t.d(o,"a",function(){return s}),n={keys:["Shift"],text:window.t("{0} — drawing a straight line at angles of 45")},i={keys:["Shift"],text:window.t("{0} — circle")},l={keys:["Shift"],text:window.t("{0} — square")},s={LineTool5PointsPattern:{icon:r.lineToolsIcons.LineTool5PointsPattern,localizedName:window.t("XABCD Pattern")},LineToolABCD:{icon:r.lineToolsIcons.LineToolABCD,localizedName:window.t("ABCD Pattern")},LineToolArc:{icon:r.lineToolsIcons.LineToolArc,localizedName:window.t("Arc")},LineToolArrow:{icon:r.lineToolsIcons.LineToolArrow,localizedName:window.t("Arrow")},LineToolArrowMarkDown:{icon:r.lineToolsIcons.LineToolArrowMarkDown,localizedName:window.t("Arrow Mark Down")},LineToolArrowMarkLeft:{icon:r.lineToolsIcons.LineToolArrowMarkLeft,localizedName:window.t("Arrow Mark Left")},LineToolArrowMarkRight:{icon:r.lineToolsIcons.LineToolArrowMarkRight,localizedName:window.t("Arrow Mark Right")},LineToolArrowMarkUp:{icon:r.lineToolsIcons.LineToolArrowMarkUp,localizedName:window.t("Arrow Mark Up")},LineToolBalloon:{icon:r.lineToolsIcons.LineToolBalloon,localizedName:window.t("Balloon")},LineToolBarsPattern:{icon:r.lineToolsIcons.LineToolBarsPattern,localizedName:window.t("Bars Pattern")},LineToolBezierCubic:{icon:r.lineToolsIcons.LineToolBezierCubic,localizedName:window.t("Double Curve")},LineToolBezierQuadro:{icon:r.lineToolsIcons.LineToolBezierQuadro,localizedName:window.t("Curve")},LineToolBrush:{icon:r.lineToolsIcons.LineToolBrush,localizedName:window.t("Brush")},LineToolCallout:{icon:r.lineToolsIcons.LineToolCallout,localizedName:window.t("Callout")},LineToolCircleLines:{icon:r.lineToolsIcons.LineToolCircleLines,localizedName:window.t("Cyclic Lines")},LineToolCypherPattern:{icon:r.lineToolsIcons.LineToolCypherPattern, -localizedName:window.t("Cypher Pattern")},LineToolDateAndPriceRange:{icon:r.lineToolsIcons.LineToolDateAndPriceRange,localizedName:window.t("Date and Price Range")},LineToolDateRange:{icon:r.lineToolsIcons.LineToolDateRange,localizedName:window.t("Date Range")},LineToolDisjointAngle:{icon:r.lineToolsIcons.LineToolDisjointAngle,localizedName:window.t("Disjoint Angle"),hotKey:Object(a.b)(n)},LineToolElliottCorrection:{icon:r.lineToolsIcons.LineToolElliottCorrection,localizedName:window.t("Elliott Correction Wave (ABC)")},LineToolElliottDoubleCombo:{icon:r.lineToolsIcons.LineToolElliottDoubleCombo,localizedName:window.t("Elliott Double Combo Wave (WXY)")},LineToolElliottImpulse:{icon:r.lineToolsIcons.LineToolElliottImpulse,localizedName:window.t("Elliott Impulse Wave (12345)")},LineToolElliottTriangle:{icon:r.lineToolsIcons.LineToolElliottTriangle,localizedName:window.t("Elliott Triangle Wave (ABCDE)")},LineToolElliottTripleCombo:{icon:r.lineToolsIcons.LineToolElliottTripleCombo,localizedName:window.t("Elliott Triple Combo Wave (WXYXZ)")},LineToolEllipse:{icon:r.lineToolsIcons.LineToolEllipse,localizedName:window.t("Ellipse"),hotKey:Object(a.b)(i)},LineToolExtended:{icon:r.lineToolsIcons.LineToolExtended,localizedName:window.t("Extended")},LineToolFibChannel:{icon:r.lineToolsIcons.LineToolFibChannel,localizedName:window.t("Fib Channel")},LineToolFibCircles:{icon:r.lineToolsIcons.LineToolFibCircles,localizedName:window.t("Fib Circles"),hotKey:Object(a.b)(i)},LineToolFibRetracement:{icon:r.lineToolsIcons.LineToolFibRetracement,localizedName:window.t("Fib Retracement")},LineToolFibSpeedResistanceArcs:{icon:r.lineToolsIcons.LineToolFibSpeedResistanceArcs,localizedName:window.t("Fib Speed Resistance Arcs")},LineToolFibSpeedResistanceFan:{icon:r.lineToolsIcons.LineToolFibSpeedResistanceFan,localizedName:window.t("Fib Speed Resistance Fan"),hotKey:Object(a.b)(l)},LineToolFibSpiral:{icon:r.lineToolsIcons.LineToolFibSpiral,localizedName:window.t("Fib Spiral")},LineToolFibTimeZone:{icon:r.lineToolsIcons.LineToolFibTimeZone,localizedName:window.t("Fib Time Zone")},LineToolFibWedge:{icon:r.lineToolsIcons.LineToolFibWedge,localizedName:window.t("Fib Wedge")},LineToolFlagMark:{icon:r.lineToolsIcons.LineToolFlagMark,localizedName:window.t("Flag Mark")},LineToolFlatBottom:{icon:r.lineToolsIcons.LineToolFlatBottom,localizedName:window.t("Flat Top/Bottom"),hotKey:Object(a.b)(n)},LineToolGannComplex:{icon:r.lineToolsIcons.LineToolGannComplex,localizedName:window.t("Gann Square")},LineToolGannFixed:{icon:r.lineToolsIcons.LineToolGannFixed,localizedName:window.t("Gann Square Fixed")},LineToolGannFan:{icon:r.lineToolsIcons.LineToolGannFan,localizedName:window.t("Gann Fan")},LineToolGannSquare:{icon:r.lineToolsIcons.LineToolGannSquare,localizedName:window.t("Gann Box"),hotKey:Object(a.b)({keys:["Shift"],text:window.t("{0} — fixed increments")})},LineToolGhostFeed:{icon:r.lineToolsIcons.LineToolGhostFeed,localizedName:window.t("Ghost Feed")},LineToolHeadAndShoulders:{icon:r.lineToolsIcons.LineToolHeadAndShoulders, -localizedName:window.t("Head and Shoulders")},LineToolHorzLine:{icon:r.lineToolsIcons.LineToolHorzLine,localizedName:window.t("Horizontal Line"),hotKey:Object(a.b)({keys:["Alt","H"],text:"{0} + {1}"})},LineToolHorzRay:{icon:r.lineToolsIcons.LineToolHorzRay,localizedName:window.t("Horizontal Ray")},LineToolIcon:{icon:r.lineToolsIcons.LineToolIcon,localizedName:window.t("Font Icons")},LineToolInsidePitchfork:{icon:r.lineToolsIcons.LineToolInsidePitchfork,localizedName:window.t("Inside Pitchfork")},LineToolNote:{icon:r.lineToolsIcons.LineToolNote,localizedName:window.t("Note")},LineToolNoteAbsolute:{icon:r.lineToolsIcons.LineToolNoteAbsolute,localizedName:window.t("Anchored Note")},LineToolParallelChannel:{icon:r.lineToolsIcons.LineToolParallelChannel,localizedName:window.t("Parallel Channel"),hotKey:Object(a.b)(n)},LineToolPitchfan:{icon:r.lineToolsIcons.LineToolPitchfan,localizedName:window.t("Pitchfan")},LineToolPitchfork:{icon:r.lineToolsIcons.LineToolPitchfork,localizedName:window.t("Pitchfork")},LineToolPolyline:{icon:r.lineToolsIcons.LineToolPolyline,localizedName:window.t("Polyline")},LineToolPrediction:{icon:r.lineToolsIcons.LineToolPrediction,localizedName:window.t("Forecast")},LineToolPriceLabel:{icon:r.lineToolsIcons.LineToolPriceLabel,localizedName:window.t("Price Label")},LineToolPriceRange:{icon:r.lineToolsIcons.LineToolPriceRange,localizedName:window.t("Price Range")},LineToolProjection:{icon:r.lineToolsIcons.LineToolProjection,localizedName:window.t("Projection")},LineToolRay:{icon:r.lineToolsIcons.LineToolRay,localizedName:window.t("Ray")},LineToolRectangle:{icon:r.lineToolsIcons.LineToolRectangle,localizedName:window.t("Rectangle"),hotKey:Object(a.b)({keys:["Shift"],text:window.t("{0} — square")})},LineToolRegressionTrend:{icon:r.lineToolsIcons.LineToolRegressionTrend,localizedName:window.t("Regression Trend")},LineToolRiskRewardLong:{icon:r.lineToolsIcons.LineToolRiskRewardLong,localizedName:window.t("Long Position")},LineToolRiskRewardShort:{icon:r.lineToolsIcons.LineToolRiskRewardShort,localizedName:window.t("Short Position")},LineToolRotatedRectangle:{icon:r.lineToolsIcons.LineToolRotatedRectangle,localizedName:window.t("Rotated Rectangle"),hotKey:Object(a.b)(n)},LineToolSchiffPitchfork:{icon:r.lineToolsIcons.LineToolSchiffPitchfork,localizedName:window.t("Modified Schiff Pitchfork")},LineToolSchiffPitchfork2:{icon:r.lineToolsIcons.LineToolSchiffPitchfork2,localizedName:window.t("Schiff Pitchfork")},LineToolSineLine:{icon:r.lineToolsIcons.LineToolSineLine,localizedName:window.t("Sine Line")},LineToolText:{icon:r.lineToolsIcons.LineToolText,localizedName:window.t("Text",{context:"tool"})},LineToolTextAbsolute:{icon:r.lineToolsIcons.LineToolTextAbsolute,localizedName:window.t("Anchored Text")},LineToolThreeDrivers:{icon:r.lineToolsIcons.LineToolThreeDrivers,localizedName:window.t("Three Drives Pattern")},LineToolTimeCycles:{icon:r.lineToolsIcons.LineToolTimeCycles,localizedName:window.t("Time Cycles")},LineToolTrendAngle:{icon:r.lineToolsIcons.LineToolTrendAngle, -localizedName:window.t("Trend Angle"),hotKey:Object(a.b)(n)},LineToolTrendBasedFibExtension:{icon:r.lineToolsIcons.LineToolTrendBasedFibExtension,localizedName:window.t("Trend-Based Fib Extension")},LineToolTrendBasedFibTime:{icon:r.lineToolsIcons.LineToolTrendBasedFibTime,localizedName:window.t("Trend-Based Fib Time")},LineToolTrendLine:{icon:r.lineToolsIcons.LineToolTrendLine,localizedName:window.t("Trend Line"),hotKey:Object(a.b)(n)},LineToolInfoLine:{icon:r.lineToolsIcons.LineToolInfoLine,localizedName:window.t("Info Line")},LineToolTriangle:{icon:r.lineToolsIcons.LineToolTriangle,localizedName:window.t("Triangle")},LineToolTrianglePattern:{icon:r.lineToolsIcons.LineToolTrianglePattern,localizedName:window.t("Triangle Pattern")},LineToolVertLine:{icon:r.lineToolsIcons.LineToolVertLine,localizedName:window.t("Vertical Line"),hotKey:Object(a.b)({keys:["Alt","V"],text:"{0} + {1}"})},LineToolCrossLine:{icon:r.lineToolsIcons.LineToolCrossLine,localizedName:$.t("Cross Line")},SyncDrawing:{icon:c.SyncDrawing,iconActive:c.SyncDrawingActive,localizedName:window.t("Sync drawings to all charts")},arrow:{icon:c.arrow,localizedName:window.t("Arrow")},cursor:{icon:c.cursor,localizedName:window.t("Cross")},dot:{icon:c.dot,localizedName:window.t("Dot")},drawginmode:{icon:c.drawginmode,iconActive:c.drawginmodeActive,localizedName:window.t("Stay in Drawing Mode")},eraser:{icon:c.eraser,localizedName:window.t("Eraser")},group:{icon:c.group,localizedName:window.t("Show Hidden Tools")},hideAllDrawings:{icon:c.hideAllDrawings,iconActive:c.hideAllDrawingsActive,localizedName:window.t("Hide All Drawing Tools")},lockAllDrawings:{icon:c.lockAllDrawings,iconActive:c.lockAllDrawingsActive,localizedName:window.t("Lock All Drawing Tools")},magnet:{icon:c.magnet,localizedName:window.t("Magnet Mode snaps drawings placed near price bars to the closest OHLC value")},measure:{icon:c.measure,localizedName:window.t("Measure"),hotKey:Object(a.b)({keys:["Shift"],text:window.t("{0} + Click on the chart")})},removeAllDrawingTools:{icon:c.removeAllDrawingTools,localizedName:window.t("Remove All Drawing Tools")},showObjectsTree:{icon:c.showObjectsTree,localizedName:window.t("Show Objects Tree")},zoom:{icon:c.zoom,localizedName:window.t("Zoom In")},"zoom-out":{icon:c["zoom-out"],localizedName:window.t("Zoom Out")}}},869:function(e,o){e.exports=''},870:function(e,o){ -e.exports=''},871:function(e,o){e.exports={menuWrap:"menuWrap-1gEtmoET-",isMeasuring:"isMeasuring-FZ0EJCM2-",scrollWrap:"scrollWrap-1B5MfTJt-",menuBox:"menuBox-20sJGjtG-",isHidden:"isHidden-2vLQpR1t-"}},872:function(e,o,t){"use strict";function n(e){var o=p(e),t=document.getElementById(o);return t||(t=document.createElement("div"),t.id=o,document.body.appendChild(t)),d[e]=(d[e]||0)+1,t}function i(e){var o=p(e),t=document.getElementById(o);d[e]&&(d[e]-=1),t&&0===d[e]&&document.body.removeChild(t)}var l,s=t(1),a=(t(127),t(20)),r=t(59),c=t(304),h=0,d={},p=function(e){return"__outside-render-"+e},v=function(e){function o(o){return e.call(this,o)||this}return s.c(o,e),o.prototype.componentDidMount=function(){this._rememberLayer(),this._renderLayer()},o.prototype.componentDidUpdate=function(e){this.props.layerId!==e.layerId&&(i(this._layerId),this._rememberLayer()),this._renderLayer()},o.prototype.componentWillUnmount=function(){r.unmountComponentAtNode(this._layer),i(this._layerId)},o.prototype.render=function(){return null},o.prototype._rememberLayer=function(){var e=this.props.layerId,o=void 0===e?h+++"":e;this._layerId=o,this._layer=n(o)},o.prototype._renderLayer=function(){r.render(a.createElement("div",null,this.props.children),this._layer)},o}(a.Component),z=t(844);t.d(o,"a",function(){return l}),l=function(e){function o(){var o=null!==e&&e.apply(this,arguments)||this;return o._handleClose=function(){o.props.onClose()},o._handleClickOutside=function(e){var t=o.props,n=t.closeOnClickOutside,i=t.onClickOutside,l=t.doNotCloseOn;i&&i(e),!n||void 0!==l&&r.findDOMNode(l).contains(e.target)||o._handleClose()},o}return s.c(o,e),o.prototype.componentWillReceiveProps=function(e){this.props.isOpened&&!e.isOpened&&this.setState({isMeasureValid:void 0})},o.prototype.render=function(){var e=this.props,o=e.children,t=e.isOpened,n=(e.closeOnClickOutside,e.doNotCloseOn,e.onClickOutside,e.onClose,s.e(e,["children","isOpened","closeOnClickOutside","doNotCloseOn","onClickOutside","onClose"]));return t?a.createElement(v,null,a.createElement(c.a,{handler:this._handleClickOutside,mouseDown:!0,touchStart:!0,ctor:"div"},a.createElement(z.a,s.a({},n,{isOpened:t, -onClose:this._handleClose}),o))):null},o.defaultProps={closeOnClickOutside:!0},o}(a.PureComponent)},875:function(e,o,t){"use strict";Object.defineProperty(o,"__esModule",{value:!0}),t.d(o,"lineToolsIcons",function(){return n});var n={LineTool5PointsPattern:t(886),LineToolABCD:t(887),LineToolArc:t(888),LineToolArrow:t(889),LineToolArrowMarkDown:t(890),LineToolArrowMarkLeft:t(891),LineToolArrowMarkRight:t(892),LineToolArrowMarkUp:t(893),LineToolBalloon:t(894),LineToolBarsPattern:t(895),LineToolBezierCubic:t(896),LineToolBezierQuadro:t(897),LineToolBrush:t(898),LineToolCallout:t(899),LineToolCircleLines:t(900),LineToolCypherPattern:t(901),LineToolDateAndPriceRange:t(902),LineToolDateRange:t(903),LineToolDisjointAngle:t(904),LineToolElliottCorrection:t(905),LineToolElliottDoubleCombo:t(906),LineToolElliottImpulse:t(907),LineToolElliottTriangle:t(908),LineToolElliottTripleCombo:t(909),LineToolEllipse:t(910),LineToolExtended:t(911),LineToolFibChannel:t(912),LineToolFibCircles:t(913),LineToolFibRetracement:t(914),LineToolFibSpeedResistanceArcs:t(915),LineToolFibSpeedResistanceFan:t(916),LineToolFibSpiral:t(917),LineToolFibTimeZone:t(918),LineToolFibWedge:t(919),LineToolFlagMark:t(920),LineToolFlatBottom:t(921),LineToolGannComplex:t(922),LineToolGannFixed:t(923),LineToolGannFan:t(924),LineToolGannSquare:t(925),LineToolGhostFeed:t(926),LineToolHeadAndShoulders:t(927),LineToolHorzLine:t(928),LineToolHorzRay:t(929),LineToolIcon:"icon",LineToolInsidePitchfork:t(930),LineToolNote:t(931),LineToolNoteAbsolute:t(932),LineToolParallelChannel:t(933),LineToolPitchfan:t(934),LineToolPitchfork:t(935),LineToolPolyline:t(936),LineToolPrediction:t(937),LineToolPriceLabel:t(938),LineToolPriceRange:t(939),LineToolProjection:t(940),LineToolRay:t(941),LineToolRectangle:t(942),LineToolRegressionTrend:t(943),LineToolRiskRewardLong:t(944),LineToolRiskRewardShort:t(945),LineToolRotatedRectangle:t(946),LineToolSchiffPitchfork:t(947),LineToolSchiffPitchfork2:t(948),LineToolSineLine:t(949),LineToolText:t(950),LineToolTextAbsolute:t(951),LineToolThreeDrivers:t(952),LineToolTimeCycles:t(953),LineToolTrendAngle:t(954),LineToolTrendBasedFibExtension:t(955),LineToolTrendBasedFibTime:t(956),LineToolTrendLine:t(957),LineToolInfoLine:t(958),LineToolTriangle:t(959),LineToolTrianglePattern:t(960),LineToolVertLine:t(961),LineToolCrossLine:t(962)}},878:function(e,o,t){"use strict";var n,i,l,s,a,r,c,h;t.d(o,"a",function(){return h}),n=t(1),t(11),i=t(20),t.n(i),l=t(103),t.n(l),s=t(987),t.n(s),a=t(869),t.n(a),r=t(870),t.n(r),c={add:window.t("Add to favorites"),remove:window.t("Remove from favorites")},h=function(e){function o(){var o=null!==e&&e.apply(this,arguments)||this;return o._handleClick=function(e){var t=o.props,n=t.onClick,i=t.onClickArg;n&&n(i,e)},o}return n.c(o,e),o.prototype.render=function(){var e,o=this.props.isFilled;return i.createElement("span",{className:l(s.star,"apply-common-tooltip",(e={},e[s.checked]=o,e)),dangerouslySetInnerHTML:{__html:o?a:r},onClick:this._handleClick,title:o?c.remove:c.add})},o}(i.PureComponent)},879:function(e,o){ -e.exports={item:"item-2xPVYue0-",hovered:"hovered-1uf45E05-",isDisabled:"isDisabled-1wLqKupj-",isActive:"isActive-2j-GhQs_-",icon:"icon-2Qm7YIcz-",hint:"hint-1IhIvLPB-",toolbox:"toolbox-3ulPxfe--",withIcon:"withIcon-1xBjf-oB-",labelRow:"labelRow-3Q0rdE8--",label:"label-3Xqxy756-",showOnHover:"showOnHover-1q6ySzZc-"}},881:function(e,o){e.exports={separator:"separator-25lkUpN--"}},885:function(e,o){e.exports=''},886:function(e,o){e.exports=''},887:function(e,o){ -e.exports=''},888:function(e,o){e.exports=''},889:function(e,o){e.exports=''},890:function(e,o){e.exports=''},891:function(e,o){ -e.exports=''},892:function(e,o){e.exports=''},893:function(e,o){e.exports=''},894:function(e,o){e.exports=''},895:function(e,o){e.exports=''},896:function(e,o){e.exports=''},897:function(e,o){ -e.exports=''},898:function(e,o){e.exports=''},899:function(e,o){e.exports=''},900:function(e,o){e.exports=''},901:function(e,o){ -e.exports=''},902:function(e,o){e.exports=''},903:function(e,o){ -e.exports=''},904:function(e,o){e.exports=''},905:function(e,o){ -e.exports=''},906:function(e,o){e.exports=''},907:function(e,o){ -e.exports=''},908:function(e,o){e.exports=''},909:function(e,o){ -e.exports=''},910:function(e,o){e.exports=''},911:function(e,o){ -e.exports=''},912:function(e,o){e.exports=''},913:function(e,o){e.exports=''},914:function(e,o){ -e.exports=''},915:function(e,o){e.exports=''},916:function(e,o){e.exports=''},917:function(e,o){ -e.exports=''},918:function(e,o){e.exports=''},919:function(e,o){e.exports=''},920:function(e,o){e.exports=''},921:function(e,o){ -e.exports=''},922:function(e,o){e.exports=''},923:function(e,o){e.exports=''},924:function(e,o){ -e.exports=''},925:function(e,o){e.exports=''},926:function(e,o){e.exports=''},927:function(e,o){ -e.exports=''},928:function(e,o){e.exports=''},929:function(e,o){e.exports=''},930:function(e,o){ -e.exports=''},931:function(e,o){e.exports=''},932:function(e,o){e.exports=''},933:function(e,o){e.exports=''},934:function(e,o){ -e.exports=''},935:function(e,o){e.exports=''},936:function(e,o){ -e.exports=''},937:function(e,o){e.exports=''},938:function(e,o){e.exports=''},939:function(e,o){ -e.exports=''},940:function(e,o){e.exports=''},941:function(e,o){e.exports=''},942:function(e,o){e.exports=''},943:function(e,o){ -e.exports=''},944:function(e,o){e.exports=''},945:function(e,o){e.exports=''},946:function(e,o){ -e.exports=''},947:function(e,o){e.exports=''},948:function(e,o){ -e.exports=''},949:function(e,o){e.exports=''},950:function(e,o){e.exports=''},951:function(e,o){e.exports=''},952:function(e,o){ -e.exports=''},953:function(e,o){e.exports=''},954:function(e,o){ -e.exports=''},955:function(e,o){e.exports=''},956:function(e,o){e.exports=''},957:function(e,o){e.exports=''},958:function(e,o){ -e.exports=''},959:function(e,o){e.exports=''},960:function(e,o){ -e.exports=''},961:function(e,o){e.exports=''},962:function(e,o){e.exports=''},987:function(e,o){e.exports={star:"star-uhAI7sV4-",checked:"checked-2bhy04CF-"}},990:function(e,o){e.exports=''},991:function(e,o){e.exports=''},992:function(e,o){ -e.exports=''},993:function(e,o){e.exports=''},994:function(e,o){e.exports=''},995:function(e,o){e.exports=''},996:function(e,o){e.exports=''},997:function(e,o){e.exports=''},998:function(e,o){ -e.exports=''},999:function(e,o){e.exports=''}}); \ No newline at end of file diff --git a/charting_library/static/bundles/ds-property-pages.0ec3f0e39331586d5be1.js b/charting_library/static/bundles/ds-property-pages.0ec3f0e39331586d5be1.js deleted file mode 100644 index ffe7e966..00000000 --- a/charting_library/static/bundles/ds-property-pages.0ec3f0e39331586d5be1.js +++ /dev/null @@ -1,95 +0,0 @@ -webpackJsonp([6],{1031:function(e,t,i){"use strict";(function(t){function o(){}var n=i(823),a=n.PropertyPage,s=n.GreateTransformer,r=n.LessTransformer,l=n.ToIntTransformer,p=n.ToFloatTransformer,d=n.SimpleStringBinder,h=n.SimpleComboBinder,c=n.ColorBinding,u=n.BooleanBinder,b=n.SliderBinder,y=n.generateLabelElementStr,g=i(40),C=i(42).chartStyleStudyId,_=i(1105).createPriceSourceEditor,m=i(106).NumericFormatter;inherit(o,a),o.prototype.i18nCache=[window.t("Style"),window.t("Box size assignment method"),window.t("Color Bars Based on Previous Close"),window.t("Candles"),window.t("Borders"),window.t("Wick"),window.t("HLC Bars"),window.t("Price Source"),window.t("Type"),window.t("Show real prices on price scale (instead of Heikin-Ashi price)"),window.t("Up bars"),window.t("Down bars"),window.t("Projection up bars"),window.t("Projection down bars"),window.t("Projection Up Color"),window.t("Projection Down Color"),window.t("Line"),window.t("Fill"),window.t("Up Color"),window.t("Down Color"),window.t("Traditional"),window.t("ATR Length"),window.t("Number Of Line"),window.t("Reversal Amount"),window.t("Box Size"),window.t("Phantom Bars")],o.prototype.getInputTitle=function(e,t){return"style"===e?window.t("Box size assignment method"):"boxSize"===e?window.t("Box Size"):t.inputInfo?window.t(t.inputInfo[e].name.value()):e.toLowerCase().replace(/\b\w/g,function(e){return e.toUpperCase()})},o.prototype.prepareLayoutImpl=function(e,t,i,o){function n(t){b.refreshStateControls(c,e.inputs,i.inputs)}function a(e){return(new m).format(e)}var c,b,_,w,T,f,v,L,k,S,x,P,B,E,R,F,I,D,V,A,W;for(o=o||{},c={},b=this,_=0;_"),S=this._labelToId(T),e.name===C(g.STYLE_RANGE)&&"phantomBars"===T&&(k=$("
"),k.appendTo(L)),w.isHidden||L.appendTo(t),e.name===C(g.STYLE_RANGE)&&"phantomBars"===T&&(L=k.find("tr")),x=$(""),x.addClass("propertypage-name-label"),x.html(y(f,S)),e.name===C(g.STYLE_RANGE)&&"phantomBars"===T||x.appendTo(L),P=$(""),P.appendTo(L),B=null,w.options)for(B=$("");B.appendTo(P),e.name===C(g.STYLE_RANGE)&&"phantomBars"===T||B.css("width","100px"),e.name===C(g.STYLE_RANGE)&&"phantomBars"===T&&x.appendTo(L),I="Change "+f,w.options?this.bindControl(new h(B,i.inputs[T],null,!0,this.model(),I)):"integer"===w.type?(D=[l(w.defval)],w.min&&D.push(s(w.min)),w.max&&D.push(r(w.max)), -this.bindControl(new d(B,i.inputs[T],D,!1,this.model(),I)),B.addClass("ticker")):"float"===w.type?(D=[p(w.defval)],w.min&&(((e.id===C(g.STYLE_RENKO)||e.id===C(g.STYLE_PNF))&&"boxSize"===w.id||e.id===C(g.STYLE_KAGI)&&"reversalAmount"===w.id)&&null!==(A=this._model.model().mainSeries().symbolInfo())&&(V=A.minmov/A.pricescale),D.push(s(V||w.min))),w.max&&D.push(r(w.max)),W=new d(B,i.inputs[T],D,!1,this.model(),I),W.addFormatter(a),this.bindControl(W),B.addClass("ticker")):"text"===w.type?this.bindControl(new d(B,this._property.inputs[T],null,!1,this.model(),I)):"bool"===w.type&&this.bindControl(new u(B,i.inputs[T],!0,this.model(),I)),B.change(n),c[w.id]=L}}this.refreshStateControls(c,e.inputs,i.inputs)},o.prototype.getMetaInfo=function(e){var t,i=this._model.m_model._studiesMetaData;for(t=0;t").appendTo(e),$e=this._candlesColorerTbody=$("
").append(S).prependTo(x),x=this.addLabeledRow(Te,"Candles"),$("").prependTo(x),$("").append(C).appendTo(x),$("").append(m).appendTo(x),x=this.addLabeledRow(Te,"Borders",L),$("").append(L).prependTo(x),$("").append(f).appendTo(x),$("").append(v).appendTo(x),x=this.addLabeledRow(Te,"Wick",k),$("").append(k).prependTo(x),$("").append(w).appendTo(x),$("").append(T).appendTo(x),this.bindControl(new c(C,n.candleStyle.upColor,!0,this.model(),"Change Candle Up Color")),this.bindControl(new c(m,n.candleStyle.downColor,!0,this.model(),"Change Candle Down Color")),this.bindControl(new u(k,n.candleStyle.drawWick,!0,this.model(),"Change Candle Wick Visibility")),this.bindControl(new c(w,n.candleStyle.wickUpColor,!0,this.model(),"Change Candle Wick Up Color")),this.bindControl(new c(T,n.candleStyle.wickDownColor,!0,this.model(),"Change Candle Wick Down Color")),this.bindControl(new u(L,n.candleStyle.drawBorder,!0,this.model(),"Change Candle Border Visibility")),this.bindControl(new c(f,n.candleStyle.borderUpColor,!0,this.model(),"Change Candle Up Border Color")),this.bindControl(new c(v,n.candleStyle.borderDownColor,!0,this.model(),"Change Candle Down Border Color")),this.bindControl(new u(S,n.candleStyle.barColorsOnPrevClose,!0,this.model(),"Change Color Bars Based on Previous Close")),P=this.createColorPicker(),B=this.createColorPicker(),E=this.createColorPicker(),R=this.createColorPicker(),F=this.createColorPicker(),I=this.createColorPicker(),D=$("").data("hides",$(F).add(I)),V=$("").data("hides",$(E).add(R)),x=this.addLabeledRow(fe,"Candles"),$("").prependTo(x),$("").append(P).appendTo(x),$("").append(B).appendTo(x),x=this.addLabeledRow(fe,"Borders",D),$("").append(D).prependTo(x),$("").append(F).appendTo(x),$("").append(I).appendTo(x),x=this.addLabeledRow(fe,"Wick",V),$("").append(V).prependTo(x),$("").append(E).appendTo(x),$("").append(R).appendTo(x),this.bindControl(new c(P,n.hollowCandleStyle.upColor,!0,this.model(),"Change Hollow Candle Up Color")),this.bindControl(new c(B,n.hollowCandleStyle.downColor,!0,this.model(),"Change Hollow Candle Down Color")),this.bindControl(new u(V,n.hollowCandleStyle.drawWick,!0,this.model(),"Change Hollow Candle Wick Visibility")),this.bindControl(new c(E,n.hollowCandleStyle.wickUpColor,!0,this.model(),"Change Hollow Candle Wick Up Color")),this.bindControl(new c(R,n.hollowCandleStyle.wickDownColor,!0,this.model(),"Change Hollow Candle Down Wick Color")),this.bindControl(new u(D,n.hollowCandleStyle.drawBorder,!0,this.model(),"Change Hollow Candle Border Visibility")),this.bindControl(new c(F,n.hollowCandleStyle.borderUpColor,!0,this.model(),"Change Hollow Candle Up Border Color")),this.bindControl(new c(I,n.hollowCandleStyle.borderDownColor,!0,this.model(),"Change Hollow Candle Down Border Color")),A=$(""),x=this.addLabeledRow(me,"Color Bars Based on Previous Close",A), -$("").append(A).prependTo(x),W=$(""),x=this.addLabeledRow(me,"HLC Bars",W),$("").append(W).prependTo(x),M=this.addColorPickerRow(Le,"Up Color"),O=this.addColorPickerRow(Le,"Down Color"),this.bindControl(new c(M,n.barStyle.upColor,!0,this.model(),"Change Bar Up Color")),this.bindControl(new c(O,n.barStyle.downColor,!0,this.model(),"Change Bar Down Color")),this.bindControl(new u(A,n.barStyle.barColorsOnPrevClose,!0,this.model(),"Change Color Bars Based on Previous Close")),this.bindControl(new u(W,n.barStyle.dontDrawOpen,!0,this.model(),"Change HLC Bars")),z=_(),x=this.addLabeledRow(ke,"Price Source"),$('').append(z).appendTo(x),H=this.addLabeledRow(ke,"Type"),N=$('').appendTo(H),N.addClass("property-wide-select"),G=$(document.createElement("select")),$("").appendTo(G),$("").appendTo(G),$("").appendTo(G),G.appendTo(N),x=this.addLabeledRow(ke,"Line"),j=this.createColorPicker(),q=this.createLineWidthEditor(),$("").append(j).appendTo(x),$("").append(q).appendTo(x),this.bindControl(new h(z,n.lineStyle.priceSource,null,!0,this.model(),"Change Price Source")),this.bindControl(new h(G,n.lineStyle.styleType,parseInt,!0,this.model(),"Change Line Type")),this.bindControl(new c(j,n.lineStyle.color,!0,this.model(),"Change Line Color")),this.bindControl(new b(q,n.lineStyle.linewidth,!0,this.model(),"Change Line Width")),n.haStyle&&(U=this.createColorPicker(),Y=this.createColorPicker(),K=this.createColorPicker(),J=this.createColorPicker(),Z=this.createColorPicker(),Q=this.createColorPicker(),X=$("").data("hides",$(Z).add(Q)),ee=$("").data("hides",$(K).add(J)),te=$(""),x=this.addLabeledRow(we,$.t("Color Bars Based on Previous Close"),te),$("").append(te).prependTo(x),x=this.addLabeledRow(ve,$.t("Candles")),$("").prependTo(x),$("").append(U).appendTo(x),$("").append(Y).appendTo(x),x=this.addLabeledRow(ve,$.t("Borders"),X),$("").append(X).prependTo(x),$("").append(Z).appendTo(x),$("").append(Q).appendTo(x),x=this.addLabeledRow(ve,$.t("Wick"),ee),$("").append(ee).prependTo(x),$("").append(K).appendTo(x),$("").append(J).appendTo(x),this.bindControl(new c(U,n.haStyle.upColor,!0,this.model(),"Change Heikin Ashi Up Color")),this.bindControl(new c(Y,n.haStyle.downColor,!0,this.model(),"Change Heikin Ashi Down Color")),this.bindControl(new u(ee,n.haStyle.drawWick,!0,this.model(),"Change Heikin Ashi Wick Visibility")),this.bindControl(new c(K,n.haStyle.wickUpColor,!0,this.model(),"Change Heikin Ashi Wick Up Color")),this.bindControl(new c(J,n.haStyle.wickDownColor,!0,this.model(),"Change Heikin Ashi Wick Down Color")), -this.bindControl(new u(X,n.haStyle.drawBorder,!0,this.model(),"Change Heikin Ashi Border Visibility")),this.bindControl(new c(Z,n.haStyle.borderUpColor,!0,this.model(),"Change Heikin Ashi Up Border Color")),this.bindControl(new c(Q,n.haStyle.borderDownColor,!0,this.model(),"Change Heikin Ashi Down Border Color")),this.bindControl(new u(te,n.haStyle.barColorsOnPrevClose,!0,this.model(),"Change Color Bars Based on Previous Close"))),this._isJapaneseChartsAvailable()&&t.enabled("japanese_chart_styles"),ie=_(),x=this.addLabeledRow(Se,"Price Source"),$('').appendTo(x).append(ie),oe=this.createColorPicker(),ne=this.createLineWidthEditor(),x=this.addLabeledRow(Se,"Line"),$("").appendTo(x).append(oe),$('').appendTo(x).append(ne),ae=this.createColorPicker(),se=this.createColorPicker(),x=this.addLabeledRow(Se,"Fill"),$("").appendTo(x).append(ae),$("").appendTo(x).append(se),this.bindControl(new h(ie,n.areaStyle.priceSource,null,!0,this.model(),"Change Price Source")),this.bindControl(new c(oe,n.areaStyle.linecolor,!0,this.model(),"Change Line Color")),this.bindControl(new b(ne,n.areaStyle.linewidth,!0,this.model(),"Change Line Width")),this.bindControl(new c(ae,n.areaStyle.color1,!0,this.model(),"Change Line Color",n.areaStyle.transparency)),this.bindControl(new c(se,n.areaStyle.color2,!0,this.model(),"Change Line Color",n.areaStyle.transparency)),re=_(),x=this.addLabeledRow(xe,window.t("Price Source")),$('').appendTo(x).append(re),this.bindControl(new h(re,n.baselineStyle.priceSource,null,!0,this.model(),"Change Price Source")),le=this.createColorPicker(),pe=this.createLineWidthEditor(),x=this.addLabeledRow(xe,window.t("Top Line")),$("").appendTo(x).append(le),$("").appendTo(x).append(pe),this.bindControl(new c(le,n.baselineStyle.topLineColor,!0,this.model(),"Change Top Line Color")),this.bindControl(new b(pe,n.baselineStyle.topLineWidth,!0,this.model(),"Change Top Line Width")),de=this.createColorPicker(),he=this.createLineWidthEditor(),x=this.addLabeledRow(xe,window.t("Bottom Line")),$("").appendTo(x).append(de),$("").appendTo(x).append(he),this.bindControl(new c(de,n.baselineStyle.bottomLineColor,!0,this.model(),"Change Bottom Line Color")),this.bindControl(new b(he,n.baselineStyle.bottomLineWidth,!0,this.model(),"Change Bottom Line Width")),ce=this.createColorPicker(),ue=this.createColorPicker(),x=this.addLabeledRow(xe,window.t("Fill Top Area")),$("").appendTo(x).append(ce),$("").appendTo(x).append(ue),this.bindControl(new c(ce,n.baselineStyle.topFillColor1,!0,this.model(),"Change Fill Top Area Color 1"),n.baselineStyle.transparency),this.bindControl(new c(ue,n.baselineStyle.topFillColor2,!0,this.model(),"Change Fill Top Area Color 2"),n.baselineStyle.transparency),be=this.createColorPicker(),ye=this.createColorPicker(),x=this.addLabeledRow(xe,window.t("Fill Bottom Area")),$("").appendTo(x).append(be),$("").appendTo(x).append(ye), -this.bindControl(new c(be,n.baselineStyle.bottomFillColor1,!0,this.model(),"Change Fill Bottom Area Color 1"),n.baselineStyle.transparency),this.bindControl(new c(ye,n.baselineStyle.bottomFillColor2,!0,this.model(),"Change Fill Bottom Area Color 2"),n.baselineStyle.transparency),x=this.addLabeledRow(xe,window.t("Base Level")),ge=$(''),$('').appendTo(x).append($("").append(ge)).append($('%')),Ce=[l(n.baselineStyle.baseLevelPercentage.value()),r(100),s(0)],this.bindControl(new d(ge,n.baselineStyle.baseLevelPercentage,Ce,!0,this.model(),"Change Base Level"))},e.exports=o}).call(t,i(5))},1105:function(e,t,i){"use strict";function o(){var e=$("")}var n,a;Object.defineProperty(t,"__esModule",{value:!0}),t.createShapeLocationEditor=o,n=i(14),i.n(n),i(11),a=i(212)},1109:function(e,t,i){"use strict";function o(){var e="",$(e)}var n,a;Object.defineProperty(t,"__esModule",{value:!0}),t.createShapeStyleEditor=o,n=i(14),i.n(n),a=i(211)},1110:function(e,t,i){"use strict";function o(){return $('')}var n;Object.defineProperty(t,"__esModule",{value:!0}),t.createVisibilityEditor=o,n=i(14),i.n(n)},1111:function(e,t,i){"use strict";function o(){var e=$("") -;return $('").appendTo(e),$('").appendTo(e),$('").appendTo(e),$('").appendTo(e),$('").appendTo(e),$('").appendTo(e),$('").appendTo(e),$('").appendTo(e),$('").appendTo(e),e}var n,a;Object.defineProperty(t,"__esModule",{value:!0}),t.createPlotEditor=o,n=i(14),i.n(n),i(11),a=i(87)},320:function(e,t,i){"use strict";function o(e,t,i){s.call(this,e,t),this._study=i,this.prepareLayout()}function n(e,t,i){s.call(this,e,t),this._study=i,this._property=e,this.prepareLayout()}var a=i(823),s=a.PropertyPage,r=a.GreateTransformer,l=a.LessTransformer,p=a.ToIntTransformer,d=a.ToFloatTransformer,h=a.SimpleComboBinder,c=a.BooleanBinder,u=a.DisabledBinder,b=a.ColorBinding,y=a.SliderBinder,g=a.SimpleStringBinder,C=i(829).addColorPicker,_=i(830).createLineStyleEditor,m=i(1108).createShapeLocationEditor,w=i(1109).createShapeStyleEditor,T=i(1110).createVisibilityEditor,f=i(1111).createHHistDirectionEditor,v=i(1112).createPlotEditor,L=i(106).NumericFormatter,k=i(26),S=i(87).PlotType,x=i(4).getLogger("Chart.Study.PropertyPage");inherit(o,s),o.prototype.prepareLayout=function(){function e(e){return(new L).format(e)}var t,i,n,a,s,r,l,p,u,m,w,T,f,v,S,P,B,E,R,F,I,D,V,A,W,M,O,z,H,N,G,j,q,U,Y,K;for(this._table=$(""),this._table.addClass("property-page"),this._table.attr("cellspacing","0"),this._table.attr("cellpadding","2"),t=this._study.metaInfo(),i={},n=0;n0)for(n=0;n'),m.appendTo(this._table),w=$("
"),w.appendTo(m),T=$(""),T.appendTo(w),f=$.t(u.name.value(),{context:"input"}),v=this.createLabeledCell(f,T).appendTo(m).addClass("propertypage-name-label"),S=$(""),S.appendTo(m),S.addClass("colorpicker-cell"),P=C(S),B=$(""),B.appendTo(m),E=this.createLineWidthEditor(),E.appendTo(B),R=$('').css({whiteSpace:"nowrap"}),R.appendTo(m),F=_(),F.render().appendTo(R),I=$(""),I.appendTo(R),D=[d(u.value.value())],V="Change band",A=new g(I,u.value,D,!1,this.model(),V),A.addFormatter(e),this.bindControl(A),this.bindControl(new c(T,u.visible,!0,this.model(),V)),this.bindControl(new b(P,u.color,!0,this.model(),V)),this.bindControl(new h(F,u.linestyle,parseInt,!0,this.model(),V)),this.bindControl(new y(E,u.linewidth,!0,this.model(),V)));if(this._study.properties().bandsBackground&&(u=this._study.properties().bandsBackground,W=$.t("Background"),V=$.t("Change band background"),m=this._prepareFilledAreaBackground(u.fillBackground,u.backgroundColor,u.transparency,W,V),m.appendTo(this._table)),this._study.properties().areaBackground&&(u=this._study.properties().areaBackground,W=$.t("Background"),V=$.t("Change area background"),m=this._prepareFilledAreaBackground(u.fillBackground,u.backgroundColor,u.transparency,W,V),m.appendTo(this._table)),void 0!==(M=t.filledAreas))for(n=0;n'),w=$(""),w.appendTo(m),T=$(""),T.appendTo(w),this.bindControl(new c(T,u.visible,!0,this.model(),V+" visibility")),this.createLabeledCell(W,T).appendTo(m).addClass("propertypage-name-label"),m.appendTo(this._table),z=this._findPlotPalette(n,O),H=z.palette,N=z.paletteProps,this._prepareLayoutForPalette(0,O,H,N,V)):(m=this._prepareFilledAreaBackground(u.visible,u.color,u.transparency,W,V),m.appendTo(this._table)));for(G in t.graphics){j=t.graphics[G];for(q in j)u=this._property.graphics[G][q],o["_createRow_"+G].call(this,this._table,u)}U=this._table.find(".visibility-switch.plot-visibility-switch"),1===U.length&&(w=U.parent(),w.css("display","none"),v=this._table.find(".propertypage-plot-with-palette"),1===v.length?v.css("display","none"):(v=this._table.find(".propertypage-name-label"),v.css("padding-left",0),v.find("label").attr("for",""))),Y=this._prepareStudyPropertiesLayout(),this._table=this._table.add(Y),k.isScriptStrategy(t)&&(K=this._prepareOrdersSwitches(),this._table=this._table.add(K)),this.loadData()},o.prototype._prepareOrdersSwitches=function(){var e,t,i,o,n,a,s,r=$(''),l="chart-orders-switch_"+Date.now().toString(36),p=$("").appendTo(r),d=$('').appendTo($("").appendTo(r),i=$('').appendTo($("").appendTo(r),a=$('').appendTo($("'),i.appendTo(this._table),o=$("'),i.appendTo(this._table),o=$("');g.appendTo(this._table),i=$("'),a.appendTo(this._table),s=$("');v.appendTo(this._table),i=$("'),v.appendTo(this._table),$("');v.appendTo(this._table),i=$("'),v.appendTo(this._table),$("'),p.appendTo(this._table),$("');u.appendTo(this._table),i=$("");return i.appendTo(e),$("").appendTo(i),$(""),i.appendTo(e),$("").appendTo(i),$("").appendTo(s),r=$("'),p=$("
").appendTo(p)) -;return $('").appendTo($("").appendTo(p)),e="chart-orders-labels-switch_"+Date.now().toString(36),t=$("
").appendTo(t)),$('").appendTo($("").appendTo(t)),o="chart-orders-qty-switch_"+Date.now().toString(36),n=$("
").appendTo(n)),$('").appendTo($("").appendTo(n)),s=this._study.properties(),this.bindControl(new c(d,s.strategy.orders.visible,!0,this.model(),"Trades on chart visibility")),this.bindControl(new c(i,s.strategy.orders.showLabels,!0,this.model(),"Signal labels visibility")),this.bindControl(new u(i,s.strategy.orders.visible,!0,this.model(),"Signal labels visibility",!0)),this.bindControl(new c(a,s.strategy.orders.showQty,!0,this.model(),"Quantity visibility")),this.bindControl(new u(a,s.strategy.orders.visible,!0,this.model(),"Quantity visibility",!0)),r},o.prototype._prepareLayoutForPlot=function(e,t){var i,o,n,a,s,r,l,p,d,u,g,_,m=t.id,w=this._study.properties().styles[m],T=this._findPlotPalette(e,t),f=T.palette,L=T.paletteProps,k="Change "+m;f?(i=$('
"),o.appendTo(i),o.addClass("visibility-cell"),n=$(""),n.appendTo(o),this.bindControl(new c(n,w.visible,!0,this.model(),k)),a=$.t(w.title.value(),{context:"input"}),this.createLabeledCell(a,n).appendTo(i).addClass("propertypage-name-label propertypage-plot-with-palette"),this._prepareLayoutForPalette(e,t,f,L,k)):(i=$('
"),o.appendTo(i),o.addClass("visibility-cell"),n=$(""),n.appendTo(o),a=$.t(this._study.properties().styles[m].title.value(),{context:"input"}),this.createLabeledCell(a,n).appendTo(i).addClass("propertypage-name-label"),s=$(""),s.appendTo(i),s.addClass("colorpicker-cell"),r=C(s),l=$(""),l.appendTo(i),p=this.createLineWidthEditor(),p.appendTo(l),d=$(""),d.appendTo(i),u=v(),u.appendTo(d),g=$(""),g.appendTo(i),_=$(""),_.appendTo(g),this.createLabeledCell("Price Line",_).appendTo(i),this.bindControl(new c(n,w.visible,!0,this.model(),k)),this.bindControl(new b(r,w.color,!0,this.model(),k,w.transparency)),this.bindControl(new y(p,w.linewidth,!0,this.model(),k,this._study.metaInfo().isTVScript)),this.bindControl(new h(u,w.plottype,parseInt,!0,this.model(),k)),this.bindControl(new c(_,w.trackPrice,!0,this.model(),"Change Price Line")))},o.prototype._prepareLayoutForBarsPlot=function(e,t){var i,o,n,a,s,r,l=t.id,p=this._study.properties().ohlcPlots[l],d=this._findPlotPalette(e,t),h=d.palette,u=d.paletteProps,y="Change "+l,g=$('
"),i.appendTo(g),i.addClass("visibility-cell"), -o=$(""),o.appendTo(i),this.bindControl(new c(o,p.visible,!0,this.model(),y)),n=p.title.value(),this.createLabeledCell(n,o).appendTo(g).addClass("propertypage-name-label"),h?(a=!0,this._prepareLayoutForPalette(e,t,h,u,y,a)):(s=$(""),s.appendTo(g),s.addClass("colorpicker-cell"),r=C(s),this.bindControl(new b(r,p.color,!0,this.model(),y)))},o.prototype._prepareLayoutForCandlesPlot=function(e,t){var i,o,n,a,s,r,l,p,d;this._prepareLayoutForBarsPlot(e,t),i=t.id,o=this._study.properties().ohlcPlots[i],n="Change "+i,a=$('
"),s.appendTo(a),s.addClass("visibility-cell"),r=$(""),r.appendTo(s),this.bindControl(new c(r,o.drawWick,!0,this.model(),n)),l="Wick",this.createLabeledCell(l,r).appendTo(a),p=$(""),p.appendTo(a),p.addClass("colorpicker-cell"),d=C(p),this.bindControl(new b(d,o.wickColor,!0,this.model(),n))},o.prototype._prepareLayoutForShapesPlot=function(e,t){var i,o,n,a,s,r,l,p,d,u=t.id,y=this._study.properties().styles[u],g=this._findPlotPalette(e,t),_=g.palette,T=g.paletteProps,f="Change "+u,v=$('
"),i.appendTo(v),i.addClass("visibility-cell"),o=$(""),o.appendTo(i),this.bindControl(new c(o,y.visible,!0,this.model(),f)),n=$.t(this._study.properties().styles[u].title.value(),{context:"input"}),this.createLabeledCell(n,o).appendTo(v).addClass("propertypage-name-label"),a=$(""),a.appendTo(v),s=w(),s.appendTo(a),this.bindControl(new h(s,y.plottype,null,!0,this.model(),f)),r=$(""),r.appendTo(v),l=m(),l.appendTo(r),this.bindControl(new h(l,y.location,null,!0,this.model(),f)),_?this._prepareLayoutForPalette(e,t,_,T,f):(v=$('
").appendTo(v),$("").appendTo(v),p=$(""),p.appendTo(v),p.addClass("colorpicker-cell"),d=C(p),this.bindControl(new b(d,y.color,!0,this.model(),f,y.transparency)))},o.prototype._prepareLayoutForCharsPlot=function(e,t){var i,o,n,a,s,r,l,p,d,u=t.id,y=this._study.properties().styles[u],_=this._findPlotPalette(e,t),w=_.palette,T=_.paletteProps,f="Change "+u,v=$('
"),i.appendTo(v),i.addClass("visibility-cell"),o=$(""),o.appendTo(i),this.bindControl(new c(o,y.visible,!0,this.model(),f)),n=$.t(this._study.properties().styles[u].title.value(),{context:"input"}),this.createLabeledCell(n,o).appendTo(v).addClass("propertypage-name-label"),a=$(""),a.appendTo(v),s=$(''),s.appendTo(a),s.keyup(function(){var e=$(this),t=e.val();t&&(e.val(t.split("")[t.length-1]),e.change())}),this.bindControl(new g(s,y.char,null,!1,this.model(),f)),r=$(""),r.appendTo(v),l=m(),l.appendTo(r),this.bindControl(new h(l,y.location,null,!0,this.model(),f)),w?this._prepareLayoutForPalette(e,t,w,T,f):(v=$('
").appendTo(v), -$("").appendTo(v),p=$(""),p.appendTo(v),p.addClass("colorpicker-cell"),d=C(p),this.bindControl(new b(d,y.color,!0,this.model(),f,y.transparency)))},o.prototype._isStyleNeedsConnectPoints=function(e){return[S.Cross,S.Circles].indexOf(e)>=0},o.prototype._prepareLayoutForPalette=function(e,t,i,o,n,a){var s,r,l,p,d,u,g,_,m,w,T,f,L,k,S,x=e,P=t.id,B=null,E=P.startsWith("fill");B=a?this._study.properties().ohlcPlots[P]:E?this._study.properties().filledAreasStyle[P]:this._study.properties().styles[P],s=0;for(r in i.colors)l=o.colors[r],p=$('
").appendTo(p),d=$(""),d.appendTo(p),d.addClass("propertypage-name-label"),d.html($.t(l.name.value(),{context:"input"})),u=$(""),u.appendTo(p),u.addClass("colorpicker-cell"),g=C(u),this.bindControl(new b(g,l.color,!0,this.model(),n,B.transparency)),!E&&this._study.isLinePlot(x)&&(_=$(""),_.appendTo(p),m=this.createLineWidthEditor(),m.appendTo(_),this.bindControl(new y(m,l.width,!0,this.model(),n,this._study.metaInfo().isTVScript)),w=$(""),w.appendTo(p),0===s&&(T=v(),T.appendTo(w),this.bindControl(new h(T,B.plottype,parseInt,!0,this.model(),n)),f=$(""),L=$('').css({whiteSpace:"nowrap"}),k=$("").html($.t("Price Line")),S=$(""),S.append(f),L.append(S).append(k).appendTo(p),this.bindControl(new c(f,B.trackPrice,!0,this.model(),"Change Price Line")))),s++},o.prototype._prepareLayoutForArrowsPlot=function(e,t){var i,o,n,a,s,r,l,p=t.id,d=this._study.properties().styles[p],h="Change "+p,u=$('
"),i.appendTo(u),i.addClass("visibility-cell"),o=$(""),o.appendTo(i),n=$.t(this._study.properties().styles[p].title.value(),{context:"input"}),this.createLabeledCell(n,o).appendTo(u).addClass("propertypage-name-label"),a=$(""),a.appendTo(u),a.addClass("colorpicker-cell"),s=C(a),r=$(""),r.appendTo(u),r.addClass("colorpicker-cell"),l=C(r),this.bindControl(new c(o,d.visible,!0,this.model(),h)),this.bindControl(new b(s,d.colorup,!0,this.model(),h,d.transparency)),this.bindControl(new b(l,d.colordown,!0,this.model(),h,d.transparency))},o.prototype._findPlotPalette=function(e,t){var i,o=e,n=t.id,a=null,s=null,r=this._study.metaInfo().plots;if(this._study.isBarColorerPlot(o)||this._study.isBgColorerPlot(o))a=this._study.metaInfo().palettes[t.palette],s=this._study.properties().palettes[t.palette];else for(i=0;i'),t=this.createPrecisionEditor(),i=$("
"+$.t("Precision")+"").append(t).appendTo(i), -this.bindControl(new h(t,this._study.properties().precision,null,!0,this.model(),"Change Precision")),"Compare@tv-basicstudies"===this._study.metaInfo().id&&(t=this.createSeriesMinTickEditor(),i=$("
"+$.t("Override Min Tick")+"").append(t).appendTo(i),this.bindControl(new h(t,this._study.properties().minTick,null,!0,this.model(),"Change MinTick"))),this._putStudyDefaultStyles(e),e},o.prototype._putStudyDefaultStyles=function(e,t){var i,o,n,a,s,r,l=null,p=this._study;return(!p.properties().linkedToSeries||!p.properties().linkedToSeries.value())&&($.each(this._model.m_model.panes(),function(e,t){$.each(t.dataSources(),function(e,i){if(i===p)return l=t,!1})}),this._pane=l,this._pane&&(-1!==this._pane.leftPriceScale().dataSources().indexOf(this._study)?i="left":-1!==this._pane.rightPriceScale().dataSources().indexOf(this._study)?i="right":this._pane.isOverlay(this._study)&&(i="none")),i&&(o=this,n={left:$.t("Scale Left"),right:$.t("Scale Right")},o._pane.actionNoScaleIsEnabled(p)&&(n.none=$.t("Screen (No Scale)")),a=this.createKeyCombo(n).val(i).change(function(){switch(this.value){case"left":o._model.move(o._study,o._pane,o._pane.leftPriceScale());break;case"right":o._model.move(o._study,o._pane,o._pane.rightPriceScale());break;case"none":o._model.move(o._study,o._pane,null)}}),s=this.addRow(e),$(""+$.t("Scale")+"").appendTo(s).append(a),t&&t>2&&r.attr("colspan",t-1)),e)},o.prototype.widget=function(){return this._table},o.prototype._prepareFilledAreaBackground=function(e,t,i,o,n){var a,s,r,l=$('
");return p.appendTo(l),a=$(""),a.appendTo(p),this.createLabeledCell(o,a).appendTo(l).addClass("propertypage-name-label"),s=$(""),s.appendTo(l),s.addClass("colorpicker-cell"),r=C(s),this.bindControl(new c(a,e,!0,this.model(),n+" visibility")),this.bindControl(new b(r,t,!0,this.model(),n+" color",i)),l},inherit(n,s),n.prototype.prepareLayout=function(){if(this._study.properties().linkedToSeries&&this._study.properties().linkedToSeries.value())return void(this._table=$());this._table=$()},n.prototype.widget=function(){return this._table},o._createRow_horizlines=function(e,t){var i=this.addRow(e),o=t.name.value(),n=$(""),a=this.createColorPicker(),s=this.createLineWidthEditor(),r=_();$("").append(n).appendTo(i),this.createLabeledCell(o,n).appendTo(i),$("").append(a).appendTo(i),$("").append(s).appendTo(i),$("").append(r.render()).appendTo(i),this.bindControl(new c(n,t.visible,!0,this.model(),"Change "+o+" visibility")),this.bindControl(new b(a,t.color,!0,this.model(),"Change "+o+" color")),this.bindControl(new h(r,t.style,parseInt,!0,this.model(),"Change "+o+" style")),this.bindControl(new y(s,t.width,!0,this.model(),"Change "+o+" width"))},o._createRow_vertlines=function(e,t){ -var i=this.addRow(e),o=t.name.value(),n=$(""),a=this.createColorPicker(),s=this.createLineWidthEditor(),r=_();$("").append(n).appendTo(i),this.createLabeledCell(o,n).appendTo(i),$("").append(a).appendTo(i),$("").append(s).appendTo(i),$("").append(r.render()).appendTo(i),this.bindControl(new c(n,t.visible,!0,this.model(),"Change "+o+" visibility")),this.bindControl(new b(a,t.color,!0,this.model(),"Change "+o+" color")),this.bindControl(new h(r,t.style,parseInt,!0,this.model(),"Change "+o+" style")),this.bindControl(new y(s,t.width,!0,this.model(),"Change "+o+" width"))},o._createRow_lines=function(e,t){var i=this.addRow(e),o=t.title.value(),n=$(""),a=this.createColorPicker(),s=this.createLineWidthEditor(),r=_();$("").append(n).appendTo(i),this.createLabeledCell(o,n).appendTo(i),$("").append(a).appendTo(i),$("").append(s).appendTo(i),$("").append(r.render()).appendTo(i),this.bindControl(new c(n,t.visible,!0,this.model(),"Change "+o+" visibility")),this.bindControl(new b(a,t.color,!0,this.model(),"Change "+o+" color")),this.bindControl(new h(r,t.style,parseInt,!0,this.model(),"Change "+o+" style")),this.bindControl(new y(s,t.width,!0,this.model(),"Change "+o+" width"))},o._createRow_hlines=function(e,t){var i,o,n,a=this.addRow(e),s=t.name.value(),r=$(""),l=this.createColorPicker(),p=this.createLineWidthEditor(),d=_(),u=$("");$("").append(r).appendTo(a),this.createLabeledCell(s,r).appendTo(a),$("").append(l).appendTo(a),$("").append(p).appendTo(a),$("").append(d.render()).appendTo(a),$("").appendTo(a),$("").append(u).appendTo(a),this.createLabeledCell("Show Price",u).appendTo(a),this.bindControl(new c(r,t.visible,!0,this.model(),"Change "+s+" visibility")),this.bindControl(new b(l,t.color,!0,this.model(),"Change "+s+" color")),this.bindControl(new h(d,t.style,parseInt,!0,this.model(),"Change "+s+" style")),this.bindControl(new y(p,t.width,!0,this.model(),"Change "+s+" width")),this.bindControl(new c(u,t.showPrice,!0,this.model(),"Change "+s+" show price")),t.enableText.value()&&(a=this.addRow(e),$('').appendTo(a),i=$(""),$('').append(i).appendTo(a),this.createLabeledCell("Show Text",i).appendTo(a),this.bindControl(new c(i,t.showText,!0,this.model(),"Change "+s+" show text")),o=TradingView.createTextPosEditor(),$("").append(o.render()).appendTo(a),this.bindControl(new h(o,t.textPos,parseInt,!0,this.model(),"Change "+s+" text position")),n=this.createFontSizeEditor(),$('').append(n).appendTo(a),this.bindControl(new h(n,t.fontSize,parseInt,!0,this.model(),"Change "+s+" font size")))},o._createRow_hhists=function(e,t){var i,o,n,a,s,d,u=t.title.value(),y=[],C=[],_=this.addRow(e),m=T();$("").append(m).appendTo(_),this.createLabeledCell(u,m).appendTo(_), -this.bindControl(new c(m,t.visible,!0,this.model(),"Change "+u+" Visibility")),_=this.addRow(e),i=$(""),i.attr("type","text"),i.addClass("ticker"),this.createLabeledCell($.t("Width (% of the Box)"),i).appendTo(_),$("").append(i).appendTo(_),o=[p(40)],o.push(r(0)),o.push(l(100)),this.bindControl(new g(i,t.percentWidth,o,!1,this.model(),"Change Percent Width")),_=this.addLabeledRow(e,"Placement"),n=f(),$("").append(n).appendTo(_),this.bindControl(new h(n,t.direction,null,!0,this.model(),"Change "+u+" Placement")),_=this.addRow(e),a=$(""),$("").append(a).appendTo(_),this.createLabeledCell($.t("Show Values"),a).appendTo(_),this.bindControl(new c(a,t.showValues,!0,this.model(),"Change "+u+" Show Values")),_=this.addRow(e),s=this.createColorPicker(),this.createLabeledCell($.t("Text Color"),s).appendTo(_),$("").append(s).appendTo(_),this.bindControl(new b(s,t.valuesColor,!0,this.model(),"Change "+u+" Text Color"));for(d in t.colors)isNumber(parseInt(d,10))&&(_=this.addRow(e),y[d]=t.titles[d].value(),C[d]=this.createColorPicker(),$("").append(y[d]).appendTo(_),$("").append(C[d]).appendTo(_),this.bindControl(new b(C[d],t.colors[d],!0,this.model(),"Change "+y[d]+" color")))},o._createRow_backgrounds=function(e,t){var i=this.addRow(e),o=$(""),n=t.name.value(),a=this.createColorPicker();$("").append(o).appendTo(i),this.createLabeledCell(n,o).appendTo(i),$("").append(a).appendTo(i),this.bindControl(new c(o,t.visible,!0,this.model(),"Change "+n+" visibility")),this.bindControl(new b(a,t.color,!0,this.model(),"Change "+n+" color",t.transparency))},o._createRow_polygons=function(e,t){var i=this.addRow(e),o=t.name.value(),n=this.createColorPicker();$("").append(o).appendTo(i),$("").append(n).appendTo(i),this.bindControl(new b(n,t.color,!0,this.model(),"Change "+o+" color"))},o._createRow_trendchannels=function(e,t){var i=this.addRow(e),o=t.name.value(),n=this.createColorPicker();$("").append(o).appendTo(i),$("").append(n).appendTo(i),this.bindControl(new b(n,t.color,!0,this.model(),"Change "+o+" color",t.transparency))},o._createRow_textmarks=function(e,t){var i=this.addLabeledRow(e),o=t.name.value(),n=this.createColorPicker(),a=this.createColorPicker(),s=this.createFontEditor(),r=this.createFontSizeEditor(),l=$(''),p=$('');$("").append(o).appendTo(i),"rectangle"!==t.shape.value()&&$("").append(n).appendTo(i),$("").append(a).appendTo(i),$("").append(s).appendTo(i),$("").append(r).appendTo(i),$("").append(l).appendTo(i),$("").append(p).appendTo(i),this.bindControl(new b(n,t.color,!0,this.model(),"Change "+o+" color",t.transparency)),this.bindControl(new b(a,t.fontColor,!0,this.model(),"Change "+o+" text color",t.transparency)), -this.bindControl(new h(r,t.fontSize,parseInt,!0,this.model(),"Change "+o+" font size")),this.bindControl(new h(s,t.fontFamily,null,!0,this.model(),"Change "+o+" font")),this.bindControl(new c(l,t.fontBold,!0,this.model(),"Change Text Font Bold")),this.bindControl(new c(p,t.fontItalic,!0,this.model(),"Change Text Font Italic"))},o._createRow_shapemarks=function(e,t){var i=this.addRow(e),o=$(""),n=t.name.value(),a=this.createColorPicker(),s=$("");s.attr("type","text"),s.addClass("ticker"),$("").append(o).appendTo(i),this.createLabeledCell(n,o).appendTo(i),$("").append(a).appendTo(i),this.createLabeledCell("Size",s).appendTo(i),$("").append(s).appendTo(i),this.bindControl(new c(o,t.visible,!0,this.model(),"Change "+n+" visibility")),this.bindControl(new b(a,t.color,!0,this.model(),"Change "+n+" back color",t.transparency)),this.bindControl(new g(s,t.size,null,!1,this.model(),"Change size"))},t.StudyStylesPropertyPage=o,t.StudyDisplayPropertyPage=n},341:function(e,t,i){"use strict";function o(e,t,i){l.call(this,e,t),this._linetool=i,this.prepareLayout()}function n(e,t,i){a.call(this,e,t,i),this.prepareLayout()}var a=i(825),s=i(691),r=i(823),l=r.PropertyPage,p=r.SliderBinder,d=i(835).createTransparencyEditor,h=i(874);inherit(o,s),o.prototype.prepareLayout=function(){var e,t,i,o,n,a,r=$(''),l=$('
').data({"layout-tab":h.TabNames.inputs,"layout-tab-priority":h.TabPriority.Inputs});this._table=r.add(l),s.prototype.prepareLayoutForTable.call(this,r),e=$("").appendTo(l),$("").appendTo(l),$("
").append($.t("Avg HL in minticks")).appendTo(e),t=$("").appendTo(e),i=$("").addClass("ticker").appendTo(t),e=$("
").append($.t("Variance")).appendTo(e),o=$("").appendTo(e),n=$("").addClass("ticker").appendTo(o),a=this._linetool.properties(),this.bindInteger(i,a.averageHL,$.t("Change Average HL value"),1,5e4),this.bindInteger(n,a.variance,$.t("Change Variance value"),1,100),this.loadData()},o.prototype.widget=function(){return this._table},inherit(n,a),n.prototype.prepareLayout=function(){var e,t,i,o,n,a,s,r,l,h,c;this._widget=$("
"),e=$("").appendTo(this._widget),t=this.createColorPicker(),i=this.createColorPicker(),o=this.createColorPicker(),n=this.createColorPicker(),a=this.createColorPicker(),s=$("").data("hides",$(n).add(a)),r=$("").data("hides",$(o)),l=this.addLabeledRow(e,$.t("Candles")),$("
").prependTo(l),$("").append(t).appendTo(l),$("").append(i).appendTo(l),l=this.addLabeledRow(e,$.t("Borders"),s),$("").append(s).prependTo(l),$("").append(n).appendTo(l),$("").append(a).appendTo(l),$("").appendTo(l),l=this.addLabeledRow(e,$.t("Wick"),r),$("").append(r).prependTo(l),$("").append(o).appendTo(l),$("").appendTo(l), -e=$("").appendTo(this._widget),l=$("").appendTo(e),$("").appendTo(this._table),$('").appendTo(this._table),$('").appendTo(this._table),$("
").append($.t("Transparency")).appendTo(l),h=d(),$("").append(h).appendTo(l),c=this._linetool.properties(),this.bindColor(t,c.candleStyle.upColor,"Change Candle Up Color"),this.bindColor(i,c.candleStyle.downColor,"Change Candle Down Color"),this.bindBoolean(r,c.candleStyle.drawWick,"Change Candle Wick Visibility"),this.bindColor(o,c.candleStyle.wickColor,"Change Candle Wick Color"),this.bindBoolean(s,c.candleStyle.drawBorder,"Change Candle Border Visibility"),this.bindColor(n,c.candleStyle.borderUpColor,"Change Candle Up Border Color"),this.bindColor(a,c.candleStyle.borderDownColor,"Change Candle Down Border Color"),this.bindControl(new p(h,c.transparency,!0,this.model(),"Change Guest Feed Transparency"))},n.prototype.widget=function(){return this._widget},t.LineToolGhostFeedInputsPropertyPage=o,t.LineToolGhostFeedStylesPropertyPage=n},342:function(e,t,i){"use strict";function o(e,t,i){a.call(this,e,t,i),this.prepareLayout()}function n(e,t,i){s.call(this,e,t,i)}var a=i(825),s=i(691),r=i(823),l=r.BooleanBinder,p=r.SimpleComboBinder,d=r.SimpleStringBinder,h=r.ColorBinding,c=r.SliderBinder,u=i(830).createLineStyleEditor;inherit(o,a),o.prototype.prepareLayout=function(){var e,t,i,o,n,a,s,r,b,y,g,C,_,m;this._res=$("
"),this._table=$('
').appendTo(this._res),e=this.createLineWidthEditor(),t=u(),i=this.createColorPicker(),o=this.addLabeledRow(this._table,"Line"),$("
").append(i).appendTo(o),$("").append(e).appendTo(o),$('').append(t.render().css("display","block")).appendTo(o),n=$(""),o=$("
').append($("
').append($("").append(s).appendTo(o),$("").append(b).appendTo(o),$("").append(r).appendTo(o),$("").append(y).appendTo(o),$("").append(g).appendTo(o),o=$("
").append($.t("Text Alignment:")).appendTo(o),C=$(""),_=$("").data("selectbox-css",{display:"block"}),$("").append(C).appendTo(o), -$("").append(_).appendTo(o),m=$("