Initial commit

This commit is contained in:
Yaser
2026-08-13 20:26:04 +03:30
commit 056fa76514
1923 changed files with 113766 additions and 0 deletions

10
.dockerignore Normal file
View File

@@ -0,0 +1,10 @@
node_modules
build
.git
debug.log
.env.development
.env.local
.env.*.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

17
.env.development Normal file
View File

@@ -0,0 +1,17 @@
# Shahoo — local development (loaded automatically by CRA on `yarn start`)
# Restart dev server after changing this file.
# Local dev only — skip 2FA requirement for API keys (BFF + Dalan must match)
REACT_APP_SKIP_API_KEY_2FA=true
# API backend — Shahoo BFF (Fibitex local)
REACT_APP_API_URL=http://localhost:8082
# Legacy / staging fallback:
# REACT_APP_API_URL=http://ilaand.ir
# When using setupProxy with same-origin /api (T1.8), use:
# REACT_APP_API_URL=
PORT=3000
BROWSER=none

2
.env.development.example Normal file
View File

@@ -0,0 +1,2 @@
# Copy to .env.development for local Shahoo dev (site key must match app.yml / Dalan barong).
REACT_APP_RECAPTCHA_SITE_KEY=

25
.env.example Normal file
View File

@@ -0,0 +1,25 @@
# Copy to .env.local for personal overrides (gitignored).
# .env.development is committed with team defaults.
# App domain (TradingView exchange label; first label used as brand name)
REACT_APP_DOMAIN=fibitex.com
# API origin — no trailing slash
REACT_APP_API_URL=http://ilaand.ir
# Fibitex local BFF (after T2.x):
# REACT_APP_API_URL=http://localhost:8082
# Same-origin via CRA proxy (after T1.8 setupProxy):
# REACT_APP_API_URL=
# Production Docker build (same-origin behind Traefik/nginx):
# REACT_APP_API_URL=
# Ranger / Rango WebSocket (Shahoo)
# REACT_APP_RANGER_ENABLED=true
# REACT_APP_RANGER_ENABLED=false # force HTTP polling fallback
PORT=3000
BROWSER=none

2
.env.production Normal file
View File

@@ -0,0 +1,2 @@
# Production build — same-origin; nginx/Traefik serves /api/1 or proxies to BFF
REACT_APP_API_URL=

2
.eslintignore Normal file
View File

