Commit d9dcd28a authored by bishwadeep.chaudhary's avatar bishwadeep.chaudhary

initial commit

parent b362dd55
# plugin-widget
# pepsico_widget
### Author: bishwadeep (bishwadeep.chaudhary@knowledgelens.com)
## Project Description:
this is poc plugin to create a widget
if __name__ == "__main__":
from dotenv import load_dotenv
load_dotenv()
from main import app
app.root_path = None
import logging
import uvicorn
from fastapi import FastAPI
from scripts.config import Service
if __name__ == "__main__":
app = FastAPI()
logging.info(f"App Starting at {Service.HOST}:{Service.PORT}")
uvicorn.run("main:app", host=Service.HOST, port=int(Service.PORT))
{
"selector": "app-candle",
"settings": {
"config_tabs": {
"general": true,
"chartProp": true
}
}
}
\ No newline at end of file
from dataclasses import dataclass
from fastapi import FastAPI
from scripts.core.services.default import router
from scripts.core.services.report import router as report
@dataclass
class FastAPIConfig:
title: str = "Sample App"
version: str = "1.0.0"
description: str = "Sample App Description"
app = FastAPI(**FastAPIConfig().__dict__)
app.include_router(router)
app.include_router(report)
uvicorn~=0.23.1
fastapi[all]>=0.97.0
pydantic==1.10.9
numpy~=1.23.5
python-dotenv==1.0.0
XlsxWriter==3.0.8
pandas
\ No newline at end of file
{"option":{"title":[{"text":"Michelson-Morley Experiment","left":"center"},{"text":"upper: Q3 + 1.5 * IQR \nlower: Q1 - 1.5 * IQR","borderColor":"#999","borderWidth":1,"textStyle":{"fontWeight":"normal","fontSize":14,"lineHeight":20},"left":"10%","top":"90%"}],"dataset":[{"source":[[850,740,900,1070,930,850,950,980,980,880,1000,980,930,650,760,810,1000,1000,960,960],[960,940,960,940,880,800,850,880,900,840,830,790,810,880,880,830,800,790,760,800],[880,880,880,860,720,720,620,860,970,950,880,910,850,870,840,840,850,840,840,840],[890,810,810,820,800,770,760,740,750,760,910,920,890,860,880,720,840,850,850,780],[890,840,780,810,760,810,790,810,820,850,870,870,810,740,810,940,950,800,810,870]]},{"transform":{"type":"boxplot","config":{"itemNameFormatter":"expr {value}"}}},{"fromDatasetIndex":1,"fromTransformResult":1}],"tooltip":{"trigger":"item","axisPointer":{"type":"shadow"}},"grid":{"left":"10%","right":"10%","bottom":"15%"},"xAxis":{"type":"category","boundaryGap":true,"nameGap":30,"splitArea":{"show":false},"splitLine":{"show":false}},"yAxis":{"type":"value","name":"km/s minus 299,000","splitArea":{"show":true}},"series":[{"name":"boxplot","type":"boxplot","datasetIndex":1},{"name":"outlier","type":"scatter","datasetIndex":2}]}}
\ No newline at end of file
{
"data": {
"site_637$tag_241": {
"24/09/2023 00:00:59": 709.0,
"24/09/2023 00:02:59": 800.0,
"24/09/2023 00:04:59": 624.0,
"24/09/2023 00:07:00": 273.0,
"24/09/2023 00:09:00": 824.0,
"24/09/2023 00:10:59": 173.0,
"24/09/2023 00:13:00": 282.0,
"24/09/2023 00:15:00": 492.0,
"24/09/2023 00:16:59": 152.0,
"24/09/2023 00:19:00": 645.0,
"24/09/2023 00:20:59": 179.0,
"24/09/2023 00:22:59": 875.0,
"24/09/2023 00:25:00": 8.0,
"24/09/2023 00:26:59": 554.0,
"24/09/2023 00:29:00": 741.0,
"24/09/2023 00:30:59": 108.0,
"24/09/2023 00:32:59": 365.0,
"24/09/2023 00:34:59": 244.0,
"24/09/2023 00:36:59": 356.0,
"24/09/2023 00:39:00": 471.0,
"24/09/2023 00:40:59": 733.0,
"24/09/2023 00:42:59": 541.0,
"24/09/2023 00:44:59": 74.0,
"24/09/2023 00:46:59": 54.0,
"24/09/2023 00:48:59": 340.0,
"24/09/2023 00:50:59": 595.0,
"24/09/2023 00:53:00": 576.0,
"24/09/2023 00:55:00": 206.0,
"24/09/2023 00:56:59": 178.0,
"24/09/2023 00:59:00": 231.0,
"24/09/2023 01:00:59": 133.0,
"24/09/2023 01:02:59": 166.0,
"24/09/2023 01:04:59": 91.0,
"24/09/2023 01:06:59": 256.0,
"24/09/2023 01:09:00": 27.0,
"24/09/2023 01:10:59": 298.0,
"24/09/2023 01:12:59": 262.0,
"24/09/2023 01:15:00": 471.0,
"24/09/2023 01:16:59": 605.0,
"24/09/2023 01:19:00": 774.0,
"24/09/2023 01:21:00": 119.0,
"24/09/2023 01:23:00": 332.0,
"24/09/2023 01:24:59": 635.0,
"24/09/2023 01:27:00": 40.0,
"24/09/2023 01:29:00": 89.0,
"24/09/2023 01:30:59": 145.0,
"24/09/2023 01:33:00": 304.0,
"24/09/2023 01:34:59": 740.0,
"24/09/2023 01:37:00": 679.0,
"24/09/2023 01:39:00": 600.0,
"24/09/2023 01:41:00": 650.0,
"24/09/2023 01:43:00": 202.0,
"24/09/2023 01:44:59": 279.0,
"24/09/2023 01:46:59": 884.0,
"24/09/2023 01:49:00": 585.0,
"24/09/2023 01:50:59": 888.0,
"24/09/2023 01:52:59": 5.0,
"24/09/2023 01:55:00": 589.0,
"24/09/2023 01:56:59": 148.0,
"24/09/2023 01:59:00": 495.0,
"24/09/2023 02:00:59": 791.0,
"24/09/2023 02:02:59": 659.0,
"24/09/2023 02:04:59": 825.0,
"24/09/2023 02:06:59": 451.0,
"24/09/2023 02:09:00": 348.0,
"24/09/2023 02:11:00": 300.0,
"24/09/2023 02:13:00": 393.0,
"24/09/2023 02:14:59": 523.0,
"24/09/2023 02:16:59": 91.0,
"24/09/2023 02:18:59": 365.0,
"24/09/2023 02:20:59": 139.0,
"24/09/2023 02:22:59": 543.0,
"24/09/2023 02:25:00": 920.0,
"24/09/2023 02:26:59": 972.0,
"24/09/2023 02:28:59": 576.0,
"24/09/2023 02:30:59": 768.0,
"24/09/2023 02:33:00": 745.0,
"24/09/2023 02:34:59": 22.0,
"24/09/2023 02:37:00": 763.0,
"24/09/2023 02:38:59": 698.0,
"24/09/2023 02:41:00": 521.0,
"24/09/2023 02:43:00": 536.0,
"24/09/2023 02:44:59": 302.0,
"24/09/2023 02:46:59": 156.0,
"24/09/2023 02:49:00": 543.0,
"24/09/2023 02:50:59": 992.0,
"24/09/2023 02:53:00": 1000.0,
"24/09/2023 02:55:00": 518.0,
"24/09/2023 02:56:59": 30.0,
"24/09/2023 02:59:00": 866.0,
"24/09/2023 03:00:59": 341.0,
"24/09/2023 03:03:00": 35.0,
"24/09/2023 03:04:59": 710.0,
"24/09/2023 03:07:00": 875.0,
"24/09/2023 03:09:00": 688.0,
"24/09/2023 03:10:59": 33.0,
"24/09/2023 03:13:00": 920.0,
"24/09/2023 03:14:59": 733.0,
"24/09/2023 03:17:00": 64.0,
"24/09/2023 03:19:00": 863.0,
"24/09/2023 03:20:59": 605.0,
"24/09/2023 03:22:59": 643.0,
"24/09/2023 03:25:00": 43.0,
"24/09/2023 03:26:59": 712.0,
"24/09/2023 03:29:00": 444.0,
"24/09/2023 03:31:00": 18.0,
"24/09/2023 03:32:59": 84.0,
"24/09/2023 03:34:59": 837.0,
"24/09/2023 03:37:00": 185.0,
"24/09/2023 03:39:00": 761.0,
"24/09/2023 03:41:00": 645.0,
"24/09/2023 03:42:59": 983.0,
"24/09/2023 03:44:59": 231.0,
"24/09/2023 03:46:59": 165.0,
"24/09/2023 03:48:59": 576.0,
"24/09/2023 03:50:59": 700.0,
"24/09/2023 03:53:00": 411.0,
"24/09/2023 03:55:00": 541.0,
"24/09/2023 03:57:00": 248.0,
"24/09/2023 03:59:00": 97.0,
"24/09/2023 04:00:59": 551.0,
"24/09/2023 04:03:00": 304.0,
"24/09/2023 04:05:00": 24.0,
"24/09/2023 04:07:00": 754.0,
"24/09/2023 04:09:00": 63.0,
"24/09/2023 04:11:00": 400.0,
"24/09/2023 04:13:00": 988.0,
"24/09/2023 04:15:00": 389.0,
"24/09/2023 04:16:59": 886.0,
"24/09/2023 04:19:00": 765.0,
"24/09/2023 04:20:59": 138.0,
"24/09/2023 04:22:59": 25.0,
"24/09/2023 04:25:00": 808.0,
"24/09/2023 04:26:59": 543.0,
"24/09/2023 04:29:00": 675.0,
"24/09/2023 04:31:00": 293.0,
"24/09/2023 04:32:59": 286.0,
"24/09/2023 04:34:59": 198.0,
"24/09/2023 04:37:00": 632.0,
"24/09/2023 04:39:00": 734.0,
"24/09/2023 04:40:59": 192.0,
"24/09/2023 04:42:59": 297.0,
"24/09/2023 04:45:00": 497.0,
"24/09/2023 04:47:00": 815.0,
"24/09/2023 04:49:00": 136.0,
"24/09/2023 04:50:59": 412.0,
"24/09/2023 04:53:00": 620.0,
"24/09/2023 04:54:59": 740.0,
"24/09/2023 04:56:59": 429.0,
"24/09/2023 04:58:59": 860.0,
"24/09/2023 05:00:59": 449.0,
"24/09/2023 05:03:00": 475.0,
"24/09/2023 05:05:00": 852.0,
"24/09/2023 05:06:59": 849.0,
"24/09/2023 05:08:59": 818.0,
"24/09/2023 05:10:59": 136.0,
"24/09/2023 05:13:00": 35.0,
"24/09/2023 05:15:00": 414.0,
"24/09/2023 05:17:00": 677.0,
"24/09/2023 05:19:00": 483.0,
"24/09/2023 05:21:00": 418.0,
"24/09/2023 05:23:00": 146.0,
"24/09/2023 05:24:59": 945.0,
"24/09/2023 05:26:59": 446.0,
"24/09/2023 05:29:00": 513.0,
"24/09/2023 05:31:00": 852.0,
"24/09/2023 05:32:59": 343.0,
"24/09/2023 05:35:00": 371.0,
"24/09/2023 05:36:59": 937.0,
"24/09/2023 05:39:00": 646.0,
"24/09/2023 05:40:59": 397.0,
"24/09/2023 05:43:00": 591.0,
"24/09/2023 05:44:59": 924.0,
"24/09/2023 05:47:00": 938.0,
"24/09/2023 05:49:00": 174.0,
"24/09/2023 05:50:59": 371.0,
"24/09/2023 05:53:00": 434.0,
"24/09/2023 05:54:59": 512.0,
"24/09/2023 05:56:59": 297.0,
"24/09/2023 05:59:00": 551.0,
"24/09/2023 06:00:59": 581.0,
"24/09/2023 06:02:59": 353.0,
"24/09/2023 06:04:59": 633.0,
"24/09/2023 06:06:59": 685.0,
"24/09/2023 06:09:00": 877.0,
"24/09/2023 06:10:59": 22.0,
"24/09/2023 06:12:59": 22.0,
"24/09/2023 06:14:59": 62.0,
"24/09/2023 06:16:59": 619.0,
"24/09/2023 06:19:00": 396.0,
"24/09/2023 06:21:00": 584.0,
"24/09/2023 06:22:59": 549.0,
"24/09/2023 06:24:59": 761.0,
"24/09/2023 06:26:59": 310.0,
"24/09/2023 06:29:00": 728.0,
"24/09/2023 06:31:00": 688.0,
"24/09/2023 06:32:59": 782.0,
"24/09/2023 06:34:59": 10.0,
"24/09/2023 06:37:00": 665.0,
"24/09/2023 06:39:00": 322.0,
"24/09/2023 06:40:59": 864.0,
"24/09/2023 06:42:59": 597.0,
"24/09/2023 06:45:00": 89.0,
"24/09/2023 06:46:59": 573.0,
"24/09/2023 06:49:00": 732.0,
"24/09/2023 06:50:59": 288.0,
"24/09/2023 06:52:59": 520.0,
"24/09/2023 06:54:59": 476.0,
"24/09/2023 06:56:59": 584.0,
"24/09/2023 06:59:00": 837.0,
"24/09/2023 07:00:59": 380.0,
"24/09/2023 07:02:59": 629.0,
"24/09/2023 07:05:00": 421.0,
"24/09/2023 07:07:00": 638.0,
"24/09/2023 07:08:59": 381.0,
"24/09/2023 07:10:59": 535.0,
"24/09/2023 07:13:00": 414.0,
"24/09/2023 07:14:59": 984.0,
"24/09/2023 07:17:00": 708.0,
"24/09/2023 07:19:00": 902.0,
"24/09/2023 07:20:59": 117.0,
"24/09/2023 07:23:00": 833.0,
"24/09/2023 07:24:59": 67.0,
"24/09/2023 07:26:59": 325.0,
"24/09/2023 07:28:59": 24.0,
"24/09/2023 07:30:59": 152.0,
"24/09/2023 07:32:59": 173.0,
"24/09/2023 07:35:00": 31.0,
"24/09/2023 07:37:00": 454.0,
"24/09/2023 07:39:00": 111.0,
"24/09/2023 07:40:59": 140.0,
"24/09/2023 07:42:59": 422.0,
"24/09/2023 07:44:59": 247.0,
"24/09/2023 07:46:59": 331.0,
"24/09/2023 07:49:00": 797.0,
"24/09/2023 07:50:59": 955.0,
"24/09/2023 07:53:00": 375.0,
"24/09/2023 07:54:59": 347.0,
"24/09/2023 07:57:00": 949.0,
"24/09/2023 07:58:59": 33.0,
"24/09/2023 08:01:00": 698.0,
"24/09/2023 08:02:59": 300.0,
"24/09/2023 08:04:59": 807.0,
"24/09/2023 08:07:00": 7.0,
"24/09/2023 08:09:00": 144.0,
"24/09/2023 08:11:00": 763.0,
"24/09/2023 08:12:59": 838.0,
"24/09/2023 08:15:00": 444.0,
"24/09/2023 08:16:59": 771.0,
"24/09/2023 08:18:59": 796.0,
"24/09/2023 08:20:59": 13.0,
"24/09/2023 08:22:59": 421.0,
"24/09/2023 08:24:59": 614.0,
"24/09/2023 08:26:59": 933.0,
"24/09/2023 08:29:00": 632.0,
"24/09/2023 08:30:59": 428.0,
"24/09/2023 08:32:59": 963.0,
"24/09/2023 08:35:00": 728.0,
"24/09/2023 08:37:00": 778.0,
"24/09/2023 08:39:00": 596.0,
"24/09/2023 08:40:59": 40.0,
"24/09/2023 08:43:00": 870.0,
"24/09/2023 08:45:00": 526.0,
"24/09/2023 08:46:59": 344.0,
"24/09/2023 08:49:00": 91.0,
"24/09/2023 08:51:00": 803.0,
"24/09/2023 08:52:59": 968.0,
"24/09/2023 08:55:00": 207.0,
"24/09/2023 08:57:00": 588.0,
"24/09/2023 08:59:00": 393.0,
"24/09/2023 09:00:59": 228.0,
"24/09/2023 09:02:59": 109.0,
"24/09/2023 09:04:59": 249.0,
"24/09/2023 09:06:59": 365.0,
"24/09/2023 09:08:59": 733.0,
"24/09/2023 09:11:00": 771.0,
"24/09/2023 09:12:59": 172.0,
"24/09/2023 09:14:59": 812.0,
"24/09/2023 09:16:59": 672.0,
"24/09/2023 09:19:00": 27.0,
"24/09/2023 09:21:00": 34.0,
"24/09/2023 09:23:00": 823.0,
"24/09/2023 09:24:59": 711.0,
"24/09/2023 09:26:59": 594.0,
"24/09/2023 09:29:00": 864.0,
"24/09/2023 09:30:59": 841.0,
"24/09/2023 09:32:59": 837.0,
"24/09/2023 09:35:00": 678.0,
"24/09/2023 09:36:59": 52.0,
"24/09/2023 09:38:59": 124.0,
"24/09/2023 09:41:00": 875.0,
"24/09/2023 09:42:59": 723.0,
"24/09/2023 09:44:59": 719.0,
"24/09/2023 09:47:00": 641.0,
"24/09/2023 09:48:59": 209.0,
"24/09/2023 09:50:59": 745.0,
"24/09/2023 09:52:59": 884.0,
"24/09/2023 09:54:59": 879.0,
"24/09/2023 09:56:59": 272.0,
"24/09/2023 09:59:00": 63.0,
"24/09/2023 10:01:00": 71.0,
"24/09/2023 10:02:59": 75.0,
"24/09/2023 10:04:59": 812.0,
"24/09/2023 10:07:00": 974.0,
"24/09/2023 10:09:00": 196.0,
"24/09/2023 10:11:00": 542.0,
"24/09/2023 10:12:59": 993.0,
"24/09/2023 10:15:00": 149.0,
"24/09/2023 10:17:00": 340.0,
"24/09/2023 10:19:00": 252.0,
"24/09/2023 10:20:59": 840.0,
"24/09/2023 10:23:00": 725.0,
"24/09/2023 10:24:59": 438.0,
"24/09/2023 10:26:59": 378.0,
"24/09/2023 10:29:00": 982.0,
"24/09/2023 10:31:00": 592.0,
"24/09/2023 10:33:00": 110.0,
"24/09/2023 10:35:00": 46.0,
"24/09/2023 10:36:59": 637.0,
"24/09/2023 10:39:00": 306.0,
"24/09/2023 10:40:59": 451.0,
"24/09/2023 10:43:00": 466.0,
"24/09/2023 10:44:59": 364.0,
"24/09/2023 10:46:59": 493.0,
"24/09/2023 10:49:00": 58.0,
"24/09/2023 10:50:59": 757.0,
"24/09/2023 10:52:59": 231.0,
"24/09/2023 10:55:00": 34.0,
"24/09/2023 10:56:59": 598.0,
"24/09/2023 10:59:00": 233.0,
"24/09/2023 11:00:59": 220.0,
"24/09/2023 11:02:59": 350.0,
"24/09/2023 11:04:59": 671.0,
"24/09/2023 11:06:59": 219.0,
"24/09/2023 11:09:00": 773.0,
"24/09/2023 11:10:59": 699.0,
"24/09/2023 11:13:00": 647.0,
"24/09/2023 11:15:00": 671.0,
"24/09/2023 11:17:00": 253.0,
"24/09/2023 11:19:00": 132.0,
"24/09/2023 11:20:59": 900.0,
"24/09/2023 11:22:59": 768.0,
"24/09/2023 11:25:00": 507.0,
"24/09/2023 11:26:59": 934.0,
"24/09/2023 11:28:59": 525.0,
"24/09/2023 11:31:00": 749.0,
"24/09/2023 11:32:59": 881.0,
"24/09/2023 11:34:59": 197.0,
"24/09/2023 11:37:00": 893.0,
"24/09/2023 11:38:59": 446.0,
"24/09/2023 11:41:00": 451.0,
"24/09/2023 11:42:59": 730.0,
"24/09/2023 11:45:00": 567.0,
"24/09/2023 11:46:59": 858.0,
"24/09/2023 11:49:00": 241.0,
"24/09/2023 11:50:59": 331.0,
"24/09/2023 11:52:59": 598.0,
"24/09/2023 11:55:00": 384.0,
"24/09/2023 11:56:59": 448.0,
"24/09/2023 11:59:00": 991.0,
"24/09/2023 12:01:00": 556.0,
"24/09/2023 12:02:59": 333.0,
"24/09/2023 12:05:00": 416.0,
"24/09/2023 12:06:59": 287.0,
"24/09/2023 12:08:59": 777.0,
"24/09/2023 12:10:59": 93.0,
"24/09/2023 12:12:59": 11.0,
"24/09/2023 12:15:00": 509.0,
"24/09/2023 12:17:00": 652.0,
"24/09/2023 12:19:00": 623.0,
"24/09/2023 12:21:00": 815.0,
"24/09/2023 12:23:00": 940.0,
"24/09/2023 12:24:59": 415.0,
"24/09/2023 12:27:00": 2.0,
"24/09/2023 12:29:00": 671.0,
"24/09/2023 12:31:00": 89.0,
"24/09/2023 12:32:59": 870.0,
"24/09/2023 12:34:59": 667.0,
"24/09/2023 12:36:59": 881.0,
"24/09/2023 12:39:00": 253.0,
"24/09/2023 12:40:59": 817.0,
"24/09/2023 12:43:00": 277.0,
"24/09/2023 12:45:00": 221.0,
"24/09/2023 12:46:59": 882.0,
"24/09/2023 12:49:00": 331.0,
"24/09/2023 12:50:59": 352.0,
"24/09/2023 12:52:59": 709.0,
"24/09/2023 12:55:00": 61.0,
"24/09/2023 12:57:00": 331.0,
"24/09/2023 12:59:00": 717.0,
"24/09/2023 13:00:59": 525.0,
"24/09/2023 13:03:00": 619.0,
"24/09/2023 13:05:00": 380.0,
"24/09/2023 13:06:59": 110.0,
"24/09/2023 13:09:00": 620.0,
"24/09/2023 13:10:59": 734.0,
"24/09/2023 13:13:00": 736.0,
"24/09/2023 13:15:00": 846.0,
"24/09/2023 13:16:59": 124.0,
"24/09/2023 13:19:00": 789.0,
"24/09/2023 13:20:59": 213.0,
"24/09/2023 13:22:59": 578.0,
"24/09/2023 13:25:00": 208.0,
"24/09/2023 13:27:00": 387.0,
"24/09/2023 13:28:59": 987.0,
"24/09/2023 13:30:59": 535.0,
"24/09/2023 13:32:59": 579.0,
"24/09/2023 13:35:00": 278.0,
"24/09/2023 13:36:59": 871.0,
"24/09/2023 13:38:59": 947.0,
"24/09/2023 13:40:59": 970.0,
"24/09/2023 13:43:00": 293.0,
"24/09/2023 13:44:59": 618.0,
"24/09/2023 13:47:00": 818.0,
"24/09/2023 13:48:59": 833.0,
"24/09/2023 13:50:59": 612.0,
"24/09/2023 13:52:59": 970.0,
"24/09/2023 13:54:59": 351.0,
"24/09/2023 13:57:00": 306.0,
"24/09/2023 13:59:00": 135.0,
"24/09/2023 14:01:00": 919.0,
"24/09/2023 14:02:59": 640.0,
"24/09/2023 14:04:59": 784.0,
"24/09/2023 14:06:59": 685.0,
"24/09/2023 14:09:00": 789.0,
"24/09/2023 14:10:59": 603.0,
"24/09/2023 14:13:00": 806.0,
"24/09/2023 14:14:59": 719.0,
"24/09/2023 14:16:59": 922.0,
"24/09/2023 14:19:00": 621.0,
"24/09/2023 14:20:59": 77.0,
"24/09/2023 14:22:59": 246.0,
"24/09/2023 14:25:00": 282.0,
"24/09/2023 14:26:59": 874.0,
"24/09/2023 14:29:00": 732.0,
"24/09/2023 14:30:59": 354.0,
"24/09/2023 14:32:59": 949.0,
"24/09/2023 14:34:59": 896.0,
"24/09/2023 14:37:00": 311.0,
"24/09/2023 14:39:00": 288.0,
"24/09/2023 14:40:59": 830.0,
"24/09/2023 14:42:59": 282.0,
"24/09/2023 14:44:59": 628.0,
"24/09/2023 14:46:59": 215.0,
"24/09/2023 14:49:00": 979.0,
"24/09/2023 14:50:59": 992.0,
"24/09/2023 14:52:59": 936.0,
"24/09/2023 14:54:59": 111.0,
"24/09/2023 14:56:59": 465.0,
"24/09/2023 14:59:00": 930.0,
"24/09/2023 15:01:00": 239.0,
"24/09/2023 15:02:59": 970.0,
"24/09/2023 15:05:00": 613.0,
"24/09/2023 15:06:59": 938.0,
"24/09/2023 15:09:00": 219.0,
"24/09/2023 15:11:00": 177.0,
"24/09/2023 15:12:59": 773.0,
"24/09/2023 15:14:59": 668.0,
"24/09/2023 15:16:59": 330.0,
"24/09/2023 15:18:59": 699.0,
"24/09/2023 15:21:00": 296.0,
"24/09/2023 15:23:00": 243.0,
"24/09/2023 15:24:59": 896.0,
"24/09/2023 15:27:00": 976.0,
"24/09/2023 15:29:00": 665.0,
"24/09/2023 15:31:00": 627.0,
"24/09/2023 15:32:59": 364.0,
"24/09/2023 15:35:00": 879.0,
"24/09/2023 15:37:00": 16.0,
"24/09/2023 15:39:00": 953.0,
"24/09/2023 15:40:59": 45.0,
"24/09/2023 15:42:59": 601.0,
"24/09/2023 15:44:59": 543.0,
"24/09/2023 15:47:00": 376.0,
"24/09/2023 15:48:59": 340.0,
"24/09/2023 15:50:59": 864.0,
"24/09/2023 15:53:00": 751.0,
"24/09/2023 15:54:59": 729.0,
"24/09/2023 15:57:00": 8.0,
"24/09/2023 15:59:00": 573.0,
"24/09/2023 16:00:59": 497.0,
"24/09/2023 16:02:59": 119.0,
"24/09/2023 16:04:59": 704.0,
"24/09/2023 16:07:00": 96.0,
"24/09/2023 16:09:00": 872.0,
"24/09/2023 16:10:59": 449.0,
"24/09/2023 16:12:59": 1000.0,
"24/09/2023 16:14:59": 157.0,
"24/09/2023 16:16:59": 614.0,
"24/09/2023 16:19:00": 464.0,
"24/09/2023 16:20:59": 107.0,
"24/09/2023 16:22:59": 589.0,
"24/09/2023 16:24:59": 57.0,
"24/09/2023 16:26:59": 307.0,
"24/09/2023 16:29:00": 672.0,
"24/09/2023 16:30:59": 626.0,
"24/09/2023 16:32:59": 221.0,
"24/09/2023 16:34:59": 940.0,
"24/09/2023 16:36:59": 142.0,
"24/09/2023 16:39:00": 832.0,
"24/09/2023 16:40:59": 541.0,
"24/09/2023 16:43:00": 301.0,
"24/09/2023 16:45:00": 448.0,
"24/09/2023 16:46:59": 176.0,
"24/09/2023 16:49:00": 507.0,
"24/09/2023 16:50:59": 210.0,
"24/09/2023 16:52:59": 739.0,
"24/09/2023 16:54:59": 328.0,
"24/09/2023 16:56:59": 975.0,
"24/09/2023 16:59:00": 118.0,
"24/09/2023 17:01:00": 611.0,
"24/09/2023 17:03:00": 149.0,
"24/09/2023 17:04:59": 284.0,
"24/09/2023 17:07:00": 449.0,
"24/09/2023 17:09:00": 874.0,
"24/09/2023 17:10:59": 288.0,
"24/09/2023 17:12:59": 737.0,
"24/09/2023 17:15:00": 328.0,
"24/09/2023 17:17:00": 564.0,
"24/09/2023 17:19:18": 431.0,
"24/09/2023 17:20:59": 898.0,
"24/09/2023 17:23:00": 229.0,
"24/09/2023 17:25:00": 833.0,
"24/09/2023 17:27:00": 161.0,
"24/09/2023 17:28:59": 594.0,
"24/09/2023 17:30:59": 30.0,
"24/09/2023 17:32:59": 933.0,
"24/09/2023 17:35:00": 670.0,
"24/09/2023 17:36:59": 349.0,
"24/09/2023 17:38:59": 996.0,
"24/09/2023 17:41:00": 613.0,
"24/09/2023 17:42:59": 12.0,
"24/09/2023 17:44:59": 229.0,
"24/09/2023 17:46:59": 387.0,
"24/09/2023 17:49:00": 976.0,
"24/09/2023 17:50:59": 697.0,
"24/09/2023 17:53:00": 408.0,
"24/09/2023 17:54:59": 608.0,
"24/09/2023 17:56:59": 304.0,
"24/09/2023 17:59:00": 857.0,
"24/09/2023 18:00:59": 751.0,
"24/09/2023 18:03:00": 107.0,
"24/09/2023 18:04:59": 600.0,
"24/09/2023 18:06:59": 961.0,
"24/09/2023 18:09:00": 443.0,
"24/09/2023 18:11:00": 994.0,
"24/09/2023 18:12:59": 38.0,
"24/09/2023 18:14:59": 97.0,
"24/09/2023 18:17:00": 80.0,
"24/09/2023 18:19:00": 686.0,
"24/09/2023 18:20:59": 215.0,
"24/09/2023 18:22:59": 894.0,
"24/09/2023 18:24:59": 583.0,
"24/09/2023 18:26:59": 156.0,
"24/09/2023 18:29:00": 86.0,
"24/09/2023 18:30:59": 244.0,
"24/09/2023 18:33:00": 92.0,
"24/09/2023 18:34:59": 836.0,
"24/09/2023 18:36:59": 796.0,
"24/09/2023 18:39:00": 970.0,
"24/09/2023 18:41:00": 892.0,
"24/09/2023 18:42:59": 725.0,
"24/09/2023 18:44:59": 645.0,
"24/09/2023 18:47:00": 166.0,
"24/09/2023 18:49:00": 821.0,
"24/09/2023 18:51:00": 719.0,
"24/09/2023 18:52:59": 280.0,
"24/09/2023 18:54:59": 978.0,
"24/09/2023 18:56:59": 317.0,
"24/09/2023 18:59:00": 222.0,
"24/09/2023 19:00:59": 977.0,
"24/09/2023 19:02:59": 447.0,
"24/09/2023 19:04:59": 709.0,
"24/09/2023 19:06:59": 142.0,
"24/09/2023 19:09:00": 364.0,
"24/09/2023 19:11:00": 174.0,
"24/09/2023 19:13:00": 99.0,
"24/09/2023 19:14:59": 578.0,
"24/09/2023 19:16:59": 245.0,
"24/09/2023 19:19:00": 807.0,
"24/09/2023 19:21:00": 394.0,
"24/09/2023 19:23:00": 780.0,
"24/09/2023 19:25:00": 551.0,
"24/09/2023 19:26:59": 343.0,
"24/09/2023 19:29:00": 75.0,
"24/09/2023 19:31:00": 416.0,
"24/09/2023 19:32:59": 280.0,
"24/09/2023 19:34:59": 390.0,
"24/09/2023 19:37:00": 311.0,
"24/09/2023 19:39:00": 954.0,
"24/09/2023 19:41:00": 487.0,
"24/09/2023 19:42:59": 18.0,
"24/09/2023 19:44:59": 170.0,
"24/09/2023 19:47:00": 336.0,
"24/09/2023 19:49:00": 776.0,
"24/09/2023 19:51:00": 470.0,
"24/09/2023 19:52:59": 609.0,
"24/09/2023 19:54:59": 927.0,
"24/09/2023 19:56:59": 606.0,
"24/09/2023 19:59:00": 391.0,
"24/09/2023 20:00:59": 316.0,
"24/09/2023 20:03:00": 403.0,
"24/09/2023 20:05:00": 178.0,
"24/09/2023 20:06:59": 742.0,
"24/09/2023 20:09:00": 558.0,
"24/09/2023 20:10:59": 318.0,
"24/09/2023 20:12:59": 752.0,
"24/09/2023 20:14:59": 544.0,
"24/09/2023 20:17:00": 763.0,
"24/09/2023 20:19:00": 985.0,
"24/09/2023 20:21:00": 563.0,
"24/09/2023 20:22:59": 496.0,
"24/09/2023 20:24:59": 586.0,
"24/09/2023 20:27:00": 39.0,
"24/09/2023 20:28:59": 146.0,
"24/09/2023 20:31:00": 612.0,
"24/09/2023 20:32:59": 885.0,
"24/09/2023 20:35:00": 20.0,
"24/09/2023 20:36:59": 720.0,
"24/09/2023 20:39:00": 54.0,
"24/09/2023 20:40:59": 13.0,
"24/09/2023 20:43:00": 564.0,
"24/09/2023 20:44:59": 164.0,
"24/09/2023 20:46:59": 364.0,
"24/09/2023 20:49:00": 870.0,
"24/09/2023 20:51:00": 408.0,
"24/09/2023 20:53:00": 369.0,
"24/09/2023 20:55:00": 118.0,
"24/09/2023 20:57:00": 458.0,
"24/09/2023 20:59:00": 276.0,
"24/09/2023 21:00:59": 122.0,
"24/09/2023 21:02:59": 45.0,
"24/09/2023 21:05:00": 644.0,
"24/09/2023 21:07:00": 31.0,
"24/09/2023 21:09:00": 182.0,
"24/09/2023 21:10:59": 555.0,
"24/09/2023 21:13:00": 887.0,
"24/09/2023 21:14:59": 536.0,
"24/09/2023 21:16:59": 591.0,
"24/09/2023 21:19:00": 129.0,
"24/09/2023 21:21:00": 431.0,
"24/09/2023 21:22:59": 31.0,
"24/09/2023 21:24:59": 104.0,
"24/09/2023 21:26:59": 85.0,
"24/09/2023 21:29:00": 740.0,
"24/09/2023 21:30:59": 170.0,
"24/09/2023 21:32:59": 145.0,
"24/09/2023 21:34:59": 852.0,
"24/09/2023 21:37:00": 919.0,
"24/09/2023 21:39:00": 916.0,
"24/09/2023 21:41:00": 560.0,
"24/09/2023 21:42:59": 284.0,
"24/09/2023 21:44:59": 857.0,
"24/09/2023 21:46:59": 786.0,
"24/09/2023 21:49:00": 201.0,
"24/09/2023 21:50:59": 544.0,
"24/09/2023 21:53:00": 629.0,
"24/09/2023 21:54:59": 332.0,
"24/09/2023 21:57:00": 521.0,
"24/09/2023 21:59:00": 347.0,
"24/09/2023 22:00:59": 272.0,
"24/09/2023 22:03:00": 433.0,
"24/09/2023 22:04:59": 456.0,
"24/09/2023 22:06:59": 686.0,
"24/09/2023 22:09:00": 642.0,
"24/09/2023 22:10:59": 762.0,
"24/09/2023 22:12:59": 688.0,
"24/09/2023 22:14:59": 955.0,
"24/09/2023 22:16:59": 108.0,
"24/09/2023 22:18:59": 855.0,
"24/09/2023 22:20:59": 857.0,
"24/09/2023 22:22:59": 685.0,
"24/09/2023 22:24:59": 681.0,
"24/09/2023 22:26:59": 901.0,
"24/09/2023 22:29:00": 135.0,
"24/09/2023 22:31:00": 448.0,
"24/09/2023 22:33:00": 444.0,
"24/09/2023 22:34:59": 948.0,
"24/09/2023 22:36:59": 244.0,
"24/09/2023 22:39:00": 678.0,
"24/09/2023 22:41:00": 152.0,
"24/09/2023 22:42:59": 894.0,
"24/09/2023 22:45:00": 780.0,
"24/09/2023 22:46:59": 458.0,
"24/09/2023 22:49:00": 66.0,
"24/09/2023 22:50:59": 458.0,
"24/09/2023 22:52:59": 850.0,
"24/09/2023 22:54:59": 834.0,
"24/09/2023 22:57:00": 234.0,
"24/09/2023 22:59:00": 861.0,
"24/09/2023 23:01:00": 624.0,
"24/09/2023 23:02:59": 16.0,
"24/09/2023 23:05:00": 420.0,
"24/09/2023 23:07:00": 235.0,
"24/09/2023 23:09:00": 667.0,
"24/09/2023 23:10:59": 76.0,
"24/09/2023 23:12:59": 812.0,
"24/09/2023 23:14:59": 999.0,
"24/09/2023 23:17:00": 48.0,
"24/09/2023 23:18:59": 580.0,
"24/09/2023 23:20:59": 580.0,
"24/09/2023 23:23:00": 776.0,
"24/09/2023 23:24:59": 6.0,
"24/09/2023 23:27:00": 150.0,
"24/09/2023 23:29:00": 504.0,
"24/09/2023 23:30:59": 663.0,
"24/09/2023 23:32:59": 94.0,
"24/09/2023 23:34:59": 485.0,
"24/09/2023 23:37:00": 333.0,
"24/09/2023 23:39:00": 483.0,
"24/09/2023 23:40:59": 924.0,
"24/09/2023 23:42:59": 62.0,
"24/09/2023 23:44:59": 270.0,
"24/09/2023 23:47:00": 461.0,
"24/09/2023 23:49:00": 413.0,
"24/09/2023 23:50:59": 527.0,
"24/09/2023 23:53:00": 432.0,
"24/09/2023 23:55:00": 82.0,
"24/09/2023 23:57:00": 301.0,
"24/09/2023 23:59:00": 443.0
}
}
}
\ No newline at end of file
import pathlib
from pydantic import Field, BaseSettings
PROJECT_NAME = "candle"
class _Service(BaseSettings):
MODULE_NAME: str = Field(default="candle")
HOST: str = Field(default="0.0.0.0", env="service_host")
PORT: int = Field(default=8080, env="port")
BUILD_DIR: str = Field(default="scripts/templates")
PLUGIN_NAME: str = Field(default="candle")
PROXY: str = Field(default="/hack-repl")
BACKEND_DIR: str = Field(default=".")
class _BasePathConf(BaseSettings):
BASE_PATH: str = "/code/data"
class _PathToDir(BaseSettings):
ASSETS: str = Field(default=f"{_Service().BUILD_DIR}/assets")
BASE_PATH: pathlib.Path = pathlib.Path(_BasePathConf().BASE_PATH)
MODULE_PATH: pathlib.Path = BASE_PATH / _Service().MODULE_NAME
DATA: pathlib.Path = MODULE_PATH / "data"
Service = _Service()
PathToDir = _PathToDir()
class _APIEndpoints:
load_styles = "/load_styles"
load_file = "/load_file"
load_configuration = "/load_configuration"
preview = "/preview"
generate = "/report/generate"
fetch_data="/fetch_data"
class ExternalEndpoints:
api_ebpr_request = "/general/update_status"
APIEndpoints = _APIEndpoints()
import json
import logging
import os
import pandas as pd
from fastapi.responses import FileResponse
from scripts.config import Service, PathToDir
from scripts.core.schemas.response_models import DefaultResponse
from scripts.core.schemas.response_models import LoadStylesResponse
class DefaultHandler:
@staticmethod
def load_styles():
try:
response = LoadStylesResponse()
for each_file in os.listdir(Service.BUILD_DIR):
path = f"{Service.PROXY}/widget/load_file?filename={each_file}"
if each_file.endswith(".js"):
response.js_files.append(path)
elif each_file.endswith(".css"):
response.styles.append(path)
elif each_file == "assets":
response.assetPath = f"{Service.BUILD_DIR}/{each_file}"
return DefaultResponse(message="Styles loaded successfully", data=response)
except Exception as e:
logging.exception(e)
return DefaultResponse(message="Failed to load file paths", status="failed")
@staticmethod
def download_resources(filename: str):
try:
file_path = os.path.join(Service.BUILD_DIR, filename)
if os.path.isfile(os.path.join(Service.BUILD_DIR, filename)) and filename.endswith(".js"):
return FileResponse(file_path, media_type='application/octet-stream', filename=filename)
else:
return DefaultResponse(message="Failed to load resources")
except Exception as e:
logging.error("Exception " + str(e))
return DefaultResponse(message="Filename is not available")
@staticmethod
def load_configuration():
try:
with open(f"{PathToDir.ASSETS}/widgetConfig.json", "r") as file:
file_content = json.loads(file.read())
return file_content
except Exception as e:
logging.error(e)
return DefaultResponse(message="Failed to load configurations")
# @staticmethod
# def fetch_data():
# with open(f"{Service.BACKEND_DIR}/scripts/assets/mock_data.json", "r") as file:
# file_content = json.loads(file.read())
# return file_content
@staticmethod
def generate_report():
with open(f"{Service.BACKEND_DIR}/scripts/assets/mock_data.json", "r") as file:
file_content = json.loads(file.read())
df = pd.DataFrame(file_content.get("data", [])) if file_content else pd.DataFrame([])
df.index.name = "Timestamp"
if not os.path.exists(PathToDir.DATA):
os.makedirs(PathToDir.DATA)
df.to_csv(f"{PathToDir.DATA}/data.csv")
return FileResponse(f"{PathToDir.DATA}/data.csv", filename="data.csv")
from pydantic import BaseModel
class DownloadResource(BaseModel):
file_name: str
from typing import Any, Optional
from pydantic import BaseModel
class DefaultResponse(BaseModel):
status: str = "success"
message: str
data: Optional[Any]
class LoadStylesResponse(BaseModel):
styles: list = []
js_files: list = []
assetPath: str | None = None
import json
import logging
import os
from fastapi import APIRouter
from scripts.config import Services
from scripts.core.constants.api import APIEndpoints
from scripts.core.schemas.response_models import DefaultResponse, LoadStylesResponse
from starlette.responses import FileResponse
router = APIRouter(prefix="/widget")
@router.get(APIEndpoints.load_styles)
async def load_styles():
"""
Default: Loads required endpoints to get filenames in the build
Do not edit this
"""
try:
response = LoadStylesResponse()
for each_file in os.listdir(Services.BUILD_DIR):
path = f"{Services.PROXY}/widget/load_file?filename={each_file}"
if each_file.endswith(".js"):
response.js_files.append(path)
elif each_file.endswith(".css"):
response.styles.append(path)
elif each_file == "assets":
response.assetPath = f"{Services.BUILD_DIR}/{each_file}"
return DefaultResponse(message="Styles loaded successfully", data=response)
except Exception as e:
logging.exception(e)
return DefaultResponse(message="Failed to load file paths", status="failed")
@router.get(APIEndpoints.load_file)
def download_resource(filename: str):
"""Default: Request Build Files to redner widget configurations on the frontend
Do not edit this
"""
try:
file_path = os.path.join(Services.BUILD_DIR, filename)
if os.path.isfile(
os.path.join(Services.BUILD_DIR, filename)
) and filename.endswith(".js"):
return FileResponse(
file_path, media_type="application/octet-stream", filename=filename
)
else:
return DefaultResponse(message="Failed to load resources")
except Exception as e:
logging.error("Exception " + str(e))
return DefaultResponse(message="Filename is not available")
# TODO: Add preview logic. Do not change the API endpoint
@router.get(APIEndpoints.preview)
async def preview(request_type: str = "refresh"):
"""
Request Type Options
Preview: Can take in all widget configuration from payload and return Chart Preview Response
Refresh: Will accept widget ID and derive the widget configuration from Widget collection, to then return the
chart response
"""
try:
if request_type not in ["refresh", "preview"]:
return DefaultResponse(message="Invalid Query Parameter")
with open(f"{Services.BACKEND_DIR}/scripts/assets/chart_json.json") as file:
file_content = json.loads(file.read())
return file_content
except Exception as e:
logging.error(e)
return DefaultResponse(message="Not found")
@router.get(APIEndpoints.load_configuration)
async def load_configuration():
"""
Default: Load widget configuration JSON for listing plugins while creating widgets
Do not edit this
"""
try:
with open(f"{Services.BUILD_DIR}/widgetConfig.json") as file:
file_content = json.loads(file.read())
return file_content
except Exception as e:
logging.error(e)
return DefaultResponse(message="Failed to load configurations")
@router.post(APIEndpoints.fetch_data)
def fetch_df():
try:
return {"data":{'Abhu dhabi': {'24/09/2023 00:00:59': 709.0, '24/09/2023 00:02:59': 800.0, '24/09/2023 00:04:59': 624.0, '24/09/2023 00:07:00': 273.0, '24/09/2023 00:09:00': 824.0, '24/09/2023 00:10:59': 173.0, '24/09/2023 00:13:00': 282.0, '24/09/2023 00:15:00': 492.0, '24/09/2023 00:16:59': 152.0, '24/09/2023 00:19:00': 645.0, '24/09/2023 00:20:59': 179.0, '24/09/2023 00:22:59': 875.0, '24/09/2023 00:25:00': 8.0, '24/09/2023 00:26:59': 554.0, '24/09/2023 00:29:00': 741.0, '24/09/2023 00:30:59': 108.0, '24/09/2023 00:32:59': 365.0, '24/09/2023 00:34:59': 244.0, '24/09/2023 00:36:59': 356.0, '24/09/2023 00:39:00': 471.0, '24/09/2023 00:40:59': 733.0, '24/09/2023 00:42:59': 541.0, '24/09/2023 00:44:59': 74.0, '24/09/2023 00:46:59': 54.0, '24/09/2023 00:48:59': 340.0, '24/09/2023 00:50:59': 595.0, '24/09/2023 00:53:00': 576.0, '24/09/2023 00:55:00': 206.0, '24/09/2023 00:56:59': 178.0, '24/09/2023 00:59:00': 231.0, '24/09/2023 01:00:59': 133.0, '24/09/2023 01:02:59': 166.0, '24/09/2023 01:04:59': 91.0, '24/09/2023 01:06:59': 256.0, '24/09/2023 01:09:00': 27.0, '24/09/2023 01:10:59': 298.0, '24/09/2023 01:12:59': 262.0, '24/09/2023 01:15:00': 471.0, '24/09/2023 01:16:59': 605.0, '24/09/2023 01:19:00': 774.0, '24/09/2023 01:21:00': 119.0, '24/09/2023 01:23:00': 332.0, '24/09/2023 01:24:59': 635.0, '24/09/2023 01:27:00': 40.0, '24/09/2023 01:29:00': 89.0, '24/09/2023 01:30:59': 145.0, '24/09/2023 01:33:00': 304.0, '24/09/2023 01:34:59': 740.0, '24/09/2023 01:37:00': 679.0, '24/09/2023 01:39:00': 600.0, '24/09/2023 01:41:00': 650.0, '24/09/2023 01:43:00': 202.0, '24/09/2023 01:44:59': 279.0, '24/09/2023 01:46:59': 884.0, '24/09/2023 01:49:00': 585.0, '24/09/2023 01:50:59': 888.0, '24/09/2023 01:52:59': 5.0, '24/09/2023 01:55:00': 589.0, '24/09/2023 01:56:59': 148.0, '24/09/2023 01:59:00': 495.0, '24/09/2023 02:00:59': 791.0, '24/09/2023 02:02:59': 659.0, '24/09/2023 02:04:59': 825.0, '24/09/2023 02:06:59': 451.0, '24/09/2023 02:09:00': 348.0, '24/09/2023 02:11:00': 300.0, '24/09/2023 02:13:00': 393.0, '24/09/2023 02:14:59': 523.0, '24/09/2023 02:16:59': 91.0, '24/09/2023 02:18:59': 365.0, '24/09/2023 02:20:59': 139.0, '24/09/2023 02:22:59': 543.0, '24/09/2023 02:25:00': 920.0, '24/09/2023 02:26:59': 972.0, '24/09/2023 02:28:59': 576.0, '24/09/2023 02:30:59': 768.0, '24/09/2023 02:33:00': 745.0, '24/09/2023 02:34:59': 22.0, '24/09/2023 02:37:00': 763.0, '24/09/2023 02:38:59': 698.0, '24/09/2023 02:41:00': 521.0, '24/09/2023 02:43:00': 536.0, '24/09/2023 02:44:59': 302.0, '24/09/2023 02:46:59': 156.0, '24/09/2023 02:49:00': 543.0, '24/09/2023 02:50:59': 992.0, '24/09/2023 02:53:00': 1000.0, '24/09/2023 02:55:00': 518.0, '24/09/2023 02:56:59': 30.0, '24/09/2023 02:59:00': 866.0, '24/09/2023 03:00:59': 341.0, '24/09/2023 03:03:00': 35.0, '24/09/2023 03:04:59': 710.0, '24/09/2023 03:07:00': 875.0, '24/09/2023 03:09:00': 688.0, '24/09/2023 03:10:59': 33.0, '24/09/2023 03:13:00': 920.0, '24/09/2023 03:14:59': 733.0, '24/09/2023 03:17:00': 64.0, '24/09/2023 03:19:00': 863.0, '24/09/2023 03:20:59': 605.0, '24/09/2023 03:22:59': 643.0, '24/09/2023 03:25:00': 43.0, '24/09/2023 03:26:59': 712.0, '24/09/2023 03:29:00': 444.0, '24/09/2023 03:31:00': 18.0, '24/09/2023 03:32:59': 84.0, '24/09/2023 03:34:59': 837.0, '24/09/2023 03:37:00': 185.0, '24/09/2023 03:39:00': 761.0, '24/09/2023 03:41:00': 645.0, '24/09/2023 03:42:59': 983.0, '24/09/2023 03:44:59': 231.0, '24/09/2023 03:46:59': 165.0, '24/09/2023 03:48:59': 576.0, '24/09/2023 03:50:59': 700.0, '24/09/2023 03:53:00': 411.0, '24/09/2023 03:55:00': 541.0, '24/09/2023 03:57:00': 248.0, '24/09/2023 03:59:00': 97.0, '24/09/2023 04:00:59': 551.0, '24/09/2023 04:03:00': 304.0, '24/09/2023 04:05:00': 24.0, '24/09/2023 04:07:00': 754.0, '24/09/2023 04:09:00': 63.0, '24/09/2023 04:11:00': 400.0, '24/09/2023 04:13:00': 988.0, '24/09/2023 04:15:00': 389.0, '24/09/2023 04:16:59': 886.0, '24/09/2023 04:19:00': 765.0, '24/09/2023 04:20:59': 138.0, '24/09/2023 04:22:59': 25.0, '24/09/2023 04:25:00': 808.0, '24/09/2023 04:26:59': 543.0, '24/09/2023 04:29:00': 675.0, '24/09/2023 04:31:00': 293.0, '24/09/2023 04:32:59': 286.0, '24/09/2023 04:34:59': 198.0, '24/09/2023 04:37:00': 632.0, '24/09/2023 04:39:00': 734.0, '24/09/2023 04:40:59': 192.0, '24/09/2023 04:42:59': 297.0, '24/09/2023 04:45:00': 497.0, '24/09/2023 04:47:00': 815.0, '24/09/2023 04:49:00': 136.0, '24/09/2023 04:50:59': 412.0, '24/09/2023 04:53:00': 620.0, '24/09/2023 04:54:59': 740.0, '24/09/2023 04:56:59': 429.0, '24/09/2023 04:58:59': 860.0, '24/09/2023 05:00:59': 449.0, '24/09/2023 05:03:00': 475.0, '24/09/2023 05:05:00': 852.0, '24/09/2023 05:06:59': 849.0, '24/09/2023 05:08:59': 818.0, '24/09/2023 05:10:59': 136.0, '24/09/2023 05:13:00': 35.0, '24/09/2023 05:15:00': 414.0, '24/09/2023 05:17:00': 677.0, '24/09/2023 05:19:00': 483.0, '24/09/2023 05:21:00': 418.0, '24/09/2023 05:23:00': 146.0, '24/09/2023 05:24:59': 945.0, '24/09/2023 05:26:59': 446.0, '24/09/2023 05:29:00': 513.0, '24/09/2023 05:31:00': 852.0, '24/09/2023 05:32:59': 343.0, '24/09/2023 05:35:00': 371.0, '24/09/2023 05:36:59': 937.0, '24/09/2023 05:39:00': 646.0, '24/09/2023 05:40:59': 397.0, '24/09/2023 05:43:00': 591.0, '24/09/2023 05:44:59': 924.0, '24/09/2023 05:47:00': 938.0, '24/09/2023 05:49:00': 174.0, '24/09/2023 05:50:59': 371.0, '24/09/2023 05:53:00': 434.0, '24/09/2023 05:54:59': 512.0, '24/09/2023 05:56:59': 297.0, '24/09/2023 05:59:00': 551.0, '24/09/2023 06:00:59': 581.0, '24/09/2023 06:02:59': 353.0, '24/09/2023 06:04:59': 633.0, '24/09/2023 06:06:59': 685.0, '24/09/2023 06:09:00': 877.0, '24/09/2023 06:10:59': 22.0, '24/09/2023 06:12:59': 22.0, '24/09/2023 06:14:59': 62.0, '24/09/2023 06:16:59': 619.0, '24/09/2023 06:19:00': 396.0, '24/09/2023 06:21:00': 584.0, '24/09/2023 06:22:59': 549.0, '24/09/2023 06:24:59': 761.0, '24/09/2023 06:26:59': 310.0, '24/09/2023 06:29:00': 728.0, '24/09/2023 06:31:00': 688.0, '24/09/2023 06:32:59': 782.0, '24/09/2023 06:34:59': 10.0, '24/09/2023 06:37:00': 665.0, '24/09/2023 06:39:00': 322.0, '24/09/2023 06:40:59': 864.0, '24/09/2023 06:42:59': 597.0, '24/09/2023 06:45:00': 89.0, '24/09/2023 06:46:59': 573.0, '24/09/2023 06:49:00': 732.0, '24/09/2023 06:50:59': 288.0, '24/09/2023 06:52:59': 520.0, '24/09/2023 06:54:59': 476.0, '24/09/2023 06:56:59': 584.0, '24/09/2023 06:59:00': 837.0, '24/09/2023 07:00:59': 380.0, '24/09/2023 07:02:59': 629.0, '24/09/2023 07:05:00': 421.0, '24/09/2023 07:07:00': 638.0, '24/09/2023 07:08:59': 381.0, '24/09/2023 07:10:59': 535.0, '24/09/2023 07:13:00': 414.0, '24/09/2023 07:14:59': 984.0, '24/09/2023 07:17:00': 708.0, '24/09/2023 07:19:00': 902.0, '24/09/2023 07:20:59': 117.0, '24/09/2023 07:23:00': 833.0, '24/09/2023 07:24:59': 67.0, '24/09/2023 07:26:59': 325.0, '24/09/2023 07:28:59': 24.0, '24/09/2023 07:30:59': 152.0, '24/09/2023 07:32:59': 173.0, '24/09/2023 07:35:00': 31.0, '24/09/2023 07:37:00': 454.0, '24/09/2023 07:39:00': 111.0, '24/09/2023 07:40:59': 140.0, '24/09/2023 07:42:59': 422.0, '24/09/2023 07:44:59': 247.0, '24/09/2023 07:46:59': 331.0, '24/09/2023 07:49:00': 797.0, '24/09/2023 07:50:59': 955.0, '24/09/2023 07:53:00': 375.0, '24/09/2023 07:54:59': 347.0, '24/09/2023 07:57:00': 949.0, '24/09/2023 07:58:59': 33.0, '24/09/2023 08:01:00': 698.0, '24/09/2023 08:02:59': 300.0, '24/09/2023 08:04:59': 807.0, '24/09/2023 08:07:00': 7.0, '24/09/2023 08:09:00': 144.0, '24/09/2023 08:11:00': 763.0, '24/09/2023 08:12:59': 838.0, '24/09/2023 08:15:00': 444.0, '24/09/2023 08:16:59': 771.0, '24/09/2023 08:18:59': 796.0, '24/09/2023 08:20:59': 13.0, '24/09/2023 08:22:59': 421.0, '24/09/2023 08:24:59': 614.0, '24/09/2023 08:26:59': 933.0, '24/09/2023 08:29:00': 632.0, '24/09/2023 08:30:59': 428.0, '24/09/2023 08:32:59': 963.0, '24/09/2023 08:35:00': 728.0, '24/09/2023 08:37:00': 778.0, '24/09/2023 08:39:00': 596.0, '24/09/2023 08:40:59': 40.0, '24/09/2023 08:43:00': 870.0, '24/09/2023 08:45:00': 526.0, '24/09/2023 08:46:59': 344.0, '24/09/2023 08:49:00': 91.0, '24/09/2023 08:51:00': 803.0, '24/09/2023 08:52:59': 968.0, '24/09/2023 08:55:00': 207.0, '24/09/2023 08:57:00': 588.0, '24/09/2023 08:59:00': 393.0, '24/09/2023 09:00:59': 228.0, '24/09/2023 09:02:59': 109.0, '24/09/2023 09:04:59': 249.0, '24/09/2023 09:06:59': 365.0, '24/09/2023 09:08:59': 733.0, '24/09/2023 09:11:00': 771.0, '24/09/2023 09:12:59': 172.0, '24/09/2023 09:14:59': 812.0, '24/09/2023 09:16:59': 672.0, '24/09/2023 09:19:00': 27.0, '24/09/2023 09:21:00': 34.0, '24/09/2023 09:23:00': 823.0, '24/09/2023 09:24:59': 711.0, '24/09/2023 09:26:59': 594.0, '24/09/2023 09:29:00': 864.0, '24/09/2023 09:30:59': 841.0, '24/09/2023 09:32:59': 837.0, '24/09/2023 09:35:00': 678.0, '24/09/2023 09:36:59': 52.0, '24/09/2023 09:38:59': 124.0, '24/09/2023 09:41:00': 875.0, '24/09/2023 09:42:59': 723.0, '24/09/2023 09:44:59': 719.0, '24/09/2023 09:47:00': 641.0, '24/09/2023 09:48:59': 209.0, '24/09/2023 09:50:59': 745.0, '24/09/2023 09:52:59': 884.0, '24/09/2023 09:54:59': 879.0, '24/09/2023 09:56:59': 272.0, '24/09/2023 09:59:00': 63.0, '24/09/2023 10:01:00': 71.0, '24/09/2023 10:02:59': 75.0, '24/09/2023 10:04:59': 812.0, '24/09/2023 10:07:00': 974.0, '24/09/2023 10:09:00': 196.0, '24/09/2023 10:11:00': 542.0, '24/09/2023 10:12:59': 993.0, '24/09/2023 10:15:00': 149.0, '24/09/2023 10:17:00': 340.0, '24/09/2023 10:19:00': 252.0, '24/09/2023 10:20:59': 840.0, '24/09/2023 10:23:00': 725.0, '24/09/2023 10:24:59': 438.0, '24/09/2023 10:26:59': 378.0, '24/09/2023 10:29:00': 982.0, '24/09/2023 10:31:00': 592.0, '24/09/2023 10:33:00': 110.0, '24/09/2023 10:35:00': 46.0, '24/09/2023 10:36:59': 637.0, '24/09/2023 10:39:00': 306.0, '24/09/2023 10:40:59': 451.0, '24/09/2023 10:43:00': 466.0, '24/09/2023 10:44:59': 364.0, '24/09/2023 10:46:59': 493.0, '24/09/2023 10:49:00': 58.0, '24/09/2023 10:50:59': 757.0, '24/09/2023 10:52:59': 231.0, '24/09/2023 10:55:00': 34.0, '24/09/2023 10:56:59': 598.0, '24/09/2023 10:59:00': 233.0, '24/09/2023 11:00:59': 220.0, '24/09/2023 11:02:59': 350.0, '24/09/2023 11:04:59': 671.0, '24/09/2023 11:06:59': 219.0, '24/09/2023 11:09:00': 773.0, '24/09/2023 11:10:59': 699.0, '24/09/2023 11:13:00': 647.0, '24/09/2023 11:15:00': 671.0, '24/09/2023 11:17:00': 253.0, '24/09/2023 11:19:00': 132.0, '24/09/2023 11:20:59': 900.0, '24/09/2023 11:22:59': 768.0, '24/09/2023 11:25:00': 507.0, '24/09/2023 11:26:59': 934.0, '24/09/2023 11:28:59': 525.0, '24/09/2023 11:31:00': 749.0, '24/09/2023 11:32:59': 881.0, '24/09/2023 11:34:59': 197.0, '24/09/2023 11:37:00': 893.0, '24/09/2023 11:38:59': 446.0, '24/09/2023 11:41:00': 451.0, '24/09/2023 11:42:59': 730.0, '24/09/2023 11:45:00': 567.0, '24/09/2023 11:46:59': 858.0, '24/09/2023 11:49:00': 241.0, '24/09/2023 11:50:59': 331.0, '24/09/2023 11:52:59': 598.0, '24/09/2023 11:55:00': 384.0, '24/09/2023 11:56:59': 448.0, '24/09/2023 11:59:00': 991.0, '24/09/2023 12:01:00': 556.0, '24/09/2023 12:02:59': 333.0, '24/09/2023 12:05:00': 416.0, '24/09/2023 12:06:59': 287.0, '24/09/2023 12:08:59': 777.0, '24/09/2023 12:10:59': 93.0, '24/09/2023 12:12:59': 11.0, '24/09/2023 12:15:00': 509.0, '24/09/2023 12:17:00': 652.0, '24/09/2023 12:19:00': 623.0, '24/09/2023 12:21:00': 815.0, '24/09/2023 12:23:00': 940.0, '24/09/2023 12:24:59': 415.0, '24/09/2023 12:27:00': 2.0, '24/09/2023 12:29:00': 671.0, '24/09/2023 12:31:00': 89.0, '24/09/2023 12:32:59': 870.0, '24/09/2023 12:34:59': 667.0, '24/09/2023 12:36:59': 881.0, '24/09/2023 12:39:00': 253.0, '24/09/2023 12:40:59': 817.0, '24/09/2023 12:43:00': 277.0, '24/09/2023 12:45:00': 221.0, '24/09/2023 12:46:59': 882.0, '24/09/2023 12:49:00': 331.0, '24/09/2023 12:50:59': 352.0, '24/09/2023 12:52:59': 709.0, '24/09/2023 12:55:00': 61.0, '24/09/2023 12:57:00': 331.0, '24/09/2023 12:59:00': 717.0, '24/09/2023 13:00:59': 525.0, '24/09/2023 13:03:00': 619.0, '24/09/2023 13:05:00': 380.0, '24/09/2023 13:06:59': 110.0, '24/09/2023 13:09:00': 620.0, '24/09/2023 13:10:59': 734.0, '24/09/2023 13:13:00': 736.0, '24/09/2023 13:15:00': 846.0, '24/09/2023 13:16:59': 124.0, '24/09/2023 13:19:00': 789.0, '24/09/2023 13:20:59': 213.0, '24/09/2023 13:22:59': 578.0, '24/09/2023 13:25:00': 208.0, '24/09/2023 13:27:00': 387.0, '24/09/2023 13:28:59': 987.0, '24/09/2023 13:30:59': 535.0, '24/09/2023 13:32:59': 579.0, '24/09/2023 13:35:00': 278.0, '24/09/2023 13:36:59': 871.0, '24/09/2023 13:38:59': 947.0, '24/09/2023 13:40:59': 970.0, '24/09/2023 13:43:00': 293.0, '24/09/2023 13:44:59': 618.0, '24/09/2023 13:47:00': 818.0, '24/09/2023 13:48:59': 833.0, '24/09/2023 13:50:59': 612.0, '24/09/2023 13:52:59': 970.0, '24/09/2023 13:54:59': 351.0, '24/09/2023 13:57:00': 306.0, '24/09/2023 13:59:00': 135.0, '24/09/2023 14:01:00': 919.0, '24/09/2023 14:02:59': 640.0, '24/09/2023 14:04:59': 784.0, '24/09/2023 14:06:59': 685.0, '24/09/2023 14:09:00': 789.0, '24/09/2023 14:10:59': 603.0, '24/09/2023 14:13:00': 806.0, '24/09/2023 14:14:59': 719.0, '24/09/2023 14:16:59': 922.0, '24/09/2023 14:19:00': 621.0, '24/09/2023 14:20:59': 77.0, '24/09/2023 14:22:59': 246.0, '24/09/2023 14:25:00': 282.0, '24/09/2023 14:26:59': 874.0, '24/09/2023 14:29:00': 732.0, '24/09/2023 14:30:59': 354.0, '24/09/2023 14:32:59': 949.0, '24/09/2023 14:34:59': 896.0, '24/09/2023 14:37:00': 311.0, '24/09/2023 14:39:00': 288.0, '24/09/2023 14:40:59': 830.0, '24/09/2023 14:42:59': 282.0, '24/09/2023 14:44:59': 628.0, '24/09/2023 14:46:59': 215.0, '24/09/2023 14:49:00': 979.0, '24/09/2023 14:50:59': 992.0, '24/09/2023 14:52:59': 936.0, '24/09/2023 14:54:59': 111.0, '24/09/2023 14:56:59': 465.0, '24/09/2023 14:59:00': 930.0, '24/09/2023 15:01:00': 239.0, '24/09/2023 15:02:59': 970.0, '24/09/2023 15:05:00': 613.0, '24/09/2023 15:06:59': 938.0, '24/09/2023 15:09:00': 219.0, '24/09/2023 15:11:00': 177.0, '24/09/2023 15:12:59': 773.0, '24/09/2023 15:14:59': 668.0, '24/09/2023 15:16:59': 330.0, '24/09/2023 15:18:59': 699.0, '24/09/2023 15:21:00': 296.0, '24/09/2023 15:23:00': 243.0, '24/09/2023 15:24:59': 896.0, '24/09/2023 15:27:00': 976.0, '24/09/2023 15:29:00': 665.0, '24/09/2023 15:31:00': 627.0, '24/09/2023 15:32:59': 364.0, '24/09/2023 15:35:00': 879.0, '24/09/2023 15:37:00': 16.0, '24/09/2023 15:39:00': 953.0, '24/09/2023 15:40:59': 45.0, '24/09/2023 15:42:59': 601.0, '24/09/2023 15:44:59': 543.0, '24/09/2023 15:47:00': 376.0, '24/09/2023 15:48:59': 340.0, '24/09/2023 15:50:59': 864.0, '24/09/2023 15:53:00': 751.0, '24/09/2023 15:54:59': 729.0, '24/09/2023 15:57:00': 8.0, '24/09/2023 15:59:00': 573.0, '24/09/2023 16:00:59': 497.0, '24/09/2023 16:02:59': 119.0, '24/09/2023 16:04:59': 704.0, '24/09/2023 16:07:00': 96.0, '24/09/2023 16:09:00': 872.0, '24/09/2023 16:10:59': 449.0, '24/09/2023 16:12:59': 1000.0, '24/09/2023 16:14:59': 157.0, '24/09/2023 16:16:59': 614.0, '24/09/2023 16:19:00': 464.0, '24/09/2023 16:20:59': 107.0, '24/09/2023 16:22:59': 589.0, '24/09/2023 16:24:59': 57.0, '24/09/2023 16:26:59': 307.0, '24/09/2023 16:29:00': 672.0, '24/09/2023 16:30:59': 626.0, '24/09/2023 16:32:59': 221.0, '24/09/2023 16:34:59': 940.0, '24/09/2023 16:36:59': 142.0, '24/09/2023 16:39:00': 832.0, '24/09/2023 16:40:59': 541.0, '24/09/2023 16:43:00': 301.0, '24/09/2023 16:45:00': 448.0, '24/09/2023 16:46:59': 176.0, '24/09/2023 16:49:00': 507.0, '24/09/2023 16:50:59': 210.0, '24/09/2023 16:52:59': 739.0, '24/09/2023 16:54:59': 328.0, '24/09/2023 16:56:59': 975.0, '24/09/2023 16:59:00': 118.0, '24/09/2023 17:01:00': 611.0, '24/09/2023 17:03:00': 149.0, '24/09/2023 17:04:59': 284.0, '24/09/2023 17:07:00': 449.0, '24/09/2023 17:09:00': 874.0, '24/09/2023 17:10:59': 288.0, '24/09/2023 17:12:59': 737.0, '24/09/2023 17:15:00': 328.0, '24/09/2023 17:17:00': 564.0, '24/09/2023 17:19:18': 431.0, '24/09/2023 17:20:59': 898.0, '24/09/2023 17:23:00': 229.0, '24/09/2023 17:25:00': 833.0, '24/09/2023 17:27:00': 161.0, '24/09/2023 17:28:59': 594.0, '24/09/2023 17:30:59': 30.0, '24/09/2023 17:32:59': 933.0, '24/09/2023 17:35:00': 670.0, '24/09/2023 17:36:59': 349.0, '24/09/2023 17:38:59': 996.0, '24/09/2023 17:41:00': 613.0, '24/09/2023 17:42:59': 12.0, '24/09/2023 17:44:59': 229.0, '24/09/2023 17:46:59': 387.0, '24/09/2023 17:49:00': 976.0, '24/09/2023 17:50:59': 697.0, '24/09/2023 17:53:00': 408.0, '24/09/2023 17:54:59': 608.0, '24/09/2023 17:56:59': 304.0, '24/09/2023 17:59:00': 857.0, '24/09/2023 18:00:59': 751.0, '24/09/2023 18:03:00': 107.0, '24/09/2023 18:04:59': 600.0, '24/09/2023 18:06:59': 961.0, '24/09/2023 18:09:00': 443.0, '24/09/2023 18:11:00': 994.0, '24/09/2023 18:12:59': 38.0, '24/09/2023 18:14:59': 97.0, '24/09/2023 18:17:00': 80.0, '24/09/2023 18:19:00': 686.0, '24/09/2023 18:20:59': 215.0, '24/09/2023 18:22:59': 894.0, '24/09/2023 18:24:59': 583.0, '24/09/2023 18:26:59': 156.0, '24/09/2023 18:29:00': 86.0, '24/09/2023 18:30:59': 244.0, '24/09/2023 18:33:00': 92.0, '24/09/2023 18:34:59': 836.0, '24/09/2023 18:36:59': 796.0, '24/09/2023 18:39:00': 970.0, '24/09/2023 18:41:00': 892.0, '24/09/2023 18:42:59': 725.0, '24/09/2023 18:44:59': 645.0, '24/09/2023 18:47:00': 166.0, '24/09/2023 18:49:00': 821.0, '24/09/2023 18:51:00': 719.0, '24/09/2023 18:52:59': 280.0, '24/09/2023 18:54:59': 978.0, '24/09/2023 18:56:59': 317.0, '24/09/2023 18:59:00': 222.0, '24/09/2023 19:00:59': 977.0, '24/09/2023 19:02:59': 447.0, '24/09/2023 19:04:59': 709.0, '24/09/2023 19:06:59': 142.0, '24/09/2023 19:09:00': 364.0, '24/09/2023 19:11:00': 174.0, '24/09/2023 19:13:00': 99.0, '24/09/2023 19:14:59': 578.0, '24/09/2023 19:16:59': 245.0, '24/09/2023 19:19:00': 807.0, '24/09/2023 19:21:00': 394.0, '24/09/2023 19:23:00': 780.0, '24/09/2023 19:25:00': 551.0, '24/09/2023 19:26:59': 343.0, '24/09/2023 19:29:00': 75.0, '24/09/2023 19:31:00': 416.0, '24/09/2023 19:32:59': 280.0, '24/09/2023 19:34:59': 390.0, '24/09/2023 19:37:00': 311.0, '24/09/2023 19:39:00': 954.0, '24/09/2023 19:41:00': 487.0, '24/09/2023 19:42:59': 18.0, '24/09/2023 19:44:59': 170.0, '24/09/2023 19:47:00': 336.0, '24/09/2023 19:49:00': 776.0, '24/09/2023 19:51:00': 470.0, '24/09/2023 19:52:59': 609.0, '24/09/2023 19:54:59': 927.0, '24/09/2023 19:56:59': 606.0, '24/09/2023 19:59:00': 391.0, '24/09/2023 20:00:59': 316.0, '24/09/2023 20:03:00': 403.0, '24/09/2023 20:05:00': 178.0, '24/09/2023 20:06:59': 742.0, '24/09/2023 20:09:00': 558.0, '24/09/2023 20:10:59': 318.0, '24/09/2023 20:12:59': 752.0, '24/09/2023 20:14:59': 544.0, '24/09/2023 20:17:00': 763.0, '24/09/2023 20:19:00': 985.0, '24/09/2023 20:21:00': 563.0, '24/09/2023 20:22:59': 496.0, '24/09/2023 20:24:59': 586.0, '24/09/2023 20:27:00': 39.0, '24/09/2023 20:28:59': 146.0, '24/09/2023 20:31:00': 612.0, '24/09/2023 20:32:59': 885.0, '24/09/2023 20:35:00': 20.0, '24/09/2023 20:36:59': 720.0, '24/09/2023 20:39:00': 54.0, '24/09/2023 20:40:59': 13.0, '24/09/2023 20:43:00': 564.0, '24/09/2023 20:44:59': 164.0, '24/09/2023 20:46:59': 364.0, '24/09/2023 20:49:00': 870.0, '24/09/2023 20:51:00': 408.0, '24/09/2023 20:53:00': 369.0, '24/09/2023 20:55:00': 118.0, '24/09/2023 20:57:00': 458.0, '24/09/2023 20:59:00': 276.0, '24/09/2023 21:00:59': 122.0, '24/09/2023 21:02:59': 45.0, '24/09/2023 21:05:00': 644.0, '24/09/2023 21:07:00': 31.0, '24/09/2023 21:09:00': 182.0, '24/09/2023 21:10:59': 555.0, '24/09/2023 21:13:00': 887.0, '24/09/2023 21:14:59': 536.0, '24/09/2023 21:16:59': 591.0, '24/09/2023 21:19:00': 129.0, '24/09/2023 21:21:00': 431.0, '24/09/2023 21:22:59': 31.0, '24/09/2023 21:24:59': 104.0, '24/09/2023 21:26:59': 85.0, '24/09/2023 21:29:00': 740.0, '24/09/2023 21:30:59': 170.0, '24/09/2023 21:32:59': 145.0, '24/09/2023 21:34:59': 852.0, '24/09/2023 21:37:00': 919.0, '24/09/2023 21:39:00': 916.0, '24/09/2023 21:41:00': 560.0, '24/09/2023 21:42:59': 284.0, '24/09/2023 21:44:59': 857.0, '24/09/2023 21:46:59': 786.0, '24/09/2023 21:49:00': 201.0, '24/09/2023 21:50:59': 544.0, '24/09/2023 21:53:00': 629.0, '24/09/2023 21:54:59': 332.0, '24/09/2023 21:57:00': 521.0, '24/09/2023 21:59:00': 347.0, '24/09/2023 22:00:59': 272.0, '24/09/2023 22:03:00': 433.0, '24/09/2023 22:04:59': 456.0, '24/09/2023 22:06:59': 686.0, '24/09/2023 22:09:00': 642.0, '24/09/2023 22:10:59': 762.0, '24/09/2023 22:12:59': 688.0, '24/09/2023 22:14:59': 955.0, '24/09/2023 22:16:59': 108.0, '24/09/2023 22:18:59': 855.0, '24/09/2023 22:20:59': 857.0, '24/09/2023 22:22:59': 685.0, '24/09/2023 22:24:59': 681.0, '24/09/2023 22:26:59': 901.0, '24/09/2023 22:29:00': 135.0, '24/09/2023 22:31:00': 448.0, '24/09/2023 22:33:00': 444.0, '24/09/2023 22:34:59': 948.0, '24/09/2023 22:36:59': 244.0, '24/09/2023 22:39:00': 678.0, '24/09/2023 22:41:00': 152.0, '24/09/2023 22:42:59': 894.0, '24/09/2023 22:45:00': 780.0, '24/09/2023 22:46:59': 458.0, '24/09/2023 22:49:00': 66.0, '24/09/2023 22:50:59': 458.0, '24/09/2023 22:52:59': 850.0, '24/09/2023 22:54:59': 834.0, '24/09/2023 22:57:00': 234.0, '24/09/2023 22:59:00': 861.0, '24/09/2023 23:01:00': 624.0, '24/09/2023 23:02:59': 16.0, '24/09/2023 23:05:00': 420.0, '24/09/2023 23:07:00': 235.0, '24/09/2023 23:09:00': 667.0, '24/09/2023 23:10:59': 76.0, '24/09/2023 23:12:59': 812.0, '24/09/2023 23:14:59': 999.0, '24/09/2023 23:17:00': 48.0, '24/09/2023 23:18:59': 580.0, '24/09/2023 23:20:59': 580.0, '24/09/2023 23:23:00': 776.0, '24/09/2023 23:24:59': 6.0, '24/09/2023 23:27:00': 150.0, '24/09/2023 23:29:00': 504.0, '24/09/2023 23:30:59': 663.0, '24/09/2023 23:32:59': 94.0, '24/09/2023 23:34:59': 485.0, '24/09/2023 23:37:00': 333.0, '24/09/2023 23:39:00': 483.0, '24/09/2023 23:40:59': 924.0, '24/09/2023 23:42:59': 62.0, '24/09/2023 23:44:59': 270.0, '24/09/2023 23:47:00': 461.0, '24/09/2023 23:49:00': 413.0, '24/09/2023 23:50:59': 527.0, '24/09/2023 23:53:00': 432.0, '24/09/2023 23:55:00': 82.0, '24/09/2023 23:57:00': 301.0, '24/09/2023 23:59:00': 443.0}}}
except Exception as e:
logging.exception(e)
import json
import logging
from fastapi import APIRouter
from scripts.config import Service
from scripts.core.constants.api import APIEndpoints
from scripts.core.handlers.default import DefaultHandler
from scripts.core.schemas.response_models import DefaultResponse
router = APIRouter(prefix="/widget")
handler = DefaultHandler
@router.get(APIEndpoints.load_styles)
async def load_styles():
"""
Default: Loads required endpoints to get filenames in the build
Do not edit this
"""
return handler.load_styles()
@router.get(APIEndpoints.load_file)
def download_resource(filename: str):
"""Default: Request Build Files to redner widget configurations on the frontend
Do not edit this
"""
return handler.download_resources(filename)
# TODO: Add preview logic. Do not change the API endpoint
@router.get(APIEndpoints.preview)
async def preview(request_type: str = "refresh"):
"""
Request Type Options
Preview: Can take in all widget configuration from payload and return Chart Preview Response
Refresh: Will accept widget ID and derive the widget configuration from Widget collection, to then return the
chart response
"""
try:
if request_type not in ["refresh", "preview"]:
return DefaultResponse(message="Invalid Query Parameter")
with open(f"{Service.BACKEND_DIR}/scripts/assets/chart_json.json", "r") as file:
file_content = json.loads(file.read())
return file_content
except Exception as e:
logging.error(e)
return DefaultResponse(message="Not found")
@router.get(APIEndpoints.load_configuration)
async def load_configuration():
"""
Default: Load widget configuration JSON for listing plugins while creating widgets
Do not edit this
"""
return handler.load_configuration()
# @router.get(APIEndpoints.fetch_data)
# def fetch_data_in_json():
# try:
# return handler.fetch_data()
# except Exception as e:
# logging.exception(e)
@router.post(APIEndpoints.fetch_data)
def fetch_data():
return {"data":{'Abhu dhabi': {'24/09/2023 00:00:59': 709.0, '24/09/2023 00:02:59': 800.0, '24/09/2023 00:04:59': 624.0, '24/09/2023 00:07:00': 273.0, '24/09/2023 00:09:00': 824.0, '24/09/2023 00:10:59': 173.0, '24/09/2023 00:13:00': 282.0, '24/09/2023 00:15:00': 492.0, '24/09/2023 00:16:59': 152.0, '24/09/2023 00:19:00': 645.0, '24/09/2023 00:20:59': 179.0, '24/09/2023 00:22:59': 875.0, '24/09/2023 00:25:00': 8.0, '24/09/2023 00:26:59': 554.0, '24/09/2023 00:29:00': 741.0, '24/09/2023 00:30:59': 108.0, '24/09/2023 00:32:59': 365.0, '24/09/2023 00:34:59': 244.0, '24/09/2023 00:36:59': 356.0, '24/09/2023 00:39:00': 471.0, '24/09/2023 00:40:59': 733.0, '24/09/2023 00:42:59': 541.0, '24/09/2023 00:44:59': 74.0, '24/09/2023 00:46:59': 54.0, '24/09/2023 00:48:59': 340.0, '24/09/2023 00:50:59': 595.0, '24/09/2023 00:53:00': 576.0, '24/09/2023 00:55:00': 206.0, '24/09/2023 00:56:59': 178.0, '24/09/2023 00:59:00': 231.0, '24/09/2023 01:00:59': 133.0, '24/09/2023 01:02:59': 166.0, '24/09/2023 01:04:59': 91.0, '24/09/2023 01:06:59': 256.0, '24/09/2023 01:09:00': 27.0, '24/09/2023 01:10:59': 298.0, '24/09/2023 01:12:59': 262.0, '24/09/2023 01:15:00': 471.0, '24/09/2023 01:16:59': 605.0, '24/09/2023 01:19:00': 774.0, '24/09/2023 01:21:00': 119.0, '24/09/2023 01:23:00': 332.0, '24/09/2023 01:24:59': 635.0, '24/09/2023 01:27:00': 40.0, '24/09/2023 01:29:00': 89.0, '24/09/2023 01:30:59': 145.0, '24/09/2023 01:33:00': 304.0, '24/09/2023 01:34:59': 740.0, '24/09/2023 01:37:00': 679.0, '24/09/2023 01:39:00': 600.0, '24/09/2023 01:41:00': 650.0, '24/09/2023 01:43:00': 202.0, '24/09/2023 01:44:59': 279.0, '24/09/2023 01:46:59': 884.0, '24/09/2023 01:49:00': 585.0, '24/09/2023 01:50:59': 888.0, '24/09/2023 01:52:59': 5.0, '24/09/2023 01:55:00': 589.0, '24/09/2023 01:56:59': 148.0, '24/09/2023 01:59:00': 495.0, '24/09/2023 02:00:59': 791.0, '24/09/2023 02:02:59': 659.0, '24/09/2023 02:04:59': 825.0, '24/09/2023 02:06:59': 451.0, '24/09/2023 02:09:00': 348.0, '24/09/2023 02:11:00': 300.0, '24/09/2023 02:13:00': 393.0, '24/09/2023 02:14:59': 523.0, '24/09/2023 02:16:59': 91.0, '24/09/2023 02:18:59': 365.0, '24/09/2023 02:20:59': 139.0, '24/09/2023 02:22:59': 543.0, '24/09/2023 02:25:00': 920.0, '24/09/2023 02:26:59': 972.0, '24/09/2023 02:28:59': 576.0, '24/09/2023 02:30:59': 768.0, '24/09/2023 02:33:00': 745.0, '24/09/2023 02:34:59': 22.0, '24/09/2023 02:37:00': 763.0, '24/09/2023 02:38:59': 698.0, '24/09/2023 02:41:00': 521.0, '24/09/2023 02:43:00': 536.0, '24/09/2023 02:44:59': 302.0, '24/09/2023 02:46:59': 156.0, '24/09/2023 02:49:00': 543.0, '24/09/2023 02:50:59': 992.0, '24/09/2023 02:53:00': 1000.0, '24/09/2023 02:55:00': 518.0, '24/09/2023 02:56:59': 30.0, '24/09/2023 02:59:00': 866.0, '24/09/2023 03:00:59': 341.0, '24/09/2023 03:03:00': 35.0, '24/09/2023 03:04:59': 710.0, '24/09/2023 03:07:00': 875.0, '24/09/2023 03:09:00': 688.0, '24/09/2023 03:10:59': 33.0, '24/09/2023 03:13:00': 920.0, '24/09/2023 03:14:59': 733.0, '24/09/2023 03:17:00': 64.0, '24/09/2023 03:19:00': 863.0, '24/09/2023 03:20:59': 605.0, '24/09/2023 03:22:59': 643.0, '24/09/2023 03:25:00': 43.0, '24/09/2023 03:26:59': 712.0, '24/09/2023 03:29:00': 444.0, '24/09/2023 03:31:00': 18.0, '24/09/2023 03:32:59': 84.0, '24/09/2023 03:34:59': 837.0, '24/09/2023 03:37:00': 185.0, '24/09/2023 03:39:00': 761.0, '24/09/2023 03:41:00': 645.0, '24/09/2023 03:42:59': 983.0, '24/09/2023 03:44:59': 231.0, '24/09/2023 03:46:59': 165.0, '24/09/2023 03:48:59': 576.0, '24/09/2023 03:50:59': 700.0, '24/09/2023 03:53:00': 411.0, '24/09/2023 03:55:00': 541.0, '24/09/2023 03:57:00': 248.0, '24/09/2023 03:59:00': 97.0, '24/09/2023 04:00:59': 551.0, '24/09/2023 04:03:00': 304.0, '24/09/2023 04:05:00': 24.0, '24/09/2023 04:07:00': 754.0, '24/09/2023 04:09:00': 63.0, '24/09/2023 04:11:00': 400.0, '24/09/2023 04:13:00': 988.0, '24/09/2023 04:15:00': 389.0, '24/09/2023 04:16:59': 886.0, '24/09/2023 04:19:00': 765.0, '24/09/2023 04:20:59': 138.0, '24/09/2023 04:22:59': 25.0, '24/09/2023 04:25:00': 808.0, '24/09/2023 04:26:59': 543.0, '24/09/2023 04:29:00': 675.0, '24/09/2023 04:31:00': 293.0, '24/09/2023 04:32:59': 286.0, '24/09/2023 04:34:59': 198.0, '24/09/2023 04:37:00': 632.0, '24/09/2023 04:39:00': 734.0, '24/09/2023 04:40:59': 192.0, '24/09/2023 04:42:59': 297.0, '24/09/2023 04:45:00': 497.0, '24/09/2023 04:47:00': 815.0, '24/09/2023 04:49:00': 136.0, '24/09/2023 04:50:59': 412.0, '24/09/2023 04:53:00': 620.0, '24/09/2023 04:54:59': 740.0, '24/09/2023 04:56:59': 429.0, '24/09/2023 04:58:59': 860.0, '24/09/2023 05:00:59': 449.0, '24/09/2023 05:03:00': 475.0, '24/09/2023 05:05:00': 852.0, '24/09/2023 05:06:59': 849.0, '24/09/2023 05:08:59': 818.0, '24/09/2023 05:10:59': 136.0, '24/09/2023 05:13:00': 35.0, '24/09/2023 05:15:00': 414.0, '24/09/2023 05:17:00': 677.0, '24/09/2023 05:19:00': 483.0, '24/09/2023 05:21:00': 418.0, '24/09/2023 05:23:00': 146.0, '24/09/2023 05:24:59': 945.0, '24/09/2023 05:26:59': 446.0, '24/09/2023 05:29:00': 513.0, '24/09/2023 05:31:00': 852.0, '24/09/2023 05:32:59': 343.0, '24/09/2023 05:35:00': 371.0, '24/09/2023 05:36:59': 937.0, '24/09/2023 05:39:00': 646.0, '24/09/2023 05:40:59': 397.0, '24/09/2023 05:43:00': 591.0, '24/09/2023 05:44:59': 924.0, '24/09/2023 05:47:00': 938.0, '24/09/2023 05:49:00': 174.0, '24/09/2023 05:50:59': 371.0, '24/09/2023 05:53:00': 434.0, '24/09/2023 05:54:59': 512.0, '24/09/2023 05:56:59': 297.0, '24/09/2023 05:59:00': 551.0, '24/09/2023 06:00:59': 581.0, '24/09/2023 06:02:59': 353.0, '24/09/2023 06:04:59': 633.0, '24/09/2023 06:06:59': 685.0, '24/09/2023 06:09:00': 877.0, '24/09/2023 06:10:59': 22.0, '24/09/2023 06:12:59': 22.0, '24/09/2023 06:14:59': 62.0, '24/09/2023 06:16:59': 619.0, '24/09/2023 06:19:00': 396.0, '24/09/2023 06:21:00': 584.0, '24/09/2023 06:22:59': 549.0, '24/09/2023 06:24:59': 761.0, '24/09/2023 06:26:59': 310.0, '24/09/2023 06:29:00': 728.0, '24/09/2023 06:31:00': 688.0, '24/09/2023 06:32:59': 782.0, '24/09/2023 06:34:59': 10.0, '24/09/2023 06:37:00': 665.0, '24/09/2023 06:39:00': 322.0, '24/09/2023 06:40:59': 864.0, '24/09/2023 06:42:59': 597.0, '24/09/2023 06:45:00': 89.0, '24/09/2023 06:46:59': 573.0, '24/09/2023 06:49:00': 732.0, '24/09/2023 06:50:59': 288.0, '24/09/2023 06:52:59': 520.0, '24/09/2023 06:54:59': 476.0, '24/09/2023 06:56:59': 584.0, '24/09/2023 06:59:00': 837.0, '24/09/2023 07:00:59': 380.0, '24/09/2023 07:02:59': 629.0, '24/09/2023 07:05:00': 421.0, '24/09/2023 07:07:00': 638.0, '24/09/2023 07:08:59': 381.0, '24/09/2023 07:10:59': 535.0, '24/09/2023 07:13:00': 414.0, '24/09/2023 07:14:59': 984.0, '24/09/2023 07:17:00': 708.0, '24/09/2023 07:19:00': 902.0, '24/09/2023 07:20:59': 117.0, '24/09/2023 07:23:00': 833.0, '24/09/2023 07:24:59': 67.0, '24/09/2023 07:26:59': 325.0, '24/09/2023 07:28:59': 24.0, '24/09/2023 07:30:59': 152.0, '24/09/2023 07:32:59': 173.0, '24/09/2023 07:35:00': 31.0, '24/09/2023 07:37:00': 454.0, '24/09/2023 07:39:00': 111.0, '24/09/2023 07:40:59': 140.0, '24/09/2023 07:42:59': 422.0, '24/09/2023 07:44:59': 247.0, '24/09/2023 07:46:59': 331.0, '24/09/2023 07:49:00': 797.0, '24/09/2023 07:50:59': 955.0, '24/09/2023 07:53:00': 375.0, '24/09/2023 07:54:59': 347.0, '24/09/2023 07:57:00': 949.0, '24/09/2023 07:58:59': 33.0, '24/09/2023 08:01:00': 698.0, '24/09/2023 08:02:59': 300.0, '24/09/2023 08:04:59': 807.0, '24/09/2023 08:07:00': 7.0, '24/09/2023 08:09:00': 144.0, '24/09/2023 08:11:00': 763.0, '24/09/2023 08:12:59': 838.0, '24/09/2023 08:15:00': 444.0, '24/09/2023 08:16:59': 771.0, '24/09/2023 08:18:59': 796.0, '24/09/2023 08:20:59': 13.0, '24/09/2023 08:22:59': 421.0, '24/09/2023 08:24:59': 614.0, '24/09/2023 08:26:59': 933.0, '24/09/2023 08:29:00': 632.0, '24/09/2023 08:30:59': 428.0, '24/09/2023 08:32:59': 963.0, '24/09/2023 08:35:00': 728.0, '24/09/2023 08:37:00': 778.0, '24/09/2023 08:39:00': 596.0, '24/09/2023 08:40:59': 40.0, '24/09/2023 08:43:00': 870.0, '24/09/2023 08:45:00': 526.0, '24/09/2023 08:46:59': 344.0, '24/09/2023 08:49:00': 91.0, '24/09/2023 08:51:00': 803.0, '24/09/2023 08:52:59': 968.0, '24/09/2023 08:55:00': 207.0, '24/09/2023 08:57:00': 588.0, '24/09/2023 08:59:00': 393.0, '24/09/2023 09:00:59': 228.0, '24/09/2023 09:02:59': 109.0, '24/09/2023 09:04:59': 249.0, '24/09/2023 09:06:59': 365.0, '24/09/2023 09:08:59': 733.0, '24/09/2023 09:11:00': 771.0, '24/09/2023 09:12:59': 172.0, '24/09/2023 09:14:59': 812.0, '24/09/2023 09:16:59': 672.0, '24/09/2023 09:19:00': 27.0, '24/09/2023 09:21:00': 34.0, '24/09/2023 09:23:00': 823.0, '24/09/2023 09:24:59': 711.0, '24/09/2023 09:26:59': 594.0, '24/09/2023 09:29:00': 864.0, '24/09/2023 09:30:59': 841.0, '24/09/2023 09:32:59': 837.0, '24/09/2023 09:35:00': 678.0, '24/09/2023 09:36:59': 52.0, '24/09/2023 09:38:59': 124.0, '24/09/2023 09:41:00': 875.0, '24/09/2023 09:42:59': 723.0, '24/09/2023 09:44:59': 719.0, '24/09/2023 09:47:00': 641.0, '24/09/2023 09:48:59': 209.0, '24/09/2023 09:50:59': 745.0, '24/09/2023 09:52:59': 884.0, '24/09/2023 09:54:59': 879.0, '24/09/2023 09:56:59': 272.0, '24/09/2023 09:59:00': 63.0, '24/09/2023 10:01:00': 71.0, '24/09/2023 10:02:59': 75.0, '24/09/2023 10:04:59': 812.0, '24/09/2023 10:07:00': 974.0, '24/09/2023 10:09:00': 196.0, '24/09/2023 10:11:00': 542.0, '24/09/2023 10:12:59': 993.0, '24/09/2023 10:15:00': 149.0, '24/09/2023 10:17:00': 340.0, '24/09/2023 10:19:00': 252.0, '24/09/2023 10:20:59': 840.0, '24/09/2023 10:23:00': 725.0, '24/09/2023 10:24:59': 438.0, '24/09/2023 10:26:59': 378.0, '24/09/2023 10:29:00': 982.0, '24/09/2023 10:31:00': 592.0, '24/09/2023 10:33:00': 110.0, '24/09/2023 10:35:00': 46.0, '24/09/2023 10:36:59': 637.0, '24/09/2023 10:39:00': 306.0, '24/09/2023 10:40:59': 451.0, '24/09/2023 10:43:00': 466.0, '24/09/2023 10:44:59': 364.0, '24/09/2023 10:46:59': 493.0, '24/09/2023 10:49:00': 58.0, '24/09/2023 10:50:59': 757.0, '24/09/2023 10:52:59': 231.0, '24/09/2023 10:55:00': 34.0, '24/09/2023 10:56:59': 598.0, '24/09/2023 10:59:00': 233.0, '24/09/2023 11:00:59': 220.0, '24/09/2023 11:02:59': 350.0, '24/09/2023 11:04:59': 671.0, '24/09/2023 11:06:59': 219.0, '24/09/2023 11:09:00': 773.0, '24/09/2023 11:10:59': 699.0, '24/09/2023 11:13:00': 647.0, '24/09/2023 11:15:00': 671.0, '24/09/2023 11:17:00': 253.0, '24/09/2023 11:19:00': 132.0, '24/09/2023 11:20:59': 900.0, '24/09/2023 11:22:59': 768.0, '24/09/2023 11:25:00': 507.0, '24/09/2023 11:26:59': 934.0, '24/09/2023 11:28:59': 525.0, '24/09/2023 11:31:00': 749.0, '24/09/2023 11:32:59': 881.0, '24/09/2023 11:34:59': 197.0, '24/09/2023 11:37:00': 893.0, '24/09/2023 11:38:59': 446.0, '24/09/2023 11:41:00': 451.0, '24/09/2023 11:42:59': 730.0, '24/09/2023 11:45:00': 567.0, '24/09/2023 11:46:59': 858.0, '24/09/2023 11:49:00': 241.0, '24/09/2023 11:50:59': 331.0, '24/09/2023 11:52:59': 598.0, '24/09/2023 11:55:00': 384.0, '24/09/2023 11:56:59': 448.0, '24/09/2023 11:59:00': 991.0, '24/09/2023 12:01:00': 556.0, '24/09/2023 12:02:59': 333.0, '24/09/2023 12:05:00': 416.0, '24/09/2023 12:06:59': 287.0, '24/09/2023 12:08:59': 777.0, '24/09/2023 12:10:59': 93.0, '24/09/2023 12:12:59': 11.0, '24/09/2023 12:15:00': 509.0, '24/09/2023 12:17:00': 652.0, '24/09/2023 12:19:00': 623.0, '24/09/2023 12:21:00': 815.0, '24/09/2023 12:23:00': 940.0, '24/09/2023 12:24:59': 415.0, '24/09/2023 12:27:00': 2.0, '24/09/2023 12:29:00': 671.0, '24/09/2023 12:31:00': 89.0, '24/09/2023 12:32:59': 870.0, '24/09/2023 12:34:59': 667.0, '24/09/2023 12:36:59': 881.0, '24/09/2023 12:39:00': 253.0, '24/09/2023 12:40:59': 817.0, '24/09/2023 12:43:00': 277.0, '24/09/2023 12:45:00': 221.0, '24/09/2023 12:46:59': 882.0, '24/09/2023 12:49:00': 331.0, '24/09/2023 12:50:59': 352.0, '24/09/2023 12:52:59': 709.0, '24/09/2023 12:55:00': 61.0, '24/09/2023 12:57:00': 331.0, '24/09/2023 12:59:00': 717.0, '24/09/2023 13:00:59': 525.0, '24/09/2023 13:03:00': 619.0, '24/09/2023 13:05:00': 380.0, '24/09/2023 13:06:59': 110.0, '24/09/2023 13:09:00': 620.0, '24/09/2023 13:10:59': 734.0, '24/09/2023 13:13:00': 736.0, '24/09/2023 13:15:00': 846.0, '24/09/2023 13:16:59': 124.0, '24/09/2023 13:19:00': 789.0, '24/09/2023 13:20:59': 213.0, '24/09/2023 13:22:59': 578.0, '24/09/2023 13:25:00': 208.0, '24/09/2023 13:27:00': 387.0, '24/09/2023 13:28:59': 987.0, '24/09/2023 13:30:59': 535.0, '24/09/2023 13:32:59': 579.0, '24/09/2023 13:35:00': 278.0, '24/09/2023 13:36:59': 871.0, '24/09/2023 13:38:59': 947.0, '24/09/2023 13:40:59': 970.0, '24/09/2023 13:43:00': 293.0, '24/09/2023 13:44:59': 618.0, '24/09/2023 13:47:00': 818.0, '24/09/2023 13:48:59': 833.0, '24/09/2023 13:50:59': 612.0, '24/09/2023 13:52:59': 970.0, '24/09/2023 13:54:59': 351.0, '24/09/2023 13:57:00': 306.0, '24/09/2023 13:59:00': 135.0, '24/09/2023 14:01:00': 919.0, '24/09/2023 14:02:59': 640.0, '24/09/2023 14:04:59': 784.0, '24/09/2023 14:06:59': 685.0, '24/09/2023 14:09:00': 789.0, '24/09/2023 14:10:59': 603.0, '24/09/2023 14:13:00': 806.0, '24/09/2023 14:14:59': 719.0, '24/09/2023 14:16:59': 922.0, '24/09/2023 14:19:00': 621.0, '24/09/2023 14:20:59': 77.0, '24/09/2023 14:22:59': 246.0, '24/09/2023 14:25:00': 282.0, '24/09/2023 14:26:59': 874.0, '24/09/2023 14:29:00': 732.0, '24/09/2023 14:30:59': 354.0, '24/09/2023 14:32:59': 949.0, '24/09/2023 14:34:59': 896.0, '24/09/2023 14:37:00': 311.0, '24/09/2023 14:39:00': 288.0, '24/09/2023 14:40:59': 830.0, '24/09/2023 14:42:59': 282.0, '24/09/2023 14:44:59': 628.0, '24/09/2023 14:46:59': 215.0, '24/09/2023 14:49:00': 979.0, '24/09/2023 14:50:59': 992.0, '24/09/2023 14:52:59': 936.0, '24/09/2023 14:54:59': 111.0, '24/09/2023 14:56:59': 465.0, '24/09/2023 14:59:00': 930.0, '24/09/2023 15:01:00': 239.0, '24/09/2023 15:02:59': 970.0, '24/09/2023 15:05:00': 613.0, '24/09/2023 15:06:59': 938.0, '24/09/2023 15:09:00': 219.0, '24/09/2023 15:11:00': 177.0, '24/09/2023 15:12:59': 773.0, '24/09/2023 15:14:59': 668.0, '24/09/2023 15:16:59': 330.0, '24/09/2023 15:18:59': 699.0, '24/09/2023 15:21:00': 296.0, '24/09/2023 15:23:00': 243.0, '24/09/2023 15:24:59': 896.0, '24/09/2023 15:27:00': 976.0, '24/09/2023 15:29:00': 665.0, '24/09/2023 15:31:00': 627.0, '24/09/2023 15:32:59': 364.0, '24/09/2023 15:35:00': 879.0, '24/09/2023 15:37:00': 16.0, '24/09/2023 15:39:00': 953.0, '24/09/2023 15:40:59': 45.0, '24/09/2023 15:42:59': 601.0, '24/09/2023 15:44:59': 543.0, '24/09/2023 15:47:00': 376.0, '24/09/2023 15:48:59': 340.0, '24/09/2023 15:50:59': 864.0, '24/09/2023 15:53:00': 751.0, '24/09/2023 15:54:59': 729.0, '24/09/2023 15:57:00': 8.0, '24/09/2023 15:59:00': 573.0, '24/09/2023 16:00:59': 497.0, '24/09/2023 16:02:59': 119.0, '24/09/2023 16:04:59': 704.0, '24/09/2023 16:07:00': 96.0, '24/09/2023 16:09:00': 872.0, '24/09/2023 16:10:59': 449.0, '24/09/2023 16:12:59': 1000.0, '24/09/2023 16:14:59': 157.0, '24/09/2023 16:16:59': 614.0, '24/09/2023 16:19:00': 464.0, '24/09/2023 16:20:59': 107.0, '24/09/2023 16:22:59': 589.0, '24/09/2023 16:24:59': 57.0, '24/09/2023 16:26:59': 307.0, '24/09/2023 16:29:00': 672.0, '24/09/2023 16:30:59': 626.0, '24/09/2023 16:32:59': 221.0, '24/09/2023 16:34:59': 940.0, '24/09/2023 16:36:59': 142.0, '24/09/2023 16:39:00': 832.0, '24/09/2023 16:40:59': 541.0, '24/09/2023 16:43:00': 301.0, '24/09/2023 16:45:00': 448.0, '24/09/2023 16:46:59': 176.0, '24/09/2023 16:49:00': 507.0, '24/09/2023 16:50:59': 210.0, '24/09/2023 16:52:59': 739.0, '24/09/2023 16:54:59': 328.0, '24/09/2023 16:56:59': 975.0, '24/09/2023 16:59:00': 118.0, '24/09/2023 17:01:00': 611.0, '24/09/2023 17:03:00': 149.0, '24/09/2023 17:04:59': 284.0, '24/09/2023 17:07:00': 449.0, '24/09/2023 17:09:00': 874.0, '24/09/2023 17:10:59': 288.0, '24/09/2023 17:12:59': 737.0, '24/09/2023 17:15:00': 328.0, '24/09/2023 17:17:00': 564.0, '24/09/2023 17:19:18': 431.0, '24/09/2023 17:20:59': 898.0, '24/09/2023 17:23:00': 229.0, '24/09/2023 17:25:00': 833.0, '24/09/2023 17:27:00': 161.0, '24/09/2023 17:28:59': 594.0, '24/09/2023 17:30:59': 30.0, '24/09/2023 17:32:59': 933.0, '24/09/2023 17:35:00': 670.0, '24/09/2023 17:36:59': 349.0, '24/09/2023 17:38:59': 996.0, '24/09/2023 17:41:00': 613.0, '24/09/2023 17:42:59': 12.0, '24/09/2023 17:44:59': 229.0, '24/09/2023 17:46:59': 387.0, '24/09/2023 17:49:00': 976.0, '24/09/2023 17:50:59': 697.0, '24/09/2023 17:53:00': 408.0, '24/09/2023 17:54:59': 608.0, '24/09/2023 17:56:59': 304.0, '24/09/2023 17:59:00': 857.0, '24/09/2023 18:00:59': 751.0, '24/09/2023 18:03:00': 107.0, '24/09/2023 18:04:59': 600.0, '24/09/2023 18:06:59': 961.0, '24/09/2023 18:09:00': 443.0, '24/09/2023 18:11:00': 994.0, '24/09/2023 18:12:59': 38.0, '24/09/2023 18:14:59': 97.0, '24/09/2023 18:17:00': 80.0, '24/09/2023 18:19:00': 686.0, '24/09/2023 18:20:59': 215.0, '24/09/2023 18:22:59': 894.0, '24/09/2023 18:24:59': 583.0, '24/09/2023 18:26:59': 156.0, '24/09/2023 18:29:00': 86.0, '24/09/2023 18:30:59': 244.0, '24/09/2023 18:33:00': 92.0, '24/09/2023 18:34:59': 836.0, '24/09/2023 18:36:59': 796.0, '24/09/2023 18:39:00': 970.0, '24/09/2023 18:41:00': 892.0, '24/09/2023 18:42:59': 725.0, '24/09/2023 18:44:59': 645.0, '24/09/2023 18:47:00': 166.0, '24/09/2023 18:49:00': 821.0, '24/09/2023 18:51:00': 719.0, '24/09/2023 18:52:59': 280.0, '24/09/2023 18:54:59': 978.0, '24/09/2023 18:56:59': 317.0, '24/09/2023 18:59:00': 222.0, '24/09/2023 19:00:59': 977.0, '24/09/2023 19:02:59': 447.0, '24/09/2023 19:04:59': 709.0, '24/09/2023 19:06:59': 142.0, '24/09/2023 19:09:00': 364.0, '24/09/2023 19:11:00': 174.0, '24/09/2023 19:13:00': 99.0, '24/09/2023 19:14:59': 578.0, '24/09/2023 19:16:59': 245.0, '24/09/2023 19:19:00': 807.0, '24/09/2023 19:21:00': 394.0, '24/09/2023 19:23:00': 780.0, '24/09/2023 19:25:00': 551.0, '24/09/2023 19:26:59': 343.0, '24/09/2023 19:29:00': 75.0, '24/09/2023 19:31:00': 416.0, '24/09/2023 19:32:59': 280.0, '24/09/2023 19:34:59': 390.0, '24/09/2023 19:37:00': 311.0, '24/09/2023 19:39:00': 954.0, '24/09/2023 19:41:00': 487.0, '24/09/2023 19:42:59': 18.0, '24/09/2023 19:44:59': 170.0, '24/09/2023 19:47:00': 336.0, '24/09/2023 19:49:00': 776.0, '24/09/2023 19:51:00': 470.0, '24/09/2023 19:52:59': 609.0, '24/09/2023 19:54:59': 927.0, '24/09/2023 19:56:59': 606.0, '24/09/2023 19:59:00': 391.0, '24/09/2023 20:00:59': 316.0, '24/09/2023 20:03:00': 403.0, '24/09/2023 20:05:00': 178.0, '24/09/2023 20:06:59': 742.0, '24/09/2023 20:09:00': 558.0, '24/09/2023 20:10:59': 318.0, '24/09/2023 20:12:59': 752.0, '24/09/2023 20:14:59': 544.0, '24/09/2023 20:17:00': 763.0, '24/09/2023 20:19:00': 985.0, '24/09/2023 20:21:00': 563.0, '24/09/2023 20:22:59': 496.0, '24/09/2023 20:24:59': 586.0, '24/09/2023 20:27:00': 39.0, '24/09/2023 20:28:59': 146.0, '24/09/2023 20:31:00': 612.0, '24/09/2023 20:32:59': 885.0, '24/09/2023 20:35:00': 20.0, '24/09/2023 20:36:59': 720.0, '24/09/2023 20:39:00': 54.0, '24/09/2023 20:40:59': 13.0, '24/09/2023 20:43:00': 564.0, '24/09/2023 20:44:59': 164.0, '24/09/2023 20:46:59': 364.0, '24/09/2023 20:49:00': 870.0, '24/09/2023 20:51:00': 408.0, '24/09/2023 20:53:00': 369.0, '24/09/2023 20:55:00': 118.0, '24/09/2023 20:57:00': 458.0, '24/09/2023 20:59:00': 276.0, '24/09/2023 21:00:59': 122.0, '24/09/2023 21:02:59': 45.0, '24/09/2023 21:05:00': 644.0, '24/09/2023 21:07:00': 31.0, '24/09/2023 21:09:00': 182.0, '24/09/2023 21:10:59': 555.0, '24/09/2023 21:13:00': 887.0, '24/09/2023 21:14:59': 536.0, '24/09/2023 21:16:59': 591.0, '24/09/2023 21:19:00': 129.0, '24/09/2023 21:21:00': 431.0, '24/09/2023 21:22:59': 31.0, '24/09/2023 21:24:59': 104.0, '24/09/2023 21:26:59': 85.0, '24/09/2023 21:29:00': 740.0, '24/09/2023 21:30:59': 170.0, '24/09/2023 21:32:59': 145.0, '24/09/2023 21:34:59': 852.0, '24/09/2023 21:37:00': 919.0, '24/09/2023 21:39:00': 916.0, '24/09/2023 21:41:00': 560.0, '24/09/2023 21:42:59': 284.0, '24/09/2023 21:44:59': 857.0, '24/09/2023 21:46:59': 786.0, '24/09/2023 21:49:00': 201.0, '24/09/2023 21:50:59': 544.0, '24/09/2023 21:53:00': 629.0, '24/09/2023 21:54:59': 332.0, '24/09/2023 21:57:00': 521.0, '24/09/2023 21:59:00': 347.0, '24/09/2023 22:00:59': 272.0, '24/09/2023 22:03:00': 433.0, '24/09/2023 22:04:59': 456.0, '24/09/2023 22:06:59': 686.0, '24/09/2023 22:09:00': 642.0, '24/09/2023 22:10:59': 762.0, '24/09/2023 22:12:59': 688.0, '24/09/2023 22:14:59': 955.0, '24/09/2023 22:16:59': 108.0, '24/09/2023 22:18:59': 855.0, '24/09/2023 22:20:59': 857.0, '24/09/2023 22:22:59': 685.0, '24/09/2023 22:24:59': 681.0, '24/09/2023 22:26:59': 901.0, '24/09/2023 22:29:00': 135.0, '24/09/2023 22:31:00': 448.0, '24/09/2023 22:33:00': 444.0, '24/09/2023 22:34:59': 948.0, '24/09/2023 22:36:59': 244.0, '24/09/2023 22:39:00': 678.0, '24/09/2023 22:41:00': 152.0, '24/09/2023 22:42:59': 894.0, '24/09/2023 22:45:00': 780.0, '24/09/2023 22:46:59': 458.0, '24/09/2023 22:49:00': 66.0, '24/09/2023 22:50:59': 458.0, '24/09/2023 22:52:59': 850.0, '24/09/2023 22:54:59': 834.0, '24/09/2023 22:57:00': 234.0, '24/09/2023 22:59:00': 861.0, '24/09/2023 23:01:00': 624.0, '24/09/2023 23:02:59': 16.0, '24/09/2023 23:05:00': 420.0, '24/09/2023 23:07:00': 235.0, '24/09/2023 23:09:00': 667.0, '24/09/2023 23:10:59': 76.0, '24/09/2023 23:12:59': 812.0, '24/09/2023 23:14:59': 999.0, '24/09/2023 23:17:00': 48.0, '24/09/2023 23:18:59': 580.0, '24/09/2023 23:20:59': 580.0, '24/09/2023 23:23:00': 776.0, '24/09/2023 23:24:59': 6.0, '24/09/2023 23:27:00': 150.0, '24/09/2023 23:29:00': 504.0, '24/09/2023 23:30:59': 663.0, '24/09/2023 23:32:59': 94.0, '24/09/2023 23:34:59': 485.0, '24/09/2023 23:37:00': 333.0, '24/09/2023 23:39:00': 483.0, '24/09/2023 23:40:59': 924.0, '24/09/2023 23:42:59': 62.0, '24/09/2023 23:44:59': 270.0, '24/09/2023 23:47:00': 461.0, '24/09/2023 23:49:00': 413.0, '24/09/2023 23:50:59': 527.0, '24/09/2023 23:53:00': 432.0, '24/09/2023 23:55:00': 82.0, '24/09/2023 23:57:00': 301.0, '24/09/2023 23:59:00': 443.0}}}
\ No newline at end of file
import logging
from fastapi import APIRouter
from scripts.core.constants.api import APIEndpoints
from scripts.core.handlers.default import DefaultHandler
router = APIRouter(prefix="/report")
handler = DefaultHandler
@router.post(APIEndpoints.generate)
def generate_report():
try:
return handler.generate_report()
except Exception as e:
logging.exception(e)
@angular/animations
MIT
@angular/common
MIT
@angular/core
MIT
@angular/elements
MIT
@angular/forms
MIT
@angular/platform-browser
MIT
@angular/router
MIT
@ng-select/ng-select
MIT
document-register-element
ISC
ISC License
Copyright (c) 2014-2018, Andrea Giammarchi, @WebReflection
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
echarts
Apache-2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
========================================================================
Apache ECharts Subcomponents:
The Apache ECharts project contains subcomponents with separate copyright
notices and license terms. Your use of the source code for these
subcomponents is also subject to the terms and conditions of the following
licenses.
BSD 3-Clause (d3.js):
The following files embed [d3.js](https://github.com/d3/d3) BSD 3-Clause:
`/src/chart/treemap/treemapLayout.ts`,
`/src/chart/tree/layoutHelper.ts`,
`/src/chart/graph/forceHelper.ts`,
`/src/util/number.ts`
See `/licenses/LICENSE-d3` for details of the license.
ng2-material-dropdown
MIT
MIT License
Copyright (c) 2019 Giancarlo Buomprisco
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
ngx-chips
MIT
rxjs
Apache-2.0
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright (c) 2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
tslib
0BSD
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
zone.js
MIT
The MIT License
Copyright (c) 2010-2022 Google LLC. https://angular.io/license
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
zrender
BSD-3-Clause
BSD 3-Clause License
Copyright (c) 2017, Baidu Inc.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
* Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<svg xmlns="http://www.w3.org/2000/svg" width="54" height="66.66899871826172" viewBox="0 0 54 66.669">
<g id="Group_11331" data-name="Group 11331" transform="translate(-818 -47.355)">
<g id="ilens-logo">
<path id="Path_10233" data-name="Path 10233" d="M-.131-.544,52.785,16.738v30.29L-.131,64.717Z" transform="translate(819 49)" fill="#00349a" class="svg-elem-1"></path>
<text id="i" transform="translate(843 94)" fill="#fff" font-size="38" font-family="ProductSans-Bold, Product Sans" font-weight="700" letter-spacing="0.009em"><tspan x="0" y="0">i</tspan></text>
</g>
<path id="Path_10234" data-name="Path 10234" d="M53,47V17.054L0-.453V64.829L53,47" transform="translate(818.5 48.5)" fill="none" stroke="#00349a" stroke-width="1" class="svg-elem-2"></path>
</g>
</svg>
\ No newline at end of file
{
"selector": "app-candle",
"settings": {
"config_tabs": {
"general": true,
"chartProp": true
}
}
}
\ No newline at end of file
<!DOCTYPE html><html lang="en"><head>
<meta charset="utf-8">
<title>Candle Stick</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<style>body{height:100vh;width:100vw;margin:0!important}</style><link rel="stylesheet" href="styles.baa29a046a58aaa1168a.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles.baa29a046a58aaa1168a.css"></noscript></head>
<body>
<app-root></app-root>
<script src="runtime.810371c46e51402efea7.js" defer></script><script src="polyfills.f13710012fbd87309b97.js" defer></script><script src="main.bd989ff48250408ec274.js" defer></script>
</body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
(self.webpackChunkapp_a=self.webpackChunkapp_a||[]).push([[429],{142:()=>{!function(X,ve){"use strict";function Ne(){var n=ze.splice(0,ze.length);for(y=0;n.length;)n.shift().call(null,n.shift())}function Ve(n,s){for(var u=0,f=n.length;u<f;u++)Ze(n[u],s)}function xe(n){return function(s){ye(s)&&(Ze(s,n),c.length&&Ve(s.querySelectorAll(c),n))}}function Ue(n){var s=P.call(n,"is"),u=n.nodeName.toUpperCase(),f=l.call(e,s?at+s.toUpperCase():De+u);return s&&-1<f&&!Je(u,s)?-1:f}function Je(n,s){return-1<c.indexOf(n+'[is="'+s+'"]')}function Qe(n){var s=n.currentTarget,u=n.attrChange,f=n.attrName,T=n.target,C=n[Ke]||2,w=n[it]||3;!Pe||T&&T!==s||!s[He]||"style"===f||n.prevValue===n.newValue&&(""!==n.newValue||u!==C&&u!==w)||s[He](f,u===C?null:n.prevValue,u===w?null:n.newValue)}function Oe(n){var s=xe(n);return function(u){ze.push(s,u.target),y&&clearTimeout(y),y=setTimeout(Ne,1)}}function Me(n){te&&(te=!1,n.currentTarget.removeEventListener(_t,Me)),c.length&&Ve((n.target||B).querySelectorAll(c),n.detail===we?we:Ae),ee&&function(){for(var n,s=0,u=ne.length;s<u;s++)i.contains(n=ne[s])||(u--,ne.splice(s--,1),Ze(n,we))}()}function Ge(n,s){var u=this;d.call(u,n,s),ot.call(u,{target:u})}function et(n,s,u){var f=s.apply(n,u),T=Ue(f);return-1<T&&be(f,r[T]),u.pop()&&c.length&&function(n){for(var s,u=0,f=n.length;u<f;u++)be(s=n[u],r[Ue(s)])}(f.querySelectorAll(c)),f}function We(n,s){R(n,s),je?je.observe(n,L):(Q&&(n.setAttribute=Ge,n[Se]=ke(n),n[pe](ct,ot)),n[pe](Ie,Qe)),n[$e]&&Pe&&(n.created=!0,n[$e](),n.created=!1)}function qe(n){throw new Error("A "+n+" type is already registered")}function Ze(n,s){var u,f,T=Ue(n);-1<T&&!t.call(n,"TEMPLATE")&&(st(n,r[T]),T=0,s!==Ae||n[Ae]?s!==we||n[we]||(n[Ae]=!1,n[we]=!0,f="disconnected",T=1):(n[we]=!1,n[Ae]=!0,f="connected",T=1,ee&&l.call(ne,n)<0&&ne.push(n)),T&&(u=n[s+de]||n[f+de])&&u.call(n))}function le(){}function ht(n,s,u){var f=u&&u[Be]||"",T=s.prototype,C=x(T),w=s.observedAttributes||H,ae={prototype:C};ge(C,$e,{value:function(){if(ce)ce=!1;else if(!this[he]){this[he]=!0,new s(this),T[$e]&&T[$e].call(this);var j=q[J.get(s)];(!N||j.create.length>1)&&lt(this)}}}),ge(C,He,{value:function(j){-1<l.call(w,j)&&T[He]&&T[He].apply(this,arguments)}}),T[Tt]&&ge(C,Et,{value:T[Tt]}),T[ut]&&ge(C,gt,{value:T[ut]}),f&&(ae[Be]=f),n=n.toUpperCase(),q[n]={constructor:s,create:f?[f,_(n)]:[n]},J.set(s,n),B[Fe](n.toLowerCase(),ae),nt(n),p[n].r()}function tt(n){var s=q[n.toUpperCase()];return s&&s.constructor}function dt(n){return"string"==typeof n?n:n&&n.is||""}function lt(n){for(var s,u=n[He],f=u?n.attributes:H,T=f.length;T--;)u.call(n,(s=f[T]).name||s.nodeName,null,s.value||s.nodeValue)}function nt(n){return(n=n.toUpperCase())in p||(p[n]={},p[n].p=new K(function(s){p[n].r=s})),p[n].p}function Xe(){$&&delete X.customElements,O(X,"customElements",{configurable:!0,value:new le}),O(X,"CustomElementRegistry",{configurable:!0,value:le});for(var n=rt.get(/^HTML[A-Z]*[a-z]/),s=n.length;s--;function(u){var f=X[u];if(f){X[u]=function(T){var C,w;return T||(T=this),T[he]||(ce=!0,C=q[J.get(T.constructor)],(T=(w=N&&1===C.create.length)?Reflect.construct(f,H,C.constructor):B.createElement.apply(B,C.create))[he]=!0,ce=!1,w||lt(T)),T},X[u].prototype=f.prototype;try{f.prototype.constructor=X[u]}catch(T){O(f,he,{value:X[u]})}}}(n[s]));B.createElement=function(u,f){var T=dt(f);return T?E.call(this,u,_(T)):E.call(this,u)},A||(I=!0,B[Fe](""))}var B=X.document,_e=X.Object,rt=function(n){var s,u,f,T,C=/^[A-Z]+[a-z]/,ae=function(fe,oe){(oe=oe.toLowerCase())in j||(j[fe]=(j[fe]||[]).concat(oe),j[oe]=j[oe.toUpperCase()]=fe)},j=(_e.create||_e)(null),se={};for(u in n)for(T in n[u])for(j[T]=f=n[u][T],s=0;s<f.length;s++)j[f[s].toLowerCase()]=j[f[s].toUpperCase()]=T;return se.get=function(fe){return"string"==typeof fe?j[fe]||(C.test(fe)?[]:""):function(fe){var oe,ie=[];for(oe in j)fe.test(oe)&&ie.push(oe);return ie}(fe)},se.set=function(fe,oe){return C.test(fe)?ae(fe,oe):ae(oe,fe),se},se}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!=typeof ve&&(ve={type:ve||"auto"});var ze,ot,Ye,ke,je,Le,st,be,Re,n,s,u,f,T,Fe="registerElement",mt=1e5*X.Math.random()>>0,Se="__"+Fe+mt,pe="addEventListener",Ae="attached",de="Callback",we="detached",Be="extends",He="attributeChanged"+de,Et=Ae+de,Tt="connected"+de,ut="disconnected"+de,$e="created"+de,gt=we+de,Ke="ADDITION",it="REMOVAL",Ie="DOMAttrModified",_t="DOMContentLoaded",ct="DOMSubtreeModified",De="<",at="=",yt=/^[A-Z][._A-Z0-9]*-[-._A-Z0-9]*$/,vt=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],e=[],r=[],c="",i=B.documentElement,l=e.indexOf||function(n){for(var s=this.length;s--&&this[s]!==n;);return s},h=_e.prototype,v=h.hasOwnProperty,g=h.isPrototypeOf,O=_e.defineProperty,H=[],M=_e.getOwnPropertyDescriptor,W=_e.getOwnPropertyNames,F=_e.getPrototypeOf,V=_e.setPrototypeOf,re=!!_e.__proto__,he="__dreCEv1",$=X.customElements,N=!/^force/.test(ve.type)&&!!($&&$.define&&$.get&&$.whenDefined),k=_e.create||_e,Ee=X.Map||function(){var n,s=[],u=[];return{get:function(f){return u[l.call(s,f)]},set:function(f,T){(n=l.call(s,f))<0?u[s.push(f)-1]=T:u[n]=T}}},K=X.Promise||function(n){function s(C){for(f=!0;u.length;)u.shift()(C)}var u=[],f=!1,T={catch:function(){return T},then:function(C){return u.push(C),f&&setTimeout(s,1),T}};return n(s),T},ce=!1,q=k(null),p=k(null),J=new Ee,_=function(n){return n.toLowerCase()},x=_e.create||function n(s){return s?(n.prototype=s,new n):this},R=V||(re?function(n,s){return n.__proto__=s,n}:W&&M?function(){function n(s,u){for(var f,T=W(u),C=0,w=T.length;C<w;C++)v.call(s,f=T[C])||O(s,f,M(u,f))}return function(s,u){do{n(s,u)}while((u=F(u))&&!g.call(u,s));return s}}():function(n,s){for(var u in s)n[u]=s[u];return n}),ue=X.MutationObserver||X.WebKitMutationObserver,Ce=X.HTMLAnchorElement,U=(X.HTMLElement||X.Element||X.Node).prototype,ee=!g.call(U,i),ge=ee?function(n,s,u){return n[s]=u.value,n}:O,ye=ee?function(n){return 1===n.nodeType}:function(n){return g.call(U,n)},ne=ee&&[],G=U.attachShadow,b=U.cloneNode,t=U.closest||function(n){for(var s=this;s&&s.nodeName!==n;)s=s.parentNode;return s},o=U.dispatchEvent,P=U.getAttribute,S=U.hasAttribute,me=U.removeAttribute,d=U.setAttribute,m=B.createElement,a=B.importNode,E=m,L=ue&&{attributes:!0,characterData:!0,attributeOldValue:!0},D=ue||function(n){Q=!1,i.removeEventListener(Ie,D)},y=0,A=Fe in B&&!/^force-all/.test(ve.type),Z=!0,I=!1,Q=!0,te=!0,Pe=!0;if(ue&&((Re=B.createElement("div")).innerHTML="<div><div></div></div>",new ue(function(n,s){if(n[0]&&"childList"==n[0].type&&!n[0].removedNodes[0].childNodes.length){var u=(Re=M(U,"innerHTML"))&&Re.set;u&&O(U,"innerHTML",{set:function(f){for(;this.lastChild;)this.removeChild(this.lastChild);u.call(this,f)}})}s.disconnect(),Re=null}).observe(Re,{childList:!0,subtree:!0}),Re.innerHTML=""),A||(V||re?(st=function(n,s){g.call(s,n)||We(n,s)},be=We):(st=function(n,s){n[Se]||(n[Se]=_e(!0),We(n,s))},be=st),ee?(Q=!1,n=M(U,pe),s=n.value,u=function(C){var w=new CustomEvent(Ie,{bubbles:!0});w.attrName=C,w.prevValue=P.call(this,C),w.newValue=null,w[it]=w.attrChange=2,me.call(this,C),o.call(this,w)},f=function(C,w){var ae=S.call(this,C),j=ae&&P.call(this,C),se=new CustomEvent(Ie,{bubbles:!0});d.call(this,C,w),se.attrName=C,se.prevValue=ae?j:null,se.newValue=w,ae?se.MODIFICATION=se.attrChange=1:se[Ke]=se.attrChange=0,o.call(this,se)},T=function(C){var w,ae=C.currentTarget,j=ae[Se],se=C.propertyName;j.hasOwnProperty(se)&&(j=j[se],(w=new CustomEvent(Ie,{bubbles:!0})).attrName=j.name,w.prevValue=j.value||null,w.newValue=j.value=ae[se]||null,null==w.prevValue?w[Ke]=w.attrChange=0:w.MODIFICATION=w.attrChange=1,o.call(ae,w))},n.value=function(C,w,ae){C===Ie&&this[He]&&this.setAttribute!==f&&(this[Se]={className:{name:"class",value:this.className}},this.setAttribute=f,this.removeAttribute=u,s.call(this,"propertychange",T)),s.call(this,C,w,ae)},O(U,pe,n)):ue||(i[pe](Ie,D),i.setAttribute(Se,1),i.removeAttribute(Se),Q&&(ot=function(n){var s,u,f,T=this;if(T===n.target){for(f in s=T[Se],T[Se]=u=ke(T),u){if(!(f in s))return Ye(0,T,f,s[f],u[f],Ke);if(u[f]!==s[f])return Ye(1,T,f,s[f],u[f],"MODIFICATION")}for(f in s)if(!(f in u))return Ye(2,T,f,s[f],u[f],it)}},Ye=function(n,s,u,f,T,C){var w={attrChange:n,currentTarget:s,attrName:u,prevValue:f,newValue:T};w[C]=n,Qe(w)},ke=function(n){for(var s,u,f={},T=n.attributes,C=0,w=T.length;C<w;C++)"setAttribute"!==(u=(s=T[C]).name)&&(f[u]=s.value);return f})),B[Fe]=function(n,s){if(u=n.toUpperCase(),Z&&(Z=!1,ue?(je=function(j,se){function fe(oe,ie){for(var Te=0,pt=oe.length;Te<pt;ie(oe[Te++]));}return new ue(function(oe){for(var ie,Te,pt,kt=0,bt=oe.length;kt<bt;kt++)"childList"===(ie=oe[kt]).type?(fe(ie.addedNodes,j),fe(ie.removedNodes,se)):(Te=ie.target,Pe&&Te[He]&&"style"!==ie.attributeName&&(pt=P.call(Te,ie.attributeName))!==ie.oldValue&&Te[He](ie.attributeName,ie.oldValue,pt))})}(xe(Ae),xe(we)),(Le=function(j){return je.observe(j,{childList:!0,subtree:!0}),j})(B),G&&(U.attachShadow=function(){return Le(G.apply(this,arguments))})):(ze=[],B[pe]("DOMNodeInserted",Oe(Ae)),B[pe]("DOMNodeRemoved",Oe(we))),B[pe](_t,Me),B[pe]("readystatechange",Me),B.importNode=function(j,se){switch(j.nodeType){case 1:return et(B,a,[j,!!se]);case 11:for(var fe=B.createDocumentFragment(),oe=j.childNodes,ie=oe.length,Te=0;Te<ie;Te++)fe.appendChild(B.importNode(oe[Te],!!se));return fe;default:return b.call(j,!!se)}},U.cloneNode=function(j){return et(this,b,[!!j])}),I)return I=!1;if(-2<l.call(e,at+u)+l.call(e,De+u)&&qe(n),!yt.test(u)||-1<l.call(vt,u))throw new Error("The type "+n+" is invalid");var u,f,T=function(){return w?B.createElement(ae,u):B.createElement(ae)},C=s||h,w=v.call(C,Be),ae=w?s[Be].toUpperCase():u;return w&&-1<l.call(e,De+ae)&&qe(ae),f=e.push((w?at:De)+u)-1,c=c.concat(c.length?",":"",w?ae+'[is="'+n.toLowerCase()+'"]':ae),T.prototype=r[f]=v.call(C,"prototype")?C.prototype:x(U),c.length&&Ve(B.querySelectorAll(c),Ae),T},B.createElement=E=function(n,s){var u=dt(s),f=u?m.call(B,n,_(u)):m.call(B,n),T=""+n,C=l.call(e,(u?at:De)+(u||T).toUpperCase()),w=-1<C;return u&&(f.setAttribute("is",u=u.toLowerCase()),w&&(w=Je(T.toUpperCase(),u))),Pe=!B.createElement.innerHTMLHelper,w&&be(f,r[C]),f}),addEventListener("beforeunload",function(){delete B.createElement,delete B.importNode,delete B[Fe]},!1),le.prototype={constructor:le,define:N?function(n,s,u){if(u)ht(n,s,u);else{var f=n.toUpperCase();q[f]={constructor:s,create:[f]},J.set(s,f),$.define(n,s)}}:ht,get:N?function(n){return $.get(n)||tt(n)}:tt,whenDefined:N?function(n){return K.race([$.whenDefined(n),nt(n)])}:nt},!$||/^force/.test(ve.type))Xe();else if(!ve.noBuiltIn)try{!function(n,s,u){var f=new RegExp("^<a\\s+is=('|\")"+u+"\\1></a>$");if(s[Be]="a",(n.prototype=x(Ce.prototype)).constructor=n,X.customElements.define(u,n,s),!f.test(B.createElement("a",{is:u}).outerHTML)||!f.test((new n).outerHTML))throw s}(function n(){return Reflect.construct(Ce,[],n)},{},"document-register-element-a"+mt)}catch(n){Xe()}if(!ve.noBuiltIn)try{if(m.call(B,"a","a").outerHTML.indexOf("is")<0)throw{}}catch(n){_=function(s){return{is:s.toLowerCase()}}}}(window)},277:()=>{"use strict";!function(e){const r=e.performance;function c(G){r&&r.mark&&r.mark(G)}function i(G,b){r&&r.measure&&r.measure(G,b)}c("Zone");const l=e.__Zone_symbol_prefix||"__zone_symbol__";function h(G){return l+G}const v=!0===e[h("forceDuplicateZoneCheck")];if(e.Zone){if(v||"function"!=typeof e.Zone.__symbol__)throw new Error("Zone already loaded.");return e.Zone}let g=(()=>{class G{constructor(t,o){this._parent=t,this._name=o?o.name||"unnamed":"<root>",this._properties=o&&o.properties||{},this._zoneDelegate=new H(this,this._parent&&this._parent._zoneDelegate,o)}static assertZonePatched(){if(e.Promise!==Ce.ZoneAwarePromise)throw new Error("Zone.js has detected that ZoneAwarePromise `(window|global).Promise` has been overwritten.\nMost likely cause is that a Promise polyfill has been loaded after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. If you must load one, do so before loading zone.js.)")}static get root(){let t=G.current;for(;t.parent;)t=t.parent;return t}static get current(){return ee.zone}static get currentTask(){return ge}static __load_patch(t,o,P=!1){if(Ce.hasOwnProperty(t)){if(!P&&v)throw Error("Already loaded patch: "+t)}else if(!e["__Zone_disable_"+t]){const S="Zone:"+t;c(S),Ce[t]=o(e,G,U),i(S,S)}}get parent(){return this._parent}get name(){return this._name}get(t){const o=this.getZoneWith(t);if(o)return o._properties[t]}getZoneWith(t){let o=this;for(;o;){if(o._properties.hasOwnProperty(t))return o;o=o._parent}return null}fork(t){if(!t)throw new Error("ZoneSpec required!");return this._zoneDelegate.fork(this,t)}wrap(t,o){if("function"!=typeof t)throw new Error("Expecting function got: "+t);const P=this._zoneDelegate.intercept(this,t,o),S=this;return function(){return S.runGuarded(P,this,arguments,o)}}run(t,o,P,S){ee={parent:ee,zone:this};try{return this._zoneDelegate.invoke(this,t,o,P,S)}finally{ee=ee.parent}}runGuarded(t,o=null,P,S){ee={parent:ee,zone:this};try{try{return this._zoneDelegate.invoke(this,t,o,P,S)}catch(me){if(this._zoneDelegate.handleError(this,me))throw me}}finally{ee=ee.parent}}runTask(t,o,P){if(t.zone!=this)throw new Error("A task can only be run in the zone of creation! (Creation: "+(t.zone||Ee).name+"; Execution: "+this.name+")");if(t.state===K&&(t.type===ue||t.type===R))return;const S=t.state!=p;S&&t._transitionTo(p,q),t.runCount++;const me=ge;ge=t,ee={parent:ee,zone:this};try{t.type==R&&t.data&&!t.data.isPeriodic&&(t.cancelFn=void 0);try{return this._zoneDelegate.invokeTask(this,t,o,P)}catch(d){if(this._zoneDelegate.handleError(this,d))throw d}}finally{t.state!==K&&t.state!==_&&(t.type==ue||t.data&&t.data.isPeriodic?S&&t._transitionTo(q,p):(t.runCount=0,this._updateTaskCount(t,-1),S&&t._transitionTo(K,p,K))),ee=ee.parent,ge=me}}scheduleTask(t){if(t.zone&&t.zone!==this){let P=this;for(;P;){if(P===t.zone)throw Error(`can not reschedule task to ${this.name} which is descendants of the original zone ${t.zone.name}`);P=P.parent}}t._transitionTo(ce,K);const o=[];t._zoneDelegates=o,t._zone=this;try{t=this._zoneDelegate.scheduleTask(this,t)}catch(P){throw t._transitionTo(_,ce,K),this._zoneDelegate.handleError(this,P),P}return t._zoneDelegates===o&&this._updateTaskCount(t,1),t.state==ce&&t._transitionTo(q,ce),t}scheduleMicroTask(t,o,P,S){return this.scheduleTask(new M(x,t,o,P,S,void 0))}scheduleMacroTask(t,o,P,S,me){return this.scheduleTask(new M(R,t,o,P,S,me))}scheduleEventTask(t,o,P,S,me){return this.scheduleTask(new M(ue,t,o,P,S,me))}cancelTask(t){if(t.zone!=this)throw new Error("A task can only be cancelled in the zone of creation! (Creation: "+(t.zone||Ee).name+"; Execution: "+this.name+")");t._transitionTo(J,q,p);try{this._zoneDelegate.cancelTask(this,t)}catch(o){throw t._transitionTo(_,J),this._zoneDelegate.handleError(this,o),o}return this._updateTaskCount(t,-1),t._transitionTo(K,J),t.runCount=0,t}_updateTaskCount(t,o){const P=t._zoneDelegates;-1==o&&(t._zoneDelegates=null);for(let S=0;S<P.length;S++)P[S]._updateTaskCount(t.type,o)}}return G.__symbol__=h,G})();const O={name:"",onHasTask:(G,b,t,o)=>G.hasTask(t,o),onScheduleTask:(G,b,t,o)=>G.scheduleTask(t,o),onInvokeTask:(G,b,t,o,P,S)=>G.invokeTask(t,o,P,S),onCancelTask:(G,b,t,o)=>G.cancelTask(t,o)};class H{constructor(b,t,o){this._taskCounts={microTask:0,macroTask:0,eventTask:0},this.zone=b,this._parentDelegate=t,this._forkZS=o&&(o&&o.onFork?o:t._forkZS),this._forkDlgt=o&&(o.onFork?t:t._forkDlgt),this._forkCurrZone=o&&(o.onFork?this.zone:t._forkCurrZone),this._interceptZS=o&&(o.onIntercept?o:t._interceptZS),this._interceptDlgt=o&&(o.onIntercept?t:t._interceptDlgt),this._interceptCurrZone=o&&(o.onIntercept?this.zone:t._interceptCurrZone),this._invokeZS=o&&(o.onInvoke?o:t._invokeZS),this._invokeDlgt=o&&(o.onInvoke?t:t._invokeDlgt),this._invokeCurrZone=o&&(o.onInvoke?this.zone:t._invokeCurrZone),this._handleErrorZS=o&&(o.onHandleError?o:t._handleErrorZS),this._handleErrorDlgt=o&&(o.onHandleError?t:t._handleErrorDlgt),this._handleErrorCurrZone=o&&(o.onHandleError?this.zone:t._handleErrorCurrZone),this._scheduleTaskZS=o&&(o.onScheduleTask?o:t._scheduleTaskZS),this._scheduleTaskDlgt=o&&(o.onScheduleTask?t:t._scheduleTaskDlgt),this._scheduleTaskCurrZone=o&&(o.onScheduleTask?this.zone:t._scheduleTaskCurrZone),this._invokeTaskZS=o&&(o.onInvokeTask?o:t._invokeTaskZS),this._invokeTaskDlgt=o&&(o.onInvokeTask?t:t._invokeTaskDlgt),this._invokeTaskCurrZone=o&&(o.onInvokeTask?this.zone:t._invokeTaskCurrZone),this._cancelTaskZS=o&&(o.onCancelTask?o:t._cancelTaskZS),this._cancelTaskDlgt=o&&(o.onCancelTask?t:t._cancelTaskDlgt),this._cancelTaskCurrZone=o&&(o.onCancelTask?this.zone:t._cancelTaskCurrZone),this._hasTaskZS=null,this._hasTaskDlgt=null,this._hasTaskDlgtOwner=null,this._hasTaskCurrZone=null;const P=o&&o.onHasTask;(P||t&&t._hasTaskZS)&&(this._hasTaskZS=P?o:O,this._hasTaskDlgt=t,this._hasTaskDlgtOwner=this,this._hasTaskCurrZone=b,o.onScheduleTask||(this._scheduleTaskZS=O,this._scheduleTaskDlgt=t,this._scheduleTaskCurrZone=this.zone),o.onInvokeTask||(this._invokeTaskZS=O,this._invokeTaskDlgt=t,this._invokeTaskCurrZone=this.zone),o.onCancelTask||(this._cancelTaskZS=O,this._cancelTaskDlgt=t,this._cancelTaskCurrZone=this.zone))}fork(b,t){return this._forkZS?this._forkZS.onFork(this._forkDlgt,this.zone,b,t):new g(b,t)}intercept(b,t,o){return this._interceptZS?this._interceptZS.onIntercept(this._interceptDlgt,this._interceptCurrZone,b,t,o):t}invoke(b,t,o,P,S){return this._invokeZS?this._invokeZS.onInvoke(this._invokeDlgt,this._invokeCurrZone,b,t,o,P,S):t.apply(o,P)}handleError(b,t){return!this._handleErrorZS||this._handleErrorZS.onHandleError(this._handleErrorDlgt,this._handleErrorCurrZone,b,t)}scheduleTask(b,t){let o=t;if(this._scheduleTaskZS)this._hasTaskZS&&o._zoneDelegates.push(this._hasTaskDlgtOwner),o=this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt,this._scheduleTaskCurrZone,b,t),o||(o=t);else if(t.scheduleFn)t.scheduleFn(t);else{if(t.type!=x)throw new Error("Task is missing scheduleFn.");N(t)}return o}invokeTask(b,t,o,P){return this._invokeTaskZS?this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt,this._invokeTaskCurrZone,b,t,o,P):t.callback.apply(o,P)}cancelTask(b,t){let o;if(this._cancelTaskZS)o=this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt,this._cancelTaskCurrZone,b,t);else{if(!t.cancelFn)throw Error("Task is not cancelable");o=t.cancelFn(t)}return o}hasTask(b,t){try{this._hasTaskZS&&this._hasTaskZS.onHasTask(this._hasTaskDlgt,this._hasTaskCurrZone,b,t)}catch(o){this.handleError(b,o)}}_updateTaskCount(b,t){const o=this._taskCounts,P=o[b],S=o[b]=P+t;if(S<0)throw new Error("More tasks executed then were scheduled.");0!=P&&0!=S||this.hasTask(this.zone,{microTask:o.microTask>0,macroTask:o.macroTask>0,eventTask:o.eventTask>0,change:b})}}class M{constructor(b,t,o,P,S,me){if(this._zone=null,this.runCount=0,this._zoneDelegates=null,this._state="notScheduled",this.type=b,this.source=t,this.data=P,this.scheduleFn=S,this.cancelFn=me,!o)throw new Error("callback is not defined");this.callback=o;const d=this;this.invoke=b===ue&&P&&P.useG?M.invokeTask:function(){return M.invokeTask.call(e,d,this,arguments)}}static invokeTask(b,t,o){b||(b=this),ye++;try{return b.runCount++,b.zone.runTask(b,t,o)}finally{1==ye&&k(),ye--}}get zone(){return this._zone}get state(){return this._state}cancelScheduleRequest(){this._transitionTo(K,ce)}_transitionTo(b,t,o){if(this._state!==t&&this._state!==o)throw new Error(`${this.type} '${this.source}': can not transition to '${b}', expecting state '${t}'${o?" or '"+o+"'":""}, was '${this._state}'.`);this._state=b,b==K&&(this._zoneDelegates=null)}toString(){return this.data&&void 0!==this.data.handleId?this.data.handleId.toString():Object.prototype.toString.call(this)}toJSON(){return{type:this.type,state:this.state,source:this.source,zone:this.zone.name,runCount:this.runCount}}}const W=h("setTimeout"),F=h("Promise"),V=h("then");let he,re=[],Y=!1;function $(G){if(he||e[F]&&(he=e[F].resolve(0)),he){let b=he[V];b||(b=he.then),b.call(he,G)}else e[W](G,0)}function N(G){0===ye&&0===re.length&&$(k),G&&re.push(G)}function k(){if(!Y){for(Y=!0;re.length;){const G=re;re=[];for(let b=0;b<G.length;b++){const t=G[b];try{t.zone.runTask(t,null,null)}catch(o){U.onUnhandledError(o)}}}U.microtaskDrainDone(),Y=!1}}const Ee={name:"NO ZONE"},K="notScheduled",ce="scheduling",q="scheduled",p="running",J="canceling",_="unknown",x="microTask",R="macroTask",ue="eventTask",Ce={},U={symbol:h,currentZoneFrame:()=>ee,onUnhandledError:ne,microtaskDrainDone:ne,scheduleMicroTask:N,showUncaughtError:()=>!g[h("ignoreConsoleErrorUncaughtError")],patchEventTarget:()=>[],patchOnProperties:ne,patchMethod:()=>ne,bindArguments:()=>[],patchThen:()=>ne,patchMacroTask:()=>ne,patchEventPrototype:()=>ne,isIEOrEdge:()=>!1,getGlobalObjects:()=>{},ObjectDefineProperty:()=>ne,ObjectGetOwnPropertyDescriptor:()=>{},ObjectCreate:()=>{},ArraySlice:()=>[],patchClass:()=>ne,wrapWithCurrentZone:()=>ne,filterProperties:()=>[],attachOriginToPatched:()=>ne,_redefineProperty:()=>ne,patchCallbacks:()=>ne,nativeScheduleMicroTask:$};let ee={parent:null,zone:new g(null,null)},ge=null,ye=0;function ne(){}i("Zone","Zone"),e.Zone=g}("undefined"!=typeof window&&window||"undefined"!=typeof self&&self||global);const X=Object.getOwnPropertyDescriptor,ve=Object.defineProperty,Ne=Object.getPrototypeOf,Ve=Object.create,ft=Array.prototype.slice,xe="addEventListener",Ue="removeEventListener",Je=Zone.__symbol__(xe),Qe=Zone.__symbol__(Ue),Oe="true",Me="false",Ge=Zone.__symbol__("");function et(e,r){return Zone.current.wrap(e,r)}function We(e,r,c,i,l){return Zone.current.scheduleMacroTask(e,r,c,i,l)}const z=Zone.__symbol__,qe="undefined"!=typeof window,Ze=qe?window:void 0,le=qe&&Ze||"object"==typeof self&&self||global;function tt(e,r){for(let c=e.length-1;c>=0;c--)"function"==typeof e[c]&&(e[c]=et(e[c],r+"_"+c));return e}function lt(e){return!e||!1!==e.writable&&!("function"==typeof e.get&&void 0===e.set)}const nt="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope,Xe=!("nw"in le)&&void 0!==le.process&&"[object process]"==={}.toString.call(le.process),B=!Xe&&!nt&&!(!qe||!Ze.HTMLElement),_e=void 0!==le.process&&"[object process]"==={}.toString.call(le.process)&&!nt&&!(!qe||!Ze.HTMLElement),rt={},ze=function(e){if(!(e=e||le.event))return;let r=rt[e.type];r||(r=rt[e.type]=z("ON_PROPERTY"+e.type));const c=this||e.target||le,i=c[r];let l;if(B&&c===Ze&&"error"===e.type){const h=e;l=i&&i.call(this,h.message,h.filename,h.lineno,h.colno,h.error),!0===l&&e.preventDefault()}else l=i&&i.apply(this,arguments),null!=l&&!l&&e.preventDefault();return l};function ot(e,r,c){let i=X(e,r);if(!i&&c&&X(c,r)&&(i={enumerable:!0,configurable:!0}),!i||!i.configurable)return;const l=z("on"+r+"patched");if(e.hasOwnProperty(l)&&e[l])return;delete i.writable,delete i.value;const h=i.get,v=i.set,g=r.slice(2);let O=rt[g];O||(O=rt[g]=z("ON_PROPERTY"+g)),i.set=function(H){let M=this;!M&&e===le&&(M=le),M&&("function"==typeof M[O]&&M.removeEventListener(g,ze),v&&v.call(M,null),M[O]=H,"function"==typeof H&&M.addEventListener(g,ze,!1))},i.get=function(){let H=this;if(!H&&e===le&&(H=le),!H)return null;const M=H[O];if(M)return M;if(h){let W=h.call(this);if(W)return i.set.call(this,W),"function"==typeof H.removeAttribute&&H.removeAttribute(r),W}return null},ve(e,r,i),e[l]=!0}function Ye(e,r,c){if(r)for(let i=0;i<r.length;i++)ot(e,"on"+r[i],c);else{const i=[];for(const l in e)"on"==l.slice(0,2)&&i.push(l);for(let l=0;l<i.length;l++)ot(e,i[l],c)}}const ke=z("originalInstance");function je(e){const r=le[e];if(!r)return;le[z(e)]=r,le[e]=function(){const l=tt(arguments,e);switch(l.length){case 0:this[ke]=new r;break;case 1:this[ke]=new r(l[0]);break;case 2:this[ke]=new r(l[0],l[1]);break;case 3:this[ke]=new r(l[0],l[1],l[2]);break;case 4:this[ke]=new r(l[0],l[1],l[2],l[3]);break;default:throw new Error("Arg list too long.")}},be(le[e],r);const c=new r(function(){});let i;for(i in c)"XMLHttpRequest"===e&&"responseBlob"===i||function(l){"function"==typeof c[l]?le[e].prototype[l]=function(){return this[ke][l].apply(this[ke],arguments)}:ve(le[e].prototype,l,{set:function(h){"function"==typeof h?(this[ke][l]=et(h,e+"."+l),be(this[ke][l],h)):this[ke][l]=h},get:function(){return this[ke][l]}})}(i);for(i in r)"prototype"!==i&&r.hasOwnProperty(i)&&(le[e][i]=r[i])}function Le(e,r,c){let i=e;for(;i&&!i.hasOwnProperty(r);)i=Ne(i);!i&&e[r]&&(i=e);const l=z(r);let h=null;if(i&&(!(h=i[l])||!i.hasOwnProperty(l))&&(h=i[l]=i[r],lt(i&&X(i,r)))){const g=c(h,l,r);i[r]=function(){return g(this,arguments)},be(i[r],h)}return h}function st(e,r,c){let i=null;function l(h){const v=h.data;return v.args[v.cbIdx]=function(){h.invoke.apply(this,arguments)},i.apply(v.target,v.args),h}i=Le(e,r,h=>function(v,g){const O=c(v,g);return O.cbIdx>=0&&"function"==typeof g[O.cbIdx]?We(O.name,g[O.cbIdx],O,l):h.apply(v,g)})}function be(e,r){e[z("OriginalDelegate")]=r}let Re=!1,Fe=!1;function Se(){if(Re)return Fe;Re=!0;try{const e=Ze.navigator.userAgent;(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/")||-1!==e.indexOf("Edge/"))&&(Fe=!0)}catch(e){}return Fe}Zone.__load_patch("ZoneAwarePromise",(e,r,c)=>{const i=Object.getOwnPropertyDescriptor,l=Object.defineProperty,v=c.symbol,g=[],O=!0===e[v("DISABLE_WRAPPING_UNCAUGHT_PROMISE_REJECTION")],H=v("Promise"),M=v("then");c.onUnhandledError=d=>{if(c.showUncaughtError()){const m=d&&d.rejection;m?console.error("Unhandled Promise rejection:",m instanceof Error?m.message:m,"; Zone:",d.zone.name,"; Task:",d.task&&d.task.source,"; Value:",m,m instanceof Error?m.stack:void 0):console.error(d)}},c.microtaskDrainDone=()=>{for(;g.length;){const d=g.shift();try{d.zone.runGuarded(()=>{throw d.throwOriginal?d.rejection:d})}catch(m){V(m)}}};const F=v("unhandledPromiseRejectionHandler");function V(d){c.onUnhandledError(d);try{const m=r[F];"function"==typeof m&&m.call(this,d)}catch(m){}}function re(d){return d&&d.then}function Y(d){return d}function he(d){return t.reject(d)}const $=v("state"),N=v("value"),k=v("finally"),Ee=v("parentPromiseValue"),K=v("parentPromiseState"),q=null,p=!0,J=!1;function x(d,m){return a=>{try{U(d,m,a)}catch(E){U(d,!1,E)}}}const R=function(){let d=!1;return function(a){return function(){d||(d=!0,a.apply(null,arguments))}}},Ce=v("currentTaskTrace");function U(d,m,a){const E=R();if(d===a)throw new TypeError("Promise resolved with itself");if(d[$]===q){let L=null;try{("object"==typeof a||"function"==typeof a)&&(L=a&&a.then)}catch(D){return E(()=>{U(d,!1,D)})(),d}if(m!==J&&a instanceof t&&a.hasOwnProperty($)&&a.hasOwnProperty(N)&&a[$]!==q)ge(a),U(d,a[$],a[N]);else if(m!==J&&"function"==typeof L)try{L.call(a,E(x(d,m)),E(x(d,!1)))}catch(D){E(()=>{U(d,!1,D)})()}else{d[$]=m;const D=d[N];if(d[N]=a,d[k]===k&&m===p&&(d[$]=d[K],d[N]=d[Ee]),m===J&&a instanceof Error){const y=r.currentTask&&r.currentTask.data&&r.currentTask.data.__creationTrace__;y&&l(a,Ce,{configurable:!0,enumerable:!1,writable:!0,value:y})}for(let y=0;y<D.length;)ye(d,D[y++],D[y++],D[y++],D[y++]);if(0==D.length&&m==J){d[$]=0;let y=a;try{throw new Error("Uncaught (in promise): "+function(d){return d&&d.toString===Object.prototype.toString?(d.constructor&&d.constructor.name||"")+": "+JSON.stringify(d):d?d.toString():Object.prototype.toString.call(d)}(a)+(a&&a.stack?"\n"+a.stack:""))}catch(A){y=A}O&&(y.throwOriginal=!0),y.rejection=a,y.promise=d,y.zone=r.current,y.task=r.currentTask,g.push(y),c.scheduleMicroTask()}}}return d}const ee=v("rejectionHandledHandler");function ge(d){if(0===d[$]){try{const m=r[ee];m&&"function"==typeof m&&m.call(this,{rejection:d[N],promise:d})}catch(m){}d[$]=J;for(let m=0;m<g.length;m++)d===g[m].promise&&g.splice(m,1)}}function ye(d,m,a,E,L){ge(d);const D=d[$],y=D?"function"==typeof E?E:Y:"function"==typeof L?L:he;m.scheduleMicroTask("Promise.then",()=>{try{const A=d[N],Z=!!a&&k===a[k];Z&&(a[Ee]=A,a[K]=D);const I=m.run(y,void 0,Z&&y!==he&&y!==Y?[]:[A]);U(a,!0,I)}catch(A){U(a,!1,A)}},a)}const G=function(){},b=e.AggregateError;class t{static toString(){return"function ZoneAwarePromise() { [native code] }"}static resolve(m){return U(new this(null),p,m)}static reject(m){return U(new this(null),J,m)}static any(m){if(!m||"function"!=typeof m[Symbol.iterator])return Promise.reject(new b([],"All promises were rejected"));const a=[];let E=0;try{for(let y of m)E++,a.push(t.resolve(y))}catch(y){return Promise.reject(new b([],"All promises were rejected"))}if(0===E)return Promise.reject(new b([],"All promises were rejected"));let L=!1;const D=[];return new t((y,A)=>{for(let Z=0;Z<a.length;Z++)a[Z].then(I=>{L||(L=!0,y(I))},I=>{D.push(I),E--,0===E&&(L=!0,A(new b(D,"All promises were rejected")))})})}static race(m){let a,E,L=new this((A,Z)=>{a=A,E=Z});function D(A){a(A)}function y(A){E(A)}for(let A of m)re(A)||(A=this.resolve(A)),A.then(D,y);return L}static all(m){return t.allWithCallback(m)}static allSettled(m){return(this&&this.prototype instanceof t?this:t).allWithCallback(m,{thenCallback:E=>({status:"fulfilled",value:E}),errorCallback:E=>({status:"rejected",reason:E})})}static allWithCallback(m,a){let E,L,D=new this((I,Q)=>{E=I,L=Q}),y=2,A=0;const Z=[];for(let I of m){re(I)||(I=this.resolve(I));const Q=A;try{I.then(te=>{Z[Q]=a?a.thenCallback(te):te,y--,0===y&&E(Z)},te=>{a?(Z[Q]=a.errorCallback(te),y--,0===y&&E(Z)):L(te)})}catch(te){L(te)}y++,A++}return y-=2,0===y&&E(Z),D}constructor(m){const a=this;if(!(a instanceof t))throw new Error("Must be an instanceof Promise.");a[$]=q,a[N]=[];try{const E=R();m&&m(E(x(a,p)),E(x(a,J)))}catch(E){U(a,!1,E)}}get[Symbol.toStringTag](){return"Promise"}get[Symbol.species](){return t}then(m,a){var E;let L=null===(E=this.constructor)||void 0===E?void 0:E[Symbol.species];(!L||"function"!=typeof L)&&(L=this.constructor||t);const D=new L(G),y=r.current;return this[$]==q?this[N].push(y,D,m,a):ye(this,y,D,m,a),D}catch(m){return this.then(null,m)}finally(m){var a;let E=null===(a=this.constructor)||void 0===a?void 0:a[Symbol.species];(!E||"function"!=typeof E)&&(E=t);const L=new E(G);L[k]=k;const D=r.current;return this[$]==q?this[N].push(D,L,m,m):ye(this,D,L,m,m),L}}t.resolve=t.resolve,t.reject=t.reject,t.race=t.race,t.all=t.all;const o=e[H]=e.Promise;e.Promise=t;const P=v("thenPatched");function S(d){const m=d.prototype,a=i(m,"then");if(a&&(!1===a.writable||!a.configurable))return;const E=m.then;m[M]=E,d.prototype.then=function(L,D){return new t((A,Z)=>{E.call(this,A,Z)}).then(L,D)},d[P]=!0}return c.patchThen=S,o&&(S(o),Le(e,"fetch",d=>function(d){return function(m,a){let E=d.apply(m,a);if(E instanceof t)return E;let L=E.constructor;return L[P]||S(L),E}}(d))),Promise[r.__symbol__("uncaughtPromiseErrors")]=g,t}),Zone.__load_patch("toString",e=>{const r=Function.prototype.toString,c=z("OriginalDelegate"),i=z("Promise"),l=z("Error"),h=function(){if("function"==typeof this){const H=this[c];if(H)return"function"==typeof H?r.call(H):Object.prototype.toString.call(H);if(this===Promise){const M=e[i];if(M)return r.call(M)}if(this===Error){const M=e[l];if(M)return r.call(M)}}return r.call(this)};h[c]=r,Function.prototype.toString=h;const v=Object.prototype.toString;Object.prototype.toString=function(){return"function"==typeof Promise&&this instanceof Promise?"[object Promise]":v.call(this)}});let pe=!1;if("undefined"!=typeof window)try{const e=Object.defineProperty({},"passive",{get:function(){pe=!0}});window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){pe=!1}const Ae={useG:!0},de={},we={},Be=new RegExp("^"+Ge+"(\\w+)(true|false)$"),He=z("propagationStopped");function Et(e,r){const c=(r?r(e):e)+Me,i=(r?r(e):e)+Oe,l=Ge+c,h=Ge+i;de[e]={},de[e][Me]=l,de[e][Oe]=h}function Tt(e,r,c,i){const l=i&&i.add||xe,h=i&&i.rm||Ue,v=i&&i.listeners||"eventListeners",g=i&&i.rmAll||"removeAllListeners",O=z(l),H="."+l+":",F=function(N,k,Ee){if(N.isRemoved)return;const K=N.callback;let ce;"object"==typeof K&&K.handleEvent&&(N.callback=p=>K.handleEvent(p),N.originalDelegate=K);try{N.invoke(N,k,[Ee])}catch(p){ce=p}const q=N.options;return q&&"object"==typeof q&&q.once&&k[h].call(k,Ee.type,N.originalDelegate?N.originalDelegate:N.callback,q),ce};function V(N,k,Ee){if(!(k=k||e.event))return;const K=N||k.target||e,ce=K[de[k.type][Ee?Oe:Me]];if(ce){const q=[];if(1===ce.length){const p=F(ce[0],K,k);p&&q.push(p)}else{const p=ce.slice();for(let J=0;J<p.length&&(!k||!0!==k[He]);J++){const _=F(p[J],K,k);_&&q.push(_)}}if(1===q.length)throw q[0];for(let p=0;p<q.length;p++){const J=q[p];r.nativeScheduleMicroTask(()=>{throw J})}}}const re=function(N){return V(this,N,!1)},Y=function(N){return V(this,N,!0)};function he(N,k){if(!N)return!1;let Ee=!0;k&&void 0!==k.useG&&(Ee=k.useG);const K=k&&k.vh;let ce=!0;k&&void 0!==k.chkDup&&(ce=k.chkDup);let q=!1;k&&void 0!==k.rt&&(q=k.rt);let p=N;for(;p&&!p.hasOwnProperty(l);)p=Ne(p);if(!p&&N[l]&&(p=N),!p||p[O])return!1;const J=k&&k.eventNameToString,_={},x=p[O]=p[l],R=p[z(h)]=p[h],ue=p[z(v)]=p[v],Ce=p[z(g)]=p[g];let U;function ee(a,E){return!pe&&"object"==typeof a&&a?!!a.capture:pe&&E?"boolean"==typeof a?{capture:a,passive:!0}:a?"object"==typeof a&&!1!==a.passive?Object.assign(Object.assign({},a),{passive:!0}):a:{passive:!0}:a}k&&k.prepend&&(U=p[z(k.prepend)]=p[k.prepend]);const t=Ee?function(a){if(!_.isExisting)return x.call(_.target,_.eventName,_.capture?Y:re,_.options)}:function(a){return x.call(_.target,_.eventName,a.invoke,_.options)},o=Ee?function(a){if(!a.isRemoved){const E=de[a.eventName];let L;E&&(L=E[a.capture?Oe:Me]);const D=L&&a.target[L];if(D)for(let y=0;y<D.length;y++)if(D[y]===a){D.splice(y,1),a.isRemoved=!0,0===D.length&&(a.allRemoved=!0,a.target[L]=null);break}}if(a.allRemoved)return R.call(a.target,a.eventName,a.capture?Y:re,a.options)}:function(a){return R.call(a.target,a.eventName,a.invoke,a.options)},S=k&&k.diff?k.diff:function(a,E){const L=typeof E;return"function"===L&&a.callback===E||"object"===L&&a.originalDelegate===E},me=Zone[z("UNPATCHED_EVENTS")],d=e[z("PASSIVE_EVENTS")],m=function(a,E,L,D,y=!1,A=!1){return function(){const Z=this||e;let I=arguments[0];k&&k.transferEventName&&(I=k.transferEventName(I));let Q=arguments[1];if(!Q)return a.apply(this,arguments);if(Xe&&"uncaughtException"===I)return a.apply(this,arguments);let te=!1;if("function"!=typeof Q){if(!Q.handleEvent)return a.apply(this,arguments);te=!0}if(K&&!K(a,Q,Z,arguments))return;const Pe=pe&&!!d&&-1!==d.indexOf(I),n=ee(arguments[2],Pe);if(me)for(let Te=0;Te<me.length;Te++)if(I===me[Te])return Pe?a.call(Z,I,Q,n):a.apply(this,arguments);const s=!!n&&("boolean"==typeof n||n.capture),u=!(!n||"object"!=typeof n)&&n.once,f=Zone.current;let T=de[I];T||(Et(I,J),T=de[I]);const C=T[s?Oe:Me];let j,w=Z[C],ae=!1;if(w){if(ae=!0,ce)for(let Te=0;Te<w.length;Te++)if(S(w[Te],Q))return}else w=Z[C]=[];const se=Z.constructor.name,fe=we[se];fe&&(j=fe[I]),j||(j=se+E+(J?J(I):I)),_.options=n,u&&(_.options.once=!1),_.target=Z,_.capture=s,_.eventName=I,_.isExisting=ae;const oe=Ee?Ae:void 0;oe&&(oe.taskData=_);const ie=f.scheduleEventTask(j,Q,oe,L,D);return _.target=null,oe&&(oe.taskData=null),u&&(n.once=!0),!pe&&"boolean"==typeof ie.options||(ie.options=n),ie.target=Z,ie.capture=s,ie.eventName=I,te&&(ie.originalDelegate=Q),A?w.unshift(ie):w.push(ie),y?Z:void 0}};return p[l]=m(x,H,t,o,q),U&&(p.prependListener=m(U,".prependListener:",function(a){return U.call(_.target,_.eventName,a.invoke,_.options)},o,q,!0)),p[h]=function(){const a=this||e;let E=arguments[0];k&&k.transferEventName&&(E=k.transferEventName(E));const L=arguments[2],D=!!L&&("boolean"==typeof L||L.capture),y=arguments[1];if(!y)return R.apply(this,arguments);if(K&&!K(R,y,a,arguments))return;const A=de[E];let Z;A&&(Z=A[D?Oe:Me]);const I=Z&&a[Z];if(I)for(let Q=0;Q<I.length;Q++){const te=I[Q];if(S(te,y))return I.splice(Q,1),te.isRemoved=!0,0===I.length&&(te.allRemoved=!0,a[Z]=null,"string"==typeof E)&&(a[Ge+"ON_PROPERTY"+E]=null),te.zone.cancelTask(te),q?a:void 0}return R.apply(this,arguments)},p[v]=function(){const a=this||e;let E=arguments[0];k&&k.transferEventName&&(E=k.transferEventName(E));const L=[],D=ut(a,J?J(E):E);for(let y=0;y<D.length;y++){const A=D[y];L.push(A.originalDelegate?A.originalDelegate:A.callback)}return L},p[g]=function(){const a=this||e;let E=arguments[0];if(E){k&&k.transferEventName&&(E=k.transferEventName(E));const L=de[E];if(L){const A=a[L[Me]],Z=a[L[Oe]];if(A){const I=A.slice();for(let Q=0;Q<I.length;Q++){const te=I[Q];this[h].call(this,E,te.originalDelegate?te.originalDelegate:te.callback,te.options)}}if(Z){const I=Z.slice();for(let Q=0;Q<I.length;Q++){const te=I[Q];this[h].call(this,E,te.originalDelegate?te.originalDelegate:te.callback,te.options)}}}}else{const L=Object.keys(a);for(let D=0;D<L.length;D++){const A=Be.exec(L[D]);let Z=A&&A[1];Z&&"removeListener"!==Z&&this[g].call(this,Z)}this[g].call(this,"removeListener")}if(q)return this},be(p[l],x),be(p[h],R),Ce&&be(p[g],Ce),ue&&be(p[v],ue),!0}let $=[];for(let N=0;N<c.length;N++)$[N]=he(c[N],i);return $}function ut(e,r){if(!r){const h=[];for(let v in e){const g=Be.exec(v);let O=g&&g[1];if(O&&(!r||O===r)){const H=e[v];if(H)for(let M=0;M<H.length;M++)h.push(H[M])}}return h}let c=de[r];c||(Et(r),c=de[r]);const i=e[c[Me]],l=e[c[Oe]];return i?l?i.concat(l):i.slice():l?l.slice():[]}function $e(e,r){const c=e.Event;c&&c.prototype&&r.patchMethod(c.prototype,"stopImmediatePropagation",i=>function(l,h){l[He]=!0,i&&i.apply(l,h)})}function gt(e,r,c,i,l){const h=Zone.__symbol__(i);if(r[h])return;const v=r[h]=r[i];r[i]=function(g,O,H){return O&&O.prototype&&l.forEach(function(M){const W=`${c}.${i}::`+M,F=O.prototype;try{if(F.hasOwnProperty(M)){const V=e.ObjectGetOwnPropertyDescriptor(F,M);V&&V.value?(V.value=e.wrapWithCurrentZone(V.value,W),e._redefineProperty(O.prototype,M,V)):F[M]&&(F[M]=e.wrapWithCurrentZone(F[M],W))}else F[M]&&(F[M]=e.wrapWithCurrentZone(F[M],W))}catch(V){}}),v.call(r,g,O,H)},e.attachOriginToPatched(r[i],v)}function Ke(e,r,c){if(!c||0===c.length)return r;const i=c.filter(h=>h.target===e);if(!i||0===i.length)return r;const l=i[0].ignoreProperties;return r.filter(h=>-1===l.indexOf(h))}function it(e,r,c,i){e&&Ye(e,Ke(e,r,c),i)}function Ie(e){return Object.getOwnPropertyNames(e).filter(r=>r.startsWith("on")&&r.length>2).map(r=>r.substring(2))}Zone.__load_patch("util",(e,r,c)=>{const i=Ie(e);c.patchOnProperties=Ye,c.patchMethod=Le,c.bindArguments=tt,c.patchMacroTask=st;const l=r.__symbol__("BLACK_LISTED_EVENTS"),h=r.__symbol__("UNPATCHED_EVENTS");e[h]&&(e[l]=e[h]),e[l]&&(r[l]=r[h]=e[l]),c.patchEventPrototype=$e,c.patchEventTarget=Tt,c.isIEOrEdge=Se,c.ObjectDefineProperty=ve,c.ObjectGetOwnPropertyDescriptor=X,c.ObjectCreate=Ve,c.ArraySlice=ft,c.patchClass=je,c.wrapWithCurrentZone=et,c.filterProperties=Ke,c.attachOriginToPatched=be,c._redefineProperty=Object.defineProperty,c.patchCallbacks=gt,c.getGlobalObjects=()=>({globalSources:we,zoneSymbolEventNames:de,eventNames:i,isBrowser:B,isMix:_e,isNode:Xe,TRUE_STR:Oe,FALSE_STR:Me,ZONE_SYMBOL_PREFIX:Ge,ADD_EVENT_LISTENER_STR:xe,REMOVE_EVENT_LISTENER_STR:Ue})});const ct=z("zoneTask");function De(e,r,c,i){let l=null,h=null;c+=i;const v={};function g(H){const M=H.data;return M.args[0]=function(){return H.invoke.apply(this,arguments)},M.handleId=l.apply(e,M.args),H}function O(H){return h.call(e,H.data.handleId)}l=Le(e,r+=i,H=>function(M,W){if("function"==typeof W[0]){const F={isPeriodic:"Interval"===i,delay:"Timeout"===i||"Interval"===i?W[1]||0:void 0,args:W},V=W[0];W[0]=function(){try{return V.apply(this,arguments)}finally{F.isPeriodic||("number"==typeof F.handleId?delete v[F.handleId]:F.handleId&&(F.handleId[ct]=null))}};const re=We(r,W[0],F,g,O);if(!re)return re;const Y=re.data.handleId;return"number"==typeof Y?v[Y]=re:Y&&(Y[ct]=re),Y&&Y.ref&&Y.unref&&"function"==typeof Y.ref&&"function"==typeof Y.unref&&(re.ref=Y.ref.bind(Y),re.unref=Y.unref.bind(Y)),"number"==typeof Y||Y?Y:re}return H.apply(e,W)}),h=Le(e,c,H=>function(M,W){const F=W[0];let V;"number"==typeof F?V=v[F]:(V=F&&F[ct],V||(V=F)),V&&"string"==typeof V.type?"notScheduled"!==V.state&&(V.cancelFn&&V.data.isPeriodic||0===V.runCount)&&("number"==typeof F?delete v[F]:F&&(F[ct]=null),V.zone.cancelTask(V)):H.apply(e,W)})}Zone.__load_patch("legacy",e=>{const r=e[Zone.__symbol__("legacyPatch")];r&&r()}),Zone.__load_patch("queueMicrotask",(e,r,c)=>{c.patchMethod(e,"queueMicrotask",i=>function(l,h){r.current.scheduleMicroTask("queueMicrotask",h[0])})}),Zone.__load_patch("timers",e=>{const r="set",c="clear";De(e,r,c,"Timeout"),De(e,r,c,"Interval"),De(e,r,c,"Immediate")}),Zone.__load_patch("requestAnimationFrame",e=>{De(e,"request","cancel","AnimationFrame"),De(e,"mozRequest","mozCancel","AnimationFrame"),De(e,"webkitRequest","webkitCancel","AnimationFrame")}),Zone.__load_patch("blocking",(e,r)=>{const c=["alert","prompt","confirm"];for(let i=0;i<c.length;i++)Le(e,c[i],(h,v,g)=>function(O,H){return r.current.run(h,e,H,g)})}),Zone.__load_patch("EventTarget",(e,r,c)=>{(function(e,r){r.patchEventPrototype(e,r)})(e,c),function(e,r){if(Zone[r.symbol("patchEventTarget")])return;const{eventNames:c,zoneSymbolEventNames:i,TRUE_STR:l,FALSE_STR:h,ZONE_SYMBOL_PREFIX:v}=r.getGlobalObjects();for(let O=0;O<c.length;O++){const H=c[O],F=v+(H+h),V=v+(H+l);i[H]={},i[H][h]=F,i[H][l]=V}const g=e.EventTarget;g&&g.prototype&&r.patchEventTarget(e,r,[g&&g.prototype])}(e,c);const i=e.XMLHttpRequestEventTarget;i&&i.prototype&&c.patchEventTarget(e,c,[i.prototype])}),Zone.__load_patch("MutationObserver",(e,r,c)=>{je("MutationObserver"),je("WebKitMutationObserver")}),Zone.__load_patch("IntersectionObserver",(e,r,c)=>{je("IntersectionObserver")}),Zone.__load_patch("FileReader",(e,r,c)=>{je("FileReader")}),Zone.__load_patch("on_property",(e,r,c)=>{!function(e,r){if(Xe&&!_e||Zone[e.symbol("patchEvents")])return;const c=r.__Zone_ignore_on_properties;let i=[];if(B){const l=window;i=i.concat(["Document","SVGElement","Element","HTMLElement","HTMLBodyElement","HTMLMediaElement","HTMLFrameSetElement","HTMLFrameElement","HTMLIFrameElement","HTMLMarqueeElement","Worker"]);const h=function(){try{const e=Ze.navigator.userAgent;if(-1!==e.indexOf("MSIE ")||-1!==e.indexOf("Trident/"))return!0}catch(e){}return!1}()?[{target:l,ignoreProperties:["error"]}]:[];it(l,Ie(l),c&&c.concat(h),Ne(l))}i=i.concat(["XMLHttpRequest","XMLHttpRequestEventTarget","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","WebSocket"]);for(let l=0;l<i.length;l++){const h=r[i[l]];h&&h.prototype&&it(h.prototype,Ie(h.prototype),c)}}(c,e)}),Zone.__load_patch("customElements",(e,r,c)=>{!function(e,r){const{isBrowser:c,isMix:i}=r.getGlobalObjects();(c||i)&&e.customElements&&"customElements"in e&&r.patchCallbacks(r,e.customElements,"customElements","define",["connectedCallback","disconnectedCallback","adoptedCallback","attributeChangedCallback"])}(e,c)}),Zone.__load_patch("XHR",(e,r)=>{!function(H){const M=H.XMLHttpRequest;if(!M)return;const W=M.prototype;let V=W[Je],re=W[Qe];if(!V){const _=H.XMLHttpRequestEventTarget;if(_){const x=_.prototype;V=x[Je],re=x[Qe]}}const Y="readystatechange",he="scheduled";function $(_){const x=_.data,R=x.target;R[h]=!1,R[g]=!1;const ue=R[l];V||(V=R[Je],re=R[Qe]),ue&&re.call(R,Y,ue);const Ce=R[l]=()=>{if(R.readyState===R.DONE)if(!x.aborted&&R[h]&&_.state===he){const ee=R[r.__symbol__("loadfalse")];if(0!==R.status&&ee&&ee.length>0){const ge=_.invoke;_.invoke=function(){const ye=R[r.__symbol__("loadfalse")];for(let ne=0;ne<ye.length;ne++)ye[ne]===_&&ye.splice(ne,1);!x.aborted&&_.state===he&&ge.call(_)},ee.push(_)}else _.invoke()}else!x.aborted&&!1===R[h]&&(R[g]=!0)};return V.call(R,Y,Ce),R[c]||(R[c]=_),p.apply(R,x.args),R[h]=!0,_}function N(){}function k(_){const x=_.data;return x.aborted=!0,J.apply(x.target,x.args)}const Ee=Le(W,"open",()=>function(_,x){return _[i]=0==x[2],_[v]=x[1],Ee.apply(_,x)}),ce=z("fetchTaskAborting"),q=z("fetchTaskScheduling"),p=Le(W,"send",()=>function(_,x){if(!0===r.current[q]||_[i])return p.apply(_,x);{const R={target:_,url:_[v],isPeriodic:!1,args:x,aborted:!1},ue=We("XMLHttpRequest.send",N,R,$,k);_&&!0===_[g]&&!R.aborted&&ue.state===he&&ue.invoke()}}),J=Le(W,"abort",()=>function(_,x){const R=function(_){return _[c]}(_);if(R&&"string"==typeof R.type){if(null==R.cancelFn||R.data&&R.data.aborted)return;R.zone.cancelTask(R)}else if(!0===r.current[ce])return J.apply(_,x)})}(e);const c=z("xhrTask"),i=z("xhrSync"),l=z("xhrListener"),h=z("xhrScheduled"),v=z("xhrURL"),g=z("xhrErrorBeforeScheduled")}),Zone.__load_patch("geolocation",e=>{e.navigator&&e.navigator.geolocation&&function(e,r){const c=e.constructor.name;for(let i=0;i<r.length;i++){const l=r[i],h=e[l];if(h){if(!lt(X(e,l)))continue;e[l]=(g=>{const O=function(){return g.apply(this,tt(arguments,c+"."+l))};return be(O,g),O})(h)}}}(e.navigator.geolocation,["getCurrentPosition","watchPosition"])}),Zone.__load_patch("PromiseRejectionEvent",(e,r)=>{function c(i){return function(l){ut(e,i).forEach(v=>{const g=e.PromiseRejectionEvent;if(g){const O=new g(i,{promise:l.promise,reason:l.rejection});v.invoke(O)}})}}e.PromiseRejectionEvent&&(r[z("unhandledPromiseRejectionHandler")]=c("unhandledrejection"),r[z("rejectionHandledHandler")]=c("rejectionhandled"))})},435:(X,ve,Ne)=>{"use strict";Ne(277),Ne(142)}},X=>{X(X.s=435)}]);
\ No newline at end of file
(()=>{"use strict";var e,_={},d={};function a(e){var n=d[e];if(void 0!==n)return n.exports;var r=d[e]={exports:{}};return _[e](r,r.exports,a),r.exports}a.m=_,e=[],a.O=(n,r,f,l)=>{if(!r){var o=1/0;for(t=0;t<e.length;t++){for(var[r,f,l]=e[t],v=!0,u=0;u<r.length;u++)(!1&l||o>=l)&&Object.keys(a.O).every(b=>a.O[b](r[u]))?r.splice(u--,1):(v=!1,l<o&&(o=l));if(v){e.splice(t--,1);var c=f();void 0!==c&&(n=c)}}return n}l=l||0;for(var t=e.length;t>0&&e[t-1][2]>l;t--)e[t]=e[t-1];e[t]=[r,f,l]},a.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return a.d(n,{a:n}),n},a.d=(e,n)=>{for(var r in n)a.o(n,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},a.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e={666:0};a.O.j=f=>0===e[f];var n=(f,l)=>{var u,c,[t,o,v]=l,s=0;for(u in o)a.o(o,u)&&(a.m[u]=o[u]);if(v)var p=v(a);for(f&&f(l);s<t.length;s++)a.o(e,c=t[s])&&e[c]&&e[c][0](),e[t[s]]=0;return a.O(p)},r=self.webpackChunkapp_a=self.webpackChunkapp_a||[];r.forEach(n.bind(null,0)),r.push=n.bind(null,r.push.bind(r))})()})();
\ No newline at end of file
body{height:100vh;width:100vw;margin:0!important}
\ No newline at end of file
{
"selector": "app-candle",
"settings": {
"config_tabs": {
"general": true,
"chartProp": true
}
}
}
\ No newline at end of file
# See http://help.github.com/ignore-files/ for more about ignoring files.
# compiled output
/dist
/tmp
/out-tsc
# Only exists if Bazel was run
/bazel-out
# dependencies
/node_modules
# profiling files
chrome-profiler-events*.json
# IDEs and editors
/.idea
.project
.classpath
.c9/
*.launch
.settings/
*.sublime-workspace
# IDE - VSCode
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history/*
# misc
/.sass-cache
/connect.lock
/coverage
/libpeerconnection.log
npm-debug.log
yarn-error.log
testem.log
/typings
# System Files
.DS_Store
Thumbs.db
# AppA
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.2.2.
## Development server
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
## Code scaffolding
Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.
## Build
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
## Running unit tests
Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
## Running end-to-end tests
Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
## Further help
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"App-A": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/App-A",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "5mb",
"maximumError": "10mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2mb",
"maximumError": "10mb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"development": {
"buildOptimizer": false,
"optimization": false,
"vendorChunk": true,
"extractLicenses": false,
"sourceMap": true,
"namedChunks": true
}
},
"defaultConfiguration": "production"
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"configurations": {
"production": {
"browserTarget": "App-A:build:production"
},
"development": {
"browserTarget": "App-A:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "App-A:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.min.js"
]
}
}
}
}
},
"defaultProject": "App-A"
}
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
plugins: [
require('karma-jasmine'),
require('karma-chrome-launcher'),
require('karma-jasmine-html-reporter'),
require('karma-coverage'),
require('@angular-devkit/build-angular/plugins/karma')
],
client: {
jasmine: {
// you can add configuration options for Jasmine here
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
// for example, you can disable the random execution with `random: false`
// or set a specific seed with `seed: 4321`
},
clearContext: false // leave Jasmine Spec Runner output visible in browser
},
jasmineHtmlReporter: {
suppressAll: true // removes the duplicated traces
},
coverageReporter: {
dir: require('path').join(__dirname, './coverage/App-A'),
subdir: '.',
reporters: [
{ type: 'html' },
{ type: 'text-summary' }
]
},
reporters: ['progress', 'kjhtml'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false,
restartOnFileChange: true
});
};
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "app-a",
"version": "0.0.0",
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
"private": true,
"dependencies": {
"@angular/animations": "~12.2.0",
"@angular/common": "~12.2.0",
"@angular/compiler": "~12.2.0",
"@angular/core": "~12.2.0",
"@angular/elements": "^12.2.17",
"@angular/forms": "~12.2.0",
"@angular/platform-browser": "~12.2.0",
"@angular/platform-browser-dynamic": "~12.2.0",
"@angular/router": "~12.2.0",
"@ng-select/ng-select": "^6.1.0",
"document-register-element": "^1.7.2",
"echarts": "^5.4.2",
"jquery": "^3.4.1",
"ngx-build-plus": "^14.0.0",
"ngx-chips": "^2.2.1",
"rxjs": "~6.6.0",
"tslib": "^2.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular-devkit/build-angular": "~12.2.2",
"@angular/cli": "~12.2.2",
"@angular/compiler-cli": "~12.2.0",
"@types/jasmine": "~3.8.0",
"@types/jquery": "^3.5.16",
"@types/node": "^12.11.1",
"jasmine-core": "~3.8.0",
"karma": "~6.3.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage": "~2.0.3",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "~1.7.0",
"typescript": "~4.3.5"
}
}
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
const routes: Routes = [];
@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule]
})
export class AppRoutingModule { }
<ng-container *ngIf="pageMode === 'config' && widgetInfo">
<app-design-tab *ngIf="activetab === 'chartProp'" [(widgetInfo)]="widgetInfo" [base_proxy]="base_proxy"
(widgetInfoChange)="widgetInfoChange.emit(widgetInfo)">
</app-design-tab>
</ng-container>
<ng-container *ngIf="pageMode === 'display' && widgetInfo">
<app-chart-display [widgetInfo]="widgetInfo" [base_proxy]="base_proxy"> </app-chart-display>
</ng-container>
\ No newline at end of file
import { TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { AppComponent } from './app.component';
describe('AppComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [
RouterTestingModule
],
declarations: [
AppComponent
],
}).compileComponents();
});
it('should create the app', () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app).toBeTruthy();
});
it(`should have as title 'App-A'`, () => {
const fixture = TestBed.createComponent(AppComponent);
const app = fixture.componentInstance;
expect(app.title).toEqual('App-A');
});
it('should render title', () => {
const fixture = TestBed.createComponent(AppComponent);
fixture.detectChanges();
const compiled = fixture.nativeElement as HTMLElement;
expect(compiled.querySelector('.content span')?.textContent).toContain('App-A app is running!');
});
});
import { Component, EventEmitter, Output, Input } from '@angular/core';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
@Input() widgetInfo: any;
@Output() widgetInfoChange = new EventEmitter();
@Input() pageMode: 'config' | 'display' = 'config';
@Input() activetab: 'chartProp' | 'tools' = 'chartProp';
@Input() base_proxy: string = '';
}
\ No newline at end of file
import { Injector, NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
import { createCustomElement } from '@angular/elements';
import { HttpClientModule } from '@angular/common/http';
import { FormsModule } from '@angular/forms';
import { NgSelectModule } from '@ng-select/ng-select';
import { SwitchInputComponent } from './switch-input/switch-input.component';
import { TagInputModule } from 'ngx-chips';
import { DesignTabComponent } from './chart-config/design-tab/design-tab.component';
import { ChartDisplayComponent } from './chart-display/chart-display.component';
@NgModule({
declarations: [
AppComponent,
SwitchInputComponent,
DesignTabComponent,
ChartDisplayComponent
],
imports: [
BrowserModule,
AppRoutingModule,
HttpClientModule,
FormsModule,
NgSelectModule,
TagInputModule,
],
providers: [],
bootstrap: []
})
export class AppModule {
constructor(private injector: Injector) { }
ngDoBootstrap() {
if (!customElements.get('app-candle')) {
const el = createCustomElement(AppComponent, { injector: this.injector })
customElements.define('app-candle', el);
}
}
}
<div class="general-tab">
<div class="row eachTemplate" [ngClass]="eachTemplate['class']"
*ngFor='let eachTemplate of chartComponentTemplates'>
<div class="col templateLabel">{{eachTemplate.label}}</div>
<div class="col templateContent">
<div class="row m-0">
<ng-container [ngSwitch]="eachTemplate.value">
<ng-container *ngSwitchCase="'placement'">
<ng-container *ngTemplateOutlet="placementTemplate"></ng-container>
</ng-container>
<ng-container *ngSwitchCase="'dataTooltip'">
<ng-container *ngTemplateOutlet="dataTooltipTemplate"></ng-container>
</ng-container>
<ng-container *ngSwitchCase="'dataZooming'">
<ng-container *ngTemplateOutlet="dataZoomingTemplate"></ng-container>
</ng-container>
<ng-container *ngSwitchCase="'visualMap'">
<ng-container *ngTemplateOutlet="visualMapTemplate"></ng-container>
</ng-container>
</ng-container>
</div>
</div>
</div>
</div>
<ng-template #placementTemplate>
<div class="form-group col-md-4">
<label class="control-label"><span>Widget Position</span><span class="color-red">&nbsp;*</span></label>
<ng-select bindValue="value" bindLabel="label" [(ngModel)]="widgetInfo.widgetPosition" placeholder="position"
[clearable]="false"
(ngModelChange)="widgetInfo.w = widgetInfo.widgetPosition === 'flexible' ? 400 : '4';emitChanges()">
<ng-option *ngFor="let eachOption of chartOptions.widgetPosition"
[value]="eachOption.value">{{eachOption.label}}</ng-option>
</ng-select>
</div>
<div class="form-group col-md-2">
<kl-switch-input [(inputModel)]="widgetInfo['background']" [label]="'Background'"
(inputModelChange)="emitChanges()">
</kl-switch-input>
</div>
<div class="form-group col-md-2" *ngIf="widgetInfo.widgetPosition === 'flexible'">
<label class="control-label"><span>Width (px)</span><span class="color-red">&nbsp;*</span></label>
<input type="number" class="form-control mb-2 mr-sm-2" placeholder="Width" [(ngModel)]="widgetInfo.w"
(ngModelChange)="emitChanges()">
</div>
<div class="form-group col-md-2" *ngIf="widgetInfo.widgetPosition !== 'flexible'">
<label class="control-label"><span>Width</span><span class="color-red">&nbsp;*</span></label>
<ng-select bindValue="value" bindLabel="label" [(ngModel)]="widgetInfo.w" (ngModelChange)="emitChanges()"
[items]="chartOptions.colWidth" placeholder="width" [clearable]="false" [dropdownPosition]="'auto'">
</ng-select>
</div>
<div class="form-group col-md-2">
<label class="control-label"><span>Height</span><span class="color-red">&nbsp;*</span></label>
<input type="number" class="form-control mb-2 mr-sm-2" placeholder="Height" [(ngModel)]="widgetInfo.h"
(ngModelChange)="emitChanges()">
</div>
</ng-template>
<ng-template #dataTooltipTemplate>
<ng-container *ngIf="_chartConfig['tooltip']">
<div class="form-group col-md-4">
<kl-switch-input [(inputModel)]="_chartConfig['tooltip']['show']" [label]="'Show Data Tooltip on hover'"
(inputModelChange)="emitChanges()">
</kl-switch-input>
</div>
<ng-container *ngIf="_chartConfig?.tooltip?.show">
<div class="form-group col-md-4">
<label class="control-label"><span>Trigger Type</span></label>
<ng-select bindValue="value" bindLabel="label" [items]="chartOptions.tooltip.triggerTypes"
[(ngModel)]="_chartConfig['tooltip']['trigger']" placeholder="Trigger Type" [clearable]="false"
(ngModelChange)="emitChanges()">
</ng-select>
</div>
<div class="form-group col-md-4">
<label class="control-label"><span>Axis Pointer</span></label>
<ng-select bindValue="value" bindLabel="label" [items]="chartOptions.tooltip.axisPointerTypes"
[(ngModel)]="_chartConfig['tooltip']['axisPointer']['type']" placeholder="Axis Pointer"
[clearable]="false" (ngModelChange)="emitChanges()">
</ng-select>
</div>
<div class="form-group col-md-4">
<label class="control-label d-block">Text color</label>
<ng-container
*ngTemplateOutlet="colorPickerTemplate;context:{inputModel:'color',header: _chartConfig['tooltip']['textStyle']}">
</ng-container>
</div>
<div class="form-group col-md-2">
<label class="control-label d-block">Background color</label>
<ng-container
*ngTemplateOutlet="colorPickerTemplate;context:{inputModel:'backgroundColor',header: _chartConfig['tooltip']}">
</ng-container>
</div>
<div class="form-group col-md-2">
<label class="control-label d-block">Border color</label>
<ng-container
*ngTemplateOutlet="colorPickerTemplate;context:{inputModel:'borderColor',header: _chartConfig['tooltip']}">
</ng-container>
</div>
<div class="form-group col-md-4">
<label class="control-label"><span>Border Size </span></label>
<input type="number" class="form-control" [(ngModel)]="_chartConfig.tooltip.borderWidth">
</div>
</ng-container>
</ng-container>
</ng-template>
<ng-template #visualMapTemplate>
<ng-container *ngIf="_chartConfig?.visualMap">
<div class="form-group col-md-2">
<kl-switch-input [(inputModel)]="_chartConfig.visualMap.show" [label]="'Show'"
(inputModelChange)="emitChanges();">
</kl-switch-input>
</div>
<div class="form-group col-md-2" *ngIf="_chartConfig.visualMap.show">
<label class="control-label">Type</label>
<ng-select bindValue="value" bindLabel="label" [items]="chartOptions.visualMapTypes"
[(ngModel)]="_chartConfig.visualMap.type" placeholder="Type" [clearable]="false"
(ngModelChange)="emitChanges()">
</ng-select>
</div>
<div class="form-group col-md-2"
*ngIf="_chartConfig.visualMap.show && _chartConfig.visualMap.type === 'piecewise'">
<label class="control-label">Out of Range Color</label>
<input type="color" class="form-control" [(ngModel)]="_chartConfig.visualMap['outOfRangeColor']">
</div>
<div class="form-group col-md-6"
*ngIf="_chartConfig.visualMap.show && _chartConfig.visualMap.type === 'piecewise'">
<span class="float-right actionBtn" (click)=addVisualMapRange();><em class="elm-plus"></em>Add Range</span>
</div>
<ng-container *ngIf="_chartConfig.visualMap.show && _chartConfig.visualMap.type !== 'piecewise'">
<div class="col-md-12 row">
<div class="form-group col-md-2">
<label class="control-label"><span>Min</span></label>
<input type="number" name="rowHeight" [(ngModel)]="_chartConfig.visualMap.min"
(ngModelChange)="emitChanges()" class="form-control" placeholder="Enter Min">
</div>
<div class="form-group col-md-2" *ngIf="_chartConfig.visualMap.show">
<label class="control-label"><span>Max</span></label>
<input type="number" name="rowHeight" [(ngModel)]="_chartConfig.visualMap.max"
(ngModelChange)="emitChanges()" class="form-control" placeholder="Enter Max">
</div>
<div class="col-md-6" *ngIf="_chartConfig.visualMap.show">
<label class="control-label">In Range Colors <span class="pl-2"
ngbTooltip="Enter a valid color (string, hexcode or RGB format) and hit enter."
placement="top">
<em class="fa fa-info-circle"></em>
</span></label>
<tag-input [(ngModel)]='_chartConfig.visualMap.inRangeColors' [placeholder]="'Add Colors'" #input
[secondaryPlaceholder]="'Add Colors'" [separatorKeyCodes]="[13]" [modelAsStrings]="true"
[editable]="true" [addOnPaste]="true" [addOnBlur]="true">
</tag-input>
</div>
</div>
</ng-container>
<ng-container *ngIf="_chartConfig.visualMap.show && _chartConfig.visualMap.type === 'piecewise'">
<div class="col-md-12 row" *ngFor="let piece of (_chartConfig.visualMap.pieces || []);let i = index;">
<div class="form-group col-md-2">
<label class="control-label"><span>Min</span></label>
<input type="number" name="rowHeight" [(ngModel)]="piece.gt" class="form-control"
placeholder="Enter Min">
</div>
<div class="form-group col-md-2" *ngIf="_chartConfig.visualMap.show">
<label class="control-label"><span>Max</span></label>
<input type="number" name="rowHeight" [(ngModel)]="piece.lte" class="form-control"
placeholder="Enter Max">
</div>
<div class="form-group col-md-2">
<label class="control-label">Range Color</label>
<input type="color" [(ngModel)]="piece.color" class="form-control">
</div>
<div class="form-group col-md-1">
<em class="fa fa-trash mt-5 mx-4 btn btn-link" (click)="deleteChartLimit(i);">Delete</em>
</div>
</div>
</ng-container>
</ng-container>
</ng-template>
<ng-template #dataZoomingTemplate>
<ng-container *ngIf="_chartConfig['dataZoom']">
<div class="form-group col-md-2">
<kl-switch-input [(inputModel)]="_chartConfig['dataZoom']['insideZoom']" [label]="'Inside Zooming'"
(inputModelChange)="emitChanges()">
</kl-switch-input>
</div>
<div class="form-group col-md-2">
<kl-switch-input [(inputModel)]="_chartConfig['dataZoom']['xAxis']" [label]="'X Axis Zoom Slider'"
(inputModelChange)="emitChanges()">
</kl-switch-input>
</div>
<div class="form-group col-md-2" *ngIf="_chartConfig['dataZoom']['xAxis']">
<label class="control-label">X Axis Zoom Slider Position</label>
<ng-select bindValue="value" bindLabel="label" [items]="chartOptions.dataZoom.xAxisPos"
[(ngModel)]="_chartConfig.dataZoom.xAxisPos" placeholder="Position" [clearable]="false"
(ngModelChange)="emitChanges()">
</ng-select>
</div>
<div class="form-group col-md-2">
<kl-switch-input [(inputModel)]="_chartConfig['dataZoom']['yAxis']" [label]="'Y Axis Zoom Slider'"
(inputModelChange)="emitChanges()">
</kl-switch-input>
</div>
<div class="form-group col-md-2" *ngIf="_chartConfig['dataZoom']['yAxis']">
<label class="control-label">Y Axis Zoom Slider Position</label>
<ng-select bindValue="value" bindLabel="label" [items]="chartOptions.dataZoom.yAxisPos"
[(ngModel)]="_chartConfig.dataZoom.yAxisPos" placeholder="Position" [clearable]="false"
(ngModelChange)="emitChanges()">
</ng-select>
</div>
</ng-container>
</ng-template>
<ng-template #colorPickerTemplate let-inputModel="inputModel" let-header="header">
<input type="color" [(ngModel)]="header[inputModel]" class="form-control">
</ng-template>
\ No newline at end of file
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DesignTabComponent } from './design-tab.component';
describe('DesignTabComponent', () => {
let component: DesignTabComponent;
let fixture: ComponentFixture<DesignTabComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ DesignTabComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(DesignTabComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
@Component({
selector: 'app-design-tab',
templateUrl: './design-tab.component.html',
styleUrls: ['./design-tab.component.scss']
})
export class DesignTabComponent implements OnInit {
@Input() widgetInfo: any;
@Output() widgetInfoChange = new EventEmitter();
@Input() base_proxy: any;
public baseOptions: any = {
visualMap: {
show: false,
inRangeColors: ['#313695', '#4575b4', '#74add1', '#abd9e9', '#e0f3f8',
'#ffffbf', '#fee090', '#fdae61', '#f46d43', '#d73027', '#a50026'],
},
tooltip: {
show: true,
backgroundColor: '#ffffff',
borderColor: '#000000',
borderWidth: 1,
trigger: 'axis',
axisPointer: {
type: 'cross',
},
textStyle: {
color: '#000000',
},
},
dataZoom: {
insideZoom: true,
xAxis: false,
yAxis: false,
yAxisPos: 'left',
xAxisPos: 'top',
},
}
get _chartConfig() {
return this.widgetInfo?.cData?.chartOptions ? this.widgetInfo.cData.chartOptions : this.baseOptions
}
set _chartConfig(value) {
this.widgetInfo.cData.chartOptions = value;
this.widgetInfoChange.emit(this.widgetInfo);
}
public chartComponentTemplates: any = [
{
label: 'Placement',
value: 'placement',
class: 'addYaxisAction'
},
{
label: 'Data Tooltip',
value: 'dataTooltip',
},
{
label: 'Visual Map',
value: 'visualMap',
},
{
label: 'Data Zooming',
value: 'dataZooming',
},
]
public chartOptions = {
widgetPosition: [
{
label: 'Standard',
value: 'standard',
},
{
label: 'Flexible',
value: 'flexible',
},
],
colWidth: [
{
label: '2',
value: '2',
},
{
label: '3',
value: 3,
},
{
label: '4',
value: 4,
},
{
label: '5',
value: 5,
},
{
label: '6',
value: 6,
},
{
label: '7',
value: 7,
},
{
label: '8',
value: 8,
},
{
label: '9',
value: 9,
},
{
label: '10',
value: 10,
},
{
label: '11',
value: 11,
},
{
label: '12',
value: 12,
},
],
dataZoom: {
yAxisPos: [
{ value: 'left', label: 'Left' },
{ value: 'right', label: 'Right' },
],
xAxisPos: [
{ value: 'top', label: 'Top' },
{ value: 'bottom', label: 'Bottom' },
],
},
visualMapTypes: [
{
label: 'Continuous',
value: 'continuous',
},
{
label: 'Piece Wise',
value: 'piecewise',
},
],
tooltip: {
axisPointerTypes: [
{
label: 'Cross',
value: 'cross',
},
{
label: 'Line',
value: 'line',
},
{
label: 'Shadow',
value: 'shadow',
},
{
label: 'None',
value: 'none',
},
],
triggerTypes: [
{
label: 'Item',
value: 'item',
},
{
label: 'Axis',
value: 'axis',
},
],
},
}
constructor() { }
ngOnInit() {
for (const item of ['tooltip', 'dataZoom', 'visualMap']) {
this._chartConfig[item] ??= this.baseOptions[item];
}
}
emitChanges() { }
addVisualMapRange() {
try {
this._chartConfig.visualMap.pieces ??= [];
this._chartConfig.visualMap.pieces.push({ gt: '', lte: '', color: '' });
} catch (error) {
console.log(error);
}
}
deleteChartLimit(index: any) {
try {
if (!this._chartConfig.visualMap.pieces || !this._chartConfig.visualMap.pieces[index]) {
return;
}
this._chartConfig.visualMap.pieces.splice(index, 1);
} catch (error) {
console.log(error);
}
}
isAttributeShow(a: any) {
return true;
}
}
<div #ehartsTemplate *ngIf="widgetInfo" [style.height.px]="widgetInfo.h"></div>
\ No newline at end of file
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ChartDisplayComponent } from './chart-display.component';
describe('ChartDisplayComponent', () => {
let component: ChartDisplayComponent;
let fixture: ComponentFixture<ChartDisplayComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ChartDisplayComponent ]
})
.compileComponents();
});
beforeEach(() => {
fixture = TestBed.createComponent(ChartDisplayComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});
import { HttpClient } from '@angular/common/http';
import { Component, Input, ViewChild } from '@angular/core';
import * as echarts from 'echarts';
@Component({
selector: 'app-chart-display',
templateUrl: './chart-display.component.html',
styleUrls: ['./chart-display.component.scss']
})
export class ChartDisplayComponent {
@Input() widgetInfo: any;
@Input() base_proxy: any;
@ViewChild('ehartsTemplate') ehartsTemplate: any;
public chartInstance: any;
public chartOption: any;
get _chartConfig() {
return this.widgetInfo?.cData?.chartOptions;
}
constructor(private http: HttpClient) { }
ngAfterViewInit() {
setTimeout(() => {
if (this.widgetInfo) {
this.setChartOptions();
}
}, 2000);
}
setChartOptions() {
if (!this.ehartsTemplate) { return; }
this.chartInstance = echarts.init(this.ehartsTemplate.nativeElement);
const url = this.base_proxy + 'widget/preview';
this.http.get<any>(url).subscribe(res => {
const chartOptions = res['option'];
chartOptions['tooltip'] = this._chartConfig.tooltip || { show: false };
if (this._chartConfig && this._chartConfig['dataZoom']) {
chartOptions['dataZoom'] = [];
if (this._chartConfig.dataZoom.insideZoom) {
chartOptions['dataZoom'].push({ type: 'inside' });
}
if (this._chartConfig.dataZoom.xAxis) {
chartOptions['dataZoom'].push({
type: 'slider',
[this._chartConfig.dataZoom.xAxisPos === 'bottom' ? 'bottom' : 'top']: 0,
xAxisIndex: [0],
filterMode: 'none',
});
}
if (this._chartConfig.dataZoom.yAxis) {
chartOptions['dataZoom'].push({
type: 'slider',
top: 'center',
[this._chartConfig.dataZoom.yAxisPos === 'right' ? 'right' : 'left']: this._chartConfig.dataZoom.yAxisPos === 'right' ? 30 : 0,
yAxisIndex: 0,
filterMode: 'none',
});
}
}
const chartConfig = this._chartConfig;
if (chartConfig.visualMap && chartConfig.visualMap.show && chartConfig.visualMap.type === 'piecewise') {
chartOptions['visualMap'] = {
top: 'center',
right: '25',
pieces: chartConfig.visualMap.pieces,
outOfRange: { color: chartConfig.visualMap.outOfRangeColor ? chartConfig.visualMap.outOfRangeColor : '#000000' },
};
} else if (chartConfig.visualMap && chartConfig.visualMap.show && ['', null, undefined, 'continuous'].indexOf(chartConfig.visualMap.continuous) > -1 && chartOptions.series && chartOptions.series.length) {
const dataMin = 0;
const dataMax = 1500;
chartOptions['visualMap'] = {
top: 'center',
right: '25',
calculable: true,
title: ['High', 'Low'],
min: [null, undefined, ''].indexOf(chartConfig.visualMap.min) === -1 ? chartConfig.visualMap.min : Math.floor(dataMin || 0),
max: [null, undefined, ''].indexOf(chartConfig.visualMap.max) === -1 ? chartConfig.visualMap.max : Math.ceil(dataMax || 200),
inRange: {
color: chartConfig.visualMap.inRangeColors && chartConfig.visualMap.inRangeColors.length ? chartConfig.visualMap.inRangeColors : ['#313695', '#4575b4', '#74add1', '#abd9e9', '#e0f3f8', '#ffffbf', '#fee090', '#fdae61', '#f46d43', '#d73027', '#a50026'],
},
};
} else {
delete chartOptions['visualMap'];
}
this.chartInstance.setOption(chartOptions);
});
} catch(error: any) {
console.log(error)
}
}
<ng-container *ngIf="!labelPosition || labelPosition === 'top'">
<div class="mb-2 input-label">{{label}}</div>
<div class="pretty p-switch p-fill">
<input type="checkbox" [checked]="inputModel" name="thresholdShow" [(ngModel)]="inputModel"
(ngModelChange)="inputModelChange.emit(inputModel)">
<div class="state">
<label></label>
</div>
</div>
</ng-container>
<ng-container *ngIf="labelPosition === 'left'">
<span class="pr-2 input-label">{{label}}</span>
<div class="pretty p-switch p-fill">
<input type="checkbox" [checked]="inputModel" name="thresholdShow" [(ngModel)]="inputModel"
(ngModelChange)="inputModelChange.emit(inputModel)">
<div class="state">
<label></label>
</div>
</div>
</ng-container>
<ng-container *ngIf="labelPosition === 'right'">
<div class="pretty p-switch p-fill">
<input type="checkbox" [checked]="inputModel" name="thresholdShow" [(ngModel)]="inputModel"
(ngModelChange)="inputModelChange.emit(inputModel)">
<div class="state">
<label></label>
</div>
</div>
<span class="pl-4 input-label">{{label}}</span>
</ng-container>
\ No newline at end of file
.input-label{
font-family: 'Roboto-Medium', Sans-serif !important;
}
// tslint:disable:component-selector no-input-rename ter-indent ter-arrow-parens align max-line-length no-this-assignment prefer-template no-increment-decrement no-inferrable-types
import { Component, EventEmitter, Input, Output } from '@angular/core';
@Component({
selector: 'kl-switch-input',
templateUrl: './switch-input.component.html',
styleUrls: ['./switch-input.component.scss']
})
export class SwitchInputComponent {
@Input() inputModel: any = false;
@Input() label: any = '';
@Input() labelPosition: any = 'top';
@Input() info: string = '';
@Output() inputModelChange = new EventEmitter<any>();
}
<svg xmlns="http://www.w3.org/2000/svg" width="54" height="66.66899871826172" viewBox="0 0 54 66.669">
<g id="Group_11331" data-name="Group 11331" transform="translate(-818 -47.355)">
<g id="ilens-logo">
<path id="Path_10233" data-name="Path 10233" d="M-.131-.544,52.785,16.738v30.29L-.131,64.717Z" transform="translate(819 49)" fill="#00349a" class="svg-elem-1"></path>
<text id="i" transform="translate(843 94)" fill="#fff" font-size="38" font-family="ProductSans-Bold, Product Sans" font-weight="700" letter-spacing="0.009em"><tspan x="0" y="0">i</tspan></text>
</g>
<path id="Path_10234" data-name="Path 10234" d="M53,47V17.054L0-.453V64.829L53,47" transform="translate(818.5 48.5)" fill="none" stroke="#00349a" stroke-width="1" class="svg-elem-2"></path>
</g>
</svg>
\ No newline at end of file
{ "selector": "app-candle", "settings": { "config_tabs": { "general": true, "chartProp": true } } }
\ No newline at end of file
export const environment = {
production: true
};
// This file can be replaced during build by using the `fileReplacements` array.
// `ng build` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Candle Stick</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
</html>
\ No newline at end of file
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule)
.catch(err => console.error(err));
/**
* This file includes polyfills needed by Angular and is loaded before the app.
* You can add your own extra polyfills to this file.
*
* This file is divided into 2 sections:
* 1. Browser polyfills. These are applied before loading ZoneJS and are sorted by browsers.
* 2. Application imports. Files imported after ZoneJS that should be loaded before your main
* file.
*
* The current setup is for so-called "evergreen" browsers; the last versions of browsers that
* automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
* Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
*
* Learn more in https://angular.io/guide/browser-support
*/
/***************************************************************************************************
* BROWSER POLYFILLS
*/
/**
* IE11 requires the following for NgClass support on SVG elements
*/
// import 'classlist.js'; // Run `npm install --save classlist.js`.
/**
* Web Animations `@angular/platform-browser/animations`
* Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
* Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
*/
// import 'web-animations-js'; // Run `npm install --save web-animations-js`.
/**
* By default, zone.js will patch all possible macroTask and DomEvents
* user can disable parts of macroTask/DomEvents patch by setting following flags
* because those flags need to be set before `zone.js` being loaded, and webpack
* will put import in the top of bundle, so user need to create a separate file
* in this directory (for example: zone-flags.ts), and put the following flags
* into that file, and then add the following code before importing zone.js.
* import './zone-flags';
*
* The flags allowed in zone-flags.ts are listed here.
*
* The following flags will work for all browsers.
*
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
* (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
*
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
* with the following flag, it will bypass `zone.js` patch for IE/Edge
*
* (window as any).__Zone_enable_cross_context_check = true;
*
*/
/***************************************************************************************************
* Zone JS is required by default for Angular itself.
*/
import 'zone.js'; // Included with Angular CLI.
/***************************************************************************************************
* APPLICATION IMPORTS
*/
import 'document-register-element';
/* You can add global styles to this file, and also import other style files */
body {
height: 100vh;
width : 100vw;
margin: 0 !important;
}
\ No newline at end of file
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const require: {
context(path: string, deep?: boolean, filter?: RegExp): {
keys(): string[];
<T>(id: string): T;
};
};
// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
platformBrowserDynamicTesting(),
{ teardown: { destroyAfterEach: true }},
);
// Then we find all the tests.
const context = require.context('./', true, /\.spec\.ts$/);
// And load the modules.
context.keys().map(context);
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/app",
"types": []
},
"files": [
"src/main.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.d.ts"
]
}
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"forceConsistentCasingInFileNames": true,
"strict": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"moduleResolution": "node",
"importHelpers": true,
"target": "es2017",
"module": "es2020",
"lib": [
"es2018",
"dom"
],
"types": ["jquery"]
},
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
}
/* To learn more about this file see: https://angular.io/config/tsconfig. */
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "./out-tsc/spec",
"types": [
"jasmine"
]
},
"files": [
"src/test.ts",
"src/polyfills.ts"
],
"include": [
"src/**/*.spec.ts",
"src/**/*.d.ts"
]
}
{
"plugin_name": "Candle Widget",
"plugin_type": "widget",
"vcs-url": "https://gitlab-pm.knowledgelens.com/bishwadeep.chaudhary/plugin-widget.git",
"branch": "master",
"frontend_base_image": "node:14.16.1",
"environment_variables": {
},
"version": "1.0"
}
.termynal-comment {
color: #4a968f;
font-style: italic;
display: block;
}
.termy {
/* For right to left languages */
direction: ltr;
}
.termy [data-termynal] {
white-space: pre-wrap;
}
a.external-link {
/* For right to left languages */
direction: ltr;
display: inline-block;
}
a.external-link::after {
/* \00A0 is a non-breaking space
to make the mark be on the same line as the link
*/
content: "\00A0[↪]";
}
a.internal-link::after {
/* \00A0 is a non-breaking space
to make the mark be on the same line as the link
*/
content: "\00A0↪";
}
.shadow {
box-shadow: 5px 5px 10px #999;
}
/* Give space to lower icons so Gitter chat doesn't get on top of them */
.md-footer-meta {
padding-bottom: 2em;
}
.user-list {
display: flex;
flex-wrap: wrap;
margin-bottom: 2rem;
}
.user-list-center {
justify-content: space-evenly;
}
.user {
margin: 1em;
min-width: 7em;
}
.user .avatar-wrapper {
width: 80px;
height: 80px;
margin: 10px auto;
overflow: hidden;
border-radius: 50%;
position: relative;
}
.user .avatar-wrapper img {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.user .title {
text-align: center;
}
.user .count {
font-size: 80%;
text-align: center;
}
a.announce-link:link,
a.announce-link:visited {
color: #fff;
}
a.announce-link:hover {
color: var(--md-accent-fg-color);
}
.announce-wrapper {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
.announce-wrapper div.item {
display: none;
}
.announce-wrapper .sponsor-badge {
display: block;
position: absolute;
top: -10px;
right: 0;
font-size: 0.5rem;
color: #999;
background-color: #666;
border-radius: 10px;
padding: 0 10px;
z-index: 10;
}
.announce-wrapper .sponsor-image {
display: block;
border-radius: 20px;
}
.announce-wrapper>div {
min-height: 40px;
display: flex;
align-items: center;
}
.twitter {
color: #00acee;
}
/* Right to left languages */
code {
direction: ltr;
display: inline-block;
}
.md-content__inner h1 {
direction: ltr !important;
}
.illustration {
margin-top: 2em;
margin-bottom: 2em;
}
/* Screenshots */
/*
Simulate a browser window frame.
Inspired by Termynal's CSS tricks with modifications
*/
.screenshot {
display: block;
background-color: #d3e0de;
border-radius: 4px;
padding: 45px 5px 5px;
position: relative;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.screenshot img {
display: block;
border-radius: 2px;
}
.screenshot:before {
content: '';
position: absolute;
top: 15px;
left: 15px;
display: inline-block;
width: 15px;
height: 15px;
border-radius: 50%;
/* A little hack to display the window buttons in one pseudo element. */
background: #d9515d;
-webkit-box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
box-shadow: 25px 0 0 #f4c025, 50px 0 0 #3ec930;
}
\ No newline at end of file
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9958 1750" width="9958" height="1750"><defs><linearGradient id="P" gradientUnits="userSpaceOnUse"/><linearGradient id="g1" x1="-727.1" y1="855.7" x2="3090.3" y2="911" href="#P"><stop stop-color="#0069b5"/><stop offset=".3" stop-color="#046fb4"/><stop offset=".5" stop-color="#1589ad"/><stop offset=".7" stop-color="#2eb0a2"/><stop offset="1" stop-color="#33b6a0"/></linearGradient><linearGradient id="g2" x1="-555.8" y1="822.6" x2="3263.7" y2="877.9" href="#P"><stop stop-color="#0069b5"/><stop offset=".3" stop-color="#046fb4"/><stop offset=".5" stop-color="#1589ad"/><stop offset=".7" stop-color="#2eb0a2"/><stop offset="1" stop-color="#33b6a0"/></linearGradient><linearGradient id="g3" x1="-387.1" y1="809" x2="3412.7" y2="878.3" href="#P"><stop stop-color="#0069b5"/><stop offset=".3" stop-color="#046fb4"/><stop offset=".5" stop-color="#1589ad"/><stop offset=".7" stop-color="#2eb0a2"/><stop offset="1" stop-color="#33b6a0"/></linearGradient><linearGradient id="g4" x1="-874.2" y1="841.1" x2="2925.9" y2="910.4" href="#P"><stop stop-color="#0069b5"/><stop offset=".3" stop-color="#046fb4"/><stop offset=".5" stop-color="#1589ad"/><stop offset=".7" stop-color="#2eb0a2"/><stop offset="1" stop-color="#33b6a0"/></linearGradient></defs><style>tspan{white-space:pre}.a{fill:url(#g1)}.b{fill:url(#g2)}.c{fill:url(#g3)}.d{fill:url(#g4)}.e{font-size: 35px;fill: #ffffff;font-weight: 400;font-family: "Roboto-Regular", "Roboto"}.f{font-size: 10px;fill: #ffffff;font-weight: 400;font-family: "Roboto-Regular", "Roboto"}</style><path class="a" d="m1122.1 489.8c-15.6-11.8-31.1-24.3-47.8-35.3-26-17.5-53.5-32.8-82.1-45.7-28.6-12.9-58.2-23.2-88.6-31-30.4-7.8-61.4-13-92.6-15.5-31.3-2.5-62.7-2.3-93.9 0.5-26.2 2.2-52.1 6.4-77.6 12.4-25.5 6.1-50.5 14.1-74.8 23.9-24.3 9.9-47.9 21.5-70.4 34.9-22.6 13.3-44.1 28.4-64.4 45-25.1 19.7-48.2 41.6-69.2 65.7-20.9 24-39.6 49.9-55.6 77.4-16.1 27.6-29.5 56.6-40.1 86.6-10.6 30.1-18.4 61-23.2 92.6-6.4 37-8.7 74.7-6.7 112.3 2 37.6 8.2 74.9 18.5 111.1 10.4 36.2 24.8 71.1 42.9 104.1 18.2 32.9 40 63.7 65.1 91.8 15.7 18.4 32.6 35.6 50.8 51.4 18.2 15.9 37.5 30.4 57.8 43.4 20.3 13 41.6 24.5 63.6 34.4 22 9.8 44.7 18.1 67.9 24.6q22 6.3 44.4 10.7 22.4 4.3 45.1 6.6 22.7 2.3 45.6 2.5 22.8 0.2 45.5-1.7 24.3-1.7 48.3-5.7 24-4.1 47.4-10.5 23.5-6.4 46.2-15 22.8-8.7 44.5-19.5 18.6-9.7 36.3-20.7 17.8-11 34.7-23.3 16.9-12.3 32.8-25.8 15.9-13.6 30.8-28.2 169.7-163.6 340.2-326.2c116.4-111.1 233-221.3 349.6-332.2 13.2-13 27.2-25.1 42-36.3 14.8-11.1 30.2-21.3 46.3-30.5 16.1-9.1 32.7-17.2 49.8-24.3 17.2-7 34.7-12.9 52.6-17.6 34.2-9.8 69.5-15.2 105-16.1 35.6-0.9 71.1 2.7 105.8 10.7 34.6 8 68.1 20.4 99.6 36.8 31.6 16.4 60.9 36.7 87.3 60.5 13.7 11.6 26.5 24 38.5 37.3 12 13.2 23.1 27.3 33.3 42 10.1 14.7 19.3 30.1 27.4 46.1 8.1 15.9 15.1 32.3 21 49.2 6.2 17.5 11.2 35.3 14.9 53.4 3.8 18.2 6.3 36.5 7.7 55 1.3 18.4 1.3 37 0.2 55.4-1.2 18.5-3.6 36.9-7.2 55-7.5 40.9-21.1 80.4-40.5 117.1-19.4 36.8-44.2 70.4-73.7 99.6-29.5 29.3-63.3 53.9-100.1 72.9-36.9 19.1-76.5 32.5-117.4 39.6-28.6 5.2-57.6 7.2-86.6 6-29-1.3-57.8-5.8-85.7-13.6-28-7.7-55-18.5-80.6-32.3-25.5-13.7-49.4-30.3-71.3-49.4q-2.7-2.3-5.3-4.7-2.6-2.5-5-5-2.5-2.5-4.9-5.2-2.4-2.6-4.6-5.3c2 1.4 4.1 2.6 6 4.1 13.5 10.9 27.7 20.8 42.5 29.7 14.9 8.9 30.3 16.7 46.2 23.5 15.9 6.7 32.3 12.4 49 16.8 16.7 4.5 33.7 7.9 50.9 10 26.3 3.9 52.9 5 79.5 3.1 26.5-1.8 52.8-6.6 78.3-14.1 25.5-7.5 50.1-17.8 73.4-30.7 23.2-12.8 45-28.2 65-45.8 50-42.4 87.3-97.8 107.9-160.1 20.5-62.3 23.5-129 8.5-192.8-15-63.9-47.3-122.4-93.4-169-46-46.7-104.1-79.7-167.8-95.4-27.6-7.2-56.1-10.7-84.6-10.6-28.6 0.2-57 4-84.5 11.5-27.6 7.4-54.1 18.4-78.8 32.7-24.8 14.3-47.5 31.7-67.8 51.8-88.2 83.5-173.3 170.8-260.5 254.7q-217.4 212.5-436.6 423.7-19.5 19.1-40.6 36.5-21.2 17.4-43.7 32.9-22.6 15.4-46.4 28.8-23.8 13.5-48.7 24.8-20.4 8.9-41.3 16.3-20.9 7.5-42.4 13.3-21.4 5.9-43.3 10.1-21.8 4.2-43.8 6.8-13 1.6-26 2.7-13 1.1-26 1.6-13.1 0.6-26.1 0.6-13.1 0.1-26.1-0.4-26.7-1-53.1-4.5-26.4-3.6-52.4-9.6-26-6-51.2-14.5-25.3-8.4-49.7-19.2c-29.7-12.7-58.3-27.8-85.6-45.1-27.2-17.3-53-36.8-77.1-58.2-24.2-21.5-46.5-44.9-66.8-69.9-20.4-25.1-38.7-51.8-54.7-79.8-9.6-16.5-18.3-33.5-26.1-50.8-7.9-17.4-14.9-35.1-21-53.1-6.2-18.1-11.4-36.4-15.7-55-4.3-18.5-7.7-37.3-10.2-56.2q-2.2-15.7-3.5-31.6-1.3-15.8-1.8-31.7-0.4-15.9 0.1-31.8 0.4-15.9 1.8-31.8c2.7-34.8 8.6-69.4 17.5-103.2 9-33.8 21.1-66.8 36.1-98.4 15-31.6 32.8-61.8 53.3-90.2 20.4-28.4 43.4-54.8 68.7-79 28.6-28 60-52.9 93.8-74.3 33.8-21.4 69.8-39.2 107.3-53 37.6-13.9 76.5-23.7 116.1-29.4 39.6-5.6 79.7-7.1 119.6-4.4 26.7 1.7 53.3 5.3 79.5 10.9 26.2 5.6 51.9 13.1 77 22.5 25.1 9.4 49.5 20.6 72.9 33.6 23.5 13 45.9 27.7 67.2 43.9q7.1 5.4 14 10.9 6.9 5.6 13.6 11.4 6.7 5.9 13.2 11.9 6.5 6.1 12.8 12.4c4.1 4.2 5.4 4.4 6.1 8.2z"/><path class="b" d="m1727.4 1299.1l14.7 10.8c26.7 21.1 55.4 39.7 85.6 55.6 30.2 15.8 61.8 28.8 94.4 38.8 32.6 10 66 17 99.9 20.8 33.9 3.8 68.1 4.4 102.1 1.9 18.5-1.5 36.9-3.8 55.1-7.2 18.2-3.3 36.3-7.6 54.1-12.8 17.8-5.2 35.3-11.4 52.4-18.4 17.1-7 33.9-15 50.2-23.8q18.8-9.7 36.7-20.9 17.9-11.3 34.8-24 17-12.6 32.8-26.7 15.8-14 30.4-29.3c45.2-47 81.1-102.2 105.7-162.5 24.7-60.4 37.6-124.9 38.2-190.1 0.6-65.2-11.2-130-34.7-190.8-23.6-60.8-58.5-116.6-102.8-164.4-17.8-19.6-37.1-37.7-57.8-54.2-20.6-16.5-42.6-31.3-65.7-44.2-23.1-12.9-47.2-23.9-72.1-32.9-24.9-9-50.4-16-76.4-20.8q-19.7-3.9-39.7-6.3-20-2.3-40.1-3-20.1-0.8-40.2 0.1-20 0.9-40 3.5-23.7 2.6-47 7.5-23.2 5-46 12.2-22.7 7.2-44.5 16.6-21.9 9.3-42.8 20.8-15.8 9.1-31.1 19.3-15.2 10.1-29.7 21.2-14.5 11-28.3 23-13.8 12-26.8 24.9l-607.6 581c-34.2 32.6-68.5 65.2-103.9 96.6-35 30.6-74.7 55.4-117.5 73.4-42.9 18-88.4 28.9-134.8 32.4-46.3 3.5-93-0.6-138-12-45.1-11.4-88.1-30-127.2-55.2-19.8-12.1-38.5-26-56-41.4-17.4-15.4-33.5-32.3-48-50.4-14.6-18.2-27.5-37.6-38.7-58-11.2-20.4-20.6-41.7-28.1-63.7-12.5-33.3-20.5-68.1-24-103.5-3.4-35.4-2.3-71.1 3.5-106.2 5.8-35.1 16.1-69.3 30.7-101.7 14.6-32.4 33.3-62.8 55.8-90.4 16.1-20 34-38.4 53.5-55.1 19.5-16.7 40.5-31.5 62.8-44.2 22.3-12.8 45.7-23.4 69.9-31.8 24.3-8.3 49.3-14.4 74.7-18.1q13.5-1.9 27.1-2.8 13.6-0.9 27.2-0.9 13.6 0 27.2 0.9 13.6 0.9 27.2 2.8c19.6 2.5 39 6.6 58.1 12.2 19 5.5 37.6 12.5 55.6 20.9 17.9 8.4 35.2 18.2 51.7 29.2 16.5 11 32.1 23.3 46.7 36.7q1.5 1.3 2.9 2.7 1.3 1.3 2.6 2.8 1.3 1.5 2.5 3 1.2 1.6 2.2 3.2c-11.3-7.9-22.5-15.5-34.1-23.9-35.3-23.2-74.2-40.3-115.1-50.7-40.9-10.4-83.3-13.9-125.4-10.4-42 3.5-83.2 14-121.8 31.1-38.6 17-74.1 40.4-105.1 69.1-36.1 33.7-64.8 74.5-84.5 119.9-19.6 45.3-29.6 94.2-29.4 143.6 0.2 49.4 10.5 98.2 30.5 143.4 19.9 45.2 49 85.8 85.3 119.3 12.3 11.5 25.4 22.1 39.2 31.6 13.9 9.5 28.5 17.9 43.7 25.2 15.2 7.2 30.9 13.3 47 18.1 16.1 4.8 32.6 8.4 49.3 10.7 24.4 4.1 49.3 5.6 74.1 4.3 24.8-1.3 49.3-5.3 73.2-12 23.9-6.7 47-16 68.8-27.8 21.9-11.7 42.4-25.9 61.1-42.2 17.4-15.5 33.7-31 50-46.5q302.4-295.1 604.6-590.2c29.2-28.4 58.4-56.7 89.3-83.3 19.6-17.1 40.4-32.9 62.1-47.2 21.7-14.3 44.3-27.2 67.7-38.5 23.4-11.3 47.6-21 72.3-29.2 24.7-8.1 49.9-14.5 75.4-19.3q19.7-3.8 39.5-6.4 19.9-2.6 39.8-3.9 20-1.3 40-1.4 20 0 39.9 1.2c63.5 4.6 125.9 19.3 184.7 43.7 58.9 24.3 113.5 57.8 161.7 99.4 48.2 41.5 89.5 90.5 122.3 145.1 32.8 54.6 56.7 114.1 70.7 176.2 16.3 71.3 19.1 145.1 8.1 217.5-11.1 72.4-35.6 142.1-72.5 205.3-36.8 63.3-85.3 119-142.8 164.3-57.5 45.3-123.1 79.4-193.2 100.4-42.7 12.8-86.7 20.4-131.2 22.7-44.5 2.4-89.1-0.7-132.9-9-43.7-8.3-86.4-21.8-126.9-40.3-40.5-18.4-78.7-41.7-113.7-69.3q-3.9-2.9-7.7-5.9-3.8-3-7.4-6.1-3.7-3.2-7.3-6.4-3.6-3.2-7.1-6.6c-9.5-9.3-14-14.4-20.9-21.7z"/><path class="c" d="m894.2 709.1c-8.4-5-19.2-10.9-27.8-15.5-11.7-6.3-24-11.6-36.7-15.8-12.7-4.2-25.7-7.3-38.9-9.2-13.2-1.9-26.6-2.7-39.9-2.3-13.4 0.4-26.7 1.9-39.8 4.6-22.9 4.5-45 12.6-65.5 24.1-20.4 11.4-38.9 26-54.7 43.2-15.9 17.3-28.9 36.9-38.6 58.2-9.7 21.3-15.9 44-18.5 67.3-2.9 25.4-1.2 51.1 5.1 75.9 6.3 24.7 17.1 48.2 31.8 69.1 14.7 20.9 33.1 38.9 54.3 53.2 21.2 14.4 44.8 24.7 69.7 30.5 16.1 4.1 32.6 6.1 49.2 5.9 16.5-0.2 33-2.4 49-6.8 16-4.4 31.4-10.8 45.7-19.1 14.4-8.2 27.6-18.3 39.4-30 79.2-76.1 156.5-154.4 235.1-231.4q184.1-180.5 368.7-360.5c43.5-42.4 87.3-84.7 132-125.9q12.1-10.8 24.7-21 12.6-10.2 25.7-19.7 13.1-9.5 26.7-18.3 13.6-8.8 27.6-17 24.6-14.7 50.2-27.6 25.7-12.9 52.3-23.8 26.5-10.8 53.8-19.7 27.3-8.8 55.2-15.5 27-6.7 54.5-11.3 27.5-4.5 55.2-7 27.7-2.4 55.5-2.7 27.9-0.3 55.6 1.5c22.8 1.5 45.5 4.1 68.1 7.7 22.5 3.5 44.9 8.1 67 13.7 22.2 5.6 44 12.3 65.5 19.9 21.6 7.6 42.7 16.2 63.5 25.7q21.6 9.8 42.5 21 21 11.3 41.1 23.8 20.2 12.5 39.5 26.4 19.4 13.8 37.7 28.8c29.9 23.9 57.8 50.2 83.6 78.6 25.7 28.3 49.1 58.7 70 90.7 21 32.1 39.3 65.7 54.9 100.7 15.6 34.9 28.4 71.1 38.3 108q8.2 29.2 14 58.9 5.8 29.7 9.1 59.8 3.4 30.1 4.4 60.3 0.9 30.3-0.6 60.5c-2.1 32.5-6.2 64.9-12.5 96.9-6.3 32-14.7 63.6-25.1 94.5-10.3 30.9-22.7 61.1-37 90.4-14.4 29.3-30.6 57.7-48.6 84.9q-8.2 12.2-17 24-8.7 11.9-17.8 23.4-9.2 11.6-18.8 22.8-9.5 11.2-19.5 22-20.2 21.6-42 41.5-21.9 19.9-45.3 38-23.4 18-48.2 34.1-24.9 16.1-50.9 30.1-25.3 13.9-51.6 25.6-26.3 11.7-53.6 21.2-27.2 9.5-55.1 16.7-27.9 7.2-56.4 12-22.7 3.9-45.7 6.3-23 2.5-46.1 3.5-23.1 1-46.2 0.6-23.1-0.5-46.2-2.3c-23.6-1.8-47.2-4.9-70.5-9.2-23.3-4.2-46.5-9.7-69.2-16.4-22.8-6.7-45.2-14.6-67.1-23.6-22-9-43.4-19.2-64.3-30.5q-22.9-14.3-45-29.7-22.1-15.4-43.5-31.9-21.3-16.4-41.8-33.9-20.6-17.4-40.2-35.9c2.1 1.6 4.1 3.2 6.3 4.9q15.4 12.8 31.6 24.8 16.1 11.9 32.8 23 16.8 11 34.2 21 17.4 10 35.3 19.1 25.8 13.2 52.6 24.2 26.8 11 54.4 19.7 27.7 8.7 55.9 15 28.3 6.3 57 10.2 14.5 2 29.1 3.3 14.5 1.4 29.1 2.2 14.6 0.8 29.2 1 14.7 0.1 29.3-0.3 19.8-0.6 39.5-2.3 19.8-1.8 39.4-4.7 19.6-2.9 39-6.9 19.5-4 38.6-9.2 22.3-5.9 44.1-13.4 21.9-7.4 43.2-16.4 21.2-8.9 41.8-19.3 20.6-10.4 40.4-22.2 19.8-11.9 38.6-25 18.9-13.1 36.9-27.4 17.9-14.3 34.9-29.8 17-15.5 32.8-32.1c22.1-22.9 42.4-47.3 60.9-73.1 18.5-25.8 35.1-53 49.6-81.2 14.6-28.2 27.1-57.4 37.4-87.4 10.4-30 18.5-60.7 24.4-91.9q4.4-21.8 7.3-43.7 2.8-22 4.1-44.2 1.2-22.1 0.9-44.3-0.4-22.2-2.4-44.2c-2.9-37.5-9.2-74.6-18.5-111-9.4-36.4-21.8-71.9-37.3-106.2-15.5-34.2-33.8-67.1-54.9-98.2-21.1-31.1-44.8-60.3-71-87.3q-12.8-13.6-26.4-26.3-13.7-12.7-28-24.6-14.4-11.9-29.5-22.9-15-11-30.7-21.1c-53.7-34.4-112.2-60.8-173.6-78.3-61.4-17.5-125-25.8-188.9-24.9-63.8 1-127.1 11.3-187.9 30.6-60.9 19.3-118.6 47.4-171.3 83.5q-14.4 10.5-28.4 21.5-14 11-27.6 22.5-13.6 11.5-26.8 23.5-13.1 12.1-25.9 24.5l-581.6 537.5q-55.1 51.6-111.1 101.9c-10.4 9.5-21.6 18.1-33.4 25.8-11.8 7.7-24.2 14.4-37.1 20.1-12.9 5.6-26.3 10.2-39.9 13.7-13.7 3.5-27.6 5.9-41.6 7.1-50.2 6-101-2.6-146.4-24.8-45.4-22.1-83.4-56.9-109.5-100.1-26.2-43.3-39.2-93.1-37.7-143.6 1.5-50.5 17.5-99.5 46.2-141.1 9.2-13.3 19.7-25.7 31.4-36.9 11.7-11.2 24.5-21.2 38.3-29.8 13.7-8.7 28.2-15.9 43.4-21.7 15.1-5.7 30.8-9.9 46.8-12.5 16.7-3.2 33.7-4.5 50.7-4.1 17 0.5 33.9 2.8 50.4 6.9 16.5 4.1 32.5 10 47.7 17.5 15.2 7.6 29.6 16.7 42.9 27.3 2.6 2.2 4.9 4.7 7.4 7.2z"/><path class="d" d="m1949.2 1075.5q7.5 5.2 15.3 9.9 7.8 4.6 15.9 8.8 8.1 4.2 16.4 7.8 8.3 3.7 16.8 6.9c18.7 7.1 38.3 11.6 58.1 13.5 19.9 1.9 40 1.1 59.7-2.3 19.6-3.5 38.8-9.6 56.8-18.1 18.1-8.6 34.9-19.5 50-32.6 23.5-18.9 42.7-42.5 56.4-69.4 13.7-26.8 21.5-56.3 22.9-86.4 1.5-30.1-3.5-60.2-14.6-88.2-11.1-28.1-28-53.4-49.6-74.4-13.7-14.3-29.5-26.5-46.9-36.1-17.3-9.5-36.1-16.5-55.5-20.4-19.4-4-39.3-5.1-59.1-3.1-19.7 1.9-39 6.8-57.3 14.5q-9.2 3.4-17.9 7.8-8.8 4.4-17 9.7-8.3 5.3-15.9 11.5-7.6 6.2-14.6 13.1-209.3 206.3-419.3 412.2-135.1 133.1-271.6 265.1-20.2 20-41.8 38.5-21.6 18.5-44.5 35.4-22.9 17-46.9 32.2-24.1 15.2-49.1 28.7-27.9 14.7-57 27.1-29 12.3-59 22.2-30 9.9-60.7 17.3-30.7 7.4-61.9 12.3-24.6 3.8-49.4 5.9-24.8 2.1-49.7 2.6-25 0.4-49.8-0.9-24.9-1.2-49.7-4.2c-47.9-5.9-95.2-16.4-141.1-31.3-46-14.9-90.4-34.2-132.6-57.5-42.3-23.4-82.2-50.8-119.3-81.8-37-31-71-65.4-101.5-102.9-15.8-19.5-30.5-39.8-44.2-60.8-13.7-21-26.3-42.7-37.8-65.1-11.4-22.3-21.7-45.2-30.8-68.6-9.1-23.4-16.9-47.2-23.5-71.4q-8.4-30-14.2-60.5-5.9-30.6-9.2-61.5-3.3-30.9-4.1-62-0.7-31.1 1.1-62.2c3.4-54.9 13.1-109.3 28.7-162.1 15.7-52.8 37.3-103.7 64.4-151.6 27-48 59.4-92.7 96.6-133.4 37.1-40.7 78.7-77.1 124-108.4 33-23.2 68-43.5 104.5-60.7 36.6-17.1 74.5-31.2 113.4-41.9 38.9-10.8 78.7-18.1 118.9-22.1 40.1-4 80.6-4.5 120.8-1.6 23.4 1.5 46.7 4.2 69.8 8 23.1 3.9 46 8.9 68.6 15.1 22.6 6.2 44.9 13.5 66.7 22 21.8 8.5 43.2 18.1 64.1 28.7q24.6 14.9 48.5 31.1 23.8 16.1 46.8 33.5 23 17.3 45.1 35.8 22 18.6 43.1 38.2c-2-1.4-4.1-2.6-5.9-4.2q-10.9-9.4-22.4-18.3-11.4-8.9-23.2-17.3-11.8-8.3-24-16.1-12.2-7.8-24.8-15-17.9-10.6-36.5-20.1-18.5-9.6-37.6-18-19-8.5-38.5-15.8-19.5-7.4-39.4-13.6-17.3-5.5-34.9-9.9-17.6-4.4-35.5-7.8-17.8-3.5-35.8-5.8-18-2.4-36.1-3.7c-31.1-2-63.4-3-94.9-2q-18.6 0.8-37.2 2.7-18.5 1.9-36.9 4.8-18.4 3-36.6 7-18.2 3.9-36.2 9-19.4 5.2-38.4 11.5-19.1 6.4-37.7 13.9-18.6 7.5-36.8 16.2-18.1 8.6-35.7 18.3-10.4 5.8-20.5 11.9-10.2 6.1-20.1 12.6-10 6.5-19.7 13.3-9.7 6.8-19.2 13.9-10.3 8-20.3 16.3-10.1 8.3-19.8 16.9-9.7 8.6-19.1 17.6-9.4 9-18.5 18.3-6.2 6.4-12.2 12.9-6 6.5-11.8 13.2-5.9 6.7-11.5 13.5-5.6 6.9-11.1 13.9c-16.2 20.6-31.2 42.2-44.9 64.6-13.6 22.4-26 45.6-36.9 69.5-10.9 23.8-20.3 48.3-28.3 73.4-8 25-14.5 50.4-19.4 76.2q-4.3 21.2-7 42.7-2.8 21.5-4.1 43.1-1.3 21.7-1.1 43.3 0.2 21.7 2 43.3c4.2 55.7 15.5 110.7 33.7 163.5 18.1 52.9 43 103.2 73.9 149.7 30.9 46.5 67.7 88.9 109.4 126.2 41.6 37.2 87.9 68.9 137.7 94.4q24.6 12.6 50.2 23 25.6 10.4 52 18.6 26.4 8.1 53.4 14 27 5.8 54.4 9.3 14.4 2 28.9 3.3 14.5 1.3 29 2 14.6 0.7 29.1 0.7 14.5 0 29.1-0.6 24.3-1.1 48.5-4.1 24.3-2.9 48.2-7.7 23.9-4.8 47.4-11.3 23.5-6.6 46.4-14.9c21.2-7.8 42-16.7 62.4-26.6 20.3-9.9 40.1-20.9 59.3-32.8 19.2-11.9 37.8-24.9 55.6-38.7 17.9-13.8 35.1-28.6 51.4-44.2q204.5-189.8 409-378.8 155.3-143.6 312-286.7c21.8-19.2 46.6-34.7 73.4-46 26.8-11.3 55.2-18.2 84.1-20.5 29-2.3 58.1 0.1 86.3 7.1 28.3 7 55.1 18.4 79.7 34 15 9.2 29 20 41.7 32.1 12.7 12.1 24.2 25.5 34.1 40 10 14.5 18.4 30 25.2 46.3 6.7 16.2 11.8 33.1 15 50.4 3.9 17.3 5.9 35.1 5.9 52.8 0.1 17.8-1.7 35.5-5.5 52.9-3.7 17.4-9.3 34.3-16.7 50.5-7.4 16.2-16.5 31.5-27.2 45.7-11.7 16.8-25.4 32-40.9 45.3-15.5 13.2-32.6 24.5-51 33.5-18.3 8.9-37.7 15.5-57.7 19.6-20 4-40.5 5.5-60.8 4.4-13.4-0.3-26.8-1.9-39.9-4.5-13.1-2.7-26-6.5-38.5-11.3-12.4-4.9-24.5-10.8-36-17.7-11.4-7-22.3-14.9-32.4-23.6-2.4-2.5-4.9-5-7.6-7.4z"/></svg>
\ No newline at end of file
# Candle Docs File inside a Directory
![blue fac.png](../assets/blue%20fac.png)
\ No newline at end of file
# Candle Docs File on the docs level
![blue fac.png](assets/blue fac.png)
\ No newline at end of file
site_name: "User Guide"
theme:
name: material
favicon: assets/logos/favicon.ico
nav_style: dark
navigation_depth: 4
collapse_navigation: True
font:
code: Roboto Mono
text: Roboto
logo: assets/logos/logo-full-4x.png
palette:
- scheme: default
primary: black
accent: indigo
features:
- search.suggest
- search.highlight
- content.tabs.link
- navigation.tracking
- navigation.top
- navigation.sections
- navigation.tabs
- navigation.tabs.sticky
- navigation.instant
- toc.follow
- navigation.indexes
extra:
consent:
title: Cookie consent
description: >-
We use cookies to recognize your repeated visits and preferences, as well
as to measure the effectiveness of our documentation and whether users
find what they're searching for. With your consent, you're helping us to
make our documentation better.
copyright: This document is proprietary to UnifyTwin. No part of it shall be reproduced or transmitted in any form, by any means (electronic, photocopying, recording, or otherwise) without prior consent from UnifyTwin.<br>Copyright &copy 2022-<script>document.write(new Date().getFullYear())</script> UnifyTwin
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.superfences
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.tabbed:
alternate_style: true
- toc:
permalink: true
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.tasklist:
custom_checkbox: true
plugins:
- search
mkdocs-material>=9.2.5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment