wijmo 5.20252.44-rc → 5.20261.45-nightly.d20251218.t163151

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 (1113) hide show
  1. package/cultures/wijmo.culture.ar-AE.js +1 -1
  2. package/cultures/wijmo.culture.ar-SA.js +1 -1
  3. package/cultures/wijmo.culture.bg.js +1 -1
  4. package/cultures/wijmo.culture.ca.js +1 -1
  5. package/cultures/wijmo.culture.cs.js +1 -1
  6. package/cultures/wijmo.culture.da.js +1 -1
  7. package/cultures/wijmo.culture.de-CH.js +1 -1
  8. package/cultures/wijmo.culture.de.js +1 -1
  9. package/cultures/wijmo.culture.el.js +1 -1
  10. package/cultures/wijmo.culture.en-CA.js +1 -1
  11. package/cultures/wijmo.culture.en-GB.js +1 -1
  12. package/cultures/wijmo.culture.en.js +1 -1
  13. package/cultures/wijmo.culture.es-419.js +1 -1
  14. package/cultures/wijmo.culture.es-MX.js +1 -1
  15. package/cultures/wijmo.culture.es.js +1 -1
  16. package/cultures/wijmo.culture.et.js +1 -1
  17. package/cultures/wijmo.culture.eu.js +1 -1
  18. package/cultures/wijmo.culture.fi.js +1 -1
  19. package/cultures/wijmo.culture.fr-CA.js +1 -1
  20. package/cultures/wijmo.culture.fr.js +1 -1
  21. package/cultures/wijmo.culture.gl.js +1 -1
  22. package/cultures/wijmo.culture.he.js +1 -1
  23. package/cultures/wijmo.culture.hi.js +1 -1
  24. package/cultures/wijmo.culture.hr.js +1 -1
  25. package/cultures/wijmo.culture.hu.js +1 -1
  26. package/cultures/wijmo.culture.id.js +1 -1
  27. package/cultures/wijmo.culture.it.js +1 -1
  28. package/cultures/wijmo.culture.ja.js +1 -1
  29. package/cultures/wijmo.culture.kk.js +1 -1
  30. package/cultures/wijmo.culture.ko.js +1 -1
  31. package/cultures/wijmo.culture.lt.js +1 -1
  32. package/cultures/wijmo.culture.lv.js +1 -1
  33. package/cultures/wijmo.culture.mn-MN.js +1 -1
  34. package/cultures/wijmo.culture.nl.js +1 -1
  35. package/cultures/wijmo.culture.no.js +1 -1
  36. package/cultures/wijmo.culture.pl.js +1 -1
  37. package/cultures/wijmo.culture.pt.js +1 -1
  38. package/cultures/wijmo.culture.ro.js +1 -1
  39. package/cultures/wijmo.culture.ru.js +1 -1
  40. package/cultures/wijmo.culture.sk.js +1 -1
  41. package/cultures/wijmo.culture.sl.js +1 -1
  42. package/cultures/wijmo.culture.sr.js +1 -1
  43. package/cultures/wijmo.culture.sv.js +1 -1
  44. package/cultures/wijmo.culture.th.js +1 -1
  45. package/cultures/wijmo.culture.tr.js +1 -1
  46. package/cultures/wijmo.culture.uk.js +1 -1
  47. package/cultures/wijmo.culture.vi.js +1 -1
  48. package/cultures/wijmo.culture.zh-HK.js +1 -1
  49. package/cultures/wijmo.culture.zh-TW.js +1 -1
  50. package/cultures/wijmo.culture.zh.js +1 -1
  51. package/package.json +1 -1
  52. package/styles/misc/_constants.scss +1 -1
  53. package/styles/misc/_glyphs.scss +1 -1
  54. package/styles/misc/_mixins.scss +1 -1
  55. package/styles/misc/_variables.scss +1 -1
  56. package/styles/parts/_barcode.scss +1 -1
  57. package/styles/parts/_chart.scss +1 -1
  58. package/styles/parts/_chart_finance.scss +1 -1
  59. package/styles/parts/_chart_hierarchical.scss +1 -1
  60. package/styles/parts/_chart_interaction.scss +1 -1
  61. package/styles/parts/_chart_map.scss +1 -1
  62. package/styles/parts/_core.scss +1 -1
  63. package/styles/parts/_gauge.scss +1 -1
  64. package/styles/parts/_grid.scss +1 -1
  65. package/styles/parts/_grid_cellmaker.scss +1 -1
  66. package/styles/parts/_grid_filter.scss +1 -1
  67. package/styles/parts/_grid_grouppanel.scss +1 -1
  68. package/styles/parts/_grid_multirow.scss +1 -1
  69. package/styles/parts/_grid_search.scss +1 -1
  70. package/styles/parts/_grid_selector.scss +1 -1
  71. package/styles/parts/_grid_sheet.scss +1 -1
  72. package/styles/parts/_grid_transposed_multirow.scss +1 -1
  73. package/styles/parts/_input.scss +1 -1
  74. package/styles/parts/_labeled_input.scss +1 -1
  75. package/styles/parts/_nav.scss +1 -1
  76. package/styles/parts/_olap.scss +1 -1
  77. package/styles/parts/_viewer.scss +1 -1
  78. package/styles/themes/material/wijmo.theme.material.amber-blue.css +1 -1
  79. package/styles/themes/material/wijmo.theme.material.amber-blue.scss +1 -1
  80. package/styles/themes/material/wijmo.theme.material.amber-cyan.css +1 -1
  81. package/styles/themes/material/wijmo.theme.material.amber-cyan.scss +1 -1
  82. package/styles/themes/material/wijmo.theme.material.amber-deep_orange.css +1 -1
  83. package/styles/themes/material/wijmo.theme.material.amber-deep_orange.scss +1 -1
  84. package/styles/themes/material/wijmo.theme.material.amber-deep_purple.css +1 -1
  85. package/styles/themes/material/wijmo.theme.material.amber-deep_purple.scss +1 -1
  86. package/styles/themes/material/wijmo.theme.material.amber-green.css +1 -1
  87. package/styles/themes/material/wijmo.theme.material.amber-green.scss +1 -1
  88. package/styles/themes/material/wijmo.theme.material.amber-indigo.css +1 -1
  89. package/styles/themes/material/wijmo.theme.material.amber-indigo.scss +1 -1
  90. package/styles/themes/material/wijmo.theme.material.amber-light_blue.css +1 -1
  91. package/styles/themes/material/wijmo.theme.material.amber-light_blue.scss +1 -1
  92. package/styles/themes/material/wijmo.theme.material.amber-light_green.css +1 -1
  93. package/styles/themes/material/wijmo.theme.material.amber-light_green.scss +1 -1
  94. package/styles/themes/material/wijmo.theme.material.amber-lime.css +1 -1
  95. package/styles/themes/material/wijmo.theme.material.amber-lime.scss +1 -1
  96. package/styles/themes/material/wijmo.theme.material.amber-orange.css +1 -1
  97. package/styles/themes/material/wijmo.theme.material.amber-orange.scss +1 -1
  98. package/styles/themes/material/wijmo.theme.material.amber-pink.css +1 -1
  99. package/styles/themes/material/wijmo.theme.material.amber-pink.scss +1 -1
  100. package/styles/themes/material/wijmo.theme.material.amber-purple.css +1 -1
  101. package/styles/themes/material/wijmo.theme.material.amber-purple.scss +1 -1
  102. package/styles/themes/material/wijmo.theme.material.amber-red.css +1 -1
  103. package/styles/themes/material/wijmo.theme.material.amber-red.scss +1 -1
  104. package/styles/themes/material/wijmo.theme.material.amber-teal.css +1 -1
  105. package/styles/themes/material/wijmo.theme.material.amber-teal.scss +1 -1
  106. package/styles/themes/material/wijmo.theme.material.amber-yellow.css +1 -1
  107. package/styles/themes/material/wijmo.theme.material.amber-yellow.scss +1 -1
  108. package/styles/themes/material/wijmo.theme.material.blue-amber.css +1 -1
  109. package/styles/themes/material/wijmo.theme.material.blue-amber.scss +1 -1
  110. package/styles/themes/material/wijmo.theme.material.blue-cyan.css +1 -1
  111. package/styles/themes/material/wijmo.theme.material.blue-cyan.scss +1 -1
  112. package/styles/themes/material/wijmo.theme.material.blue-deep_orange.css +1 -1
  113. package/styles/themes/material/wijmo.theme.material.blue-deep_orange.scss +1 -1
  114. package/styles/themes/material/wijmo.theme.material.blue-deep_purple.css +1 -1
  115. package/styles/themes/material/wijmo.theme.material.blue-deep_purple.scss +1 -1
  116. package/styles/themes/material/wijmo.theme.material.blue-green.css +1 -1
  117. package/styles/themes/material/wijmo.theme.material.blue-green.scss +1 -1
  118. package/styles/themes/material/wijmo.theme.material.blue-indigo.css +1 -1
  119. package/styles/themes/material/wijmo.theme.material.blue-indigo.scss +1 -1
  120. package/styles/themes/material/wijmo.theme.material.blue-light_blue.css +1 -1
  121. package/styles/themes/material/wijmo.theme.material.blue-light_blue.scss +1 -1
  122. package/styles/themes/material/wijmo.theme.material.blue-light_green.css +1 -1
  123. package/styles/themes/material/wijmo.theme.material.blue-light_green.scss +1 -1
  124. package/styles/themes/material/wijmo.theme.material.blue-lime.css +1 -1
  125. package/styles/themes/material/wijmo.theme.material.blue-lime.scss +1 -1
  126. package/styles/themes/material/wijmo.theme.material.blue-orange.css +1 -1
  127. package/styles/themes/material/wijmo.theme.material.blue-orange.scss +1 -1
  128. package/styles/themes/material/wijmo.theme.material.blue-pink.css +1 -1
  129. package/styles/themes/material/wijmo.theme.material.blue-pink.scss +1 -1
  130. package/styles/themes/material/wijmo.theme.material.blue-purple.css +1 -1
  131. package/styles/themes/material/wijmo.theme.material.blue-purple.scss +1 -1
  132. package/styles/themes/material/wijmo.theme.material.blue-red.css +1 -1
  133. package/styles/themes/material/wijmo.theme.material.blue-red.scss +1 -1
  134. package/styles/themes/material/wijmo.theme.material.blue-teal.css +1 -1
  135. package/styles/themes/material/wijmo.theme.material.blue-teal.scss +1 -1
  136. package/styles/themes/material/wijmo.theme.material.blue-yellow.css +1 -1
  137. package/styles/themes/material/wijmo.theme.material.blue-yellow.scss +1 -1
  138. package/styles/themes/material/wijmo.theme.material.blue_grey-amber.css +1 -1
  139. package/styles/themes/material/wijmo.theme.material.blue_grey-amber.scss +1 -1
  140. package/styles/themes/material/wijmo.theme.material.blue_grey-blue.css +1 -1
  141. package/styles/themes/material/wijmo.theme.material.blue_grey-blue.scss +1 -1
  142. package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.css +1 -1
  143. package/styles/themes/material/wijmo.theme.material.blue_grey-cyan.scss +1 -1
  144. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.css +1 -1
  145. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_orange.scss +1 -1
  146. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.css +1 -1
  147. package/styles/themes/material/wijmo.theme.material.blue_grey-deep_purple.scss +1 -1
  148. package/styles/themes/material/wijmo.theme.material.blue_grey-green.css +1 -1
  149. package/styles/themes/material/wijmo.theme.material.blue_grey-green.scss +1 -1
  150. package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.css +1 -1
  151. package/styles/themes/material/wijmo.theme.material.blue_grey-indigo.scss +1 -1
  152. package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.css +1 -1
  153. package/styles/themes/material/wijmo.theme.material.blue_grey-light_blue.scss +1 -1
  154. package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.css +1 -1
  155. package/styles/themes/material/wijmo.theme.material.blue_grey-light_green.scss +1 -1
  156. package/styles/themes/material/wijmo.theme.material.blue_grey-lime.css +1 -1
  157. package/styles/themes/material/wijmo.theme.material.blue_grey-lime.scss +1 -1
  158. package/styles/themes/material/wijmo.theme.material.blue_grey-orange.css +1 -1
  159. package/styles/themes/material/wijmo.theme.material.blue_grey-orange.scss +1 -1
  160. package/styles/themes/material/wijmo.theme.material.blue_grey-pink.css +1 -1
  161. package/styles/themes/material/wijmo.theme.material.blue_grey-pink.scss +1 -1
  162. package/styles/themes/material/wijmo.theme.material.blue_grey-purple.css +1 -1
  163. package/styles/themes/material/wijmo.theme.material.blue_grey-purple.scss +1 -1
  164. package/styles/themes/material/wijmo.theme.material.blue_grey-red.css +1 -1
  165. package/styles/themes/material/wijmo.theme.material.blue_grey-red.scss +1 -1
  166. package/styles/themes/material/wijmo.theme.material.blue_grey-teal.css +1 -1
  167. package/styles/themes/material/wijmo.theme.material.blue_grey-teal.scss +1 -1
  168. package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.css +1 -1
  169. package/styles/themes/material/wijmo.theme.material.blue_grey-yellow.scss +1 -1
  170. package/styles/themes/material/wijmo.theme.material.brown-amber.css +1 -1
  171. package/styles/themes/material/wijmo.theme.material.brown-amber.scss +1 -1
  172. package/styles/themes/material/wijmo.theme.material.brown-blue.css +1 -1
  173. package/styles/themes/material/wijmo.theme.material.brown-blue.scss +1 -1
  174. package/styles/themes/material/wijmo.theme.material.brown-cyan.css +1 -1
  175. package/styles/themes/material/wijmo.theme.material.brown-cyan.scss +1 -1
  176. package/styles/themes/material/wijmo.theme.material.brown-deep_orange.css +1 -1
  177. package/styles/themes/material/wijmo.theme.material.brown-deep_orange.scss +1 -1
  178. package/styles/themes/material/wijmo.theme.material.brown-deep_purple.css +1 -1
  179. package/styles/themes/material/wijmo.theme.material.brown-deep_purple.scss +1 -1
  180. package/styles/themes/material/wijmo.theme.material.brown-green.css +1 -1
  181. package/styles/themes/material/wijmo.theme.material.brown-green.scss +1 -1
  182. package/styles/themes/material/wijmo.theme.material.brown-indigo.css +1 -1
  183. package/styles/themes/material/wijmo.theme.material.brown-indigo.scss +1 -1
  184. package/styles/themes/material/wijmo.theme.material.brown-light_blue.css +1 -1
  185. package/styles/themes/material/wijmo.theme.material.brown-light_blue.scss +1 -1
  186. package/styles/themes/material/wijmo.theme.material.brown-light_green.css +1 -1
  187. package/styles/themes/material/wijmo.theme.material.brown-light_green.scss +1 -1
  188. package/styles/themes/material/wijmo.theme.material.brown-lime.css +1 -1
  189. package/styles/themes/material/wijmo.theme.material.brown-lime.scss +1 -1
  190. package/styles/themes/material/wijmo.theme.material.brown-orange.css +1 -1
  191. package/styles/themes/material/wijmo.theme.material.brown-orange.scss +1 -1
  192. package/styles/themes/material/wijmo.theme.material.brown-pink.css +1 -1
  193. package/styles/themes/material/wijmo.theme.material.brown-pink.scss +1 -1
  194. package/styles/themes/material/wijmo.theme.material.brown-purple.css +1 -1
  195. package/styles/themes/material/wijmo.theme.material.brown-purple.scss +1 -1
  196. package/styles/themes/material/wijmo.theme.material.brown-red.css +1 -1
  197. package/styles/themes/material/wijmo.theme.material.brown-red.scss +1 -1
  198. package/styles/themes/material/wijmo.theme.material.brown-teal.css +1 -1
  199. package/styles/themes/material/wijmo.theme.material.brown-teal.scss +1 -1
  200. package/styles/themes/material/wijmo.theme.material.brown-yellow.css +1 -1
  201. package/styles/themes/material/wijmo.theme.material.brown-yellow.scss +1 -1
  202. package/styles/themes/material/wijmo.theme.material.cyan-amber.css +1 -1
  203. package/styles/themes/material/wijmo.theme.material.cyan-amber.scss +1 -1
  204. package/styles/themes/material/wijmo.theme.material.cyan-blue.css +1 -1
  205. package/styles/themes/material/wijmo.theme.material.cyan-blue.scss +1 -1
  206. package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.css +1 -1
  207. package/styles/themes/material/wijmo.theme.material.cyan-deep_orange.scss +1 -1
  208. package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.css +1 -1
  209. package/styles/themes/material/wijmo.theme.material.cyan-deep_purple.scss +1 -1
  210. package/styles/themes/material/wijmo.theme.material.cyan-green.css +1 -1
  211. package/styles/themes/material/wijmo.theme.material.cyan-green.scss +1 -1
  212. package/styles/themes/material/wijmo.theme.material.cyan-indigo.css +1 -1
  213. package/styles/themes/material/wijmo.theme.material.cyan-indigo.scss +1 -1
  214. package/styles/themes/material/wijmo.theme.material.cyan-light_blue.css +1 -1
  215. package/styles/themes/material/wijmo.theme.material.cyan-light_blue.scss +1 -1
  216. package/styles/themes/material/wijmo.theme.material.cyan-light_green.css +1 -1
  217. package/styles/themes/material/wijmo.theme.material.cyan-light_green.scss +1 -1
  218. package/styles/themes/material/wijmo.theme.material.cyan-lime.css +1 -1
  219. package/styles/themes/material/wijmo.theme.material.cyan-lime.scss +1 -1
  220. package/styles/themes/material/wijmo.theme.material.cyan-orange.css +1 -1
  221. package/styles/themes/material/wijmo.theme.material.cyan-orange.scss +1 -1
  222. package/styles/themes/material/wijmo.theme.material.cyan-pink.css +1 -1
  223. package/styles/themes/material/wijmo.theme.material.cyan-pink.scss +1 -1
  224. package/styles/themes/material/wijmo.theme.material.cyan-purple.css +1 -1
  225. package/styles/themes/material/wijmo.theme.material.cyan-purple.scss +1 -1
  226. package/styles/themes/material/wijmo.theme.material.cyan-red.css +1 -1
  227. package/styles/themes/material/wijmo.theme.material.cyan-red.scss +1 -1
  228. package/styles/themes/material/wijmo.theme.material.cyan-teal.css +1 -1
  229. package/styles/themes/material/wijmo.theme.material.cyan-teal.scss +1 -1
  230. package/styles/themes/material/wijmo.theme.material.cyan-yellow.css +1 -1
  231. package/styles/themes/material/wijmo.theme.material.cyan-yellow.scss +1 -1
  232. package/styles/themes/material/wijmo.theme.material.deep_orange-amber.css +1 -1
  233. package/styles/themes/material/wijmo.theme.material.deep_orange-amber.scss +1 -1
  234. package/styles/themes/material/wijmo.theme.material.deep_orange-blue.css +1 -1
  235. package/styles/themes/material/wijmo.theme.material.deep_orange-blue.scss +1 -1
  236. package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.css +1 -1
  237. package/styles/themes/material/wijmo.theme.material.deep_orange-cyan.scss +1 -1
  238. package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.css +1 -1
  239. package/styles/themes/material/wijmo.theme.material.deep_orange-deep_purple.scss +1 -1
  240. package/styles/themes/material/wijmo.theme.material.deep_orange-green.css +1 -1
  241. package/styles/themes/material/wijmo.theme.material.deep_orange-green.scss +1 -1
  242. package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.css +1 -1
  243. package/styles/themes/material/wijmo.theme.material.deep_orange-indigo.scss +1 -1
  244. package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.css +1 -1
  245. package/styles/themes/material/wijmo.theme.material.deep_orange-light_blue.scss +1 -1
  246. package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.css +1 -1
  247. package/styles/themes/material/wijmo.theme.material.deep_orange-light_green.scss +1 -1
  248. package/styles/themes/material/wijmo.theme.material.deep_orange-lime.css +1 -1
  249. package/styles/themes/material/wijmo.theme.material.deep_orange-lime.scss +1 -1
  250. package/styles/themes/material/wijmo.theme.material.deep_orange-orange.css +1 -1
  251. package/styles/themes/material/wijmo.theme.material.deep_orange-orange.scss +1 -1
  252. package/styles/themes/material/wijmo.theme.material.deep_orange-pink.css +1 -1
  253. package/styles/themes/material/wijmo.theme.material.deep_orange-pink.scss +1 -1
  254. package/styles/themes/material/wijmo.theme.material.deep_orange-purple.css +1 -1
  255. package/styles/themes/material/wijmo.theme.material.deep_orange-purple.scss +1 -1
  256. package/styles/themes/material/wijmo.theme.material.deep_orange-red.css +1 -1
  257. package/styles/themes/material/wijmo.theme.material.deep_orange-red.scss +1 -1
  258. package/styles/themes/material/wijmo.theme.material.deep_orange-teal.css +1 -1
  259. package/styles/themes/material/wijmo.theme.material.deep_orange-teal.scss +1 -1
  260. package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.css +1 -1
  261. package/styles/themes/material/wijmo.theme.material.deep_orange-yellow.scss +1 -1
  262. package/styles/themes/material/wijmo.theme.material.deep_purple-amber.css +1 -1
  263. package/styles/themes/material/wijmo.theme.material.deep_purple-amber.scss +1 -1
  264. package/styles/themes/material/wijmo.theme.material.deep_purple-blue.css +1 -1
  265. package/styles/themes/material/wijmo.theme.material.deep_purple-blue.scss +1 -1
  266. package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.css +1 -1
  267. package/styles/themes/material/wijmo.theme.material.deep_purple-cyan.scss +1 -1
  268. package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.css +1 -1
  269. package/styles/themes/material/wijmo.theme.material.deep_purple-deep_orange.scss +1 -1
  270. package/styles/themes/material/wijmo.theme.material.deep_purple-green.css +1 -1
  271. package/styles/themes/material/wijmo.theme.material.deep_purple-green.scss +1 -1
  272. package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.css +1 -1
  273. package/styles/themes/material/wijmo.theme.material.deep_purple-indigo.scss +1 -1
  274. package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.css +1 -1
  275. package/styles/themes/material/wijmo.theme.material.deep_purple-light_blue.scss +1 -1
  276. package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.css +1 -1
  277. package/styles/themes/material/wijmo.theme.material.deep_purple-light_green.scss +1 -1
  278. package/styles/themes/material/wijmo.theme.material.deep_purple-lime.css +1 -1
  279. package/styles/themes/material/wijmo.theme.material.deep_purple-lime.scss +1 -1
  280. package/styles/themes/material/wijmo.theme.material.deep_purple-orange.css +1 -1
  281. package/styles/themes/material/wijmo.theme.material.deep_purple-orange.scss +1 -1
  282. package/styles/themes/material/wijmo.theme.material.deep_purple-pink.css +1 -1
  283. package/styles/themes/material/wijmo.theme.material.deep_purple-pink.scss +1 -1
  284. package/styles/themes/material/wijmo.theme.material.deep_purple-purple.css +1 -1
  285. package/styles/themes/material/wijmo.theme.material.deep_purple-purple.scss +1 -1
  286. package/styles/themes/material/wijmo.theme.material.deep_purple-red.css +1 -1
  287. package/styles/themes/material/wijmo.theme.material.deep_purple-red.scss +1 -1
  288. package/styles/themes/material/wijmo.theme.material.deep_purple-teal.css +1 -1
  289. package/styles/themes/material/wijmo.theme.material.deep_purple-teal.scss +1 -1
  290. package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.css +1 -1
  291. package/styles/themes/material/wijmo.theme.material.deep_purple-yellow.scss +1 -1
  292. package/styles/themes/material/wijmo.theme.material.green-amber.css +1 -1
  293. package/styles/themes/material/wijmo.theme.material.green-amber.scss +1 -1
  294. package/styles/themes/material/wijmo.theme.material.green-blue.css +1 -1
  295. package/styles/themes/material/wijmo.theme.material.green-blue.scss +1 -1
  296. package/styles/themes/material/wijmo.theme.material.green-cyan.css +1 -1
  297. package/styles/themes/material/wijmo.theme.material.green-cyan.scss +1 -1
  298. package/styles/themes/material/wijmo.theme.material.green-deep_orange.css +1 -1
  299. package/styles/themes/material/wijmo.theme.material.green-deep_orange.scss +1 -1
  300. package/styles/themes/material/wijmo.theme.material.green-deep_purple.css +1 -1
  301. package/styles/themes/material/wijmo.theme.material.green-deep_purple.scss +1 -1
  302. package/styles/themes/material/wijmo.theme.material.green-indigo.css +1 -1
  303. package/styles/themes/material/wijmo.theme.material.green-indigo.scss +1 -1
  304. package/styles/themes/material/wijmo.theme.material.green-light_blue.css +1 -1
  305. package/styles/themes/material/wijmo.theme.material.green-light_blue.scss +1 -1
  306. package/styles/themes/material/wijmo.theme.material.green-light_green.css +1 -1
  307. package/styles/themes/material/wijmo.theme.material.green-light_green.scss +1 -1
  308. package/styles/themes/material/wijmo.theme.material.green-lime.css +1 -1
  309. package/styles/themes/material/wijmo.theme.material.green-lime.scss +1 -1
  310. package/styles/themes/material/wijmo.theme.material.green-orange.css +1 -1
  311. package/styles/themes/material/wijmo.theme.material.green-orange.scss +1 -1
  312. package/styles/themes/material/wijmo.theme.material.green-pink.css +1 -1
  313. package/styles/themes/material/wijmo.theme.material.green-pink.scss +1 -1
  314. package/styles/themes/material/wijmo.theme.material.green-purple.css +1 -1
  315. package/styles/themes/material/wijmo.theme.material.green-purple.scss +1 -1
  316. package/styles/themes/material/wijmo.theme.material.green-red.css +1 -1
  317. package/styles/themes/material/wijmo.theme.material.green-red.scss +1 -1
  318. package/styles/themes/material/wijmo.theme.material.green-teal.css +1 -1
  319. package/styles/themes/material/wijmo.theme.material.green-teal.scss +1 -1
  320. package/styles/themes/material/wijmo.theme.material.green-yellow.css +1 -1
  321. package/styles/themes/material/wijmo.theme.material.green-yellow.scss +1 -1
  322. package/styles/themes/material/wijmo.theme.material.grey-amber.css +1 -1
  323. package/styles/themes/material/wijmo.theme.material.grey-amber.scss +1 -1
  324. package/styles/themes/material/wijmo.theme.material.grey-blue.css +1 -1
  325. package/styles/themes/material/wijmo.theme.material.grey-blue.scss +1 -1
  326. package/styles/themes/material/wijmo.theme.material.grey-cyan.css +1 -1
  327. package/styles/themes/material/wijmo.theme.material.grey-cyan.scss +1 -1
  328. package/styles/themes/material/wijmo.theme.material.grey-deep_orange.css +1 -1
  329. package/styles/themes/material/wijmo.theme.material.grey-deep_orange.scss +1 -1
  330. package/styles/themes/material/wijmo.theme.material.grey-deep_purple.css +1 -1
  331. package/styles/themes/material/wijmo.theme.material.grey-deep_purple.scss +1 -1
  332. package/styles/themes/material/wijmo.theme.material.grey-green.css +1 -1
  333. package/styles/themes/material/wijmo.theme.material.grey-green.scss +1 -1
  334. package/styles/themes/material/wijmo.theme.material.grey-indigo.css +1 -1
  335. package/styles/themes/material/wijmo.theme.material.grey-indigo.scss +1 -1
  336. package/styles/themes/material/wijmo.theme.material.grey-light_blue.css +1 -1
  337. package/styles/themes/material/wijmo.theme.material.grey-light_blue.scss +1 -1
  338. package/styles/themes/material/wijmo.theme.material.grey-light_green.css +1 -1
  339. package/styles/themes/material/wijmo.theme.material.grey-light_green.scss +1 -1
  340. package/styles/themes/material/wijmo.theme.material.grey-lime.css +1 -1
  341. package/styles/themes/material/wijmo.theme.material.grey-lime.scss +1 -1
  342. package/styles/themes/material/wijmo.theme.material.grey-orange.css +1 -1
  343. package/styles/themes/material/wijmo.theme.material.grey-orange.scss +1 -1
  344. package/styles/themes/material/wijmo.theme.material.grey-pink.css +1 -1
  345. package/styles/themes/material/wijmo.theme.material.grey-pink.scss +1 -1
  346. package/styles/themes/material/wijmo.theme.material.grey-purple.css +1 -1
  347. package/styles/themes/material/wijmo.theme.material.grey-purple.scss +1 -1
  348. package/styles/themes/material/wijmo.theme.material.grey-red.css +1 -1
  349. package/styles/themes/material/wijmo.theme.material.grey-red.scss +1 -1
  350. package/styles/themes/material/wijmo.theme.material.grey-teal.css +1 -1
  351. package/styles/themes/material/wijmo.theme.material.grey-teal.scss +1 -1
  352. package/styles/themes/material/wijmo.theme.material.grey-yellow.css +1 -1
  353. package/styles/themes/material/wijmo.theme.material.grey-yellow.scss +1 -1
  354. package/styles/themes/material/wijmo.theme.material.indigo-amber.css +1 -1
  355. package/styles/themes/material/wijmo.theme.material.indigo-amber.scss +1 -1
  356. package/styles/themes/material/wijmo.theme.material.indigo-blue.css +1 -1
  357. package/styles/themes/material/wijmo.theme.material.indigo-blue.scss +1 -1
  358. package/styles/themes/material/wijmo.theme.material.indigo-cyan.css +1 -1
  359. package/styles/themes/material/wijmo.theme.material.indigo-cyan.scss +1 -1
  360. package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.css +1 -1
  361. package/styles/themes/material/wijmo.theme.material.indigo-deep_orange.scss +1 -1
  362. package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.css +1 -1
  363. package/styles/themes/material/wijmo.theme.material.indigo-deep_purple.scss +1 -1
  364. package/styles/themes/material/wijmo.theme.material.indigo-green.css +1 -1
  365. package/styles/themes/material/wijmo.theme.material.indigo-green.scss +1 -1
  366. package/styles/themes/material/wijmo.theme.material.indigo-light_blue.css +1 -1
  367. package/styles/themes/material/wijmo.theme.material.indigo-light_blue.scss +1 -1
  368. package/styles/themes/material/wijmo.theme.material.indigo-light_green.css +1 -1
  369. package/styles/themes/material/wijmo.theme.material.indigo-light_green.scss +1 -1
  370. package/styles/themes/material/wijmo.theme.material.indigo-lime.css +1 -1
  371. package/styles/themes/material/wijmo.theme.material.indigo-lime.scss +1 -1
  372. package/styles/themes/material/wijmo.theme.material.indigo-orange.css +1 -1
  373. package/styles/themes/material/wijmo.theme.material.indigo-orange.scss +1 -1
  374. package/styles/themes/material/wijmo.theme.material.indigo-pink.css +1 -1
  375. package/styles/themes/material/wijmo.theme.material.indigo-pink.scss +1 -1
  376. package/styles/themes/material/wijmo.theme.material.indigo-purple.css +1 -1
  377. package/styles/themes/material/wijmo.theme.material.indigo-purple.scss +1 -1
  378. package/styles/themes/material/wijmo.theme.material.indigo-red.css +1 -1
  379. package/styles/themes/material/wijmo.theme.material.indigo-red.scss +1 -1
  380. package/styles/themes/material/wijmo.theme.material.indigo-teal.css +1 -1
  381. package/styles/themes/material/wijmo.theme.material.indigo-teal.scss +1 -1
  382. package/styles/themes/material/wijmo.theme.material.indigo-yellow.css +1 -1
  383. package/styles/themes/material/wijmo.theme.material.indigo-yellow.scss +1 -1
  384. package/styles/themes/material/wijmo.theme.material.light_blue-amber.css +1 -1
  385. package/styles/themes/material/wijmo.theme.material.light_blue-amber.scss +1 -1
  386. package/styles/themes/material/wijmo.theme.material.light_blue-blue.css +1 -1
  387. package/styles/themes/material/wijmo.theme.material.light_blue-blue.scss +1 -1
  388. package/styles/themes/material/wijmo.theme.material.light_blue-cyan.css +1 -1
  389. package/styles/themes/material/wijmo.theme.material.light_blue-cyan.scss +1 -1
  390. package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.css +1 -1
  391. package/styles/themes/material/wijmo.theme.material.light_blue-deep_orange.scss +1 -1
  392. package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.css +1 -1
  393. package/styles/themes/material/wijmo.theme.material.light_blue-deep_purple.scss +1 -1
  394. package/styles/themes/material/wijmo.theme.material.light_blue-green.css +1 -1
  395. package/styles/themes/material/wijmo.theme.material.light_blue-green.scss +1 -1
  396. package/styles/themes/material/wijmo.theme.material.light_blue-indigo.css +1 -1
  397. package/styles/themes/material/wijmo.theme.material.light_blue-indigo.scss +1 -1
  398. package/styles/themes/material/wijmo.theme.material.light_blue-light_green.css +1 -1
  399. package/styles/themes/material/wijmo.theme.material.light_blue-light_green.scss +1 -1
  400. package/styles/themes/material/wijmo.theme.material.light_blue-lime.css +1 -1
  401. package/styles/themes/material/wijmo.theme.material.light_blue-lime.scss +1 -1
  402. package/styles/themes/material/wijmo.theme.material.light_blue-orange.css +1 -1
  403. package/styles/themes/material/wijmo.theme.material.light_blue-orange.scss +1 -1
  404. package/styles/themes/material/wijmo.theme.material.light_blue-pink.css +1 -1
  405. package/styles/themes/material/wijmo.theme.material.light_blue-pink.scss +1 -1
  406. package/styles/themes/material/wijmo.theme.material.light_blue-purple.css +1 -1
  407. package/styles/themes/material/wijmo.theme.material.light_blue-purple.scss +1 -1
  408. package/styles/themes/material/wijmo.theme.material.light_blue-red.css +1 -1
  409. package/styles/themes/material/wijmo.theme.material.light_blue-red.scss +1 -1
  410. package/styles/themes/material/wijmo.theme.material.light_blue-teal.css +1 -1
  411. package/styles/themes/material/wijmo.theme.material.light_blue-teal.scss +1 -1
  412. package/styles/themes/material/wijmo.theme.material.light_blue-yellow.css +1 -1
  413. package/styles/themes/material/wijmo.theme.material.light_blue-yellow.scss +1 -1
  414. package/styles/themes/material/wijmo.theme.material.light_green-amber.css +1 -1
  415. package/styles/themes/material/wijmo.theme.material.light_green-amber.scss +1 -1
  416. package/styles/themes/material/wijmo.theme.material.light_green-blue.css +1 -1
  417. package/styles/themes/material/wijmo.theme.material.light_green-blue.scss +1 -1
  418. package/styles/themes/material/wijmo.theme.material.light_green-cyan.css +1 -1
  419. package/styles/themes/material/wijmo.theme.material.light_green-cyan.scss +1 -1
  420. package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.css +1 -1
  421. package/styles/themes/material/wijmo.theme.material.light_green-deep_orange.scss +1 -1
  422. package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.css +1 -1
  423. package/styles/themes/material/wijmo.theme.material.light_green-deep_purple.scss +1 -1
  424. package/styles/themes/material/wijmo.theme.material.light_green-green.css +1 -1
  425. package/styles/themes/material/wijmo.theme.material.light_green-green.scss +1 -1
  426. package/styles/themes/material/wijmo.theme.material.light_green-indigo.css +1 -1
  427. package/styles/themes/material/wijmo.theme.material.light_green-indigo.scss +1 -1
  428. package/styles/themes/material/wijmo.theme.material.light_green-light_blue.css +1 -1
  429. package/styles/themes/material/wijmo.theme.material.light_green-light_blue.scss +1 -1
  430. package/styles/themes/material/wijmo.theme.material.light_green-lime.css +1 -1
  431. package/styles/themes/material/wijmo.theme.material.light_green-lime.scss +1 -1
  432. package/styles/themes/material/wijmo.theme.material.light_green-orange.css +1 -1
  433. package/styles/themes/material/wijmo.theme.material.light_green-orange.scss +1 -1
  434. package/styles/themes/material/wijmo.theme.material.light_green-pink.css +1 -1
  435. package/styles/themes/material/wijmo.theme.material.light_green-pink.scss +1 -1
  436. package/styles/themes/material/wijmo.theme.material.light_green-purple.css +1 -1
  437. package/styles/themes/material/wijmo.theme.material.light_green-purple.scss +1 -1
  438. package/styles/themes/material/wijmo.theme.material.light_green-red.css +1 -1
  439. package/styles/themes/material/wijmo.theme.material.light_green-red.scss +1 -1
  440. package/styles/themes/material/wijmo.theme.material.light_green-teal.css +1 -1
  441. package/styles/themes/material/wijmo.theme.material.light_green-teal.scss +1 -1
  442. package/styles/themes/material/wijmo.theme.material.light_green-yellow.css +1 -1
  443. package/styles/themes/material/wijmo.theme.material.light_green-yellow.scss +1 -1
  444. package/styles/themes/material/wijmo.theme.material.lime-amber.css +1 -1
  445. package/styles/themes/material/wijmo.theme.material.lime-amber.scss +1 -1
  446. package/styles/themes/material/wijmo.theme.material.lime-blue.css +1 -1
  447. package/styles/themes/material/wijmo.theme.material.lime-blue.scss +1 -1
  448. package/styles/themes/material/wijmo.theme.material.lime-cyan.css +1 -1
  449. package/styles/themes/material/wijmo.theme.material.lime-cyan.scss +1 -1
  450. package/styles/themes/material/wijmo.theme.material.lime-deep_orange.css +1 -1
  451. package/styles/themes/material/wijmo.theme.material.lime-deep_orange.scss +1 -1
  452. package/styles/themes/material/wijmo.theme.material.lime-deep_purple.css +1 -1
  453. package/styles/themes/material/wijmo.theme.material.lime-deep_purple.scss +1 -1
  454. package/styles/themes/material/wijmo.theme.material.lime-green.css +1 -1
  455. package/styles/themes/material/wijmo.theme.material.lime-green.scss +1 -1
  456. package/styles/themes/material/wijmo.theme.material.lime-indigo.css +1 -1
  457. package/styles/themes/material/wijmo.theme.material.lime-indigo.scss +1 -1
  458. package/styles/themes/material/wijmo.theme.material.lime-light_blue.css +1 -1
  459. package/styles/themes/material/wijmo.theme.material.lime-light_blue.scss +1 -1
  460. package/styles/themes/material/wijmo.theme.material.lime-light_green.css +1 -1
  461. package/styles/themes/material/wijmo.theme.material.lime-light_green.scss +1 -1
  462. package/styles/themes/material/wijmo.theme.material.lime-orange.css +1 -1
  463. package/styles/themes/material/wijmo.theme.material.lime-orange.scss +1 -1
  464. package/styles/themes/material/wijmo.theme.material.lime-pink.css +1 -1
  465. package/styles/themes/material/wijmo.theme.material.lime-pink.scss +1 -1
  466. package/styles/themes/material/wijmo.theme.material.lime-purple.css +1 -1
  467. package/styles/themes/material/wijmo.theme.material.lime-purple.scss +1 -1
  468. package/styles/themes/material/wijmo.theme.material.lime-red.css +1 -1
  469. package/styles/themes/material/wijmo.theme.material.lime-red.scss +1 -1
  470. package/styles/themes/material/wijmo.theme.material.lime-teal.css +1 -1
  471. package/styles/themes/material/wijmo.theme.material.lime-teal.scss +1 -1
  472. package/styles/themes/material/wijmo.theme.material.lime-yellow.css +1 -1
  473. package/styles/themes/material/wijmo.theme.material.lime-yellow.scss +1 -1
  474. package/styles/themes/material/wijmo.theme.material.orange-amber.css +1 -1
  475. package/styles/themes/material/wijmo.theme.material.orange-amber.scss +1 -1
  476. package/styles/themes/material/wijmo.theme.material.orange-blue.css +1 -1
  477. package/styles/themes/material/wijmo.theme.material.orange-blue.scss +1 -1
  478. package/styles/themes/material/wijmo.theme.material.orange-cyan.css +1 -1
  479. package/styles/themes/material/wijmo.theme.material.orange-cyan.scss +1 -1
  480. package/styles/themes/material/wijmo.theme.material.orange-deep_orange.css +1 -1
  481. package/styles/themes/material/wijmo.theme.material.orange-deep_orange.scss +1 -1
  482. package/styles/themes/material/wijmo.theme.material.orange-deep_purple.css +1 -1
  483. package/styles/themes/material/wijmo.theme.material.orange-deep_purple.scss +1 -1
  484. package/styles/themes/material/wijmo.theme.material.orange-green.css +1 -1
  485. package/styles/themes/material/wijmo.theme.material.orange-green.scss +1 -1
  486. package/styles/themes/material/wijmo.theme.material.orange-indigo.css +1 -1
  487. package/styles/themes/material/wijmo.theme.material.orange-indigo.scss +1 -1
  488. package/styles/themes/material/wijmo.theme.material.orange-light_blue.css +1 -1
  489. package/styles/themes/material/wijmo.theme.material.orange-light_blue.scss +1 -1
  490. package/styles/themes/material/wijmo.theme.material.orange-light_green.css +1 -1
  491. package/styles/themes/material/wijmo.theme.material.orange-light_green.scss +1 -1
  492. package/styles/themes/material/wijmo.theme.material.orange-lime.css +1 -1
  493. package/styles/themes/material/wijmo.theme.material.orange-lime.scss +1 -1
  494. package/styles/themes/material/wijmo.theme.material.orange-pink.css +1 -1
  495. package/styles/themes/material/wijmo.theme.material.orange-pink.scss +1 -1
  496. package/styles/themes/material/wijmo.theme.material.orange-purple.css +1 -1
  497. package/styles/themes/material/wijmo.theme.material.orange-purple.scss +1 -1
  498. package/styles/themes/material/wijmo.theme.material.orange-red.css +1 -1
  499. package/styles/themes/material/wijmo.theme.material.orange-red.scss +1 -1
  500. package/styles/themes/material/wijmo.theme.material.orange-teal.css +1 -1
  501. package/styles/themes/material/wijmo.theme.material.orange-teal.scss +1 -1
  502. package/styles/themes/material/wijmo.theme.material.orange-yellow.css +1 -1
  503. package/styles/themes/material/wijmo.theme.material.orange-yellow.scss +1 -1
  504. package/styles/themes/material/wijmo.theme.material.pink-amber.css +1 -1
  505. package/styles/themes/material/wijmo.theme.material.pink-amber.scss +1 -1
  506. package/styles/themes/material/wijmo.theme.material.pink-blue.css +1 -1
  507. package/styles/themes/material/wijmo.theme.material.pink-blue.scss +1 -1
  508. package/styles/themes/material/wijmo.theme.material.pink-cyan.css +1 -1
  509. package/styles/themes/material/wijmo.theme.material.pink-cyan.scss +1 -1
  510. package/styles/themes/material/wijmo.theme.material.pink-deep_orange.css +1 -1
  511. package/styles/themes/material/wijmo.theme.material.pink-deep_orange.scss +1 -1
  512. package/styles/themes/material/wijmo.theme.material.pink-deep_purple.css +1 -1
  513. package/styles/themes/material/wijmo.theme.material.pink-deep_purple.scss +1 -1
  514. package/styles/themes/material/wijmo.theme.material.pink-green.css +1 -1
  515. package/styles/themes/material/wijmo.theme.material.pink-green.scss +1 -1
  516. package/styles/themes/material/wijmo.theme.material.pink-indigo.css +1 -1
  517. package/styles/themes/material/wijmo.theme.material.pink-indigo.scss +1 -1
  518. package/styles/themes/material/wijmo.theme.material.pink-light_blue.css +1 -1
  519. package/styles/themes/material/wijmo.theme.material.pink-light_blue.scss +1 -1
  520. package/styles/themes/material/wijmo.theme.material.pink-light_green.css +1 -1
  521. package/styles/themes/material/wijmo.theme.material.pink-light_green.scss +1 -1
  522. package/styles/themes/material/wijmo.theme.material.pink-lime.css +1 -1
  523. package/styles/themes/material/wijmo.theme.material.pink-lime.scss +1 -1
  524. package/styles/themes/material/wijmo.theme.material.pink-orange.css +1 -1
  525. package/styles/themes/material/wijmo.theme.material.pink-orange.scss +1 -1
  526. package/styles/themes/material/wijmo.theme.material.pink-purple.css +1 -1
  527. package/styles/themes/material/wijmo.theme.material.pink-purple.scss +1 -1
  528. package/styles/themes/material/wijmo.theme.material.pink-red.css +1 -1
  529. package/styles/themes/material/wijmo.theme.material.pink-red.scss +1 -1
  530. package/styles/themes/material/wijmo.theme.material.pink-teal.css +1 -1
  531. package/styles/themes/material/wijmo.theme.material.pink-teal.scss +1 -1
  532. package/styles/themes/material/wijmo.theme.material.pink-yellow.css +1 -1
  533. package/styles/themes/material/wijmo.theme.material.pink-yellow.scss +1 -1
  534. package/styles/themes/material/wijmo.theme.material.purple-amber.css +1 -1
  535. package/styles/themes/material/wijmo.theme.material.purple-amber.scss +1 -1
  536. package/styles/themes/material/wijmo.theme.material.purple-blue.css +1 -1
  537. package/styles/themes/material/wijmo.theme.material.purple-blue.scss +1 -1
  538. package/styles/themes/material/wijmo.theme.material.purple-cyan.css +1 -1
  539. package/styles/themes/material/wijmo.theme.material.purple-cyan.scss +1 -1
  540. package/styles/themes/material/wijmo.theme.material.purple-deep_orange.css +1 -1
  541. package/styles/themes/material/wijmo.theme.material.purple-deep_orange.scss +1 -1
  542. package/styles/themes/material/wijmo.theme.material.purple-deep_purple.css +1 -1
  543. package/styles/themes/material/wijmo.theme.material.purple-deep_purple.scss +1 -1
  544. package/styles/themes/material/wijmo.theme.material.purple-green.css +1 -1
  545. package/styles/themes/material/wijmo.theme.material.purple-green.scss +1 -1
  546. package/styles/themes/material/wijmo.theme.material.purple-indigo.css +1 -1
  547. package/styles/themes/material/wijmo.theme.material.purple-indigo.scss +1 -1
  548. package/styles/themes/material/wijmo.theme.material.purple-light_blue.css +1 -1
  549. package/styles/themes/material/wijmo.theme.material.purple-light_blue.scss +1 -1
  550. package/styles/themes/material/wijmo.theme.material.purple-light_green.css +1 -1
  551. package/styles/themes/material/wijmo.theme.material.purple-light_green.scss +1 -1
  552. package/styles/themes/material/wijmo.theme.material.purple-lime.css +1 -1
  553. package/styles/themes/material/wijmo.theme.material.purple-lime.scss +1 -1
  554. package/styles/themes/material/wijmo.theme.material.purple-orange.css +1 -1
  555. package/styles/themes/material/wijmo.theme.material.purple-orange.scss +1 -1
  556. package/styles/themes/material/wijmo.theme.material.purple-pink.css +1 -1
  557. package/styles/themes/material/wijmo.theme.material.purple-pink.scss +1 -1
  558. package/styles/themes/material/wijmo.theme.material.purple-red.css +1 -1
  559. package/styles/themes/material/wijmo.theme.material.purple-red.scss +1 -1
  560. package/styles/themes/material/wijmo.theme.material.purple-teal.css +1 -1
  561. package/styles/themes/material/wijmo.theme.material.purple-teal.scss +1 -1
  562. package/styles/themes/material/wijmo.theme.material.purple-yellow.css +1 -1
  563. package/styles/themes/material/wijmo.theme.material.purple-yellow.scss +1 -1
  564. package/styles/themes/material/wijmo.theme.material.red-amber.css +1 -1
  565. package/styles/themes/material/wijmo.theme.material.red-amber.scss +1 -1
  566. package/styles/themes/material/wijmo.theme.material.red-blue.css +1 -1
  567. package/styles/themes/material/wijmo.theme.material.red-blue.scss +1 -1
  568. package/styles/themes/material/wijmo.theme.material.red-cyan.css +1 -1
  569. package/styles/themes/material/wijmo.theme.material.red-cyan.scss +1 -1
  570. package/styles/themes/material/wijmo.theme.material.red-deep_orange.css +1 -1
  571. package/styles/themes/material/wijmo.theme.material.red-deep_orange.scss +1 -1
  572. package/styles/themes/material/wijmo.theme.material.red-deep_purple.css +1 -1
  573. package/styles/themes/material/wijmo.theme.material.red-deep_purple.scss +1 -1
  574. package/styles/themes/material/wijmo.theme.material.red-green.css +1 -1
  575. package/styles/themes/material/wijmo.theme.material.red-green.scss +1 -1
  576. package/styles/themes/material/wijmo.theme.material.red-indigo.css +1 -1
  577. package/styles/themes/material/wijmo.theme.material.red-indigo.scss +1 -1
  578. package/styles/themes/material/wijmo.theme.material.red-light_blue.css +1 -1
  579. package/styles/themes/material/wijmo.theme.material.red-light_blue.scss +1 -1
  580. package/styles/themes/material/wijmo.theme.material.red-light_green.css +1 -1
  581. package/styles/themes/material/wijmo.theme.material.red-light_green.scss +1 -1
  582. package/styles/themes/material/wijmo.theme.material.red-lime.css +1 -1
  583. package/styles/themes/material/wijmo.theme.material.red-lime.scss +1 -1
  584. package/styles/themes/material/wijmo.theme.material.red-orange.css +1 -1
  585. package/styles/themes/material/wijmo.theme.material.red-orange.scss +1 -1
  586. package/styles/themes/material/wijmo.theme.material.red-pink.css +1 -1
  587. package/styles/themes/material/wijmo.theme.material.red-pink.scss +1 -1
  588. package/styles/themes/material/wijmo.theme.material.red-purple.css +1 -1
  589. package/styles/themes/material/wijmo.theme.material.red-purple.scss +1 -1
  590. package/styles/themes/material/wijmo.theme.material.red-teal.css +1 -1
  591. package/styles/themes/material/wijmo.theme.material.red-teal.scss +1 -1
  592. package/styles/themes/material/wijmo.theme.material.red-yellow.css +1 -1
  593. package/styles/themes/material/wijmo.theme.material.red-yellow.scss +1 -1
  594. package/styles/themes/material/wijmo.theme.material.teal-amber.css +1 -1
  595. package/styles/themes/material/wijmo.theme.material.teal-amber.scss +1 -1
  596. package/styles/themes/material/wijmo.theme.material.teal-blue.css +1 -1
  597. package/styles/themes/material/wijmo.theme.material.teal-blue.scss +1 -1
  598. package/styles/themes/material/wijmo.theme.material.teal-cyan.css +1 -1
  599. package/styles/themes/material/wijmo.theme.material.teal-cyan.scss +1 -1
  600. package/styles/themes/material/wijmo.theme.material.teal-deep_orange.css +1 -1
  601. package/styles/themes/material/wijmo.theme.material.teal-deep_orange.scss +1 -1
  602. package/styles/themes/material/wijmo.theme.material.teal-deep_purple.css +1 -1
  603. package/styles/themes/material/wijmo.theme.material.teal-deep_purple.scss +1 -1
  604. package/styles/themes/material/wijmo.theme.material.teal-green.css +1 -1
  605. package/styles/themes/material/wijmo.theme.material.teal-green.scss +1 -1
  606. package/styles/themes/material/wijmo.theme.material.teal-indigo.css +1 -1
  607. package/styles/themes/material/wijmo.theme.material.teal-indigo.scss +1 -1
  608. package/styles/themes/material/wijmo.theme.material.teal-light_blue.css +1 -1
  609. package/styles/themes/material/wijmo.theme.material.teal-light_blue.scss +1 -1
  610. package/styles/themes/material/wijmo.theme.material.teal-light_green.css +1 -1
  611. package/styles/themes/material/wijmo.theme.material.teal-light_green.scss +1 -1
  612. package/styles/themes/material/wijmo.theme.material.teal-lime.css +1 -1
  613. package/styles/themes/material/wijmo.theme.material.teal-lime.scss +1 -1
  614. package/styles/themes/material/wijmo.theme.material.teal-orange.css +1 -1
  615. package/styles/themes/material/wijmo.theme.material.teal-orange.scss +1 -1
  616. package/styles/themes/material/wijmo.theme.material.teal-pink.css +1 -1
  617. package/styles/themes/material/wijmo.theme.material.teal-pink.scss +1 -1
  618. package/styles/themes/material/wijmo.theme.material.teal-purple.css +1 -1
  619. package/styles/themes/material/wijmo.theme.material.teal-purple.scss +1 -1
  620. package/styles/themes/material/wijmo.theme.material.teal-red.css +1 -1
  621. package/styles/themes/material/wijmo.theme.material.teal-red.scss +1 -1
  622. package/styles/themes/material/wijmo.theme.material.teal-yellow.css +1 -1
  623. package/styles/themes/material/wijmo.theme.material.teal-yellow.scss +1 -1
  624. package/styles/themes/material/wijmo.theme.material.yellow-amber.css +1 -1
  625. package/styles/themes/material/wijmo.theme.material.yellow-amber.scss +1 -1
  626. package/styles/themes/material/wijmo.theme.material.yellow-blue.css +1 -1
  627. package/styles/themes/material/wijmo.theme.material.yellow-blue.scss +1 -1
  628. package/styles/themes/material/wijmo.theme.material.yellow-cyan.css +1 -1
  629. package/styles/themes/material/wijmo.theme.material.yellow-cyan.scss +1 -1
  630. package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.css +1 -1
  631. package/styles/themes/material/wijmo.theme.material.yellow-deep_orange.scss +1 -1
  632. package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.css +1 -1
  633. package/styles/themes/material/wijmo.theme.material.yellow-deep_purple.scss +1 -1
  634. package/styles/themes/material/wijmo.theme.material.yellow-green.css +1 -1
  635. package/styles/themes/material/wijmo.theme.material.yellow-green.scss +1 -1
  636. package/styles/themes/material/wijmo.theme.material.yellow-indigo.css +1 -1
  637. package/styles/themes/material/wijmo.theme.material.yellow-indigo.scss +1 -1
  638. package/styles/themes/material/wijmo.theme.material.yellow-light_blue.css +1 -1
  639. package/styles/themes/material/wijmo.theme.material.yellow-light_blue.scss +1 -1
  640. package/styles/themes/material/wijmo.theme.material.yellow-light_green.css +1 -1
  641. package/styles/themes/material/wijmo.theme.material.yellow-light_green.scss +1 -1
  642. package/styles/themes/material/wijmo.theme.material.yellow-lime.css +1 -1
  643. package/styles/themes/material/wijmo.theme.material.yellow-lime.scss +1 -1
  644. package/styles/themes/material/wijmo.theme.material.yellow-orange.css +1 -1
  645. package/styles/themes/material/wijmo.theme.material.yellow-orange.scss +1 -1
  646. package/styles/themes/material/wijmo.theme.material.yellow-pink.css +1 -1
  647. package/styles/themes/material/wijmo.theme.material.yellow-pink.scss +1 -1
  648. package/styles/themes/material/wijmo.theme.material.yellow-purple.css +1 -1
  649. package/styles/themes/material/wijmo.theme.material.yellow-purple.scss +1 -1
  650. package/styles/themes/material/wijmo.theme.material.yellow-red.css +1 -1
  651. package/styles/themes/material/wijmo.theme.material.yellow-red.scss +1 -1
  652. package/styles/themes/material/wijmo.theme.material.yellow-teal.css +1 -1
  653. package/styles/themes/material/wijmo.theme.material.yellow-teal.scss +1 -1
  654. package/styles/themes/wijmo.theme.cerulean.css +1 -1
  655. package/styles/themes/wijmo.theme.cerulean.scss +1 -1
  656. package/styles/themes/wijmo.theme.cleandark.css +1 -1
  657. package/styles/themes/wijmo.theme.cleandark.scss +1 -1
  658. package/styles/themes/wijmo.theme.cleanlight.css +1 -1
  659. package/styles/themes/wijmo.theme.cleanlight.scss +1 -1
  660. package/styles/themes/wijmo.theme.cocoa.css +1 -1
  661. package/styles/themes/wijmo.theme.cocoa.scss +1 -1
  662. package/styles/themes/wijmo.theme.coral.css +1 -1
  663. package/styles/themes/wijmo.theme.coral.scss +1 -1
  664. package/styles/themes/wijmo.theme.cyborg.css +1 -1
  665. package/styles/themes/wijmo.theme.cyborg.scss +1 -1
  666. package/styles/themes/wijmo.theme.dark.css +1 -1
  667. package/styles/themes/wijmo.theme.dark.scss +1 -1
  668. package/styles/themes/wijmo.theme.darkly.css +1 -1
  669. package/styles/themes/wijmo.theme.darkly.scss +1 -1
  670. package/styles/themes/wijmo.theme.flatly.css +1 -1
  671. package/styles/themes/wijmo.theme.flatly.scss +1 -1
  672. package/styles/themes/wijmo.theme.grayscale.css +1 -1
  673. package/styles/themes/wijmo.theme.grayscale.scss +1 -1
  674. package/styles/themes/wijmo.theme.highcontrast.css +1 -1
  675. package/styles/themes/wijmo.theme.highcontrast.scss +1 -1
  676. package/styles/themes/wijmo.theme.light.css +1 -1
  677. package/styles/themes/wijmo.theme.light.scss +1 -1
  678. package/styles/themes/wijmo.theme.material.amber-indigo.css +1 -1
  679. package/styles/themes/wijmo.theme.material.amber-indigo.scss +1 -1
  680. package/styles/themes/wijmo.theme.material.css +1 -1
  681. package/styles/themes/wijmo.theme.material.indigo-orange.css +1 -1
  682. package/styles/themes/wijmo.theme.material.indigo-orange.scss +1 -1
  683. package/styles/themes/wijmo.theme.material.scss +1 -1
  684. package/styles/themes/wijmo.theme.material.vars.css +1 -1
  685. package/styles/themes/wijmo.theme.material.vars.scss +1 -1
  686. package/styles/themes/wijmo.theme.midnight.css +1 -1
  687. package/styles/themes/wijmo.theme.midnight.scss +1 -1
  688. package/styles/themes/wijmo.theme.minimal.css +1 -1
  689. package/styles/themes/wijmo.theme.minimal.scss +1 -1
  690. package/styles/themes/wijmo.theme.modern.css +1 -1
  691. package/styles/themes/wijmo.theme.modern.scss +1 -1
  692. package/styles/themes/wijmo.theme.office.css +1 -1
  693. package/styles/themes/wijmo.theme.office.scss +1 -1
  694. package/styles/themes/wijmo.theme.organic.css +1 -1
  695. package/styles/themes/wijmo.theme.organic.scss +1 -1
  696. package/styles/themes/wijmo.theme.paper.css +1 -1
  697. package/styles/themes/wijmo.theme.paper.scss +1 -1
  698. package/styles/themes/wijmo.theme.simplex.css +1 -1
  699. package/styles/themes/wijmo.theme.simplex.scss +1 -1
  700. package/styles/themes/wijmo.theme.slate.css +1 -1
  701. package/styles/themes/wijmo.theme.slate.scss +1 -1
  702. package/styles/themes/wijmo.theme.superhero.css +1 -1
  703. package/styles/themes/wijmo.theme.superhero.scss +1 -1
  704. package/styles/themes/wijmo.theme.trust.css +1 -1
  705. package/styles/themes/wijmo.theme.trust.scss +1 -1
  706. package/styles/themes/wijmo.theme.zen.css +1 -1
  707. package/styles/themes/wijmo.theme.zen.scss +1 -1
  708. package/styles/wijmo-core.css +1 -1
  709. package/styles/wijmo-core.scss +1 -1
  710. package/styles/wijmo.css +1 -1
  711. package/styles/wijmo.scss +1 -1
  712. package/wijmo.angular.base.d.ts +1 -1
  713. package/wijmo.angular.base.js +1 -1
  714. package/wijmo.angular.chart.analytics.d.ts +1 -1
  715. package/wijmo.angular.chart.analytics.js +1 -1
  716. package/wijmo.angular.chart.animation.d.ts +1 -1
  717. package/wijmo.angular.chart.animation.js +1 -1
  718. package/wijmo.angular.chart.annotation.d.ts +1 -1
  719. package/wijmo.angular.chart.annotation.js +1 -1
  720. package/wijmo.angular.chart.d.ts +1 -1
  721. package/wijmo.angular.chart.finance.analytics.d.ts +1 -1
  722. package/wijmo.angular.chart.finance.analytics.js +1 -1
  723. package/wijmo.angular.chart.finance.d.ts +1 -1
  724. package/wijmo.angular.chart.finance.js +1 -1
  725. package/wijmo.angular.chart.hierarchical.d.ts +1 -1
  726. package/wijmo.angular.chart.hierarchical.js +1 -1
  727. package/wijmo.angular.chart.interaction.d.ts +1 -1
  728. package/wijmo.angular.chart.interaction.js +1 -1
  729. package/wijmo.angular.chart.js +1 -1
  730. package/wijmo.angular.chart.radar.d.ts +1 -1
  731. package/wijmo.angular.chart.radar.js +1 -1
  732. package/wijmo.angular.core.d.ts +1 -1
  733. package/wijmo.angular.core.js +1 -1
  734. package/wijmo.angular.gauge.d.ts +1 -1
  735. package/wijmo.angular.gauge.js +1 -1
  736. package/wijmo.angular.grid.d.ts +1 -1
  737. package/wijmo.angular.grid.detail.d.ts +1 -1
  738. package/wijmo.angular.grid.detail.js +1 -1
  739. package/wijmo.angular.grid.filter.d.ts +1 -1
  740. package/wijmo.angular.grid.filter.js +1 -1
  741. package/wijmo.angular.grid.grouppanel.d.ts +1 -1
  742. package/wijmo.angular.grid.grouppanel.js +1 -1
  743. package/wijmo.angular.grid.js +1 -1
  744. package/wijmo.angular.grid.multirow.d.ts +1 -1
  745. package/wijmo.angular.grid.multirow.js +1 -1
  746. package/wijmo.angular.grid.sheet.d.ts +1 -1
  747. package/wijmo.angular.grid.sheet.js +1 -1
  748. package/wijmo.angular.input.d.ts +1 -1
  749. package/wijmo.angular.input.js +1 -1
  750. package/wijmo.angular.nav.d.ts +1 -1
  751. package/wijmo.angular.nav.js +1 -1
  752. package/wijmo.angular.olap.d.ts +1 -1
  753. package/wijmo.angular.olap.js +1 -1
  754. package/wijmo.angular.viewer.d.ts +1 -1
  755. package/wijmo.angular.viewer.js +1 -1
  756. package/wijmo.angular2.barcode.common.d.ts +1 -1
  757. package/wijmo.angular2.barcode.common.js +1 -1
  758. package/wijmo.angular2.barcode.composite.d.ts +1 -1
  759. package/wijmo.angular2.barcode.composite.js +1 -1
  760. package/wijmo.angular2.barcode.specialized.d.ts +1 -1
  761. package/wijmo.angular2.barcode.specialized.js +1 -1
  762. package/wijmo.angular2.chart.analytics.d.ts +1 -1
  763. package/wijmo.angular2.chart.analytics.js +1 -1
  764. package/wijmo.angular2.chart.animation.d.ts +1 -1
  765. package/wijmo.angular2.chart.animation.js +1 -1
  766. package/wijmo.angular2.chart.annotation.d.ts +1 -1
  767. package/wijmo.angular2.chart.annotation.js +1 -1
  768. package/wijmo.angular2.chart.d.ts +1 -1
  769. package/wijmo.angular2.chart.finance.analytics.d.ts +1 -1
  770. package/wijmo.angular2.chart.finance.analytics.js +1 -1
  771. package/wijmo.angular2.chart.finance.d.ts +1 -1
  772. package/wijmo.angular2.chart.finance.js +1 -1
  773. package/wijmo.angular2.chart.hierarchical.d.ts +1 -1
  774. package/wijmo.angular2.chart.hierarchical.js +1 -1
  775. package/wijmo.angular2.chart.interaction.d.ts +1 -1
  776. package/wijmo.angular2.chart.interaction.js +1 -1
  777. package/wijmo.angular2.chart.js +1 -1
  778. package/wijmo.angular2.chart.map.d.ts +1 -1
  779. package/wijmo.angular2.chart.map.js +1 -1
  780. package/wijmo.angular2.chart.radar.d.ts +1 -1
  781. package/wijmo.angular2.chart.radar.js +1 -1
  782. package/wijmo.angular2.core.d.ts +1 -1
  783. package/wijmo.angular2.core.js +1 -1
  784. package/wijmo.angular2.directiveBase.d.ts +1 -1
  785. package/wijmo.angular2.directiveBase.js +1 -1
  786. package/wijmo.angular2.gauge.d.ts +1 -1
  787. package/wijmo.angular2.gauge.js +1 -1
  788. package/wijmo.angular2.grid.d.ts +1 -1
  789. package/wijmo.angular2.grid.detail.d.ts +1 -1
  790. package/wijmo.angular2.grid.detail.js +1 -1
  791. package/wijmo.angular2.grid.filter.d.ts +1 -1
  792. package/wijmo.angular2.grid.filter.js +1 -1
  793. package/wijmo.angular2.grid.grouppanel.d.ts +1 -1
  794. package/wijmo.angular2.grid.grouppanel.js +1 -1
  795. package/wijmo.angular2.grid.js +1 -1
  796. package/wijmo.angular2.grid.multirow.d.ts +1 -1
  797. package/wijmo.angular2.grid.multirow.js +1 -1
  798. package/wijmo.angular2.grid.search.d.ts +1 -1
  799. package/wijmo.angular2.grid.search.js +1 -1
  800. package/wijmo.angular2.grid.sheet.d.ts +1 -1
  801. package/wijmo.angular2.grid.sheet.js +1 -1
  802. package/wijmo.angular2.grid.transposed.d.ts +1 -1
  803. package/wijmo.angular2.grid.transposed.js +1 -1
  804. package/wijmo.angular2.grid.transposedmultirow.d.ts +1 -1
  805. package/wijmo.angular2.grid.transposedmultirow.js +1 -1
  806. package/wijmo.angular2.input.d.ts +1 -1
  807. package/wijmo.angular2.input.js +1 -1
  808. package/wijmo.angular2.nav.d.ts +1 -1
  809. package/wijmo.angular2.nav.js +1 -1
  810. package/wijmo.angular2.olap.d.ts +1 -1
  811. package/wijmo.angular2.olap.js +1 -1
  812. package/wijmo.angular2.viewer.d.ts +1 -1
  813. package/wijmo.angular2.viewer.js +1 -1
  814. package/wijmo.barcode.common.d.ts +1 -1
  815. package/wijmo.barcode.common.js +1 -1
  816. package/wijmo.barcode.composite.d.ts +1 -1
  817. package/wijmo.barcode.composite.js +1 -1
  818. package/wijmo.barcode.d.ts +1 -1
  819. package/wijmo.barcode.js +1 -1
  820. package/wijmo.barcode.specialized.d.ts +1 -1
  821. package/wijmo.barcode.specialized.js +1 -1
  822. package/wijmo.chart.analytics.d.ts +1 -1
  823. package/wijmo.chart.analytics.js +1 -1
  824. package/wijmo.chart.animation.d.ts +1 -1
  825. package/wijmo.chart.animation.js +1 -1
  826. package/wijmo.chart.annotation.d.ts +1 -1
  827. package/wijmo.chart.annotation.js +1 -1
  828. package/wijmo.chart.d.ts +1 -1
  829. package/wijmo.chart.finance.analytics.d.ts +1 -1
  830. package/wijmo.chart.finance.analytics.js +1 -1
  831. package/wijmo.chart.finance.d.ts +1 -1
  832. package/wijmo.chart.finance.js +1 -1
  833. package/wijmo.chart.hierarchical.d.ts +1 -1
  834. package/wijmo.chart.hierarchical.js +1 -1
  835. package/wijmo.chart.interaction.d.ts +1 -1
  836. package/wijmo.chart.interaction.js +1 -1
  837. package/wijmo.chart.js +1 -1
  838. package/wijmo.chart.map.d.ts +1 -1
  839. package/wijmo.chart.map.js +1 -1
  840. package/wijmo.chart.radar.d.ts +1 -1
  841. package/wijmo.chart.radar.js +1 -1
  842. package/wijmo.chart.render.d.ts +1 -1
  843. package/wijmo.chart.render.js +1 -1
  844. package/wijmo.chart.webgl.d.ts +1 -1
  845. package/wijmo.chart.webgl.js +1 -1
  846. package/wijmo.cloud.d.ts +1 -1
  847. package/wijmo.cloud.js +1 -1
  848. package/wijmo.d.ts +1 -1
  849. package/wijmo.gauge.d.ts +1 -1
  850. package/wijmo.gauge.js +1 -1
  851. package/wijmo.grid.cellmaker.d.ts +1 -1
  852. package/wijmo.grid.cellmaker.js +1 -1
  853. package/wijmo.grid.d.ts +1 -1
  854. package/wijmo.grid.detail.d.ts +1 -1
  855. package/wijmo.grid.detail.js +1 -1
  856. package/wijmo.grid.filter.d.ts +1 -1
  857. package/wijmo.grid.filter.js +1 -1
  858. package/wijmo.grid.grouppanel.d.ts +1 -1
  859. package/wijmo.grid.grouppanel.js +1 -1
  860. package/wijmo.grid.immutable.d.ts +1 -1
  861. package/wijmo.grid.immutable.js +1 -1
  862. package/wijmo.grid.js +1 -1
  863. package/wijmo.grid.multirow.d.ts +1 -1
  864. package/wijmo.grid.multirow.js +1 -1
  865. package/wijmo.grid.pdf.d.ts +1 -1
  866. package/wijmo.grid.pdf.js +1 -1
  867. package/wijmo.grid.search.d.ts +1 -1
  868. package/wijmo.grid.search.js +1 -1
  869. package/wijmo.grid.selector.d.ts +1 -1
  870. package/wijmo.grid.selector.js +1 -1
  871. package/wijmo.grid.sheet.d.ts +1 -1
  872. package/wijmo.grid.sheet.js +1 -1
  873. package/wijmo.grid.style.d.ts +1 -1
  874. package/wijmo.grid.style.js +1 -1
  875. package/wijmo.grid.transposed.d.ts +1 -1
  876. package/wijmo.grid.transposed.js +1 -1
  877. package/wijmo.grid.transposedmultirow.d.ts +1 -1
  878. package/wijmo.grid.transposedmultirow.js +1 -1
  879. package/wijmo.grid.xlsx.d.ts +1 -1
  880. package/wijmo.grid.xlsx.js +1 -1
  881. package/wijmo.input.d.ts +1 -1
  882. package/wijmo.input.js +1 -1
  883. package/wijmo.interop.grid.d.ts +1 -1
  884. package/wijmo.interop.grid.js +1 -1
  885. package/wijmo.js +2 -2
  886. package/wijmo.knockout.base.d.ts +1 -1
  887. package/wijmo.knockout.base.js +1 -1
  888. package/wijmo.knockout.chart.analytics.d.ts +1 -1
  889. package/wijmo.knockout.chart.analytics.js +1 -1
  890. package/wijmo.knockout.chart.animation.d.ts +1 -1
  891. package/wijmo.knockout.chart.animation.js +1 -1
  892. package/wijmo.knockout.chart.annotation.d.ts +1 -1
  893. package/wijmo.knockout.chart.annotation.js +1 -1
  894. package/wijmo.knockout.chart.d.ts +1 -1
  895. package/wijmo.knockout.chart.finance.analytics.d.ts +1 -1
  896. package/wijmo.knockout.chart.finance.analytics.js +1 -1
  897. package/wijmo.knockout.chart.finance.d.ts +1 -1
  898. package/wijmo.knockout.chart.finance.js +1 -1
  899. package/wijmo.knockout.chart.interaction.d.ts +1 -1
  900. package/wijmo.knockout.chart.interaction.js +1 -1
  901. package/wijmo.knockout.chart.js +1 -1
  902. package/wijmo.knockout.core.d.ts +1 -1
  903. package/wijmo.knockout.core.js +1 -1
  904. package/wijmo.knockout.gauge.d.ts +1 -1
  905. package/wijmo.knockout.gauge.js +1 -1
  906. package/wijmo.knockout.grid.d.ts +1 -1
  907. package/wijmo.knockout.grid.filter.d.ts +1 -1
  908. package/wijmo.knockout.grid.filter.js +1 -1
  909. package/wijmo.knockout.grid.grouppanel.d.ts +1 -1
  910. package/wijmo.knockout.grid.grouppanel.js +1 -1
  911. package/wijmo.knockout.grid.js +1 -1
  912. package/wijmo.knockout.grid.multirow.d.ts +1 -1
  913. package/wijmo.knockout.grid.multirow.js +1 -1
  914. package/wijmo.knockout.grid.sheet.d.ts +1 -1
  915. package/wijmo.knockout.grid.sheet.js +1 -1
  916. package/wijmo.knockout.input.d.ts +1 -1
  917. package/wijmo.knockout.input.js +1 -1
  918. package/wijmo.knockout.nav.d.ts +1 -1
  919. package/wijmo.knockout.nav.js +1 -1
  920. package/wijmo.knockout.olap.d.ts +1 -1
  921. package/wijmo.knockout.olap.js +1 -1
  922. package/wijmo.meta.d.ts +1 -1
  923. package/wijmo.meta.js +1 -1
  924. package/wijmo.nav.d.ts +1 -1
  925. package/wijmo.nav.js +1 -1
  926. package/wijmo.odata.d.ts +1 -1
  927. package/wijmo.odata.js +1 -1
  928. package/wijmo.olap.d.ts +1 -1
  929. package/wijmo.olap.js +1 -1
  930. package/wijmo.pdf.d.ts +1 -1
  931. package/wijmo.pdf.js +1 -1
  932. package/wijmo.pdf.security.d.ts +1 -1
  933. package/wijmo.pdf.security.js +1 -1
  934. package/wijmo.react.barcode.base.d.ts +1 -1
  935. package/wijmo.react.barcode.base.js +1 -1
  936. package/wijmo.react.barcode.common.d.ts +1 -1
  937. package/wijmo.react.barcode.common.js +1 -1
  938. package/wijmo.react.barcode.composite.d.ts +1 -1
  939. package/wijmo.react.barcode.composite.js +1 -1
  940. package/wijmo.react.barcode.specialized.d.ts +1 -1
  941. package/wijmo.react.barcode.specialized.js +1 -1
  942. package/wijmo.react.base.d.ts +1 -1
  943. package/wijmo.react.base.js +1 -1
  944. package/wijmo.react.chart.analytics.d.ts +1 -1
  945. package/wijmo.react.chart.analytics.js +1 -1
  946. package/wijmo.react.chart.animation.d.ts +1 -1
  947. package/wijmo.react.chart.animation.js +1 -1
  948. package/wijmo.react.chart.annotation.d.ts +1 -1
  949. package/wijmo.react.chart.annotation.js +1 -1
  950. package/wijmo.react.chart.d.ts +1 -1
  951. package/wijmo.react.chart.finance.analytics.d.ts +1 -1
  952. package/wijmo.react.chart.finance.analytics.js +1 -1
  953. package/wijmo.react.chart.finance.d.ts +1 -1
  954. package/wijmo.react.chart.finance.js +1 -1
  955. package/wijmo.react.chart.hierarchical.d.ts +1 -1
  956. package/wijmo.react.chart.hierarchical.js +1 -1
  957. package/wijmo.react.chart.interaction.d.ts +1 -1
  958. package/wijmo.react.chart.interaction.js +1 -1
  959. package/wijmo.react.chart.js +1 -1
  960. package/wijmo.react.chart.map.d.ts +1 -1
  961. package/wijmo.react.chart.map.js +1 -1
  962. package/wijmo.react.chart.radar.d.ts +1 -1
  963. package/wijmo.react.chart.radar.js +1 -1
  964. package/wijmo.react.gauge.d.ts +1 -1
  965. package/wijmo.react.gauge.js +1 -1
  966. package/wijmo.react.grid.d.ts +1 -1
  967. package/wijmo.react.grid.detail.d.ts +1 -1
  968. package/wijmo.react.grid.detail.js +1 -1
  969. package/wijmo.react.grid.filter.d.ts +1 -1
  970. package/wijmo.react.grid.filter.js +1 -1
  971. package/wijmo.react.grid.grouppanel.d.ts +1 -1
  972. package/wijmo.react.grid.grouppanel.js +1 -1
  973. package/wijmo.react.grid.immutable.d.ts +1 -1
  974. package/wijmo.react.grid.immutable.js +1 -1
  975. package/wijmo.react.grid.js +1 -1
  976. package/wijmo.react.grid.multirow.d.ts +1 -1
  977. package/wijmo.react.grid.multirow.js +1 -1
  978. package/wijmo.react.grid.search.d.ts +1 -1
  979. package/wijmo.react.grid.search.js +1 -1
  980. package/wijmo.react.grid.sheet.d.ts +1 -1
  981. package/wijmo.react.grid.sheet.js +1 -1
  982. package/wijmo.react.grid.transposed.d.ts +1 -1
  983. package/wijmo.react.grid.transposed.js +1 -1
  984. package/wijmo.react.grid.transposedmultirow.d.ts +1 -1
  985. package/wijmo.react.grid.transposedmultirow.js +1 -1
  986. package/wijmo.react.input.d.ts +1 -1
  987. package/wijmo.react.input.js +1 -1
  988. package/wijmo.react.nav.d.ts +1 -1
  989. package/wijmo.react.nav.js +1 -1
  990. package/wijmo.react.olap.d.ts +1 -1
  991. package/wijmo.react.olap.js +1 -1
  992. package/wijmo.react.viewer.d.ts +1 -1
  993. package/wijmo.react.viewer.js +1 -1
  994. package/wijmo.rest.d.ts +1 -1
  995. package/wijmo.rest.js +1 -1
  996. package/wijmo.touch.d.ts +1 -1
  997. package/wijmo.touch.js +1 -1
  998. package/wijmo.undo.d.ts +1 -1
  999. package/wijmo.undo.js +1 -1
  1000. package/wijmo.viewer.d.ts +1 -1
  1001. package/wijmo.viewer.js +1 -1
  1002. package/wijmo.vue2.barcode.common.d.ts +1 -1
  1003. package/wijmo.vue2.barcode.common.js +1 -1
  1004. package/wijmo.vue2.barcode.composite.d.ts +1 -1
  1005. package/wijmo.vue2.barcode.composite.js +1 -1
  1006. package/wijmo.vue2.barcode.specialized.d.ts +1 -1
  1007. package/wijmo.vue2.barcode.specialized.js +1 -1
  1008. package/wijmo.vue2.base.d.ts +1 -1
  1009. package/wijmo.vue2.base.js +1 -1
  1010. package/wijmo.vue2.chart.analytics.d.ts +1 -1
  1011. package/wijmo.vue2.chart.analytics.js +1 -1
  1012. package/wijmo.vue2.chart.animation.d.ts +1 -1
  1013. package/wijmo.vue2.chart.animation.js +1 -1
  1014. package/wijmo.vue2.chart.annotation.d.ts +1 -1
  1015. package/wijmo.vue2.chart.annotation.js +1 -1
  1016. package/wijmo.vue2.chart.d.ts +1 -1
  1017. package/wijmo.vue2.chart.finance.analytics.d.ts +1 -1
  1018. package/wijmo.vue2.chart.finance.analytics.js +1 -1
  1019. package/wijmo.vue2.chart.finance.d.ts +1 -1
  1020. package/wijmo.vue2.chart.finance.js +1 -1
  1021. package/wijmo.vue2.chart.hierarchical.d.ts +1 -1
  1022. package/wijmo.vue2.chart.hierarchical.js +1 -1
  1023. package/wijmo.vue2.chart.interaction.d.ts +1 -1
  1024. package/wijmo.vue2.chart.interaction.js +1 -1
  1025. package/wijmo.vue2.chart.js +1 -1
  1026. package/wijmo.vue2.chart.map.d.ts +1 -1
  1027. package/wijmo.vue2.chart.map.js +1 -1
  1028. package/wijmo.vue2.chart.radar.d.ts +1 -1
  1029. package/wijmo.vue2.chart.radar.js +1 -1
  1030. package/wijmo.vue2.core.d.ts +1 -1
  1031. package/wijmo.vue2.core.js +1 -1
  1032. package/wijmo.vue2.gauge.d.ts +1 -1
  1033. package/wijmo.vue2.gauge.js +1 -1
  1034. package/wijmo.vue2.grid.d.ts +1 -1
  1035. package/wijmo.vue2.grid.detail.d.ts +1 -1
  1036. package/wijmo.vue2.grid.detail.js +1 -1
  1037. package/wijmo.vue2.grid.filter.d.ts +1 -1
  1038. package/wijmo.vue2.grid.filter.js +1 -1
  1039. package/wijmo.vue2.grid.grouppanel.d.ts +1 -1
  1040. package/wijmo.vue2.grid.grouppanel.js +1 -1
  1041. package/wijmo.vue2.grid.js +1 -1
  1042. package/wijmo.vue2.grid.multirow.d.ts +1 -1
  1043. package/wijmo.vue2.grid.multirow.js +1 -1
  1044. package/wijmo.vue2.grid.search.d.ts +1 -1
  1045. package/wijmo.vue2.grid.search.js +1 -1
  1046. package/wijmo.vue2.grid.sheet.d.ts +1 -1
  1047. package/wijmo.vue2.grid.sheet.js +1 -1
  1048. package/wijmo.vue2.grid.transposed.d.ts +1 -1
  1049. package/wijmo.vue2.grid.transposed.js +1 -1
  1050. package/wijmo.vue2.grid.transposedmultirow.d.ts +1 -1
  1051. package/wijmo.vue2.grid.transposedmultirow.js +1 -1
  1052. package/wijmo.vue2.input.d.ts +1 -1
  1053. package/wijmo.vue2.input.js +1 -1
  1054. package/wijmo.vue2.nav.d.ts +1 -1
  1055. package/wijmo.vue2.nav.js +1 -1
  1056. package/wijmo.vue2.olap.d.ts +1 -1
  1057. package/wijmo.vue2.olap.js +1 -1
  1058. package/wijmo.vue2.viewer.d.ts +1 -1
  1059. package/wijmo.vue2.viewer.js +1 -1
  1060. package/wijmo.webcomponents.barcode.common.d.ts +1 -1
  1061. package/wijmo.webcomponents.barcode.common.js +1 -1
  1062. package/wijmo.webcomponents.barcode.composite.d.ts +1 -1
  1063. package/wijmo.webcomponents.barcode.composite.js +1 -1
  1064. package/wijmo.webcomponents.barcode.specialized.d.ts +1 -1
  1065. package/wijmo.webcomponents.barcode.specialized.js +1 -1
  1066. package/wijmo.webcomponents.base.d.ts +1 -1
  1067. package/wijmo.webcomponents.base.js +1 -1
  1068. package/wijmo.webcomponents.chart.analytics.d.ts +1 -1
  1069. package/wijmo.webcomponents.chart.analytics.js +1 -1
  1070. package/wijmo.webcomponents.chart.animation.d.ts +1 -1
  1071. package/wijmo.webcomponents.chart.animation.js +1 -1
  1072. package/wijmo.webcomponents.chart.d.ts +1 -1
  1073. package/wijmo.webcomponents.chart.finance.analytics.d.ts +1 -1
  1074. package/wijmo.webcomponents.chart.finance.analytics.js +1 -1
  1075. package/wijmo.webcomponents.chart.finance.d.ts +1 -1
  1076. package/wijmo.webcomponents.chart.finance.js +1 -1
  1077. package/wijmo.webcomponents.chart.hierarchical.d.ts +1 -1
  1078. package/wijmo.webcomponents.chart.hierarchical.js +1 -1
  1079. package/wijmo.webcomponents.chart.interaction.d.ts +1 -1
  1080. package/wijmo.webcomponents.chart.interaction.js +1 -1
  1081. package/wijmo.webcomponents.chart.js +1 -1
  1082. package/wijmo.webcomponents.chart.map.d.ts +1 -1
  1083. package/wijmo.webcomponents.chart.map.js +1 -1
  1084. package/wijmo.webcomponents.chart.radar.d.ts +1 -1
  1085. package/wijmo.webcomponents.chart.radar.js +1 -1
  1086. package/wijmo.webcomponents.gauge.d.ts +1 -1
  1087. package/wijmo.webcomponents.gauge.js +1 -1
  1088. package/wijmo.webcomponents.grid.d.ts +1 -1
  1089. package/wijmo.webcomponents.grid.filter.d.ts +1 -1
  1090. package/wijmo.webcomponents.grid.filter.js +1 -1
  1091. package/wijmo.webcomponents.grid.grouppanel.d.ts +1 -1
  1092. package/wijmo.webcomponents.grid.grouppanel.js +1 -1
  1093. package/wijmo.webcomponents.grid.js +1 -1
  1094. package/wijmo.webcomponents.grid.multirow.d.ts +1 -1
  1095. package/wijmo.webcomponents.grid.multirow.js +1 -1
  1096. package/wijmo.webcomponents.grid.search.d.ts +1 -1
  1097. package/wijmo.webcomponents.grid.search.js +1 -1
  1098. package/wijmo.webcomponents.grid.sheet.d.ts +1 -1
  1099. package/wijmo.webcomponents.grid.sheet.js +1 -1
  1100. package/wijmo.webcomponents.grid.transposed.d.ts +1 -1
  1101. package/wijmo.webcomponents.grid.transposed.js +1 -1
  1102. package/wijmo.webcomponents.grid.transposedmultirow.d.ts +1 -1
  1103. package/wijmo.webcomponents.grid.transposedmultirow.js +1 -1
  1104. package/wijmo.webcomponents.input.d.ts +1 -1
  1105. package/wijmo.webcomponents.input.js +1 -1
  1106. package/wijmo.webcomponents.nav.d.ts +1 -1
  1107. package/wijmo.webcomponents.nav.js +1 -1
  1108. package/wijmo.webcomponents.olap.d.ts +1 -1
  1109. package/wijmo.webcomponents.olap.js +1 -1
  1110. package/wijmo.webcomponents.viewer.d.ts +1 -1
  1111. package/wijmo.webcomponents.viewer.js +1 -1
  1112. package/wijmo.xlsx.d.ts +1 -1
  1113. package/wijmo.xlsx.js +1 -1
package/wijmo.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20252.44
3
+ * Wijmo Library 5.20261.45-nightly.d20251218.t163151
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -11,4 +11,4 @@
11
11
  *
12
12
  */
13
13
 
14
- "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t;return e},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var selfModule=__importStar(require("wijmo/wijmo"));function _ipTools(){var e={},t="(0?\\d+|0x[a-f0-9]+)",r={fourOctet:new RegExp("^".concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"$"),"i"),threeOctet:new RegExp("^".concat(t,"\\.").concat(t,"\\.").concat(t,"$"),"i"),twoOctet:new RegExp("^".concat(t,"\\.").concat(t,"$"),"i"),longValue:new RegExp("^".concat(t,"$"),"i")},n=new RegExp("^0[0-7]+$","i"),i=new RegExp("^0x[a-f0-9]+$","i"),o="(?:[0-9a-f]+::?)+",s={zoneIndex:new RegExp("%[0-9a-z]{1,}","i"),native:new RegExp("^(::)?(".concat(o,")?([0-9a-f]+)?(::)?(").concat("%[0-9a-z]{1,}",")?$"),"i"),deprecatedTransitional:new RegExp("^(?:::)(".concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"(").concat("%[0-9a-z]{1,}",")?)$"),"i"),transitional:new RegExp("^((?:".concat(o,")|(?:::)(?:").concat(o,")?)").concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"(").concat("%[0-9a-z]{1,}",")?$"),"i")};function expandIPv6(e,t){if(e.indexOf("::")!==e.lastIndexOf("::"))return null;var r,n,i=0,o=-1,a=(e.match(s.zoneIndex)||[])[0];if(a){a=a.substring(1);e=e.replace(/%.+$/,"")}for(;(o=e.indexOf(":",o+1))>=0;)i++;"::"===e.substr(0,2)&&i--;"::"===e.substr(-2,2)&&i--;if(i>t)return null;n=t-i;r=":";for(;n--;)r+="0:";":"===(e=e.replace("::",r))[0]&&(e=e.slice(1));":"===e[e.length-1]&&(e=e.slice(0,-1));return{parts:t=function(){for(var t=e.split(":"),r=[],n=0;n<t.length;n++)r.push(parseInt(t[n],16));return r}(),zoneId:a}}function matchCIDR(e,t,r,n){if(e.length!==t.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(var i,o=0;n>0;){(i=r-n)<0&&(i=0);if(e[o]>>i!=t[o]>>i)return!1;n-=r;o+=1}return!0}function parseIntAuto(e){if(i.test(e))return parseInt(e,16);if("0"===e[0]&&!isNaN(parseInt(e[1],10))){if(n.test(e))return parseInt(e,8);throw new Error("ipaddr: cannot parse ".concat(e," as octal"))}return parseInt(e,10)}function padPart(e,t){for(;e.length<t;)e="0".concat(e);return e}e.IPv4=function(){function IPv4(e){if(4!==e.length)throw new Error("ipaddr: ipv4 octet count should be 4");var t,r;for(t=0;t<e.length;t++)if(!(0<=(r=e[t])&&r<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}IPv4.prototype.SpecialRanges={unspecified:[[new IPv4([0,0,0,0]),8]],broadcast:[[new IPv4([255,255,255,255]),32]],multicast:[[new IPv4([224,0,0,0]),4]],linkLocal:[[new IPv4([169,254,0,0]),16]],loopback:[[new IPv4([127,0,0,0]),8]],carrierGradeNat:[[new IPv4([100,64,0,0]),10]],private:[[new IPv4([10,0,0,0]),8],[new IPv4([172,16,0,0]),12],[new IPv4([192,168,0,0]),16]],reserved:[[new IPv4([192,0,0,0]),24],[new IPv4([192,0,2,0]),24],[new IPv4([192,88,99,0]),24],[new IPv4([198,51,100,0]),24],[new IPv4([203,0,113,0]),24],[new IPv4([240,0,0,0]),4]]};IPv4.prototype.kind=function(){return"ipv4"};IPv4.prototype.match=function(e,t){var r;if(void 0===t){e=(r=e)[0];t=r[1]}if("ipv4"!==e.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return matchCIDR(this.octets,e.octets,8,t)};IPv4.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,n=0,i=!1,o={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=3;e>=0;e-=1){if(!((t=this.octets[e])in o))return null;r=o[t];if(i&&0!==r)return null;8!==r&&(i=!0);n+=r}return 32-n};IPv4.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)};IPv4.prototype.toByteArray=function(){return this.octets.slice(0)};IPv4.prototype.toIPv4MappedAddress=function(){return e.IPv6.parse("::ffff:".concat(this.toString()))};IPv4.prototype.toNormalizedString=function(){return this.toString()};IPv4.prototype.toString=function(){return this.octets.join(".")};return IPv4}();e.IPv4.broadcastAddressFromCIDR=function(e){try{for(var t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],o=0;o<4;){i.push(parseInt(r[o],10)|255^parseInt(n[o],10));o++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};e.IPv4.isIPv4=function(e){return null!==this.parser(e)};e.IPv4.isValid=function(e){try{new this(this.parser(e));return!0}catch(e){return!1}};e.IPv4.isValidFourPartDecimal=function(t){return!(!e.IPv4.isValid(t)||!t.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))};e.IPv4.networkAddressFromCIDR=function(e){var t,r,n,i,o;try{n=(t=this.parseCIDR(e))[0].toByteArray();o=this.subnetMaskFromPrefixLength(t[1]).toByteArray();i=[];r=0;for(;r<4;){i.push(parseInt(n[r],10)&parseInt(o[r],10));r++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};e.IPv4.parse=function(e){var t=this.parser(e);if(null===t)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(t)};e.IPv4.parseCIDR=function(e){var t;if(t=e.match(/^(.+)\/(\d+)$/)){var r=parseInt(t[2]);if(r>=0&&r<=32){var n=[this.parse(t[1]),r];Object.defineProperty(n,"toString",{value:function value(){return this.join("/")}});return n}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")};e.IPv4.parser=function(e){var t,n,i;if(t=e.match(r.fourOctet))return function(){for(var e=t.slice(1,6),r=[],i=0;i<e.length;i++){n=e[i];r.push(parseIntAuto(n))}return r}();if(t=e.match(r.longValue)){if((i=parseIntAuto(t[1]))>4294967295||i<0)throw new Error("ipaddr: address outside defined range");return function(){var e,t=[];for(e=0;e<=24;e+=8)t.push(i>>e&255);return t}().reverse()}return(t=e.match(r.twoOctet))?function(){var e=t.slice(1,4),r=[];if((i=parseIntAuto(e[1]))>16777215||i<0)throw new Error("ipaddr: address outside defined range");r.push(parseIntAuto(e[0]));r.push(i>>16&255);r.push(i>>8&255);r.push(255&i);return r}():(t=e.match(r.threeOctet))?function(){var e=t.slice(1,5),r=[];if((i=parseIntAuto(e[2]))>65535||i<0)throw new Error("ipaddr: address outside defined range");r.push(parseIntAuto(e[0]));r.push(parseIntAuto(e[1]));r.push(i>>8&255);r.push(255&i);return r}():null};e.IPv4.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(var t=[0,0,0,0],r=0,n=Math.floor(e/8);r<n;){t[r]=255;r++}n<4&&(t[n]=Math.pow(2,e%8)-1<<8-e%8);return new this(t)};e.IPv6=function(){function IPv6(e,t){var r,n;if(16===e.length){this.parts=[];for(r=0;r<=14;r+=2)this.parts.push(e[r]<<8|e[r+1])}else{if(8!==e.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(r=0;r<this.parts.length;r++)if(!(0<=(n=this.parts[r])&&n<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}IPv6.prototype.SpecialRanges={unspecified:[new IPv6([0,0,0,0,0,0,0,0]),128],linkLocal:[new IPv6([65152,0,0,0,0,0,0,0]),10],multicast:[new IPv6([65280,0,0,0,0,0,0,0]),8],loopback:[new IPv6([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new IPv6([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new IPv6([0,0,0,0,0,65535,0,0]),96],rfc6145:[new IPv6([0,0,0,0,65535,0,0,0]),96],rfc6052:[new IPv6([100,65435,0,0,0,0,0,0]),96],"6to4":[new IPv6([8194,0,0,0,0,0,0,0]),16],teredo:[new IPv6([8193,0,0,0,0,0,0,0]),32],reserved:[[new IPv6([8193,3512,0,0,0,0,0,0]),32]]};IPv6.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()};IPv6.prototype.kind=function(){return"ipv6"};IPv6.prototype.match=function(e,t){var r;if(void 0===t){e=(r=e)[0];t=r[1]}if("ipv6"!==e.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return matchCIDR(this.parts,e.parts,16,t)};IPv6.prototype.prefixLengthFromSubnetMask=function(){for(var e,t,r=0,n=!1,i={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},o=7;o>=0;o-=1){if(!((e=this.parts[o])in i))return null;t=i[e];if(n&&0!==t)return null;16!==t&&(n=!0);r+=t}return 128-r};IPv6.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)};IPv6.prototype.toByteArray=function(){for(var e,t=[],r=this.parts,n=0;n<r.length;n++){e=r[n];t.push(e>>8);t.push(255&e)}return t};IPv6.prototype.toFixedLengthString=function(){var e=function(){for(var e=[],t=0;t<this.parts.length;t++)e.push(padPart(this.parts[t].toString(16),4));return e}.call(this).join(":"),t="";this.zoneId&&(t="%".concat(this.zoneId));return e+t};IPv6.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");var t=this.parts.slice(-2),r=t[0],n=t[1];return new e.IPv4([r>>8,255&r,n>>8,255&n])};IPv6.prototype.toNormalizedString=function(){var e=function(){for(var e=[],t=0;t<this.parts.length;t++)e.push(this.parts[t].toString(16));return e}.call(this).join(":"),t="";this.zoneId&&(t="%".concat(this.zoneId));return e+t};IPv6.prototype.toRFC5952String=function(){for(var e,t=/((^|:)(0(:|$)){2,})/g,r=this.toNormalizedString(),n=0,i=-1;e=t.exec(r);)if(e[0].length>i){n=e.index;i=e[0].length}return i<0?r:"".concat(r.substring(0,n),"::").concat(r.substring(n+i))};IPv6.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")};return IPv6}();e.IPv6.broadcastAddressFromCIDR=function(e){try{for(var t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],o=0;o<16;){i.push(parseInt(r[o],10)|255^parseInt(n[o],10));o++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}};e.IPv6.isIPv6=function(e){return null!==this.parser(e)};e.IPv6.isValid=function(e){if("string"==typeof e&&-1===e.indexOf(":"))return!1;try{var t=this.parser(e);new this(t.parts,t.zoneId);return!0}catch(e){return!1}};e.IPv6.networkAddressFromCIDR=function(e){var t,r,n,i,o;try{n=(t=this.parseCIDR(e))[0].toByteArray();o=this.subnetMaskFromPrefixLength(t[1]).toByteArray();i=[];r=0;for(;r<16;){i.push(parseInt(n[r],10)&parseInt(o[r],10));r++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}};e.IPv6.parse=function(e){var t=this.parser(e);if(null===t.parts)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(t.parts,t.zoneId)};e.IPv6.parseCIDR=function(e){var t,r,n;if((r=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(r[2]))>=0&&t<=128){n=[this.parse(r[1]),t];Object.defineProperty(n,"toString",{value:function value(){return this.join("/")}});return n}throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")};e.IPv6.parser=function(e){var t,r,n,i,o,a;if(n=e.match(s.deprecatedTransitional))return this.parser("::ffff:".concat(n[1]));if(s.native.test(e))return expandIPv6(e,8);if(n=e.match(s.transitional)){a=n[6]||"";if((t=expandIPv6(n[1].slice(0,-1)+a,6)).parts){o=[parseInt(n[2]),parseInt(n[3]),parseInt(n[4]),parseInt(n[5])];for(r=0;r<o.length;r++)if(!(0<=(i=o[r])&&i<=255))return null;t.parts.push(o[0]<<8|o[1]);t.parts.push(o[2]<<8|o[3]);return{parts:t.parts,zoneId:t.zoneId}}}return null};e.IPv6.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>128)throw new Error("ipaddr: invalid IPv6 prefix length");for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0,n=Math.floor(e/8);r<n;){t[r]=255;r++}n<16&&(t[n]=Math.pow(2,e%8)-1<<8-e%8);return new this(t)};e.fromByteArray=function(t){var r=t.length;if(4===r)return new e.IPv4(t);if(16===r)return new e.IPv6(t);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")};e.isValid=function(t){return e.IPv6.isValid(t)||e.IPv4.isValid(t)};e.parse=function(t){if(e.IPv6.isValid(t))return e.IPv6.parse(t);if(e.IPv4.isValid(t))return e.IPv4.parse(t);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")};e.parseCIDR=function(t){try{return e.IPv6.parseCIDR(t)}catch(r){try{return e.IPv4.parseCIDR(t)}catch(e){throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}};e.process=function(e){var t=this.parse(e);return"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t};e.subnetMatch=function(e,t,r){var n,i,o,s;null==r&&(r="unicast");for(i in t)if(Object.prototype.hasOwnProperty.call(t,i)){!(o=t[i])[0]||o[0]instanceof Array||(o=[o]);for(n=0;n<o.length;n++){s=o[n];if(e.kind()===s[0].kind()&&e.match.apply(e,s))return i}}return r};return e}exports.ipaddr=_ipTools();var Binding=function(){function Binding(e){this.path=e}Object.defineProperty(Binding.prototype,"path",{get:function(){return this._path},set:function(e){this._path=e;this._parts=e?e.split("."):[];for(var t=0;t<this._parts.length;t++){var r=this._parts[t],n=r.indexOf("[");if(n>-1){this._parts[t]=r.substr(0,n);this._parts.splice(++t,0,parseInt(r.substr(n+1)))}}this._key=1==this._parts.length?this._parts[0]:null},enumerable:!0,configurable:!0});Binding.prototype.getValue=function(e){if(e){if(this._key)return e[this._key];if(this._path&&this._path in e)return e[this._path];for(var t=0;t<this._parts.length&&e;t++)e=e[this._parts[t]]}return e};Binding.prototype.setValue=function(e,t){if(e)try{var r=this._path;if(r in e){e[r]=t;return e[r]==t}for(var n=0;n<this._parts.length-1;n++)if(null==(e=e[this._parts[n]]))return!1;e[r=this._parts[this._parts.length-1]]=t;return e[r]==t}catch(e){return!1}return!1};return Binding}();exports.Binding=Binding;var EventHandler=function EventHandler(e,t){this.handler=e;this.self=t},Event=function(){function Event(e){this._handlers=[];this._handlersChanged=e}Event.prototype.addHandler=function(e,t){e=asFunction(e);this._handlers.push(new EventHandler(e,t));isFunction(this._handlersChanged)&&this._handlersChanged()};Event.prototype.getHandler=function(e){void 0===e&&(e=0);var t=this._handlers[e];if(t)return t.handler};Event.prototype.removeHandler=function(e,t){var r=!1;e=asFunction(e);for(var n=0;n<this._handlers.length;n++){var i=this._handlers[n];if(!(i.handler!=e&&null!=e||i.self!=t&&null!=t)){this._handlers.splice(n--,1);r=!0;if(e&&t)break}}r&&isFunction(this._handlersChanged)&&this._handlersChanged()};Event.prototype.removeAllHandlers=function(){var e=this._handlers.length>0;this._handlers.length=0;e&&isFunction(this._handlersChanged)&&this._handlersChanged()};Event.prototype.raise=function(e,t){void 0===t&&(t=EventArgs.empty);for(var r=this._handlers,n=0;n<r.length;n++){var i=r[n];i.handler.call(i.self,e,t);r[n]!==i&&n--}};Object.defineProperty(Event.prototype,"hasHandlers",{get:function(){return this._handlers.length>0},enumerable:!0,configurable:!0});Object.defineProperty(Event.prototype,"handlerCount",{get:function(){return this._handlers.length},enumerable:!0,configurable:!0});return Event}();exports.Event=Event;var EventArgs=function(){function EventArgs(){}EventArgs.empty=new EventArgs;return EventArgs}();exports.EventArgs=EventArgs;var CancelEventArgs=function(e){__extends(CancelEventArgs,e);function CancelEventArgs(){var t=null!==e&&e.apply(this,arguments)||this;t.cancel=!1;return t}return CancelEventArgs}(EventArgs);exports.CancelEventArgs=CancelEventArgs;var PropertyChangedEventArgs=function(e){__extends(PropertyChangedEventArgs,e);function PropertyChangedEventArgs(t,r,n){var i=e.call(this)||this;i._name=t;i._oldVal=r;i._newVal=n;return i}Object.defineProperty(PropertyChangedEventArgs.prototype,"propertyName",{get:function(){return this._name},enumerable:!0,configurable:!0});Object.defineProperty(PropertyChangedEventArgs.prototype,"oldValue",{get:function(){return this._oldVal},enumerable:!0,configurable:!0});Object.defineProperty(PropertyChangedEventArgs.prototype,"newValue",{get:function(){return this._newVal},enumerable:!0,configurable:!0});return PropertyChangedEventArgs}(EventArgs);exports.PropertyChangedEventArgs=PropertyChangedEventArgs;var NotifyCollectionChangedAction,RequestErrorEventArgs=function(e){__extends(RequestErrorEventArgs,e);function RequestErrorEventArgs(t,r){var n=e.call(this)||this;n._xhr=t;n._msg=r;return n}Object.defineProperty(RequestErrorEventArgs.prototype,"request",{get:function(){return this._xhr},enumerable:!0,configurable:!0});Object.defineProperty(RequestErrorEventArgs.prototype,"message",{get:function(){return this._msg},set:function(e){this._msg=e},enumerable:!0,configurable:!0});return RequestErrorEventArgs}(CancelEventArgs);exports.RequestErrorEventArgs=RequestErrorEventArgs;!function(e){e[e.Add=0]="Add";e[e.Remove=1]="Remove";e[e.Change=2]="Change";e[e.Reset=3]="Reset"}(NotifyCollectionChangedAction=exports.NotifyCollectionChangedAction||(exports.NotifyCollectionChangedAction={}));var NotifyCollectionChangedEventArgs=function(e){__extends(NotifyCollectionChangedEventArgs,e);function NotifyCollectionChangedEventArgs(t,r,n){void 0===t&&(t=NotifyCollectionChangedAction.Reset);void 0===r&&(r=null);void 0===n&&(n=-1);var i=e.call(this)||this;i.action=t;i.item=r;i.index=n;return i}NotifyCollectionChangedEventArgs.reset=new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset);return NotifyCollectionChangedEventArgs}(EventArgs);exports.NotifyCollectionChangedEventArgs=NotifyCollectionChangedEventArgs;var SortDescription=function(){function SortDescription(e,t){this._bnd=new Binding(e);this._asc=t}Object.defineProperty(SortDescription.prototype,"property",{get:function(){return this._bnd.path},enumerable:!0,configurable:!0});Object.defineProperty(SortDescription.prototype,"ascending",{get:function(){return this._asc},enumerable:!0,configurable:!0});return SortDescription}();exports.SortDescription=SortDescription;var PageChangingEventArgs=function(e){__extends(PageChangingEventArgs,e);function PageChangingEventArgs(t){var r=e.call(this)||this;r.newPageIndex=t;return r}return PageChangingEventArgs}(CancelEventArgs);exports.PageChangingEventArgs=PageChangingEventArgs;var GroupDescription=function(){function GroupDescription(){}GroupDescription.prototype.groupNameFromItem=function(e,t){return""};GroupDescription.prototype.namesMatch=function(e,t){return e===t};return GroupDescription}();exports.GroupDescription=GroupDescription;var PropertyGroupDescription=function(e){__extends(PropertyGroupDescription,e);function PropertyGroupDescription(t,r){var n=e.call(this)||this;n._bnd=new Binding(t);n._converter=r;return n}Object.defineProperty(PropertyGroupDescription.prototype,"propertyName",{get:function(){return this._bnd.path},enumerable:!0,configurable:!0});PropertyGroupDescription.prototype.groupNameFromItem=function(e,t){return this._converter?this._converter(e,this.propertyName):this._bnd.getValue(e)};PropertyGroupDescription.prototype.namesMatch=function(e,t){return e===t};return PropertyGroupDescription}(GroupDescription);exports.PropertyGroupDescription=PropertyGroupDescription;exports.empty={};exports.ClipboardClsNames={clipboard:"wj-clipboard"};exports.ControlClsNames={content:"wj-content",hostElement:"wj-control",template:"wj-template"};exports.ControlStateClsNames={active:"wj-state-active",checked:"wj-state-checked",collapsed:"wj-state-collapsed",collapsing:"wj-state-collapsing",disabled:"wj-state-disabled",dragSrc:"wj-state-dragsrc",empty:"wj-state-empty",focus:"wj-state-focus",focused:"wj-state-focused",invalid:"wj-state-invalid",lastSelected:"wj-state-last-selected",loading:"wj-state-loading",match:"wj-state-match",exactMatchSpace:"wj-state-exact-match-space",measuring:"wj-state-measuring",multiSelected:"wj-state-multi-selected",pinned:"wj-state-pinned",readOnly:"wj-state-readonly",selected:"wj-state-selected",sticky:"wj-state-sticky",updating:"wj-state-updating",labeledInput:".wj-labeled-input",wjError:".wj-error",errorVisible:"wj-error-visible"};exports.GlyphClsNames={backward:"wj-glyph-backward",btnGlyph:"wj-btn-glyph",calendar:"wj-glyph-calendar",circle:"wj-glyph-circle",clock:"wj-glyph-clock",down:"wj-glyph-down",downLeft:"wj-glyph-down-left",drag:"wj-glyph-drag",file:"wj-glyph-file",filter:"wj-glyph-filter",forward:"wj-glyph-forward",glyph:"wj-glyph",left:"wj-glyph-left",minus:"wj-glyph-minus",plus:"wj-glyph-plus",right:"wj-glyph-right",stepBackward:"wj-glyph-step-backward",stepForward:"wj-glyph-step-forward",up:"wj-glyph-up"};exports.InputFormElementsClsNames={btn:"wj-btn",btnDefault:"wj-btn-default",btnGroup:"wj-btn-group",btnGroupVertical:"wj-btn-group-vertical",btnsOutside:"wj-btns-outside",formControl:"wj-form-control",svgBtn:"wj-svg-btn"};exports.PrintDocumentClsNames={printDocument:"wj-printdocument"};exports.TooltipClsNames={hostElement:"wj-tooltip"};exports.UtilitesClsNames={align:"wj-align",alignVCenter:"wj-align-vcenter",animated:"wj-animated",centerVert:"wj-center-vert",close:"wj-close",hide:"wj-hide",hideOk:"wj-hide-ok",remove:"wj-remove",right:"wj-right",rtl:"wj-rtl",separator:"wj-separator"};exports.ForeignClsNames={InputClsNames:{input:"wj-input",inputBtnVisible:"wj-input-btn-visible",inputGroup:"wj-input-group",inputGroupBtn:"wj-input-group-btn"},SelectorClsNames:{columnSelector:"wj-column-selector",columnSelectorGroup:"wj-column-selector-group"}};var _agent="undefined"!=typeof navigator?navigator.userAgent:"";function isMobile(){var e=_agent.toLowerCase();return["android","webos","iphone","ipad","ipod","blackberry","windows phone","mobile","mobi","tablet"].some((function(t){return e.includes(t)}))}exports.isMobile=isMobile;function isSupportTouch(){return"ontouchstart"in window||navigator.maxTouchPoints>0}exports.isSupportTouch=isSupportTouch;var _isiOS=null!=_agent.match(/iPad|iPhone|iPod/i);function isiOS(){return _isiOS}exports.isiOS=isiOS;var _isFF=null!=_agent.match(/Firefox\//);function isFirefox(){return _isFF}exports.isFirefox=isFirefox;var _isSafari=null!=_agent.match(/^((?!Chrome|Android).)*safari/i);function isSafari(){return _isSafari}exports.isSafari=isSafari;var _isEdge=null!=_agent.match(/Edge\/|Edg\//);function isEdge(){return _isEdge}exports.isEdge=isEdge;var _isIE=null!=_agent.match(/MSIE |Trident\/|Edge\//);function isIE(){return _isIE}exports.isIE=isIE;var _isIE9=!1;function isIE9(){return _isIE9}exports.isIE9=isIE9;var _isIE10=!1;function isIE10(){return _isIE10}exports.isIE10=isIE10;var _isChromiumBased=null;function isChromiumBased(){if(null!=_isChromiumBased)return _isChromiumBased;_isChromiumBased=!1;var e="undefined"!=typeof navigator?navigator.userAgentData:null;if(e&&e.brands)for(var t=0,r=e.brands;t<r.length;t++){if("Chromium"==r[t].brand){_isChromiumBased=!0;break}}return _isChromiumBased}exports.isChromiumBased=isChromiumBased;var _supportsPassive=!1;"undefined"!=typeof document&&document.addEventListener("test",(function(e){}),{get passive(){_supportsPassive=!0;return!0}});function getEventOptions(e,t){return _supportsPassive?{capture:e,passive:t}:e}exports.getEventOptions=getEventOptions;var _supportsFocusOptions=!1;"undefined"!=typeof document&&document.createElement("div").focus({get preventScroll(){_supportsFocusOptions=!0;return!0}});function supportsFocusOptions(){return _supportsFocusOptions}exports.supportsFocusOptions=supportsFocusOptions;function _startDrag(e,t){e.effectAllowed=t;isFirefox()&&e.setData("text","")}exports._startDrag=_startDrag;if("undefined"!=typeof document&&document.doctype){navigator.appVersion.indexOf("MSIE 10")>-1&&(_isIE10=!0);if(navigator.appVersion.indexOf("MSIE 9")>-1){_isIE9=!0;document.addEventListener("mousemove",(function(e){if(1==e.which){var t=closest(e.target,"."+exports.ControlClsNames.hostElement);if(t&&!t.style.cursor)for(var r=e.target;r;r=r.parentElement)if(r.attributes&&r.attributes.draggable){r.dragDrop();return!1}}}))}}if("undefined"!=typeof window){var raf="requestAnimationFrame",caf="cancelAnimationFrame";if(!window[raf]){var expectedTime_1=0;window[raf]=function(e){var t=Date.now(),r=16-(t-expectedTime_1),n=r>0?r:0;expectedTime_1=t+n;return setTimeout((function(){e(expectedTime_1)}),n)};window[caf]=clearTimeout}if(!window.atob){var keys_1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",keysRe_1=new RegExp("[^"+keys_1+"]");window.atob=function(e){var t,r,n,i,o=[],s=0,a=e.length;if(keysRe_1.test(e)||/=/.test(e)&&(/=[^=]/.test(e)||/={3}/.test(e)))throw new Error("Invalid base64 data");a%4>0&&(a=(e+=Array(4-a%4+1).join("=")).length);for(;s<a;){for(r=[],i=s;s<i+4;)r.push(keys_1.indexOf(e.charAt(s++)));n=[((t=(r[0]<<18)+(r[1]<<12)+((63&r[2])<<6)+(63&r[3]))&255<<16)>>16,64===r[2]?-1:(65280&t)>>8,64===r[3]?-1:255&t];for(i=0;i<3;++i)(n[i]>=0||0===i)&&o.push(String.fromCharCode(n[i]))}return o.join("")};window.btoa=function(e){for(var t,r,n=[],i=0,o=e.length;i<o;){t=((r=[e.charCodeAt(i++),e.charCodeAt(i++),e.charCodeAt(i++)])[0]<<16)+((r[1]||0)<<8)+(r[2]||0);n.push(keys_1.charAt((t&63<<18)>>18),keys_1.charAt((258048&t)>>12),keys_1.charAt(isNaN(r[1])?64:(4032&t)>>6),keys_1.charAt(isNaN(r[2])?64:63&t))}return n.join("")}}}var _FocusService=function(){function _FocusService(){this._hasDoc="undefined"!=typeof Document;this._ae=this._nativeAe();var e=window,t=this._onBlur.bind(this),r=this._onFocus.bind(this);e.addEventListener("focusout",t,!0);e.addEventListener("focusin",r,!0);if(!isIE()){e.addEventListener("blur",t,!0);e.addEventListener("focus",r,!0)}}Object.defineProperty(_FocusService.prototype,"activeElement",{get:function(){var e=this._ae,t=this._nativeAe();e===_FocusService._noAe?e=this._ae=t:e!=t&&(this._isSpecialRoot(e)||document.body.contains(e)||(e=this._ae=t));return e!==_FocusService._noAe?e:null},enumerable:!0,configurable:!0});_FocusService.prototype._onBlur=function(e){if(e.isTrusted){var t=e.relatedTarget;this._ae=this._isSpecialRoot(t)?this._nativeAe():t}};_FocusService.prototype._onFocus=function(e){e.isTrusted&&(this._ae=this._nativeAe())};_FocusService.prototype._isSpecialRoot=function(e){return null==e||e===document.body||this._hasDoc&&e instanceof Document};_FocusService.prototype._nativeAe=function(){var e;try{e="unknown"!=typeof document.activeElement?document.activeElement:_FocusService._noAe}catch(t){e=_FocusService._noAe}return e};_FocusService.prototype.dispose=function(){if(!isIE()){window.removeEventListener("blur",this._onBlur,!0);window.removeEventListener("focus",this._onFocus,!0)}window.removeEventListener("focusout",this._onBlur,!0);window.removeEventListener("focusin",this._onFocus,!0)};_FocusService._noAe={};return _FocusService}();exports._FocusService=_FocusService;var _getProxyTarget="undefined"!=typeof window&&window.Symbol?Symbol("_getProxyTarget"):"\t_get\tProxy\tTarget\t";function _getCalculatedArray(e,t,r){var n=new WeakMap;if(!r){var i={};if(e.length){var o=e[0];for(var s in o){var a=typeof o[s];i[s]="string"==a?"":"number"==a?0:null}r=i}}return new Proxy(e,{get:function(e,i){if(i===_getProxyTarget)return e;if("string"==typeof i||"number"==typeof i){if("indexOf"==i)return function(t,r){var n=e.indexOf(t,r);n<0&&t&&(t=t[_getProxyTarget])&&(n=e.indexOf(t,r));return n};var o=parseInt(i);if(!isNaN(o)){var s=e[o];if(s&&!s[_getProxyTarget]){var a=n.get(s);if(!a){a=_createItemProxy(s,t,r);n.set(s,a)}s=a}return s}}return Reflect.get(e,i)}})}exports._getCalculatedArray=_getCalculatedArray;function _createItemProxy(e,t,r){if(!e[_getProxyTarget]){if(isIE())for(var n in t)e[n]=null;var i={get:function(e,n,i){if(n===_getProxyTarget)return e;if("constructor"===n)return function(){return Object.assign({},r||{})};var o=t[n];if(o)switch(typeof o){case"function":return o(i);case"string":return _eval(o,i)}return e[n]}};if(!isIE()){i.ownKeys=function(e){return Object.keys(e).concat(Object.keys(t))};i.getOwnPropertyDescriptor=function(e,r){return r in t?{enumerable:!0,configurable:!0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,r)}}e=new Proxy(e,i)}return e}function _getTargetObject(e){return(e?e[_getProxyTarget]:null)||e}exports._getTargetObject=_getTargetObject;function _eval(e,t){var r=[t];return(new(Function.bind.apply(Function,[void 0].concat(["$"],["return "+e])))).apply(void 0,r)}var Key,DataType,_VERSION="5.20252.44",_ENV_TOOLS=function(){function _ENV_TOOLS(){}_ENV_TOOLS.isSameInstance=function(e,t){return e==t};_ENV_TOOLS.indexOf=function(e,t){return e.indexOf(t)};return _ENV_TOOLS}();exports._ENV_TOOLS=_ENV_TOOLS;exports._CLS_STATE_DISABLED=exports.ControlStateClsNames.disabled;function getVersion(){return _VERSION}exports.getVersion=getVersion;function setLicenseKey(e){Control._licKey=e}exports.setLicenseKey=setLicenseKey;!function(e){e[e.Back=8]="Back";e[e.Tab=9]="Tab";e[e.Enter=13]="Enter";e[e.Escape=27]="Escape";e[e.Space=32]="Space";e[e.PageUp=33]="PageUp";e[e.PageDown=34]="PageDown";e[e.End=35]="End";e[e.Home=36]="Home";e[e.Left=37]="Left";e[e.Up=38]="Up";e[e.Right=39]="Right";e[e.Down=40]="Down";e[e.Delete=46]="Delete";e[e.X=88]="X";e[e.F1=112]="F1";e[e.F2=113]="F2";e[e.F3=114]="F3";e[e.F4=115]="F4";e[e.F5=116]="F5";e[e.F6=117]="F6";e[e.F7=118]="F7";e[e.F8=119]="F8";e[e.F9=120]="F9";e[e.F10=121]="F10";e[e.F11=122]="F11";e[e.F12=123]="F12";e[e.PlusKey=107]="PlusKey";e[e.EqualPlusKey=187]="EqualPlusKey";e[e.MinusKey=109]="MinusKey";e[e.HyphenMinusKey=189]="HyphenMinusKey";e[e.S=83]="S";e[e.P=80]="P";e[e.F=70]="F"}(Key=exports.Key||(exports.Key={}));!function(e){e[e.Object=0]="Object";e[e.String=1]="String";e[e.Number=2]="Number";e[e.Boolean=3]="Boolean";e[e.Date=4]="Date";e[e.Array=5]="Array"}(DataType=exports.DataType||(exports.DataType={}));function tryCast(e,t){return null==e?null:isString(t)?isFunction(e.implementsInterface)&&e.implementsInterface(t)?e:null:e instanceof t?e:null}exports.tryCast=tryCast;function isPrimitive(e){return isString(e)||isNumber(e)||isBoolean(e)||isDate(e)}exports.isPrimitive=isPrimitive;function isString(e){return"string"==typeof e}exports.isString=isString;function isNullOrWhiteSpace(e){return!e||!/\S/.test(e)}exports.isNullOrWhiteSpace=isNullOrWhiteSpace;function isNumber(e){return"number"==typeof e}exports.isNumber=isNumber;function isInt(e){return isNumber(e)&&e==Math.round(e)}exports.isInt=isInt;function isBoolean(e){return"boolean"==typeof e}exports.isBoolean=isBoolean;function isFunction(e){return"function"==typeof e}exports.isFunction=isFunction;function isUndefined(e){return void 0===e}exports.isUndefined=isUndefined;function isNullOrUndefined(e){return null==e}exports.isNullOrUndefined=isNullOrUndefined;function isDate(e){return(e instanceof Date||"[object Date]"===Object.prototype.toString.call(e))&&!isNaN(e.getTime())}exports.isDate=isDate;function isArray(e){return e instanceof Array||Array.isArray(e)||"[object Array]"===Object.prototype.toString.call(e)}exports.isArray=isArray;function _isPlainArray(e){return Array.isArray(e)}exports._isPlainArray=_isPlainArray;function isObject(e){return null!=e&&"object"==typeof e&&!isDate(e)&&!isArray(e)}exports.isObject=isObject;function isEmpty(e){for(var t in e)return!1;return!0}exports.isEmpty=isEmpty;function _areObjectsEqual(e,t){var r=Object.entries(e),n=Object.entries(t);if(r.length!==n.length)return!1;for(var i=0,o=r;i<o.length;i++){var s=o[i],a=s[0],l=s[1];if(!t.hasOwnProperty(a)||t[a]!==l)return!1}return!0}exports._areObjectsEqual=_areObjectsEqual;function getUniqueId(e){for(var t=e,r=0;null!=document.getElementById(t);r++)t=e+r;return t}exports.getUniqueId=getUniqueId;function getSafeUniqueId(e,t,r){void 0===t&&(t="wj");var n=e;(n=(n=(n=n.trim().toLowerCase()).replace(/[^a-z0-9_-]+/g,"-")).replace(/-+/g,"-").replace(/^-|-$/g,""))?/^[a-z]/.test(n)&&!r||(n=t+"-"+n):n=t+"-"+Date.now();for(var i=0;null!=document.getElementById(n);i++)n+=i;return n}exports.getSafeUniqueId=getSafeUniqueId;function uidGenerator(){for(var e="",t="0123456789abcdef".split(""),r=0;r<32;r++){var n=Math.floor(16*Math.random());switch(r){case 8:e+="-";break;case 12:n=4;e+="-";break;case 16:n=3&n|8;e+="-";break;case 20:e+="-"}e+=t[n]}return e}exports.uidGenerator=uidGenerator;function mouseToPage(e){if(e instanceof Point)return e;e&&e.touches&&e.touches.length>0&&(e=e.touches[0]);if(isNumber(e.clientX)&&isNumber(e.clientY))return new Point(e.clientX+pageXOffset,e.clientY+pageYOffset);throw"Mouse or touch event expected."}exports.mouseToPage=mouseToPage;function getType(e){return isNumber(e)?DataType.Number:isBoolean(e)?DataType.Boolean:isDate(e)?DataType.Date:isString(e)?DataType.String:isArray(e)?DataType.Array:DataType.Object}exports.getType=getType;function getTypes(e,t){void 0===t&&(t=1e3);if(!e)return[];var r=e.length;(t<=0||r<t)&&(t=r);var n=[];if(t){for(var i=Object.keys(e[0]),o={},s=i.slice(),a=0;a<t;a++){for(var l=e[a],u=s.length-1;u>=0;u--){var c=s[u],p=l[c];if(isPrimitive(p)){var h=Object.getOwnPropertyDescriptor(e[a],c);o[c]={binding:c,dataType:getType(p),isReadOnly:h&&!h.writable&&!h.set};s.splice(u,1)}}if(!s.length)break}for(a=0;a<i.length;a++){var d=o[i[a]];d&&n.push(d)}}return n}exports.getTypes=getTypes;function changeType(e,t,r,n){if(null!=e){var i=DataType;if(isString(e))switch(t){case i.Number:var o=Globalize.parseFloat(e,r);return isNaN(o)?e:o;case i.Date:var s=Globalize.parseDate(e,r,isDate(n)?n:null);s||r||!e||(s=new Date(e));return s&&isFinite(s.getTime())?s:e;case i.Boolean:switch(e.toLowerCase()){case"true":return!0;case"false":return!1}return e;case i.Array:try{var a=e.split(",").map((function(e){return(e=e.trim()).match(/^(\+|\-)?\d+\.?\d*$/)?e:'"'+e+'"'}));return JSON.parse("["+a.join(",")+"]")}catch(e){}}if(t==DataType.String)return Globalize.format(e,r)}return e}exports.changeType=changeType;function toFixed(e,t,r){if(r){var n=e.toString(),i=n.indexOf("e"),o=n.indexOf(".");if(i>-1){if("-"===n[i+1]){var s=parseFloat(n.substr(i+2)),a=n.substr(0,i);o>-1&&(a=a.substr(0,o)+a.substr(o+1));n="0."+(Array(s).join("0")+a).substr(0,t);e=parseFloat(n)}}else if(o>-1){n=n.substr(0,o+1+t);e=parseFloat(n)}}else{var l=Math.pow(10,t);e=Math.round(e*l)/l}return e}exports.toFixed=toFixed;function format(e,t,r){if((e=asString(e)).match(/\{.*"count".*:.*"when".*:.*\}/))try{var n=JSON.parse(e);if(isString(n.count)){var i=t[n.count],o=n.when;if(isNumber(i)&&isObject(o)){var s=o[i]||o.other;isString(s)&&(e=s)}}}catch(e){}return e.replace(/\{(.*?)(:(.*?))?\}/g,(function(e,n,i,o){var s=e;if(n&&"{"!=n[0]&&t){s=new Binding(n).getValue(t);o&&(s=Globalize.format(s,o));r&&(s=r(t,n,o,s))}return null==s?"":s}))}exports.format=format;function glbz(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=[],n=-1;e[0].forEach((function(t,i){if(i>0&&i!=n){var o=e[i],s=t.match(/^:([a-z][0-9]*\b)/i)||t.match(/^:'(.+?)'/)||t.match(/^:"(.+?)"/);if(s){o=Globalize.format(o,s[1]);t=t.substr(s[0].length)}else if(":"==t&&i<e.length-1&&(isNumber(o)||isDate(o))){o=Globalize.format(o,e[i+1]);t="";n=i+1}r.push(o)}t&&r.push(t)}));return r.join("")}exports.glbz=glbz;function evalTemplate(e,t){if(isIE()){return(e=e.replace(/:\${([^}]*)}/g,(function(e,r){return":"+_evalExpression(r,t)}))).replace(/\${([^}]*)}(:(([A-Za-z]\d*)|"([^"]+)"|'([^']+)'))?/g,(function(e,r,n,i,o,s,a){var l=_evalExpression(r,t);return i?Globalize.format(l,o||s||a):l}))}return _evalExpression(e,t)}exports.evalTemplate=evalTemplate;function _evalExpression(e,t){(t=t||{}).glbz=glbz;var r=parseTpl(e,t);return isIE()?r:glbz(templateObject_1||(templateObject_1=__makeTemplateObject(["",""],["",""])),r)}function get(e,t,r){void 0===r&&(r="${"+e+"}");return e.split(".").reduce((function(e,t){return null!=e&&null!=e[t]?e[t]:r}),t)}function parseTpl(e,t,r){return e.replace(/\$\{.+?}/g,(function(e){return get(e.substr(2,e.length-3).trim(),t,r)}))}function clamp(e,t,r){if(null!=e){null!=r&&e>r&&(e=r);null!=t&&e<t&&(e=t)}return e}exports.clamp=clamp;function copy(e,t,r,n){void 0===r&&(r=!0);void 0===n&&(n=!1);if(t)for(var i in t)if("_"!=i[0]){assert(i in e,'Unknown property "'+i+'".');var o=t[i];if(!e._copy||!e._copy(i,o)){var s=e[i];e[i]instanceof Event?isFunction(o)&&e[i].addHandler(o):!r||!isObject(o)||"undefined"!=typeof Element&&o instanceof Element||!s||!isObject(s)||Object.getPrototypeOf(s).constructor==Object.prototype.constructor&&isWritable(e,i)||"itemsSource"==i?n&&isObject(o)&&Object.getPrototypeOf(o).isPrototypeOf(Object)&&isObject(s)&&!Object.getPrototypeOf(s).isPrototypeOf(Object)?copy(s,o):e[i]=o:copy(s,o)}}return e}exports.copy=copy;function _isPlainObject(e){return isObject(e)&&Object.getPrototypeOf(e).isPrototypeOf(Object)}exports._isPlainObject=_isPlainObject;function isWritable(e,t){var r=Object.getOwnPropertyDescriptor(e,t)||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||{};return!!r.writable||isFunction(r.set)}exports.isWritable=isWritable;function deepClone(e){if(null===e||"object"!=typeof e)return e;if(Array.isArray(e)){return e.map((function(e){return deepClone(e)}))}var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=deepClone(e[r]));return t}exports.deepClone=deepClone;function assert(e,t,r){void 0===r&&(r=!0);if(!e){t="** Assertion failed in Wijmo: "+t;var n=new Error;isString(n.stack)&&r&&(t+=" "+n.stack);throw t}}exports.assert=assert;function _deprecated(e,t){console.error('** WARNING: "'+e+'" has been deprecated; please use "'+t+'" instead.')}exports._deprecated=_deprecated;function _warning(e){console.error('** WARNING: "'+e)}exports._warning=_warning;function asString(e,t){void 0===t&&(t=!0);isUndefined(e)&&(e=null);assert(t&&null==e||isString(e),"String expected.");return e}exports.asString=asString;function asNumber(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!1);assert(t&&null==e||isNumber(e),"Number expected.");if(r&&e&&e<0)throw"Positive number expected.";return e}exports.asNumber=asNumber;function asInt(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!1);assert(t&&null==e||isInt(e),"Integer expected.");if(r&&e&&e<0)throw"Positive integer expected.";return e}exports.asInt=asInt;function asBoolean(e,t){void 0===t&&(t=!1);assert(t&&null==e||isBoolean(e),"Boolean expected.");return e}exports.asBoolean=asBoolean;function asDate(e,t){void 0===t&&(t=!1);if(isString(e)){var r=changeType(e,DataType.Date,"r");isDate(r)&&(e=r)}assert(t&&null==e||isDate(e),"Date expected.");return e}exports.asDate=asDate;function asFunction(e,t){void 0===t&&(t=!0);assert(t&&null==e||isFunction(e),"Function expected.");return e}exports.asFunction=asFunction;function asArray(e,t){void 0===t&&(t=!0);assert(t&&null==e||isArray(e),"Array expected.");return e}exports.asArray=asArray;function asType(e,t,r){void 0===r&&(r=!1);e=tryCast(e,t);assert(r||null!=e,t+" expected.");return e}exports.asType=asType;function asEnum(e,t,r){void 0===r&&(r=!1);if(null==e&&r)return null;var n=isString(e)?t[e]:e;assert(null!=n,'Invalid enum value: "'+e+'"');return isNumber(n)?n:e}exports.asEnum=asEnum;function asCollectionView(e,t){void 0===t&&(t=!0);if(null==e&&t)return null;var r=tryCast(e,"ICollectionView");if(null!=r)return r;isArray(e)||assert(!1,"Array or ICollectionView expected.");return new CollectionView(e)}exports.asCollectionView=asCollectionView;function hasItems(e){return null!=e&&null!=e.items&&e.items.length>0}exports.hasItems=hasItems;function toHeaderCase(e){return e&&e.length?e[0].toUpperCase()+e.substr(1).replace(/([a-z])([A-Z])/g,"$1 $2"):""}exports.toHeaderCase=toHeaderCase;function escapeHtml(e){e&&isString(e)&&(e=e.replace(/[&<>]/g,(function(e){return _ENTITYMAP[e]})));return null!=e?e.toString():""}exports.escapeHtml=escapeHtml;var _plainText,_ENTITYMAP={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},_specialCharsRegex=/"(.*?)"|[^\w]|_/g;function getSpecialCharsRegex(){return _specialCharsRegex}exports.getSpecialCharsRegex=getSpecialCharsRegex;function escapeRegExp(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}exports.escapeRegExp=escapeRegExp;function toPlainText(e){var t=asString(e);if(isString(t)&&t.indexOf("<")>-1){_plainText||(_plainText=document.createElement("div"));_plainText.innerHTML=t;t=_plainText.textContent}return t}exports.toPlainText=toPlainText;function hasClass(e,t){if(e&&t){if(e instanceof HTMLElement&&e.classList&&!isIE9())return e.classList.contains(t);if(e.getAttribute){var r=new RegExp("(\\s|^)"+t+"(\\s|$)");return e&&r.test(e.getAttribute("class"))}}return!1}exports.hasClass=hasClass;function addClass(e,t){void 0===t&&(t="");if(e&&t){var r=t.trim();if(e instanceof HTMLElement&&e.classList&&!isIE9()){r.indexOf(" ")<0?e.classList.add(r):r.split(" ").forEach((function(t){t.length>0&&e.classList.add(t)}));return}e.setAttribute&&r.split(" ").forEach((function(t){if(t.length>0&&!hasClass(e,t)){var r=e.getAttribute("class");e.setAttribute("class",r?r+" "+t:t)}}))}}exports.addClass=addClass;function removeClass(e,t){if(e&&t){var r=t.trim();if(e instanceof HTMLElement&&e.classList&&!isIE9()){r.indexOf(" ")<0?e.classList.remove(r):r.split(" ").forEach((function(t){t.length>0&&e.classList.remove(t)}));0===e.classList.length&&e.removeAttribute("class");return}e.setAttribute&&r.split(" ").forEach((function(t){if(hasClass(e,t)){var r=new RegExp("((\\s|^)"+t+"(\\s|$))","g"),n=e.getAttribute("class");(n=n.replace(r," ").replace(/ +/g," ").trim())?e.setAttribute("class",n):e.removeAttribute("class")}}))}}exports.removeClass=removeClass;function toggleClass(e,t,r){null==r&&(r=!hasClass(e,t));r?addClass(e,t):removeClass(e,t)}exports.toggleClass=toggleClass;function setAttribute(e,t,r,n){e&&(null!=r?n&&e.getAttribute(t)||("style"===t.toLowerCase()&&(e instanceof HTMLElement||e instanceof SVGElement)?e.style.cssText=r.toString():e.setAttribute(t,r.toString())):e.removeAttribute(t))}exports.setAttribute=setAttribute;function setInnerHTMLSafe(e,t){t=t.replace(/\bstyle\s*=/gi,"data-wj-style=");e.innerHTML=t;for(var r=e.querySelectorAll("[data-wj-style]"),n=0;n<r.length;n++){var i=r[n],o=i.getAttribute("data-wj-style");o&&(i instanceof HTMLElement||i instanceof SVGElement)&&(i.style.cssText=o);i.removeAttribute("data-wj-style")}}exports.setInnerHTMLSafe=setInnerHTMLSafe;function setChecked(e,t){var r=null==t;e.checked=isIE()?t||r:t;e.indeterminate=r}exports.setChecked=setChecked;function setAriaLabel(e,t){setAttribute(e,"aria-label",t)}exports.setAriaLabel=setAriaLabel;function setSelectionRange(e,t,r,n){void 0===r&&(r=t);void 0===n&&(n=!0);assert(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement,"INPUT or TEXTAREA element expected");if(contains(document.body,e)&&!e.disabled&&e.offsetHeight){try{e.setSelectionRange(t,r,"backward")}catch(e){}if(n)try{e.focus();return!0}catch(e){}}return!1}exports.setSelectionRange=setSelectionRange;function disableAutoComplete(e){var t="autocomplete",r=e.getAttribute(t);r&&"on"!=r||e.setAttribute(t,"off");"autocorrect,autocapitalize,spellcheck".split(",").forEach((function(t){e.setAttribute(t,"spellcheck"==t?"false":"off")}))}exports.disableAutoComplete=disableAutoComplete;function removeChild(e){return e&&e.parentNode?e.parentNode.removeChild(e):null}exports.removeChild=removeChild;function getActiveElement(){var e=document.activeElement;if(e){var t=e.shadowRoot;t&&t.activeElement&&(e=t.activeElement)}return e}exports.getActiveElement=getActiveElement;function _getActiveElement(e){var t=e;if(t){var r=t.shadowRoot;r&&r.activeElement&&(t=r.activeElement)}return t}exports._getActiveElement=_getActiveElement;function moveFocus(e,t){var r=_getFocusableElements(e,t<0),n=0;if(t){var i=r.indexOf(getActiveElement());i>-1&&(n=(i+t+r.length)%r.length)}if(n<r.length){var o=r[n];o.focus();o instanceof HTMLInputElement&&o.select();return!0}return!1}exports.moveFocus=moveFocus;function _getFocusableElements(e,t){void 0===t&&(t=!1);var r=[],n=Array.prototype.slice.call(e.querySelectorAll("input,select,textarea,button,a,div,label,[tabindex]")),i={};n=n.filter((function(e){return-1!==e.tabIndex}));var isRb=function(e){return e instanceof HTMLInputElement&&"radio"===e.type};n.forEach((function(e){isRb(e)&&e.checked&&(i[e.name||""]=!0)}));(n=n.filter((function(e){return!isRb(e)||e.checked||!i[e.name||""]}))).sort((function(e,t){return e.tabIndex===t.tabIndex?0:0===e.tabIndex?1:0===t.tabIndex?-1:e.tabIndex-t.tabIndex}));for(var o=0;o<n.length;o++){var s=n[o];if(s.offsetHeight>0&&s.tabIndex>-1&&!s.disabled&&"hidden"!==window.getComputedStyle(s).visibility&&!closest(s,"[disabled],."+exports.ControlStateClsNames.disabled)){if(s instanceof HTMLAnchorElement&&!s.hasAttribute("href"))continue;if(isIE()&&!s.hasAttribute("tabindex")){if(s instanceof HTMLDivElement)continue;var a=Control.getControl(closest(s,".wj-flexgrid"));if(a&&0==a.keyActionTab)continue}if("radio"===s.type&&!s.checked&&r.length>0){var l=r[r.length-1],u=getActiveElement();if("radio"===l.type&&l.name===s.name){t&&l!=u&&(r[r.length-1]=s);continue}}(Control.getControl(s)||!_getFocusableElements(s).length||s.classList.contains("wj-detail"))&&r.push(s)}}return r}exports._getFocusableElements=_getFocusableElements;function saveFile(e,t,r){void 0===r&&(r="text/plain");var n=e instanceof Blob;n||!r.match(/\bcsv\b/i)&&!t.match(/\.csv$/i)||(e="\ufeff"+e);var i=n?e:new Blob([e],{type:r}),o=navigator;if(isFunction(o.msSaveOrOpenBlob))o.msSaveOrOpenBlob(i,t);else{var s=document.createElement("a"),click=function(e){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null);e.dispatchEvent(t)};if("download"in s){var a=window.URL||window.webkitURL,l=a.createObjectURL(i);s.href=l;s.target="_blank";s.download=t;click(s);s=null;window.setTimeout((function(){a.revokeObjectURL(l)}),3e4)}else{var u=new FileReader;u.onloadend=function(){s.href=u.result;s.download=t;click(s);s=null};u.readAsDataURL(i)}}}exports.saveFile=saveFile;function getElement(e){if(e instanceof Element||e&&e.appendChild&&e.appendChild instanceof Function)return e;if(isString(e))try{return document.querySelector(e)}catch(e){}return e&&e.jquery?e[0]:null}exports.getElement=getElement;function processStyleProperty(e){var t=(e=e.replace(";base64,","_wj_")).split(";"),r=[];t.forEach((function(e){var t=[];e.indexOf("_wj_")>-1?2==(t=(e=e.replace("_wj_",";base64,").replace("data:image","_wjimg_")).split(":")).length&&(t[1]=t[1].replace("_wjimg_","data:image")):t=e.split(":");r.push(t)}));return r}function createElement(e,t,r){e=e.replace(/\bstyle\s*=/gi,"_wj-style=");var n=document.createElement("div");n.innerHTML=e;if(e.indexOf("_wj-style")>-1)for(var i=n.querySelectorAll("[_wj-style]"),_loop_1=function(e){var t=i[e],r=t.getAttribute("_wj-style"),n=[];if(r.indexOf(";base64,")>-1)n=processStyleProperty(r);else{r.split(";").forEach((function(e){n.push(e.split(":"))}))}n.forEach((function(e){2==e.length&&(t.style[e[0].trim()]=e[1].trim())}));t.removeAttribute("_wj-style")},o=0;o<i.length;o++)_loop_1(o);1==n.children.length&&(n=n.children[0]);r&&setCss(n,r);t&&(t=getElement(t)).appendChild(n);return n}exports.createElement=createElement;function setText(e,t){e.textContent=t||""}exports.setText=setText;function contains(e,t,r){for(var n=t;n&&e;){if(n===e)return!0;n=(r?n[Control._OWNR_KEY]:null)||n.parentNode||n.host}return!1}exports.contains=contains;function closest(e,t){if(e){if(isFunction(e.closest))return e.closest(t);var r=e.matches||e.webkitMatchesSelector||e.msMatchesSelector||e.mozMatchesSelector;if(r)for(;e&&1===e.nodeType;e=e.parentElement||e.parentNode)if(r.call(e,t))return e}return null}exports.closest=closest;function closestClass(e,t){return closest(e,"."+t)}exports.closestClass=closestClass;function enable(e,t){var r=!t,n="disabled";toggleClass(e,exports.ControlStateClsNames.disabled,r);setAttribute(e,n,r?n:null);for(var i=e.querySelectorAll("input,button"),o=0;o<i.length;o++)setAttribute(i[o],n,r?n:null)}exports.enable=enable;function getElementRect(e){var t=e.getBoundingClientRect();return new Rect(t.left+pageXOffset,t.top+pageYOffset,t.width,t.height)}exports.getElementRect=getElementRect;function setCss(e,t){assert(isObject(t),"css parameter should be an object");if(e instanceof Array)for(var r=0;r<e.length;r++)setCss(e[r],t);else if(e&&e.style){var n=e.style;for(var i in t){var o=t[i];"number"==typeof o&&i.match(/width|height|left|top|right|bottom|size|padding|margin'/i)&&(o+="px");n[i]!==o&&(n[i]=o)}}}exports.setCss=setCss;function animate(e,t,r,n){null==t&&(t=Control._ANIM_DEF_DURATION);null==r&&(r=Control._ANIM_DEF_STEP);e=asFunction(e);t=asNumber(t,!1,!0);r=asNumber(r,!1,!0);var i,o=Date.now(),s=setInterval((function(){var r=Math.min(1,(Date.now()-o)/t);r=Math.sin(r*Math.PI/2);r*=r;i&&cancelAnimationFrame(i);i=requestAnimationFrame((function(){i=null;e(r);r>=1&&n&&n()}));r>=1&&clearInterval(s)}),r);return s}exports.animate=animate;var Point=function(){function Point(e,t){void 0===e&&(e=0);void 0===t&&(t=0);this.x=asNumber(e);this.y=asNumber(t)}Point.prototype.equals=function(e,t,r){void 0===t&&(t=0);void 0===r&&(r=0);return e instanceof Point&&Math.abs(this.x-e.x)<=t&&Math.abs(this.y-e.y)<=r};Point.prototype.clone=function(){return new Point(this.x,this.y)};return Point}();exports.Point=Point;var Size=function(){function Size(e,t){void 0===e&&(e=0);void 0===t&&(t=0);this.width=asNumber(e);this.height=asNumber(t)}Size.prototype.equals=function(e){return e instanceof Size&&this.width==e.width&&this.height==e.height};Size.prototype.clone=function(){return new Size(this.width,this.height)};return Size}();exports.Size=Size;var Rect=function(){function Rect(e,t,r,n){this.left=asNumber(e);this.top=asNumber(t);this.width=asNumber(r);this.height=asNumber(n)}Object.defineProperty(Rect.prototype,"right",{get:function(){return this.left+this.width},enumerable:!0,configurable:!0});Object.defineProperty(Rect.prototype,"bottom",{get:function(){return this.top+this.height},enumerable:!0,configurable:!0});Rect.prototype.equals=function(e){return e instanceof Rect&&this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height};Rect.prototype.clone=function(){return new Rect(this.left,this.top,this.width,this.height)};Rect.fromBoundingRect=function(e){if(null!=e.left)return new Rect(e.left,e.top,e.width,e.height);if(null!=e.x)return new Rect(e.x,e.y,e.width,e.height);assert(!1,"Invalid source rectangle.")};Rect.union=function(e,t){var r=Math.min(e.left,t.left),n=Math.min(e.top,t.top);return new Rect(r,n,Math.max(e.right,t.right)-r,Math.max(e.bottom,t.bottom)-n)};Rect.intersection=function(e,t){var r=Math.max(e.left,t.left),n=Math.max(e.top,t.top);return new Rect(r,n,Math.min(e.right,t.right)-r,Math.min(e.bottom,t.bottom)-n)};Rect.prototype.contains=function(e){if(e instanceof Point)return e.x>=this.left&&e.x<=this.right&&e.y>=this.top&&e.y<=this.bottom;if(e instanceof Rect){var t=e;return t.left>=this.left&&t.right<=this.right&&t.top>=this.top&&t.bottom<=this.bottom}assert(!1,"Point or Rect expected.")};Rect.prototype.inflate=function(e,t,r,n){return null!=r&&null!=n?new Rect(this.left-e,this.top-t,this.width+e+r,this.height+t+n):new Rect(this.left-e,this.top-t,this.width+2*e,this.height+2*t)};return Rect}();exports.Rect=Rect;var DateTime=function(){function DateTime(){}DateTime.addDays=function(e,t){(e=new Date(e.getTime())).setDate(e.getDate()+t);return e};DateTime.addMonths=function(e,t){var r=(e=new Date(e.getTime())).getDate();e.setMonth(e.getMonth()+t);e.getDate()!=r&&e.setDate(0);return e};DateTime.addYears=function(e,t){(e=new Date(e.getTime())).setFullYear(e.getFullYear()+t);return e};DateTime.addHours=function(e,t){(e=new Date(e.getTime())).setHours(e.getHours()+t);return e};DateTime.addMinutes=function(e,t){(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t);return e};DateTime.addSeconds=function(e,t){(e=new Date(e.getTime())).setSeconds(e.getSeconds()+t);return e};DateTime.weekFirst=function(e,t){void 0===t&&(t=Globalize.getFirstDayOfWeek());return DateTime.addDays(e,-(e.getDay()-t))};DateTime.weekLast=function(e,t){void 0===t&&(t=Globalize.getFirstDayOfWeek());e=DateTime.weekFirst(e,t);return DateTime.addDays(e,6)};DateTime.monthFirst=function(e){return DateTime.addDays(e,1-e.getDate())};DateTime.monthLast=function(e){e=DateTime.monthFirst(e);e=DateTime.addMonths(e,1);return DateTime.addDays(e,-1)};DateTime.yearFirst=function(e){return new Date(e.getFullYear(),0,1)};DateTime.yearLast=function(e){return new Date(e.getFullYear(),11,31)};DateTime.sameDate=function(e,t){return isDate(e)&&isDate(t)&&e.getFullYear()==t.getFullYear()&&e.getMonth()==t.getMonth()&&e.getDate()==t.getDate()};DateTime.sameTime=function(e,t){return isDate(e)&&isDate(t)&&e.getHours()==t.getHours()&&e.getMinutes()==t.getMinutes()&&e.getSeconds()==t.getSeconds()&&e.getMilliseconds()==t.getMilliseconds()};DateTime.equals=function(e,t){return null==e&&null==t||isDate(e)&&isDate(t)&&e.getTime()==t.getTime()};DateTime.fromDateTime=function(e,t){if(!e&&!t)return null;e||(e=t);t||(t=e);return DateTime.newDate(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())};DateTime.toFiscal=function(e,t){var r=exports.culture.Globalize.calendar;return isArray(r.fiscalYearOffsets)?DateTime.addMonths(e,-r.fiscalYearOffsets[t?0:1]):e};DateTime.fromFiscal=function(e,t){var r=exports.culture.Globalize.calendar;return isArray(r.fiscalYearOffsets)?DateTime.addMonths(e,+r.fiscalYearOffsets[t?0:1]):e};DateTime.newDate=function(e,t,r,n,i,o,s){if(null==e||null==t||null==r){var a=new Date;null==e&&(e=a.getFullYear());null==t&&(t=a.getMonth());null==r&&(r=a.getDate())}null==n&&(n=0);null==i&&(i=0);null==o&&(o=0);null==s&&(s=0);var l=new Date(e,t,r,n,i,o,s),u=l.getFullYear();e<100&&u>=1900&&l.setFullYear(l.getFullYear()-1900);return l};DateTime.clone=function(e){return DateTime.fromDateTime(e,e)};return DateTime}();exports.DateTime=DateTime;function httpRequest(e,t){var r=t||{},n=r.method?asString(r.method).toUpperCase():"GET",i=null==r.async||asBoolean(r.async),o=r.data;if(null!=o&&"GET"==n){var s=[];for(var a in o){var l=o[a];isDate(l)&&(l=l.toJSON());s.push(a+"="+encodeURIComponent(l))}if(s.length){var u=e.indexOf("?")<0?"?":"&";e+=u+s.join("&")}o=null}var c=new XMLHttpRequest;c.URL_DEBUG=e;var p=!1;if(null!=o&&!isString(o)){p=isObject(o);o=JSON.stringify(o)}c.onload=function(){if(4==c.readyState){c.status<300?r.success&&asFunction(r.success)(c):r.error&&asFunction(r.error)(c);r.complete&&asFunction(r.complete)(c)}};c.onerror=function(){if(!isFunction(r.error))throw"HttpRequest Error: "+c.status+" "+c.statusText;r.error(c)};c.open(n,e,i,r.user,r.password);r.user&&r.password&&c.setRequestHeader("Authorization","Basic "+btoa(r.user+":"+r.password));p&&function(){for(var e in r.requestHeaders)if("content-type"===e.toLowerCase())return!1;return!0}()&&c.setRequestHeader("Content-Type","application/json");if(r.requestHeaders)for(var h in r.requestHeaders)c.setRequestHeader(h,r.requestHeaders[h]);isNumber(r.timeout)&&(c.timeout=r.timeout);isFunction(r.beforeSend)&&r.beforeSend(c);c.send(o);return c}exports.httpRequest=httpRequest;var _modules={};function _registerModule(e,t){_modules[e]=t;if("wijmo"===e){var r="undefined"!=typeof window?window:"undefined"!=typeof self?self:null;r&&(r.wijmo=t)}}exports._registerModule=_registerModule;function _getModule(e){return _modules[e]}exports._getModule=_getModule;function focusFirst(e,t){var r=e.querySelectorAll(t||'button, [href], input, [tabindex]:not([tabindex="-1"])'),n=Array.from(r).filter((function(e){return e.offsetWidth>0&&e.offsetHeight>0&&!e.hasAttribute("disabled")&&e.tabIndex>=0}));if(n.length>0){n[0].focus();return!0}return!1}exports.focusFirst=focusFirst;exports.cellCoordinateParserRegex=new RegExp(/(\'?\w+\'?\!)?(\$?[A-Za-z]+)(\$?\d+)/,"g");function getScrollableParent(e){for(var t=document.scrollingElement,r="absolute"==getComputedStyle(e).position?e.offsetParent:e.parentElement;r&&r!=t;){if(r.clientHeight!=r.scrollHeight)return r;e=r="absolute"==getComputedStyle(r).position?r.offsetParent:r.parentElement}return t}exports.getScrollableParent=getScrollableParent;function getOffsetFromAncestor(e,t){for(var r=0,n=0,i=0,o=0;e;){n+=e.offsetLeft;r+=e.offsetTop;e=e.offsetParent}for(;t;){o+=t.offsetLeft;i+=t.offsetTop;t=t.offsetParent}return{top:r-i,left:n-o}}exports.getOffsetFromAncestor=getOffsetFromAncestor;function _isMacOS(){return-1!==navigator.userAgent.indexOf("Mac")}exports._isMacOS=_isMacOS;function _setAriaLabelBy(e,t,r,n){var i=""===r?null:r;if(i!==e.ariaLabelledBy){e._ariaLabelledby=i;setAttribute(t,"aria-labelledby",i);n&&n()}}exports._setAriaLabelBy=_setAriaLabelBy;function deepElementFromPoint(e,t){for(var r=document.elementFromPoint(e,t);r&&r.shadowRoot;){var n=r.shadowRoot.elementFromPoint(e,t);if(!n||n===r)break;r=n}return r}exports.deepElementFromPoint=deepElementFromPoint;function roundTo(e,t){var r=Math.pow(10,t);return Math.round(e*r)/r}exports.roundTo=roundTo;function addAttributeValueToElement(e,t,r){var n=e.getAttribute(t);if(n){if(!n.split(/\s+/).includes(r)){setAttribute(e,t,n+" "+r)}}else setAttribute(e,t,r)}exports.addAttributeValueToElement=addAttributeValueToElement;function removeAttributeValueFromElement(e,t,r){var n=e.getAttribute(t);if(n){var i=r.toString(),o=n.split(/\s+/).filter((function(e){return e!==i}));o.length>0?e.setAttribute(t,o.join(" ")):e.removeAttribute(t)}}exports.removeAttributeValueFromElement=removeAttributeValueFromElement;function replaceItems(e,t){var r=new Map(t.map((function(e){return[""+e.value,e]})));return e.map((function(e){var t=""+e.value;return r.has(t)?r.get(t):e}))}exports.replaceItems=replaceItems;function _getTextDecorations(e){var t=[];if(e){e.underline&&t.push("underline");e.strikethrough&&t.push("line-through")}return t.length?t.join(" "):"none"}exports._getTextDecorations=_getTextDecorations;var _Map=function(){function _Map(e){void 0===e&&(e=!0);if(e)this._h={};else{var t=_getGlobal(),r=t&&t.Map;this._m=r&&new Map||new _ArrayMap}}Object.defineProperty(_Map.prototype,"isPojoHash",{get:function(){return null!=this._h},enumerable:!0,configurable:!0});Object.defineProperty(_Map.prototype,"size",{get:function(){return this._h&&Object.keys(this._h).length||this._m.size},enumerable:!0,configurable:!0});_Map.prototype.clear=function(){this._h?this._h={}:this._m.clear()};_Map.prototype.delete=function(e){this._h?delete this._h[e]:this._m.delete(e)};_Map.prototype.get=function(e){return this._h?this._h[e]:this._m.get(e)};_Map.prototype.has=function(e){return this._h?e in this._h:this._m.has(e)};_Map.prototype.set=function(e,t){this._h?this._h[e]=t:this._m.set(e,t);return this};return _Map}();exports._Map=_Map;var _ArrayMap=function(){function _ArrayMap(){this._d=[]}Object.defineProperty(_ArrayMap.prototype,"size",{get:function(){return this._d.length},enumerable:!0,configurable:!0});_ArrayMap.prototype.clear=function(){this._d=[]};_ArrayMap.prototype.delete=function(e){var t=this._kIdx(e);if(t>-1){this._d.splice(t,1);return!0}return!1};_ArrayMap.prototype.get=function(e){var t=this._kIdx(e);return t>-1?this._d[t].v:void 0};_ArrayMap.prototype.has=function(e){return this._kIdx(e)>-1};_ArrayMap.prototype.set=function(e,t){var r=this._kIdx(e);r>-1?this._d[r].v=t:this._d.push({k:e,v:t});return this};_ArrayMap.prototype._kIdx=function(e){var t=this._d,r=t.length;if(e==e){for(var n=0;n<r;n++)if(t[n].k===e)return n}else for(n=0;n<r;n++){var i=t[n].k;if(i!=i)return n}return-1};return _ArrayMap}();function _getGlobal(){var e=null;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self);return e}var Color=function(){function Color(e){this._r=0;this._g=0;this._b=0;this._a=1;e&&this._parse(e)}Object.defineProperty(Color.prototype,"r",{get:function(){return this._r},set:function(e){this._r=clamp(asNumber(e),0,255)},enumerable:!0,configurable:!0});Object.defineProperty(Color.prototype,"g",{get:function(){return this._g},set:function(e){this._g=clamp(asNumber(e),0,255)},enumerable:!0,configurable:!0});Object.defineProperty(Color.prototype,"b",{get:function(){return this._b},set:function(e){this._b=clamp(asNumber(e),0,255)},enumerable:!0,configurable:!0});Object.defineProperty(Color.prototype,"a",{get:function(){return this._a},set:function(e){this._a=clamp(asNumber(e),0,1)},enumerable:!0,configurable:!0});Color.prototype.equals=function(e){return e instanceof Color&&this.r==e.r&&this.g==e.g&&this.b==e.b&&this.a==e.a};Color.prototype.toString=function(){var e=Math.round(100*this.a);return e>99?"#"+((1<<24)+(this.r<<16)+(this.g<<8)+this.b).toString(16).slice(1):"rgba("+this.r+","+this.g+","+this.b+","+e/100+")"};Color.fromRgba=function(e,t,r,n){void 0===n&&(n=1);var i=new Color(null);i.r=Math.round(clamp(asNumber(e),0,255));i.g=Math.round(clamp(asNumber(t),0,255));i.b=Math.round(clamp(asNumber(r),0,255));i.a=clamp(asNumber(n),0,1);return i};Color.fromHsb=function(e,t,r,n){void 0===n&&(n=1);var i=Color._hsbToRgb(clamp(asNumber(e),0,1),clamp(asNumber(t),0,1),clamp(asNumber(r),0,1));return Color.fromRgba(i[0],i[1],i[2],n)};Color.fromHsl=function(e,t,r,n){void 0===n&&(n=1);var i=Color._hslToRgb(clamp(asNumber(e),0,1),clamp(asNumber(t),0,1),clamp(asNumber(r),0,1));return Color.fromRgba(i[0],i[1],i[2],n)};Color.fromString=function(e){var t=new Color(null);return t._parse(asString(e))?t:null};Color.prototype.getHsb=function(){return Color._rgbToHsb(this.r,this.g,this.b)};Color.prototype.getHsl=function(){return Color._rgbToHsl(this.r,this.g,this.b)};Color.interpolate=function(e,t,r){r=clamp(asNumber(r),0,1);var n=Color._rgbToHsl(e.r,e.g,e.b),i=Color._rgbToHsl(t.r,t.g,t.b),o=1-r,s=e.a*o+t.a*r,a=[n[0]*o+i[0]*r,n[1]*o+i[1]*r,n[2]*o+i[2]*r],l=Color._hslToRgb(a[0],a[1],a[2]);return Color.fromRgba(l[0],l[1],l[2],s)};Color.toOpaque=function(e,t){if(1==(e=isString(e)?Color.fromString(e):asType(e,Color)).a)return e;t=null==t?Color.fromRgba(255,255,255,1):isString(t)?Color.fromString(t):asType(t,Color);var r=e.a,n=1-r;return Color.fromRgba(e.r*r+t.r*n,e.g*r+t.g*n,e.b*r+t.b*n)};Color.prototype._parse=function(e){if("transparent"==(e=e.toLowerCase())){this._r=this._g=this._b=this._a=0;return!0}if(e&&0!=e.indexOf("#")&&0!=e.indexOf("rgb")&&0!=e.indexOf("hsl")){var t=document.createElement("div");t.style.color=e;var r=t.style.color;if(r==e&&!(r=window.getComputedStyle(t).color)){document.body.appendChild(t);r=window.getComputedStyle(t).color;removeChild(t)}e=r.toLowerCase()}if(0==e.indexOf("#")){if(this._isValidHexColor(e)){if(4==e.length){this.r=parseInt(e[1]+e[1],16);this.g=parseInt(e[2]+e[2],16);this.b=parseInt(e[3]+e[3],16);this.a=1;return!0}if(7==e.length){this.r=parseInt(e.substr(1,2),16);this.g=parseInt(e.substr(3,2),16);this.b=parseInt(e.substr(5,2),16);this.a=1;return!0}}return!1}if(0==e.indexOf("rgb")){var n=e.indexOf("("),i=e.indexOf(")");if(n>-1&&i>-1){if((o=e.substr(n+1,i-(n+1)).split(",")).length>2){this.r=parseInt(o[0]);this.g=parseInt(o[1]);this.b=parseInt(o[2]);this.a=o.length>3?parseFloat(o[3]):1;return!0}}}if(0==e.indexOf("hsl")){n=e.indexOf("("),i=e.indexOf(")");if(n>-1&&i>-1){var o;if((o=e.substr(n+1,i-(n+1)).split(",")).length>2){var s=parseInt(o[0])/360,a=parseInt(o[1]),l=parseInt(o[2]);o[1].indexOf("%")>-1&&(a/=100);o[2].indexOf("%")>-1&&(l/=100);var u=Color._hslToRgb(s,a,l);this.r=u[0];this.g=u[1];this.b=u[2];this.a=o.length>3?parseFloat(o[3]):1;return!0}}}return!1};Color.prototype._isValidHexColor=function(e){return/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.test(e)};Color._hslToRgb=function(e,t,r){assert(e>=0&&e<=1&&t>=0&&t<=1&&r>=0&&r<=1,"bad HSL values");var n,i,o;if(0==t)n=i=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,a=2*r-s;n=Color._hue2rgb(a,s,e+1/3);i=Color._hue2rgb(a,s,e);o=Color._hue2rgb(a,s,e-1/3)}return[Math.round(255*n),Math.round(255*i),Math.round(255*o)]};Color._hue2rgb=function(e,t,r){r<0&&(r+=1);r>1&&(r-=1);return r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e};Color._rgbToHsl=function(e,t,r){assert(e>=0&&e<=255&&t>=0&&t<=255&&r>=0&&r<=255,"bad RGB values");e/=255,t/=255,r/=255;var n,i,o=Math.max(e,t,r),s=Math.min(e,t,r),a=(o+s)/2;if(o==s)n=i=0;else{var l=o-s;i=a>.5?l/(2-o-s):l/(o+s);switch(o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return[n,i,a]};Color._rgbToHsb=function(e,t,r){assert(e>=0&&e<=255&&t>=0&&t<=255&&r>=0&&r<=255,"bad RGB values");var n=Color._rgbToHsl(e,t,r);return Color._hslToHsb(n[0],n[1],n[2])};Color._hsbToRgb=function(e,t,r){var n=Color._hsbToHsl(e,t,r);return Color._hslToRgb(n[0],n[1],n[2])};Color._hsbToHsl=function(e,t,r){assert(e>=0&&e<=1&&t>=0&&t<=1&&r>=0&&r<=1,"bad HSB values");var n=clamp(r*(2-t)/2,0,1),i=1-Math.abs(2*n-1),o=clamp(i>0?r*t/i:t,0,1);assert(!isNaN(n)&&!isNaN(o),"bad conversion to HSL");return[e,o,n]};Color._hslToHsb=function(e,t,r){assert(e>=0&&e<=1&&t>=0&&t<=1&&r>=0&&r<=1,"bad HSL values");var n=clamp(1==r?1:(2*r+t*(1-Math.abs(2*r-1)))/2,0,1),i=clamp(n>0?2*(n-r)/n:t,0,1);assert(!isNaN(n)&&!isNaN(i),"bad conversion to HSB");return[e,i,n]};return Color}();exports.Color=Color;exports.culture="undefined"!=typeof window&&window.wijmo&&window.wijmo.culture||{Globalize:{numberFormat:{".":".",",":",","-":"-","+":"+","%":"%",percent:{pattern:["-n%","n%"]},currency:{decimals:2,symbol:"$",pattern:["($n)","$n"]}},calendar:{"/":"/",":":":",firstDay:0,days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],am:["AM","A"],pm:["PM","P"],eras:["A.D.","B.C."],patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",t:"h:mm tt",T:"h:mm:ss tt",M:"MMMM d",m:"MMMM d",Y:"MMMM, yyyy",y:"MMMM, yyyy",g:"M/d/yyyy h:mm tt",G:"M/d/yyyy h:mm:ss tt",s:'yyyy"-"MM"-"dd"T"HH":"mm":"ss',o:'yyyy"-"MM"-"dd"T"HH":"mm":"ss"."fffffffK',O:'yyyy"-"MM"-"dd"T"HH":"mm":"ss"."fffffffK',U:"dddd, MMMM dd, yyyy h:mm:ss tt"},fiscalYearOffsets:[-3,-3]}}};var Globalize=function(){function Globalize(){}Globalize.format=function(e,t,r,n,i){if(isString(e))return e;if(isNumber(e)){t=t||(e==Math.round(e)?"n0":"n2");return Globalize.formatNumber(e,t,r,n,i)}if(isDate(e)){t=t||Globalize.DefaultDateFormat;return Globalize.formatDate(e,t)}return null!=e?e.toString():""};Globalize.formatNumber=function(e,t,r,n,i){e=asNumber(e);t=asString(t);var o,s=exports.culture.Globalize.numberFormat,a=Globalize._parseNumericFormat(t),l=a.spec,u=a.prec,c=s["."]||".",p=s[","]||",",h=s["-"]||"-",d=Math;null==u&&(u=null!=i?i:"c"==l?s.currency.decimals:"e"==l?6:"r"==l?15:e==d.round(e)?0:2);a.scale&&(e/=d.pow(10,a.scale));if("d"==l||"x"==l){o=(n?d.floor:d.round)(d.abs(e)).toString("d"==l?10:16);for(;o.length<u;)o="0"+o;e<0&&(o=h+o);return"X"==a.specRaw?o.toUpperCase():o}n&&"p"!=l&&"e"!=l&&(e=toFixed(e,u,!0));switch(l){case"e":o=e.toExponential(u);"E"==a.specRaw&&(o=o.replace("e","E"));break;case"c":o=Globalize._toFixedStr(d.abs(e),u);break;case"p":e=Globalize._shiftDecimal(e,2,14);n&&(e=toFixed(e,u,n));o=Globalize._toFixedStr(d.abs(e),u);break;default:"-"!=(o=Globalize._toFixedStr(e,u))[0]||o.match(/[1-9]/)||(o=o.substr(1))}(r||"g"==l||"r"==l)&&o.indexOf(".")>-1&&(o=o.replace(/(\.\d*?)0+$/g,"$1").replace(/\.$/,""));"."!=c&&(o=o.replace(".",c));"-"!=h&&(o=o.replace("-",h));if(p&&("n"==l||"c"==l||"p"==a.specRaw||"F"==a.specRaw||"G"==a.specRaw)){var g=o.indexOf(c),_=/\B(?=(\d\d\d)+(?!\d))/g;o=g>-1?o.substr(0,g).replace(_,p)+o.substr(g):o.replace(_,p)}if("c"==l){var m=e<0&&o.match(/[1-9]/)?0:1,v=s.currency.pattern[m],b=a.curr||s.currency.symbol;"​"==b&&(b="");o=v.replace("n",o).replace("$",b)}if("p"==l){m=e<0&&o.match(/[1-9]/)?0:1,v=s.percent.pattern[m];var y=s["%"]||"%";o=v.replace("n",o);"%"!=y&&(o=o.replace("%",y));"-"!=h&&0==m&&(o=o.replace("-",h))}return a.prefix||a.suffix?a.prefix+o+a.suffix:o};Globalize.formatDate=function(e,t){e=asDate(e);switch(t){case"r":case"R":return e.toUTCString();case"u":return e.toISOString().replace(/\.\d{3}/,"")}t=Globalize._expandFormat(t);return Globalize._parseDateFormat(t).map((function(r){return Globalize._formatDatePart(e,t,r)})).join("")};Globalize.parseInt=function(e,t){return Math.round(Globalize.parseFloat(e,t))};Globalize.parseFloat=function(e,t){var r=Globalize._parseNumericFormat(t),n=r.prefix;n&&0==e.indexOf(n)&&(e=e.substring(n.length));var i=r.suffix;if(i){var o=e.lastIndexOf(i);o>-1&&o==e.length-i.length&&(e=e.substring(0,e.length-i.length))}var s=exports.culture.Globalize.numberFormat,a=s["."]||".",l=s[","]||",",u=s["-"]||"-",c=s["%"]||"%",p=r.curr||s.currency.symbol||"$",h=e.indexOf(c)>-1,d=e.indexOf("(")>-1&&e.indexOf(")")>-1,g=0;if("x"==r.spec)g=parseInt(e,16);else{[p,c,"(",")"].forEach((function(t){e=e.replace(t,"")}));/\s/.test(l)&&(e=e.replace(/\s+/g,""));var _=(e=e.replace(new RegExp("\\"+l,"g"),"").replace(new RegExp("\\"+u,"g"),"-").replace(/(\+|\-)\s+/g,"$1").replace(a,".").trim()).length;if(!d&&_&&"-"==e[_-1]){d=!0;e=e.substring(0,_-1)}g=/^\s*(\+|\-)?\d*(\.\d*)?(\s*E(\+|\-)?\d+)?\s*$/i.test(e)?parseFloat(e):Number.NaN}if(!isNaN(g)){d=d||g<0;g=Math.abs(g);h&&(g=Globalize._shiftDecimal(g,-2));d&&(g=-g);r.scale&&(g*=Math.pow(10,r.scale))}return g};Globalize.parseDate=function(e,t,r){if(!(e=asString(e)))return null;if("u"==t)return new Date(e);var n;if("R"==t||"r"==t){var i=e.match(/((\d+)\-(\d+)\-(\d+))?\s?((\d+):(\d+)(:(\d+))?)?/);if(i[1]||i[5]){n=i[1]?new Date(parseInt(i[2]),parseInt(i[3])-1,parseInt(i[4])):new Date;if(i[5]){n.setHours(parseInt(i[6]));n.setMinutes(parseInt(i[7]));n.setSeconds(i[8]?parseInt(i[9]):0)}}else n=new Date(e);return isNaN(n.getTime())?null:n}t=Globalize._expandFormat(t||"d");var o=exports.culture.Globalize.calendar,s=Globalize._CJK,a=new RegExp("(\\"+o["/"]+")|(\\"+o[":"]+")|(\\d+)|(["+s+"\\.]{2,})|(["+s+"]+)","gi"),l=e.match(a),u=Globalize._parseDateFormat(t),c=0;if(!(l&&l.length&&u&&u.length))return null;var p,h,d,g,_,m=-1,v=0,b=1,y=0,C=0,w=0,E=0,x=-1,A=null;if(r=asDate(r,!0)){v=r.getMonth();b=r.getDate();y=r.getHours();C=r.getMinutes();w=r.getSeconds();E=r.getMilliseconds()}for(var P=0;P<u.length&&l;P++){var T=P-c,I=T>-1&&T<l.length?l[T]:"",S=u[P].length;switch(u[P]){case"EEEE":case"EEE":case"EE":case"E":case"eeee":case"eee":case"ee":case"e":_=u[P];case"yyyy":case"yyy":case"yy":case"y":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}m=parseInt(I);g=4==I.length;break;case"MMMM":case"MMM":d=!0;v=-1;for(var O=I.toLowerCase(),D="MMMM"==u[P]?o.months:o.monthsAbbr,k=0;k<12;k++)if(0==D[k].toLowerCase().indexOf(O)){v=k;break}if(v>-1)break;case"MM":case"M":d=!0;if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}v=parseInt(I)-1;break;case"dddd":case"ddd":p=!0;break;case"dd":case"d":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}b=parseInt(I);h=!0;break;case"hh":case"h":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}y=12==(y=parseInt(I))?0:y;break;case"HH":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}y=parseInt(I);break;case"H":y=parseInt(I);break;case"mm":case"m":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}C=parseInt(I);break;case"ss":case"s":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}w=parseInt(I);break;case"fffffff":case"FFFFFFF":case"ffffff":case"FFFFFF":case"fffff":case"FFFFF":case"ffff":case"FFFF":case"fff":case"FFF":case"ff":case"FF":case"f":case"F":E=parseInt(I)/Math.pow(10,S-3);break;case"tt":case"t":I=I.toUpperCase();y<12&&o.pm.indexOf(I)>-1&&(y+=12);break;case"q":case"Q":case"u":case"U":x=parseInt(I);break;case"ggg":case"gg":case"g":case'"г."':A=o.eras.length>1?Globalize._getEra(I,o):o.eras.length>0?o.eras[0]:null;if(o.eras.length>0&&!A)return null;break;case"/":case":":if(I&&I!=o[u[P]])return null;break;case o["/"]:case o[":"]:if(I&&I!=u[P])return null;break;case"K":break;default:Globalize._unquote(u[P]).trim()!=I.trim()&&c++}}if(d&&h){isNaN(y)&&(y=0);isNaN(C)&&(C=0);isNaN(w)&&(w=0)}if(v<0||v>11||isNaN(v)||b<1||b>31||isNaN(b)||y<0||y>=24||isNaN(y)||C<0||C>=60||isNaN(C)||w<0||w>=60||isNaN(w))return null;if(l.length+c>u.length)return null;if(_){if(!d)return null;var F=exports.culture.Globalize.calendar;if(isArray(F.fiscalYearOffsets)){var M="E"==_[0],R=v-F.fiscalYearOffsets[M?0:1];m+=R>11?-1:R<0?1:0}}if(p&&!h)return null;!d&&x>=1&&x<=4&&(v=3*(x-1));if(isNaN(m)||m<0)m=r?r.getFullYear():(new Date).getFullYear();else if(A&&A.start)m=m+A.start.getFullYear()-1;else if(m<100&&!g){var L=isNumber(o.twoDigitYearMax)?o.twoDigitYearMax:2029;L>99&&(m+=m+2e3<=L?2e3:1900)}return(n=DateTime.newDate(m,v,b,y,C+0,w,E)).getMonth()!=v||n.getDate()!=b||isNaN(n.getTime())?null:n};Globalize.getFullFormat=function(e){return Globalize._expandFormat(e)};Globalize.getFirstDayOfWeek=function(){var e=exports.culture.Globalize.calendar.firstDay;return e||0};Globalize.getNumberDecimalSeparator=function(){var e=exports.culture.Globalize.numberFormat["."];return e||"."};Globalize._toFixedStr=function(e,t){var r=e.toString(),n=r.indexOf("."),i=t-(r.length-n)+1,o=r.indexOf("e")>-1;if(!o&&n>-1&&i>=0)return r+Array(i+1).join("0");if(n>-1&&!o&&"5"==r[r.length-1]){e=+(Math.round(+(Math.abs(e)+"e"+t))+"e"+-t)*(e<0?-1:1)}return e.toFixed(t)};Globalize._unquote=function(e){return e.length>1&&e[0]==e[e.length-1]&&("'"==e[0]||'"'==e[0])?e.substr(1,e.length-2):e};Globalize._parseNumericFormat=function(e){var t=Globalize._numFormatInfo[e];if(!t){var r=e&&e.match(/(\"(.*?)\"\s*)?([a-z]+)\s*(\d*)\s*(,*)(\s*\"(.*?)\"\s*)?(.*)/i)||[],n=r[3]?r[3]:"n";if(n.length>1){r=[];n="n"}t={prefix:r[2]||"",spec:n.toLowerCase(),specRaw:n,prec:r[4]?parseInt(r[4]):null,scale:r[5]?3*r[5].length:0,suffix:r[7]||"",curr:r[8]||null};Globalize._numFormatInfo[e]=t}return t};Globalize._parseDateFormat=function(e){var t=Globalize._dateFormatParts[e];if(!t){t=[];if(e){var r=void 0,n=void 0;for(r=0;r>-1&&r<e.length;r++){var i=e[r];if(("'"==i||'"'==i)&&(n=e.indexOf(i,r+1))>-1){t.push(e.substring(r,n+1));r=n}else if("\\"==i&&r<e.length-1){r++;t.push('"'+e[r]+'"')}else{n=r+1;for(;n<e.length&&e[n]==i;n++);t.push(e.substring(r,n));r=n-1}}}Globalize._dateFormatParts[e]=t}return t};Globalize._formatDatePart=function(e,t,r){var n,i=exports.culture.Globalize.calendar,o=null,s=0,a=0,l=r.length;switch(r){case"yyyy":case"yyy":case"yy":case"y":case"EEEE":case"EEE":case"EE":case"E":case"eeee":case"eee":case"ee":case"e":s=(n="E"==r[0]?DateTime.toFiscal(e,!0):"e"==r[0]?DateTime.toFiscal(e,!1):e).getFullYear();i.eras.length>1&&t.indexOf("g")>-1&&(o=Globalize._getEra(e,i))&&(s=isDate(o.start)?s-o.start.getFullYear()+1:Math.abs(s));var u=r.length<3?s%100:3==r.length?s%1e3:s;return Globalize._zeroPad(u,r.length);case"MMMMM":return i.monthsAbbr[e.getMonth()][0];case"MMMM":return i.months[e.getMonth()];case"MMM":return i.monthsAbbr[e.getMonth()];case"MM":case"M":return Globalize._zeroPad(e.getMonth()+1,l);case"dddd":return i.days[e.getDay()];case"ddd":return i.daysAbbr[e.getDay()];case"dd":return Globalize._zeroPad(e.getDate(),2);case"d":return e.getDate().toString();case"hh":case"h":return Globalize._zeroPad(Globalize._h12(e),l);case"HH":case"H":return Globalize._zeroPad(e.getHours(),l);case"mm":case"m":return Globalize._zeroPad(e.getMinutes(),l);case"ss":case"s":return Globalize._zeroPad(e.getSeconds(),l);case"fffffff":case"FFFFFFF":case"ffffff":case"FFFFFF":case"fffff":case"FFFFF":case"ffff":case"FFFF":case"fff":case"FFF":case"ff":case"FF":case"f":case"F":a=e.getMilliseconds()*Math.pow(10,l-3);return"f"==r[0]?Globalize._zeroPad(a,l):a.toFixed(0);case"tt":return e.getHours()<12?i.am[0]:i.pm[0];case"t":return e.getHours()<12?i.am[1]:i.pm[1];case"q":case"Q":return(Math.floor(e.getMonth()/3)+1).toString();case"u":case"U":n=DateTime.toFiscal(e,"U"==r);return(Math.floor(n.getMonth()/3)+1).toString();case"ggg":case"gg":case"g":if(i.eras.length>1&&(o=Globalize._getEra(e,i))){if(isString(o))return o;switch(r){case"gg":return o.name[0];case"g":return o.symbol;default:return o.name}}return i.eras[0];case":":case"/":return i[r];case"K":var c=e.toString().match(/(\+|\-)(\d{2})(\d{2})/);return c?c[1]+c[2]+c[3]:"";case"zzz":case"zz":case"z":var p=-e.getTimezoneOffset(),h=Math.abs(p),d=Globalize.formatNumber,g=void 0;switch(r){case"zzz":g=d(h/60,"d2",!1,!0)+i[":"]+d(h%60,"d2",!1,!0);break;case"zz":g=d(h/60,"d2",!1,!0);break;case"z":g=d(h/60,"d1",!1,!0)}return(p>=0?"+":"-")+g}return l>1&&r[0]==r[l-1]&&('"'==r[0]||"'"==r[0])?r.substr(1,l-2):r};Globalize._getEra=function(e,t){if(t.eras){var r=t.eras,n=t.eras.length;if(isDate(e)){if(isString(r[0]))return r[e.getFullYear()>=0?0:1];if(isDate(r[0].start)){for(var i=0;i<n;i++)if(e>=r[i].start)return r[i];return r[n-1]}}else if(isString(e)&&e.length>0){e=e.toLowerCase();for(i=0;i<n;i++){var o=r[i];if(isString(o)){if(0==o.toLowerCase().indexOf(e))return o}else if(o.name&&0==o.name.toLowerCase().indexOf(e)||o.symbol&&0==o.symbol.toLowerCase().indexOf(e))return o}}}return null};Globalize._expandFormat=function(e){var t=exports.culture.Globalize.calendar.patterns[e];return t||e};Globalize._zeroPad=function(e,t){var r=e.toFixed(0),n=t-r.length+1;return n>0?Array(n).join("0")+r:r};Globalize._h12=function(e){var t=exports.culture.Globalize.calendar,r=e.getHours();t.am&&t.am[0]&&0==(r%=12)&&(r=12);return r};Globalize._shiftDecimal=function(e,t,r){if(0==t||isNaN(e))return e;var n=e.toString();if(n.indexOf("e")>-1){var i=e*Math.pow(10,t);null!=r&&(i=parseFloat(i.toFixed(r)));return i}var o=Array(Math.abs(t)+1).join("0");t<0&&(n=o+n);var s=n.indexOf(".");s<0&&(s=(n+=".").indexOf("."));t>0&&(n+=o);s+=t;n=(n=n.replace(".","")).substr(0,s)+"."+n.substr(s);return parseFloat(n)};Globalize.DefaultDateFormat="d";Globalize._CJK="a-z"+"u00c0-u017fu3000-u30ffu4e00-u9faf".replace(/u/g,"\\u")+"u1100-u11ffu3130-u318fua960-ua97fuac00-ud7afud7b0-ud7ff".replace(/u/g,"\\u");Globalize._numFormatInfo={};Globalize._dateFormatParts={};return Globalize}();exports.Globalize=Globalize;exports._loadedCultures="undefined"!=typeof window&&window.wijmo&&window.wijmo._loadedCultures||{};function _updateCulture(e){exports.culture=e;exports._loadedCultures[e.Globalize.name]=e}exports._updateCulture=_updateCulture;function _addCultureInfo(e,t){var r="undefined"!=typeof window?window.wijmo:null,n=r?r.culture:null,i=n?n[e]:null;exports.culture[e]=i||t}exports._addCultureInfo=_addCultureInfo;exports.changeCultureSync=function(e,t){for(var r=document.getElementsByTagName("script"),n=0;n<r.length;n++){var i=r[n];if(i.src.indexOf("wijmo.culture.")>-1){i.parentElement.removeChild(i);break}}var o=exports._loadedCultures[e]||void 0;if(o){var s=window.wijmo._updateCulture;s?s(o):window.wijmo.culture=o;t&&t();window.wijmo.Control.invalidateAll()}return o};exports.changeCulture=function(e){return new Promise((function(t,r){var n=exports.changeCultureSync(e);n?t(n):r()}))};var _MaskProvider=function(){function _MaskProvider(e,t,r){void 0===t&&(t="");void 0===r&&(r="_");this._promptChar="_";this._mskArr=[];this._overWrite=!1;this._full=!0;this._inputBnd=this._input.bind(this);this._keydownBnd=this._keydown.bind(this);this._keypressBnd=this._keypress.bind(this);this._cmpstartBnd=this._cmpstart.bind(this);this._cmpendBnd=this._cmpend.bind(this);this.mask=asString(t);this.input=e;this.promptChar=asString(r,!1);this._connect(!0);(this._evtInput=document.createEvent("HTMLEvents")).initEvent("input",!0,!1)}Object.defineProperty(_MaskProvider.prototype,"input",{get:function(){return this._tbx},set:function(e){this._connect(!1);this._tbx=e;this._connect(!0)},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"mask",{get:function(){return this._msk},set:function(e){if(e!=this._msk){this._msk=asString(e,!0);this._parseMask();this._valueChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"promptChar",{get:function(){return this._promptChar},set:function(e){if(e!=this._promptChar){assert(1==(e=asString(e,!1)).length,"promptChar must be a string with length 1.");for(var t=this._tbx,r=t.value,n="",i=this._mskArr,o=this._promptChar,s=0;s<r.length;s++){var a=i[s],l=r[s];a&&a.literal||l!==o||(l=e);n+=l}t.value=n;this._promptChar=e}},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"overwriteMode",{get:function(){return this._overWrite},set:function(e){this._overWrite=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"maskFull",{get:function(){return this._full},enumerable:!0,configurable:!0});_MaskProvider.prototype.getMaskRange=function(){return this._mskArr.length?[this._firstPos,this._lastPos]:[0,this._tbx.value.length-1]};_MaskProvider.prototype.getRawValue=function(){var e=this._tbx?this._tbx.value:"";if(!this.mask)return e;for(var t="",r=0;r<this._mskArr.length&&r<e.length;r++)this._mskArr[r].literal||e[r]==this._promptChar||(t+=e[r]);return t};_MaskProvider.prototype.refresh=function(){this._parseMask();this._valueChanged()};_MaskProvider.prototype._input=function(e){var t=this;if(this._msk&&!this._composing&&e!=this._evtInput){e.preventDefault();e.stopImmediatePropagation();setTimeout((function(){t._valueChanged();t._tbx&&t._tbx.dispatchEvent(t._evtInput)}))}};_MaskProvider.prototype._keydown=function(e){if(e.keyCode==Key.Back){var t=this._tbx.selectionStart,r=this._tbx.selectionEnd;if(t<=this._firstPos&&r==t){e.preventDefault();this._backSpace=!1;return}}this._backSpace=e.keyCode==Key.Back};_MaskProvider.prototype._keypress=function(e){e.ctrlKey||e.metaKey||e.altKey||this._composing||!this._preventKey(e.charCode)||e.preventDefault()};_MaskProvider.prototype._cmpstart=function(e){this._composing=!0};_MaskProvider.prototype._cmpend=function(e){var t=this;if(this._composing){this._composing=!1;setTimeout((function(){var e=t._tbx;e&&t._valueChanged()&&e.dispatchEvent(t._evtInput)}))}};_MaskProvider.prototype._preventKey=function(e){if(e&&this._mskArr.length){var t=this._tbx,r=t.selectionStart,n=String.fromCharCode(e);r<this._firstPos&&setSelectionRange(t,r=this._firstPos);if(r>=this._mskArr.length)return!0;var i=this._mskArr[r];if(i.literal)this._validatePosition(r);else if(i.wildCard!=n&&!this._isCharValid(i.wildCard,n))return!0}return!1};_MaskProvider.prototype._connect=function(e){var t=this._tbx;if(t){assert(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement,"INPUT or TEXTAREA element expected.");if(e){this._autoComplete=t.autocomplete;this._spellCheck=t.spellcheck;t.autocomplete="off";t.spellcheck=!1;t.addEventListener("input",this._inputBnd,!0);t.addEventListener("keydown",this._keydownBnd,!0);t.addEventListener("keypress",this._keypressBnd,!0);t.addEventListener("compositionstart",this._cmpstartBnd,!0);t.addEventListener("compositionend",this._cmpendBnd,!0);t.addEventListener("blur",this._cmpendBnd,!0);this._valueChanged()}else{t.autocomplete=this._autoComplete;t.spellcheck=this._spellCheck;t.removeEventListener("input",this._inputBnd,!0);t.removeEventListener("keydown",this._keydownBnd,!0);t.removeEventListener("keypress",this._keypressBnd,!0);t.removeEventListener("compositionstart",this._cmpstartBnd,!0);t.removeEventListener("compositionend",this._cmpendBnd,!0);t.removeEventListener("blur",this._cmpendBnd,!0)}}};_MaskProvider.prototype._valueChanged=function(){if(!this._tbx||!this._msk)return!1;var e=this._tbx,t=e.selectionStart,r=t>0?e.value[t-1]:"",n=e.value;e.value=this._applyMask();""==n&&(t=this._firstPos+1);var i=t>0?e.value[t-1]:"";t>0&&i==this._promptChar&&r!=this.promptChar&&t--;t==n.length&&(t=this._matchEnd);this._validatePosition(t);return n!=e.value};_MaskProvider.prototype._applyMask=function(){var e=this._tbx,t=e.value;this._full=!0;this._matchEnd=0;if(!this._msk)return t;if(!t&&!e.required)return t;if(this._overWrite){var r=e.selectionStart;e==document.activeElement&&e.selectionEnd==r&&t.length>this.mask.length&&(t=t.substr(0,r)+t.substr(r+t.length-this.mask.length))}t=this._handleVagueLiterals(t);for(var n="",i=0,o=this._promptChar,s=0;s<this._mskArr.length;s++){var a=this._mskArr[s],l=a.literal;l&&l==t[i]&&i++;if(a.wildCard){l=o;if(t){for(var u=i;u<t.length;u++)if(this._isCharValid(a.wildCard,t[u])){l=t[u];switch(a.charCase){case">":l=l.toUpperCase();break;case"<":l=l.toLowerCase()}l!=o&&(this._matchEnd=n.length+1);break}i=u+1}l==o&&(this._full=!1)}n+=l}return n};_MaskProvider.prototype._handleVagueLiterals=function(e){if(e.length>this._mskArr.length+1)return e;var t=e.length-this._mskArr.length;if(0!=t&&e.length>1){for(var r=-1,n=this._backSpace,i=this._tbx,o=i==getActiveElement()?i.selectionStart:i.value.length,s=Math.max(0,o-t);s<this._mskArr.length;s++)if(this._mskArr[s].vague){r=s;break}if(r>-1)if(t<0){if(n)for(;r>0&&this._mskArr[r-1].literal;)r--;var a=Array(1-t).join(this._promptChar),l=r+t;l>-1&&(e=e.substr(0,l)+a+e.substr(l-t))}else{for(;r>0&&this._mskArr[r-1].literal;)r--;e=e.substr(0,r)+e.substr(r+t)}}return e};_MaskProvider.prototype._isCharValid=function(e,t){if(t==this._promptChar)return!0;switch(e){case"0":return this._isDigit(t);case"9":return this._isDigit(t)||" "==t;case"#":return this._isDigit(t)||" "==t||"+"==t||"-"==t;case"L":return this._isLetter(t);case"l":return this._isLetter(t)||" "==t;case"A":return this._isDigit(t)||this._isLetter(t);case"a":return this._isDigit(t)||this._isLetter(t)||" "==t;case"9":return t>="0"&&t<="9";case"J":case"G":return!("G"==e&&_MaskProvider._X_DBCS_BIG_HIRA.indexOf(t)>-1)&&(t>="ぁ"&&t<="ゟ");case"K":case"N":return!("N"==e&&_MaskProvider._X_DBCS_BIG_KATA.indexOf(t)>-1)&&(t>="゠"&&t<="ヿ");case"Z":return!(t>="ヲ"&&t<="゚")&&(t<" "||t>"ÿ");case"H":return t>="!"&&t<="ÿ"||t>="ヲ"&&t<="゚";case"K":case"N":return!("N"==e&&_MaskProvider._X_SBCS_BIG_KATA.indexOf(t)>-1)&&(t>="ヲ"&&t<="゚")}return!1};_MaskProvider.prototype._isDigit=function(e){return e>="0"&&e<="9"};_MaskProvider.prototype._isLetter=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"};_MaskProvider.prototype._validatePosition=function(e){var t=this._mskArr;if(this._backSpace)for(;e>0&&e<t.length&&t[e-1].literal;)e--;if(0==e||!this._backSpace)for(;e<t.length&&t[e].literal;)e++;getActiveElement()==this._tbx&&setSelectionRange(this._tbx,e);this._backSpace=!1};_MaskProvider.prototype._parseMask=function(){this._mskArr=[];this._firstPos=-1;this._lastPos=-1;for(var e,t=this._msk,r="|",n=0;t&&n<t.length;n++)switch(t[n]){case"0":case"9":case"#":case"A":case"a":case"L":case"l":case"9":case"J":case"G":case"K":case"N":case"Z":case"K":case"N":case"H":this._firstPos<0&&(this._firstPos=this._mskArr.length);this._lastPos=this._mskArr.length;this._mskArr.push(new _MaskElement(t[n],r));break;case".":case",":case":":case"/":case"$":switch(t[n]){case".":case",":e=exports.culture.Globalize.numberFormat[t[n]];break;case":":case"/":e=exports.culture.Globalize.calendar[t[n]];break;case"$":e=exports.culture.Globalize.numberFormat.currency.symbol}for(var i=0;i<e.length;i++)this._mskArr.push(new _MaskElement(e[i]));break;case"<":case">":case"|":r=t[n];break;case"\\":n<t.length-1&&n++;this._mskArr.push(new _MaskElement(t[n]));break;default:this._mskArr.push(new _MaskElement(t[n]))}for(n=0;n<this._mskArr.length;n++){var o=this._mskArr[n];if(o.literal)for(i=0;i<this._mskArr.length;i++){var s=this._mskArr[i];if(s.wildCard&&this._isCharValid(s.wildCard,o.literal)){o.vague=!0;break}}}};_MaskProvider.prototype.dispose=function(){this._connect(!1);this._tbx=null;this._inputBnd=null;this._keydownBnd=null;this._keypressBnd=null;this._cmpstartBnd=null;this._cmpendBnd=null;this._mskArr=null;this._evtInput=null};_MaskProvider._X_DBCS_BIG_HIRA="ぁぃぅぇぉっゃゅょゎゕゖ";_MaskProvider._X_DBCS_BIG_KATA="ァィゥェォッャュョヮヵヶ";_MaskProvider._X_SBCS_BIG_KATA="ァィゥェォャュョッ";return _MaskProvider}();exports._MaskProvider=_MaskProvider;var Aggregate,_MaskElement=function _MaskElement(e,t){if(t){this.wildCard=e;this.charCase=t}else this.literal=e};exports._MaskElement=_MaskElement;!function(e){e[e.None=0]="None";e[e.Sum=1]="Sum";e[e.Cnt=2]="Cnt";e[e.Avg=3]="Avg";e[e.Max=4]="Max";e[e.Min=5]="Min";e[e.Rng=6]="Rng";e[e.Std=7]="Std";e[e.Var=8]="Var";e[e.StdPop=9]="StdPop";e[e.VarPop=10]="VarPop";e[e.CntAll=11]="CntAll";e[e.First=12]="First";e[e.Last=13]="Last"}(Aggregate=exports.Aggregate||(exports.Aggregate={}));function getAggregate(e,t,r,n){var i=0,o=0,s=0,a=0,l=null,u=null,c=null,p=r?new Binding(r):null;if((e=asEnum(e,Aggregate))==Aggregate.CntAll)return t.length;for(var h=0;h<t.length;h++){var d=t[h];p&&(d=p.getValue(d));if(null!=d){if(e==Aggregate.First)return d;i++;(null==l||d<l)&&(l=d);(null==u||d>u)&&(u=d);c=d;d&&"string"==typeof d&&d.length>1&&"="===d[0]&&"="!==d[1]&&n&&"function"==typeof n.evaluate&&(d=n.evaluate(d));if(isNumber(d)&&!isNaN(d)){o++;s+=d;a+=d*d}else if(isBoolean(d)){o++;if(1==d){s++;a++}}}}var g=0==o?0:s/o;switch(e){case Aggregate.Avg:return g;case Aggregate.Cnt:return i;case Aggregate.Max:return u;case Aggregate.Min:return l;case Aggregate.Rng:return u-l;case Aggregate.Sum:return s;case Aggregate.VarPop:return o<=1?0:a/o-g*g;case Aggregate.StdPop:return o<=1?0:Math.sqrt(a/o-g*g);case Aggregate.Var:return o<=1?0:(a/o-g*g)*o/(o-1);case Aggregate.Std:return o<=1?0:Math.sqrt((a/o-g*g)*o/(o-1));case Aggregate.Last:return c;case Aggregate.First:return null}throw"Invalid aggregate type."}exports.getAggregate=getAggregate;function extend(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}var ArrayBase=function(e){__extends(ArrayBase,e);function ArrayBase(){var t=this;canChangePrototype?t.length=0:t=e.call(this)||this;return t}return ArrayBase}(Array);exports.ArrayBase=ArrayBase;var canChangePrototype=!0;try{extend(ArrayBase.prototype,Array.prototype);canChangePrototype=ArrayBase.prototype.length===Array.prototype.length}catch(e){canChangePrototype=!1}var symb="undefined"!=typeof window?window.Symbol:null;!canChangePrototype&&symb&&symb.species&&Object.defineProperty(ArrayBase,symb.species,{get:function(){return Array},enumerable:!1,configurable:!1});var SortNulls,ObservableArray=function(e){__extends(ObservableArray,e);function ObservableArray(t){var r=e.call(this)||this;r._updating=0;r.collectionChanged=new Event;if(t){t=asArray(t);r._updating++;for(var n=0;n<t.length;n++)r.push(t[n]);r._updating--}return r}ObservableArray.prototype.push=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];r.forEach((function(r){e.prototype.push.call(t,r);t._raiseCollectionChanged(NotifyCollectionChangedAction.Add,r,t.length-1)}));return this.length};ObservableArray.prototype.shift=function(){var t=e.prototype.shift.call(this);this._raiseCollectionChanged(NotifyCollectionChangedAction.Remove,t,0);return t};ObservableArray.prototype.unshift=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=e.prototype.unshift.apply(this,t);1==t.length?this._raiseCollectionChanged(NotifyCollectionChangedAction.Add,t[0],0):this._raiseCollectionChanged();return n};ObservableArray.prototype.pop=function(){var t=e.prototype.pop.call(this);this._raiseCollectionChanged(NotifyCollectionChangedAction.Remove,t,this.length);return t};ObservableArray.prototype.splice=function(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o,s=NotifyCollectionChangedAction,a=this._raiseCollectionChanged.bind(this);if(r&&n.length){o=e.prototype.splice.apply(this,[t,r].concat(n));1==r&&1==n.length?a(s.Change,n[0],t):a()}else if(n.length){o=e.prototype.splice.apply(this,[t,0].concat(n));1==n.length?a(s.Add,n[0],t):a()}else{o=e.prototype.splice.call(this,t,r);1==r?a(s.Remove,o[0],t):a()}return o};ObservableArray.prototype.slice=function(t,r){return e.prototype.slice.call(this,t,r)};ObservableArray.prototype.indexOf=function(t,r){return e.prototype.indexOf.call(this,t,r)};ObservableArray.prototype.sort=function(t){var r=e.prototype.sort.call(this,t);this._raiseCollectionChanged();return r};ObservableArray.prototype.insert=function(e,t){this.splice(e,0,t)};ObservableArray.prototype.remove=function(e){var t=this.indexOf(e);t>-1&&this.removeAt(t);return t>-1};ObservableArray.prototype.removeAt=function(e){this.splice(e,1)};ObservableArray.prototype.setAt=function(e,t){e>=this.length&&(this.length=e+1);this.splice(e,1,t)};ObservableArray.prototype.clear=function(){this.length&&this.splice(0,this.length)};ObservableArray.prototype.beginUpdate=function(){this._updating++};ObservableArray.prototype.endUpdate=function(e){void 0===e&&(e=!1);this._updating--;this._updating<=0&&!e&&this._raiseCollectionChanged()};Object.defineProperty(ObservableArray.prototype,"isUpdating",{get:function(){return this._updating>0},enumerable:!0,configurable:!0});ObservableArray.prototype.deferUpdate=function(e){try{this.beginUpdate();e()}finally{this.endUpdate()}};ObservableArray.prototype.implementsInterface=function(e){return"INotifyCollectionChanged"==e};ObservableArray.prototype.onCollectionChanged=function(e){void 0===e&&(e=NotifyCollectionChangedEventArgs.reset);this.isUpdating||this.collectionChanged.raise(this,e)};ObservableArray.prototype._raiseCollectionChanged=function(e,t,r){void 0===e&&(e=NotifyCollectionChangedAction.Reset);if(!this.isUpdating){var n=new NotifyCollectionChangedEventArgs(e,t,r);this.onCollectionChanged(n)}};return ObservableArray}(ArrayBase);exports.ObservableArray=ObservableArray;!function(e){e[e.Natural=0]="Natural";e[e.First=1]="First";e[e.Last=2]="Last"}(SortNulls=exports.SortNulls||(exports.SortNulls={}));var _OBJ_DEPTH=2,CollectionView=function(){function CollectionView(e,t){var r=this;this._srcRaw=null;this._src=null;this._ncc=null;this._view=null;this._pgView=null;this._groups=null;this._fullGroups=null;this._digest="";this._idx=-1;this._filter=null;this._filters=new ObservableArray;this._srtDsc=new ObservableArray;this._grpDesc=new ObservableArray;this._newItem=null;this._edtItem=null;this._edtClone=null;this._committing=!1;this._canceling=!1;this._pendingRefresh=!1;this._pendingRemove=!1;this._pgSz=0;this._pgIdx=0;this._updating=0;this._stableSort=!1;this._srtNulls=SortNulls.Last;this._canFilter=!0;this._canGroup=!0;this._canSort=!0;this._canAddNew=!0;this._canCancelEdit=!0;this._canRemove=!0;this._canChangePage=!0;this._refreshOnEdit=!0;this._trackChanges=!1;this._chgAdded=new ObservableArray;this._chgRemoved=new ObservableArray;this._chgEdited=new ObservableArray;this._orgVals=window.Map?new Map:null;this._srtCvt=null;this._srtCmp=null;this._getError=null;this._keepCurrentItem=null;this._initializing=!1;this.collectionChanged=new Event;this.sourceCollectionChanging=new Event;this.sourceCollectionChanged=new Event;this.currentChanged=new Event;this.currentChanging=new Event;this.pageChanged=new Event;this.pageChanging=new Event;this._srtDsc.collectionChanged.addHandler((function(){r._srtDsc.forEach((function(e){assert(e instanceof SortDescription,"sortDescriptions array must contain SortDescription objects.")}));r.canSort&&r._commitAndRefresh()}));this._grpDesc.collectionChanged.addHandler((function(){r._grpDesc.forEach((function(e){assert(e instanceof GroupDescription,"groupDescriptions array must contain GroupDescription objects.")}));r.canGroup&&r._commitAndRefresh()}));this._filters.collectionChanged.addHandler((function(){r._filters.forEach((function(e){assert(isFunction(e),"filters array must contain IPredicate functions.")}));r.canFilter&&r._commitAndRefresh()}));this._chgEdited.collectionChanged.addHandler((function(e,t){if(t&&t.action&&r._orgVals&&0!==r._orgVals.size)switch(t.action){case NotifyCollectionChangedAction.Remove:r._orgVals.delete(t.item);break;case NotifyCollectionChangedAction.Reset:r._orgVals.clear()}}));this.sourceCollection=e||new ObservableArray;if(t){this._initializing=!0;this.deferUpdate((function(){copy(r,t)}));this._initializing=!1}null==this._keepCurrentItem&&(this._keepCurrentItem=!0)}CollectionView.prototype._copy=function(e,t){switch(e){case"sortDescriptions":var r=this.sortDescriptions;r.deferUpdate((function(){r.clear();asArray(t).forEach((function(e){isString(e)?e=new SortDescription(e,!0):e instanceof SortDescription||!e.property||(e=new SortDescription(e.property,e.ascending));r.push(e)}))}));return!0;case"groupDescriptions":var n=this.groupDescriptions;n.deferUpdate((function(){n.clear();t.forEach((function(e){isString(e)&&(e=new PropertyGroupDescription(e));n.push(e)}))}));return!0;case"currentItem":this.currentItem=t;return!0}return!1};Object.defineProperty(CollectionView.prototype,"calculatedFields",{get:function(){return this._calcFields},set:function(e){if(e&&!window.Proxy){console.warn("** Calculated fields require Proxy (see https://www.npmjs.com/package/proxy-polyfill).");e=null}if(e!=this._calcFields){this._calcFields=e;var t=this._srcRaw;this._srcRaw=null;this.sourceCollection=t}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"newItemCreator",{get:function(){return this._itemCreator},set:function(e){this._itemCreator=asFunction(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortConverter",{get:function(){return this._srtCvt},set:function(e){e!=this._srtCvt&&(this._srtCvt=asFunction(e,!0))},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortComparer",{get:function(){return this._srtCmp},set:function(e){e!=this._srtCmp&&(this._srtCmp=asFunction(e,!0))},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"useStableSort",{get:function(){return this._stableSort},set:function(e){if(e!=this._stableSort){this._stableSort=asBoolean(e);this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortNulls",{get:function(){return this._srtNulls},set:function(e){if((e=asEnum(e,SortNulls))!=this._srtNulls){this._srtNulls=e;this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortNullsFirst",{get:function(){return this.sortNulls!=SortNulls.Last},set:function(e){_deprecated("sortNullsFirst","sortNulls");this.sortNulls=asBoolean(e)?SortNulls.First:SortNulls.Last},enumerable:!0,configurable:!0});CollectionView.prototype.getAggregate=function(e,t,r){return getAggregate(e,r?this._pgView:this._view,t)};Object.defineProperty(CollectionView.prototype,"trackChanges",{get:function(){return this._trackChanges},set:function(e){this._trackChanges=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"refreshOnEdit",{get:function(){return this._refreshOnEdit},set:function(e){this._refreshOnEdit=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemsAdded",{get:function(){return this._chgAdded},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemsRemoved",{get:function(){return this._chgRemoved},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemsEdited",{get:function(){return this._chgEdited},enumerable:!0,configurable:!0});CollectionView.prototype.clearChanges=function(){this._chgAdded.clear();this._chgRemoved.clear();this._chgEdited.clear();this._orgVals&&this._orgVals.clear()};CollectionView.prototype.implementsInterface=function(e){switch(e){case"ICollectionView":case"IEditableCollectionView":case"IPagedCollectionView":case"INotifyCollectionChanged":return!0}return!1};Object.defineProperty(CollectionView.prototype,"getError",{get:function(){return this._getError},set:function(e){if(this._getError!=e){this._getError=asFunction(e);this._raiseCollectionChanged()}},enumerable:!0,configurable:!0});CollectionView.prototype.onCollectionChanged=function(e,t){void 0===e&&(e=NotifyCollectionChangedEventArgs.reset);e.action!=NotifyCollectionChangedAction.Change||this._committing||this._canceling||e.item==this.currentEditItem||e.item==this.currentAddItem||this._trackItemChanged(e.item,t);this._updating||this.collectionChanged.raise(this,e)};CollectionView.prototype._raiseCollectionChanged=function(e,t,r){void 0===e&&(e=NotifyCollectionChangedAction.Reset);var n=new NotifyCollectionChangedEventArgs(e,t,r);this.onCollectionChanged(n)};CollectionView.prototype.onSourceCollectionChanging=function(e){this.sourceCollectionChanging.raise(this,e);return!e.cancel};CollectionView.prototype.onSourceCollectionChanged=function(e){this.sourceCollectionChanged.raise(this,e)};Object.defineProperty(CollectionView.prototype,"canFilter",{get:function(){return this._canFilter},set:function(e){this._canFilter=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canGroup",{get:function(){return this._canGroup},set:function(e){this._canGroup=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canSort",{get:function(){return this._canSort},set:function(e){this._canSort=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentItem",{get:function(){return this._pgView&&this._idx>-1&&this._idx<this._pgView.length?this._pgView[this._idx]:null},set:function(e){this.moveCurrentTo(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentPosition",{get:function(){return this._idx},set:function(e){this.moveCurrentToPosition(asNumber(e))},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"filter",{get:function(){return this._filter},set:function(e){if(this._filter!=e){this._filter=asFunction(e);this.canFilter&&this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"filters",{get:function(){return this._filters},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"groupDescriptions",{get:function(){return this._grpDesc},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"groups",{get:function(){return this._groups},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isEmpty",{get:function(){return!this._pgView||!this._pgView.length},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortDescriptions",{get:function(){return this._srtDsc},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sourceCollection",{get:function(){return this._src},set:function(e){if(e!=this._srcRaw){if(!this.onSourceCollectionChanging(new CancelEventArgs))return;var t=this.currentPosition;this.commitEdit();null!=this._ncc&&this._ncc.collectionChanged.removeHandler(this._sourceChanged);this._srcRaw=e;this._src=asArray(e,!1);this._calcFields&&(this._src=_getCalculatedArray(this._src,this._calcFields));this._ncc=tryCast(this._src,"INotifyCollectionChanged");this._ncc&&this._ncc.collectionChanged.addHandler(this._sourceChanged,this);this.clearChanges();this.refresh();this.moveCurrentToFirst();this.onSourceCollectionChanged();this.currentPosition<0&&t>-1&&this.onCurrentChanged()}},enumerable:!0,configurable:!0});CollectionView.prototype._sourceChanged=function(e,t){this._updating<=0&&this.refresh()};CollectionView.prototype.contains=function(e){return this._pgView.indexOf(e)>-1};CollectionView.prototype.moveCurrentTo=function(e){return this.moveCurrentToPosition(_ENV_TOOLS.indexOf(this._pgView,e))};CollectionView.prototype.moveCurrentToFirst=function(){return this.moveCurrentToPosition(0)};CollectionView.prototype.moveCurrentToLast=function(){return this.moveCurrentToPosition(this._pgView.length-1)};CollectionView.prototype.moveCurrentToPrevious=function(){return this._idx>0&&this.moveCurrentToPosition(this._idx-1)};CollectionView.prototype.moveCurrentToNext=function(){return this.moveCurrentToPosition(this._idx+1)};CollectionView.prototype.moveCurrentToPosition=function(e){if(e>=-1&&e<this._pgView.length&&e!=this._idx){var t=new CancelEventArgs;if(this.onCurrentChanging(t)){var r=this._pgView[e],n=_getTargetObject(r),i=this._edtItem,o=this._newItem;i&&i!=r&&i!=n?this.commitEdit():o&&o!=r&&o!=n&&this.commitNew();this._idx=e;this.onCurrentChanged()}}return this._idx==e};CollectionView.prototype.refresh=function(){if(this._newItem||this._edtItem||this._updating>0)this._pendingRefresh=!0;else{var e=this.currentItem;this._performRefresh();this.onCollectionChanged();e==this.currentItem||this._initializing||this.onCurrentChanged()}};CollectionView.prototype._commitAndRefresh=function(){if(this.currentEditItem||this.currentAddItem){this._pendingRefresh=!0;this.commitEdit()}else this.refresh()};CollectionView.prototype._performRefresh=function(){if(this._updating>0)this._pendingRefresh=!0;else{this._pendingRefresh=!1;this._pendingRemove=!1;var e=this.currentItem;this._view=this._src?this._performFilter(this._src):[];if(this.canSort&&this._srtDsc.length>0){this._view==this._src&&(this._view=this._src.slice());this._performSort(this._view)}this._groups=this.canGroup?this._createGroups(this._view):null;this._fullGroups=this._groups;this._groups&&(this._view=this._mergeGroupItems(this._groups));this._pgIdx=clamp(this._pgIdx,0,this.pageCount-1);this._pgView=this._getPageView();if(this._groups&&this.pageCount>1){this._groups=this._createGroups(this._pgView);this._mergeGroupItems(this._groups)}var t=this._keepCurrentItem&&null!=e?this._pgView.indexOf(e):-1;t<0&&(t=Math.min(this._idx,this._pgView.length-1));this._idx=t;this._digest=this._getGroupsDigest(this.groups)}};CollectionView.prototype._performSort=function(e){if(this._stableSort){var t=e.map((function(e,t){return{item:e,index:t}})),r=this._compareItems();t.sort((function(e,t){var n=r(e.item,t.item);return 0==n?e.index-t.index:n}));for(var n=0;n<e.length;n++)e[n]=t[n].item}else e.sort(this._compareItems())};CollectionView.prototype._compareItems=function(){var e=this,t=this._srtDsc,r=this._srtCvt,n=this._srtCmp,i=CollectionView._collator,o=!0,s=0;return function(a,l){for(var u=0;u<t.length;u++){var c=t[u],p=c._bnd.getValue(a),h=c._bnd.getValue(l);if(r){p=r(c,a,p,o);h=r(c,l,h,!1);o=!1}if(n&&null!=(s=n(p,h))){if(0!=s)return c.ascending?+s:-s}else{p!=p&&(p=null);h!=h&&(h=null);if(p!==h&&(null==p||null==h))switch(e._srtNulls){case SortNulls.First:return null==p?-1:1;case SortNulls.Last:return null==p?1:-1;default:s=null==p?-1:1;return c.ascending?+s:-s}if("string"==typeof p&&"string"==typeof h){if(i){if(0!=(s=i.compare(p,h)))return c.ascending?+s:-s;continue}var d=p.toLowerCase(),g=h.toLowerCase();if(d!=g){p=d;h=g}}if(0!=(s=p<h?-1:p>h?1:0))return c.ascending?+s:-s}}return 0}};CollectionView.prototype._performFilter=function(e){return this.canFilter&&this._filter||this._filters.length?e.filter(this._filterItem,this):e};CollectionView.prototype._filterItem=function(e){for(var t=!this.canFilter||!this._filter||this._filter(e),r=0;r<this._filters.length&&t;r++)t=this._filters[r](e);return t};CollectionView.prototype.onCurrentChanged=function(e){this.currentChanged.raise(this,e)};CollectionView.prototype.onCurrentChanging=function(e){this.currentChanging.raise(this,e);return!e.cancel};Object.defineProperty(CollectionView.prototype,"items",{get:function(){return this._pgView},enumerable:!0,configurable:!0});CollectionView.prototype.beginUpdate=function(){this._updating++};CollectionView.prototype.endUpdate=function(e){void 0===e&&(e=!0);this._updating--;e&&(this._pendingRefresh=!0);if(this._updating<=0){this._pendingRefresh&&this.refresh();if(this._pendingRemove){this._pendingRemove=!1;this._raiseCollectionChanged()}}};Object.defineProperty(CollectionView.prototype,"isUpdating",{get:function(){return this._updating>0},enumerable:!0,configurable:!0});CollectionView.prototype.deferUpdate=function(e,t){void 0===t&&(t=!0);try{this.beginUpdate();e()}finally{this.endUpdate(t)}};Object.defineProperty(CollectionView.prototype,"canAddNew",{get:function(){return this._canAddNew},set:function(e){if(e!=this._canAddNew){this._canAddNew=asBoolean(e);this._raiseCollectionChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canCancelEdit",{get:function(){return this._canCancelEdit},set:function(e){this._canCancelEdit=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canRemove",{get:function(){return this._canRemove},set:function(e){this._canRemove=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentAddItem",{get:function(){return this._newItem},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentEditItem",{get:function(){return this._edtItem},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isAddingNew",{get:function(){return null!=this._newItem},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isEditingItem",{get:function(){return null!=this._edtItem},enumerable:!0,configurable:!0});CollectionView.prototype.editItem=function(e){if(e!=this._edtItem&&this.moveCurrentTo(e)){this.commitEdit();this._edtItem=e;this._edtClone=this._extend({},this._edtItem)}};CollectionView.prototype.commitEdit=function(){var e=this._edtItem,t=this._edtClone;if(null!=e){this._committing=!0;var r=this._getChangedFields(e,t),n=this._pendingRefresh;this._edtItem=null;this._edtClone=null;var i=this._pgView.indexOf(e),o=this._digest;this._needRefresh(r)&&this._refreshOnEdit&&this._performRefresh();this._trackItemChanged(e,t);this._pgView.indexOf(e)!=i||o!=this._digest||n?this._raiseCollectionChanged():this._raiseCollectionChanged(NotifyCollectionChangedAction.Change,e,i);this.commitNew();this._committing=!1;if(this.sourceCollection instanceof ObservableArray){this._updating++;var s=new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Change,e);this.sourceCollection.onCollectionChanged(s);this._updating--}}};CollectionView.prototype.cancelEdit=function(){var e=this._edtItem;if(null!=e){this._edtItem=null;if(!this.canCancelEdit)return;var t=this._src.indexOf(e);if(t>=0&&this._edtClone){this._extend(this._src[t],this._edtClone);this._edtClone=null;this._canceling=!0;this._raiseCollectionChanged(NotifyCollectionChangedAction.Change,e,t);this._canceling=!1;if(this._pendingRefresh&&this._refreshOnEdit){this._performRefresh();this._raiseCollectionChanged()}}}};CollectionView.prototype.addNew=function(e,t){void 0===t&&(t=!1);this.commitEdit();if(!this.canAddNew)return null;var r=this.sourceCollection;null==e&&(e=this.newItemCreator?this.newItemCreator():r&&r.length?new r[0].constructor:{});if(null!=e){this._updating++;r.push(e);this._updating--;e=r[r.length-1];this._newItem=e;this._pgView!=this._src&&this._pgView.push(e);if(this.groups&&this.groups.length){var n=this.groups[this.groups.length-1];n.items.push(e);for(;n.groups&&n.groups.length;)(n=n.groups[n.groups.length-1]).items.push(e)}this._raiseCollectionChanged(NotifyCollectionChangedAction.Add,e,this._pgView.length-1);this.moveCurrentTo(e);t&&this.commitNew()}return this._newItem};CollectionView.prototype.commitNew=function(){var e=this._newItem;if(null!=e){this._newItem=null;var t=this._pgView.indexOf(e),r=this._digest;this._refreshOnEdit&&this._performRefresh();if(this._trackChanges){var n=this._chgEdited.indexOf(e);n>-1&&this._chgEdited.removeAt(n);this._chgAdded.indexOf(e)<0&&this._chgAdded.push(e)}this._pgView.indexOf(e)!=t||r!=this._digest||this.calculatedFields?this._raiseCollectionChanged():this._raiseCollectionChanged(NotifyCollectionChangedAction.Change,e,t)}};CollectionView.prototype.cancelNew=function(){var e=this._newItem;null!=e&&this.remove(e)};CollectionView.prototype.remove=function(e){var t=e==this._newItem;t&&(this._newItem=null);e==this._edtItem&&this.cancelEdit();if(this.canRemove){var r=this._src.indexOf(e);if(r>-1){var n=this._view.indexOf(e)<0,i=this.currentItem;this._updating++;this._src.splice(r,1);this._updating--;var o=this._digest;if(this._refreshOnEdit)this._performRefresh();else{this._updating>0&&(this._pendingRemove=!0);var s=this._pgView.indexOf(e);s>=0&&this._pgView.splice(s,1)}if(this._trackChanges){var a=this._chgAdded.indexOf(e);a>-1&&this._chgAdded.removeAt(a);var l=this._chgEdited.indexOf(e);l>-1&&this._chgEdited.removeAt(l);this._chgRemoved.indexOf(e)<0&&!t&&a<0&&this._chgRemoved.push(e)}var u=this.sortDescriptions.length>0,c=this.pageSize>0&&this._pgIdx>-1;u||c||o!=this._getGroupsDigest(this.groups)?this._raiseCollectionChanged():n||this._raiseCollectionChanged(NotifyCollectionChangedAction.Remove,e,r);this.currentItem!==i&&this.onCurrentChanged()}}};CollectionView.prototype.removeAt=function(e){e=asInt(e);this.remove(this._pgView[e])};CollectionView.prototype._trackItemChanged=function(e,t){if(this._trackChanges){var r=this.sourceCollection;if(r&&r.indexOf(e)>-1){var n=this._orgVals,i=n?n.get(e):null;if(t&&!i){n.set(e,t);i=t}var o=this._chgEdited.indexOf(e),s=NotifyCollectionChangedAction.Change;if(i&&this._sameContent(e,i)){o>-1&&this._chgEdited.removeAt(o);return}if(o<0&&this._chgAdded.indexOf(e)<0)this._chgEdited.push(e);else if(o>-1){var a=new NotifyCollectionChangedEventArgs(s,e,o);this._chgEdited.onCollectionChanged(a)}else if((o=this._chgAdded.indexOf(e))>-1){a=new NotifyCollectionChangedEventArgs(s,e,o);this._chgAdded.onCollectionChanged(a)}}}};CollectionView.prototype._extend=function(e,t,r){void 0===r&&(r=_OBJ_DEPTH);for(var n in t)try{var i=t[n];if(r>0&&isObject(i))if("Map"===i.constructor.name)e[n]=i;else{e[n]={};this._extend(e[n],i,r-1)}else e[n]=i}catch(e){}return e};CollectionView.prototype._getChangedFields=function(e,t,r){void 0===r&&(r=_OBJ_DEPTH);assert(null!=t&&null!=e,"Two objects expected.");var n={};for(var i in t)try{this._sameValue(e[i],t[i],r)||(n[i]=!0)}catch(e){}for(var i in e)try{n[i]||this._sameValue(e[i],t[i],r)||(n[i]=!0)}catch(e){}var o=Object.keys(n);return o.length?o:null};CollectionView.prototype._sameValue=function(e,t,r){void 0===r&&(r=_OBJ_DEPTH);return!!(e===t||DateTime.equals(e,t)||Number.isNaN(e)&&Number.isNaN(t))||!(!isObject(e)||!isObject(t))&&(!(r>0)||null==this._getChangedFields(e,t,r-1))};CollectionView.prototype._sameContent=function(e,t){return null==this._getChangedFields(e,t)};CollectionView.prototype._needRefresh=function(e){if(this._pendingRefresh)return!0;if(!e)return!1;if(this._filter)return!0;for(var t=0;t<this._srtDsc.length;t++){var r=this._getBindingRoot(this._srtDsc[t].property);if(e.indexOf(r)>-1)return!0}for(t=0;t<this._grpDesc.length;t++){var n=this._grpDesc[t];if(!(n instanceof PropertyGroupDescription))return!0;r=this._getBindingRoot(n.propertyName);if(e.indexOf(r)>-1)return!0}return!1};CollectionView.prototype._getBindingRoot=function(e){var t=e.indexOf(".");return t>-1?e.substr(0,t):e};Object.defineProperty(CollectionView.prototype,"canChangePage",{get:function(){return this._canChangePage},set:function(e){this._canChangePage=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isPageChanging",{get:function(){return!1},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemCount",{get:function(){return this._pgView.length},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"pageIndex",{get:function(){return this._pgIdx},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"pageSize",{get:function(){return this._pgSz},set:function(e){if(e!=this._pgSz){this._pgSz=asInt(e);this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"totalItemCount",{get:function(){return this._view.length},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"pageCount",{get:function(){return this.pageSize?Math.ceil(this.totalItemCount/this.pageSize):1},enumerable:!0,configurable:!0});CollectionView.prototype.moveToFirstPage=function(){return this.moveToPage(0)};CollectionView.prototype.moveToLastPage=function(){return this.moveToPage(this.pageCount-1)};CollectionView.prototype.moveToPreviousPage=function(){return this.moveToPage(this.pageIndex-1)};CollectionView.prototype.moveToNextPage=function(){return this.moveToPage(this.pageIndex+1)};CollectionView.prototype.moveToPage=function(e){var t=clamp(e,0,this.pageCount-1);if(t!=this._pgIdx){if(!this.canChangePage)return!1;var r=new PageChangingEventArgs(t);if(this.onPageChanging(r)&&this.onCurrentChanging(r)){this.commitEdit();this.commitNew();var n=this.currentItem;this._pgIdx=t;this._pgView=this._getPageView();this._idx=0;if(this.groupDescriptions&&0!=this.groupDescriptions.length)this.refresh();else{this.onCollectionChanged();n!=this.currentItem&&this.onCurrentChanged()}this.onPageChanged()}}return this._pgIdx==e};CollectionView.prototype.onPageChanged=function(e){this.pageChanged.raise(this,e)};CollectionView.prototype.onPageChanging=function(e){this.pageChanging.raise(this,e);return!e.cancel};CollectionView.prototype._getFullGroup=function(e){var t=this._getGroupByPath(this._fullGroups,e.level,e._path);null!=t&&(e=t);return e};CollectionView.prototype._getGroupByPath=function(e,t,r){if(e)for(var n=0;n<e.length;n++){var i=e[n];if(i.level==t&&i._path==r)return i;if(i.level<t&&0==r.indexOf(i._path)&&null!=(i=this._getGroupByPath(i.groups,t,r)))return i}return null};CollectionView.prototype._getPageView=function(){if(this.pageSize<=0||this._pgIdx<0)return this._view;var e=this._pgSz*this._pgIdx,t=Math.min(e+this._pgSz,this._view.length);return this._view.slice(e,t)};CollectionView.prototype._createGroups=function(e){var t=this;if(!this._grpDesc||!this._grpDesc.length)return null;var r=[],n={},i=null;e.forEach((function(e){for(var o=r,s=t._grpDesc.length,a="",l=0;l<s;l++){var u=t._grpDesc[l],c=u.groupNameFromItem(e,l),p=l==s-1;if(!(i=n[a])&&isPrimitive(c)){i={};n[a]=i}var h=t._getGroup(u,o,i,c,l,p);a+="/"+c;h._path=a;p&&h.items.push(e);o=h.groups}}));return r};CollectionView.prototype._getGroupsDigest=function(e){for(var t="",r=0;null!=e&&r<e.length;r++){var n=e[r];t+="{"+n.name+":"+(n.items?n.items.length:"*");if(n.groups.length>0){t+=",";t+=this._getGroupsDigest(n.groups)}t+="}"}return t};CollectionView.prototype._mergeGroupItems=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(!n._isBottomLevel)for(var i=this._mergeGroupItems(n.groups),o=0,s=i.length;o<s;o++)n._items.push(i[o]);for(o=0,s=n._items.length;o<s;o++)t.push(n._items[o])}return t};CollectionView.prototype._getGroup=function(e,t,r,n,i,o){var s;if(r&&isPrimitive(n)){if(s=r[n])return s}else for(var a=0;a<t.length;a++)if(e.namesMatch(t[a].name,n))return t[a];var l=new CollectionViewGroup(e,n,i,o);t.push(l);r&&(r[n]=l);return l};CollectionView._collator="undefined"!=typeof window&&window.Intl&&Intl.Collator?new Intl.Collator:null;return CollectionView}();exports.CollectionView=CollectionView;var CollectionViewGroup=function(){function CollectionViewGroup(e,t,r,n){this._gd=e;this._name=t;this._level=r;this._isBottomLevel=n;this._groups=[];this._items=[]}Object.defineProperty(CollectionViewGroup.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"level",{get:function(){return this._level},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"isBottomLevel",{get:function(){return this._isBottomLevel},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"groups",{get:function(){return this._groups},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"groupDescription",{get:function(){return this._gd},enumerable:!0,configurable:!0});CollectionViewGroup.prototype.getAggregate=function(e,t,r,n){var i=tryCast(r,CollectionView);return getAggregate(e,(i?i._getFullGroup(this):this).items,t,n)};CollectionViewGroup.prototype._clone=function(){var e=new CollectionViewGroup(this.groupDescription,this.name,this.level,this.isBottomLevel);e._path=this._path;if(this.groups.length)for(var t=0;t<this.groups.length;t++)e.groups.push(this.groups[t]);if(this.items.length)for(t=0;t<this.items.length;t++)e.items.push(this.items[t]);return e};return CollectionViewGroup}();exports.CollectionViewGroup=CollectionViewGroup;var _NullValue=function _NullValue(e){this._id=e};exports._NullValue=_NullValue;exports.controlBaseClass="undefined"!=typeof window&&window["wj-control-is-element"]?HTMLElement:Object;var __isES6Mode=!1;try{var f=function __c(){};f.prototype=Array.prototype;__isES6Mode=f.prototype!==Array.prototype}catch(e){__isES6Mode=!0}var __callSuper=__isES6Mode||exports.controlBaseClass!==Object,ControlBase=function(e){__extends(ControlBase,e);function ControlBase(){var t=this;__callSuper&&(t=e.call(this)||this);return t}return ControlBase}(exports.controlBaseClass);exports.ControlBase=ControlBase;var Control=function(e){__extends(Control,e);function Control(t,r,n){void 0===r&&(r=null);void 0===n&&(n=!1);var i=e.call(this)||this;i.workingAs="PureJs";i.disposed=!1;i._orgAttributes=[];i._listeners=[];i._pristine=!0;i._focus=!1;i._updating=0;i._fullUpdate=!1;i._listenResizeEvents=!0;i.gotFocus=new Event;i.lostFocus=new Event;i.invalidInput=new Event;i.refreshing=new Event;i.refreshed=new Event;i._updateWme();assert(null==Control.getControl(t),"Element is already hosting a control.");var o=getElement(t);assert(null!=o,"Cannot find the host element.");i._orgTabIndex=o.hasAttribute("tabindex")?o.tabIndex:0;for(var s=0;s<o.attributes.length;s++){var a=o.attributes[s];i._orgAttributes.push({name:a.name,value:a.textContent})}i._orgInner=o.innerHTML;i._orgTag=o.tagName;i._orgAtts=o.attributes;"INPUT"!=o.tagName&&"SELECT"!=o.tagName||(o=i._replaceWithDiv(o));i._e=o;o[Control._CTRL_KEY]=i;var l=i.addEventListener.bind(i);if(1==n){i._szCtl=new Size(o.offsetWidth,o.offsetHeight);var u=window.ResizeObserver,c=null;u&&(c=i._szObserver=new u((function(e){return i._resizeObserverCallback(e)})));c?c.observe(o):l(window,"resize",i._handleResize.bind(i))}var p=i._handleFocusBlur.bind(i);l(o,"focus",p,!0);l(o,"blur",p,!0);var h=i._handleDisabled.bind(i);l(o,"mousedown",h,!0);l(o,"mouseup",h,!0);l(o,"click",h,!0);l(o,"dblclick",h,!0);l(o,"wheel",h,getEventOptions(!0,!0));l(o,"keydown",(function(e){i.isDisabled&&e.keyCode!=Key.Tab&&e.preventDefault()}));0==Control._ctlCnt&&_detectTouch(!0);Control._ctlCnt++;return i}Control.prototype.getTemplate=function(){for(var e=Object.getPrototypeOf(this);e;e=Object.getPrototypeOf(e)){var t=e.constructor.controlTemplate;if(t)return t}return null};Control.prototype.applyTemplate=function(e,t,r,n){var i=this,o=this._e;e&&addClass(o,e);var s=null;t&&(s=createElement(t,o));for(var a=o.querySelectorAll("a."+exports.InputFormElementsClsNames.btn),l=0;l<a.length;l++){var u=a[l];setAttribute(u,"role","button",!0);setAttribute(u,"href","",!0);setAttribute(u,"draggable",!1,!0)}var c=o.querySelectorAll("button");for(l=0;l<c.length;l++)setAttribute(c[l],"type","button",!0);var p=o.querySelectorAll("input"),h=1==p.length?p[0]:null;if(h){var d=Control._rxInputAtts;this._copyAttributes(h,o.attributes,d);this._copyAttributes(h,this._orgAtts,d)}if(h&&o.id){for(var g=o;g.parentElement;)g=g.parentElement;var _=g.querySelector('label[for="'+o.id+'"]');if(_ instanceof HTMLLabelElement){var m=getUniqueId(o.id+"_input");h.id=m;_.htmlFor=m}}if(h){var v=h.value,b=!0,y=!1,C=document.createEvent("HTMLEvents");C.initEvent("change",!0,!1);this.gotFocus.addHandler((function(){b=!1;y=!0;v=h.value}));this.addEventListener(o,"focusin",(function(e){if(b){y=!0;b=!1;v=h.value}}));this.addEventListener(h,"input",(function(){i._pristine=!1;i._getInputValueTimer=setTimeout((function(){v=h.value}))}));this.addEventListener(h,"change",(function(e){e.isTrusted&&(v=h.value)}));var leave_1=function(){if(!i._containsFocus()){b=!0;if(i._pristine){i._pristine=!1;i._updateState()}if(y&&v!=h.value){v=h.value;h.dispatchEvent(C)}y=!1}};this.addEventListener(o,"blur",(function(){leave_1()}));this.lostFocus.addHandler((function(){leave_1()}))}h?o.tabIndex=-1:o.getAttribute("tabindex")||(o.tabIndex=0);this._updateState();if(r)for(var w in r){var E=r[w];this[w]=s.querySelector('[wj-part="'+E+'"]');null==this[w]&&s.getAttribute("wj-part")==E&&(this[w]=s);if(null==this[w])throw'Missing template part: "'+E+'"';if(E==n){var x="name",A=o.attributes[x];A&&A.value&&this[w].setAttribute(x,A.value);x="accesskey";if((A=o.attributes[x])&&A.value){this[w].setAttribute(x,A.value);o.removeAttribute(x)}}}return s};Control.prototype.dispose=function(){if(this._e){this.disposed=!0;for(var e=this._e.querySelectorAll("."+exports.ControlClsNames.hostElement),t=0;t<e.length;t++){var r=Control.getControl(e[t]);r&&r.dispose()}if(this._toInv){clearTimeout(this._toInv);this._toInv=null}if(this._toFocus){clearTimeout(this._toFocus);this._toFocus=null}if(this._getInputValueTimer){clearTimeout(this._getInputValueTimer);this._getInputValueTimer=null}if(this._updateFocusStateTimer){clearTimeout(this._updateFocusStateTimer);this._updateFocusStateTimer=null}if(this.focusService){this.focusService.dispose();this.focusService=null}var n=this._szObserver;n&&n.disconnect();this.removeEventListener();for(var i in this)if(i.length>2&&0==i.indexOf("on")){(s=this[i[2].toLowerCase()+i.substr(3)])instanceof Event&&s.removeAllHandlers()}var o=this.collectionView;if(o instanceof CollectionView)for(var i in o){var s;(s=o[i])instanceof Event&&s.removeHandler(null,this)}if(this._e.parentNode){for(;this._e.attributes.length>0;)this._e.removeAttribute(this._e.attributes[0].name);for(var a=0,l=this._orgAttributes;a<l.length;a++){var u=l[a];setAttribute(this._e,u.name,u.value)}this._e.innerHTML=this._orgInner}this._e[Control._CTRL_KEY]=null;this._e=this._orgTag=this._szObserver=null;Control._ctlCnt--;0==Control._ctlCnt&&_detectTouch(!1);if(Control._ctlInvalidInput===this){if(Control._toInvalidInput){clearTimeout(Control._toInvalidInput);Control._toInvalidInput=null}if(Control._toClearCtlInvalid){clearTimeout(Control._toClearCtlInvalid);Control._toClearCtlInvalid=null}Control._ctlInvalidInput=null}if(Control._toTouch){clearTimeout(Control._toTouch);Control._toTouch=null}}};Control.getControl=function(e){var t=getElement(e);return t?asType(t[Control._CTRL_KEY],Control,!0):null};Object.defineProperty(Control.prototype,"hostElement",{get:function(){return this._e},enumerable:!0,configurable:!0});Object.defineProperty(Control.prototype,"rightToLeft",{get:function(){null==this._rtlDir&&(this._rtlDir=!!this._e&&"rtl"==getComputedStyle(this._e).direction);return this._rtlDir},enumerable:!0,configurable:!0});Control.prototype.focus=function(){var e=this._e;e&&e.offsetHeight&&(this.isDisabled||!(e.tabIndex>=0)&&moveFocus(e,0)||e.focus())};Control.prototype.containsFocus=function(){return this._containsFocusImpl(getActiveElement())};Control.prototype._containsFocus=function(){this.focusService||(this.focusService=new _FocusService);return this._containsFocusImpl(_getActiveElement(this.focusService.activeElement))};Control.prototype._containsFocusImpl=function(e){return contains(this._e,e,!0)};Control.prototype.invalidate=function(e){var t=this;void 0===e&&(e=!0);this._rtlDir=null;this._fullUpdate=this._fullUpdate||e;if(this._toInv){clearTimeout(this._toInv);this._toInv=null}this.isUpdating||this.disposed||(this._toInv=setTimeout((function(){t.refresh(t._fullUpdate);t._toInv=null}),Control._REFRESH_INTERVAL))};Control.prototype.refresh=function(e){var t=this;void 0===e&&(e=!0);if(!this.isUpdating&&!this.disposed){this.onRefreshing();this.refreshed.hasHandlers&&setTimeout((function(){t.onRefreshed()}))}if(!this.isUpdating&&this._toInv){clearTimeout(this._toInv);this._toInv=null;this._fullUpdate=!1}this._updateState();this._updateWme()};Control.invalidateAll=function(e){e||(e=document.body);var t=e.children;if(t)for(var r=0;r<t.length;r++)Control.invalidateAll(t[r]);var n=Control.getControl(e);n&&n.invalidate()};Control.refreshAll=function(e){e||(e=document.body);if(e.children)for(var t=0;t<e.children.length;t++)Control.refreshAll(e.children[t]);var r=Control.getControl(e);r&&r.refresh()};Control.disposeAll=function(e){var t=Control.getControl(e);if(t)t.dispose();else if(e.children)for(var r=0;r<e.children.length;r++)Control.disposeAll(e.children[r])};Control.prototype.beginUpdate=function(){this._updating++};Control.prototype.endUpdate=function(e){void 0===e&&(e=!0);this._updating--;this._updating<=0&&e&&this.invalidate()};Object.defineProperty(Control.prototype,"isUpdating",{get:function(){return this._updating>0},enumerable:!0,configurable:!0});Control.prototype.deferUpdate=function(e){try{this.beginUpdate();e()}finally{this.endUpdate()}};Object.defineProperty(Control.prototype,"isTouching",{get:function(){return Control._touching},enumerable:!0,configurable:!0});Object.defineProperty(Control.prototype,"tabOrder",{get:function(){return this._orgTabIndex},set:function(e){this._setTabOrder(e)},enumerable:!0,configurable:!0});Control.prototype._setTabOrder=function(e){var t=this._e;this._orgTabIndex=e;var r=t.querySelectorAll("input"),n=1===r.length?r[0]:null;t.tabIndex=this.isDisabled||n?-1:this._orgTabIndex;n&&(n.tabIndex=this._orgTabIndex)};Object.defineProperty(Control.prototype,"isDisabled",{get:function(){return this._e&&null!=this._e.getAttribute("disabled")},set:function(e){this._setIsDisabled(e)},enumerable:!0,configurable:!0});Control.prototype._setIsDisabled=function(e){if((e=!!asBoolean(e,!0))!=this.isDisabled){var t=this._e;if(t){toggleClass(t,exports.ControlStateClsNames.disabled,e);setAttribute(t,"disabled",e?"disabled":null);setAttribute(t,"aria-disabled",e);if(t.id){var r=document.querySelector("[dropdown-id="+t.id+"]");r&&toggleClass(r,exports.ControlStateClsNames.disabled,e)}t.tabIndex=this.isDisabled||1===t.querySelectorAll("input").length?-1:this._orgTabIndex;for(var n=t.querySelectorAll("input,textarea,button,command,fieldset,keygen,optgroup,option,select"),i=Control._DSBL_KEY,o=0;o<n.length;o++){var s=n[o];if(e){s[i]=s.disabled;s.disabled=!0}else{if(!!closest(s,"."+exports.ControlClsNames.hostElement+"."+exports.ControlStateClsNames.disabled)){s[i]=s.disabled;s.disabled=!0}else{var a=s[i];isBoolean(a)||(a=!1);s.disabled=a;delete s[i]}}}}}};Control.prototype.initialize=function(e){copy(this,e)};Control.prototype.addEventListener=function(e,t,r,n,i){if(e){null==n&&(n=!1);isBoolean(n)&&null==i&&(t.indexOf("touch")>-1||t.indexOf("wheel")>-1)&&(i=!1);var o=isBoolean(n)&&isBoolean(i)?getEventOptions(n,i):n;e.addEventListener(t,r,o);this._listeners.push({target:e,type:t,fn:r,capture:n})}};Control.prototype.removeEventListener=function(e,t,r,n){for(var i=0,o=0;o<this._listeners.length;o++){var s=this._listeners[o];if(!(null!=e&&e!=s.target||null!=t&&t!=s.type||null!=r&&r!=s.fn||null!=n&&n!=s.capture)){s.target.removeEventListener(s.type,s.fn,s.capture);this._listeners.splice(o,1);o--;i++}}return i};Control.prototype.onGotFocus=function(e){this.gotFocus.raise(this,e)};Control.prototype.onLostFocus=function(e){this.lostFocus.raise(this,e)};Control.prototype.onInvalidInput=function(e){this.invalidInput.raise(this,e);var t=this;if(e.cancel){var r=Control._FOCUS_INTERVAL+50;if(null==Control._ctlInvalidInput||Control._ctlInvalidInput===this){Control._ctlInvalidInput=this;Control._toInvalidInput&&clearTimeout(Control._toInvalidInput);Control._toClearCtlInvalid&&clearTimeout(Control._toClearCtlInvalid);Control._toInvalidInput=setTimeout((function(){Control._toInvalidInput=null;t.containsFocus()||"isDroppedDown"in t&&"_isDropdownOpened"in t&&t._isDropdownOpened&&(t.isDroppedDown=t._isDropdownOpened);t.focus();Control._toClearCtlInvalid=setTimeout((function(){Control._ctlInvalidInput=null;Control._toClearCtlInvalid=null}),r)}),r)}}else Control._ctlInvalidInput=null;this._updateState();return!e.cancel};Control.prototype.onRefreshing=function(e){this.refreshing.raise(this,e)};Control.prototype.onRefreshed=function(e){this.refreshed.raise(this,e)};Control.prototype._getProductInfo=function(){return"B0C3,Control"};Control.prototype._getFocusedElements=function(e){for(var t=e;t;){if(!t.parentNode)return t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&void 0!==t.host?t.querySelectorAll("."+exports.ControlStateClsNames.focused):document.body.querySelectorAll("."+exports.ControlStateClsNames.focused);t=t.parentNode}return[]};Control.prototype._updateWme=function(){var e=this._getProductInfo(),t=Control._toWme,r=_updateWme;if(isFunction(r)&&!t[e]){t[e]=!0;r(this,Control._licKey)}};Control.prototype._hasPendingUpdates=function(){return null!=this._toInv};Control.prototype._handleResize=function(){if(this._e.parentElement||this._e.parentNode){var e=new Size(this._e.offsetWidth,this._e.offsetHeight);if(!e.equals(this._szCtl)){this._szCtl=e;this._listenResizeEvents&&(e.width||e.height)&&this.invalidate()}}};Control.prototype._resizeObserverCallback=function(e){e.forEach((function(e){var t=Control.getControl(e.target);t&&t._handleResize()}))};Control.prototype._handleFocusBlur=function(){var e=this;this._toFocus||(this._toFocus=setTimeout((function(){e._toFocus=null;e._updateFocusState()}),Control._FOCUS_INTERVAL))};Control.prototype._updateFocusState=function(){var e=this;this._updateFocusStateTimer=setTimeout((function(){for(var t=EventArgs.empty,r=e._getFocusedElements(e.hostElement),n=0;n<r.length;n++){if((a=Control.getControl(r[n]))&&a._focus&&!a.containsFocus()){removeClass(a._e,exports.ControlStateClsNames.focus);a._focus=!1;a._updateState();a.onLostFocus(t)}}var i=getActiveElement();if(i)for(var o=!0,s=i;s;){var a;if((a=Control.getControl(s))&&!a._focus&&a.containsFocus()){if(o){addClass(s,exports.ControlStateClsNames.focus);o=!1}a._focus=!0;a._updateState();a.onGotFocus(t)}s=s[Control._OWNR_KEY]||s.parentNode}}))};Control.prototype._updateState=function(){var e=this.hostElement;if(e){toggleClass(e,exports.ControlStateClsNames.focused,this._focus);this._rtlDir=this._getRtlStates();toggleClass(e,exports.UtilitesClsNames.rtl,this._rtlDir);var t=e.querySelector("input");if(t instanceof HTMLInputElement){toggleClass(e,exports.ControlStateClsNames.empty,0==t.value.length);toggleClass(e,exports.ControlStateClsNames.readOnly,t.readOnly);var r=t.validationMessage;toggleClass(e,exports.ControlStateClsNames.invalid,!this._pristine&&null!=r&&r.length>0);var n=closest(this.hostElement,exports.ControlStateClsNames.labeledInput),i=n&&n.querySelector(exports.ControlStateClsNames.wjError);if(i){var o=this.hostElement.classList.contains(exports.ControlStateClsNames.invalid);toggleClass(i,exports.ControlStateClsNames.errorVisible,o)}}}};Control.prototype._getRtlStates=function(){var e=this.hostElement;return"rtl"===getComputedStyle(e).direction};Control.prototype._handleDisabled=function(e){if(this.isDisabled||closest(e.target,"."+exports.ControlStateClsNames.disabled)){e.preventDefault();e.stopPropagation();e.stopImmediatePropagation()}};Control.prototype._replaceWithDiv=function(e){var t=document.createElement("div");e.parentElement.replaceChild(t,e);t.innerHTML=e.innerHTML;this._copyAttributes(t,e.attributes,/id|style|class/i);return t};Control.prototype._copyAttributes=function(e,t,r){if(e)for(var n=0;n<t.length;n++){var i=t[n].name;i.match(r)&&e.setAttribute(i,t[n].value)}};Control.prototype._getKeyCode=function(e){var t=e.keyCode;if(this.rightToLeft)switch(t){case Key.Right:t=Key.Left;break;case Key.Left:t=Key.Right}return t};Control.prototype._getCodeAsPerRTL=function(e){var t=e.code;if(this.rightToLeft)switch(t){case"ArrowRight":return"ArrowLeft";case"ArrowLeft":return"ArrowRight"}return t};Control.sharedState={};Control._toWme={};Control._ctlCnt=0;Control._touching=!1;Control._REFRESH_INTERVAL=10;Control._FOCUS_INTERVAL=5;Control._ANIM_DEF_DURATION=400;Control._ANIM_DEF_STEP=35;Control._CLICK_DELAY=800;Control._CLICK_REPEAT=75;Control._CLIPBOARD_DELAY=100;Control._POPUP_ZINDEX=1500;Control._SEARCH_DELAY=500;Control._HOVER_DELAY=400;Control._LEAVE_DELAY=600;Control._DRAG_SCROLL_EDGE=15;Control._DRAG_SCROLL_STEP=20;Control._CTRL_KEY="$WJ-CTRL";Control._OWNR_KEY="$WJ-OWNR";Control._SCRL_KEY="$WJ-SCRL";Control._TTIP_KEY="$WJ-TTIP";Control._DSBL_KEY="$WJ-DSBL";Control._rxInputAtts=/name|tabindex|placeholder|autofocus|autocomplete|autocorrect|autocapitalize|spellcheck|readonly|minlength|maxlength|pattern|type|aria-.+/i;return Control}(ControlBase);exports.Control=Control;function _detectTouch(e){if("ontouchstart"in window||"onpointerdown"in window){var t=document,r=getEventOptions(!0,!0),n=_handleTouchStart,i=_handleTouchEnd,o=e?t.addEventListener.bind(t):t.removeEventListener.bind(t);if("ontouchstart"in window){o("touchstart",n,r);o("touchend",i,r);o("touchcancel",i,r)}else if("onpointerdown"in window){o("pointerdown",n,r);o("pointerup",i,r);o("pointercancel",i,r)}}}function _handleTouchStart(e){if(null==e.pointerType||"touch"==e.pointerType){if(Control._toTouch){clearTimeout(Control._toTouch);Control._toTouch=null}Control._touching=!0}}function _handleTouchEnd(e){if(null==e.pointerType||"touch"==e.pointerType){Control._toTouch=setTimeout((function(){Control._toTouch=null;Control._touching=!1}),900);if(document.querySelector("ion-app")){var t=e.target;if(closest(t,".wj-dropdown-panel,.wj-dropdown")){t.focus();e.stopPropagation();e.stopImmediatePropagation()}}}}var PrintDocument=function(){function PrintDocument(e){this._title=null;this._copyCss=!0;null!=e&&copy(this,e)}Object.defineProperty(PrintDocument.prototype,"title",{get:function(){return this._title},set:function(e){this._title=asString(e)},enumerable:!0,configurable:!0});Object.defineProperty(PrintDocument.prototype,"copyCss",{get:function(){return this._copyCss},set:function(e){this._copyCss=asBoolean(e)},enumerable:!0,configurable:!0});PrintDocument.prototype.addCSS=function(e){this._css||(this._css=[]);this._css.push(e)};PrintDocument.prototype.append=function(e){var t=this._getDocument();if(isString(e))t.write(e);else if(e instanceof Element){e instanceof HTMLElement&&Control.refreshAll(e);for(var r=e.cloneNode(!0),n=r.querySelectorAll("input"),i=0;i<n.length;i++){var o=n[i];switch(o.type){case"checkbox":setAttribute(o,"checked",!!o.checked||null);setAttribute(o,"indeterminate",!!o.indeterminate||null);break;case"radio":setAttribute(o,"checked",!!o.checked||null);break;default:setAttribute(o,"value",o.value||null)}}t.write(r.outerHTML)}else assert(!1,"content should be an HTML string or an Element.")};PrintDocument.prototype.print=function(e){var t=this;if(this._iframe){this._close();setTimeout((function(){var r=t._iframe.contentWindow,n="onafterprint"in r&&!isFirefox();n&&(r.onafterprint=function(){t._afterPrint(e)});if(!(isIE()&&null==r.document.body)&&document.queryCommandSupported("print"))r.document.execCommand("print",!0,null);else{r.focus();r.print()}n||t._afterPrint(e)}),100)}};PrintDocument.prototype._afterPrint=function(e){document.body.removeChild(this._iframe);this._iframe=null;isFunction(e)&&e()};PrintDocument.prototype._getDocument=function(){if(!this._iframe){var e=this._iframe=document.createElement("iframe");addClass(e,exports.PrintDocumentClsNames.printDocument);setCss(e,{position:"fixed",left:32e3,top:32e3});document.body.appendChild(e)}return this._iframe.contentDocument};PrintDocument.prototype._close=function(){var e=this,t=this._getDocument();t.close();t.title=null!=this.title?this.title:document.title;t.title&&t.title.trim()||(t.title=" ");this._copyCss&&[document.head,document.body].forEach((function(t){for(var r=t.querySelectorAll("LINK"),n=0;n<r.length;n++){var i=r[n];if(i.rel.match(/stylesheet/i)&&(!i.type||i.type.match(/text\/css/i))){var o=httpRequest(i.href,{async:!1});e._addStyle(o.responseText)}}var s=t.querySelectorAll("STYLE");for(n=0;n<s.length;n++)e._addStyle(s[n].textContent)}));if(this._css)for(var r=0;r<this._css.length;r++){var n=t.createElement("style"),i=httpRequest(this._css[r],{async:!1});n.textContent=i.responseText;t.head.appendChild(n)}};PrintDocument.prototype._addStyle=function(e){var t=this._getDocument(),r=t.createElement("style");r.textContent=e;t.head.appendChild(r)};return PrintDocument}();exports.PrintDocument=PrintDocument;var Clipboard=function(){function Clipboard(){}Clipboard.copy=function(e){Clipboard._copyPaste(asString(e),null)};Clipboard.paste=function(e){e=asFunction(e);Clipboard._copyPaste(null,e)};Clipboard._copyPaste=function(e,t){for(var r=getActiveElement(),n=closest(r,"."+exports.ControlClsNames.hostElement);n&&Control.getControl(n);)n=n.parentElement;if(n=n||document.body){var i=!1,o=createElement('<textarea class="'+exports.ClipboardClsNames.clipboard+'">',n,{position:"fixed",opacity:"0"});o.onkeydown=function(e){return e.preventDefault()};o.onchange=function(e){return e.stopImmediatePropagation()};if(isString(e)){o.value=e;o.select();document.execCommand("copy")&&(i=!0)}else{o.select();if(isFunction(t)&&document.execCommand("paste")){t(o.value);i=!0}}setTimeout((function(){r.focus({preventScroll:!0});(isIE()?setTimeout:function(e,t){return e()})((function(){return removeChild(o)}),500);!i&&isFunction(t)&&t(o.value)}),Control._CLIPBOARD_DELAY)}};return Clipboard}();exports.Clipboard=Clipboard;var PopupPosition,TooltipTrigger,_ClickRepeater=function(){function _ClickRepeater(e){this._isDown=!1;this._mousedownBnd=this._mousedown.bind(this);this._mouseupBnd=this._mouseup.bind(this);this._clickBnd=this._click.bind(this);this.element=e;this._connect(!0)}Object.defineProperty(_ClickRepeater.prototype,"element",{get:function(){return this._e},set:function(e){this._connect(!1);this._e=asType(e,HTMLElement,!0);this._connect(!0)},enumerable:!0,configurable:!0});Object.defineProperty(_ClickRepeater.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=asBoolean(e)},enumerable:!0,configurable:!0});_ClickRepeater.prototype._connect=function(e){var t=this;this._e&&_ClickRepeater._startEvents.forEach((function(r){e?t._e.addEventListener(r,t._mousedownBnd,{passive:!0}):t._e.removeEventListener(r,t._mousedownBnd)}))};_ClickRepeater.prototype._clearTimeouts=function(){if(this._toRepeat){clearTimeout(this._toRepeat);this._toRepeat=null}if(this._toDelay){clearTimeout(this._toDelay);this._toDelay=null}};_ClickRepeater.prototype._mousedown=function(e){var t=this;this._isDown&&this._mouseup(null);if(!this._disabled){this._isDown=!0;_ClickRepeater._stopEvents.forEach((function(e){document.addEventListener(e,t._mouseupBnd)}));this._clearTimeouts();this._toDelay=setTimeout((function(){if(t._isDown){t._click();t._toRepeat=setTimeout(t._clickBnd,Control._CLICK_REPEAT)}}),Control._CLICK_DELAY)}};_ClickRepeater.prototype._mouseup=function(e){var t=this;if(!e||"mouseout"!==e.type||this._e&&this._e.contains(e.target)){this._isDown&&e&&"keydown"!=e.type&&this._clicked&&e.preventDefault();_ClickRepeater._stopEvents.forEach((function(e){document.removeEventListener(e,t._mouseupBnd)}));this._clearTimeouts();this._isDown=!1;this._clicked=!1}};_ClickRepeater.prototype._click=function(){this._clicked=!0;this._clearTimeouts();if(this._e){this._e.click();this._isDown&&(this._toRepeat=setTimeout(this._clickBnd,Control._CLICK_REPEAT))}};_ClickRepeater._startEvents=["mousedown","touchstart"];_ClickRepeater._stopEvents=["mouseup","mouseout","keydown","touchend","touchcancel"];return _ClickRepeater}();exports._ClickRepeater=_ClickRepeater;!function(e){e[e.Above=0]="Above";e[e.AboveRight=1]="AboveRight";e[e.RightTop=2]="RightTop";e[e.Right=3]="Right";e[e.RightBottom=4]="RightBottom";e[e.BelowRight=5]="BelowRight";e[e.Below=6]="Below";e[e.BelowLeft=7]="BelowLeft";e[e.LeftBottom=8]="LeftBottom";e[e.Left=9]="Left";e[e.LeftTop=10]="LeftTop";e[e.AboveLeft=11]="AboveLeft"}(PopupPosition=exports.PopupPosition||(exports.PopupPosition={}));function showPopup(e,t,r,n,i,o){void 0===i&&(i=!0);var s=e.offsetHeight||e.offsetWidth,a=r;(isBoolean(r)||null==r)&&(a=r?PopupPosition.AboveLeft:PopupPosition.BelowLeft);var l=_getPopupParent(t);_addPopupToDOM(e,l);_copyPopupStyles(e,t,i);Control.refreshAll(e);_updatePopupPosition(e,t,a);isFirefox()&&requestAnimationFrame((function(){_updatePopupPosition(e,t,a)}));t instanceof HTMLElement&&(e[Control._OWNR_KEY]=t);if(!s){_hidePopupOnscroll(e,t,o);if(n)return animate((function(t){return e.style.opacity=t<1?t.toString():""}));e.style.opacity=""}return null}exports.showPopup=showPopup;function hidePopup(e,t,r){void 0===t&&(t=!0);void 0===r&&(r=!1);var n=null;r?n=animate((function(r){e.style.opacity=(1-r).toString();if(1==r){_hidePopup(e,t);e.style.opacity=""}})):_hidePopup(e,t);return n}exports.hidePopup=hidePopup;function _updatePopupPosition(e,t,r){var n=_getReferenceRect(e,t),i=_getPopupOffset(e),o=_getPopupPosition(e,n,r,i),s={position:"absolute",zIndex:Control._POPUP_ZINDEX},a=0==i.x;if(a){s.left=o.x;s.top=o.y}else s.transform="translate("+o.x+"px, "+o.y+"px)";var l=e.getBoundingClientRect().width;setCss(e,s);if(a){var u=l-e.getBoundingClientRect().width;u>0&&(e.style.left=o.x-Math.ceil(u)+"px")}}exports._updatePopupPosition=_updatePopupPosition;function _hidePopup(e,t){e.style.display="none";t&&e.parentElement&&setTimeout((function(){if("none"==e.style.display){removeChild(e);isFunction(t)&&t()}}),Control._FOCUS_INTERVAL+50);var r=e[Control._SCRL_KEY];r instanceof Control&&r.dispose();delete e[Control._SCRL_KEY];delete e[Control._OWNR_KEY]}function _isjQueryDialog(e){var t=window.jQuery,r=isFunction(t)?t(e):null;return r&&isFunction(r.dialog)&&hasClass(e,"ui-dialog")}function _getPopupParent(e){var t=document.body;if(e instanceof HTMLElement){if(!contains(document.body,e))return t;for(var r=e;r;r=r.parentElement){if("DIALOG"==r.tagName||"ION-CONTENT"==r.tagName||"fixed"==getComputedStyle(r).position){t=r;break}if(_isjQueryDialog(r)){t=r.querySelector(".ui-dialog-content")||r;break}}}return t}function _addPopupToDOM(e,t){if(!e.offsetHeight||!e.offsetWidth||e.parentElement!=t){setCss(e,{opacity:"0",position:"fixed",left:0,top:0,transform:"",display:""});t.appendChild(e)}}function _getPopupOffset(e){var t=document.body,r=document.documentElement,n=e.parentElement,i=new Point(t.scrollLeft||pageXOffset,t.scrollTop||pageYOffset);if(n!=t){var o=n==t?r:e.offsetParent||n;o==t&&(o=n);if(o){var s=o.getBoundingClientRect();i=new Point(o.scrollLeft-s.left,o.scrollTop-s.top)}}if(n instanceof HTMLElement){var a=getComputedStyle(n);i.x-=parseFloat(a.borderLeftWidth);i.y-=parseFloat(a.borderTopWidth)}return i}function _copyPopupStyles(e,t,r){if(t instanceof HTMLElement&&r){var n=r instanceof HTMLElement?r:t,i=getComputedStyle(n);1==new Color(i.backgroundColor).a&&setCss(e,{color:i.color,backgroundColor:i.backgroundColor,fontFamily:i.fontFamily,fontSize:i.fontSize,fontWeight:i.fontWeight,fontStyle:i.fontStyle})}}function _hidePopupOnscroll(e,t,r){var n=t instanceof MouseEvent?t.target:t;if(n instanceof HTMLElement&&n.parentElement!=document.body){var i=Date.now(),o=n.getBoundingClientRect(),s=new Control(document.createElement("div"));e[Control._SCRL_KEY]=s;s.addEventListener(document,"scroll",(function(a){if(a.target!=e.parentElement&&Date.now()-i>100&&contains(document,n)&&!contains(e,a.target)&&(a.target!=document||null!=t&&"fixed"==e.style.position)){var l=n.getBoundingClientRect(),u=Math.abs(l.left-o.left),c=Math.abs(l.top-o.top);if(u>1||c>1){isFunction(r)&&r();_hidePopup(e,!0);s.dispose()}}}),!0)}}function _getPopupPosition(e,t,r,n){var i=document.documentElement,o=i.clientWidth,s=i.clientHeight,a=PopupPosition;switch(r){case a.AboveLeft:case a.AboveRight:case a.BelowLeft:case a.BelowRight:if(t){var l=t.width;if(l){isIE()&&(l-=e.offsetWidth-e.clientWidth);e.style.minWidth=l+"px"}}}var u=getComputedStyle(e),c=parseFloat(u.marginTop)+parseFloat(u.marginBottom),p=parseFloat(u.marginLeft)+parseFloat(u.marginRight),h=new Size(e.offsetWidth+p,e.offsetHeight+c),d=new Point((o-h.width)/2,Math.round((s-h.height)/2*.7));if(t){"rtl"==u.direction&&(r=_getRtlPosition(r));var g=t.left,_=o-t.right;d.x=t.left;switch(r){case a.Above:case a.Below:d.x=t.left+(t.width-h.width)/2;break;case a.AboveLeft:case a.BelowLeft:d.x=t.left;break;case a.AboveRight:case a.BelowRight:d.x=t.right-h.width;break;case a.Left:case a.LeftTop:case a.LeftBottom:d.x=g>=h.width||g>=_?t.left-h.width:t.right;break;case a.RightTop:case a.RightBottom:case a.Right:d.x=_>=h.width||_>=g?t.right:t.left-h.width}var m=t.top,v=s-t.bottom;switch(r){case a.Above:case a.AboveLeft:case a.AboveRight:d.y=m>h.height||m>v?t.top-h.height:t.bottom;break;case a.Below:case a.BelowLeft:case a.BelowRight:d.y=v>h.height||v>m?t.bottom:t.top-h.height;break;case a.LeftTop:case a.RightTop:d.y=t.top;break;case a.LeftBottom:case a.RightBottom:d.y=t.bottom-h.height;break;case a.Left:case a.Right:d.y=t.bottom-h.height+(h.height-t.height)/2}}d.x=Math.min(d.x,o-h.width);d.y=Math.min(d.y,s-h.height);d.x=Math.max(0,d.x)+n.x;d.y=Math.max(0,d.y)+n.y;return d}function _getRtlPosition(e){var t=PopupPosition;switch(e){case t.AboveLeft:return t.AboveRight;case t.AboveRight:return t.AboveLeft;case t.BelowLeft:return t.BelowRight;case t.BelowRight:return t.BelowLeft;case t.Left:return t.Right;case t.LeftTop:return t.RightTop;case t.LeftBottom:return t.RightBottom;case t.Right:return t.Left;case t.RightTop:return t.LeftTop;case t.RightBottom:return t.LeftBottom}return e}function _getReferenceRect(e,t){return t instanceof MouseEvent?t.clientX<=0&&t.clientY<=0&&t.target instanceof HTMLElement?Rect.fromBoundingRect(t.target.getBoundingClientRect()):new Rect(t.pageX-pageXOffset,t.pageY-pageYOffset,0,0):t instanceof Point?new Rect(t.x,t.y,0,0):t instanceof HTMLElement?Rect.fromBoundingRect(t.getBoundingClientRect()):t&&null!=t.top&&null!=t.left?t:null}!function(e){e[e.Focus=0]="Focus";e[e.Hover=1]="Hover";e[e.Both=2]="Both"}(TooltipTrigger=exports.TooltipTrigger||(exports.TooltipTrigger={}));var Tooltip=function(){function Tooltip(e){this._showAutoTipBnd=this._showAutoTip.bind(this);this._hideAutoTipBnd=this._hideAutoTip.bind(this);this._mousemoveBnd=this._mousemove.bind(this);this._focusBnd=this._focus.bind(this);this._mousemovedocBnd=this._mousemovedoc.bind(this);this._keydownBnd=this._keydown.bind(this);this._keydownHandleBnd=this.keydownHandle.bind(this);this._html=!0;this._cssClass="";this._gap=6;this._isAnimated=!1;this._position=PopupPosition.Above;this._trigger=TooltipTrigger.Hover;this._showAtMouse=!1;this._showDelay=500;this._hideDelay=0;this._tooltipVisibleOnHover=!0;this._tips=[];this._forceRecreate=!1;this.popup=new Event;copy(this,e)}Object.defineProperty(Tooltip.prototype,"position",{get:function(){return this._position},set:function(e){this._position=asEnum(e,PopupPosition)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"trigger",{get:function(){return this._trigger},set:function(e){var t=this;this._trigger=asEnum(e,TooltipTrigger);this._tips.forEach((function(e){t._detach(e.element);t._attach(e.element)}))},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"isAnimated",{get:function(){return this._isAnimated},set:function(e){this._isAnimated=asBoolean(e)},enumerable:!0,configurable:!0});Tooltip.prototype.setTooltip=function(e,t,r){e=getElement(e);t=this._getContent(t);var n=this._indexOf(e);if(n>-1){this._detach(e);this._tips.splice(n,1)}if(t){this._attach(e);this._tips.push({element:e,content:t,position:r})}var i=Tooltip._eTip;if(i&&i[Control._TTIP_KEY]==e)if(t){this._setContent(t);i.isConnected&&!this._showAtMouse&&this.show(e,t,null,r)}else this._hideAutoTip()};Tooltip.prototype.getTooltip=function(e){e=getElement(e);for(var t=this._tips,r=0;r<t.length;r++)if(t[r].element==e)return t[r].content;return null};Tooltip.prototype.show=function(e,t,r,n){e=getElement(e);t=this._getContent(t);if(e){null==n&&(n=this.position);document.addEventListener("keydown",this._keydownHandleBnd);var i=Tooltip._eTip;this.forceRecreate&&i&&i.remove();if(!i||this.forceRecreate){addClass(i=Tooltip._eTip=document.createElement("div"),exports.TooltipClsNames.hostElement);setAttribute(i,"aria-live","polite");i.style.visibility="none"}if(!i.isConnected){i.id=getUniqueId(e.id+"_toolTip");addAttributeValueToElement(e,"aria-describedby",i.id)}i.setAttribute("class",exports.TooltipClsNames.hostElement);this._tooltipVisibleOnHover&&[TooltipTrigger.Hover,TooltipTrigger.Both].includes(this.trigger)&&i.addEventListener("mouseleave",this._hideAutoTipBnd);addClass(i,this.cssClass);hasClass(e,exports.ControlStateClsNames.invalid)?i.setAttribute("role","alert"):i.setAttribute("role","tooltip");this._setContent(t);i[Control._TTIP_KEY]=e;var o=new TooltipEventArgs(t,e);this.onPopup(o);if(o.content&&!o.cancel){this._setContent(o.content);r||(r=Rect.fromBoundingRect(e.getBoundingClientRect()));var s=this.gap,a=PopupPosition;if(s)switch(n){case a.Above:case a.AboveLeft:case a.AboveRight:case a.Below:case a.BelowLeft:case a.BelowRight:r=r.inflate(0,s);break;default:r=r.inflate(s,0)}showPopup(i,r,n,this.isAnimated);document.addEventListener("mousedown",this._hideAutoTipBnd)}}};Tooltip.prototype.hide=function(){var e=Tooltip._eTip;if(e){removeChild(e);removeClass(e,this.cssClass);e.innerHTML="";this._tooltipVisibleOnHover&&e.removeEventListener("mouseleave",this._hideAutoTipBnd);removeAttributeValueFromElement(e[Control._TTIP_KEY],"aria-describedby",e.id)}document.removeEventListener("mousedown",this._hideAutoTipBnd);document.removeEventListener("keydown",this._keydownHandleBnd);this._tooltipVisibleOnHover&&document.removeEventListener("mousemove",this._mousemovedocBnd)};Tooltip.prototype.dispose=function(){var e=this;this.hide();var t=this._tips;if(t.length){t.forEach((function(t){e._detach(t.element)}));t.splice(0,t.length)}if(Tooltip._eTip){Tooltip._eTip[Control._TTIP_KEY]=null;Tooltip._eTip=null}this._clearTimeouts()};Object.defineProperty(Tooltip.prototype,"isVisible",{get:function(){var e=Tooltip._eTip;return null!=e&&null!=e.parentElement&&e.offsetWidth>0},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"isContentHtml",{get:function(){return this._html},set:function(e){this._html=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"cssClass",{get:function(){return this._cssClass},set:function(e){this._cssClass=asString(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"gap",{get:function(){return this._gap},set:function(e){this._gap=asNumber(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"showAtMouse",{get:function(){return this._showAtMouse},set:function(e){this._showAtMouse=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"showDelay",{get:function(){return this._showDelay},set:function(e){this._showDelay=asInt(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"hideDelay",{get:function(){return this._hideDelay},set:function(e){this._hideDelay=asInt(e)},enumerable:!0,configurable:!0});Tooltip.prototype.onPopup=function(e){this.popup&&this.popup.raise(this,e);return!e.cancel};Tooltip.prototype.keydownHandle=function(e){"Escape"===e.key&&this.hide()};Tooltip.prototype._indexOf=function(e){for(var t=0;t<this._tips.length;t++)if(this._tips[t].element==e)return t;return-1};Tooltip.prototype._attach=function(e){if(this._tooltipVisibleOnHover)switch(this._trigger){case TooltipTrigger.Focus:e.addEventListener("focus",this._focusBnd);e.addEventListener("keydown",this._keydownBnd);e.addEventListener("blur",this._hideAutoTipBnd);break;case TooltipTrigger.Both:e.addEventListener("mousemove",this._showAutoTipBnd);e.addEventListener("mouseleave",this._hideAutoTipBnd);e.addEventListener("focus",this._focusBnd);e.addEventListener("keydown",this._keydownBnd);e.addEventListener("blur",this._hideAutoTipBnd);break;default:e.addEventListener("mousemove",this._showAutoTipBnd);e.addEventListener("mouseleave",this._hideAutoTipBnd)}else{e.addEventListener("mousemove",this._showAutoTipBnd);e.addEventListener("mouseleave",this._hideAutoTipBnd)}e.addEventListener("click",this._showAutoTipBnd);this.showAtMouse&&e.addEventListener("mousemove",this._mousemoveBnd)};Tooltip.prototype._detach=function(e){e.removeEventListener("focus",this._focusBnd);e.removeEventListener("mousemove",this._showAutoTipBnd);e.removeEventListener("mouseleave",this._hideAutoTipBnd);e.removeEventListener("click",this._showAutoTipBnd);e.removeEventListener("mousemove",this._mousemoveBnd);e.removeEventListener("keydown",this._keydownBnd);e.removeEventListener("blur",this._hideAutoTipBnd);e.removeEventListener("mousedown",this._hideAutoTipBnd)};Tooltip.prototype._keydown=function(e,t){if("Tab"==e.key){this._clearTimeouts();this.hide()}};Tooltip.prototype._focus=function(e){e&&e.target&&this._showAutoTip(void 0,e.target)};Tooltip.prototype._showAutoTip=function(e,t){var r=this,n=this._hideDelay;if(e&&[TooltipTrigger.Hover,TooltipTrigger.Both].includes(this.trigger)){if(e.defaultPrevented)return;if(this._tooltipVisibleOnHover&&"mousemove"==e.type&&this.isVisible&&!1===this._isMouseOutOfTipAndOwner(e))return;if("click"==e.type&&!Control._touching){this._hideAutoTip(e);return}var i=e&&"mouseenter"==e.type?this._showDelay:0;this._clearTimeouts();this._eMouse=e;var o=e.currentTarget;this._toShow=setTimeout((function(){var e=r._indexOf(o);if(e>-1){var t=r._tips[e],i=r._eMouse,s=r._showAtMouse?new Rect(i.clientX,i.clientY,0,0):null,a=t&&t.element;if(a&&r._hasOffset(a)){var l=Control.getControl(t.element);if(null==l||0!=l.isVisible){r.show(t.element,t.content,s,t.position);n>0&&(r._toHide=setTimeout((function(){r.hide()}),n))}}}}),i)}if(t&&[TooltipTrigger.Focus,TooltipTrigger.Both].includes(this.trigger)){i=this._showDelay;this._toShow=setTimeout((function(){var e=r._indexOf(t);if(e>-1){var i=r._tips[e],o=i&&i.element;if(o&&r._hasOffset(o)){var s=Control.getControl(i.element);if(null==s||0!=s.isVisible){r.show(i.element,i.content,null,i.position);n>0&&(r._toHide=setTimeout((function(){r.hide()}),n))}}}}),i)}};Tooltip.prototype._mousemove=function(e){var t=Tooltip._eTip;t&&!t.isConnected&&(this._eMouse=e)};Tooltip.prototype._mousemovedoc=function(e){[TooltipTrigger.Hover,TooltipTrigger.Both].includes(this.trigger)&&this._checkBoundsAndHide(e,!1)};Tooltip.prototype._hideAutoTip=function(e){if(e){if(Tooltip._eTip)if(this._tooltipVisibleOnHover){"mouseleave"==e.type&&document.addEventListener("mousemove",this._mousemovedocBnd);this._checkBoundsAndHide(e,!0)}else if((this.trigger==TooltipTrigger.Hover||this.trigger==TooltipTrigger.Both)&&e&&"click"!=e.type&&"mousedown"!=e.type){this._clearTimeouts();this.hide()}}};Tooltip.prototype._checkBoundsAndHide=function(e,t){if(Tooltip._eTip&&e){if(!0===this._isMouseOutOfTipAndOwner(e)||"blur"==e.type){t&&this._clearTimeouts();this.hide()}}};Tooltip.prototype._clearTimeouts=function(){if(this._toShow){clearTimeout(this._toShow);this._toShow=null}if(this._toHide){clearTimeout(this._toHide);this._toHide=null}if(this._forScreenReader){clearTimeout(this._forScreenReader);this._forScreenReader=null}};Tooltip.prototype._getContent=function(e){if((e=asString(e))&&"#"==e[0]){var t=getElement(e);t&&(e=t.innerHTML)}return e};Tooltip.prototype._setContent=function(e){var t=Tooltip._eTip;t&&(this._html?t.innerHTML=e:t.textContent=e)};Tooltip.prototype._hasOffset=function(e){var t=new Size(e.offsetWidth,e.offsetHeight);if(e instanceof SVGGraphicsElement){var r=e.getBBox();t.width=r.width;t.height=r.height}return t.width>0||t.height>0};Object.defineProperty(Tooltip.prototype,"forceRecreate",{get:function(){return this._forceRecreate},set:function(e){this._forceRecreate=e},enumerable:!0,configurable:!0});Tooltip.prototype._isMouseOutOfTipAndOwner=function(e){var t=Tooltip._eTip;if(t&&e){var r=t[Control._TTIP_KEY],n=Rect.fromBoundingRect(t.getBoundingClientRect()),i=Rect.fromBoundingRect(r.getBoundingClientRect()),o=this.gap+2,s=PopupPosition,a=0,l=this._indexOf(r);l>-1&&(a=this._tips[l]&&this._tips[l].position?this._tips[l].position:this.position);switch(a){case s.Above:case s.AboveLeft:case s.AboveRight:i=i.inflate(0,o,0,0);break;case s.Below:case s.BelowLeft:case s.BelowRight:i=i.inflate(0,0,0,o);break;case s.Left:case s.LeftTop:case s.LeftBottom:i=i.inflate(o,0,0,0);break;case s.Right:case s.RightTop:case s.RightBottom:i=i.inflate(0,0,o,0)}var u=e,c=!0;t.getClientRects().length>0&&null!=u&&(c=!(u.clientX>n.left&&u.clientX<n.right&&u.clientY>n.top&&u.clientY<n.bottom));var p=!0;null!=u&&(p=!(u.clientX>i.left&&u.clientX<i.right&&u.clientY>i.top&&u.clientY<i.bottom));return c&&p}};return Tooltip}();exports.Tooltip=Tooltip;var TooltipEventArgs=function(e){__extends(TooltipEventArgs,e);function TooltipEventArgs(t,r){var n=e.call(this)||this;n._content=asString(t);n._e=r;return n}Object.defineProperty(TooltipEventArgs.prototype,"tip",{get:function(){return Tooltip._eTip},enumerable:!0,configurable:!0});Object.defineProperty(TooltipEventArgs.prototype,"element",{get:function(){return this._e},enumerable:!0,configurable:!0});Object.defineProperty(TooltipEventArgs.prototype,"content",{get:function(){return this._content},set:function(e){this._content=asString(e)},enumerable:!0,configurable:!0});return TooltipEventArgs}(CancelEventArgs);exports.TooltipEventArgs=TooltipEventArgs;var theLic="The Wijmo license in this application ",_licStr={evl:"Wijmo Evaluation Version ({version})",prd:theLic+"is not valid for the <b>{control}</b> control.",ver:theLic+"is not valid for the version in use. The license version is <b>{licVer}</b>; the product version is <b>{version}</b>.",dmn:theLic+"is not valid for the current domain. The license domain is <b>{licDomain}</b>; the current domain is <b>{domain}</b>.",exp:theLic+"has expired. The license expiration date is <b>{expDate:d}</b>.",lic:theLic+"is invalid.",mss:theLic+"is not set.",ctc:'If you are a customer, you can <a target="_blank" rel="noopener" href="https://developer.mescius.com/licensing/wijmo?utm_source=Wijmo-In-App&utm_medium=Click-to-Site&utm_campaign=Wijmo-User-Analysis">create a license</a> online. Otherwise, you can <a target="_blank" rel="noopener" href="https://developer.mescius.com/wijmo/request-trial-key?utm_source=Wijmo-In-App&utm_medium=Click-to-Site&utm_campaign=Wijmo-User-Analysis">generate a 30-day license</a> for free. For further assistance, contact MESCIUS: <a href="mailto:us.sales@mescius.com">us.sales@mescius.com</a>.',hdr:"Wijmo License",cls:"CLOSE"},_codes={};function _updateWme(e,t){var r=Control._wme;if(!(r&&contains(document.body,r)&&r.offsetWidth&&r.offsetHeight))if(t){var n=_getControlCode(e);if(!_codes[n]){_codes[n]=!0;_attorn(t,{algorithmCode:"B0",publicKey:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w=="},(function(r){_checkLicense(e,t,r);delete _codes[n]}),(function(){_checkLicense(e,t,null);delete _codes[n]}))}}else _checkLicense(e,null,null)}exports._updateWme=_updateWme;function _getControlCode(e){return e._getProductInfo().split(",")[0]}function _getControlName(e){return e._getProductInfo().split(",")[1]}function _checkLicense(e,t,r){var n=exports.culture.Licensing||_licStr,i=null;r?_checkExpiration(e,r)?_checkVersion(e,r)?_checkDomain(e,r)?_checkProductCode(e,r)?_checkEval(e,r)&&(i=n.evl):i=n.prd:i=n.dmn:i=n.ver:i=n.exp:i=t?n.lic:n.mss;i&&_addWme(e,i+="<br/><br/>"+n.ctc,r)}function _checkProductCode(e,t){var r=_getControlCode(e);if(r&&r.length>=4)for(var n=0;n<t.Prd.length;n++)if(t.Prd[n].C.indexOf(r)>-1)return!0;return!1}function _checkExpiration(e,t){if(t.Exp){var r=t.Exp,n=new Date(parseInt(r.substr(0,4))||0,parseInt(r.substr(4,2))-1||0,parseInt(r.substr(6,2))||0);if(Math.ceil((n.valueOf()-Date.now())/864e5)<=0)return!1}return!0}function _checkVersion(e,t){var r=t.Anl?t.Anl.ver:null,n=getVersion();if(r&&n){return parseInt(r.replace("v",""))+10>=parseInt(n.split(".")[1])}return!0}function _checkDomain(e,t){if(_isLocalHost()||!t.Dms)return!0;for(var r=location.hostname,n=t.Dms.split(","),i=0;i<n.length;i++)if(_ckHT(r,n[i]))return!0;return!1}function _ckHT(e,t){var r="^"+t.replace(/\./g,"\\.").replace(/\*/g,"(.*)")+"$";if(new RegExp(r,"i").test(e))return!0;if("*."==t.substr(0,2))return _ckHT(e,t.substr(2));if(isIp(e)&&!isIpv6(e)){var n=exports.ipaddr.parse(e),i=parseCIDR(t);if(i&&matchCIDR(n,i))return!0}return!1}exports._ckHT=_ckHT;function isIp(e){return isIpv4(e)||isIpv6(e)}function isIpv4(e){return exports.ipaddr.IPv4.isValidFourPartDecimal(e)}function isIpv6(e){return exports.ipaddr.IPv6.isValid(e)}function isIPExactMatch(e,t){return exports.ipaddr.parse(e).toString()===exports.ipaddr.parse(t).toString()}function parseCIDR(e){if(-1===e.indexOf("/"))return!1;var t=e.split("/");if(t[1].indexOf(".")>-1){var r=exports.ipaddr.parse(t[1]).prefixLengthFromSubnetMask();e=[t[0],r].join("/")}try{return exports.ipaddr.parseCIDR(e)}catch(e){return!1}}function matchCIDR(e,t){try{return e.match(t)}catch(e){return!1}}function _checkEval(e,t){return!!t&&t.Evl}function _isLocalHost(){var e=location,t=atob("Xih8bG9jYWxob3N0fGZpZGRsZS5qc2hlbGwubmV0fHJ1bi5wbG5rci5jb3xzLmNvZGVwZW4uaW98bnVsbC5qc2Jpbi5jb218Lio/LnN0YWNrYmxpdHouaW98MTI3LjAuMC4xfFt3LV0rLmxvY2FsfFt3LV0rfDo6MSkk");return"file:"==e.protocol||new RegExp(t,"i").test(e.hostname)}function _addWme(e,t,r){t=_getMessage(e,t,r);if(!_codes[" "]&&!_isLocalHost()&&!_checkEval(e,r)){_codes[" "]=!0;var n=exports.culture.Licensing||_licStr,i=createElement('<div style="position:fixed;background:rgba(0,0,0,0.3);left:0;top:0;width:100%;height:100%;font-family: sans-serif;z-index:10000;"><div style="position:relative;overflow:auto;background:white;width:450px;padding:36pt;left:50%;top:50%;transform:translate(-50%,-50%)"><div><p style="font-size:150%;font-weight:bold">'+n.hdr+"</p><p>"+t+'</p></div><div style="text-align:right;margin-top:24pt"><button style="border:none;background:rgba(158,158,158,.2);padding:8px 16px">'+n.cls+"</button></div></div></div>",document.body);i.addEventListener("click",(function(e){e.target instanceof HTMLButtonElement&&removeChild(i)}))}if(!Control._wme){var o=createElement('<div><a href="'+_getWmeHref()+'" target="_blank" rel="noopener">'+_getMessage(e)+"</a></div>"),s={position:"fixed",display:"block",visibility:"visible",background:"rgba(240,240,240,.9)",padding:"8px 12px",margin:"6px",fontFamily:"sans-serif",fontSize:"14pt",fontWeight:"bold",zIndex:1e4,opacity:.8,height:"auto",width:"auto",transform:"none"};switch(Math.round(100*Math.random())%3){case 0:s.right=s.bottom=0;break;case 1:s.left=s.bottom=0;break;case 2:s.right=s.top=0}setCss(o,s);document.body.appendChild(o);Control._wme=o;_addClickableTooltip(o,t)}}function _addClickableTooltip(e,t){var r,n=createElement(t);n.className=exports.TooltipClsNames.hostElement;setCss(n,{pointerEvents:"auto",padding:"10px",margin:"6px"});[e,n].forEach((function(e){e.addEventListener("mouseenter",(function(){return trackMouse(!0)}));e.addEventListener("mouseleave",(function(){return trackMouse(!1)}))}));var i=0;function trackMouse(t){i+=t?1:-1;r&&clearTimeout(r);r=setTimeout((function(){r=null;1==i?showPopup(n,e.getBoundingClientRect()):i<1&&hidePopup(n)}),500)}}function _getWmeHref(){switch(exports.culture.Globalize.name){case"ja":return"https://developer.mescius.jp/wijmo/about-license";case"ko":return"https://www.mescius.co.kr/wijmo#price";default:return"https://developer.mescius.com/licensing/wijmo?utm_source=Wijmo-In-App&utm_medium=Click-to-Site&utm_campaign=Wijmo-User-Analysis"}}function _getMessage(e,t,r){if(!t||t.trim().length<15){t=(exports.culture.Licensing||_licStr).evl}(!t||t.trim().length<15)&&(t=atob("V2lqbW8gRXZhbHVhdGlvbiBWZXJzaW9uICh7dmVyc2lvbn0p"));var n=null;if(r&&r.Exp){var i=r.Exp;n=new Date(parseInt(i.substr(0,4))||0,parseInt(i.substr(4,2))-1||0,parseInt(i.substr(6,2))||0)}return t=format(t,{version:getVersion(),domain:location.hostname,control:_getControlName(e),licVer:r&&r.Anl?"5."+r.Anl.ver.replace("v","")+".*":null,licDomain:r?r.Dms:null,expDate:n})}function _attorn(e,t,r,n){var i=parseKeyData(e,t.algorithmCode);if(!i)return n();var o=i.lic,s=i.prefix+"#"+t.algorithmCode;if(tripleHash(s+JSON.stringify(o.D))!=o.H)return n();var a=window.msCrypto||window.crypto,l=a?a.subtle:null;if(!l||!location.protocol.match(/^https/i))return r(o.D);var u={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},c={alg:"RS256",e:"AQAB",kty:"RSA",n:str64ToJwkBase64(t.publicKey)};c=window.msCrypto?str2ArrayBuffer(JSON.stringify(c)):c;try{asPromise(l.importKey("jwk",c,u,!1,["verify"])).then((function(e){var t=arrayBuffer2Str(str64ToArrayBuffer(str64EncodeUnicode(s+JSON.stringify(o.D))));asPromise(l.verify(u,e,str64ToArrayBuffer(o.S),str2ArrayBuffer(t))).then((function(e){return e?r(o.D):n()}))}),(function(){return r(o.D)}))}catch(e){return r(o.D)}}var templateObject_1,uint8Array="undefined"==typeof window?null:window.Uint8Array||window.TypedArray;function parseKeyData(e,t){try{t="#"+t;var r=e.indexOf(t);if(r>-1)return{prefix:e.substring(0,r),lic:JSON.parse(decode(e.substr(r+t.length)))}}catch(e){}return null}function decode(e){if(!e)return"";var t=unshiftString(e);t=reverseString(t);var r=Math.ceil(t.length/2);return str64DecodeUnicode(t=(t=(t=t.substr(r)+t.substr(0,r)).replace("#","=")).replace("&","=="))}function unshiftString(e){for(var t=e.split(""),r=t.length-5;r>=0;r--){swapArrayElements(t,r+1,r+3,unshiftChar);swapArrayElements(t,r,r+2,unshiftChar)}return t.join("")}function swapArrayElements(e,t,r,n){e.length>1&&e.splice(r,1,n(e.splice(t,1,n(e[r]))[0]))}function shiftChar(e,t){var r=e.charCodeAt(0);return r>=65&&r<=90?e.toLowerCase():r>=97&&r<=122?e.toUpperCase():r>=48&&r<=57?String.fromCharCode(48+(r-48+10+t)%10):e}function unshiftChar(e){return shiftChar(e,-1)}function reverseString(e){return e.split("").reverse().join("")}function str64DecodeUnicode(e){for(var t=atob(e),r="",n=0;n<t.length;n++)r+="%"+("00"+t.charCodeAt(n).toString(16)).slice(-2);return decodeURIComponent(r)}function arrayBuffer2Str(e){return String.fromCharCode.apply(null,new uint8Array(e))}function str64ToArrayBuffer(e){for(var t=atob(e),r=t.length,n=new uint8Array(r),i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}function str64EncodeUnicode(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))}function str64ToJwkBase64(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"")}function str2ArrayBuffer(e){for(var t=new ArrayBuffer(e.length),r=new uint8Array(t),n=0,i=e.length;n<i;n++)r[n]=e.charCodeAt(n);return t}function tripleHash(e){for(var t=0,r=5381,n=0,i=e.length-1;i>=0;i--){var o=e.charCodeAt(i);t=o+(t<<6)+(t<<16)-t;r=o+((r<<5)+r);n=o+((n<<5)-n)}var s=t^r^n;s<0&&(s=~s);return s.toString(16).toUpperCase()}function asPromise(e){if("oncomplete"in e){e.then=function(t,r){e.resolve=t;e.reject=r};e.oncomplete=function(t){e.resolve(e.result)};e.onerror=function(t){e.reject()}}return e}_registerModule("wijmo",selfModule);
14
+ "use strict";var __extends=this&&this.__extends||function(){var extendStatics=function(e,t){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])})(e,t)};return function(e,t){extendStatics(e,t);function __(){this.constructor=e}e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}}(),__makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t;return e},__importStar=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);t.default=e;return t};Object.defineProperty(exports,"__esModule",{value:!0});var selfModule=__importStar(require("wijmo/wijmo"));function _ipTools(){var e={},t="(0?\\d+|0x[a-f0-9]+)",r={fourOctet:new RegExp("^".concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"$"),"i"),threeOctet:new RegExp("^".concat(t,"\\.").concat(t,"\\.").concat(t,"$"),"i"),twoOctet:new RegExp("^".concat(t,"\\.").concat(t,"$"),"i"),longValue:new RegExp("^".concat(t,"$"),"i")},n=new RegExp("^0[0-7]+$","i"),i=new RegExp("^0x[a-f0-9]+$","i"),o="(?:[0-9a-f]+::?)+",s={zoneIndex:new RegExp("%[0-9a-z]{1,}","i"),native:new RegExp("^(::)?(".concat(o,")?([0-9a-f]+)?(::)?(").concat("%[0-9a-z]{1,}",")?$"),"i"),deprecatedTransitional:new RegExp("^(?:::)(".concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"(").concat("%[0-9a-z]{1,}",")?)$"),"i"),transitional:new RegExp("^((?:".concat(o,")|(?:::)(?:").concat(o,")?)").concat(t,"\\.").concat(t,"\\.").concat(t,"\\.").concat(t,"(").concat("%[0-9a-z]{1,}",")?$"),"i")};function expandIPv6(e,t){if(e.indexOf("::")!==e.lastIndexOf("::"))return null;var r,n,i=0,o=-1,a=(e.match(s.zoneIndex)||[])[0];if(a){a=a.substring(1);e=e.replace(/%.+$/,"")}for(;(o=e.indexOf(":",o+1))>=0;)i++;"::"===e.substr(0,2)&&i--;"::"===e.substr(-2,2)&&i--;if(i>t)return null;n=t-i;r=":";for(;n--;)r+="0:";":"===(e=e.replace("::",r))[0]&&(e=e.slice(1));":"===e[e.length-1]&&(e=e.slice(0,-1));return{parts:t=function(){for(var t=e.split(":"),r=[],n=0;n<t.length;n++)r.push(parseInt(t[n],16));return r}(),zoneId:a}}function matchCIDR(e,t,r,n){if(e.length!==t.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(var i,o=0;n>0;){(i=r-n)<0&&(i=0);if(e[o]>>i!=t[o]>>i)return!1;n-=r;o+=1}return!0}function parseIntAuto(e){if(i.test(e))return parseInt(e,16);if("0"===e[0]&&!isNaN(parseInt(e[1],10))){if(n.test(e))return parseInt(e,8);throw new Error("ipaddr: cannot parse ".concat(e," as octal"))}return parseInt(e,10)}function padPart(e,t){for(;e.length<t;)e="0".concat(e);return e}e.IPv4=function(){function IPv4(e){if(4!==e.length)throw new Error("ipaddr: ipv4 octet count should be 4");var t,r;for(t=0;t<e.length;t++)if(!(0<=(r=e[t])&&r<=255))throw new Error("ipaddr: ipv4 octet should fit in 8 bits");this.octets=e}IPv4.prototype.SpecialRanges={unspecified:[[new IPv4([0,0,0,0]),8]],broadcast:[[new IPv4([255,255,255,255]),32]],multicast:[[new IPv4([224,0,0,0]),4]],linkLocal:[[new IPv4([169,254,0,0]),16]],loopback:[[new IPv4([127,0,0,0]),8]],carrierGradeNat:[[new IPv4([100,64,0,0]),10]],private:[[new IPv4([10,0,0,0]),8],[new IPv4([172,16,0,0]),12],[new IPv4([192,168,0,0]),16]],reserved:[[new IPv4([192,0,0,0]),24],[new IPv4([192,0,2,0]),24],[new IPv4([192,88,99,0]),24],[new IPv4([198,51,100,0]),24],[new IPv4([203,0,113,0]),24],[new IPv4([240,0,0,0]),4]]};IPv4.prototype.kind=function(){return"ipv4"};IPv4.prototype.match=function(e,t){var r;if(void 0===t){e=(r=e)[0];t=r[1]}if("ipv4"!==e.kind())throw new Error("ipaddr: cannot match ipv4 address with non-ipv4 one");return matchCIDR(this.octets,e.octets,8,t)};IPv4.prototype.prefixLengthFromSubnetMask=function(){var e,t,r,n=0,i=!1,o={0:8,128:7,192:6,224:5,240:4,248:3,252:2,254:1,255:0};for(e=3;e>=0;e-=1){if(!((t=this.octets[e])in o))return null;r=o[t];if(i&&0!==r)return null;8!==r&&(i=!0);n+=r}return 32-n};IPv4.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)};IPv4.prototype.toByteArray=function(){return this.octets.slice(0)};IPv4.prototype.toIPv4MappedAddress=function(){return e.IPv6.parse("::ffff:".concat(this.toString()))};IPv4.prototype.toNormalizedString=function(){return this.toString()};IPv4.prototype.toString=function(){return this.octets.join(".")};return IPv4}();e.IPv4.broadcastAddressFromCIDR=function(e){try{for(var t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],o=0;o<4;){i.push(parseInt(r[o],10)|255^parseInt(n[o],10));o++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};e.IPv4.isIPv4=function(e){return null!==this.parser(e)};e.IPv4.isValid=function(e){try{new this(this.parser(e));return!0}catch(e){return!1}};e.IPv4.isValidFourPartDecimal=function(t){return!(!e.IPv4.isValid(t)||!t.match(/^(0|[1-9]\d*)(\.(0|[1-9]\d*)){3}$/))};e.IPv4.networkAddressFromCIDR=function(e){var t,r,n,i,o;try{n=(t=this.parseCIDR(e))[0].toByteArray();o=this.subnetMaskFromPrefixLength(t[1]).toByteArray();i=[];r=0;for(;r<4;){i.push(parseInt(n[r],10)&parseInt(o[r],10));r++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv4 CIDR format")}};e.IPv4.parse=function(e){var t=this.parser(e);if(null===t)throw new Error("ipaddr: string is not formatted like an IPv4 Address");return new this(t)};e.IPv4.parseCIDR=function(e){var t;if(t=e.match(/^(.+)\/(\d+)$/)){var r=parseInt(t[2]);if(r>=0&&r<=32){var n=[this.parse(t[1]),r];Object.defineProperty(n,"toString",{value:function value(){return this.join("/")}});return n}}throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")};e.IPv4.parser=function(e){var t,n,i;if(t=e.match(r.fourOctet))return function(){for(var e=t.slice(1,6),r=[],i=0;i<e.length;i++){n=e[i];r.push(parseIntAuto(n))}return r}();if(t=e.match(r.longValue)){if((i=parseIntAuto(t[1]))>4294967295||i<0)throw new Error("ipaddr: address outside defined range");return function(){var e,t=[];for(e=0;e<=24;e+=8)t.push(i>>e&255);return t}().reverse()}return(t=e.match(r.twoOctet))?function(){var e=t.slice(1,4),r=[];if((i=parseIntAuto(e[1]))>16777215||i<0)throw new Error("ipaddr: address outside defined range");r.push(parseIntAuto(e[0]));r.push(i>>16&255);r.push(i>>8&255);r.push(255&i);return r}():(t=e.match(r.threeOctet))?function(){var e=t.slice(1,5),r=[];if((i=parseIntAuto(e[2]))>65535||i<0)throw new Error("ipaddr: address outside defined range");r.push(parseIntAuto(e[0]));r.push(parseIntAuto(e[1]));r.push(i>>8&255);r.push(255&i);return r}():null};e.IPv4.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(var t=[0,0,0,0],r=0,n=Math.floor(e/8);r<n;){t[r]=255;r++}n<4&&(t[n]=Math.pow(2,e%8)-1<<8-e%8);return new this(t)};e.IPv6=function(){function IPv6(e,t){var r,n;if(16===e.length){this.parts=[];for(r=0;r<=14;r+=2)this.parts.push(e[r]<<8|e[r+1])}else{if(8!==e.length)throw new Error("ipaddr: ipv6 part count should be 8 or 16");this.parts=e}for(r=0;r<this.parts.length;r++)if(!(0<=(n=this.parts[r])&&n<=65535))throw new Error("ipaddr: ipv6 part should fit in 16 bits");t&&(this.zoneId=t)}IPv6.prototype.SpecialRanges={unspecified:[new IPv6([0,0,0,0,0,0,0,0]),128],linkLocal:[new IPv6([65152,0,0,0,0,0,0,0]),10],multicast:[new IPv6([65280,0,0,0,0,0,0,0]),8],loopback:[new IPv6([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new IPv6([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new IPv6([0,0,0,0,0,65535,0,0]),96],rfc6145:[new IPv6([0,0,0,0,65535,0,0,0]),96],rfc6052:[new IPv6([100,65435,0,0,0,0,0,0]),96],"6to4":[new IPv6([8194,0,0,0,0,0,0,0]),16],teredo:[new IPv6([8193,0,0,0,0,0,0,0]),32],reserved:[[new IPv6([8193,3512,0,0,0,0,0,0]),32]]};IPv6.prototype.isIPv4MappedAddress=function(){return"ipv4Mapped"===this.range()};IPv6.prototype.kind=function(){return"ipv6"};IPv6.prototype.match=function(e,t){var r;if(void 0===t){e=(r=e)[0];t=r[1]}if("ipv6"!==e.kind())throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return matchCIDR(this.parts,e.parts,16,t)};IPv6.prototype.prefixLengthFromSubnetMask=function(){for(var e,t,r=0,n=!1,i={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},o=7;o>=0;o-=1){if(!((e=this.parts[o])in i))return null;t=i[e];if(n&&0!==t)return null;16!==t&&(n=!0);r+=t}return 128-r};IPv6.prototype.range=function(){return e.subnetMatch(this,this.SpecialRanges)};IPv6.prototype.toByteArray=function(){for(var e,t=[],r=this.parts,n=0;n<r.length;n++){e=r[n];t.push(e>>8);t.push(255&e)}return t};IPv6.prototype.toFixedLengthString=function(){var e=function(){for(var e=[],t=0;t<this.parts.length;t++)e.push(padPart(this.parts[t].toString(16),4));return e}.call(this).join(":"),t="";this.zoneId&&(t="%".concat(this.zoneId));return e+t};IPv6.prototype.toIPv4Address=function(){if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");var t=this.parts.slice(-2),r=t[0],n=t[1];return new e.IPv4([r>>8,255&r,n>>8,255&n])};IPv6.prototype.toNormalizedString=function(){var e=function(){for(var e=[],t=0;t<this.parts.length;t++)e.push(this.parts[t].toString(16));return e}.call(this).join(":"),t="";this.zoneId&&(t="%".concat(this.zoneId));return e+t};IPv6.prototype.toRFC5952String=function(){for(var e,t=/((^|:)(0(:|$)){2,})/g,r=this.toNormalizedString(),n=0,i=-1;e=t.exec(r);)if(e[0].length>i){n=e.index;i=e[0].length}return i<0?r:"".concat(r.substring(0,n),"::").concat(r.substring(n+i))};IPv6.prototype.toString=function(){return this.toNormalizedString().replace(/((^|:)(0(:|$))+)/,"::")};return IPv6}();e.IPv6.broadcastAddressFromCIDR=function(e){try{for(var t=this.parseCIDR(e),r=t[0].toByteArray(),n=this.subnetMaskFromPrefixLength(t[1]).toByteArray(),i=[],o=0;o<16;){i.push(parseInt(r[o],10)|255^parseInt(n[o],10));o++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}};e.IPv6.isIPv6=function(e){return null!==this.parser(e)};e.IPv6.isValid=function(e){if("string"==typeof e&&-1===e.indexOf(":"))return!1;try{var t=this.parser(e);new this(t.parts,t.zoneId);return!0}catch(e){return!1}};e.IPv6.networkAddressFromCIDR=function(e){var t,r,n,i,o;try{n=(t=this.parseCIDR(e))[0].toByteArray();o=this.subnetMaskFromPrefixLength(t[1]).toByteArray();i=[];r=0;for(;r<16;){i.push(parseInt(n[r],10)&parseInt(o[r],10));r++}return new this(i)}catch(e){throw new Error("ipaddr: the address does not have IPv6 CIDR format (".concat(e,")"))}};e.IPv6.parse=function(e){var t=this.parser(e);if(null===t.parts)throw new Error("ipaddr: string is not formatted like an IPv6 Address");return new this(t.parts,t.zoneId)};e.IPv6.parseCIDR=function(e){var t,r,n;if((r=e.match(/^(.+)\/(\d+)$/))&&(t=parseInt(r[2]))>=0&&t<=128){n=[this.parse(r[1]),t];Object.defineProperty(n,"toString",{value:function value(){return this.join("/")}});return n}throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")};e.IPv6.parser=function(e){var t,r,n,i,o,a;if(n=e.match(s.deprecatedTransitional))return this.parser("::ffff:".concat(n[1]));if(s.native.test(e))return expandIPv6(e,8);if(n=e.match(s.transitional)){a=n[6]||"";if((t=expandIPv6(n[1].slice(0,-1)+a,6)).parts){o=[parseInt(n[2]),parseInt(n[3]),parseInt(n[4]),parseInt(n[5])];for(r=0;r<o.length;r++)if(!(0<=(i=o[r])&&i<=255))return null;t.parts.push(o[0]<<8|o[1]);t.parts.push(o[2]<<8|o[3]);return{parts:t.parts,zoneId:t.zoneId}}}return null};e.IPv6.subnetMaskFromPrefixLength=function(e){if((e=parseInt(e))<0||e>128)throw new Error("ipaddr: invalid IPv6 prefix length");for(var t=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],r=0,n=Math.floor(e/8);r<n;){t[r]=255;r++}n<16&&(t[n]=Math.pow(2,e%8)-1<<8-e%8);return new this(t)};e.fromByteArray=function(t){var r=t.length;if(4===r)return new e.IPv4(t);if(16===r)return new e.IPv6(t);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")};e.isValid=function(t){return e.IPv6.isValid(t)||e.IPv4.isValid(t)};e.parse=function(t){if(e.IPv6.isValid(t))return e.IPv6.parse(t);if(e.IPv4.isValid(t))return e.IPv4.parse(t);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")};e.parseCIDR=function(t){try{return e.IPv6.parseCIDR(t)}catch(r){try{return e.IPv4.parseCIDR(t)}catch(e){throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}};e.process=function(e){var t=this.parse(e);return"ipv6"===t.kind()&&t.isIPv4MappedAddress()?t.toIPv4Address():t};e.subnetMatch=function(e,t,r){var n,i,o,s;null==r&&(r="unicast");for(i in t)if(Object.prototype.hasOwnProperty.call(t,i)){!(o=t[i])[0]||o[0]instanceof Array||(o=[o]);for(n=0;n<o.length;n++){s=o[n];if(e.kind()===s[0].kind()&&e.match.apply(e,s))return i}}return r};return e}exports.ipaddr=_ipTools();var Binding=function(){function Binding(e){this.path=e}Object.defineProperty(Binding.prototype,"path",{get:function(){return this._path},set:function(e){this._path=e;this._parts=e?e.split("."):[];for(var t=0;t<this._parts.length;t++){var r=this._parts[t],n=r.indexOf("[");if(n>-1){this._parts[t]=r.substr(0,n);this._parts.splice(++t,0,parseInt(r.substr(n+1)))}}this._key=1==this._parts.length?this._parts[0]:null},enumerable:!0,configurable:!0});Binding.prototype.getValue=function(e){if(e){if(this._key)return e[this._key];if(this._path&&this._path in e)return e[this._path];for(var t=0;t<this._parts.length&&e;t++)e=e[this._parts[t]]}return e};Binding.prototype.setValue=function(e,t){if(e)try{var r=this._path;if(r in e){e[r]=t;return e[r]==t}for(var n=0;n<this._parts.length-1;n++)if(null==(e=e[this._parts[n]]))return!1;e[r=this._parts[this._parts.length-1]]=t;return e[r]==t}catch(e){return!1}return!1};return Binding}();exports.Binding=Binding;var EventHandler=function EventHandler(e,t){this.handler=e;this.self=t},Event=function(){function Event(e){this._handlers=[];this._handlersChanged=e}Event.prototype.addHandler=function(e,t){e=asFunction(e);this._handlers.push(new EventHandler(e,t));isFunction(this._handlersChanged)&&this._handlersChanged()};Event.prototype.getHandler=function(e){void 0===e&&(e=0);var t=this._handlers[e];if(t)return t.handler};Event.prototype.removeHandler=function(e,t){var r=!1;e=asFunction(e);for(var n=0;n<this._handlers.length;n++){var i=this._handlers[n];if(!(i.handler!=e&&null!=e||i.self!=t&&null!=t)){this._handlers.splice(n--,1);r=!0;if(e&&t)break}}r&&isFunction(this._handlersChanged)&&this._handlersChanged()};Event.prototype.removeAllHandlers=function(){var e=this._handlers.length>0;this._handlers.length=0;e&&isFunction(this._handlersChanged)&&this._handlersChanged()};Event.prototype.raise=function(e,t){void 0===t&&(t=EventArgs.empty);for(var r=this._handlers,n=0;n<r.length;n++){var i=r[n];i.handler.call(i.self,e,t);r[n]!==i&&n--}};Object.defineProperty(Event.prototype,"hasHandlers",{get:function(){return this._handlers.length>0},enumerable:!0,configurable:!0});Object.defineProperty(Event.prototype,"handlerCount",{get:function(){return this._handlers.length},enumerable:!0,configurable:!0});return Event}();exports.Event=Event;var EventArgs=function(){function EventArgs(){}EventArgs.empty=new EventArgs;return EventArgs}();exports.EventArgs=EventArgs;var CancelEventArgs=function(e){__extends(CancelEventArgs,e);function CancelEventArgs(){var t=null!==e&&e.apply(this,arguments)||this;t.cancel=!1;return t}return CancelEventArgs}(EventArgs);exports.CancelEventArgs=CancelEventArgs;var PropertyChangedEventArgs=function(e){__extends(PropertyChangedEventArgs,e);function PropertyChangedEventArgs(t,r,n){var i=e.call(this)||this;i._name=t;i._oldVal=r;i._newVal=n;return i}Object.defineProperty(PropertyChangedEventArgs.prototype,"propertyName",{get:function(){return this._name},enumerable:!0,configurable:!0});Object.defineProperty(PropertyChangedEventArgs.prototype,"oldValue",{get:function(){return this._oldVal},enumerable:!0,configurable:!0});Object.defineProperty(PropertyChangedEventArgs.prototype,"newValue",{get:function(){return this._newVal},enumerable:!0,configurable:!0});return PropertyChangedEventArgs}(EventArgs);exports.PropertyChangedEventArgs=PropertyChangedEventArgs;var NotifyCollectionChangedAction,RequestErrorEventArgs=function(e){__extends(RequestErrorEventArgs,e);function RequestErrorEventArgs(t,r){var n=e.call(this)||this;n._xhr=t;n._msg=r;return n}Object.defineProperty(RequestErrorEventArgs.prototype,"request",{get:function(){return this._xhr},enumerable:!0,configurable:!0});Object.defineProperty(RequestErrorEventArgs.prototype,"message",{get:function(){return this._msg},set:function(e){this._msg=e},enumerable:!0,configurable:!0});return RequestErrorEventArgs}(CancelEventArgs);exports.RequestErrorEventArgs=RequestErrorEventArgs;!function(e){e[e.Add=0]="Add";e[e.Remove=1]="Remove";e[e.Change=2]="Change";e[e.Reset=3]="Reset"}(NotifyCollectionChangedAction=exports.NotifyCollectionChangedAction||(exports.NotifyCollectionChangedAction={}));var NotifyCollectionChangedEventArgs=function(e){__extends(NotifyCollectionChangedEventArgs,e);function NotifyCollectionChangedEventArgs(t,r,n){void 0===t&&(t=NotifyCollectionChangedAction.Reset);void 0===r&&(r=null);void 0===n&&(n=-1);var i=e.call(this)||this;i.action=t;i.item=r;i.index=n;return i}NotifyCollectionChangedEventArgs.reset=new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Reset);return NotifyCollectionChangedEventArgs}(EventArgs);exports.NotifyCollectionChangedEventArgs=NotifyCollectionChangedEventArgs;var SortDescription=function(){function SortDescription(e,t){this._bnd=new Binding(e);this._asc=t}Object.defineProperty(SortDescription.prototype,"property",{get:function(){return this._bnd.path},enumerable:!0,configurable:!0});Object.defineProperty(SortDescription.prototype,"ascending",{get:function(){return this._asc},enumerable:!0,configurable:!0});return SortDescription}();exports.SortDescription=SortDescription;var PageChangingEventArgs=function(e){__extends(PageChangingEventArgs,e);function PageChangingEventArgs(t){var r=e.call(this)||this;r.newPageIndex=t;return r}return PageChangingEventArgs}(CancelEventArgs);exports.PageChangingEventArgs=PageChangingEventArgs;var GroupDescription=function(){function GroupDescription(){}GroupDescription.prototype.groupNameFromItem=function(e,t){return""};GroupDescription.prototype.namesMatch=function(e,t){return e===t};return GroupDescription}();exports.GroupDescription=GroupDescription;var PropertyGroupDescription=function(e){__extends(PropertyGroupDescription,e);function PropertyGroupDescription(t,r){var n=e.call(this)||this;n._bnd=new Binding(t);n._converter=r;return n}Object.defineProperty(PropertyGroupDescription.prototype,"propertyName",{get:function(){return this._bnd.path},enumerable:!0,configurable:!0});PropertyGroupDescription.prototype.groupNameFromItem=function(e,t){return this._converter?this._converter(e,this.propertyName):this._bnd.getValue(e)};PropertyGroupDescription.prototype.namesMatch=function(e,t){return e===t};return PropertyGroupDescription}(GroupDescription);exports.PropertyGroupDescription=PropertyGroupDescription;exports.empty={};exports.ClipboardClsNames={clipboard:"wj-clipboard"};exports.ControlClsNames={content:"wj-content",hostElement:"wj-control",template:"wj-template"};exports.ControlStateClsNames={active:"wj-state-active",checked:"wj-state-checked",collapsed:"wj-state-collapsed",collapsing:"wj-state-collapsing",disabled:"wj-state-disabled",dragSrc:"wj-state-dragsrc",empty:"wj-state-empty",focus:"wj-state-focus",focused:"wj-state-focused",invalid:"wj-state-invalid",lastSelected:"wj-state-last-selected",loading:"wj-state-loading",match:"wj-state-match",exactMatchSpace:"wj-state-exact-match-space",measuring:"wj-state-measuring",multiSelected:"wj-state-multi-selected",pinned:"wj-state-pinned",readOnly:"wj-state-readonly",selected:"wj-state-selected",sticky:"wj-state-sticky",updating:"wj-state-updating",labeledInput:".wj-labeled-input",wjError:".wj-error",errorVisible:"wj-error-visible"};exports.GlyphClsNames={backward:"wj-glyph-backward",btnGlyph:"wj-btn-glyph",calendar:"wj-glyph-calendar",circle:"wj-glyph-circle",clock:"wj-glyph-clock",down:"wj-glyph-down",downLeft:"wj-glyph-down-left",drag:"wj-glyph-drag",file:"wj-glyph-file",filter:"wj-glyph-filter",forward:"wj-glyph-forward",glyph:"wj-glyph",left:"wj-glyph-left",minus:"wj-glyph-minus",plus:"wj-glyph-plus",right:"wj-glyph-right",stepBackward:"wj-glyph-step-backward",stepForward:"wj-glyph-step-forward",up:"wj-glyph-up"};exports.InputFormElementsClsNames={btn:"wj-btn",btnDefault:"wj-btn-default",btnGroup:"wj-btn-group",btnGroupVertical:"wj-btn-group-vertical",btnsOutside:"wj-btns-outside",formControl:"wj-form-control",svgBtn:"wj-svg-btn"};exports.PrintDocumentClsNames={printDocument:"wj-printdocument"};exports.TooltipClsNames={hostElement:"wj-tooltip"};exports.UtilitesClsNames={align:"wj-align",alignVCenter:"wj-align-vcenter",animated:"wj-animated",centerVert:"wj-center-vert",close:"wj-close",hide:"wj-hide",hideOk:"wj-hide-ok",remove:"wj-remove",right:"wj-right",rtl:"wj-rtl",separator:"wj-separator"};exports.ForeignClsNames={InputClsNames:{input:"wj-input",inputBtnVisible:"wj-input-btn-visible",inputGroup:"wj-input-group",inputGroupBtn:"wj-input-group-btn"},SelectorClsNames:{columnSelector:"wj-column-selector",columnSelectorGroup:"wj-column-selector-group"}};var _agent="undefined"!=typeof navigator?navigator.userAgent:"";function isMobile(){var e=_agent.toLowerCase();return["android","webos","iphone","ipad","ipod","blackberry","windows phone","mobile","mobi","tablet"].some((function(t){return e.includes(t)}))}exports.isMobile=isMobile;function isSupportTouch(){return"ontouchstart"in window||navigator.maxTouchPoints>0}exports.isSupportTouch=isSupportTouch;var _isiOS=null!=_agent.match(/iPad|iPhone|iPod/i);function isiOS(){return _isiOS}exports.isiOS=isiOS;var _isFF=null!=_agent.match(/Firefox\//);function isFirefox(){return _isFF}exports.isFirefox=isFirefox;var _isSafari=null!=_agent.match(/^((?!Chrome|Android).)*safari/i);function isSafari(){return _isSafari}exports.isSafari=isSafari;var _isEdge=null!=_agent.match(/Edge\/|Edg\//);function isEdge(){return _isEdge}exports.isEdge=isEdge;var _isIE=null!=_agent.match(/MSIE |Trident\/|Edge\//);function isIE(){return _isIE}exports.isIE=isIE;var _isIE9=!1;function isIE9(){return _isIE9}exports.isIE9=isIE9;var _isIE10=!1;function isIE10(){return _isIE10}exports.isIE10=isIE10;var _isChromiumBased=null;function isChromiumBased(){if(null!=_isChromiumBased)return _isChromiumBased;_isChromiumBased=!1;var e="undefined"!=typeof navigator?navigator.userAgentData:null;if(e&&e.brands)for(var t=0,r=e.brands;t<r.length;t++){if("Chromium"==r[t].brand){_isChromiumBased=!0;break}}return _isChromiumBased}exports.isChromiumBased=isChromiumBased;var _supportsPassive=!1;"undefined"!=typeof document&&document.addEventListener("test",(function(e){}),{get passive(){_supportsPassive=!0;return!0}});function getEventOptions(e,t){return _supportsPassive?{capture:e,passive:t}:e}exports.getEventOptions=getEventOptions;var _supportsFocusOptions=!1;"undefined"!=typeof document&&document.createElement("div").focus({get preventScroll(){_supportsFocusOptions=!0;return!0}});function supportsFocusOptions(){return _supportsFocusOptions}exports.supportsFocusOptions=supportsFocusOptions;function _startDrag(e,t){e.effectAllowed=t;isFirefox()&&e.setData("text","")}exports._startDrag=_startDrag;if("undefined"!=typeof document&&document.doctype){navigator.appVersion.indexOf("MSIE 10")>-1&&(_isIE10=!0);if(navigator.appVersion.indexOf("MSIE 9")>-1){_isIE9=!0;document.addEventListener("mousemove",(function(e){if(1==e.which){var t=closest(e.target,"."+exports.ControlClsNames.hostElement);if(t&&!t.style.cursor)for(var r=e.target;r;r=r.parentElement)if(r.attributes&&r.attributes.draggable){r.dragDrop();return!1}}}))}}if("undefined"!=typeof window){var raf="requestAnimationFrame",caf="cancelAnimationFrame";if(!window[raf]){var expectedTime_1=0;window[raf]=function(e){var t=Date.now(),r=16-(t-expectedTime_1),n=r>0?r:0;expectedTime_1=t+n;return setTimeout((function(){e(expectedTime_1)}),n)};window[caf]=clearTimeout}if(!window.atob){var keys_1="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",keysRe_1=new RegExp("[^"+keys_1+"]");window.atob=function(e){var t,r,n,i,o=[],s=0,a=e.length;if(keysRe_1.test(e)||/=/.test(e)&&(/=[^=]/.test(e)||/={3}/.test(e)))throw new Error("Invalid base64 data");a%4>0&&(a=(e+=Array(4-a%4+1).join("=")).length);for(;s<a;){for(r=[],i=s;s<i+4;)r.push(keys_1.indexOf(e.charAt(s++)));n=[((t=(r[0]<<18)+(r[1]<<12)+((63&r[2])<<6)+(63&r[3]))&255<<16)>>16,64===r[2]?-1:(65280&t)>>8,64===r[3]?-1:255&t];for(i=0;i<3;++i)(n[i]>=0||0===i)&&o.push(String.fromCharCode(n[i]))}return o.join("")};window.btoa=function(e){for(var t,r,n=[],i=0,o=e.length;i<o;){t=((r=[e.charCodeAt(i++),e.charCodeAt(i++),e.charCodeAt(i++)])[0]<<16)+((r[1]||0)<<8)+(r[2]||0);n.push(keys_1.charAt((t&63<<18)>>18),keys_1.charAt((258048&t)>>12),keys_1.charAt(isNaN(r[1])?64:(4032&t)>>6),keys_1.charAt(isNaN(r[2])?64:63&t))}return n.join("")}}}var _FocusService=function(){function _FocusService(){this._hasDoc="undefined"!=typeof Document;this._ae=this._nativeAe();var e=window,t=this._onBlur.bind(this),r=this._onFocus.bind(this);e.addEventListener("focusout",t,!0);e.addEventListener("focusin",r,!0);if(!isIE()){e.addEventListener("blur",t,!0);e.addEventListener("focus",r,!0)}}Object.defineProperty(_FocusService.prototype,"activeElement",{get:function(){var e=this._ae,t=this._nativeAe();e===_FocusService._noAe?e=this._ae=t:e!=t&&(this._isSpecialRoot(e)||document.body.contains(e)||(e=this._ae=t));return e!==_FocusService._noAe?e:null},enumerable:!0,configurable:!0});_FocusService.prototype._onBlur=function(e){if(e.isTrusted){var t=e.relatedTarget;this._ae=this._isSpecialRoot(t)?this._nativeAe():t}};_FocusService.prototype._onFocus=function(e){e.isTrusted&&(this._ae=this._nativeAe())};_FocusService.prototype._isSpecialRoot=function(e){return null==e||e===document.body||this._hasDoc&&e instanceof Document};_FocusService.prototype._nativeAe=function(){var e;try{e="unknown"!=typeof document.activeElement?document.activeElement:_FocusService._noAe}catch(t){e=_FocusService._noAe}return e};_FocusService.prototype.dispose=function(){if(!isIE()){window.removeEventListener("blur",this._onBlur,!0);window.removeEventListener("focus",this._onFocus,!0)}window.removeEventListener("focusout",this._onBlur,!0);window.removeEventListener("focusin",this._onFocus,!0)};_FocusService._noAe={};return _FocusService}();exports._FocusService=_FocusService;var _getProxyTarget="undefined"!=typeof window&&window.Symbol?Symbol("_getProxyTarget"):"\t_get\tProxy\tTarget\t";function _getCalculatedArray(e,t,r){var n=new WeakMap;if(!r){var i={};if(e.length){var o=e[0];for(var s in o){var a=typeof o[s];i[s]="string"==a?"":"number"==a?0:null}r=i}}return new Proxy(e,{get:function(e,i){if(i===_getProxyTarget)return e;if("string"==typeof i||"number"==typeof i){if("indexOf"==i)return function(t,r){var n=e.indexOf(t,r);n<0&&t&&(t=t[_getProxyTarget])&&(n=e.indexOf(t,r));return n};var o=parseInt(i);if(!isNaN(o)){var s=e[o];if(s&&!s[_getProxyTarget]){var a=n.get(s);if(!a){a=_createItemProxy(s,t,r);n.set(s,a)}s=a}return s}}return Reflect.get(e,i)}})}exports._getCalculatedArray=_getCalculatedArray;function _createItemProxy(e,t,r){if(!e[_getProxyTarget]){if(isIE())for(var n in t)e[n]=null;var i={get:function(e,n,i){if(n===_getProxyTarget)return e;if("constructor"===n)return function(){return Object.assign({},r||{})};var o=t[n];if(o)switch(typeof o){case"function":return o(i);case"string":return _eval(o,i)}return e[n]}};if(!isIE()){i.ownKeys=function(e){return Object.keys(e).concat(Object.keys(t))};i.getOwnPropertyDescriptor=function(e,r){return r in t?{enumerable:!0,configurable:!0,writable:!1}:Reflect.getOwnPropertyDescriptor(e,r)}}e=new Proxy(e,i)}return e}function _getTargetObject(e){return(e?e[_getProxyTarget]:null)||e}exports._getTargetObject=_getTargetObject;function _eval(e,t){var r=[t];return(new(Function.bind.apply(Function,[void 0].concat(["$"],["return "+e])))).apply(void 0,r)}var Key,DataType,_VERSION="5.20261.45",_ENV_TOOLS=function(){function _ENV_TOOLS(){}_ENV_TOOLS.isSameInstance=function(e,t){return e==t};_ENV_TOOLS.indexOf=function(e,t){return e.indexOf(t)};return _ENV_TOOLS}();exports._ENV_TOOLS=_ENV_TOOLS;exports._CLS_STATE_DISABLED=exports.ControlStateClsNames.disabled;function getVersion(){return _VERSION}exports.getVersion=getVersion;function setLicenseKey(e){Control._licKey=e}exports.setLicenseKey=setLicenseKey;!function(e){e[e.Back=8]="Back";e[e.Tab=9]="Tab";e[e.Enter=13]="Enter";e[e.Escape=27]="Escape";e[e.Space=32]="Space";e[e.PageUp=33]="PageUp";e[e.PageDown=34]="PageDown";e[e.End=35]="End";e[e.Home=36]="Home";e[e.Left=37]="Left";e[e.Up=38]="Up";e[e.Right=39]="Right";e[e.Down=40]="Down";e[e.Delete=46]="Delete";e[e.X=88]="X";e[e.F1=112]="F1";e[e.F2=113]="F2";e[e.F3=114]="F3";e[e.F4=115]="F4";e[e.F5=116]="F5";e[e.F6=117]="F6";e[e.F7=118]="F7";e[e.F8=119]="F8";e[e.F9=120]="F9";e[e.F10=121]="F10";e[e.F11=122]="F11";e[e.F12=123]="F12";e[e.PlusKey=107]="PlusKey";e[e.EqualPlusKey=187]="EqualPlusKey";e[e.MinusKey=109]="MinusKey";e[e.HyphenMinusKey=189]="HyphenMinusKey";e[e.S=83]="S";e[e.P=80]="P";e[e.F=70]="F"}(Key=exports.Key||(exports.Key={}));!function(e){e[e.Object=0]="Object";e[e.String=1]="String";e[e.Number=2]="Number";e[e.Boolean=3]="Boolean";e[e.Date=4]="Date";e[e.Array=5]="Array"}(DataType=exports.DataType||(exports.DataType={}));function tryCast(e,t){return null==e?null:isString(t)?isFunction(e.implementsInterface)&&e.implementsInterface(t)?e:null:e instanceof t?e:null}exports.tryCast=tryCast;function isPrimitive(e){return isString(e)||isNumber(e)||isBoolean(e)||isDate(e)}exports.isPrimitive=isPrimitive;function isString(e){return"string"==typeof e}exports.isString=isString;function isNullOrWhiteSpace(e){return!e||!/\S/.test(e)}exports.isNullOrWhiteSpace=isNullOrWhiteSpace;function isNumber(e){return"number"==typeof e}exports.isNumber=isNumber;function isInt(e){return isNumber(e)&&e==Math.round(e)}exports.isInt=isInt;function isBoolean(e){return"boolean"==typeof e}exports.isBoolean=isBoolean;function isFunction(e){return"function"==typeof e}exports.isFunction=isFunction;function isUndefined(e){return void 0===e}exports.isUndefined=isUndefined;function isNullOrUndefined(e){return null==e}exports.isNullOrUndefined=isNullOrUndefined;function isDate(e){return(e instanceof Date||"[object Date]"===Object.prototype.toString.call(e))&&!isNaN(e.getTime())}exports.isDate=isDate;function isArray(e){return e instanceof Array||Array.isArray(e)||"[object Array]"===Object.prototype.toString.call(e)}exports.isArray=isArray;function _isPlainArray(e){return Array.isArray(e)}exports._isPlainArray=_isPlainArray;function isObject(e){return null!=e&&"object"==typeof e&&!isDate(e)&&!isArray(e)}exports.isObject=isObject;function isEmpty(e){for(var t in e)return!1;return!0}exports.isEmpty=isEmpty;function _areObjectsEqual(e,t){var r=Object.entries(e),n=Object.entries(t);if(r.length!==n.length)return!1;for(var i=0,o=r;i<o.length;i++){var s=o[i],a=s[0],l=s[1];if(!t.hasOwnProperty(a)||t[a]!==l)return!1}return!0}exports._areObjectsEqual=_areObjectsEqual;function getUniqueId(e){for(var t=e,r=0;null!=document.getElementById(t);r++)t=e+r;return t}exports.getUniqueId=getUniqueId;function getSafeUniqueId(e,t,r){void 0===t&&(t="wj");var n=e;(n=(n=(n=n.trim().toLowerCase()).replace(/[^a-z0-9_-]+/g,"-")).replace(/-+/g,"-").replace(/^-|-$/g,""))?/^[a-z]/.test(n)&&!r||(n=t+"-"+n):n=t+"-"+Date.now();for(var i=0;null!=document.getElementById(n);i++)n+=i;return n}exports.getSafeUniqueId=getSafeUniqueId;function uidGenerator(){for(var e="",t="0123456789abcdef".split(""),r=0;r<32;r++){var n=Math.floor(16*Math.random());switch(r){case 8:e+="-";break;case 12:n=4;e+="-";break;case 16:n=3&n|8;e+="-";break;case 20:e+="-"}e+=t[n]}return e}exports.uidGenerator=uidGenerator;function mouseToPage(e){if(e instanceof Point)return e;e&&e.touches&&e.touches.length>0&&(e=e.touches[0]);if(isNumber(e.clientX)&&isNumber(e.clientY))return new Point(e.clientX+pageXOffset,e.clientY+pageYOffset);throw"Mouse or touch event expected."}exports.mouseToPage=mouseToPage;function getType(e){return isNumber(e)?DataType.Number:isBoolean(e)?DataType.Boolean:isDate(e)?DataType.Date:isString(e)?DataType.String:isArray(e)?DataType.Array:DataType.Object}exports.getType=getType;function getTypes(e,t){void 0===t&&(t=1e3);if(!e)return[];var r=e.length;(t<=0||r<t)&&(t=r);var n=[];if(t){for(var i=Object.keys(e[0]),o={},s=i.slice(),a=0;a<t;a++){for(var l=e[a],u=s.length-1;u>=0;u--){var c=s[u],p=l[c];if(isPrimitive(p)){var h=Object.getOwnPropertyDescriptor(e[a],c);o[c]={binding:c,dataType:getType(p),isReadOnly:h&&!h.writable&&!h.set};s.splice(u,1)}}if(!s.length)break}for(a=0;a<i.length;a++){var d=o[i[a]];d&&n.push(d)}}return n}exports.getTypes=getTypes;function changeType(e,t,r,n){if(null!=e){var i=DataType;if(isString(e))switch(t){case i.Number:var o=Globalize.parseFloat(e,r);return isNaN(o)?e:o;case i.Date:var s=Globalize.parseDate(e,r,isDate(n)?n:null);s||r||!e||(s=new Date(e));return s&&isFinite(s.getTime())?s:e;case i.Boolean:switch(e.toLowerCase()){case"true":return!0;case"false":return!1}return e;case i.Array:try{var a=e.split(",").map((function(e){return(e=e.trim()).match(/^(\+|\-)?\d+\.?\d*$/)?e:'"'+e+'"'}));return JSON.parse("["+a.join(",")+"]")}catch(e){}}if(t==DataType.String)return Globalize.format(e,r)}return e}exports.changeType=changeType;function toFixed(e,t,r){if(r){var n=e.toString(),i=n.indexOf("e"),o=n.indexOf(".");if(i>-1){if("-"===n[i+1]){var s=parseFloat(n.substr(i+2)),a=n.substr(0,i);o>-1&&(a=a.substr(0,o)+a.substr(o+1));n="0."+(Array(s).join("0")+a).substr(0,t);e=parseFloat(n)}}else if(o>-1){n=n.substr(0,o+1+t);e=parseFloat(n)}}else{var l=Math.pow(10,t);e=Math.round(e*l)/l}return e}exports.toFixed=toFixed;function format(e,t,r){if((e=asString(e)).match(/\{.*"count".*:.*"when".*:.*\}/))try{var n=JSON.parse(e);if(isString(n.count)){var i=t[n.count],o=n.when;if(isNumber(i)&&isObject(o)){var s=o[i]||o.other;isString(s)&&(e=s)}}}catch(e){}return e.replace(/\{(.*?)(:(.*?))?\}/g,(function(e,n,i,o){var s=e;if(n&&"{"!=n[0]&&t){s=new Binding(n).getValue(t);o&&(s=Globalize.format(s,o));r&&(s=r(t,n,o,s))}return null==s?"":s}))}exports.format=format;function glbz(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=[],n=-1;e[0].forEach((function(t,i){if(i>0&&i!=n){var o=e[i],s=t.match(/^:([a-z][0-9]*\b)/i)||t.match(/^:'(.+?)'/)||t.match(/^:"(.+?)"/);if(s){o=Globalize.format(o,s[1]);t=t.substr(s[0].length)}else if(":"==t&&i<e.length-1&&(isNumber(o)||isDate(o))){o=Globalize.format(o,e[i+1]);t="";n=i+1}r.push(o)}t&&r.push(t)}));return r.join("")}exports.glbz=glbz;function evalTemplate(e,t){if(isIE()){return(e=e.replace(/:\${([^}]*)}/g,(function(e,r){return":"+_evalExpression(r,t)}))).replace(/\${([^}]*)}(:(([A-Za-z]\d*)|"([^"]+)"|'([^']+)'))?/g,(function(e,r,n,i,o,s,a){var l=_evalExpression(r,t);return i?Globalize.format(l,o||s||a):l}))}return _evalExpression(e,t)}exports.evalTemplate=evalTemplate;function _evalExpression(e,t){(t=t||{}).glbz=glbz;var r=parseTpl(e,t);return isIE()?r:glbz(templateObject_1||(templateObject_1=__makeTemplateObject(["",""],["",""])),r)}function get(e,t,r){void 0===r&&(r="${"+e+"}");return e.split(".").reduce((function(e,t){return null!=e&&null!=e[t]?e[t]:r}),t)}function parseTpl(e,t,r){return e.replace(/\$\{.+?}/g,(function(e){return get(e.substr(2,e.length-3).trim(),t,r)}))}function clamp(e,t,r){if(null!=e){null!=r&&e>r&&(e=r);null!=t&&e<t&&(e=t)}return e}exports.clamp=clamp;function copy(e,t,r,n){void 0===r&&(r=!0);void 0===n&&(n=!1);if(t)for(var i in t)if("_"!=i[0]){assert(i in e,'Unknown property "'+i+'".');var o=t[i];if(!e._copy||!e._copy(i,o)){var s=e[i];e[i]instanceof Event?isFunction(o)&&e[i].addHandler(o):!r||!isObject(o)||"undefined"!=typeof Element&&o instanceof Element||!s||!isObject(s)||Object.getPrototypeOf(s).constructor==Object.prototype.constructor&&isWritable(e,i)||"itemsSource"==i?n&&isObject(o)&&Object.getPrototypeOf(o).isPrototypeOf(Object)&&isObject(s)&&!Object.getPrototypeOf(s).isPrototypeOf(Object)?copy(s,o):e[i]=o:copy(s,o)}}return e}exports.copy=copy;function _isPlainObject(e){return isObject(e)&&Object.getPrototypeOf(e).isPrototypeOf(Object)}exports._isPlainObject=_isPlainObject;function isWritable(e,t){var r=Object.getOwnPropertyDescriptor(e,t)||Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||{};return!!r.writable||isFunction(r.set)}exports.isWritable=isWritable;function deepClone(e){if(null===e||"object"!=typeof e)return e;if(Array.isArray(e)){return e.map((function(e){return deepClone(e)}))}var t={};for(var r in e)e.hasOwnProperty(r)&&(t[r]=deepClone(e[r]));return t}exports.deepClone=deepClone;function assert(e,t,r){void 0===r&&(r=!0);if(!e){t="** Assertion failed in Wijmo: "+t;var n=new Error;isString(n.stack)&&r&&(t+=" "+n.stack);throw t}}exports.assert=assert;function _deprecated(e,t){console.error('** WARNING: "'+e+'" has been deprecated; please use "'+t+'" instead.')}exports._deprecated=_deprecated;function _warning(e){console.error('** WARNING: "'+e)}exports._warning=_warning;function asString(e,t){void 0===t&&(t=!0);isUndefined(e)&&(e=null);assert(t&&null==e||isString(e),"String expected.");return e}exports.asString=asString;function asNumber(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!1);assert(t&&null==e||isNumber(e),"Number expected.");if(r&&e&&e<0)throw"Positive number expected.";return e}exports.asNumber=asNumber;function asInt(e,t,r){void 0===t&&(t=!1);void 0===r&&(r=!1);assert(t&&null==e||isInt(e),"Integer expected.");if(r&&e&&e<0)throw"Positive integer expected.";return e}exports.asInt=asInt;function asBoolean(e,t){void 0===t&&(t=!1);assert(t&&null==e||isBoolean(e),"Boolean expected.");return e}exports.asBoolean=asBoolean;function asDate(e,t){void 0===t&&(t=!1);if(isString(e)){var r=changeType(e,DataType.Date,"r");isDate(r)&&(e=r)}assert(t&&null==e||isDate(e),"Date expected.");return e}exports.asDate=asDate;function asFunction(e,t){void 0===t&&(t=!0);assert(t&&null==e||isFunction(e),"Function expected.");return e}exports.asFunction=asFunction;function asArray(e,t){void 0===t&&(t=!0);assert(t&&null==e||isArray(e),"Array expected.");return e}exports.asArray=asArray;function asType(e,t,r){void 0===r&&(r=!1);e=tryCast(e,t);assert(r||null!=e,t+" expected.");return e}exports.asType=asType;function asEnum(e,t,r){void 0===r&&(r=!1);if(null==e&&r)return null;var n=isString(e)?t[e]:e;assert(null!=n,'Invalid enum value: "'+e+'"');return isNumber(n)?n:e}exports.asEnum=asEnum;function asCollectionView(e,t){void 0===t&&(t=!0);if(null==e&&t)return null;var r=tryCast(e,"ICollectionView");if(null!=r)return r;isArray(e)||assert(!1,"Array or ICollectionView expected.");return new CollectionView(e)}exports.asCollectionView=asCollectionView;function hasItems(e){return null!=e&&null!=e.items&&e.items.length>0}exports.hasItems=hasItems;function toHeaderCase(e){return e&&e.length?e[0].toUpperCase()+e.substr(1).replace(/([a-z])([A-Z])/g,"$1 $2"):""}exports.toHeaderCase=toHeaderCase;function escapeHtml(e){e&&isString(e)&&(e=e.replace(/[&<>]/g,(function(e){return _ENTITYMAP[e]})));return null!=e?e.toString():""}exports.escapeHtml=escapeHtml;var _plainText,_ENTITYMAP={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},_specialCharsRegex=/"(.*?)"|[^\w]|_/g;function getSpecialCharsRegex(){return _specialCharsRegex}exports.getSpecialCharsRegex=getSpecialCharsRegex;function escapeRegExp(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}exports.escapeRegExp=escapeRegExp;function toPlainText(e){var t=asString(e);if(isString(t)&&t.indexOf("<")>-1){_plainText||(_plainText=document.createElement("div"));_plainText.innerHTML=t;t=_plainText.textContent}return t}exports.toPlainText=toPlainText;function hasClass(e,t){if(e&&t){if(e instanceof HTMLElement&&e.classList&&!isIE9())return e.classList.contains(t);if(e.getAttribute){var r=new RegExp("(\\s|^)"+t+"(\\s|$)");return e&&r.test(e.getAttribute("class"))}}return!1}exports.hasClass=hasClass;function addClass(e,t){void 0===t&&(t="");if(e&&t){var r=t.trim();if(e instanceof HTMLElement&&e.classList&&!isIE9()){r.indexOf(" ")<0?e.classList.add(r):r.split(" ").forEach((function(t){t.length>0&&e.classList.add(t)}));return}e.setAttribute&&r.split(" ").forEach((function(t){if(t.length>0&&!hasClass(e,t)){var r=e.getAttribute("class");e.setAttribute("class",r?r+" "+t:t)}}))}}exports.addClass=addClass;function removeClass(e,t){if(e&&t){var r=t.trim();if(e instanceof HTMLElement&&e.classList&&!isIE9()){r.indexOf(" ")<0?e.classList.remove(r):r.split(" ").forEach((function(t){t.length>0&&e.classList.remove(t)}));0===e.classList.length&&e.removeAttribute("class");return}e.setAttribute&&r.split(" ").forEach((function(t){if(hasClass(e,t)){var r=new RegExp("((\\s|^)"+t+"(\\s|$))","g"),n=e.getAttribute("class");(n=n.replace(r," ").replace(/ +/g," ").trim())?e.setAttribute("class",n):e.removeAttribute("class")}}))}}exports.removeClass=removeClass;function toggleClass(e,t,r){null==r&&(r=!hasClass(e,t));r?addClass(e,t):removeClass(e,t)}exports.toggleClass=toggleClass;function setAttribute(e,t,r,n){e&&(null!=r?n&&e.getAttribute(t)||("style"===t.toLowerCase()&&(e instanceof HTMLElement||e instanceof SVGElement)?e.style.cssText=r.toString():e.setAttribute(t,r.toString())):e.removeAttribute(t))}exports.setAttribute=setAttribute;function setInnerHTMLSafe(e,t){t=t.replace(/\bstyle\s*=/gi,"data-wj-style=");e.innerHTML=t;for(var r=e.querySelectorAll("[data-wj-style]"),n=0;n<r.length;n++){var i=r[n],o=i.getAttribute("data-wj-style");o&&(i instanceof HTMLElement||i instanceof SVGElement)&&(i.style.cssText=o);i.removeAttribute("data-wj-style")}}exports.setInnerHTMLSafe=setInnerHTMLSafe;function setChecked(e,t){var r=null==t;e.checked=isIE()?t||r:t;e.indeterminate=r}exports.setChecked=setChecked;function setAriaLabel(e,t){setAttribute(e,"aria-label",t)}exports.setAriaLabel=setAriaLabel;function setSelectionRange(e,t,r,n){void 0===r&&(r=t);void 0===n&&(n=!0);assert(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement,"INPUT or TEXTAREA element expected");if(contains(document.body,e)&&!e.disabled&&e.offsetHeight){try{e.setSelectionRange(t,r,"backward")}catch(e){}if(n)try{e.focus();return!0}catch(e){}}return!1}exports.setSelectionRange=setSelectionRange;function disableAutoComplete(e){var t="autocomplete",r=e.getAttribute(t);r&&"on"!=r||e.setAttribute(t,"off");"autocorrect,autocapitalize,spellcheck".split(",").forEach((function(t){e.setAttribute(t,"spellcheck"==t?"false":"off")}))}exports.disableAutoComplete=disableAutoComplete;function removeChild(e){return e&&e.parentNode?e.parentNode.removeChild(e):null}exports.removeChild=removeChild;function getActiveElement(){var e=document.activeElement;if(e){var t=e.shadowRoot;t&&t.activeElement&&(e=t.activeElement)}return e}exports.getActiveElement=getActiveElement;function _getActiveElement(e){var t=e;if(t){var r=t.shadowRoot;r&&r.activeElement&&(t=r.activeElement)}return t}exports._getActiveElement=_getActiveElement;function moveFocus(e,t){var r=_getFocusableElements(e,t<0),n=0;if(t){var i=r.indexOf(getActiveElement());i>-1&&(n=(i+t+r.length)%r.length)}if(n<r.length){var o=r[n];o.focus();o instanceof HTMLInputElement&&o.select();return!0}return!1}exports.moveFocus=moveFocus;function _getFocusableElements(e,t){void 0===t&&(t=!1);var r=[],n=Array.prototype.slice.call(e.querySelectorAll("input,select,textarea,button,a,div,label,[tabindex]")),i={};n=n.filter((function(e){return-1!==e.tabIndex}));var isRb=function(e){return e instanceof HTMLInputElement&&"radio"===e.type};n.forEach((function(e){isRb(e)&&e.checked&&(i[e.name||""]=!0)}));(n=n.filter((function(e){return!isRb(e)||e.checked||!i[e.name||""]}))).sort((function(e,t){return e.tabIndex===t.tabIndex?0:0===e.tabIndex?1:0===t.tabIndex?-1:e.tabIndex-t.tabIndex}));for(var o=0;o<n.length;o++){var s=n[o];if(s.offsetHeight>0&&s.tabIndex>-1&&!s.disabled&&"hidden"!==window.getComputedStyle(s).visibility&&!closest(s,"[disabled],."+exports.ControlStateClsNames.disabled)){if(s instanceof HTMLAnchorElement&&!s.hasAttribute("href"))continue;if(isIE()&&!s.hasAttribute("tabindex")){if(s instanceof HTMLDivElement)continue;var a=Control.getControl(closest(s,".wj-flexgrid"));if(a&&0==a.keyActionTab)continue}if("radio"===s.type&&!s.checked&&r.length>0){var l=r[r.length-1],u=getActiveElement();if("radio"===l.type&&l.name===s.name){t&&l!=u&&(r[r.length-1]=s);continue}}(Control.getControl(s)||!_getFocusableElements(s).length||s.classList.contains("wj-detail"))&&r.push(s)}}return r}exports._getFocusableElements=_getFocusableElements;function saveFile(e,t,r){void 0===r&&(r="text/plain");var n=e instanceof Blob;n||!r.match(/\bcsv\b/i)&&!t.match(/\.csv$/i)||(e="\ufeff"+e);var i=n?e:new Blob([e],{type:r}),o=navigator;if(isFunction(o.msSaveOrOpenBlob))o.msSaveOrOpenBlob(i,t);else{var s=document.createElement("a"),click=function(e){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null);e.dispatchEvent(t)};if("download"in s){var a=window.URL||window.webkitURL,l=a.createObjectURL(i);s.href=l;s.target="_blank";s.download=t;click(s);s=null;window.setTimeout((function(){a.revokeObjectURL(l)}),3e4)}else{var u=new FileReader;u.onloadend=function(){s.href=u.result;s.download=t;click(s);s=null};u.readAsDataURL(i)}}}exports.saveFile=saveFile;function getElement(e){if(e instanceof Element||e&&e.appendChild&&e.appendChild instanceof Function)return e;if(isString(e))try{return document.querySelector(e)}catch(e){}return e&&e.jquery?e[0]:null}exports.getElement=getElement;function processStyleProperty(e){var t=(e=e.replace(";base64,","_wj_")).split(";"),r=[];t.forEach((function(e){var t=[];e.indexOf("_wj_")>-1?2==(t=(e=e.replace("_wj_",";base64,").replace("data:image","_wjimg_")).split(":")).length&&(t[1]=t[1].replace("_wjimg_","data:image")):t=e.split(":");r.push(t)}));return r}function createElement(e,t,r){e=e.replace(/\bstyle\s*=/gi,"_wj-style=");var n=document.createElement("div");n.innerHTML=e;if(e.indexOf("_wj-style")>-1)for(var i=n.querySelectorAll("[_wj-style]"),_loop_1=function(e){var t=i[e],r=t.getAttribute("_wj-style"),n=[];if(r.indexOf(";base64,")>-1)n=processStyleProperty(r);else{r.split(";").forEach((function(e){n.push(e.split(":"))}))}n.forEach((function(e){2==e.length&&(t.style[e[0].trim()]=e[1].trim())}));t.removeAttribute("_wj-style")},o=0;o<i.length;o++)_loop_1(o);1==n.children.length&&(n=n.children[0]);r&&setCss(n,r);t&&(t=getElement(t)).appendChild(n);return n}exports.createElement=createElement;function setText(e,t){e.textContent=t||""}exports.setText=setText;function contains(e,t,r){for(var n=t;n&&e;){if(n===e)return!0;n=(r?n[Control._OWNR_KEY]:null)||n.parentNode||n.host}return!1}exports.contains=contains;function closest(e,t){if(e){if(isFunction(e.closest))return e.closest(t);var r=e.matches||e.webkitMatchesSelector||e.msMatchesSelector||e.mozMatchesSelector;if(r)for(;e&&1===e.nodeType;e=e.parentElement||e.parentNode)if(r.call(e,t))return e}return null}exports.closest=closest;function closestClass(e,t){return closest(e,"."+t)}exports.closestClass=closestClass;function enable(e,t){var r=!t,n="disabled";toggleClass(e,exports.ControlStateClsNames.disabled,r);setAttribute(e,n,r?n:null);for(var i=e.querySelectorAll("input,button"),o=0;o<i.length;o++)setAttribute(i[o],n,r?n:null)}exports.enable=enable;function getElementRect(e){var t=e.getBoundingClientRect();return new Rect(t.left+pageXOffset,t.top+pageYOffset,t.width,t.height)}exports.getElementRect=getElementRect;function setCss(e,t){assert(isObject(t),"css parameter should be an object");if(e instanceof Array)for(var r=0;r<e.length;r++)setCss(e[r],t);else if(e&&e.style){var n=e.style;for(var i in t){var o=t[i];"number"==typeof o&&i.match(/width|height|left|top|right|bottom|size|padding|margin'/i)&&(o+="px");n[i]!==o&&(n[i]=o)}}}exports.setCss=setCss;function animate(e,t,r,n){null==t&&(t=Control._ANIM_DEF_DURATION);null==r&&(r=Control._ANIM_DEF_STEP);e=asFunction(e);t=asNumber(t,!1,!0);r=asNumber(r,!1,!0);var i,o=Date.now(),s=setInterval((function(){var r=Math.min(1,(Date.now()-o)/t);r=Math.sin(r*Math.PI/2);r*=r;i&&cancelAnimationFrame(i);i=requestAnimationFrame((function(){i=null;e(r);r>=1&&n&&n()}));r>=1&&clearInterval(s)}),r);return s}exports.animate=animate;var Point=function(){function Point(e,t){void 0===e&&(e=0);void 0===t&&(t=0);this.x=asNumber(e);this.y=asNumber(t)}Point.prototype.equals=function(e,t,r){void 0===t&&(t=0);void 0===r&&(r=0);return e instanceof Point&&Math.abs(this.x-e.x)<=t&&Math.abs(this.y-e.y)<=r};Point.prototype.clone=function(){return new Point(this.x,this.y)};return Point}();exports.Point=Point;var Size=function(){function Size(e,t){void 0===e&&(e=0);void 0===t&&(t=0);this.width=asNumber(e);this.height=asNumber(t)}Size.prototype.equals=function(e){return e instanceof Size&&this.width==e.width&&this.height==e.height};Size.prototype.clone=function(){return new Size(this.width,this.height)};return Size}();exports.Size=Size;var Rect=function(){function Rect(e,t,r,n){this.left=asNumber(e);this.top=asNumber(t);this.width=asNumber(r);this.height=asNumber(n)}Object.defineProperty(Rect.prototype,"right",{get:function(){return this.left+this.width},enumerable:!0,configurable:!0});Object.defineProperty(Rect.prototype,"bottom",{get:function(){return this.top+this.height},enumerable:!0,configurable:!0});Rect.prototype.equals=function(e){return e instanceof Rect&&this.left==e.left&&this.top==e.top&&this.width==e.width&&this.height==e.height};Rect.prototype.clone=function(){return new Rect(this.left,this.top,this.width,this.height)};Rect.fromBoundingRect=function(e){if(null!=e.left)return new Rect(e.left,e.top,e.width,e.height);if(null!=e.x)return new Rect(e.x,e.y,e.width,e.height);assert(!1,"Invalid source rectangle.")};Rect.union=function(e,t){var r=Math.min(e.left,t.left),n=Math.min(e.top,t.top);return new Rect(r,n,Math.max(e.right,t.right)-r,Math.max(e.bottom,t.bottom)-n)};Rect.intersection=function(e,t){var r=Math.max(e.left,t.left),n=Math.max(e.top,t.top);return new Rect(r,n,Math.min(e.right,t.right)-r,Math.min(e.bottom,t.bottom)-n)};Rect.prototype.contains=function(e){if(e instanceof Point)return e.x>=this.left&&e.x<=this.right&&e.y>=this.top&&e.y<=this.bottom;if(e instanceof Rect){var t=e;return t.left>=this.left&&t.right<=this.right&&t.top>=this.top&&t.bottom<=this.bottom}assert(!1,"Point or Rect expected.")};Rect.prototype.inflate=function(e,t,r,n){return null!=r&&null!=n?new Rect(this.left-e,this.top-t,this.width+e+r,this.height+t+n):new Rect(this.left-e,this.top-t,this.width+2*e,this.height+2*t)};return Rect}();exports.Rect=Rect;var DateTime=function(){function DateTime(){}DateTime.addDays=function(e,t){(e=new Date(e.getTime())).setDate(e.getDate()+t);return e};DateTime.addMonths=function(e,t){var r=(e=new Date(e.getTime())).getDate();e.setMonth(e.getMonth()+t);e.getDate()!=r&&e.setDate(0);return e};DateTime.addYears=function(e,t){(e=new Date(e.getTime())).setFullYear(e.getFullYear()+t);return e};DateTime.addHours=function(e,t){(e=new Date(e.getTime())).setHours(e.getHours()+t);return e};DateTime.addMinutes=function(e,t){(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t);return e};DateTime.addSeconds=function(e,t){(e=new Date(e.getTime())).setSeconds(e.getSeconds()+t);return e};DateTime.weekFirst=function(e,t){void 0===t&&(t=Globalize.getFirstDayOfWeek());return DateTime.addDays(e,-(e.getDay()-t))};DateTime.weekLast=function(e,t){void 0===t&&(t=Globalize.getFirstDayOfWeek());e=DateTime.weekFirst(e,t);return DateTime.addDays(e,6)};DateTime.monthFirst=function(e){return DateTime.addDays(e,1-e.getDate())};DateTime.monthLast=function(e){e=DateTime.monthFirst(e);e=DateTime.addMonths(e,1);return DateTime.addDays(e,-1)};DateTime.yearFirst=function(e){return new Date(e.getFullYear(),0,1)};DateTime.yearLast=function(e){return new Date(e.getFullYear(),11,31)};DateTime.sameDate=function(e,t){return isDate(e)&&isDate(t)&&e.getFullYear()==t.getFullYear()&&e.getMonth()==t.getMonth()&&e.getDate()==t.getDate()};DateTime.sameTime=function(e,t){return isDate(e)&&isDate(t)&&e.getHours()==t.getHours()&&e.getMinutes()==t.getMinutes()&&e.getSeconds()==t.getSeconds()&&e.getMilliseconds()==t.getMilliseconds()};DateTime.equals=function(e,t){return null==e&&null==t||isDate(e)&&isDate(t)&&e.getTime()==t.getTime()};DateTime.fromDateTime=function(e,t){if(!e&&!t)return null;e||(e=t);t||(t=e);return DateTime.newDate(e.getFullYear(),e.getMonth(),e.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds())};DateTime.toFiscal=function(e,t){var r=exports.culture.Globalize.calendar;return isArray(r.fiscalYearOffsets)?DateTime.addMonths(e,-r.fiscalYearOffsets[t?0:1]):e};DateTime.fromFiscal=function(e,t){var r=exports.culture.Globalize.calendar;return isArray(r.fiscalYearOffsets)?DateTime.addMonths(e,+r.fiscalYearOffsets[t?0:1]):e};DateTime.newDate=function(e,t,r,n,i,o,s){if(null==e||null==t||null==r){var a=new Date;null==e&&(e=a.getFullYear());null==t&&(t=a.getMonth());null==r&&(r=a.getDate())}null==n&&(n=0);null==i&&(i=0);null==o&&(o=0);null==s&&(s=0);var l=new Date(e,t,r,n,i,o,s),u=l.getFullYear();e<100&&u>=1900&&l.setFullYear(l.getFullYear()-1900);return l};DateTime.clone=function(e){return DateTime.fromDateTime(e,e)};return DateTime}();exports.DateTime=DateTime;function httpRequest(e,t){var r=t||{},n=r.method?asString(r.method).toUpperCase():"GET",i=null==r.async||asBoolean(r.async),o=r.data;if(null!=o&&"GET"==n){var s=[];for(var a in o){var l=o[a];isDate(l)&&(l=l.toJSON());s.push(a+"="+encodeURIComponent(l))}if(s.length){var u=e.indexOf("?")<0?"?":"&";e+=u+s.join("&")}o=null}var c=new XMLHttpRequest;c.URL_DEBUG=e;var p=!1;if(null!=o&&!isString(o)){p=isObject(o);o=JSON.stringify(o)}c.onload=function(){if(4==c.readyState){c.status<300?r.success&&asFunction(r.success)(c):r.error&&asFunction(r.error)(c);r.complete&&asFunction(r.complete)(c)}};c.onerror=function(){if(!isFunction(r.error))throw"HttpRequest Error: "+c.status+" "+c.statusText;r.error(c)};c.open(n,e,i,r.user,r.password);r.user&&r.password&&c.setRequestHeader("Authorization","Basic "+btoa(r.user+":"+r.password));p&&function(){for(var e in r.requestHeaders)if("content-type"===e.toLowerCase())return!1;return!0}()&&c.setRequestHeader("Content-Type","application/json");if(r.requestHeaders)for(var h in r.requestHeaders)c.setRequestHeader(h,r.requestHeaders[h]);isNumber(r.timeout)&&(c.timeout=r.timeout);isFunction(r.beforeSend)&&r.beforeSend(c);c.send(o);return c}exports.httpRequest=httpRequest;var _modules={};function _registerModule(e,t){_modules[e]=t;if("wijmo"===e){var r="undefined"!=typeof window?window:"undefined"!=typeof self?self:null;r&&(r.wijmo=t)}}exports._registerModule=_registerModule;function _getModule(e){return _modules[e]}exports._getModule=_getModule;function focusFirst(e,t){var r=e.querySelectorAll(t||'button, [href], input, [tabindex]:not([tabindex="-1"])'),n=Array.from(r).filter((function(e){return e.offsetWidth>0&&e.offsetHeight>0&&!e.hasAttribute("disabled")&&e.tabIndex>=0}));if(n.length>0){n[0].focus();return!0}return!1}exports.focusFirst=focusFirst;exports.cellCoordinateParserRegex=new RegExp(/(\'?\w+\'?\!)?(\$?[A-Za-z]+)(\$?\d+)/,"g");function getScrollableParent(e){for(var t=document.scrollingElement,r="absolute"==getComputedStyle(e).position?e.offsetParent:e.parentElement;r&&r!=t;){if(r.clientHeight!=r.scrollHeight)return r;e=r="absolute"==getComputedStyle(r).position?r.offsetParent:r.parentElement}return t}exports.getScrollableParent=getScrollableParent;function getOffsetFromAncestor(e,t){for(var r=0,n=0,i=0,o=0;e;){n+=e.offsetLeft;r+=e.offsetTop;e=e.offsetParent}for(;t;){o+=t.offsetLeft;i+=t.offsetTop;t=t.offsetParent}return{top:r-i,left:n-o}}exports.getOffsetFromAncestor=getOffsetFromAncestor;function _isMacOS(){return-1!==navigator.userAgent.indexOf("Mac")}exports._isMacOS=_isMacOS;function _setAriaLabelBy(e,t,r,n){var i=""===r?null:r;if(i!==e.ariaLabelledBy){e._ariaLabelledby=i;setAttribute(t,"aria-labelledby",i);n&&n()}}exports._setAriaLabelBy=_setAriaLabelBy;function deepElementFromPoint(e,t){for(var r=document.elementFromPoint(e,t);r&&r.shadowRoot;){var n=r.shadowRoot.elementFromPoint(e,t);if(!n||n===r)break;r=n}return r}exports.deepElementFromPoint=deepElementFromPoint;function roundTo(e,t){var r=Math.pow(10,t);return Math.round(e*r)/r}exports.roundTo=roundTo;function addAttributeValueToElement(e,t,r){var n=e.getAttribute(t);if(n){if(!n.split(/\s+/).includes(r)){setAttribute(e,t,n+" "+r)}}else setAttribute(e,t,r)}exports.addAttributeValueToElement=addAttributeValueToElement;function removeAttributeValueFromElement(e,t,r){var n=e.getAttribute(t);if(n){var i=r.toString(),o=n.split(/\s+/).filter((function(e){return e!==i}));o.length>0?e.setAttribute(t,o.join(" ")):e.removeAttribute(t)}}exports.removeAttributeValueFromElement=removeAttributeValueFromElement;function replaceItems(e,t){var r=new Map(t.map((function(e){return[""+e.value,e]})));return e.map((function(e){var t=""+e.value;return r.has(t)?r.get(t):e}))}exports.replaceItems=replaceItems;function _getTextDecorations(e){var t=[];if(e){e.underline&&t.push("underline");e.strikethrough&&t.push("line-through")}return t.length?t.join(" "):"none"}exports._getTextDecorations=_getTextDecorations;var _Map=function(){function _Map(e){void 0===e&&(e=!0);if(e)this._h={};else{var t=_getGlobal(),r=t&&t.Map;this._m=r&&new Map||new _ArrayMap}}Object.defineProperty(_Map.prototype,"isPojoHash",{get:function(){return null!=this._h},enumerable:!0,configurable:!0});Object.defineProperty(_Map.prototype,"size",{get:function(){return this._h&&Object.keys(this._h).length||this._m.size},enumerable:!0,configurable:!0});_Map.prototype.clear=function(){this._h?this._h={}:this._m.clear()};_Map.prototype.delete=function(e){this._h?delete this._h[e]:this._m.delete(e)};_Map.prototype.get=function(e){return this._h?this._h[e]:this._m.get(e)};_Map.prototype.has=function(e){return this._h?e in this._h:this._m.has(e)};_Map.prototype.set=function(e,t){this._h?this._h[e]=t:this._m.set(e,t);return this};return _Map}();exports._Map=_Map;var _ArrayMap=function(){function _ArrayMap(){this._d=[]}Object.defineProperty(_ArrayMap.prototype,"size",{get:function(){return this._d.length},enumerable:!0,configurable:!0});_ArrayMap.prototype.clear=function(){this._d=[]};_ArrayMap.prototype.delete=function(e){var t=this._kIdx(e);if(t>-1){this._d.splice(t,1);return!0}return!1};_ArrayMap.prototype.get=function(e){var t=this._kIdx(e);return t>-1?this._d[t].v:void 0};_ArrayMap.prototype.has=function(e){return this._kIdx(e)>-1};_ArrayMap.prototype.set=function(e,t){var r=this._kIdx(e);r>-1?this._d[r].v=t:this._d.push({k:e,v:t});return this};_ArrayMap.prototype._kIdx=function(e){var t=this._d,r=t.length;if(e==e){for(var n=0;n<r;n++)if(t[n].k===e)return n}else for(n=0;n<r;n++){var i=t[n].k;if(i!=i)return n}return-1};return _ArrayMap}();function _getGlobal(){var e=null;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self);return e}var Color=function(){function Color(e){this._r=0;this._g=0;this._b=0;this._a=1;e&&this._parse(e)}Object.defineProperty(Color.prototype,"r",{get:function(){return this._r},set:function(e){this._r=clamp(asNumber(e),0,255)},enumerable:!0,configurable:!0});Object.defineProperty(Color.prototype,"g",{get:function(){return this._g},set:function(e){this._g=clamp(asNumber(e),0,255)},enumerable:!0,configurable:!0});Object.defineProperty(Color.prototype,"b",{get:function(){return this._b},set:function(e){this._b=clamp(asNumber(e),0,255)},enumerable:!0,configurable:!0});Object.defineProperty(Color.prototype,"a",{get:function(){return this._a},set:function(e){this._a=clamp(asNumber(e),0,1)},enumerable:!0,configurable:!0});Color.prototype.equals=function(e){return e instanceof Color&&this.r==e.r&&this.g==e.g&&this.b==e.b&&this.a==e.a};Color.prototype.toString=function(){var e=Math.round(100*this.a);return e>99?"#"+((1<<24)+(this.r<<16)+(this.g<<8)+this.b).toString(16).slice(1):"rgba("+this.r+","+this.g+","+this.b+","+e/100+")"};Color.fromRgba=function(e,t,r,n){void 0===n&&(n=1);var i=new Color(null);i.r=Math.round(clamp(asNumber(e),0,255));i.g=Math.round(clamp(asNumber(t),0,255));i.b=Math.round(clamp(asNumber(r),0,255));i.a=clamp(asNumber(n),0,1);return i};Color.fromHsb=function(e,t,r,n){void 0===n&&(n=1);var i=Color._hsbToRgb(clamp(asNumber(e),0,1),clamp(asNumber(t),0,1),clamp(asNumber(r),0,1));return Color.fromRgba(i[0],i[1],i[2],n)};Color.fromHsl=function(e,t,r,n){void 0===n&&(n=1);var i=Color._hslToRgb(clamp(asNumber(e),0,1),clamp(asNumber(t),0,1),clamp(asNumber(r),0,1));return Color.fromRgba(i[0],i[1],i[2],n)};Color.fromString=function(e){var t=new Color(null);return t._parse(asString(e))?t:null};Color.prototype.getHsb=function(){return Color._rgbToHsb(this.r,this.g,this.b)};Color.prototype.getHsl=function(){return Color._rgbToHsl(this.r,this.g,this.b)};Color.interpolate=function(e,t,r){r=clamp(asNumber(r),0,1);var n=Color._rgbToHsl(e.r,e.g,e.b),i=Color._rgbToHsl(t.r,t.g,t.b),o=1-r,s=e.a*o+t.a*r,a=[n[0]*o+i[0]*r,n[1]*o+i[1]*r,n[2]*o+i[2]*r],l=Color._hslToRgb(a[0],a[1],a[2]);return Color.fromRgba(l[0],l[1],l[2],s)};Color.toOpaque=function(e,t){if(1==(e=isString(e)?Color.fromString(e):asType(e,Color)).a)return e;t=null==t?Color.fromRgba(255,255,255,1):isString(t)?Color.fromString(t):asType(t,Color);var r=e.a,n=1-r;return Color.fromRgba(e.r*r+t.r*n,e.g*r+t.g*n,e.b*r+t.b*n)};Color.prototype._parse=function(e){if("transparent"==(e=e.toLowerCase())){this._r=this._g=this._b=this._a=0;return!0}if(e&&0!=e.indexOf("#")&&0!=e.indexOf("rgb")&&0!=e.indexOf("hsl")){var t=document.createElement("div");t.style.color=e;var r=t.style.color;if(r==e&&!(r=window.getComputedStyle(t).color)){document.body.appendChild(t);r=window.getComputedStyle(t).color;removeChild(t)}e=r.toLowerCase()}if(0==e.indexOf("#")){if(this._isValidHexColor(e)){if(4==e.length){this.r=parseInt(e[1]+e[1],16);this.g=parseInt(e[2]+e[2],16);this.b=parseInt(e[3]+e[3],16);this.a=1;return!0}if(7==e.length){this.r=parseInt(e.substr(1,2),16);this.g=parseInt(e.substr(3,2),16);this.b=parseInt(e.substr(5,2),16);this.a=1;return!0}}return!1}if(0==e.indexOf("rgb")){var n=e.indexOf("("),i=e.indexOf(")");if(n>-1&&i>-1){if((o=e.substr(n+1,i-(n+1)).split(",")).length>2){this.r=parseInt(o[0]);this.g=parseInt(o[1]);this.b=parseInt(o[2]);this.a=o.length>3?parseFloat(o[3]):1;return!0}}}if(0==e.indexOf("hsl")){n=e.indexOf("("),i=e.indexOf(")");if(n>-1&&i>-1){var o;if((o=e.substr(n+1,i-(n+1)).split(",")).length>2){var s=parseInt(o[0])/360,a=parseInt(o[1]),l=parseInt(o[2]);o[1].indexOf("%")>-1&&(a/=100);o[2].indexOf("%")>-1&&(l/=100);var u=Color._hslToRgb(s,a,l);this.r=u[0];this.g=u[1];this.b=u[2];this.a=o.length>3?parseFloat(o[3]):1;return!0}}}return!1};Color.prototype._isValidHexColor=function(e){return/^#([A-Fa-f0-9]{3}|[A-Fa-f0-9]{4}|[A-Fa-f0-9]{6}|[A-Fa-f0-9]{8})$/.test(e)};Color._hslToRgb=function(e,t,r){assert(e>=0&&e<=1&&t>=0&&t<=1&&r>=0&&r<=1,"bad HSL values");var n,i,o;if(0==t)n=i=o=r;else{var s=r<.5?r*(1+t):r+t-r*t,a=2*r-s;n=Color._hue2rgb(a,s,e+1/3);i=Color._hue2rgb(a,s,e);o=Color._hue2rgb(a,s,e-1/3)}return[Math.round(255*n),Math.round(255*i),Math.round(255*o)]};Color._hue2rgb=function(e,t,r){r<0&&(r+=1);r>1&&(r-=1);return r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e};Color._rgbToHsl=function(e,t,r){assert(e>=0&&e<=255&&t>=0&&t<=255&&r>=0&&r<=255,"bad RGB values");e/=255,t/=255,r/=255;var n,i,o=Math.max(e,t,r),s=Math.min(e,t,r),a=(o+s)/2;if(o==s)n=i=0;else{var l=o-s;i=a>.5?l/(2-o-s):l/(o+s);switch(o){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return[n,i,a]};Color._rgbToHsb=function(e,t,r){assert(e>=0&&e<=255&&t>=0&&t<=255&&r>=0&&r<=255,"bad RGB values");var n=Color._rgbToHsl(e,t,r);return Color._hslToHsb(n[0],n[1],n[2])};Color._hsbToRgb=function(e,t,r){var n=Color._hsbToHsl(e,t,r);return Color._hslToRgb(n[0],n[1],n[2])};Color._hsbToHsl=function(e,t,r){assert(e>=0&&e<=1&&t>=0&&t<=1&&r>=0&&r<=1,"bad HSB values");var n=clamp(r*(2-t)/2,0,1),i=1-Math.abs(2*n-1),o=clamp(i>0?r*t/i:t,0,1);assert(!isNaN(n)&&!isNaN(o),"bad conversion to HSL");return[e,o,n]};Color._hslToHsb=function(e,t,r){assert(e>=0&&e<=1&&t>=0&&t<=1&&r>=0&&r<=1,"bad HSL values");var n=clamp(1==r?1:(2*r+t*(1-Math.abs(2*r-1)))/2,0,1),i=clamp(n>0?2*(n-r)/n:t,0,1);assert(!isNaN(n)&&!isNaN(i),"bad conversion to HSB");return[e,i,n]};return Color}();exports.Color=Color;exports.culture="undefined"!=typeof window&&window.wijmo&&window.wijmo.culture||{Globalize:{numberFormat:{".":".",",":",","-":"-","+":"+","%":"%",percent:{pattern:["-n%","n%"]},currency:{decimals:2,symbol:"$",pattern:["($n)","$n"]}},calendar:{"/":"/",":":":",firstDay:0,days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],am:["AM","A"],pm:["PM","P"],eras:["A.D.","B.C."],patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",f:"dddd, MMMM dd, yyyy h:mm tt",F:"dddd, MMMM dd, yyyy h:mm:ss tt",t:"h:mm tt",T:"h:mm:ss tt",M:"MMMM d",m:"MMMM d",Y:"MMMM, yyyy",y:"MMMM, yyyy",g:"M/d/yyyy h:mm tt",G:"M/d/yyyy h:mm:ss tt",s:'yyyy"-"MM"-"dd"T"HH":"mm":"ss',o:'yyyy"-"MM"-"dd"T"HH":"mm":"ss"."fffffffK',O:'yyyy"-"MM"-"dd"T"HH":"mm":"ss"."fffffffK',U:"dddd, MMMM dd, yyyy h:mm:ss tt"},fiscalYearOffsets:[-3,-3]}}};var Globalize=function(){function Globalize(){}Globalize.format=function(e,t,r,n,i){if(isString(e))return e;if(isNumber(e)){t=t||(e==Math.round(e)?"n0":"n2");return Globalize.formatNumber(e,t,r,n,i)}if(isDate(e)){t=t||Globalize.DefaultDateFormat;return Globalize.formatDate(e,t)}return null!=e?e.toString():""};Globalize.formatNumber=function(e,t,r,n,i){e=asNumber(e);t=asString(t);var o,s=exports.culture.Globalize.numberFormat,a=Globalize._parseNumericFormat(t),l=a.spec,u=a.prec,c=s["."]||".",p=s[","]||",",h=s["-"]||"-",d=Math;null==u&&(u=null!=i?i:"c"==l?s.currency.decimals:"e"==l?6:"r"==l?15:e==d.round(e)?0:2);a.scale&&(e/=d.pow(10,a.scale));if("d"==l||"x"==l){o=(n?d.floor:d.round)(d.abs(e)).toString("d"==l?10:16);for(;o.length<u;)o="0"+o;e<0&&(o=h+o);return"X"==a.specRaw?o.toUpperCase():o}n&&"p"!=l&&"e"!=l&&(e=toFixed(e,u,!0));switch(l){case"e":o=e.toExponential(u);"E"==a.specRaw&&(o=o.replace("e","E"));break;case"c":o=Globalize._toFixedStr(d.abs(e),u);break;case"p":e=Globalize._shiftDecimal(e,2,14);n&&(e=toFixed(e,u,n));o=Globalize._toFixedStr(d.abs(e),u);break;default:"-"!=(o=Globalize._toFixedStr(e,u))[0]||o.match(/[1-9]/)||(o=o.substr(1))}(r||"g"==l||"r"==l)&&o.indexOf(".")>-1&&(o=o.replace(/(\.\d*?)0+$/g,"$1").replace(/\.$/,""));"."!=c&&(o=o.replace(".",c));"-"!=h&&(o=o.replace("-",h));if(p&&("n"==l||"c"==l||"p"==a.specRaw||"F"==a.specRaw||"G"==a.specRaw)){var g=o.indexOf(c),_=/\B(?=(\d\d\d)+(?!\d))/g;o=g>-1?o.substr(0,g).replace(_,p)+o.substr(g):o.replace(_,p)}if("c"==l){var m=e<0&&o.match(/[1-9]/)?0:1,v=s.currency.pattern[m],b=a.curr||s.currency.symbol;"​"==b&&(b="");o=v.replace("n",o).replace("$",b)}if("p"==l){m=e<0&&o.match(/[1-9]/)?0:1,v=s.percent.pattern[m];var y=s["%"]||"%";o=v.replace("n",o);"%"!=y&&(o=o.replace("%",y));"-"!=h&&0==m&&(o=o.replace("-",h))}return a.prefix||a.suffix?a.prefix+o+a.suffix:o};Globalize.formatDate=function(e,t){e=asDate(e);switch(t){case"r":case"R":return e.toUTCString();case"u":return e.toISOString().replace(/\.\d{3}/,"")}t=Globalize._expandFormat(t);return Globalize._parseDateFormat(t).map((function(r){return Globalize._formatDatePart(e,t,r)})).join("")};Globalize.parseInt=function(e,t){return Math.round(Globalize.parseFloat(e,t))};Globalize.parseFloat=function(e,t){var r=Globalize._parseNumericFormat(t),n=r.prefix;n&&0==e.indexOf(n)&&(e=e.substring(n.length));var i=r.suffix;if(i){var o=e.lastIndexOf(i);o>-1&&o==e.length-i.length&&(e=e.substring(0,e.length-i.length))}var s=exports.culture.Globalize.numberFormat,a=s["."]||".",l=s[","]||",",u=s["-"]||"-",c=s["%"]||"%",p=r.curr||s.currency.symbol||"$",h=e.indexOf(c)>-1,d=e.indexOf("(")>-1&&e.indexOf(")")>-1,g=0;if("x"==r.spec)g=parseInt(e,16);else{[p,c,"(",")"].forEach((function(t){e=e.replace(t,"")}));/\s/.test(l)&&(e=e.replace(/\s+/g,""));var _=(e=e.replace(new RegExp("\\"+l,"g"),"").replace(new RegExp("\\"+u,"g"),"-").replace(/(\+|\-)\s+/g,"$1").replace(a,".").trim()).length;if(!d&&_&&"-"==e[_-1]){d=!0;e=e.substring(0,_-1)}g=/^\s*(\+|\-)?\d*(\.\d*)?(\s*E(\+|\-)?\d+)?\s*$/i.test(e)?parseFloat(e):Number.NaN}if(!isNaN(g)){d=d||g<0;g=Math.abs(g);h&&(g=Globalize._shiftDecimal(g,-2));d&&(g=-g);r.scale&&(g*=Math.pow(10,r.scale))}return g};Globalize.parseDate=function(e,t,r){if(!(e=asString(e)))return null;if("u"==t)return new Date(e);var n;if("R"==t||"r"==t){var i=e.match(/((\d+)\-(\d+)\-(\d+))?\s?((\d+):(\d+)(:(\d+))?)?/);if(i[1]||i[5]){n=i[1]?new Date(parseInt(i[2]),parseInt(i[3])-1,parseInt(i[4])):new Date;if(i[5]){n.setHours(parseInt(i[6]));n.setMinutes(parseInt(i[7]));n.setSeconds(i[8]?parseInt(i[9]):0)}}else n=new Date(e);return isNaN(n.getTime())?null:n}t=Globalize._expandFormat(t||"d");var o=exports.culture.Globalize.calendar,s=Globalize._CJK,a=new RegExp("(\\"+o["/"]+")|(\\"+o[":"]+")|(\\d+)|(["+s+"\\.]{2,})|(["+s+"]+)","gi"),l=e.match(a),u=Globalize._parseDateFormat(t),c=0;if(!(l&&l.length&&u&&u.length))return null;var p,h,d,g,_,m=-1,v=0,b=1,y=0,C=0,w=0,E=0,x=-1,A=null;if(r=asDate(r,!0)){v=r.getMonth();b=r.getDate();y=r.getHours();C=r.getMinutes();w=r.getSeconds();E=r.getMilliseconds()}for(var P=0;P<u.length&&l;P++){var T=P-c,I=T>-1&&T<l.length?l[T]:"",S=u[P].length;switch(u[P]){case"EEEE":case"EEE":case"EE":case"E":case"eeee":case"eee":case"ee":case"e":_=u[P];case"yyyy":case"yyy":case"yy":case"y":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}m=parseInt(I);g=4==I.length;break;case"MMMM":case"MMM":d=!0;v=-1;for(var O=I.toLowerCase(),D="MMMM"==u[P]?o.months:o.monthsAbbr,k=0;k<12;k++)if(0==D[k].toLowerCase().indexOf(O)){v=k;break}if(v>-1)break;case"MM":case"M":d=!0;if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}v=parseInt(I)-1;break;case"dddd":case"ddd":p=!0;break;case"dd":case"d":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}b=parseInt(I);h=!0;break;case"hh":case"h":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}y=12==(y=parseInt(I))?0:y;break;case"HH":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}y=parseInt(I);break;case"H":y=parseInt(I);break;case"mm":case"m":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}C=parseInt(I);break;case"ss":case"s":if(S>1&&I.length>S){l[T]=I.substr(S);I=I.substr(0,S);c++}w=parseInt(I);break;case"fffffff":case"FFFFFFF":case"ffffff":case"FFFFFF":case"fffff":case"FFFFF":case"ffff":case"FFFF":case"fff":case"FFF":case"ff":case"FF":case"f":case"F":E=parseInt(I)/Math.pow(10,S-3);break;case"tt":case"t":I=I.toUpperCase();y<12&&o.pm.indexOf(I)>-1&&(y+=12);break;case"q":case"Q":case"u":case"U":x=parseInt(I);break;case"ggg":case"gg":case"g":case'"г."':A=o.eras.length>1?Globalize._getEra(I,o):o.eras.length>0?o.eras[0]:null;if(o.eras.length>0&&!A)return null;break;case"/":case":":if(I&&I!=o[u[P]])return null;break;case o["/"]:case o[":"]:if(I&&I!=u[P])return null;break;case"K":break;default:Globalize._unquote(u[P]).trim()!=I.trim()&&c++}}if(d&&h){isNaN(y)&&(y=0);isNaN(C)&&(C=0);isNaN(w)&&(w=0)}if(v<0||v>11||isNaN(v)||b<1||b>31||isNaN(b)||y<0||y>=24||isNaN(y)||C<0||C>=60||isNaN(C)||w<0||w>=60||isNaN(w))return null;if(l.length+c>u.length)return null;if(_){if(!d)return null;var F=exports.culture.Globalize.calendar;if(isArray(F.fiscalYearOffsets)){var M="E"==_[0],R=v-F.fiscalYearOffsets[M?0:1];m+=R>11?-1:R<0?1:0}}if(p&&!h)return null;!d&&x>=1&&x<=4&&(v=3*(x-1));if(isNaN(m)||m<0)m=r?r.getFullYear():(new Date).getFullYear();else if(A&&A.start)m=m+A.start.getFullYear()-1;else if(m<100&&!g){var L=isNumber(o.twoDigitYearMax)?o.twoDigitYearMax:2029;L>99&&(m+=m+2e3<=L?2e3:1900)}return(n=DateTime.newDate(m,v,b,y,C+0,w,E)).getMonth()!=v||n.getDate()!=b||isNaN(n.getTime())?null:n};Globalize.getFullFormat=function(e){return Globalize._expandFormat(e)};Globalize.getFirstDayOfWeek=function(){var e=exports.culture.Globalize.calendar.firstDay;return e||0};Globalize.getNumberDecimalSeparator=function(){var e=exports.culture.Globalize.numberFormat["."];return e||"."};Globalize._toFixedStr=function(e,t){var r=e.toString(),n=r.indexOf("."),i=t-(r.length-n)+1,o=r.indexOf("e")>-1;if(!o&&n>-1&&i>=0)return r+Array(i+1).join("0");if(n>-1&&!o&&"5"==r[r.length-1]){e=+(Math.round(+(Math.abs(e)+"e"+t))+"e"+-t)*(e<0?-1:1)}return e.toFixed(t)};Globalize._unquote=function(e){return e.length>1&&e[0]==e[e.length-1]&&("'"==e[0]||'"'==e[0])?e.substr(1,e.length-2):e};Globalize._parseNumericFormat=function(e){var t=Globalize._numFormatInfo[e];if(!t){var r=e&&e.match(/(\"(.*?)\"\s*)?([a-z]+)\s*(\d*)\s*(,*)(\s*\"(.*?)\"\s*)?(.*)/i)||[],n=r[3]?r[3]:"n";if(n.length>1){r=[];n="n"}t={prefix:r[2]||"",spec:n.toLowerCase(),specRaw:n,prec:r[4]?parseInt(r[4]):null,scale:r[5]?3*r[5].length:0,suffix:r[7]||"",curr:r[8]||null};Globalize._numFormatInfo[e]=t}return t};Globalize._parseDateFormat=function(e){var t=Globalize._dateFormatParts[e];if(!t){t=[];if(e){var r=void 0,n=void 0;for(r=0;r>-1&&r<e.length;r++){var i=e[r];if(("'"==i||'"'==i)&&(n=e.indexOf(i,r+1))>-1){t.push(e.substring(r,n+1));r=n}else if("\\"==i&&r<e.length-1){r++;t.push('"'+e[r]+'"')}else{n=r+1;for(;n<e.length&&e[n]==i;n++);t.push(e.substring(r,n));r=n-1}}}Globalize._dateFormatParts[e]=t}return t};Globalize._formatDatePart=function(e,t,r){var n,i=exports.culture.Globalize.calendar,o=null,s=0,a=0,l=r.length;switch(r){case"yyyy":case"yyy":case"yy":case"y":case"EEEE":case"EEE":case"EE":case"E":case"eeee":case"eee":case"ee":case"e":s=(n="E"==r[0]?DateTime.toFiscal(e,!0):"e"==r[0]?DateTime.toFiscal(e,!1):e).getFullYear();i.eras.length>1&&t.indexOf("g")>-1&&(o=Globalize._getEra(e,i))&&(s=isDate(o.start)?s-o.start.getFullYear()+1:Math.abs(s));var u=r.length<3?s%100:3==r.length?s%1e3:s;return Globalize._zeroPad(u,r.length);case"MMMMM":return i.monthsAbbr[e.getMonth()][0];case"MMMM":return i.months[e.getMonth()];case"MMM":return i.monthsAbbr[e.getMonth()];case"MM":case"M":return Globalize._zeroPad(e.getMonth()+1,l);case"dddd":return i.days[e.getDay()];case"ddd":return i.daysAbbr[e.getDay()];case"dd":return Globalize._zeroPad(e.getDate(),2);case"d":return e.getDate().toString();case"hh":case"h":return Globalize._zeroPad(Globalize._h12(e),l);case"HH":case"H":return Globalize._zeroPad(e.getHours(),l);case"mm":case"m":return Globalize._zeroPad(e.getMinutes(),l);case"ss":case"s":return Globalize._zeroPad(e.getSeconds(),l);case"fffffff":case"FFFFFFF":case"ffffff":case"FFFFFF":case"fffff":case"FFFFF":case"ffff":case"FFFF":case"fff":case"FFF":case"ff":case"FF":case"f":case"F":a=e.getMilliseconds()*Math.pow(10,l-3);return"f"==r[0]?Globalize._zeroPad(a,l):a.toFixed(0);case"tt":return e.getHours()<12?i.am[0]:i.pm[0];case"t":return e.getHours()<12?i.am[1]:i.pm[1];case"q":case"Q":return(Math.floor(e.getMonth()/3)+1).toString();case"u":case"U":n=DateTime.toFiscal(e,"U"==r);return(Math.floor(n.getMonth()/3)+1).toString();case"ggg":case"gg":case"g":if(i.eras.length>1&&(o=Globalize._getEra(e,i))){if(isString(o))return o;switch(r){case"gg":return o.name[0];case"g":return o.symbol;default:return o.name}}return i.eras[0];case":":case"/":return i[r];case"K":var c=e.toString().match(/(\+|\-)(\d{2})(\d{2})/);return c?c[1]+c[2]+c[3]:"";case"zzz":case"zz":case"z":var p=-e.getTimezoneOffset(),h=Math.abs(p),d=Globalize.formatNumber,g=void 0;switch(r){case"zzz":g=d(h/60,"d2",!1,!0)+i[":"]+d(h%60,"d2",!1,!0);break;case"zz":g=d(h/60,"d2",!1,!0);break;case"z":g=d(h/60,"d1",!1,!0)}return(p>=0?"+":"-")+g}return l>1&&r[0]==r[l-1]&&('"'==r[0]||"'"==r[0])?r.substr(1,l-2):r};Globalize._getEra=function(e,t){if(t.eras){var r=t.eras,n=t.eras.length;if(isDate(e)){if(isString(r[0]))return r[e.getFullYear()>=0?0:1];if(isDate(r[0].start)){for(var i=0;i<n;i++)if(e>=r[i].start)return r[i];return r[n-1]}}else if(isString(e)&&e.length>0){e=e.toLowerCase();for(i=0;i<n;i++){var o=r[i];if(isString(o)){if(0==o.toLowerCase().indexOf(e))return o}else if(o.name&&0==o.name.toLowerCase().indexOf(e)||o.symbol&&0==o.symbol.toLowerCase().indexOf(e))return o}}}return null};Globalize._expandFormat=function(e){var t=exports.culture.Globalize.calendar.patterns[e];return t||e};Globalize._zeroPad=function(e,t){var r=e.toFixed(0),n=t-r.length+1;return n>0?Array(n).join("0")+r:r};Globalize._h12=function(e){var t=exports.culture.Globalize.calendar,r=e.getHours();t.am&&t.am[0]&&0==(r%=12)&&(r=12);return r};Globalize._shiftDecimal=function(e,t,r){if(0==t||isNaN(e))return e;var n=e.toString();if(n.indexOf("e")>-1){var i=e*Math.pow(10,t);null!=r&&(i=parseFloat(i.toFixed(r)));return i}var o=Array(Math.abs(t)+1).join("0");t<0&&(n=o+n);var s=n.indexOf(".");s<0&&(s=(n+=".").indexOf("."));t>0&&(n+=o);s+=t;n=(n=n.replace(".","")).substr(0,s)+"."+n.substr(s);return parseFloat(n)};Globalize.DefaultDateFormat="d";Globalize._CJK="a-z"+"u00c0-u017fu3000-u30ffu4e00-u9faf".replace(/u/g,"\\u")+"u1100-u11ffu3130-u318fua960-ua97fuac00-ud7afud7b0-ud7ff".replace(/u/g,"\\u");Globalize._numFormatInfo={};Globalize._dateFormatParts={};return Globalize}();exports.Globalize=Globalize;exports._loadedCultures="undefined"!=typeof window&&window.wijmo&&window.wijmo._loadedCultures||{};function _updateCulture(e){exports.culture=e;exports._loadedCultures[e.Globalize.name]=e}exports._updateCulture=_updateCulture;function _addCultureInfo(e,t){var r="undefined"!=typeof window?window.wijmo:null,n=r?r.culture:null,i=n?n[e]:null;exports.culture[e]=i||t}exports._addCultureInfo=_addCultureInfo;exports.changeCultureSync=function(e,t){for(var r=document.getElementsByTagName("script"),n=0;n<r.length;n++){var i=r[n];if(i.src.indexOf("wijmo.culture.")>-1){i.parentElement.removeChild(i);break}}var o=exports._loadedCultures[e]||void 0;if(o){var s=window.wijmo._updateCulture;s?s(o):window.wijmo.culture=o;t&&t();window.wijmo.Control.invalidateAll()}return o};exports.changeCulture=function(e){return new Promise((function(t,r){var n=exports.changeCultureSync(e);n?t(n):r()}))};var _MaskProvider=function(){function _MaskProvider(e,t,r){void 0===t&&(t="");void 0===r&&(r="_");this._promptChar="_";this._mskArr=[];this._overWrite=!1;this._full=!0;this._inputBnd=this._input.bind(this);this._keydownBnd=this._keydown.bind(this);this._keypressBnd=this._keypress.bind(this);this._cmpstartBnd=this._cmpstart.bind(this);this._cmpendBnd=this._cmpend.bind(this);this.mask=asString(t);this.input=e;this.promptChar=asString(r,!1);this._connect(!0);(this._evtInput=document.createEvent("HTMLEvents")).initEvent("input",!0,!1)}Object.defineProperty(_MaskProvider.prototype,"input",{get:function(){return this._tbx},set:function(e){this._connect(!1);this._tbx=e;this._connect(!0)},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"mask",{get:function(){return this._msk},set:function(e){if(e!=this._msk){this._msk=asString(e,!0);this._parseMask();this._valueChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"promptChar",{get:function(){return this._promptChar},set:function(e){if(e!=this._promptChar){assert(1==(e=asString(e,!1)).length,"promptChar must be a string with length 1.");for(var t=this._tbx,r=t.value,n="",i=this._mskArr,o=this._promptChar,s=0;s<r.length;s++){var a=i[s],l=r[s];a&&a.literal||l!==o||(l=e);n+=l}t.value=n;this._promptChar=e}},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"overwriteMode",{get:function(){return this._overWrite},set:function(e){this._overWrite=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(_MaskProvider.prototype,"maskFull",{get:function(){return this._full},enumerable:!0,configurable:!0});_MaskProvider.prototype.getMaskRange=function(){return this._mskArr.length?[this._firstPos,this._lastPos]:[0,this._tbx.value.length-1]};_MaskProvider.prototype.getRawValue=function(){var e=this._tbx?this._tbx.value:"";if(!this.mask)return e;for(var t="",r=0;r<this._mskArr.length&&r<e.length;r++)this._mskArr[r].literal||e[r]==this._promptChar||(t+=e[r]);return t};_MaskProvider.prototype.refresh=function(){this._parseMask();this._valueChanged()};_MaskProvider.prototype._input=function(e){var t=this;if(this._msk&&!this._composing&&e!=this._evtInput){e.preventDefault();e.stopImmediatePropagation();setTimeout((function(){t._valueChanged();t._tbx&&t._tbx.dispatchEvent(t._evtInput)}))}};_MaskProvider.prototype._keydown=function(e){if(e.keyCode==Key.Back){var t=this._tbx.selectionStart,r=this._tbx.selectionEnd;if(t<=this._firstPos&&r==t){e.preventDefault();this._backSpace=!1;return}}this._backSpace=e.keyCode==Key.Back};_MaskProvider.prototype._keypress=function(e){e.ctrlKey||e.metaKey||e.altKey||this._composing||!this._preventKey(e.charCode)||e.preventDefault()};_MaskProvider.prototype._cmpstart=function(e){this._composing=!0};_MaskProvider.prototype._cmpend=function(e){var t=this;if(this._composing){this._composing=!1;setTimeout((function(){var e=t._tbx;e&&t._valueChanged()&&e.dispatchEvent(t._evtInput)}))}};_MaskProvider.prototype._preventKey=function(e){if(e&&this._mskArr.length){var t=this._tbx,r=t.selectionStart,n=String.fromCharCode(e);r<this._firstPos&&setSelectionRange(t,r=this._firstPos);if(r>=this._mskArr.length)return!0;var i=this._mskArr[r];if(i.literal)this._validatePosition(r);else if(i.wildCard!=n&&!this._isCharValid(i.wildCard,n))return!0}return!1};_MaskProvider.prototype._connect=function(e){var t=this._tbx;if(t){assert(t instanceof HTMLInputElement||t instanceof HTMLTextAreaElement,"INPUT or TEXTAREA element expected.");if(e){this._autoComplete=t.autocomplete;this._spellCheck=t.spellcheck;t.autocomplete="off";t.spellcheck=!1;t.addEventListener("input",this._inputBnd,!0);t.addEventListener("keydown",this._keydownBnd,!0);t.addEventListener("keypress",this._keypressBnd,!0);t.addEventListener("compositionstart",this._cmpstartBnd,!0);t.addEventListener("compositionend",this._cmpendBnd,!0);t.addEventListener("blur",this._cmpendBnd,!0);this._valueChanged()}else{t.autocomplete=this._autoComplete;t.spellcheck=this._spellCheck;t.removeEventListener("input",this._inputBnd,!0);t.removeEventListener("keydown",this._keydownBnd,!0);t.removeEventListener("keypress",this._keypressBnd,!0);t.removeEventListener("compositionstart",this._cmpstartBnd,!0);t.removeEventListener("compositionend",this._cmpendBnd,!0);t.removeEventListener("blur",this._cmpendBnd,!0)}}};_MaskProvider.prototype._valueChanged=function(){if(!this._tbx||!this._msk)return!1;var e=this._tbx,t=e.selectionStart,r=t>0?e.value[t-1]:"",n=e.value;e.value=this._applyMask();""==n&&(t=this._firstPos+1);var i=t>0?e.value[t-1]:"";t>0&&i==this._promptChar&&r!=this.promptChar&&t--;t==n.length&&(t=this._matchEnd);this._validatePosition(t);return n!=e.value};_MaskProvider.prototype._applyMask=function(){var e=this._tbx,t=e.value;this._full=!0;this._matchEnd=0;if(!this._msk)return t;if(!t&&!e.required)return t;if(this._overWrite){var r=e.selectionStart;e==document.activeElement&&e.selectionEnd==r&&t.length>this.mask.length&&(t=t.substr(0,r)+t.substr(r+t.length-this.mask.length))}t=this._handleVagueLiterals(t);for(var n="",i=0,o=this._promptChar,s=0;s<this._mskArr.length;s++){var a=this._mskArr[s],l=a.literal;l&&l==t[i]&&i++;if(a.wildCard){l=o;if(t){for(var u=i;u<t.length;u++)if(this._isCharValid(a.wildCard,t[u])){l=t[u];switch(a.charCase){case">":l=l.toUpperCase();break;case"<":l=l.toLowerCase()}l!=o&&(this._matchEnd=n.length+1);break}i=u+1}l==o&&(this._full=!1)}n+=l}return n};_MaskProvider.prototype._handleVagueLiterals=function(e){if(e.length>this._mskArr.length+1)return e;var t=e.length-this._mskArr.length;if(0!=t&&e.length>1){for(var r=-1,n=this._backSpace,i=this._tbx,o=i==getActiveElement()?i.selectionStart:i.value.length,s=Math.max(0,o-t);s<this._mskArr.length;s++)if(this._mskArr[s].vague){r=s;break}if(r>-1)if(t<0){if(n)for(;r>0&&this._mskArr[r-1].literal;)r--;var a=Array(1-t).join(this._promptChar),l=r+t;l>-1&&(e=e.substr(0,l)+a+e.substr(l-t))}else{for(;r>0&&this._mskArr[r-1].literal;)r--;e=e.substr(0,r)+e.substr(r+t)}}return e};_MaskProvider.prototype._isCharValid=function(e,t){if(t==this._promptChar)return!0;switch(e){case"0":return this._isDigit(t);case"9":return this._isDigit(t)||" "==t;case"#":return this._isDigit(t)||" "==t||"+"==t||"-"==t;case"L":return this._isLetter(t);case"l":return this._isLetter(t)||" "==t;case"A":return this._isDigit(t)||this._isLetter(t);case"a":return this._isDigit(t)||this._isLetter(t)||" "==t;case"9":return t>="0"&&t<="9";case"J":case"G":return!("G"==e&&_MaskProvider._X_DBCS_BIG_HIRA.indexOf(t)>-1)&&(t>="ぁ"&&t<="ゟ");case"K":case"N":return!("N"==e&&_MaskProvider._X_DBCS_BIG_KATA.indexOf(t)>-1)&&(t>="゠"&&t<="ヿ");case"Z":return!(t>="ヲ"&&t<="゚")&&(t<" "||t>"ÿ");case"H":return t>="!"&&t<="ÿ"||t>="ヲ"&&t<="゚";case"K":case"N":return!("N"==e&&_MaskProvider._X_SBCS_BIG_KATA.indexOf(t)>-1)&&(t>="ヲ"&&t<="゚")}return!1};_MaskProvider.prototype._isDigit=function(e){return e>="0"&&e<="9"};_MaskProvider.prototype._isLetter=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"};_MaskProvider.prototype._validatePosition=function(e){var t=this._mskArr;if(this._backSpace)for(;e>0&&e<t.length&&t[e-1].literal;)e--;if(0==e||!this._backSpace)for(;e<t.length&&t[e].literal;)e++;getActiveElement()==this._tbx&&setSelectionRange(this._tbx,e);this._backSpace=!1};_MaskProvider.prototype._parseMask=function(){this._mskArr=[];this._firstPos=-1;this._lastPos=-1;for(var e,t=this._msk,r="|",n=0;t&&n<t.length;n++)switch(t[n]){case"0":case"9":case"#":case"A":case"a":case"L":case"l":case"9":case"J":case"G":case"K":case"N":case"Z":case"K":case"N":case"H":this._firstPos<0&&(this._firstPos=this._mskArr.length);this._lastPos=this._mskArr.length;this._mskArr.push(new _MaskElement(t[n],r));break;case".":case",":case":":case"/":case"$":switch(t[n]){case".":case",":e=exports.culture.Globalize.numberFormat[t[n]];break;case":":case"/":e=exports.culture.Globalize.calendar[t[n]];break;case"$":e=exports.culture.Globalize.numberFormat.currency.symbol}for(var i=0;i<e.length;i++)this._mskArr.push(new _MaskElement(e[i]));break;case"<":case">":case"|":r=t[n];break;case"\\":n<t.length-1&&n++;this._mskArr.push(new _MaskElement(t[n]));break;default:this._mskArr.push(new _MaskElement(t[n]))}for(n=0;n<this._mskArr.length;n++){var o=this._mskArr[n];if(o.literal)for(i=0;i<this._mskArr.length;i++){var s=this._mskArr[i];if(s.wildCard&&this._isCharValid(s.wildCard,o.literal)){o.vague=!0;break}}}};_MaskProvider.prototype.dispose=function(){this._connect(!1);this._tbx=null;this._inputBnd=null;this._keydownBnd=null;this._keypressBnd=null;this._cmpstartBnd=null;this._cmpendBnd=null;this._mskArr=null;this._evtInput=null};_MaskProvider._X_DBCS_BIG_HIRA="ぁぃぅぇぉっゃゅょゎゕゖ";_MaskProvider._X_DBCS_BIG_KATA="ァィゥェォッャュョヮヵヶ";_MaskProvider._X_SBCS_BIG_KATA="ァィゥェォャュョッ";return _MaskProvider}();exports._MaskProvider=_MaskProvider;var Aggregate,_MaskElement=function _MaskElement(e,t){if(t){this.wildCard=e;this.charCase=t}else this.literal=e};exports._MaskElement=_MaskElement;!function(e){e[e.None=0]="None";e[e.Sum=1]="Sum";e[e.Cnt=2]="Cnt";e[e.Avg=3]="Avg";e[e.Max=4]="Max";e[e.Min=5]="Min";e[e.Rng=6]="Rng";e[e.Std=7]="Std";e[e.Var=8]="Var";e[e.StdPop=9]="StdPop";e[e.VarPop=10]="VarPop";e[e.CntAll=11]="CntAll";e[e.First=12]="First";e[e.Last=13]="Last"}(Aggregate=exports.Aggregate||(exports.Aggregate={}));function getAggregate(e,t,r,n){var i=0,o=0,s=0,a=0,l=null,u=null,c=null,p=r?new Binding(r):null;if((e=asEnum(e,Aggregate))==Aggregate.CntAll)return t.length;for(var h=0;h<t.length;h++){var d=t[h];p&&(d=p.getValue(d));if(null!=d){if(e==Aggregate.First)return d;i++;(null==l||d<l)&&(l=d);(null==u||d>u)&&(u=d);c=d;d&&"string"==typeof d&&d.length>1&&"="===d[0]&&"="!==d[1]&&n&&"function"==typeof n.evaluate&&(d=n.evaluate(d));if(isNumber(d)&&!isNaN(d)){o++;s+=d;a+=d*d}else if(isBoolean(d)){o++;if(1==d){s++;a++}}}}var g=0==o?0:s/o;switch(e){case Aggregate.Avg:return g;case Aggregate.Cnt:return i;case Aggregate.Max:return u;case Aggregate.Min:return l;case Aggregate.Rng:return u-l;case Aggregate.Sum:return s;case Aggregate.VarPop:return o<=1?0:a/o-g*g;case Aggregate.StdPop:return o<=1?0:Math.sqrt(a/o-g*g);case Aggregate.Var:return o<=1?0:(a/o-g*g)*o/(o-1);case Aggregate.Std:return o<=1?0:Math.sqrt((a/o-g*g)*o/(o-1));case Aggregate.Last:return c;case Aggregate.First:return null}throw"Invalid aggregate type."}exports.getAggregate=getAggregate;function extend(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e}var ArrayBase=function(e){__extends(ArrayBase,e);function ArrayBase(){var t=this;canChangePrototype?t.length=0:t=e.call(this)||this;return t}return ArrayBase}(Array);exports.ArrayBase=ArrayBase;var canChangePrototype=!0;try{extend(ArrayBase.prototype,Array.prototype);canChangePrototype=ArrayBase.prototype.length===Array.prototype.length}catch(e){canChangePrototype=!1}var symb="undefined"!=typeof window?window.Symbol:null;!canChangePrototype&&symb&&symb.species&&Object.defineProperty(ArrayBase,symb.species,{get:function(){return Array},enumerable:!1,configurable:!1});var SortNulls,ObservableArray=function(e){__extends(ObservableArray,e);function ObservableArray(t){var r=e.call(this)||this;r._updating=0;r.collectionChanged=new Event;if(t){t=asArray(t);r._updating++;for(var n=0;n<t.length;n++)r.push(t[n]);r._updating--}return r}ObservableArray.prototype.push=function(){for(var t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];r.forEach((function(r){e.prototype.push.call(t,r);t._raiseCollectionChanged(NotifyCollectionChangedAction.Add,r,t.length-1)}));return this.length};ObservableArray.prototype.shift=function(){var t=e.prototype.shift.call(this);this._raiseCollectionChanged(NotifyCollectionChangedAction.Remove,t,0);return t};ObservableArray.prototype.unshift=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=e.prototype.unshift.apply(this,t);1==t.length?this._raiseCollectionChanged(NotifyCollectionChangedAction.Add,t[0],0):this._raiseCollectionChanged();return n};ObservableArray.prototype.pop=function(){var t=e.prototype.pop.call(this);this._raiseCollectionChanged(NotifyCollectionChangedAction.Remove,t,this.length);return t};ObservableArray.prototype.splice=function(t,r){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var o,s=NotifyCollectionChangedAction,a=this._raiseCollectionChanged.bind(this);if(r&&n.length){o=e.prototype.splice.apply(this,[t,r].concat(n));1==r&&1==n.length?a(s.Change,n[0],t):a()}else if(n.length){o=e.prototype.splice.apply(this,[t,0].concat(n));1==n.length?a(s.Add,n[0],t):a()}else{o=e.prototype.splice.call(this,t,r);1==r?a(s.Remove,o[0],t):a()}return o};ObservableArray.prototype.slice=function(t,r){return e.prototype.slice.call(this,t,r)};ObservableArray.prototype.indexOf=function(t,r){return e.prototype.indexOf.call(this,t,r)};ObservableArray.prototype.sort=function(t){var r=e.prototype.sort.call(this,t);this._raiseCollectionChanged();return r};ObservableArray.prototype.insert=function(e,t){this.splice(e,0,t)};ObservableArray.prototype.remove=function(e){var t=this.indexOf(e);t>-1&&this.removeAt(t);return t>-1};ObservableArray.prototype.removeAt=function(e){this.splice(e,1)};ObservableArray.prototype.setAt=function(e,t){e>=this.length&&(this.length=e+1);this.splice(e,1,t)};ObservableArray.prototype.clear=function(){this.length&&this.splice(0,this.length)};ObservableArray.prototype.beginUpdate=function(){this._updating++};ObservableArray.prototype.endUpdate=function(e){void 0===e&&(e=!1);this._updating--;this._updating<=0&&!e&&this._raiseCollectionChanged()};Object.defineProperty(ObservableArray.prototype,"isUpdating",{get:function(){return this._updating>0},enumerable:!0,configurable:!0});ObservableArray.prototype.deferUpdate=function(e){try{this.beginUpdate();e()}finally{this.endUpdate()}};ObservableArray.prototype.implementsInterface=function(e){return"INotifyCollectionChanged"==e};ObservableArray.prototype.onCollectionChanged=function(e){void 0===e&&(e=NotifyCollectionChangedEventArgs.reset);this.isUpdating||this.collectionChanged.raise(this,e)};ObservableArray.prototype._raiseCollectionChanged=function(e,t,r){void 0===e&&(e=NotifyCollectionChangedAction.Reset);if(!this.isUpdating){var n=new NotifyCollectionChangedEventArgs(e,t,r);this.onCollectionChanged(n)}};return ObservableArray}(ArrayBase);exports.ObservableArray=ObservableArray;!function(e){e[e.Natural=0]="Natural";e[e.First=1]="First";e[e.Last=2]="Last"}(SortNulls=exports.SortNulls||(exports.SortNulls={}));var _OBJ_DEPTH=2,CollectionView=function(){function CollectionView(e,t){var r=this;this._srcRaw=null;this._src=null;this._ncc=null;this._view=null;this._pgView=null;this._groups=null;this._fullGroups=null;this._digest="";this._idx=-1;this._filter=null;this._filters=new ObservableArray;this._srtDsc=new ObservableArray;this._grpDesc=new ObservableArray;this._newItem=null;this._edtItem=null;this._edtClone=null;this._committing=!1;this._canceling=!1;this._pendingRefresh=!1;this._pendingRemove=!1;this._pgSz=0;this._pgIdx=0;this._updating=0;this._stableSort=!1;this._srtNulls=SortNulls.Last;this._canFilter=!0;this._canGroup=!0;this._canSort=!0;this._canAddNew=!0;this._canCancelEdit=!0;this._canRemove=!0;this._canChangePage=!0;this._refreshOnEdit=!0;this._trackChanges=!1;this._chgAdded=new ObservableArray;this._chgRemoved=new ObservableArray;this._chgEdited=new ObservableArray;this._orgVals=window.Map?new Map:null;this._srtCvt=null;this._srtCmp=null;this._getError=null;this._keepCurrentItem=null;this._initializing=!1;this.collectionChanged=new Event;this.sourceCollectionChanging=new Event;this.sourceCollectionChanged=new Event;this.currentChanged=new Event;this.currentChanging=new Event;this.pageChanged=new Event;this.pageChanging=new Event;this._srtDsc.collectionChanged.addHandler((function(){r._srtDsc.forEach((function(e){assert(e instanceof SortDescription,"sortDescriptions array must contain SortDescription objects.")}));r.canSort&&r._commitAndRefresh()}));this._grpDesc.collectionChanged.addHandler((function(){r._grpDesc.forEach((function(e){assert(e instanceof GroupDescription,"groupDescriptions array must contain GroupDescription objects.")}));r.canGroup&&r._commitAndRefresh()}));this._filters.collectionChanged.addHandler((function(){r._filters.forEach((function(e){assert(isFunction(e),"filters array must contain IPredicate functions.")}));r.canFilter&&r._commitAndRefresh()}));this._chgEdited.collectionChanged.addHandler((function(e,t){if(t&&t.action&&r._orgVals&&0!==r._orgVals.size)switch(t.action){case NotifyCollectionChangedAction.Remove:r._orgVals.delete(t.item);break;case NotifyCollectionChangedAction.Reset:r._orgVals.clear()}}));this.sourceCollection=e||new ObservableArray;if(t){this._initializing=!0;this.deferUpdate((function(){copy(r,t)}));this._initializing=!1}null==this._keepCurrentItem&&(this._keepCurrentItem=!0)}CollectionView.prototype._copy=function(e,t){switch(e){case"sortDescriptions":var r=this.sortDescriptions;r.deferUpdate((function(){r.clear();asArray(t).forEach((function(e){isString(e)?e=new SortDescription(e,!0):e instanceof SortDescription||!e.property||(e=new SortDescription(e.property,e.ascending));r.push(e)}))}));return!0;case"groupDescriptions":var n=this.groupDescriptions;n.deferUpdate((function(){n.clear();t.forEach((function(e){isString(e)&&(e=new PropertyGroupDescription(e));n.push(e)}))}));return!0;case"currentItem":this.currentItem=t;return!0}return!1};Object.defineProperty(CollectionView.prototype,"calculatedFields",{get:function(){return this._calcFields},set:function(e){if(e&&!window.Proxy){console.warn("** Calculated fields require Proxy (see https://www.npmjs.com/package/proxy-polyfill).");e=null}if(e!=this._calcFields){this._calcFields=e;var t=this._srcRaw;this._srcRaw=null;this.sourceCollection=t}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"newItemCreator",{get:function(){return this._itemCreator},set:function(e){this._itemCreator=asFunction(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortConverter",{get:function(){return this._srtCvt},set:function(e){e!=this._srtCvt&&(this._srtCvt=asFunction(e,!0))},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortComparer",{get:function(){return this._srtCmp},set:function(e){e!=this._srtCmp&&(this._srtCmp=asFunction(e,!0))},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"useStableSort",{get:function(){return this._stableSort},set:function(e){if(e!=this._stableSort){this._stableSort=asBoolean(e);this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortNulls",{get:function(){return this._srtNulls},set:function(e){if((e=asEnum(e,SortNulls))!=this._srtNulls){this._srtNulls=e;this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortNullsFirst",{get:function(){return this.sortNulls!=SortNulls.Last},set:function(e){_deprecated("sortNullsFirst","sortNulls");this.sortNulls=asBoolean(e)?SortNulls.First:SortNulls.Last},enumerable:!0,configurable:!0});CollectionView.prototype.getAggregate=function(e,t,r){return getAggregate(e,r?this._pgView:this._view,t)};Object.defineProperty(CollectionView.prototype,"trackChanges",{get:function(){return this._trackChanges},set:function(e){this._trackChanges=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"refreshOnEdit",{get:function(){return this._refreshOnEdit},set:function(e){this._refreshOnEdit=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemsAdded",{get:function(){return this._chgAdded},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemsRemoved",{get:function(){return this._chgRemoved},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemsEdited",{get:function(){return this._chgEdited},enumerable:!0,configurable:!0});CollectionView.prototype.clearChanges=function(){this._chgAdded.clear();this._chgRemoved.clear();this._chgEdited.clear();this._orgVals&&this._orgVals.clear()};CollectionView.prototype.implementsInterface=function(e){switch(e){case"ICollectionView":case"IEditableCollectionView":case"IPagedCollectionView":case"INotifyCollectionChanged":return!0}return!1};Object.defineProperty(CollectionView.prototype,"getError",{get:function(){return this._getError},set:function(e){if(this._getError!=e){this._getError=asFunction(e);this._raiseCollectionChanged()}},enumerable:!0,configurable:!0});CollectionView.prototype.onCollectionChanged=function(e,t){void 0===e&&(e=NotifyCollectionChangedEventArgs.reset);e.action!=NotifyCollectionChangedAction.Change||this._committing||this._canceling||e.item==this.currentEditItem||e.item==this.currentAddItem||this._trackItemChanged(e.item,t);this._updating||this.collectionChanged.raise(this,e)};CollectionView.prototype._raiseCollectionChanged=function(e,t,r){void 0===e&&(e=NotifyCollectionChangedAction.Reset);var n=new NotifyCollectionChangedEventArgs(e,t,r);this.onCollectionChanged(n)};CollectionView.prototype.onSourceCollectionChanging=function(e){this.sourceCollectionChanging.raise(this,e);return!e.cancel};CollectionView.prototype.onSourceCollectionChanged=function(e){this.sourceCollectionChanged.raise(this,e)};Object.defineProperty(CollectionView.prototype,"canFilter",{get:function(){return this._canFilter},set:function(e){this._canFilter=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canGroup",{get:function(){return this._canGroup},set:function(e){this._canGroup=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canSort",{get:function(){return this._canSort},set:function(e){this._canSort=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentItem",{get:function(){return this._pgView&&this._idx>-1&&this._idx<this._pgView.length?this._pgView[this._idx]:null},set:function(e){this.moveCurrentTo(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentPosition",{get:function(){return this._idx},set:function(e){this.moveCurrentToPosition(asNumber(e))},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"filter",{get:function(){return this._filter},set:function(e){if(this._filter!=e){this._filter=asFunction(e);this.canFilter&&this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"filters",{get:function(){return this._filters},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"groupDescriptions",{get:function(){return this._grpDesc},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"groups",{get:function(){return this._groups},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isEmpty",{get:function(){return!this._pgView||!this._pgView.length},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sortDescriptions",{get:function(){return this._srtDsc},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"sourceCollection",{get:function(){return this._src},set:function(e){if(e!=this._srcRaw){if(!this.onSourceCollectionChanging(new CancelEventArgs))return;var t=this.currentPosition;this.commitEdit();null!=this._ncc&&this._ncc.collectionChanged.removeHandler(this._sourceChanged);this._srcRaw=e;this._src=asArray(e,!1);this._calcFields&&(this._src=_getCalculatedArray(this._src,this._calcFields));this._ncc=tryCast(this._src,"INotifyCollectionChanged");this._ncc&&this._ncc.collectionChanged.addHandler(this._sourceChanged,this);this.clearChanges();this.refresh();this.moveCurrentToFirst();this.onSourceCollectionChanged();this.currentPosition<0&&t>-1&&this.onCurrentChanged()}},enumerable:!0,configurable:!0});CollectionView.prototype._sourceChanged=function(e,t){this._updating<=0&&this.refresh()};CollectionView.prototype.contains=function(e){return this._pgView.indexOf(e)>-1};CollectionView.prototype.moveCurrentTo=function(e){return this.moveCurrentToPosition(_ENV_TOOLS.indexOf(this._pgView,e))};CollectionView.prototype.moveCurrentToFirst=function(){return this.moveCurrentToPosition(0)};CollectionView.prototype.moveCurrentToLast=function(){return this.moveCurrentToPosition(this._pgView.length-1)};CollectionView.prototype.moveCurrentToPrevious=function(){return this._idx>0&&this.moveCurrentToPosition(this._idx-1)};CollectionView.prototype.moveCurrentToNext=function(){return this.moveCurrentToPosition(this._idx+1)};CollectionView.prototype.moveCurrentToPosition=function(e){if(e>=-1&&e<this._pgView.length&&e!=this._idx){var t=new CancelEventArgs;if(this.onCurrentChanging(t)){var r=this._pgView[e],n=_getTargetObject(r),i=this._edtItem,o=this._newItem;i&&i!=r&&i!=n?this.commitEdit():o&&o!=r&&o!=n&&this.commitNew();this._idx=e;this.onCurrentChanged()}}return this._idx==e};CollectionView.prototype.refresh=function(){if(this._newItem||this._edtItem||this._updating>0)this._pendingRefresh=!0;else{var e=this.currentItem;this._performRefresh();this.onCollectionChanged();e==this.currentItem||this._initializing||this.onCurrentChanged()}};CollectionView.prototype._commitAndRefresh=function(){if(this.currentEditItem||this.currentAddItem){this._pendingRefresh=!0;this.commitEdit()}else this.refresh()};CollectionView.prototype._performRefresh=function(){if(this._updating>0)this._pendingRefresh=!0;else{this._pendingRefresh=!1;this._pendingRemove=!1;var e=this.currentItem;this._view=this._src?this._performFilter(this._src):[];if(this.canSort&&this._srtDsc.length>0){this._view==this._src&&(this._view=this._src.slice());this._performSort(this._view)}this._groups=this.canGroup?this._createGroups(this._view):null;this._fullGroups=this._groups;this._groups&&(this._view=this._mergeGroupItems(this._groups));this._pgIdx=clamp(this._pgIdx,0,this.pageCount-1);this._pgView=this._getPageView();if(this._groups&&this.pageCount>1){this._groups=this._createGroups(this._pgView);this._mergeGroupItems(this._groups)}var t=this._keepCurrentItem&&null!=e?this._pgView.indexOf(e):-1;t<0&&(t=Math.min(this._idx,this._pgView.length-1));this._idx=t;this._digest=this._getGroupsDigest(this.groups)}};CollectionView.prototype._performSort=function(e){if(this._stableSort){var t=e.map((function(e,t){return{item:e,index:t}})),r=this._compareItems();t.sort((function(e,t){var n=r(e.item,t.item);return 0==n?e.index-t.index:n}));for(var n=0;n<e.length;n++)e[n]=t[n].item}else e.sort(this._compareItems())};CollectionView.prototype._compareItems=function(){var e=this,t=this._srtDsc,r=this._srtCvt,n=this._srtCmp,i=CollectionView._collator,o=!0,s=0;return function(a,l){for(var u=0;u<t.length;u++){var c=t[u],p=c._bnd.getValue(a),h=c._bnd.getValue(l);if(r){p=r(c,a,p,o);h=r(c,l,h,!1);o=!1}if(n&&null!=(s=n(p,h))){if(0!=s)return c.ascending?+s:-s}else{p!=p&&(p=null);h!=h&&(h=null);if(p!==h&&(null==p||null==h))switch(e._srtNulls){case SortNulls.First:return null==p?-1:1;case SortNulls.Last:return null==p?1:-1;default:s=null==p?-1:1;return c.ascending?+s:-s}if("string"==typeof p&&"string"==typeof h){if(i){if(0!=(s=i.compare(p,h)))return c.ascending?+s:-s;continue}var d=p.toLowerCase(),g=h.toLowerCase();if(d!=g){p=d;h=g}}if(0!=(s=p<h?-1:p>h?1:0))return c.ascending?+s:-s}}return 0}};CollectionView.prototype._performFilter=function(e){return this.canFilter&&this._filter||this._filters.length?e.filter(this._filterItem,this):e};CollectionView.prototype._filterItem=function(e){for(var t=!this.canFilter||!this._filter||this._filter(e),r=0;r<this._filters.length&&t;r++)t=this._filters[r](e);return t};CollectionView.prototype.onCurrentChanged=function(e){this.currentChanged.raise(this,e)};CollectionView.prototype.onCurrentChanging=function(e){this.currentChanging.raise(this,e);return!e.cancel};Object.defineProperty(CollectionView.prototype,"items",{get:function(){return this._pgView},enumerable:!0,configurable:!0});CollectionView.prototype.beginUpdate=function(){this._updating++};CollectionView.prototype.endUpdate=function(e){void 0===e&&(e=!0);this._updating--;e&&(this._pendingRefresh=!0);if(this._updating<=0){this._pendingRefresh&&this.refresh();if(this._pendingRemove){this._pendingRemove=!1;this._raiseCollectionChanged()}}};Object.defineProperty(CollectionView.prototype,"isUpdating",{get:function(){return this._updating>0},enumerable:!0,configurable:!0});CollectionView.prototype.deferUpdate=function(e,t){void 0===t&&(t=!0);try{this.beginUpdate();e()}finally{this.endUpdate(t)}};Object.defineProperty(CollectionView.prototype,"canAddNew",{get:function(){return this._canAddNew},set:function(e){if(e!=this._canAddNew){this._canAddNew=asBoolean(e);this._raiseCollectionChanged()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canCancelEdit",{get:function(){return this._canCancelEdit},set:function(e){this._canCancelEdit=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"canRemove",{get:function(){return this._canRemove},set:function(e){this._canRemove=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentAddItem",{get:function(){return this._newItem},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"currentEditItem",{get:function(){return this._edtItem},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isAddingNew",{get:function(){return null!=this._newItem},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isEditingItem",{get:function(){return null!=this._edtItem},enumerable:!0,configurable:!0});CollectionView.prototype.editItem=function(e){if(e!=this._edtItem&&this.moveCurrentTo(e)){this.commitEdit();this._edtItem=e;this._edtClone=this._extend({},this._edtItem)}};CollectionView.prototype.commitEdit=function(){var e=this._edtItem,t=this._edtClone;if(null!=e){this._committing=!0;var r=this._getChangedFields(e,t),n=this._pendingRefresh;this._edtItem=null;this._edtClone=null;var i=this._pgView.indexOf(e),o=this._digest;this._needRefresh(r)&&this._refreshOnEdit&&this._performRefresh();this._trackItemChanged(e,t);this._pgView.indexOf(e)!=i||o!=this._digest||n?this._raiseCollectionChanged():this._raiseCollectionChanged(NotifyCollectionChangedAction.Change,e,i);this.commitNew();this._committing=!1;if(this.sourceCollection instanceof ObservableArray){this._updating++;var s=new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Change,e);this.sourceCollection.onCollectionChanged(s);this._updating--}}};CollectionView.prototype.cancelEdit=function(){var e=this._edtItem;if(null!=e){this._edtItem=null;if(!this.canCancelEdit)return;var t=this._src.indexOf(e);if(t>=0&&this._edtClone){this._extend(this._src[t],this._edtClone);this._edtClone=null;this._canceling=!0;this._raiseCollectionChanged(NotifyCollectionChangedAction.Change,e,t);this._canceling=!1;if(this._pendingRefresh&&this._refreshOnEdit){this._performRefresh();this._raiseCollectionChanged()}}}};CollectionView.prototype.addNew=function(e,t){void 0===t&&(t=!1);this.commitEdit();if(!this.canAddNew)return null;var r=this.sourceCollection;null==e&&(e=this.newItemCreator?this.newItemCreator():r&&r.length?new r[0].constructor:{});if(null!=e){this._updating++;r.push(e);this._updating--;e=r[r.length-1];this._newItem=e;this._pgView!=this._src&&this._pgView.push(e);if(this.groups&&this.groups.length){var n=this.groups[this.groups.length-1];n.items.push(e);for(;n.groups&&n.groups.length;)(n=n.groups[n.groups.length-1]).items.push(e)}this._raiseCollectionChanged(NotifyCollectionChangedAction.Add,e,this._pgView.length-1);this.moveCurrentTo(e);t&&this.commitNew()}return this._newItem};CollectionView.prototype.commitNew=function(){var e=this._newItem;if(null!=e){this._newItem=null;var t=this._pgView.indexOf(e),r=this._digest;this._refreshOnEdit&&this._performRefresh();if(this._trackChanges){var n=this._chgEdited.indexOf(e);n>-1&&this._chgEdited.removeAt(n);this._chgAdded.indexOf(e)<0&&this._chgAdded.push(e)}this._pgView.indexOf(e)!=t||r!=this._digest||this.calculatedFields?this._raiseCollectionChanged():this._raiseCollectionChanged(NotifyCollectionChangedAction.Change,e,t)}};CollectionView.prototype.cancelNew=function(){var e=this._newItem;null!=e&&this.remove(e)};CollectionView.prototype.remove=function(e){var t=e==this._newItem;t&&(this._newItem=null);e==this._edtItem&&this.cancelEdit();if(this.canRemove){var r=this._src.indexOf(e);if(r>-1){var n=this._view.indexOf(e)<0,i=this.currentItem;this._updating++;this._src.splice(r,1);this._updating--;var o=this._digest;if(this._refreshOnEdit)this._performRefresh();else{this._updating>0&&(this._pendingRemove=!0);var s=this._pgView.indexOf(e);s>=0&&this._pgView.splice(s,1)}if(this._trackChanges){var a=this._chgAdded.indexOf(e);a>-1&&this._chgAdded.removeAt(a);var l=this._chgEdited.indexOf(e);l>-1&&this._chgEdited.removeAt(l);this._chgRemoved.indexOf(e)<0&&!t&&a<0&&this._chgRemoved.push(e)}var u=this.sortDescriptions.length>0,c=this.pageSize>0&&this._pgIdx>-1;u||c||o!=this._getGroupsDigest(this.groups)?this._raiseCollectionChanged():n||this._raiseCollectionChanged(NotifyCollectionChangedAction.Remove,e,r);this.currentItem!==i&&this.onCurrentChanged()}}};CollectionView.prototype.removeAt=function(e){e=asInt(e);this.remove(this._pgView[e])};CollectionView.prototype._trackItemChanged=function(e,t){if(this._trackChanges){var r=this.sourceCollection;if(r&&r.indexOf(e)>-1){var n=this._orgVals,i=n?n.get(e):null;if(t&&!i){n.set(e,t);i=t}var o=this._chgEdited.indexOf(e),s=NotifyCollectionChangedAction.Change;if(i&&this._sameContent(e,i)){o>-1&&this._chgEdited.removeAt(o);return}if(o<0&&this._chgAdded.indexOf(e)<0)this._chgEdited.push(e);else if(o>-1){var a=new NotifyCollectionChangedEventArgs(s,e,o);this._chgEdited.onCollectionChanged(a)}else if((o=this._chgAdded.indexOf(e))>-1){a=new NotifyCollectionChangedEventArgs(s,e,o);this._chgAdded.onCollectionChanged(a)}}}};CollectionView.prototype._extend=function(e,t,r){void 0===r&&(r=_OBJ_DEPTH);for(var n in t)try{var i=t[n];if(r>0&&isObject(i))if("Map"===i.constructor.name)e[n]=i;else{e[n]={};this._extend(e[n],i,r-1)}else e[n]=i}catch(e){}return e};CollectionView.prototype._getChangedFields=function(e,t,r){void 0===r&&(r=_OBJ_DEPTH);assert(null!=t&&null!=e,"Two objects expected.");var n={};for(var i in t)try{this._sameValue(e[i],t[i],r)||(n[i]=!0)}catch(e){}for(var i in e)try{n[i]||this._sameValue(e[i],t[i],r)||(n[i]=!0)}catch(e){}var o=Object.keys(n);return o.length?o:null};CollectionView.prototype._sameValue=function(e,t,r){void 0===r&&(r=_OBJ_DEPTH);return!!(e===t||DateTime.equals(e,t)||Number.isNaN(e)&&Number.isNaN(t))||!(!isObject(e)||!isObject(t))&&(!(r>0)||null==this._getChangedFields(e,t,r-1))};CollectionView.prototype._sameContent=function(e,t){return null==this._getChangedFields(e,t)};CollectionView.prototype._needRefresh=function(e){if(this._pendingRefresh)return!0;if(!e)return!1;if(this._filter)return!0;for(var t=0;t<this._srtDsc.length;t++){var r=this._getBindingRoot(this._srtDsc[t].property);if(e.indexOf(r)>-1)return!0}for(t=0;t<this._grpDesc.length;t++){var n=this._grpDesc[t];if(!(n instanceof PropertyGroupDescription))return!0;r=this._getBindingRoot(n.propertyName);if(e.indexOf(r)>-1)return!0}return!1};CollectionView.prototype._getBindingRoot=function(e){var t=e.indexOf(".");return t>-1?e.substr(0,t):e};Object.defineProperty(CollectionView.prototype,"canChangePage",{get:function(){return this._canChangePage},set:function(e){this._canChangePage=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"isPageChanging",{get:function(){return!1},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"itemCount",{get:function(){return this._pgView.length},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"pageIndex",{get:function(){return this._pgIdx},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"pageSize",{get:function(){return this._pgSz},set:function(e){if(e!=this._pgSz){this._pgSz=asInt(e);this.refresh()}},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"totalItemCount",{get:function(){return this._view.length},enumerable:!0,configurable:!0});Object.defineProperty(CollectionView.prototype,"pageCount",{get:function(){return this.pageSize?Math.ceil(this.totalItemCount/this.pageSize):1},enumerable:!0,configurable:!0});CollectionView.prototype.moveToFirstPage=function(){return this.moveToPage(0)};CollectionView.prototype.moveToLastPage=function(){return this.moveToPage(this.pageCount-1)};CollectionView.prototype.moveToPreviousPage=function(){return this.moveToPage(this.pageIndex-1)};CollectionView.prototype.moveToNextPage=function(){return this.moveToPage(this.pageIndex+1)};CollectionView.prototype.moveToPage=function(e){var t=clamp(e,0,this.pageCount-1);if(t!=this._pgIdx){if(!this.canChangePage)return!1;var r=new PageChangingEventArgs(t);if(this.onPageChanging(r)&&this.onCurrentChanging(r)){this.commitEdit();this.commitNew();var n=this.currentItem;this._pgIdx=t;this._pgView=this._getPageView();this._idx=0;if(this.groupDescriptions&&0!=this.groupDescriptions.length)this.refresh();else{this.onCollectionChanged();n!=this.currentItem&&this.onCurrentChanged()}this.onPageChanged()}}return this._pgIdx==e};CollectionView.prototype.onPageChanged=function(e){this.pageChanged.raise(this,e)};CollectionView.prototype.onPageChanging=function(e){this.pageChanging.raise(this,e);return!e.cancel};CollectionView.prototype._getFullGroup=function(e){var t=this._getGroupByPath(this._fullGroups,e.level,e._path);null!=t&&(e=t);return e};CollectionView.prototype._getGroupByPath=function(e,t,r){if(e)for(var n=0;n<e.length;n++){var i=e[n];if(i.level==t&&i._path==r)return i;if(i.level<t&&0==r.indexOf(i._path)&&null!=(i=this._getGroupByPath(i.groups,t,r)))return i}return null};CollectionView.prototype._getPageView=function(){if(this.pageSize<=0||this._pgIdx<0)return this._view;var e=this._pgSz*this._pgIdx,t=Math.min(e+this._pgSz,this._view.length);return this._view.slice(e,t)};CollectionView.prototype._createGroups=function(e){var t=this;if(!this._grpDesc||!this._grpDesc.length)return null;var r=[],n={},i=null;e.forEach((function(e){for(var o=r,s=t._grpDesc.length,a="",l=0;l<s;l++){var u=t._grpDesc[l],c=u.groupNameFromItem(e,l),p=l==s-1;if(!(i=n[a])&&isPrimitive(c)){i={};n[a]=i}var h=t._getGroup(u,o,i,c,l,p);a+="/"+c;h._path=a;p&&h.items.push(e);o=h.groups}}));return r};CollectionView.prototype._getGroupsDigest=function(e){for(var t="",r=0;null!=e&&r<e.length;r++){var n=e[r];t+="{"+n.name+":"+(n.items?n.items.length:"*");if(n.groups.length>0){t+=",";t+=this._getGroupsDigest(n.groups)}t+="}"}return t};CollectionView.prototype._mergeGroupItems=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];if(!n._isBottomLevel)for(var i=this._mergeGroupItems(n.groups),o=0,s=i.length;o<s;o++)n._items.push(i[o]);for(o=0,s=n._items.length;o<s;o++)t.push(n._items[o])}return t};CollectionView.prototype._getGroup=function(e,t,r,n,i,o){var s;if(r&&isPrimitive(n)){if(s=r[n])return s}else for(var a=0;a<t.length;a++)if(e.namesMatch(t[a].name,n))return t[a];var l=new CollectionViewGroup(e,n,i,o);t.push(l);r&&(r[n]=l);return l};CollectionView._collator="undefined"!=typeof window&&window.Intl&&Intl.Collator?new Intl.Collator:null;return CollectionView}();exports.CollectionView=CollectionView;var CollectionViewGroup=function(){function CollectionViewGroup(e,t,r,n){this._gd=e;this._name=t;this._level=r;this._isBottomLevel=n;this._groups=[];this._items=[]}Object.defineProperty(CollectionViewGroup.prototype,"name",{get:function(){return this._name},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"level",{get:function(){return this._level},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"isBottomLevel",{get:function(){return this._isBottomLevel},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"items",{get:function(){return this._items},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"groups",{get:function(){return this._groups},enumerable:!0,configurable:!0});Object.defineProperty(CollectionViewGroup.prototype,"groupDescription",{get:function(){return this._gd},enumerable:!0,configurable:!0});CollectionViewGroup.prototype.getAggregate=function(e,t,r,n){var i=tryCast(r,CollectionView);return getAggregate(e,(i?i._getFullGroup(this):this).items,t,n)};CollectionViewGroup.prototype._clone=function(){var e=new CollectionViewGroup(this.groupDescription,this.name,this.level,this.isBottomLevel);e._path=this._path;if(this.groups.length)for(var t=0;t<this.groups.length;t++)e.groups.push(this.groups[t]);if(this.items.length)for(t=0;t<this.items.length;t++)e.items.push(this.items[t]);return e};return CollectionViewGroup}();exports.CollectionViewGroup=CollectionViewGroup;var _NullValue=function _NullValue(e){this._id=e};exports._NullValue=_NullValue;exports.controlBaseClass="undefined"!=typeof window&&window["wj-control-is-element"]?HTMLElement:Object;var __isES6Mode=!1;try{var f=function __c(){};f.prototype=Array.prototype;__isES6Mode=f.prototype!==Array.prototype}catch(e){__isES6Mode=!0}var __callSuper=__isES6Mode||exports.controlBaseClass!==Object,ControlBase=function(e){__extends(ControlBase,e);function ControlBase(){var t=this;__callSuper&&(t=e.call(this)||this);return t}return ControlBase}(exports.controlBaseClass);exports.ControlBase=ControlBase;var Control=function(e){__extends(Control,e);function Control(t,r,n){void 0===r&&(r=null);void 0===n&&(n=!1);var i=e.call(this)||this;i.workingAs="PureJs";i.disposed=!1;i._orgAttributes=[];i._listeners=[];i._pristine=!0;i._focus=!1;i._updating=0;i._fullUpdate=!1;i._listenResizeEvents=!0;i.gotFocus=new Event;i.lostFocus=new Event;i.invalidInput=new Event;i.refreshing=new Event;i.refreshed=new Event;i._updateWme();assert(null==Control.getControl(t),"Element is already hosting a control.");var o=getElement(t);assert(null!=o,"Cannot find the host element.");i._orgTabIndex=o.hasAttribute("tabindex")?o.tabIndex:0;for(var s=0;s<o.attributes.length;s++){var a=o.attributes[s];i._orgAttributes.push({name:a.name,value:a.textContent})}i._orgInner=o.innerHTML;i._orgTag=o.tagName;i._orgAtts=o.attributes;"INPUT"!=o.tagName&&"SELECT"!=o.tagName||(o=i._replaceWithDiv(o));i._e=o;o[Control._CTRL_KEY]=i;var l=i.addEventListener.bind(i);if(1==n){i._szCtl=new Size(o.offsetWidth,o.offsetHeight);var u=window.ResizeObserver,c=null;u&&(c=i._szObserver=new u((function(e){return i._resizeObserverCallback(e)})));c?c.observe(o):l(window,"resize",i._handleResize.bind(i))}var p=i._handleFocusBlur.bind(i);l(o,"focus",p,!0);l(o,"blur",p,!0);var h=i._handleDisabled.bind(i);l(o,"mousedown",h,!0);l(o,"mouseup",h,!0);l(o,"click",h,!0);l(o,"dblclick",h,!0);l(o,"wheel",h,getEventOptions(!0,!0));l(o,"keydown",(function(e){i.isDisabled&&e.keyCode!=Key.Tab&&e.preventDefault()}));0==Control._ctlCnt&&_detectTouch(!0);Control._ctlCnt++;return i}Control.prototype.getTemplate=function(){for(var e=Object.getPrototypeOf(this);e;e=Object.getPrototypeOf(e)){var t=e.constructor.controlTemplate;if(t)return t}return null};Control.prototype.applyTemplate=function(e,t,r,n){var i=this,o=this._e;e&&addClass(o,e);var s=null;t&&(s=createElement(t,o));for(var a=o.querySelectorAll("a."+exports.InputFormElementsClsNames.btn),l=0;l<a.length;l++){var u=a[l];setAttribute(u,"role","button",!0);setAttribute(u,"href","",!0);setAttribute(u,"draggable",!1,!0)}var c=o.querySelectorAll("button");for(l=0;l<c.length;l++)setAttribute(c[l],"type","button",!0);var p=o.querySelectorAll("input"),h=1==p.length?p[0]:null;if(h){var d=Control._rxInputAtts;this._copyAttributes(h,o.attributes,d);this._copyAttributes(h,this._orgAtts,d)}if(h&&o.id){for(var g=o;g.parentElement;)g=g.parentElement;var _=g.querySelector('label[for="'+o.id+'"]');if(_ instanceof HTMLLabelElement){var m=getUniqueId(o.id+"_input");h.id=m;_.htmlFor=m}}if(h){var v=h.value,b=!0,y=!1,C=document.createEvent("HTMLEvents");C.initEvent("change",!0,!1);this.gotFocus.addHandler((function(){b=!1;y=!0;v=h.value}));this.addEventListener(o,"focusin",(function(e){if(b){y=!0;b=!1;v=h.value}}));this.addEventListener(h,"input",(function(){i._pristine=!1;i._getInputValueTimer=setTimeout((function(){v=h.value}))}));this.addEventListener(h,"change",(function(e){e.isTrusted&&(v=h.value)}));var leave_1=function(){if(!i._containsFocus()){b=!0;if(i._pristine){i._pristine=!1;i._updateState()}if(y&&v!=h.value){v=h.value;h.dispatchEvent(C)}y=!1}};this.addEventListener(o,"blur",(function(){leave_1()}));this.lostFocus.addHandler((function(){leave_1()}))}h?o.tabIndex=-1:o.getAttribute("tabindex")||(o.tabIndex=0);this._updateState();if(r)for(var w in r){var E=r[w];this[w]=s.querySelector('[wj-part="'+E+'"]');null==this[w]&&s.getAttribute("wj-part")==E&&(this[w]=s);if(null==this[w])throw'Missing template part: "'+E+'"';if(E==n){var x="name",A=o.attributes[x];A&&A.value&&this[w].setAttribute(x,A.value);x="accesskey";if((A=o.attributes[x])&&A.value){this[w].setAttribute(x,A.value);o.removeAttribute(x)}}}return s};Control.prototype.dispose=function(){if(this._e){this.disposed=!0;for(var e=this._e.querySelectorAll("."+exports.ControlClsNames.hostElement),t=0;t<e.length;t++){var r=Control.getControl(e[t]);r&&r.dispose()}if(this._toInv){clearTimeout(this._toInv);this._toInv=null}if(this._toFocus){clearTimeout(this._toFocus);this._toFocus=null}if(this._getInputValueTimer){clearTimeout(this._getInputValueTimer);this._getInputValueTimer=null}if(this._updateFocusStateTimer){clearTimeout(this._updateFocusStateTimer);this._updateFocusStateTimer=null}if(this.focusService){this.focusService.dispose();this.focusService=null}var n=this._szObserver;n&&n.disconnect();this.removeEventListener();for(var i in this)if(i.length>2&&0==i.indexOf("on")){(s=this[i[2].toLowerCase()+i.substr(3)])instanceof Event&&s.removeAllHandlers()}var o=this.collectionView;if(o instanceof CollectionView)for(var i in o){var s;(s=o[i])instanceof Event&&s.removeHandler(null,this)}if(this._e.parentNode){for(;this._e.attributes.length>0;)this._e.removeAttribute(this._e.attributes[0].name);for(var a=0,l=this._orgAttributes;a<l.length;a++){var u=l[a];setAttribute(this._e,u.name,u.value)}this._e.innerHTML=this._orgInner}this._e[Control._CTRL_KEY]=null;this._e=this._orgTag=this._szObserver=null;Control._ctlCnt--;0==Control._ctlCnt&&_detectTouch(!1);if(Control._ctlInvalidInput===this){if(Control._toInvalidInput){clearTimeout(Control._toInvalidInput);Control._toInvalidInput=null}if(Control._toClearCtlInvalid){clearTimeout(Control._toClearCtlInvalid);Control._toClearCtlInvalid=null}Control._ctlInvalidInput=null}if(Control._toTouch){clearTimeout(Control._toTouch);Control._toTouch=null}}};Control.getControl=function(e){var t=getElement(e);return t?asType(t[Control._CTRL_KEY],Control,!0):null};Object.defineProperty(Control.prototype,"hostElement",{get:function(){return this._e},enumerable:!0,configurable:!0});Object.defineProperty(Control.prototype,"rightToLeft",{get:function(){null==this._rtlDir&&(this._rtlDir=!!this._e&&"rtl"==getComputedStyle(this._e).direction);return this._rtlDir},enumerable:!0,configurable:!0});Control.prototype.focus=function(){var e=this._e;e&&e.offsetHeight&&(this.isDisabled||!(e.tabIndex>=0)&&moveFocus(e,0)||e.focus())};Control.prototype.containsFocus=function(){return this._containsFocusImpl(getActiveElement())};Control.prototype._containsFocus=function(){this.focusService||(this.focusService=new _FocusService);return this._containsFocusImpl(_getActiveElement(this.focusService.activeElement))};Control.prototype._containsFocusImpl=function(e){return contains(this._e,e,!0)};Control.prototype.invalidate=function(e){var t=this;void 0===e&&(e=!0);this._rtlDir=null;this._fullUpdate=this._fullUpdate||e;if(this._toInv){clearTimeout(this._toInv);this._toInv=null}this.isUpdating||this.disposed||(this._toInv=setTimeout((function(){t.refresh(t._fullUpdate);t._toInv=null}),Control._REFRESH_INTERVAL))};Control.prototype.refresh=function(e){var t=this;void 0===e&&(e=!0);if(!this.isUpdating&&!this.disposed){this.onRefreshing();this.refreshed.hasHandlers&&setTimeout((function(){t.onRefreshed()}))}if(!this.isUpdating&&this._toInv){clearTimeout(this._toInv);this._toInv=null;this._fullUpdate=!1}this._updateState();this._updateWme()};Control.invalidateAll=function(e){e||(e=document.body);var t=e.children;if(t)for(var r=0;r<t.length;r++)Control.invalidateAll(t[r]);var n=Control.getControl(e);n&&n.invalidate()};Control.refreshAll=function(e){e||(e=document.body);if(e.children)for(var t=0;t<e.children.length;t++)Control.refreshAll(e.children[t]);var r=Control.getControl(e);r&&r.refresh()};Control.disposeAll=function(e){var t=Control.getControl(e);if(t)t.dispose();else if(e.children)for(var r=0;r<e.children.length;r++)Control.disposeAll(e.children[r])};Control.prototype.beginUpdate=function(){this._updating++};Control.prototype.endUpdate=function(e){void 0===e&&(e=!0);this._updating--;this._updating<=0&&e&&this.invalidate()};Object.defineProperty(Control.prototype,"isUpdating",{get:function(){return this._updating>0},enumerable:!0,configurable:!0});Control.prototype.deferUpdate=function(e){try{this.beginUpdate();e()}finally{this.endUpdate()}};Object.defineProperty(Control.prototype,"isTouching",{get:function(){return Control._touching},enumerable:!0,configurable:!0});Object.defineProperty(Control.prototype,"tabOrder",{get:function(){return this._orgTabIndex},set:function(e){this._setTabOrder(e)},enumerable:!0,configurable:!0});Control.prototype._setTabOrder=function(e){var t=this._e;this._orgTabIndex=e;var r=t.querySelectorAll("input"),n=1===r.length?r[0]:null;t.tabIndex=this.isDisabled||n?-1:this._orgTabIndex;n&&(n.tabIndex=this._orgTabIndex)};Object.defineProperty(Control.prototype,"isDisabled",{get:function(){return this._e&&null!=this._e.getAttribute("disabled")},set:function(e){this._setIsDisabled(e)},enumerable:!0,configurable:!0});Control.prototype._setIsDisabled=function(e){if((e=!!asBoolean(e,!0))!=this.isDisabled){var t=this._e;if(t){toggleClass(t,exports.ControlStateClsNames.disabled,e);setAttribute(t,"disabled",e?"disabled":null);setAttribute(t,"aria-disabled",e);if(t.id){var r=document.querySelector("[dropdown-id="+t.id+"]");r&&toggleClass(r,exports.ControlStateClsNames.disabled,e)}t.tabIndex=this.isDisabled||1===t.querySelectorAll("input").length?-1:this._orgTabIndex;for(var n=t.querySelectorAll("input,textarea,button,command,fieldset,keygen,optgroup,option,select"),i=Control._DSBL_KEY,o=0;o<n.length;o++){var s=n[o];if(e){s[i]=s.disabled;s.disabled=!0}else{if(!!closest(s,"."+exports.ControlClsNames.hostElement+"."+exports.ControlStateClsNames.disabled)){s[i]=s.disabled;s.disabled=!0}else{var a=s[i];isBoolean(a)||(a=!1);s.disabled=a;delete s[i]}}}}}};Control.prototype.initialize=function(e){copy(this,e)};Control.prototype.addEventListener=function(e,t,r,n,i){if(e){null==n&&(n=!1);isBoolean(n)&&null==i&&(t.indexOf("touch")>-1||t.indexOf("wheel")>-1)&&(i=!1);var o=isBoolean(n)&&isBoolean(i)?getEventOptions(n,i):n;e.addEventListener(t,r,o);this._listeners.push({target:e,type:t,fn:r,capture:n})}};Control.prototype.removeEventListener=function(e,t,r,n){for(var i=0,o=0;o<this._listeners.length;o++){var s=this._listeners[o];if(!(null!=e&&e!=s.target||null!=t&&t!=s.type||null!=r&&r!=s.fn||null!=n&&n!=s.capture)){s.target.removeEventListener(s.type,s.fn,s.capture);this._listeners.splice(o,1);o--;i++}}return i};Control.prototype.onGotFocus=function(e){this.gotFocus.raise(this,e)};Control.prototype.onLostFocus=function(e){this.lostFocus.raise(this,e)};Control.prototype.onInvalidInput=function(e){this.invalidInput.raise(this,e);var t=this;if(e.cancel){var r=Control._FOCUS_INTERVAL+50;if(null==Control._ctlInvalidInput||Control._ctlInvalidInput===this){Control._ctlInvalidInput=this;Control._toInvalidInput&&clearTimeout(Control._toInvalidInput);Control._toClearCtlInvalid&&clearTimeout(Control._toClearCtlInvalid);Control._toInvalidInput=setTimeout((function(){Control._toInvalidInput=null;t.containsFocus()||"isDroppedDown"in t&&"_isDropdownOpened"in t&&t._isDropdownOpened&&(t.isDroppedDown=t._isDropdownOpened);t.focus();Control._toClearCtlInvalid=setTimeout((function(){Control._ctlInvalidInput=null;Control._toClearCtlInvalid=null}),r)}),r)}}else Control._ctlInvalidInput=null;this._updateState();return!e.cancel};Control.prototype.onRefreshing=function(e){this.refreshing.raise(this,e)};Control.prototype.onRefreshed=function(e){this.refreshed.raise(this,e)};Control.prototype._getProductInfo=function(){return"B0C3,Control"};Control.prototype._getFocusedElements=function(e){for(var t=e;t;){if(!t.parentNode)return t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&void 0!==t.host?t.querySelectorAll("."+exports.ControlStateClsNames.focused):document.body.querySelectorAll("."+exports.ControlStateClsNames.focused);t=t.parentNode}return[]};Control.prototype._updateWme=function(){var e=this._getProductInfo(),t=Control._toWme,r=_updateWme;if(isFunction(r)&&!t[e]){t[e]=!0;r(this,Control._licKey)}};Control.prototype._hasPendingUpdates=function(){return null!=this._toInv};Control.prototype._handleResize=function(){if(this._e.parentElement||this._e.parentNode){var e=new Size(this._e.offsetWidth,this._e.offsetHeight);if(!e.equals(this._szCtl)){this._szCtl=e;this._listenResizeEvents&&(e.width||e.height)&&this.invalidate()}}};Control.prototype._resizeObserverCallback=function(e){e.forEach((function(e){var t=Control.getControl(e.target);t&&t._handleResize()}))};Control.prototype._handleFocusBlur=function(){var e=this;this._toFocus||(this._toFocus=setTimeout((function(){e._toFocus=null;e._updateFocusState()}),Control._FOCUS_INTERVAL))};Control.prototype._updateFocusState=function(){var e=this;this._updateFocusStateTimer=setTimeout((function(){for(var t=EventArgs.empty,r=e._getFocusedElements(e.hostElement),n=0;n<r.length;n++){if((a=Control.getControl(r[n]))&&a._focus&&!a.containsFocus()){removeClass(a._e,exports.ControlStateClsNames.focus);a._focus=!1;a._updateState();a.onLostFocus(t)}}var i=getActiveElement();if(i)for(var o=!0,s=i;s;){var a;if((a=Control.getControl(s))&&!a._focus&&a.containsFocus()){if(o){addClass(s,exports.ControlStateClsNames.focus);o=!1}a._focus=!0;a._updateState();a.onGotFocus(t)}s=s[Control._OWNR_KEY]||s.parentNode}}))};Control.prototype._updateState=function(){var e=this.hostElement;if(e){toggleClass(e,exports.ControlStateClsNames.focused,this._focus);this._rtlDir=this._getRtlStates();toggleClass(e,exports.UtilitesClsNames.rtl,this._rtlDir);var t=e.querySelector("input");if(t instanceof HTMLInputElement){toggleClass(e,exports.ControlStateClsNames.empty,0==t.value.length);toggleClass(e,exports.ControlStateClsNames.readOnly,t.readOnly);var r=t.validationMessage;toggleClass(e,exports.ControlStateClsNames.invalid,!this._pristine&&null!=r&&r.length>0);var n=closest(this.hostElement,exports.ControlStateClsNames.labeledInput),i=n&&n.querySelector(exports.ControlStateClsNames.wjError);if(i){var o=this.hostElement.classList.contains(exports.ControlStateClsNames.invalid);toggleClass(i,exports.ControlStateClsNames.errorVisible,o)}}}};Control.prototype._getRtlStates=function(){var e=this.hostElement;return"rtl"===getComputedStyle(e).direction};Control.prototype._handleDisabled=function(e){if(this.isDisabled||closest(e.target,"."+exports.ControlStateClsNames.disabled)){e.preventDefault();e.stopPropagation();e.stopImmediatePropagation()}};Control.prototype._replaceWithDiv=function(e){var t=document.createElement("div");e.parentElement.replaceChild(t,e);t.innerHTML=e.innerHTML;this._copyAttributes(t,e.attributes,/id|style|class/i);return t};Control.prototype._copyAttributes=function(e,t,r){if(e)for(var n=0;n<t.length;n++){var i=t[n].name;i.match(r)&&e.setAttribute(i,t[n].value)}};Control.prototype._getKeyCode=function(e){var t=e.keyCode;if(this.rightToLeft)switch(t){case Key.Right:t=Key.Left;break;case Key.Left:t=Key.Right}return t};Control.prototype._getCodeAsPerRTL=function(e){var t=e.code;if(this.rightToLeft)switch(t){case"ArrowRight":return"ArrowLeft";case"ArrowLeft":return"ArrowRight"}return t};Control.sharedState={};Control._toWme={};Control._ctlCnt=0;Control._touching=!1;Control._REFRESH_INTERVAL=10;Control._FOCUS_INTERVAL=5;Control._ANIM_DEF_DURATION=400;Control._ANIM_DEF_STEP=35;Control._CLICK_DELAY=800;Control._CLICK_REPEAT=75;Control._CLIPBOARD_DELAY=100;Control._POPUP_ZINDEX=1500;Control._SEARCH_DELAY=500;Control._HOVER_DELAY=400;Control._LEAVE_DELAY=600;Control._DRAG_SCROLL_EDGE=15;Control._DRAG_SCROLL_STEP=20;Control._CTRL_KEY="$WJ-CTRL";Control._OWNR_KEY="$WJ-OWNR";Control._SCRL_KEY="$WJ-SCRL";Control._TTIP_KEY="$WJ-TTIP";Control._DSBL_KEY="$WJ-DSBL";Control._rxInputAtts=/name|tabindex|placeholder|autofocus|autocomplete|autocorrect|autocapitalize|spellcheck|readonly|minlength|maxlength|pattern|type|aria-.+/i;return Control}(ControlBase);exports.Control=Control;function _detectTouch(e){if("ontouchstart"in window||"onpointerdown"in window){var t=document,r=getEventOptions(!0,!0),n=_handleTouchStart,i=_handleTouchEnd,o=e?t.addEventListener.bind(t):t.removeEventListener.bind(t);if("ontouchstart"in window){o("touchstart",n,r);o("touchend",i,r);o("touchcancel",i,r)}else if("onpointerdown"in window){o("pointerdown",n,r);o("pointerup",i,r);o("pointercancel",i,r)}}}function _handleTouchStart(e){if(null==e.pointerType||"touch"==e.pointerType){if(Control._toTouch){clearTimeout(Control._toTouch);Control._toTouch=null}Control._touching=!0}}function _handleTouchEnd(e){if(null==e.pointerType||"touch"==e.pointerType){Control._toTouch=setTimeout((function(){Control._toTouch=null;Control._touching=!1}),900);if(document.querySelector("ion-app")){var t=e.target;if(closest(t,".wj-dropdown-panel,.wj-dropdown")){t.focus();e.stopPropagation();e.stopImmediatePropagation()}}}}var PrintDocument=function(){function PrintDocument(e){this._title=null;this._copyCss=!0;null!=e&&copy(this,e)}Object.defineProperty(PrintDocument.prototype,"title",{get:function(){return this._title},set:function(e){this._title=asString(e)},enumerable:!0,configurable:!0});Object.defineProperty(PrintDocument.prototype,"copyCss",{get:function(){return this._copyCss},set:function(e){this._copyCss=asBoolean(e)},enumerable:!0,configurable:!0});PrintDocument.prototype.addCSS=function(e){this._css||(this._css=[]);this._css.push(e)};PrintDocument.prototype.append=function(e){var t=this._getDocument();if(isString(e))t.write(e);else if(e instanceof Element){e instanceof HTMLElement&&Control.refreshAll(e);for(var r=e.cloneNode(!0),n=r.querySelectorAll("input"),i=0;i<n.length;i++){var o=n[i];switch(o.type){case"checkbox":setAttribute(o,"checked",!!o.checked||null);setAttribute(o,"indeterminate",!!o.indeterminate||null);break;case"radio":setAttribute(o,"checked",!!o.checked||null);break;default:setAttribute(o,"value",o.value||null)}}t.write(r.outerHTML)}else assert(!1,"content should be an HTML string or an Element.")};PrintDocument.prototype.print=function(e){var t=this;if(this._iframe){this._close();setTimeout((function(){var r=t._iframe.contentWindow,n="onafterprint"in r&&!isFirefox();n&&(r.onafterprint=function(){t._afterPrint(e)});if(!(isIE()&&null==r.document.body)&&document.queryCommandSupported("print"))r.document.execCommand("print",!0,null);else{r.focus();r.print()}n||t._afterPrint(e)}),100)}};PrintDocument.prototype._afterPrint=function(e){document.body.removeChild(this._iframe);this._iframe=null;isFunction(e)&&e()};PrintDocument.prototype._getDocument=function(){if(!this._iframe){var e=this._iframe=document.createElement("iframe");addClass(e,exports.PrintDocumentClsNames.printDocument);setCss(e,{position:"fixed",left:32e3,top:32e3});document.body.appendChild(e)}return this._iframe.contentDocument};PrintDocument.prototype._close=function(){var e=this,t=this._getDocument();t.close();t.title=null!=this.title?this.title:document.title;t.title&&t.title.trim()||(t.title=" ");this._copyCss&&[document.head,document.body].forEach((function(t){for(var r=t.querySelectorAll("LINK"),n=0;n<r.length;n++){var i=r[n];if(i.rel.match(/stylesheet/i)&&(!i.type||i.type.match(/text\/css/i))){var o=httpRequest(i.href,{async:!1});e._addStyle(o.responseText)}}var s=t.querySelectorAll("STYLE");for(n=0;n<s.length;n++)e._addStyle(s[n].textContent)}));if(this._css)for(var r=0;r<this._css.length;r++){var n=t.createElement("style"),i=httpRequest(this._css[r],{async:!1});n.textContent=i.responseText;t.head.appendChild(n)}};PrintDocument.prototype._addStyle=function(e){var t=this._getDocument(),r=t.createElement("style");r.textContent=e;t.head.appendChild(r)};return PrintDocument}();exports.PrintDocument=PrintDocument;var Clipboard=function(){function Clipboard(){}Clipboard.copy=function(e){Clipboard._copyPaste(asString(e),null)};Clipboard.paste=function(e){e=asFunction(e);Clipboard._copyPaste(null,e)};Clipboard._copyPaste=function(e,t){for(var r=getActiveElement(),n=closest(r,"."+exports.ControlClsNames.hostElement);n&&Control.getControl(n);)n=n.parentElement;if(n=n||document.body){var i=!1,o=createElement('<textarea class="'+exports.ClipboardClsNames.clipboard+'">',n,{position:"fixed",opacity:"0"});o.onkeydown=function(e){return e.preventDefault()};o.onchange=function(e){return e.stopImmediatePropagation()};if(isString(e)){o.value=e;o.select();document.execCommand("copy")&&(i=!0)}else{o.select();if(isFunction(t)&&document.execCommand("paste")){t(o.value);i=!0}}setTimeout((function(){r.focus({preventScroll:!0});(isIE()?setTimeout:function(e,t){return e()})((function(){return removeChild(o)}),500);!i&&isFunction(t)&&t(o.value)}),Control._CLIPBOARD_DELAY)}};return Clipboard}();exports.Clipboard=Clipboard;var PopupPosition,TooltipTrigger,_ClickRepeater=function(){function _ClickRepeater(e){this._isDown=!1;this._mousedownBnd=this._mousedown.bind(this);this._mouseupBnd=this._mouseup.bind(this);this._clickBnd=this._click.bind(this);this.element=e;this._connect(!0)}Object.defineProperty(_ClickRepeater.prototype,"element",{get:function(){return this._e},set:function(e){this._connect(!1);this._e=asType(e,HTMLElement,!0);this._connect(!0)},enumerable:!0,configurable:!0});Object.defineProperty(_ClickRepeater.prototype,"disabled",{get:function(){return this._disabled},set:function(e){this._disabled=asBoolean(e)},enumerable:!0,configurable:!0});_ClickRepeater.prototype._connect=function(e){var t=this;this._e&&_ClickRepeater._startEvents.forEach((function(r){e?t._e.addEventListener(r,t._mousedownBnd,{passive:!0}):t._e.removeEventListener(r,t._mousedownBnd)}))};_ClickRepeater.prototype._clearTimeouts=function(){if(this._toRepeat){clearTimeout(this._toRepeat);this._toRepeat=null}if(this._toDelay){clearTimeout(this._toDelay);this._toDelay=null}};_ClickRepeater.prototype._mousedown=function(e){var t=this;this._isDown&&this._mouseup(null);if(!this._disabled){this._isDown=!0;_ClickRepeater._stopEvents.forEach((function(e){document.addEventListener(e,t._mouseupBnd)}));this._clearTimeouts();this._toDelay=setTimeout((function(){if(t._isDown){t._click();t._toRepeat=setTimeout(t._clickBnd,Control._CLICK_REPEAT)}}),Control._CLICK_DELAY)}};_ClickRepeater.prototype._mouseup=function(e){var t=this;if(!e||"mouseout"!==e.type||this._e&&this._e.contains(e.target)){this._isDown&&e&&"keydown"!=e.type&&this._clicked&&e.preventDefault();_ClickRepeater._stopEvents.forEach((function(e){document.removeEventListener(e,t._mouseupBnd)}));this._clearTimeouts();this._isDown=!1;this._clicked=!1}};_ClickRepeater.prototype._click=function(){this._clicked=!0;this._clearTimeouts();if(this._e){this._e.click();this._isDown&&(this._toRepeat=setTimeout(this._clickBnd,Control._CLICK_REPEAT))}};_ClickRepeater._startEvents=["mousedown","touchstart"];_ClickRepeater._stopEvents=["mouseup","mouseout","keydown","touchend","touchcancel"];return _ClickRepeater}();exports._ClickRepeater=_ClickRepeater;!function(e){e[e.Above=0]="Above";e[e.AboveRight=1]="AboveRight";e[e.RightTop=2]="RightTop";e[e.Right=3]="Right";e[e.RightBottom=4]="RightBottom";e[e.BelowRight=5]="BelowRight";e[e.Below=6]="Below";e[e.BelowLeft=7]="BelowLeft";e[e.LeftBottom=8]="LeftBottom";e[e.Left=9]="Left";e[e.LeftTop=10]="LeftTop";e[e.AboveLeft=11]="AboveLeft"}(PopupPosition=exports.PopupPosition||(exports.PopupPosition={}));function showPopup(e,t,r,n,i,o){void 0===i&&(i=!0);var s=e.offsetHeight||e.offsetWidth,a=r;(isBoolean(r)||null==r)&&(a=r?PopupPosition.AboveLeft:PopupPosition.BelowLeft);var l=_getPopupParent(t);_addPopupToDOM(e,l);_copyPopupStyles(e,t,i);Control.refreshAll(e);_updatePopupPosition(e,t,a);isFirefox()&&requestAnimationFrame((function(){_updatePopupPosition(e,t,a)}));t instanceof HTMLElement&&(e[Control._OWNR_KEY]=t);if(!s){_hidePopupOnscroll(e,t,o);if(n)return animate((function(t){return e.style.opacity=t<1?t.toString():""}));e.style.opacity=""}return null}exports.showPopup=showPopup;function hidePopup(e,t,r){void 0===t&&(t=!0);void 0===r&&(r=!1);var n=null;r?n=animate((function(r){e.style.opacity=(1-r).toString();if(1==r){_hidePopup(e,t);e.style.opacity=""}})):_hidePopup(e,t);return n}exports.hidePopup=hidePopup;function _updatePopupPosition(e,t,r){var n=_getReferenceRect(e,t),i=_getPopupOffset(e),o=_getPopupPosition(e,n,r,i),s={position:"absolute",zIndex:Control._POPUP_ZINDEX},a=0==i.x;if(a){s.left=o.x;s.top=o.y}else s.transform="translate("+o.x+"px, "+o.y+"px)";var l=e.getBoundingClientRect().width;setCss(e,s);if(a){var u=l-e.getBoundingClientRect().width;u>0&&(e.style.left=o.x-Math.ceil(u)+"px")}}exports._updatePopupPosition=_updatePopupPosition;function _hidePopup(e,t){e.style.display="none";t&&e.parentElement&&setTimeout((function(){if("none"==e.style.display){removeChild(e);isFunction(t)&&t()}}),Control._FOCUS_INTERVAL+50);var r=e[Control._SCRL_KEY];r instanceof Control&&r.dispose();delete e[Control._SCRL_KEY];delete e[Control._OWNR_KEY]}function _isjQueryDialog(e){var t=window.jQuery,r=isFunction(t)?t(e):null;return r&&isFunction(r.dialog)&&hasClass(e,"ui-dialog")}function _getPopupParent(e){var t=document.body;if(e instanceof HTMLElement){if(!contains(document.body,e))return t;for(var r=e;r;r=r.parentElement){if("DIALOG"==r.tagName||"ION-CONTENT"==r.tagName||"fixed"==getComputedStyle(r).position){t=r;break}if(_isjQueryDialog(r)){t=r.querySelector(".ui-dialog-content")||r;break}}}return t}function _addPopupToDOM(e,t){if(!e.offsetHeight||!e.offsetWidth||e.parentElement!=t){setCss(e,{opacity:"0",position:"fixed",left:0,top:0,transform:"",display:""});t.appendChild(e)}}function _getPopupOffset(e){var t=document.body,r=document.documentElement,n=e.parentElement,i=new Point(t.scrollLeft||pageXOffset,t.scrollTop||pageYOffset);if(n!=t){var o=n==t?r:e.offsetParent||n;o==t&&(o=n);if(o){var s=o.getBoundingClientRect();i=new Point(o.scrollLeft-s.left,o.scrollTop-s.top)}}if(n instanceof HTMLElement){var a=getComputedStyle(n);i.x-=parseFloat(a.borderLeftWidth);i.y-=parseFloat(a.borderTopWidth)}return i}function _copyPopupStyles(e,t,r){if(t instanceof HTMLElement&&r){var n=r instanceof HTMLElement?r:t,i=getComputedStyle(n);1==new Color(i.backgroundColor).a&&setCss(e,{color:i.color,backgroundColor:i.backgroundColor,fontFamily:i.fontFamily,fontSize:i.fontSize,fontWeight:i.fontWeight,fontStyle:i.fontStyle})}}function _hidePopupOnscroll(e,t,r){var n=t instanceof MouseEvent?t.target:t;if(n instanceof HTMLElement&&n.parentElement!=document.body){var i=Date.now(),o=n.getBoundingClientRect(),s=new Control(document.createElement("div"));e[Control._SCRL_KEY]=s;s.addEventListener(document,"scroll",(function(a){if(a.target!=e.parentElement&&Date.now()-i>100&&contains(document,n)&&!contains(e,a.target)&&(a.target!=document||null!=t&&"fixed"==e.style.position)){var l=n.getBoundingClientRect(),u=Math.abs(l.left-o.left),c=Math.abs(l.top-o.top);if(u>1||c>1){isFunction(r)&&r();_hidePopup(e,!0);s.dispose()}}}),!0)}}function _getPopupPosition(e,t,r,n){var i=document.documentElement,o=i.clientWidth,s=i.clientHeight,a=PopupPosition;switch(r){case a.AboveLeft:case a.AboveRight:case a.BelowLeft:case a.BelowRight:if(t){var l=t.width;if(l){isIE()&&(l-=e.offsetWidth-e.clientWidth);e.style.minWidth=l+"px"}}}var u=getComputedStyle(e),c=parseFloat(u.marginTop)+parseFloat(u.marginBottom),p=parseFloat(u.marginLeft)+parseFloat(u.marginRight),h=new Size(e.offsetWidth+p,e.offsetHeight+c),d=new Point((o-h.width)/2,Math.round((s-h.height)/2*.7));if(t){"rtl"==u.direction&&(r=_getRtlPosition(r));var g=t.left,_=o-t.right;d.x=t.left;switch(r){case a.Above:case a.Below:d.x=t.left+(t.width-h.width)/2;break;case a.AboveLeft:case a.BelowLeft:d.x=t.left;break;case a.AboveRight:case a.BelowRight:d.x=t.right-h.width;break;case a.Left:case a.LeftTop:case a.LeftBottom:d.x=g>=h.width||g>=_?t.left-h.width:t.right;break;case a.RightTop:case a.RightBottom:case a.Right:d.x=_>=h.width||_>=g?t.right:t.left-h.width}var m=t.top,v=s-t.bottom;switch(r){case a.Above:case a.AboveLeft:case a.AboveRight:d.y=m>h.height||m>v?t.top-h.height:t.bottom;break;case a.Below:case a.BelowLeft:case a.BelowRight:d.y=v>h.height||v>m?t.bottom:t.top-h.height;break;case a.LeftTop:case a.RightTop:d.y=t.top;break;case a.LeftBottom:case a.RightBottom:d.y=t.bottom-h.height;break;case a.Left:case a.Right:d.y=t.bottom-h.height+(h.height-t.height)/2}}d.x=Math.min(d.x,o-h.width);d.y=Math.min(d.y,s-h.height);d.x=Math.max(0,d.x)+n.x;d.y=Math.max(0,d.y)+n.y;return d}function _getRtlPosition(e){var t=PopupPosition;switch(e){case t.AboveLeft:return t.AboveRight;case t.AboveRight:return t.AboveLeft;case t.BelowLeft:return t.BelowRight;case t.BelowRight:return t.BelowLeft;case t.Left:return t.Right;case t.LeftTop:return t.RightTop;case t.LeftBottom:return t.RightBottom;case t.Right:return t.Left;case t.RightTop:return t.LeftTop;case t.RightBottom:return t.LeftBottom}return e}function _getReferenceRect(e,t){return t instanceof MouseEvent?t.clientX<=0&&t.clientY<=0&&t.target instanceof HTMLElement?Rect.fromBoundingRect(t.target.getBoundingClientRect()):new Rect(t.pageX-pageXOffset,t.pageY-pageYOffset,0,0):t instanceof Point?new Rect(t.x,t.y,0,0):t instanceof HTMLElement?Rect.fromBoundingRect(t.getBoundingClientRect()):t&&null!=t.top&&null!=t.left?t:null}!function(e){e[e.Focus=0]="Focus";e[e.Hover=1]="Hover";e[e.Both=2]="Both"}(TooltipTrigger=exports.TooltipTrigger||(exports.TooltipTrigger={}));var Tooltip=function(){function Tooltip(e){this._showAutoTipBnd=this._showAutoTip.bind(this);this._hideAutoTipBnd=this._hideAutoTip.bind(this);this._mousemoveBnd=this._mousemove.bind(this);this._focusBnd=this._focus.bind(this);this._mousemovedocBnd=this._mousemovedoc.bind(this);this._keydownBnd=this._keydown.bind(this);this._keydownHandleBnd=this.keydownHandle.bind(this);this._html=!0;this._cssClass="";this._gap=6;this._isAnimated=!1;this._position=PopupPosition.Above;this._trigger=TooltipTrigger.Hover;this._showAtMouse=!1;this._showDelay=500;this._hideDelay=0;this._tooltipVisibleOnHover=!0;this._tips=[];this._forceRecreate=!1;this.popup=new Event;copy(this,e)}Object.defineProperty(Tooltip.prototype,"position",{get:function(){return this._position},set:function(e){this._position=asEnum(e,PopupPosition)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"trigger",{get:function(){return this._trigger},set:function(e){var t=this;this._trigger=asEnum(e,TooltipTrigger);this._tips.forEach((function(e){t._detach(e.element);t._attach(e.element)}))},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"isAnimated",{get:function(){return this._isAnimated},set:function(e){this._isAnimated=asBoolean(e)},enumerable:!0,configurable:!0});Tooltip.prototype.setTooltip=function(e,t,r){e=getElement(e);t=this._getContent(t);var n=this._indexOf(e);if(n>-1){this._detach(e);this._tips.splice(n,1)}if(t){this._attach(e);this._tips.push({element:e,content:t,position:r})}var i=Tooltip._eTip;if(i&&i[Control._TTIP_KEY]==e)if(t){this._setContent(t);i.isConnected&&!this._showAtMouse&&this.show(e,t,null,r)}else this._hideAutoTip()};Tooltip.prototype.getTooltip=function(e){e=getElement(e);for(var t=this._tips,r=0;r<t.length;r++)if(t[r].element==e)return t[r].content;return null};Tooltip.prototype.show=function(e,t,r,n){e=getElement(e);t=this._getContent(t);if(e){null==n&&(n=this.position);document.addEventListener("keydown",this._keydownHandleBnd);var i=Tooltip._eTip;this.forceRecreate&&i&&i.remove();if(!i||this.forceRecreate){addClass(i=Tooltip._eTip=document.createElement("div"),exports.TooltipClsNames.hostElement);setAttribute(i,"aria-live","polite");i.style.visibility="none"}if(!i.isConnected){i.id=getUniqueId(e.id+"_toolTip");addAttributeValueToElement(e,"aria-describedby",i.id)}i.setAttribute("class",exports.TooltipClsNames.hostElement);this._tooltipVisibleOnHover&&[TooltipTrigger.Hover,TooltipTrigger.Both].includes(this.trigger)&&i.addEventListener("mouseleave",this._hideAutoTipBnd);addClass(i,this.cssClass);hasClass(e,exports.ControlStateClsNames.invalid)?i.setAttribute("role","alert"):i.setAttribute("role","tooltip");this._setContent(t);i[Control._TTIP_KEY]=e;var o=new TooltipEventArgs(t,e);this.onPopup(o);if(o.content&&!o.cancel){this._setContent(o.content);r||(r=Rect.fromBoundingRect(e.getBoundingClientRect()));var s=this.gap,a=PopupPosition;if(s)switch(n){case a.Above:case a.AboveLeft:case a.AboveRight:case a.Below:case a.BelowLeft:case a.BelowRight:r=r.inflate(0,s);break;default:r=r.inflate(s,0)}showPopup(i,r,n,this.isAnimated);document.addEventListener("mousedown",this._hideAutoTipBnd)}}};Tooltip.prototype.hide=function(){var e=Tooltip._eTip;if(e){removeChild(e);removeClass(e,this.cssClass);e.innerHTML="";this._tooltipVisibleOnHover&&e.removeEventListener("mouseleave",this._hideAutoTipBnd);removeAttributeValueFromElement(e[Control._TTIP_KEY],"aria-describedby",e.id)}document.removeEventListener("mousedown",this._hideAutoTipBnd);document.removeEventListener("keydown",this._keydownHandleBnd);this._tooltipVisibleOnHover&&document.removeEventListener("mousemove",this._mousemovedocBnd)};Tooltip.prototype.dispose=function(){var e=this;this.hide();var t=this._tips;if(t.length){t.forEach((function(t){e._detach(t.element)}));t.splice(0,t.length)}if(Tooltip._eTip){Tooltip._eTip[Control._TTIP_KEY]=null;Tooltip._eTip=null}this._clearTimeouts()};Object.defineProperty(Tooltip.prototype,"isVisible",{get:function(){var e=Tooltip._eTip;return null!=e&&null!=e.parentElement&&e.offsetWidth>0},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"isContentHtml",{get:function(){return this._html},set:function(e){this._html=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"cssClass",{get:function(){return this._cssClass},set:function(e){this._cssClass=asString(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"gap",{get:function(){return this._gap},set:function(e){this._gap=asNumber(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"showAtMouse",{get:function(){return this._showAtMouse},set:function(e){this._showAtMouse=asBoolean(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"showDelay",{get:function(){return this._showDelay},set:function(e){this._showDelay=asInt(e)},enumerable:!0,configurable:!0});Object.defineProperty(Tooltip.prototype,"hideDelay",{get:function(){return this._hideDelay},set:function(e){this._hideDelay=asInt(e)},enumerable:!0,configurable:!0});Tooltip.prototype.onPopup=function(e){this.popup&&this.popup.raise(this,e);return!e.cancel};Tooltip.prototype.keydownHandle=function(e){"Escape"===e.key&&this.hide()};Tooltip.prototype._indexOf=function(e){for(var t=0;t<this._tips.length;t++)if(this._tips[t].element==e)return t;return-1};Tooltip.prototype._attach=function(e){if(this._tooltipVisibleOnHover)switch(this._trigger){case TooltipTrigger.Focus:e.addEventListener("focus",this._focusBnd);e.addEventListener("keydown",this._keydownBnd);e.addEventListener("blur",this._hideAutoTipBnd);break;case TooltipTrigger.Both:e.addEventListener("mousemove",this._showAutoTipBnd);e.addEventListener("mouseleave",this._hideAutoTipBnd);e.addEventListener("focus",this._focusBnd);e.addEventListener("keydown",this._keydownBnd);e.addEventListener("blur",this._hideAutoTipBnd);break;default:e.addEventListener("mousemove",this._showAutoTipBnd);e.addEventListener("mouseleave",this._hideAutoTipBnd)}else{e.addEventListener("mousemove",this._showAutoTipBnd);e.addEventListener("mouseleave",this._hideAutoTipBnd)}e.addEventListener("click",this._showAutoTipBnd);this.showAtMouse&&e.addEventListener("mousemove",this._mousemoveBnd)};Tooltip.prototype._detach=function(e){e.removeEventListener("focus",this._focusBnd);e.removeEventListener("mousemove",this._showAutoTipBnd);e.removeEventListener("mouseleave",this._hideAutoTipBnd);e.removeEventListener("click",this._showAutoTipBnd);e.removeEventListener("mousemove",this._mousemoveBnd);e.removeEventListener("keydown",this._keydownBnd);e.removeEventListener("blur",this._hideAutoTipBnd);e.removeEventListener("mousedown",this._hideAutoTipBnd)};Tooltip.prototype._keydown=function(e,t){if("Tab"==e.key){this._clearTimeouts();this.hide()}};Tooltip.prototype._focus=function(e){e&&e.target&&this._showAutoTip(void 0,e.target)};Tooltip.prototype._showAutoTip=function(e,t){var r=this,n=this._hideDelay;if(e&&[TooltipTrigger.Hover,TooltipTrigger.Both].includes(this.trigger)){if(e.defaultPrevented)return;if(this._tooltipVisibleOnHover&&"mousemove"==e.type&&this.isVisible&&!1===this._isMouseOutOfTipAndOwner(e))return;if("click"==e.type&&!Control._touching){this._hideAutoTip(e);return}var i=e&&"mouseenter"==e.type?this._showDelay:0;this._clearTimeouts();this._eMouse=e;var o=e.currentTarget;this._toShow=setTimeout((function(){var e=r._indexOf(o);if(e>-1){var t=r._tips[e],i=r._eMouse,s=r._showAtMouse?new Rect(i.clientX,i.clientY,0,0):null,a=t&&t.element;if(a&&r._hasOffset(a)){var l=Control.getControl(t.element);if(null==l||0!=l.isVisible){r.show(t.element,t.content,s,t.position);n>0&&(r._toHide=setTimeout((function(){r.hide()}),n))}}}}),i)}if(t&&[TooltipTrigger.Focus,TooltipTrigger.Both].includes(this.trigger)){i=this._showDelay;this._toShow=setTimeout((function(){var e=r._indexOf(t);if(e>-1){var i=r._tips[e],o=i&&i.element;if(o&&r._hasOffset(o)){var s=Control.getControl(i.element);if(null==s||0!=s.isVisible){r.show(i.element,i.content,null,i.position);n>0&&(r._toHide=setTimeout((function(){r.hide()}),n))}}}}),i)}};Tooltip.prototype._mousemove=function(e){var t=Tooltip._eTip;t&&!t.isConnected&&(this._eMouse=e)};Tooltip.prototype._mousemovedoc=function(e){[TooltipTrigger.Hover,TooltipTrigger.Both].includes(this.trigger)&&this._checkBoundsAndHide(e,!1)};Tooltip.prototype._hideAutoTip=function(e){if(e){if(Tooltip._eTip)if(this._tooltipVisibleOnHover){"mouseleave"==e.type&&document.addEventListener("mousemove",this._mousemovedocBnd);this._checkBoundsAndHide(e,!0)}else if((this.trigger==TooltipTrigger.Hover||this.trigger==TooltipTrigger.Both)&&e&&"click"!=e.type&&"mousedown"!=e.type){this._clearTimeouts();this.hide()}}};Tooltip.prototype._checkBoundsAndHide=function(e,t){if(Tooltip._eTip&&e){if(!0===this._isMouseOutOfTipAndOwner(e)||"blur"==e.type){t&&this._clearTimeouts();this.hide()}}};Tooltip.prototype._clearTimeouts=function(){if(this._toShow){clearTimeout(this._toShow);this._toShow=null}if(this._toHide){clearTimeout(this._toHide);this._toHide=null}if(this._forScreenReader){clearTimeout(this._forScreenReader);this._forScreenReader=null}};Tooltip.prototype._getContent=function(e){if((e=asString(e))&&"#"==e[0]){var t=getElement(e);t&&(e=t.innerHTML)}return e};Tooltip.prototype._setContent=function(e){var t=Tooltip._eTip;t&&(this._html?t.innerHTML=e:t.textContent=e)};Tooltip.prototype._hasOffset=function(e){var t=new Size(e.offsetWidth,e.offsetHeight);if(e instanceof SVGGraphicsElement){var r=e.getBBox();t.width=r.width;t.height=r.height}return t.width>0||t.height>0};Object.defineProperty(Tooltip.prototype,"forceRecreate",{get:function(){return this._forceRecreate},set:function(e){this._forceRecreate=e},enumerable:!0,configurable:!0});Tooltip.prototype._isMouseOutOfTipAndOwner=function(e){var t=Tooltip._eTip;if(t&&e){var r=t[Control._TTIP_KEY],n=Rect.fromBoundingRect(t.getBoundingClientRect()),i=Rect.fromBoundingRect(r.getBoundingClientRect()),o=this.gap+2,s=PopupPosition,a=0,l=this._indexOf(r);l>-1&&(a=this._tips[l]&&this._tips[l].position?this._tips[l].position:this.position);switch(a){case s.Above:case s.AboveLeft:case s.AboveRight:i=i.inflate(0,o,0,0);break;case s.Below:case s.BelowLeft:case s.BelowRight:i=i.inflate(0,0,0,o);break;case s.Left:case s.LeftTop:case s.LeftBottom:i=i.inflate(o,0,0,0);break;case s.Right:case s.RightTop:case s.RightBottom:i=i.inflate(0,0,o,0)}var u=e,c=!0;t.getClientRects().length>0&&null!=u&&(c=!(u.clientX>n.left&&u.clientX<n.right&&u.clientY>n.top&&u.clientY<n.bottom));var p=!0;null!=u&&(p=!(u.clientX>i.left&&u.clientX<i.right&&u.clientY>i.top&&u.clientY<i.bottom));return c&&p}};return Tooltip}();exports.Tooltip=Tooltip;var TooltipEventArgs=function(e){__extends(TooltipEventArgs,e);function TooltipEventArgs(t,r){var n=e.call(this)||this;n._content=asString(t);n._e=r;return n}Object.defineProperty(TooltipEventArgs.prototype,"tip",{get:function(){return Tooltip._eTip},enumerable:!0,configurable:!0});Object.defineProperty(TooltipEventArgs.prototype,"element",{get:function(){return this._e},enumerable:!0,configurable:!0});Object.defineProperty(TooltipEventArgs.prototype,"content",{get:function(){return this._content},set:function(e){this._content=asString(e)},enumerable:!0,configurable:!0});return TooltipEventArgs}(CancelEventArgs);exports.TooltipEventArgs=TooltipEventArgs;var theLic="The Wijmo license in this application ",_licStr={evl:"Wijmo Evaluation Version ({version})",prd:theLic+"is not valid for the <b>{control}</b> control.",ver:theLic+"is not valid for the version in use. The license version is <b>{licVer}</b>; the product version is <b>{version}</b>.",dmn:theLic+"is not valid for the current domain. The license domain is <b>{licDomain}</b>; the current domain is <b>{domain}</b>.",exp:theLic+"has expired. The license expiration date is <b>{expDate:d}</b>.",lic:theLic+"is invalid.",mss:theLic+"is not set.",ctc:'If you are a customer, you can <a target="_blank" rel="noopener" href="https://developer.mescius.com/licensing/wijmo?utm_source=Wijmo-In-App&utm_medium=Click-to-Site&utm_campaign=Wijmo-User-Analysis">create a license</a> online. Otherwise, you can <a target="_blank" rel="noopener" href="https://developer.mescius.com/wijmo/request-trial-key?utm_source=Wijmo-In-App&utm_medium=Click-to-Site&utm_campaign=Wijmo-User-Analysis">generate a 30-day license</a> for free. For further assistance, contact MESCIUS: <a href="mailto:us.sales@mescius.com">us.sales@mescius.com</a>.',hdr:"Wijmo License",cls:"CLOSE"},_codes={};function _updateWme(e,t){var r=Control._wme;if(!(r&&contains(document.body,r)&&r.offsetWidth&&r.offsetHeight))if(t){var n=_getControlCode(e);if(!_codes[n]){_codes[n]=!0;_attorn(t,{algorithmCode:"B0",publicKey:"l6/zrbWoSbcLFwEetFh38rH3ErBZE9H+Cqix3R+wTlfA1wD5B+lUcCQn+EJ60I4RGrm0x1sFjkiLWwB0jAn6BWZv0W4WbqAKriOdeoivxDp1Wmjs3qkEDhvbsjPtfvwx2BHil6o+/tDrdMJQSGs18WZm2PoQLQuL+9VhZ4FNRHUQU3Jtioke/OZEGHJOdYVwvCGalzBad6QFOiVbDBQPePpS3++GJzOxN8SN/7lyS5/IdKiy3WJRaVGkB370+HbN6hKraDfUgReLX26yxRaKC/5aWnGAJ2NnWLoGyAGRcwT9dVjo4bcAZNrrA0U9JVKQxaSskhdv2p49XzJkltXx5w=="},(function(r){_checkLicense(e,t,r);delete _codes[n]}),(function(){_checkLicense(e,t,null);delete _codes[n]}))}}else _checkLicense(e,null,null)}exports._updateWme=_updateWme;function _getControlCode(e){return e._getProductInfo().split(",")[0]}function _getControlName(e){return e._getProductInfo().split(",")[1]}function _checkLicense(e,t,r){var n=exports.culture.Licensing||_licStr,i=null;r?_checkExpiration(e,r)?_checkVersion(e,r)?_checkDomain(e,r)?_checkProductCode(e,r)?_checkEval(e,r)&&(i=n.evl):i=n.prd:i=n.dmn:i=n.ver:i=n.exp:i=t?n.lic:n.mss;i&&_addWme(e,i+="<br/><br/>"+n.ctc,r)}function _checkProductCode(e,t){var r=_getControlCode(e);if(r&&r.length>=4)for(var n=0;n<t.Prd.length;n++)if(t.Prd[n].C.indexOf(r)>-1)return!0;return!1}function _checkExpiration(e,t){if(t.Exp){var r=t.Exp,n=new Date(parseInt(r.substr(0,4))||0,parseInt(r.substr(4,2))-1||0,parseInt(r.substr(6,2))||0);if(Math.ceil((n.valueOf()-Date.now())/864e5)<=0)return!1}return!0}function _checkVersion(e,t){var r=t.Anl?t.Anl.ver:null,n=getVersion();if(r&&n){return parseInt(r.replace("v",""))+10>=parseInt(n.split(".")[1])}return!0}function _checkDomain(e,t){if(_isLocalHost()||!t.Dms)return!0;for(var r=location.hostname,n=t.Dms.split(","),i=0;i<n.length;i++)if(_ckHT(r,n[i]))return!0;return!1}function _ckHT(e,t){var r="^"+t.replace(/\./g,"\\.").replace(/\*/g,"(.*)")+"$";if(new RegExp(r,"i").test(e))return!0;if("*."==t.substr(0,2))return _ckHT(e,t.substr(2));if(isIp(e)&&!isIpv6(e)){var n=exports.ipaddr.parse(e),i=parseCIDR(t);if(i&&matchCIDR(n,i))return!0}return!1}exports._ckHT=_ckHT;function isIp(e){return isIpv4(e)||isIpv6(e)}function isIpv4(e){return exports.ipaddr.IPv4.isValidFourPartDecimal(e)}function isIpv6(e){return exports.ipaddr.IPv6.isValid(e)}function isIPExactMatch(e,t){return exports.ipaddr.parse(e).toString()===exports.ipaddr.parse(t).toString()}function parseCIDR(e){if(-1===e.indexOf("/"))return!1;var t=e.split("/");if(t[1].indexOf(".")>-1){var r=exports.ipaddr.parse(t[1]).prefixLengthFromSubnetMask();e=[t[0],r].join("/")}try{return exports.ipaddr.parseCIDR(e)}catch(e){return!1}}function matchCIDR(e,t){try{return e.match(t)}catch(e){return!1}}function _checkEval(e,t){return!!t&&t.Evl}function _isLocalHost(){var e=location,t=atob("Xih8bG9jYWxob3N0fGZpZGRsZS5qc2hlbGwubmV0fHJ1bi5wbG5rci5jb3xzLmNvZGVwZW4uaW98bnVsbC5qc2Jpbi5jb218Lio/LnN0YWNrYmxpdHouaW98MTI3LjAuMC4xfFt3LV0rLmxvY2FsfFt3LV0rfDo6MSkk");return"file:"==e.protocol||new RegExp(t,"i").test(e.hostname)}function _addWme(e,t,r){t=_getMessage(e,t,r);if(!_codes[" "]&&!_isLocalHost()&&!_checkEval(e,r)){_codes[" "]=!0;var n=exports.culture.Licensing||_licStr,i=createElement('<div style="position:fixed;background:rgba(0,0,0,0.3);left:0;top:0;width:100%;height:100%;font-family: sans-serif;z-index:10000;"><div style="position:relative;overflow:auto;background:white;width:450px;padding:36pt;left:50%;top:50%;transform:translate(-50%,-50%)"><div><p style="font-size:150%;font-weight:bold">'+n.hdr+"</p><p>"+t+'</p></div><div style="text-align:right;margin-top:24pt"><button style="border:none;background:rgba(158,158,158,.2);padding:8px 16px">'+n.cls+"</button></div></div></div>",document.body);i.addEventListener("click",(function(e){e.target instanceof HTMLButtonElement&&removeChild(i)}))}if(!Control._wme){var o=createElement('<div><a href="'+_getWmeHref()+'" target="_blank" rel="noopener">'+_getMessage(e)+"</a></div>"),s={position:"fixed",display:"block",visibility:"visible",background:"rgba(240,240,240,.9)",padding:"8px 12px",margin:"6px",fontFamily:"sans-serif",fontSize:"14pt",fontWeight:"bold",zIndex:1e4,opacity:.8,height:"auto",width:"auto",transform:"none"};switch(Math.round(100*Math.random())%3){case 0:s.right=s.bottom=0;break;case 1:s.left=s.bottom=0;break;case 2:s.right=s.top=0}setCss(o,s);document.body.appendChild(o);Control._wme=o;_addClickableTooltip(o,t)}}function _addClickableTooltip(e,t){var r,n=createElement(t);n.className=exports.TooltipClsNames.hostElement;setCss(n,{pointerEvents:"auto",padding:"10px",margin:"6px"});[e,n].forEach((function(e){e.addEventListener("mouseenter",(function(){return trackMouse(!0)}));e.addEventListener("mouseleave",(function(){return trackMouse(!1)}))}));var i=0;function trackMouse(t){i+=t?1:-1;r&&clearTimeout(r);r=setTimeout((function(){r=null;1==i?showPopup(n,e.getBoundingClientRect()):i<1&&hidePopup(n)}),500)}}function _getWmeHref(){switch(exports.culture.Globalize.name){case"ja":return"https://developer.mescius.jp/wijmo/about-license";case"ko":return"https://www.mescius.co.kr/wijmo#price";default:return"https://developer.mescius.com/licensing/wijmo?utm_source=Wijmo-In-App&utm_medium=Click-to-Site&utm_campaign=Wijmo-User-Analysis"}}function _getMessage(e,t,r){if(!t||t.trim().length<15){t=(exports.culture.Licensing||_licStr).evl}(!t||t.trim().length<15)&&(t=atob("V2lqbW8gRXZhbHVhdGlvbiBWZXJzaW9uICh7dmVyc2lvbn0p"));var n=null;if(r&&r.Exp){var i=r.Exp;n=new Date(parseInt(i.substr(0,4))||0,parseInt(i.substr(4,2))-1||0,parseInt(i.substr(6,2))||0)}return t=format(t,{version:getVersion(),domain:location.hostname,control:_getControlName(e),licVer:r&&r.Anl?"5."+r.Anl.ver.replace("v","")+".*":null,licDomain:r?r.Dms:null,expDate:n})}function _attorn(e,t,r,n){var i=parseKeyData(e,t.algorithmCode);if(!i)return n();var o=i.lic,s=i.prefix+"#"+t.algorithmCode;if(tripleHash(s+JSON.stringify(o.D))!=o.H)return n();var a=window.msCrypto||window.crypto,l=a?a.subtle:null;if(!l||!location.protocol.match(/^https/i))return r(o.D);var u={name:"RSASSA-PKCS1-v1_5",hash:{name:"SHA-256"}},c={alg:"RS256",e:"AQAB",kty:"RSA",n:str64ToJwkBase64(t.publicKey)};c=window.msCrypto?str2ArrayBuffer(JSON.stringify(c)):c;try{asPromise(l.importKey("jwk",c,u,!1,["verify"])).then((function(e){var t=arrayBuffer2Str(str64ToArrayBuffer(str64EncodeUnicode(s+JSON.stringify(o.D))));asPromise(l.verify(u,e,str64ToArrayBuffer(o.S),str2ArrayBuffer(t))).then((function(e){return e?r(o.D):n()}))}),(function(){return r(o.D)}))}catch(e){return r(o.D)}}var templateObject_1,uint8Array="undefined"==typeof window?null:window.Uint8Array||window.TypedArray;function parseKeyData(e,t){try{t="#"+t;var r=e.indexOf(t);if(r>-1)return{prefix:e.substring(0,r),lic:JSON.parse(decode(e.substr(r+t.length)))}}catch(e){}return null}function decode(e){if(!e)return"";var t=unshiftString(e);t=reverseString(t);var r=Math.ceil(t.length/2);return str64DecodeUnicode(t=(t=(t=t.substr(r)+t.substr(0,r)).replace("#","=")).replace("&","=="))}function unshiftString(e){for(var t=e.split(""),r=t.length-5;r>=0;r--){swapArrayElements(t,r+1,r+3,unshiftChar);swapArrayElements(t,r,r+2,unshiftChar)}return t.join("")}function swapArrayElements(e,t,r,n){e.length>1&&e.splice(r,1,n(e.splice(t,1,n(e[r]))[0]))}function shiftChar(e,t){var r=e.charCodeAt(0);return r>=65&&r<=90?e.toLowerCase():r>=97&&r<=122?e.toUpperCase():r>=48&&r<=57?String.fromCharCode(48+(r-48+10+t)%10):e}function unshiftChar(e){return shiftChar(e,-1)}function reverseString(e){return e.split("").reverse().join("")}function str64DecodeUnicode(e){for(var t=atob(e),r="",n=0;n<t.length;n++)r+="%"+("00"+t.charCodeAt(n).toString(16)).slice(-2);return decodeURIComponent(r)}function arrayBuffer2Str(e){return String.fromCharCode.apply(null,new uint8Array(e))}function str64ToArrayBuffer(e){for(var t=atob(e),r=t.length,n=new uint8Array(r),i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}function str64EncodeUnicode(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})))}function str64ToJwkBase64(e){return e.replace(/\+/g,"-").replace(/\//g,"_").replace(/\=+$/,"")}function str2ArrayBuffer(e){for(var t=new ArrayBuffer(e.length),r=new uint8Array(t),n=0,i=e.length;n<i;n++)r[n]=e.charCodeAt(n);return t}function tripleHash(e){for(var t=0,r=5381,n=0,i=e.length-1;i>=0;i--){var o=e.charCodeAt(i);t=o+(t<<6)+(t<<16)-t;r=o+((r<<5)+r);n=o+((n<<5)-n)}var s=t^r^n;s<0&&(s=~s);return s.toString(16).toUpperCase()}function asPromise(e){if("oncomplete"in e){e.then=function(t,r){e.resolve=t;e.reject=r};e.oncomplete=function(t){e.resolve(e.result)};e.onerror=function(t){e.reject()}}return e}_registerModule("wijmo",selfModule);