@@ -0,0 +1,2 @@
# TradingView vendor bundles — not project source
**/charting_library/**

14
.gitignore vendored Normal file
View File

@@ -0,0 +1,14 @@
node_modules
# Local env overrides (never commit secrets)
.env.local
.env.development.local
.env.production.local
.env.test.local
# Large design files
public/static/icons/Icon-Svg/Icon.sketch
public/static/icons/Icon-Svg/Icon/pages/*.json
public/static/icons/Content/Screen Shot*
public/static/icons/Content/Map.png

1
.nvmrc Normal file
View File

@@ -0,0 +1 @@
18

28
Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
# syntax=docker/dockerfile:1.4
# App image — node_modules from deps base (custom/shahoo-deps:1).
# Rebuild deps when yarn.lock changes: docker build -f Dockerfile.deps -t custom/shahoo-deps:1 .
ARG DEPS_IMAGE=custom/shahoo-deps:1
FROM ${DEPS_IMAGE} AS builder
WORKDIR /home/node
COPY --chown=node:node . .
ARG REACT_APP_API_URL=
ENV REACT_APP_API_URL=${REACT_APP_API_URL}
ARG REACT_APP_SKIP_API_KEY_2FA=
ENV REACT_APP_SKIP_API_KEY_2FA=${REACT_APP_SKIP_API_KEY_2FA}
ENV NODE_OPTIONS=--openssl-legacy-provider
USER node
RUN sed -i 's/\r$//' scripts/build.sh && sh scripts/build.sh
FROM nginx:mainline-alpine
COPY --from=builder /home/node/build /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 \
CMD wget -q -O /dev/null http://127.0.0.1:3000/health || exit 1

14
Dockerfile.deps Normal file
View File

@@ -0,0 +1,14 @@
# syntax=docker/dockerfile:1.4
# Heavy layer: yarn install. Rebuild when yarn.lock changes:
# docker build -f Dockerfile.deps -t custom/shahoo-deps:1 .
FROM node:18-alpine
WORKDIR /home/node
COPY package.json yarn.lock ./
ENV CYPRESS_INSTALL_BINARY=0
USER node
RUN yarn install --frozen-lockfile --network-timeout 600000 --non-interactive

69
README.md Normal file
View File

@@ -0,0 +1,69 @@
# Shahoo — فرانت جایگزین Fibitex
React SPA — staging: `shahoo.fibitex.com`. API via [Shahoo-BFF](../Shahoo-BFF/).
```bash
yarn install && yarn start
# BFF: cd ../Shahoo-BFF && yarn start
```
مستندات: `Docs/Shahoo/README.md` · `Docs/Fibitex-staging-deploy.md`
---
# Getting Started with Create React App-
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `yarn start`
Runs the app in the development mode.
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
### `yarn test`
Launches the test runner in the interactive watch mode.
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `yarn build`
Builds the app for production to the `build` folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `yarn eject`
**Note: this is a one-way operation. Once you **`eject`**, you cant go back!**
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `yarn build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

19
config-overrides.js Normal file
View File

@@ -0,0 +1,19 @@
const { override, addWebpackAlias } = require("customize-cra");
const path = require("path");
module.exports = override(
// add an alias for "ag-grid-react" imports
addWebpackAlias({
"@components": path.resolve(__dirname, "src/components/"),
"@features": path.resolve(__dirname, "src/features/"),
"@core": path.resolve(__dirname, "src/core/"),
"@api": path.resolve(__dirname, "src/api"),
"@hocs": path.resolve(__dirname, "src/hocs"),
"@consts": path.resolve(__dirname, "src/consts"),
"@context": path.resolve(__dirname, "src/context"),
"@hook": path.resolve(__dirname, "src/hook"),
"@lib": path.resolve(__dirname, "src/lib"),
})
// adjust the underlying workbox
);

15
debug.log Normal file
View File

@@ -0,0 +1,15 @@
[1215/164245.858:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1218/214410.135:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1221/101351.184:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1224/161828.253:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1226/114908.144:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1227/075634.482:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1227/153226.905:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1227/160628.451:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[1229/081308.882:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0105/094552.093:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0112/163514.121:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0113/173228.926:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0119/111150.038:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0120/120628.380:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)[0124/095536.392:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)
[0125/110846.148:ERROR:directory_reader_win.cc(43)] FindFirstFile: The system cannot find the path specified. (0x3)

8
docker-compose.yml Normal file
View File

@@ -0,0 +1,8 @@
version: '3.3'
services:
front:
ports:
- '3001:80'
restart: always
container_name: j2
image: repo.teanab.com:5050/aragon/j2

View File

@@ -0,0 +1,279 @@
<div dir="rtl">
# اصلاح بازار داینامیک، نمودار یکپارچه، و حذف CAD→IRT
**تاریخ:** 2026-07-19
**محیط:** staging — https://shahoo.fibitex.com/
**وابستگی:** Shahoo-BFF (ریپوی جدا)
---
## ۱. خلاصه مشکل
| # | علامت | علت ریشه‌ای |
|---|--------|-------------|
| ۱ | لیست بازار ثابت (IRT/USDT) | آرایه‌های hardcode در UI |
| ۲ | ارزهای اضافی/کم (مثلاً BNB نیست، LINK هست) | `CURRENCY.TYPE` + `IRTitems`/`USDTitems` ثابت |
| ۳ | نمودار USDT = Binance | `TradingViewWidget` به‌جای datafeed داخلی |
| ۴ | CAD به‌عنوان quote پشتیبانی نمی‌شود | UI فقط IRT/USDT؛ chart برای CAD `null` |
| ۵ | CAD→IRT در BFF (legacy) | `normalizeCurrencyForShahoo` — دیگر لازم نیست؛ IRT روی سرور فعال است |
---
## ۲. وضعیت فعلی staging (baseline)
API stats روی staging (2026-07-19):
```
BNB_CAD, BNB_IRT, BNB_USDT, BTC_CAD, BTC_IRT, BTC_USDT,
ETH_CAD, ETH_IRT, ETH_USDT, IRT_IRT, USDT_CAD, USDT_IRT
```
- **IRT** و **CAD** هر دو quote مستقل روی Peatio/Dena فعال‌اند.
- BFF endpoint `GET /api/1/ohlcvs/tradingView?market=BTC_USDT` داده صرافی برمی‌گرداند ✅
- UI هنوز از hardcode استفاده می‌کند ❌
---
## ۳. اهداف (Definition of Done)
- [x] لیست بازارها و quote currencies (**IRT, USDT, CAD**) از API لود شوند
- [x] تب‌های sidebar/header/popover داینامیک باشند
- [x] فقط markets فعال Peatio نمایش داده شوند
- [x] نمودار **همه** quoteها از `TVChartContainer` + BFF `/ohlcvs/tradingView`
- [x] mapping **CAD→IRT** از BFF حذف شود
- [ ] QA روی `shahoo.fibitex.com` سبز + redeploy images
---
## ۴. معماری هدف
```
Peatio (Dena)
GET /public/markets
GET /public/currencies
Shahoo-BFF
GET /api/1/markets/catalog ← جدید (public)
GET /api/1/ohlcvs/stats ← موجود
GET /api/1/ohlcvs/tradingView ← موجود
Shahoo SPA
MarketsContext (bootstrap، بدون login)
MarketListPanel (تب quote + لیست base)
TVChartContainer (IRT | USDT | CAD)
```
---
## ۵. قرارداد API پیشنهادی — `GET /api/1/markets/catalog`
**Auth:** public (بدون token)
**منبع BFF:** `denaClient.getMarkets()` + `denaClient.getCurrencies()`
```json
{
"statusCode": 200,
"content": {
"quoteCurrencies": ["IRT", "USDT", "CAD"],
"marketsByQuote": {
"IRT": ["BTC", "ETH", "BNB", "USDT"],
"USDT": ["BTC", "ETH", "BNB"],
"CAD": ["BTC", "ETH", "BNB", "USDT"]
},
"markets": [
{
"marketId": "btcirt",
"marketKey": "BTC_IRT",
"base": "BTC",
"quote": "IRT",
"symbol": "BTCIRT",
"route": "BTC-IRT",
"enabled": true,
"amountPrecision": 6,
"pricePrecision": 2
}
]
}
}
```
**قوانین mapping BFF:**
- فقط markets با `state: enabled`
- `marketKey` = `{BASE}_{QUOTE}` (uppercase)
- `route` = `{BASE}-{QUOTE}` (مطابق react-router Shahoo)
- `symbol` = `{BASE}{QUOTE}` (مطابق TradingView datafeed)
- **بدون** تبدیل CAD→IRT
---
## ۶. فازبندی و اولویت
### فاز ۱ — 🔴 فوری
| ID | تسک | repo | فایل(ها) | وضعیت |
|----|------|------|----------|--------|
| **T1.1** | یکپارچه‌سازی نمودار: حذف `TradingViewWidget`؛ `TVChartContainer` برای IRT/USDT/CAD | Shahoo | `MarketChart/index.js` | ✅ |
| **T1.2** | حذف CAD→IRT در BFF | Shahoo-BFF | `mapMarket.js`, `userPrefs.js`, `mapTransaction.js`, … | ✅ |
**T1.1 جزئیات:**
```js
// قبل: USDT → TradingViewWidget (Binance embed)
// بعد: همه quoteها → TVChartContainer + Datafeed → /api/1/ohlcvs/tradingView
```
symbol اولیه: `{BASE}{QUOTE}` — مثلاً `BTCUSDT`, `BTCIRT`, `BTCCAD`
---
### فاز ۲ — 🔴 BFF catalog
| ID | تسک | repo | فایل(ها) | وضعیت |
|----|------|------|----------|--------|
| **T2.1** | Endpoint `GET /api/1/markets/catalog` | Shahoo-BFF | `routes/markets.js`, `lib/mapMarketsCatalog.js` | ✅ |
| **T2.2** | حذف/جایگزینی `SHAAHO_CURRENCIES` whitelist | Shahoo-BFF | `mapMarket.js`, `mapConstants.js` | ✅ |
---
### فاز ۳ — 🔴 Shahoo UI داینامیک
| ID | تسک | repo | فایل(ها) | وضعیت |
|----|------|------|----------|--------|
| **T3.1** | `MarketsContext` + `useMarkets` + fetch bootstrap | Shahoo | `context/marketsContext.js`, `api/markets.js`, `Layout/App` | ✅ |
| **T3.2** | کامپوننت مشترک `MarketListPanel` | Shahoo | `MarketListPanel/` | ✅ |
| **T3.3** | refactor سه فایل تکراری → `MarketListPanel` | Shahoo | `MarketSelectCurrency`, `MarketSelectTab`, `MarketDropDown` | ✅ |
| **T3.4** | `CURRENCY.TYPE` → fallback | Shahoo | `core/utils/getCurrencyMeta.js` | ✅ |
**فایل‌های hardcode برای حذف/جایگزینی:**
```
src/features/Market/MainComponents/MarketSelectCurrency/index.js → IRTitems, USDTitems
src/features/Market/MainComponents/MarketHeader/.../MarketSelectTab/index.js
src/features/PopOverComponents/Market/MarketDropDown/index.js
```
---
### فاز ۴ — 🟡 سطوح ثانویه
| ID | تسک | repo | فایل(ها) | وضعیت |
|----|------|------|----------|--------|
| **T4.1** | `SwitchCurrency` — تب quote داینامیک | Shahoo | `SwitchCurrency/index.js` | ✅ |
| **T4.2** | Landing — لیست از catalog | Shahoo | `Landing/pages/index.js` | ✅ |
| **T4.3** | TradingView datafeed — symbols داینامیک | Shahoo | `datafeeds/datafeed.js` | ✅ |
| **T4.4** | `MarketChart` — symbol از catalog | Shahoo | `MarketChart/index.js` | ✅ |
| **T4.5** | WatchList — quote از destMarket | Shahoo | `WatchList/index.js` | ✅ |
| **T4.6** | Route guard — redirect به market معتبر | Shahoo | `Market/pages/index.js` | ✅ |
---
### فاز ۵ — 🟢 QA + Deploy
| ID | تسک | وضعیت |
|----|------|--------|
| **T5.1** | تب IRT/USDT/CAD فقط markets واقعی Peatio | ⬜ |
| **T5.2** | BNB در لیست؛ LINK/LTC بدون market نباشند | ⬜ |
| **T5.3** | نمودار BTC-USDT / BTC-IRT / BTC-CAD — داده صرافی | ⬜ |
| **T5.4** | Wallet: balance IRT و CAD جدا | ⬜ |
| **T5.5** | Order book + place order روی BNB-USDT | ⬜ |
| **T5.6** | Rebuild `custom/shahoo:1` + `custom/shahoo-bff:1` + redeploy staging | ⬜ |
---
## ۷. مسیر بحرانی (Critical Path)
```
T1.2 → T2.1 → T3.1 → T3.2 → T3.3
T1.1 (موازی — می‌توان همزمان با T1.2 شروع کرد)
T4.* → T5.*
```
**ترتیب پیشنهادی اجرا:**
1. T1.1 + T1.2 (نمودار + پاکسازی BFF)
2. T2.1 + T2.2 (catalog API)
3. T3.1 → T3.3 (UI داینامیک)
4. T4.* (polish)
5. T5.* (QA staging)
**تخمین:** ۴–۵ روز کاری
---
## ۸. تست دستی (staging)
```bash
# statMap — کلیدهای IRT/USDT/CAD
curl -s https://shahoo.fibitex.com/api/1/ohlcvs/stats | jq '.content.statMap | keys'
# catalog (بعد از T2.1)
curl -s https://shahoo.fibitex.com/api/1/markets/catalog | jq .
# نمودار USDT از صرافی (بعد از T1.1)
curl -s "https://shahoo.fibitex.com/api/1/ohlcvs/tradingView?market=BTC_USDT&resolution=240&from=1700000000&to=1800000000" | jq '.content | length'
```
**چک UI:**
- [ ] `/market/BNB-IRT` — لیست + قیمت + نمودار
- [ ] `/market/BTC-USDT` — نمودار Fibitex (نه Binance watermark)
- [ ] `/market/BTC-CAD` — صفحه باز شود (بعد از T1.1/T3)
---
## ۹. خارج از scope (این سند)
- حذف کامل `CURRENCY.TYPE` (فقط به fallback تبدیل می‌شود)
- فیچرهای ایران (Jibit/Vandar/IRT Pay)
**Real-time (Rango WebSocket):** برنامه جدا — [02-rango-websocket-plan.md](./02-rango-websocket-plan.md)
شروع توصیه‌شده: **بعد از T3.1 MarketsContext** (marketId برای subscribe).
---
## ۱۰. Todo checklist (کپی برای commit/PR)
```
فاز ۱
[x] T1.1 MarketChart → TVChartContainer برای همه quote
[x] T1.2 BFF: حذف CAD→IRT
فاز ۲
[x] T2.1 BFF: GET /api/1/markets/catalog
[x] T2.2 BFF: SHAAHO_CURRENCIES → dynamic
فاز ۳
[x] T3.1 MarketsContext + useMarkets + api/markets.js
[x] T3.2 MarketListPanel (کامپوننت مشترک)
[x] T3.3 refactor MarketSelectCurrency / MarketSelectTab / MarketDropDown
[x] T3.4 CURRENCY.TYPE fallback + getCurrencyMeta
فاز ۴
[x] T4.1 SwitchCurrency داینامیک
[x] T4.2 Landing از catalog
[x] T4.3 datafeed symbols داینامیک
[x] T4.4 MarketChart symbol از context
[x] T4.5 WatchList quote selector
[x] T4.6 Route guard market معتبر
فاز ۵
[ ] T5 QA staging + redeploy
```
**مرحله بعد (real-time):** [02-rango-websocket-plan.md](./02-rango-websocket-plan.md)
---
## ۱۱. commit message convention
```
T1.1: unify market chart on TVChartContainer for all quotes
T2.1: add GET /api/1/markets/catalog from Dena public API
T3.2: replace hardcoded IRTitems/USDTitems with MarketListPanel
```
</div>

View File

@@ -0,0 +1,366 @@
<div dir="rtl">
# Rango WebSocket — جایگزینی Polling در Shahoo
**تاریخ:** 2026-07-19
**آخرین به‌روزرسانی پیاده‌سازی:** 2026-07-20
**وابستگی:** [01-dynamic-markets-remediation.md](./01-dynamic-markets-remediation.md) (فاز ۳+ توصیه می‌شود)
**مرجع Gereh:** `Gereh/src/modules/public/ranger/`
**Infra:** Rango 2.6.1 — `quay.io/openware/rango:2.6.1`
> **وضعیت کد (۲۰۲۶-۰۷-۲۰):** WS-0 → WS-4 پیاده‌سازی شده؛ follow-up: thrashing/refcount، sequence resync، private reconnect، compose shahoo-ranger، setupProxy.
> باقی ops: WS0.3/0.4 staging + Cloudflare، WS5.1/5.3 latency/load.
> Public: `RangerProvider` + `global.tickers` / `ob-inc` / `trades` / `kline-*`.
> Private: BFF `GET /api/1/ranger/credentials` + WS proxy `/api/1/ranger/ws` → Rango private با cookie session.
> Fallback: `REACT_APP_RANGER_ENABLED=false` یا قطع WS → polling قبلی.
---
## ۱. خلاصه اجرایی
Shahoo امروز **HTTP polling** دارد؛ Gereh از **Rango (Ranger) WebSocket** استفاده می‌کند. هدف: latency کمتر در order book، tickers، trades و (در فاز بعد) balances/orders.
| معیار | Polling (فعلی) | Rango WS (هدف) |
|-------|----------------|----------------|
| Order book | هر **۵s** | push فوری (`ob-inc` / `update`) |
| Tickers (stats) | هر **۵s** | `global.tickers` |
| Recent trades | هر **۱۰s** | `{market}.trades` |
| Chart realtime | stub (CryptoCompare comment) | `{market}.kline-{period}` |
| بار سرور | N × clients × freq | یک WS per client |
| Auth private | — | `order`, `trade`, `balances` |
**توصیه:** بعد از **MarketsContext داینامیک** (doc 01 فاز ۳) شروع شود — subscribe به streamها به `marketId` Peatio (مثلاً `btcirt`) وابسته است.
---
## ۲. وضعیت فعلی Shahoo (Polling Map)
| فایل | interval | API | جایگزین Rango |
|------|----------|-----|----------------|
| `src/features/User/context/index.js` | 5s | `GET /api/1/ohlcvs/stats` | `global.tickers` |
| `OrderBook/RecentTransactionsList/index.js` | 5s | `GET /api/1/orders/orderBook/...` | `{id}.ob-inc` یا `{id}.update` |
| `hook/useGetOdrerBook/useGetOdrerBook.js` | 8s | order book | همان |
| `MarketTable/RecentMarketTrades/index.js` | 10s | trades | `{id}.trades` |
| `MarketRecentTransactions/index.js` | 10s | trades | `{id}.trades` |
| `TVChartContainer/datafeeds/streaming.js` | — | stub (غیرفعال) | `{id}.kline-{period}` |
**تنظیمات interval:** `src/core/utils/IntervalApiTime.js`
```js
export const orderBookTime = 5;
export const statsTime = 5;
export const recentMarketTime = 10;
```
---
## ۳. پروتکل Rango (OpenDAX)
### ۳.۱. URL اتصال
```
wss://{domain}/api/v2/ranger/public/?stream=global.tickers&stream=btcirt.trades&...
wss://{domain}/api/v2/ranger/private/?stream=order&stream=trade&...
```
الگوی Gereh (`helpers.ts`):
```ts
generateSocketURI(baseUrl, streams) =>
`${baseUrl}/?stream=${streams.sort().join('&stream=')}`
```
### ۳.۲. کانال‌های public
| Stream | payload | مصرف Shahoo |
|--------|---------|-------------|
| `global.tickers` | `{ btcusdt: { last, open, high, low, volume, ... } }` | `StatsContext` / sidebar قیمت |
| `{market}.trades` | `{ trades: [...] }` | Recent trades |
| `{market}.update` | full order book snapshot | Order book (legacy) |
| `{market}.ob-snap` | snapshot | incremental OB |
| `{market}.ob-inc` | incremental + sequence | Order book (preferred) |
| `{market}.kline-{period}` | OHLCV bar | TradingView streaming |
`period`: `1h`, `4h`, `1d`, … (مطابق Gereh `periodsMapString`)
### ۳.۳. کانال‌های private (JWT / session)
| Stream | مصرف |
|--------|------|
| `order` | open orders update |
| `trade` | history push |
| `balances` | wallet realtime (Finex) |
| `deposit_address` | آدرس واریز |
### ۳.۴. پیام subscribe/unsubscribe
```json
{ "event": "subscribe", "streams": ["btcirt.trades"] }
{ "event": "unsubscribe", "streams": ["btcirt.trades"] }
```
پاسخ: `{ "success": { "message": "subscribed", "streams": [...] } }`
---
## ۴. شکاف‌های اتصال Shahoo ↔ Rango
### G1 — URL runtime ندارد 🔴
Shahoo `public/config/env.js` فقط `app`, `captcha` دارد — **`rangerUrl` نیست**.
**راه‌حل:** اضافه به `window.env`:
```js
window.env.api = {
rangerUrl: 'wss://shahoo.fibitex.com/api/v2/ranger',
};
```
Traefik روی `shahoo.*` باید `/api/v2/ranger` → Rango route داشته باشد (مثل Gereh روی `www.*`).
### G2 — Auth model متفاوت 🔴
| Gereh | Shahoo |
|-------|--------|
| Cookie + Envoy JWT | BFF opaque token + Barong cookies در server-side |
| WS private با session مرورگر | مرورگر JWT Peatio ندارد |
**گزینه‌ها:**
| # | رویکرد | + | |
|---|--------|---|---|
| **A** | Public WS مستقیم از browser؛ private همچنان polling/BFF | سریع MVP | orders/balances realtime نمی‌آید |
| **B** | BFF: `GET /api/1/ranger/credentials` → Peatio JWT از gateway | private channels | endpoint + امنیت |
| **C** | BFF WebSocket proxy | مخفی JWT | پیچیدگی ops |
**توصیه:** **A برای MVP** (public market data) → **B برای فاز ۲** (private).
### G3 — نگاشت ticker 🔴
Rango: `{ "btcirt": { last, open, ... } }` (market id lowercase)
Shahoo: `statMap["BTC_IRT"]` (uppercase key)
**راه‌حل:** mapper مشترک در `src/lib/ranger/mapTickers.js` (یا reuse BFF `marketIdToShahooStatKeys` logic در frontend).
### G4 — Order book format 🟡
BFF فعلی: `{ sells: [{unitPrice, size}], buys: [...] }`
Rango `ob-inc`: `{ asks, bids, sequence }` — نیاز adapter مثل Gereh `depthDataIncrement`.
### G5 — Incremental sequence 🟡
Gereh: اگر `sequence` break شود → disconnect + reconnect + REST prefetch.
Shahoo باید همان pattern را پیاده کند.
### G6 — Cloudflare / Traefik 🟡
WebSocket روی staging/production:
- Cloudflare: WebSocket proxy **فعال**
- Traefik: `Upgrade` header pass-through
- تست: `wscat -c "wss://shahoo.fibitex.com/api/v2/ranger/public/?stream=global.tickers"`
---
## ۵. معماری هدف
```
┌─────────────────────────────────────────────────────────┐
│ Shahoo SPA │
│ RangerContext (singleton WS manager) │
│ ├─ public: global.tickers + market streams │
│ ├─ private: (فاز ۲) order, trade │
│ └─ mappers → StatsContext, OrderBook, Trades, Chart │
└───────────────────────┬─────────────────────────────────┘
│ wss://shahoo.fibitex.com/api/v2/ranger
Traefik → Rango :8080
RabbitMQ ← Dena pushers
```
**Fallback:** اگر WS قطع شد → polling قبلی (feature flag `REACT_APP_RANGER_ENABLED`).
---
## ۶. فازبندی اجرایی
### فاز WS-0 — زیرساخت (DevOps + config) 🔴
| ID | تسک | repo | وضعیت |
|----|------|------|--------|
| **WS0.1** | `rangerUrl` در `public/config/env.js` + Alvand-P template `shahoo.env.js.erb` | Shahoo + Alvand-P | ✅ |
| **WS0.2** | Traefik route `/api/v2/ranger` روی host `shahoo.*` → rango | Alvand-P | ✅ |
| **WS0.3** | تست connectivity: `global.tickers` از staging | QA | ⬜ |
| **WS0.4** | Cloudflare WebSocket برای `shahoo.fibitex.com` | DevOps | ⬜ |
---
### فاز WS-1 — Core client (Shahoo) 🔴
| ID | تسک | فایل(ها) | وضعیت |
|----|------|----------|--------|
| **WS1.1** | `src/lib/ranger/rangerClient.js` — connect, reconnect, heartbeat | جدید | ✅ |
| **WS1.2** | `generateSocketURI`, subscribe/unsubscribe | `rangerClient.js` | ✅ |
| **WS1.3** | `RangerContext` + `useRanger()` | `src/context/rangerContext.js` | ✅ |
| **WS1.4** | Feature flag: `REACT_APP_RANGER_ENABLED` + fallback polling | `.env`, hooks | ✅ |
| **WS1.5** | `mapRangerTickersToStatMap` | `src/lib/ranger/mapTickers.js` | ✅ |
**مرجع پیاده‌سازی:** `Gereh/src/modules/public/ranger/sagas/rangerSaga.ts` (بدون Redux — Context + useReducer).
---
### فاز WS-2 — جایگزینی polling (public) 🔴
| ID | تسک | جایگزین | polling حذف‌شده | وضعیت |
|----|------|---------|-----------------|--------|
| **WS2.1** | Tickers → `StatsContext` | `global.tickers` | `User/context` stats loop | ✅ |
| **WS2.2** | Order book | `{id}.ob-inc` + REST prefetch | `RecentTransactionsList`, `useGetOdrerBook` | ✅ |
| **WS2.3** | Recent trades | `{id}.trades` | `RecentMarketTrades`, `MarketRecentTransactions` | ✅ |
| **WS2.4** | Market switch → resubscribe | `rangerSubscribeMarket` pattern | — | ✅ |
| **WS2.5** | Landing tickers (public page) | `global.tickers` | `Landing/pages` getStats | ✅ |
**WS2.4:** هنگام تغییر route `/market/BTC-IRT` → unsubscribe `ethirt.*` → subscribe `btcirt.*`.
---
### فاز WS-3 — Chart streaming 🟡
| ID | تسک | فایل | وضعیت |
|----|------|------|--------|
| **WS3.1** | فعال‌سازی `streaming.js` با Rango kline | `datafeeds/streaming.js` | ✅ |
| **WS3.2** | subscribe `{marketId}.kline-4h` (match TV resolution) | `rangerClient` + datafeed | ✅ |
| **WS3.3** | unsubscribe on symbol change / unmount | datafeed | ✅ |
---
### فاز WS-4 — Private channels 🟡
| ID | تسک | repo | وضعیت |
|----|------|------|--------|
| **WS4.1** | BFF: `GET /api/1/ranger/credentials` (+ alias `/token`) + private WS proxy | Shahoo-BFF | ✅ |
| **WS4.2** | اتصال private بعد از login (`connectPrivate`) | Shahoo `rangerContext` | ✅ |
| **WS4.3** | `order` stream → refresh open orders | Market / Orders UI | ✅ |
| **WS4.4** | `trade` stream → history refresh | MarketYourTransaction | ✅ |
| **WS4.5** | `balances` → wallets refetch | Wallets context | ✅ |
---
### فاز WS-5 — QA + Performance 🟢
| ID | تسک | وضعیت |
|----|------|--------|
| **WS5.1** | Latency: order book update < 500ms vs polling 5s | ⬜ staging |
| **WS5.2** | Reconnect بعد از sleep/tab background | ✅ (client 1s reconnect) |
| **WS5.3** | 50+ concurrent WS روی staging (load) | ⬜ ops |
| **WS5.4** | Fallback polling وقتی WS down | ✅ |
| **WS5.5** | حذف intervalهای unused از `IntervalApiTime.js` | ⏸️ نگه داشته (fallback) |
---
## ۷. مسیر بحرانی و وابستگی
```
doc-01: T3.1 MarketsContext (marketId از catalog)
WS0.* (infra + rangerUrl)
WS1.* (rangerClient + Context)
WS2.1 (tickers) → WS2.2 (orderbook) → WS2.3 (trades)
WS3.* (chart) — موازی با WS2.3
WS4.* (private) — بعد از تصمیم auth
WS5.* (QA)
```
**موازی با doc-01:** WS0 می‌تواند همزمان با فاز ۱ doc-01 (نمودار/CAD) شروع شود.
**WS2+** بعد از `MarketsContext` — market id باید از catalog بیاید نه hardcode.
---
## ۸. تخمین زمان
| فاز | تخمین |
|-----|--------|
| WS-0 | ۰.۵۱ روز (DevOps) |
| WS-1 | ۱–۲ روز |
| WS-2 | ۲–۳ روز |
| WS-3 | ۱ روز |
| WS-4 | ۲–۳ روز |
| WS-5 | ۱ روز |
| **جمع MVP (WS-0→2)** | **~۵۷ روز** |
---
## ۹. تست
```bash
# connectivity (بعد از WS0)
npx wscat -c "wss://shahoo.fibitex.com/api/v2/ranger/public/?stream=global.tickers"
# browser DevTools → Network → WS → frames
# انتظار: JSON با کلید btcirt, btcusdt, ...
```
**چک UI:**
- [ ] قیمت sidebar بدون 5s delay به‌روز شود
- [ ] order book بعد از trade دیگران فوری update
- [ ] Network tab: polling `/ohlcvs/stats` متوقف (با flag روشن)
- [ ] قطع WS → fallback polling کار کند
---
## ۱۰. Todo checklist
```
فاز WS-0 — Infra
[x] WS0.1 rangerUrl در env.js + template
[x] WS0.2 Traefik /api/v2/ranger روی shahoo.*
[ ] WS0.3 تست global.tickers staging
[ ] WS0.4 Cloudflare WebSocket
فاز WS-1 — Core
[x] WS1.1 rangerClient.js
[x] WS1.2 subscribe/unsubscribe
[x] WS1.3 RangerContext + useRanger
[x] WS1.4 REACT_APP_RANGER_ENABLED + fallback
[x] WS1.5 mapRangerTickersToStatMap
فاز WS-2 — Public replace polling
[x] WS2.1 tickers → StatsContext
[x] WS2.2 order book ob-inc
[x] WS2.3 recent trades
[x] WS2.4 market switch resubscribe
[x] WS2.5 landing tickers
فاز WS-3 — Chart
[x] WS3.1 streaming.js + Rango kline
[x] WS3.2 resolution mapping
[x] WS3.3 cleanup on unmount
فاز WS-4 — Private
[x] WS4.1 BFF ranger credentials + private WS proxy
[x] WS4.2 private WS connect after login
[x] WS4.3 order stream → refresh
[x] WS4.4 trade stream → refresh
[x] WS4.5 balances → wallets refresh
فاز WS-5 — QA
[x] WS5.2 reconnect + WS5.4 fallback
[ ] WS5.1 latency / WS5.3 load / Cloudflare
```
---
## ۱۱. commit message convention
```
WS1.1: add rangerClient with reconnect
WS2.1: replace stats polling with global.tickers
WS2.2: incremental order book via ob-inc
```
</div>

28
docs/README.md Normal file
View File

@@ -0,0 +1,28 @@
<div dir="rtl">
# مستندات Shahoo
| # | عنوان | فایل | اولویت | وضعیت |
|---|--------|------|--------|--------|
| ۱ | اصلاح بازار داینامیک + نمودار + حذف CAD→IRT | [01-dynamic-markets-remediation.md](./01-dynamic-markets-remediation.md) | 🔴 | 🔄 در حال اجرا |
| ۲ | Rango WebSocket — جایگزینی polling | [02-rango-websocket-plan.md](./02-rango-websocket-plan.md) | 🟡 | ⬜ بعد از doc-01 |
## وضعیت staging
- **URL:** https://shahoo.fibitex.com/
- **BFF:** `Shahoo-BFF/` (ریپوی جدا)
- **Real-time:** HTTP polling — Rango در doc-02
## ترتیب اجرای پیشنهادی
```
01 فاز ۱–۴ (پیاده‌سازی — 2026-07-19)
01 فاز ۵ QA + redeploy staging
02 Rango WebSocket
```
**آخرین به‌روزرسانی doc-01:** 2026-07-19 — فاز ۱–۴ پیاده‌سازی شد؛ فاز ۵ QA باقی‌مانده.
</div>

9
jsconfig.json Normal file
View File

@@ -0,0 +1,9 @@
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"@*": ["src/*"]
}
},
"include": ["src"]
}

65
nginx.conf Normal file
View File

@@ -0,0 +1,65 @@
map $sent_http_content_type $expires {
default off;
text/html 1h;
text/css max;
application/javascript 10m;
~image/ max;
}
server {
listen 3000;
server_name localhost;
absolute_redirect off;
expires $expires;
gzip on;
gzip_comp_level 5;
gzip_min_length 256;
gzip_types
application/atom+xml
application/javascript
application/json
application/ld+json
application/manifest+json
application/rss+xml
application/vnd.geo+json
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/bmp
image/svg+xml
image/x-icon
text/cache-manifest
text/css
text/plain
text/vcard
text/vnd.rim.location.xloc
text/vtt
text/x-component
text/x-cross-domain-policy;
location = /health {
access_log off;
default_type text/plain;
return 200 "ok\n";
}
# Missing hashed chunks must 404 — never SPA-fallback HTML (breaks browsers with "<").
location /static/ {
root /usr/share/nginx/html;
try_files $uri =404;
access_log off;
}
location / {
root /usr/share/nginx/html;
index index.html;
try_files $uri $uri/ /index.html?/$request_uri;
sendfile on;
sendfile_max_chunk 1m;
tcp_nopush on;
gzip_static on;
}
}

82
package.json Normal file
View File

@@ -0,0 +1,82 @@
{
"name": "fibitex",
"version": "0.1.0",
"private": true,
"dependencies": {
"@date-io/jalaali": "^1.3.13",
"@date-io/moment": "^1.3.13",
"@hookform/resolvers": "^1.3.1",
"@material-ui/core": "^4.11.2",
"@material-ui/data-grid": "^4.0.0-alpha.14",
"@material-ui/icons": "^4.11.2",
"@material-ui/lab": "^4.0.0-alpha.57",
"@material-ui/pickers": "^3.2.10",
"@testing-library/jest-dom": "^5.11.8",
"@testing-library/react": "^11.2.2",
"@testing-library/user-event": "^12.6.0",
"axios": "^0.21.1",
"image-upload-react": "^1.4.9",
"jalali-moment": "^3.3.9",
"jss-rtl": "^0.3.0",
"material-ui-dropzone": "^3.5.0",
"material-ui-image": "^3.3.1",
"moment": "^2.29.1",
"moment-jalaali": "^0.9.2",
"prop-types": "^15.7.2",
"qrcode.react": "^1.0.1",
"react": "^17.0.1",
"react-compound-timer": "^1.2.0",
"react-dom": "^17.0.1",
"react-dropzone": "^11.2.4",
"react-dropzone-uploader": "^2.11.0",
"react-google-recaptcha": "^2.1.0",
"react-hook-form": "^6.14.0",
"react-intl": "^5.10.11",
"react-notifications-component": "^2.4.1",
"react-number-format": "^4.4.1",
"react-promise-tracker": "^2.1.0",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.0",
"react-text-mask": "^5.4.3",
"react-tradingview-widget": "^1.3.2",
"recharts": "^1.8.5",
"web-vitals": "^0.2.4",
"yup": "^0.29.3"
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"check:ranger": "node scripts/check-ranger-mappers.js",
"check:datetime": "node scripts/check-format-display-datetime.js"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"customize-cra": "^1.0.0",
"patch-package": "^8.0.1",
"react-app-rewired": "^2.1.8",
"typescript": "~4.4.4"
},
"resolutions": {
"postcss": "7.0.39",
"postcss-safe-parser": "4.0.2"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,225 @@
export declare type DomeCallback = (data: DOMData) => void;
export declare type ErrorCallback = (reason: string) => void;
export declare type GetMarksCallback<T> = (marks: T[]) => void;
export declare type HistoryCallback = (bars: Bar[], meta: HistoryMetadata) => void;
export declare type MarkConstColors = 'red' | 'green' | 'blue' | 'yellow';
export declare type OnReadyCallback = (configuration: DatafeedConfiguration) => void;
export declare type QuoteData = QuoteOkData | QuoteErrorData;
export declare type QuotesCallback = (data: QuoteData[]) => void;
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;
export interface Bar {
time: number;
open: number;
high: number;
low: number;
close: number;
volume?: number;
}
export interface DOMData {
snapshot: boolean;
asks: DOMLevel[];
bids: DOMLevel[];
}
export interface DOMLevel {
price: number;
volume: number;
}
export interface DatafeedConfiguration {
exchanges?: Exchange[];
supported_resolutions?: ResolutionString[];
supports_marks?: boolean;
supports_time?: boolean;
supports_timescale_marks?: boolean;
symbols_types?: DatafeedSymbolType[];
}
export interface DatafeedQuoteValues {
ch?: number;
chp?: number;
short_name?: string;
exchange?: string;
description?: string;
lp?: number;
ask?: number;
bid?: number;
spread?: number;
open_price?: number;
high_price?: number;
low_price?: number;
prev_close_price?: number;
volume?: number;
original_name?: string;
[valueName: string]: string | number | undefined;
}
export interface DatafeedSymbolType {
name: string;
value: string;
}
export interface Exchange {
value: string;
name: string;
desc: string;
}
export interface HistoryDepth {
resolutionBack: ResolutionBackValues;
intervalBack: number;
}
export interface HistoryMetadata {
noData: boolean;
nextTime?: number | null;
}
export interface IDatafeedChartApi {
calculateHistoryDepth?(resolution: ResolutionString, resolutionBack: ResolutionBackValues, intervalBack: number): HistoryDepth | undefined;
getMarks?(symbolInfo: LibrarySymbolInfo, from: number, to: number, onDataCallback: GetMarksCallback<Mark>, resolution: ResolutionString): void;
getTimescaleMarks?(symbolInfo: LibrarySymbolInfo, from: number, to: number, onDataCallback: GetMarksCallback<TimescaleMark>, resolution: ResolutionString): void;
/**
* This function is called if configuration flag supports_time is set to true when chart needs to know the server time.
* The charting library expects callback to be called once.
* The time is provided without milliseconds. Example: 1445324591. It is used to display Countdown on the price scale.
*/
getServerTime?(callback: ServerTimeCallback): void;
searchSymbols(userInput: string, exchange: string, symbolType: string, onResult: SearchSymbolsCallback): void;
resolveSymbol(symbolName: string, onResolve: ResolveCallback, onError: ErrorCallback): void;
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?(symbol: string, callback: DomeCallback): string;
unsubscribeDepth?(subscriberUID: string): void;
}
export interface IDatafeedQuotesApi {
getQuotes(symbols: string[], onDataCallback: QuotesCallback, onErrorCallback: (msg: string) => void): void;
subscribeQuotes(symbols: string[], fastSymbols: string[], onRealtimeCallback: QuotesCallback, listenerGUID: string): void;
unsubscribeQuotes(listenerGUID: string): void;
}
export interface IExternalDatafeed {
onReady(callback: OnReadyCallback): void;
}
export interface LibrarySymbolInfo {
/**
* Symbol Name
*/
name: string;
full_name: string;
base_name?: [string];
/**
* Unique symbol id
*/
ticker?: string;
description: string;
type: string;
/**
* @example "1700-0200"
*/
session: string;
/**
* Traded exchange
* @example "NYSE"
*/
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)
*/
pricescale: number;
/**
* The number of units that make up one tick.
* @example For example, U.S. equities are quotes in decimals, and tick in decimals, and can go up +/- .01. So the tick increment is 1. But the e-mini S&P futures contract, though quoted in decimals, goes up in .25 increments, so the tick increment is 25. (see also Tick Size)
*/
minmov: number;
fractional?: boolean;
/**
* @example Quarters of 1/32: pricescale=128, minmovement=1, minmovement2=4
*/
minmove2?: number;
/**
* false if DWM only
*/
has_intraday?: boolean;
/**
* An array of resolutions which should be enabled in resolutions picker for this symbol.
*/
supported_resolutions: ResolutionString[];
/**
* @example (for ex.: "1,5,60") - only these resolutions will be requested, all others will be built using them if possible
*/
intraday_multipliers?: string[];
has_seconds?: boolean;
/**
* It is an array containing seconds resolutions (in seconds without a postfix) the datafeed builds by itself.
*/
seconds_multipliers?: string[];
has_daily?: boolean;
has_weekly_and_monthly?: boolean;
has_empty_bars?: boolean;
force_session_rebuild?: boolean;
has_no_volume?: boolean;
/**
* Integer showing typical volume value decimal places for this symbol
*/
volume_precision?: number;
data_status?: 'streaming' | 'endofday' | 'pulsed' | 'delayed_streaming';
/**
* Boolean showing whether this symbol is expired futures contract or not.
*/
expired?: boolean;
/**
* Unix timestamp of expiration date.
*/
expiration_date?: number;
sector?: string;
industry?: string;
currency_code?: string;
}
export interface Mark {
id: string | number;
time: number;
color: MarkConstColors | MarkCustomColor;
text: string;
label: string;
labelFontColor: string;
minSize: number;
}
export interface MarkCustomColor {
color: string;
background: string;
}
export interface QuoteErrorData {
s: 'error';
n: string;
v: object;
}
export interface QuoteOkData {
s: 'ok';
n: string;
v: DatafeedQuoteValues;
}
export interface SearchSymbolResultItem {
symbol: string;
full_name: string;
description: string;
exchange: string;
ticker: string;
type: string;
}
export interface TimescaleMark {
id: string | number;
time: number;
color: MarkConstColors | string;
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;

File diff suppressed because one or more lines are too long

View File

@@ -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<t.length;o++)(n=t[o]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),a=o("29gu"),o("b6p+"),l=o("uOxu").getLogger("Ui.TvControlCheckbox"),i={labelWrapper:'{{#hasLabel}}<label>{{#labelLeft}}<span class="tv-control-checkbox__label {{#labelAddClass}}{{labelAddClass}}{{/labelAddClass}}">{{labelLeft}}</span>{{/labelLeft}}{{> inputWrapper }}{{#labelRight}}<span class="tv-control-checkbox__label {{#labelAddClass}}{{labelAddClass}}{{/labelAddClass}}">{{labelRight}}</span>{{/labelRight}}</label>{{/hasLabel}}{{^hasLabel}}{{> inputWrapper }}{{/hasLabel}}',inputWrapper:'<{{ tag }} class="{{ customClass }}{{#disabled}} i-disabled{{/disabled}}">{{^hasCheckbox}}{{> checkbox }}{{/hasCheckbox}}{{> box }}{{> ripple }}</{{ tag }}>',checkbox:'<input{{#id}} id="{{ id }}"{{/id}} class="{{> checkboxClass }}" type="checkbox"{{#name}} name="{{ name }}"{{/name}}{{#checked}} checked{{/checked}}{{#disabled}} disabled{{/disabled}}>',checkboxClass:"{{ customClass }}__input",box:'<span class="{{ customClass }}__box {{#boxAddClass}}{{boxAddClass}}{{/boxAddClass}}">'+o("aLUT")+"</span>",ripple:'<span class="{{ customClass }}__ripple js-ripple"></span>'},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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11px" height="9px"><path fill="none" fill-rule="evenodd" stroke-width="2" d="M1 3.22l3.415 3.496L10 1"/></svg>'},"b6p+":function(e,t,o){}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[1],[]]);

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[10],[]]);

View File

@@ -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}}

View File

@@ -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}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[11],[]]);

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[12],[]]);

View File

@@ -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%}

View File

@@ -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%}

View File

@@ -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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path d="M5.182 6.596L1.293 2.707.586 2 2 .586l.707.707 3.889 3.889 3.889-3.889.707-.707L12.606 2l-.707.707L8.01 6.596l3.889 3.889.707.707-1.414 1.414-.707-.707L6.596 8.01l-3.889 3.889-.707.707-1.414-1.414.707-.707 3.889-3.889z"/></svg>'},"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)}}]);

View File

@@ -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;e<n.length;e++)r=(o=n[e])[0],s=o[1],u[r]=s;return u}function i(t){var e=t[0],n=t[1];return 0===e.indexOf("data-")&&"string"==typeof n}n.d(e,"a",function(){return o})},WXjp:function(t,e,n){"use strict";function o(t,e,n,o){return t+e>o&&(t=o-e),t<n&&(t=n),t}function i(t){return{x:Object(f.clamp)(t.x,20,document.documentElement.clientWidth-20),y:Object(f.clamp)(t.y,20,window.innerHeight-20)}}function r(t){return{x:t.pageX,y:t.pageY}}function s(t){return{x:t.touches[0].pageX,y:t.touches[0].pageY}}var a,u,h,l=n("mrSG"),c=n("q1tI"),d=n("TSYQ"),p=n("1O6C"),_=n("uqKQ"),g=n("RgaO"),f=n("Hr11"),m=function(){function t(t,e,n){void 0===n&&(n={boundByScreen:!0});var o=this;this._drag=null,this._canBeTouchClick=!1,this._frame=null,this._onMouseDragStart=function(t){if(0===t.button){t.preventDefault(),document.addEventListener("mousemove",o._onMouseDragMove),
document.addEventListener("mouseup",o._onMouseDragEnd);var e=i(r(t));o._dragStart(e)}},this._onTouchDragStart=function(t){o._canBeTouchClick=!0,t.preventDefault(),o._header.addEventListener("touchmove",o._onTouchDragMove,{passive:!1});var e=i(s(t));o._dragStart(e)},this._onMouseDragEnd=function(t){t.target instanceof Node&&o._header.contains(t.target)&&t.preventDefault(),document.removeEventListener("mousemove",o._onMouseDragMove),document.removeEventListener("mouseup",o._onMouseDragEnd),o._onDragStop()},this._onTouchDragEnd=function(t){o._header.removeEventListener("touchmove",o._onTouchDragMove),o._onDragStop(),o._canBeTouchClick&&(o._canBeTouchClick=!1,function(t){if(t instanceof SVGElement){var e=document.createEvent("SVGEvents");e.initEvent("click",!0,!0),t.dispatchEvent(e)}t instanceof HTMLElement&&t.click()}(t.target))},this._onMouseDragMove=function(t){var e=i(r(t));o._dragMove(e)},this._onTouchDragMove=function(t){o._canBeTouchClick=!1,t.preventDefault();var e=i(s(t));o._dragMove(e)},this._onDragStop=function(){o._drag=null,o._header.classList.remove("dragging")},this._dialog=t,this._header=e,this._options=n,this._header.addEventListener("mousedown",this._onMouseDragStart),this._header.addEventListener("touchstart",this._onTouchDragStart),this._header.addEventListener("touchend",this._onTouchDragEnd)}return t.prototype.destroy=function(){null!==this._frame&&cancelAnimationFrame(this._frame),this._header.removeEventListener("mousedown",this._onMouseDragStart),document.removeEventListener("mouseup",this._onMouseDragEnd),this._header.removeEventListener("touchstart",this._onTouchDragStart),this._header.removeEventListener("touchend",this._onTouchDragEnd),document.removeEventListener("mouseleave",this._onMouseDragEnd)},t.prototype.updateOptions=function(t){this._options=t},t.prototype._dragStart=function(t){var e,n,o=this._dialog.getBoundingClientRect();this._drag={startX:t.x,startY:t.y,finishX:t.x,finishY:t.y,dialogX:o.left,dialogY:o.top},e=Math.round(o.left),n=Math.round(o.top),this._dialog.style.transform="translate("+e+"px, "+n+"px)",this._header.classList.add("dragging")},t.prototype._dragMove=function(t){var e=this;if(this._drag){if(this._drag.finishX=t.x,this._drag.finishY=t.y,null!==this._frame)return;this._frame=requestAnimationFrame(function(){var n,o;e._drag&&(n=t.x-e._drag.startX,o=t.y-e._drag.startY,e._moveDialog(e._drag.dialogX+n,e._drag.dialogY+o)),e._frame=null})}},t.prototype._moveDialog=function(t,e){var n=this._dialog.getBoundingClientRect(),i=this._options.boundByScreen,r=o(t,n.width,i?0:-1/0,i?window.innerWidth:1/0),s=o(e,n.height,i?0:-1/0,i?window.innerHeight:1/0);this._dialog.style.transform="translate("+Math.round(r)+"px, "+Math.round(s)+"px)"},t}(),v=function(){function t(t,e){void 0===e&&(e={vertical:0});var n=this;this._frame=null,this._isFullscreen=!1,this._handleResize=function(){null===n._frame&&(n._frame=requestAnimationFrame(function(){n.recalculateBounds(),n._frame=null}))},this._dialog=t,this._options=e,this._initialHeight=t.style.height,
window.addEventListener("resize",this._handleResize)}return t.prototype.updateOptions=function(t){void 0===t&&(t={vertical:0}),this._options=t},t.prototype.setFullscreen=function(t){this._isFullscreen!==t&&(this._isFullscreen=t,this.recalculateBounds())},t.prototype.centerAndFit=function(){var t,e,n=this._options.vertical,o=document.documentElement,i=o.clientHeight,r=o.clientWidth,s=i-2*n,a=this._dialog.getBoundingClientRect(),u=a.height;s<u&&(u=s,this._dialog.style.height=u+"px"),t=r/2-a.width/2,e=i/2-u/2,this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform="translate("+Math.round(t)+"px, "+Math.round(e)+"px)"},t.prototype.recalculateBounds=function(){var t,e,n,i,r,s,a,u;this._dialog.style.height="auto",e=(t=document.documentElement).clientHeight,n=t.clientWidth,this._isFullscreen?(this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.width=n+"px",this._dialog.style.height=e+"px",this._dialog.style.transform="none"):(i=this._options.vertical,this._dialog.style.width="",this._dialog.style.height="",s=e-2*i,a=o((r=this._dialog.getBoundingClientRect()).left,r.width,0,n),u=o(r.top,r.height,i,e),this._dialog.style.top="0px",this._dialog.style.left="0px",this._dialog.style.transform="translate("+Math.round(a)+"px, "+Math.round(u)+"px)",this._dialog.style.height=s<r.height?s+"px":this._initialHeight)},t.prototype.destroy=function(){window.removeEventListener("resize",this._handleResize),null!==this._frame&&(cancelAnimationFrame(this._frame),this._frame=null)},t}(),y=n("Eyy1"),E=n("AiMB"),x=n("pafz"),D=n("ZzSk");n.d(e,"a",function(){return h}),a={boundByScreen:!0},u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._dialog=null,e._handleDialogRef=function(t){e._dialog=t,e.props.reference&&e.props.reference(t)},e._handleFocus=function(t){e._moveToTop()},e._handleMouseDown=function(t){e._moveToTop()},e._handleTouchStart=function(t){e._moveToTop()},e}return l.__extends(e,t),e.prototype.render=function(){return c.createElement(x.a.Provider,{value:this},c.createElement(g.a,{ctor:"div",mouseDown:!0,touchStart:!0,handler:this.props.onClickOutside,onFocus:this._handleFocus,onMouseDown:this._handleMouseDown,onTouchStart:this._handleTouchStart},c.createElement(p.a,l.__assign({},this.props,{reference:this._handleDialogRef,className:d(D.dialog,this.props.className)}),this.props.children)))},e.prototype.componentDidMount=function(){var t=Object(y.ensureNotNull)(this._dialog),e=t.querySelector("[data-dragg-area]");e&&e instanceof HTMLElement&&(this._drag=new m(t,e,{boundByScreen:Boolean(this.props.boundByScreen)})),this._resize=new v(t,this.props.guard),this._resize.centerAndFit(),this._resize.setFullscreen(Boolean(this.props.fullscreen)),this.props.shouldForceFocus&&t.focus()},e.prototype.componentDidUpdate=function(){this._resize&&(this._resize.updateOptions(this.props.guard),this._resize.setFullscreen(Boolean(this.props.fullscreen))),this._drag&&this._drag.updateOptions({boundByScreen:Boolean(this.props.boundByScreen)})},
e.prototype.componentWillUnmount=function(){this._drag&&this._drag.destroy(),this._resize&&this._resize.destroy()},e.prototype.centerAndFit=function(){this._resize&&this._resize.centerAndFit()},e.prototype.recalculateBounds=function(){this._resize&&this._resize.recalculateBounds()},e.prototype._moveToTop=function(){null!==this.context&&this.context.moveToTop()},e.contextType=E.b,e.defaultProps=a,e}(c.PureComponent),h=Object(_.a)(u)},ZzSk:function(t,e,n){t.exports={dialog:"dialog-34XTwGTT-",dragging:"dragging-33JfMDO6-"}},aYmi:function(t,e,n){t.exports={dialog:"dialog-2APwxL3O-",rounded:"rounded-tXI9mwGE-",shadowed:"shadowed-2M13-xZa-",fullscreen:"fullscreen-2RqU2pqU-"}},pafz:function(t,e,n){"use strict";var o,i;n.d(e,"a",function(){return i}),o=n("q1tI"),i=o.createContext(null)},qoI1:function(t,e,n){function o(t){var e=i(t);return n(e)}function i(t){var e,n=r[t];if(!(n+1))throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e;return n}var r={"./en-gb":"Oaa7","./en-gb.js":"Oaa7","./es":"iYuL","./es.js":"iYuL","./it":"bpih","./it.js":"bpih","./ja":"B55N","./ja.js":"B55N","./ko":"Ivi+","./ko.js":"Ivi+","./pl":"jVdC","./pl.js":"jVdC","./pt":"8mBD","./pt-br":"0tRk","./pt-br.js":"0tRk","./pt.js":"8mBD","./ru":"lXzo","./ru.js":"lXzo","./tr":"DoHr","./tr.js":"DoHr"};o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id="qoI1"},uqKQ:function(t,e,n){"use strict";function o(t){return function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(n,e),n.prototype.render=function(){var e,n=this.props,o=n.isOpened,a=n.root;return o?(e=r.createElement(t,i.__assign({},this.props,{zIndex:150})),"parent"===a?e:r.createElement(s.a,null,e)):null},n}(r.PureComponent)}var i,r,s;n.d(e,"a",function(){return o}),i=n("mrSG"),r=n("q1tI"),s=n("AiMB")}}]);

