@petal-nexus/toolkit 0.2.5 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2145) hide show
  1. package/CHANGELOG.md +82 -3
  2. package/README.md +2 -2
  3. package/dist/charts/core/FinancialChart/FinancialChart.d.ts +24 -7
  4. package/dist/charts/core/FinancialChart/index.d.ts +4 -2
  5. package/dist/charts/core/FinancialChart/presets.d.ts +29 -0
  6. package/dist/charts/core/FinancialChart/types.d.ts +81 -10
  7. package/dist/charts/core/TimeSeriesChart/TimeSeriesChart.d.ts +2 -2
  8. package/dist/charts/core/TimeSeriesChart/index.d.ts +1 -1
  9. package/dist/charts/core/index.d.ts +2 -2
  10. package/dist/components/DrawingToolbar.d.ts +32 -0
  11. package/dist/components/ObjectTreePanel.d.ts +28 -0
  12. package/dist/components/PropertiesPanel.d.ts +17 -0
  13. package/dist/components/index.d.ts +9 -0
  14. package/dist/index.d.ts +1 -1
  15. package/dist/mocks/drawingMockData.d.ts +41 -0
  16. package/dist/mocks/index.d.ts +4 -0
  17. package/dist/petal-toolkit.cjs10.js +1 -1
  18. package/dist/petal-toolkit.cjs100.js +1 -1
  19. package/dist/petal-toolkit.cjs101.js +1 -1
  20. package/dist/petal-toolkit.cjs102.js +1 -1
  21. package/dist/petal-toolkit.cjs1023.js +1 -1
  22. package/dist/petal-toolkit.cjs1025.js +1 -1
  23. package/dist/petal-toolkit.cjs1029.js +1 -1
  24. package/dist/petal-toolkit.cjs103.js +1 -1
  25. package/dist/petal-toolkit.cjs1030.js +1 -1
  26. package/dist/petal-toolkit.cjs104.js +1 -1
  27. package/dist/petal-toolkit.cjs105.js +1 -1
  28. package/dist/petal-toolkit.cjs1051.js +1 -1
  29. package/dist/petal-toolkit.cjs1051.js.map +1 -1
  30. package/dist/petal-toolkit.cjs1052.js +1 -1
  31. package/dist/petal-toolkit.cjs1052.js.map +1 -1
  32. package/dist/petal-toolkit.cjs1055.js +1 -1
  33. package/dist/petal-toolkit.cjs1056.js +1 -1
  34. package/dist/petal-toolkit.cjs106.js +1 -1
  35. package/dist/petal-toolkit.cjs1062.js +1 -1
  36. package/dist/petal-toolkit.cjs1062.js.map +1 -1
  37. package/dist/petal-toolkit.cjs1063.js +1 -1
  38. package/dist/petal-toolkit.cjs1063.js.map +1 -1
  39. package/dist/petal-toolkit.cjs1064.js +1 -1
  40. package/dist/petal-toolkit.cjs1065.js +1 -1
  41. package/dist/petal-toolkit.cjs1068.js +1 -1
  42. package/dist/petal-toolkit.cjs1069.js +1 -1
  43. package/dist/petal-toolkit.cjs107.js +1 -1
  44. package/dist/petal-toolkit.cjs108.js +1 -1
  45. package/dist/petal-toolkit.cjs109.js +1 -1
  46. package/dist/petal-toolkit.cjs11.js +1 -1
  47. package/dist/petal-toolkit.cjs110.js +1 -1
  48. package/dist/petal-toolkit.cjs111.js +1 -1
  49. package/dist/petal-toolkit.cjs1114.js +1 -1
  50. package/dist/petal-toolkit.cjs1115.js +1 -1
  51. package/dist/petal-toolkit.cjs1116.js +1 -1
  52. package/dist/petal-toolkit.cjs1117.js +1 -1
  53. package/dist/petal-toolkit.cjs112.js +1 -1
  54. package/dist/petal-toolkit.cjs1128.js +1 -1
  55. package/dist/petal-toolkit.cjs1128.js.map +1 -1
  56. package/dist/petal-toolkit.cjs1129.js +1 -1
  57. package/dist/petal-toolkit.cjs1129.js.map +1 -1
  58. package/dist/petal-toolkit.cjs113.js +1 -1
  59. package/dist/petal-toolkit.cjs1130.js +1 -1
  60. package/dist/petal-toolkit.cjs1130.js.map +1 -1
  61. package/dist/petal-toolkit.cjs1131.js +1 -1
  62. package/dist/petal-toolkit.cjs1131.js.map +1 -1
  63. package/dist/petal-toolkit.cjs1132.js +1 -1
  64. package/dist/petal-toolkit.cjs1132.js.map +1 -1
  65. package/dist/petal-toolkit.cjs1133.js +1 -1
  66. package/dist/petal-toolkit.cjs1133.js.map +1 -1
  67. package/dist/petal-toolkit.cjs1134.js +1 -1
  68. package/dist/petal-toolkit.cjs1134.js.map +1 -1
  69. package/dist/petal-toolkit.cjs1139.js +1 -1
  70. package/dist/petal-toolkit.cjs1139.js.map +1 -1
  71. package/dist/petal-toolkit.cjs114.js +1 -1
  72. package/dist/petal-toolkit.cjs1140.js +1 -1
  73. package/dist/petal-toolkit.cjs1140.js.map +1 -1
  74. package/dist/petal-toolkit.cjs115.js +1 -1
  75. package/dist/petal-toolkit.cjs1154.js +5 -1
  76. package/dist/petal-toolkit.cjs1154.js.map +1 -1
  77. package/dist/petal-toolkit.cjs1155.js +1 -5
  78. package/dist/petal-toolkit.cjs1155.js.map +1 -1
  79. package/dist/petal-toolkit.cjs1156.js +1 -1
  80. package/dist/petal-toolkit.cjs1157.js +1 -1
  81. package/dist/petal-toolkit.cjs116.js +1 -1
  82. package/dist/petal-toolkit.cjs1161.js +1 -1
  83. package/dist/petal-toolkit.cjs1162.js +1 -1
  84. package/dist/petal-toolkit.cjs1163.js +1 -1
  85. package/dist/petal-toolkit.cjs1163.js.map +1 -1
  86. package/dist/petal-toolkit.cjs1164.js +1 -1
  87. package/dist/petal-toolkit.cjs1164.js.map +1 -1
  88. package/dist/petal-toolkit.cjs117.js +1 -1
  89. package/dist/petal-toolkit.cjs1171.js +1 -1
  90. package/dist/petal-toolkit.cjs1171.js.map +1 -1
  91. package/dist/petal-toolkit.cjs1172.js +1 -1
  92. package/dist/petal-toolkit.cjs1172.js.map +1 -1
  93. package/dist/petal-toolkit.cjs1177.js +1 -1
  94. package/dist/petal-toolkit.cjs1177.js.map +1 -1
  95. package/dist/petal-toolkit.cjs1178.js +1 -1
  96. package/dist/petal-toolkit.cjs1178.js.map +1 -1
  97. package/dist/petal-toolkit.cjs118.js +1 -1
  98. package/dist/petal-toolkit.cjs1184.js +1 -1
  99. package/dist/petal-toolkit.cjs1185.js +1 -1
  100. package/dist/petal-toolkit.cjs119.js +1 -1
  101. package/dist/petal-toolkit.cjs12.js +1 -1
  102. package/dist/petal-toolkit.cjs120.js +1 -1
  103. package/dist/petal-toolkit.cjs121.js +1 -1
  104. package/dist/petal-toolkit.cjs122.js +1 -1
  105. package/dist/petal-toolkit.cjs1220.js +1 -1
  106. package/dist/petal-toolkit.cjs1220.js.map +1 -1
  107. package/dist/petal-toolkit.cjs1221.js +1 -1
  108. package/dist/petal-toolkit.cjs1221.js.map +1 -1
  109. package/dist/petal-toolkit.cjs123.js +1 -1
  110. package/dist/petal-toolkit.cjs124.js +1 -1
  111. package/dist/petal-toolkit.cjs1246.js +1 -1
  112. package/dist/petal-toolkit.cjs1247.js +1 -1
  113. package/dist/petal-toolkit.cjs1249.js +1 -1
  114. package/dist/petal-toolkit.cjs125.js +1 -1
  115. package/dist/petal-toolkit.cjs1250.js +1 -1
  116. package/dist/petal-toolkit.cjs126.js +1 -1
  117. package/dist/petal-toolkit.cjs127.js +1 -1
  118. package/dist/petal-toolkit.cjs128.js +1 -1
  119. package/dist/petal-toolkit.cjs129.js +1 -1
  120. package/dist/petal-toolkit.cjs13.js +1 -1
  121. package/dist/petal-toolkit.cjs130.js +1 -1
  122. package/dist/petal-toolkit.cjs131.js +1 -1
  123. package/dist/petal-toolkit.cjs1314.js +1 -1
  124. package/dist/petal-toolkit.cjs1315.js +1 -1
  125. package/dist/petal-toolkit.cjs1319.js +1 -1
  126. package/dist/petal-toolkit.cjs132.js +1 -1
  127. package/dist/petal-toolkit.cjs1320.js +1 -1
  128. package/dist/petal-toolkit.cjs1325.js +1 -1
  129. package/dist/petal-toolkit.cjs1325.js.map +1 -1
  130. package/dist/petal-toolkit.cjs1326.js +1 -1
  131. package/dist/petal-toolkit.cjs1326.js.map +1 -1
  132. package/dist/petal-toolkit.cjs1327.js +1 -2
  133. package/dist/petal-toolkit.cjs1327.js.map +1 -1
  134. package/dist/petal-toolkit.cjs1328.js +1 -1
  135. package/dist/petal-toolkit.cjs1328.js.map +1 -1
  136. package/dist/petal-toolkit.cjs1329.js +1 -1
  137. package/dist/petal-toolkit.cjs1329.js.map +1 -1
  138. package/dist/petal-toolkit.cjs133.js +1 -1
  139. package/dist/petal-toolkit.cjs1330.js +1 -1
  140. package/dist/petal-toolkit.cjs1330.js.map +1 -1
  141. package/dist/petal-toolkit.cjs1331.js +1 -1
  142. package/dist/petal-toolkit.cjs1331.js.map +1 -1
  143. package/dist/petal-toolkit.cjs1332.js +2 -1
  144. package/dist/petal-toolkit.cjs1332.js.map +1 -1
  145. package/dist/petal-toolkit.cjs1333.js +1 -1
  146. package/dist/petal-toolkit.cjs1334.js +1 -1
  147. package/dist/petal-toolkit.cjs1336.js +1 -1
  148. package/dist/petal-toolkit.cjs1338.js +1 -1
  149. package/dist/petal-toolkit.cjs134.js +1 -1
  150. package/dist/petal-toolkit.cjs1340.js +1 -1
  151. package/dist/petal-toolkit.cjs1342.js +1 -1
  152. package/dist/petal-toolkit.cjs1344.js +1 -1
  153. package/dist/petal-toolkit.cjs1345.js +1 -1
  154. package/dist/petal-toolkit.cjs135.js +1 -1
  155. package/dist/petal-toolkit.cjs1352.js +1 -1
  156. package/dist/petal-toolkit.cjs1353.js +1 -1
  157. package/dist/petal-toolkit.cjs1354.js +1 -1
  158. package/dist/petal-toolkit.cjs1355.js +1 -1
  159. package/dist/petal-toolkit.cjs1356.js +1 -1
  160. package/dist/petal-toolkit.cjs1357.js +1 -1
  161. package/dist/petal-toolkit.cjs1357.js.map +1 -1
  162. package/dist/petal-toolkit.cjs136.js +1 -1
  163. package/dist/petal-toolkit.cjs1361.js +1 -1
  164. package/dist/petal-toolkit.cjs1362.js +1 -1
  165. package/dist/petal-toolkit.cjs1363.js +1 -1
  166. package/dist/petal-toolkit.cjs1367.js +1 -1
  167. package/dist/petal-toolkit.cjs1368.js +2 -0
  168. package/dist/petal-toolkit.cjs1368.js.map +1 -0
  169. package/dist/petal-toolkit.cjs1369.js +2 -0
  170. package/dist/petal-toolkit.cjs1369.js.map +1 -0
  171. package/dist/petal-toolkit.cjs137.js +1 -1
  172. package/dist/petal-toolkit.cjs1370.js +2 -0
  173. package/dist/petal-toolkit.cjs1370.js.map +1 -0
  174. package/dist/petal-toolkit.cjs1371.js +2 -0
  175. package/dist/petal-toolkit.cjs1371.js.map +1 -0
  176. package/dist/petal-toolkit.cjs1372.js +2 -0
  177. package/dist/petal-toolkit.cjs1372.js.map +1 -0
  178. package/dist/petal-toolkit.cjs138.js +1 -1
  179. package/dist/petal-toolkit.cjs139.js +1 -1
  180. package/dist/petal-toolkit.cjs14.js +1 -1
  181. package/dist/petal-toolkit.cjs140.js +1 -1
  182. package/dist/petal-toolkit.cjs141.js +1 -1
  183. package/dist/petal-toolkit.cjs142.js +1 -1
  184. package/dist/petal-toolkit.cjs143.js +1 -1
  185. package/dist/petal-toolkit.cjs144.js +1 -1
  186. package/dist/petal-toolkit.cjs145.js +1 -1
  187. package/dist/petal-toolkit.cjs146.js +1 -1
  188. package/dist/petal-toolkit.cjs147.js +1 -1
  189. package/dist/petal-toolkit.cjs148.js +1 -1
  190. package/dist/petal-toolkit.cjs149.js +1 -1
  191. package/dist/petal-toolkit.cjs15.js +1 -1
  192. package/dist/petal-toolkit.cjs150.js +1 -1
  193. package/dist/petal-toolkit.cjs151.js +1 -1
  194. package/dist/petal-toolkit.cjs152.js +1 -1
  195. package/dist/petal-toolkit.cjs153.js +1 -1
  196. package/dist/petal-toolkit.cjs154.js +1 -1
  197. package/dist/petal-toolkit.cjs155.js +1 -1
  198. package/dist/petal-toolkit.cjs156.js +1 -1
  199. package/dist/petal-toolkit.cjs157.js +1 -1
  200. package/dist/petal-toolkit.cjs158.js +1 -1
  201. package/dist/petal-toolkit.cjs159.js +1 -1
  202. package/dist/petal-toolkit.cjs160.js +1 -1
  203. package/dist/petal-toolkit.cjs161.js +1 -1
  204. package/dist/petal-toolkit.cjs162.js +1 -1
  205. package/dist/petal-toolkit.cjs163.js +1 -1
  206. package/dist/petal-toolkit.cjs164.js +1 -1
  207. package/dist/petal-toolkit.cjs165.js +1 -1
  208. package/dist/petal-toolkit.cjs166.js +1 -1
  209. package/dist/petal-toolkit.cjs167.js +1 -1
  210. package/dist/petal-toolkit.cjs168.js +1 -1
  211. package/dist/petal-toolkit.cjs169.js +1 -1
  212. package/dist/petal-toolkit.cjs170.js +1 -1
  213. package/dist/petal-toolkit.cjs171.js +1 -1
  214. package/dist/petal-toolkit.cjs172.js +1 -1
  215. package/dist/petal-toolkit.cjs173.js +1 -1
  216. package/dist/petal-toolkit.cjs174.js +1 -1
  217. package/dist/petal-toolkit.cjs175.js +1 -1
  218. package/dist/petal-toolkit.cjs176.js +1 -1
  219. package/dist/petal-toolkit.cjs177.js +1 -1
  220. package/dist/petal-toolkit.cjs178.js +1 -1
  221. package/dist/petal-toolkit.cjs179.js +1 -1
  222. package/dist/petal-toolkit.cjs18.js +1 -1
  223. package/dist/petal-toolkit.cjs180.js +1 -1
  224. package/dist/petal-toolkit.cjs181.js +1 -1
  225. package/dist/petal-toolkit.cjs182.js +1 -1
  226. package/dist/petal-toolkit.cjs183.js +1 -1
  227. package/dist/petal-toolkit.cjs184.js +1 -1
  228. package/dist/petal-toolkit.cjs185.js +1 -1
  229. package/dist/petal-toolkit.cjs186.js +1 -1
  230. package/dist/petal-toolkit.cjs187.js +1 -1
  231. package/dist/petal-toolkit.cjs188.js +1 -1
  232. package/dist/petal-toolkit.cjs189.js +1 -1
  233. package/dist/petal-toolkit.cjs19.js +1 -1
  234. package/dist/petal-toolkit.cjs190.js +1 -1
  235. package/dist/petal-toolkit.cjs191.js +1 -1
  236. package/dist/petal-toolkit.cjs192.js +1 -1
  237. package/dist/petal-toolkit.cjs193.js +1 -1
  238. package/dist/petal-toolkit.cjs194.js +1 -1
  239. package/dist/petal-toolkit.cjs195.js +1 -1
  240. package/dist/petal-toolkit.cjs196.js +1 -1
  241. package/dist/petal-toolkit.cjs197.js +1 -1
  242. package/dist/petal-toolkit.cjs198.js +1 -1
  243. package/dist/petal-toolkit.cjs199.js +1 -1
  244. package/dist/petal-toolkit.cjs20.js +1 -1
  245. package/dist/petal-toolkit.cjs200.js +1 -1
  246. package/dist/petal-toolkit.cjs201.js +1 -1
  247. package/dist/petal-toolkit.cjs202.js +1 -1
  248. package/dist/petal-toolkit.cjs203.js +1 -1
  249. package/dist/petal-toolkit.cjs204.js +1 -1
  250. package/dist/petal-toolkit.cjs205.js +1 -1
  251. package/dist/petal-toolkit.cjs206.js +1 -1
  252. package/dist/petal-toolkit.cjs207.js +1 -1
  253. package/dist/petal-toolkit.cjs208.js +1 -1
  254. package/dist/petal-toolkit.cjs209.js +1 -1
  255. package/dist/petal-toolkit.cjs210.js +1 -1
  256. package/dist/petal-toolkit.cjs211.js +1 -1
  257. package/dist/petal-toolkit.cjs212.js +1 -1
  258. package/dist/petal-toolkit.cjs213.js +1 -1
  259. package/dist/petal-toolkit.cjs214.js +1 -1
  260. package/dist/petal-toolkit.cjs215.js +1 -1
  261. package/dist/petal-toolkit.cjs216.js +1 -1
  262. package/dist/petal-toolkit.cjs217.js +1 -1
  263. package/dist/petal-toolkit.cjs218.js +1 -1
  264. package/dist/petal-toolkit.cjs219.js +1 -1
  265. package/dist/petal-toolkit.cjs22.js +1 -1
  266. package/dist/petal-toolkit.cjs220.js +1 -1
  267. package/dist/petal-toolkit.cjs221.js +1 -1
  268. package/dist/petal-toolkit.cjs222.js +1 -1
  269. package/dist/petal-toolkit.cjs223.js +1 -1
  270. package/dist/petal-toolkit.cjs224.js +1 -1
  271. package/dist/petal-toolkit.cjs225.js +1 -1
  272. package/dist/petal-toolkit.cjs226.js +1 -1
  273. package/dist/petal-toolkit.cjs227.js +1 -1
  274. package/dist/petal-toolkit.cjs228.js +1 -1
  275. package/dist/petal-toolkit.cjs229.js +1 -1
  276. package/dist/petal-toolkit.cjs23.js +1 -1
  277. package/dist/petal-toolkit.cjs230.js +1 -1
  278. package/dist/petal-toolkit.cjs231.js +1 -1
  279. package/dist/petal-toolkit.cjs232.js +1 -1
  280. package/dist/petal-toolkit.cjs233.js +1 -1
  281. package/dist/petal-toolkit.cjs234.js +1 -1
  282. package/dist/petal-toolkit.cjs235.js +1 -1
  283. package/dist/petal-toolkit.cjs236.js +1 -1
  284. package/dist/petal-toolkit.cjs237.js +1 -1
  285. package/dist/petal-toolkit.cjs238.js +1 -1
  286. package/dist/petal-toolkit.cjs239.js +1 -1
  287. package/dist/petal-toolkit.cjs24.js +1 -1
  288. package/dist/petal-toolkit.cjs240.js +1 -1
  289. package/dist/petal-toolkit.cjs241.js +1 -1
  290. package/dist/petal-toolkit.cjs242.js +1 -1
  291. package/dist/petal-toolkit.cjs243.js +1 -1
  292. package/dist/petal-toolkit.cjs244.js +1 -1
  293. package/dist/petal-toolkit.cjs245.js +1 -1
  294. package/dist/petal-toolkit.cjs246.js +1 -1
  295. package/dist/petal-toolkit.cjs247.js +1 -1
  296. package/dist/petal-toolkit.cjs248.js +1 -1
  297. package/dist/petal-toolkit.cjs249.js +1 -1
  298. package/dist/petal-toolkit.cjs25.js +1 -1
  299. package/dist/petal-toolkit.cjs250.js +1 -1
  300. package/dist/petal-toolkit.cjs251.js +1 -1
  301. package/dist/petal-toolkit.cjs252.js +1 -1
  302. package/dist/petal-toolkit.cjs253.js +1 -1
  303. package/dist/petal-toolkit.cjs254.js +1 -1
  304. package/dist/petal-toolkit.cjs255.js +1 -1
  305. package/dist/petal-toolkit.cjs256.js +1 -1
  306. package/dist/petal-toolkit.cjs257.js +1 -1
  307. package/dist/petal-toolkit.cjs258.js +1 -1
  308. package/dist/petal-toolkit.cjs259.js +1 -1
  309. package/dist/petal-toolkit.cjs26.js +1 -1
  310. package/dist/petal-toolkit.cjs260.js +1 -1
  311. package/dist/petal-toolkit.cjs261.js +1 -1
  312. package/dist/petal-toolkit.cjs262.js +1 -1
  313. package/dist/petal-toolkit.cjs263.js +1 -1
  314. package/dist/petal-toolkit.cjs264.js +1 -1
  315. package/dist/petal-toolkit.cjs265.js +1 -1
  316. package/dist/petal-toolkit.cjs266.js +1 -1
  317. package/dist/petal-toolkit.cjs267.js +1 -1
  318. package/dist/petal-toolkit.cjs268.js +1 -1
  319. package/dist/petal-toolkit.cjs269.js +1 -1
  320. package/dist/petal-toolkit.cjs27.js +1 -1
  321. package/dist/petal-toolkit.cjs270.js +1 -1
  322. package/dist/petal-toolkit.cjs271.js +1 -1
  323. package/dist/petal-toolkit.cjs272.js +1 -1
  324. package/dist/petal-toolkit.cjs273.js +1 -1
  325. package/dist/petal-toolkit.cjs274.js +1 -1
  326. package/dist/petal-toolkit.cjs275.js +1 -1
  327. package/dist/petal-toolkit.cjs276.js +1 -1
  328. package/dist/petal-toolkit.cjs277.js +1 -1
  329. package/dist/petal-toolkit.cjs278.js +1 -1
  330. package/dist/petal-toolkit.cjs279.js +1 -1
  331. package/dist/petal-toolkit.cjs28.js +1 -1
  332. package/dist/petal-toolkit.cjs28.js.map +1 -1
  333. package/dist/petal-toolkit.cjs280.js +1 -1
  334. package/dist/petal-toolkit.cjs281.js +1 -1
  335. package/dist/petal-toolkit.cjs282.js +1 -1
  336. package/dist/petal-toolkit.cjs283.js +1 -1
  337. package/dist/petal-toolkit.cjs284.js +1 -1
  338. package/dist/petal-toolkit.cjs285.js +1 -1
  339. package/dist/petal-toolkit.cjs286.js +1 -1
  340. package/dist/petal-toolkit.cjs287.js +1 -1
  341. package/dist/petal-toolkit.cjs288.js +1 -1
  342. package/dist/petal-toolkit.cjs289.js +1 -1
  343. package/dist/petal-toolkit.cjs29.js +1 -1
  344. package/dist/petal-toolkit.cjs29.js.map +1 -1
  345. package/dist/petal-toolkit.cjs290.js +1 -1
  346. package/dist/petal-toolkit.cjs291.js +1 -1
  347. package/dist/petal-toolkit.cjs292.js +1 -1
  348. package/dist/petal-toolkit.cjs293.js +1 -1
  349. package/dist/petal-toolkit.cjs294.js +1 -1
  350. package/dist/petal-toolkit.cjs295.js +1 -1
  351. package/dist/petal-toolkit.cjs296.js +1 -1
  352. package/dist/petal-toolkit.cjs297.js +1 -1
  353. package/dist/petal-toolkit.cjs298.js +1 -1
  354. package/dist/petal-toolkit.cjs299.js +1 -1
  355. package/dist/petal-toolkit.cjs3.js.map +1 -1
  356. package/dist/petal-toolkit.cjs30.js +1 -1
  357. package/dist/petal-toolkit.cjs30.js.map +1 -1
  358. package/dist/petal-toolkit.cjs300.js +1 -1
  359. package/dist/petal-toolkit.cjs301.js +1 -1
  360. package/dist/petal-toolkit.cjs302.js +1 -1
  361. package/dist/petal-toolkit.cjs303.js +1 -1
  362. package/dist/petal-toolkit.cjs304.js +1 -1
  363. package/dist/petal-toolkit.cjs305.js +1 -1
  364. package/dist/petal-toolkit.cjs306.js +1 -1
  365. package/dist/petal-toolkit.cjs307.js +1 -1
  366. package/dist/petal-toolkit.cjs308.js +1 -1
  367. package/dist/petal-toolkit.cjs309.js +1 -1
  368. package/dist/petal-toolkit.cjs31.js +1 -1
  369. package/dist/petal-toolkit.cjs310.js +1 -1
  370. package/dist/petal-toolkit.cjs311.js +1 -1
  371. package/dist/petal-toolkit.cjs312.js +1 -1
  372. package/dist/petal-toolkit.cjs313.js +1 -1
  373. package/dist/petal-toolkit.cjs314.js +1 -1
  374. package/dist/petal-toolkit.cjs315.js +1 -1
  375. package/dist/petal-toolkit.cjs316.js +1 -1
  376. package/dist/petal-toolkit.cjs317.js +1 -1
  377. package/dist/petal-toolkit.cjs318.js +1 -1
  378. package/dist/petal-toolkit.cjs319.js +1 -1
  379. package/dist/petal-toolkit.cjs32.js +1 -1
  380. package/dist/petal-toolkit.cjs320.js +1 -1
  381. package/dist/petal-toolkit.cjs321.js +1 -1
  382. package/dist/petal-toolkit.cjs322.js +1 -1
  383. package/dist/petal-toolkit.cjs323.js +1 -1
  384. package/dist/petal-toolkit.cjs324.js +1 -1
  385. package/dist/petal-toolkit.cjs325.js +1 -1
  386. package/dist/petal-toolkit.cjs326.js +1 -1
  387. package/dist/petal-toolkit.cjs327.js +1 -1
  388. package/dist/petal-toolkit.cjs328.js +1 -1
  389. package/dist/petal-toolkit.cjs329.js +1 -1
  390. package/dist/petal-toolkit.cjs330.js +1 -1
  391. package/dist/petal-toolkit.cjs331.js +1 -1
  392. package/dist/petal-toolkit.cjs332.js +1 -1
  393. package/dist/petal-toolkit.cjs333.js +1 -1
  394. package/dist/petal-toolkit.cjs334.js +1 -1
  395. package/dist/petal-toolkit.cjs335.js +1 -1
  396. package/dist/petal-toolkit.cjs336.js +1 -1
  397. package/dist/petal-toolkit.cjs337.js +1 -1
  398. package/dist/petal-toolkit.cjs338.js +1 -1
  399. package/dist/petal-toolkit.cjs339.js +1 -1
  400. package/dist/petal-toolkit.cjs34.js +1 -1
  401. package/dist/petal-toolkit.cjs340.js +1 -1
  402. package/dist/petal-toolkit.cjs341.js +1 -1
  403. package/dist/petal-toolkit.cjs342.js +1 -1
  404. package/dist/petal-toolkit.cjs343.js +1 -1
  405. package/dist/petal-toolkit.cjs344.js +1 -1
  406. package/dist/petal-toolkit.cjs345.js +1 -1
  407. package/dist/petal-toolkit.cjs346.js +1 -1
  408. package/dist/petal-toolkit.cjs347.js +1 -1
  409. package/dist/petal-toolkit.cjs348.js +1 -1
  410. package/dist/petal-toolkit.cjs349.js +1 -1
  411. package/dist/petal-toolkit.cjs35.js +1 -1
  412. package/dist/petal-toolkit.cjs350.js +1 -1
  413. package/dist/petal-toolkit.cjs351.js +1 -1
  414. package/dist/petal-toolkit.cjs352.js +1 -1
  415. package/dist/petal-toolkit.cjs353.js +1 -1
  416. package/dist/petal-toolkit.cjs354.js +1 -1
  417. package/dist/petal-toolkit.cjs355.js +1 -1
  418. package/dist/petal-toolkit.cjs356.js +1 -1
  419. package/dist/petal-toolkit.cjs357.js +1 -1
  420. package/dist/petal-toolkit.cjs358.js +1 -1
  421. package/dist/petal-toolkit.cjs359.js +1 -1
  422. package/dist/petal-toolkit.cjs36.js +1 -1
  423. package/dist/petal-toolkit.cjs360.js +1 -1
  424. package/dist/petal-toolkit.cjs361.js +1 -1
  425. package/dist/petal-toolkit.cjs361.js.map +1 -1
  426. package/dist/petal-toolkit.cjs362.js +1 -1
  427. package/dist/petal-toolkit.cjs363.js +1 -1
  428. package/dist/petal-toolkit.cjs364.js +1 -1
  429. package/dist/petal-toolkit.cjs365.js +1 -1
  430. package/dist/petal-toolkit.cjs366.js +1 -1
  431. package/dist/petal-toolkit.cjs367.js +1 -1
  432. package/dist/petal-toolkit.cjs368.js +1 -1
  433. package/dist/petal-toolkit.cjs369.js +1 -1
  434. package/dist/petal-toolkit.cjs37.js +1 -1
  435. package/dist/petal-toolkit.cjs370.js +1 -1
  436. package/dist/petal-toolkit.cjs371.js +1 -1
  437. package/dist/petal-toolkit.cjs372.js +1 -1
  438. package/dist/petal-toolkit.cjs373.js +1 -1
  439. package/dist/petal-toolkit.cjs374.js +1 -1
  440. package/dist/petal-toolkit.cjs375.js +1 -1
  441. package/dist/petal-toolkit.cjs376.js +1 -1
  442. package/dist/petal-toolkit.cjs377.js +1 -1
  443. package/dist/petal-toolkit.cjs378.js +1 -1
  444. package/dist/petal-toolkit.cjs379.js +1 -1
  445. package/dist/petal-toolkit.cjs38.js +1 -1
  446. package/dist/petal-toolkit.cjs38.js.map +1 -1
  447. package/dist/petal-toolkit.cjs380.js +1 -1
  448. package/dist/petal-toolkit.cjs381.js +1 -1
  449. package/dist/petal-toolkit.cjs382.js +1 -1
  450. package/dist/petal-toolkit.cjs383.js +1 -1
  451. package/dist/petal-toolkit.cjs384.js +1 -1
  452. package/dist/petal-toolkit.cjs385.js +1 -1
  453. package/dist/petal-toolkit.cjs386.js +1 -1
  454. package/dist/petal-toolkit.cjs387.js +1 -1
  455. package/dist/petal-toolkit.cjs388.js +1 -1
  456. package/dist/petal-toolkit.cjs389.js +1 -1
  457. package/dist/petal-toolkit.cjs390.js +1 -1
  458. package/dist/petal-toolkit.cjs391.js +1 -1
  459. package/dist/petal-toolkit.cjs392.js +1 -1
  460. package/dist/petal-toolkit.cjs393.js +1 -1
  461. package/dist/petal-toolkit.cjs394.js +1 -1
  462. package/dist/petal-toolkit.cjs395.js +1 -1
  463. package/dist/petal-toolkit.cjs396.js +1 -1
  464. package/dist/petal-toolkit.cjs397.js +1 -1
  465. package/dist/petal-toolkit.cjs398.js +1 -1
  466. package/dist/petal-toolkit.cjs399.js +1 -1
  467. package/dist/petal-toolkit.cjs4.js +1 -1
  468. package/dist/petal-toolkit.cjs40.js +1 -1
  469. package/dist/petal-toolkit.cjs400.js +1 -1
  470. package/dist/petal-toolkit.cjs401.js +1 -1
  471. package/dist/petal-toolkit.cjs402.js +1 -1
  472. package/dist/petal-toolkit.cjs403.js +1 -1
  473. package/dist/petal-toolkit.cjs404.js +1 -1
  474. package/dist/petal-toolkit.cjs405.js +1 -1
  475. package/dist/petal-toolkit.cjs406.js +1 -1
  476. package/dist/petal-toolkit.cjs407.js +1 -1
  477. package/dist/petal-toolkit.cjs408.js +1 -1
  478. package/dist/petal-toolkit.cjs409.js +1 -1
  479. package/dist/petal-toolkit.cjs41.js +1 -1
  480. package/dist/petal-toolkit.cjs410.js +1 -1
  481. package/dist/petal-toolkit.cjs411.js +1 -1
  482. package/dist/petal-toolkit.cjs412.js +1 -1
  483. package/dist/petal-toolkit.cjs413.js +1 -1
  484. package/dist/petal-toolkit.cjs414.js +1 -1
  485. package/dist/petal-toolkit.cjs415.js +1 -1
  486. package/dist/petal-toolkit.cjs416.js +1 -1
  487. package/dist/petal-toolkit.cjs417.js +1 -1
  488. package/dist/petal-toolkit.cjs418.js +1 -1
  489. package/dist/petal-toolkit.cjs419.js +1 -1
  490. package/dist/petal-toolkit.cjs42.js +1 -1
  491. package/dist/petal-toolkit.cjs420.js +1 -1
  492. package/dist/petal-toolkit.cjs421.js +1 -1
  493. package/dist/petal-toolkit.cjs422.js +1 -1
  494. package/dist/petal-toolkit.cjs423.js +1 -1
  495. package/dist/petal-toolkit.cjs424.js +1 -1
  496. package/dist/petal-toolkit.cjs425.js +1 -1
  497. package/dist/petal-toolkit.cjs426.js +1 -1
  498. package/dist/petal-toolkit.cjs427.js +1 -1
  499. package/dist/petal-toolkit.cjs428.js +1 -1
  500. package/dist/petal-toolkit.cjs429.js +1 -1
  501. package/dist/petal-toolkit.cjs43.js +1 -1
  502. package/dist/petal-toolkit.cjs430.js +1 -1
  503. package/dist/petal-toolkit.cjs431.js +1 -1
  504. package/dist/petal-toolkit.cjs432.js +1 -1
  505. package/dist/petal-toolkit.cjs433.js +1 -1
  506. package/dist/petal-toolkit.cjs434.js +1 -1
  507. package/dist/petal-toolkit.cjs435.js +1 -1
  508. package/dist/petal-toolkit.cjs436.js +1 -1
  509. package/dist/petal-toolkit.cjs437.js +1 -1
  510. package/dist/petal-toolkit.cjs438.js +1 -1
  511. package/dist/petal-toolkit.cjs439.js +1 -1
  512. package/dist/petal-toolkit.cjs44.js +1 -1
  513. package/dist/petal-toolkit.cjs440.js +1 -1
  514. package/dist/petal-toolkit.cjs441.js +1 -1
  515. package/dist/petal-toolkit.cjs442.js +1 -1
  516. package/dist/petal-toolkit.cjs443.js +1 -1
  517. package/dist/petal-toolkit.cjs444.js +1 -1
  518. package/dist/petal-toolkit.cjs445.js +1 -1
  519. package/dist/petal-toolkit.cjs446.js +1 -1
  520. package/dist/petal-toolkit.cjs447.js +1 -1
  521. package/dist/petal-toolkit.cjs448.js +1 -1
  522. package/dist/petal-toolkit.cjs449.js +1 -1
  523. package/dist/petal-toolkit.cjs45.js +1 -1
  524. package/dist/petal-toolkit.cjs450.js +1 -1
  525. package/dist/petal-toolkit.cjs451.js +1 -1
  526. package/dist/petal-toolkit.cjs452.js +1 -1
  527. package/dist/petal-toolkit.cjs453.js +1 -1
  528. package/dist/petal-toolkit.cjs454.js +1 -1
  529. package/dist/petal-toolkit.cjs455.js +1 -1
  530. package/dist/petal-toolkit.cjs456.js +1 -1
  531. package/dist/petal-toolkit.cjs457.js +1 -1
  532. package/dist/petal-toolkit.cjs458.js +1 -1
  533. package/dist/petal-toolkit.cjs459.js +1 -1
  534. package/dist/petal-toolkit.cjs46.js +1 -1
  535. package/dist/petal-toolkit.cjs460.js +1 -1
  536. package/dist/petal-toolkit.cjs461.js +1 -1
  537. package/dist/petal-toolkit.cjs462.js +1 -1
  538. package/dist/petal-toolkit.cjs463.js +1 -1
  539. package/dist/petal-toolkit.cjs464.js +1 -1
  540. package/dist/petal-toolkit.cjs465.js +1 -1
  541. package/dist/petal-toolkit.cjs466.js +1 -1
  542. package/dist/petal-toolkit.cjs467.js +1 -1
  543. package/dist/petal-toolkit.cjs468.js +1 -1
  544. package/dist/petal-toolkit.cjs469.js +1 -1
  545. package/dist/petal-toolkit.cjs47.js +1 -1
  546. package/dist/petal-toolkit.cjs470.js +1 -1
  547. package/dist/petal-toolkit.cjs471.js +1 -1
  548. package/dist/petal-toolkit.cjs472.js +1 -1
  549. package/dist/petal-toolkit.cjs473.js +1 -1
  550. package/dist/petal-toolkit.cjs474.js +1 -1
  551. package/dist/petal-toolkit.cjs475.js +1 -1
  552. package/dist/petal-toolkit.cjs476.js +1 -1
  553. package/dist/petal-toolkit.cjs477.js +1 -1
  554. package/dist/petal-toolkit.cjs478.js +1 -1
  555. package/dist/petal-toolkit.cjs479.js +1 -1
  556. package/dist/petal-toolkit.cjs48.js +1 -1
  557. package/dist/petal-toolkit.cjs48.js.map +1 -1
  558. package/dist/petal-toolkit.cjs480.js +1 -1
  559. package/dist/petal-toolkit.cjs481.js +1 -1
  560. package/dist/petal-toolkit.cjs482.js +1 -1
  561. package/dist/petal-toolkit.cjs483.js +1 -1
  562. package/dist/petal-toolkit.cjs484.js +1 -1
  563. package/dist/petal-toolkit.cjs485.js +1 -1
  564. package/dist/petal-toolkit.cjs486.js +1 -1
  565. package/dist/petal-toolkit.cjs487.js +1 -1
  566. package/dist/petal-toolkit.cjs488.js +1 -1
  567. package/dist/petal-toolkit.cjs489.js +1 -1
  568. package/dist/petal-toolkit.cjs49.js +1 -1
  569. package/dist/petal-toolkit.cjs490.js +1 -1
  570. package/dist/petal-toolkit.cjs491.js +1 -1
  571. package/dist/petal-toolkit.cjs492.js +1 -1
  572. package/dist/petal-toolkit.cjs493.js +1 -1
  573. package/dist/petal-toolkit.cjs494.js +1 -1
  574. package/dist/petal-toolkit.cjs495.js +1 -1
  575. package/dist/petal-toolkit.cjs496.js +1 -1
  576. package/dist/petal-toolkit.cjs497.js +1 -1
  577. package/dist/petal-toolkit.cjs498.js +1 -1
  578. package/dist/petal-toolkit.cjs499.js +1 -1
  579. package/dist/petal-toolkit.cjs5.js +1 -1
  580. package/dist/petal-toolkit.cjs50.js +1 -1
  581. package/dist/petal-toolkit.cjs500.js +1 -1
  582. package/dist/petal-toolkit.cjs501.js +1 -1
  583. package/dist/petal-toolkit.cjs502.js +1 -1
  584. package/dist/petal-toolkit.cjs503.js +1 -1
  585. package/dist/petal-toolkit.cjs504.js +1 -1
  586. package/dist/petal-toolkit.cjs505.js +1 -1
  587. package/dist/petal-toolkit.cjs506.js +1 -1
  588. package/dist/petal-toolkit.cjs507.js +1 -1
  589. package/dist/petal-toolkit.cjs508.js +1 -1
  590. package/dist/petal-toolkit.cjs509.js +1 -1
  591. package/dist/petal-toolkit.cjs51.js +1 -1
  592. package/dist/petal-toolkit.cjs51.js.map +1 -1
  593. package/dist/petal-toolkit.cjs510.js +1 -1
  594. package/dist/petal-toolkit.cjs511.js +1 -1
  595. package/dist/petal-toolkit.cjs512.js +1 -1
  596. package/dist/petal-toolkit.cjs513.js +1 -1
  597. package/dist/petal-toolkit.cjs514.js +1 -1
  598. package/dist/petal-toolkit.cjs515.js +1 -1
  599. package/dist/petal-toolkit.cjs516.js +1 -1
  600. package/dist/petal-toolkit.cjs517.js +1 -1
  601. package/dist/petal-toolkit.cjs518.js +1 -1
  602. package/dist/petal-toolkit.cjs519.js +1 -1
  603. package/dist/petal-toolkit.cjs52.js +1 -1
  604. package/dist/petal-toolkit.cjs520.js +1 -1
  605. package/dist/petal-toolkit.cjs521.js +1 -1
  606. package/dist/petal-toolkit.cjs522.js +1 -1
  607. package/dist/petal-toolkit.cjs523.js +1 -1
  608. package/dist/petal-toolkit.cjs524.js +1 -1
  609. package/dist/petal-toolkit.cjs525.js +1 -1
  610. package/dist/petal-toolkit.cjs526.js +1 -1
  611. package/dist/petal-toolkit.cjs527.js +1 -1
  612. package/dist/petal-toolkit.cjs528.js +1 -1
  613. package/dist/petal-toolkit.cjs529.js +1 -1
  614. package/dist/petal-toolkit.cjs530.js +1 -1
  615. package/dist/petal-toolkit.cjs531.js +1 -1
  616. package/dist/petal-toolkit.cjs532.js +1 -1
  617. package/dist/petal-toolkit.cjs533.js +1 -1
  618. package/dist/petal-toolkit.cjs534.js +1 -1
  619. package/dist/petal-toolkit.cjs535.js +1 -1
  620. package/dist/petal-toolkit.cjs536.js +1 -1
  621. package/dist/petal-toolkit.cjs537.js +1 -1
  622. package/dist/petal-toolkit.cjs538.js +1 -1
  623. package/dist/petal-toolkit.cjs539.js +1 -1
  624. package/dist/petal-toolkit.cjs540.js +1 -1
  625. package/dist/petal-toolkit.cjs541.js +1 -1
  626. package/dist/petal-toolkit.cjs542.js +1 -1
  627. package/dist/petal-toolkit.cjs543.js +1 -1
  628. package/dist/petal-toolkit.cjs544.js +1 -1
  629. package/dist/petal-toolkit.cjs545.js +1 -1
  630. package/dist/petal-toolkit.cjs546.js +1 -1
  631. package/dist/petal-toolkit.cjs547.js +1 -1
  632. package/dist/petal-toolkit.cjs548.js +1 -1
  633. package/dist/petal-toolkit.cjs549.js +1 -1
  634. package/dist/petal-toolkit.cjs550.js +1 -1
  635. package/dist/petal-toolkit.cjs551.js +1 -1
  636. package/dist/petal-toolkit.cjs552.js +1 -1
  637. package/dist/petal-toolkit.cjs553.js +1 -1
  638. package/dist/petal-toolkit.cjs554.js +1 -1
  639. package/dist/petal-toolkit.cjs555.js +1 -1
  640. package/dist/petal-toolkit.cjs556.js +1 -1
  641. package/dist/petal-toolkit.cjs557.js +1 -1
  642. package/dist/petal-toolkit.cjs558.js +1 -1
  643. package/dist/petal-toolkit.cjs559.js +1 -1
  644. package/dist/petal-toolkit.cjs560.js +1 -1
  645. package/dist/petal-toolkit.cjs561.js +1 -1
  646. package/dist/petal-toolkit.cjs562.js +1 -1
  647. package/dist/petal-toolkit.cjs563.js +1 -1
  648. package/dist/petal-toolkit.cjs564.js +1 -1
  649. package/dist/petal-toolkit.cjs565.js +1 -1
  650. package/dist/petal-toolkit.cjs566.js +1 -1
  651. package/dist/petal-toolkit.cjs567.js +1 -1
  652. package/dist/petal-toolkit.cjs568.js +1 -1
  653. package/dist/petal-toolkit.cjs569.js +1 -1
  654. package/dist/petal-toolkit.cjs570.js +1 -1
  655. package/dist/petal-toolkit.cjs571.js +1 -1
  656. package/dist/petal-toolkit.cjs572.js +1 -1
  657. package/dist/petal-toolkit.cjs573.js +1 -1
  658. package/dist/petal-toolkit.cjs574.js +1 -1
  659. package/dist/petal-toolkit.cjs575.js +1 -1
  660. package/dist/petal-toolkit.cjs576.js +1 -1
  661. package/dist/petal-toolkit.cjs577.js +1 -1
  662. package/dist/petal-toolkit.cjs578.js +1 -1
  663. package/dist/petal-toolkit.cjs579.js +1 -1
  664. package/dist/petal-toolkit.cjs580.js +1 -1
  665. package/dist/petal-toolkit.cjs581.js +1 -1
  666. package/dist/petal-toolkit.cjs582.js +1 -1
  667. package/dist/petal-toolkit.cjs583.js +1 -1
  668. package/dist/petal-toolkit.cjs584.js +1 -1
  669. package/dist/petal-toolkit.cjs585.js +1 -1
  670. package/dist/petal-toolkit.cjs586.js +1 -1
  671. package/dist/petal-toolkit.cjs587.js +1 -1
  672. package/dist/petal-toolkit.cjs588.js +1 -1
  673. package/dist/petal-toolkit.cjs589.js +1 -1
  674. package/dist/petal-toolkit.cjs59.js +1 -1
  675. package/dist/petal-toolkit.cjs59.js.map +1 -1
  676. package/dist/petal-toolkit.cjs590.js +1 -1
  677. package/dist/petal-toolkit.cjs591.js +1 -1
  678. package/dist/petal-toolkit.cjs592.js +1 -1
  679. package/dist/petal-toolkit.cjs593.js +1 -1
  680. package/dist/petal-toolkit.cjs594.js +1 -1
  681. package/dist/petal-toolkit.cjs595.js +1 -1
  682. package/dist/petal-toolkit.cjs596.js +1 -1
  683. package/dist/petal-toolkit.cjs597.js +1 -1
  684. package/dist/petal-toolkit.cjs598.js +1 -1
  685. package/dist/petal-toolkit.cjs599.js +1 -1
  686. package/dist/petal-toolkit.cjs6.js +1 -1
  687. package/dist/petal-toolkit.cjs60.js +1 -1
  688. package/dist/petal-toolkit.cjs60.js.map +1 -1
  689. package/dist/petal-toolkit.cjs600.js +1 -1
  690. package/dist/petal-toolkit.cjs601.js +1 -1
  691. package/dist/petal-toolkit.cjs602.js +1 -1
  692. package/dist/petal-toolkit.cjs603.js +1 -1
  693. package/dist/petal-toolkit.cjs604.js +1 -1
  694. package/dist/petal-toolkit.cjs605.js +1 -1
  695. package/dist/petal-toolkit.cjs606.js +1 -1
  696. package/dist/petal-toolkit.cjs607.js +1 -1
  697. package/dist/petal-toolkit.cjs608.js +1 -1
  698. package/dist/petal-toolkit.cjs609.js +1 -1
  699. package/dist/petal-toolkit.cjs61.js +1 -1
  700. package/dist/petal-toolkit.cjs61.js.map +1 -1
  701. package/dist/petal-toolkit.cjs610.js +1 -1
  702. package/dist/petal-toolkit.cjs611.js +1 -1
  703. package/dist/petal-toolkit.cjs612.js +1 -1
  704. package/dist/petal-toolkit.cjs613.js +1 -1
  705. package/dist/petal-toolkit.cjs614.js +1 -1
  706. package/dist/petal-toolkit.cjs615.js +1 -1
  707. package/dist/petal-toolkit.cjs616.js +1 -1
  708. package/dist/petal-toolkit.cjs617.js +1 -1
  709. package/dist/petal-toolkit.cjs618.js +1 -1
  710. package/dist/petal-toolkit.cjs619.js +1 -1
  711. package/dist/petal-toolkit.cjs62.js +1 -1
  712. package/dist/petal-toolkit.cjs62.js.map +1 -1
  713. package/dist/petal-toolkit.cjs620.js +1 -1
  714. package/dist/petal-toolkit.cjs621.js +1 -1
  715. package/dist/petal-toolkit.cjs622.js +1 -1
  716. package/dist/petal-toolkit.cjs623.js +1 -1
  717. package/dist/petal-toolkit.cjs624.js +1 -1
  718. package/dist/petal-toolkit.cjs625.js +1 -1
  719. package/dist/petal-toolkit.cjs626.js +1 -1
  720. package/dist/petal-toolkit.cjs627.js +1 -1
  721. package/dist/petal-toolkit.cjs628.js +1 -1
  722. package/dist/petal-toolkit.cjs629.js +1 -1
  723. package/dist/petal-toolkit.cjs63.js +1 -1
  724. package/dist/petal-toolkit.cjs63.js.map +1 -1
  725. package/dist/petal-toolkit.cjs630.js +1 -1
  726. package/dist/petal-toolkit.cjs631.js +1 -1
  727. package/dist/petal-toolkit.cjs632.js +1 -1
  728. package/dist/petal-toolkit.cjs633.js +1 -1
  729. package/dist/petal-toolkit.cjs634.js +1 -1
  730. package/dist/petal-toolkit.cjs635.js +1 -1
  731. package/dist/petal-toolkit.cjs636.js +1 -1
  732. package/dist/petal-toolkit.cjs637.js +1 -1
  733. package/dist/petal-toolkit.cjs638.js +1 -1
  734. package/dist/petal-toolkit.cjs639.js +1 -1
  735. package/dist/petal-toolkit.cjs640.js +1 -1
  736. package/dist/petal-toolkit.cjs641.js +1 -1
  737. package/dist/petal-toolkit.cjs642.js +1 -1
  738. package/dist/petal-toolkit.cjs643.js +1 -1
  739. package/dist/petal-toolkit.cjs644.js +1 -1
  740. package/dist/petal-toolkit.cjs645.js +1 -1
  741. package/dist/petal-toolkit.cjs646.js +1 -1
  742. package/dist/petal-toolkit.cjs647.js +1 -1
  743. package/dist/petal-toolkit.cjs648.js +1 -1
  744. package/dist/petal-toolkit.cjs649.js +1 -1
  745. package/dist/petal-toolkit.cjs650.js +1 -1
  746. package/dist/petal-toolkit.cjs651.js +1 -1
  747. package/dist/petal-toolkit.cjs652.js +1 -1
  748. package/dist/petal-toolkit.cjs653.js +1 -1
  749. package/dist/petal-toolkit.cjs654.js +1 -1
  750. package/dist/petal-toolkit.cjs655.js +1 -1
  751. package/dist/petal-toolkit.cjs656.js +1 -1
  752. package/dist/petal-toolkit.cjs657.js +1 -1
  753. package/dist/petal-toolkit.cjs658.js +1 -1
  754. package/dist/petal-toolkit.cjs659.js +1 -1
  755. package/dist/petal-toolkit.cjs66.js +1 -1
  756. package/dist/petal-toolkit.cjs660.js +1 -1
  757. package/dist/petal-toolkit.cjs661.js +1 -1
  758. package/dist/petal-toolkit.cjs662.js +1 -1
  759. package/dist/petal-toolkit.cjs663.js +1 -1
  760. package/dist/petal-toolkit.cjs664.js +1 -1
  761. package/dist/petal-toolkit.cjs665.js +1 -1
  762. package/dist/petal-toolkit.cjs666.js +1 -1
  763. package/dist/petal-toolkit.cjs667.js +1 -1
  764. package/dist/petal-toolkit.cjs668.js +1 -1
  765. package/dist/petal-toolkit.cjs669.js +1 -1
  766. package/dist/petal-toolkit.cjs67.js +1 -1
  767. package/dist/petal-toolkit.cjs670.js +1 -1
  768. package/dist/petal-toolkit.cjs671.js +1 -1
  769. package/dist/petal-toolkit.cjs672.js +1 -1
  770. package/dist/petal-toolkit.cjs673.js +1 -1
  771. package/dist/petal-toolkit.cjs674.js +1 -1
  772. package/dist/petal-toolkit.cjs675.js +1 -1
  773. package/dist/petal-toolkit.cjs675.js.map +1 -1
  774. package/dist/petal-toolkit.cjs676.js +1 -1
  775. package/dist/petal-toolkit.cjs676.js.map +1 -1
  776. package/dist/petal-toolkit.cjs677.js +1 -1
  777. package/dist/petal-toolkit.cjs677.js.map +1 -1
  778. package/dist/petal-toolkit.cjs678.js +1 -1
  779. package/dist/petal-toolkit.cjs68.js +1 -1
  780. package/dist/petal-toolkit.cjs687.js +1 -1
  781. package/dist/petal-toolkit.cjs687.js.map +1 -1
  782. package/dist/petal-toolkit.cjs688.js +1 -1
  783. package/dist/petal-toolkit.cjs688.js.map +1 -1
  784. package/dist/petal-toolkit.cjs689.js +1 -1
  785. package/dist/petal-toolkit.cjs689.js.map +1 -1
  786. package/dist/petal-toolkit.cjs69.js +1 -1
  787. package/dist/petal-toolkit.cjs690.js +1 -1
  788. package/dist/petal-toolkit.cjs690.js.map +1 -1
  789. package/dist/petal-toolkit.cjs692.js +1 -1
  790. package/dist/petal-toolkit.cjs693.js +1 -1
  791. package/dist/petal-toolkit.cjs7.js +1 -1
  792. package/dist/petal-toolkit.cjs70.js +1 -1
  793. package/dist/petal-toolkit.cjs71.js +1 -1
  794. package/dist/petal-toolkit.cjs711.js +1 -1
  795. package/dist/petal-toolkit.cjs712.js +1 -1
  796. package/dist/petal-toolkit.cjs72.js +1 -1
  797. package/dist/petal-toolkit.cjs720.js +1 -1
  798. package/dist/petal-toolkit.cjs720.js.map +1 -1
  799. package/dist/petal-toolkit.cjs721.js +1 -1
  800. package/dist/petal-toolkit.cjs721.js.map +1 -1
  801. package/dist/petal-toolkit.cjs724.js +1 -1
  802. package/dist/petal-toolkit.cjs724.js.map +1 -1
  803. package/dist/petal-toolkit.cjs725.js +1 -1
  804. package/dist/petal-toolkit.cjs725.js.map +1 -1
  805. package/dist/petal-toolkit.cjs726.js +1 -1
  806. package/dist/petal-toolkit.cjs726.js.map +1 -1
  807. package/dist/petal-toolkit.cjs727.js +1 -1
  808. package/dist/petal-toolkit.cjs727.js.map +1 -1
  809. package/dist/petal-toolkit.cjs73.js +1 -1
  810. package/dist/petal-toolkit.cjs731.js +1 -1
  811. package/dist/petal-toolkit.cjs731.js.map +1 -1
  812. package/dist/petal-toolkit.cjs732.js +1 -1
  813. package/dist/petal-toolkit.cjs732.js.map +1 -1
  814. package/dist/petal-toolkit.cjs735.js +1 -1
  815. package/dist/petal-toolkit.cjs736.js +1 -1
  816. package/dist/petal-toolkit.cjs737.js +1 -1
  817. package/dist/petal-toolkit.cjs739.js +1 -1
  818. package/dist/petal-toolkit.cjs739.js.map +1 -1
  819. package/dist/petal-toolkit.cjs74.js +1 -1
  820. package/dist/petal-toolkit.cjs740.js +1 -1
  821. package/dist/petal-toolkit.cjs740.js.map +1 -1
  822. package/dist/petal-toolkit.cjs744.js +1 -1
  823. package/dist/petal-toolkit.cjs746.js +1 -1
  824. package/dist/petal-toolkit.cjs747.js +1 -1
  825. package/dist/petal-toolkit.cjs75.js +1 -1
  826. package/dist/petal-toolkit.cjs751.js +1 -1
  827. package/dist/petal-toolkit.cjs753.js +1 -1
  828. package/dist/petal-toolkit.cjs755.js +1 -1
  829. package/dist/petal-toolkit.cjs756.js +1 -1
  830. package/dist/petal-toolkit.cjs757.js +1 -1
  831. package/dist/petal-toolkit.cjs757.js.map +1 -1
  832. package/dist/petal-toolkit.cjs758.js +1 -1
  833. package/dist/petal-toolkit.cjs758.js.map +1 -1
  834. package/dist/petal-toolkit.cjs76.js +1 -1
  835. package/dist/petal-toolkit.cjs766.js +1 -1
  836. package/dist/petal-toolkit.cjs767.js +1 -1
  837. package/dist/petal-toolkit.cjs769.js +1 -1
  838. package/dist/petal-toolkit.cjs769.js.map +1 -1
  839. package/dist/petal-toolkit.cjs77.js +1 -1
  840. package/dist/petal-toolkit.cjs770.js +1 -1
  841. package/dist/petal-toolkit.cjs770.js.map +1 -1
  842. package/dist/petal-toolkit.cjs78.js +1 -1
  843. package/dist/petal-toolkit.cjs79.js +1 -1
  844. package/dist/petal-toolkit.cjs791.js +1 -1
  845. package/dist/petal-toolkit.cjs792.js +3 -1
  846. package/dist/petal-toolkit.cjs792.js.map +1 -1
  847. package/dist/petal-toolkit.cjs793.js +1 -3
  848. package/dist/petal-toolkit.cjs793.js.map +1 -1
  849. package/dist/petal-toolkit.cjs8.js +1 -1
  850. package/dist/petal-toolkit.cjs80.js +1 -1
  851. package/dist/petal-toolkit.cjs81.js +1 -1
  852. package/dist/petal-toolkit.cjs82.js +1 -1
  853. package/dist/petal-toolkit.cjs828.js +1 -1
  854. package/dist/petal-toolkit.cjs829.js +1 -1
  855. package/dist/petal-toolkit.cjs83.js +1 -1
  856. package/dist/petal-toolkit.cjs84.js +1 -1
  857. package/dist/petal-toolkit.cjs85.js +1 -1
  858. package/dist/petal-toolkit.cjs852.js +5 -1
  859. package/dist/petal-toolkit.cjs852.js.map +1 -1
  860. package/dist/petal-toolkit.cjs853.js +22 -5
  861. package/dist/petal-toolkit.cjs853.js.map +1 -1
  862. package/dist/petal-toolkit.cjs854.js +1 -22
  863. package/dist/petal-toolkit.cjs854.js.map +1 -1
  864. package/dist/petal-toolkit.cjs855.js +1 -1
  865. package/dist/petal-toolkit.cjs855.js.map +1 -1
  866. package/dist/petal-toolkit.cjs856.js +1 -1
  867. package/dist/petal-toolkit.cjs856.js.map +1 -1
  868. package/dist/petal-toolkit.cjs857.js +1 -1
  869. package/dist/petal-toolkit.cjs857.js.map +1 -1
  870. package/dist/petal-toolkit.cjs859.js +1 -1
  871. package/dist/petal-toolkit.cjs859.js.map +1 -1
  872. package/dist/petal-toolkit.cjs86.js +1 -1
  873. package/dist/petal-toolkit.cjs860.js +1 -1
  874. package/dist/petal-toolkit.cjs860.js.map +1 -1
  875. package/dist/petal-toolkit.cjs864.js +1 -1
  876. package/dist/petal-toolkit.cjs864.js.map +1 -1
  877. package/dist/petal-toolkit.cjs865.js +1 -1
  878. package/dist/petal-toolkit.cjs865.js.map +1 -1
  879. package/dist/petal-toolkit.cjs866.js +2 -1
  880. package/dist/petal-toolkit.cjs866.js.map +1 -1
  881. package/dist/petal-toolkit.cjs867.js +1 -2
  882. package/dist/petal-toolkit.cjs867.js.map +1 -1
  883. package/dist/petal-toolkit.cjs869.js +1 -1
  884. package/dist/petal-toolkit.cjs869.js.map +1 -1
  885. package/dist/petal-toolkit.cjs87.js +1 -1
  886. package/dist/petal-toolkit.cjs870.js +1 -1
  887. package/dist/petal-toolkit.cjs870.js.map +1 -1
  888. package/dist/petal-toolkit.cjs871.js +1 -1
  889. package/dist/petal-toolkit.cjs871.js.map +1 -1
  890. package/dist/petal-toolkit.cjs872.js +1 -1
  891. package/dist/petal-toolkit.cjs872.js.map +1 -1
  892. package/dist/petal-toolkit.cjs873.js +2 -1
  893. package/dist/petal-toolkit.cjs873.js.map +1 -1
  894. package/dist/petal-toolkit.cjs874.js +1 -2
  895. package/dist/petal-toolkit.cjs874.js.map +1 -1
  896. package/dist/petal-toolkit.cjs875.js +1 -1
  897. package/dist/petal-toolkit.cjs875.js.map +1 -1
  898. package/dist/petal-toolkit.cjs876.js +1 -1
  899. package/dist/petal-toolkit.cjs876.js.map +1 -1
  900. package/dist/petal-toolkit.cjs879.js +1 -1
  901. package/dist/petal-toolkit.cjs879.js.map +1 -1
  902. package/dist/petal-toolkit.cjs88.js +1 -1
  903. package/dist/petal-toolkit.cjs880.js +1 -1
  904. package/dist/petal-toolkit.cjs880.js.map +1 -1
  905. package/dist/petal-toolkit.cjs882.js +1 -1
  906. package/dist/petal-toolkit.cjs884.js +1 -1
  907. package/dist/petal-toolkit.cjs885.js +1 -1
  908. package/dist/petal-toolkit.cjs887.js +1 -1
  909. package/dist/petal-toolkit.cjs888.js +1 -1
  910. package/dist/petal-toolkit.cjs889.js +1 -1
  911. package/dist/petal-toolkit.cjs89.js +1 -1
  912. package/dist/petal-toolkit.cjs890.js +1 -1
  913. package/dist/petal-toolkit.cjs891.js +1 -1
  914. package/dist/petal-toolkit.cjs895.js +1 -1
  915. package/dist/petal-toolkit.cjs897.js +1 -1
  916. package/dist/petal-toolkit.cjs898.js +1 -1
  917. package/dist/petal-toolkit.cjs899.js +1 -1
  918. package/dist/petal-toolkit.cjs9.js +1 -1
  919. package/dist/petal-toolkit.cjs90.js +1 -1
  920. package/dist/petal-toolkit.cjs901.js +1 -1
  921. package/dist/petal-toolkit.cjs904.js +1 -1
  922. package/dist/petal-toolkit.cjs905.js +1 -1
  923. package/dist/petal-toolkit.cjs906.js +1 -1
  924. package/dist/petal-toolkit.cjs907.js +1 -1
  925. package/dist/petal-toolkit.cjs909.js +1 -1
  926. package/dist/petal-toolkit.cjs909.js.map +1 -1
  927. package/dist/petal-toolkit.cjs91.js +1 -1
  928. package/dist/petal-toolkit.cjs910.js +1 -1
  929. package/dist/petal-toolkit.cjs910.js.map +1 -1
  930. package/dist/petal-toolkit.cjs911.js +1 -1
  931. package/dist/petal-toolkit.cjs912.js +1 -1
  932. package/dist/petal-toolkit.cjs92.js +1 -1
  933. package/dist/petal-toolkit.cjs924.js +1 -1
  934. package/dist/petal-toolkit.cjs925.js +1 -1
  935. package/dist/petal-toolkit.cjs93.js +1 -1
  936. package/dist/petal-toolkit.cjs94.js +1 -1
  937. package/dist/petal-toolkit.cjs95.js +1 -1
  938. package/dist/petal-toolkit.cjs957.js +1 -1
  939. package/dist/petal-toolkit.cjs957.js.map +1 -1
  940. package/dist/petal-toolkit.cjs958.js +1 -1
  941. package/dist/petal-toolkit.cjs958.js.map +1 -1
  942. package/dist/petal-toolkit.cjs96.js +1 -1
  943. package/dist/petal-toolkit.cjs965.js +1 -1
  944. package/dist/petal-toolkit.cjs965.js.map +1 -1
  945. package/dist/petal-toolkit.cjs966.js +1 -1
  946. package/dist/petal-toolkit.cjs966.js.map +1 -1
  947. package/dist/petal-toolkit.cjs97.js +1 -1
  948. package/dist/petal-toolkit.cjs98.js +1 -1
  949. package/dist/petal-toolkit.cjs99.js +1 -1
  950. package/dist/petal-toolkit.es10.js +3 -3
  951. package/dist/petal-toolkit.es100.js +1 -1
  952. package/dist/petal-toolkit.es1002.js +2 -2
  953. package/dist/petal-toolkit.es1003.js +2 -2
  954. package/dist/petal-toolkit.es1004.js +2 -2
  955. package/dist/petal-toolkit.es1005.js +2 -2
  956. package/dist/petal-toolkit.es101.js +1 -1
  957. package/dist/petal-toolkit.es1010.js +2 -2
  958. package/dist/petal-toolkit.es1014.js +2 -2
  959. package/dist/petal-toolkit.es1015.js +2 -2
  960. package/dist/petal-toolkit.es1017.js +2 -2
  961. package/dist/petal-toolkit.es1018.js +2 -2
  962. package/dist/petal-toolkit.es102.js +1 -1
  963. package/dist/petal-toolkit.es1020.js +2 -2
  964. package/dist/petal-toolkit.es1021.js +2 -2
  965. package/dist/petal-toolkit.es1024.js +2 -2
  966. package/dist/petal-toolkit.es1025.js +2 -2
  967. package/dist/petal-toolkit.es1026.js +2 -2
  968. package/dist/petal-toolkit.es1027.js +2 -2
  969. package/dist/petal-toolkit.es1028.js +2 -2
  970. package/dist/petal-toolkit.es1029.js +2 -2
  971. package/dist/petal-toolkit.es103.js +1 -1
  972. package/dist/petal-toolkit.es1030.js +2 -2
  973. package/dist/petal-toolkit.es1032.js +2 -2
  974. package/dist/petal-toolkit.es1035.js +2 -2
  975. package/dist/petal-toolkit.es1037.js +2 -2
  976. package/dist/petal-toolkit.es1038.js +2 -2
  977. package/dist/petal-toolkit.es104.js +1 -1
  978. package/dist/petal-toolkit.es1042.js +2 -2
  979. package/dist/petal-toolkit.es1043.js +2 -2
  980. package/dist/petal-toolkit.es1045.js +2 -2
  981. package/dist/petal-toolkit.es1046.js +2 -2
  982. package/dist/petal-toolkit.es1047.js +2 -2
  983. package/dist/petal-toolkit.es1048.js +2 -2
  984. package/dist/petal-toolkit.es1049.js +2 -2
  985. package/dist/petal-toolkit.es105.js +1 -1
  986. package/dist/petal-toolkit.es1051.js +49 -2
  987. package/dist/petal-toolkit.es1051.js.map +1 -1
  988. package/dist/petal-toolkit.es1052.js +2 -49
  989. package/dist/petal-toolkit.es1052.js.map +1 -1
  990. package/dist/petal-toolkit.es1056.js +2 -2
  991. package/dist/petal-toolkit.es1057.js +2 -2
  992. package/dist/petal-toolkit.es1058.js +2 -2
  993. package/dist/petal-toolkit.es1059.js +2 -2
  994. package/dist/petal-toolkit.es106.js +2 -2
  995. package/dist/petal-toolkit.es1062.js +50 -2
  996. package/dist/petal-toolkit.es1062.js.map +1 -1
  997. package/dist/petal-toolkit.es1063.js +2 -50
  998. package/dist/petal-toolkit.es1063.js.map +1 -1
  999. package/dist/petal-toolkit.es1065.js +2 -2
  1000. package/dist/petal-toolkit.es1066.js +2 -2
  1001. package/dist/petal-toolkit.es107.js +2 -2
  1002. package/dist/petal-toolkit.es1070.js +2 -2
  1003. package/dist/petal-toolkit.es1075.js +2 -2
  1004. package/dist/petal-toolkit.es1076.js +2 -2
  1005. package/dist/petal-toolkit.es1078.js +2 -2
  1006. package/dist/petal-toolkit.es1079.js +2 -2
  1007. package/dist/petal-toolkit.es108.js +1 -1
  1008. package/dist/petal-toolkit.es1083.js +2 -2
  1009. package/dist/petal-toolkit.es1084.js +2 -2
  1010. package/dist/petal-toolkit.es109.js +2 -2
  1011. package/dist/petal-toolkit.es1091.js +2 -2
  1012. package/dist/petal-toolkit.es1092.js +2 -2
  1013. package/dist/petal-toolkit.es1096.js +2 -2
  1014. package/dist/petal-toolkit.es1097.js +2 -2
  1015. package/dist/petal-toolkit.es1098.js +2 -2
  1016. package/dist/petal-toolkit.es1099.js +2 -2
  1017. package/dist/petal-toolkit.es11.js +3 -3
  1018. package/dist/petal-toolkit.es110.js +3 -3
  1019. package/dist/petal-toolkit.es1104.js +2 -2
  1020. package/dist/petal-toolkit.es1105.js +2 -2
  1021. package/dist/petal-toolkit.es1106.js +2 -2
  1022. package/dist/petal-toolkit.es111.js +2 -2
  1023. package/dist/petal-toolkit.es1110.js +2 -2
  1024. package/dist/petal-toolkit.es1117.js +2 -2
  1025. package/dist/petal-toolkit.es1119.js +2 -2
  1026. package/dist/petal-toolkit.es112.js +1 -1
  1027. package/dist/petal-toolkit.es1120.js +2 -2
  1028. package/dist/petal-toolkit.es1122.js +2 -2
  1029. package/dist/petal-toolkit.es1123.js +2 -2
  1030. package/dist/petal-toolkit.es1124.js +2 -2
  1031. package/dist/petal-toolkit.es1127.js +2 -2
  1032. package/dist/petal-toolkit.es1128.js +10 -2
  1033. package/dist/petal-toolkit.es1128.js.map +1 -1
  1034. package/dist/petal-toolkit.es1129.js +2 -10
  1035. package/dist/petal-toolkit.es1129.js.map +1 -1
  1036. package/dist/petal-toolkit.es113.js +1 -1
  1037. package/dist/petal-toolkit.es1130.js +10 -2
  1038. package/dist/petal-toolkit.es1130.js.map +1 -1
  1039. package/dist/petal-toolkit.es1131.js +2 -10
  1040. package/dist/petal-toolkit.es1131.js.map +1 -1
  1041. package/dist/petal-toolkit.es1132.js +10 -2
  1042. package/dist/petal-toolkit.es1132.js.map +1 -1
  1043. package/dist/petal-toolkit.es1133.js +7 -7
  1044. package/dist/petal-toolkit.es1133.js.map +1 -1
  1045. package/dist/petal-toolkit.es1134.js +2 -10
  1046. package/dist/petal-toolkit.es1134.js.map +1 -1
  1047. package/dist/petal-toolkit.es1135.js +2 -2
  1048. package/dist/petal-toolkit.es1136.js +2 -2
  1049. package/dist/petal-toolkit.es1138.js +2 -2
  1050. package/dist/petal-toolkit.es1139.js +10 -2
  1051. package/dist/petal-toolkit.es1139.js.map +1 -1
  1052. package/dist/petal-toolkit.es114.js +2 -2
  1053. package/dist/petal-toolkit.es1140.js +2 -10
  1054. package/dist/petal-toolkit.es1140.js.map +1 -1
  1055. package/dist/petal-toolkit.es1143.js +2 -2
  1056. package/dist/petal-toolkit.es1145.js +2 -2
  1057. package/dist/petal-toolkit.es1146.js +2 -2
  1058. package/dist/petal-toolkit.es1147.js +2 -2
  1059. package/dist/petal-toolkit.es1148.js +2 -2
  1060. package/dist/petal-toolkit.es1149.js +2 -2
  1061. package/dist/petal-toolkit.es115.js +1 -1
  1062. package/dist/petal-toolkit.es1151.js +2 -2
  1063. package/dist/petal-toolkit.es1152.js +2 -2
  1064. package/dist/petal-toolkit.es1153.js +2 -2
  1065. package/dist/petal-toolkit.es1154.js +4742 -2
  1066. package/dist/petal-toolkit.es1154.js.map +1 -1
  1067. package/dist/petal-toolkit.es1155.js +2 -4742
  1068. package/dist/petal-toolkit.es1155.js.map +1 -1
  1069. package/dist/petal-toolkit.es1156.js +2 -2
  1070. package/dist/petal-toolkit.es1158.js +2 -2
  1071. package/dist/petal-toolkit.es116.js +1 -1
  1072. package/dist/petal-toolkit.es1160.js +2 -2
  1073. package/dist/petal-toolkit.es1161.js +2 -2
  1074. package/dist/petal-toolkit.es1162.js +2 -2
  1075. package/dist/petal-toolkit.es1163.js +12 -2
  1076. package/dist/petal-toolkit.es1163.js.map +1 -1
  1077. package/dist/petal-toolkit.es1164.js +2 -12
  1078. package/dist/petal-toolkit.es1164.js.map +1 -1
  1079. package/dist/petal-toolkit.es1165.js +2 -2
  1080. package/dist/petal-toolkit.es1166.js +2 -2
  1081. package/dist/petal-toolkit.es1167.js +2 -2
  1082. package/dist/petal-toolkit.es1169.js +2 -2
  1083. package/dist/petal-toolkit.es117.js +1 -1
  1084. package/dist/petal-toolkit.es1170.js +2 -2
  1085. package/dist/petal-toolkit.es1171.js +10 -2
  1086. package/dist/petal-toolkit.es1171.js.map +1 -1
  1087. package/dist/petal-toolkit.es1172.js +2 -10
  1088. package/dist/petal-toolkit.es1172.js.map +1 -1
  1089. package/dist/petal-toolkit.es1173.js +2 -2
  1090. package/dist/petal-toolkit.es1175.js +2 -2
  1091. package/dist/petal-toolkit.es1177.js +10 -2
  1092. package/dist/petal-toolkit.es1177.js.map +1 -1
  1093. package/dist/petal-toolkit.es1178.js +2 -10
  1094. package/dist/petal-toolkit.es1178.js.map +1 -1
  1095. package/dist/petal-toolkit.es1179.js +2 -2
  1096. package/dist/petal-toolkit.es118.js +2 -2
  1097. package/dist/petal-toolkit.es1180.js +2 -2
  1098. package/dist/petal-toolkit.es1184.js +2 -2
  1099. package/dist/petal-toolkit.es1185.js +2 -2
  1100. package/dist/petal-toolkit.es119.js +1 -1
  1101. package/dist/petal-toolkit.es1190.js +2 -2
  1102. package/dist/petal-toolkit.es1191.js +2 -2
  1103. package/dist/petal-toolkit.es1199.js +2 -2
  1104. package/dist/petal-toolkit.es12.js +3 -3
  1105. package/dist/petal-toolkit.es120.js +1 -1
  1106. package/dist/petal-toolkit.es1200.js +2 -2
  1107. package/dist/petal-toolkit.es1201.js +2 -2
  1108. package/dist/petal-toolkit.es1202.js +2 -2
  1109. package/dist/petal-toolkit.es1203.js +2 -2
  1110. package/dist/petal-toolkit.es1205.js +2 -2
  1111. package/dist/petal-toolkit.es1206.js +2 -2
  1112. package/dist/petal-toolkit.es1207.js +2 -2
  1113. package/dist/petal-toolkit.es1208.js +2 -2
  1114. package/dist/petal-toolkit.es1209.js +2 -2
  1115. package/dist/petal-toolkit.es121.js +2 -2
  1116. package/dist/petal-toolkit.es1210.js +2 -2
  1117. package/dist/petal-toolkit.es1211.js +2 -2
  1118. package/dist/petal-toolkit.es1212.js +2 -2
  1119. package/dist/petal-toolkit.es1215.js +2 -2
  1120. package/dist/petal-toolkit.es1216.js +2 -2
  1121. package/dist/petal-toolkit.es1217.js +2 -2
  1122. package/dist/petal-toolkit.es1218.js +2 -2
  1123. package/dist/petal-toolkit.es122.js +1 -1
  1124. package/dist/petal-toolkit.es1220.js +26 -2
  1125. package/dist/petal-toolkit.es1220.js.map +1 -1
  1126. package/dist/petal-toolkit.es1221.js +2 -26
  1127. package/dist/petal-toolkit.es1221.js.map +1 -1
  1128. package/dist/petal-toolkit.es1222.js +2 -2
  1129. package/dist/petal-toolkit.es1223.js +2 -2
  1130. package/dist/petal-toolkit.es1224.js +2 -2
  1131. package/dist/petal-toolkit.es1225.js +2 -2
  1132. package/dist/petal-toolkit.es1226.js +2 -2
  1133. package/dist/petal-toolkit.es1227.js +2 -2
  1134. package/dist/petal-toolkit.es1228.js +2 -2
  1135. package/dist/petal-toolkit.es1229.js +2 -2
  1136. package/dist/petal-toolkit.es123.js +1 -1
  1137. package/dist/petal-toolkit.es1231.js +2 -2
  1138. package/dist/petal-toolkit.es1232.js +2 -2
  1139. package/dist/petal-toolkit.es1233.js +2 -2
  1140. package/dist/petal-toolkit.es1235.js +2 -2
  1141. package/dist/petal-toolkit.es1236.js +2 -2
  1142. package/dist/petal-toolkit.es1239.js +2 -2
  1143. package/dist/petal-toolkit.es124.js +1 -1
  1144. package/dist/petal-toolkit.es1240.js +2 -2
  1145. package/dist/petal-toolkit.es1242.js +2 -2
  1146. package/dist/petal-toolkit.es1243.js +2 -2
  1147. package/dist/petal-toolkit.es1246.js +2 -2
  1148. package/dist/petal-toolkit.es1247.js +2 -2
  1149. package/dist/petal-toolkit.es1248.js +2 -2
  1150. package/dist/petal-toolkit.es125.js +1 -1
  1151. package/dist/petal-toolkit.es1251.js +2 -2
  1152. package/dist/petal-toolkit.es1252.js +2 -2
  1153. package/dist/petal-toolkit.es1257.js +2 -2
  1154. package/dist/petal-toolkit.es1258.js +2 -2
  1155. package/dist/petal-toolkit.es1259.js +2 -2
  1156. package/dist/petal-toolkit.es126.js +1 -1
  1157. package/dist/petal-toolkit.es1260.js +2 -2
  1158. package/dist/petal-toolkit.es1261.js +2 -2
  1159. package/dist/petal-toolkit.es1263.js +2 -2
  1160. package/dist/petal-toolkit.es1265.js +2 -2
  1161. package/dist/petal-toolkit.es1267.js +2 -2
  1162. package/dist/petal-toolkit.es1269.js +2 -2
  1163. package/dist/petal-toolkit.es127.js +1 -1
  1164. package/dist/petal-toolkit.es1270.js +2 -2
  1165. package/dist/petal-toolkit.es1274.js +2 -2
  1166. package/dist/petal-toolkit.es1275.js +2 -2
  1167. package/dist/petal-toolkit.es1276.js +2 -2
  1168. package/dist/petal-toolkit.es1277.js +2 -2
  1169. package/dist/petal-toolkit.es1278.js +2 -2
  1170. package/dist/petal-toolkit.es128.js +1 -1
  1171. package/dist/petal-toolkit.es1280.js +2 -2
  1172. package/dist/petal-toolkit.es1281.js +2 -2
  1173. package/dist/petal-toolkit.es1282.js +2 -2
  1174. package/dist/petal-toolkit.es1283.js +2 -2
  1175. package/dist/petal-toolkit.es1285.js +2 -2
  1176. package/dist/petal-toolkit.es1286.js +2 -2
  1177. package/dist/petal-toolkit.es1287.js +2 -2
  1178. package/dist/petal-toolkit.es129.js +1 -1
  1179. package/dist/petal-toolkit.es1290.js +2 -2
  1180. package/dist/petal-toolkit.es1291.js +2 -2
  1181. package/dist/petal-toolkit.es1292.js +2 -2
  1182. package/dist/petal-toolkit.es1294.js +2 -2
  1183. package/dist/petal-toolkit.es1295.js +2 -2
  1184. package/dist/petal-toolkit.es1296.js +2 -2
  1185. package/dist/petal-toolkit.es1297.js +2 -2
  1186. package/dist/petal-toolkit.es1298.js +2 -2
  1187. package/dist/petal-toolkit.es1299.js +2 -2
  1188. package/dist/petal-toolkit.es13.js +2 -2
  1189. package/dist/petal-toolkit.es130.js +1 -1
  1190. package/dist/petal-toolkit.es1300.js +2 -2
  1191. package/dist/petal-toolkit.es1302.js +2 -2
  1192. package/dist/petal-toolkit.es1303.js +2 -2
  1193. package/dist/petal-toolkit.es1304.js +2 -2
  1194. package/dist/petal-toolkit.es1305.js +2 -2
  1195. package/dist/petal-toolkit.es1306.js +2 -2
  1196. package/dist/petal-toolkit.es1307.js +2 -2
  1197. package/dist/petal-toolkit.es1308.js +2 -2
  1198. package/dist/petal-toolkit.es1309.js +2 -2
  1199. package/dist/petal-toolkit.es131.js +1 -1
  1200. package/dist/petal-toolkit.es1311.js +2 -2
  1201. package/dist/petal-toolkit.es1314.js +2 -2
  1202. package/dist/petal-toolkit.es1315.js +2 -2
  1203. package/dist/petal-toolkit.es1318.js +2 -2
  1204. package/dist/petal-toolkit.es1319.js +2 -2
  1205. package/dist/petal-toolkit.es132.js +1 -1
  1206. package/dist/petal-toolkit.es1320.js +2 -2
  1207. package/dist/petal-toolkit.es1321.js +2 -2
  1208. package/dist/petal-toolkit.es1322.js +2 -2
  1209. package/dist/petal-toolkit.es1325.js +17 -2
  1210. package/dist/petal-toolkit.es1325.js.map +1 -1
  1211. package/dist/petal-toolkit.es1326.js +256 -50
  1212. package/dist/petal-toolkit.es1326.js.map +1 -1
  1213. package/dist/petal-toolkit.es1327.js +276 -47
  1214. package/dist/petal-toolkit.es1327.js.map +1 -1
  1215. package/dist/petal-toolkit.es1328.js +168 -72
  1216. package/dist/petal-toolkit.es1328.js.map +1 -1
  1217. package/dist/petal-toolkit.es1329.js +483 -2
  1218. package/dist/petal-toolkit.es1329.js.map +1 -1
  1219. package/dist/petal-toolkit.es133.js +1 -1
  1220. package/dist/petal-toolkit.es1330.js +72 -2
  1221. package/dist/petal-toolkit.es1330.js.map +1 -1
  1222. package/dist/petal-toolkit.es1331.js +52 -2
  1223. package/dist/petal-toolkit.es1331.js.map +1 -1
  1224. package/dist/petal-toolkit.es1332.js +48 -2
  1225. package/dist/petal-toolkit.es1332.js.map +1 -1
  1226. package/dist/petal-toolkit.es1333.js +2 -2
  1227. package/dist/petal-toolkit.es1334.js +2 -2
  1228. package/dist/petal-toolkit.es1335.js +2 -2
  1229. package/dist/petal-toolkit.es1336.js +2 -2
  1230. package/dist/petal-toolkit.es1337.js +2 -2
  1231. package/dist/petal-toolkit.es1338.js +2 -2
  1232. package/dist/petal-toolkit.es1339.js +2 -2
  1233. package/dist/petal-toolkit.es134.js +1 -1
  1234. package/dist/petal-toolkit.es1340.js +2 -2
  1235. package/dist/petal-toolkit.es1341.js +2 -2
  1236. package/dist/petal-toolkit.es1342.js +2 -2
  1237. package/dist/petal-toolkit.es1343.js +2 -2
  1238. package/dist/petal-toolkit.es1344.js +2 -2
  1239. package/dist/petal-toolkit.es1345.js +2 -2
  1240. package/dist/petal-toolkit.es1347.js +2 -2
  1241. package/dist/petal-toolkit.es1348.js +2 -2
  1242. package/dist/petal-toolkit.es135.js +1 -1
  1243. package/dist/petal-toolkit.es1350.js +2 -2
  1244. package/dist/petal-toolkit.es1351.js +2 -2
  1245. package/dist/petal-toolkit.es1352.js +2 -2
  1246. package/dist/petal-toolkit.es1353.js +2 -2
  1247. package/dist/petal-toolkit.es1354.js +2 -2
  1248. package/dist/petal-toolkit.es1355.js +2 -2
  1249. package/dist/petal-toolkit.es1356.js +2 -2
  1250. package/dist/petal-toolkit.es1357.js +75 -2
  1251. package/dist/petal-toolkit.es1357.js.map +1 -1
  1252. package/dist/petal-toolkit.es136.js +1 -1
  1253. package/dist/petal-toolkit.es1361.js +2 -2
  1254. package/dist/petal-toolkit.es1362.js +2 -2
  1255. package/dist/petal-toolkit.es1363.js +2 -2
  1256. package/dist/petal-toolkit.es1367.js +2 -2
  1257. package/dist/petal-toolkit.es1368.js +5 -0
  1258. package/dist/petal-toolkit.es1368.js.map +1 -0
  1259. package/dist/petal-toolkit.es1369.js +5 -0
  1260. package/dist/petal-toolkit.es1369.js.map +1 -0
  1261. package/dist/petal-toolkit.es137.js +1 -1
  1262. package/dist/petal-toolkit.es1370.js +5 -0
  1263. package/dist/petal-toolkit.es1370.js.map +1 -0
  1264. package/dist/petal-toolkit.es1371.js +5 -0
  1265. package/dist/petal-toolkit.es1371.js.map +1 -0
  1266. package/dist/petal-toolkit.es1372.js +5 -0
  1267. package/dist/petal-toolkit.es1372.js.map +1 -0
  1268. package/dist/petal-toolkit.es138.js +2 -2
  1269. package/dist/petal-toolkit.es139.js +2 -2
  1270. package/dist/petal-toolkit.es14.js +2 -2
  1271. package/dist/petal-toolkit.es140.js +1 -1
  1272. package/dist/petal-toolkit.es141.js +1 -1
  1273. package/dist/petal-toolkit.es142.js +1 -1
  1274. package/dist/petal-toolkit.es143.js +2 -2
  1275. package/dist/petal-toolkit.es144.js +1 -1
  1276. package/dist/petal-toolkit.es145.js +1 -1
  1277. package/dist/petal-toolkit.es146.js +1 -1
  1278. package/dist/petal-toolkit.es147.js +1 -1
  1279. package/dist/petal-toolkit.es148.js +1 -1
  1280. package/dist/petal-toolkit.es149.js +3 -3
  1281. package/dist/petal-toolkit.es15.js +2 -2
  1282. package/dist/petal-toolkit.es150.js +1 -1
  1283. package/dist/petal-toolkit.es151.js +1 -1
  1284. package/dist/petal-toolkit.es152.js +1 -1
  1285. package/dist/petal-toolkit.es153.js +1 -1
  1286. package/dist/petal-toolkit.es154.js +1 -1
  1287. package/dist/petal-toolkit.es155.js +1 -1
  1288. package/dist/petal-toolkit.es156.js +1 -1
  1289. package/dist/petal-toolkit.es157.js +1 -1
  1290. package/dist/petal-toolkit.es158.js +1 -1
  1291. package/dist/petal-toolkit.es159.js +1 -1
  1292. package/dist/petal-toolkit.es160.js +1 -1
  1293. package/dist/petal-toolkit.es161.js +1 -1
  1294. package/dist/petal-toolkit.es162.js +1 -1
  1295. package/dist/petal-toolkit.es163.js +1 -1
  1296. package/dist/petal-toolkit.es164.js +1 -1
  1297. package/dist/petal-toolkit.es165.js +1 -1
  1298. package/dist/petal-toolkit.es166.js +1 -1
  1299. package/dist/petal-toolkit.es167.js +1 -1
  1300. package/dist/petal-toolkit.es168.js +1 -1
  1301. package/dist/petal-toolkit.es169.js +1 -1
  1302. package/dist/petal-toolkit.es170.js +1 -1
  1303. package/dist/petal-toolkit.es171.js +2 -2
  1304. package/dist/petal-toolkit.es172.js +1 -1
  1305. package/dist/petal-toolkit.es173.js +1 -1
  1306. package/dist/petal-toolkit.es174.js +1 -1
  1307. package/dist/petal-toolkit.es175.js +1 -1
  1308. package/dist/petal-toolkit.es176.js +1 -1
  1309. package/dist/petal-toolkit.es177.js +1 -1
  1310. package/dist/petal-toolkit.es178.js +1 -1
  1311. package/dist/petal-toolkit.es179.js +1 -1
  1312. package/dist/petal-toolkit.es18.js +3 -3
  1313. package/dist/petal-toolkit.es180.js +1 -1
  1314. package/dist/petal-toolkit.es181.js +1 -1
  1315. package/dist/petal-toolkit.es182.js +1 -1
  1316. package/dist/petal-toolkit.es183.js +1 -1
  1317. package/dist/petal-toolkit.es184.js +1 -1
  1318. package/dist/petal-toolkit.es185.js +1 -1
  1319. package/dist/petal-toolkit.es186.js +1 -1
  1320. package/dist/petal-toolkit.es187.js +1 -1
  1321. package/dist/petal-toolkit.es188.js +1 -1
  1322. package/dist/petal-toolkit.es189.js +1 -1
  1323. package/dist/petal-toolkit.es19.js +3 -3
  1324. package/dist/petal-toolkit.es190.js +1 -1
  1325. package/dist/petal-toolkit.es191.js +1 -1
  1326. package/dist/petal-toolkit.es192.js +1 -1
  1327. package/dist/petal-toolkit.es193.js +1 -1
  1328. package/dist/petal-toolkit.es194.js +1 -1
  1329. package/dist/petal-toolkit.es195.js +1 -1
  1330. package/dist/petal-toolkit.es196.js +1 -1
  1331. package/dist/petal-toolkit.es197.js +1 -1
  1332. package/dist/petal-toolkit.es198.js +1 -1
  1333. package/dist/petal-toolkit.es199.js +1 -1
  1334. package/dist/petal-toolkit.es20.js +1 -1
  1335. package/dist/petal-toolkit.es200.js +1 -1
  1336. package/dist/petal-toolkit.es201.js +1 -1
  1337. package/dist/petal-toolkit.es202.js +1 -1
  1338. package/dist/petal-toolkit.es203.js +1 -1
  1339. package/dist/petal-toolkit.es204.js +1 -1
  1340. package/dist/petal-toolkit.es205.js +1 -1
  1341. package/dist/petal-toolkit.es206.js +1 -1
  1342. package/dist/petal-toolkit.es207.js +1 -1
  1343. package/dist/petal-toolkit.es208.js +1 -1
  1344. package/dist/petal-toolkit.es209.js +1 -1
  1345. package/dist/petal-toolkit.es210.js +1 -1
  1346. package/dist/petal-toolkit.es211.js +1 -1
  1347. package/dist/petal-toolkit.es212.js +1 -1
  1348. package/dist/petal-toolkit.es213.js +1 -1
  1349. package/dist/petal-toolkit.es214.js +1 -1
  1350. package/dist/petal-toolkit.es215.js +1 -1
  1351. package/dist/petal-toolkit.es216.js +1 -1
  1352. package/dist/petal-toolkit.es217.js +1 -1
  1353. package/dist/petal-toolkit.es218.js +1 -1
  1354. package/dist/petal-toolkit.es219.js +1 -1
  1355. package/dist/petal-toolkit.es22.js +2 -2
  1356. package/dist/petal-toolkit.es220.js +1 -1
  1357. package/dist/petal-toolkit.es221.js +1 -1
  1358. package/dist/petal-toolkit.es222.js +1 -1
  1359. package/dist/petal-toolkit.es223.js +2 -2
  1360. package/dist/petal-toolkit.es224.js +2 -2
  1361. package/dist/petal-toolkit.es225.js +1 -1
  1362. package/dist/petal-toolkit.es226.js +1 -1
  1363. package/dist/petal-toolkit.es227.js +1 -1
  1364. package/dist/petal-toolkit.es228.js +1 -1
  1365. package/dist/petal-toolkit.es229.js +1 -1
  1366. package/dist/petal-toolkit.es23.js +1 -1
  1367. package/dist/petal-toolkit.es230.js +6 -6
  1368. package/dist/petal-toolkit.es231.js +1 -1
  1369. package/dist/petal-toolkit.es232.js +2 -2
  1370. package/dist/petal-toolkit.es233.js +1 -1
  1371. package/dist/petal-toolkit.es234.js +1 -1
  1372. package/dist/petal-toolkit.es235.js +1 -1
  1373. package/dist/petal-toolkit.es236.js +2 -2
  1374. package/dist/petal-toolkit.es237.js +4 -4
  1375. package/dist/petal-toolkit.es238.js +2 -2
  1376. package/dist/petal-toolkit.es239.js +4 -4
  1377. package/dist/petal-toolkit.es24.js +2 -2
  1378. package/dist/petal-toolkit.es240.js +8 -8
  1379. package/dist/petal-toolkit.es241.js +5 -5
  1380. package/dist/petal-toolkit.es242.js +1 -1
  1381. package/dist/petal-toolkit.es243.js +1 -1
  1382. package/dist/petal-toolkit.es244.js +3 -3
  1383. package/dist/petal-toolkit.es245.js +1 -1
  1384. package/dist/petal-toolkit.es246.js +1 -1
  1385. package/dist/petal-toolkit.es247.js +1 -1
  1386. package/dist/petal-toolkit.es248.js +1 -1
  1387. package/dist/petal-toolkit.es249.js +2 -2
  1388. package/dist/petal-toolkit.es25.js +2 -2
  1389. package/dist/petal-toolkit.es250.js +2 -2
  1390. package/dist/petal-toolkit.es251.js +2 -2
  1391. package/dist/petal-toolkit.es252.js +3 -3
  1392. package/dist/petal-toolkit.es253.js +2 -2
  1393. package/dist/petal-toolkit.es254.js +1 -1
  1394. package/dist/petal-toolkit.es255.js +2 -2
  1395. package/dist/petal-toolkit.es256.js +1 -1
  1396. package/dist/petal-toolkit.es257.js +2 -2
  1397. package/dist/petal-toolkit.es258.js +2 -2
  1398. package/dist/petal-toolkit.es259.js +1 -1
  1399. package/dist/petal-toolkit.es26.js +2 -2
  1400. package/dist/petal-toolkit.es260.js +2 -2
  1401. package/dist/petal-toolkit.es261.js +2 -2
  1402. package/dist/petal-toolkit.es262.js +2 -2
  1403. package/dist/petal-toolkit.es263.js +2 -2
  1404. package/dist/petal-toolkit.es264.js +2 -2
  1405. package/dist/petal-toolkit.es265.js +2 -2
  1406. package/dist/petal-toolkit.es266.js +2 -2
  1407. package/dist/petal-toolkit.es267.js +2 -2
  1408. package/dist/petal-toolkit.es268.js +1 -1
  1409. package/dist/petal-toolkit.es269.js +2 -2
  1410. package/dist/petal-toolkit.es27.js +3 -3
  1411. package/dist/petal-toolkit.es270.js +2 -2
  1412. package/dist/petal-toolkit.es271.js +2 -2
  1413. package/dist/petal-toolkit.es272.js +1 -1
  1414. package/dist/petal-toolkit.es273.js +3 -3
  1415. package/dist/petal-toolkit.es274.js +2 -2
  1416. package/dist/petal-toolkit.es275.js +1 -1
  1417. package/dist/petal-toolkit.es276.js +2 -2
  1418. package/dist/petal-toolkit.es277.js +1 -1
  1419. package/dist/petal-toolkit.es278.js +1 -1
  1420. package/dist/petal-toolkit.es279.js +2 -2
  1421. package/dist/petal-toolkit.es28.js +129 -110
  1422. package/dist/petal-toolkit.es28.js.map +1 -1
  1423. package/dist/petal-toolkit.es280.js +1 -1
  1424. package/dist/petal-toolkit.es281.js +1 -1
  1425. package/dist/petal-toolkit.es282.js +2 -2
  1426. package/dist/petal-toolkit.es283.js +1 -1
  1427. package/dist/petal-toolkit.es284.js +1 -1
  1428. package/dist/petal-toolkit.es285.js +1 -1
  1429. package/dist/petal-toolkit.es286.js +2 -2
  1430. package/dist/petal-toolkit.es287.js +1 -1
  1431. package/dist/petal-toolkit.es288.js +1 -1
  1432. package/dist/petal-toolkit.es289.js +1 -1
  1433. package/dist/petal-toolkit.es29.js +24 -22
  1434. package/dist/petal-toolkit.es29.js.map +1 -1
  1435. package/dist/petal-toolkit.es290.js +1 -1
  1436. package/dist/petal-toolkit.es291.js +1 -1
  1437. package/dist/petal-toolkit.es292.js +1 -1
  1438. package/dist/petal-toolkit.es293.js +2 -2
  1439. package/dist/petal-toolkit.es294.js +1 -1
  1440. package/dist/petal-toolkit.es295.js +1 -1
  1441. package/dist/petal-toolkit.es296.js +1 -1
  1442. package/dist/petal-toolkit.es297.js +1 -1
  1443. package/dist/petal-toolkit.es298.js +1 -1
  1444. package/dist/petal-toolkit.es299.js +1 -1
  1445. package/dist/petal-toolkit.es3.js.map +1 -1
  1446. package/dist/petal-toolkit.es30.js +714 -601
  1447. package/dist/petal-toolkit.es30.js.map +1 -1
  1448. package/dist/petal-toolkit.es300.js +2 -2
  1449. package/dist/petal-toolkit.es301.js +1 -1
  1450. package/dist/petal-toolkit.es302.js +1 -1
  1451. package/dist/petal-toolkit.es303.js +1 -1
  1452. package/dist/petal-toolkit.es304.js +1 -1
  1453. package/dist/petal-toolkit.es305.js +1 -1
  1454. package/dist/petal-toolkit.es306.js +1 -1
  1455. package/dist/petal-toolkit.es307.js +1 -1
  1456. package/dist/petal-toolkit.es308.js +2 -2
  1457. package/dist/petal-toolkit.es309.js +2 -2
  1458. package/dist/petal-toolkit.es31.js +2 -2
  1459. package/dist/petal-toolkit.es310.js +1 -1
  1460. package/dist/petal-toolkit.es311.js +1 -1
  1461. package/dist/petal-toolkit.es312.js +1 -1
  1462. package/dist/petal-toolkit.es313.js +1 -1
  1463. package/dist/petal-toolkit.es314.js +1 -1
  1464. package/dist/petal-toolkit.es315.js +1 -1
  1465. package/dist/petal-toolkit.es316.js +1 -1
  1466. package/dist/petal-toolkit.es317.js +1 -1
  1467. package/dist/petal-toolkit.es318.js +2 -2
  1468. package/dist/petal-toolkit.es319.js +1 -1
  1469. package/dist/petal-toolkit.es32.js +2 -2
  1470. package/dist/petal-toolkit.es320.js +3 -3
  1471. package/dist/petal-toolkit.es321.js +1 -1
  1472. package/dist/petal-toolkit.es322.js +1 -1
  1473. package/dist/petal-toolkit.es323.js +2 -2
  1474. package/dist/petal-toolkit.es324.js +1 -1
  1475. package/dist/petal-toolkit.es325.js +1 -1
  1476. package/dist/petal-toolkit.es326.js +1 -1
  1477. package/dist/petal-toolkit.es327.js +2 -2
  1478. package/dist/petal-toolkit.es328.js +2 -2
  1479. package/dist/petal-toolkit.es329.js +2 -2
  1480. package/dist/petal-toolkit.es330.js +2 -2
  1481. package/dist/petal-toolkit.es331.js +2 -2
  1482. package/dist/petal-toolkit.es332.js +3 -3
  1483. package/dist/petal-toolkit.es333.js +3 -3
  1484. package/dist/petal-toolkit.es334.js +2 -2
  1485. package/dist/petal-toolkit.es335.js +2 -2
  1486. package/dist/petal-toolkit.es336.js +1 -1
  1487. package/dist/petal-toolkit.es337.js +2 -2
  1488. package/dist/petal-toolkit.es338.js +2 -2
  1489. package/dist/petal-toolkit.es339.js +2 -2
  1490. package/dist/petal-toolkit.es34.js +2 -2
  1491. package/dist/petal-toolkit.es340.js +2 -2
  1492. package/dist/petal-toolkit.es341.js +2 -2
  1493. package/dist/petal-toolkit.es342.js +2 -2
  1494. package/dist/petal-toolkit.es343.js +1 -1
  1495. package/dist/petal-toolkit.es344.js +1 -1
  1496. package/dist/petal-toolkit.es345.js +1 -1
  1497. package/dist/petal-toolkit.es346.js +1 -1
  1498. package/dist/petal-toolkit.es347.js +2 -2
  1499. package/dist/petal-toolkit.es348.js +1 -1
  1500. package/dist/petal-toolkit.es349.js +2 -2
  1501. package/dist/petal-toolkit.es35.js +1 -1
  1502. package/dist/petal-toolkit.es350.js +1 -1
  1503. package/dist/petal-toolkit.es351.js +2 -2
  1504. package/dist/petal-toolkit.es352.js +1 -1
  1505. package/dist/petal-toolkit.es353.js +2 -2
  1506. package/dist/petal-toolkit.es354.js +1 -1
  1507. package/dist/petal-toolkit.es355.js +1 -1
  1508. package/dist/petal-toolkit.es356.js +1 -1
  1509. package/dist/petal-toolkit.es357.js +1 -1
  1510. package/dist/petal-toolkit.es358.js +3 -3
  1511. package/dist/petal-toolkit.es359.js +1 -1
  1512. package/dist/petal-toolkit.es36.js +2 -2
  1513. package/dist/petal-toolkit.es360.js +1 -1
  1514. package/dist/petal-toolkit.es361.js +2 -2
  1515. package/dist/petal-toolkit.es362.js +2 -2
  1516. package/dist/petal-toolkit.es363.js +2 -2
  1517. package/dist/petal-toolkit.es364.js +2 -2
  1518. package/dist/petal-toolkit.es365.js +2 -2
  1519. package/dist/petal-toolkit.es366.js +1 -1
  1520. package/dist/petal-toolkit.es367.js +1 -1
  1521. package/dist/petal-toolkit.es368.js +2 -2
  1522. package/dist/petal-toolkit.es369.js +2 -2
  1523. package/dist/petal-toolkit.es37.js +2 -2
  1524. package/dist/petal-toolkit.es370.js +2 -2
  1525. package/dist/petal-toolkit.es371.js +2 -2
  1526. package/dist/petal-toolkit.es372.js +1 -1
  1527. package/dist/petal-toolkit.es373.js +1 -1
  1528. package/dist/petal-toolkit.es374.js +1 -1
  1529. package/dist/petal-toolkit.es375.js +1 -1
  1530. package/dist/petal-toolkit.es376.js +1 -1
  1531. package/dist/petal-toolkit.es377.js +1 -1
  1532. package/dist/petal-toolkit.es378.js +1 -1
  1533. package/dist/petal-toolkit.es379.js +1 -1
  1534. package/dist/petal-toolkit.es38.js +2 -2
  1535. package/dist/petal-toolkit.es380.js +1 -1
  1536. package/dist/petal-toolkit.es381.js +1 -1
  1537. package/dist/petal-toolkit.es382.js +1 -1
  1538. package/dist/petal-toolkit.es383.js +1 -1
  1539. package/dist/petal-toolkit.es384.js +1 -1
  1540. package/dist/petal-toolkit.es385.js +1 -1
  1541. package/dist/petal-toolkit.es386.js +1 -1
  1542. package/dist/petal-toolkit.es387.js +1 -1
  1543. package/dist/petal-toolkit.es388.js +1 -1
  1544. package/dist/petal-toolkit.es389.js +1 -1
  1545. package/dist/petal-toolkit.es390.js +1 -1
  1546. package/dist/petal-toolkit.es391.js +1 -1
  1547. package/dist/petal-toolkit.es392.js +1 -1
  1548. package/dist/petal-toolkit.es393.js +1 -1
  1549. package/dist/petal-toolkit.es394.js +1 -1
  1550. package/dist/petal-toolkit.es395.js +1 -1
  1551. package/dist/petal-toolkit.es396.js +1 -1
  1552. package/dist/petal-toolkit.es397.js +1 -1
  1553. package/dist/petal-toolkit.es398.js +1 -1
  1554. package/dist/petal-toolkit.es399.js +1 -1
  1555. package/dist/petal-toolkit.es4.js +2 -2
  1556. package/dist/petal-toolkit.es40.js +2 -2
  1557. package/dist/petal-toolkit.es400.js +1 -1
  1558. package/dist/petal-toolkit.es401.js +2 -2
  1559. package/dist/petal-toolkit.es402.js +1 -1
  1560. package/dist/petal-toolkit.es403.js +1 -1
  1561. package/dist/petal-toolkit.es404.js +1 -1
  1562. package/dist/petal-toolkit.es405.js +1 -1
  1563. package/dist/petal-toolkit.es406.js +1 -1
  1564. package/dist/petal-toolkit.es407.js +1 -1
  1565. package/dist/petal-toolkit.es408.js +1 -1
  1566. package/dist/petal-toolkit.es409.js +1 -1
  1567. package/dist/petal-toolkit.es41.js +2 -2
  1568. package/dist/petal-toolkit.es410.js +1 -1
  1569. package/dist/petal-toolkit.es411.js +2 -2
  1570. package/dist/petal-toolkit.es412.js +3 -3
  1571. package/dist/petal-toolkit.es413.js +2 -2
  1572. package/dist/petal-toolkit.es414.js +1 -1
  1573. package/dist/petal-toolkit.es415.js +2 -2
  1574. package/dist/petal-toolkit.es416.js +2 -2
  1575. package/dist/petal-toolkit.es417.js +1 -1
  1576. package/dist/petal-toolkit.es418.js +2 -2
  1577. package/dist/petal-toolkit.es419.js +2 -2
  1578. package/dist/petal-toolkit.es42.js +2 -2
  1579. package/dist/petal-toolkit.es420.js +2 -2
  1580. package/dist/petal-toolkit.es421.js +2 -2
  1581. package/dist/petal-toolkit.es422.js +3 -3
  1582. package/dist/petal-toolkit.es423.js +2 -2
  1583. package/dist/petal-toolkit.es424.js +1 -1
  1584. package/dist/petal-toolkit.es425.js +2 -2
  1585. package/dist/petal-toolkit.es426.js +1 -1
  1586. package/dist/petal-toolkit.es427.js +2 -2
  1587. package/dist/petal-toolkit.es428.js +4 -4
  1588. package/dist/petal-toolkit.es429.js +4 -4
  1589. package/dist/petal-toolkit.es43.js +2 -2
  1590. package/dist/petal-toolkit.es430.js +1 -1
  1591. package/dist/petal-toolkit.es431.js +1 -1
  1592. package/dist/petal-toolkit.es432.js +1 -1
  1593. package/dist/petal-toolkit.es433.js +1 -1
  1594. package/dist/petal-toolkit.es434.js +1 -1
  1595. package/dist/petal-toolkit.es435.js +1 -1
  1596. package/dist/petal-toolkit.es436.js +1 -1
  1597. package/dist/petal-toolkit.es437.js +1 -1
  1598. package/dist/petal-toolkit.es438.js +1 -1
  1599. package/dist/petal-toolkit.es439.js +1 -1
  1600. package/dist/petal-toolkit.es44.js +3 -3
  1601. package/dist/petal-toolkit.es440.js +1 -1
  1602. package/dist/petal-toolkit.es441.js +1 -1
  1603. package/dist/petal-toolkit.es442.js +1 -1
  1604. package/dist/petal-toolkit.es443.js +1 -1
  1605. package/dist/petal-toolkit.es444.js +1 -1
  1606. package/dist/petal-toolkit.es445.js +1 -1
  1607. package/dist/petal-toolkit.es446.js +1 -1
  1608. package/dist/petal-toolkit.es447.js +1 -1
  1609. package/dist/petal-toolkit.es448.js +1 -1
  1610. package/dist/petal-toolkit.es449.js +1 -1
  1611. package/dist/petal-toolkit.es45.js +2 -2
  1612. package/dist/petal-toolkit.es450.js +1 -1
  1613. package/dist/petal-toolkit.es451.js +1 -1
  1614. package/dist/petal-toolkit.es452.js +1 -1
  1615. package/dist/petal-toolkit.es453.js +2 -2
  1616. package/dist/petal-toolkit.es454.js +1 -1
  1617. package/dist/petal-toolkit.es455.js +2 -2
  1618. package/dist/petal-toolkit.es456.js +1 -1
  1619. package/dist/petal-toolkit.es457.js +2 -2
  1620. package/dist/petal-toolkit.es458.js +1 -1
  1621. package/dist/petal-toolkit.es459.js +2 -2
  1622. package/dist/petal-toolkit.es46.js +1 -1
  1623. package/dist/petal-toolkit.es460.js +1 -1
  1624. package/dist/petal-toolkit.es461.js +1 -1
  1625. package/dist/petal-toolkit.es462.js +2 -2
  1626. package/dist/petal-toolkit.es463.js +1 -1
  1627. package/dist/petal-toolkit.es464.js +1 -1
  1628. package/dist/petal-toolkit.es465.js +1 -1
  1629. package/dist/petal-toolkit.es466.js +1 -1
  1630. package/dist/petal-toolkit.es467.js +1 -1
  1631. package/dist/petal-toolkit.es468.js +1 -1
  1632. package/dist/petal-toolkit.es469.js +1 -1
  1633. package/dist/petal-toolkit.es47.js +2 -2
  1634. package/dist/petal-toolkit.es470.js +2 -2
  1635. package/dist/petal-toolkit.es471.js +2 -2
  1636. package/dist/petal-toolkit.es472.js +1 -1
  1637. package/dist/petal-toolkit.es473.js +1 -1
  1638. package/dist/petal-toolkit.es474.js +1 -1
  1639. package/dist/petal-toolkit.es475.js +1 -1
  1640. package/dist/petal-toolkit.es476.js +1 -1
  1641. package/dist/petal-toolkit.es477.js +1 -1
  1642. package/dist/petal-toolkit.es478.js +1 -1
  1643. package/dist/petal-toolkit.es479.js +1 -1
  1644. package/dist/petal-toolkit.es48.js +2 -2
  1645. package/dist/petal-toolkit.es48.js.map +1 -1
  1646. package/dist/petal-toolkit.es480.js +1 -1
  1647. package/dist/petal-toolkit.es481.js +1 -1
  1648. package/dist/petal-toolkit.es482.js +1 -1
  1649. package/dist/petal-toolkit.es483.js +1 -1
  1650. package/dist/petal-toolkit.es484.js +1 -1
  1651. package/dist/petal-toolkit.es485.js +1 -1
  1652. package/dist/petal-toolkit.es486.js +1 -1
  1653. package/dist/petal-toolkit.es487.js +2 -2
  1654. package/dist/petal-toolkit.es488.js +2 -2
  1655. package/dist/petal-toolkit.es489.js +6 -6
  1656. package/dist/petal-toolkit.es49.js +1 -1
  1657. package/dist/petal-toolkit.es490.js +2 -2
  1658. package/dist/petal-toolkit.es491.js +3 -3
  1659. package/dist/petal-toolkit.es492.js +2 -2
  1660. package/dist/petal-toolkit.es493.js +2 -2
  1661. package/dist/petal-toolkit.es494.js +2 -2
  1662. package/dist/petal-toolkit.es495.js +1 -1
  1663. package/dist/petal-toolkit.es496.js +1 -1
  1664. package/dist/petal-toolkit.es497.js +1 -1
  1665. package/dist/petal-toolkit.es498.js +1 -1
  1666. package/dist/petal-toolkit.es499.js +1 -1
  1667. package/dist/petal-toolkit.es5.js +2 -2
  1668. package/dist/petal-toolkit.es50.js +2 -2
  1669. package/dist/petal-toolkit.es500.js +1 -1
  1670. package/dist/petal-toolkit.es501.js +1 -1
  1671. package/dist/petal-toolkit.es502.js +1 -1
  1672. package/dist/petal-toolkit.es503.js +1 -1
  1673. package/dist/petal-toolkit.es504.js +1 -1
  1674. package/dist/petal-toolkit.es505.js +1 -1
  1675. package/dist/petal-toolkit.es506.js +1 -1
  1676. package/dist/petal-toolkit.es507.js +1 -1
  1677. package/dist/petal-toolkit.es508.js +5 -5
  1678. package/dist/petal-toolkit.es509.js +1 -1
  1679. package/dist/petal-toolkit.es51.js +33 -23
  1680. package/dist/petal-toolkit.es51.js.map +1 -1
  1681. package/dist/petal-toolkit.es510.js +1 -1
  1682. package/dist/petal-toolkit.es511.js +1 -1
  1683. package/dist/petal-toolkit.es512.js +1 -1
  1684. package/dist/petal-toolkit.es513.js +6 -6
  1685. package/dist/petal-toolkit.es514.js +1 -1
  1686. package/dist/petal-toolkit.es515.js +2 -2
  1687. package/dist/petal-toolkit.es516.js +2 -2
  1688. package/dist/petal-toolkit.es517.js +1 -1
  1689. package/dist/petal-toolkit.es518.js +1 -1
  1690. package/dist/petal-toolkit.es519.js +1 -1
  1691. package/dist/petal-toolkit.es52.js +2 -2
  1692. package/dist/petal-toolkit.es520.js +1 -1
  1693. package/dist/petal-toolkit.es521.js +1 -1
  1694. package/dist/petal-toolkit.es522.js +1 -1
  1695. package/dist/petal-toolkit.es523.js +2 -2
  1696. package/dist/petal-toolkit.es524.js +1 -1
  1697. package/dist/petal-toolkit.es525.js +1 -1
  1698. package/dist/petal-toolkit.es526.js +1 -1
  1699. package/dist/petal-toolkit.es527.js +1 -1
  1700. package/dist/petal-toolkit.es528.js +2 -2
  1701. package/dist/petal-toolkit.es529.js +1 -1
  1702. package/dist/petal-toolkit.es530.js +1 -1
  1703. package/dist/petal-toolkit.es531.js +2 -2
  1704. package/dist/petal-toolkit.es532.js +1 -1
  1705. package/dist/petal-toolkit.es533.js +1 -1
  1706. package/dist/petal-toolkit.es534.js +1 -1
  1707. package/dist/petal-toolkit.es535.js +2 -2
  1708. package/dist/petal-toolkit.es536.js +1 -1
  1709. package/dist/petal-toolkit.es537.js +2 -2
  1710. package/dist/petal-toolkit.es538.js +2 -2
  1711. package/dist/petal-toolkit.es539.js +2 -2
  1712. package/dist/petal-toolkit.es540.js +1 -1
  1713. package/dist/petal-toolkit.es541.js +1 -1
  1714. package/dist/petal-toolkit.es542.js +2 -2
  1715. package/dist/petal-toolkit.es543.js +1 -1
  1716. package/dist/petal-toolkit.es544.js +1 -1
  1717. package/dist/petal-toolkit.es545.js +1 -1
  1718. package/dist/petal-toolkit.es546.js +1 -1
  1719. package/dist/petal-toolkit.es547.js +1 -1
  1720. package/dist/petal-toolkit.es548.js +3 -3
  1721. package/dist/petal-toolkit.es549.js +1 -1
  1722. package/dist/petal-toolkit.es550.js +3 -3
  1723. package/dist/petal-toolkit.es551.js +2 -2
  1724. package/dist/petal-toolkit.es552.js +1 -1
  1725. package/dist/petal-toolkit.es553.js +1 -1
  1726. package/dist/petal-toolkit.es554.js +1 -1
  1727. package/dist/petal-toolkit.es555.js +1 -1
  1728. package/dist/petal-toolkit.es556.js +1 -1
  1729. package/dist/petal-toolkit.es557.js +1 -1
  1730. package/dist/petal-toolkit.es558.js +1 -1
  1731. package/dist/petal-toolkit.es559.js +1 -1
  1732. package/dist/petal-toolkit.es560.js +1 -1
  1733. package/dist/petal-toolkit.es561.js +1 -1
  1734. package/dist/petal-toolkit.es562.js +1 -1
  1735. package/dist/petal-toolkit.es563.js +1 -1
  1736. package/dist/petal-toolkit.es564.js +1 -1
  1737. package/dist/petal-toolkit.es565.js +1 -1
  1738. package/dist/petal-toolkit.es566.js +1 -1
  1739. package/dist/petal-toolkit.es567.js +1 -1
  1740. package/dist/petal-toolkit.es568.js +1 -1
  1741. package/dist/petal-toolkit.es569.js +1 -1
  1742. package/dist/petal-toolkit.es570.js +4 -4
  1743. package/dist/petal-toolkit.es571.js +1 -1
  1744. package/dist/petal-toolkit.es572.js +2 -2
  1745. package/dist/petal-toolkit.es573.js +1 -1
  1746. package/dist/petal-toolkit.es574.js +1 -1
  1747. package/dist/petal-toolkit.es575.js +1 -1
  1748. package/dist/petal-toolkit.es576.js +1 -1
  1749. package/dist/petal-toolkit.es577.js +1 -1
  1750. package/dist/petal-toolkit.es578.js +1 -1
  1751. package/dist/petal-toolkit.es579.js +1 -1
  1752. package/dist/petal-toolkit.es580.js +1 -1
  1753. package/dist/petal-toolkit.es581.js +1 -1
  1754. package/dist/petal-toolkit.es582.js +1 -1
  1755. package/dist/petal-toolkit.es583.js +1 -1
  1756. package/dist/petal-toolkit.es584.js +1 -1
  1757. package/dist/petal-toolkit.es585.js +1 -1
  1758. package/dist/petal-toolkit.es586.js +1 -1
  1759. package/dist/petal-toolkit.es587.js +1 -1
  1760. package/dist/petal-toolkit.es588.js +1 -1
  1761. package/dist/petal-toolkit.es589.js +1 -1
  1762. package/dist/petal-toolkit.es59.js +40 -83
  1763. package/dist/petal-toolkit.es59.js.map +1 -1
  1764. package/dist/petal-toolkit.es590.js +1 -1
  1765. package/dist/petal-toolkit.es591.js +1 -1
  1766. package/dist/petal-toolkit.es592.js +1 -1
  1767. package/dist/petal-toolkit.es593.js +1 -1
  1768. package/dist/petal-toolkit.es594.js +1 -1
  1769. package/dist/petal-toolkit.es595.js +1 -1
  1770. package/dist/petal-toolkit.es596.js +1 -1
  1771. package/dist/petal-toolkit.es597.js +1 -1
  1772. package/dist/petal-toolkit.es598.js +1 -1
  1773. package/dist/petal-toolkit.es599.js +1 -1
  1774. package/dist/petal-toolkit.es6.js +3 -3
  1775. package/dist/petal-toolkit.es60.js +24 -40
  1776. package/dist/petal-toolkit.es60.js.map +1 -1
  1777. package/dist/petal-toolkit.es600.js +1 -1
  1778. package/dist/petal-toolkit.es601.js +1 -1
  1779. package/dist/petal-toolkit.es602.js +1 -1
  1780. package/dist/petal-toolkit.es603.js +1 -1
  1781. package/dist/petal-toolkit.es604.js +1 -1
  1782. package/dist/petal-toolkit.es605.js +1 -1
  1783. package/dist/petal-toolkit.es606.js +1 -1
  1784. package/dist/petal-toolkit.es607.js +1 -1
  1785. package/dist/petal-toolkit.es608.js +1 -1
  1786. package/dist/petal-toolkit.es609.js +1 -1
  1787. package/dist/petal-toolkit.es61.js +45 -24
  1788. package/dist/petal-toolkit.es61.js.map +1 -1
  1789. package/dist/petal-toolkit.es610.js +1 -1
  1790. package/dist/petal-toolkit.es611.js +1 -1
  1791. package/dist/petal-toolkit.es612.js +1 -1
  1792. package/dist/petal-toolkit.es613.js +1 -1
  1793. package/dist/petal-toolkit.es614.js +1 -1
  1794. package/dist/petal-toolkit.es615.js +1 -1
  1795. package/dist/petal-toolkit.es616.js +1 -1
  1796. package/dist/petal-toolkit.es617.js +1 -1
  1797. package/dist/petal-toolkit.es618.js +1 -1
  1798. package/dist/petal-toolkit.es619.js +1 -1
  1799. package/dist/petal-toolkit.es62.js +48 -42
  1800. package/dist/petal-toolkit.es62.js.map +1 -1
  1801. package/dist/petal-toolkit.es620.js +1 -1
  1802. package/dist/petal-toolkit.es621.js +1 -1
  1803. package/dist/petal-toolkit.es622.js +1 -1
  1804. package/dist/petal-toolkit.es623.js +1 -1
  1805. package/dist/petal-toolkit.es624.js +1 -1
  1806. package/dist/petal-toolkit.es625.js +1 -1
  1807. package/dist/petal-toolkit.es626.js +1 -1
  1808. package/dist/petal-toolkit.es627.js +1 -1
  1809. package/dist/petal-toolkit.es628.js +1 -1
  1810. package/dist/petal-toolkit.es629.js +1 -1
  1811. package/dist/petal-toolkit.es63.js +82 -50
  1812. package/dist/petal-toolkit.es63.js.map +1 -1
  1813. package/dist/petal-toolkit.es630.js +1 -1
  1814. package/dist/petal-toolkit.es631.js +1 -1
  1815. package/dist/petal-toolkit.es632.js +1 -1
  1816. package/dist/petal-toolkit.es633.js +1 -1
  1817. package/dist/petal-toolkit.es634.js +1 -1
  1818. package/dist/petal-toolkit.es635.js +1 -1
  1819. package/dist/petal-toolkit.es636.js +1 -1
  1820. package/dist/petal-toolkit.es637.js +1 -1
  1821. package/dist/petal-toolkit.es638.js +1 -1
  1822. package/dist/petal-toolkit.es639.js +1 -1
  1823. package/dist/petal-toolkit.es640.js +1 -1
  1824. package/dist/petal-toolkit.es641.js +1 -1
  1825. package/dist/petal-toolkit.es642.js +1 -1
  1826. package/dist/petal-toolkit.es643.js +1 -1
  1827. package/dist/petal-toolkit.es644.js +1 -1
  1828. package/dist/petal-toolkit.es645.js +2 -2
  1829. package/dist/petal-toolkit.es646.js +1 -1
  1830. package/dist/petal-toolkit.es647.js +1 -1
  1831. package/dist/petal-toolkit.es648.js +1 -1
  1832. package/dist/petal-toolkit.es649.js +1 -1
  1833. package/dist/petal-toolkit.es650.js +1 -1
  1834. package/dist/petal-toolkit.es651.js +1 -1
  1835. package/dist/petal-toolkit.es652.js +1 -1
  1836. package/dist/petal-toolkit.es653.js +1 -1
  1837. package/dist/petal-toolkit.es654.js +1 -1
  1838. package/dist/petal-toolkit.es655.js +1 -1
  1839. package/dist/petal-toolkit.es656.js +1 -1
  1840. package/dist/petal-toolkit.es657.js +1 -1
  1841. package/dist/petal-toolkit.es658.js +1 -1
  1842. package/dist/petal-toolkit.es659.js +1 -1
  1843. package/dist/petal-toolkit.es66.js +1 -1
  1844. package/dist/petal-toolkit.es660.js +2 -2
  1845. package/dist/petal-toolkit.es661.js +1 -1
  1846. package/dist/petal-toolkit.es662.js +1 -1
  1847. package/dist/petal-toolkit.es663.js +1 -1
  1848. package/dist/petal-toolkit.es664.js +1 -1
  1849. package/dist/petal-toolkit.es665.js +1 -1
  1850. package/dist/petal-toolkit.es666.js +1 -1
  1851. package/dist/petal-toolkit.es667.js +1 -1
  1852. package/dist/petal-toolkit.es668.js +1 -1
  1853. package/dist/petal-toolkit.es669.js +1 -1
  1854. package/dist/petal-toolkit.es67.js +1 -1
  1855. package/dist/petal-toolkit.es670.js +1 -1
  1856. package/dist/petal-toolkit.es671.js +1 -1
  1857. package/dist/petal-toolkit.es672.js +1 -1
  1858. package/dist/petal-toolkit.es673.js +1 -1
  1859. package/dist/petal-toolkit.es674.js +1 -1
  1860. package/dist/petal-toolkit.es675.js +230 -31
  1861. package/dist/petal-toolkit.es675.js.map +1 -1
  1862. package/dist/petal-toolkit.es676.js +34 -17
  1863. package/dist/petal-toolkit.es676.js.map +1 -1
  1864. package/dist/petal-toolkit.es677.js +2 -67
  1865. package/dist/petal-toolkit.es677.js.map +1 -1
  1866. package/dist/petal-toolkit.es678.js +2 -2
  1867. package/dist/petal-toolkit.es679.js +2 -2
  1868. package/dist/petal-toolkit.es68.js +1 -1
  1869. package/dist/petal-toolkit.es680.js +2 -2
  1870. package/dist/petal-toolkit.es681.js +2 -2
  1871. package/dist/petal-toolkit.es682.js +2 -2
  1872. package/dist/petal-toolkit.es684.js +2 -2
  1873. package/dist/petal-toolkit.es685.js +2 -2
  1874. package/dist/petal-toolkit.es686.js +2 -2
  1875. package/dist/petal-toolkit.es687.js +10 -2
  1876. package/dist/petal-toolkit.es687.js.map +1 -1
  1877. package/dist/petal-toolkit.es688.js +2 -10
  1878. package/dist/petal-toolkit.es688.js.map +1 -1
  1879. package/dist/petal-toolkit.es689.js +12 -2
  1880. package/dist/petal-toolkit.es689.js.map +1 -1
  1881. package/dist/petal-toolkit.es69.js +1 -1
  1882. package/dist/petal-toolkit.es690.js +2 -12
  1883. package/dist/petal-toolkit.es690.js.map +1 -1
  1884. package/dist/petal-toolkit.es692.js +2 -2
  1885. package/dist/petal-toolkit.es694.js +2 -2
  1886. package/dist/petal-toolkit.es696.js +2 -2
  1887. package/dist/petal-toolkit.es698.js +2 -2
  1888. package/dist/petal-toolkit.es7.js +2 -2
  1889. package/dist/petal-toolkit.es70.js +1 -1
  1890. package/dist/petal-toolkit.es700.js +2 -2
  1891. package/dist/petal-toolkit.es701.js +2 -2
  1892. package/dist/petal-toolkit.es702.js +2 -2
  1893. package/dist/petal-toolkit.es704.js +2 -2
  1894. package/dist/petal-toolkit.es706.js +2 -2
  1895. package/dist/petal-toolkit.es708.js +2 -2
  1896. package/dist/petal-toolkit.es71.js +1 -1
  1897. package/dist/petal-toolkit.es711.js +2 -2
  1898. package/dist/petal-toolkit.es712.js +2 -2
  1899. package/dist/petal-toolkit.es713.js +2 -2
  1900. package/dist/petal-toolkit.es714.js +2 -2
  1901. package/dist/petal-toolkit.es715.js +2 -2
  1902. package/dist/petal-toolkit.es716.js +2 -2
  1903. package/dist/petal-toolkit.es717.js +2 -2
  1904. package/dist/petal-toolkit.es718.js +2 -2
  1905. package/dist/petal-toolkit.es719.js +2 -2
  1906. package/dist/petal-toolkit.es72.js +1 -1
  1907. package/dist/petal-toolkit.es720.js +66 -2
  1908. package/dist/petal-toolkit.es720.js.map +1 -1
  1909. package/dist/petal-toolkit.es721.js +2 -66
  1910. package/dist/petal-toolkit.es721.js.map +1 -1
  1911. package/dist/petal-toolkit.es723.js +2 -2
  1912. package/dist/petal-toolkit.es724.js +10 -2
  1913. package/dist/petal-toolkit.es724.js.map +1 -1
  1914. package/dist/petal-toolkit.es725.js +2 -10
  1915. package/dist/petal-toolkit.es725.js.map +1 -1
  1916. package/dist/petal-toolkit.es726.js +11 -2
  1917. package/dist/petal-toolkit.es726.js.map +1 -1
  1918. package/dist/petal-toolkit.es727.js +2 -11
  1919. package/dist/petal-toolkit.es727.js.map +1 -1
  1920. package/dist/petal-toolkit.es729.js +2 -2
  1921. package/dist/petal-toolkit.es73.js +1 -1
  1922. package/dist/petal-toolkit.es730.js +2 -2
  1923. package/dist/petal-toolkit.es731.js +10 -2
  1924. package/dist/petal-toolkit.es731.js.map +1 -1
  1925. package/dist/petal-toolkit.es732.js +2 -10
  1926. package/dist/petal-toolkit.es732.js.map +1 -1
  1927. package/dist/petal-toolkit.es735.js +2 -2
  1928. package/dist/petal-toolkit.es736.js +2 -2
  1929. package/dist/petal-toolkit.es737.js +2 -2
  1930. package/dist/petal-toolkit.es738.js +2 -2
  1931. package/dist/petal-toolkit.es739.js +19 -2
  1932. package/dist/petal-toolkit.es739.js.map +1 -1
  1933. package/dist/petal-toolkit.es74.js +1 -1
  1934. package/dist/petal-toolkit.es740.js +2 -19
  1935. package/dist/petal-toolkit.es740.js.map +1 -1
  1936. package/dist/petal-toolkit.es741.js +2 -2
  1937. package/dist/petal-toolkit.es746.js +2 -2
  1938. package/dist/petal-toolkit.es748.js +2 -2
  1939. package/dist/petal-toolkit.es749.js +2 -2
  1940. package/dist/petal-toolkit.es75.js +2 -2
  1941. package/dist/petal-toolkit.es750.js +2 -2
  1942. package/dist/petal-toolkit.es752.js +2 -2
  1943. package/dist/petal-toolkit.es757.js +48 -2
  1944. package/dist/petal-toolkit.es757.js.map +1 -1
  1945. package/dist/petal-toolkit.es758.js +2 -48
  1946. package/dist/petal-toolkit.es758.js.map +1 -1
  1947. package/dist/petal-toolkit.es759.js +2 -2
  1948. package/dist/petal-toolkit.es76.js +3 -3
  1949. package/dist/petal-toolkit.es760.js +2 -2
  1950. package/dist/petal-toolkit.es761.js +2 -2
  1951. package/dist/petal-toolkit.es762.js +2 -2
  1952. package/dist/petal-toolkit.es763.js +2 -2
  1953. package/dist/petal-toolkit.es765.js +2 -2
  1954. package/dist/petal-toolkit.es766.js +2 -2
  1955. package/dist/petal-toolkit.es769.js +6 -2
  1956. package/dist/petal-toolkit.es769.js.map +1 -1
  1957. package/dist/petal-toolkit.es77.js +2 -2
  1958. package/dist/petal-toolkit.es770.js +2 -6
  1959. package/dist/petal-toolkit.es770.js.map +1 -1
  1960. package/dist/petal-toolkit.es771.js +2 -2
  1961. package/dist/petal-toolkit.es772.js +2 -2
  1962. package/dist/petal-toolkit.es776.js +2 -2
  1963. package/dist/petal-toolkit.es777.js +2 -2
  1964. package/dist/petal-toolkit.es78.js +1 -1
  1965. package/dist/petal-toolkit.es781.js +2 -2
  1966. package/dist/petal-toolkit.es782.js +2 -2
  1967. package/dist/petal-toolkit.es79.js +1 -1
  1968. package/dist/petal-toolkit.es791.js +2 -2
  1969. package/dist/petal-toolkit.es792.js +18 -2
  1970. package/dist/petal-toolkit.es792.js.map +1 -1
  1971. package/dist/petal-toolkit.es793.js +2 -18
  1972. package/dist/petal-toolkit.es793.js.map +1 -1
  1973. package/dist/petal-toolkit.es794.js +2 -2
  1974. package/dist/petal-toolkit.es796.js +2 -2
  1975. package/dist/petal-toolkit.es797.js +2 -2
  1976. package/dist/petal-toolkit.es799.js +2 -2
  1977. package/dist/petal-toolkit.es8.js +2 -2
  1978. package/dist/petal-toolkit.es80.js +1 -1
  1979. package/dist/petal-toolkit.es800.js +2 -2
  1980. package/dist/petal-toolkit.es801.js +2 -2
  1981. package/dist/petal-toolkit.es802.js +2 -2
  1982. package/dist/petal-toolkit.es803.js +2 -2
  1983. package/dist/petal-toolkit.es804.js +2 -2
  1984. package/dist/petal-toolkit.es805.js +2 -2
  1985. package/dist/petal-toolkit.es806.js +2 -2
  1986. package/dist/petal-toolkit.es808.js +2 -2
  1987. package/dist/petal-toolkit.es809.js +2 -2
  1988. package/dist/petal-toolkit.es81.js +2 -2
  1989. package/dist/petal-toolkit.es82.js +1 -1
  1990. package/dist/petal-toolkit.es824.js +2 -2
  1991. package/dist/petal-toolkit.es827.js +2 -2
  1992. package/dist/petal-toolkit.es828.js +2 -2
  1993. package/dist/petal-toolkit.es829.js +2 -2
  1994. package/dist/petal-toolkit.es83.js +1 -1
  1995. package/dist/petal-toolkit.es830.js +2 -2
  1996. package/dist/petal-toolkit.es832.js +2 -2
  1997. package/dist/petal-toolkit.es833.js +2 -2
  1998. package/dist/petal-toolkit.es84.js +1 -1
  1999. package/dist/petal-toolkit.es840.js +2 -2
  2000. package/dist/petal-toolkit.es841.js +2 -2
  2001. package/dist/petal-toolkit.es843.js +2 -2
  2002. package/dist/petal-toolkit.es844.js +2 -2
  2003. package/dist/petal-toolkit.es845.js +2 -2
  2004. package/dist/petal-toolkit.es847.js +2 -2
  2005. package/dist/petal-toolkit.es849.js +2 -2
  2006. package/dist/petal-toolkit.es85.js +1 -1
  2007. package/dist/petal-toolkit.es850.js +2 -2
  2008. package/dist/petal-toolkit.es851.js +2 -2
  2009. package/dist/petal-toolkit.es852.js +4737 -2
  2010. package/dist/petal-toolkit.es852.js.map +1 -1
  2011. package/dist/petal-toolkit.es853.js +546 -4712
  2012. package/dist/petal-toolkit.es853.js.map +1 -1
  2013. package/dist/petal-toolkit.es854.js +128 -561
  2014. package/dist/petal-toolkit.es854.js.map +1 -1
  2015. package/dist/petal-toolkit.es855.js +5 -137
  2016. package/dist/petal-toolkit.es855.js.map +1 -1
  2017. package/dist/petal-toolkit.es856.js +30 -5
  2018. package/dist/petal-toolkit.es856.js.map +1 -1
  2019. package/dist/petal-toolkit.es857.js +2 -31
  2020. package/dist/petal-toolkit.es857.js.map +1 -1
  2021. package/dist/petal-toolkit.es859.js +12 -2
  2022. package/dist/petal-toolkit.es859.js.map +1 -1
  2023. package/dist/petal-toolkit.es86.js +1 -1
  2024. package/dist/petal-toolkit.es860.js +2 -12
  2025. package/dist/petal-toolkit.es860.js.map +1 -1
  2026. package/dist/petal-toolkit.es861.js +2 -2
  2027. package/dist/petal-toolkit.es862.js +2 -2
  2028. package/dist/petal-toolkit.es864.js +22 -2
  2029. package/dist/petal-toolkit.es864.js.map +1 -1
  2030. package/dist/petal-toolkit.es865.js +2 -22
  2031. package/dist/petal-toolkit.es865.js.map +1 -1
  2032. package/dist/petal-toolkit.es866.js +89 -2
  2033. package/dist/petal-toolkit.es866.js.map +1 -1
  2034. package/dist/petal-toolkit.es867.js +2 -89
  2035. package/dist/petal-toolkit.es867.js.map +1 -1
  2036. package/dist/petal-toolkit.es869.js +6 -2
  2037. package/dist/petal-toolkit.es869.js.map +1 -1
  2038. package/dist/petal-toolkit.es87.js +1 -1
  2039. package/dist/petal-toolkit.es870.js +2 -6
  2040. package/dist/petal-toolkit.es870.js.map +1 -1
  2041. package/dist/petal-toolkit.es871.js +27 -2
  2042. package/dist/petal-toolkit.es871.js.map +1 -1
  2043. package/dist/petal-toolkit.es872.js +40 -22
  2044. package/dist/petal-toolkit.es872.js.map +1 -1
  2045. package/dist/petal-toolkit.es873.js +238 -42
  2046. package/dist/petal-toolkit.es873.js.map +1 -1
  2047. package/dist/petal-toolkit.es874.js +2 -241
  2048. package/dist/petal-toolkit.es874.js.map +1 -1
  2049. package/dist/petal-toolkit.es875.js +34 -2
  2050. package/dist/petal-toolkit.es875.js.map +1 -1
  2051. package/dist/petal-toolkit.es876.js +2 -34
  2052. package/dist/petal-toolkit.es876.js.map +1 -1
  2053. package/dist/petal-toolkit.es877.js +2 -2
  2054. package/dist/petal-toolkit.es878.js +2 -2
  2055. package/dist/petal-toolkit.es879.js +10 -2
  2056. package/dist/petal-toolkit.es879.js.map +1 -1
  2057. package/dist/petal-toolkit.es88.js +1 -1
  2058. package/dist/petal-toolkit.es880.js +2 -10
  2059. package/dist/petal-toolkit.es880.js.map +1 -1
  2060. package/dist/petal-toolkit.es882.js +2 -2
  2061. package/dist/petal-toolkit.es883.js +2 -2
  2062. package/dist/petal-toolkit.es885.js +2 -2
  2063. package/dist/petal-toolkit.es886.js +2 -2
  2064. package/dist/petal-toolkit.es887.js +2 -2
  2065. package/dist/petal-toolkit.es89.js +2 -2
  2066. package/dist/petal-toolkit.es892.js +2 -2
  2067. package/dist/petal-toolkit.es894.js +2 -2
  2068. package/dist/petal-toolkit.es895.js +2 -2
  2069. package/dist/petal-toolkit.es896.js +2 -2
  2070. package/dist/petal-toolkit.es897.js +2 -2
  2071. package/dist/petal-toolkit.es898.js +2 -2
  2072. package/dist/petal-toolkit.es899.js +2 -2
  2073. package/dist/petal-toolkit.es9.js +3 -3
  2074. package/dist/petal-toolkit.es90.js +2 -2
  2075. package/dist/petal-toolkit.es901.js +2 -2
  2076. package/dist/petal-toolkit.es902.js +2 -2
  2077. package/dist/petal-toolkit.es905.js +2 -2
  2078. package/dist/petal-toolkit.es906.js +2 -2
  2079. package/dist/petal-toolkit.es908.js +2 -2
  2080. package/dist/petal-toolkit.es909.js +10 -2
  2081. package/dist/petal-toolkit.es909.js.map +1 -1
  2082. package/dist/petal-toolkit.es91.js +2 -2
  2083. package/dist/petal-toolkit.es910.js +2 -10
  2084. package/dist/petal-toolkit.es910.js.map +1 -1
  2085. package/dist/petal-toolkit.es911.js +2 -2
  2086. package/dist/petal-toolkit.es912.js +2 -2
  2087. package/dist/petal-toolkit.es914.js +2 -2
  2088. package/dist/petal-toolkit.es915.js +2 -2
  2089. package/dist/petal-toolkit.es916.js +2 -2
  2090. package/dist/petal-toolkit.es918.js +2 -2
  2091. package/dist/petal-toolkit.es92.js +2 -2
  2092. package/dist/petal-toolkit.es920.js +2 -2
  2093. package/dist/petal-toolkit.es921.js +2 -2
  2094. package/dist/petal-toolkit.es926.js +2 -2
  2095. package/dist/petal-toolkit.es927.js +2 -2
  2096. package/dist/petal-toolkit.es928.js +2 -2
  2097. package/dist/petal-toolkit.es929.js +2 -2
  2098. package/dist/petal-toolkit.es93.js +1 -1
  2099. package/dist/petal-toolkit.es930.js +2 -2
  2100. package/dist/petal-toolkit.es932.js +2 -2
  2101. package/dist/petal-toolkit.es933.js +2 -2
  2102. package/dist/petal-toolkit.es934.js +2 -2
  2103. package/dist/petal-toolkit.es935.js +2 -2
  2104. package/dist/petal-toolkit.es936.js +2 -2
  2105. package/dist/petal-toolkit.es937.js +2 -2
  2106. package/dist/petal-toolkit.es94.js +1 -1
  2107. package/dist/petal-toolkit.es940.js +2 -2
  2108. package/dist/petal-toolkit.es941.js +2 -2
  2109. package/dist/petal-toolkit.es942.js +2 -2
  2110. package/dist/petal-toolkit.es943.js +2 -2
  2111. package/dist/petal-toolkit.es945.js +2 -2
  2112. package/dist/petal-toolkit.es947.js +2 -2
  2113. package/dist/petal-toolkit.es948.js +2 -2
  2114. package/dist/petal-toolkit.es95.js +1 -1
  2115. package/dist/petal-toolkit.es950.js +2 -2
  2116. package/dist/petal-toolkit.es951.js +2 -2
  2117. package/dist/petal-toolkit.es952.js +2 -2
  2118. package/dist/petal-toolkit.es956.js +2 -2
  2119. package/dist/petal-toolkit.es957.js +10 -2
  2120. package/dist/petal-toolkit.es957.js.map +1 -1
  2121. package/dist/petal-toolkit.es958.js +2 -10
  2122. package/dist/petal-toolkit.es958.js.map +1 -1
  2123. package/dist/petal-toolkit.es96.js +1 -1
  2124. package/dist/petal-toolkit.es964.js +2 -2
  2125. package/dist/petal-toolkit.es965.js +10 -2
  2126. package/dist/petal-toolkit.es965.js.map +1 -1
  2127. package/dist/petal-toolkit.es966.js +2 -10
  2128. package/dist/petal-toolkit.es966.js.map +1 -1
  2129. package/dist/petal-toolkit.es97.js +2 -2
  2130. package/dist/petal-toolkit.es979.js +2 -2
  2131. package/dist/petal-toolkit.es98.js +2 -2
  2132. package/dist/petal-toolkit.es980.js +2 -2
  2133. package/dist/petal-toolkit.es989.js +2 -2
  2134. package/dist/petal-toolkit.es99.js +1 -1
  2135. package/dist/petal-toolkit.es990.js +2 -2
  2136. package/dist/petal-toolkit.es997.js +2 -2
  2137. package/dist/petal-toolkit.es998.js +2 -2
  2138. package/dist/scichart/drawing/DrawingManager.d.ts +9 -9
  2139. package/dist/scichart/drawing/index.d.ts +1 -1
  2140. package/dist/scichart/modifiers/FinChartLegendAnnotation.d.ts +14 -0
  2141. package/dist/scichart/modifiers/FinChartLegendModifier.d.ts +6 -0
  2142. package/dist/scichart/modifiers/index.d.ts +1 -1
  2143. package/dist/scichart/palettes/VolumePaletteProvider.d.ts +6 -1
  2144. package/dist/toolkit.css +1 -0
  2145. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./petal-toolkit.cjs905.js"),B=require("./petal-toolkit.cjs610.js"),N=require("./petal-toolkit.cjs244.js"),V=require("./petal-toolkit.cjs247.js"),Y=require("./petal-toolkit.cjs880.js"),W=require("./petal-toolkit.cjs259.js"),X=require("./petal-toolkit.cjs270.js"),k=require("./petal-toolkit.cjs662.js");var m;function F(){if(m)return l.__exports;m=1;var x=l.__exports&&l.__exports.__extends||(function(){var r=function(i,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n])},r(i,t)};return function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(i,t);function o(){this.constructor=i}i.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}})();Object.defineProperty(l.__exports,"__esModule",{value:!0}),l.__exports.RolloverTooltipSvgAnnotation=void 0;var C=B.__require(),f=N.__require(),h=V.__require(),_=Y.__require(),I=W.__require(),b=X.__require(),D=k.__require(),O=(function(r){x(i,r);function i(t,o){var e=this,n,s;return e=r.call(this,o)||this,e.type=I.EAnnotationType.SVG,e.width=0,e.height=0,e.tooltipProps=t,e.height=(n=o==null?void 0:o.height)!==null&&n!==void 0?n:e.height,e.xCoordinateMode=f.ECoordinateMode.DataValue,e.yCoordinateMode=f.ECoordinateMode.DataValue,e.isHidden=!0,e.updateSize=e.updateSize.bind(e),e.placementDivIdProperty=(s=o==null?void 0:o.placementDivId)!==null&&s!==void 0?s:e.placementDivIdProperty,e}return Object.defineProperty(i.prototype,"seriesInfo",{get:function(){return this.seriesInfoProperty},set:function(t){(t&&!this.seriesInfoProperty||!this.seriesInfoProperty.equals(t))&&(this.seriesInfoProperty=t,this.notifyPropertyChanged(_.PROPERTY.SERIES_INFO))},enumerable:!1,configurable:!0}),i.prototype.update=function(t,o,e,n){var s=this.tooltipProps.rolloverModifier.getMousePosition();this.previousMousePosition===s&&s!==C.EMousePosition.SeriesArea||(this.previousMousePosition=this.tooltipProps.rolloverModifier.getMousePosition(),this.svg&&this.clear(),this.placementDivId?this.updateExternalLegendTooltip():(r.prototype.update.call(this,t,o,e,n),this.updateLegendTooltip(e,n)))},i.prototype.updateSize=function(t,o){this.width=t,this.height=o},i.prototype.clear=function(){var t,o,e,n;if(!(!this.parentSurface||this.parentSurface.isDeleted)){if(this.svg){if(this.placementDivId){(o=(t=this.svg)===null||t===void 0?void 0:t.parentNode)===null||o===void 0||o.removeChild(this.svg);return}(e=this.svgRoot)===null||e===void 0||e.removeChild(this.svg)}this.svgLegend&&((n=this.svgLegend.parentNode)===null||n===void 0||n.removeChild(this.svgLegend))}},i.prototype.create=function(t,o,e,n){var s;this.seriesInfo?s=this.generateSvgString():s="<svg></svg>";var p=this.applyClipping(s,this.clipping),v=h.annotationHelpers.createSvg(p,this.svgRoot,this.nextSibling);this.setSvg(v)},i.prototype.generateSvgString=function(){var t,o=this.tooltipProps.tooltipTitle,e=(""+o).replace(/\s/g,""),n="id".concat(Math.floor(this.y1),"_").concat(e,"_").concat(Date.now()),s=(t=this.tooltipProps.tooltipTemplate)!==null&&t!==void 0?t:M;return s(n,this.seriesInfo,this)},i.prototype.updateLegendTooltip=function(t,o){if(this.tooltipProps.tooltipLegendTemplate){var e=this.seriesInfo?this.tooltipProps.tooltipLegendTemplate(this.tooltipProps,this.seriesInfo):"<svg></svg>",n=this.applyClipping(e,this.clipping),s=h.annotationHelpers.createSvg(n,this.svgRoot,this.nextSibling);this.svgLegend=s,this.svgLegend.setAttribute("x",this.tooltipProps.tooltipLegendOffsetX.toString()+t),this.svgLegend.setAttribute("y",this.tooltipProps.tooltipLegendOffsetY.toString()+o)}},i.prototype.updateExternalLegendTooltip=function(){var t;this.seriesInfo?t=this.generateSvgString():t="<svg style='display: none;'></svg>",this.svgDivRoot=document.querySelector("[id='".concat(this.placementDivId,"']"));var o=this.applyClipping(t,this.clipping),e=h.annotationHelpers.createSvg(o,this.svgDivRoot,this.nextSibling);this.setSvg(e)},Object.defineProperty(i.prototype,"placementDivId",{get:function(){return this.placementDivIdProperty},set:function(t){this.placementDivIdProperty!==t&&(this.placementDivIdProperty=t,this.notifyPropertyChanged(_.PROPERTY.PLACEMENT_DIV_ID))},enumerable:!1,configurable:!0}),i})(b.SvgAnnotationBase);l.__exports.RolloverTooltipSvgAnnotation=O;var q=function(r,i,t,o){return r.getValuesWithLabels(i,t,o,!0)},M=function(r,i,t){var o,e,n,s,p,v="",a=t.tooltipProps,R=a.tooltipTitle,E=a.tooltipColor,w=a.tooltipTextColor,j=a.tooltipLabelX,z=a.tooltipLabelY,y=a.shadowColor,H=(n=(o=t.tooltipProps.tooltipDataTemplate)!==null&&o!==void 0?o:(e=t.tooltipProps.rolloverModifier)===null||e===void 0?void 0:e.tooltipDataTemplate)!==null&&n!==void 0?n:q,g=H(i,R,j,z),S=(s=a.width)!==null&&s!==void 0?s:A(g.reduce(function(d,u){return(u==null?void 0:u.length)>d?u.length:d},0)),P=(p=a.height)!==null&&p!==void 0?p:L(g.length);t.updateSize(S,P),g.forEach(function(d,u){v+='<tspan x="8" dy="1.2em">'.concat(d,"</tspan>")});var T='<feGaussianBlur result="blurOut" in="offOut" stdDeviation="3" />';if(y!==void 0){var c=(0,D.parseColorToTArgb)(y);T=`<feColorMatrix result="matrixOut" in="offOut" type="matrix"
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./petal-toolkit.cjs904.js"),B=require("./petal-toolkit.cjs610.js"),N=require("./petal-toolkit.cjs244.js"),V=require("./petal-toolkit.cjs247.js"),Y=require("./petal-toolkit.cjs879.js"),W=require("./petal-toolkit.cjs259.js"),X=require("./petal-toolkit.cjs270.js"),k=require("./petal-toolkit.cjs662.js");var m;function F(){if(m)return l.__exports;m=1;var x=l.__exports&&l.__exports.__extends||(function(){var r=function(i,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,e){o.__proto__=e}||function(o,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(o[n]=e[n])},r(i,t)};return function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(i,t);function o(){this.constructor=i}i.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}})();Object.defineProperty(l.__exports,"__esModule",{value:!0}),l.__exports.RolloverTooltipSvgAnnotation=void 0;var C=B.__require(),f=N.__require(),h=V.__require(),_=Y.__require(),I=W.__require(),b=X.__require(),D=k.__require(),O=(function(r){x(i,r);function i(t,o){var e=this,n,s;return e=r.call(this,o)||this,e.type=I.EAnnotationType.SVG,e.width=0,e.height=0,e.tooltipProps=t,e.height=(n=o==null?void 0:o.height)!==null&&n!==void 0?n:e.height,e.xCoordinateMode=f.ECoordinateMode.DataValue,e.yCoordinateMode=f.ECoordinateMode.DataValue,e.isHidden=!0,e.updateSize=e.updateSize.bind(e),e.placementDivIdProperty=(s=o==null?void 0:o.placementDivId)!==null&&s!==void 0?s:e.placementDivIdProperty,e}return Object.defineProperty(i.prototype,"seriesInfo",{get:function(){return this.seriesInfoProperty},set:function(t){(t&&!this.seriesInfoProperty||!this.seriesInfoProperty.equals(t))&&(this.seriesInfoProperty=t,this.notifyPropertyChanged(_.PROPERTY.SERIES_INFO))},enumerable:!1,configurable:!0}),i.prototype.update=function(t,o,e,n){var s=this.tooltipProps.rolloverModifier.getMousePosition();this.previousMousePosition===s&&s!==C.EMousePosition.SeriesArea||(this.previousMousePosition=this.tooltipProps.rolloverModifier.getMousePosition(),this.svg&&this.clear(),this.placementDivId?this.updateExternalLegendTooltip():(r.prototype.update.call(this,t,o,e,n),this.updateLegendTooltip(e,n)))},i.prototype.updateSize=function(t,o){this.width=t,this.height=o},i.prototype.clear=function(){var t,o,e,n;if(!(!this.parentSurface||this.parentSurface.isDeleted)){if(this.svg){if(this.placementDivId){(o=(t=this.svg)===null||t===void 0?void 0:t.parentNode)===null||o===void 0||o.removeChild(this.svg);return}(e=this.svgRoot)===null||e===void 0||e.removeChild(this.svg)}this.svgLegend&&((n=this.svgLegend.parentNode)===null||n===void 0||n.removeChild(this.svgLegend))}},i.prototype.create=function(t,o,e,n){var s;this.seriesInfo?s=this.generateSvgString():s="<svg></svg>";var p=this.applyClipping(s,this.clipping),v=h.annotationHelpers.createSvg(p,this.svgRoot,this.nextSibling);this.setSvg(v)},i.prototype.generateSvgString=function(){var t,o=this.tooltipProps.tooltipTitle,e=(""+o).replace(/\s/g,""),n="id".concat(Math.floor(this.y1),"_").concat(e,"_").concat(Date.now()),s=(t=this.tooltipProps.tooltipTemplate)!==null&&t!==void 0?t:M;return s(n,this.seriesInfo,this)},i.prototype.updateLegendTooltip=function(t,o){if(this.tooltipProps.tooltipLegendTemplate){var e=this.seriesInfo?this.tooltipProps.tooltipLegendTemplate(this.tooltipProps,this.seriesInfo):"<svg></svg>",n=this.applyClipping(e,this.clipping),s=h.annotationHelpers.createSvg(n,this.svgRoot,this.nextSibling);this.svgLegend=s,this.svgLegend.setAttribute("x",this.tooltipProps.tooltipLegendOffsetX.toString()+t),this.svgLegend.setAttribute("y",this.tooltipProps.tooltipLegendOffsetY.toString()+o)}},i.prototype.updateExternalLegendTooltip=function(){var t;this.seriesInfo?t=this.generateSvgString():t="<svg style='display: none;'></svg>",this.svgDivRoot=document.querySelector("[id='".concat(this.placementDivId,"']"));var o=this.applyClipping(t,this.clipping),e=h.annotationHelpers.createSvg(o,this.svgDivRoot,this.nextSibling);this.setSvg(e)},Object.defineProperty(i.prototype,"placementDivId",{get:function(){return this.placementDivIdProperty},set:function(t){this.placementDivIdProperty!==t&&(this.placementDivIdProperty=t,this.notifyPropertyChanged(_.PROPERTY.PLACEMENT_DIV_ID))},enumerable:!1,configurable:!0}),i})(b.SvgAnnotationBase);l.__exports.RolloverTooltipSvgAnnotation=O;var q=function(r,i,t,o){return r.getValuesWithLabels(i,t,o,!0)},M=function(r,i,t){var o,e,n,s,p,v="",a=t.tooltipProps,R=a.tooltipTitle,E=a.tooltipColor,w=a.tooltipTextColor,j=a.tooltipLabelX,z=a.tooltipLabelY,y=a.shadowColor,H=(n=(o=t.tooltipProps.tooltipDataTemplate)!==null&&o!==void 0?o:(e=t.tooltipProps.rolloverModifier)===null||e===void 0?void 0:e.tooltipDataTemplate)!==null&&n!==void 0?n:q,g=H(i,R,j,z),S=(s=a.width)!==null&&s!==void 0?s:A(g.reduce(function(d,u){return(u==null?void 0:u.length)>d?u.length:d},0)),P=(p=a.height)!==null&&p!==void 0?p:L(g.length);t.updateSize(S,P),g.forEach(function(d,u){v+='<tspan x="8" dy="1.2em">'.concat(d,"</tspan>")});var T='<feGaussianBlur result="blurOut" in="offOut" stdDeviation="3" />';if(y!==void 0){var c=(0,D.parseColorToTArgb)(y);T=`<feColorMatrix result="matrixOut" in="offOut" type="matrix"
2
2
  values="0 0 0 0 `.concat(c.red/255,`
3
3
  0 0 0 0 `).concat(c.green/255,`
4
4
  0 0 0 0 `).concat(c.blue/255,`
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react/jsx-runtime"),y=require("react"),d=require("./petal-toolkit.cjs57.js"),M=require("./petal-toolkit.cjs1326.js"),C=require("./petal-toolkit.cjs55.js"),w=require("./petal-toolkit.cjs1328.js"),q=require("./petal-toolkit.cjs1327.js"),R=require("./petal-toolkit.cjs56.js");function V(h){switch(h){case"light":return{fcfColor:"#16a34a",bandColor:"#16a34a33",referenceColor:"#9ca3af"};case"navy":return{fcfColor:"#10b981",bandColor:"#10b98133",referenceColor:"#64748b"};case"dark":default:return{fcfColor:"#00FFB3",bandColor:"#00FFB333",referenceColor:"#6B7280"}}}const j=y.memo(function({data:r,width:B="100%",height:v=400,className:L,themePreset:F="dark",theme:k,showLegend:b=!0,showReferenceLine:m=!0,onChartReady:i}){const{containerId:f,containerRef:p,surfaceRef:l,sciChartTheme:g,baseColors:t,containerStyle:A}=M.useFinancialChartSetup({chartName:"fcf-range-band",width:B,height:v,themePreset:F,customTheme:k}),c=V(F),x=r.some(s=>s.fcfHigh!==void 0&&s.fcfLow!==void 0);return y.useEffect(()=>{if(!p.current||r.length===0)return;let s=!1;return(async()=>{try{const u=r.map(a=>a.period),S=r.map((a,o)=>o),{sciChartSurface:e,wasmContext:n}=await d.scichartExports.SciChartSurface.create(f,{theme:g});if(s){e.delete();return}if(l.current=e,e.xAxes.add(C.createCategoryXAxis(n,{labelColor:t.axisLabelColor,labels:u})),e.yAxes.add(C.createNumericYAxis(n,{labelColor:t.axisLabelColor,gridColor:t.gridColor,labelFormatter:C.labelFormatters.currency})),m&&w.addReferenceLine(e,{y:0,color:c.referenceColor,label:"$0"}),x){const a=new d.scichartExports.FastBandRenderableSeries(n,{dataSeries:new d.scichartExports.XyyDataSeries(n,{xValues:S,yValues:r.map(o=>o.fcfHigh??o.freeCashFlow),y1Values:r.map(o=>o.fcfLow??o.freeCashFlow)}),fill:c.bandColor,fillY1:c.bandColor,stroke:"transparent",strokeY1:"transparent"});e.renderableSeries.add(a)}e.renderableSeries.add(w.createLineSeries(n,{xValues:S,yValues:r.map(a=>a.freeCashFlow),name:"Free Cash Flow",color:c.fcfColor})),q.addStandardModifiers(e,{crosshairColor:t.crosshairColor,valueFormatters:{"Free Cash Flow":R.tooltipFormatters.currency}}),b&&q.addLegendModifier(e),i==null||i(e)}catch(u){console.error("Failed to initialize FcfRangeBandChart:",u)}})(),()=>{s=!0,l.current&&(l.current.delete(),l.current=null)}},[r,f,g,t,c,b,m,x,i]),E.jsx("div",{ref:p,id:f,className:L,style:A})});exports.FcfRangeBandChart=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const E=require("react/jsx-runtime"),y=require("react"),d=require("./petal-toolkit.cjs57.js"),M=require("./petal-toolkit.cjs1331.js"),C=require("./petal-toolkit.cjs55.js"),w=require("./petal-toolkit.cjs1357.js"),q=require("./petal-toolkit.cjs1332.js"),R=require("./petal-toolkit.cjs56.js");function V(h){switch(h){case"light":return{fcfColor:"#16a34a",bandColor:"#16a34a33",referenceColor:"#9ca3af"};case"navy":return{fcfColor:"#10b981",bandColor:"#10b98133",referenceColor:"#64748b"};case"dark":default:return{fcfColor:"#00FFB3",bandColor:"#00FFB333",referenceColor:"#6B7280"}}}const j=y.memo(function({data:r,width:B="100%",height:v=400,className:L,themePreset:F="dark",theme:k,showLegend:b=!0,showReferenceLine:m=!0,onChartReady:i}){const{containerId:f,containerRef:p,surfaceRef:l,sciChartTheme:g,baseColors:t,containerStyle:A}=M.useFinancialChartSetup({chartName:"fcf-range-band",width:B,height:v,themePreset:F,customTheme:k}),c=V(F),x=r.some(s=>s.fcfHigh!==void 0&&s.fcfLow!==void 0);return y.useEffect(()=>{if(!p.current||r.length===0)return;let s=!1;return(async()=>{try{const u=r.map(a=>a.period),S=r.map((a,o)=>o),{sciChartSurface:e,wasmContext:n}=await d.scichartExports.SciChartSurface.create(f,{theme:g});if(s){e.delete();return}if(l.current=e,e.xAxes.add(C.createCategoryXAxis(n,{labelColor:t.axisLabelColor,labels:u})),e.yAxes.add(C.createNumericYAxis(n,{labelColor:t.axisLabelColor,gridColor:t.gridColor,labelFormatter:C.labelFormatters.currency})),m&&w.addReferenceLine(e,{y:0,color:c.referenceColor,label:"$0"}),x){const a=new d.scichartExports.FastBandRenderableSeries(n,{dataSeries:new d.scichartExports.XyyDataSeries(n,{xValues:S,yValues:r.map(o=>o.fcfHigh??o.freeCashFlow),y1Values:r.map(o=>o.fcfLow??o.freeCashFlow)}),fill:c.bandColor,fillY1:c.bandColor,stroke:"transparent",strokeY1:"transparent"});e.renderableSeries.add(a)}e.renderableSeries.add(w.createLineSeries(n,{xValues:S,yValues:r.map(a=>a.freeCashFlow),name:"Free Cash Flow",color:c.fcfColor})),q.addStandardModifiers(e,{crosshairColor:t.crosshairColor,valueFormatters:{"Free Cash Flow":R.tooltipFormatters.currency}}),b&&q.addLegendModifier(e),i==null||i(e)}catch(u){console.error("Failed to initialize FcfRangeBandChart:",u)}})(),()=>{s=!0,l.current&&(l.current.delete(),l.current=null)}},[r,f,g,t,c,b,m,x,i]),E.jsx("div",{ref:p,id:f,className:L,style:A})});exports.FcfRangeBandChart=j;
2
2
  //# sourceMappingURL=petal-toolkit.cjs27.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./petal-toolkit.cjs906.js"),b=require("./petal-toolkit.cjs581.js"),O=require("./petal-toolkit.cjs880.js"),m=require("./petal-toolkit.cjs255.js"),D=require("./petal-toolkit.cjs259.js");var A;function q(){if(A)return r.__exports;A=1;var S=r.__exports&&r.__exports.__extends||(function(){var n=function(o,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])},n(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(o,t);function e(){this.constructor=o}o.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(r.__exports,"__esModule",{value:!0}),r.__exports.SvgAnnotationBase=void 0;var a=b.__require(),P=O.__require(),x=m.__require(),h=D.__require(),B=(function(n){S(o,n);function o(t){var e=n.call(this,t)||this;return e.isSvgAnnotation=!0,e}return o.prototype.onDetach=function(){n.prototype.onDetach.call(this),this.delete()},o.prototype.update=function(t,e,i,s){var c,u;this.create(t,e,i,s);var l=(c=this.xCoordShift)!==null&&c!==void 0?c:0,p=(u=this.yCoordShift)!==null&&u!==void 0?u:0,f=this.getSvgDomRect(),y=f.width,d=f.height;this.horizontalAnchorPointProperty===a.EHorizontalAnchorPoint.Center?l-=y/2:this.horizontalAnchorPointProperty===a.EHorizontalAnchorPoint.Right&&(l-=y),this.verticalAnchorPointProperty===a.EVerticalAnchorPoint.Center?p-=d/2:this.verticalAnchorPointProperty===a.EVerticalAnchorPoint.Bottom&&(p-=d),this.svg.style.visibility=this.isHidden?"hidden":"visible",this.svg.style.opacity=this.opacity.toString();var _=this.convertPolarToCartesian(this.getX1Coordinate(t,e),this.getY1Coordinate(t,e),!0),C=_.x,R=_.y,v=l+C+i,g=p+R+s;isNaN(v)||isNaN(g)||!isFinite(v)||!isFinite(g)?this.svg.style.display="none":(this.setSvgAttribute("x",v),this.setSvgAttribute("y",g))},o.prototype.delete=function(){this.clear(),n.prototype.delete.call(this)},Object.defineProperty(o.prototype,"svg",{get:function(){return this.svgProperty},enumerable:!1,configurable:!0}),o.prototype.getSvgDomRect=function(){var t,e,i;return this.svgDOMRect||(this.svgDOMRect=(i=(e=(t=this.svg.firstChild)===null||t===void 0?void 0:t.getBBox)===null||e===void 0?void 0:e.call(t))!==null&&i!==void 0?i:this.svg.getBBox()),this.svgDOMRect},o.prototype.clear=function(){!this.parentSurface||this.parentSurface.isDeleted||!this.svg||(this.nextSibling=this.svg.nextElementSibling,this.svg.parentNode.removeChild(this.svg),this.svgDOMRect=void 0,this.setSvg(void 0))},Object.defineProperty(o.prototype,"svgRoot",{get:function(){return this.svgRootProperty},enumerable:!1,configurable:!0}),o.prototype.selectLayerRoot=function(){if(this.annotationLayer===h.EAnnotationLayer.AboveChart)this.svgRootProperty=this.parentSurface.domSvgContainer;else if(this.annotationLayer===h.EAnnotationLayer.BelowChart)this.svgRootProperty=this.parentSurface.domSvgContainer;else if(this.annotationLayer===h.EAnnotationLayer.Background)this.svgRootProperty=this.parentSurface.domBackgroundSvgContainer;else throw new Error('Unexpected annotationLayer value: "'.concat(this.annotationLayer,'!"'))},o.prototype.setSvgAttribute=function(t,e){var i=e.toString(10);this.svg.firstElementChild.setAttribute(t,i)},o.prototype.setSvg=function(t){this.svgProperty=t},o.prototype.applyClipping=function(t,e){return this.applySvgClipping(t,e)},o.prototype.notifyPropertyChanged=function(t){t===P.PROPERTY.ANNOTATION_CANVAS&&(this.clear(),this.nextSibling=void 0),n.prototype.notifyPropertyChanged.call(this,t)},o.prototype.getSize=function(){if(this.svg){var t=this.getSvgDomRect(),e=t.width,i=t.height;return{width:e,height:i}}},o})(x.DomAnnotationBase);return r.__exports.SvgAnnotationBase=B,r.__exports}exports.__require=q;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./petal-toolkit.cjs905.js"),b=require("./petal-toolkit.cjs581.js"),O=require("./petal-toolkit.cjs879.js"),m=require("./petal-toolkit.cjs255.js"),D=require("./petal-toolkit.cjs259.js");var A;function q(){if(A)return r.__exports;A=1;var S=r.__exports&&r.__exports.__extends||(function(){var n=function(o,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])},n(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(o,t);function e(){this.constructor=o}o.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(r.__exports,"__esModule",{value:!0}),r.__exports.SvgAnnotationBase=void 0;var a=b.__require(),P=O.__require(),x=m.__require(),h=D.__require(),B=(function(n){S(o,n);function o(t){var e=n.call(this,t)||this;return e.isSvgAnnotation=!0,e}return o.prototype.onDetach=function(){n.prototype.onDetach.call(this),this.delete()},o.prototype.update=function(t,e,i,s){var c,u;this.create(t,e,i,s);var l=(c=this.xCoordShift)!==null&&c!==void 0?c:0,p=(u=this.yCoordShift)!==null&&u!==void 0?u:0,f=this.getSvgDomRect(),y=f.width,d=f.height;this.horizontalAnchorPointProperty===a.EHorizontalAnchorPoint.Center?l-=y/2:this.horizontalAnchorPointProperty===a.EHorizontalAnchorPoint.Right&&(l-=y),this.verticalAnchorPointProperty===a.EVerticalAnchorPoint.Center?p-=d/2:this.verticalAnchorPointProperty===a.EVerticalAnchorPoint.Bottom&&(p-=d),this.svg.style.visibility=this.isHidden?"hidden":"visible",this.svg.style.opacity=this.opacity.toString();var _=this.convertPolarToCartesian(this.getX1Coordinate(t,e),this.getY1Coordinate(t,e),!0),C=_.x,R=_.y,v=l+C+i,g=p+R+s;isNaN(v)||isNaN(g)||!isFinite(v)||!isFinite(g)?this.svg.style.display="none":(this.setSvgAttribute("x",v),this.setSvgAttribute("y",g))},o.prototype.delete=function(){this.clear(),n.prototype.delete.call(this)},Object.defineProperty(o.prototype,"svg",{get:function(){return this.svgProperty},enumerable:!1,configurable:!0}),o.prototype.getSvgDomRect=function(){var t,e,i;return this.svgDOMRect||(this.svgDOMRect=(i=(e=(t=this.svg.firstChild)===null||t===void 0?void 0:t.getBBox)===null||e===void 0?void 0:e.call(t))!==null&&i!==void 0?i:this.svg.getBBox()),this.svgDOMRect},o.prototype.clear=function(){!this.parentSurface||this.parentSurface.isDeleted||!this.svg||(this.nextSibling=this.svg.nextElementSibling,this.svg.parentNode.removeChild(this.svg),this.svgDOMRect=void 0,this.setSvg(void 0))},Object.defineProperty(o.prototype,"svgRoot",{get:function(){return this.svgRootProperty},enumerable:!1,configurable:!0}),o.prototype.selectLayerRoot=function(){if(this.annotationLayer===h.EAnnotationLayer.AboveChart)this.svgRootProperty=this.parentSurface.domSvgContainer;else if(this.annotationLayer===h.EAnnotationLayer.BelowChart)this.svgRootProperty=this.parentSurface.domSvgContainer;else if(this.annotationLayer===h.EAnnotationLayer.Background)this.svgRootProperty=this.parentSurface.domBackgroundSvgContainer;else throw new Error('Unexpected annotationLayer value: "'.concat(this.annotationLayer,'!"'))},o.prototype.setSvgAttribute=function(t,e){var i=e.toString(10);this.svg.firstElementChild.setAttribute(t,i)},o.prototype.setSvg=function(t){this.svgProperty=t},o.prototype.applyClipping=function(t,e){return this.applySvgClipping(t,e)},o.prototype.notifyPropertyChanged=function(t){t===P.PROPERTY.ANNOTATION_CANVAS&&(this.clear(),this.nextSibling=void 0),n.prototype.notifyPropertyChanged.call(this,t)},o.prototype.getSize=function(){if(this.svg){var t=this.getSvgDomRect(),e=t.width,i=t.height;return{width:e,height:i}}},o})(x.DomAnnotationBase);return r.__exports.SvgAnnotationBase=B,r.__exports}exports.__require=q;
2
2
  //# sourceMappingURL=petal-toolkit.cjs270.js.map
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./petal-toolkit.cjs907.js"),x=require("./petal-toolkit.cjs571.js"),b=require("./petal-toolkit.cjs626.js"),R=require("./petal-toolkit.cjs648.js"),m=require("./petal-toolkit.cjs247.js"),A=require("./petal-toolkit.cjs880.js"),C=require("./petal-toolkit.cjs259.js"),E=require("./petal-toolkit.cjs270.js");var P;function N(){if(P)return u.__exports;P=1;var g=u.__exports&&u.__exports.__extends||(function(){var s=function(r,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])},s(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(u.__exports,"__esModule",{value:!0}),u.__exports.TextAnnotation=void 0;var _=x.__require(),p=b.__require(),d=R.__require(),v=m.__require(),i=A.__require(),T=C.__require(),S=E.__require(),O=(function(s){g(r,s);function r(t){var e=this,n,o,f,c,l,a,h,y;return e=s.call(this,t)||this,e.type=T.EAnnotationType.SVGTextAnnotation,e.surfaceTypes=[p.ESurfaceType.SciChartSurfaceType,p.ESurfaceType.SciChartPolarSurfaceType],e.textProperty="DEFAULT TEXT",e.textColorProperty="#ffffff",e.fontSizeProperty=14,e.fontFamilyProperty=d.DEFAULT_FONT_FAMILY,e.fontWeightProperty="Normal",e.paddingProperty=_.Thickness.fromNumber(0),e.classNameProperty="scichart__text-annotation",e.isDirty=!0,e.textProperty=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:e.textProperty,e.textColorProperty=(o=t==null?void 0:t.textColor)!==null&&o!==void 0?o:e.textColorProperty,e.fontSizeProperty=(f=t==null?void 0:t.fontSize)!==null&&f!==void 0?f:e.fontSizeProperty,e.fontFamilyProperty=(c=t==null?void 0:t.fontFamily)!==null&&c!==void 0?c:e.fontFamilyProperty,e.backgroundProperty=(l=t==null?void 0:t.background)!==null&&l!==void 0?l:e.backgroundProperty,e.paddingProperty=(a=t==null?void 0:t.padding)!==null&&a!==void 0?a:e.paddingProperty,e.classNameProperty=(h=t==null?void 0:t.className)!==null&&h!==void 0?h:e.classNameProperty,e.fontWeight=(y=t==null?void 0:t.fontWeight)!==null&&y!==void 0?y:e.fontWeight,e}return Object.defineProperty(r.prototype,"text",{get:function(){return this.textProperty},set:function(t){this.textProperty!==t&&(this.textProperty=t,this.notifyPropertyChanged(i.PROPERTY.TEXT))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"background",{get:function(){return this.backgroundProperty},set:function(t){this.backgroundProperty!==t&&(this.backgroundProperty=t,this.notifyPropertyChanged(i.PROPERTY.BACKGROUND_COLOR))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"padding",{get:function(){return this.paddingProperty},set:function(t){this.paddingProperty!==t&&(this.paddingProperty=t,this.notifyPropertyChanged(i.PROPERTY.PADDING))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"className",{get:function(){return this.classNameProperty},set:function(t){this.classNameProperty!==t&&(this.classNameProperty=t,this.notifyPropertyChanged(i.PROPERTY.CLASS_NAME))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return this.textColorProperty},set:function(t){this.textColorProperty!==t&&(this.textColorProperty=t,this.notifyPropertyChanged(i.PROPERTY.TEXT_STROKE))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontSize",{get:function(){return this.fontSizeProperty},set:function(t){this.fontSizeProperty!==t&&(this.fontSizeProperty=t,this.notifyPropertyChanged(i.PROPERTY.FONT_SIZE))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontFamily",{get:function(){return this.fontFamilyProperty},set:function(t){this.fontFamilyProperty!==t&&(this.fontFamilyProperty=t,this.notifyPropertyChanged(i.PROPERTY.FONT_FAMILY))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontWeight",{get:function(){return this.fontWeightProperty},set:function(t){this.fontWeightProperty!==t&&(this.fontWeightProperty=t,this.notifyPropertyChanged(i.PROPERTY.FONT_WEIGHT))},enumerable:!1,configurable:!0}),r.prototype.toJSON=function(){var t=s.prototype.toJSON.call(this),e={fontFamily:this.fontFamily,fontSize:this.fontSize,fontWeight:this.fontWeight,text:this.text,textColor:this.textColor,background:this.background,className:this.className,padding:this.padding};return Object.assign(t.options,e),t},r.prototype.notifyPropertyChanged=function(t){t!==i.PROPERTY.IS_HIDDEN&&t!==i.PROPERTY.X_COORD_SHIFT&&t!==i.PROPERTY.Y_COORD_SHIFT&&t!==i.PROPERTY.HORIZONTAL_ANCHOR_POINT&&t!==i.PROPERTY.VERTICAL_ANCHOR_POINT&&t!==i.PROPERTY.X1&&t!==i.PROPERTY.X2&&t!==i.PROPERTY.Y1&&t!==i.PROPERTY.Y2&&(this.isDirty=!0),this.invalidateParentCallback&&this.invalidateParentCallback()},r.prototype.create=function(t,e,n,o){if(this.svg&&!this.isDirty){this.calcAndSetAnnotationBorders(t,e),(this.isSelected||this.prevIsSelected!==this.isSelected)&&(this.updateAdornerInner(),this.prevIsSelected=this.isSelected);return}this.svg&&this.clear(),this.setSvg(this.createSvg()),this.calcAndSetAnnotationBorders(t,e),this.updateAdornerInner(),this.isDirty=!1},r.prototype.createSvg=function(){var t=this.padding.left,e=this.fontSize+this.padding.top,n=(0,d.getFontFamily)(this.fontFamily,!1),o='<svg id="scichart__text-annotation-'.concat(this.id,'" class="').concat(this.className,`">
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./petal-toolkit.cjs906.js"),x=require("./petal-toolkit.cjs571.js"),b=require("./petal-toolkit.cjs626.js"),R=require("./petal-toolkit.cjs648.js"),m=require("./petal-toolkit.cjs247.js"),A=require("./petal-toolkit.cjs879.js"),C=require("./petal-toolkit.cjs259.js"),E=require("./petal-toolkit.cjs270.js");var P;function N(){if(P)return u.__exports;P=1;var g=u.__exports&&u.__exports.__extends||(function(){var s=function(r,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])},s(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");s(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(u.__exports,"__esModule",{value:!0}),u.__exports.TextAnnotation=void 0;var _=x.__require(),p=b.__require(),d=R.__require(),v=m.__require(),i=A.__require(),T=C.__require(),S=E.__require(),O=(function(s){g(r,s);function r(t){var e=this,n,o,f,c,l,a,h,y;return e=s.call(this,t)||this,e.type=T.EAnnotationType.SVGTextAnnotation,e.surfaceTypes=[p.ESurfaceType.SciChartSurfaceType,p.ESurfaceType.SciChartPolarSurfaceType],e.textProperty="DEFAULT TEXT",e.textColorProperty="#ffffff",e.fontSizeProperty=14,e.fontFamilyProperty=d.DEFAULT_FONT_FAMILY,e.fontWeightProperty="Normal",e.paddingProperty=_.Thickness.fromNumber(0),e.classNameProperty="scichart__text-annotation",e.isDirty=!0,e.textProperty=(n=t==null?void 0:t.text)!==null&&n!==void 0?n:e.textProperty,e.textColorProperty=(o=t==null?void 0:t.textColor)!==null&&o!==void 0?o:e.textColorProperty,e.fontSizeProperty=(f=t==null?void 0:t.fontSize)!==null&&f!==void 0?f:e.fontSizeProperty,e.fontFamilyProperty=(c=t==null?void 0:t.fontFamily)!==null&&c!==void 0?c:e.fontFamilyProperty,e.backgroundProperty=(l=t==null?void 0:t.background)!==null&&l!==void 0?l:e.backgroundProperty,e.paddingProperty=(a=t==null?void 0:t.padding)!==null&&a!==void 0?a:e.paddingProperty,e.classNameProperty=(h=t==null?void 0:t.className)!==null&&h!==void 0?h:e.classNameProperty,e.fontWeight=(y=t==null?void 0:t.fontWeight)!==null&&y!==void 0?y:e.fontWeight,e}return Object.defineProperty(r.prototype,"text",{get:function(){return this.textProperty},set:function(t){this.textProperty!==t&&(this.textProperty=t,this.notifyPropertyChanged(i.PROPERTY.TEXT))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"background",{get:function(){return this.backgroundProperty},set:function(t){this.backgroundProperty!==t&&(this.backgroundProperty=t,this.notifyPropertyChanged(i.PROPERTY.BACKGROUND_COLOR))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"padding",{get:function(){return this.paddingProperty},set:function(t){this.paddingProperty!==t&&(this.paddingProperty=t,this.notifyPropertyChanged(i.PROPERTY.PADDING))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"className",{get:function(){return this.classNameProperty},set:function(t){this.classNameProperty!==t&&(this.classNameProperty=t,this.notifyPropertyChanged(i.PROPERTY.CLASS_NAME))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return this.textColorProperty},set:function(t){this.textColorProperty!==t&&(this.textColorProperty=t,this.notifyPropertyChanged(i.PROPERTY.TEXT_STROKE))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontSize",{get:function(){return this.fontSizeProperty},set:function(t){this.fontSizeProperty!==t&&(this.fontSizeProperty=t,this.notifyPropertyChanged(i.PROPERTY.FONT_SIZE))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontFamily",{get:function(){return this.fontFamilyProperty},set:function(t){this.fontFamilyProperty!==t&&(this.fontFamilyProperty=t,this.notifyPropertyChanged(i.PROPERTY.FONT_FAMILY))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fontWeight",{get:function(){return this.fontWeightProperty},set:function(t){this.fontWeightProperty!==t&&(this.fontWeightProperty=t,this.notifyPropertyChanged(i.PROPERTY.FONT_WEIGHT))},enumerable:!1,configurable:!0}),r.prototype.toJSON=function(){var t=s.prototype.toJSON.call(this),e={fontFamily:this.fontFamily,fontSize:this.fontSize,fontWeight:this.fontWeight,text:this.text,textColor:this.textColor,background:this.background,className:this.className,padding:this.padding};return Object.assign(t.options,e),t},r.prototype.notifyPropertyChanged=function(t){t!==i.PROPERTY.IS_HIDDEN&&t!==i.PROPERTY.X_COORD_SHIFT&&t!==i.PROPERTY.Y_COORD_SHIFT&&t!==i.PROPERTY.HORIZONTAL_ANCHOR_POINT&&t!==i.PROPERTY.VERTICAL_ANCHOR_POINT&&t!==i.PROPERTY.X1&&t!==i.PROPERTY.X2&&t!==i.PROPERTY.Y1&&t!==i.PROPERTY.Y2&&(this.isDirty=!0),this.invalidateParentCallback&&this.invalidateParentCallback()},r.prototype.create=function(t,e,n,o){if(this.svg&&!this.isDirty){this.calcAndSetAnnotationBorders(t,e),(this.isSelected||this.prevIsSelected!==this.isSelected)&&(this.updateAdornerInner(),this.prevIsSelected=this.isSelected);return}this.svg&&this.clear(),this.setSvg(this.createSvg()),this.calcAndSetAnnotationBorders(t,e),this.updateAdornerInner(),this.isDirty=!1},r.prototype.createSvg=function(){var t=this.padding.left,e=this.fontSize+this.padding.top,n=(0,d.getFontFamily)(this.fontFamily,!1),o='<svg id="scichart__text-annotation-'.concat(this.id,'" class="').concat(this.className,`">
2
2
  <text x="`).concat(t,'" y="').concat(e,'" fill="').concat(this.textColor,'" font-size="').concat(this.fontSize,'" font-family="').concat(n,'" font-weight="').concat(this.fontWeight,'">').concat(this.text,`</text>
3
3
  </svg>`),f=this.applyClipping(o,this.clipping),c=v.annotationHelpers.createSvg(f,this.svgRoot,this.nextSibling);return this.background&&this.attachSvgBackgroundRect(c,this.background,this.padding),c},r.prototype.getSize=function(){var t=s.prototype.getSize.call(this);return t&&!this.background?{width:t.width+this.padding.left+this.padding.right,height:t.height+this.padding.top+this.padding.bottom}:t},r.prototype.attachSvgBackgroundRect=function(t,e,n){var o=t.getBBox(),f=o.width+n.left+n.right,c=o.height+n.top+n.bottom,l="http://www.w3.org/2000/svg",a=document.createElementNS(l,"rect");a.setAttribute("x","0"),a.setAttribute("y","0"),a.setAttribute("width","".concat(f)),a.setAttribute("height","".concat(c)),a.setAttribute("fill","".concat(e)),t.firstChild.insertBefore(a,t.firstChild.firstChild)},r})(S.SvgAnnotationBase);return u.__exports.TextAnnotation=O,u.__exports}exports.__require=N;
4
4
  //# sourceMappingURL=petal-toolkit.cjs271.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./petal-toolkit.cjs908.js"),Z=require("./petal-toolkit.cjs559.js"),tt=require("./petal-toolkit.cjs567.js"),et=require("./petal-toolkit.cjs569.js"),rt=require("./petal-toolkit.cjs571.js"),nt=require("./petal-toolkit.cjs586.js"),it=require("./petal-toolkit.cjs626.js"),ot=require("./petal-toolkit.cjs664.js"),at=require("./petal-toolkit.cjs670.js"),lt=require("./petal-toolkit.cjs107.js"),st=require("./petal-toolkit.cjs311.js"),ut=require("./petal-toolkit.cjs492.js"),ct=require("./petal-toolkit.cjs244.js"),dt=require("./petal-toolkit.cjs259.js"),ht=require("./petal-toolkit.cjs260.js");var T;function vt(){if(T)return l.__exports;T=1;var E=l.__exports&&l.__exports.__extends||(function(){var o=function(i,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])},o(i,t)};return function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(i,t);function e(){this.constructor=i}i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),d=l.__exports&&l.__exports.__assign||function(){return d=Object.assign||function(o){for(var i,t=1,e=arguments.length;t<e;t++){i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(o[r]=i[r])}return o},d.apply(this,arguments)};Object.defineProperty(l.__exports,"__esModule",{value:!0}),l.__exports.VerticalLineAnnotation=void 0;var g=Z.__require(),C=tt.__require(),z=et.__require(),M=rt.__require(),x=nt.__require(),I=it.__require(),j=ot.__require(),y=at.__require(),k=lt.__require(),D=st.__require(),R=ut.__require(),F=ct.__require(),G=dt.__require(),B=ht.__require(),H=(function(o){E(i,o);function i(t){var e=this,r,n,s;return e=o.call(this,t)||this,e.type=G.EAnnotationType.RenderContextVerticalLineAnnotation,e.surfaceTypes=[I.ESurfaceType.SciChartSurfaceType],e.dragOnLine=!0,e.dragOnLabel=!0,t!=null&&t.x2&&(e.x2=t.x2),t!=null&&t.y2&&(e.y2=t.y2),e.dragOnLine=(r=t==null?void 0:t.dragOnLine)!==null&&r!==void 0?r:e.dragOnLine,e.dragOnLabel=(n=t==null?void 0:t.dragOnLabel)!==null&&n!==void 0?n:e.dragOnLabel,e.verticalAlignment=(s=t==null?void 0:t.verticalAlignment)!==null&&s!==void 0?s:e.verticalAlignment,e}return Object.defineProperty(i.prototype,"y2",{get:function(){throw Error("y2 property is not supported for VerticalLineAnnotation")},set:function(t){throw Error("y2 property is not supported for VerticalLineAnnotation")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"x2",{get:function(){throw Error("x2 property is not supported for VerticalLineAnnotation")},set:function(t){throw Error("x2 property is not supported for VerticalLineAnnotation")},enumerable:!1,configurable:!0}),i.prototype.drawWithContext=function(t,e,r,n,s,h){g.Guard.notNull(t,"renderContext"),g.Guard.notNull(e,"xCalc"),g.Guard.notNull(r,"yCalc");var _=(0,k.getWebGlPenFromCache)(this.strokePenCache),a=this.getDrawConfig(e,r),N=a.annotationCoord,L=a.lineAnnotationEdgeCoord,f=a.horizontalAxis,A=a.verticalAxis,X=a.horizontalAxisCoordinateMode,b=a.verticalAxisCoordinateMode,W=a.horizontalCoordinateCalculator,O=a.verticalCoordinateCalculator,q=a.isAlignmentTop;if(!(!f||!A)){var v=n.height,u=0;q&&(v=v=0,u=u=n.height);var m=this.getValue(L,O,b),V=m||m===0;V&&(u=u=this.getY1Coordinate(e,r));var p=this.getX1Coordinate(e,r),w=p;this.setAnnotationBorders(p,w,v,u);var P=this.getCoordinate(L,O,b),S=this.getCoordinate(N,W,X),Y=S>=0&&S<=f.parentSurface.seriesViewRect.width,J=q?P>=0:P<=A.parentSurface.seriesViewRect.height,U=!V||J;if(Y&&U){var $=d(d({},A.labelStyle),{padding:new M.Thickness(2,2,2,2),color:this.axisLabelStroke,fontSize:this.axisFontSize*R.DpiHelper.PIXEL_RATIO,fontFamily:this.axisFontFamily}),c=(0,D.drawLineAnnotation)(f,t,this.labelPlacement,this.labelValue,p,w,v,u,$,this.axisLabelFill,_,n,this.showLabel,this.opacity,null,this.verticalAlignment);if(c){var K=(0,y.translateFromCanvasToSeriesViewRect)(new C.Point(c.left,c.top),n,!0),Q=(0,y.translateFromCanvasToSeriesViewRect)(new C.Point(c.right,c.bottom),n,!0);this.labelRect=z.Rect.createWithPoints(K,Q)}}this.dragOnLine&&this.updateAdornerInner()}},i.prototype.onDragStarted=function(t){return this.dragOnLine?o.prototype.onDragStarted.call(this,t):this.dragOnLabel&&this.labelRect&&this.clickToSelect(t)?(this.adornerDraggingPoint=F.EDraggingGripPoint.Body,!0):!1},i.prototype.toJSON=function(){var t=o.prototype.toJSON.call(this),e={dragOnLabel:this.dragOnLabel,dragOnLine:this.dragOnLine,horizontalAlignment:void 0,verticalAlignment:this.verticalAlignment};return Object.assign(t.options,e),t},i.prototype.checkIsClickedOnAnnotationInternal=function(t,e){if(this.dragOnLine&&o.prototype.checkIsClickedOnAnnotationInternal.call(this,t,e))return!0;if(this.dragOnLabel&&this.labelRect){var r=this.labelRect,n=r.left,s=r.top,h=r.right,_=r.bottom;if((0,j.testIsInBounds)(t,e,n,_,h,s))return!0}return!1},i.prototype.getDrawConfig=function(t,e){var r=this.xAxis,n=this.yAxis,s={annotationCoord:this.x1,lineAnnotationEdgeCoord:this.y1,horizontalAxis:r,verticalAxis:n,horizontalAxisCoordinateMode:this.xCoordinateMode,verticalAxisCoordinateMode:this.yCoordinateMode,horizontalCoordinateCalculator:t,verticalCoordinateCalculator:e,isAlignmentTop:(r==null?void 0:r.axisAlignment)===x.EAxisAlignment.Top},h={annotationCoord:this.y1,lineAnnotationEdgeCoord:this.x1,horizontalAxis:n,verticalAxis:r,horizontalAxisCoordinateMode:this.yCoordinateMode,verticalAxisCoordinateMode:this.xCoordinateMode,horizontalCoordinateCalculator:e,verticalCoordinateCalculator:t,isAlignmentTop:(n==null?void 0:n.axisAlignment)===x.EAxisAlignment.Top};return this.isVerticalChart?h:s},i})(B.LineAnnotation);return l.__exports.VerticalLineAnnotation=H,l.__exports}exports.__require=vt;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./petal-toolkit.cjs907.js"),Z=require("./petal-toolkit.cjs559.js"),tt=require("./petal-toolkit.cjs567.js"),et=require("./petal-toolkit.cjs569.js"),rt=require("./petal-toolkit.cjs571.js"),nt=require("./petal-toolkit.cjs586.js"),it=require("./petal-toolkit.cjs626.js"),ot=require("./petal-toolkit.cjs664.js"),at=require("./petal-toolkit.cjs670.js"),lt=require("./petal-toolkit.cjs107.js"),st=require("./petal-toolkit.cjs311.js"),ut=require("./petal-toolkit.cjs492.js"),ct=require("./petal-toolkit.cjs244.js"),dt=require("./petal-toolkit.cjs259.js"),ht=require("./petal-toolkit.cjs260.js");var T;function vt(){if(T)return l.__exports;T=1;var E=l.__exports&&l.__exports.__extends||(function(){var o=function(i,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])},o(i,t)};return function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(i,t);function e(){this.constructor=i}i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),d=l.__exports&&l.__exports.__assign||function(){return d=Object.assign||function(o){for(var i,t=1,e=arguments.length;t<e;t++){i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(o[r]=i[r])}return o},d.apply(this,arguments)};Object.defineProperty(l.__exports,"__esModule",{value:!0}),l.__exports.VerticalLineAnnotation=void 0;var g=Z.__require(),C=tt.__require(),z=et.__require(),M=rt.__require(),x=nt.__require(),I=it.__require(),j=ot.__require(),y=at.__require(),k=lt.__require(),D=st.__require(),R=ut.__require(),F=ct.__require(),G=dt.__require(),B=ht.__require(),H=(function(o){E(i,o);function i(t){var e=this,r,n,s;return e=o.call(this,t)||this,e.type=G.EAnnotationType.RenderContextVerticalLineAnnotation,e.surfaceTypes=[I.ESurfaceType.SciChartSurfaceType],e.dragOnLine=!0,e.dragOnLabel=!0,t!=null&&t.x2&&(e.x2=t.x2),t!=null&&t.y2&&(e.y2=t.y2),e.dragOnLine=(r=t==null?void 0:t.dragOnLine)!==null&&r!==void 0?r:e.dragOnLine,e.dragOnLabel=(n=t==null?void 0:t.dragOnLabel)!==null&&n!==void 0?n:e.dragOnLabel,e.verticalAlignment=(s=t==null?void 0:t.verticalAlignment)!==null&&s!==void 0?s:e.verticalAlignment,e}return Object.defineProperty(i.prototype,"y2",{get:function(){throw Error("y2 property is not supported for VerticalLineAnnotation")},set:function(t){throw Error("y2 property is not supported for VerticalLineAnnotation")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"x2",{get:function(){throw Error("x2 property is not supported for VerticalLineAnnotation")},set:function(t){throw Error("x2 property is not supported for VerticalLineAnnotation")},enumerable:!1,configurable:!0}),i.prototype.drawWithContext=function(t,e,r,n,s,h){g.Guard.notNull(t,"renderContext"),g.Guard.notNull(e,"xCalc"),g.Guard.notNull(r,"yCalc");var _=(0,k.getWebGlPenFromCache)(this.strokePenCache),a=this.getDrawConfig(e,r),N=a.annotationCoord,L=a.lineAnnotationEdgeCoord,f=a.horizontalAxis,A=a.verticalAxis,X=a.horizontalAxisCoordinateMode,b=a.verticalAxisCoordinateMode,W=a.horizontalCoordinateCalculator,O=a.verticalCoordinateCalculator,q=a.isAlignmentTop;if(!(!f||!A)){var v=n.height,u=0;q&&(v=v=0,u=u=n.height);var m=this.getValue(L,O,b),V=m||m===0;V&&(u=u=this.getY1Coordinate(e,r));var p=this.getX1Coordinate(e,r),w=p;this.setAnnotationBorders(p,w,v,u);var P=this.getCoordinate(L,O,b),S=this.getCoordinate(N,W,X),Y=S>=0&&S<=f.parentSurface.seriesViewRect.width,J=q?P>=0:P<=A.parentSurface.seriesViewRect.height,U=!V||J;if(Y&&U){var $=d(d({},A.labelStyle),{padding:new M.Thickness(2,2,2,2),color:this.axisLabelStroke,fontSize:this.axisFontSize*R.DpiHelper.PIXEL_RATIO,fontFamily:this.axisFontFamily}),c=(0,D.drawLineAnnotation)(f,t,this.labelPlacement,this.labelValue,p,w,v,u,$,this.axisLabelFill,_,n,this.showLabel,this.opacity,null,this.verticalAlignment);if(c){var K=(0,y.translateFromCanvasToSeriesViewRect)(new C.Point(c.left,c.top),n,!0),Q=(0,y.translateFromCanvasToSeriesViewRect)(new C.Point(c.right,c.bottom),n,!0);this.labelRect=z.Rect.createWithPoints(K,Q)}}this.dragOnLine&&this.updateAdornerInner()}},i.prototype.onDragStarted=function(t){return this.dragOnLine?o.prototype.onDragStarted.call(this,t):this.dragOnLabel&&this.labelRect&&this.clickToSelect(t)?(this.adornerDraggingPoint=F.EDraggingGripPoint.Body,!0):!1},i.prototype.toJSON=function(){var t=o.prototype.toJSON.call(this),e={dragOnLabel:this.dragOnLabel,dragOnLine:this.dragOnLine,horizontalAlignment:void 0,verticalAlignment:this.verticalAlignment};return Object.assign(t.options,e),t},i.prototype.checkIsClickedOnAnnotationInternal=function(t,e){if(this.dragOnLine&&o.prototype.checkIsClickedOnAnnotationInternal.call(this,t,e))return!0;if(this.dragOnLabel&&this.labelRect){var r=this.labelRect,n=r.left,s=r.top,h=r.right,_=r.bottom;if((0,j.testIsInBounds)(t,e,n,_,h,s))return!0}return!1},i.prototype.getDrawConfig=function(t,e){var r=this.xAxis,n=this.yAxis,s={annotationCoord:this.x1,lineAnnotationEdgeCoord:this.y1,horizontalAxis:r,verticalAxis:n,horizontalAxisCoordinateMode:this.xCoordinateMode,verticalAxisCoordinateMode:this.yCoordinateMode,horizontalCoordinateCalculator:t,verticalCoordinateCalculator:e,isAlignmentTop:(r==null?void 0:r.axisAlignment)===x.EAxisAlignment.Top},h={annotationCoord:this.y1,lineAnnotationEdgeCoord:this.x1,horizontalAxis:n,verticalAxis:r,horizontalAxisCoordinateMode:this.yCoordinateMode,verticalAxisCoordinateMode:this.xCoordinateMode,horizontalCoordinateCalculator:e,verticalCoordinateCalculator:t,isAlignmentTop:(n==null?void 0:n.axisAlignment)===x.EAxisAlignment.Top};return this.isVerticalChart?h:s},i})(B.LineAnnotation);return l.__exports.VerticalLineAnnotation=H,l.__exports}exports.__require=vt;
2
2
  //# sourceMappingURL=petal-toolkit.cjs272.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("./petal-toolkit.cjs909.js"),ge=require("./petal-toolkit.cjs73.js"),xe=require("./petal-toolkit.cjs576.js"),me=require("./petal-toolkit.cjs578.js"),be=require("./petal-toolkit.cjs555.js"),Re=require("./petal-toolkit.cjs562.js"),Pe=require("./petal-toolkit.cjs571.js"),Ae=require("./petal-toolkit.cjs586.js"),Le=require("./petal-toolkit.cjs588.js"),Se=require("./petal-toolkit.cjs597.js"),Te=require("./petal-toolkit.cjs604.js"),_e=require("./petal-toolkit.cjs634.js"),ke=require("./petal-toolkit.cjs648.js"),Ce=require("./petal-toolkit.cjs662.js"),we=require("./petal-toolkit.cjs663.js"),De=require("./petal-toolkit.cjs107.js"),Ee=require("./petal-toolkit.cjs873.js"),Be=require("./petal-toolkit.cjs111.js"),Ie=require("./petal-toolkit.cjs212.js"),je=require("./petal-toolkit.cjs214.js"),Me=require("./petal-toolkit.cjs307.js"),Ve=require("./petal-toolkit.cjs310.js"),Oe=require("./petal-toolkit.cjs313.js"),qe=require("./petal-toolkit.cjs241.js"),ze=require("./petal-toolkit.cjs492.js"),Ge=require("./petal-toolkit.cjs274.js"),Xe=require("./petal-toolkit.cjs275.js"),Ne=require("./petal-toolkit.cjs276.js"),Fe=require("./petal-toolkit.cjs277.js"),He=require("./petal-toolkit.cjs910.js");var ee;function Ye(){return ee||(ee=1,(function(E){var ie=D.__exports&&D.__exports.__extends||(function(){var y=function(a,i){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},y(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");y(a,i);function e(){this.constructor=a}a.prototype=i===null?Object.create(i):(e.prototype=i.prototype,new e)}})(),T=D.__exports&&D.__exports.__assign||function(){return T=Object.assign||function(y){for(var a,i=1,e=arguments.length;i<e;i++){a=arguments[i];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(y[r]=a[r])}return y},T.apply(this,arguments)};Object.defineProperty(E,"__esModule",{value:!0}),E.AxisBase2D=E.EClipMode=void 0;var re=ge.__require(),K=xe.__require(),te=me.__require(),L=be.__require(),m=Re.__require(),ae=Pe.__require(),_=Ae.__require(),ne=Le.__require(),M=Se.__require(),oe=Te.__require(),B=_e.__require(),se=ke.__require(),Q=Ce.__require(),s=we.__require(),V=De.__require(),z=Ee.__require(),I=Be.__require(),le=Ie.__require(),de=je.__require(),O=Me.__require(),ce=Ve.__require(),j=Oe.__require(),q=qe.__require(),G=ze.__require(),ue=Ge.__require(),he=Xe.__require(),fe=Ne.__require(),ve=Fe.__require(),p=He.__require();(function(y){y.None="None",y.StretchAtExtents="StretchAtExtents",y.ClipAtMin="ClipAtMin",y.ClipAtMax="ClipAtMax",y.ClipAtExtents="ClipAtExtents"})(E.EClipMode||(E.EClipMode={}));var pe=(function(y){ie(a,y);function a(i,e){var r=this,t,n,o,d,l,c,h,u,v,f,P,A,R;return r=y.call(this,e)||this,r.axisLayoutState=new he.AxisLayoutState,r.isPolarAxis=!1,r.getlabelStyleProxy=function(g){return new Proxy(g,{set:function(k,b,S){return k[b]=S,r.notifyPropertyChanged(p.PROPERTY.TEXT_STYLE),r.dpiAdjustedLabelStyleCache=void 0,!0}})},r.labelStyleProperty=r.getlabelStyleProxy({fontSize:14,fontFamily:se.DEFAULT_FONT_FAMILY,color:q.SciChartSurfaceBase.DEFAULT_THEME.tickTextBrush,fontWeight:"normal",fontStyle:"normal",padding:ae.Thickness.fromString("2 4 2 4"),alignment:oe.ELabelAlignment.Auto}),r.isInnerAxisProperty=!1,r.isPrimaryAxisProperty=!1,r.axisBorderProperty={borderBottom:0,borderLeft:0,borderRight:0,borderTop:0,color:q.SciChartSurfaceBase.DEFAULT_THEME.axisBorder,border:0},r.offsetProperty=0,r.offsetOverrideProperty=void 0,r.tickCache=void 0,r.clipToXRangeProperty=!0,r.isStaticAxisProperty=!1,r.webAssemblyContext2D=i,r.penCacheForMajorGridLines=new V.Pen2DCache(i),r.penCacheForMinorGridLines=new V.Pen2DCache(i),r.penCacheForMajorTickLines=new V.Pen2DCache(i),r.penCacheForMinorTickLines=new V.Pen2DCache(i),r.solidBrushCacheAxisBands=new z.SolidBrushCache(i),r.solidBrushCacheAxisBackground=new z.SolidBrushCache(i),r.axisRenderer=r.createAxisRender(),r.axisRenderer.keepLabelsWithinAxis=(t=e==null?void 0:e.keepLabelsWithinAxis)!==null&&t!==void 0?t:r.axisRenderer.keepLabelsWithinAxis,r.axisRenderer.hideOverlappingLabels=(n=e==null?void 0:e.hideOverlappingLabels)!==null&&n!==void 0?n:r.axisRenderer.hideOverlappingLabels,r.axisRenderer.axisThickness=(o=e==null?void 0:e.axisThickness)!==null&&o!==void 0?o:r.axisRenderer.axisThickness,r.axisTitleRenderer=new ve.AxisTitleRenderer(i),r.axisTitleRenderer.useNativeText=(d=e==null?void 0:e.useNativeText)!==null&&d!==void 0?d:r.axisTitleRenderer.useNativeText,r.isStaticAxis=(l=e==null?void 0:e.isStaticAxis)!==null&&l!==void 0?l:r.isStaticAxisProperty,r.visibleRangeLimit=(c=m.NumberRange.hydrate(e==null?void 0:e.visibleRangeLimit))!==null&&c!==void 0?c:r.visibleRangeLimit,r.visibleRangeSizeLimit=(h=m.NumberRange.hydrate(e==null?void 0:e.visibleRangeSizeLimit))!==null&&h!==void 0?h:r.visibleRangeSizeLimit,r.zoomExtentsRange=e!=null&&e.zoomExtentsToInitialRange?r.visibleRange:m.NumberRange.hydrate(e==null?void 0:e.zoomExtentsRange),r.axisAlignment=(u=e==null?void 0:e.axisAlignment)!==null&&u!==void 0?u:r.axisAlignment,r.axisTitle=(v=e==null?void 0:e.axisTitle)!==null&&v!==void 0?v:r.axisTitle,r.labelStyle=r.getlabelStyleProxy(T(T({},r.labelStyle),e==null?void 0:e.labelStyle)),r.axisBorder=e==null?void 0:e.axisBorder,r.isInnerAxis=(f=e==null?void 0:e.isInnerAxis)!==null&&f!==void 0?f:r.isInnerAxis,r.stackedAxisLength=(P=e==null?void 0:e.stackedAxisLength)!==null&&P!==void 0?P:r.stackedAxisLength,r.solidBrushCacheBorder=new z.SolidBrushCache(i),e!=null&&e.labelProvider&&("getLabels"in(e==null?void 0:e.labelProvider)||(e.labelProvider=(0,re.createType)(ne.EBaseType.LabelProvider,e.labelProvider.type,i,e.labelProvider.options))),r.autoRangeAnimationProperty=e==null?void 0:e.autoRangeAnimation,r.backgroundColor=(A=e==null?void 0:e.backgroundColor)!==null&&A!==void 0?A:r.backgroundColor,r.offsetOverrideProperty=e==null?void 0:e.overrideOffset,r.clipToXRangeProperty=(R=e==null?void 0:e.clipToXRange)!==null&&R!==void 0?R:r.clipToXRange,r}return Object.defineProperty(a.prototype,"labelProvider",{get:function(){return this.labelProviderProperty},set:function(i){var e;(e=this.labelProviderProperty)===null||e===void 0||e.detachedFromAxis(),this.labelProviderProperty=i,this.notifyPropertyChanged(p.PROPERTY.LABEL_PROVIDER)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisRenderer",{get:function(){return this.axisRendererProperty},set:function(i){this.axisRendererProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_RENDERER)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isHorizontalAxis",{get:function(){return(0,_.getIsHorizontal)(this.axisAlignment)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isAxisFlipped",{get:function(){return!this.isXAxis},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisAlignment",{get:function(){return this.axisAlignmentProperty},set:function(i){this.axisAlignmentProperty!==i&&(this.axisAlignmentProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_ALIGNMENT))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleRangeLimit",{get:function(){return this.visibleRangeLimitProperty},set:function(i){m.NumberRange.areEqual(this.visibleRangeLimitProperty,i)||(this.visibleRangeLimitProperty=i,this.notifyPropertyChanged(p.PROPERTY.VISIBLE_RANGE_LIMIT))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleRangeSizeLimit",{get:function(){return this.visibleRangeSizeLimitProperty},set:function(i){if(!m.NumberRange.areEqual(this.visibleRangeSizeLimitProperty,i)){if(i.min<0)throw Error("visibleRangeSizeLimit min value must be more or equal 0");if(i.min>=i.max)throw Error("visibleRangeSizeLimit min value must be less than max value");this.visibleRangeSizeLimitProperty=i,this.notifyPropertyChanged(p.PROPERTY.VISIBLE_RANGE_SIZE_LIMIT)}},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"zoomExtentsRange",{get:function(){return this.zoomExtentsRangeProperty},set:function(i){m.NumberRange.areEqual(this.zoomExtentsRangeProperty,i)||(this.zoomExtentsRangeProperty=i,this.notifyPropertyChanged(p.PROPERTY.ZOOMEXTENTS_RANGE))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isInnerAxis",{get:function(){return this.isInnerAxisProperty},set:function(i){this.isInnerAxisProperty!==i&&(this.isInnerAxisProperty=i,this.notifyPropertyChanged(p.PROPERTY.IS_INNER_AXIS))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isPrimaryAxis",{get:function(){return this.isPrimaryAxisProperty},set:function(i){var e=this;if(this.isPrimaryAxisProperty!==i&&(this.isPrimaryAxisProperty=i,this.notifyPropertyChanged(p.PROPERTY.IS_PRIMARY_AXIS)),i&&!this.isStackedAxis){var r=this.isXAxis?this.parentSurface.xAxes:this.parentSurface.yAxes;r.asArray().forEach(function(t){t!==e&&!t.isStackedAxis&&(t.isPrimaryAxis=!1)})}},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isStackedAxis",{get:function(){var i=this.parentSurface.layoutManager.getAxisLayoutStrategy(this);return i.isStacked},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"backgroundColor",{get:function(){return this.backgroundColorProperty},set:function(i){this.backgroundColorProperty=i,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"stackedAxisLength",{get:function(){return this.stackedAxisLengthProperty},set:function(i){this.stackedAxisLengthProperty!==i&&(this.stackedAxisLengthProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_LENGTH))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisLength",{get:function(){var i,e,r=this.parentSurface.seriesViewRect;if(!r)return(i=this.axisLengthProperty)!==null&&i!==void 0?i:0;var t=this.isHorizontalAxis?r.width:r.height;return(e=this.axisLengthProperty)!==null&&e!==void 0?e:t},set:function(i){this.axisLengthProperty!==i&&(this.axisLengthProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_LENGTH))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"offset",{get:function(){var i;return(i=this.offsetOverrideProperty)!==null&&i!==void 0?i:this.offsetProperty},set:function(i){this.offsetProperty!==i&&(this.offsetProperty=i,this.offsetOverrideProperty===void 0&&(this.clearCoordCalcCache(),this.notifyPropertyChanged(p.PROPERTY.OFFSET)))},enumerable:!1,configurable:!0}),a.prototype.overrideOffset=function(i){this.offsetOverrideProperty!==i&&(this.offsetOverrideProperty=i,this.clearCoordCalcCache(),this.notifyPropertyChanged(p.PROPERTY.OFFSET))},Object.defineProperty(a.prototype,"isVerticalChart",{get:function(){return this.isXAxis?!![_.EAxisAlignment.Left,_.EAxisAlignment.Right].includes(this.axisAlignment):!![_.EAxisAlignment.Top,_.EAxisAlignment.Bottom].includes(this.axisAlignment)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dpiAdjustedLabelStyle",{get:function(){return this.dpiAdjustedLabelStyleCache||(this.dpiAdjustedLabelStyleCache=G.DpiHelper.adjustTextStyle(this.labelStyleProperty)),this.dpiAdjustedLabelStyleCache},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelStyle",{get:function(){return this.labelStyleProperty},set:function(i){var e=T(T({},this.labelStyle),i);this.labelStyleProperty=this.getlabelStyleProxy(e),this.notifyPropertyChanged(p.PROPERTY.TEXT_STYLE),this.dpiAdjustedLabelStyleCache=void 0},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisBorder",{get:function(){return this.axisBorderProperty},set:function(i){var e,r,t,n,o,d,l,c,h,u;this.axisBorder.borderTop=(r=(e=i==null?void 0:i.borderTop)!==null&&e!==void 0?e:i==null?void 0:i.border)!==null&&r!==void 0?r:this.axisBorder.borderTop,this.axisBorder.borderLeft=(n=(t=i==null?void 0:i.borderLeft)!==null&&t!==void 0?t:i==null?void 0:i.border)!==null&&n!==void 0?n:this.axisBorder.borderLeft,this.axisBorder.borderBottom=(d=(o=i==null?void 0:i.borderBottom)!==null&&o!==void 0?o:i==null?void 0:i.border)!==null&&d!==void 0?d:this.axisBorder.borderBottom,this.axisBorder.borderRight=(c=(l=i==null?void 0:i.borderRight)!==null&&l!==void 0?l:i==null?void 0:i.border)!==null&&c!==void 0?c:this.axisBorder.borderRight,this.axisBorder.border=(h=i==null?void 0:i.border)!==null&&h!==void 0?h:this.axisBorder.border,this.axisBorder.color=(u=i==null?void 0:i.color)!==null&&u!==void 0?u:this.axisBorder.color,this.notifyPropertyChanged(p.PROPERTY.BORDER)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"autoRangeAnimation",{get:function(){return this.autoRangeAnimationProperty},set:function(i){this.autoRangeAnimationProperty=T(T({},this.autoRangeAnimation),i)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"clipToXRange",{get:function(){return this.clipToXRangeProperty},set:function(i){this.clipToXRangeProperty!==i&&(this.clipToXRangeProperty=i,this.notifyPropertyChanged(p.PROPERTY.DRAW_ONLY_WITHIN_XRANGE))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isStaticAxis",{get:function(){return this.isStaticAxisProperty},set:function(i){this.isStaticAxisProperty=i,i?this.tickCoordinatesProvider=new de.StaticTickCoordinatesProvider:this.tickCoordinatesProvider=new le.DefaultTickCoordinatesProvider},enumerable:!1,configurable:!0}),a.prototype.applyTheme=function(i){var e=this.parentSurface.previousThemeProvider;this.axisBandsFill===e.axisBandsFill&&(this.axisBandsFill=i.axisBandsFill),this.labelStyle.color===e.tickTextBrush&&(this.labelStyle={color:i.tickTextBrush}),this.minorGridLineStyle.color===e.minorGridLineBrush&&(this.minorGridLineStyle={color:i.minorGridLineBrush}),this.majorGridLineStyle.color===e.majorGridLineBrush&&(this.majorGridLineStyle={color:i.majorGridLineBrush}),this.minorTickLineStyle.color===e.minorGridLineBrush&&(this.minorTickLineStyle={color:i.minorGridLineBrush}),this.majorTickLineStyle.color===e.majorGridLineBrush&&(this.majorTickLineStyle={color:i.majorGridLineBrush}),this.axisTitleStyle.color===e.axisTitleColor&&(this.axisTitleStyle={color:i.axisTitleColor})},a.prototype.setParentSurface=function(i){this.parentSurface=i,this.axisTitleRenderer.parentSurface=i},a.prototype.onAttach=function(i,e,r){this.setParentSurface(i),this.setIsXAxis(e),this.isPrimaryAxisProperty=r},a.prototype.onDetach=function(){this.removeLinksToAxis(),this.parentSurface=void 0,this.isPrimaryAxisProperty=!1,this.invalidateParentCallback=void 0},a.prototype.measure=function(){if(this.isVisible){var i=this.getTicks(!0).majorTickLabels,e=this.drawMinorTickLines||this.drawMajorTickLines;q.DebugForDpi&&console.log("Measure. fontSize: ".concat(this.labelStyle.fontSize,", dpiAdjusted: ").concat(this.dpiAdjustedLabelStyle.fontSize)),this.axisRenderer.measure(this.isHorizontalAxis,this.dpiAdjustedLabelStyle,i,this.getTicksMaxSize(),this.labelProvider,this.drawLabels,e),this.axisTitleRenderer.measure(this.axisTitle,this.dpiAdjustedAxisTitleStyle,this.axisAlignment)}else this.axisRenderer.desiredHeight=0,this.axisRenderer.desiredWidth=0,this.axisTitleRenderer.desiredHeight=0,this.axisTitleRenderer.desiredWidth=0;this.isMeasured=!0},a.prototype.onDpiChanged=function(){this.dpiAdjustedLabelStyleCache=void 0},a.prototype.prepareRenderData=function(){this.getCurrentCoordinateCalculator()},a.prototype.getCurrentCoordinateCalculator=function(){var i=y.prototype.getCurrentCoordinateCalculator.call(this);return i},a.prototype.draw=function(i){var e=this,r,t,n;if(this.getIsValidForDrawing()){var o=this.parentSurface.clipRect,d=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.AxisBordersLayer);this.isPolarAxis||i.enqueueLayeredDraw(function(){var b,S,C,w=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBorderStart,{contextId:e.id,parentContextId:(b=e.parentSurface)===null||b===void 0?void 0:b.id,level:s.EPerformanceDebugLevel.Verbose});(0,ce.drawBorder)(i,e.webAssemblyContext2D,e.solidBrushCacheBorder,e.viewRect,o,e.axisBorder.borderLeft||e.axisBorder.border,e.axisBorder.borderTop||e.axisBorder.border,e.axisBorder.borderRight||e.axisBorder.border,e.axisBorder.borderBottom||e.axisBorder.border,e.axisBorder.color),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBorderEnd,{contextId:e.id,parentContextId:(S=e.parentSurface)===null||S===void 0?void 0:S.id,relatedId:(C=w==null?void 0:w.detail)===null||C===void 0?void 0:C.relatedId,level:s.EPerformanceDebugLevel.Verbose})},d);var l=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.GetTicksStart,{contextId:this.id,parentContextId:(r=this.parentSurface)===null||r===void 0?void 0:r.id,level:s.EPerformanceDebugLevel.Verbose}),c=this.getTicksWithCoords();s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.GetTicksEnd,{contextId:this.id,parentContextId:(t=this.parentSurface)===null||t===void 0?void 0:t.id,relatedId:(n=l==null?void 0:l.detail)===null||n===void 0?void 0:n.relatedId,level:s.EPerformanceDebugLevel.Verbose});var h=this.minorGridLineStyle,u=this.majorGridLineStyle,v=this.minorTickLineStyle,f=this.majorTickLineStyle,P=this.getPenForLines(this.penCacheForMinorGridLines,h.color,h.strokeThickness,h.strokeDashArray),A=this.getPenForLines(this.penCacheForMajorGridLines,u.color,u.strokeThickness,u.strokeDashArray),R=this.getPenForLines(this.penCacheForMinorTickLines,v.color,v.strokeThickness),g=this.getPenForLines(this.penCacheForMajorTickLines,f.color,f.strokeThickness);this.isPrimaryAxis&&this.drawAxisBandsAndGridLines(i,c,P,A);var k=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.AxesLayer);i.enqueueLayeredDraw(function(){var b,S,C,w,X,N,F,H,Y,W,Z,U;if(e.backgroundColorProperty){var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBackgroundStart,{contextId:e.id,parentContextId:(b=e.parentSurface)===null||b===void 0?void 0:b.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.viewRect,e.axisTitleRenderer.viewRect;var ye=e.solidBrushCacheAxisBackground.newBrush(e.backgroundColorProperty,!1),J=void 0;if(J=(0,O.createNativeRect)(e.webAssemblyContext2D,0,0,e.viewRect.width,e.viewRect.height),J){var $=(0,j.getVectorRectVertex)(e.webAssemblyContext2D);$.push_back(J),i.drawRects($,ye,o,e.viewRect.x,e.viewRect.y)}s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBackgroundEnd,{contextId:e.id,parentContextId:(S=e.parentSurface)===null||S===void 0?void 0:S.id,relatedId:(C=x==null?void 0:x.detail)===null||C===void 0?void 0:C.relatedId,level:s.EPerformanceDebugLevel.Verbose})}if(e.drawLabels){q.DebugForDpi&&console.log("Draw. fontSize: ".concat(e.labelStyle.fontSize,", dpiAdjusted: ").concat(e.dpiAdjustedLabelStyle.fontSize));var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisLabelsStart,{contextId:e.id,parentContextId:(w=e.parentSurface)===null||w===void 0?void 0:w.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.drawLabels(i,e.axisAlignment,e.isInnerAxis,c.majorTickLabels,c.majorTickCoords,e.offset,e.dpiAdjustedLabelStyle,e.isVerticalChart,e.flippedCoordinates,e.labelProvider),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisLabelsEnd,{contextId:e.id,parentContextId:(X=e.parentSurface)===null||X===void 0?void 0:X.id,relatedId:(N=x==null?void 0:x.detail)===null||N===void 0?void 0:N.relatedId,level:s.EPerformanceDebugLevel.Verbose})}if(e.drawMinorTickLines){var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorTicksStart,{contextId:e.id,parentContextId:(F=e.parentSurface)===null||F===void 0?void 0:F.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.drawTicks(i,e.axisAlignment,e.isInnerAxis,c.minorTickCoords,e.offset,R,v),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorTicksEnd,{contextId:e.id,parentContextId:(H=e.parentSurface)===null||H===void 0?void 0:H.id,relatedId:(Y=x==null?void 0:x.detail)===null||Y===void 0?void 0:Y.relatedId,level:s.EPerformanceDebugLevel.Verbose})}if(e.drawMajorTickLines){var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorTicksStart,{contextId:e.id,parentContextId:(W=e.parentSurface)===null||W===void 0?void 0:W.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.drawTicks(i,e.axisAlignment,e.isInnerAxis,c.majorTickCoords,e.offset,g,f),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorTicksEnd,{contextId:e.id,parentContextId:(Z=e.parentSurface)===null||Z===void 0?void 0:Z.id,relatedId:(U=x==null?void 0:x.detail)===null||U===void 0?void 0:U.relatedId,level:s.EPerformanceDebugLevel.Verbose})}e.axisTitleRenderer.draw(i),e.labelProvider.useNativeText&&e.parentSurface.renderNativeAxisLabelsImmediately&&(i.getNativeContext(),i.EnsureContextTransform(0,0,o),i.endFonts(!0))},k)}},a.prototype.drawDebug=function(i){var e=this;this.axisRenderer.drawDebug=!0;var r=this.parentSurface.chartViewRect,t=function(){var o=e.axisRenderer.viewRect,d=(0,j.getVectorRectVertex)(e.webAssemblyContext2D),l=new e.webAssemblyContext2D.SCRTSolidBrush((0,Q.parseColorToUIntArgb)("rgba(255,0,0,0.7)"),!1),c=(0,O.createNativeRect)(e.webAssemblyContext2D,0,0,o.width,o.height);d.push_back(c),i.drawRects(d,l,r,o.left,o.top),l.delete()};t();var n=function(){var o=e.axisTitleRenderer.viewRect,d=(0,j.getVectorRectVertex)(e.webAssemblyContext2D),l=new e.webAssemblyContext2D.SCRTSolidBrush((0,Q.parseColorToUIntArgb)("rgba(0,255,0,0.7)"),!1),c=(0,O.createNativeRect)(e.webAssemblyContext2D,0,0,o.width,o.height);d.push_back(c),i.drawRects(d,l,r,o.left,o.top),l.delete()};n()},a.prototype.getDefaultNonZeroRange=function(){return new m.NumberRange(0,10)},a.prototype.getMaximumRange=function(){if(this.zoomExtentsRange)return this.zoomExtentsRange;var i;this.parentSurface&&this.parentSurface.renderableSeries.size()>0&&(i=this.isXAxis?this.getMaxXRange():this.getWindowedYRange(void 0));var e=this.visibleRange||this.getDefaultNonZeroRange();return i||e},a.prototype.getWindowedYRange=function(i){var e=this;if(this.zoomExtentsRange)return this.zoomExtentsRange;var r;return this.parentSurface&&this.getVisibleRenderableSeriesByYAxis().forEach(function(t){var n=t.xAxisId,o=i!=null&&i.containsKey(n)?i.item(n):e.getXVisibleRange(n),d=e.getIsXCategoryAxis(n);if(o){var l=t.getYRange(o,d);l&&(r=r?r.union(l):l)}}),r!=null&&r.isZero()&&(r=this.coerceZeroVisibleRange(r)),this.growBy&&r&&(r=r.growBy(this.growBy)),r=this.applyVisibleRangeLimit(r),r=this.applyVisibleRangeSizeLimit(r),r||new m.NumberRange},a.prototype.scroll=function(i,e){var r=this.visibleRange;if(r===void 0)return!1;var t=this.getCurrentCoordinateCalculator().translateBy(i,r);if(this.visibleRangeLimit){var n=0;t.min<this.visibleRangeLimit.min?n=this.visibleRangeLimit.min-t.min:this.visibleRangeLimit.max<t.max&&(n=this.visibleRangeLimit.max-t.max),n&&(t=new m.NumberRange(t.min+n,t.max+n))}return this.visibleRange=this.applyVisibleRangeSizeLimit(t),!0},a.prototype.setVisibleRangeWithLimits=function(i){var e=this.applyVisibleRangeLimit(i);this.visibleRange=this.applyVisibleRangeSizeLimit(e)},a.prototype.zoomBy=function(i,e){var r=this.getCurrentCoordinateCalculator(),t=r.zoomTranslateBy(i,e,this.visibleRange);if(!(t.max<t.min)){var n=this.applyVisibleRangeLimit(t);this.visibleRange=this.applyVisibleRangeSizeLimit(n)}},a.prototype.zoom=function(i,e,r,t){r===void 0&&(r=0),t===void 0&&(t=K.easing.outExpo);var n=this.getCurrentCoordinateCalculator(),o=n.getDataValue(i),d=n.getDataValue(e),l=o<d?o:d,c=o<d?d:o,h=this.applyVisibleRangeLimit(new m.NumberRange(l,c)),u=this.applyVisibleRangeSizeLimit(h);this.animateVisibleRange(u,r,t)},a.prototype.scale=function(i,e,r){var t=i.max-i.min,n,o,d=this.flippedCoordinates?!r:r,l=this.flippedCoordinates?-e:e;d?(n=i.min,o=l>0?n+t/(1+l):n+t*(1+Math.abs(l))):(o=i.max,n=l>0?o-t*(1+l):o-t/(1+Math.abs(l)));var c=this.applyVisibleRangeLimit(new m.NumberRange(n,o));this.visibleRange=this.applyVisibleRangeSizeLimit(c)},a.prototype.animateVisibleRange=function(i,e,r,t){var n=this,o;if(r===void 0&&(r=K.easing.outCubic),t===void 0&&(t=function(){}),e<=0){this.visibleRange=i||this.visibleRange,t();return}return(o=this.visibleRangeAnimationToken)===null||o===void 0||o.cancel(),this.visibleRangeAnimationToken=te.NumberRangeAnimator.animate(this.visibleRange,i,e,function(d){n.visibleRange=d},function(){n.visibleRangeAnimationToken=void 0,t()},r),this.parentSurface.addAnimation(this.visibleRangeAnimationToken),this.visibleRangeAnimationToken},a.prototype.getVisibleRenderableSeriesByXAxis=function(){var i=this;return this.parentSurface?this.parentSurface.renderableSeries.asArray().filter(function(e){return e.xAxis===i&&e.isVisible&&e.hasDataSeriesValues()}):[]},a.prototype.getVisibleRenderableSeriesByYAxis=function(){var i=this;if(!this.parentSurface)return[];var e=this.parentSurface.renderableSeries.asArray();return e.filter(function(r){return r.linkAxes(),r.yAxis===i&&r.isVisible&&r.hasDataSeriesValues()})},a.prototype.delete=function(){this.penCacheForMajorGridLines=(0,L.deleteSafe)(this.penCacheForMajorGridLines),this.penCacheForMinorGridLines=(0,L.deleteSafe)(this.penCacheForMinorGridLines),this.penCacheForMajorTickLines=(0,L.deleteSafe)(this.penCacheForMajorTickLines),this.penCacheForMinorTickLines=(0,L.deleteSafe)(this.penCacheForMinorTickLines),this.solidBrushCacheBorder=(0,L.deleteSafe)(this.solidBrushCacheBorder),this.solidBrushCacheAxisBands=(0,L.deleteSafe)(this.solidBrushCacheAxisBands),this.solidBrushCacheAxisBackground=(0,L.deleteSafe)(this.solidBrushCacheAxisBackground),this.axisRendererProperty=(0,L.deleteSafe)(this.axisRenderer),this.axisTitleRenderer=(0,L.deleteSafe)(this.axisTitleRenderer),this.webAssemblyContext2D=void 0,this.parentSurface=void 0,y.prototype.delete.call(this)},a.prototype.toJSON=function(){var i={autoRange:this.autoRange,autoTicks:this.autoTicks,axisAlignment:this.axisAlignment,axisBandsFill:this.axisBandsFill,axisBorder:this.axisBorder,axisTitle:this.axisTitle,axisTitleStyle:this.axisTitleStyle,drawLabels:this.drawLabels,drawMajorBands:this.drawMajorBands,drawMajorGridLines:this.drawMajorGridLines,drawMajorTickLines:this.drawMajorTickLines,drawMinorGridLines:this.drawMinorGridLines,drawMinorTickLines:this.drawMinorTickLines,flippedCoordinates:this.flippedCoordinates,growBy:this.growBy,id:this.id,isInnerAxis:this.isInnerAxis,isVisible:this.isVisible,labelStyle:this.labelStyle,majorGridLineStyle:this.majorGridLineStyle,majorTickLineStyle:this.majorTickLineStyle,maxAutoTicks:this.maxAutoTicks,minorGridLineStyle:this.minorGridLineStyle,minorTickLineStyle:this.minorTickLineStyle,visibleRange:this.hasDefaultVisibleRange()?void 0:this.visibleRange,visibleRangeLimit:this.visibleRangeLimit,zoomExtentsRange:this.zoomExtentsRange,minorsPerMajor:this.minorsPerMajor,majorDelta:this.majorDelta,minorDelta:this.minorDelta,labelProvider:this.labelProvider.toJSON(),keepLabelsWithinAxis:this.axisRenderer.keepLabelsWithinAxis,clipToXRange:this.clipToXRange,isStaticAxis:this.isStaticAxis};return{type:this.type,options:i}},a.prototype.createAxisRender=function(){return new fe.AxisRenderer(this.webAssemblyContext2D)},a.prototype.getTicksMaxSize=function(){var i,e,r=!((i=this.majorTickLineStyle)===null||i===void 0)&&i.tickSize?this.majorTickLineStyle.tickSize*G.DpiHelper.PIXEL_RATIO:0,t=!((e=this.minorTickLineStyle)===null||e===void 0)&&e.tickSize?this.minorTickLineStyle.tickSize*G.DpiHelper.PIXEL_RATIO:0;return Math.max(r,t)},a.prototype.getIsValidForDrawing=function(){return this.isVisible},a.prototype.drawAxisBandsAndGridLines=function(i,e,r,t){var n=this;if(this.drawMajorBands){var o=this.solidBrushCacheAxisBands.newBrush(this.axisBandsFill,!0),d=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.AxisBandsLayer);i.enqueueLayeredDraw(function(){var h,u,v,f=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBandsStart,{contextId:n.id,parentContextId:(h=n.parentSurface)===null||h===void 0?void 0:h.id,level:s.EPerformanceDebugLevel.Verbose});n.drawAxisBands(i,e.majorTicks,e.majorTickCoords,o),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBandsEnd,{contextId:n.id,parentContextId:(u=n.parentSurface)===null||u===void 0?void 0:u.id,relatedId:(v=f==null?void 0:f.detail)===null||v===void 0?void 0:v.relatedId,level:s.EPerformanceDebugLevel.Verbose})},d)}if(this.drawMinorGridLines){var l=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.MinorGridLinesLayer);i.enqueueLayeredDraw(function(){var h,u,v,f=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorGridLinesStart,{contextId:n.id,parentContextId:(h=n.parentSurface)===null||h===void 0?void 0:h.id,level:s.EPerformanceDebugLevel.Verbose});n.drawGridLines(i,e.minorTickCoords,r,!1),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorGridLinesEnd,{contextId:n.id,parentContextId:(u=n.parentSurface)===null||u===void 0?void 0:u.id,relatedId:(v=f==null?void 0:f.detail)===null||v===void 0?void 0:v.relatedId,level:s.EPerformanceDebugLevel.Verbose})},l)}if(this.drawMajorGridLines){var c=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.MajorGridLinesLayer);i.enqueueLayeredDraw(function(){var h,u,v,f=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorGridLinesStart,{contextId:n.id,parentContextId:(h=n.parentSurface)===null||h===void 0?void 0:h.id,level:s.EPerformanceDebugLevel.Verbose});n.drawGridLines(i,e.majorTickCoords,t,!0),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorGridLinesEnd,{contextId:n.id,parentContextId:(u=n.parentSurface)===null||u===void 0?void 0:u.id,relatedId:(v=f==null?void 0:f.detail)===null||v===void 0?void 0:v.relatedId,level:s.EPerformanceDebugLevel.Verbose})},c)}},a.prototype.drawAxisBands=function(i,e,r,t){var n=this;if(!(!e||e.length===0)){var o=this.parentSurface.seriesViewRect,d=this.isHorizontalAxis?B.EXyDirection.XDirection:B.EXyDirection.YDirection,l=this.offset,c=this.axisLength+this.offset,h=this.isAxisFlipped!==this.flippedCoordinates;if(h){var u=c;c=l,l=u}var v=this.getMajorTickIndex(e[0]),f=v%2===0,P=(0,j.getVectorRectVertex)(this.webAssemblyContext2D),A=function(R,g,k){if(k){var b=(0,O.createNativeRect)(n.webAssemblyContext2D,d===B.EXyDirection.YDirection?0:R,d===B.EXyDirection.YDirection?R:0,d===B.EXyDirection.YDirection?o.width:g,d===B.EXyDirection.YDirection?g:o.height);P.push_back(b)}};e.forEach(function(R,g){var k=g===0?l:r[g-1],b=r[g];A(k,b,f),f=!f}),A(c,r[e.length-1],f),i.drawRects(P,t,this.parentSurface.clipRect,o.left,o.top)}},a.prototype.drawGridLines=function(i,e,r,t){var n=this;if(!(!e||e.length===0)){var o=this.parentSurface.seriesViewRect,d=(0,j.getVectorColorVertex)(this.webAssemblyContext2D),l=(0,j.getVertex)(this.webAssemblyContext2D,0,0);e.forEach(function(c){var h=n.isHorizontalAxis?c:0,u=n.isHorizontalAxis?c:o.width,v=n.isHorizontalAxis?0:c,f=n.isHorizontalAxis?o.height:c;l.SetPosition(h,v),d.push_back(l),l.SetPosition(u,f),d.push_back(l)}),i.drawLinesNative(d,r,I.ELineDrawMode.DiscontinuousLine,this.parentSurface.clipRect,o.left,o.top)}},a.prototype.getXVisibleRange=function(i){return this.parentSurface.getXAxisById(i).visibleRange},a.prototype.getIsXCategoryAxis=function(i){return this.parentSurface.getXAxisById(i).isCategoryAxis},a.prototype.getLabels=function(i){return this.labelProvider.getLabels(i)},a.prototype.getXDataRange=function(){var i;return this.parentSurface&&this.getVisibleRenderableSeriesByXAxis().forEach(function(e){var r=e.getXRange();r&&(i=i?i.union(r):r)}),i},a.prototype.notifyPropertyChanged=function(i){i===p.PROPERTY.IS_XAXIS&&this.axisAlignmentProperty===void 0&&(this.axisAlignmentProperty=this.isXAxisProperty?_.EAxisAlignment.Bottom:_.EAxisAlignment.Right),i===p.PROPERTY.AXIS_RENDERER&&this.axisRendererProperty.attachedToAxis(this),y.prototype.notifyPropertyChanged.call(this,i)},a.prototype.getMaxXRange=function(){var i=this.getXDataRange();if(i)return this.growBy&&(i=i.growBy(this.growBy)),i=this.applyVisibleRangeLimit(i??this.visibleRange),i=this.applyVisibleRangeSizeLimit(i),i},a.prototype.removeLinksToAxis=function(){var i=this,e=this.parentSurface;e&&(this.isXAxis?(e.renderableSeries.asArray().forEach(function(r){r.xAxisId===i.id&&(r.xAxisId=void 0)}),e.annotations.asArray().forEach(function(r){r.xAxisId===i.id&&(r.xAxisId=void 0)}),e.chartModifiers.asArray().forEach(function(r){var t=r;t.xAxisId===i.id&&(t.xAxisId=void 0),t.includedXAxes.removeId(i.id)})):(e.renderableSeries.asArray().forEach(function(r){r.yAxisId===i.id&&(r.yAxisId=void 0)}),e.annotations.asArray().forEach(function(r){r.yAxisId===i.id&&(r.yAxisId=void 0)}),e.chartModifiers.asArray().forEach(function(r){var t=r;t.yAxisId===i.id&&(t.yAxisId=void 0),t.includedYAxes.removeId(i.id)})))},a.prototype.getAxisSize=function(){return this.axisLength},a.prototype.getMajorTickIndex=function(i){var e=this.majorDeltaProperty,r=i/e;return Math.round(r)},a.prototype.getTicks=function(i){var e,r;if(i||!this.tickCache){var t=this.getMaxAutoTicks();if(this.autoTicks){var n=this.deltaCalculator.getDeltaFromRange(this.visibleRange.min,this.visibleRange.max,this.minorsPerMajor,t);this.minorDeltaProperty=n.min,this.majorDeltaProperty=n.max}var o=this.tickCoordinatesProvider.getTickCoordinates(void 0,void 0),d=o.majorTickCoords,l=o.minorTickCoords,c=o.majorTickOverrides,h=o.minorTickOverRides,u=this.drawLabels||this.drawMajorGridLines||this.drawMajorTickLines?c??this.tickProvider.getMajorTicks((e=this.minorDeltaProperty)!==null&&e!==void 0?e:this.majorDeltaProperty/this.minorsPerMajor,this.majorDeltaProperty,this.visibleRange):[],v=this.drawMinorGridLines||this.drawMinorTickLines?h??this.tickProvider.getMinorTicks((r=this.minorDeltaProperty)!==null&&r!==void 0?r:this.majorDeltaProperty/this.minorsPerMajor,this.majorDeltaProperty,this.visibleRange):[],f=this.visibleRange,P=f.min,A=f.max;u=u.filter(function(g){return g>=P&&g<=A}),v=v.filter(function(g){return g>=P&&g<=A});var R=[];u.length>1e3&&this.drawLabels?console.warn("Axis settings result in more than 1000 labels. Label drawing is disabled. If using autoTicks: false, check that you have set sensible deltas."):R=this.drawLabels?this.getLabels(u):[],this.tickCache={majorTicks:u,majorTickLabels:R,majorTickCoords:d,minorTicks:v,minorTickCoords:l}}return this.tickCache},a.prototype.getTicksWithCoords=function(){if(this.tickCache||this.getTicks(!0),this.tickCache.majorTickCoords===void 0){var i=this.tickCoordinatesProvider.getTickCoordinates(this.tickCache.majorTicks,this.tickCache.minorTicks),e=i.majorTickCoords,r=i.minorTickCoords;this.tickCache.majorTickCoords=e,this.tickCache.minorTickCoords=r}return this.tickCache},a.prototype.getPenForLines=function(i,e,r,t){return(0,V.createPenInCache)(i,e,r,1,t,!1)},a.prototype.applyVisibleRangeLimit=function(i){if(i){if(!this.visibleRangeLimit)return i;var e=i.clip(this.visibleRangeLimit);return e.min>=e.max?(console.warn("Can not apply visibleRangeLimit for the ".concat(this.isXAxis?"xAxis":"yAxis"," with ID ").concat(this.id)),i):e}},a.prototype.applyVisibleRangeSizeLimit=function(i){if(i){var e=Math.abs(i.min)/Math.pow(10,14),r=i.diff;if(r<e){var t=i.min+r/2;return new m.NumberRange(t-e/2,t+e/2)}if(!this.visibleRangeSizeLimit)return i;if(r<0)return console.warn("Can not apply visibleRangeSizeLimit for the ".concat(this.isXAxis?"xAxis":"yAxis"," with ID ").concat(this.id)),i;var n=i,o=this.visibleRangeSizeLimit,d=o.min,l=o.max,t=i.min+r/2;return r<d?n=new m.NumberRange(t-d/2,t+d/2):r>l&&(n=new m.NumberRange(t-l/2,t+l/2)),n}},a})(ue.AxisCore);E.AxisBase2D=pe})(D.__exports)),D.__exports}exports.__require=Ye;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const D=require("./petal-toolkit.cjs908.js"),ge=require("./petal-toolkit.cjs73.js"),xe=require("./petal-toolkit.cjs576.js"),me=require("./petal-toolkit.cjs578.js"),be=require("./petal-toolkit.cjs555.js"),Re=require("./petal-toolkit.cjs562.js"),Pe=require("./petal-toolkit.cjs571.js"),Ae=require("./petal-toolkit.cjs586.js"),Le=require("./petal-toolkit.cjs588.js"),Se=require("./petal-toolkit.cjs597.js"),Te=require("./petal-toolkit.cjs604.js"),_e=require("./petal-toolkit.cjs634.js"),ke=require("./petal-toolkit.cjs648.js"),Ce=require("./petal-toolkit.cjs662.js"),we=require("./petal-toolkit.cjs663.js"),De=require("./petal-toolkit.cjs107.js"),Ee=require("./petal-toolkit.cjs872.js"),Be=require("./petal-toolkit.cjs111.js"),Ie=require("./petal-toolkit.cjs212.js"),je=require("./petal-toolkit.cjs214.js"),Me=require("./petal-toolkit.cjs307.js"),Ve=require("./petal-toolkit.cjs310.js"),Oe=require("./petal-toolkit.cjs313.js"),qe=require("./petal-toolkit.cjs241.js"),ze=require("./petal-toolkit.cjs492.js"),Ge=require("./petal-toolkit.cjs274.js"),Xe=require("./petal-toolkit.cjs275.js"),Ne=require("./petal-toolkit.cjs276.js"),Fe=require("./petal-toolkit.cjs277.js"),He=require("./petal-toolkit.cjs909.js");var ee;function Ye(){return ee||(ee=1,(function(E){var ie=D.__exports&&D.__exports.__extends||(function(){var y=function(a,i){return y=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])},y(a,i)};return function(a,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");y(a,i);function e(){this.constructor=a}a.prototype=i===null?Object.create(i):(e.prototype=i.prototype,new e)}})(),T=D.__exports&&D.__exports.__assign||function(){return T=Object.assign||function(y){for(var a,i=1,e=arguments.length;i<e;i++){a=arguments[i];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(y[r]=a[r])}return y},T.apply(this,arguments)};Object.defineProperty(E,"__esModule",{value:!0}),E.AxisBase2D=E.EClipMode=void 0;var re=ge.__require(),K=xe.__require(),te=me.__require(),L=be.__require(),m=Re.__require(),ae=Pe.__require(),_=Ae.__require(),ne=Le.__require(),M=Se.__require(),oe=Te.__require(),B=_e.__require(),se=ke.__require(),Q=Ce.__require(),s=we.__require(),V=De.__require(),z=Ee.__require(),I=Be.__require(),le=Ie.__require(),de=je.__require(),O=Me.__require(),ce=Ve.__require(),j=Oe.__require(),q=qe.__require(),G=ze.__require(),ue=Ge.__require(),he=Xe.__require(),fe=Ne.__require(),ve=Fe.__require(),p=He.__require();(function(y){y.None="None",y.StretchAtExtents="StretchAtExtents",y.ClipAtMin="ClipAtMin",y.ClipAtMax="ClipAtMax",y.ClipAtExtents="ClipAtExtents"})(E.EClipMode||(E.EClipMode={}));var pe=(function(y){ie(a,y);function a(i,e){var r=this,t,n,o,d,l,c,h,u,v,f,P,A,R;return r=y.call(this,e)||this,r.axisLayoutState=new he.AxisLayoutState,r.isPolarAxis=!1,r.getlabelStyleProxy=function(g){return new Proxy(g,{set:function(k,b,S){return k[b]=S,r.notifyPropertyChanged(p.PROPERTY.TEXT_STYLE),r.dpiAdjustedLabelStyleCache=void 0,!0}})},r.labelStyleProperty=r.getlabelStyleProxy({fontSize:14,fontFamily:se.DEFAULT_FONT_FAMILY,color:q.SciChartSurfaceBase.DEFAULT_THEME.tickTextBrush,fontWeight:"normal",fontStyle:"normal",padding:ae.Thickness.fromString("2 4 2 4"),alignment:oe.ELabelAlignment.Auto}),r.isInnerAxisProperty=!1,r.isPrimaryAxisProperty=!1,r.axisBorderProperty={borderBottom:0,borderLeft:0,borderRight:0,borderTop:0,color:q.SciChartSurfaceBase.DEFAULT_THEME.axisBorder,border:0},r.offsetProperty=0,r.offsetOverrideProperty=void 0,r.tickCache=void 0,r.clipToXRangeProperty=!0,r.isStaticAxisProperty=!1,r.webAssemblyContext2D=i,r.penCacheForMajorGridLines=new V.Pen2DCache(i),r.penCacheForMinorGridLines=new V.Pen2DCache(i),r.penCacheForMajorTickLines=new V.Pen2DCache(i),r.penCacheForMinorTickLines=new V.Pen2DCache(i),r.solidBrushCacheAxisBands=new z.SolidBrushCache(i),r.solidBrushCacheAxisBackground=new z.SolidBrushCache(i),r.axisRenderer=r.createAxisRender(),r.axisRenderer.keepLabelsWithinAxis=(t=e==null?void 0:e.keepLabelsWithinAxis)!==null&&t!==void 0?t:r.axisRenderer.keepLabelsWithinAxis,r.axisRenderer.hideOverlappingLabels=(n=e==null?void 0:e.hideOverlappingLabels)!==null&&n!==void 0?n:r.axisRenderer.hideOverlappingLabels,r.axisRenderer.axisThickness=(o=e==null?void 0:e.axisThickness)!==null&&o!==void 0?o:r.axisRenderer.axisThickness,r.axisTitleRenderer=new ve.AxisTitleRenderer(i),r.axisTitleRenderer.useNativeText=(d=e==null?void 0:e.useNativeText)!==null&&d!==void 0?d:r.axisTitleRenderer.useNativeText,r.isStaticAxis=(l=e==null?void 0:e.isStaticAxis)!==null&&l!==void 0?l:r.isStaticAxisProperty,r.visibleRangeLimit=(c=m.NumberRange.hydrate(e==null?void 0:e.visibleRangeLimit))!==null&&c!==void 0?c:r.visibleRangeLimit,r.visibleRangeSizeLimit=(h=m.NumberRange.hydrate(e==null?void 0:e.visibleRangeSizeLimit))!==null&&h!==void 0?h:r.visibleRangeSizeLimit,r.zoomExtentsRange=e!=null&&e.zoomExtentsToInitialRange?r.visibleRange:m.NumberRange.hydrate(e==null?void 0:e.zoomExtentsRange),r.axisAlignment=(u=e==null?void 0:e.axisAlignment)!==null&&u!==void 0?u:r.axisAlignment,r.axisTitle=(v=e==null?void 0:e.axisTitle)!==null&&v!==void 0?v:r.axisTitle,r.labelStyle=r.getlabelStyleProxy(T(T({},r.labelStyle),e==null?void 0:e.labelStyle)),r.axisBorder=e==null?void 0:e.axisBorder,r.isInnerAxis=(f=e==null?void 0:e.isInnerAxis)!==null&&f!==void 0?f:r.isInnerAxis,r.stackedAxisLength=(P=e==null?void 0:e.stackedAxisLength)!==null&&P!==void 0?P:r.stackedAxisLength,r.solidBrushCacheBorder=new z.SolidBrushCache(i),e!=null&&e.labelProvider&&("getLabels"in(e==null?void 0:e.labelProvider)||(e.labelProvider=(0,re.createType)(ne.EBaseType.LabelProvider,e.labelProvider.type,i,e.labelProvider.options))),r.autoRangeAnimationProperty=e==null?void 0:e.autoRangeAnimation,r.backgroundColor=(A=e==null?void 0:e.backgroundColor)!==null&&A!==void 0?A:r.backgroundColor,r.offsetOverrideProperty=e==null?void 0:e.overrideOffset,r.clipToXRangeProperty=(R=e==null?void 0:e.clipToXRange)!==null&&R!==void 0?R:r.clipToXRange,r}return Object.defineProperty(a.prototype,"labelProvider",{get:function(){return this.labelProviderProperty},set:function(i){var e;(e=this.labelProviderProperty)===null||e===void 0||e.detachedFromAxis(),this.labelProviderProperty=i,this.notifyPropertyChanged(p.PROPERTY.LABEL_PROVIDER)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisRenderer",{get:function(){return this.axisRendererProperty},set:function(i){this.axisRendererProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_RENDERER)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isHorizontalAxis",{get:function(){return(0,_.getIsHorizontal)(this.axisAlignment)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isAxisFlipped",{get:function(){return!this.isXAxis},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisAlignment",{get:function(){return this.axisAlignmentProperty},set:function(i){this.axisAlignmentProperty!==i&&(this.axisAlignmentProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_ALIGNMENT))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleRangeLimit",{get:function(){return this.visibleRangeLimitProperty},set:function(i){m.NumberRange.areEqual(this.visibleRangeLimitProperty,i)||(this.visibleRangeLimitProperty=i,this.notifyPropertyChanged(p.PROPERTY.VISIBLE_RANGE_LIMIT))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"visibleRangeSizeLimit",{get:function(){return this.visibleRangeSizeLimitProperty},set:function(i){if(!m.NumberRange.areEqual(this.visibleRangeSizeLimitProperty,i)){if(i.min<0)throw Error("visibleRangeSizeLimit min value must be more or equal 0");if(i.min>=i.max)throw Error("visibleRangeSizeLimit min value must be less than max value");this.visibleRangeSizeLimitProperty=i,this.notifyPropertyChanged(p.PROPERTY.VISIBLE_RANGE_SIZE_LIMIT)}},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"zoomExtentsRange",{get:function(){return this.zoomExtentsRangeProperty},set:function(i){m.NumberRange.areEqual(this.zoomExtentsRangeProperty,i)||(this.zoomExtentsRangeProperty=i,this.notifyPropertyChanged(p.PROPERTY.ZOOMEXTENTS_RANGE))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isInnerAxis",{get:function(){return this.isInnerAxisProperty},set:function(i){this.isInnerAxisProperty!==i&&(this.isInnerAxisProperty=i,this.notifyPropertyChanged(p.PROPERTY.IS_INNER_AXIS))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isPrimaryAxis",{get:function(){return this.isPrimaryAxisProperty},set:function(i){var e=this;if(this.isPrimaryAxisProperty!==i&&(this.isPrimaryAxisProperty=i,this.notifyPropertyChanged(p.PROPERTY.IS_PRIMARY_AXIS)),i&&!this.isStackedAxis){var r=this.isXAxis?this.parentSurface.xAxes:this.parentSurface.yAxes;r.asArray().forEach(function(t){t!==e&&!t.isStackedAxis&&(t.isPrimaryAxis=!1)})}},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isStackedAxis",{get:function(){var i=this.parentSurface.layoutManager.getAxisLayoutStrategy(this);return i.isStacked},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"backgroundColor",{get:function(){return this.backgroundColorProperty},set:function(i){this.backgroundColorProperty=i,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"stackedAxisLength",{get:function(){return this.stackedAxisLengthProperty},set:function(i){this.stackedAxisLengthProperty!==i&&(this.stackedAxisLengthProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_LENGTH))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisLength",{get:function(){var i,e,r=this.parentSurface.seriesViewRect;if(!r)return(i=this.axisLengthProperty)!==null&&i!==void 0?i:0;var t=this.isHorizontalAxis?r.width:r.height;return(e=this.axisLengthProperty)!==null&&e!==void 0?e:t},set:function(i){this.axisLengthProperty!==i&&(this.axisLengthProperty=i,this.notifyPropertyChanged(p.PROPERTY.AXIS_LENGTH))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"offset",{get:function(){var i;return(i=this.offsetOverrideProperty)!==null&&i!==void 0?i:this.offsetProperty},set:function(i){this.offsetProperty!==i&&(this.offsetProperty=i,this.offsetOverrideProperty===void 0&&(this.clearCoordCalcCache(),this.notifyPropertyChanged(p.PROPERTY.OFFSET)))},enumerable:!1,configurable:!0}),a.prototype.overrideOffset=function(i){this.offsetOverrideProperty!==i&&(this.offsetOverrideProperty=i,this.clearCoordCalcCache(),this.notifyPropertyChanged(p.PROPERTY.OFFSET))},Object.defineProperty(a.prototype,"isVerticalChart",{get:function(){return this.isXAxis?!![_.EAxisAlignment.Left,_.EAxisAlignment.Right].includes(this.axisAlignment):!![_.EAxisAlignment.Top,_.EAxisAlignment.Bottom].includes(this.axisAlignment)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dpiAdjustedLabelStyle",{get:function(){return this.dpiAdjustedLabelStyleCache||(this.dpiAdjustedLabelStyleCache=G.DpiHelper.adjustTextStyle(this.labelStyleProperty)),this.dpiAdjustedLabelStyleCache},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"labelStyle",{get:function(){return this.labelStyleProperty},set:function(i){var e=T(T({},this.labelStyle),i);this.labelStyleProperty=this.getlabelStyleProxy(e),this.notifyPropertyChanged(p.PROPERTY.TEXT_STYLE),this.dpiAdjustedLabelStyleCache=void 0},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisBorder",{get:function(){return this.axisBorderProperty},set:function(i){var e,r,t,n,o,d,l,c,h,u;this.axisBorder.borderTop=(r=(e=i==null?void 0:i.borderTop)!==null&&e!==void 0?e:i==null?void 0:i.border)!==null&&r!==void 0?r:this.axisBorder.borderTop,this.axisBorder.borderLeft=(n=(t=i==null?void 0:i.borderLeft)!==null&&t!==void 0?t:i==null?void 0:i.border)!==null&&n!==void 0?n:this.axisBorder.borderLeft,this.axisBorder.borderBottom=(d=(o=i==null?void 0:i.borderBottom)!==null&&o!==void 0?o:i==null?void 0:i.border)!==null&&d!==void 0?d:this.axisBorder.borderBottom,this.axisBorder.borderRight=(c=(l=i==null?void 0:i.borderRight)!==null&&l!==void 0?l:i==null?void 0:i.border)!==null&&c!==void 0?c:this.axisBorder.borderRight,this.axisBorder.border=(h=i==null?void 0:i.border)!==null&&h!==void 0?h:this.axisBorder.border,this.axisBorder.color=(u=i==null?void 0:i.color)!==null&&u!==void 0?u:this.axisBorder.color,this.notifyPropertyChanged(p.PROPERTY.BORDER)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"autoRangeAnimation",{get:function(){return this.autoRangeAnimationProperty},set:function(i){this.autoRangeAnimationProperty=T(T({},this.autoRangeAnimation),i)},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"clipToXRange",{get:function(){return this.clipToXRangeProperty},set:function(i){this.clipToXRangeProperty!==i&&(this.clipToXRangeProperty=i,this.notifyPropertyChanged(p.PROPERTY.DRAW_ONLY_WITHIN_XRANGE))},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"isStaticAxis",{get:function(){return this.isStaticAxisProperty},set:function(i){this.isStaticAxisProperty=i,i?this.tickCoordinatesProvider=new de.StaticTickCoordinatesProvider:this.tickCoordinatesProvider=new le.DefaultTickCoordinatesProvider},enumerable:!1,configurable:!0}),a.prototype.applyTheme=function(i){var e=this.parentSurface.previousThemeProvider;this.axisBandsFill===e.axisBandsFill&&(this.axisBandsFill=i.axisBandsFill),this.labelStyle.color===e.tickTextBrush&&(this.labelStyle={color:i.tickTextBrush}),this.minorGridLineStyle.color===e.minorGridLineBrush&&(this.minorGridLineStyle={color:i.minorGridLineBrush}),this.majorGridLineStyle.color===e.majorGridLineBrush&&(this.majorGridLineStyle={color:i.majorGridLineBrush}),this.minorTickLineStyle.color===e.minorGridLineBrush&&(this.minorTickLineStyle={color:i.minorGridLineBrush}),this.majorTickLineStyle.color===e.majorGridLineBrush&&(this.majorTickLineStyle={color:i.majorGridLineBrush}),this.axisTitleStyle.color===e.axisTitleColor&&(this.axisTitleStyle={color:i.axisTitleColor})},a.prototype.setParentSurface=function(i){this.parentSurface=i,this.axisTitleRenderer.parentSurface=i},a.prototype.onAttach=function(i,e,r){this.setParentSurface(i),this.setIsXAxis(e),this.isPrimaryAxisProperty=r},a.prototype.onDetach=function(){this.removeLinksToAxis(),this.parentSurface=void 0,this.isPrimaryAxisProperty=!1,this.invalidateParentCallback=void 0},a.prototype.measure=function(){if(this.isVisible){var i=this.getTicks(!0).majorTickLabels,e=this.drawMinorTickLines||this.drawMajorTickLines;q.DebugForDpi&&console.log("Measure. fontSize: ".concat(this.labelStyle.fontSize,", dpiAdjusted: ").concat(this.dpiAdjustedLabelStyle.fontSize)),this.axisRenderer.measure(this.isHorizontalAxis,this.dpiAdjustedLabelStyle,i,this.getTicksMaxSize(),this.labelProvider,this.drawLabels,e),this.axisTitleRenderer.measure(this.axisTitle,this.dpiAdjustedAxisTitleStyle,this.axisAlignment)}else this.axisRenderer.desiredHeight=0,this.axisRenderer.desiredWidth=0,this.axisTitleRenderer.desiredHeight=0,this.axisTitleRenderer.desiredWidth=0;this.isMeasured=!0},a.prototype.onDpiChanged=function(){this.dpiAdjustedLabelStyleCache=void 0},a.prototype.prepareRenderData=function(){this.getCurrentCoordinateCalculator()},a.prototype.getCurrentCoordinateCalculator=function(){var i=y.prototype.getCurrentCoordinateCalculator.call(this);return i},a.prototype.draw=function(i){var e=this,r,t,n;if(this.getIsValidForDrawing()){var o=this.parentSurface.clipRect,d=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.AxisBordersLayer);this.isPolarAxis||i.enqueueLayeredDraw(function(){var b,S,C,w=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBorderStart,{contextId:e.id,parentContextId:(b=e.parentSurface)===null||b===void 0?void 0:b.id,level:s.EPerformanceDebugLevel.Verbose});(0,ce.drawBorder)(i,e.webAssemblyContext2D,e.solidBrushCacheBorder,e.viewRect,o,e.axisBorder.borderLeft||e.axisBorder.border,e.axisBorder.borderTop||e.axisBorder.border,e.axisBorder.borderRight||e.axisBorder.border,e.axisBorder.borderBottom||e.axisBorder.border,e.axisBorder.color),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBorderEnd,{contextId:e.id,parentContextId:(S=e.parentSurface)===null||S===void 0?void 0:S.id,relatedId:(C=w==null?void 0:w.detail)===null||C===void 0?void 0:C.relatedId,level:s.EPerformanceDebugLevel.Verbose})},d);var l=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.GetTicksStart,{contextId:this.id,parentContextId:(r=this.parentSurface)===null||r===void 0?void 0:r.id,level:s.EPerformanceDebugLevel.Verbose}),c=this.getTicksWithCoords();s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.GetTicksEnd,{contextId:this.id,parentContextId:(t=this.parentSurface)===null||t===void 0?void 0:t.id,relatedId:(n=l==null?void 0:l.detail)===null||n===void 0?void 0:n.relatedId,level:s.EPerformanceDebugLevel.Verbose});var h=this.minorGridLineStyle,u=this.majorGridLineStyle,v=this.minorTickLineStyle,f=this.majorTickLineStyle,P=this.getPenForLines(this.penCacheForMinorGridLines,h.color,h.strokeThickness,h.strokeDashArray),A=this.getPenForLines(this.penCacheForMajorGridLines,u.color,u.strokeThickness,u.strokeDashArray),R=this.getPenForLines(this.penCacheForMinorTickLines,v.color,v.strokeThickness),g=this.getPenForLines(this.penCacheForMajorTickLines,f.color,f.strokeThickness);this.isPrimaryAxis&&this.drawAxisBandsAndGridLines(i,c,P,A);var k=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.AxesLayer);i.enqueueLayeredDraw(function(){var b,S,C,w,X,N,F,H,Y,W,Z,U;if(e.backgroundColorProperty){var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBackgroundStart,{contextId:e.id,parentContextId:(b=e.parentSurface)===null||b===void 0?void 0:b.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.viewRect,e.axisTitleRenderer.viewRect;var ye=e.solidBrushCacheAxisBackground.newBrush(e.backgroundColorProperty,!1),J=void 0;if(J=(0,O.createNativeRect)(e.webAssemblyContext2D,0,0,e.viewRect.width,e.viewRect.height),J){var $=(0,j.getVectorRectVertex)(e.webAssemblyContext2D);$.push_back(J),i.drawRects($,ye,o,e.viewRect.x,e.viewRect.y)}s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBackgroundEnd,{contextId:e.id,parentContextId:(S=e.parentSurface)===null||S===void 0?void 0:S.id,relatedId:(C=x==null?void 0:x.detail)===null||C===void 0?void 0:C.relatedId,level:s.EPerformanceDebugLevel.Verbose})}if(e.drawLabels){q.DebugForDpi&&console.log("Draw. fontSize: ".concat(e.labelStyle.fontSize,", dpiAdjusted: ").concat(e.dpiAdjustedLabelStyle.fontSize));var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisLabelsStart,{contextId:e.id,parentContextId:(w=e.parentSurface)===null||w===void 0?void 0:w.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.drawLabels(i,e.axisAlignment,e.isInnerAxis,c.majorTickLabels,c.majorTickCoords,e.offset,e.dpiAdjustedLabelStyle,e.isVerticalChart,e.flippedCoordinates,e.labelProvider),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisLabelsEnd,{contextId:e.id,parentContextId:(X=e.parentSurface)===null||X===void 0?void 0:X.id,relatedId:(N=x==null?void 0:x.detail)===null||N===void 0?void 0:N.relatedId,level:s.EPerformanceDebugLevel.Verbose})}if(e.drawMinorTickLines){var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorTicksStart,{contextId:e.id,parentContextId:(F=e.parentSurface)===null||F===void 0?void 0:F.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.drawTicks(i,e.axisAlignment,e.isInnerAxis,c.minorTickCoords,e.offset,R,v),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorTicksEnd,{contextId:e.id,parentContextId:(H=e.parentSurface)===null||H===void 0?void 0:H.id,relatedId:(Y=x==null?void 0:x.detail)===null||Y===void 0?void 0:Y.relatedId,level:s.EPerformanceDebugLevel.Verbose})}if(e.drawMajorTickLines){var x=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorTicksStart,{contextId:e.id,parentContextId:(W=e.parentSurface)===null||W===void 0?void 0:W.id,level:s.EPerformanceDebugLevel.Verbose});e.axisRenderer.drawTicks(i,e.axisAlignment,e.isInnerAxis,c.majorTickCoords,e.offset,g,f),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorTicksEnd,{contextId:e.id,parentContextId:(Z=e.parentSurface)===null||Z===void 0?void 0:Z.id,relatedId:(U=x==null?void 0:x.detail)===null||U===void 0?void 0:U.relatedId,level:s.EPerformanceDebugLevel.Verbose})}e.axisTitleRenderer.draw(i),e.labelProvider.useNativeText&&e.parentSurface.renderNativeAxisLabelsImmediately&&(i.getNativeContext(),i.EnsureContextTransform(0,0,o),i.endFonts(!0))},k)}},a.prototype.drawDebug=function(i){var e=this;this.axisRenderer.drawDebug=!0;var r=this.parentSurface.chartViewRect,t=function(){var o=e.axisRenderer.viewRect,d=(0,j.getVectorRectVertex)(e.webAssemblyContext2D),l=new e.webAssemblyContext2D.SCRTSolidBrush((0,Q.parseColorToUIntArgb)("rgba(255,0,0,0.7)"),!1),c=(0,O.createNativeRect)(e.webAssemblyContext2D,0,0,o.width,o.height);d.push_back(c),i.drawRects(d,l,r,o.left,o.top),l.delete()};t();var n=function(){var o=e.axisTitleRenderer.viewRect,d=(0,j.getVectorRectVertex)(e.webAssemblyContext2D),l=new e.webAssemblyContext2D.SCRTSolidBrush((0,Q.parseColorToUIntArgb)("rgba(0,255,0,0.7)"),!1),c=(0,O.createNativeRect)(e.webAssemblyContext2D,0,0,o.width,o.height);d.push_back(c),i.drawRects(d,l,r,o.left,o.top),l.delete()};n()},a.prototype.getDefaultNonZeroRange=function(){return new m.NumberRange(0,10)},a.prototype.getMaximumRange=function(){if(this.zoomExtentsRange)return this.zoomExtentsRange;var i;this.parentSurface&&this.parentSurface.renderableSeries.size()>0&&(i=this.isXAxis?this.getMaxXRange():this.getWindowedYRange(void 0));var e=this.visibleRange||this.getDefaultNonZeroRange();return i||e},a.prototype.getWindowedYRange=function(i){var e=this;if(this.zoomExtentsRange)return this.zoomExtentsRange;var r;return this.parentSurface&&this.getVisibleRenderableSeriesByYAxis().forEach(function(t){var n=t.xAxisId,o=i!=null&&i.containsKey(n)?i.item(n):e.getXVisibleRange(n),d=e.getIsXCategoryAxis(n);if(o){var l=t.getYRange(o,d);l&&(r=r?r.union(l):l)}}),r!=null&&r.isZero()&&(r=this.coerceZeroVisibleRange(r)),this.growBy&&r&&(r=r.growBy(this.growBy)),r=this.applyVisibleRangeLimit(r),r=this.applyVisibleRangeSizeLimit(r),r||new m.NumberRange},a.prototype.scroll=function(i,e){var r=this.visibleRange;if(r===void 0)return!1;var t=this.getCurrentCoordinateCalculator().translateBy(i,r);if(this.visibleRangeLimit){var n=0;t.min<this.visibleRangeLimit.min?n=this.visibleRangeLimit.min-t.min:this.visibleRangeLimit.max<t.max&&(n=this.visibleRangeLimit.max-t.max),n&&(t=new m.NumberRange(t.min+n,t.max+n))}return this.visibleRange=this.applyVisibleRangeSizeLimit(t),!0},a.prototype.setVisibleRangeWithLimits=function(i){var e=this.applyVisibleRangeLimit(i);this.visibleRange=this.applyVisibleRangeSizeLimit(e)},a.prototype.zoomBy=function(i,e){var r=this.getCurrentCoordinateCalculator(),t=r.zoomTranslateBy(i,e,this.visibleRange);if(!(t.max<t.min)){var n=this.applyVisibleRangeLimit(t);this.visibleRange=this.applyVisibleRangeSizeLimit(n)}},a.prototype.zoom=function(i,e,r,t){r===void 0&&(r=0),t===void 0&&(t=K.easing.outExpo);var n=this.getCurrentCoordinateCalculator(),o=n.getDataValue(i),d=n.getDataValue(e),l=o<d?o:d,c=o<d?d:o,h=this.applyVisibleRangeLimit(new m.NumberRange(l,c)),u=this.applyVisibleRangeSizeLimit(h);this.animateVisibleRange(u,r,t)},a.prototype.scale=function(i,e,r){var t=i.max-i.min,n,o,d=this.flippedCoordinates?!r:r,l=this.flippedCoordinates?-e:e;d?(n=i.min,o=l>0?n+t/(1+l):n+t*(1+Math.abs(l))):(o=i.max,n=l>0?o-t*(1+l):o-t/(1+Math.abs(l)));var c=this.applyVisibleRangeLimit(new m.NumberRange(n,o));this.visibleRange=this.applyVisibleRangeSizeLimit(c)},a.prototype.animateVisibleRange=function(i,e,r,t){var n=this,o;if(r===void 0&&(r=K.easing.outCubic),t===void 0&&(t=function(){}),e<=0){this.visibleRange=i||this.visibleRange,t();return}return(o=this.visibleRangeAnimationToken)===null||o===void 0||o.cancel(),this.visibleRangeAnimationToken=te.NumberRangeAnimator.animate(this.visibleRange,i,e,function(d){n.visibleRange=d},function(){n.visibleRangeAnimationToken=void 0,t()},r),this.parentSurface.addAnimation(this.visibleRangeAnimationToken),this.visibleRangeAnimationToken},a.prototype.getVisibleRenderableSeriesByXAxis=function(){var i=this;return this.parentSurface?this.parentSurface.renderableSeries.asArray().filter(function(e){return e.xAxis===i&&e.isVisible&&e.hasDataSeriesValues()}):[]},a.prototype.getVisibleRenderableSeriesByYAxis=function(){var i=this;if(!this.parentSurface)return[];var e=this.parentSurface.renderableSeries.asArray();return e.filter(function(r){return r.linkAxes(),r.yAxis===i&&r.isVisible&&r.hasDataSeriesValues()})},a.prototype.delete=function(){this.penCacheForMajorGridLines=(0,L.deleteSafe)(this.penCacheForMajorGridLines),this.penCacheForMinorGridLines=(0,L.deleteSafe)(this.penCacheForMinorGridLines),this.penCacheForMajorTickLines=(0,L.deleteSafe)(this.penCacheForMajorTickLines),this.penCacheForMinorTickLines=(0,L.deleteSafe)(this.penCacheForMinorTickLines),this.solidBrushCacheBorder=(0,L.deleteSafe)(this.solidBrushCacheBorder),this.solidBrushCacheAxisBands=(0,L.deleteSafe)(this.solidBrushCacheAxisBands),this.solidBrushCacheAxisBackground=(0,L.deleteSafe)(this.solidBrushCacheAxisBackground),this.axisRendererProperty=(0,L.deleteSafe)(this.axisRenderer),this.axisTitleRenderer=(0,L.deleteSafe)(this.axisTitleRenderer),this.webAssemblyContext2D=void 0,this.parentSurface=void 0,y.prototype.delete.call(this)},a.prototype.toJSON=function(){var i={autoRange:this.autoRange,autoTicks:this.autoTicks,axisAlignment:this.axisAlignment,axisBandsFill:this.axisBandsFill,axisBorder:this.axisBorder,axisTitle:this.axisTitle,axisTitleStyle:this.axisTitleStyle,drawLabels:this.drawLabels,drawMajorBands:this.drawMajorBands,drawMajorGridLines:this.drawMajorGridLines,drawMajorTickLines:this.drawMajorTickLines,drawMinorGridLines:this.drawMinorGridLines,drawMinorTickLines:this.drawMinorTickLines,flippedCoordinates:this.flippedCoordinates,growBy:this.growBy,id:this.id,isInnerAxis:this.isInnerAxis,isVisible:this.isVisible,labelStyle:this.labelStyle,majorGridLineStyle:this.majorGridLineStyle,majorTickLineStyle:this.majorTickLineStyle,maxAutoTicks:this.maxAutoTicks,minorGridLineStyle:this.minorGridLineStyle,minorTickLineStyle:this.minorTickLineStyle,visibleRange:this.hasDefaultVisibleRange()?void 0:this.visibleRange,visibleRangeLimit:this.visibleRangeLimit,zoomExtentsRange:this.zoomExtentsRange,minorsPerMajor:this.minorsPerMajor,majorDelta:this.majorDelta,minorDelta:this.minorDelta,labelProvider:this.labelProvider.toJSON(),keepLabelsWithinAxis:this.axisRenderer.keepLabelsWithinAxis,clipToXRange:this.clipToXRange,isStaticAxis:this.isStaticAxis};return{type:this.type,options:i}},a.prototype.createAxisRender=function(){return new fe.AxisRenderer(this.webAssemblyContext2D)},a.prototype.getTicksMaxSize=function(){var i,e,r=!((i=this.majorTickLineStyle)===null||i===void 0)&&i.tickSize?this.majorTickLineStyle.tickSize*G.DpiHelper.PIXEL_RATIO:0,t=!((e=this.minorTickLineStyle)===null||e===void 0)&&e.tickSize?this.minorTickLineStyle.tickSize*G.DpiHelper.PIXEL_RATIO:0;return Math.max(r,t)},a.prototype.getIsValidForDrawing=function(){return this.isVisible},a.prototype.drawAxisBandsAndGridLines=function(i,e,r,t){var n=this;if(this.drawMajorBands){var o=this.solidBrushCacheAxisBands.newBrush(this.axisBandsFill,!0),d=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.AxisBandsLayer);i.enqueueLayeredDraw(function(){var h,u,v,f=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBandsStart,{contextId:n.id,parentContextId:(h=n.parentSurface)===null||h===void 0?void 0:h.id,level:s.EPerformanceDebugLevel.Verbose});n.drawAxisBands(i,e.majorTicks,e.majorTickCoords,o),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawAxisBandsEnd,{contextId:n.id,parentContextId:(u=n.parentSurface)===null||u===void 0?void 0:u.id,relatedId:(v=f==null?void 0:f.detail)===null||v===void 0?void 0:v.relatedId,level:s.EPerformanceDebugLevel.Verbose})},d)}if(this.drawMinorGridLines){var l=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.MinorGridLinesLayer);i.enqueueLayeredDraw(function(){var h,u,v,f=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorGridLinesStart,{contextId:n.id,parentContextId:(h=n.parentSurface)===null||h===void 0?void 0:h.id,level:s.EPerformanceDebugLevel.Verbose});n.drawGridLines(i,e.minorTickCoords,r,!1),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMinorGridLinesEnd,{contextId:n.id,parentContextId:(u=n.parentSurface)===null||u===void 0?void 0:u.id,relatedId:(v=f==null?void 0:f.detail)===null||v===void 0?void 0:v.relatedId,level:s.EPerformanceDebugLevel.Verbose})},l)}if(this.drawMajorGridLines){var c=(0,I.calculateAbsoluteRenderLayer)(this.parentSurface.getSurfaceRenderOrder(),this.parentSurface.stepBetweenLayers,M.EDefaultRenderLayer.MajorGridLinesLayer);i.enqueueLayeredDraw(function(){var h,u,v,f=s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorGridLinesStart,{contextId:n.id,parentContextId:(h=n.parentSurface)===null||h===void 0?void 0:h.id,level:s.EPerformanceDebugLevel.Verbose});n.drawGridLines(i,e.majorTickCoords,t,!0),s.PerformanceDebugHelper.mark(s.EPerformanceMarkType.DrawMajorGridLinesEnd,{contextId:n.id,parentContextId:(u=n.parentSurface)===null||u===void 0?void 0:u.id,relatedId:(v=f==null?void 0:f.detail)===null||v===void 0?void 0:v.relatedId,level:s.EPerformanceDebugLevel.Verbose})},c)}},a.prototype.drawAxisBands=function(i,e,r,t){var n=this;if(!(!e||e.length===0)){var o=this.parentSurface.seriesViewRect,d=this.isHorizontalAxis?B.EXyDirection.XDirection:B.EXyDirection.YDirection,l=this.offset,c=this.axisLength+this.offset,h=this.isAxisFlipped!==this.flippedCoordinates;if(h){var u=c;c=l,l=u}var v=this.getMajorTickIndex(e[0]),f=v%2===0,P=(0,j.getVectorRectVertex)(this.webAssemblyContext2D),A=function(R,g,k){if(k){var b=(0,O.createNativeRect)(n.webAssemblyContext2D,d===B.EXyDirection.YDirection?0:R,d===B.EXyDirection.YDirection?R:0,d===B.EXyDirection.YDirection?o.width:g,d===B.EXyDirection.YDirection?g:o.height);P.push_back(b)}};e.forEach(function(R,g){var k=g===0?l:r[g-1],b=r[g];A(k,b,f),f=!f}),A(c,r[e.length-1],f),i.drawRects(P,t,this.parentSurface.clipRect,o.left,o.top)}},a.prototype.drawGridLines=function(i,e,r,t){var n=this;if(!(!e||e.length===0)){var o=this.parentSurface.seriesViewRect,d=(0,j.getVectorColorVertex)(this.webAssemblyContext2D),l=(0,j.getVertex)(this.webAssemblyContext2D,0,0);e.forEach(function(c){var h=n.isHorizontalAxis?c:0,u=n.isHorizontalAxis?c:o.width,v=n.isHorizontalAxis?0:c,f=n.isHorizontalAxis?o.height:c;l.SetPosition(h,v),d.push_back(l),l.SetPosition(u,f),d.push_back(l)}),i.drawLinesNative(d,r,I.ELineDrawMode.DiscontinuousLine,this.parentSurface.clipRect,o.left,o.top)}},a.prototype.getXVisibleRange=function(i){return this.parentSurface.getXAxisById(i).visibleRange},a.prototype.getIsXCategoryAxis=function(i){return this.parentSurface.getXAxisById(i).isCategoryAxis},a.prototype.getLabels=function(i){return this.labelProvider.getLabels(i)},a.prototype.getXDataRange=function(){var i;return this.parentSurface&&this.getVisibleRenderableSeriesByXAxis().forEach(function(e){var r=e.getXRange();r&&(i=i?i.union(r):r)}),i},a.prototype.notifyPropertyChanged=function(i){i===p.PROPERTY.IS_XAXIS&&this.axisAlignmentProperty===void 0&&(this.axisAlignmentProperty=this.isXAxisProperty?_.EAxisAlignment.Bottom:_.EAxisAlignment.Right),i===p.PROPERTY.AXIS_RENDERER&&this.axisRendererProperty.attachedToAxis(this),y.prototype.notifyPropertyChanged.call(this,i)},a.prototype.getMaxXRange=function(){var i=this.getXDataRange();if(i)return this.growBy&&(i=i.growBy(this.growBy)),i=this.applyVisibleRangeLimit(i??this.visibleRange),i=this.applyVisibleRangeSizeLimit(i),i},a.prototype.removeLinksToAxis=function(){var i=this,e=this.parentSurface;e&&(this.isXAxis?(e.renderableSeries.asArray().forEach(function(r){r.xAxisId===i.id&&(r.xAxisId=void 0)}),e.annotations.asArray().forEach(function(r){r.xAxisId===i.id&&(r.xAxisId=void 0)}),e.chartModifiers.asArray().forEach(function(r){var t=r;t.xAxisId===i.id&&(t.xAxisId=void 0),t.includedXAxes.removeId(i.id)})):(e.renderableSeries.asArray().forEach(function(r){r.yAxisId===i.id&&(r.yAxisId=void 0)}),e.annotations.asArray().forEach(function(r){r.yAxisId===i.id&&(r.yAxisId=void 0)}),e.chartModifiers.asArray().forEach(function(r){var t=r;t.yAxisId===i.id&&(t.yAxisId=void 0),t.includedYAxes.removeId(i.id)})))},a.prototype.getAxisSize=function(){return this.axisLength},a.prototype.getMajorTickIndex=function(i){var e=this.majorDeltaProperty,r=i/e;return Math.round(r)},a.prototype.getTicks=function(i){var e,r;if(i||!this.tickCache){var t=this.getMaxAutoTicks();if(this.autoTicks){var n=this.deltaCalculator.getDeltaFromRange(this.visibleRange.min,this.visibleRange.max,this.minorsPerMajor,t);this.minorDeltaProperty=n.min,this.majorDeltaProperty=n.max}var o=this.tickCoordinatesProvider.getTickCoordinates(void 0,void 0),d=o.majorTickCoords,l=o.minorTickCoords,c=o.majorTickOverrides,h=o.minorTickOverRides,u=this.drawLabels||this.drawMajorGridLines||this.drawMajorTickLines?c??this.tickProvider.getMajorTicks((e=this.minorDeltaProperty)!==null&&e!==void 0?e:this.majorDeltaProperty/this.minorsPerMajor,this.majorDeltaProperty,this.visibleRange):[],v=this.drawMinorGridLines||this.drawMinorTickLines?h??this.tickProvider.getMinorTicks((r=this.minorDeltaProperty)!==null&&r!==void 0?r:this.majorDeltaProperty/this.minorsPerMajor,this.majorDeltaProperty,this.visibleRange):[],f=this.visibleRange,P=f.min,A=f.max;u=u.filter(function(g){return g>=P&&g<=A}),v=v.filter(function(g){return g>=P&&g<=A});var R=[];u.length>1e3&&this.drawLabels?console.warn("Axis settings result in more than 1000 labels. Label drawing is disabled. If using autoTicks: false, check that you have set sensible deltas."):R=this.drawLabels?this.getLabels(u):[],this.tickCache={majorTicks:u,majorTickLabels:R,majorTickCoords:d,minorTicks:v,minorTickCoords:l}}return this.tickCache},a.prototype.getTicksWithCoords=function(){if(this.tickCache||this.getTicks(!0),this.tickCache.majorTickCoords===void 0){var i=this.tickCoordinatesProvider.getTickCoordinates(this.tickCache.majorTicks,this.tickCache.minorTicks),e=i.majorTickCoords,r=i.minorTickCoords;this.tickCache.majorTickCoords=e,this.tickCache.minorTickCoords=r}return this.tickCache},a.prototype.getPenForLines=function(i,e,r,t){return(0,V.createPenInCache)(i,e,r,1,t,!1)},a.prototype.applyVisibleRangeLimit=function(i){if(i){if(!this.visibleRangeLimit)return i;var e=i.clip(this.visibleRangeLimit);return e.min>=e.max?(console.warn("Can not apply visibleRangeLimit for the ".concat(this.isXAxis?"xAxis":"yAxis"," with ID ").concat(this.id)),i):e}},a.prototype.applyVisibleRangeSizeLimit=function(i){if(i){var e=Math.abs(i.min)/Math.pow(10,14),r=i.diff;if(r<e){var t=i.min+r/2;return new m.NumberRange(t-e/2,t+e/2)}if(!this.visibleRangeSizeLimit)return i;if(r<0)return console.warn("Can not apply visibleRangeSizeLimit for the ".concat(this.isXAxis?"xAxis":"yAxis"," with ID ").concat(this.id)),i;var n=i,o=this.visibleRangeSizeLimit,d=o.min,l=o.max,t=i.min+r/2;return r<d?n=new m.NumberRange(t-d/2,t+d/2):r>l&&(n=new m.NumberRange(t-l/2,t+l/2)),n}},a})(ue.AxisCore);E.AxisBase2D=pe})(D.__exports)),D.__exports}exports.__require=Ye;
2
2
  //# sourceMappingURL=petal-toolkit.cjs273.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./petal-toolkit.cjs911.js"),V=require("./petal-toolkit.cjs554.js"),U=require("./petal-toolkit.cjs555.js"),H=require("./petal-toolkit.cjs557.js"),X=require("./petal-toolkit.cjs559.js"),K=require("./petal-toolkit.cjs562.js"),W=require("./petal-toolkit.cjs571.js"),J=require("./petal-toolkit.cjs585.js"),Z=require("./petal-toolkit.cjs604.js"),z=require("./petal-toolkit.cjs648.js"),$=require("./petal-toolkit.cjs650.js"),Q=require("./petal-toolkit.cjs656.js"),ee=require("./petal-toolkit.cjs241.js"),re=require("./petal-toolkit.cjs492.js"),te=require("./petal-toolkit.cjs910.js"),ie=require("./petal-toolkit.cjs284.js");var j;function oe(){if(j)return s.__exports;j=1;var x=s.__exports&&s.__exports.__extends||(function(){var l=function(t,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])},l(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");l(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),n=s.__exports&&s.__exports.__assign||function(){return n=Object.assign||function(l){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(l[o]=t[o])}return l},n.apply(this,arguments)};Object.defineProperty(s.__exports,"__esModule",{value:!0}),s.__exports.AxisCore=void 0;var M=V.__require(),y=U.__require(),k=H.__require(),w=X.__require(),c=K.__require(),D=W.__require(),I=J.__require(),B=Z.__require(),G=z.__require(),Y=$.__require(),S=Q.__require(),u=ee.__require(),F=re.__require(),i=te.__require(),q=ie.__require(),N=(function(l){x(t,l);function t(e){var r=this,o,a,d,f,P,h,p,g,_,b,T,R,v,C,m,L,O,A,E;return r=l.call(this)||this,r.visibleRangeChanged=new k.EventHandler,r.isMeasured=!1,r.ZeroRangeGrowBy=.01,r.isXAxisProperty=!0,r.minorsPerMajorProperty=5,r.drawMajorGridLinesProperty=!0,r.drawMinorGridLinesProperty=!0,r.drawMajorTickLinesProperty=!0,r.drawMinorTickLinesProperty=!0,r.drawMajorBandsProperty=!0,r.drawLabelsProperty=!0,r.flippedCoordinatesProperty=!1,r.tickTextBrushProperty=u.SciChartSurfaceBase.DEFAULT_THEME.tickTextBrush,r.axisBandsFillProperty=u.SciChartSurfaceBase.DEFAULT_THEME.axisBandsFill,r.autoRangeProperty=I.EAutoRange.Once,r.majorTickLineStyleProperty={tickSize:5,strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.majorGridLineBrush},r.minorTickLineStyleProperty={tickSize:3,strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.minorGridLineBrush},r.majorGridLineStyleProperty={strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.majorGridLineBrush,strokeDashArray:void 0},r.minorGridLineStyleProperty={strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.minorGridLineBrush,strokeDashArray:void 0},r.axisTitleStyleProperty={fontSize:24,fontFamily:G.DEFAULT_FONT_FAMILY,color:u.SciChartSurfaceBase.DEFAULT_THEME.axisTitleColor,fontStyle:"normal",fontWeight:"normal",padding:D.Thickness.fromNumber(6),alignment:B.ELabelAlignment.Center},r.isVisibleProperty=!0,r.autoTicksProperty=!0,r.maxAutoTicksProperty=10,r.defaultVisibleRange=new c.NumberRange(0,10),r.allowFastMathProperty=!1,r.hasVisibleRangeSet=!1,r.visibleRange=c.NumberRange.hydrate(e==null?void 0:e.visibleRange)||r.defaultVisibleRange,e!=null&&e.visibleRange||(r.hasVisibleRangeSet=!1),r.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:(0,Y.generateGuid)(),r.growBy=(a=c.NumberRange.hydrate(e==null?void 0:e.growBy))!==null&&a!==void 0?a:r.growBy,r.autoRange=(d=e==null?void 0:e.autoRange)!==null&&d!==void 0?d:r.autoRange,r.isVisible=(f=e==null?void 0:e.isVisible)!==null&&f!==void 0?f:r.isVisible,r.axisTitle=(P=e==null?void 0:e.axisTitle)!==null&&P!==void 0?P:r.axisTitle,r.axisTitleStyle=e==null?void 0:e.axisTitleStyle,r.allowFastMath=(h=e==null?void 0:e.allowFastMath)!==null&&h!==void 0?h:r.allowFastMathProperty,r.autoTicksProperty=(p=e==null?void 0:e.autoTicks)!==null&&p!==void 0?p:r.autoTicksProperty,r.maxAutoTicksProperty=(g=e==null?void 0:e.maxAutoTicks)!==null&&g!==void 0?g:r.maxAutoTicksProperty,r.minorsPerMajorProperty=(_=e==null?void 0:e.minorsPerMajor)!==null&&_!==void 0?_:r.minorsPerMajorProperty,r.majorDeltaProperty=(b=e==null?void 0:e.majorDelta)!==null&&b!==void 0?b:r.majorDeltaProperty,r.minorDeltaProperty=(T=e==null?void 0:e.minorDelta)!==null&&T!==void 0?T:r.minorDeltaProperty,r.drawLabelsProperty=(R=e==null?void 0:e.drawLabels)!==null&&R!==void 0?R:r.drawLabelsProperty,r.drawMajorTickLinesProperty=(v=e==null?void 0:e.drawMajorTickLines)!==null&&v!==void 0?v:r.drawMajorTickLinesProperty,r.drawMinorTickLinesProperty=(C=e==null?void 0:e.drawMinorTickLines)!==null&&C!==void 0?C:r.drawMinorTickLinesProperty,r.drawMinorGridLinesProperty=(m=e==null?void 0:e.drawMinorGridLines)!==null&&m!==void 0?m:r.drawMinorGridLinesProperty,r.drawMajorGridLinesProperty=(L=e==null?void 0:e.drawMajorGridLines)!==null&&L!==void 0?L:r.drawMajorGridLinesProperty,r.majorGridLineStyle=e==null?void 0:e.majorGridLineStyle,r.minorGridLineStyle=e==null?void 0:e.minorGridLineStyle,r.majorTickLineStyle=e==null?void 0:e.majorTickLineStyle,r.minorTickLineStyle=e==null?void 0:e.minorTickLineStyle,r.drawMajorBandsProperty=(O=e==null?void 0:e.drawMajorBands)!==null&&O!==void 0?O:r.drawMajorBandsProperty,r.axisBandsFillProperty=(A=e==null?void 0:e.axisBandsFill)!==null&&A!==void 0?A:r.axisBandsFillProperty,r.flippedCoordinatesProperty=(E=e==null?void 0:e.flippedCoordinates)!==null&&E!==void 0?E:r.flippedCoordinatesProperty,r.getCurrentCoordinateCalculator=r.getCurrentCoordinateCalculator.bind(r),r}return Object.defineProperty(t.prototype,"isCategoryAxis",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isXAxis",{get:function(){return this.isXAxisProperty},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowFastMath",{get:function(){return this.allowFastMathProperty},set:function(e){this.allowFastMathProperty=e,this.notifyPropertyChanged(i.PROPERTY.ALLOW_FAST_MATH)},enumerable:!1,configurable:!0}),t.prototype.hasValidVisibleRange=function(){if(this.visibleRange===void 0)return!1;var e=this.visibleRange.diff===0;return!e&&(0,S.isRealNumber)(this.visibleRange.max)&&(0,S.isRealNumber)(this.visibleRange.min)},t.prototype.hasDefaultVisibleRange=function(){return!this.hasVisibleRangeSet},Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.isVisibleProperty},set:function(e){this.isVisibleProperty=e,this.notifyPropertyChanged(i.PROPERTY.IS_VISIBLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"growBy",{get:function(){return this.growByProperty},set:function(e){this.growByProperty=e,this.notifyPropertyChanged(i.PROPERTY.GROW_BY)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleRange",{get:function(){return this.visibleRangeProperty},set:function(e){var r;this.hasVisibleRangeSet=!0,!((r=this.visibleRangeProperty)===null||r===void 0)&&r.equals(e)||(this.visibleRangeProperty=e,this.clearCoordCalcCache(),this.visibleRangeChanged.raiseEvent(new q.VisibleRangeChangedArgs(e)),this.notifyPropertyChanged(i.PROPERTY.VISIBLE_RANGE))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"animatedVisibleRange",{get:function(){if(!this.visibleRangeAnimationToken)return this.visibleRange;var e=this.visibleRangeAnimationToken;return e.to},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"majorDelta",{get:function(){return this.majorDeltaProperty},set:function(e){this.majorDeltaProperty=e,this.notifyPropertyChanged(i.PROPERTY.MAJOR_DELTA)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorDelta",{get:function(){return this.minorDeltaProperty},set:function(e){this.minorDeltaProperty=e,this.notifyPropertyChanged(i.PROPERTY.MINOR_DELTA)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorsPerMajor",{get:function(){return this.minorsPerMajorProperty},set:function(e){this.minorsPerMajorProperty=e,this.notifyPropertyChanged(i.PROPERTY.MINORS_PER_MAJOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textFormatting",{get:function(){return this.textFormattingProperty},set:function(e){this.textFormattingProperty=e,this.notifyPropertyChanged(i.PROPERTY.TEXT_FORMATTING)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorTextFormatting",{get:function(){return this.cursorTextFormattingProperty},set:function(e){this.cursorTextFormattingProperty=e,this.notifyPropertyChanged(i.PROPERTY.CURSOR_TEXT_FORMATTING)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMajorGridLines",{get:function(){return this.drawMajorGridLinesProperty},set:function(e){this.drawMajorGridLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MAJOR_GRID_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMinorGridLines",{get:function(){return this.drawMinorGridLinesProperty},set:function(e){this.drawMinorGridLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MINOR_GRID_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMajorTickLines",{get:function(){return this.drawMajorTickLinesProperty},set:function(e){this.drawMajorTickLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MAJOR_TICK_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMinorTickLines",{get:function(){return this.drawMinorTickLinesProperty},set:function(e){this.drawMinorTickLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MINOR_TICK_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMajorBands",{get:function(){return this.drawMajorBandsProperty},set:function(e){this.drawMajorBandsProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MAJOR_BANDS)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawLabels",{get:function(){return this.drawLabelsProperty},set:function(e){this.drawLabelsProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_LABELS)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"flippedCoordinates",{get:function(){return this.flippedCoordinatesProperty},set:function(e){this.flippedCoordinatesProperty!==e&&(this.flippedCoordinatesProperty=e,this.clearCoordCalcCache(),this.notifyPropertyChanged(i.PROPERTY.FLIPPED_COORDINATES))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axisBandsFill",{get:function(){return this.axisBandsFillProperty},set:function(e){this.axisBandsFillProperty=e,this.notifyPropertyChanged(i.PROPERTY.AXIS_BANDS_FILL)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoRange",{get:function(){return this.autoRangeProperty},set:function(e){this.autoRangeProperty=e,this.notifyPropertyChanged(i.PROPERTY.AUTO_RANGE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"majorTickLineStyle",{get:function(){return this.majorTickLineStyleProperty},set:function(e){this.majorTickLineStyleProperty=n(n({},this.majorTickLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MAJOR_TICK_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickLineStyle",{get:function(){return this.minorTickLineStyleProperty},set:function(e){this.minorTickLineStyleProperty=n(n({},this.minorTickLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MINOR_TICK_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"majorGridLineStyle",{get:function(){return this.majorGridLineStyleProperty},set:function(e){this.majorGridLineStyleProperty=n(n({},this.majorGridLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MAJOR_GRID_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorGridLineStyle",{get:function(){return this.minorGridLineStyleProperty},set:function(e){this.minorGridLineStyleProperty=n(n({},this.minorGridLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MINOR_GRID_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dpiAdjustedAxisTitleStyle",{get:function(){return F.DpiHelper.adjustTextStyle(this.axisTitleStyleProperty)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axisTitleStyle",{get:function(){return this.axisTitleStyleProperty},set:function(e){this.axisTitleStyleProperty=n(n({},this.axisTitleStyle),e),this.notifyPropertyChanged(i.PROPERTY.TEXT_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axisTitle",{get:function(){return this.axisTitleProperty},set:function(e){this.axisTitleProperty=e,this.notifyPropertyChanged(i.PROPERTY.AXIS_TITLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickProvider",{get:function(){return this.tickProviderProperty},set:function(e){var r;(r=this.tickProviderProperty)===null||r===void 0||r.detachedFromAxis(),this.tickProviderProperty=e,this.notifyPropertyChanged(i.PROPERTY.TICK_PROVIDER)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelProvider",{get:function(){return this.labelProviderProperty},set:function(e){var r;(r=this.labelProviderProperty)===null||r===void 0||r.detachedFromAxis(),this.labelProviderProperty=e,this.notifyPropertyChanged(i.PROPERTY.LABEL_PROVIDER)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deltaCalculator",{get:function(){return this.deltaCalculatorProperty},set:function(e){var r;(r=this.deltaCalculator)===null||r===void 0||r.detachedFromAxis(),this.deltaCalculatorProperty=e,this.notifyPropertyChanged(i.PROPERTY.DELTA_CALCULATOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickCoordinatesProvider",{get:function(){return this.tickCoordinatesProviderProperty},set:function(e){var r;(r=this.tickCoordinatesProviderProperty)===null||r===void 0||r.detachedFromAxis(),this.tickCoordinatesProviderProperty=e,this.notifyPropertyChanged(i.PROPERTY.TICK_COORDINATES_CALCULATOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxAutoTicks",{get:function(){return this.maxAutoTicksProperty},set:function(e){this.maxAutoTicksProperty=e,this.notifyPropertyChanged(i.PROPERTY.MAX_AUTO_TICKS)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoTicks",{get:function(){return this.autoTicksProperty},set:function(e){this.autoTicksProperty=e,this.notifyPropertyChanged(i.PROPERTY.AUTO_TICKS)},enumerable:!1,configurable:!0}),t.prototype.getCurrentCoordinateCalculator=function(){return this.coordCalcCache&&this.coordCalcCache.viewportDimension!==this.getAxisSize()&&this.clearCoordCalcCache(),this.coordCalcCache||(this.coordCalcCache=this.getCurrentCoordinateCalculatorInternal()),this.coordCalcCache},t.prototype.clearCoordCalcCache=function(){this.coordCalcCache=(0,y.deleteSafe)(this.coordCalcCache)},t.prototype.delete=function(){this.deltaCalculator=void 0,this.tickProvider=void 0,this.tickCoordinatesProvider=void 0,this.labelProviderProperty=(0,y.deleteSafe)(this.labelProvider),this.coordCalcCache=(0,y.deleteSafe)(this.coordCalcCache)},t.prototype.isValidRange=function(e){var r=!e||!e.isDefined()||e.min>e.max;return!r},Object.defineProperty(t.prototype,"isVerticalChart",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHorizontalAxis",{get:function(){return this.isXAxis},enumerable:!1,configurable:!0}),t.prototype.setIsXAxis=function(e){this.isXAxisProperty=e,this.notifyPropertyChanged(i.PROPERTY.IS_XAXIS)},t.prototype.coerceZeroVisibleRange=function(e){return w.Guard.notNull(e,"range"),e.isZero()?e.min===0?new c.NumberRange(-1,1):e.growBy(new c.NumberRange(this.ZeroRangeGrowBy,this.ZeroRangeGrowBy)):e},t.prototype.notifyPropertyChanged=function(e){var r,o,a,d;e===i.PROPERTY.DELTA_CALCULATOR&&((r=this.deltaCalculator)===null||r===void 0||r.attachedToAxis(this)),e===i.PROPERTY.TICK_PROVIDER&&((o=this.tickProvider)===null||o===void 0||o.attachedToAxis(this)),e===i.PROPERTY.LABEL_PROVIDER&&((a=this.labelProvider)===null||a===void 0||a.attachedToAxis(this)),e===i.PROPERTY.TICK_COORDINATES_CALCULATOR&&((d=this.tickCoordinatesProvider)===null||d===void 0||d.attachedToAxis(this)),this.isMeasured&&this.invalidateParentCallback&&this.invalidateParentCallback()},t.prototype.getMaxAutoTicks=function(){return Math.max(1,this.maxAutoTicks)},t})(M.DeletableEntity);return s.__exports.AxisCore=N,s.__exports}exports.__require=oe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./petal-toolkit.cjs910.js"),V=require("./petal-toolkit.cjs554.js"),U=require("./petal-toolkit.cjs555.js"),H=require("./petal-toolkit.cjs557.js"),X=require("./petal-toolkit.cjs559.js"),K=require("./petal-toolkit.cjs562.js"),W=require("./petal-toolkit.cjs571.js"),J=require("./petal-toolkit.cjs585.js"),Z=require("./petal-toolkit.cjs604.js"),z=require("./petal-toolkit.cjs648.js"),$=require("./petal-toolkit.cjs650.js"),Q=require("./petal-toolkit.cjs656.js"),ee=require("./petal-toolkit.cjs241.js"),re=require("./petal-toolkit.cjs492.js"),te=require("./petal-toolkit.cjs909.js"),ie=require("./petal-toolkit.cjs284.js");var j;function oe(){if(j)return s.__exports;j=1;var x=s.__exports&&s.__exports.__extends||(function(){var l=function(t,e){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(r[a]=o[a])},l(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");l(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),n=s.__exports&&s.__exports.__assign||function(){return n=Object.assign||function(l){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(l[o]=t[o])}return l},n.apply(this,arguments)};Object.defineProperty(s.__exports,"__esModule",{value:!0}),s.__exports.AxisCore=void 0;var M=V.__require(),y=U.__require(),k=H.__require(),w=X.__require(),c=K.__require(),D=W.__require(),I=J.__require(),B=Z.__require(),G=z.__require(),Y=$.__require(),S=Q.__require(),u=ee.__require(),F=re.__require(),i=te.__require(),q=ie.__require(),N=(function(l){x(t,l);function t(e){var r=this,o,a,d,f,P,h,p,g,_,b,T,R,v,C,m,L,O,A,E;return r=l.call(this)||this,r.visibleRangeChanged=new k.EventHandler,r.isMeasured=!1,r.ZeroRangeGrowBy=.01,r.isXAxisProperty=!0,r.minorsPerMajorProperty=5,r.drawMajorGridLinesProperty=!0,r.drawMinorGridLinesProperty=!0,r.drawMajorTickLinesProperty=!0,r.drawMinorTickLinesProperty=!0,r.drawMajorBandsProperty=!0,r.drawLabelsProperty=!0,r.flippedCoordinatesProperty=!1,r.tickTextBrushProperty=u.SciChartSurfaceBase.DEFAULT_THEME.tickTextBrush,r.axisBandsFillProperty=u.SciChartSurfaceBase.DEFAULT_THEME.axisBandsFill,r.autoRangeProperty=I.EAutoRange.Once,r.majorTickLineStyleProperty={tickSize:5,strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.majorGridLineBrush},r.minorTickLineStyleProperty={tickSize:3,strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.minorGridLineBrush},r.majorGridLineStyleProperty={strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.majorGridLineBrush,strokeDashArray:void 0},r.minorGridLineStyleProperty={strokeThickness:1,color:u.SciChartSurfaceBase.DEFAULT_THEME.minorGridLineBrush,strokeDashArray:void 0},r.axisTitleStyleProperty={fontSize:24,fontFamily:G.DEFAULT_FONT_FAMILY,color:u.SciChartSurfaceBase.DEFAULT_THEME.axisTitleColor,fontStyle:"normal",fontWeight:"normal",padding:D.Thickness.fromNumber(6),alignment:B.ELabelAlignment.Center},r.isVisibleProperty=!0,r.autoTicksProperty=!0,r.maxAutoTicksProperty=10,r.defaultVisibleRange=new c.NumberRange(0,10),r.allowFastMathProperty=!1,r.hasVisibleRangeSet=!1,r.visibleRange=c.NumberRange.hydrate(e==null?void 0:e.visibleRange)||r.defaultVisibleRange,e!=null&&e.visibleRange||(r.hasVisibleRangeSet=!1),r.id=(o=e==null?void 0:e.id)!==null&&o!==void 0?o:(0,Y.generateGuid)(),r.growBy=(a=c.NumberRange.hydrate(e==null?void 0:e.growBy))!==null&&a!==void 0?a:r.growBy,r.autoRange=(d=e==null?void 0:e.autoRange)!==null&&d!==void 0?d:r.autoRange,r.isVisible=(f=e==null?void 0:e.isVisible)!==null&&f!==void 0?f:r.isVisible,r.axisTitle=(P=e==null?void 0:e.axisTitle)!==null&&P!==void 0?P:r.axisTitle,r.axisTitleStyle=e==null?void 0:e.axisTitleStyle,r.allowFastMath=(h=e==null?void 0:e.allowFastMath)!==null&&h!==void 0?h:r.allowFastMathProperty,r.autoTicksProperty=(p=e==null?void 0:e.autoTicks)!==null&&p!==void 0?p:r.autoTicksProperty,r.maxAutoTicksProperty=(g=e==null?void 0:e.maxAutoTicks)!==null&&g!==void 0?g:r.maxAutoTicksProperty,r.minorsPerMajorProperty=(_=e==null?void 0:e.minorsPerMajor)!==null&&_!==void 0?_:r.minorsPerMajorProperty,r.majorDeltaProperty=(b=e==null?void 0:e.majorDelta)!==null&&b!==void 0?b:r.majorDeltaProperty,r.minorDeltaProperty=(T=e==null?void 0:e.minorDelta)!==null&&T!==void 0?T:r.minorDeltaProperty,r.drawLabelsProperty=(R=e==null?void 0:e.drawLabels)!==null&&R!==void 0?R:r.drawLabelsProperty,r.drawMajorTickLinesProperty=(v=e==null?void 0:e.drawMajorTickLines)!==null&&v!==void 0?v:r.drawMajorTickLinesProperty,r.drawMinorTickLinesProperty=(C=e==null?void 0:e.drawMinorTickLines)!==null&&C!==void 0?C:r.drawMinorTickLinesProperty,r.drawMinorGridLinesProperty=(m=e==null?void 0:e.drawMinorGridLines)!==null&&m!==void 0?m:r.drawMinorGridLinesProperty,r.drawMajorGridLinesProperty=(L=e==null?void 0:e.drawMajorGridLines)!==null&&L!==void 0?L:r.drawMajorGridLinesProperty,r.majorGridLineStyle=e==null?void 0:e.majorGridLineStyle,r.minorGridLineStyle=e==null?void 0:e.minorGridLineStyle,r.majorTickLineStyle=e==null?void 0:e.majorTickLineStyle,r.minorTickLineStyle=e==null?void 0:e.minorTickLineStyle,r.drawMajorBandsProperty=(O=e==null?void 0:e.drawMajorBands)!==null&&O!==void 0?O:r.drawMajorBandsProperty,r.axisBandsFillProperty=(A=e==null?void 0:e.axisBandsFill)!==null&&A!==void 0?A:r.axisBandsFillProperty,r.flippedCoordinatesProperty=(E=e==null?void 0:e.flippedCoordinates)!==null&&E!==void 0?E:r.flippedCoordinatesProperty,r.getCurrentCoordinateCalculator=r.getCurrentCoordinateCalculator.bind(r),r}return Object.defineProperty(t.prototype,"isCategoryAxis",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isXAxis",{get:function(){return this.isXAxisProperty},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"allowFastMath",{get:function(){return this.allowFastMathProperty},set:function(e){this.allowFastMathProperty=e,this.notifyPropertyChanged(i.PROPERTY.ALLOW_FAST_MATH)},enumerable:!1,configurable:!0}),t.prototype.hasValidVisibleRange=function(){if(this.visibleRange===void 0)return!1;var e=this.visibleRange.diff===0;return!e&&(0,S.isRealNumber)(this.visibleRange.max)&&(0,S.isRealNumber)(this.visibleRange.min)},t.prototype.hasDefaultVisibleRange=function(){return!this.hasVisibleRangeSet},Object.defineProperty(t.prototype,"isVisible",{get:function(){return this.isVisibleProperty},set:function(e){this.isVisibleProperty=e,this.notifyPropertyChanged(i.PROPERTY.IS_VISIBLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"growBy",{get:function(){return this.growByProperty},set:function(e){this.growByProperty=e,this.notifyPropertyChanged(i.PROPERTY.GROW_BY)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"visibleRange",{get:function(){return this.visibleRangeProperty},set:function(e){var r;this.hasVisibleRangeSet=!0,!((r=this.visibleRangeProperty)===null||r===void 0)&&r.equals(e)||(this.visibleRangeProperty=e,this.clearCoordCalcCache(),this.visibleRangeChanged.raiseEvent(new q.VisibleRangeChangedArgs(e)),this.notifyPropertyChanged(i.PROPERTY.VISIBLE_RANGE))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"animatedVisibleRange",{get:function(){if(!this.visibleRangeAnimationToken)return this.visibleRange;var e=this.visibleRangeAnimationToken;return e.to},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"majorDelta",{get:function(){return this.majorDeltaProperty},set:function(e){this.majorDeltaProperty=e,this.notifyPropertyChanged(i.PROPERTY.MAJOR_DELTA)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorDelta",{get:function(){return this.minorDeltaProperty},set:function(e){this.minorDeltaProperty=e,this.notifyPropertyChanged(i.PROPERTY.MINOR_DELTA)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorsPerMajor",{get:function(){return this.minorsPerMajorProperty},set:function(e){this.minorsPerMajorProperty=e,this.notifyPropertyChanged(i.PROPERTY.MINORS_PER_MAJOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"textFormatting",{get:function(){return this.textFormattingProperty},set:function(e){this.textFormattingProperty=e,this.notifyPropertyChanged(i.PROPERTY.TEXT_FORMATTING)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cursorTextFormatting",{get:function(){return this.cursorTextFormattingProperty},set:function(e){this.cursorTextFormattingProperty=e,this.notifyPropertyChanged(i.PROPERTY.CURSOR_TEXT_FORMATTING)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMajorGridLines",{get:function(){return this.drawMajorGridLinesProperty},set:function(e){this.drawMajorGridLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MAJOR_GRID_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMinorGridLines",{get:function(){return this.drawMinorGridLinesProperty},set:function(e){this.drawMinorGridLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MINOR_GRID_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMajorTickLines",{get:function(){return this.drawMajorTickLinesProperty},set:function(e){this.drawMajorTickLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MAJOR_TICK_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMinorTickLines",{get:function(){return this.drawMinorTickLinesProperty},set:function(e){this.drawMinorTickLinesProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MINOR_TICK_LINES)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawMajorBands",{get:function(){return this.drawMajorBandsProperty},set:function(e){this.drawMajorBandsProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_MAJOR_BANDS)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"drawLabels",{get:function(){return this.drawLabelsProperty},set:function(e){this.drawLabelsProperty=e,this.notifyPropertyChanged(i.PROPERTY.DRAW_LABELS)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"flippedCoordinates",{get:function(){return this.flippedCoordinatesProperty},set:function(e){this.flippedCoordinatesProperty!==e&&(this.flippedCoordinatesProperty=e,this.clearCoordCalcCache(),this.notifyPropertyChanged(i.PROPERTY.FLIPPED_COORDINATES))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axisBandsFill",{get:function(){return this.axisBandsFillProperty},set:function(e){this.axisBandsFillProperty=e,this.notifyPropertyChanged(i.PROPERTY.AXIS_BANDS_FILL)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoRange",{get:function(){return this.autoRangeProperty},set:function(e){this.autoRangeProperty=e,this.notifyPropertyChanged(i.PROPERTY.AUTO_RANGE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"majorTickLineStyle",{get:function(){return this.majorTickLineStyleProperty},set:function(e){this.majorTickLineStyleProperty=n(n({},this.majorTickLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MAJOR_TICK_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorTickLineStyle",{get:function(){return this.minorTickLineStyleProperty},set:function(e){this.minorTickLineStyleProperty=n(n({},this.minorTickLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MINOR_TICK_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"majorGridLineStyle",{get:function(){return this.majorGridLineStyleProperty},set:function(e){this.majorGridLineStyleProperty=n(n({},this.majorGridLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MAJOR_GRID_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minorGridLineStyle",{get:function(){return this.minorGridLineStyleProperty},set:function(e){this.minorGridLineStyleProperty=n(n({},this.minorGridLineStyle),e),this.notifyPropertyChanged(i.PROPERTY.MINOR_GRID_LINE_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dpiAdjustedAxisTitleStyle",{get:function(){return F.DpiHelper.adjustTextStyle(this.axisTitleStyleProperty)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axisTitleStyle",{get:function(){return this.axisTitleStyleProperty},set:function(e){this.axisTitleStyleProperty=n(n({},this.axisTitleStyle),e),this.notifyPropertyChanged(i.PROPERTY.TEXT_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"axisTitle",{get:function(){return this.axisTitleProperty},set:function(e){this.axisTitleProperty=e,this.notifyPropertyChanged(i.PROPERTY.AXIS_TITLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickProvider",{get:function(){return this.tickProviderProperty},set:function(e){var r;(r=this.tickProviderProperty)===null||r===void 0||r.detachedFromAxis(),this.tickProviderProperty=e,this.notifyPropertyChanged(i.PROPERTY.TICK_PROVIDER)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelProvider",{get:function(){return this.labelProviderProperty},set:function(e){var r;(r=this.labelProviderProperty)===null||r===void 0||r.detachedFromAxis(),this.labelProviderProperty=e,this.notifyPropertyChanged(i.PROPERTY.LABEL_PROVIDER)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"deltaCalculator",{get:function(){return this.deltaCalculatorProperty},set:function(e){var r;(r=this.deltaCalculator)===null||r===void 0||r.detachedFromAxis(),this.deltaCalculatorProperty=e,this.notifyPropertyChanged(i.PROPERTY.DELTA_CALCULATOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tickCoordinatesProvider",{get:function(){return this.tickCoordinatesProviderProperty},set:function(e){var r;(r=this.tickCoordinatesProviderProperty)===null||r===void 0||r.detachedFromAxis(),this.tickCoordinatesProviderProperty=e,this.notifyPropertyChanged(i.PROPERTY.TICK_COORDINATES_CALCULATOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxAutoTicks",{get:function(){return this.maxAutoTicksProperty},set:function(e){this.maxAutoTicksProperty=e,this.notifyPropertyChanged(i.PROPERTY.MAX_AUTO_TICKS)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"autoTicks",{get:function(){return this.autoTicksProperty},set:function(e){this.autoTicksProperty=e,this.notifyPropertyChanged(i.PROPERTY.AUTO_TICKS)},enumerable:!1,configurable:!0}),t.prototype.getCurrentCoordinateCalculator=function(){return this.coordCalcCache&&this.coordCalcCache.viewportDimension!==this.getAxisSize()&&this.clearCoordCalcCache(),this.coordCalcCache||(this.coordCalcCache=this.getCurrentCoordinateCalculatorInternal()),this.coordCalcCache},t.prototype.clearCoordCalcCache=function(){this.coordCalcCache=(0,y.deleteSafe)(this.coordCalcCache)},t.prototype.delete=function(){this.deltaCalculator=void 0,this.tickProvider=void 0,this.tickCoordinatesProvider=void 0,this.labelProviderProperty=(0,y.deleteSafe)(this.labelProvider),this.coordCalcCache=(0,y.deleteSafe)(this.coordCalcCache)},t.prototype.isValidRange=function(e){var r=!e||!e.isDefined()||e.min>e.max;return!r},Object.defineProperty(t.prototype,"isVerticalChart",{get:function(){return!1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isHorizontalAxis",{get:function(){return this.isXAxis},enumerable:!1,configurable:!0}),t.prototype.setIsXAxis=function(e){this.isXAxisProperty=e,this.notifyPropertyChanged(i.PROPERTY.IS_XAXIS)},t.prototype.coerceZeroVisibleRange=function(e){return w.Guard.notNull(e,"range"),e.isZero()?e.min===0?new c.NumberRange(-1,1):e.growBy(new c.NumberRange(this.ZeroRangeGrowBy,this.ZeroRangeGrowBy)):e},t.prototype.notifyPropertyChanged=function(e){var r,o,a,d;e===i.PROPERTY.DELTA_CALCULATOR&&((r=this.deltaCalculator)===null||r===void 0||r.attachedToAxis(this)),e===i.PROPERTY.TICK_PROVIDER&&((o=this.tickProvider)===null||o===void 0||o.attachedToAxis(this)),e===i.PROPERTY.LABEL_PROVIDER&&((a=this.labelProvider)===null||a===void 0||a.attachedToAxis(this)),e===i.PROPERTY.TICK_COORDINATES_CALCULATOR&&((d=this.tickCoordinatesProvider)===null||d===void 0||d.attachedToAxis(this)),this.isMeasured&&this.invalidateParentCallback&&this.invalidateParentCallback()},t.prototype.getMaxAutoTicks=function(){return Math.max(1,this.maxAutoTicks)},t})(M.DeletableEntity);return s.__exports.AxisCore=N,s.__exports}exports.__require=oe;
2
2
  //# sourceMappingURL=petal-toolkit.cjs274.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./petal-toolkit.cjs912.js");var u;function _(){if(u)return i.__exports;u=1;var l=i.__exports&&i.__exports.__extends||(function(){var e=function(o,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(a[n]=r[n])},e(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(o,t);function a(){this.constructor=o}o.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}})();Object.defineProperty(i.__exports,"__esModule",{value:!0}),i.__exports.PolarAxisLayoutState=i.__exports.AxisLayoutState=void 0;var s=(function(){function e(){this.axisSize=0,this.additionalLeftSize=0,this.additionalRightSize=0,this.additionalTopSize=0,this.additionalBottomSize=0}return e.prototype.clear=function(){this.axisSize=0,this.additionalLeftSize=0,this.additionalRightSize=0,this.additionalTopSize=0,this.additionalBottomSize=0},e})();i.__exports.AxisLayoutState=s;var c=(function(e){l(o,e);function o(){var t=e!==null&&e.apply(this,arguments)||this;return t.leftScale=-1,t.rightScale=1,t.topScale=1,t.bottomScale=-1,t}return o.prototype.clear=function(){this.leftScale=-1,this.rightScale=1,this.topScale=1,this.bottomScale=-1},o})(s);return i.__exports.PolarAxisLayoutState=c,i.__exports}exports.__require=_;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./petal-toolkit.cjs911.js");var u;function _(){if(u)return i.__exports;u=1;var l=i.__exports&&i.__exports.__extends||(function(){var e=function(o,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,r){a.__proto__=r}||function(a,r){for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(a[n]=r[n])},e(o,t)};return function(o,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(o,t);function a(){this.constructor=o}o.prototype=t===null?Object.create(t):(a.prototype=t.prototype,new a)}})();Object.defineProperty(i.__exports,"__esModule",{value:!0}),i.__exports.PolarAxisLayoutState=i.__exports.AxisLayoutState=void 0;var s=(function(){function e(){this.axisSize=0,this.additionalLeftSize=0,this.additionalRightSize=0,this.additionalTopSize=0,this.additionalBottomSize=0}return e.prototype.clear=function(){this.axisSize=0,this.additionalLeftSize=0,this.additionalRightSize=0,this.additionalTopSize=0,this.additionalBottomSize=0},e})();i.__exports.AxisLayoutState=s;var c=(function(e){l(o,e);function o(){var t=e!==null&&e.apply(this,arguments)||this;return t.leftScale=-1,t.rightScale=1,t.topScale=1,t.bottomScale=-1,t}return o.prototype.clear=function(){this.leftScale=-1,this.rightScale=1,this.topScale=1,this.bottomScale=-1},o})(s);return i.__exports.PolarAxisLayoutState=c,i.__exports}exports.__require=_;
2
2
  //# sourceMappingURL=petal-toolkit.cjs275.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("./petal-toolkit.cjs913.js"),Ze=require("./petal-toolkit.cjs727.js"),Je=require("./petal-toolkit.cjs554.js"),Ke=require("./petal-toolkit.cjs555.js"),Qe=require("./petal-toolkit.cjs569.js"),Ye=require("./petal-toolkit.cjs571.js"),ke=require("./petal-toolkit.cjs586.js"),$e=require("./petal-toolkit.cjs604.js"),et=require("./petal-toolkit.cjs627.js"),tt=require("./petal-toolkit.cjs657.js"),rt=require("./petal-toolkit.cjs662.js"),it=require("./petal-toolkit.cjs111.js"),nt=require("./petal-toolkit.cjs307.js"),at=require("./petal-toolkit.cjs313.js"),st=require("./petal-toolkit.cjs241.js"),ot=require("./petal-toolkit.cjs492.js"),ut=require("./petal-toolkit.cjs493.js");var De;function ht(){return De||(De=1,(function(X){var Se=U.__exports&&U.__exports.__extends||(function(){var T=function(a,t){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},T(a,t)};return function(a,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");T(a,t);function e(){this.constructor=a}a.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),ee=U.__exports&&U.__exports.__assign||function(){return ee=Object.assign||function(T){for(var a,t=1,e=arguments.length;t<e;t++){a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(T[r]=a[r])}return T},ee.apply(this,arguments)};Object.defineProperty(X,"__esModule",{value:!0}),X.layoutLabelsHelper=X.AxisRenderer=void 0;var ge=Ze.__require(),Oe=Je.__require(),Pe=Ke.__require(),Q=Qe.__require(),We=Ye.__require(),x=ke.__require(),Z=$e.__require(),ze=et.__require(),de=tt.__require(),le=rt.__require(),Ne=it.__require(),je=nt.__require(),J=at.__require(),xe=st.__require(),ye=ot.__require(),Be=ut.__require(),Ve=(function(T){Se(a,T);function a(t){var e=T.call(this)||this;return e.viewRect=Q.Rect.createZero(),e.drawDebug=!1,e.desiredLabelsSize=0,e.desiredTicksSize=0,e.desiredHeightProperty=0,e.desiredWidthProperty=0,e.axisThicknessProperty=0,e.keepLabelsWithinAxisProperty=!0,e.hideOverlappingLabelsProperty=!0,e.webAssemblyContext=t,e.textureManager=new Be.TextureManager(t),ge.IS_TEST_ENV||(e.measureTextCanvas=document.createElement("canvas"),e.measureTextCanvas.width=1,e.measureTextCanvas.height=1),e}return a.prototype.delete=function(){this.webAssemblyContext=void 0,this.measureTextCanvas=void 0,this.parentAxis=void 0,this.textureManager=(0,Pe.deleteSafe)(this.textureManager)},a.prototype.attachedToAxis=function(t){this.parentAxis=t},a.prototype.measure=function(t,e,r,i,h,v,n){xe.DebugForDpi&&console.log("AxisRenderer.measure. fontSize: ".concat(e.fontSize)),this.desiredLabelsSize=v?this.calcDesiredLabelsSize(t,h,e,r):0,this.desiredTicksSize=n?i:0;var o=Math.max(this.desiredLabelsSize,this.axisThicknessProperty*ye.DpiHelper.PIXEL_RATIO),c=o+this.desiredTicksSize;t?this.desiredHeightProperty=c:this.desiredWidthProperty=c},a.prototype.calcDesiredLabelsSize=function(t,e,r,i){if(ge.IS_TEST_ENV)return 0;var h,v=this.measureTextCanvas.getContext("2d");return t?h=e.getMaxLabelHeightForHorizontalAxis(i,v,r):h=e.getMaxLabelWidthForVerticalAxis(i,v,r),h},Object.defineProperty(a.prototype,"desiredHeight",{get:function(){return this.desiredHeightProperty},set:function(t){this.desiredHeightProperty=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"desiredWidth",{get:function(){return this.desiredWidthProperty},set:function(t){this.desiredWidthProperty=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"keepLabelsWithinAxis",{get:function(){return this.keepLabelsWithinAxisProperty},set:function(t){this.keepLabelsWithinAxisProperty=t,this.invalidateParent()},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"hideOverlappingLabels",{get:function(){return this.hideOverlappingLabelsProperty},set:function(t){this.hideOverlappingLabelsProperty=t,this.invalidateParent()},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisThickness",{get:function(){return this.axisThicknessProperty},set:function(t){this.axisThicknessProperty=t,this.invalidateParent()},enumerable:!1,configurable:!0}),a.prototype.layout=function(t){this.viewRect=t},a.prototype.getClipRect=function(){return this.parentAxis.parentSurface.clipRect},a.prototype.drawLabels=function(t,e,r,i,h,v,n,o,c,s){xe.DebugForDpi&&console.log("AxisRenderer.drawLabels. fontSize: ".concat(n.fontSize));var R=this,f=R.viewRect,g=R.textureManager,w=t.getNativeContext(),A=o?(0,x.getIsHorizontal)(e):(0,x.getIsVertical)(e),y=Math.floor(f.width),p=Math.floor(f.height),u=this.desiredTicksSize,l,d=n.padding,K=n.alignment,_=n.multilineAlignment;A&&(h=h.reverse(),i=i.reverse());var re=[],me=(0,le.parseColorToUIntArgb)(n.color),b=s.useNativeText?t.getFont(n,s.rotation!==0):null,C=s.useNativeText?(0,J.getTextBounds)(this.webAssemblyContext):null;b||(l=g.getTextureContext(y,p));var Y=s.rotation;Y>90?Y-=180:Y<-90&&(Y+=180);var k=-(Y*Math.PI)/180;h=h.map(function(G){return G-v});var Ae=(0,ze.convertMultiLineAlignment)(_,this.webAssemblyContext),we=s.lineSpacing,te=0;if(b){b.CalculateStringBounds("Ag",C,0);var _e=C.GetLineBounds(0);te=_e.m_fHeight,_e.delete()}var Re=this.getClipRect();if((0,x.getIsHorizontal)(e)){var E=[],H=[];if(!s.useCache&&s.useNativeText)for(var ie=0,Te=i;ie<Te.length;ie++){var W=Te[ie];b.CalculateStringBounds(W??"",C,2),E.push(C.m_fHeight+n.padding.top+n.padding.bottom),H.push(C.m_fWidth+n.padding.left+n.padding.right)}else E=i.map(function(G){return s.getLabelHeight(l,G,n)}),H=i.map(function(G){return s.getLabelWidth(l,G,n)});for(var Le=this.layoutLabels(y,h,H,c,d==null?void 0:d.top,d==null?void 0:d.bottom),ne=Le.labelCoords,L=Le.labelIndexes,m=0;m<L.length;m++){var M=ne[m],D=i[L[m]],S=E[L[m]],O=H[L[m]],q=0;e===x.EAxisAlignment.Bottom&&!r||e===x.EAxisAlignment.Top&&r?q+=u:q+=p-S-u,this.drawDebug&&re.push(Q.Rect.create(M,q,O,S));try{if(b){var P=M+f.left+d.left,$=q+f.top+te+d.top,be=P,Ie=$-te;if(k!==0){var Me=s.getNativeLabelInfo(D),Ge=Me.textWidth,Ue=Me.textHeight;P=h[L[m]]+f.left-Ue*Math.sin(k)/2,be=P,k>0&&(P-=Ge)}var z=s.adjustLabel(m,D,O,S,P,$,be,Ie,k),N=z.text,j=z.x,B=z.y,ae=z.rx,se=z.ry,oe=z.rotationRadians,V=z.color;b.DrawStringAdvanced(N??"",V??me,Math.round(j),Math.round(B),(0,J.getVector4)(this.webAssemblyContext,ae,se,oe,0),Ae,we)}else{var ue=s.getCachedLabelTexture(D,g,n),F=ue.bitmapTexture,he=ue.textureHeight,fe=ue.textureWidth;if(F){t.EnsureContextTransform(0,0,Re);var qe=s.adjustLabel(m,D,O,S,M+f.left,q+f.top,0,0,0),j=qe.x,B=qe.y;w.DrawTexture(F,Math.round(j),Math.round(B),fe,he),s.useCache||F.delete()}}}catch(G){de.Logger.debug(G),s.delete()}}}else{var E=[],H=[];if(!s.useCache&&s.useNativeText)for(var pe=0,Ce=i;pe<Ce.length;pe++){var W=Ce[pe];b.CalculateStringBounds(W??"",C,2),E.push(C.m_fHeight+n.padding.top+n.padding.bottom),H.push(C.m_fWidth+n.padding.left+n.padding.right)}else E=i.map(function(ce){return s.getLabelHeight(l,ce,n)}),H=i.map(function(ce){return s.getLabelWidth(l,ce,n)});for(var Ee=this.layoutLabels(p,h,E,c,d==null?void 0:d.left,d==null?void 0:d.right),ne=Ee.labelCoords,L=Ee.labelIndexes,m=0;m<L.length;m++){var M=0,D=i[L[m]],O=H[L[m]],S=E[L[m]];M=this.adjustForLabelAlignment(M,O,K,e,r,y,u);var q=ne[m];this.drawDebug&&re.push(Q.Rect.create(M,q,O,S));try{if(b){var P=M+f.left+d.left,$=q+f.top+te+d.top,I=s.adjustLabel(m,D,O,S,P,$,P,$,k),N=I.text,j=I.x,B=I.y,ae=I.rx,se=I.ry,oe=I.rotationRadians,V=I.color;b.DrawStringAdvanced(N??"",V??me,Math.round(j),Math.round(B),(0,J.getVector4)(this.webAssemblyContext,ae,se,oe,0),Ae,we)}else{var ve=s.getCachedLabelTexture(D,g,n),F=ve.bitmapTexture,he=ve.textureHeight,fe=ve.textureWidth;if(F){t.EnsureContextTransform(0,0,Re);var He=s.adjustLabel(m,D,O,S,M+f.left,q+f.top,0,0,0),j=He.x,B=He.y;w.DrawTexture(F,Math.round(j),Math.round(B),fe,he),s.useCache||F.delete()}}}catch(Xe){de.Logger.debug(Xe),s.delete()}}}this.drawDebug&&this.drawLabelViewRects(t,f,re)},a.prototype.adjustForLabelAlignment=function(t,e,r,i,h,v,n){var o=v-n-e;return i===x.EAxisAlignment.Left&&!h||i===x.EAxisAlignment.Right&&h?r===Z.ELabelAlignment.Right||r===Z.ELabelAlignment.Auto?t+=o:r===Z.ELabelAlignment.Center&&(t+=o/2):r===Z.ELabelAlignment.Left||r===Z.ELabelAlignment.Auto?t+=n:r===Z.ELabelAlignment.Center?t+=n+o/2:t+=v-e,t},a.prototype.layoutLabels=function(t,e,r,i,h,v){return(0,X.layoutLabelsHelper)(this.keepLabelsWithinAxis,this.hideOverlappingLabels,t,e,r,i)},a.prototype.drawTicks=function(t,e,r,i,h,v,n){if(!(!i||i.length===0)){var o=this.viewRect,c=n.tickSize,s=(0,J.getVectorColorVertex)(this.webAssemblyContext),R=(0,x.getIsHorizontal)(e),f=(0,J.getVertex)(this.webAssemblyContext,0,0);if(R!==void 0){i.forEach(function(A){var y,p,u,l;r?R?(y=A,p=A,u=e===x.EAxisAlignment.Top?0:o.height,l=e===x.EAxisAlignment.Top?c:o.height-c):(y=e===x.EAxisAlignment.Left?0:o.width,p=e===x.EAxisAlignment.Left?c:o.width-c,u=A,l=A):R?(y=A,p=A,u=e===x.EAxisAlignment.Bottom?0:o.height,l=e===x.EAxisAlignment.Bottom?c:o.height-c):(y=e===x.EAxisAlignment.Right?0:o.width,p=e===x.EAxisAlignment.Right?c:o.width-c,u=A,l=A),f.SetPosition(y,u),s.push_back(f),f.SetPosition(p,l),s.push_back(f)});var g=o.left-(R?h:0),w=o.top-(R?0:h);t.drawLinesNative(s,v,Ne.ELineDrawMode.DiscontinuousLine,this.getClipRect(),g,w)}}},a.prototype.drawModifiersAxisLabel=function(t,e,r,i,h,v){if(e){var n=this.parentAxis.parentSurface,o=Q.Rect.intersect(n.viewRect,n.clipRect);t.EnsureContextTransform(0,0,o);var c=t.getNativeContext(),s=this.textureManager.createSimpleTextTexture(e,ee(ee({},h),{padding:new We.Thickness(2,2,2,2)}),v),R=s.bitmapTexture,f=s.textureHeight,g=s.textureWidth,w={height:n.domCanvas2D.height,width:n.domCanvas2D.width},A=function(l,d,K,_){return l+d<_/2?0:l+d>K-_/2?K-_:l+d-_/2},y=this.parentAxis.offset,p,u;return i===x.EAxisAlignment.Bottom?(p=A(this.viewRect.x-y,r,w.width,g),u=this.viewRect.y,w.height-u<f&&(u=w.height-f)):i===x.EAxisAlignment.Top?(p=A(this.viewRect.x-y,r,w.width,g),u=this.viewRect.y+this.viewRect.height-f,this.parentAxis.axisLayoutState.axisSize-this.viewRect.y<f&&(u=0)):i===x.EAxisAlignment.Left?(p=this.viewRect.x+this.viewRect.width-g,u=A(this.viewRect.y-y,r,w.height,f),this.parentAxis.axisLayoutState.axisSize+this.viewRect.x<g&&(p=0)):i===x.EAxisAlignment.Right&&(p=this.viewRect.x,u=A(this.viewRect.y-y,r,w.height,f),w.width-p<g&&(p=w.width-g)),c.DrawTexture(R,Math.round(p),Math.round(u),g,f),R.delete(),new Q.Rect(p,u,g,f)}},a.prototype.createAxisMarker=function(t,e,r,i,h){var v=r.fontStyle,n=r.fontWeight,o=r.fontSize,c=r.fontFamily,s=r.color;return this.textureManager.createAxisMarkerTexture(t,e,v,n,o,c,s,2*ye.DpiHelper.PIXEL_RATIO,i,h)},a.prototype.createAxisMarkerFromImage=function(t,e,r){return this.textureManager.createTextureFromImage(t,e,r)},a.prototype.createAnnotationLabelTexture=function(t,e,r,i,h,v){return this.textureManager.createSimpleTextTexture(t,e,r,i,h,v)},a.prototype.invalidateParent=function(){this.parentAxis&&this.parentAxis.invalidateParentCallback&&this.parentAxis.invalidateParentCallback()},a.prototype.drawLabelViewRects=function(t,e,r){for(var i=(0,J.getVectorRectVertex)(this.webAssemblyContext),h=new this.webAssemblyContext.SCRTSolidBrush((0,le.parseColorToUIntArgb)("rgba(30,30,255,0.7)"),!1),v=0,n=r;v<n.length;v++){var o=n[v],c=(0,je.createNativeRect)(this.webAssemblyContext,o.left,o.top,o.right,o.bottom);i.push_back(c)}t.drawRects(i,h,this.getClipRect(),e.left,e.top),h.delete()},a})(Oe.DeletableEntity);X.AxisRenderer=Ve;var Fe=function(T,a,t,e,r,i){for(var h=0,v=[],n=[],o=r.length,c=function(_){return i?e[o-1-_]:e[_]},s=function(_){return i?r[o-1-_]:r[_]},R=function(_){return i?n.push(o-1-_):n.push(_)},f=0,g=0;g<o;g++){var w=g===0,A=g===o-1,y=s(g),p=Math.ceil(y/2),u=c(g),l=0;if(T&&w){u>p?(l=u+p,u=u-p):(u=0,l=u+y);var d=c(1),K=s(1)/2;if(a&&l>=d-K-h)continue}else T&&A?u=u+p<t?u-p:t-y:(l=u+p,u-=p);a&&g>0&&u<f+h||(f=l,v.push(u),R(g))}return{labelCoords:v,labelIndexes:n}};X.layoutLabelsHelper=Fe})(U.__exports)),U.__exports}exports.__require=ht;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const U=require("./petal-toolkit.cjs912.js"),Ze=require("./petal-toolkit.cjs726.js"),Je=require("./petal-toolkit.cjs554.js"),Ke=require("./petal-toolkit.cjs555.js"),Qe=require("./petal-toolkit.cjs569.js"),Ye=require("./petal-toolkit.cjs571.js"),ke=require("./petal-toolkit.cjs586.js"),$e=require("./petal-toolkit.cjs604.js"),et=require("./petal-toolkit.cjs627.js"),tt=require("./petal-toolkit.cjs657.js"),rt=require("./petal-toolkit.cjs662.js"),it=require("./petal-toolkit.cjs111.js"),nt=require("./petal-toolkit.cjs307.js"),at=require("./petal-toolkit.cjs313.js"),st=require("./petal-toolkit.cjs241.js"),ot=require("./petal-toolkit.cjs492.js"),ut=require("./petal-toolkit.cjs493.js");var De;function ht(){return De||(De=1,(function(X){var Se=U.__exports&&U.__exports.__extends||(function(){var T=function(a,t){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},T(a,t)};return function(a,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");T(a,t);function e(){this.constructor=a}a.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),ee=U.__exports&&U.__exports.__assign||function(){return ee=Object.assign||function(T){for(var a,t=1,e=arguments.length;t<e;t++){a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(T[r]=a[r])}return T},ee.apply(this,arguments)};Object.defineProperty(X,"__esModule",{value:!0}),X.layoutLabelsHelper=X.AxisRenderer=void 0;var ge=Ze.__require(),Oe=Je.__require(),Pe=Ke.__require(),Q=Qe.__require(),We=Ye.__require(),x=ke.__require(),Z=$e.__require(),ze=et.__require(),de=tt.__require(),le=rt.__require(),Ne=it.__require(),je=nt.__require(),J=at.__require(),xe=st.__require(),ye=ot.__require(),Be=ut.__require(),Ve=(function(T){Se(a,T);function a(t){var e=T.call(this)||this;return e.viewRect=Q.Rect.createZero(),e.drawDebug=!1,e.desiredLabelsSize=0,e.desiredTicksSize=0,e.desiredHeightProperty=0,e.desiredWidthProperty=0,e.axisThicknessProperty=0,e.keepLabelsWithinAxisProperty=!0,e.hideOverlappingLabelsProperty=!0,e.webAssemblyContext=t,e.textureManager=new Be.TextureManager(t),ge.IS_TEST_ENV||(e.measureTextCanvas=document.createElement("canvas"),e.measureTextCanvas.width=1,e.measureTextCanvas.height=1),e}return a.prototype.delete=function(){this.webAssemblyContext=void 0,this.measureTextCanvas=void 0,this.parentAxis=void 0,this.textureManager=(0,Pe.deleteSafe)(this.textureManager)},a.prototype.attachedToAxis=function(t){this.parentAxis=t},a.prototype.measure=function(t,e,r,i,h,v,n){xe.DebugForDpi&&console.log("AxisRenderer.measure. fontSize: ".concat(e.fontSize)),this.desiredLabelsSize=v?this.calcDesiredLabelsSize(t,h,e,r):0,this.desiredTicksSize=n?i:0;var o=Math.max(this.desiredLabelsSize,this.axisThicknessProperty*ye.DpiHelper.PIXEL_RATIO),c=o+this.desiredTicksSize;t?this.desiredHeightProperty=c:this.desiredWidthProperty=c},a.prototype.calcDesiredLabelsSize=function(t,e,r,i){if(ge.IS_TEST_ENV)return 0;var h,v=this.measureTextCanvas.getContext("2d");return t?h=e.getMaxLabelHeightForHorizontalAxis(i,v,r):h=e.getMaxLabelWidthForVerticalAxis(i,v,r),h},Object.defineProperty(a.prototype,"desiredHeight",{get:function(){return this.desiredHeightProperty},set:function(t){this.desiredHeightProperty=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"desiredWidth",{get:function(){return this.desiredWidthProperty},set:function(t){this.desiredWidthProperty=t},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"keepLabelsWithinAxis",{get:function(){return this.keepLabelsWithinAxisProperty},set:function(t){this.keepLabelsWithinAxisProperty=t,this.invalidateParent()},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"hideOverlappingLabels",{get:function(){return this.hideOverlappingLabelsProperty},set:function(t){this.hideOverlappingLabelsProperty=t,this.invalidateParent()},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"axisThickness",{get:function(){return this.axisThicknessProperty},set:function(t){this.axisThicknessProperty=t,this.invalidateParent()},enumerable:!1,configurable:!0}),a.prototype.layout=function(t){this.viewRect=t},a.prototype.getClipRect=function(){return this.parentAxis.parentSurface.clipRect},a.prototype.drawLabels=function(t,e,r,i,h,v,n,o,c,s){xe.DebugForDpi&&console.log("AxisRenderer.drawLabels. fontSize: ".concat(n.fontSize));var R=this,f=R.viewRect,g=R.textureManager,w=t.getNativeContext(),A=o?(0,x.getIsHorizontal)(e):(0,x.getIsVertical)(e),y=Math.floor(f.width),p=Math.floor(f.height),u=this.desiredTicksSize,l,d=n.padding,K=n.alignment,_=n.multilineAlignment;A&&(h=h.reverse(),i=i.reverse());var re=[],me=(0,le.parseColorToUIntArgb)(n.color),b=s.useNativeText?t.getFont(n,s.rotation!==0):null,C=s.useNativeText?(0,J.getTextBounds)(this.webAssemblyContext):null;b||(l=g.getTextureContext(y,p));var Y=s.rotation;Y>90?Y-=180:Y<-90&&(Y+=180);var k=-(Y*Math.PI)/180;h=h.map(function(G){return G-v});var Ae=(0,ze.convertMultiLineAlignment)(_,this.webAssemblyContext),we=s.lineSpacing,te=0;if(b){b.CalculateStringBounds("Ag",C,0);var _e=C.GetLineBounds(0);te=_e.m_fHeight,_e.delete()}var Re=this.getClipRect();if((0,x.getIsHorizontal)(e)){var E=[],H=[];if(!s.useCache&&s.useNativeText)for(var ie=0,Te=i;ie<Te.length;ie++){var W=Te[ie];b.CalculateStringBounds(W??"",C,2),E.push(C.m_fHeight+n.padding.top+n.padding.bottom),H.push(C.m_fWidth+n.padding.left+n.padding.right)}else E=i.map(function(G){return s.getLabelHeight(l,G,n)}),H=i.map(function(G){return s.getLabelWidth(l,G,n)});for(var Le=this.layoutLabels(y,h,H,c,d==null?void 0:d.top,d==null?void 0:d.bottom),ne=Le.labelCoords,L=Le.labelIndexes,m=0;m<L.length;m++){var M=ne[m],D=i[L[m]],S=E[L[m]],O=H[L[m]],q=0;e===x.EAxisAlignment.Bottom&&!r||e===x.EAxisAlignment.Top&&r?q+=u:q+=p-S-u,this.drawDebug&&re.push(Q.Rect.create(M,q,O,S));try{if(b){var P=M+f.left+d.left,$=q+f.top+te+d.top,be=P,Ie=$-te;if(k!==0){var Me=s.getNativeLabelInfo(D),Ge=Me.textWidth,Ue=Me.textHeight;P=h[L[m]]+f.left-Ue*Math.sin(k)/2,be=P,k>0&&(P-=Ge)}var z=s.adjustLabel(m,D,O,S,P,$,be,Ie,k),N=z.text,j=z.x,B=z.y,ae=z.rx,se=z.ry,oe=z.rotationRadians,V=z.color;b.DrawStringAdvanced(N??"",V??me,Math.round(j),Math.round(B),(0,J.getVector4)(this.webAssemblyContext,ae,se,oe,0),Ae,we)}else{var ue=s.getCachedLabelTexture(D,g,n),F=ue.bitmapTexture,he=ue.textureHeight,fe=ue.textureWidth;if(F){t.EnsureContextTransform(0,0,Re);var qe=s.adjustLabel(m,D,O,S,M+f.left,q+f.top,0,0,0),j=qe.x,B=qe.y;w.DrawTexture(F,Math.round(j),Math.round(B),fe,he),s.useCache||F.delete()}}}catch(G){de.Logger.debug(G),s.delete()}}}else{var E=[],H=[];if(!s.useCache&&s.useNativeText)for(var pe=0,Ce=i;pe<Ce.length;pe++){var W=Ce[pe];b.CalculateStringBounds(W??"",C,2),E.push(C.m_fHeight+n.padding.top+n.padding.bottom),H.push(C.m_fWidth+n.padding.left+n.padding.right)}else E=i.map(function(ce){return s.getLabelHeight(l,ce,n)}),H=i.map(function(ce){return s.getLabelWidth(l,ce,n)});for(var Ee=this.layoutLabels(p,h,E,c,d==null?void 0:d.left,d==null?void 0:d.right),ne=Ee.labelCoords,L=Ee.labelIndexes,m=0;m<L.length;m++){var M=0,D=i[L[m]],O=H[L[m]],S=E[L[m]];M=this.adjustForLabelAlignment(M,O,K,e,r,y,u);var q=ne[m];this.drawDebug&&re.push(Q.Rect.create(M,q,O,S));try{if(b){var P=M+f.left+d.left,$=q+f.top+te+d.top,I=s.adjustLabel(m,D,O,S,P,$,P,$,k),N=I.text,j=I.x,B=I.y,ae=I.rx,se=I.ry,oe=I.rotationRadians,V=I.color;b.DrawStringAdvanced(N??"",V??me,Math.round(j),Math.round(B),(0,J.getVector4)(this.webAssemblyContext,ae,se,oe,0),Ae,we)}else{var ve=s.getCachedLabelTexture(D,g,n),F=ve.bitmapTexture,he=ve.textureHeight,fe=ve.textureWidth;if(F){t.EnsureContextTransform(0,0,Re);var He=s.adjustLabel(m,D,O,S,M+f.left,q+f.top,0,0,0),j=He.x,B=He.y;w.DrawTexture(F,Math.round(j),Math.round(B),fe,he),s.useCache||F.delete()}}}catch(Xe){de.Logger.debug(Xe),s.delete()}}}this.drawDebug&&this.drawLabelViewRects(t,f,re)},a.prototype.adjustForLabelAlignment=function(t,e,r,i,h,v,n){var o=v-n-e;return i===x.EAxisAlignment.Left&&!h||i===x.EAxisAlignment.Right&&h?r===Z.ELabelAlignment.Right||r===Z.ELabelAlignment.Auto?t+=o:r===Z.ELabelAlignment.Center&&(t+=o/2):r===Z.ELabelAlignment.Left||r===Z.ELabelAlignment.Auto?t+=n:r===Z.ELabelAlignment.Center?t+=n+o/2:t+=v-e,t},a.prototype.layoutLabels=function(t,e,r,i,h,v){return(0,X.layoutLabelsHelper)(this.keepLabelsWithinAxis,this.hideOverlappingLabels,t,e,r,i)},a.prototype.drawTicks=function(t,e,r,i,h,v,n){if(!(!i||i.length===0)){var o=this.viewRect,c=n.tickSize,s=(0,J.getVectorColorVertex)(this.webAssemblyContext),R=(0,x.getIsHorizontal)(e),f=(0,J.getVertex)(this.webAssemblyContext,0,0);if(R!==void 0){i.forEach(function(A){var y,p,u,l;r?R?(y=A,p=A,u=e===x.EAxisAlignment.Top?0:o.height,l=e===x.EAxisAlignment.Top?c:o.height-c):(y=e===x.EAxisAlignment.Left?0:o.width,p=e===x.EAxisAlignment.Left?c:o.width-c,u=A,l=A):R?(y=A,p=A,u=e===x.EAxisAlignment.Bottom?0:o.height,l=e===x.EAxisAlignment.Bottom?c:o.height-c):(y=e===x.EAxisAlignment.Right?0:o.width,p=e===x.EAxisAlignment.Right?c:o.width-c,u=A,l=A),f.SetPosition(y,u),s.push_back(f),f.SetPosition(p,l),s.push_back(f)});var g=o.left-(R?h:0),w=o.top-(R?0:h);t.drawLinesNative(s,v,Ne.ELineDrawMode.DiscontinuousLine,this.getClipRect(),g,w)}}},a.prototype.drawModifiersAxisLabel=function(t,e,r,i,h,v){if(e){var n=this.parentAxis.parentSurface,o=Q.Rect.intersect(n.viewRect,n.clipRect);t.EnsureContextTransform(0,0,o);var c=t.getNativeContext(),s=this.textureManager.createSimpleTextTexture(e,ee(ee({},h),{padding:new We.Thickness(2,2,2,2)}),v),R=s.bitmapTexture,f=s.textureHeight,g=s.textureWidth,w={height:n.domCanvas2D.height,width:n.domCanvas2D.width},A=function(l,d,K,_){return l+d<_/2?0:l+d>K-_/2?K-_:l+d-_/2},y=this.parentAxis.offset,p,u;return i===x.EAxisAlignment.Bottom?(p=A(this.viewRect.x-y,r,w.width,g),u=this.viewRect.y,w.height-u<f&&(u=w.height-f)):i===x.EAxisAlignment.Top?(p=A(this.viewRect.x-y,r,w.width,g),u=this.viewRect.y+this.viewRect.height-f,this.parentAxis.axisLayoutState.axisSize-this.viewRect.y<f&&(u=0)):i===x.EAxisAlignment.Left?(p=this.viewRect.x+this.viewRect.width-g,u=A(this.viewRect.y-y,r,w.height,f),this.parentAxis.axisLayoutState.axisSize+this.viewRect.x<g&&(p=0)):i===x.EAxisAlignment.Right&&(p=this.viewRect.x,u=A(this.viewRect.y-y,r,w.height,f),w.width-p<g&&(p=w.width-g)),c.DrawTexture(R,Math.round(p),Math.round(u),g,f),R.delete(),new Q.Rect(p,u,g,f)}},a.prototype.createAxisMarker=function(t,e,r,i,h){var v=r.fontStyle,n=r.fontWeight,o=r.fontSize,c=r.fontFamily,s=r.color;return this.textureManager.createAxisMarkerTexture(t,e,v,n,o,c,s,2*ye.DpiHelper.PIXEL_RATIO,i,h)},a.prototype.createAxisMarkerFromImage=function(t,e,r){return this.textureManager.createTextureFromImage(t,e,r)},a.prototype.createAnnotationLabelTexture=function(t,e,r,i,h,v){return this.textureManager.createSimpleTextTexture(t,e,r,i,h,v)},a.prototype.invalidateParent=function(){this.parentAxis&&this.parentAxis.invalidateParentCallback&&this.parentAxis.invalidateParentCallback()},a.prototype.drawLabelViewRects=function(t,e,r){for(var i=(0,J.getVectorRectVertex)(this.webAssemblyContext),h=new this.webAssemblyContext.SCRTSolidBrush((0,le.parseColorToUIntArgb)("rgba(30,30,255,0.7)"),!1),v=0,n=r;v<n.length;v++){var o=n[v],c=(0,je.createNativeRect)(this.webAssemblyContext,o.left,o.top,o.right,o.bottom);i.push_back(c)}t.drawRects(i,h,this.getClipRect(),e.left,e.top),h.delete()},a})(Oe.DeletableEntity);X.AxisRenderer=Ve;var Fe=function(T,a,t,e,r,i){for(var h=0,v=[],n=[],o=r.length,c=function(_){return i?e[o-1-_]:e[_]},s=function(_){return i?r[o-1-_]:r[_]},R=function(_){return i?n.push(o-1-_):n.push(_)},f=0,g=0;g<o;g++){var w=g===0,A=g===o-1,y=s(g),p=Math.ceil(y/2),u=c(g),l=0;if(T&&w){u>p?(l=u+p,u=u-p):(u=0,l=u+y);var d=c(1),K=s(1)/2;if(a&&l>=d-K-h)continue}else T&&A?u=u+p<t?u-p:t-y:(l=u+p,u-=p);a&&g>0&&u<f+h||(f=l,v.push(u),R(g))}return{labelCoords:v,labelIndexes:n}};X.layoutLabelsHelper=Fe})(U.__exports)),U.__exports}exports.__require=ht;
2
2
  //# sourceMappingURL=petal-toolkit.cjs276.js.map
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./petal-toolkit.cjs914.js"),P=require("./petal-toolkit.cjs571.js"),m=require("./petal-toolkit.cjs604.js"),A=require("./petal-toolkit.cjs628.js"),N=require("./petal-toolkit.cjs224.js");var p;function R(){if(p)return s.__exports;p=1;var d=s.__exports&&s.__exports.__extends||(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();Object.defineProperty(s.__exports,"__esModule",{value:!0}),s.__exports.AxisTitleRenderer=void 0;var f=P.__require(),v=m.__require(),a=A.__require(),c=N.__require(),x=(function(i){d(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.lineSpacing=1.1,e}return t.prototype.measure=function(e,r,n){var o;e===void 0&&(e=""),this.text=e;var u=(o=r.useNativeText)!==null&&o!==void 0?o:this.useNativeText,l=!this.useCache||!this.texture&&!u||this.text!==this.previousText||this.lineSpacing!==this.previousLineSpacing||n!==this.previousAxisAlignment||this.previousNativeTextMode!==u||!T(r,this.textStyle);if(this.currentNativeFontName==="SCRT_Loading"){var _=(0,a.getIsHorizontalPlacement)(this.titlePosition),h=this.parentSurface.currentWebGlRenderContext,y=h.getFont(this.textStyle,!_);y.GetFaceName()!==this.currentNativeFontName&&(l=!0)}if(l){this.invalidateCache(),this.previousLineSpacing=this.lineSpacing,this.previousNativeTextMode=u,this.previousAxisAlignment=n,this.previousText=e,this.textStyle=r,this.titlePosition=a.ETitlePosition[n],this.textStyle=r,this.textStyle.lineSpacing=this.lineSpacing;var S=this.useNativeTextProperty;this.useNativeTextProperty=u;var h=this.parentSurface.currentWebGlRenderContext;this.getTextSize(e,this.textStyle,h),this.useNativeTextProperty=S}},Object.defineProperty(t.prototype,"useNativeText",{get:function(){return this.useNativeTextProperty},set:function(e){this.useNativeTextProperty=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"desiredHeight",{get:function(){return this.desiredHeightProperty},set:function(e){this.desiredWidthProperty!==e&&this.invalidateCache(),this.desiredHeightProperty=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"desiredWidth",{get:function(){return this.desiredWidthProperty},set:function(e){this.desiredWidthProperty!==e&&this.invalidateCache(),this.desiredWidthProperty=e},enumerable:!1,configurable:!0}),t.prototype.layout=function(e){if(!this.text){this.viewRectProperty=e;return}var r=g(this.textStyle.alignment);this.viewRectProperty=this.getViewRect(this.text,e,this.titlePosition,r)},t.prototype.getTitleTexture=function(){var e=this.titlePosition,r=(0,c.getAdjustedRotation)(this.textStyle.rotation,e),n=Array.isArray(this.text)?this.text:this.text.split(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./petal-toolkit.cjs913.js"),P=require("./petal-toolkit.cjs571.js"),m=require("./petal-toolkit.cjs604.js"),A=require("./petal-toolkit.cjs628.js"),N=require("./petal-toolkit.cjs224.js");var p;function R(){if(p)return s.__exports;p=1;var d=s.__exports&&s.__exports.__extends||(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(r[o]=n[o])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();Object.defineProperty(s.__exports,"__esModule",{value:!0}),s.__exports.AxisTitleRenderer=void 0;var f=P.__require(),v=m.__require(),a=A.__require(),c=N.__require(),x=(function(i){d(t,i);function t(){var e=i!==null&&i.apply(this,arguments)||this;return e.lineSpacing=1.1,e}return t.prototype.measure=function(e,r,n){var o;e===void 0&&(e=""),this.text=e;var u=(o=r.useNativeText)!==null&&o!==void 0?o:this.useNativeText,l=!this.useCache||!this.texture&&!u||this.text!==this.previousText||this.lineSpacing!==this.previousLineSpacing||n!==this.previousAxisAlignment||this.previousNativeTextMode!==u||!T(r,this.textStyle);if(this.currentNativeFontName==="SCRT_Loading"){var _=(0,a.getIsHorizontalPlacement)(this.titlePosition),h=this.parentSurface.currentWebGlRenderContext,y=h.getFont(this.textStyle,!_);y.GetFaceName()!==this.currentNativeFontName&&(l=!0)}if(l){this.invalidateCache(),this.previousLineSpacing=this.lineSpacing,this.previousNativeTextMode=u,this.previousAxisAlignment=n,this.previousText=e,this.textStyle=r,this.titlePosition=a.ETitlePosition[n],this.textStyle=r,this.textStyle.lineSpacing=this.lineSpacing;var S=this.useNativeTextProperty;this.useNativeTextProperty=u;var h=this.parentSurface.currentWebGlRenderContext;this.getTextSize(e,this.textStyle,h),this.useNativeTextProperty=S}},Object.defineProperty(t.prototype,"useNativeText",{get:function(){return this.useNativeTextProperty},set:function(e){this.useNativeTextProperty=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"desiredHeight",{get:function(){return this.desiredHeightProperty},set:function(e){this.desiredWidthProperty!==e&&this.invalidateCache(),this.desiredHeightProperty=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"desiredWidth",{get:function(){return this.desiredWidthProperty},set:function(e){this.desiredWidthProperty!==e&&this.invalidateCache(),this.desiredWidthProperty=e},enumerable:!1,configurable:!0}),t.prototype.layout=function(e){if(!this.text){this.viewRectProperty=e;return}var r=g(this.textStyle.alignment);this.viewRectProperty=this.getViewRect(this.text,e,this.titlePosition,r)},t.prototype.getTitleTexture=function(){var e=this.titlePosition,r=(0,c.getAdjustedRotation)(this.textStyle.rotation,e),n=Array.isArray(this.text)?this.text:this.text.split(`
2
2
  `),o=this.textureManager.createTextTexture(n,this.textStyle,r,this.lineSpacing);return o},t.prototype.draw=function(e){var r;this.drawDebug&&this.drawTitleDebugViewRect(e);var n=(r=this.textStyle.useNativeText)!==null&&r!==void 0?r:this.useNativeText;return this.drawInternal(e,n,this.titlePosition,this.parentSurface.clipRect)},t.prototype.delete=function(){this.parentSurface=void 0,i.prototype.delete.call(this)},t})(c.TitleRendererBase);s.__exports.AxisTitleRenderer=x;var T=function(i,t){return!i||!t?!1:i.color===t.color&&i.fontFamily===t.fontFamily&&i.fontSize===t.fontSize&&i.fontStyle===t.fontStyle&&i.fontWeight===t.fontWeight&&i.alignment===t.alignment&&i.rotation===t.rotation&&i.multilineAlignment===t.multilineAlignment&&i.useNativeText===t.useNativeText&&(i.padding===void 0&&t.padding===void 0||f.Thickness.areEqual(i.padding,t.padding))},g=function(i){return i===v.ELabelAlignment.Auto?a.ETextAlignment.Center:a.ETextAlignment[i]};return s.__exports}exports.__require=R;
3
3
  //# sourceMappingURL=petal-toolkit.cjs277.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs915.js"),y=require("./petal-toolkit.cjs587.js"),d=require("./petal-toolkit.cjs279.js"),f=require("./petal-toolkit.cjs290.js"),A=require("./petal-toolkit.cjs299.js");var _;function P(){if(_)return o.__exports;_=1;var l=o.__exports&&o.__exports.__extends||(function(){var a=function(i,r){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},a(i,r)};return function(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");a(i,r);function e(){this.constructor=i}i.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}})();Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.CategoryAxis=void 0;var u=y.__require(),s=d.__require(),v=f.__require(),c=A.__require(),x=(function(a){l(i,a);function i(r,e){var t=a.call(this,r,e)||this;return t.type=u.EAxisType.CategoryAxis,e!=null&&e.labelProvider?t.labelProvider=e==null?void 0:e.labelProvider:e!=null&&e.labels?t.labelProvider=new c.TextLabelProvider(e):t.labelProvider=new v.DateLabelProvider(e),t}return i})(s.CategoryAxisBase);return o.__exports.CategoryAxis=x,o.__exports}exports.__require=P;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs914.js"),y=require("./petal-toolkit.cjs587.js"),d=require("./petal-toolkit.cjs279.js"),f=require("./petal-toolkit.cjs290.js"),A=require("./petal-toolkit.cjs299.js");var _;function P(){if(_)return o.__exports;_=1;var l=o.__exports&&o.__exports.__extends||(function(){var a=function(i,r){return a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},a(i,r)};return function(i,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");a(i,r);function e(){this.constructor=i}i.prototype=r===null?Object.create(r):(e.prototype=r.prototype,new e)}})();Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.CategoryAxis=void 0;var u=y.__require(),s=d.__require(),v=f.__require(),c=A.__require(),x=(function(a){l(i,a);function i(r,e){var t=a.call(this,r,e)||this;return t.type=u.EAxisType.CategoryAxis,e!=null&&e.labelProvider?t.labelProvider=e==null?void 0:e.labelProvider:e!=null&&e.labels?t.labelProvider=new c.TextLabelProvider(e):t.labelProvider=new v.DateLabelProvider(e),t}return i})(s.CategoryAxisBase);return o.__exports.CategoryAxis=x,o.__exports}exports.__require=P;
2
2
  //# sourceMappingURL=petal-toolkit.cjs278.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./petal-toolkit.cjs916.js"),b=require("./petal-toolkit.cjs555.js"),A=require("./petal-toolkit.cjs562.js"),m=require("./petal-toolkit.cjs621.js"),P=require("./petal-toolkit.cjs758.js"),D=require("./petal-toolkit.cjs203.js"),S=require("./petal-toolkit.cjs205.js"),B=require("./petal-toolkit.cjs217.js"),q=require("./petal-toolkit.cjs273.js"),w=require("./petal-toolkit.cjs285.js");var d;function O(){if(d)return l.__exports;d=1;var p=l.__exports&&l.__exports.__extends||(function(){var u=function(i,t){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])},u(i,t)};return function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");u(i,t);function e(){this.constructor=i}i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(l.__exports,"__esModule",{value:!0}),l.__exports.CategoryAxisBase=void 0;var f=b.__require(),y=A.__require(),v=m.__require(),c=P.__require(),h=D.__require(),C=S.__require(),_=B.__require(),g=q.__require(),X=w.__require(),x=(function(u){p(i,u);function i(t,e){var a=this,r,o,s;return a=u.call(this,t,e)||this,a.defaultXValuesProperty=[],a.defaultXStartProperty=0,a.defaultXStepProperty=1,a.defaultXValuesProperty=(r=e==null?void 0:e.defaultXValues)!==null&&r!==void 0?r:a.defaultXValuesProperty,a.defaultXStartProperty=(o=e==null?void 0:e.defaultXStart)!==null&&o!==void 0?o:a.defaultXStartProperty,a.defaultXStepProperty=(s=e==null?void 0:e.defaultXStep)!==null&&s!==void 0?s:a.defaultXStepProperty,a.tickProvider=new _.NumericTickProvider(a.webAssemblyContext2D),a.deltaCalculator=new X.CategoryDeltaCalculator(a.webAssemblyContext2D),a.defaultBaseXValues=new a.webAssemblyContext2D.SCRTDoubleVector,a}return Object.defineProperty(i.prototype,"isCategoryAxis",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultXValues",{get:function(){return this.defaultXValuesProperty},set:function(t){this.defaultXValuesProperty=t,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultXStart",{get:function(){return this.defaultXStartProperty},set:function(t){this.defaultXStartProperty=t,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultXStep",{get:function(){return this.defaultXStepProperty},set:function(t){this.defaultXStepProperty=t,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),i.prototype.prepareRenderData=function(){var t=this;(0,f.deleteSafe)(this.coordCalcCache);var e=this.getCurrentCoordinateCalculatorInternal(),a=this.parentSurface,r=a.renderableSeries.asArray().find(function(o){return o.xAxisId===t.id});this.setBaseXValues(e,r),this.coordCalcCache=e},i.prototype.delete=function(){this.defaultBaseXValues=(0,f.deleteSafe)(this.defaultBaseXValues),u.prototype.delete.call(this)},i.prototype.getCurrentCoordinateCalculatorInternal=function(){var t=this,e=this.visibleRange.min,a=this.visibleRange.max,r=this.axisLength,o=this.parentSurface,s=o.renderableSeries.asArray().find(function(V){return V.xAxisId===t.id}),n=this.isXAxis!==this.flippedCoordinates?new h.CategoryCoordinateCalculator(this.webAssemblyContext2D,r,e,a,this.offset):new C.FlippedCategoryCoordinateCalculator(this.webAssemblyContext2D,r,e,a,this.offset);return this.setBaseXValues(n,s),n},i.prototype.getXDataRange=function(){var t;return this.parentSurface&&this.getVisibleRenderableSeriesByXAxis().forEach(function(e){var a=e.getDataSeriesValuesCount(),r=1/2,o=new y.NumberRange(0-r,a-1+r);o&&(t=t?t.union(o):o)}),t},i.prototype.getMaxAutoTicks=function(){var t=this.getCurrentCoordinateCalculator();return Math.min(Math.max(1,this.maxAutoTicks),t.baseXValues.size())},i.prototype.generateDefaultXValuesForCategoryAxis=function(t,e){if(this.defaultBaseXValues.clear(),this.defaultXValues&&this.defaultXValues.length>0)(0,c.appendDoubleVectorFromJsArray)(this.webAssemblyContext2D,this.defaultBaseXValues,this.defaultXValues);else{for(var a=[],r=10,o=0;o<r;o++)a.push(t+o*e);(0,c.appendDoubleVectorFromJsArray)(this.webAssemblyContext2D,this.defaultBaseXValues,a)}return this.defaultBaseXValues},i.prototype.setBaseXValues=function(t,e){if((e==null?void 0:e.type)===v.ESeriesType.UniformHeatmapSeries)throw Error("Category Axis is not supported for UniformHeatmapRenderableSeries");if(e!=null&&e.isCollection){var a=e;if(a.size()===0)throw Error("BaseStackedCollection should have at least one BaseStackedRenderableSeries");var r=a.get(0);if(!(r!=null&&r.dataSeries)){t.baseXValues||(t.baseXValues=this.generateDefaultXValuesForCategoryAxis(this.defaultXStart,this.defaultXStep));return}t.baseXValues=r.dataSeries.getNativeXValues()}else{if(!(e!=null&&e.dataSeries)||e.dataSeries.count()<10){var o=this.defaultXStart,s=this.defaultXStep;if(e!=null&&e.dataSeries&&(e==null?void 0:e.dataSeries.count())>0){var n=e.dataSeries.getNativeXValues();o=n.get(0),e.dataSeries.count()>0&&(s=n.get(1)-n.get(0))}t.baseXValues||(t.baseXValues=this.generateDefaultXValuesForCategoryAxis(o,s));return}t.baseXValues=e.dataSeries.getNativeXValues()}},i})(g.AxisBase2D);return l.__exports.CategoryAxisBase=x,l.__exports}exports.__require=O;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./petal-toolkit.cjs915.js"),b=require("./petal-toolkit.cjs555.js"),A=require("./petal-toolkit.cjs562.js"),m=require("./petal-toolkit.cjs621.js"),P=require("./petal-toolkit.cjs757.js"),D=require("./petal-toolkit.cjs203.js"),S=require("./petal-toolkit.cjs205.js"),B=require("./petal-toolkit.cjs217.js"),q=require("./petal-toolkit.cjs273.js"),w=require("./petal-toolkit.cjs285.js");var d;function O(){if(d)return l.__exports;d=1;var p=l.__exports&&l.__exports.__extends||(function(){var u=function(i,t){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,a){e.__proto__=a}||function(e,a){for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])},u(i,t)};return function(i,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");u(i,t);function e(){this.constructor=i}i.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(l.__exports,"__esModule",{value:!0}),l.__exports.CategoryAxisBase=void 0;var f=b.__require(),y=A.__require(),v=m.__require(),c=P.__require(),h=D.__require(),C=S.__require(),_=B.__require(),g=q.__require(),X=w.__require(),x=(function(u){p(i,u);function i(t,e){var a=this,r,o,s;return a=u.call(this,t,e)||this,a.defaultXValuesProperty=[],a.defaultXStartProperty=0,a.defaultXStepProperty=1,a.defaultXValuesProperty=(r=e==null?void 0:e.defaultXValues)!==null&&r!==void 0?r:a.defaultXValuesProperty,a.defaultXStartProperty=(o=e==null?void 0:e.defaultXStart)!==null&&o!==void 0?o:a.defaultXStartProperty,a.defaultXStepProperty=(s=e==null?void 0:e.defaultXStep)!==null&&s!==void 0?s:a.defaultXStepProperty,a.tickProvider=new _.NumericTickProvider(a.webAssemblyContext2D),a.deltaCalculator=new X.CategoryDeltaCalculator(a.webAssemblyContext2D),a.defaultBaseXValues=new a.webAssemblyContext2D.SCRTDoubleVector,a}return Object.defineProperty(i.prototype,"isCategoryAxis",{get:function(){return!0},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultXValues",{get:function(){return this.defaultXValuesProperty},set:function(t){this.defaultXValuesProperty=t,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultXStart",{get:function(){return this.defaultXStartProperty},set:function(t){this.defaultXStartProperty=t,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"defaultXStep",{get:function(){return this.defaultXStepProperty},set:function(t){this.defaultXStepProperty=t,this.invalidateParentCallback&&this.invalidateParentCallback()},enumerable:!1,configurable:!0}),i.prototype.prepareRenderData=function(){var t=this;(0,f.deleteSafe)(this.coordCalcCache);var e=this.getCurrentCoordinateCalculatorInternal(),a=this.parentSurface,r=a.renderableSeries.asArray().find(function(o){return o.xAxisId===t.id});this.setBaseXValues(e,r),this.coordCalcCache=e},i.prototype.delete=function(){this.defaultBaseXValues=(0,f.deleteSafe)(this.defaultBaseXValues),u.prototype.delete.call(this)},i.prototype.getCurrentCoordinateCalculatorInternal=function(){var t=this,e=this.visibleRange.min,a=this.visibleRange.max,r=this.axisLength,o=this.parentSurface,s=o.renderableSeries.asArray().find(function(V){return V.xAxisId===t.id}),n=this.isXAxis!==this.flippedCoordinates?new h.CategoryCoordinateCalculator(this.webAssemblyContext2D,r,e,a,this.offset):new C.FlippedCategoryCoordinateCalculator(this.webAssemblyContext2D,r,e,a,this.offset);return this.setBaseXValues(n,s),n},i.prototype.getXDataRange=function(){var t;return this.parentSurface&&this.getVisibleRenderableSeriesByXAxis().forEach(function(e){var a=e.getDataSeriesValuesCount(),r=1/2,o=new y.NumberRange(0-r,a-1+r);o&&(t=t?t.union(o):o)}),t},i.prototype.getMaxAutoTicks=function(){var t=this.getCurrentCoordinateCalculator();return Math.min(Math.max(1,this.maxAutoTicks),t.baseXValues.size())},i.prototype.generateDefaultXValuesForCategoryAxis=function(t,e){if(this.defaultBaseXValues.clear(),this.defaultXValues&&this.defaultXValues.length>0)(0,c.appendDoubleVectorFromJsArray)(this.webAssemblyContext2D,this.defaultBaseXValues,this.defaultXValues);else{for(var a=[],r=10,o=0;o<r;o++)a.push(t+o*e);(0,c.appendDoubleVectorFromJsArray)(this.webAssemblyContext2D,this.defaultBaseXValues,a)}return this.defaultBaseXValues},i.prototype.setBaseXValues=function(t,e){if((e==null?void 0:e.type)===v.ESeriesType.UniformHeatmapSeries)throw Error("Category Axis is not supported for UniformHeatmapRenderableSeries");if(e!=null&&e.isCollection){var a=e;if(a.size()===0)throw Error("BaseStackedCollection should have at least one BaseStackedRenderableSeries");var r=a.get(0);if(!(r!=null&&r.dataSeries)){t.baseXValues||(t.baseXValues=this.generateDefaultXValuesForCategoryAxis(this.defaultXStart,this.defaultXStep));return}t.baseXValues=r.dataSeries.getNativeXValues()}else{if(!(e!=null&&e.dataSeries)||e.dataSeries.count()<10){var o=this.defaultXStart,s=this.defaultXStep;if(e!=null&&e.dataSeries&&(e==null?void 0:e.dataSeries.count())>0){var n=e.dataSeries.getNativeXValues();o=n.get(0),e.dataSeries.count()>0&&(s=n.get(1)-n.get(0))}t.baseXValues||(t.baseXValues=this.generateDefaultXValuesForCategoryAxis(o,s));return}t.baseXValues=e.dataSeries.getNativeXValues()}},i})(g.AxisBase2D);return l.__exports.CategoryAxisBase=x,l.__exports}exports.__require=O;
2
2
  //# sourceMappingURL=petal-toolkit.cjs279.js.map