View File

@@ -0,0 +1,6 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{"5qpw":function(t,o,e){"use strict";function i(t){return t in $.fn?Promise.resolve():(s||(s=new Promise(function(t){Promise.all([e.e(57),e.e("lazy-jquery-ui")]).then(function(o){e("ONnG"),t()}.bind(null,e)).catch(e.oe)})),s)}function n(t){return new l(t)}var a,s,l;e.r(o),e.d(o,"LazyJqueryUI",function(){return l}),e.d(o,"lazyJqueryUI",function(){return n}),a=e("P5fv"),l=function(){function t(t){this._$elem=t}return t.prototype.draggable=function(){var t=arguments,o=this._$elem;return i("draggable").then(function(){return o.draggable.apply(o,t)})},t.prototype.resizable=function(){var t=arguments,o=this._$elem;return i("resizable").then(function(){return o.resizable.apply(o,t)})},t.prototype.sortable=function(){var t=arguments,o=this._$elem;return i("sortable").then(function(){return o.sortable.apply(o,t)})},t.prototype.datepicker=function(){var t=arguments,o=this._$elem;return i("datepicker").then(function(){return o.datepicker.apply(o,t)})},t}()},BhuR:function(t,o){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9" width="9px" height="9px"><path d="M2 1L1 2l2.5 2.5L1 7l1 1 2.5-2.5L7 8l1-1-2.5-2.5L8 2 7 1 4.5 3.5z"/></svg>'},GAqT:function(t,o,e){"use strict";(function(o,i){var n,a=e("Hr11").max,s=e("5qpw").lazyJqueryUI,l=e("jAh7").getRootOverlapManager;e("PVgW"),n={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,e){var a,s,l,d,r,c;return"object"==typeof o&&(e=o,o=""),a=(e=e||{}).doNotCloseOnBgClick||!1,s=e.html||"",l=e.width||"400px",(d={}).noClose=e.noClose||null,d.addClass=e.modalDialogClass||null,n.createModalDialog(t,d),r=e.centerCaption?"caption-big-center":"caption-big",n.modalDialog.find("._tv-dialog").css("width",l),c=e.customButtonCaption?e.customButtonCaption:$.t("OK"),n.modalDialog.find("._tv-dialog-content").html(i.render('<div class="main"><div class="{{captionClassName}} {{classSuffix}}">{{text}}'+s+'</div>{{^removeOkButton}}<div class="buttons"><input type="button" class="_tv-button ok" value="'+c+'"/></div>{{/removeOkButton}}</div>',{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('<div class="main">'+(t.html||$.t("Content"))+"</div>"),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=$('<div class="_tv-dialog-shadowbox"><div class="_tv-dialog _tv-dialog-modal'+(o.addClass?" "+o.addClass:"")+'">'+(o.noHeader?"":'<div class="_tv-dialog-title">'+(o.noClose?"":'<a class="_tv-dialog-title-close"></a>')+'<span class="_tv-dialog-title-text">'+t+"</span></div>")+'<div class="_tv-dialog-error"><span class="message"></span></div><div class="_tv-dialog-message"><span class="message"></span></div><div class="_tv-dialog-content"></div></div></div>').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('<div class="_tv-dialog _tv-dialog-nonmodal {{&addClass}}"><div class="_tv-dialog-title{{#hideTitle}} _tv-dialog-title-hidden{{/hideTitle}}{{#hideCloseCross}} _tv-dialog-title-no-close{{/hideCloseCross}}">{{^hideTitle}} {{&title}}{{/hideTitle}}{{^hideCloseCross}}<a class="_tv-dialog-title-close"></a>{{/hideCloseCross}}</div><div class="_tv-dialog-error"><span class="message"></span></div><div class="_tv-dialog-message"><span class="message"></span></div><div class="_tv-dialog-content"></div></div>',{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;e<n.dialogs.length;e++)(i=n.dialogs[e].dialog.css("z-index"))>s&&(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;o<n.dialogs.length;o++)if(n.dialogs[o].title===t)return!0;return!1},get:function(t){for(var o=0;o<n.dialogs.length;o++)if(n.dialogs[o].title===t)return n.dialogs[o].dialog},destroy:function(t,o){var e,i=null;if(t&&"string"==typeof t)for(e=0;e<n.dialogs.length;e++)n.dialogs[e].title===t&&(i=n.dialogs[e].dialog.prop("ownerDocument"),n.dialogs[e].dialog.find(".apply-common-tooltip").mouseout(),n.dialogs[e].dialog.trigger("destroy",o),$(document).unbind("mouseup.hideDialog"+n.dialogs[e].id),$("input",n.dialogs[e].dialog).blur(),n.dialogs[e].dialog.remove(),n.dialogs.splice(e,1),l(i).unregisterWindow(t));else n.modalDialog&&(i=n.modalDialog.prop("ownerDocument"),n.modalDialog.find(".apply-common-tooltip").mouseout(),n.modalDialog.find("._tv-dialog").trigger("destroy"),n.modalDialog.remove(),n.modalDialog=null);$(i).unbind("keyup.hideDialog"),$(i).unbind("keyup.confirmAndCloseDialog")},resizeContent:function(t,o,e){var i,n;null==e&&(e=20),t+=e,i=parseInt($("body").height(),10),n=o.height(),t>i&&(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<t&&t<1?Math.pow(10,null===(i=String(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/))?0:(o=i[1]?i[1].length:0,e=i[2]?parseInt(i[2],0):0,Math.max(0,o-e))):1;var o,e,i}function n(t,o){var e,n,a,s,l;t.trigger("tvticker-beforechange"),n=(e=t.data("TVTicker"))&&e.step,a=0,a=e.parser?e.parser(t.val()):Object(r.isInteger)(n)?parseInt(t.val(),10):parseFloat(t.val()),isNaN(a)&&(a=0),s=i(n),l=o(a,Math.max(s,i(a))),e.formatter&&(l=e.formatter(l)),t.val(l),t.change()}function a(t){var o=t.data("TVTicker"),e=o&&o.step,i=o&&o.max;n(t,function(t,o){var n=(Math.round(t*o)+Math.round(e*o))/o;return void 0!==i&&null!==i&&i<n&&(n=t),n})}function s(t){var o=t.data("TVTicker"),e=o&&o.step,i=o&&o.min;n(t,function(t,o){
var n=(Math.round(t*o)-Math.round(e*o))/o;return void 0!==i&&null!==i&&n<i&&(n=t),n})}var l,d,r,c;e.r(o),l=e("P5fv"),d=e("si6p"),r=e("ogJP"),c=e("R4+T"),$.fn.TVTicker=function(t){return void 0===t&&(t={}),this.each(function(){var o,e,i,n=!1,l=$(this),d=l.data("TVTicker");d?n=!0:d={step:Number(l.data("step"))||1},"step"in t&&(d.step=Number(t.step)||d.step),"min"in t&&(d.min=t.min),"max"in t&&(d.max=t.max),"formatter"in t&&(d.formatter=t.formatter),"parser"in t&&(d.parser=t.parser),l.data("TVTicker",d),n||(o=$('<div class="tv-ticker">').appendTo(l.parent()),e=$('<div class="tv-ticker__btn tv-ticker__btn--up">').html(c).appendTo(o),i=$('<div class="tv-ticker__btn tv-ticker__btn--down">').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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},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){}}]);

View File

@@ -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}

View File

@@ -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}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[16],[]]);

View File

@@ -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=$('<div class="charts-popup-list">'),n.addClass&&w.addClass(n.addClass),n.zIndex&&w.css("z-index",n.zIndex),y=w,n.listInner&&(y=$('<div class="list-inner">').appendTo(y)),n.listTable&&(y=$('<div class="list-table">').appendTo(y)),$.each(K,function(e){!function e(o,s,i){var l,c,r,u,d,h,f,v,m,g,b,C,y,T,x;if(o instanceof p.TabGroup){if(!o.tabs||!o.tabs.length)return;return 1!==o.tabs.length||o.tabs[0].title?(l=$('<div class="charts-popup-tab-group"></div>').appendTo(i),c=$('<div class="charts-popup-tab-headers"></div>').appendTo(l),r=null,void $.each(o.tabs||[],function(t,a){var n,s;a.items&&a.items.length&&(n=$('<div class="charts-popup-tab"></div>').hide().appendTo(l),$.each(a.items,function(){e(this,void 0,n)}),(s=$('<span class="charts-popup-tab-header">').append($('<a href="javascript://" class="charts-popup-tab-header-label">').text(a.name)).appendTo(c)).on("click",function(t){s.is(".active")||(c.find(".charts-popup-tab-header.active").removeClass("active"),s.addClass("active"),l.find(".charts-popup-tab").hide(),n.show(),t&&t.preventDefault(),"function"==typeof o.onChange&&o.onChange.call(o,a.name))}),r&&!a.active||(r=s,c.find(".charts-popup-tab-header.active").removeClass("active"),s.addClass("active"),l.find(".charts-popup-tab").hide(),n.show()))})):void $.each(o.tabs[0].items,function(){e(this,void 0,i)})}if(o instanceof p.Group)return u=$('<div class="charts-popup-group"></div>').appendTo(i),o.title&&(d=$('<div class="charts-popup-itemheader"></div>').text(o.title).prepend($('<span class="charts-popup-itemheader-icon"></span>')),o.collapsible&&(u.addClass("charts-popup-group-collapsible"),u.toggleClass("collapsed",o.collapsed),d.on("click",function(){
u.toggleClass("collapsed"),"function"==typeof o.onChange&&o.onChange(u.hasClass("collapsed")),w.height()===parseInt(w.css("max-height"))?w.addClass("popup-menu-scroll-y"):w.height()<parseInt(w.css("max-height"))&&w.removeClass("popup-menu-scroll-y")})),u.append(d)),void $.each(o.items,function(t){e(this,1,u)});if(o instanceof p.Header)i.append($('<div class="charts-popup-itemheader"></div>').text(o.title));else{if(o.separator)return h=$('<span class="separator"></span>'),void i.append(h);h=$('<a class="item">'),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=$('<span class="title"></span>').appendTo(h),$('<span class="date"></span>').text(o.date||"").appendTo(h)):o.icon&&!n.svg?((g=$('<span class="icon"></span>').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=$('<span class="title"></span>').appendTo(h)):!0===n.svg&&o.svg?(n.wrapIcon?h.append($('<span class="icon-wrap">').addClass(o.iconClass).append(o.svg)):h.append(o.svg),m=$('<span class="title"></span>').appendTo(h)):o.iconClass?(h.append($('<span class="icon"></span>').addClass(o.iconClass)),m=$('<span class="title"></span>').appendTo(h)):m=$('<span class="title-expanded"></span>').appendTo(h),o.html?m.html(o.html):m.text(TradingView.clean(o.title,!0)||""),b=$('<span class="shortcut"></span>').appendTo(h),o.shortcut&&b.text(o.shortcut.keys),"function"==typeof o.deleteAction&&(C=o.deleteAction,y=o.deleteAction.title||$.t("Delete"),(T=$('<span class="icon-delete">')).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?$('<span class="counter"></span>').html(o.counter()).appendTo(h):(x=o.counterBlue?"blue":"",$('<span class="counter"></span>').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,W<Math.max(M||0,100)&&P>W&&(E="up")):"right"===E&&(R=T-k.left-D-I-A-L,z=k.left-I-A-L,R<Math.max(S||0,100)&&z>R&&(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=$("<a></span></a>").addClass(t.buttonClass?t.buttonClass:"_tv-button").html(t.buttonInner?t.buttonInner:$.t("Template")+'<span class="icon-dropdown">'),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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 13" width="13" height="13"><path d="M5.182 6.596L1.293 2.707.586 2 2 .586l.707.707 3.889 3.889 3.889-3.889.707-.707L12.606 2l-.707.707L8.01 6.596l3.889 3.889.707.707-1.414 1.414-.707-.707L6.596 8.01l-3.889 3.889-.707.707-1.414-1.414.707-.707 3.889-3.889z"/></svg>'}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[18],[]]);

View File

@@ -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)}}

View File

@@ -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)}}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[19],[]]);

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[]]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],[]]);

View File

@@ -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}

View File

@@ -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}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[21],[]]);

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[22],[]]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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}

View File

@@ -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}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],[]]);

View File

@@ -0,0 +1,8 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[24],{"2dtg":function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 14.5a2.5 2.5 0 0 0-5 0v3h1v-3a1.5 1.5 0 0 1 3 0v.5h1v-.5z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},"2lje":function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 29 31" width="29" height="31"><g fill-rule="nonzero"><path d="M15.3 22l8.187-8.187c.394-.394.395-1.028.004-1.418l-4.243-4.243c-.394-.394-1.019-.395-1.407-.006l-11.325 11.325c-.383.383-.383 1.018.007 1.407l1.121 1.121h7.656zm-9.484-.414c-.781-.781-.779-2.049-.007-2.821l11.325-11.325c.777-.777 2.035-.78 2.821.006l4.243 4.243c.781.781.78 2.048-.004 2.832l-8.48 8.48h-8.484l-1.414-1.414z"/><path d="M13.011 22.999h7.999v-1h-7.999zM13.501 11.294l6.717 6.717.707-.707-6.717-6.717z"/></g></svg>'},"3s8f":function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M14 10a2 2 0 0 0-2 2v11H6V12c0-4.416 3.584-8 8-8s8 3.584 8 8v11h-6V12a2 2 0 0 0-2-2zm-3 2a3 3 0 0 1 6 0v10h4V12c0-3.864-3.136-7-7-7s-7 3.136-7 7v10h4V12z"/><path d="M6.5 18h5v1h-5zm10 0h5v1h-5z"/></g></svg>'},"43BO":function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path d="m6 13a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2m1 0a2 2 0 0 0 1 1h12a2 2 0 0 0 1-1v-9a2 2 0 0 0-1-1H8a2 2 0 0 0-1 1m6 5a1 1 0 0 1 2 0v2a1 1 0 0 1-2 0m-3-9V8a1 1 0 0 1 8 0v3h-1V8a1 1 0 0 0-6 0v3"/></svg>'},"6oLA":function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g><path fill-rule="nonzero" d="M4.034 14.18l-.07-.18.07-.18c1.535-3.975 5.645-6.82 9.966-6.82 4.32 0 8.431 2.845 9.966 6.82l.07.18-.07.18c-1.535 3.975-5.646 6.82-9.966 6.82-4.321 0-8.431-2.845-9.966-6.82zm9.966 5.82c3.84 0 7.521-2.503 8.962-6-1.441-3.497-5.122-6-8.962-6-3.841 0-7.521 2.503-8.962 6 1.441 3.497 5.121 6 8.962 6z"/><path d="M11 14.001c0 1.66 1.341 2.999 3.001 2.999s2.999-1.339 2.999-2.999c0-1.66-1.339-3.001-2.999-3.001-1.66 0-3.001 1.341-3.001 3.001z"/></g></svg>'},Csdk:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><circle cx="14" cy="14" r="3"/></svg>'},FVBd:function(o,e){
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M23.002 23C23 23 23 18.003 23 18.003L15.998 18C16 18 16 22.997 16 22.997l7.002.003zM15 18.003A1 1 0 0 1 15.998 17h7.004c.551 0 .998.438.998 1.003v4.994A1 1 0 0 1 23.002 24h-7.004A.993.993 0 0 1 15 22.997v-4.994z"/><path d="M19 20h1v2h-1z"/><path fill-rule="nonzero" d="M22 17.5v-2a2.5 2.5 0 0 0-5 0v2h1v-2a1.5 1.5 0 0 1 3 0v2h1z"/><g fill-rule="nonzero"><path d="M3 14.707A1 1 0 0 1 3.293 14L14.439 2.854a1.5 1.5 0 0 1 2.122 0l2.585 2.585a1.5 1.5 0 0 1 0 2.122L8 18.707a1 1 0 0 1-.707.293H4a1 1 0 0 1-1-1v-3.293zm1 0V18h3.293L18.439 6.854a.5.5 0 0 0 0-.708l-2.585-2.585a.5.5 0 0 0-.708 0L4 14.707z"/><path d="M13.146 4.854l4 4 .708-.708-4-4zm-9 9l4 4 .708-.708-4-4z"/><path d="M15.146 6.146l-9 9 .708.708 9-9z"/></g></g></svg>'},G1jy:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g><path fill-rule="nonzero" d="M15.039 5.969l-.019-.019-2.828 2.828.707.707 2.474-2.474c1.367-1.367 3.582-1.367 4.949 0s1.367 3.582 0 4.949l-2.474 2.474.707.707 2.828-2.828-.019-.019c1.415-1.767 1.304-4.352-.334-5.99-1.638-1.638-4.224-1.749-5.99-.334zM5.97 15.038l-.019-.019 2.828-2.828.707.707-2.475 2.475c-1.367 1.367-1.367 3.582 0 4.949s3.582 1.367 4.949 0l2.474-2.474.707.707-2.828 2.828-.019-.019c-1.767 1.415-4.352 1.304-5.99-.334-1.638-1.638-1.749-4.224-.334-5.99z"/><path d="M10.485 16.141l5.656-5.656.707.707-5.656 5.656z"/></g></svg>'},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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path d="m6 13a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2m1 0a2 2 0 0 0 1 1h12a2 2 0 0 0 1-1v-9a2 2 0 0 0-1-1H8a2 2 0 0 0-1 1m6 5a1 1 0 0 1 2 0v2a1 1 0 0 1-2 0m-3-9V7a1 1 0 0 1 8 0h-1a1 1 0 0 0-6 0v4"/></svg>'},WHEt:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g><path d="M18 15h8v-1h-8z"/><path d="M14 18v8h1v-8zM14 3v8h1v-8zM3 15h8v-1h-8z"/></g></svg>'},aVjL:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g><path fill-rule="nonzero" d="M8 21c0 1.1.825 2 1.833 2h7.333c1.008 0 1.833-.9 1.833-2v-12h-11v12zm-1 0v-13h13v13c0 1.634-1.252 3-2.833 3h-7.333c-1.581 0-2.833-1.366-2.833-3z"/><path d="M17 6l-1-1h-5l-1 1h-3v1h13v-1z"/><path fill-rule="nonzero" d="M10 11v9.062h1v-9.062z"/><path fill-rule="nonzero" d="M13 11v9.062h1v-9.062z"/><path fill-rule="nonzero" d="M16 11v9.062h1v-9.062z"/></g></svg>'},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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill-rule="nonzero" d="M17.537 7.635l-.789.789c-.886-.275-1.812-.424-2.748-.424-3.841 0-7.521 2.503-8.962 6 .562 1.364 1.465 2.577 2.585 3.549l-.709.709c-1.265-1.112-2.274-2.506-2.881-4.077l-.07-.18.07-.18c1.535-3.975 5.645-6.82 9.966-6.82 1.213 0 2.409.224 3.537.635zm3.549 2.108c1.265 1.112 2.274 2.506 2.881 4.077l.07.18-.07.18c-1.535 3.975-5.646 6.82-9.966 6.82-1.213 0-2.409-.224-3.537-.635l.789-.789c.886.275 1.812.424 2.748.424 3.84 0 7.521-2.503 8.962-6-.562-1.364-1.465-2.577-2.585-3.549l.709-.709zm-6.049.392l-4.902 4.902c-.088-.33-.135-.677-.135-1.036 0-2.213 1.788-4.001 4.001-4.001.358 0 .705.047 1.036.135zm2.828 2.829c.088.331.135.679.135 1.038 0 2.213-1.786 3.999-3.999 3.999-.359 0-.707-.047-1.038-.135l4.901-4.901zm-12.365 10.243l-.707-.707 17.707-17.707.707.707-17.707 17.707z"/></svg>'},kmdM:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path d="M17.646 18.354l4 4 .708-.708-4-4z"/><path d="M12.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zm0-1a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15z"/><path d="M9 13h7v-1H9z"/><path d="M13 16V9h-1v7z"/></svg>'},lZXH:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30.000001 29.999999" width="30" height="30" enable-background="new 0 0 595.3 841.9"><path d="M5.5 13A2.5 2.5 0 0 0 3 15.5 2.5 2.5 0 0 0 5.5 18 2.5 2.5 0 0 0 8 15.5 2.5 2.5 0 0 0 5.5 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5A2.5 2.5 0 0 0 15 18a2.5 2.5 0 0 0 2.5-2.5A2.5 2.5 0 0 0 15 13zm9.5 0a2.5 2.5 0 0 0-2.5 2.5 2.5 2.5 0 0 0 2.5 2.5 2.5 2.5 0 0 0 2.5-2.5 2.5 2.5 0 0 0-2.5-2.5z"/></svg>'},mbEK:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path d="M17.646 18.354l4 4 .708-.708-4-4z"/><path d="M12.5 21a8.5 8.5 0 1 1 0-17 8.5 8.5 0 0 1 0 17zm0-1a7.5 7.5 0 1 0 0-15 7.5 7.5 0 0 0 0 15z"/><path d="M9 13h7v-1H9z"/></svg>'},oCKS:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28"><path d="M2 9.75a1.5 1.5 0 0 0-1.5 1.5v5.5a1.5 1.5 0 0 0 1.5 1.5h24a1.5 1.5 0 0 0 1.5-1.5v-5.5a1.5 1.5 0 0 0-1.5-1.5zm0 1h3v2.5h1v-2.5h3.25v3.9h1v-3.9h3.25v2.5h1v-2.5h3.25v3.9h1v-3.9H22v2.5h1v-2.5h3a.5.5 0 0 1 .5.5v5.5a.5.5 0 0 1-.5.5H2a.5.5 0 0 1-.5-.5v-5.5a.5.5 0 0 1 .5-.5z" transform="rotate(-45 14 14)"/></svg>'},qQ3E:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><g><path fill-rule="nonzero" d="M14 18.634l-.307-.239-7.37-5.73-2.137-1.665 9.814-7.633 9.816 7.634-.509.394-1.639 1.269-7.667 5.969zm7.054-6.759l1.131-.876-8.184-6.366-8.186 6.367 1.123.875 7.063 5.491 7.054-5.492z"/><path d="M7 14.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/><path d="M7 17.5l-1 .57 8 6.43 8-6.5-1-.5-7 5.5z"/></g></svg>'},tceb:function(o,e){
o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path d="M11.682 16.09l3.504 6.068 1.732-1-3.497-6.057 3.595-2.1L8 7.74v10.512l3.682-2.163zm-.362 1.372L7 20V6l12 7-4.216 2.462 3.5 6.062-3.464 2-3.5-6.062z"/></svg>'},xjKU:function(o,e){o.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" width="28" height="28"><path fill-rule="nonzero" d="M14 5a7 7 0 0 0-7 7v3h4v-3a3 3 0 1 1 6 0v3h4v-3a7 7 0 0 0-7-7zm7 11h-4v3h4v-3zm-10 0H7v3h4v-3zm-5-4a8 8 0 1 1 16 0v8h-6v-8a2 2 0 1 0-4 0v8H6v-8zm3.293 11.294l-1.222-2.037.858-.514 1.777 2.963-2 1 1.223 2.037-.858.514-1.778-2.963 2-1zm9.778-2.551l.858.514-1.223 2.037 2 1-1.777 2.963-.858-.514 1.223-2.037-2-1 1.777-2.963z"/></svg>'}}]);

View File

@@ -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<o.length;e++)r=(n=o[e])[0],a=n[1],c[r]=a;return c}function i(t){var e=t[0],o=t[1];return 0===e.indexOf("data-")&&"string"==typeof o}o.d(e,"a",function(){return n})},"R4+T":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},bQ7Y:function(t,e,o){t.exports={button:"button-2ioYhFEY-",isInteractive:"isInteractive-20uLObIc-",hover:"hover-yHQNmTbI-",isGrouped:"isGrouped-2BBXQnbO-",isActive:"isActive-22S-lGpa-",isOpened:"isOpened-p-Ume5l9-",isDisabled:"isDisabled-1_tmrLfP-",text:"text-1sK7vbvh-",icon:"icon-beK_KS0k-"}},cvzQ:function(t,e,o){t.exports={icon:"icon-3yfDkFjY-",dropped:"dropped-50rfOQ8V-"}},nPPD:function(t,e,o){"use strict";function n(t,e,o){var n,i,r,a,s;for(void 0===o&&(o={}),n=Object.assign({},e),i=0,r=Object.keys(e);i<r.length;i++)(s=o[a=r[i]]||a)in t&&(n[a]=[t[s],e[a]].join(" "));return n}function i(t,e,o){return void 0===o&&(o={}),Object.assign({},t,n(t,e,o))}o.d(e,"b",function(){return n}),o.d(e,"a",function(){return i})},tU7i:function(t,e,o){"use strict";function n(t){
var e,o=t.icon,n=t.isActive,l=t.isOpened,u=t.isDisabled,p=t.isGrouped,d=t.onClick,h=t.text,v=t.textBeforeIcon,f=t.title,m=t.theme,g=void 0===m?c:m,b=t.className,O=t.forceInteractive,_=i.__rest(t,["icon","isActive","isOpened","isDisabled","isGrouped","onClick","text","textBeforeIcon","title","theme","className","forceInteractive"]),w=a(b,g.button,f&&"apply-common-tooltip",((e={})[g.isActive]=n,e[g.isOpened]=l,e[g.isInteractive]=(O||Boolean(d))&&!u,e[g.isDisabled]=u,e[g.isGrouped]=p,e)),C=o&&("string"==typeof o?r.createElement(s.a,{className:g.icon,icon:o}):r.cloneElement(o,{className:a(g.icon,o.props.className)}));return r.createElement("div",i.__assign({},_,{className:w,onClick:u?void 0:d,title:f}),v&&h&&r.createElement("div",{className:a("js-button-text",g.text)},h),C,!v&&h&&r.createElement("div",{className:a("js-button-text",g.text)},h))}var i,r,a,s,c;o.d(e,"a",function(){return n}),i=o("mrSG"),r=o("q1tI"),a=o("TSYQ"),s=o("jjrI"),c=o("bQ7Y")},v1bN:function(t,e,o){t.exports={item:"item-2xPVYue0-",hovered:"hovered-1uf45E05-",isDisabled:"isDisabled-1wLqKupj-",isActive:"isActive-2j-GhQs_-",icon:"icon-2Qm7YIcz-",shortcut:"shortcut-30pveiCO-",toolbox:"toolbox-3ulPxfe--",withIcon:"withIcon-1xBjf-oB-",labelRow:"labelRow-3Q0rdE8--",label:"label-3Xqxy756-",showOnHover:"showOnHover-1q6ySzZc-"}}}]);

View File

@@ -0,0 +1,3 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[26],{Ald9:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 95.939 95.939" width="95.939" height="95.939"><path d="M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z"/></svg>'},"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-"}}}]);

View File

@@ -0,0 +1,5 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{"/NcV":function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" width="14" height="14"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5.5 1.5l5 5.5-5 5.5"/></svg>'},FxnJ:function(t,e,i){},MjtL:function(t,e){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" width="14" height="14"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M8.5 1.5L3.5 7l5 5.5"/></svg>'},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=$('<div class="js-dialog__scroll-wrap tv-dialog__scroll-wrap">').append(d.addClass("tv-dialog__scroll-wrap-inner"))),c=$('<div class="tv-tabbed-dialog">').append(i).append(l),e.customControls&&i.find(".js-custom-controls").append(e.customControls),!0!==e.doNotCreatePages)for(h=0;h<e.tabs.length;++h)d.append($('<div class="tv-tabbed-dialog__tab-page">').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='<div class="tv-dialog__section tv-dialog__section--title tv-tabbed-dialog__header js-close-button-place" tabindex="-1"><div class="tv-tabs tv-tabbed-dialog__tabs js-dialog__drag">{{#tabs}}<div class="tv-tabs__tab">{{name}}</div>{{/tabs}}</div>{{#customControls}}<div class="js-custom-controls tv-tabbed-dialog__custom-controls {{#customControlsAddClass}}{{customControlsAddClass}}{{/customControlsAddClass}}"></div>{{/customControls}}<div class="tv-tabbed-dialog__bottom-border"></div></div>{{>additionalHeaderContent}}',r='<div class="tv-tabbed-dialog__pages-container"></div>',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<arguments.length;t++)i[t]=arguments[t];return s().then(function(){$.fn.velocity.apply(e,i)}),this},i("bf9a"),o=i("j1f4"),r=i("FIi8"),
n=i("aIyQ"),l=i.n(n),d=i("MjtL"),c=i("/NcV"),h=i("Vdly"),p=i("Ialn"),i.d(e,"Tabs",function(){return g}),function(t){t[t.Left=0]="Left",t[t.Right=1]="Right"}(u||(u={})),_={saveTab:"",noSlider:!1,onTabClick:!1,loadedClass:"i-loaded",tabsContainerClass:"tv-tabs",tabClass:"tv-tabs__tab",tabDisabledClass:"disabled",activeTabClass:"i-active",activePageClass:"active",sliderClass:"tv-tabs__slider",scrollBoxClass:"tv-tabs__scroll-box",scrollWrapClass:"tv-tabs__scroll-wrap",lArrowClass:"tv-tabs__left-arrow",rArrowClass:"tv-tabs__right-arrow"},f={leftArrow:d,rightArrow:c},g=function(){function t(t,e,i){void 0===i&&(i={}),this._animating=!1,this._prevWidth=-1,this._bindings=[],this._options=Object(r.deepExtend)({},_,i),this.tabChanged=new l.a,this._elTabs=t,this._elPages=e,this._elScrollWrap=this._findOrCreateElement(this._options.scrollWrapClass||"",this._elTabs,"wrapInner"),this._elScrollBox=this._findOrCreateElement(this._options.scrollBoxClass||"",this._elScrollWrap,"wrapInner"),this._options.noSlider||(this._elSlider=this._findOrCreateElement(this._options.sliderClass||"",this._elScrollBox,"append")),Modernizr.mobiletouch||(this._elArrowLeft=this._findOrCreateElement(this._options.lArrowClass||"",this._elTabs,"append",'<div class="'+(this._options.lArrowClass||"")+' i-slided">'+f.leftArrow+"</div>"),this._elArrowRight=this._findOrCreateElement(this._options.rArrowClass||"",this._elTabs,"append",'<div class="'+(this._options.rArrowClass||"")+' i-slided">'+f.rightArrow+"</div>"),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<s.length;e++)(i=s[e]).classList.contains(this._options.sliderClass)||t.push(i);return t},t.prototype.getPagesArray=function(){return this._elPages?Array.prototype.slice.call(this._elPages.children):[]},t.prototype.getElTabs=function(){return this._elTabs},t.prototype.getElPages=function(){return this._elPages},t.prototype.checkScrollArrows=function(t){function e(t){t.classList.remove("i-slided"),$.Velocity&&$.Velocity.animate(t,{translateX:"0%"},{duration:o.dur/2,easing:"easeOutCubic",queue:!1})}function i(e,i){if(t)return e.classList.add("i-slided"),void e.setAttribute("style","");var a=i===u.Left?"-100%":"100%";s().then(function(){$.Velocity.animate(e,{translateX:a},{complete:function(){return e.classList.add("i-slided")},duration:o.dur/2,easing:"easeOutCubic",queue:!1})})}var a,r,n,l;void 0===t&&(t=!1),a=Math.ceil(this._elScrollWrap.scrollLeft),r=this._getElWidth(this._elScrollWrap),n=1,
l=this._elScrollWrap.scrollWidth-r-2,this._elArrowLeft&&(a>=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||'<div class="'+t+'"></div>',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;r<o.length;r++)n.appendChild(o[r]);e.appendChild(n)}return n},t.prototype._addClass=function(t,e){if("string"==typeof e){Array.isArray(t)||(t=[t]);var i=e.split(/\s+/);t.forEach(function(t){i.forEach(function(e){t.classList.add(e)})})}},t.prototype._initActivePage=function(){var t,e=0;this._options.saveTab&&(e=h.getInt(this._options.saveTab,0)),-1!==(t=this.index())&&(e=t),void 0!==this._options.activeTab&&(e=this._options.activeTab),this.setActivePage(e,!0,!0)},t.prototype._bindEvents=function(){var t,e=this;this.getTabsArray().forEach(this._bindTabEvents.bind(this)),this._bindOneEvent({eventName:"scroll",listener:this.checkScrollArrows.bind(this,!1),target:this._elScrollWrap}),this._elArrowLeft&&this._bindOneEvent({eventName:"click",listener:function(t){var i=e.getTabsArray(),a=0,r=!1,n=e._elScrollWrap.scrollLeft;p.IS_RTL&&i.reverse(),i.forEach(function(t){if(!r){var e=t.offsetLeft+t.offsetWidth;e>n?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}()}}]);

View File

@@ -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;s<o;s++)r[s]=t,t+=n;return r}function a(t){return("0"+t).slice(-2)}var c,p,u,h,l=n("mrSG"),d=n("q1tI"),m=n("Eyy1"),f=n("Oehf"),_=n("TSYQ"),v=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._renderNumber=function(t,n){var o,r=_(f.number,((o={})[f.active]=t===e.props.activeNumber,o[f.inner]=e.props.isInner,o)),s=e.props.format?e.props.format(t):t.toString();return d.createElement("span",{key:t,className:r,style:e._numberStyle(e.props.radius-e.props.spacing,n),"data-value":s},d.createElement("span",null,s))},e}return l.__extends(e,t),e.prototype.render=function(){return d.createElement("div",{className:f.face,style:this._faceStyle(),onMouseDown:this.props.onMouseDown,onTouchStart:this.props.onTouchStart},this.props.numbers.map(this._renderNumber))},e.prototype._faceStyle=function(){return{height:2*this.props.radius,width:2*this.props.radius}},e.prototype._numberStyle=function(t,e){var n=Math.PI/180*360/12*e;return{left:t+t*Math.sin(n)+this.props.spacing,top:t-t*Math.cos(n)+this.props.spacing}},e}(d.PureComponent),g=function(t){function e(e){var n=t.call(this,e)||this;return n._onMouseMove=function(t){n._move(o(t))},n._onTouchMove=function(t){n._move(r(t))},n._onMouseUp=function(){document.removeEventListener("mousemove",n._onMouseMove),document.removeEventListener("mouseup",n._onMouseUp),n._endMove()},n._onTouchEnd=function(t){document.removeEventListener("touchmove",n._onTouchMove),document.removeEventListener("touchend",n._onTouchEnd),n._endMove(t)},n}return l.__extends(e,t),e.prototype.componentWillUnmount=function(){document.removeEventListener("mousemove",this._onMouseMove),document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("touchmove",this._onTouchMove),document.removeEventListener("touchend",this._onTouchEnd)},e.prototype.render=function(){var t={height:this.props.length,transform:"rotate("+this.props.angle+"deg)"};return d.createElement("div",{className:f.hand,style:t},d.createElement("span",{className:f.knob}))},e.prototype.mouseStart=function(t){document.addEventListener("mousemove",this._onMouseMove),document.addEventListener("mouseup",this._onMouseUp),this._move(o(t.nativeEvent))},e.prototype.touchStart=function(t){document.addEventListener("touchmove",this._onTouchMove),document.addEventListener("touchend",this._onTouchEnd),this._move(r(t.nativeEvent)),t.stopPropagation()},e.prototype._endMove=function(t){this.props.onMoveEnd&&this.props.onMoveEnd(t)},e.prototype._move=function(t){var e=this._trimAngleToValue(this._positionToAngle(t)),n=this._getPositionRadius(t)
;!this.props.onMove||isNaN(e)||isNaN(n)||this.props.onMove(360===e?0:e,n)},e.prototype._trimAngleToValue=function(t){return this.props.step*Math.round(t/this.props.step)},e.prototype._positionToAngle=function(t){return s(this.props.center.x,this.props.center.y,t.x,t.y)},e.prototype._getPositionRadius=function(t){var e=this.props.center.x-t.x,n=this.props.center.y-t.y;return Math.sqrt(e*e+n*n)},e}(d.PureComponent),y=[0].concat(i(13,24)),b=[12].concat(i(1,12)),M=30,w=.46,E=function(t){function e(e){var n=t.call(this,e)||this;return n._onMouseDown=function(t){n._hand.mouseStart(t)},n._onTouchStart=function(t){n._hand.touchStart(t)},n._onHandMove=function(t,e){var o=e<n.props.radius-n.props.spacing;n.state.isInner!==o?n.setState({isInner:o},function(){n.props.onChange(n._valueFromDegrees(t))}):n.props.onChange(n._valueFromDegrees(t))},n._onHandMoveEnd=function(){n.props.onSelect&&n.props.onSelect()},n.state={isInner:n.props.selected>0&&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<s.length;r++)(a=n[i=s[r]]||i)in t&&(o[i]=[t[a],e[i]].join(" "));return o}function r(t,e,n){return void 0===n&&(n={}),Object.assign({},t,o(t,e,n))}n.d(e,"b",function(){return o}),n.d(e,"a",function(){return r})}}]);

View File

@@ -0,0 +1,4 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[29],{L9lC:function(t,e,o){(function(t){function i(t,e,o,i,n){l.call(this,t,e),this._study=o,this._showOnlyConfirmInputs=i,this._symbolSearchZindex=n,this.prepareLayout(),this._$symbolSearchPopup=null}var n=o("DxCR"),s=n.UppercaseTransformer,r=n.SymbolBinder,a=n.BarTimeBinder,p=n.SessionBinder,l=n.PropertyPage,d=n.GreateTransformer,u=n.LessTransformer,h=n.ToIntTransformer,c=n.ToFloatTransformer,f=n.SymbolInfoSymbolTransformer,y=n.SimpleComboBinder,m=n.BooleanBinder,v=n.SimpleStringBinder,_=o("zXvd").NumericFormatter,b=o("0YCj"),w=o("uOxu").getLogger("Chart.Study.PropertyPage.Inputs"),g=o("pZll").symbolSearchUIService;inherit(i,l),i.prototype._addSessionEditor=function(t,e,o,i){var n,s,r,a,l,d;"session"===o.type?(n=function(t,e){var o,i=$("<td/>");i.appendTo(t),i.css("padding-left","0px"),i.css("padding-right","0px"),(o=$("<input>")).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=$("<td/>");n.css("padding-left",o),n.css("padding-right",o),n.appendTo(t),(i=$("<div/>")).appendTo(n),i.append(e),i.css("font-size","150%")},(r=$("<table/>")).appendTo(t),(a=$("<tr/>")).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=$('<select><option value="1">1</option><option value="3">3</option><option value="5">5</option><option value="15">15</option><option value="30">30</option><option value="45">45</option><option value="60">1'+window.t("h",{context:"interval_short"})+'</option><option value="120">2'+window.t("h",{context:"interval_short"})+'</option><option value="180">3'+window.t("h",{context:"interval_short"})+'</option><option value="D">1'+window.t("D",{context:"interval_short"})+'</option><option value="W">1'+window.t("W",{context:"interval_short"})+"</option></select>");else if("symbol"===e.type)P=$('<input class="symbol-edit single">'),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<r.length;++a)n[r[a]]||(n[r[a]]=r[a]);if(p=this._study&&this._study.isChildStudy())for(u in l=this._study.source().title(!0,null,!0),
d=b.getChildSourceInputTitles(e,this._study.source().metaInfo(),l),n)d[u]&&(n[u]=1===Object.keys(d).length?l:d[u]);if(t.enabled("study_on_study")&&this._study&&b.isSourceInput(e)&&(p||b.canBeChild(this._study.metaInfo()))){for(h=(h=[this._study]).concat(this._study.getAllChildren()),c=this._model.model().allStudies(),f=0;f<c.length;++f)if(y=c[f],-1===h.indexOf(y)&&y.canHaveChildren())if(m=y.title(!0,null,!0),v=y.sourceId()||"#"+y.id(),C=(_=y.metaInfo()).styles,1===(x=_.plots||[]).length)n[v+"$0"]=m;else for(a=0;a<x.length;++a)T=x[a],~b.CHILD_STUDY_ALLOWED_PLOT_TYPES.indexOf(T.type)&&(n[v+"$"+a]=m+":"+(C&&C[T.id]&&C[T.id].title||T.id));E=function(t){return function(e){var o,i,n,s=this,r=null;if(0===e.indexOf("#")){if(o=e.slice(1,e.indexOf("$")),null===(i=O._model.model().getStudyById(o)))return void w.logError("Can not get Study by id "+o);if(i.isStarted()||i.start(null,!0),!(n=i.sourceId()))return void w.logError("Can not get source id for "+i.metaInfo().id);r=e.replace(/^[^\$]+/,n)}!~e.indexOf("$")&&!~e.indexOf("#")||O._study.isStarted()||O._study.start(null,!0),O._study.testInputValue(t,e)?s.setValueToProperty(r||s.value()):s.setValue(O._property.inputs[t.id].value())}}(e),L=function(t){return function(e){var o,i,n,s;if(t.hasOwnProperty(e)||0===e.indexOf("#")||!~e.indexOf("$"))return e;for(o=e.slice(0,e.indexOf("$")),i=O._model.model().allStudies(),n=0;n<i.length;++n)if((s=i[n]).sourceId()===o){e=e.replace(/^[^\$]+/,"#"+s.id());break}return e}}(n)}for(S in P=$(document.createElement("select")),n)k=s[S]||n[S],$("<option>").attr("value",S).text(k).appendTo(P);o.addClass("js-value-cell")}else e.options?(P=$("<select/>"),I=e.optionsTitles,e.options.forEach(function(t){var e=t,o=I&&I[e]||e,i=$.t(o,{context:"input"});$("<option value='"+e+"'>"+i+"</option>").appendTo(P)})):(P=$("<input/>"),"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<V.length;i++)"first_visible_bar_time"!==(p=(n=V[i]).id)&&"last_visible_bar_time"!==p&&"time"!==n.type&&(n.isHidden||this._showOnlyConfirmInputs&&!n.confirm||void 0===n.groupId&&(b="Change "+(l=n.name||p.toLowerCase().replace(/\b\w/g,function(t){return t.toUpperCase()})),(w=$("<tr/>")).appendTo(e),(g=$("<td/>")).appendTo(w),g.addClass("propertypage-name-label"),g.text(window.t(l,{context:"input"})),(C=$("<td/>")).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=$("<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<t&&t<1?Math.pow(10,null===(i=String(t).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/))?0:(e=i[1]?i[1].length:0,o=i[2]?parseInt(i[2],0):0,Math.max(0,e-o))):1;var e,o,i}function n(t,e){var o,n,s,r,a;t.trigger("tvticker-beforechange"),n=(o=t.data("TVTicker"))&&o.step,s=0,s=o.parser?o.parser(t.val()):Object(l.isInteger)(n)?parseInt(t.val(),10):parseFloat(t.val()),isNaN(s)&&(s=0),r=i(n),a=e(s,Math.max(r,i(s))),o.formatter&&(a=o.formatter(a)),t.val(a),t.change()}function s(t){var e=t.data("TVTicker"),o=e&&e.step,i=e&&e.max;n(t,function(t,e){var n=(Math.round(t*e)+Math.round(o*e))/e;return void 0!==i&&null!==i&&i<n&&(n=t),n})}function r(t){var e=t.data("TVTicker"),o=e&&e.step,i=e&&e.min;n(t,function(t,e){
var n=(Math.round(t*e)-Math.round(o*e))/e;return void 0!==i&&null!==i&&n<i&&(n=t),n})}var a,p,l,d;o.r(e),a=o("P5fv"),p=o("si6p"),l=o("ogJP"),d=o("R4+T"),$.fn.TVTicker=function(t){return void 0===t&&(t={}),this.each(function(){var e,o,i,n=!1,a=$(this),p=a.data("TVTicker");p?n=!0:p={step:Number(a.data("step"))||1},"step"in t&&(p.step=Number(t.step)||p.step),"min"in t&&(p.min=t.min),"max"in t&&(p.max=t.max),"formatter"in t&&(p.formatter=t.formatter),"parser"in t&&(p.parser=t.parser),a.data("TVTicker",p),n||(e=$('<div class="tv-ticker">').appendTo(a.parent()),o=$('<div class="tv-ticker__btn tv-ticker__btn--up">').html(d).appendTo(e),i=$('<div class="tv-ticker__btn tv-ticker__btn--down">').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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},"y1L/":function(t,e,o){}}]);

View File

@@ -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}}]);

View File

@@ -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='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 10" width="20" height="10"><path fill="none" stroke="currentColor" stroke-width="1.5" d="M2 1l8 8 8-8"/></svg>'},"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-"}}}]);

View File

@@ -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}}

View File

@@ -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}}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[31],[]]);

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[32],[]]);

View File

@@ -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}

View File

@@ -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}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[33],[]]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[34],[]]);

View File

@@ -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}

View File

@@ -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}

View File

@@ -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))}

View File

@@ -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))}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[35],[]]);

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[36],[]]);

View File

@@ -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}

View File

@@ -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}

View File

@@ -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}}

View File

@@ -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}}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[37],[]]);

View File

@@ -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)}

View File

@@ -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)}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[38],[]]);

View File

@@ -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%}

View File

@@ -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%}

View File

@@ -0,0 +1 @@
(window.webpackJsonp=window.webpackJsonp||[]).push([[39],[]]);

Some files were not shown because too many files have changed in this diff Show More