@devexpress/analytics-core 26.1.7-build-26318-0102 → 26.2.2-beta

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 (834) hide show
  1. package/README.md +7 -7
  2. package/accessibility/_accordionKeyboardHelper.d.ts +1 -0
  3. package/accessibility/_accordionKeyboardHelper.js +6 -3
  4. package/accessibility/_dxMutationObserver.js +11 -4
  5. package/accessibility/_keyboardHelperBase.d.ts +1 -0
  6. package/accessibility/_keyboardHelperBase.js +14 -4
  7. package/accessibility/_toolbarKeyboardHelper.d.ts +5 -5
  8. package/accessibility/_toolbarKeyboardHelper.js +12 -20
  9. package/accessibility/_treeListKeyboardHelper.d.ts +2 -2
  10. package/analytics-diagram.d.ts +6 -4
  11. package/analytics-diagram.js +6 -4
  12. package/analytics-elements.d.ts +4 -2
  13. package/analytics-elements.js +4 -2
  14. package/analytics-internal-native.d.ts +2 -4
  15. package/analytics-internal-native.js +2 -4
  16. package/analytics-internal.d.ts +8 -8
  17. package/analytics-internal.js +8 -8
  18. package/analytics-serializer-native.d.ts +8 -2
  19. package/analytics-serializer-native.js +8 -2
  20. package/analytics-utils-native.d.ts +2 -0
  21. package/analytics-utils-native.js +2 -0
  22. package/analytics-utils.d.ts +2 -2
  23. package/analytics-utils.js +2 -2
  24. package/analytics-version.js +1 -1
  25. package/analytics-widgets-filtering.d.ts +2 -0
  26. package/analytics-widgets-filtering.js +2 -0
  27. package/analytics-widgets-internal.d.ts +6 -10
  28. package/analytics-widgets-internal.js +6 -10
  29. package/analytics-widgets.d.ts +10 -0
  30. package/analytics-widgets.js +10 -0
  31. package/analytics-wizard-internal.d.ts +4 -2
  32. package/analytics-wizard-internal.js +4 -2
  33. package/bundle/_validator.js +3 -3
  34. package/core/_actionProvider.d.ts +3 -3
  35. package/core/_actionProvider.js +4 -11
  36. package/core/_actionsProvider.interface.d.ts +2 -2
  37. package/core/_bindings.d.ts +9 -1
  38. package/core/_bindings.js +103 -117
  39. package/core/binding/_jsDesignerBindingCommon.js +4 -4
  40. package/core/dragDrop/_dragDropHandler.d.ts +7 -8
  41. package/core/dragDrop/_dragDropHandler.js +20 -20
  42. package/core/dragDrop/_dragHelperContent.d.ts +18 -10
  43. package/core/dragDrop/_dragHelperContent.js +52 -23
  44. package/core/dragDrop/_selectionDragDropHandler.d.ts +1 -2
  45. package/core/dragDrop/_selectionDragDropHandler.js +17 -17
  46. package/core/dragDrop/_toolboxDragDropHandler.d.ts +1 -2
  47. package/core/dragDrop/_toolboxDragDropHandler.js +6 -5
  48. package/core/dragDrop/_wizardDragDropHandler.js +5 -6
  49. package/core/elements/baseSerializableModel.d.ts +9 -0
  50. package/core/elements/baseSerializableModel.js +14 -0
  51. package/core/elements/baseSurface.d.ts +106 -31
  52. package/core/elements/baseSurface.js +298 -137
  53. package/core/elements/elementModel.d.ts +102 -0
  54. package/core/elements/elementModel.js +256 -0
  55. package/core/elements/margins.d.ts +10 -10
  56. package/core/elements/margins.js +8 -7
  57. package/core/elements/paddingModel.d.ts +22 -17
  58. package/core/elements/paddingModel.js +34 -45
  59. package/core/elements/point.d.ts +7 -7
  60. package/core/elements/point.js +7 -5
  61. package/core/elements/rectangle.d.ts +18 -6
  62. package/core/elements/rectangle.js +34 -11
  63. package/core/elements/serializableModel.d.ts +4 -2
  64. package/core/elements/serializableModel.js +4 -5
  65. package/core/elements/size.d.ts +16 -6
  66. package/core/elements/size.js +7 -5
  67. package/core/internal/_arrayStores.d.ts +2 -2
  68. package/core/internal/_arrayStores.js +1 -2
  69. package/core/internal/_controlsHelper.d.ts +16 -12
  70. package/core/internal/_controlsHelper.js +62 -46
  71. package/core/internal/_cssCalculator.d.ts +39 -10
  72. package/core/internal/_cssCalculator.js +62 -64
  73. package/core/internal/_dimensionNotationsModel.d.ts +28 -8
  74. package/core/internal/_dimensionNotationsModel.js +65 -30
  75. package/core/internal/_draggable.d.ts +1 -0
  76. package/core/internal/_draggable.js +4 -1
  77. package/core/internal/_getNameHelpers.d.ts +1 -1
  78. package/core/internal/_getNameHelpers.js +4 -3
  79. package/core/internal/_hoverInfo.d.ts +10 -7
  80. package/core/internal/_hoverInfo.js +19 -16
  81. package/core/internal/_inlineTextEdit.d.ts +21 -6
  82. package/core/internal/_inlineTextEdit.js +67 -34
  83. package/core/internal/_ko_integration.d.ts +18 -14
  84. package/core/internal/_ko_integration.js +48 -79
  85. package/core/internal/_objectStructureControllers.d.ts +9 -7
  86. package/core/internal/_objectStructureProviders.d.ts +25 -9
  87. package/core/internal/_objectStructureProviders.js +113 -48
  88. package/core/internal/_processError.js +1 -1
  89. package/core/internal/_resizable.d.ts +27 -22
  90. package/core/internal/_resizable.js +37 -36
  91. package/core/internal/_resizableBinding.js +39 -34
  92. package/core/internal/_stores.d.ts +23 -9
  93. package/core/internal/_stores.js +50 -17
  94. package/core/internal/_surfaceHelpers.d.ts +3 -4
  95. package/core/internal/_surfaceHelpers.js +4 -4
  96. package/core/internal/_utils.d.ts +2 -1
  97. package/core/internal/_utils.js +1 -0
  98. package/core/internal/_validation.d.ts +1 -6
  99. package/core/internal/dxtTemplate.js +1 -1
  100. package/core/selection/_combinedObj.d.ts +23 -8
  101. package/core/selection/_combinedObj.js +114 -55
  102. package/core/selection/_selection.d.ts +33 -25
  103. package/core/selection/_selection.js +61 -57
  104. package/core/selection/_selectionHelpers.js +5 -5
  105. package/core/snapLines/_snapLineSurface.js +3 -4
  106. package/core/snapLines/_snapLinesCollector.d.ts +1 -2
  107. package/core/snapLines/_snapLinesCollector.js +2 -2
  108. package/core/snapLines/_snapLinesHelper.d.ts +14 -3
  109. package/core/snapLines/_snapLinesHelper.js +27 -4
  110. package/core/tools/_actionList.d.ts +5 -5
  111. package/core/tools/_actionList.js +129 -98
  112. package/core/tools/_actionListBase.d.ts +20 -12
  113. package/core/tools/_actionListBase.js +69 -54
  114. package/core/tools/_actionListBase.viewModel.d.ts +1 -0
  115. package/core/tools/_actionListBase.viewModel.js +48 -25
  116. package/core/tools/_copyPaste.d.ts +6 -7
  117. package/core/tools/_copyPaste.js +34 -32
  118. package/core/tools/_keyboardHelper.d.ts +8 -6
  119. package/core/tools/_keyboardHelper.js +58 -37
  120. package/core/tools/_tabInfoWithPropertyGrid.d.ts +5 -2
  121. package/core/tools/_tabInfoWithPropertyGrid.js +18 -12
  122. package/core/tools/contextMenuProvider.d.ts +25 -12
  123. package/core/tools/contextMenuProvider.js +39 -13
  124. package/core/tools/toolbox.d.ts +15 -3
  125. package/core/tools/toolbox.js +32 -4
  126. package/core/utils/_arrayutils.compareArrays.d.ts +1 -0
  127. package/core/utils/_arrayutils.compareArrays.js +7 -8
  128. package/core/utils/_arrayutils.d.ts +7 -5
  129. package/core/utils/_arrayutils.js +69 -73
  130. package/core/utils/_designerCreator.d.ts +56 -110
  131. package/core/utils/_designerCreator.js +173 -167
  132. package/core/utils/_designerInitializer.d.ts +5 -4
  133. package/core/utils/_designerInitializer.js +47 -37
  134. package/core/utils/_designerRootViewModel.d.ts +148 -0
  135. package/core/utils/_designerRootViewModel.js +243 -0
  136. package/core/utils/_fieldListProvider.d.ts +5 -2
  137. package/core/utils/_fieldListProvider.js +10 -7
  138. package/core/utils/_subscribeProperty.d.ts +21 -0
  139. package/core/utils/_subscribeProperty.js +56 -0
  140. package/core/utils/_testHelpers.d.ts +2 -0
  141. package/core/utils/_testHelpers.js +16 -0
  142. package/core/utils/_units.d.ts +2 -5
  143. package/core/utils/_units.js +1 -30
  144. package/core/utils/_utils.d.ts +3 -2
  145. package/core/utils/_utils.designerPart.d.ts +1 -0
  146. package/core/utils/_utils.designerPart.js +4 -1
  147. package/core/utils/_utils.getResizableOptions.d.ts +2 -2
  148. package/core/utils/_utils.getResizableOptions.js +12 -20
  149. package/core/utils/_utils.js +31 -15
  150. package/core/utils/_utils.staticContext.d.ts +22 -6
  151. package/core/utils/_utils.staticContext.js +2 -0
  152. package/core/utils/_visitors.d.ts +1 -1
  153. package/core/utils/_visitors.js +7 -8
  154. package/core/utils/controlsFactory.d.ts +2 -2
  155. package/core/utils/controlsFactory.js +2 -2
  156. package/core/utils/parsers.d.ts +4 -5
  157. package/core/utils/parsers.js +10 -15
  158. package/core/widgets/_criteriaPopupEditorBase.d.ts +13 -6
  159. package/core/widgets/_criteriaPopupEditorBase.js +39 -9
  160. package/core/widgets/_dataMemberEditor.d.ts +8 -8
  161. package/core/widgets/_dataMemberEditor.js +5 -3
  162. package/core/widgets/_displayNameBindings.d.ts +2 -0
  163. package/core/widgets/_displayNameBindings.js +14 -0
  164. package/core/widgets/_fieldlistpicker.d.ts +11 -5
  165. package/core/widgets/_fieldlistpicker.js +58 -43
  166. package/core/widgets/_popupEditorBase.d.ts +30 -11
  167. package/core/widgets/_popupEditorBase.js +65 -17
  168. package/core/widgets/_requiredNullableEditor.d.ts +3 -4
  169. package/core/widgets/_requiredNullableEditor.js +2 -6
  170. package/core/widgets/booleanEditor.d.ts +1 -7
  171. package/core/widgets/booleanEditor.js +3 -8
  172. package/core/widgets/bordereditor/_bordereditor.d.ts +30 -20
  173. package/core/widgets/bordereditor/_bordereditor.js +97 -48
  174. package/core/widgets/colorPickerEditor.d.ts +7 -9
  175. package/core/widgets/colorPickerEditor.js +30 -25
  176. package/core/widgets/criteriaStringEditor.d.ts +17 -0
  177. package/core/widgets/criteriaStringEditor.js +33 -0
  178. package/core/widgets/dataMemberEditor.d.ts +4 -3
  179. package/core/widgets/dataMemberEditor.js +5 -3
  180. package/core/widgets/expressionStringEditor.d.ts +4 -0
  181. package/core/widgets/expressionStringEditor.js +3 -0
  182. package/core/widgets/fieldListEditor.d.ts +21 -7
  183. package/core/widgets/fieldListEditor.js +68 -17
  184. package/core/widgets/filterStringEditor.d.ts +17 -0
  185. package/core/widgets/filterStringEditor.js +16 -0
  186. package/core/widgets/popover.d.ts +16 -3
  187. package/core/widgets/popover.js +66 -2
  188. package/core/widgets/propertygrid/_controlProperties.d.ts +37 -16
  189. package/core/widgets/propertygrid/_controlProperties.js +127 -55
  190. package/core/widgets/propertygrid/_controlProperties.viewModel.d.ts +39 -0
  191. package/core/widgets/propertygrid/_controlProperties.viewModel.js +64 -0
  192. package/core/widgets/propertygrid/_group.d.ts +25 -15
  193. package/core/widgets/propertygrid/_group.js +65 -35
  194. package/core/widgets/propertygrid/_group.viewModel.d.ts +20 -0
  195. package/core/widgets/propertygrid/_group.viewModel.js +30 -0
  196. package/core/widgets/registerDesignerEditors.d.ts +1 -1
  197. package/core/widgets/registerDesignerEditors.js +11 -7
  198. package/core/widgets/registerDesignerEditors.native.d.ts +1 -1
  199. package/core/widgets/registerDesignerEditors.native.js +22 -26
  200. package/core/widgets/tabInfo.d.ts +5 -0
  201. package/core/widgets/tabInfo.js +16 -2
  202. package/core/widgets/tabPanel.d.ts +2 -1
  203. package/core/widgets/tabPanel.js +16 -14
  204. package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +8 -8
  205. package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +54 -31
  206. package/diagram/_diagramRootModel.d.ts +11 -0
  207. package/diagram/_diagramRootModel.js +23 -0
  208. package/diagram/bindings.js +4 -4
  209. package/diagram/controlRegistrator.js +17 -17
  210. package/diagram/dragDrop/connectingPointDragHandler.d.ts +3 -4
  211. package/diagram/dragDrop/connectingPointDragHandler.js +10 -10
  212. package/diagram/dragDrop/connectionPointDragHandler.d.ts +1 -2
  213. package/diagram/dragDrop/connectionPointDragHandler.js +12 -12
  214. package/diagram/elements/connectingPointModel.d.ts +9 -9
  215. package/diagram/elements/connectingPointModel.js +32 -30
  216. package/diagram/elements/connectingPointSurface.d.ts +9 -5
  217. package/diagram/elements/connectingPointSurface.js +21 -7
  218. package/diagram/elements/connectors/connectionPointModel.d.ts +9 -7
  219. package/diagram/elements/connectors/connectionPointModel.js +16 -20
  220. package/diagram/elements/connectors/connectionPointSurface.d.ts +24 -9
  221. package/diagram/elements/connectors/connectionPointSurface.js +28 -14
  222. package/diagram/elements/connectors/connectorModel.d.ts +11 -9
  223. package/diagram/elements/connectors/connectorModel.js +51 -56
  224. package/diagram/elements/connectors/connectorSurface.d.ts +16 -8
  225. package/diagram/elements/connectors/connectorSurface.js +30 -8
  226. package/diagram/elements/connectors/routedConnectorModel.d.ts +14 -9
  227. package/diagram/elements/connectors/routedConnectorModel.js +87 -54
  228. package/diagram/elements/connectors/routedConnectorSurface.d.ts +43 -16
  229. package/diagram/elements/connectors/routedConnectorSurface.js +84 -53
  230. package/diagram/elements/{diagramElementBaseViewModel.d.ts → diagramElementBaseModel.d.ts} +5 -4
  231. package/diagram/elements/{diagramElementBaseViewModel.js → diagramElementBaseModel.js} +2 -2
  232. package/diagram/elements/diagramElementBaseSurface.d.ts +15 -8
  233. package/diagram/elements/diagramElementBaseSurface.js +22 -20
  234. package/diagram/elements/diagramElementModel.d.ts +10 -0
  235. package/diagram/elements/diagramElementModel.js +13 -0
  236. package/diagram/elements/diagramElementSurface.d.ts +12 -4
  237. package/diagram/elements/diagramElementSurface.js +16 -0
  238. package/diagram/elements/diagramModel.d.ts +6 -7
  239. package/diagram/elements/diagramModel.js +15 -7
  240. package/diagram/elements/diagramSurface.d.ts +24 -16
  241. package/diagram/elements/diagramSurface.js +56 -27
  242. package/diagram/initializer.d.ts +3 -2
  243. package/diagram/initializer.js +20 -15
  244. package/diagram/utils.js +4 -4
  245. package/dist/css/dx-analytics.carmine.compact.css +13 -10
  246. package/dist/css/dx-analytics.carmine.css +13 -10
  247. package/dist/css/dx-analytics.common.css +37 -15
  248. package/dist/css/dx-analytics.contrast.compact.css +37 -10
  249. package/dist/css/dx-analytics.contrast.css +37 -10
  250. package/dist/css/dx-analytics.dark.compact.css +13 -10
  251. package/dist/css/dx-analytics.dark.css +13 -10
  252. package/dist/css/dx-analytics.darkmoon.compact.css +13 -10
  253. package/dist/css/dx-analytics.darkmoon.css +13 -10
  254. package/dist/css/dx-analytics.darkviolet.compact.css +13 -10
  255. package/dist/css/dx-analytics.darkviolet.css +13 -10
  256. package/dist/css/dx-analytics.greenmist.compact.css +13 -10
  257. package/dist/css/dx-analytics.greenmist.css +13 -10
  258. package/dist/css/dx-analytics.light.compact.css +12 -9
  259. package/dist/css/dx-analytics.light.css +12 -9
  260. package/dist/css/dx-analytics.material.blue.dark.compact.css +17 -14
  261. package/dist/css/dx-analytics.material.blue.dark.css +17 -14
  262. package/dist/css/dx-analytics.material.blue.light.compact.css +26 -23
  263. package/dist/css/dx-analytics.material.blue.light.css +26 -23
  264. package/dist/css/dx-analytics.material.lime.dark.compact.css +17 -14
  265. package/dist/css/dx-analytics.material.lime.dark.css +17 -14
  266. package/dist/css/dx-analytics.material.lime.light.compact.css +16 -13
  267. package/dist/css/dx-analytics.material.lime.light.css +16 -13
  268. package/dist/css/dx-analytics.material.orange.dark.compact.css +17 -14
  269. package/dist/css/dx-analytics.material.orange.dark.css +17 -14
  270. package/dist/css/dx-analytics.material.orange.light.compact.css +16 -13
  271. package/dist/css/dx-analytics.material.orange.light.css +16 -13
  272. package/dist/css/dx-analytics.material.purple.dark.compact.css +17 -14
  273. package/dist/css/dx-analytics.material.purple.dark.css +17 -14
  274. package/dist/css/dx-analytics.material.purple.light.compact.css +16 -13
  275. package/dist/css/dx-analytics.material.purple.light.css +16 -13
  276. package/dist/css/dx-analytics.material.teal.dark.compact.css +17 -14
  277. package/dist/css/dx-analytics.material.teal.dark.css +17 -14
  278. package/dist/css/dx-analytics.material.teal.light.compact.css +16 -13
  279. package/dist/css/dx-analytics.material.teal.light.css +16 -13
  280. package/dist/css/dx-analytics.softblue.compact.css +13 -10
  281. package/dist/css/dx-analytics.softblue.css +13 -10
  282. package/dist/css/dx-querybuilder.css +7 -7
  283. package/dist/html/templates.html +3423 -3461
  284. package/dist/js/dx-analytics-core.d.ts +8951 -7005
  285. package/dist/js/dx-analytics-core.js +16753 -12987
  286. package/dist/js/dx-analytics-core.min.js +8 -8
  287. package/dist/js/dx-querybuilder.js +6246 -3858
  288. package/dist/js/dx-querybuilder.min.js +8 -8
  289. package/dx-analytics-core-bindings.generated.js +158 -178
  290. package/dx-analytics-core-imports.d.ts +0 -1
  291. package/dx-analytics-core-imports.js +0 -1
  292. package/dx-analytics-core-templates.generated.js +73 -73
  293. package/dx-dev-analytics-core-svg-bindings.generated.js +2 -1
  294. package/dx-dev-analytics-core-svg-templates.generated.js +2 -1
  295. package/dx-query-builder-bindings.generated.js +181 -194
  296. package/dx-query-builder-templates.generated.js +75 -79
  297. package/less/colors/carmine-colors.less +36 -35
  298. package/less/colors/contrast-colors.less +36 -35
  299. package/less/colors/dark-colors.less +35 -34
  300. package/less/colors/darkmoon-colors.less +35 -34
  301. package/less/colors/darkviolet-colors.less +35 -34
  302. package/less/colors/greenmist-colors.less +35 -34
  303. package/less/colors/light-colors.less +35 -34
  304. package/less/colors/material.dark-colors.less +10 -9
  305. package/less/colors/material.light-colors.less +5 -4
  306. package/less/colors/softblue-colors.less +35 -34
  307. package/less/common.less +128 -128
  308. package/less/dx-carmine-style.less +2 -2
  309. package/less/dx-contrast-style.less +133 -95
  310. package/less/dx-dark-style.less +1 -1
  311. package/less/dx-darkmoon-style.less +2 -2
  312. package/less/dx-darkviolet-style.less +2 -2
  313. package/less/dx-greenmist-style.less +2 -2
  314. package/less/dx-light-style.less +1 -1
  315. package/less/dx-material.blue.dark-style.less +4 -4
  316. package/less/dx-material.blue.light-style.less +4 -4
  317. package/less/dx-material.dark.fix-varialbles.less +24 -24
  318. package/less/dx-material.fix-style.less +1344 -1344
  319. package/less/dx-material.light.fix-varialbles.less +6 -6
  320. package/less/dx-material.lime.dark-style.less +5 -5
  321. package/less/dx-material.lime.light-style.less +5 -5
  322. package/less/dx-material.orange.dark-style.less +5 -5
  323. package/less/dx-material.orange.light-style.less +5 -5
  324. package/less/dx-material.purple.dark-style.less +5 -5
  325. package/less/dx-material.purple.light-style.less +5 -5
  326. package/less/dx-material.teal.dark-style.less +5 -5
  327. package/less/dx-material.teal.light-style.less +5 -5
  328. package/less/dx-softblue-style.less +2 -2
  329. package/less/dx-variable-style.less +461 -456
  330. package/less/important.less +426 -426
  331. package/less/svg.less +42 -42
  332. package/license/_license.tools.d.ts +4 -0
  333. package/license/_license.tools.js +13 -5
  334. package/package.json +5 -5
  335. package/property-grid/_propertiesAccessibilityProvider.d.ts +10 -3
  336. package/property-grid/_propertiesAccessibilityProvider.js +24 -18
  337. package/property-grid/bindings.accordion.js +11 -30
  338. package/property-grid/bindings.d.ts +3 -6
  339. package/property-grid/bindings.js +65 -69
  340. package/property-grid/internal/_addon.d.ts +32 -14
  341. package/property-grid/internal/_addon.js +100 -40
  342. package/property-grid/internal/_popupService.d.ts +26 -8
  343. package/property-grid/internal/_popupService.js +60 -9
  344. package/property-grid/localization/_localization.d.ts +5 -5
  345. package/property-grid/localization/_localization.js +1 -1
  346. package/property-grid/localization/localization_utils.d.ts +1 -1
  347. package/property-grid/propertygrid.d.ts +67 -33
  348. package/property-grid/propertygrid.js +232 -140
  349. package/property-grid/widgets/_undoEditor.d.ts +15 -0
  350. package/property-grid/widgets/_undoEditor.js +45 -0
  351. package/property-grid/widgets/collectioneditor/_bindings.d.ts +8 -5
  352. package/property-grid/widgets/collectioneditor/_bindings.js +72 -15
  353. package/property-grid/widgets/collectioneditor/_editor.d.ts +11 -9
  354. package/property-grid/widgets/collectioneditor/_editor.js +68 -76
  355. package/property-grid/widgets/editor.d.ts +101 -56
  356. package/property-grid/widgets/editor.js +242 -185
  357. package/property-grid/widgets/editor.viewmodel.d.ts +2 -0
  358. package/property-grid/widgets/editor.viewmodel.js +82 -42
  359. package/property-grid/widgets/editorValidator.d.ts +9 -10
  360. package/property-grid/widgets/editorValidator.js +9 -2
  361. package/property-grid/widgets/editorsInfo.d.ts +1 -0
  362. package/property-grid/widgets/editorsInfo.js +9 -0
  363. package/property-grid/widgets/ellipsiseditor/_editor.d.ts +2 -2
  364. package/property-grid/widgets/ellipsiseditor/_editor.js +1 -0
  365. package/property-grid/widgets/fonteditor/_fonts.d.ts +1 -2
  366. package/property-grid/widgets/fonteditor/_fonts.js +2 -2
  367. package/property-grid/widgets/fonteditor/_model.d.ts +23 -14
  368. package/property-grid/widgets/fonteditor/_model.js +79 -40
  369. package/property-grid/widgets/fonteditor/_modificatorsEditor.d.ts +28 -0
  370. package/property-grid/widgets/fonteditor/_modificatorsEditor.js +31 -0
  371. package/property-grid/widgets/fonteditor/editor.d.ts +7 -6
  372. package/property-grid/widgets/fonteditor/editor.js +12 -9
  373. package/property-grid/widgets/guideditor.d.ts +17 -4
  374. package/property-grid/widgets/guideditor.js +52 -5
  375. package/property-grid/widgets/internal/_bindingsCache.ko.js +11 -14
  376. package/property-grid/widgets/internal/_internal.d.ts +4 -3
  377. package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +1 -2
  378. package/property-grid/widgets/internal/_svgTemplateEngine.ko.js +4 -7
  379. package/property-grid/widgets/internal/_utils.d.ts +21 -14
  380. package/property-grid/widgets/internal/_utils.js +8 -0
  381. package/property-grid/widgets/registerBaseEdtior.d.ts +1 -1
  382. package/property-grid/widgets/registerBaseEdtior.js +3 -3
  383. package/property-grid/widgets/registerBaseEdtior.native.d.ts +1 -1
  384. package/property-grid/widgets/registerBaseEdtior.native.js +14 -17
  385. package/query-builder/_accordionTabInfo.d.ts +12 -20
  386. package/query-builder/_accordionTabInfo.js +49 -30
  387. package/query-builder/_bindings.js +6 -5
  388. package/query-builder/_initializer.d.ts +11 -8
  389. package/query-builder/_initializer.js +205 -164
  390. package/query-builder/_previewDialog.d.ts +38 -0
  391. package/query-builder/_previewDialog.js +60 -0
  392. package/query-builder/_queryBuilderRootModel.d.ts +42 -0
  393. package/query-builder/_queryBuilderRootModel.js +70 -0
  394. package/query-builder/binding/jsQueryBuilder.d.ts +5 -7
  395. package/query-builder/binding/jsQueryBuilder.js +6 -12
  396. package/query-builder/binding/jsQueryBuilderBinding.d.ts +2 -2
  397. package/query-builder/binding/jsQueryBuilderBinding.js +15 -16
  398. package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +4 -4
  399. package/query-builder/dataSource/_utils.js +2 -2
  400. package/query-builder/dataSource/dataSourceParameter.d.ts +18 -12
  401. package/query-builder/dataSource/dataSourceParameter.js +73 -54
  402. package/query-builder/dataSource/dbSchemaProvider.js +9 -7
  403. package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +8 -9
  404. package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +14 -14
  405. package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +4 -5
  406. package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +8 -9
  407. package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +9 -10
  408. package/query-builder/dataSource/federation/federatedQueries/subNode.js +18 -19
  409. package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +13 -14
  410. package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +14 -14
  411. package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +5 -6
  412. package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +5 -7
  413. package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +7 -8
  414. package/query-builder/dataSource/federation/federatedQueriesContainer.js +32 -25
  415. package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +6 -5
  416. package/query-builder/dataSource/federation/federatedQueryExpression.js +4 -4
  417. package/query-builder/dataSource/federation/federationDataSource.d.ts +8 -9
  418. package/query-builder/dataSource/federation/federationDataSource.js +14 -14
  419. package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +2 -1
  420. package/query-builder/dataSource/federation/federationMasterDetailRelation.js +4 -4
  421. package/query-builder/dataSource/federation/federationSerializableModel.d.ts +1 -2
  422. package/query-builder/dataSource/federation/federationSerializableModel.js +10 -11
  423. package/query-builder/dataSource/federation/federationSource.d.ts +6 -6
  424. package/query-builder/dataSource/federation/federationSource.js +7 -9
  425. package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +4 -4
  426. package/query-builder/dataSource/json/jsonAuthenticationInfo.js +4 -4
  427. package/query-builder/dataSource/json/jsonDataSource.d.ts +5 -6
  428. package/query-builder/dataSource/json/jsonDataSource.js +7 -7
  429. package/query-builder/dataSource/json/jsonParameter.d.ts +42 -17
  430. package/query-builder/dataSource/json/jsonParameter.js +60 -23
  431. package/query-builder/dataSource/json/jsonSchemaNode.d.ts +7 -7
  432. package/query-builder/dataSource/json/jsonSchemaNode.js +19 -11
  433. package/query-builder/dataSource/json/jsonSchemaProvider.js +6 -5
  434. package/query-builder/dataSource/json/jsonSource.d.ts +8 -10
  435. package/query-builder/dataSource/json/jsonSource.js +18 -21
  436. package/query-builder/dataSource/mongoDB/mongoDBDataConnection.js +2 -2
  437. package/query-builder/dataSource/mongoDB/mongoDBDataSource.d.ts +4 -4
  438. package/query-builder/dataSource/mongoDB/mongoDBDataSource.js +11 -9
  439. package/query-builder/dataSource/mongoDB/mongoDBQuery.d.ts +7 -6
  440. package/query-builder/dataSource/mongoDB/mongoDBQuery.js +15 -15
  441. package/query-builder/dataSource/object/objectDataSource.d.ts +3 -4
  442. package/query-builder/dataSource/object/objectDataSource.js +13 -8
  443. package/query-builder/dataSource/object/objectSchema.d.ts +2 -3
  444. package/query-builder/dataSource/object/objectSchema.js +4 -5
  445. package/query-builder/dataSource/resultSet.d.ts +3 -3
  446. package/query-builder/dataSource/resultSet.js +7 -6
  447. package/query-builder/dataSource/resultTable.d.ts +7 -7
  448. package/query-builder/dataSource/resultTable.js +4 -4
  449. package/query-builder/dataSource/sql/connectionOptions.d.ts +4 -4
  450. package/query-builder/dataSource/sql/connectionOptions.js +5 -9
  451. package/query-builder/dataSource/sql/customSqlQuery.d.ts +6 -6
  452. package/query-builder/dataSource/sql/customSqlQuery.js +9 -8
  453. package/query-builder/dataSource/sql/dataConnectionBase.d.ts +5 -5
  454. package/query-builder/dataSource/sql/dataConnectionBase.js +5 -8
  455. package/query-builder/dataSource/sql/masterDetailRelation.d.ts +13 -12
  456. package/query-builder/dataSource/sql/masterDetailRelation.js +9 -25
  457. package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +1 -0
  458. package/query-builder/dataSource/sql/masterDetailRelationMeta.js +6 -7
  459. package/query-builder/dataSource/sql/sqlDataSource.d.ts +6 -7
  460. package/query-builder/dataSource/sql/sqlDataSource.js +13 -13
  461. package/query-builder/dataSource/sql/storedProcQuery.d.ts +6 -6
  462. package/query-builder/dataSource/sql/storedProcQuery.js +10 -9
  463. package/query-builder/dataSource/sql/tableQuery.d.ts +8 -8
  464. package/query-builder/dataSource/sql/tableQuery.js +10 -9
  465. package/query-builder/dataSource/utils.d.ts +7 -8
  466. package/query-builder/dragDrop/_columnDragHandler.d.ts +5 -6
  467. package/query-builder/dragDrop/_columnDragHandler.js +41 -29
  468. package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +7 -8
  469. package/query-builder/dragDrop/_dbObjectDragDropHandler.js +14 -12
  470. package/query-builder/elements/_federationColumnModel.d.ts +7 -7
  471. package/query-builder/elements/_federationColumnModel.js +4 -4
  472. package/query-builder/elements/_federationQueryModel.d.ts +22 -23
  473. package/query-builder/elements/_federationQueryModel.js +50 -43
  474. package/query-builder/elements/allColumnsModel.d.ts +7 -8
  475. package/query-builder/elements/allColumnsModel.js +22 -24
  476. package/query-builder/elements/allColumnsSurface.d.ts +14 -11
  477. package/query-builder/elements/allColumnsSurface.js +25 -14
  478. package/query-builder/elements/columnExpression.d.ts +21 -16
  479. package/query-builder/elements/columnExpression.js +50 -22
  480. package/query-builder/elements/columnModel.d.ts +19 -18
  481. package/query-builder/elements/columnModel.js +115 -100
  482. package/query-builder/elements/columnSurface.d.ts +25 -22
  483. package/query-builder/elements/columnSurface.js +56 -31
  484. package/query-builder/elements/joinConditionModel.d.ts +14 -16
  485. package/query-builder/elements/joinConditionModel.js +32 -18
  486. package/query-builder/elements/joinConditionSurface.d.ts +3 -3
  487. package/query-builder/elements/joinConditionSurface.js +4 -8
  488. package/query-builder/elements/parameterModel.d.ts +3 -6
  489. package/query-builder/elements/parameterModel.js +3 -2
  490. package/query-builder/elements/queryElementModel.d.ts +4 -3
  491. package/query-builder/elements/queryElementModel.js +2 -2
  492. package/query-builder/elements/queryElementSurface.d.ts +3 -5
  493. package/query-builder/elements/queryElementSurface.js +5 -14
  494. package/query-builder/elements/queryModel.d.ts +43 -41
  495. package/query-builder/elements/queryModel.js +193 -159
  496. package/query-builder/elements/queryModelMeta.js +1 -1
  497. package/query-builder/elements/querySurface.d.ts +42 -22
  498. package/query-builder/elements/querySurface.js +88 -42
  499. package/query-builder/elements/relationModel.d.ts +17 -17
  500. package/query-builder/elements/relationModel.js +26 -20
  501. package/query-builder/elements/relationSurface.d.ts +10 -7
  502. package/query-builder/elements/relationSurface.js +11 -5
  503. package/query-builder/elements/tableModel.d.ts +24 -27
  504. package/query-builder/elements/tableModel.js +80 -67
  505. package/query-builder/elements/tableSurface.d.ts +28 -11
  506. package/query-builder/elements/tableSurface.js +49 -14
  507. package/query-builder/utils/_callbacks.d.ts +2 -2
  508. package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +9 -10
  509. package/query-builder/utils/_columnExpressionCollectionHelper.js +38 -22
  510. package/query-builder/utils/_controlsFactory.js +15 -15
  511. package/query-builder/utils/_dataConnection.js +2 -2
  512. package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +6 -6
  513. package/query-builder/utils/_jsonSchemaFieldListProviderFactory.d.ts +2 -1
  514. package/query-builder/utils/_jsonSchemaFieldListProviderFactory.js +7 -7
  515. package/query-builder/utils/_queryBuilderTreeListController.d.ts +4 -5
  516. package/query-builder/utils/requestwrapper.js +8 -8
  517. package/query-builder/widgets/_federatedQueriesHelper.d.ts +2 -2
  518. package/query-builder/widgets/_federatedQueriesHelper.js +13 -12
  519. package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +25 -10
  520. package/query-builder/widgets/_manageFederatedQueriesEditor.js +48 -22
  521. package/query-builder/widgets/_parameterExpressionEditor.d.ts +8 -0
  522. package/query-builder/widgets/_parameterExpressionEditor.js +7 -0
  523. package/query-builder/widgets/_rightPanelSwitcher.d.ts +17 -14
  524. package/query-builder/widgets/_rightPanelSwitcher.js +45 -19
  525. package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +1 -1
  526. package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +29 -9
  527. package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +60 -23
  528. package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +10 -10
  529. package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +8 -9
  530. package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +1 -2
  531. package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +4 -6
  532. package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +4 -4
  533. package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +6 -7
  534. package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +13 -11
  535. package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +15 -14
  536. package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +27 -11
  537. package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +56 -11
  538. package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +22 -15
  539. package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +52 -46
  540. package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +29 -10
  541. package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +41 -25
  542. package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +44 -16
  543. package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +80 -21
  544. package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +25 -9
  545. package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +58 -22
  546. package/query-builder/widgets/registerEditorTemplates.d.ts +1 -1
  547. package/query-builder/widgets/registerEditorTemplates.js +7 -5
  548. package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +1 -1
  549. package/query-builder/wizard/chooseAvailableDataSourcePage.js +4 -4
  550. package/query-builder/wizard/chooseAvailablePage.d.ts +31 -11
  551. package/query-builder/wizard/chooseAvailablePage.js +64 -17
  552. package/query-builder/wizard/dataSourceWizard.d.ts +8 -6
  553. package/query-builder/wizard/dataSourceWizard.js +12 -13
  554. package/query-builder/wizard/dataSourceWizardState.d.ts +1 -1
  555. package/query-builder/wizard/dataSourceWizardState.js +11 -8
  556. package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +16 -7
  557. package/query-builder/wizard/fullscreen/fullscreenWizard.js +50 -16
  558. package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +29 -8
  559. package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +80 -31
  560. package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +32 -9
  561. package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +85 -12
  562. package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +1 -1
  563. package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +1 -1
  564. package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +2 -2
  565. package/query-builder/wizard/fullscreen/pages/specifyMongoDBDataSourceSettingsPage.js +1 -1
  566. package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +17 -3
  567. package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +28 -20
  568. package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +2 -2
  569. package/query-builder/wizard/internal/_configureParametersUtils.d.ts +16 -17
  570. package/query-builder/wizard/internal/_configureParametersUtils.js +19 -11
  571. package/query-builder/wizard/internal/_dataSourceWizardConnectionStringsHolder.d.ts +9 -0
  572. package/query-builder/wizard/internal/_dataSourceWizardConnectionStringsHolder.js +31 -0
  573. package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +15 -14
  574. package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +63 -60
  575. package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +3 -3
  576. package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +28 -12
  577. package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +45 -20
  578. package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +34 -34
  579. package/query-builder/wizard/internal/_jsonSourceSettings.js +170 -137
  580. package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +2 -2
  581. package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +4 -3
  582. package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +39 -22
  583. package/query-builder/wizard/internal/_queryBuilderPopup.js +83 -30
  584. package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +2 -2
  585. package/query-builder/wizard/internal/_selectStatementPopup.d.ts +31 -0
  586. package/query-builder/wizard/internal/_selectStatementPopup.js +63 -0
  587. package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +42 -16
  588. package/query-builder/wizard/internal/_selectStatementQueryControl.js +84 -42
  589. package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +33 -11
  590. package/query-builder/wizard/internal/_storedProceduresQueryControl.js +71 -26
  591. package/query-builder/wizard/internal/_treeListNode.d.ts +60 -23
  592. package/query-builder/wizard/internal/_treeListNode.js +206 -108
  593. package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +7 -4
  594. package/query-builder/wizard/internal/_treeNodeItemsProvider.js +30 -31
  595. package/query-builder/wizard/internal/_utils.d.ts +13 -17
  596. package/query-builder/wizard/internal/_utils.js +4 -35
  597. package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +1 -2
  598. package/query-builder/wizard/internal/_wizardPageProcessor.js +12 -13
  599. package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +3 -3
  600. package/query-builder/wizard/internal/_wizardPageSectionIterator.js +16 -7
  601. package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +3 -3
  602. package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +3 -3
  603. package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +1 -1
  604. package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +27 -8
  605. package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +52 -10
  606. package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +32 -14
  607. package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +184 -102
  608. package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +2 -2
  609. package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +2 -2
  610. package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +46 -12
  611. package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +131 -65
  612. package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +4 -2
  613. package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +6 -4
  614. package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +2 -2
  615. package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +16 -15
  616. package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +35 -8
  617. package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +130 -62
  618. package/query-builder/wizard/internal/initializer.d.ts +8 -4
  619. package/query-builder/wizard/internal/jsonSourceSettings.d.ts +25 -8
  620. package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +20 -6
  621. package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +49 -16
  622. package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +29 -16
  623. package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +93 -57
  624. package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +20 -11
  625. package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +60 -29
  626. package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +1 -1
  627. package/query-builder/wizard/multiQueryDataSourceWizard.js +5 -5
  628. package/query-builder/wizard/pages/IWizardPage.d.ts +4 -1
  629. package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +1 -0
  630. package/query-builder/wizard/pages/__wrappedWizardPage.js +18 -1
  631. package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +21 -3
  632. package/query-builder/wizard/pages/chooseDataSourceTypePage.js +54 -9
  633. package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +19 -6
  634. package/query-builder/wizard/pages/chooseSqlConnectionPage.js +51 -24
  635. package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +0 -4
  636. package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +6 -9
  637. package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +20 -18
  638. package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +78 -48
  639. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +6 -6
  640. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +3 -3
  641. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +26 -9
  642. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +106 -60
  643. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +51 -21
  644. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +90 -42
  645. package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +8 -4
  646. package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +8 -2
  647. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBCollectionPage.d.ts +33 -10
  648. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBCollectionPage.js +90 -55
  649. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBDataConnectionPage.d.ts +2 -2
  650. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBDataConnectionPage.js +5 -5
  651. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBSchemaPage.d.ts +19 -7
  652. package/query-builder/wizard/pages/mongoDBDataSourceWizard/chooseMongoDBSchemaPage.js +73 -37
  653. package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +0 -4
  654. package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +5 -11
  655. package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +13 -6
  656. package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +52 -37
  657. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +59 -71
  658. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +162 -113
  659. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +16 -10
  660. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +75 -70
  661. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +7 -1
  662. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +19 -10
  663. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +7 -2
  664. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +15 -8
  665. package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +10 -4
  666. package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +10 -5
  667. package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +1 -1
  668. package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +9 -9
  669. package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +13 -4
  670. package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +37 -14
  671. package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +33 -10
  672. package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +102 -49
  673. package/query-builder/wizard/pages/wizardPageBase.d.ts +10 -2
  674. package/query-builder/wizard/pages/wizardPageBase.js +20 -5
  675. package/query-builder/wizard/popupWizard.d.ts +37 -100
  676. package/query-builder/wizard/popupWizard.js +72 -37
  677. package/query-builder/wizard/wizard.d.ts +20 -8
  678. package/query-builder/wizard/wizard.js +55 -23
  679. package/queryBuilder-internal.d.ts +4 -2
  680. package/queryBuilder-internal.js +4 -2
  681. package/queryBuilder-widgets-internal.d.ts +2 -2
  682. package/queryBuilder-widgets-internal.js +2 -2
  683. package/serializer/_internal.d.ts +2 -0
  684. package/serializer/_internal.js +20 -10
  685. package/serializer/disposable.d.ts +7 -6
  686. package/serializer/disposable.js +18 -11
  687. package/serializer/eventManager.d.ts +3 -2
  688. package/serializer/eventManager.js +26 -17
  689. package/serializer/native/deserializationEngine.d.ts +42 -3
  690. package/serializer/native/deserializationEngine.js +221 -83
  691. package/serializer/native/deserializationEngine.updateViewModel.js +28 -12
  692. package/serializer/native/diagnostics/derivedCacheDiagnostics.d.ts +10 -0
  693. package/serializer/native/diagnostics/derivedCacheDiagnostics.js +65 -0
  694. package/serializer/native/modelGraph.d.ts +10 -0
  695. package/serializer/native/modelGraph.js +92 -0
  696. package/serializer/native/models/base.model.d.ts +29 -41
  697. package/serializer/native/models/base.model.js +75 -96
  698. package/serializer/native/models/derivedAccessor.d.ts +33 -0
  699. package/serializer/native/models/derivedAccessor.js +231 -0
  700. package/serializer/native/models/interfaces.model.d.ts +21 -5
  701. package/serializer/native/models/interfaces.model.js +24 -1
  702. package/serializer/native/models/valueAccessor.d.ts +21 -0
  703. package/serializer/native/models/valueAccessor.js +77 -0
  704. package/serializer/native/multiplatformEngine.d.ts +11 -35
  705. package/serializer/native/multiplatformEngine.js +16 -142
  706. package/serializer/native/serializer.d.ts +16 -1
  707. package/serializer/native/serializer.js +87 -23
  708. package/serializer/native/viewModels/viewModelGenerator.d.ts +1 -0
  709. package/serializer/native/viewModels/viewModelGenerator.js +35 -40
  710. package/serializer/propertyChangedEvents.d.ts +16 -1
  711. package/serializer/propertyChangedEvents.js +57 -1
  712. package/serializer/serializationInfo.d.ts +10 -15
  713. package/serializer/serializer.d.ts +2 -14
  714. package/serializer/serializer.js +1 -40
  715. package/undo-engine/_utils.d.ts +2 -1
  716. package/undo-engine/_utils.js +1 -1
  717. package/undo-engine/undoengine.d.ts +59 -27
  718. package/undo-engine/undoengine.js +209 -201
  719. package/widgets/_hotKeys.d.ts +15 -0
  720. package/widgets/_hotKeys.js +150 -0
  721. package/widgets/_searchHighlighting.binding.d.ts +2 -5
  722. package/widgets/_searchHighlighting.binding.js +17 -20
  723. package/widgets/_searchHighlighting.d.ts +6 -3
  724. package/widgets/_searchHighlighting.js +8 -6
  725. package/widgets/ace/_binding.js +18 -17
  726. package/widgets/bindings.js +23 -21
  727. package/widgets/common/_codeCompletor.d.ts +8 -7
  728. package/widgets/common/_codeCompletor.js +13 -11
  729. package/widgets/common/displayNameProvider.d.ts +1 -0
  730. package/widgets/criteria/operators/options/function.d.ts +26 -1
  731. package/widgets/criteria/operators/options/function.js +25 -0
  732. package/widgets/criteria/parser/criteriaparser.d.ts +5 -5
  733. package/widgets/criteria/parser/criteriaparser.js +910 -910
  734. package/widgets/expressioneditor/_expressionOptionsBase.d.ts +39 -0
  735. package/widgets/expressioneditor/_expressionOptionsBase.js +72 -0
  736. package/widgets/expressioneditor/aiExpressionGenerator.d.ts +34 -41
  737. package/widgets/expressioneditor/aiExpressionGenerator.js +86 -56
  738. package/widgets/expressioneditor/bindings.d.ts +18 -1
  739. package/widgets/expressioneditor/bindings.js +34 -14
  740. package/widgets/expressioneditor/expressioneditor.d.ts +70 -26
  741. package/widgets/expressioneditor/expressioneditor.js +194 -116
  742. package/widgets/expressioneditor/tools/_functions.js +31 -0
  743. package/widgets/expressioneditor/tools/_tools.d.ts +168 -35
  744. package/widgets/expressioneditor/tools/_tools.js +365 -145
  745. package/widgets/expressioneditor/tools/_treeListControllers.d.ts +14 -13
  746. package/widgets/filtereditor/filtereditor.d.ts +102 -42
  747. package/widgets/filtereditor/filtereditor.js +395 -263
  748. package/widgets/filtereditor/filtereditoroptions.d.ts +15 -11
  749. package/widgets/filtereditor/filtereditoroptions.js +19 -17
  750. package/widgets/filtereditor/helpers/_addon.d.ts +31 -8
  751. package/widgets/filtereditor/helpers/_addon.js +71 -34
  752. package/widgets/filtereditor/helpers/_treelistController.d.ts +7 -8
  753. package/widgets/filtereditor/helpers/_treelistController.js +13 -5
  754. package/widgets/filtereditor/helpers/helper.d.ts +11 -3
  755. package/widgets/filtereditor/helpers/helper.js +20 -17
  756. package/widgets/filtereditor/operators/_criteriaTypeState.d.ts +7 -0
  757. package/widgets/filtereditor/operators/_criteriaTypeState.js +17 -0
  758. package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +16 -8
  759. package/widgets/filtereditor/operators/aggregateOperandSurface.js +47 -23
  760. package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +16 -8
  761. package/widgets/filtereditor/operators/betweenOperandSurface.js +30 -15
  762. package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +14 -7
  763. package/widgets/filtereditor/operators/binaryOperandSurface.js +25 -12
  764. package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +52 -18
  765. package/widgets/filtereditor/operators/criteriaOperatorSurface.js +133 -38
  766. package/widgets/filtereditor/operators/functionOperandSurface.d.ts +13 -7
  767. package/widgets/filtereditor/operators/functionOperandSurface.js +41 -22
  768. package/widgets/filtereditor/operators/groupOperandSurface.d.ts +12 -5
  769. package/widgets/filtereditor/operators/groupOperandSurface.js +33 -16
  770. package/widgets/filtereditor/operators/inOperandSurface.d.ts +16 -7
  771. package/widgets/filtereditor/operators/inOperandSurface.js +27 -13
  772. package/widgets/filtereditor/operators/operandParameterSurface.d.ts +12 -5
  773. package/widgets/filtereditor/operators/operandParameterSurface.js +21 -15
  774. package/widgets/filtereditor/operators/operandPropertySurface.d.ts +20 -11
  775. package/widgets/filtereditor/operators/operandPropertySurface.js +67 -46
  776. package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +4 -4
  777. package/widgets/filtereditor/operators/operandSurfaceBase.js +6 -33
  778. package/widgets/filtereditor/operators/operandValueSurface.d.ts +47 -76
  779. package/widgets/filtereditor/operators/operandValueSurface.js +149 -110
  780. package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +12 -6
  781. package/widgets/filtereditor/operators/unaryOperandSurface.js +24 -17
  782. package/widgets/formatstring/binding.d.ts +15 -1
  783. package/widgets/formatstring/binding.js +19 -6
  784. package/widgets/formatstring/formatstringeditor.d.ts +64 -21
  785. package/widgets/formatstring/formatstringeditor.js +184 -116
  786. package/widgets/internal/_popupComponentBase.d.ts +4 -4
  787. package/widgets/internal/_resizeHelper.d.ts +5 -4
  788. package/widgets/internal/_resizeHelper.js +5 -6
  789. package/widgets/treelist/_binding.d.ts +1 -2
  790. package/widgets/treelist/_binding.js +9 -20
  791. package/widgets/treelist/_ko_binging.js +15 -13
  792. package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +7 -7
  793. package/widgets/treelist/_reorderTreeListDragDropHelper.js +8 -7
  794. package/widgets/treelist/_treeListSearchModel.d.ts +32 -0
  795. package/widgets/treelist/_treeListSearchModel.js +133 -0
  796. package/widgets/treelist/_treelistController.d.ts +26 -22
  797. package/widgets/treelist/_treelistController.js +3 -1
  798. package/widgets/treelist/_treelistItem.d.ts +36 -36
  799. package/widgets/treelist/_treelistItem.js +113 -104
  800. package/widgets/treelist/_treelistItem.viewModel.d.ts +26 -11
  801. package/widgets/treelist/_treelistItem.viewModel.js +55 -7
  802. package/widgets/utils.d.ts +22 -17
  803. package/core/elements/elementViewModel.d.ts +0 -94
  804. package/core/elements/elementViewModel.js +0 -180
  805. package/core/utils/_koUtils.d.ts +0 -7
  806. package/core/utils/_koUtils.js +0 -11
  807. package/core/utils/_utils.wrapModelInObservable.d.ts +0 -2
  808. package/core/utils/_utils.wrapModelInObservable.js +0 -5
  809. package/core/widgets/bordereditor/_binding.d.ts +0 -1
  810. package/core/widgets/bordereditor/_binding.js +0 -16
  811. package/core/widgets/textAlignmentEditor/_binding.d.ts +0 -1
  812. package/core/widgets/textAlignmentEditor/_binding.js +0 -16
  813. package/diagram/elements/diagramElementViewModel.d.ts +0 -10
  814. package/diagram/elements/diagramElementViewModel.js +0 -13
  815. package/property-grid/widgets/collectioneditor/_ko_model.d.ts +0 -4
  816. package/property-grid/widgets/collectioneditor/_ko_model.js +0 -66
  817. package/query-builder/_queryBuilderModel.d.ts +0 -36
  818. package/query-builder/_queryBuilderModel.js +0 -1
  819. package/query-builder/widgets/_undoEditor.d.ts +0 -9
  820. package/query-builder/widgets/_undoEditor.js +0 -22
  821. package/query-builder/wizard/internal/_wizardAction.d.ts +0 -8
  822. package/query-builder/wizard/internal/_wizardAction.js +0 -9
  823. package/serializer/native/models/modelAccessor.d.ts +0 -2
  824. package/serializer/native/models/modelAccessor.js +0 -6
  825. package/serializer/utils.d.ts +0 -2
  826. package/serializer/utils.js +0 -5
  827. package/undo-engine/_propertiesVisitor.d.ts +0 -1
  828. package/undo-engine/_propertiesVisitor.js +0 -25
  829. package/widgets/expressioneditor/_expressioneditor.d.ts +0 -8
  830. package/widgets/expressioneditor/_expressioneditor.js +0 -54
  831. package/widgets/treelist/_ko_treelistUtils.d.ts +0 -8
  832. package/widgets/treelist/_ko_treelistUtils.js +0 -55
  833. package/widgets/treelist/_treeListSearchViewModel.d.ts +0 -19
  834. package/widgets/treelist/_treeListSearchViewModel.js +0 -108
@@ -1,8 +1,8 @@
1
- /**
2
- * DevExpress Analytics (js\dx-analytics-core.min.js)
3
- * Version: 26.1.0
4
- * Build date: Nov 14, 2026
5
- * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
6
- * License: https://www.devexpress.com/Support/EULAs/universal.xml
7
- */
8
- (()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var s in i)e.o(i,s)&&!e.o(t,s)&&Object.defineProperty(t,s,{enumerable:!0,get:i[s]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{$createFromHtml:()=>P,$dx:()=>V,$each:()=>F,$jqueryPromiseAdapter:()=>zi,$map:()=>D,$promiseAdapter:()=>Li,$unwrap:()=>k,$wrap:()=>Hi,AccessibilityControlElementBase:()=>St,AccessibilityKeyboardHelperBase:()=>$t,AccordionKeyboardHelper:()=>kt,ActionLists:()=>ao,ActionListsBase:()=>so,AjaxRequestManager:()=>Ki,BaseAction:()=>ro,BaseActionsProvider:()=>Md,BordersModel:()=>Sd,CodeResolver:()=>ca,CombinedObject:()=>Na,CommonDesignerGenerator:()=>Jo,ContextActionsSettings:()=>Uo,ContextMenuProvider:()=>no,ControlElementWithParentHighlight:()=>Tt,ControlProperties:()=>$o,ControlsHelperSettings:()=>Ko,ControlsStore:()=>Zr,CopyPasteHandler:()=>an,CssCalculator:()=>ur,CustomSortedArrayStore:()=>Kr,DEBUG:()=>di,DebugMode:()=>li,DesignControlsHelper:()=>zs,DesignerBaseElements:()=>Mo,DesignerContextGenerator:()=>Wo,DesignerContextGeneratorInternal:()=>jo,DimensionNotationsModel:()=>Vr,DisplayExpressionConverter:()=>ml,DotnetTypes:()=>Z,DragDropHandler:()=>ys,DragDropSettings:()=>qo,DragHelperContent:()=>ws,DragHelperControlRectangle:()=>Cs,Draggable:()=>Pr,DxAnalyticsComponentCommon:()=>ns,DxDeferred:()=>L,EditorAddOn:()=>vo,EditorWithIcons:()=>Id,FetchRequestManager:()=>Ti,FieldListProvider:()=>id,GetWindowKeyDownHandlersManager:()=>st,Globalize:()=>we,Group:()=>Co,HighlightEngine:()=>gl,HoverInfo:()=>Cl,InitButtonWithTemplate:()=>Od,InlineTextEdit:()=>xr,IsDataAccessExpression:()=>cr,JSDesignerBindingCommon:()=>as,KeyDownHandlersManager:()=>tt,KeyboardCodesEnum:()=>Je,KeyboardEnum:()=>Ze,KeyboardHelper:()=>et,KeyboardHelperBase:()=>Qe,KeyboardHelperWithArrowButtonBase:()=>Bt,KoEngine:()=>Oa,ListKeyboardHelper:()=>Ot,MenuSettings:()=>Yo,NotifyAboutWarning:()=>hi,NotifyType:()=>ui,ObjectExplorerProvider:()=>br,ObjectStructureProvider:()=>yr,ObjectStructureProviderBase:()=>vr,ObjectStructureTreeListController:()=>fr,PopupService:()=>wo,Priority:()=>la,PropertiesAccessibilityProvider:()=>oo,PropertyGridKeyboardHelper:()=>Pt,RequestHelper:()=>Ei,Resizable:()=>$r,ResizeSettings:()=>Go,RightPanelKeyboardHelperNative:()=>Mt,SearchMode:()=>Ne,Selectable:()=>Br,SelectableElement:()=>Fr,SelectionDragDropHandler:()=>As,SelectionSettings:()=>Zo,ShowMessage:()=>xi,SnapLineSurface:()=>en,SnapLinesCollector:()=>Qa,SnapLinesHelper:()=>tn,SortedArrayStore:()=>Yr,SpecificTypes:()=>md,StringId:()=>Kd,SurfaceSelection:()=>La,ToolbarKeyboardHelper:()=>Ut,ToolboxDragDropHandler:()=>Es,TreeListKeyboardHelper:()=>Kt,WizardDragDropHandler:()=>Is,_addErrorPrefix:()=>_i,_addLicenseTrigger:()=>_l,_defaultStaticContext:()=>Cd,_defineProperty:()=>wt,_definePropertyByString:()=>At,_errorProcessor:()=>wi,_getFileContent:()=>Ve,_isDateTypeSpecific:()=>bd,_isNumericTypeSpecific:()=>vd,_muteWarnings:()=>bi,_processError:()=>Ci,_replaceUploadFile:()=>He,_resetAjax:()=>qi,_resetShowMessageFunc:()=>vi,_sendRequestWithOptions:()=>ud,_setAjax:()=>Ui,_setIsDarkTheme:()=>qn,_setShowMessageFunc:()=>fi,_unmuteWarnings:()=>yi,_wrapModelInObservable:()=>Ad,accessJQueryData:()=>Wi,accessibilityFontSizeZoomFactor:()=>Dt,addDisposeCallback:()=>Et,ajax:()=>Gi,appendStaticContextToRootViewModel:()=>wd,assignObj:()=>ve,assignTroubleshootingPage:()=>$i,base64DecodeUnicode:()=>Al,binaryIndexOf:()=>Xa,blur:()=>Qr,calculateValueByDpi:()=>Er,calculateWithZoomFactor:()=>Ft,checkModelReady:()=>oa,chooseBetterPositionOf:()=>ni,cloneHtmlBinding:()=>xl,collectGroupsFromFlatList:()=>To,collectIncorrectSyntax:()=>nd,collectionsVisitor:()=>Ls,compareArrays:()=>wl,compareEditorInfo:()=>je,compareObjects:()=>Do,convertFromCssPixelUnits:()=>fs,convertToCssPixelUnits:()=>xs,copyObservables:()=>Po,copyPasteStrategy:()=>rn,createActionListBaseViewModel:()=>Xn,createActionWrappingFunction:()=>Vo,createBaseActionViewModel:()=>Qn,createDeferred:()=>Ed,createDesigner:()=>td,createDxDeferred:()=>j,createGlobalModuleVariableFunc:()=>It,createJQueryCallbacks:()=>Vi,createJQueryElement:()=>Ni,createObservableArrayMapCollection:()=>Ua,createObservableReverseArrayMapCollection:()=>Ga,createPasswordSerializationInfo:()=>hd,createPromiseWithResolvers:()=>z,createUnitProperties:()=>dd,createUnitProperty:()=>od,cssTransform:()=>Vd,custom_localization_values:()=>Ee,cutRefs:()=>Oo,defaultAccessibilityProvider:()=>lo,deferredToPromise:()=>G,delay:()=>R,deleteSelection:()=>Wa,deserializeChildArray:()=>Ka,dxButtonWithTemplate:()=>Bd,dxScrollProcessor:()=>Hr,dxtTemplate:()=>ks,dxversions:()=>Ps,editorTypeMapper:()=>pr,editor_template:()=>Fd,enumValueConverter:()=>jn,escapeToRegExp:()=>Ge,extend:()=>xe,find:()=>Ja,findClosestElement:()=>O,findFirstItemMatchesCondition:()=>Za,findMatchesInString:()=>We,findSurface:()=>ti,floatValueConverter:()=>Gn,formatDate:()=>Fe,formatTime:()=>Be,formatUnicorn:()=>Ye,generateDefaultParts:()=>No,generateIconTemplate:()=>Dd,getControlFullName:()=>Bs,getControlNewAbsolutePositionOnResize:()=>ii,getControlRect:()=>ri,getControlTypeName:()=>Fs,getEditorType:()=>hr,getElementBoxExtraHeight:()=>w,getElementBoxExtraWidth:()=>C,getElementHeight:()=>I,getElementOffset:()=>$,getElementOuterHeight:()=>S,getElementOuterWidth:()=>E,getElementWidth:()=>A,getErrorMessage:()=>mi,getFirstItemByPropertyValue:()=>Ya,getFullPath:()=>Fo,getImageClassName:()=>Os,getLocalization:()=>_e,getPaperSize:()=>Ar,getParentContainer:()=>Zn,getResizableOptions:()=>zo,getResizeDirection:()=>kr,getShortTypeName:()=>Ds,getSizeFactor:()=>yd,getToolboxItems:()=>Xr,getTroubleshootingPage:()=>Pi,getTypeNameFromFullName:()=>Ts,getUniqueName:()=>Ns,getUniqueNameForNamedObjectsArray:()=>Ms,getWeekFirstDay:()=>Me,globalResolver:()=>pa,guid:()=>da,initGlobalize:()=>mr,initializeBaseResizableOptions:()=>Ir,initializeMutationObserver:()=>Nd,initializeResize:()=>Sr,integerValueConverter:()=>Rn,isBorderBox:()=>b,isCustomizedWithUpdateLocalizationMethod:()=>Pe,isDarkTheme:()=>Un,isDefined:()=>Di,isElementVisible:()=>B,isEmptyObject:()=>me,isFunction:()=>ge,isList:()=>Yn,isNullOrEmptyString:()=>Jn,isNumeric:()=>pe,isPlainObject:()=>he,isPromise:()=>U,isValidNameSymbols:()=>ta,jqueryStatic:()=>Mi,knockoutArrayWrapper:()=>qa,koUtils:()=>Gt,loadMessages:()=>be,loadTemplates:()=>Bo,localize:()=>De,localizeNoneString:()=>Lo,localizeWithUpdateLocalizationMethod:()=>Te,locationFake:()=>cs,messages:()=>Ae,minHeightWithoutScroll:()=>ai,mute:()=>rd,nameRequiredValidationRule:()=>aa,nameValidationRules:()=>na,noDataText:()=>Se,objectsVisitor:()=>Vs,parseDate:()=>Oe,parseZoom:()=>on,patchPositionByRTL:()=>lr,pixelToUnits:()=>gs,processErrorEvent:()=>Ai,processTextEditorHotKeys:()=>gr,propertiesVisitor:()=>za,removeWinSymbols:()=>Ce,replaceInvalidSymbols:()=>ra,resolveFromPromises:()=>ke,roundingXDecimals:()=>hs,searchPlaceholder:()=>$e,selectPlaceholder:()=>Ie,sendRequest:()=>pd,setAjax:()=>cd,setCursorInFunctionParameter:()=>Kn,setUploadFile:()=>Re,showTroubleshootingMessage:()=>Si,sizeFake:()=>us,staticContext:()=>_d,stringInsert:()=>Ke,stringRemove:()=>Ue,stringReplace:()=>qe,toQueryParameters:()=>fe,troubleshootingPageWrapper:()=>ki,tryDelay:()=>H,unitPerInch:()=>Cr,unitsToPixel:()=>ms,unmute:()=>ad,unwrapImmidiatePromise:()=>W,updateSurfaceContentSize:()=>oi,updateZoomBinding:()=>Ld,uploadFile:()=>ze,useKoIntegration:()=>Ma,validateExpression:()=>Wn,validateName:()=>sa,wrapInner:()=>ji,wrapPublicElement:()=>Ri});var i={};e.r(i),e.d(i,{ControlsFactory:()=>kl,Disposable:()=>x,DisposableViewModel:()=>f,EventManager:()=>pt,EventPropertyManager:()=>ht,GetRequestBody:()=>es,ModelSerializer:()=>Da,PathRequest:()=>ha,PrepareRequestArgs:()=>Qi,RequestContentType:()=>Yi,TabInfo:()=>ed,TabInfoWithPropertyGrid:()=>Il,TabPanel:()=>Ro,ToolboxItem:()=>Jr,UndoEngine:()=>ja,_LatestChangeSet:()=>Ha,_convertLocalDateToUTC:()=>se,_getPathPartsFromRequest:()=>ma,_isFetchConfigured:()=>is,_requestContentType:()=>Zi,_stringEndsWith:()=>jt,addCultureInfo:()=>Ht,addTemplate:()=>Jt,addToBindingsCache:()=>Rl,ajaxSetup:()=>ss,colorFromString:()=>Fl,colorToInt:()=>Ol,colorToString:()=>Ml,deserializeArray:()=>Wl,deserializeDate:()=>de,encodeURIExtended:()=>Xi,fetchSetup:()=>rs,floatFromModel:()=>Pl,fromEnum:()=>Tl,getLocalization:()=>Rt,getTemplate:()=>Xt,isDateType:()=>Q,parseBool:()=>Dl,parseTime:()=>oe,registerBaseBinding:()=>Hl,requestManager:()=>ts,saveAsInt:()=>Bl,serializeDate:()=>re,serializeParameterDate:()=>ae,serializeParameterDateUTC:()=>ne,updateLocalization:()=>Wt});var s={};e.r(s),e.d(s,{AvailableOperators:()=>$u,CodeCompletor:()=>rl,CollectionEditorViewModel:()=>du,CriteriaEditorBase:()=>Zl,CriteriaSurfaceValidator:()=>sc,CriteriaSurfaceValidatorState:()=>ic,DataMemberTreeListController:()=>Jl,DefaultTreeListItemFactory:()=>Aa,ExpressionEditorParametersTreeListController:()=>Iu,ExpressionEditorTreeListController:()=>Eu,FilterEditorAddOn:()=>Su,FilterEditorCodeCompletor:()=>oc,FilterEditorSerializer:()=>hl,FilterEditorTreeListController:()=>tc,FontModel:()=>bu,KoTreeListItemFactory:()=>Ta,PopupComponentBase:()=>uc,PopupEditorBase:()=>Yl,RangeSpecific:()=>el,ReorderTreeListDragDropHelper:()=>gc,RequiredNullableEditor:()=>iu,ResizeHelper:()=>pc,SvgTemplateSource:()=>Yt,SvgTemplatesEngine:()=>Zt,TextAlignmentModel:()=>Gl,Tools:()=>wu,TreeListController:()=>Au,TreeListEllipsisButton:()=>Ia,TreeListItemFactory:()=>wa,TreeListItemStore:()=>Ca,TreeListItemViewModel:()=>Sa,TreeListRootItemViewModel:()=>$a,TreeListSearchOptions:()=>hc,TreeListSearchViewModel:()=>eu,ValueEditorHelper:()=>Hn,aceAvailable:()=>Kl,addToBindingsCache:()=>Ll,availableFonts:()=>Xo,availableUnits:()=>vu,betweenOperatorsGroup:()=>Bu,calendarOperatorsGroup:()=>Vu,combineFunctionDisplay:()=>Qd,containsOperatorsGroup:()=>Ou,createDateEditor:()=>ru,createExpressionEditorCollectionToolOptions:()=>tl,createFunctionCompletion:()=>al,createGuidRequiredValidationRules:()=>Cn,createGuidValidationRules:()=>_n,createNumericEditor:()=>su,createRequiredValidationRules:()=>wn,createTreeListEllipsisButtonViewModel:()=>ba,createTreeListItemViewModel:()=>va,defaultFontSerialization:()=>gn,dxEllipsisEditor:()=>xu,dxFieldListPicker:()=>tu,dxFileImagePicker:()=>fu,dxPopupWithAutoHeight:()=>cc,equalsOperatorsGroup:()=>ku,formatStringStandardPatterns:()=>dc,functionDisplay:()=>Jd,getFromCache:()=>zl,greaterOperatorsGroup:()=>Du,groupOperatorsGroup:()=>Hu,inOperatorsGroup:()=>Tu,initDisplayText:()=>qu,initTreeListBinding:()=>mc,insertOrUpdateFunctions:()=>Zd,isNullOrEmptyOperatorsGroup:()=>Nu,lessOperatorsGroup:()=>Fu,likeOperatorsGroup:()=>Mu,listOperatorsGroup:()=>zu,maxSearchLevel:()=>_a,nullOperatorsGroup:()=>Pu,operatorNames:()=>sl,propertiesGridEditorsPaddingLeft:()=>mn,registerBaseBinding:()=>Vl,resetFunctionDisplay:()=>Xd,setDefaultTreeListItemFactory:()=>Ea,timeIntervalOperatorsGroup:()=>Lu,treeListEditAction:()=>xa,trimBrackets:()=>nl,updateTreeListItemViewModel:()=>fa,validateGuid:()=>fn,validateNullableGuid:()=>vn,wrapExpressionValue:()=>il,wrapModelWithKo:()=>lu,wrapOptions:()=>nu,wrapTreeListOptionsWithKo:()=>Pa});var r={};e.r(r),e.d(r,{AIExpressionGenerator:()=>Sc,BooleanEditor:()=>Oc,ColorPickerEditor:()=>Mc,DataMemberEditor:()=>Vc,DefaultFilterEditorHelper:()=>ac,Editor:()=>xo,EditorTemplates:()=>ds,EditorValidator:()=>po,ExpressionEditor:()=>Ic,ExpressionEditorWordWrapModeEnabled:()=>Ac,FieldListEditor:()=>Nc,FilterEditor:()=>Pc,FilterEditorHelper:()=>rc,FilterEditorPlain:()=>Tc,FilterStringOptions:()=>Dc,FilterStringPlainOptions:()=>Fc,FontEditor:()=>wc,FormatStringEditor:()=>Bc,GuidEditor:()=>vc,InitAccordion:()=>fc,ObjectProperties:()=>bo,PropertyGridEditor:()=>yo,PropertyGridEditorFlat:()=>_o,_setDefaultFilterEditorHelper:()=>nc,addTemplate:()=>Jt,createEditorDescriptionAddOn:()=>fo,createViewModel:()=>ho,editorTemplates:()=>ls,getNotValidRange:()=>Ec,getTemplate:()=>Xt,unwrapEditor:()=>go});var a={};e.r(a),e.d(a,{fontInfo:()=>Cc,fontName:()=>bc,fontSize:()=>yc,fontSizeUnit:()=>_c});var n={};e.r(n),e.d(n,{AggregateOperandSurface:()=>Wu,BetweenOperandSurface:()=>Gu,BinaryOperandSurface:()=>Uu,CriteriaOperatorSurface:()=>Ru,FunctionOperandSurface:()=>Yu,GroupOperandSurface:()=>Zu,InOperandSurface:()=>Ju,OperandParameterSurface:()=>Xu,OperandPropertySurface:()=>Qu,OperandSurfaceBase:()=>Ku,OperandValueSurface:()=>ec,UnaryOperandSurface:()=>ju});var o={};e.r(o),e.d(o,{AggregateOperand:()=>Dn,BetweenOperator:()=>ol,BinaryOperator:()=>ul,BinaryOperatorType:()=>kn,ConstantValue:()=>pl,CriteriaOperator:()=>hn,CriteriaOperatorPreprocessor:()=>cn,ENUM_TYPE_SEPARATOR:()=>An,FunctionOperator:()=>cl,FunctionOperatorType:()=>Tn,GroupOperator:()=>Bn,GroupOperatorType:()=>Pn,InOperator:()=>dl,JoinOperand:()=>On,OperandParameter:()=>In,OperandProperty:()=>Sn,OperandValue:()=>En,UnaryOperator:()=>$n,UnaryOperatorType:()=>ln,criteriaCreator:()=>pn,criteriaparser:()=>Nn,parse:()=>Vn});var d={};e.r(d),e.d(d,{CriteriaOperatorPreprocessor:()=>cn,CriteriaOperatorStateMachine:()=>zn,MachineState:()=>Ln,criteriaCreator:()=>pn,criteriaForEach:()=>Fn,operatorTokens:()=>ll});var l={};e.r(l),e.d(l,{LoadChildItemsForCollapsedNodes:()=>ga});var u={};e.r(u),e.d(u,{ElementViewModel:()=>$l,Margins:()=>jc,PaddingModel:()=>dr,Point:()=>sn,PropertyModificationModel:()=>Sl,Rectangle:()=>_s,SerializableModel:()=>Wc,Size:()=>ps,SurfaceElementArea:()=>Hc,SurfaceElementBase:()=>Rc,compareSizes:()=>Gc});var c={};e.r(c),e.d(c,{all:()=>Gs,bottom:()=>Ws,left:()=>Hs,paddingSerializationsInfo:()=>Us,right:()=>Rs,top:()=>js});var p={};e.r(p),e.d(p,{ActionId:()=>nn});var h={};e.r(h),e.d(h,{loadMessages:()=>Uc});var m={};e.r(m),e.d(m,{BaseEmptyModel:()=>rr,BaseModel:()=>tr,BaseRenderingModel:()=>ar,BaseRenderingMultiplatformModel:()=>nr,MultiplatformEngine:()=>xt,NativeModelSerializer:()=>mt,PropertyDeserializationEngine:()=>ut,ViewModel:()=>Ks,ViewModelChangedEvent:()=>qs,_updateViewModelWithChunks:()=>ot,arrayModificationMapper:()=>lt,createViewModelGenerator:()=>Zs,currentModelSerializer:()=>bt,currentMultiPlatformEngine:()=>yt,defaultPropertyDeserializatonEngine:()=>ct,deserializeArray:()=>jl,modelAccessor:()=>vs,mutable:()=>ir,mutableArray:()=>sr,nativeModelSerializer:()=>vt,nativeMultiPlatformEngine:()=>ft,notifyPropertyChanged:()=>dt,setCurrentModelSerializer:()=>Ct,setCurrentMultiplatfromEngine:()=>_t,setDefautModelAccessor:()=>bs,subscribableProperty:()=>gt,updateViewModel:()=>nt,viewModelGeneratorSettings:()=>Ys});var g={};e.r(g),e.d(g,{defineAce:()=>Xc,defineAceCriteria:()=>Yc,defineAceDocComments:()=>Zc,defineAceThemes:()=>qc,getAceThemeName:()=>Kc});class x{constructor(){this._disposables=[],this.isDisposing=!1}disposeObservableArray(e){e&&e().forEach(e=>{e.dispose&&e.dispose()})}resetObservableArray(e){e&&e([])}disposeArray(e){e&&(e.forEach(e=>{e.dispose&&e.dispose()}),e.splice(0,e.length))}addDisposable(...e){this._disposables.push(...e.map(e=>e?"dispose"in e?e:{dispose:e}:e))}dispose(){this.isDisposing||(this.isDisposing=!0,(this._disposables||[]).reverse().forEach(e=>e&&e.dispose&&e.dispose()),this._disposables=[])}removeProperties(){Object.keys(this).forEach(e=>{delete this[e]})}}class f{constructor(){this._disposables=[]}disposeViewModel(){this._disposables?.forEach(e=>e&&e()),this._disposables=[];const e=this;e&&e._viewModelEvents?.dispose()}disposeSubscription(e){if(!e)return;const t=this._disposables.indexOf(e);-1!==t&&(this._disposables.splice(t,1),e())}addDisposable(e){e&&this._disposables.push(e)}}const v=e=>{const t=e?parseFloat(e):0;return Number.isFinite(t)?t:0},b=e=>"border-box"===getComputedStyle(e).boxSizing,y=e=>{const t=getComputedStyle(e);return v(t.width)},_=e=>{const t=getComputedStyle(e);return v(t.height)},C=e=>{if(!(e instanceof Element))return;const t=getComputedStyle(e);return v(t.paddingLeft)+v(t.paddingRight)+(v(t.borderLeftWidth)+v(t.borderRightWidth))},w=e=>{if(!(e instanceof Element))return;const t=getComputedStyle(e);return v(t.paddingTop)+v(t.paddingBottom)+(v(t.borderTopWidth)+v(t.borderBottomWidth))},A=e=>{if(e instanceof Element){const t=y(e),i=C(e);return b(e)?Math.max(0,t-i):t}if(e instanceof Window)return document.documentElement.clientWidth},E=e=>{if(!(e instanceof Element))return;if(e.offsetWidth)return e.offsetWidth;const t=C(e),i=y(e);return b(e)?i:i+t},I=e=>{if(e instanceof Element){const t=_(e),i=w(e);return b(e)?Math.max(0,t-i):t}if(e instanceof Window)return document.documentElement.clientHeight},S=e=>{if(!(e instanceof Element))return;if(e.offsetHeight)return e.offsetHeight;const t=w(e),i=_(e);return b(e)?i:i+t},$=e=>{if(!e)return;const t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY}};function k(e){return e&&"length"in e&&e instanceof Window==!1||e?.dxRenderer?e[0]:e}function P(e){const t=document.createElement("div");return t.innerHTML=e.trim(),V(t.firstChild)}function T(e){const t=e?.length;return!(!e||"object"!=typeof e)&&(Array.isArray(e)||0===t||"number"==typeof t&&t>0&&t-1 in e)}function D(e,t){if(!e||"object"!=typeof e)return[];if(T(e))for(let i=0;i<e.length;i++)t(e[i],i);return Object.keys(e).map(i=>t(e[i],i))}function F(e,t){if(!e||"object"!=typeof e)return;const i=i=>{const s=e[i];return t.call(s,i,s)};if(T(e))for(let t=0;t<e.length;t++){if(!1===i(t))break}else for(const t of Object.keys(e)){if(!1===i(t))break}}const B=e=>{if(!e)return;const t=e.getClientRects?.()?.length??0;return e.offsetWidth>0||e.offsetHeight>0||t>0},O=(e,t)=>e instanceof Element?e.closest(t):e?.parentElement?.closest(t),M=new WeakMap,N=(e,t,i,s)=>{void 0===t&&(t=400),void 0===s&&(s=!1);const r=(M.get(e)||0)+1;M.set(e,r),e.classList.add("dxd-sliding"),e.style.overflow="hidden",s&&(e.style.display="block");const a=window.getComputedStyle(e),n=parseFloat(a.getPropertyValue("height")),o=parseFloat(a.getPropertyValue("padding-top")),d=parseFloat(a.getPropertyValue("padding-bottom")),l=parseFloat(a.getPropertyValue("margin-top")),u=parseFloat(a.getPropertyValue("margin-bottom")),c=n/t,p=o/t,h=d/t,m=l/t,g=u/t;s&&(e.style.height="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.marginTop="0px",e.style.marginBottom="0px");let x,f=0;window.requestAnimationFrame(function a(v){if(M.get(e)===r){if(void 0!==x&&(f+=Math.min(v-x,34)),x=v,s){const i=Math.min(f/t,1);e.style.paddingTop=o*i+"px",e.style.paddingBottom=d*i+"px",e.style.marginTop=l*i+"px",e.style.marginBottom=u*i+"px";const s=e.scrollHeight-parseFloat(e.style.paddingTop)-parseFloat(e.style.paddingBottom);e.style.height=s*i+"px"}else e.style.height=n-c*f+"px",e.style.paddingTop=o-p*f+"px",e.style.paddingBottom=d-h*f+"px",e.style.marginTop=l-m*f+"px",e.style.marginBottom=u-g*f+"px";f>=t?(e.style.height="",e.style.paddingTop="",e.style.paddingBottom="",e.style.marginTop="",e.style.marginBottom="",e.style.overflow="",e.classList.remove("dxd-sliding"),s||(e.style.display="none"),"function"==typeof i&&i()):window.requestAnimationFrame(a)}})},V=e=>{let t=e;Array.isArray(t)||"string"==typeof e||t?.nodeType===Node.COMMENT_NODE||(t=k(e));let i=null,s=0;const r={};if("string"==typeof e){const t=e.trim();if(t.startsWith("<")&&t.endsWith(">")){const e=document.createElement("div");e.innerHTML=t;const a=Array.from(e.children);a.forEach((e,t)=>r[t]=e),i=a[0]||null,s=a.length}else{i=document.querySelector(e);const t=Array.from(document.querySelectorAll(e));t.forEach((e,t)=>r[t]=e),s=t.length}}else Array.isArray(t)?(i=t[0],t.forEach((e,t)=>r[t]=e),s=t.length):t&&"object"==typeof t&&(i=t,r[0]=i,s=1);return{...r,length:s,element:i,is:e=>"string"==typeof e?":input"===e?V(i).isInput():":visible"===e?B(i):i?.matches(e):i===e,has:e=>i?.contains(e),hasClass:e=>{if(i)return i.classList.contains(e)},width:e=>{if(void 0!==e&&i){const t="number"==typeof e?e+"px":e;return i.style.width=t,V(i)}return A(i)},height:e=>{if(void 0!==e&&i){const t="number"==typeof e?e+"px":e;return i.style.height=t,V(i)}return I(i)},outerWidth:e=>{if(void 0!==e&&i){const t=Math.max(0,e-C(i));return b(i)?V(i).width(e):V(i).width(t)}return E(i)},outerHeight:e=>{if(void 0!==e&&i){const t=Math.max(0,e-w(i));return b(i)?V(i).height(e):V(i).height(t)}return S(i)},empty:()=>{for(;i?.firstChild;)i.removeChild(i.firstChild);return V(i)},hide:()=>(i&&(i.style.display="none"),V(i)),show:()=>(i&&(i.style.display="block"),V(i)),focus:()=>i?("function"==typeof i.focus&&i.focus(),V(i)):V(i),find:(e,t=!1)=>{if(!i)return V(void 0);if(e instanceof HTMLElement)return V(i.contains(e)?e:void 0);if("string"!=typeof e){const t=Array.from(e).filter(e=>i.contains(e));return V(t)}-1!==e.indexOf(":visible")&&(t=!0,e=e.split(":visible")[0]);let s=[];return s=":input"===e?Array.from(i.querySelectorAll("input, select, textarea, button")):Array.from(i.querySelectorAll(e)),t&&(s=s.filter(e=>B(e))),V(s)},eq:e=>V(r[e]),closest:e=>V(O(i,e)),css:(e,t)=>{if("string"==typeof e){if(!i)return;return void 0!==t&&i.style.setProperty(e,t.toString()),getComputedStyle(i)[e]||""}if("object"==typeof e){if(!i)return V(i);for(const t in e){const s=e[t];if("string"!=typeof s)throw new Error("The value must be a string");e.hasOwnProperty(t)&&(i.style[t]=s.trim())}return V(i)}},children:e=>{if(!i)return V(void 0);const t=i.children,s=Array.from(t).filter(t=>!e||t.matches(e));return V(s)||V(void 0)},addClass:e=>{if(!i)return V(i);return e.split(" ").forEach(e=>e&&i.classList.add(e)),V(i)},removeClass:e=>{if(!i)return V(i);return e.split(" ").forEach(e=>e&&i.classList.remove(e)),V(i)},parent:()=>V(i?i.parentElement:i),parents:e=>{const t=[];let s=i?.parentElement;for(;s;)e&&!s.matches(e)||t.push(s),s=s.parentElement;return V(t)},offset:()=>$(i),position:()=>{if(!i)return;const e=i.getBoundingClientRect(),t=i.offsetParent,s=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop;return{left:e.left+s-(t?t.offsetLeft:0),top:e.top+r-(t?t.offsetTop:0)}},get:e=>r[e],append:e=>{if(i&&e){if("string"==typeof e){const t=document.createElement("div");for(t.innerHTML=e.trim();t.firstChild;)i.appendChild(t.firstChild)}else e instanceof HTMLElement?i.appendChild(e):Array.from(e).forEach(e=>i.appendChild(e));return V(i)}},scrollTop:e=>{if(i)return void 0===e?i.scrollTop:void(i.scrollTop=e)},scrollLeft:e=>{if(i)return void 0===e?i.scrollLeft:void(i.scrollLeft=e)},prepend:e=>{if(!i)return;const t=k(e);t&&i.prepend(t)},first:()=>V(i),prependTo:e=>{if(e){if(s>1){for(let t=s-1;t>=0;t--){const i=r[t];i&&e.prepend(i)}return V(r[0])}return i?(e.prepend(i),V(i)):void 0}},prev:e=>{const t=i?.previousSibling;return V(e?t?.matches(e)?t:void 0:t)},appendTo:e=>{if(e){if(s>1){for(let t=0;t<s;t++){const i=r[t];i&&e.appendChild(i)}return V(r[0])}return i?(e.appendChild(i),V(i)):void 0}},remove:()=>{i&&i.remove()},text:e=>{if(i)return void 0===e?i.textContent:(i.textContent=e,V(i))},html:e=>{if(i)return null==e?i.innerHTML:(i.innerHTML=e,V(i))},slideToggle:(e=400,t=()=>{})=>{i&&(0===i.clientHeight?N(i,e,t,!0):N(i,e,t,!1))},slideDown:(e=400,t=()=>{})=>{i&&N(i,e,t,!0)},slideUp:(e=400,t=()=>{})=>{i&&N(i,e,t,!1)},isInput:()=>i?.matches("input, select, textarea, button, object"),off:(e,t)=>{i&&i.removeEventListener(e,t)},on:(e,t)=>{i&&i.addEventListener(e,t)},attr:(e,t)=>i?(i.setAttribute(e,t),V(i)):V(i),removeAttr:e=>i?(i.removeAttribute(e),V(i)):V(i)}};class L{constructor(){this._state="pending",this._doneCallbacks=[],this._failCallbacks=[],this._alwaysCallbacks=[],this._finalize=e=>{this._alwaysCallbacks.forEach(t=>t(...e)),this._doneCallbacks=[],this._failCallbacks=[],this._alwaysCallbacks=[]}}_tryUpdateState(e,t){return"pending"===this._state&&(this._state=e,this._resultValue=t,!0)}resolve(...e){return this._tryUpdateState("resolved",e)?(this._doneCallbacks.forEach(t=>t(...e)),this._finalize(e),this):this}reject(...e){return this._tryUpdateState("rejected",e)?(this._failCallbacks.forEach(t=>t(...e)),this._finalize(e),this):this}done(e){return"resolved"===this._state?e(...this._resultValue??[]):"pending"===this._state&&this._doneCallbacks.push(e),this}fail(e){return"rejected"===this._state?e(...this._resultValue??[]):"pending"===this._state&&this._failCallbacks.push(e),this}then(e,t){return this.done((...t)=>setTimeout(()=>e(...t))),t&&this.catch(t),this}catch(e){return this.fail((...t)=>setTimeout(()=>e(...t))),this}state(){return this._state}always(e){return"pending"!==this._state?e(...this._resultValue??[]):this._alwaysCallbacks.push(e),this}promise(){return new q(this)}static when(e){const t=new L,i=e.length;if(0===i)return t.resolve([]),t;const s=new Array(i);let r=i;return e.forEach((e,i)=>{e.done(e=>{s[i]=e,r-=1,0===r&&t.resolve(s)}),e.fail(e=>{t.reject(e)})}),t}}function z(){let e,t;return{promise:new Promise((i,s)=>{e=i,t=s}),resolve:e,reject:t}}async function H(e,t){try{return await R(e,t),!0}catch{return!1}}function R(e,t){return new Promise((i,s)=>{const r=()=>{s(t?.reason??new DOMException("Aborted","AbortError"))},a=()=>{t?.removeEventListener("abort",n)},n=()=>{clearTimeout(o),a(),r()};if(t?.aborted)return void r();const o=setTimeout(()=>{a(),i()},e);t?.addEventListener("abort",n,{once:!0})})}function j(){return new L}function W(e){let t;return e.done(e=>{t=e}),t}function G(e){return new Promise((t,i)=>{e.done(t),e.fail?.(i)})}function U(e){return e&&"function"==typeof e.then}class q{_resolveDeferred(e,t){U(t)?t.then(t=>e.resolve(t),t=>e.reject(t)):e.resolve(t)}constructor(e){this.deffered=e}done(e){return this.deffered.done(e),this}fail(e){return this.deffered.fail(e),this}always(e){return this.deffered.always(e),this}state(){return this.deffered.state()}then(e,t){const i=new L;return this.deffered.then(t=>{const s=e&&e(t);this._resolveDeferred(i,s)}),t?this.deffered.catch(e=>{const s=t(e);this._resolveDeferred(i,s)}):this.deffered.catch(e=>{i.reject(e)}),i.promise()}catch(e){const t=new L;return this.deffered.catch(i=>{const s=e&&e(i);this._resolveDeferred(t,s)}),this.deffered.then(e=>{t.resolve(e)}),t.promise()}}const K=DevExpress.localization,Y=DevExpress.localization.date;var Z,J=e.n(Y);function X(e,t){return(e||[]).map(e=>{let t=null!=e?e.toString():"00";return 1===t.length&&(t="0"+t),t}).join(t)}function Q(e){return[Z.SystemDateTime,Z.SystemDateOnly,Z.SystemTimeOnly].some(t=>t===e)}function ee(e){return(e/1e3).toString().substring(1)}function te(e){return e&&e.padEnd(3,"0").substring(0,3)}function ie(e,t){const i=t.utc?[e.getUTCMonth()+1,e.getUTCDate(),e.getUTCFullYear()]:[e.getMonth()+1,e.getDate(),e.getFullYear()],s=t.utc?[e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()]:[e.getHours(),e.getMinutes(),e.getSeconds()];let r=X(s,":");if(t.type===Z.SystemTimeOnly)return 0!==e.getMilliseconds()&&(r+=t.utc?ee(e.getUTCMilliseconds()):ee(e.getMilliseconds())),r;const a=X([i[2],i[0],i[1]],"-");return s.every(e=>0===e)||t.type===Z.SystemDateOnly?a:"-"===t.delimiter?a+" "+r:X(i,"/")+" "+r}function se(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function re(e,t,i){return ie(e,{delimiter:t,type:i})}function ae(e,t){return re(e,void 0,t)}function ne(e,t){if([Z.SystemTimeOnly,Z.SystemDateOnly,Z.SystemDateTime].every(e=>e!==t))return e;const i=se(e);return t===Z.SystemDateTime?i:ie(i,{type:t,utc:!0})}function oe(e){if(!e)return null;if(e instanceof Date)return e;const[t,i,s=""]=e.split(":"),[r,a=""]=s.split("."),[n,o,d,l]=[t,i,r,te(a)].map(Number),u=new Date;return u.setHours(n,o,d||0,l||0),u}function de(e){const t=e.split(" ");let i=t[0].split("-"),s=0,r=0,a=0,n=0;if(3!==i.length&&(i=t[0].split("/"),i.splice(0,0,i.splice(2,1)[0])),t.length>1){const e=t[1].split(":");if(e.length<3)return null;s=parseInt(e[0]),r=parseInt(e[1]);const[i="",o=""]=e[2].split(".")??[];a=parseInt(i)||0,n=parseInt(te(o))||0}return 3!==i.length?null:(i=i.map(e=>parseInt(e)),new Date(i[0],i[1]-1,i[2],s,r,a,n))}!function(e){e.Enum="Enum",e.SystemChar="System.Char",e.SystemString="System.String",e.SystemGuid="System.Guid",e.SystemSByte="System.SByte",e.SystemDecimal="System.Decimal",e.SystemInt64="System.Int64",e.SystemInt32="System.Int32",e.SystemInt16="System.Int16",e.SystemSingle="System.Single",e.SystemDouble="System.Double",e.SystemByte="System.Byte",e.SystemUInt16="System.UInt16",e.SystemUInt32="System.UInt32",e.SystemUInt64="System.UInt64",e.SystemBoolean="System.Boolean",e.SystemDateTime="System.DateTime",e.SystemDateOnly="System.DateOnly",e.SystemTimeOnly="System.TimeOnly",e.SystemTimeSpan="System.TimeSpan",e.SystemObject="System.Object",e.SystemBiteArray="System.Byte[]",e.DevExpressExpression="DevExpress.DataAccess.Expression"}(Z||(Z={}));const le={},ue=le.hasOwnProperty;function ce(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?le[le.toString.call(e)]||"object":typeof e}function pe(e){return!isNaN(parseFloat(e))&&isFinite(e)}function he(e){return"object"===ce(e)&&!e.nodeType&&!function(e){return null!=e&&e===e.window}(e)&&!(e.constructor&&!ue.call(e.constructor.prototype,"isPrototypeOf"))}function me(e){return"string"!=typeof e&&(null!==e&&"object"==typeof e&&0===Object.keys(e).length)}function ge(e){return"function"===ce(e)}function xe(e,t,...i){let s,r,a,n,o,d,l=arguments[0]||{},u=1,c=!1;const p=arguments.length;for("boolean"==typeof l&&(c=l,l=arguments[u]||{},u++),"object"==typeof l||ge(l)||(l={}),u===p&&(l=this,u--);u<p;u++)if(null!=(s=arguments[u]))for(r in s)a=l[r],n=s[r],l!==n&&(c&&n&&(he(n)||(o=Array.isArray(n)))?(o?(o=!1,d=a&&Array.isArray(a)?a:[]):d=a&&he(a)?a:{},l[r]=xe(c,d,n)):void 0!==n&&(l[r]=n));return l}function fe(e){const t=[],i=(e,s="")=>{Object.keys(e||{}).forEach(r=>{const a=e[r],n=s?`${s}[${r}]`:r;"object"==typeof a?i(e[r],n):t.push(encodeURIComponent(n)+"="+encodeURIComponent(a))})};return i(e),t.join("&")}function ve(e,t){return Object.assign(Object.create(Object.getPrototypeOf(e)),t||e)}function be(e){xe(Ae,e)}function ye(e){return De(e)||e}function _e(e,t=null,i=Ce){let s=t&&De(t)||ye(e);return s=t&&function(e,t=Ce){const i=De(e);if(i&&t&&(-1!==i.indexOf("&")||-1!==i.indexOf("<u>")||-1!==i.indexOf("</u>"))){const t={};return t[e]=i.replace("&","").replace("<u>","").replace("</u>",""),be(t),t[e]}}(t,i)||s,Pe(s)&&(e=s),Pe(e)?ye(e):s}["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach(e=>le["[object "+e+"]"]=e.toLowerCase());const Ce=!0,we="undefined"!=typeof window?window.Globalize:void 0,Ae={},Ee={};function Ie(){return _e("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")}function Se(){return _e("No data to display","AnalyticsCoreStringId.DataPreview_Empty")}function $e(){return _e("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")}function ke(e,t){const i=new L;return e.length>0?L.when(e).done(e=>{e.forEach(e=>be(e))}).always(()=>i.resolve(t())):i.resolve(t()),i}function Pe(e){return!!Ee[e]}function Te(e){return!!Pe(e)&&_e(e)}function De(e){return Ae[e]}function Fe(e){return K.formatDate(e,"shortDate")}function Be(e){return K.formatDate(e,"shortTime")}function Oe(e,t=!0,i){return t?e?e instanceof Date?e:de(e):null:i?K.parseDate(e,i):K.parseDate(e,void 0)}function Me(){return J().firstDayOfWeekIndex()}var Ne;function Ve(e,t){return"text"!==t?e.replace(/(^data:[^,]+,)|(^data:)/,""):e}!function(e){e[e.contains=0]="contains",e[e.startWith=1]="startWith"}(Ne||(Ne={}));const Le="dxd-fileuploader-input";let ze=e=>{const t=new L;let i=document.getElementById(Le);return i||(i=function(){const e=document.createElement("input");return e.type="file",e.id=Le,e.style.width="0px",e.style.height="0px",e.style.display="none",document.body.appendChild(e),e}()),i.accept=e.accept,i.onchange=()=>{!function(e,t,i){try{const s=e.files;for(let e=0;e<s.length;e++){const r=s[e];if("img"===i.type){const e=/image.*/;if(!r.type.match(e))continue}const a=new FileReader,n=r.name.split(".").pop(),o=i.readMode?"text"===i.readMode:"html"===n||"htm"===n,d=!o;a.onload=()=>{try{t.resolve({format:n,content:Ve(a.result,i.readMode),contentType:d?"base64":"plaintext"})}catch(e){t.reject()}},o?a.readAsText(r):a.readAsDataURL(r)}}catch(e){t.reject()}}(i,t,e),i.value=""},i.click(),t.promise()};const He=e=>ze=e;function Re(e){ze=e}function je(e,t){return!!e&&!!t&&e.header===t.header&&e.content===t.content&&e.editorType===t.editorType}function We(e,t,i){if(!i){const i=Ge(t);return!!e&&e.match(new RegExp(i,"gi"))}let s=i.canUseRegex?t:Ge(t);i.searchMode!=Ne.startWith||i.canUseRegex||(s="^"+s);let r="";return i.caseSensitive||(r+="i"),i.globalMatch&&(r+="g"),!!e&&e.match(new RegExp(s,r))}function Ge(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Ue(e,t,i){return i=i||e.length-t,e.slice(0,t)+e.slice(t+i,e.length)}function qe(e,t,i,s=""){let r=e;return r=Ue(r,t,i),r=Ke(r,t,Array(i+1).join(s)),r}function Ke(e,t,i){return e.substring(0,t)+i+e.substring(t)}function Ye(e,...t){return e.replace(/{(\d+)(:[^}]+)?}/g,(e,i,s)=>{const r=t[parseInt(i)];return null!=r?s&&"d"===s.substring(1)?Fe(new Date(r)):r.toString():e})}var Ze,Je;!function(e){e.Plus="+",e.Minus="-",e.Equal="=",e.Tab="Tab",e.Delete="Delete",e.Enter="Enter",e.Esc="Escape",e.Space=" ",e.End="End",e.Home="Home",e.PageUp="PageUp",e.PageDown="PageDown",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown"}(Ze||(Ze={})),function(e){e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Esc=27]="Esc",e[e.Space=32]="Space",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"}(Je||(Je={}));const Xe=".dx-designer";class Qe extends x{_processShortcut(e,t,i){const s=e[Je[t.keyCode]];return!!s&&s(t,i)}processShortcut(e,t){return this._processShortcut(this.shortcutMap,e,t)}processChildrenShortcut(e,t){return this._processShortcut(this.childrenShortcutMap,e,t)}}class et extends Qe{constructor(e,t){super(),this._selection=e,this._undoEngine=t,this.shortcutMap={Esc:e=>(this.processEsc(),!0),Left:e=>(this.moveSelectedControls(!0,!0,-1),!0),Up:e=>(this.moveSelectedControls(!0,!1,-1),!0),Right:e=>(this.moveSelectedControls(!1,!0,1),!0),Down:e=>(this.moveSelectedControls(!1,!1,1),!0)}}processEsc(){const e=this._selection.focused()&&this._selection.focused().parent;e&&this._selection.focused(e)}moveSelectedControls(e,t,i){const s=this._selection.focused();if(!s||s&&s.getControlModel().getMetaData().isCopyDeny)return;this._undoEngine&&this._undoEngine().start();const r=t?"left":"top",a=t?"width":"height";let n,o,d;s.rect&&(n=s.rect()[r],o=s.rect()[r]+s.rect()[a],this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{const t=e.rect()[r];t<n&&(n=t)}),this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{const t=e.rect()[r]+e.rect()[a];t>o&&(o=t)}),e&&n<=0||!s.parent.rect||!e&&o.toFixed(5)>=s.parent.rect()[a]||(this._selection.selectedItems.filter(e=>!e.locked).filter(e=>!!e.rect).forEach(t=>{const s={},n=t.rect()[r],o=t.rect()[a],l=t.parent.rect()[a];d=n+1*i,(e&&d>=0||!e&&d+o<=l)&&(s[r]=d),!e&&d+o>l&&(s[r]=l-o),e&&d<0&&n>0&&(s[r]=0),t.rect(s)}),this._undoEngine&&this._undoEngine().end()))}}class tt extends x{get _activeHandler(){return this._handlers.length>0?this._handlers[this._handlers.length-1]:null}_getRoot(e){return e instanceof Element?e.closest(Xe):null}_getTargetRoot(e){const t=this._getRoot(e);if(t||!(e instanceof Element)||e===document.body||e===document.documentElement)return t;const i=e.querySelectorAll(Xe);return 1===i.length?i[0]:null}_removeHandler(e,t){const i=this._handlers.indexOf(e);i<0||(this._handlers.splice(i,1),i===this._handlers.length&&(this._targetElement.removeEventListener(t,e),this._activeHandler&&this._targetElement.addEventListener(t,this._activeHandler)))}dispose(){super.dispose(),this._handlers.forEach(e=>this._targetElement.removeEventListener("keydown",e)),this._targetElement=null,this._handlers=[]}constructor(e){super(),this._handlers=[],this._targetElement=e}bindHandler(e,t="keydown"){this._activeHandler&&this._targetElement.removeEventListener(t,this._activeHandler);const i=t=>{(this._getRoot(this._targetElement)||this._getTargetRoot(t.target)||t.target===document.body)&&e(t)};return this._handlers.push(i),this._targetElement.addEventListener(t,i),()=>{this._removeHandler(i,t)}}}let it=null;function st(){return null===it&&(it=new tt(window)),it}const rt="__viewModel__timeout",at="__viewModel__chunks";function nt(e,t){e.__viewModel&&e.updateViewModel&&(e.deferredUpdateViewModel()?ot(e,t):e.updateViewModel(t))}function ot(e,t){if(e.__viewModel&&e.updateViewModel){if(e[rt]&&clearTimeout(e[rt]),e[at]||(e[at]={}),"added"in t||"removed"in t){const i=Array.isArray(e[at][t.propertyName])?e[at][t.propertyName]:[];e[at][t.propertyName]=[...i,t]}else e[at][t.propertyName]=t;e[rt]=setTimeout(()=>{e[at]&&Object.keys(e[at]).forEach(t=>{const i=e[at][t];Array.isArray(i)?i.forEach(t=>e.updateViewModel(t)):e.updateViewModel(i)}),e[at]={}})}}function dt(e,t){e.onPropertyChanged&&e.onPropertyChanged(t),nt(e,t),e.events?.call("propertyChanged",t)}const lt={push:(e,t)=>{Object.defineProperty(e,"push",{enumerable:!1,configurable:!0,get:()=>(...i)=>{const s=e.length,r=Array.prototype.push.call(e,...i);return t({operation:"push",added:i.map((e,t)=>({item:e,index:s+t})),removed:[],newValue:e}),r}})},splice:(e,t)=>{Object.defineProperty(e,"splice",{enumerable:!1,configurable:!0,get:()=>(i,s,...r)=>{const a=Array.prototype.splice.call(e,i,s,...r);return t({operation:"splice",added:r.map((e,t)=>({item:e,index:i+t})),removed:a&&a.map((e,t)=>({item:e,index:i+t})),newValue:e}),a}})},pop:(e,t)=>{Object.defineProperty(e,"pop",{enumerable:!1,configurable:!0,get:()=>()=>{const i=e.length,s=Array.prototype.pop.call(e);return t({operation:"pop",added:[],removed:[{item:s,index:i-1}],newValue:e}),s}})}};class ut{_defineProperty(e,t,i,s=()=>{},r){let a=i(),n=null,o=null;s&&s(a),Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:()=>a,set:i=>{const d=a;a=i;const l=()=>{if(!e.isDisposing&&(d!==a||"always"===r?.notify)){const i={propertyName:t,oldValue:d,newValue:a};s&&s(a),dt(e,i)}};if(r?.deferred)n||(n=Promise.resolve().then(()=>{l(),n=null}));else if(r?.rateLimit){if("notifyWhenChangesStop"===r.rateLimit.method){if(o){if(d===a)return;clearTimeout(o)}}else if(null!==o)return;o=setTimeout(()=>{l(),o=null},r.rateLimit.timeout)}else l()}})}generateArrayProperty(e,t,i,s){this._defineProperty(e,t,()=>i,i=>{if(Array.isArray(i))for(const s in lt)lt[s](i,i=>{const s={propertyName:t,...i};dt(e,s)})},s)}generateProperty(e,t,i,s){this._defineProperty(e,t,()=>i,null,s)}}const ct=new ut;class pt extends x{constructor(){super(...arguments),this._handlers={}}dispose(){super.dispose(),this._handlers={}}call(e,t){if(e in this._handlers){[...this._handlers[e]].forEach(e=>e(t))}}addHandler(e,t){e in this._handlers||(this._handlers[e]=[]),this._handlers[e].push(t)}removeHandler(e,t){const i=this._handlers[e].indexOf(t);-1!==i&&this._handlers[e].splice(i,1)}on(e,t){return this.addHandler(e,t),()=>{this._handlers[e]&&this.removeHandler(e,t)}}}class ht extends pt{call(e,t){if(t&&"propertyChanged"===e||e===`${t?.propertyName}Changed`){const e=t,i=`${e.propertyName}Changed`;super.call(i,e),super.call("propertyChanged",e)}else super.call(e,t)}}class mt{createObjectByInfo(e){return{getInfo:()=>e||[],events:new ht,onPropertyChanged(e){}}}linkObjects(){Object.keys(this._linkTable).forEach(e=>{const t=this._refTable[e];t&&this._linkTable[e].splice(0).forEach(e=>e(t))})}wrapPropertyValue(e){return e}wrapPropertyArrayValue(e){return e}unwrapPropertyValue(e){return e}_getModel(e,t){let i=e;return t.forEach(e=>{i=i[e]}),i}_collectLinks(e,t,i,s){const r=e[s].slice(5);let a;this._linkTable[r]=this._linkTable[r]||[],this._linkTable[r].push(e=>a=e),t._restoreLinks||(t._restoreLinks=[]),t._restoreLinks.push(e=>{const t=this._getModel(e,i);return{setRef:e=>{-1===e?delete t[s]:t[s]="#Ref-"+e},obj:()=>a}})}_enumRefs(e,t,i){e._refs||(e._refs=[]),e._refs.push((e,s)=>{this._getModel(e,t)[i]=s})}_collectLinksAndEnumRefs(e,t=null,i=[]){const s=null===t;t=t||e,Object.keys(e).forEach(r=>{e[r]instanceof Object?this._collectLinksAndEnumRefs(e[r],t,[].concat(i,[r])):e[r].indexOf&&0===e[r].indexOf("#Ref-")?this._collectLinks(e,t,i,r):s||"@Ref"!==r||this._enumRefs(t,i,r)}),s&&this.linkObjects()}constructor(e){this.engineType="native",this._options={useRefs:!0,serializeDate:(e,t)=>re(e,void 0,t)},this._refTable={},this._linkTable={},this._options=xe(this._options,e)}setLinks(e){e.linkObjTable.forEach(t=>{const i=e.objects.indexOf(t.obj());t.setRef(i)})}deserializeProperty(e,t){const i=e.modelName;if(!i)return;const s=void 0!==t[i]?t[i]:e.defaultVal;return this.deserializePropertyValue(e,s)}deserializeDefaultValue(e){return this.deserializePropertyValue(e,e.defaultVal,!1)||e.defaultVal}deserializePropertyValue(e,t,i=!0){if("string"==typeof e)return this.wrapPropertyValue(t);if(e.array)return e.from?e.from(t,this):e.info?this.wrapPropertyArrayValue(Object.keys(t||{}).map(i=>{const s=this.createObjectByInfo(e.info||[]);return this.deserialize(s,t[i]||{}),s})):void 0;if(e.from)return e.from(t,this);if(e.type){const i=new e.type(t,this,e.info);return i._model||this.deserialize(i,t||{},e.info),i}if(e.info){const i=this.createObjectByInfo(e.info);return this.deserialize(i,t||{}),i}if(e.modelName)return this.wrapPropertyValue(t);if(i)throw new Error("Invalid info '"+JSON.stringify(e)+"'")}setLinkProperty(e,t,i){return e[t]=i,e[t]}getLinkProperty(e,t){return e[t]}setReferencedProperty(e,t,i){Object.keys(t).some(e=>"~Xtra#NULL"===t[e])||(this._refTable[i]=e)}generateProperty(e,t,i){ct.generateProperty(e,t,i)}generateArrayProperty(e,t,i){ct.generateArrayProperty(e,t,i)}deserialize(e,t,i=[]){if(!t)return;e._model=xe({},t),e.events||(e.events=new ht),e.getInfo||(e.getInfo=()=>i),i=e.getInfo();const s=t["@Ref"],r=Object.getPrototypeOf(e);i.forEach(i=>{const s=i.propertyName,a=i.modelName;let n;if(void 0!==t[a]&&delete e._model[a],i.link){n=this.wrapPropertyValue(null);const r=t[i.modelName];if(r){const t=r&&r.slice(5);this._linkTable[t]=this._linkTable[t]||[];const i=this;this._linkTable[t].push(function(t){return 0===arguments.length?i.getLinkProperty(e,s):i.setLinkProperty(e,s,t)})}}else n=this.deserializeProperty(i,t);const o=Object.getOwnPropertyDescriptor(r,s);void 0===n||o&&!o.set||this.generateProperty(e,s,n),!(s in e)&&void 0===n&&i.array&&this.generateArrayProperty(e,s,[])}),s&&this.setReferencedProperty(e,t,s),this.linkObjects()}serialize(e,t,i=null){return t||i?this._serialize(e,t||[],i):this._serialize(e,[],null)}_isSerializableValue(e){return he(e)&&!me(e)||Array.isArray(e)&&e.length>0||!Array.isArray(e)&&!he(e)}serializeProperty(e,t,i,s,r){const a=e.propertyName;let n=this.unwrapPropertyValue("_"+a in t?t["_"+a]:t[a]),o=e.defaultVal;e.beforeSerialize&&(n=e.beforeSerialize(n)),e.from&&(o=this.unwrapPropertyValue(e.from(o,this)));let d={};if(e.modelName&&(e.alwaysSerialize||null!=n&&(he(n)||!me(n)||Array.isArray(n)&&n.length>0||!Array.isArray(n)&&!he(n))&&n!==o)){if(e.link)s.linkObjTable.push({obj:()=>n,setRef:t=>{t<0?delete r[e.modelName]:r[e.modelName]="#Ref-"+t}}),d=void 0;else if(e.array){d={};let t=1;n.forEach(i=>{const r=e.info||null,a=this._serialize(i,r,s);(this._isSerializableValue(a)||e.alwaysSerialize)&&(d["Item"+t]=a,this._options.useRefs&&(a["@Ref"]=(s.objects.push(i)-1).toString()),t++)})}else if(e.from)d=n.isEmpty&&n.isEmpty()?{}:e.toJsonObject?e.toJsonObject(n,this,s,t):n.toString();else if(e.info||n.getInfo)d=this._serialize(n,e.info,s);else{if(!e.modelName)throw new Error("Invalid info '"+i.stringify()+"'");d=n instanceof Date?this._options&&this._options.serializeDate(n,this.unwrapPropertyValue(t.type)):n}(e.alwaysSerialize||this._isSerializableValue(d))&&(e.asRef&&(d["@Ref"]=(s.objects.push(n)-1).toString()),r[e.modelName]=d)}}_serialize(e,t,i){const s=xe(!0,{},e._model),r=null===i;return i=i||{linkObjTable:[],objects:[]},s._restoreLinks&&(i.linkObjTable.push.apply(i.linkObjTable,s._restoreLinks.map(e=>e(s))),delete s._restoreLinks),s._refs&&(s._refs.forEach(e=>e(s,(i.objects.push("0")-1).toString())),delete s._refs),t=e.getInfo?e.getInfo():t,delete s["@Ref"],e.isEmpty&&e.isEmpty()?{}:(t.forEach(r=>{("function"!=typeof e?.shouldSerialize||e?.shouldSerialize?.(r.propertyName,e))&&this.serializeProperty(r,e,t,i,s)}),r&&this.setLinks(i),s)}}function gt(e,t){return{model:e,properties:t}}class xt{cleanNode(e){}addDisposeCallback(e,t){}removeDisposeCallback(e,t){}peek(e){return e}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,s){e[t]=i}generateProperty(e,t,i,s){ct.generateProperty(e,t,i,s)}generateArrayProperty(e,t,i,s){ct.generateArrayProperty(e,t,i,s)}createComputedProperty(e,t,i,s,r,a=!1){const n={prevValue:void 0,value:void 0},o=()=>{const i=e[t];if(n.prevValue=n.value,n.value=i,"object"!=typeof i&&n.prevValue===n.value)return;const s={propertyName:t,newValue:i};e.onPropertyChanged&&e.onPropertyChanged(s),nt(e,s),e.events&&e.events.call("propertyChanged",s)};function d(e,t,i){const s={},r=i&&i(),a=r?.map(e=>d(e.model,e.properties))||[];return"*"===t?a.push(e?.events?.on("propertyChanged",()=>{o()})):t.forEach(t=>{if("object"==typeof(i=t)&&"subscribables"in i){const i=t.propertyName,r=`${i}Changed`,n=i=>{const r=e[i].map(e=>d(e,t.subscribables,t.computedProperties));s[i]=()=>r.forEach(e=>e())};Array.isArray(e[i])&&n(i),a.push(e?.events?.on(r,({propertyName:i})=>{s[i]&&s[i](),Array.isArray(e[i])?n(i):s[i]=d(e[i],t.subscribables,t.computedProperties),o()}))}else if("string"==typeof t){const i=`${t}Changed`;a.push(e?.events?.on(i,()=>o()))}var i}),()=>{for(const e in s)s[e]();a.forEach(e=>e&&e())}}"function"==typeof i?(Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:()=>i()}),i()):Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:()=>i.read(),set:e=>i.write(e)});const l=s.map(e=>e.model?d(e.model,e.properties):()=>{});return()=>{l.forEach(e=>e())}}subscribeValue(e,t){return()=>{}}subscribeOnPropertyChanged(e,t,i,s){if(e&&e.events){const r=`${t}Changed`,a=e.events.on(r,({newValue:e})=>{i(e)});return()=>{a(),s&&s()}}return()=>{}}unwrap(e){return e}wrap(e){return e}applyBindings(e,t){}}const ft=new xt,vt=e=>new mt(e);let bt=vt,yt=ft;function _t(e){yt=e}function Ct(e){bt=e}function wt(e,t,i,s){delete e[i],s=s||i,Object.defineProperty(e,i,{get:()=>t[s],set:e=>{t[s]=e},configurable:!0})}function At(e,...t){const i=(t,i=!0)=>{const s=t.split(".");let r=e;for(let e=0;e<s.length-1;e++)!r[s[e]]&&i&&(r[s[e]]={}),r=r[s[e]];return{object:r,propertyName:s[s.length-1]}},s=t[t.length-1],r=i(t[t.length-1]);for(let e=0;e<t.length-1;e++)((e,t)=>{Object.defineProperty(t.object,t.propertyName,{get:()=>(console.warn("DevExpress."+e+" is now deprecated and will be removed in future versions. Use DevExpress."+s+" instead."),r.object[r.propertyName]),set:t=>{console.warn("DevExpress."+e+" is now deprecated and will be removed in future versions. Use DevExpress."+s+" instead."),r.object[r.propertyName]=t},configurable:!0})})(t[e],i(t[e]))}function Et(e,t){let i=()=>{yt.removeDisposeCallback(e,i),t&&t(),i=null,t=null};yt.addDisposeCallback(e,i)}function It(e,t){let i=e;const s=[];return Object.assign(e=>(void 0!==e&&i!==e&&(i=e,t&&t(e),s.forEach(t=>t(e))),i),{subscribe:e=>(s.push(e),()=>s.splice(s.indexOf(e),1)),notifySubscribers:e=>{i!==e&&(i=e,s.forEach(t=>t(e)))}})}class St extends x{dispose(){super.dispose(),this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.element=null}constructor(e){super(),this.element=e,this._eventListeners=[]}addListener(e,t,i){const s=e=>{i.call(this,e)};e.addEventListener(t,s),Et(e,function(){e.removeEventListener(t,s)}),this._eventListeners.push({element:e,eventType:t,listener:s})}setTabIndex(e){this.element.setAttribute("tabindex",e)}setFocus(){this.element.focus()}}class $t extends Qe{_disposeItems(){this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.disposeArray(this.controlElements),this.controlElements.length=0}constructor(){super(),this.childrenInitialized=!1,this.accessibilityCompliantEnabled=!1,this.focusFirstFocusableDescendant=!1,this.controlElements=[],this._eventListeners=[],this._liveRegions={},this.setTabIndexes=e=>{this.controlElements.forEach(t=>t.setTabIndex(e))},this.liveRegion=(e=!1)=>{if(!this.liveRegionId)return null;const t=e?this.liveRegionId+"-assertive":this.liveRegionId;if(!this._liveRegions[t]||!this._liveRegions[t].element){const e={element:document.getElementById(t),changeText:(t,i=200)=>{const s=()=>{e.element&&(e.element.textContent=t)};if(i)return setTimeout(s,i);s()}};this._liveRegions[t]=e}return this._liveRegions[t]},this.onInitialized=(e,t)=>{t&&(this.accessibilityCompliantEnabled=!0),this.accessibilityCompliantEnabled&&(this._unbindActiveHandler&&this._unbindActiveHandler(),this.bindHandler(e))},this.onDomUpdated=()=>{if(this.accessibilityCompliantEnabled&&!this.isDisposing){const e=this.getElements()||[];let t=e.length!==this.controlElements.length;if(!t)for(let i=0;i<e.length;i++)if(e[i]!==this.controlElements[i].element){t=!0;break}t&&(this.initialize(void 0,e),this._unbindActiveHandler&&this._unbindActiveHandler(),this._unbindActiveHandler=this._handlersManager.bindHandler(e=>this._keyDownHandler(e)))}},this.onCleanUp=()=>{this._disposeItems()},this.shortcutMap={Esc:e=>this.handleEscKey(e),Tab:e=>!(!e||!e.shiftKey)?this.handleShiftTabKey(e):this.handleTabKey(e),Enter:e=>this.handleEnterKey(e),Space:e=>this.handleSpaceKey(e),End:e=>this.handleEndKey(e),Home:e=>this.handleHomeKey(e),Up:e=>this.handleUpArrowKey(e),Down:e=>this.handleDownArrowKey(e),Left:e=>this.handleLeftArrowKey(e),Right:e=>this.handleRightArrowKey(e)},this.childrenShortcutMap={Tab:(e,t)=>!(!e||!e.shiftKey)?this.itemHandleShiftTabKey(e,t):this.itemHandleTabKey(e,t),Enter:(e,t)=>this.itemHandleEnterKey(e,t),Space:(e,t)=>this.itemHandleSpaceKey(e,t),End:(e,t)=>this.itemHandleEndKey(e,t),Home:(e,t)=>this.itemHandleHomeKey(e,t),Up:(e,t)=>this.itemHandleUpArrowKey(e,t),Down:(e,t)=>this.itemHandleDownArrowKey(e,t),Left:(e,t)=>this.itemHandleLeftArrowKey(e,t),Right:(e,t)=>this.itemHandleRightArrowKey(e,t),Esc:(e,t)=>this.itemHandleEscKey(e,t)}}getElements(e){if(!this._elementContainer)return;let t=Array.prototype.slice.call(this._elementContainer.querySelectorAll("."+this.controlElementClassName));return t.length?(e&&(t=t.filter(e)),t):void 0}initialize(e,t){this._disposeItems();const i=t||this.getElements(e);i&&(i.forEach((e,t)=>{const i=this.createControlElement(e,t);i&&this.controlElements.push(i)}),this.controlElements.forEach((e,t)=>{this.addListener(e.element,t,"click",this.clickHandler)}),this.childrenInitialized=!0)}getIndexByElement(e){return this.controlElements.map(e=>e.element).indexOf(e)}createControlElement(e,t){return new St(e)}getContainer(){return this._elementContainer}changeFocus(e,t=!0){const i=this.controlElements.length-1;return e<0&&(e=t?i:0),e>i&&(e=t?0:i),this.controlElements[e].setTabIndex("0"),this.controlElements[e].setFocus(),e}bindHandler(e){this._elementContainer=e,this.initialize(),this._unbindActiveHandler&&this._unbindActiveHandler(),this._handlersManager?.dispose(),this._handlersManager=new tt(this._elementContainer),this._unbindActiveHandler=this._handlersManager.bindHandler(e=>this._keyDownHandler(e))}handleEscKey(e,t){return!!this._prevActiveElement&&(this._prevActiveElement.focus(),!0)}handleTabKey(e){return!1}handleShiftTabKey(e){return!1}handleEnterKey(e){return!1}handleSpaceKey(e){return!1}handleEndKey(e){return!1}handleHomeKey(e){return!1}handleUpArrowKey(e){return!1}handleDownArrowKey(e){return!1}handleLeftArrowKey(e){return!1}handleRightArrowKey(e){return!1}itemHandleHomeKey(e,t){return this.changeFocus(0),!0}itemHandleEndKey(e,t){return this.changeFocus(this.controlElements.length-1),!0}itemHandleLeftArrowKey(e,t){return!1}itemHandleRightArrowKey(e,t){return!1}itemHandleEnterKey(e,t){return!1}itemHandleSpaceKey(e,t){return!1}itemHandleUpArrowKey(e,t){return!1}itemHandleDownArrowKey(e,t){return!1}itemHandleTabKey(e,t){return!1}itemHandleShiftTabKey(e,t){return!1}itemHandleEscKey(e,t){return!1}setFocusToPrevious(e,t=!0){return this.changeFocus(e-1,t)}setFocusToNext(e,t=!0){return this.changeFocus(e+1,t)}clickHandler(e,t){this.changeFocus(t)}dispose(){super.dispose(),this._unbindActiveHandler&&this._unbindActiveHandler(),this._disposeItems(),this._elementContainer=null,this._prevActiveElement=null,this._handlersManager?.dispose(),this._handlersManager=null,Object.keys(this._liveRegions).forEach(e=>{this._liveRegions[e].element=null,this._liveRegions[e].changeText=null}),this._liveRegions={}}addListener(e,t,i,s){const r=e=>{s.call(this,e,t)};e.addEventListener(i,r),Et(e,function(){e.removeEventListener(i,r)}),this._eventListeners.push({element:e,eventType:i,listener:r})}focus(e){if(this.childrenInitialized||this._elementContainer)if(this._prevActiveElement=e||document.activeElement,this.childrenInitialized&&!this.focusFirstFocusableDescendant)this.changeFocus(this.startIndex||0);else{const e=this._elementContainer.querySelectorAll('button, [href], input:not([type="hidden"]), select:not([style*="display: none"]), textarea, [tabindex]:not([tabindex="-1"])');setTimeout(()=>e.length&&e[0].focus())}}lastFocusItem(){return document.getElementById("dxrd-designer-last-focus-item-blank")}_keyDownHandler(e){const t=e.target;(t.classList.contains(this.controlElementClassName)&&this.processChildrenShortcut(e,this.getIndexByElement(t))||this.processShortcut(e))&&(e.stopPropagation(),e.preventDefault())}}class kt extends $t{constructor(e,t=()=>{},i=""){super(),this._editorViewModelsAccessor=e,this._onToggleCollapsed=t,this.controlElementClassName="dxrd-accessibility-accordion-trigger",this.editorId=i}_collapseItem(e){const t=this._editorViewModelsAccessor();if(t){const e=t.getCollapsed(),i=t.alwaysShow;t.setCollapsed(!i&&!e),this._onToggleCollapsed()}}itemHandleEnterKey(e,t){return this._collapseItem(e.target),!0}itemHandleSpaceKey(e,t){return this._collapseItem(e.target),!0}clickHandler(e,t){this._onToggleCollapsed(),super.clickHandler(e,t)}}class Pt extends $t{constructor(e){super(),this._editorsViewModelsAccessor=e,this.controlElementClassName="dxrd-accessibility-accordion-trigger",this.focusFirstFocusableDescendant=!0,this._complexEditorMap={},this._triggersParentToChildMap={}}_getElementsCount(){return Array.from(this.getContainer().querySelectorAll("."+this.controlElementClassName)).filter(e=>this._filterPredicate(e)).length}_defferedInit(){setTimeout(()=>{this.controlElements.length!==this._getElementsCount()&&this.initialize()},20)}_getComplexEditors(){const e={},t=(e,i)=>{e&&e.filter(e=>e.isComplexEditor).forEach(e=>{i[e.headerId]={editor:e,isInitialized:!1},t(e.viewmodel.editors,i)})};return t(this._editorsViewModelsAccessor(),e),e}_getComplexEditorsHierarchy(){const e={},t=(e,i)=>{e.viewmodel.editors.filter(e=>e.isComplexEditor).forEach(s=>{i[s.headerId]=e.headerId,t(s,i)})};return this._editorsViewModelsAccessor().filter(e=>e.isComplexEditor).forEach(i=>{t(i,e)}),e}_filterPredicate(e){let t=e.id;for(;this._triggersParentToChildMap&&this._triggersParentToChildMap[t];){if(this._complexEditorMap[this._triggersParentToChildMap[t]]?.editor?.getCollapsed())return!1;t=this._triggersParentToChildMap[t]}return!0}initialize(){Object.keys(this._complexEditorMap).filter(e=>!document.getElementById(e)).forEach(e=>{delete this._complexEditorMap[e],this._disposables=this._disposables.filter(t=>!(t instanceof kt&&t.editorId===e)||(t.dispose(),!1))});for(const[e,t]of Object.entries(this._getComplexEditors()))this._complexEditorMap[e]&&this._complexEditorMap[e].isInitialized||(this._complexEditorMap[e]=t);this._triggersParentToChildMap=this._getComplexEditorsHierarchy(),Object.keys(this._complexEditorMap).forEach(e=>{if(!this._complexEditorMap[e].isInitialized){const t=document.getElementById(e);if(t){const i=new kt(()=>this._complexEditorMap[e].editor,()=>this._defferedInit(),e);i.bindHandler(t),this.addDisposable(i),this._complexEditorMap[e].isInitialized=!0}}}),super.initialize(e=>this._filterPredicate(e)),this.setTabIndexes(0)}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t),!0}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t),!0}}class Tt extends St{dispose(){this.element.removeEventListener("focus",this.toolbarItemHandleFocus),this.element.removeEventListener("blur",this.toolbarItemHandleBlur),super.dispose()}constructor(e,t){super(e),this.element=e,this._parentElement=t,this._borderCssClassName=["dxd-border-accented","dx-accessibility-container-highlight"],this.toolbarItemHandleFocus=()=>{this._parentElement.classList.add(...this._borderCssClassName)},this.toolbarItemHandleBlur=()=>{this._parentElement.classList.remove(...this._borderCssClassName)},e.addEventListener("focus",this.toolbarItemHandleFocus),e.addEventListener("blur",this.toolbarItemHandleBlur)}}const Dt=It(1),Ft=function(e){return e*Dt()};class Bt extends $t{constructor(){super(...arguments),this.startIndex=0}resetTabIndexes(){this.setTabIndexes("-1")}initialize(){super.initialize(),this.resetTabIndexes(),this.controlElements[this.startIndex]&&this.controlElements[this.startIndex].element.setAttribute("tabindex","0")}changeFocus(e,t=!0){this.resetTabIndexes();const i=super.changeFocus(e,t);return this.controlElements[i].setTabIndex("0"),this.controlElements[i].setFocus(),this.startIndex=i,i}}class Ot extends Bt{constructor(){super(...arguments),this.controlElementClassName="dx-accessibility-list-item"}createControlElement(e,t){return new Tt(e,this.getContainer())}itemHandleUpArrowKey(e,t){return this.startIndex=this.setFocusToPrevious(t,!1),!0}itemHandleDownArrowKey(e,t){return this.startIndex=this.setFocusToNext(t,!1),!0}}class Mt extends $t{constructor(e){super(),this._tabPanel=e,this.controlElementClassName="dx-accessibility-rightpanel-button"}_initialize(){this._initTimeout&&clearTimeout(this._initTimeout),this._initTimeout=setTimeout(()=>{this.initialize()},1)}bindHandler(e){super.bindHandler(e),this.addDisposable(...this._tabPanel.tabs.map(e=>e.events.on("visibleChanged",e=>{this._initialize()}))),this._initialize()}initialize(){super.initialize(),this.setTabIndexes(0)}createControlElement(e,t){if(this._tabPanel.tabs[t].visible)return new St(e)}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t,!0),!0}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t,!0),!0}}const Nt=DevExpress.ui.dxSelectBox;var Vt=e.n(Nt);const Lt=DevExpress.ui.dxMenu;var zt=e.n(Lt);function Ht(e){xe(Ae,e.messages)}function Rt(e,t,i){return _e(e,t,Ce)}function jt(e,t){return-1!==e.indexOf(t,e.length-t.length)}function Wt(e){xe(Ee,e);const t={};Object.keys(e).forEach(i=>{t[i]=e[i]}),Ht({messages:t})}const Gt={isSubscribable:e=>"function"==typeof e&&"subscribe"in e,isComputed:e=>Gt.isSubscribable(e)&&"dispose"in e,unwrap:e=>Gt.isSubscribable(e)?e():e};class Ut extends Bt{_subscribeButtonsAndInitialize(e){e.forEach(e=>{Gt.isSubscribable(e.visible)&&this._buttonsSubscriptions.push(e.visible.subscribe(()=>this._initialize()))}),this._initialize()}_initialize(){this._initializationTimeout&&clearTimeout(this._initializationTimeout),this._initializationTimeout=setTimeout(()=>this.initialize(),100)}createControlElement(e,t){const i=this.buttonModels[t];if(i.getVisible&&i.getVisible()||Gt.unwrap(i.visible))return new qt(e,this.getContainer(),i,this.liveRegion.bind(this),this._moveFocusToSibling.bind(this))}_moveFocusToSibling(e,t){const i=this.controlElements.indexOf(e);i<0||(t<0?this.setFocusToPrevious(i):this.setFocusToNext(i))}constructor(e){super(),this._buttonModels=e,this.controlElementClassName="dx-accessibility-toolbar-item",this.liveRegionId="dxrd-preview-toolbar-live-region",this._buttonsSubscriptions=[],this._initializationTimeout=null,this._subscribeButtonsAndInitialize(this.buttonModels),Gt.isSubscribable(this._buttonModels)&&this.addDisposable(this._buttonModels.subscribe(e=>{this._buttonsSubscriptions.forEach(e=>e.dispose()),this._buttonsSubscriptions=[],this._subscribeButtonsAndInitialize(e)}))}itemHandleEnterKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleSpaceKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleLeftArrowKey(e,t){return this.setFocusToPrevious(t),!0}itemHandleRightArrowKey(e,t){return this.setFocusToNext(t),!0}handleEscKey(e){const t=this.controlElements.find(t=>t.element.contains(e.target));return t?.cancelAction(),!0}dispose(){super.dispose(),this._buttonsSubscriptions.forEach(e=>e.dispose()),this._buttonsSubscriptions.length=0,this._initializationTimeout&&(clearTimeout(this._initializationTimeout),this._initializationTimeout=null)}get buttonModels(){return Gt.unwrap(this._buttonModels)}}class qt extends Tt{_isComplexItem(){return!(!this._selectBox&&!this._menu)}dispose(){super.dispose(),this._menu=null,this._selectBox=null}constructor(e,t,i,s,r){if(super(e,t),this.element=e,this._toolbarItemModel=i,this._liveRegion=s,this._moveFocusToSibling=r,this._borderCssClassName=["dxd-border-accented"],this._selectBox=Vt().getInstance(e.children[0]),this._menu=zt().getInstance(e.children[0]),this._menu){this._moveFocusToSibling&&(this._menu.registerKeyHandler("leftArrow",e=>this._menuArrowKeyHandler(e,-1)),this._menu.registerKeyHandler("rightArrow",e=>this._menuArrowKeyHandler(e,1))),this.addListener(e,"focus",e=>{this.element.contains(e.relatedTarget)||this._focusMenu()});const t=e.children[0];this.addListener(t,"focus",this.toolbarItemHandleFocus),this.addListener(t,"blur",this.toolbarItemHandleBlur)}}_menuArrowKeyHandler(e,t){e.preventDefault(),e.stopPropagation(),this._moveFocusToSibling?.(this,t)}_focusMenu(){if(this._menu.option("disabled"))return super.setFocus();this._menu.focus()}setFocus(){if(this._menu){if(this._liveRegion().changeText(""),this.element.contains(document.activeElement))return;return this._focusMenu()}if(this._selectBox&&"true"!==this.element.getAttribute("aria-disabled")?this._liveRegion().changeText(Rt("press Enter or Space to activate the editor","ASPxReportsStringId.WebDocumentViewer_AriaActivateEditor"),200):this._liveRegion().changeText(""),!this._selectBox||!this.element.contains(document.activeElement))return super.setFocus()}actionExecute(){if(this._isComplexItem()&&this._liveRegion().changeText(Rt("Press Alt ↓ or Alt ↑ to navigate the editor. Press Esc to exit navigation mode.","ASPxReportsStringId.WebDocumentViewer_AriaEditorKeyboardNavigation"),500),this._menu)this._focusMenu();else if(this._selectBox)this._selectBox.focus();else if(!Gt.unwrap(this._toolbarItemModel.disabled)){this._toolbarItemModel.clickAction?.();const e=this._toolbarItemModel.getAccessibilityActivationMessage?.();e&&this._liveRegion(!0).changeText(e,0)}}cancelAction(){return!!this._selectBox&&(super.setFocus(),!0)}}class Kt extends Ot{constructor(e){super(),this._rootHolder=e,this.controlElementClassName="dx-accessibility-treelist-item"}_setFocusToParentNode(e,t){let i=1;const s=e.parent.items,r=s.indexOf(e),a=(e,t)=>(e.hasItems&&!e.collapsed&&e.items.forEach(e=>{t+=a(e,0)}),t+=1);for(let e=0;e<r;e++)i+=a(s[e],0);this.changeFocus(t-i)}_toggleCollapsed(e,t){this.startIndex=this.getIndexByElement(e),t.toggleCollapsed()}_toggleSelected(e){this._getItemModel(e).toggleSelected()}_getItemModel(e){return this._rootHolder.root.store.getItem(e.id)}createControlElement(e,t){return new St(e)}itemHandleLeftArrowKey(e,t){const i=this._getItemModel(e.target);return i.hasItems&&!i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this._setFocusToParentNode(i,t),!0}itemHandleRightArrowKey(e,t){const i=this._getItemModel(e.target);return i.hasItems&&(i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this.changeFocus(t+1,!1)),!0}itemHandleEnterKey(e,t){return this._toggleSelected(e.target),!0}itemHandleSpaceKey(e,t){return this._toggleSelected(e.target),!0}clickHandler(e,t){super.clickHandler(e,t),this.startIndex=t}}class Yt{constructor(e,t,i){this._data=t,this._templates=i,this.templateName=e}data(e,t){if(this._data[this.templateName]=this._data[this.templateName]||{},1===arguments.length)return this._data[this.templateName][e];this._data[this.templateName][e]=t}text(e){if(0===arguments.length){if(this.templateName in this._templates)return this._templates[this.templateName];throw new Error("Cannot find template with ID "+this.templateName)}this._templates[this.templateName]=e}}class Zt{constructor(){this._hasTemplate=(e,t)=>t&&!!document.getElementById(e)||this._templates.hasOwnProperty(e),this._data={},this._templates={}}static get Instance(){return this._instance||(this._instance=new this)}static get templates(){return Zt.Instance._templates}static addTemplate(e,t){Zt.templates[e]=t}static addTemplates(e){xe(Zt.templates,e)}static extendTemplates(e){for(const t in e){let i;Object.defineProperty(Zt.templates,t,{configurable:!0,enumerable:!0,get:()=>i||Zt.templates[e[t]],set:e=>{i=e}})}}static getExistingTemplate(e,t=!0){return Zt.Instance._hasTemplate(e,t)?e:void 0}}function Jt(e,t){Zt.addTemplate(e,t)}function Xt(e){const t="#"===e[0]?e.substr(1):e,i=document.querySelector("#"+t);return i&&i.innerHTML||Zt.templates[t]}const Qt=DevExpress.ui.notify;var ei=e.n(Qt);function ti(e){return e?e.surface:null}function ii(e,t,i,s){const r={top:t.top+s.y,left:t.left+s.x,bottom:t.top+i.originalSize.height,right:t.left+i.originalSize.width};return 0!==s.x?r.left=e.snapPosition(r.left,!1):0!==s.width&&(r.right=e.snapPosition(t.left+i.size.width,!1)),0!==s.y?r.top=e.snapPosition(r.top,!0):0!==s.height&&(r.bottom=e.snapPosition(t.top+i.size.height,!0)),r}function si(e){return parseInt(e,10)||0}function ri(e,t,i){let s=si(e.css("left"));const r=si(e.css("top"));if(i.rtl()){const t=i.pageWidth()-i.margins.left()-e.width();s>t&&(s=t)}const a=e[0].getBoundingClientRect();return{top:r,left:s,width:a.width,height:a.height}}function ai(e){return Math.min(e.scrollHeight,e.offsetHeight,e.clientHeight)+e.offsetTop}function ni(e,t){return t&&(ai(e)<ai(t)?window:t)||window}function oi(e,t,i=!1){return()=>{const s=V(t).find(".dxrd-designer"),r=s.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,a=(s.find(".dxrd-right-panel:visible").outerWidth()||0)+(s.find(".dxrd-right-tabs:visible").outerWidth()||0),n=a+r,o=s.width()-n;s.find(".dxrd-surface-wrapper").css({left:`${i?a:r}px`,right:`${i?r:a}px`,width:`${o}px`,bottom:`${s.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}px`}),e(o)}}let di=!1;function li(e){di=e}const ui={info:"info",warning:"warning",error:"error",success:"success"},ci=(e=>{const t=t=>function(...i){e&&ge(e[t])&&e[t].apply(e,arguments)};return{info:t("info"),warn:t("warn"),error:t("error")}})("undefined"!=typeof window&&window.console);let pi=!1;function hi(e,t=!1){if(t&&xi(e),di)throw new Error(e);pi&&ci.warn(e)}function mi(e){return e&&e.responseJSON&&e.responseJSON.error?e.responseJSON.error:""}const gi=(e,t="error",i,s,r,a)=>{a=a||V(".dx-designer-viewport")[0],ei()({message:e,type:t,maxWidth:a?a.clientWidth:void 0,position:{boundary:a,collision:"fit",of:ni(document.documentElement,a),my:"bottom",at:"bottom",offset:"0 -10"},container:a,hideOnOutsideClick:!0,closeOnSwipe:!1,displayTime:i||("error"===t?6e4:3e3),contentTemplate:r})};let xi=gi;const fi=e=>xi=e,vi=()=>xi=gi,bi=()=>pi=!1,yi=()=>pi=!0,_i=!0;function Ci(e,t,i,s,r){let a=e;const n=mi(i);n&&n!==a&&(_i?a+=": "+n:a=n);try{r?r(a,i,s):hi(a)}finally{t.reject(i,s,e)}}const wi={handlers:[],call:e=>{for(let t=0;t<wi.handlers.length;t++)wi.handlers[t](e)}};function Ai(e){return e&&wi.handlers.push(e),{dispose:()=>{e&&function(e){wi.handlers.splice(wi.handlers.indexOf(e),1)}(e)}}}class Ei{static generateUri(e,t){return(e=e||"")&&"/"===e[e.length-1]&&t&&"/"===t[0]?e+t.substring(1):e+t}}const Ii="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx",Si=()=>{const e=`<a href="${Ii}" target="_blank" rel="noopener noreferrer">Reporting Application Diagnostics</a>`,t=`Review the following help topic to diagnose a problem: ${Ii}`;xi("","error",null,null,function(){return`<div><span>Open the browser developer console to investigate the issue. Review the following help topic: </span>${e}</div>`}),console.log(t)},$i=e=>{const t=Pi();k(e).innerHTML=t},ki=(e,t,i)=>{try{return e()}catch(e){if(!t||!i)throw e;$i(i),console.error(e)}},Pi=()=>{const e=`<a href="${Ii}" target="_blank" rel="noopener noreferrer">following help topic</a>`,t=Xt("dxrd-svg-error");return`<div class="dxrd-error-page">${t?`<div class="dxrd-error-page-icon">${t}</div>`:""}<div class="dxrd-error-page-title">Something went wrong</div><div class="dxrd-error-page-content">${`Review the ${e} to diagnose a problem.`}</div></div>`};class Ti{constructor(e,t,i){this._executeRequest=(e,t,i,s,r)=>{const a=new L;return this._fetch(e,t,i,s,r).then(async e=>{const t=e.headers.get("content-type")?.split(";")[0];if("application/json"===t)try{const t=await e.json();e.ok?a.resolve(t,"success",{...a.promise(),responseJSON:t}):a.reject({...a.promise(),responseJSON:t,statusText:t.statusText,status:e.status},t.statusText)}catch(t){a.reject({...a.promise(),statusText:t.message,status:e.status},t.message,t)}else e.ok&&t?a.resolve({result:e,success:!0}):a.reject({...a.promise(),statusText:e.statusText,status:e.status},e.statusText)},e=>{const t="string"==typeof e?e:e?.message??e?.name??"error";a.reject({...a.promise(),statusText:t,status:0},t)}),a.promise()},this._fetch=async(e,t,i,s,r)=>{const a={method:e,cache:s?.cache,headers:s?.headers,body:i,signal:r?.signal},n=this.getFetchSettings();return n&&n.beforeSend&&await n.beforeSend(a),fetch(t,a)},this.useFetch=!0,this.getFetchSettings=e||(()=>({})),this.getRequestBody=t,this.prepareRequestArgs=i}sendRequest(e){const{method:t,preparedUrl:i,body:s,params:r}=this._prepareParams(e);return this._executeRequest(t,i,s,r,e.abortController)}_prepareParams(e){const t=e.type,i=e.data;let s=e.url,r=null;const a=fe(i);"GET"===t&&i?(s.includes("?")?s+=`&${a}`:s+=`?${a}`,i.args&&(i.args=this.prepareRequestArgs(i.args,!0,!0))):"POST"===t&&i&&(r=this.getRequestBody(i));return{method:t,preparedUrl:s,body:r,params:{cache:"default",headers:{...e.headers,...this.getFetchSettings()?.headers}}}}}function Di(e){return null!=e&&Object.keys(e).length>0}const Fi=DevExpress.config;var Bi=e.n(Fi);const Oi=jQuery;const Mi=e.n(Oi)()||Oi;function Ni(e,t){return Mi.fn.constructor(e,t)}const Vi=()=>Mi.Callbacks(),Li=e=>e,zi=e=>e,Hi=e=>Ni(e),Ri=e=>Bi()().useJQuery?Hi(e):e,ji=(e,t)=>Ni(e).wrapInner(t),Wi=function(e,t,i){if(!(arguments.length>2))return Ni(e).data(t);Ni(e).data(t,i)};let Gi=Mi?.ajax;const Ui=e=>{Gi=e},qi=()=>{Gi=Mi?.ajax};class Ki{constructor(e,t){this.getAjaxSettings=e,this.getRequestBody=t}sendRequest(e){e.data=this.getRequestBody(e.data);const t=this._prepareRequestSettings(e);return Gi(t)}_prepareRequestSettings(e){return xe({},this.getAjaxSettings(),e)}}var Yi;let Zi;!function(e){e.Json="application/json",e.FormUrlEncoded="application/x-www-form-urlencoded"}(Yi||(Yi={}));let Ji=null;function Xi(e){const t=[{reg:new RegExp(/\(/g),value:"%28"},{reg:new RegExp(/\)/g),value:"%29"}];let i=encodeURIComponent(e);return t.forEach(e=>i=i.replace(e.reg,e.value)),i}const Qi=(e,t=!1,i=!0)=>{let s;return ts.getRequestContentType()!==Yi.FormUrlEncoded&&Zi||(i&&(s=JSON.stringify(e)),t&&(s=Xi(e))),s??JSON.stringify(e)},es=e=>{let t={};const i=fe(e);return ts.getRequestContentType()===Yi.Json?t=JSON.stringify(e):ts.getRequestContentType()===Yi.FormUrlEncoded&&(t=new URLSearchParams(i)),t},ts={getInstance:function(e){return Ji||this._initialize(e),Ji},_initialize:function(e){const{ajaxSetup:t,fetchSetup:i}=e??{};if(Di(t?.ajaxSettings)&&Di(i?.fetchSettings))throw new Error("You cannot configure more than one type of request manager. Use either ajaxSetup or fetchSetup for configuration, but not both.");if(Di(t?.ajaxSettings))return ts.initialize(new Ki(()=>(this._setRequestHeader(t.ajaxSettings),t.ajaxSettings),e=>(e&&ts.getRequestContentType()===Yi.Json&&(e=JSON.stringify(e)),e))),void this._setRequestHeader(t.ajaxSettings);ts.initialize(new Ti(()=>(this._setRequestHeader(i?.fetchSettings),i?.fetchSettings),es,Qi)),this._setRequestHeader(i?.fetchSettings)},_setRequestHeader:function(e){e&&(Zi?(e.headers||(e.headers={}),e.headers["Content-Type"]?.startsWith(Zi)||(e.headers["Content-Type"]=Zi)):e.headers&&e.headers["Content-Type"]?Zi=e.headers["Content-Type"]:(Zi=Yi.FormUrlEncoded,e.headers||(e.headers={}),e.headers["Content-Type"]=Zi),e.contentType=e.headers["Content-Type"])},_setRequestContentType:function(e){"Json"===e?Zi=Yi.Json:"FormUrlEncoded"===e&&(Zi=Yi.FormUrlEncoded)},initialize:function(e){Ji=e},getRequestContentType:function(){if(Zi)return Zi.startsWith(Yi.Json)?Yi.Json:Zi.startsWith(Yi.FormUrlEncoded)?Yi.FormUrlEncoded:void 0}};function is(){return Ji.useFetch}const ss={ajaxSettings:{},sendRequest:function(e){if(!is())return ts.getInstance().sendRequest(xe({},this.ajaxSettings,e));throw new Error("The request manager is currently configured as Fetch. Use either ajaxSetup or fetchSetup for configuration, but not both.")}},rs={fetchSettings:{}};class as extends x{dispose(){super.dispose(),this.sender&&this.sender instanceof x&&this.sender.dispose(),this.removeProperties()}_fireEvent(e,t){this._customEventRaiser?this._customEventRaiser(e,t):this._options&&this._options.callbacks&&this._options.callbacks[e]&&this._options.callbacks[e](this.sender,t)}_warnForIncorrectCallbackName(e,t){hi('The callback name must be different. Use "'+e+'" instead of "'+t+'" to call the function with the correct arguments.')}_checkCallbackName(e){Object.keys(this._options.callbacks).forEach(t=>{e.forEach(e=>{t===e.privateName&&this._warnForIncorrectCallbackName(e.publicName,t)})})}_getServerActionUrl(e,t){return Ei.generateUri(e,t)}_generateCallbackDictionary(e,t){const i=as.convertCallbackArrayToDictionary(e),s=i;return t&&this._options.callbacks[t]?Object.keys(i).forEach(e=>{s[e]=this._options.callbacks[t][e]||i[e]}):Object.keys(i).forEach(e=>{s[e]=this._options.callbacks[e]||i[e]}),s}_getLocalizationRequest(){const e=new L,t=this._options.requestOptions;if(t.getLocalizationAction){const i=this._getServerActionUrl(t.host,t.getLocalizationAction);ts.getInstance({ajaxSetup:ss,fetchSetup:rs}).sendRequest({url:i,type:"GET"}).fail(function(t,i,s){try{Ci(s?.message,new L,t,i)}finally{e.reject()}}).done(t=>{e.resolve(t)})}else e.resolve();return e.promise()}_createDisposeFunction(e){Et(e,()=>{this.dispose()})}static convertCallbackArrayToDictionary(e){const t={};return e.forEach(e=>{t[e.privateName]=e.callback}),t}constructor(e,t){super(),this._options=e,this._customEventRaiser=t,this._templateHtml=Xt("dxrd-designer"),this.developmentMode=e.developmentMode}}class ns{constructor(e,t){this._element=e,this._options=t}getBindingName(){return""}render(){yt.cleanNode(this._element),this._element.setAttribute("data-bind",`${this.getBindingName()}: $data`),ki(()=>yt.applyBindings(this._options,this._element),this._options.developmentMode,this._element)}dispose(){yt.cleanNode(this._element),this._element=null}}const os=ko;class ds{constructor(e=!0){this._useDeferredRegistration=e,this._editorTemplates={}}register(e,t){if(this._editorTemplates[e]&&!this._editorTemplates[e]._deferred)throw Error(`Editor with name ${e} is already exists`);this._editorTemplates[e]?(delete this._editorTemplates[e]._deferred,xe(this._editorTemplates[e],t)):this._editorTemplates[e]=t}unregister(e){delete this._editorTemplates[e]}registerEditors(e){for(const t in e)this.register(t,e[t])}getEditor(e){return!this._editorTemplates[e]&&this._useDeferredRegistration&&(this._editorTemplates[e]={_deferred:!0}),this._editorTemplates[e]}}const ls=new ds,us=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:ls.getEditor("numeric"),editorOptions:{min:.02}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:ls.getEditor("numeric"),editorOptions:{min:.02}}],cs=[{propertyName:"x",displayName:"X",editor:ls.getEditor("numeric")},{propertyName:"y",displayName:"Y",editor:ls.getEditor("numeric")}];class ps{constructor(e,t){this.isPropertyDisabled=e=>{},this.height=os.observable(t).extend({dxdnum:{min:.02}}),this.width=os.observable(e).extend({dxdnum:{min:.02}})}getInfo(){return us}static fromString(e="0, 0"){const t=e.split(",");return new ps(parseFloat(t[0]),parseFloat(t[1]))}toString(){return this.width()+", "+this.height()}}function hs(e,t=!1,i=3){return(t?Math.floor:Math.round)(e*Math.pow(10,i))/Math.pow(10,i)}function ms(e,t,i=1){let s;switch(t){case"Pixels":s=1*e;break;case"Millimeters":s=3.77952755*e;break;case"TenthsOfAMillimeter":s=3.77952755*e/10;break;case"Inches":s=96*e;break;default:s=96*e/100}return s*=i,hs(s,!0,6)}function gs(e,t,i){let s;switch(t){case"Pixels":s=1*e;break;case"Millimeters":s=e/3.77952755;break;case"TenthsOfAMillimeter":s=e/3.77952755*10;break;case"Inches":s=e/96;break;default:s=e/96*100}return s/=i,hs(s,!0,6)}ps.unitProperties=["width","height"];const xs=e=>`${e}px`,fs=e=>parseFloat(e.replace("px",""));let vs=e=>{throw new Error("Model Accessor is not implemented")};function bs(e){vs=e}class ys extends x{dispose(){super.dispose(),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null}getTarget(e){return e.toElement||vs(e.relatedTarget)&&e.relatedTarget||e?.target||null}_getAbsoluteSurfacePosition(e){return{left:fs(e.dataset.leftPosition)-e.delta.left,top:fs(e.dataset.topPosition)-e.delta.top}}constructor(e,t,i,s,r){super(),this._snapDisabled=!1,this._size=new ps(0,0),this.alwaysAlt=!1,this.snapToGridOnCreateControl=!1,this.surface=e,this.selection=t,this.snapHelper=s,this.dragHelperContent=r,this.stopDrag=(e,t,r)=>{i()?.start(),this.doStopDrag(e,t,r),i()?.end(),s?.deactivateSnapLines()}}addControl(e,t,i){const s=t.width?.()||t._width?.(),r=t.underCursor();if(r.x<s){e.syncDpi?.(this.surface().dpi()),t.getControlModel().addChild(e);const a=ti(e);if(!a)return;const n=i.width(),o=i.height();let d=r.x+n>s?s-n-1:r.x,l=Math.max(r.y,0);this.snapToGridOnCreateControl&&(d=this.snapHelper.roundToGridSize(d),l=this.snapHelper.roundToGridSize(l)),a.rect({left:d,top:l,width:n,height:o}),e.normalizePaddings?.(),this.selection.initialize(a),this.selection.resetTabPanelFocus?.()}}recalculateSize(e){const t=os.unwrap(this.surface);this._size.width(ms(os.unwrap(e.width)*t.dpi()/100,t.measureUnit(),t.zoom())),this._size.height(ms(os.unwrap(e.height)*t.dpi()/100,t.measureUnit(),t.zoom()))}helper(e,t){this.snapHelper?.updateSnapLines(e||null)}canDrop(e,t,i){let s=e.locked;return i?.canDrop&&(s=s||!i.canDrop(e,t)),!s}startDrag(e){}drag(e,t,i){const s="SnapToGrid"===this.snapHelper?.getSnappingMode?.(),r="SnapLines"===this.snapHelper?.getSnappingMode?.();let a=!this._snapDisabled&&r&&!0!==e.altKey;if(this.selection.dropTarget){const e=this.selection.dropTarget.getControlModel().getMetaData().isContainer?this.selection.dropTarget:this.selection.dropTarget.parent||this.selection.dropTarget,t=i.getControlModel?.(),s=t?.getMetaData()||i.info;this.canDrop(e,t,s)?this.dragHelperContent?.isLocked(!1):(this.snapHelper?.deactivateSnapLines(),a=!1,this.dragHelperContent?.isLocked(!0))}if(s&&!0!==e.altKey&&this.snapHelper?.snapToGrid(t,this.selection.dropTarget),a){const e=this._getAbsoluteSurfacePosition(t),i=this.snapHelper?.activateSnapLines({left:e.left,top:e.top,right:e.left+this._size.width(),bottom:e.top+this._size.height()});i&&(i.left>0||i.top>0)&&(t.dataset.leftPosition=xs(fs(t.dataset.leftPosition)-i.left),t.dataset.topPosition=xs(fs(t.dataset.topPosition)-i.top),t.ghostContainer.style.left=t.dataset.leftPosition,t.ghostContainer.style.top=t.dataset.topPosition)}}doStopDrag(e,t,i){}}ys.started=os.observable(!1);class _s{constructor(e=0,t=0,i=0,s=0){this.left=os.observable(0),this.top=os.observable(0),this.width=os.observable(0),this.height=os.observable(0),this.className="dxrd-drag-helper-item",this.left(e),this.top(t),this.width(i),this.height(s)}}class Cs extends _s{constructor(e,t,i,s,r){super(t,i,s,r),this.position=e}}class ws extends _s{get _isEmpty(){return 0===this.controls().length}constructor(e){super(),this.controls=os.observableArray([]),this.customData=os.observable({}),this.template="dxrd-drag-helper-source",this.isLocked=os.observable(!1),this._selectionProvider=e}reset(){this.controls([]),this.customData({})}update(e){if(this.left(e.absolutePosition.x()),this.top(e.absolutePosition.y()),this.width(e.rect().width),this.height(e.rect().height),this._isEmpty){const t=[];this._selectionProvider.selectedItems.forEach((i,s)=>{i.locked||i.parent!==e.parent||t.push(new Cs(s))}),this.controls(t)}this.controls().forEach(e=>{const t=this._selectionProvider.selectedItems[e.position];e.left(t.absolutePosition.x()-this.left()),e.top(t.absolutePosition.y()-this.top()),e.width(t.rect().width),e.height(t.rect().height)})}setContent(e,t=null){this._isEmpty&&this.controls([e]),this.left(e.left()),this.top(e.top()),this.width(e.width()),this.height(e.height()),this.customData(t)}}class As extends ys{adjustDropTarget(e){let t=e;for(;null!=t;){if(t.selected&&t.selected()){e=t.parent;break}t=t.parent}return e}constructor(e,t,i,s,r){super(e,t,i,s,r),this.cursor="move",this.containment=".dxrd-ghost-container",this.helper=e=>{super.helper(e),-1===this.selection.selectedItems.indexOf(e)&&this.selection.updateSelection(e),r.update(e),this._size.width(r.width()),this._size.height(r.height())}}startDrag(e){this.selection.swapFocusedItem(e);const t=this.selection.focused(),i=t.rect().left+t.underCursor().x,s=t.rect().top+t.underCursor().y;this.selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e.parent===t.parent&&(e.underCursor().offsetX=e.rect().left-i,e.underCursor().offsetY=e.rect().top-s)})}drag(e,t,i){t.dataset.leftPosition=xs(fs(t.dataset.leftPosition)+t.scroll.left),t.dataset.topPosition=xs(fs(t.dataset.topPosition)+t.scroll.top),super.drag(e,t,i)}getLocation(e,t){const i=e.underCursor().x+t.underCursor().offsetX,s=e.underCursor().y+t.underCursor().offsetY;return{left:i>0?i:0,top:s>0?s:0}}ajustLocation(e,t){t.rect(this.getLocation(e,t))}doStopDrag(e,t){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){const t=this.selection.dropTarget.getControlModel(),i=t.getNearestParent(t).surface,s=this.selection.focused();let r=this.adjustDropTarget(i);const a=s.getControlModel(),n=a.getNearestParent(r.getControlModel());r=n&&ti(n);const o=r!==s.parent;if(!r||!r.canDrop())return;const d=this._getAbsoluteSurfacePosition(e);r.underCursor().x=d.left-(r.absolutePosition&&r.absolutePosition.x()||0)-s.underCursor().offsetX,r.underCursor().y=d.top-(r.absolutePosition&&r.absolutePosition.y()||0)-s.underCursor().offsetY;const l=this.selection.selectedItems.filter(e=>!e.locked&&e.parent===s.parent).map(e=>e.getControlModel()).filter(e=>e.getMetaData().canDrop(r,e));if(o){for(let e=0;e<l.length;e++)l[e].surface.rect({top:0,left:0});a.parentModel().removeChilds(l),n.addChilds(l);for(let e=0;e<l.length;e++)this.ajustLocation(r,l[e].surface);this.selection.focused(s),this.selection.selectItems(l.map(e=>e.surface))}else for(let e=0;e<l.length;e++)this.ajustLocation(r,l[e].surface);this.selection.expectClick=!o}}}class Es extends ys{constructor(e,t,i,s,r,a){super(e,t,i,s,r),this.cursor="arrow",this._controlsFactory=a,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0}}helper(e){super.helper(e);const t=e,i=ps.fromString(t.info["@SizeF"]||t.info.size||"100,23");this.recalculateSize(i),this.dragHelperContent.setContent(new _s(0,0,this._size.width(),this._size.height()))}doStopDrag(e,t){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){const i=t,s=this._controlsFactory.createControl(xe({},i.info),null),r=ti(s.getNearestParent(this.selection.dropTarget.getControlModel()));if(!r||!r.canDrop())return;const a=this._getAbsoluteSurfacePosition(e);r.underCursor().x=a.left-(r.absolutePosition&&r.absolutePosition.x()||0),r.underCursor().y=a.top-(r.absolutePosition&&r.absolutePosition.y()||0),(this.surface().isFit&&this.surface().isFit(r)||r.underCursor().isOver)&&this.addControl(s,r,this._size)}}}class Is extends ys{constructor(e){super(null,null,os.observable(null),null,e.dragHelperContent),this.parent=()=>V(e.parent),this.containment=e.containment,this._target=e.target,this._addHandler=e.addHandler}helper(e,t){this._dropTarget=null;const i=e,s=V(t.target).closest(".ui-draggable"),r=new _s(6,6,s.width(),s.height());r.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(r,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:i.imageClassName,imageTemplateName:i.imageTemplateName,text:i.text}});const a=Xt(this.dragHelperContent.template),n=V(a);return n.css({display:"block"}),n.prependTo(this.parent()[0]),os.applyBindingsToDescendants(this.dragHelperContent,n[0]),n}doStopDrag(e,t){this.dragHelperContent.reset(),this._dropTarget&&this._addHandler(this._dropTarget,vs(e),this._getAbsoluteSurfacePosition(e))}drag(e,t){const i=V(this.getTarget(e)),s=i.closest(this._target);this._dropTarget=null,!s.length||this._target&&!i.closest(this._target)[0]||(this._dropTarget=vs(s.get(0)))}}const Ss=DevExpress.VERSION,$s="26.1.0";function ks(){const e="eyJsaWNlbnNlS2V5IjoiTENQdjE5eSw6ZU4sTD5RLHZjTFYlVmphRyU8dEUlPGNAOkpGb1NvUyE3WVNlOkpYTCgrYzEsNyszVnlkU3BfPEolakBmZUhWcHBZUzFweWVTNkxFSiw3LVYlPlNuR29lUTJRPExTXyw0cE5FTDNMUzksPDRAIWUlbz5MOUAzUjlAZUwhaTl5JTE6ZTk0YyszNHBIY29HSlZpYyshYlNwbXoyXytZVk5heVZ5YT46S0ZlVl9hU0lMUW1rZSs6MnBmLT5qQEdJZSskOVE5PGFRRjY2aTw8Pmp6PHBnRnY2X0BFcFE0dj4lWDwycEBAIVE0NjJiLXYyJWQpSTwtQGFRZEBwZ0BAIVE0QDJfQEYhUWQ6SXAhQEk8NClhS3o8SV95QEliUnZJPC0pOU5YPD5RNDo+UTh2SWJSKTlqejshakw7OWp5Rkk3eUZJN3lGSTlsbCJ9";return e?JSON.parse(atob(e)):null}const Ps={analytics:$s,devextreme:Ss.version||Ss};function Ts(e){return e.split(",")[0].trim()}function Ds(e){const t=Ts(e).split(".");return t[t.length-1]}function Fs(e){let t=e.displayType&&e.displayType()||e.controlType;if(e.getControlFactory){const i=e.getControlFactory().getControlInfo(t);i.displayName&&(t=i.displayName)}return t&&Rt(Ds(t))}function Bs(e){if(!e)return"";const t=Gt.unwrap(e.name)||Gt.unwrap(e.displayName),i=Fs(e);return t+(i?" ("+i+")":"")}function Os(e,t=!1){const i=Ts(e||"").split(".").join("_");let s;return 0===i.indexOf("XR")?s=i.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===i&&(s="master_report"),(t?"dxrd-svg-toolbox-":"dxrd-image-")+(s||i.toLowerCase())}function Ms(e,t,i){if(0===t.indexOf("XR"))t=t[2].toLowerCase()+t.slice(3);else{const e=t.indexOf("Band");-1!==e&&"SubBand"!==t&&(t=t.slice(0,e)+t.slice(e+4))}return Ns(i||e.map(e=>Gt.unwrap(e.name)),t)}function Ns(e,t,i=!0){let s=i?1:0,r=i?t+s:t;for(;e.filter(e=>e===r).length>0;)s++,r=t+s;return r}function Vs(e,t,i=[],s=["surface","reportSource"]){if(-1===i.indexOf(e)&&e&&void 0!==e){const r=[];Object.keys(e).forEach(t=>{-1===i.indexOf(e[t])&&0!==t.indexOf("_")&&-1===s.indexOf(t)&&r.push(e[t])}),t(e),i.push(e);for(let e=0;e<r.length;e++)r[e]=os.unwrap(r[e]),"object"==typeof r[e]&&Vs(r[e],t,i,s)}}function Ls(e,t,i=["controls","bands","subBands","crossBandControls","rows","cells","fields"],s=[]){if(e&&void 0!==e){s.push(e);for(let r=0,a=i.length;r<a;r++)e[i[r]]&&(t(e[i[r]],e),(e[i[r]]()||[]).forEach(e=>Ls(e,t,i,s)))}}ks()&&Bi()(ks());class zs extends x{getNameProperty(e){return e.name}getControlByName(e){let t=null;return this.allControls().some(i=>os.unwrap(i.name)==e&&(t=i,!0)),t}_setName(e){const t=this.allControls().map(e=>os.unwrap(this.getNameProperty(e)));if(!this.getNameProperty(e)()||t.filter(t=>t===this.getNameProperty(e)()).length>1){const i=Ms(this.allControls(),this._getNamePrefix(e),t);this.getNameProperty(e)(i),this._setText&&this._setDefaultText(e)}}_setDefaultText(e){const t=e.getControlInfo&&e.getControlInfo().defaultVal&&e.getControlInfo().defaultVal["@Text"];this._setText&&e.text&&!e.text()&&null==t&&e.text(this.getNameProperty(e)())}_getNamePrefix(e){return(e.controlType||"Unknown").split(".").pop()}dispose(){super.dispose(),this._subscriptions.forEach(e=>e.dispose()),this._subscriptions.splice(0),this._visitedCollections.splice(0),this._handlers.splice(0),this.target=null,this.allControls([])}processCollection(e){}_collectControls(e){const t=[e];Ls(e,(e,i)=>{if(-1===this._visitedCollections.indexOf(e)){this._visitedCollections.push(e);let t=this._subscriptions;i instanceof x&&(t=i._disposables);let s=e.subscribe(e=>{e.forEach(e=>{null==e.moved&&(this[e.status]&&this[e.status](e.value),this._handlers.forEach(t=>{t[e.status]&&t[e.status](e.value)}))})},null,"arrayChange");t.push({dispose:()=>{s.dispose(),s=null,this._visitedCollections.splice(this._visitedCollections.indexOf(e),1)}})}this.processCollection(e()),t.push.apply(t,e())},this.collectionNames),this.allControls.push.apply(this.allControls,t)}constructor(e,t,i){super(),this.target=e,this.collectionNames=i,this._handlers=[],this._setText=!1,this._visitedCollections=[],this._subscriptions=[],this.added=e=>{this._setText=!0,this._collectControls(e),this._setText=!1},this.deleted=e=>{const t=this.allControls(),i=t.indexOf(e);t.splice(i,1),Ls(e,e=>{e().forEach(e=>{t.splice(t.indexOf(e),1)})}),this.allControls.valueHasMutated()},this.allControls=os.observableArray();let s=e;os.isSubscribable(e)&&(this._disposables.push(e.subscribe(e=>{this._visitedCollections=[];for(let e=0,t=this._subscriptions.length;e<t;e++)this._subscriptions[e].dispose();this._subscriptions=[],this.allControls([]),e&&this._collectControls(e)})),s=e.peek()),this._disposables.push(this.allControls.subscribe(e=>{const t=e.filter(e=>"added"===e.status);for(let e=0;e<t.length;e++)this._setName(t[e].value)},null,"arrayChange")),s&&this._collectControls(s),this._handlers.push.apply(this._handlers,t)}getControls(e){const t=os.observableArray();return Ls(e,e=>{t.push.apply(t,e())}),t}}const Hs={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:ls.getEditor("numeric")},Rs={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:ls.getEditor("numeric")},js={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:ls.getEditor("numeric")},Ws={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:ls.getEditor("numeric")},Gs={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:ls.getEditor("numeric")},Us=[Gs,Hs,Rs,js,Ws],qs="viewModelChanged";class Ks extends f{constructor(e){super(),this._model=e}getModel(){return this._model}}const Ys={customValueStorageFactory:null,ensureChangesImmutable:!1,addTestFlag:!1},Zs=function(e={}){const t={createDefaultModel:i=>(e=new Ks(i),i?._disposables?.push({dispose:()=>{e.disposeViewModel(),e=void 0}}),t),generateProperty(t,i,s=!1){Ys.addTestFlag&&!e._____test&&Object.defineProperty(e,"_____test",{get:()=>!0,enumerable:!1});const r=e;return!r?._viewModelEvents&&Js(r),s||"function"==typeof i?(r[t]=i,this):Array.isArray(i)?(er(r,t,i),this):(Qs(r,t,i),this)},configureProperty(t,i){return t in e&&i(e[t]),this},getViewModel:()=>e};return t},Js=e=>{const t=new pt;Object.defineProperty(e,"_viewModelEvents",{get:()=>t,enumerable:!1})},Xs=(e,t,i,s)=>{const r=Ys.customValueStorageFactory,a=r?r(i):(e=>{let t=e;return{getValue:()=>t,setValue:e=>t=e,explicitNotifySubscribers:()=>{}}})(i),n=e=>a.setValue(e);let o=s(i,n);return o&&e?.addDisposable?.(o),Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>a.getValue(),set:i=>{if(a.getValue()===i)return;const r=e;r?.disposeSubscription?.(o);const d={propertyName:t,oldValue:a.getValue(),newValue:i};a.setValue(i),o=s(i,n),r?.addDisposable?.(o),e._viewModelEvents.call(qs,d)}}),()=>a.explicitNotifySubscribers()},Qs=(e,t,i)=>{Xs(e,t,i,(i,s)=>i?._viewModelEvents?.on(qs,((i,s)=>r=>{Ys.ensureChangesImmutable&&i&&"object"==typeof i&&i._viewModelEvents&&s({...i}),e._viewModelEvents.call(qs,{...r,propertyName:`${t}.${r.propertyName}`})})(i,s)))},er=(e,t,i)=>{let s=()=>{};s=Xs(e,t,i,(i,r)=>{const a=new Map,n=e=>e?._viewModelEvents?.on(qs,t=>{const s={...t,propertyName:`${i.findIndex(t=>t===e)}.${t.propertyName}`};i?._viewModelEvents?.call(qs,s)});if(Array.isArray(i)){!i._viewModelEvents&&Js(i);const o={propertyName:t,newValue:i,oldValue:i};a.set("",i?._viewModelEvents?.on(qs,s=>{Ys.ensureChangesImmutable&&r([...i]),e._viewModelEvents.call(qs,{...s,propertyName:`${t}.${s.propertyName}`})}));let d=!1;for(const t in lt)lt[t](i,t=>{switch(d||(d=!0,s(),d=!1),t.operation){case"push":t.added.filter(e=>e.item&&e.item._viewModelEvents).forEach(e=>a.set(e.item,n(e.item)));break;case"splice":t.added.filter(e=>e.item&&e.item._viewModelEvents).forEach(e=>a.set(e.item,n(e.item))),t.removed.forEach(e=>{const t=e.item&&a.get(e.item);t&&t(),a.delete(e.item)});break;case"pop":t.removed.forEach(e=>{const t=e.item&&a.get(e.item);t&&t(),a.delete(e.item)})}e._viewModelEvents.call(qs,o)});i.filter(e=>e&&e._viewModelEvents).forEach(e=>a.set(e,n(e)))}return()=>a.forEach(e=>e&&e())})};class tr extends x{deferredUpdateViewModel(){return!0}assignProperty(e,t,i){ct.generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){ct.generateArrayProperty(this,e,t,i)}deserialize(e,t){t.deserialize(this,e)}dispose(){super.dispose(),this.events&&this.events.dispose()}_needInitializeModel(){return!0}_initializeModel(e,t){this.deserialize(e,t),this.__decorators&&this.__decorators.forEach(e=>e(this))}constructor(e={},t=bt()){super(),this.events=new ht,this._needInitializeModel()&&(this.deserialize(e,t),this.__decorators&&this.__decorators.forEach(e=>e(this)))}}function ir(e,t){return(i,s)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push(r=>{if(i.isPrototypeOf(r)){const i="function"==typeof e?e():e;r.assignProperty(s,i,t)}})}}function sr(e,t){return(i,s)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push(r=>{i.isPrototypeOf(r)&&r.assignArrayProperty(s,[...e()],t)})}}class rr extends tr{onPropertyChanged(e){}}class ar extends tr{getViewModel(){return this.__viewModel||this.initializeViewModel(),this.__viewModel}onPropertyChanged(e){throw new Error("Method not implemented.")}initializeViewModel(){this.__viewModel=this.createViewModel()}updateViewModel(e){}setProperty(e,t){this[e]=t}getProperty(e){return this[e]}createViewModel(){return Zs().createDefaultModel(this).getViewModel()}}class nr extends ar{constructor(e={},t,i="multiplatform"){super(e,t),this._engineType=i,this._propertiesSubscriptions={},t||(t="multiplatform"===this._engineType?bt():vt()),this._engineType=t.engineType,this._initializeModel(e,t)}_needInitializeModel(){return!1}_getEngine(){return"native"===this._engineType?ft:yt}onPropertyChanged(e){}subscribeOnChanges(e,t){t.forEach(t=>{this._propertiesSubscriptions[t]&&this._propertiesSubscriptions[t](),this._propertiesSubscriptions[t]=this.subscribeProperty(t,i=>{if(!e)return;const s=e[t];e[t]=i,nt(this,{propertyName:t,oldValue:s,newValue:i})})})}_get(e,t="unwrap"){const i=this._getEngine().getPropertyValue(this,e);return"unwrap"===t?this.unwrap(i):"peek"===t?this.peek(i):i}_set(e,t){this._getEngine().setPropertyValue(this,e,t)}assignProperty(e,t,i){this._getEngine().generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){this._getEngine().generateArrayProperty(this,e,t,i)}createComputedProperty(e,t,i,s,r=!1){return this._getEngine().createComputedProperty(this,e,t,i,s,r)}subscribeProperty(e,t,i){return this._getEngine().subscribeOnPropertyChanged(this,e,t,i)}unwrap(e){return this._getEngine().unwrap(e)}peek(e){return this._getEngine().peek(e)}destroyPropertySubscription(e){this._propertiesSubscriptions[e]&&this._propertiesSubscriptions[e](),delete this._propertiesSubscriptions[e]}dispose(){super.dispose(),Object.keys(this._propertiesSubscriptions).forEach(e=>{this._propertiesSubscriptions[e]()}),this._propertiesSubscriptions={}}}var or=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class dr extends nr{getInfo(){return Us}resetValue(){["left","right","top","bottom"].forEach(e=>this._set("_"+e,null))}isEmpty(){return["left","right","top","bottom"].map(e=>this._get("_"+e)).every(e=>null===e)}applyFromString(e){if(e){const t=(e||"").split(",");this._set("left",parseFloat(t[0])||0),this._set("right",parseFloat(t[1])||0),this._set("top",parseFloat(t[2])||0),this._set("bottom",parseFloat(t[3])||0)}return this}static from(e){return(new dr).applyFromString(e)}toString(){if(!this.isEmpty())return this._toString()}_toString(e=!1){return["left","right","top","bottom"].map(e=>parseFloat(this._get(e))).concat(this._get("dpi")).join(", ")}constructor(e=yt.wrap(null),t=yt.wrap(null),i=yt.wrap(null),s=yt.wrap(null),r=yt.wrap(100)){super(),this.left=e,this.right=t,this.top=i,this.bottom=s,this.dpi=r,["left","right","top","bottom"].forEach(e=>{const t=e,i="_"+t;this.assignProperty(i,this._get(t)),this.addDisposable(this.createComputedProperty(t,{read:()=>this._get(i)||0,write:e=>{this._set(i,e)}},[gt(this,[i])]))});let a=null;this.addDisposable(this.createComputedProperty("all",{read:()=>(this._get("_isUpdating")||(a=["right","top","bottom"].every(e=>this._get(e)===this._get("left"))?this._get("left"):null),a),write:e=>{this._set("_isUpdating",!0),["left","right","top","bottom"].forEach(t=>this[t](e)),this._set("_isUpdating",!1)}},[gt(this,["_isUpdating","right","left","top","bottom"])]))}}function lr(e,t){if(t){if("Left"===e)return"Right";if("Right"===e)return"Left"}return e}dr.defaultVal="0, 0, 0, 0, 100",dr.unitProperties=["left","right","top","bottom"],or([ir(!1)],dr.prototype,"_isUpdating",void 0);class ur{_getPixelValueFromUnit(e,t){return t.root&&t.root.measureUnit?ms(e,t.root.measureUnit()):e}_patchPosition(e){return lr(e,yt.unwrap(this._rtlLayout))}_getBorderWidth(e,t){const i=yt.unwrap(e.borderWidth);return e.borderWidth&&"number"==typeof i?Math.floor(i*(t||1)):""}createBorder(e,t,i,s,r){let a={};s=s||"All",a={stroke:"Silver",strokeWidth:"2"};const n=this.createStrokeDashArray(e,t);return-1===s.indexOf(r)&&-1===s.indexOf("All")||(a.stroke=i,a.strokeWidth=t,a.strokeDasharray=n),a}createControlBorder(e,t,i,s,r,a="solid 1px Silver"){const n={};return e="Dash"===e?"dashed":"Dot"===e?"dotted":"Double"===e?"double":"solid",-1!==(s=s||"").indexOf(r)||-1!==s.indexOf("All")?n["border"+this._patchPosition(r)]=e+" "+t+"px "+i:n["border"+this._patchPosition(r)]=a,n}createBorders(e,t,i,s,r=ur.DEFAULT_BORDER){return xe({},this.createControlBorder(e,t,i,s,"Left",r),this.createControlBorder(e,t,i,s,"Right",r),this.createControlBorder(e,t,i,s,"Top",r),this.createControlBorder(e,t,i,s,"Bottom",r))}createZipCodeFont(e){const t={fontFamily:"Impact"};return t.fontSize=e+"px",t}createFont(e){const t={},i=(e=e||"").split(",");if(t.fontFamily=i[0]?'"'+i[0]+'"':"",t.fontSize=i[1],i.length>2)for(let e=2;e<i.length;e++)-1!==i[e].indexOf("Bold")&&(t.fontWeight="Bold"),-1!==i[e].indexOf("Italic")&&(t.fontStyle="Italic"),-1!=i[e].indexOf("Underline")&&(t.textDecoration="Underline"),-1!=i[e].indexOf("Strikeout")&&(t.textDecoration=(t.textDecoration?t.textDecoration+" ":"")+"Line-through");return t.fontWeight||(t.fontWeight=""),t.fontStyle||(t.fontStyle=""),t.textDecoration||(t.textDecoration=""),t}createVerticalAlignment(e){const t={};return-1!==e.indexOf("Top")&&(t.verticalAlign="top"),-1!==e.indexOf("Middle")&&(t.verticalAlign="middle"),-1!==e.indexOf("Bottom")&&(t.verticalAlign="bottom"),t}createHorizontalAlignment(e){const t={};return-1!==e.indexOf("Left")&&(t.textAlign=lr("Left",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Right")&&(t.textAlign=lr("Right",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Center")&&(t.textAlign="center"),-1!==e.indexOf("Justify")&&(t.textAlign="justify"),t}createStrokeDashArray(e,t){const i=e=>e.map(e=>e*t+"px").join(", ");switch(e){case"Dot":return i([1,2]);case"Dash":return i([3,3]);case"DashDot":return i([5,3,1,3]);case"DashDotDot":return i([5,3,1,3,1,3]);default:return""}}createWordWrap(e,t){const i={};return!1===e&&!1===t?(i["white-space"]="nowrap",i["word-wrap"]="normal"):!0===e&&!1===t?(i["word-wrap"]="break-word",i["white-space"]=""):!1===e&&!0===t?(i["word-wrap"]="normal",i["white-space"]="pre"):!0===e&&!0===t&&(i["white-space"]="pre-wrap",i["word-wrap"]="break-word"),i}createAngle(e){return{"-webkit-transform":"rotate("+(e=-e)+"deg)","-moz-transform":"rotate("+e+"deg)","-o-transform":"rotate("+e+"deg)","-ms-transform":"rotate("+e+"deg)",transform:"rotate("+e+"deg)"}}createLineSpacing(e){if(e&&1!==e)return{"line-height":`${e}`,"margin-top":`${(1-e)/2}em`,overflow:"scroll","scrollbar-width":"none"}}constructor(e,t){this._rtlLayout=t,this._control=e,this.borderCss=t=>{const i=this._getBorderWidth(e,t),s=yt.unwrap(e.borderDefault),r=yt.unwrap(e.borderColor)||"",a=yt.unwrap(e.borders)||"",n=yt.unwrap(e.borderDashStyle)||"";return s?this.createBorders(n,i,r,a,s):this.createBorders(n,i,r,a)},this.backGroundCss=()=>({backgroundColor:yt.unwrap(e.backColor)||"transparent"}),this.foreColorCss=()=>({color:"transparent"===(yt.unwrap(e.foreColor)||"transparent")?"black":yt.unwrap(e.foreColor)}),this.fontCss=()=>this.createFont(yt.unwrap(e.font)||""),this.wordWrapCss=()=>this.createWordWrap(yt.unwrap(e.wordWrap),yt.unwrap(e.multiline)),this.lineSpacingCss=()=>this.createLineSpacing(yt.unwrap(e.lineSpacing)),this.paddingsCss=()=>{const t=yt.unwrap(e.paddingObj||e.padding)||dr.from(dr.defaultVal);return{paddingLeft:this._getPixelValueFromUnit(t._get("left"),e)+"px",paddingTop:this._getPixelValueFromUnit(t._get("top"),e)+"px",paddingRight:this._getPixelValueFromUnit(t._get("right"),e)+"px",paddingBottom:this._getPixelValueFromUnit(t._get("bottom"),e)+"px"}},this.textAlignmentCss=()=>{const t=yt.unwrap(e.textAlignment)||"";return xe(this.createVerticalAlignment(t),this.createHorizontalAlignment(t))},this.stroke=()=>({stroke:"transparent"===(yt.unwrap(e.foreColor)||"transparent")?"black":yt.unwrap(e.foreColor)}),this.strokeWidth=()=>({strokeWidth:yt.unwrap(e.lineWidth)||""}),this.strokeWidthWithWidth=()=>({strokeWidth:this._getPixelValueFromUnit(yt.unwrap(e.width)||"",e)}),this.strokeDashArray=()=>({strokeDasharray:this.createStrokeDashArray(yt.unwrap(e.lineStyle)||"",yt.unwrap(e.lineWidth)||"")}),this.strokeDashArrayWithWidth=()=>{const t=this._getPixelValueFromUnit(yt.unwrap(e.width)||"",e);return{strokeDasharray:this.createStrokeDashArray(yt.unwrap(e.lineStyle)||"",t)}},this.crossBandBorder=t=>this.createBorder(yt.unwrap(e.borderDashStyleCrossband)||"solid",this._getBorderWidth(e),yt.unwrap(e.borderColor)||"",yt.unwrap(e.borders)||"",t),this.angle=()=>this.createAngle(yt.unwrap(e.angle)||0),this.cellBorder=(t,i)=>this.createControlBorder(yt.unwrap(e.borderDashStyle)||"solid",this._getBorderWidth(e,i),yt.unwrap(e.borderColor)||"",yt.unwrap(e.borders)||"",t),this.zipCodeFontCss=t=>this.createZipCodeFont(t||yt.unwrap(e.size.height)),this.zipCodeAlignment=()=>{const e="TopLeft";return xe(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))}}contentSizeCss(e,t,i,s,r){const a={top:1,left:1,right:1,bottom:1,width:1,height:1};s=s||yt.unwrap(this._control.borders)||"";const n=this._getBorderWidth(this._control,i);return["Left","Top","Right","Bottom"].forEach(e=>{let t=0;""==n||-1===s.indexOf(e)&&-1===s.indexOf("All")||(t+=n),r&&(t+=this._getPixelValueFromUnit(r._get(e.toLowerCase()),this._control)*(i||1)),t&&(a[this._patchPosition(e).toLowerCase()]=t)}),a.width=e-a.left-a.right,a.height=t-a.top-a.bottom,a}}function cr(e){return e===Z.DevExpressExpression}ur.DEFAULT_BORDER="none";const pr={[Z.Enum]:ls.getEditor("combobox"),[Z.SystemString]:ls.getEditor("text"),[Z.SystemGuid]:ls.getEditor("guid"),[Z.SystemSByte]:ls.getEditor("sbyte"),[Z.SystemDecimal]:ls.getEditor("decimal"),[Z.SystemInt64]:ls.getEditor("int64"),[Z.SystemInt32]:ls.getEditor("int32"),[Z.SystemInt16]:ls.getEditor("int16"),[Z.SystemSingle]:ls.getEditor("single"),[Z.SystemDouble]:ls.getEditor("double"),[Z.SystemByte]:ls.getEditor("byte"),[Z.SystemUInt16]:ls.getEditor("uint16"),[Z.SystemUInt32]:ls.getEditor("uint32"),[Z.SystemUInt64]:ls.getEditor("uint64"),[Z.SystemBoolean]:ls.getEditor("boolSelect"),[Z.SystemDateTime]:ls.getEditor("date"),[Z.SystemDateOnly]:ls.getEditor("dateOnly"),[Z.SystemTimeOnly]:ls.getEditor("timeOnly"),[Z.DevExpressExpression]:ls.getEditor("expressionEditor")};function hr(e){return pr[e]||ls.getEditor("text")}function mr(e){const t=we;t&&e&&(e.cldrSupplemental&&t.load(e.cldrSupplemental),e.cldrData&&t.load(e.cldrData),e.currentCulture&&(t.locale(e.currentCulture),K.locale&&K.locale(e.currentCulture)))}function gr(e,t){e&&t&&(e.key===Ze.Esc&&t.esc&&t.esc(),e.key===Ze.Enter&&e.ctrlKey&&t.ctrlEnter&&t.ctrlEnter())}class xr extends x{constructor(e){let t,i;super(),this._showInline=os.observable(!1),this.text=os.observable(),this._disposables.push(e.focused.subscribe(()=>{this._showInline()&&i&&(t(this.text()),i(this.text()),this._showInline(!1));const s=e.focused()&&e.focused().getControlModel();t=s&&(s.textEditableProperty||s.textUI||s.alias),i=s&&(s.textEditableProperty||s.text||s.alias)})),this._disposables.push({dispose:()=>this.element=null}),this._disposables.push(this.visible=os.pureComputed({read:()=>this._showInline(),write:e=>{this._showInline(e)}})),this.show=s=>{if(this._showInline())return;this.element=s;if((e.selectedItems?1===e.selectedItems.length:!!e.focused())&&(t||i)&&!e.focused().locked){if(this.text(os.unwrap(t)||os.unwrap(i)||""),this._showInline(!0),s){const e=V(s).find("textarea")[0];e&&e.select()}}else this._showInline(!1)},this.keypressAction=e=>{gr(e.event,{esc:()=>{this._showInline(!1)},ctrlEnter:()=>{i(this.text()),this._showInline(!1)}})}}}class fr extends x{dispose(){this.selectedItem=null}constructor(e,t){super(),this.selectedItem=null,this.itemsFilter=(t,i)=>{const s=t.name.split(".")[0];return!e||(-1!==e.indexOf(s)||pe(s))},this.hasItems=e=>{const i=e.name.split(".")[0];return e.isList||!!t&&-1!==t.indexOf(i)},this.getActions=e=>e.data&&e.data.innerActions||[],this.select=e=>{this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0},this.showIconsForChildItems=()=>!0}canSelect(e){return!0}}class vr extends x{constructor(){super(...arguments),this.selectedPath=os.observable(""),this.selectedMember=os.observable()}getClassName(e){if(e.className&&e.className())return e.className();const t=/function (.{1,})\(/.exec(e.constructor.toString());return t&&t.length>1?t[1]:""}createItem(e,t,i,s){const r=e.getInfo&&e.getInfo(),a=r&&r.filter(e=>e.propertyName===t)[0],n=os.unwrap(i);a&&null!==n&&"object"==typeof n&&s.push({name:t,displayName:Rt(a.displayName,a.localizationId),specifics:t,innerActions:n.innerActions,isList:!!n.push})}getMemberByPath(e,t){const i=t.split(".");let s=e;return i.splice(0,1),i.forEach(e=>{s&&s[e]&&(s=os.unwrap(s[e]))}),s}getObjectPropertiesForPath(e,t,i){const s=this.getMemberByPath(e,t),r=[];if(s)if(s.push)this.createArrayItem(s,r,i);else for(const e in s)this.createItem(s,e,s[e],r);return r}createArrayItem(e,t,i){for(let s=0;s<e.length;s++){const r=os.unwrap(e[s]);t.push({name:i?i+"."+s.toString():s.toString(),displayName:os.unwrap(r.displayName||r.name),specifics:this.getClassName(r),innerActions:r.innerActions,isList:!!r.push})}}}class br extends vr{createArrayItem(e,t,i){for(let s=0;s<e.length;s++){const r=os.unwrap(e[s]);let a=!1;this.listPropertyNames.forEach(e=>{!a&&r[e]&&os.unwrap(r[e]).length>0&&(a=!0)});const n=this.getClassName(r);t.push({name:i?i+"."+s.toString():s.toString(),displayName:os.unwrap(r.displayName||r.name),specifics:n,isList:a,data:r,dragData:{noDragable:!("bands"===i&&("groupheaderband"===n||"groupfooterband"===n||"detailreportband"===n||"subband"===n)||"controls"===i||"rows"===i||"cells"===i&&"xrcrosstabcell"!==n||"subBands"===i||"Styles"===i||"Formatting Rules"===i)}})}}createItem(e,t,i,s){(!(this.listPropertyNames.length>0)||this.listPropertyNames.indexOf(t)>-1)&&i&&i.push&&this.createArrayItem(os.unwrap(i),s,t)}constructor(e,t,i,s){super(),this.path=os.observable(""),this.getPathByMember=s,this.listPropertyNames=t||[],this.getItems=t=>{const i=new L;if(t.fullPath){const s=e.filter(e=>e.name===t.fullPath.split(".")[0])[0],r=this.getObjectPropertiesForPath(os.unwrap(s.model),t.fullPath,s.name).map(e=>(e.cssRule={"dxrd-context-menu-container":!!s.hasContextMenu},e));i.resolve(r)}else i.resolve((e||[]).map(e=>({name:e.name,displayName:Rt(e.displayName)||e.name,isList:!0,specifics:e.className,dragData:{noDragable:!0},data:os.unwrap(e.data),cssRule:{"dxrd-context-menu-container":e.hasContextMenu}})));return i.promise()},this._disposables.push(this.selectedPath=os.computed({read:()=>i()?this.path.peek()?this.getPathByMember&&this.getPathByMember(i()).substr(this.path.peek().length+1):this.getPathByMember&&this.getPathByMember(i()):null,write:t=>{if(t){const s=this.path()?this.path().split(".")[0]:t.split(".")[0],r=e.filter(e=>e.name===s)[0];r&&i(this.getMemberByPath(os.unwrap(r.model),this.path()?[this.path(),t].join("."):t))}else i(null)}}))}}class yr extends vr{constructor(e,t,i){super(),this.getItems=s=>{const r=new L;return s.fullPath?r.resolve(this.getObjectPropertiesForPath(os.unwrap(e),s.fullPath)):r.resolve([{name:t||os.unwrap(e.name),displayName:Rt(t||os.unwrap(e.name),i),isList:!0,specifics:e.className&&e.className(),dragData:{noDragable:!0}}]),r.promise()},this._disposables.push(this.selectedPath.subscribe(t=>{this.selectedMember(os.unwrap(this.getMemberByPath(os.unwrap(e),t)))}))}}const _r={A2:{width:4200,height:5940,unit:"TenthsOfAMillimeter"},A3:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A3Extra:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3ExtraTransverse:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3Rotated:{width:4200,height:2970,unit:"TenthsOfAMillimeter"},A3Transverse:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A4:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Extra:{width:2360,height:3220,unit:"TenthsOfAMillimeter"},A4Plus:{width:2100,height:3300,unit:"TenthsOfAMillimeter"},A4Rotated:{width:2970,height:2100,unit:"TenthsOfAMillimeter"},A4Small:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Transverse:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A5:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A5Extra:{width:1740,height:2350,unit:"TenthsOfAMillimeter"},A5Rotated:{width:2100,height:1480,unit:"TenthsOfAMillimeter"},A5Transverse:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A6:{width:1050,height:1480,unit:"TenthsOfAMillimeter"},A6Rotated:{width:1480,height:1050,unit:"TenthsOfAMillimeter"},APlus:{width:2270,height:3560,unit:"TenthsOfAMillimeter"},B4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4Envelope:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4JisRotated:{width:3640,height:2570,unit:"TenthsOfAMillimeter"},B5:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Envelope:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Extra:{width:2010,height:2760,unit:"TenthsOfAMillimeter"},B5JisRotated:{width:2570,height:1820,unit:"TenthsOfAMillimeter"},B5Transverse:{width:1820,height:2570,unit:"TenthsOfAMillimeter"},B6Envelope:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},B6Jis:{width:1280,height:1820,unit:"TenthsOfAMillimeter"},B6JisRotated:{width:1820,height:1280,unit:"TenthsOfAMillimeter"},BPlus:{width:3050,height:4870,unit:"TenthsOfAMillimeter"},C3Envelope:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},C4Envelope:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},C5Envelope:{width:1620,height:2290,unit:"TenthsOfAMillimeter"},C65Envelope:{width:1140,height:2290,unit:"TenthsOfAMillimeter"},C6Envelope:{width:1140,height:1620,unit:"TenthsOfAMillimeter"},CSheet:{width:1700,height:2200,unit:"HundredthsOfAnInch"},DLEnvelope:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},DSheet:{width:2200,height:3400,unit:"HundredthsOfAnInch"},ESheet:{width:3400,height:4400,unit:"HundredthsOfAnInch"},Executive:{width:725,height:1050,unit:"HundredthsOfAnInch"},Folio:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanLegalFanfold:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanStandardFanfold:{width:850,height:1200,unit:"HundredthsOfAnInch"},InviteEnvelope:{width:2200,height:2200,unit:"TenthsOfAMillimeter"},IsoB4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},ItalyEnvelope:{width:1100,height:2300,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcard:{width:2e3,height:1480,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcardRotated:{width:1480,height:2e3,unit:"TenthsOfAMillimeter"},JapanesePostcard:{width:1e3,height:1480,unit:"TenthsOfAMillimeter"},Ledger:{width:1700,height:1100,unit:"HundredthsOfAnInch"},Legal:{width:850,height:1400,unit:"HundredthsOfAnInch"},LegalExtra:{width:927.5,height:1500,unit:"HundredthsOfAnInch"},Letter:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterExtra:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterExtraTransverse:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterPlus:{width:850,height:1269,unit:"HundredthsOfAnInch"},LetterRotated:{width:1100,height:850,unit:"HundredthsOfAnInch"},LetterSmall:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterTransverse:{width:827.5,height:1100,unit:"HundredthsOfAnInch"},MonarchEnvelope:{width:387.5,height:750,unit:"HundredthsOfAnInch"},Note:{width:850,height:1100,unit:"HundredthsOfAnInch"},Number10Envelope:{width:412.5,height:950,unit:"HundredthsOfAnInch"},Number11Envelope:{width:450,height:1037.5,unit:"HundredthsOfAnInch"},Number12Envelope:{width:475,height:1100,unit:"HundredthsOfAnInch"},Number14Envelope:{width:500,height:1150,unit:"HundredthsOfAnInch"},Number9Envelope:{width:387.5,height:887.5,unit:"HundredthsOfAnInch"},PersonalEnvelope:{width:362.5,height:650,unit:"HundredthsOfAnInch"},Prc16K:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc16KRotated:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc32K:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBig:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBigRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1:{width:1020,height:1650,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10Rotated:{width:4580,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1Rotated:{width:1650,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2:{width:1020,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2Rotated:{width:1760,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3:{width:1250,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3Rotated:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4:{width:1100,height:2080,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4Rotated:{width:2080,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5Rotated:{width:2200,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6:{width:1200,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6Rotated:{width:2300,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7:{width:1600,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7Rotated:{width:2300,height:1600,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8:{width:1200,height:3090,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8Rotated:{width:3090,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9Rotated:{width:3240,height:2290,unit:"TenthsOfAMillimeter"},Quarto:{width:2150,height:2750,unit:"TenthsOfAMillimeter"},Standard10x11:{width:1e3,height:1100,unit:"HundredthsOfAnInch"},Standard10x14:{width:1e3,height:1400,unit:"HundredthsOfAnInch"},Standard11x17:{width:1100,height:1700,unit:"HundredthsOfAnInch"},Standard12x11:{width:1200,height:1100,unit:"HundredthsOfAnInch"},Standard15x11:{width:1500,height:1100,unit:"HundredthsOfAnInch"},Standard9x11:{width:900,height:1100,unit:"HundredthsOfAnInch"},Statement:{width:550,height:850,unit:"HundredthsOfAnInch"},Tabloid:{width:1100,height:1700,unit:"HundredthsOfAnInch"},TabloidExtra:{width:1169,height:1800,unit:"HundredthsOfAnInch"},USStandardFanfold:{width:1487.5,height:1100,unit:"HundredthsOfAnInch"}},Cr={Inches:1,HundredthsOfAnInch:100,Millimeters:25.4,TenthsOfAMillimeter:254,Pixels:96};function wr(e,t,i){let s;switch(t){case"TenthsOfAMillimeter":s=e/2.54;break;case"Millimeters":s=e/.254;break;case"Inches":s=e/100;break;default:s=e}return void 0!==i?hs(s,!1,i):s}function Ar(e,t){const i=_r[e];return{width:wr(i.width,i.unit,t),height:wr(i.height,i.unit,t)}}function Er({value:e,newDpi:t,oldDpi:i=100}){return e*t/i}function Ir(e){return xe({handles:Gt.isSubscribable(e.handles)?e.handles:e.handles||"all",ghost:!1,start:()=>{},stop:()=>{},resize:()=>{}},e)}function Sr(e,t,i){const s=new $r(e,t,i).initialize();return()=>{s.dispose()}}class $r extends x{_initResize(e){this._startResizeMousePosition={left:e.pageX,top:e.pageY},this._resizeDirection=kr(e.target.classList),this._addClassToElement("ui-resizable-resizing");const t=this._element.getBoundingClientRect(),i=V(this._element);this._element.dataset.originalLeftPosition=i.css("left"),this._element.dataset.originalTopPosition=i.css("top"),this._element.dataset.originalWidth=xs(t.width),this._element.dataset.originalHeight=xs(t.height),this._element.dataset.originalLeftMousePosition=xs(e.pageX),this._element.dataset.originalTopMousePosition=xs(e.pageY),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)}_mouseMove(e){if(1===e.which){const t=this._getBoundsDiff(e);this._options.resize(e,this._element,t)}}_mouseUp(e){this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._options.stop(),$r.inProcess=!1,this._removeClassFromElement("ui-resizable-resizing"),this._startResizeMousePosition=null,this._resizeDirection=null}_mouseDown(e){if($r.inProcess=!0,this._initResize(e),this._options.start(e,this._element),this._elementModel?.canSnap?.()){const e=this._elementModel.absoluteRect?.(),t=this._elementModel?.parent?.absoluteRect?.().top,i=this._options?.snapHelper?.roundToGridSize(e.top-t)+t,s=this._options?.snapHelper?.roundToGridSize(e.bottom-t)+t,r=i||0,a=this._options?.snapHelper?.roundToGridSize(e.left)||0,n=this._options?.snapHelper?.roundToGridSize(e.right)||0,o=s||0;this.snapGridDiff={top:r-e.top,left:a-e.left,right:n-e.right,bottom:o-e.bottom}}}_initResizeHandle(e,t){const i=document.createElement("div");i.classList.add(this.handleClass),i.style.zIndex="95",i.classList.add(e),i.addEventListener("mousedown",t),this._element.append(i)}_addClassToElement(e){this._element.classList.add(e)}_removeClassFromElement(e){this._element.classList.remove(e)}_getBoundsDiff(e){let t=0,i=0,s=0,r=0;const a=fs(this._element.dataset.originalHeight),n=fs(this._element.dataset.originalWidth),o=this._resizeDirection&&/sw|se|nw|ne|s|n/.test(this._resizeDirection),d=this._resizeDirection&&/sw|se|nw|ne|e|w/.test(this._resizeDirection),l=this._elementModel?.canSnap?.()&&"SnapToGrid"===this._options.snapHelper?.getSnappingMode?.()&&!0!==e.altKey;o&&((t,s=!1)=>{const n=this._element.style.minHeight?fs(this._element.style.minHeight):this._defaultMinSize;let o=0;o=s?this._options.snapHelper?.roundToGridSize((this._startResizeMousePosition.top-e.pageY)*(t?1:-1)):(this._startResizeMousePosition.top-e.pageY)*(t?1:-1);if(n>a+o){const e=a-n;return t&&(r=e),void(i=-e)}i=o,t&&(r=-i),s&&(t?r=-i+this.snapGridDiff.top:i+=this.snapGridDiff.bottom)})(/nw|ne|n/.test(this._resizeDirection),l),d&&((i,r=!1)=>{const a=this._element.style.minWidth?fs(this._element.style.minWidth):this._defaultMinSize;let o=0;o=r&&this._options.snapHelper?this._options.snapHelper.roundToGridSize((this._startResizeMousePosition.left-e.pageX)*(i?1:-1)):(this._startResizeMousePosition.left-e.pageX)*(i?1:-1);if(a>n+o){const e=n-a;return i&&(s=e),void(t=-e)}t=o,i&&(s=-t),r&&(i?s=-t+this.snapGridDiff.left:t+=this.snapGridDiff.right)})(/sw|nw|w/.test(this._resizeDirection),l);return{width:t,height:i,left:s,top:r}}constructor(e,t,i){super(),this._element=e,this._options=t,this._elementModel=i,this.handleClass="ui-resizable-handle",this.handleClassSelector=`.${this.handleClass}`,this.resizableElementClass="ui-resizable",this._defaultMinSize=1,this._bodyEvents={move:null,up:null},this._resizeDirection=null,this._resizeHandles=["w","e","s","n","se","sw","ne","nw"],this.snapGridDiff={left:0,top:0,right:0,bottom:0}}initialize(){let e=e=>this._mouseDown(e),t=t=>{if(!t)return;this._addClassToElement(this.resizableElementClass),Array.from(this._element.children).forEach(e=>e.matches(this.handleClassSelector)&&e.remove());("all"===t?this._resizeHandles:t.split(",")).forEach(t=>{this._initResizeHandle(`ui-resizable-${t}`,e)})};if(t(Gt.unwrap(this._options.handles)),Gt.isSubscribable(this._options.handles)){const i=this._options.handles.subscribe(i=>{this._removeClassFromElement(this.resizableElementClass);this._element.querySelectorAll(this.handleClassSelector).forEach(t=>t.removeEventListener("mousedown",e)),Array.from(this._element.children).forEach(e=>e.matches(this.handleClassSelector)&&e.remove()),t(i)});this._disposables.push(i)}return this._disposables.push({dispose:()=>{t=null;this._element.querySelectorAll(this.handleClass).forEach(t=>t.removeEventListener("mousedown",e)),this._element.removeEventListener("mousedown",e),e=null,this._element=null,this._options=null,this._elementModel=null}}),this}dispose(){super.dispose(),this._element=null}}function kr(e){for(let t=0;t<e.length;t++)if("ui-resizable-handle"!==e[t]&&0===e[t].indexOf("ui-resizable-"))return e[t].slice(13,e[t].length)}$r.inProcess=!1;class Pr extends x{_initScrollContainer(){const e=this._options.containment;e&&e[0].classList.contains("dxrd-ghost-container")&&(this._scrollableContainer=e.find(".dx-scrollable-container")[0])}_initDrag(e){this._startRect={left:e.pageX,top:e.pageY},this._bodyEvents.move=e=>this._canDrag()&&this._mouseMove(e),this._windowEvents.up=e=>this._canDrag()&&this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),window.addEventListener("mouseup",this._windowEvents.up),this._initScrollContainer()}_addClassToElement(e){this._element.classList.add(e)}_calculateElementPosition(e,t){let i=this._originalElementPosition.left-e-(this._scrollableContainer?.scrollLeft||0),s=this._originalElementPosition.top-t-(this._scrollableContainer?.scrollTop||0);const r=this._options.boundary;return r&&(i=i<r.left?r.left:i>r.right?r.right:i,s=s<r.top?r.top:s>r.bottom?r.bottom:s),{left:i,top:s}}_mouseMove(e){if($r.inProcess||!this._startRect)return;if(!(1===e.which)||!this.shouldStartDrag(e))return;this._dragInitialized||(this._dragInitialized=!0,this._options.helper&&(this._ghostContainer=this._options.helper(e,this._element)),this._ghostContainer&&(this._element.ghostContainer=this._ghostContainer[0]),this._originalDragStartCoordinates={left:this._element.dataset.startDragWithOffset?e.pageX:this._startRect.left,top:this._element.dataset.startDragWithOffset?e.pageY:this._startRect.top},this._originalElementPosition={left:this._ghostContainer?fs(this._ghostContainer[0].dataset.startLeftPosition):e.pageX,top:this._ghostContainer?fs(this._ghostContainer[0].dataset.startTopPosition):e.pageY},this._element.dataset.leftPosition=xs(this._originalElementPosition.left),this._element.dataset.topPosition=xs(this._originalElementPosition.top),this._options.start(e,this._element));const t=this._originalDragStartCoordinates.left-e.pageX,i=this._originalDragStartCoordinates.top-e.pageY,s=this._calculateElementPosition(t,i);this._element.dataset.leftPosition=xs(s.left),this._element.dataset.topPosition=xs(s.top),this._ghostContainer&&(this._ghostContainer[0].style.left=this._element.dataset.leftPosition,this._ghostContainer[0].style.top=this._element.dataset.topPosition),this._options.drag(e,this._element)}shouldStartDrag(e){return Math.abs(this._startRect.left-e.pageX)>=this._minDragDistance||Math.abs(this._startRect.top-e.pageY)>=this._minDragDistance}_mouseUp(e){$r.inProcess||(Pr.inProcess=!1,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._windowEvents.up&&window.removeEventListener("mouseup",this._windowEvents.up),this._dragInitialized&&(this._dragInitialized=!1,this._ghostContainer&&this._ghostContainer.remove(),this._ghostContainer=null,this._scrollableContainer=null,this._options.stop(e,this._element)),this._startRect=null)}_mouseDown(e){e.stopPropagation(),$r.inProcess||(Pr.inProcess=!0,this._initDrag(e))}_canDrag(){return(this._options.disabled&&!this._options.disabled())??!0}constructor(e,t){super(),this._element=e,this._options=t,this._bodyEvents={move:null,up:null},this._windowEvents={up:null},this._originalDragStartCoordinates=null,this._originalElementPosition=null,this._dragInitialized=!1,this._scrollableContainer=null,this._draggableElementClass="ui-draggable",this._minDragDistance=1;let i=e=>this._canDrag()&&this._mouseDown(e);this._addClassToElement(this._draggableElementClass),this._element.addEventListener("mousedown",i),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousedown",i),i=null,this._element=null,this._options=null}})}}Pr.inProcess=!1;const Tr=DevExpress.ui.dxPopup;var Dr=e.n(Tr);class Fr extends x{updateSelection(e,t){const i=(s=this.bounds,!((r=e).left>s.right||r.right<s.left||r.top>s.bottom||r.bottom<s.top));var s,r;i!=this.isSelected&&(i?this._options.selecting(t,this._element):this._options.unselecting(t,this._element),this.isSelected=i)}constructor(e,t){super(),this._element=e,this._options=t,this.isSelected=!1,this.bounds=e.getBoundingClientRect(),this._disposables.push({dispose:()=>{this._element=null,this._options=null,this.bounds=null}})}}class Br extends x{_clearElements(){this._elements.forEach(e=>e.dispose()),this._elements=[]}_collectElements(){this._clearElements();const e=document.getElementsByClassName(this._options.filter.substr(1));for(let t=0;t<e.length;t++)this._elements.push(new Fr(e[t],this._options))}_updateSelectionContent(e){this._startRect.left>=e.pageX?(this._$selectionContent.css("left",e.pageX+"px"),this._$selectionContent.css("right",this._startRect.right+"px")):(this._$selectionContent.css("left",this._startRect.left+"px"),this._$selectionContent.css("right",this._$window.width()-e.pageX+"px")),this._startRect.top>=e.pageY?(this._$selectionContent.css("top",e.pageY+"px"),this._$selectionContent.css("bottom",this._startRect.bottom+"px")):(this._$selectionContent.css("top",this._startRect.top+"px"),this._$selectionContent.css("bottom",this._$window.height()-e.pageY+"px"));const t=this._$selectionContent[0].getBoundingClientRect();for(let i=0;i<this._elements.length;i++)this._elements[i].updateSelection(t,e)}_initStartRect(e){this._startRect={left:e.pageX,top:e.pageY,right:this._$window.width()-e.pageX,bottom:this._$window.height()-e.pageY}}_mouseMove(e){setTimeout(()=>{if(ys.started()||Br.disabled||$r.inProcess||!this._startRect)return;1===e.which&&(this._$selectionContent?this._updateSelectionContent(e):this.shouldStartSelect(e)&&(this._options.start(e),Br.inProcess=!0,this._$selectionContent=V("<div />").appendTo(document.body),this._$selectionContent.addClass("dxrd-selection-content ui-selectable-helper"),Dr().prototype._zIndexInitValue&&this._$selectionContent.css("z-index",Dr().prototype._zIndexInitValue()+100),this._updateSelectionContent(e),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)))},1)}shouldStartSelect(e){return Math.abs(this._startRect.left-e.pageX)>=this._minSelectDistance||Math.abs(this._startRect.top-e.pageY)>=this._minSelectDistance}_mouseUp(e){Br.disabled||$r.inProcess||Pr.inProcess||(this._options.stop(),this._$selectionContent&&this._$selectionContent.remove(),this._$selectionContent=null,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._startRect=null,this._clearElements(),Br.inProcess=!1)}_mouseDown(e){Br.disabled||$r.inProcess||Pr.inProcess||(this._initStartRect(e),this._collectElements())}constructor(e,t){super(),this._element=e,this._options=t,this._elements=[],this._bodyEvents={move:null,up:null},this._minSelectDistance=2;let i=e=>this._mouseMove(e),s=e=>this._mouseUp(e),r=e=>this._mouseDown(e);this._element.addEventListener("mousemove",i),this._element.addEventListener("mouseup",s),this._element.addEventListener("mousedown",r),this._$window=V(window),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousemove",i),this._element.removeEventListener("mouseup",s),this._element.removeEventListener("mousedown",r),i=null,s=null,r=null,this._$window=null,this._element=null,this._options=null}})}}function Or(e){return{left:fs(e.dataset.originalLeftPosition),top:fs(e.dataset.originalTopPosition)}}function Mr(e){return{width:fs(e.dataset.originalWidth),height:fs(e.dataset.originalHeight)}}function Nr(e,t,i){return{left:e.left+i.left,top:e.top+i.top,width:t.width+i.width,height:t.height+i.height}}Br.inProcess=!1,Br.disabled=!1,os.bindingHandlers.resizable={init:function(e,t,i,s,r){const a=t(),n=V(e),o=n.closest(".dx-designer"),d="n",l="e",u="s",c="w";let p=null,h=null,m=null;const g=xe(Ir(t()),{stop:function(e){const t=h.map(e=>{const t=os.contextFor(e),i=t.$data,s=t.$root.surface(),r=V(e),a=i.rect();let n=ri(r,0,s);return n={top:-1!==p.indexOf(d)?n.top:a.top,left:-1!==p.indexOf(c)?n.left:a.left,width:-1!==p.indexOf(l)||-1!==p.indexOf(c)?n.width:a.width,height:-1!==p.indexOf(u)||-1!==p.indexOf(d)?n.height:a.height},{el:e,$el:r,control:i,rect:a,newRect:n}}),i=t.filter(({el:e,$el:t,control:i,newRect:s})=>!(i.canSetRect&&!i.canSetRect(s))||(e.dataset.originalLeftPosition&&e.dataset.originalTopPosition&&(t.css("top",e.dataset.originalTopPosition),t.css("left",e.dataset.originalLeftPosition)),e.dataset.originalWidth&&e.dataset.originalHeight&&(t.css("width",e.dataset.originalWidth),t.css("height",e.dataset.originalHeight)),!1));i.forEach(({control:e,newRect:t})=>e.rect({top:t.top,left:t.left})),i.forEach(({control:e,newRect:t})=>e.rect({width:t.width,height:t.height})),i.forEach(({$el:e,rect:t,newRect:i})=>{JSON.stringify(t)===JSON.stringify(i)&&e.css({left:t.left,top:t.top,width:t.width,height:t.height})}),t.forEach(({el:e})=>{e.dataset.originalLeftPosition=void 0,e.dataset.originalTopPosition=void 0,e.dataset.originalWidth=void 0,e.dataset.originalHeight=void 0}),p=null,a.stopped(),a.started=!1,a.snapHelper?.deactivateSnapLines()},start:(e,t)=>{p=kr(e.target.classList),a.started=!0,a.starting(e,t),h=a.selectedNodes||Array.from(document.querySelectorAll(".dxrd-viewport .dxrd-selected")).filter(e=>B(e)),h.forEach(e=>{const t=V(e),i=e.getBoundingClientRect();e.dataset.originalLeftPosition=t.css("left"),e.dataset.originalTopPosition=t.css("top"),e.dataset.originalWidth=xs(i.width),e.dataset.originalHeight=xs(i.height)});const i=n.offset(),r=o.find(".dxrd-ghost-container").offset();m=r?{top:i.top-r.top,left:i.left-r.left}:i,a.snapHelper?.updateSnapLines(s)},resize:(e,t,i)=>{e.stopPropagation();const s=a?.snapHelper?.getSnappingMode(),r=i.width,o=i.height,d=i.left,l=i.top;if(a.forceResize)return void a.forceResize({size:new ps(t.offsetWidth,t.offsetHeight),delta:{dx:d,dy:l,dw:r,dh:o},element:t});if(!(t.dataset.originalLeftPosition&&t.dataset.originalTopPosition&&t.dataset.originalWidth&&t.dataset.originalHeight))return;const u=Mr(t),c=Or(t);let p=i;if(e.altKey||"SnapLines"!==s)a.snapHelper?.deactivateSnapLines();else if(a.snapHelper&&1===h.length){const e=u.width+r,t=u.height+o,s={originalSize:{width:u.width,height:u.height},size:{width:e,height:t}},h=ii(a.snapHelper,m,s,{x:d,y:l,width:r,height:o});a.snapHelper.activateSnapLines(h);const f=Nr(c,u,i),v={left:c.left+h.left-m.left,top:c.top+h.top-m.top,width:h.right-h.left,height:h.bottom-h.top};if(x=f,(g=v).left!==x.left||g.top!==x.top||g.width!==x.width||g.height!==x.height)return n.css({left:v.left+"px",top:v.top+"px",width:v.width+"px",height:v.height+"px"}),p={width:v.width-u.width,height:v.height-u.height},void a?.resizing?.(p)}var g,x;a?.resizing?.(p),h.forEach(function(t){if(t===e.target)return;const s=Nr(Or(t),Mr(t),i);t.style.left=xs(s.left),t.style.top=xs(s.top),t.style.width=xs(s.width),t.style.height=xs(s.height)})}},os.unwrap(a));a.disabled;const x=Sr(e,g,s);Et(e,()=>{x(),e=null})},update:function(e,t,i,s,r){const a=os.unwrap(t().minimumWidth);a&&(e.style.minWidth=xs(a));const n=os.unwrap(t().minimumHeight);n&&(e.style.minHeight=xs(n));const o=e=>Array.from(e.children).filter(function(e){return e.classList.contains("ui-resizable-handle")}),d=os.unwrap(t().maximumWidth);d&&(e.style.maxWidth=xs(d));const l=t().handleClassName;l&&o(e).forEach(e=>e.classList.add(l));const u=!(!os.unwrap(t().disabled)&&!os.unwrap(s.locked));o(e).forEach(e=>e.style.display=u?"none":"block")}},os.bindingHandlers.resizableReportMargins={init:function(e,t){t()}};class Vr{constructor(e){this._options=e,this.dHeight=os.observable(0),this.dWidth=os.observable(0)}renderTemplate(e){const t=document.createElement("div");return t.innerHTML=Xt("dxd-dimension-notations").trim(),e.append(t),t}getFormattedString(e,t,i){const s=gs(e,t(),i());let r="";switch(t()){case"Inches":r=`${s.toFixed(2)}″`;break;case"HundredthsOfAnInch":r=`${(s/100).toFixed(2)}″`;break;case"Millimeters":r=`${s.toFixed(2)} ${_e("mm","PreviewStringId.Margin_Millimeter")}`;break;case"TenthsOfAMillimeter":r=`${(s/10).toFixed(2)} ${_e("mm","PreviewStringId.Margin_Millimeter")}`;break;default:r=`${s.toFixed(2)} ${_e("px","PreviewStringId.Margin_Pixel")}`}return r}start(e){const{zoom:t,measureUnit:i}=this._options.surface(),s=os.dataFor(e)?.getControlModel?.();if(!this._options.enabled()||!s)return void(this.cleanUp=()=>{});this.dHeight(0),this.dWidth(0);const r=fs(e.dataset.originalWidth),a=fs(e.dataset.originalHeight),n=os.computed(()=>this.getFormattedString(r+this.dWidth(),i,t)),o=os.computed(()=>this.getFormattedString(a+this.dHeight(),i,t)),d=this._options.isHorizontalAxisVisible(s),l=this._options.isVerticalAxisVisible(s),u=this._options.isLocatedInsideContainer(s),c={height:o,width:n,isHAxisVisible:d,isVAxisVisible:l,isLocatedInsideContainer:u},p=this.renderTemplate(e);os.applyBindings(c,p),this.cleanUp=()=>{o.dispose(),n.dispose(),os.cleanNode(p),e?.removeChild(p),e=null}}stop(){this.cleanUp&&this.cleanUp(),this.cleanUp=null}updateSize(e){this.dHeight(e.height),this.dWidth(e.width)}}const Lr=DevExpress.ui.dxScrollView;var zr=e.n(Lr);class Hr extends x{dispose(){this._scroll=null,this._container=null,this._updateInterval&&clearTimeout(this._updateInterval),this._updateInterval=null}_startUpdateScrollPosition(){this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=setInterval(()=>this._scroll.scrollTo({top:this._scroll.scrollTop()+this._currentOffsetY,left:this._scroll.scrollLeft()+this._currentOffsetX}),this._updateTime)}_calculateOffset(e,t,i){const s="y"===i?"height":"width";return e[i]>t[i]+t[s]-50?5:e[i]<t[i]+50?-5:0}constructor(e,t=10){super(),this._container=e,this._updateTime=t,this._currentOffsetY=0,this._currentOffsetX=0,this._scroll=null,this._updateInterval=null,this._scroll=zr().getInstance(this._container)}getScrollOffset(){return this._scroll.scrollOffset()}processOffset(e){const t=this._container.getBoundingClientRect();this._currentOffsetY=this._calculateOffset(e,t,"y"),this._currentOffsetX=this._calculateOffset(e,t,"x"),this._currentOffsetX||this._currentOffsetY?this._updateInterval||this._startUpdateScrollPosition():(this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=null)}}const Rr=DevExpress.data.DataSource;var jr=e.n(Rr);const Wr=DevExpress.data.ArrayStore;var Gr=e.n(Wr);const Ur=DevExpress.data.CustomStore;var qr=e.n(Ur);class Kr extends(qr()){static _sortItems(e,t){return e.sort((e,i)=>{let s=Gt.unwrap(e[t]),r=Gt.unwrap(i[t]);if(s&&r){const e=s-r;return isNaN(e)?(s=s.toLowerCase?s.toLowerCase():s,r=r.toLowerCase?r.toLowerCase():r,s<r?-1:s>r?1:0):e}})}static _createOptions(e,t){return e=this._sortItems(e,t),{load:t=>{let i=[].concat(e);return t.take&&(i=i.splice(t.skip,t.take)),Promise.resolve(i)},byKey:t=>{if(e.some(e=>e===t))return t}}}constructor(e,t="name"){super(Kr._createOptions(e,t))}}class Yr extends(Gr()){constructor(e,t="name"){e instanceof Array&&Kr._sortItems(e,t),super(e)}}class Zr extends x{constructor(e){super(),this._filter=os.observable(null);let t=null;this._disposables.push(this.dataSource=os.computed(()=>{t&&t.dispose();const i=this._filter()?e().filter(this._filter()):e();return t=new(jr())({store:new Kr(i),paginate:!0,pageSize:100}),t})),this._disposables.push(this.visible=os.computed(()=>e().length>0))}getFilter(){return this._filter()}setFilter(e){this._filter(e)}resetFilter(){this._filter(null)}}class Jr{constructor(e){this.disabled=os.observable(!1),this.info=e}get type(){return Ts(this.info["@ControlType"])}get imageClassName(){return[Os(this.type),this.disabled()?"dxrd-disabled-button":""].join(" ")}get imageTemplateName(){const e=Os(this.type,!0);return Zt.getExistingTemplate(e)??Zt.getExistingTemplate("dxrd-svg-toolbox-unknown")}get index(){return this.info.index}get displayName(){return this.info.displayName||this.type}}function Xr(e,t=""){const i=[];return Object.keys(e).forEach(s=>{if(!e[s].nonToolboxItem){const r={"@ControlType":s,displayName:e[s].displayName,index:e[s].toolboxIndex||0,canDrop:e[s].canDrop,group:e[s].group||t};e[s].size&&(r.size=e[s].size),e[s].defaultVal&&Object.keys(e[s].defaultVal).forEach(t=>{r[t]=e[s].defaultVal[t]}),i.push(new Jr(r))}}),i.sort((e,t)=>e.index-t.index)}function Qr(e){try{e.blur&&e.blur()}catch(e){document.body.blur()}}const ea=["Name","Version"];function ta(e){const t="\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376-\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06E5-\\u06E6\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4-\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u09DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60-\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E46\\u0E81-\\u0E82\\u0E84\\u0E87-\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA-\\u0EAB\\u0EAD-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5-\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AD\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC";return new RegExp("^["+t+"_]["+t+"_\\d]*$").test(e)}function ia(e){return ea.includes(e)}function sa(e){return!!e&&ta(e)&&!ia(e)}function ra(e){return e.replace(/[\W_]+/g,"_")}const aa={type:"required",get message(){return Rt("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}},na=[aa,{type:"custom",validationCallback:e=>ta(e.value),get message(){return Rt("Name must start with a letter or underscore and contain only letters, numbers, and underscores.","AnalyticsCoreStringId.NameHasInvalidFormat_Error")}},{type:"custom",validationCallback:e=>!ia(e.value),get message(){return Rt("This name is reserved. Enter a different name.","AnalyticsCoreStringId.NameIsReserved_Error")}}];function oa(e){return!e.isModelReady||e.isModelReady()}function da(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}var la;!function(e){e[e.Low=0]="Low",e[e.High=1]="High"}(la||(la={}));class ua{constructor(){this._highQueue=[],this._lowQueue=[]}enqueue(e,t){t?.priority===la.High?this._highQueue.push(e):this._lowQueue.push(e)}dequeue(){return this._highQueue.length>0?this._highQueue.shift():this._lowQueue.length>0?this._lowQueue.shift():void 0}top(){return this._highQueue.length>0?this._highQueue[0]:this._lowQueue.length>0?this._lowQueue[0]:void 0}remove(e){let t=this._lowQueue.indexOf(e);t>-1?this._lowQueue.splice(t,1):(t=this._highQueue.indexOf(e),t>-1&&this._highQueue.splice(t,1))}get length(){return this._highQueue.length+this._lowQueue.length}}class ca{constructor(){this._queue=this.initQueue(),this._queueObj={},this._done=[],this._doneOnce=[]}clear(){this._queue=this.initQueue(),this._queueObj={}}done(e){this._done.push(e)}doneOnce(e){this._doneOnce.push(e)}initQueue(){return new ua}remove(e){delete this._queueObj[e],this._queue.remove(e)}_executeNext(e){e&&this.remove(e),this._queue.length>0?this._queueObj[this._queue.dequeue()]?.():(this.remove(e),this.runCompletions())}execute(e,t){const i=da(),s=new L;return t?.timeOut?(this._queue.enqueue(i,t),this._queueObj[i]=()=>{if(!this._queueObj[i])return this._executeNext(i);setTimeout(()=>{this._queueObj[i]&&s.resolve(e()),this._executeNext(i)},t.timeOut)},1===this._queue.length&&this._queueObj[this._queue.top()]()):s.resolve(e()),{dispose:()=>(this.remove(i),s.reject()),$promise:s.promise()}}runCompletions(){for(let e=0;e<this._done.length;e++)this._done[e]?.();for(;this._doneOnce.length;){const e=this._doneOnce.pop();e?.()}}}const pa=new ca;class ha{constructor(e,t=[]){if(this.pathParts=t,this.path="",this.fullPath=e,e)if(-1!==e.indexOf(".")){const t=e.split(".");this.id=this.ref=t[0],t.splice(0,1),this.path=t.join(".")}else this.id=this.ref=e}}function ma(e){return e.pathParts.length>0?e.pathParts.map(e=>e):e.fullPath.split(".")}const ga=It(!0),xa={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:()=>{},displayText:()=>_e("Edit","AnalyticsCoreStringId.Group_Edit")};function fa(e){const t=this.getViewModel();t.nodeImageClass=this._getNodeImageClassName(),t.hasItems=this.hasItems,t.visible=this._isVisible(),t.imageClassName=this.imageClassName,t.imageTemplateName=this.imageTemplateName,t.name=this.name,t.path=this.path,t.pathParts=this.pathParts,t.text=this.text,t.templateName=this.templateName,t.actionsTemplate=this.actionsTemplate,t.hasContent=this.hasContent,t.collapsed=this.collapsed,t.showIcon=this.showIcon,t.isHovered=this.isHovered,t.isSelected=this.isSelected,t.isMultiSelected=this.isMultiSelected,t.isLoading=this.isLoading,"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName||(t.cssRules=this._getCssRules()),"actions"===e.propertyName&&(t.actions=this.actions),"items"!==e.propertyName&&"maxItemsCount"!==e.propertyName||("added"in e&&!this.visibleItems&&t.items?(e.added?.forEach(e=>t.items.splice(e.index,0,e.item.getViewModel())),e.removed?.forEach(e=>t.items.splice(e.index,1))):t.items=this._getChildViewModels()),"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName&&"collapsed"!==e.propertyName&&"hasItems"!==e.propertyName&&"level"!==e.propertyName&&"data"!==e.propertyName||(t.attr=this._getAttributes()),"data"===e.propertyName&&(t.data=this.data,t.isDraggable=this._isDraggable())}function va(e){return Zs(e).generateProperty("events",{mouseenter:()=>this.isHovered=!0,mouseleave:()=>this.isHovered=!1,dblclick:()=>this.treeListController.dblClickHandler?this.treeListController.dblClickHandler(this):this.toggleCollapsed()}).generateProperty("toggleCollapsed",(e,t)=>{this.toggleCollapsed(),t?.stopPropagation()}).generateProperty("reverseCollapsed",()=>this._reverseCollapsed()).generateProperty("setCollapsedChangedEvent",e=>(this._collapsedChangedEvent=e,()=>this._collapsedChangedEvent=void 0)).generateProperty("toggleSelected",(e,t)=>this.toggleSelected(e,t)).generateProperty("getSelectedItems",()=>this._getSelectedItems()).generateProperty("padding",this._getPadding(this.level)).generateProperty("hasItems",this.hasItems).generateProperty("cssRules",this._getCssRules()).generateProperty("nodeImageClass",this._getNodeImageClassName()).generateProperty("attr",this._getAttributes()).generateProperty("templates",this.templates).generateProperty("isDraggable",this._isDraggable()).generateProperty("dragDropHandler",this.dragDropHandler).generateProperty("parent",this.parentViewModel,!0).generateProperty("items",this._getChildViewModels()).generateProperty("data",this.data).generateProperty("visible",this._isVisible()).generateProperty("collapsed",this.collapsed).generateProperty("searchModel",Zs().generateProperty("searchEnabled",this.treeListController.searchEnabled).generateProperty("textToSearch",this.treeListController.textToSearch).generateProperty("searchOptions",this.treeListController.searchOptions).getViewModel()).generateProperty("name",this.name).generateProperty("path",this.path).generateProperty("pathParts",this.pathParts).generateProperty("text",this.text).generateProperty("templateName",this.templateName).generateProperty("imageClassName",this.imageClassName).generateProperty("imageTemplateName",this.imageTemplateName).generateProperty("actions",this.actions).generateProperty("actionsTemplate",this.actionsTemplate).generateProperty("hasContent",this.hasContent).generateProperty("showIcon",this.showIcon).generateProperty("isHovered",this.isHovered).generateProperty("isSelected",this.isSelected).generateProperty("isMultiSelected",this.isMultiSelected).generateProperty("isLoading",this.isLoading).generateProperty("treeListEditAction",xa).generateProperty("resolver",this.resolver).getViewModel()}function ba(e){return Zs(e).generateProperty("templateName","dx-treelist-item-ellipsis").generateProperty("collapsed",!0).generateProperty("items",[]).generateProperty("padding",this.padding).generateProperty("text",_e("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")).generateProperty("events",{click:()=>this.renderNext()}).getViewModel()}var ya=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};const _a=It(5);class Ca{constructor(){this._itemStore={}}storeItem(e){const t=da();return this._itemStore[t]=e,t}getItem(e){return this._itemStore[e]}removeItem(e){delete this._itemStore[e]}}class wa extends tr{onPropertyChanged(e){}createRootItem(e,t,i,s){return new $a(e,t,i,s)}createItem(e,t,i,s,r){return new Sa(e,t,i,s,r)}}let Aa=wa;function Ea(e){Aa=e}class Ia extends ar{constructor(e,t,i,s){super(),this.setMaxItemsCount=e,this.getMaxItemsCount=t,this.padding=i,this.pageSize=s}createViewModel(){return ba.call(this,super.createViewModel())}renderNext(){this.setMaxItemsCount(this.getMaxItemsCount()+this.pageSize)}}class Sa extends ar{_equal(e,t){const i=["innerActions","noDragable","dragData"];return t===e||Object.keys(t).filter(e=>-1===i.indexOf(e)).every(i=>t[i]===e[i])}_getImageClassName(){return"dx-image-fieldlist-"+this._getIconName()+(this._showIcon?"":" dx-treelist-image-empty")}_getImageTemplateName(){const e="dxrd-svg-fieldlist-"+this._getIconName();return Zt.getExistingTemplate(e)}_getNodeImageClassName(){let e="dx-collapsing-image";return this.hasItems?(this.collapsed||(e+=" dx-image-expanded"),e):"dx-image-leaf-node"}_hasItems(){if(!this.data)return!0;const e=this._treeListController.hasItems(this.data);return null!=this._loadChildItemsForCollapsedNodes?this.isLoaded?e&&this.visibleItemsCount>0:e:ga()?e&&this.visibleItemsCount>0:e}_getAttributes(){return{"aria-expanded":this.hasItems&&(this.collapsed?"false":"true"),"aria-selected":this.isSelected||this.isMultiSelected?"true":"false","aria-level":this.level+1,"aria-label":this.text,"aria-setsize":this.parent?this.parent.items.length:0,"aria-posinset":this.parent?this.parent.items.indexOf(this)+1:0,id:this.id}}_getCssRules(){let e={"dx-treelist-item-selected dxd-state-selected dxrd-fieldslist-context-menu-container":this.isSelected||this.isMultiSelected};return this.data?.cssRule&&(e={...e,...this.data.cssRule}),e}_isDraggable(){return this.data&&this.data.dragData?!this.data.dragData.noDragable:!!this._treeListController.isDraggable&&this._treeListController.isDraggable(this)}_isVisible(){return!this.isFiltred&&this.visible}_createItemsObj(e){const t={};for(let i=0;i<e.length;i++)t[e[i].name]={item:e[i],index:i};return t}_loadItems(e,t=!1){const i=new L;this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._disposables.reverse().forEach(e=>e.dispose&&e.dispose()),this._disposables.splice(0);const s=s=>{s?(s.fail(()=>{this.isLoading=!1,i.reject()}),s.done(s=>{if(this.isDisposing)return this.isLoading=!1,void i.reject();this.isLoaded=!0,this.isLoading=!1;const r=s||[],a=this.items;let n=this._createItemsObj(r),o=!1,d=0;const l=[].concat.apply([],a);for(let e=0;e<l.length;e++)n[l[e].data.name]||(l[e].dispose(),a.splice(e-d,1),d++,o=!0);this.visibleItemsCount=this.visibleItemsCount-d;let u=this._createItemsObj(a);const c=!this._treeListController.showIconsForChildItems||this._treeListController.showIconsForChildItems(this),p=this._treeListController.showIconsForChildItems&&this._treeListController.showIconsForChildItems(this);let h=this.visibleItemsCount;r.forEach((t,i)=>{const s=u[t.name];if(s)this._equal(t,s.item.data)?s.item._updateVisualProperties():s.item.data=t;else{o=!0;const s=this._factory.createItem(e,this.pathParts,this._onItemsVisibilityChanged,this._rtl,this.resolver);s._showIcon=c,s.data=t,s.level=this.level+1,s.parent=this,s.parentViewModel=this.getViewModel(),s.visible&&(h+=1),s.imageTemplateName=s._getImageTemplateName(),s.imageClassName=s._getImageClassName(),s.showIcon=p,a.splice(i,0,s),u[t.name]={item:s,index:i},this._walkCallback&&this._walkCallback(s)}}),this.visibleItemsCount=h,this._walkCallback=null;let m=!1;if(r.forEach((e,t)=>{const i=u[e.name].item;a[t]!==i&&(a[t]=i,m=!0)}),m&&(this.itemsCollectionHasMutated(),o=!0),n=null,u=null,o&&this._onItemsChanged(),!this.collapsed||t){let i=e=>e._treeListController.hasItems(e.data);void 0!==this._loadChildItemsForCollapsedNodes&&(i=e=>(!e.collapsed||t)&&e._treeListController.hasItems(e.data)),this.items.forEach(t=>{i(t)&&t._loadItems(e)})}i.resolve(this.items);const g=e.getSelectedPath?e.getSelectedPath():Gt.isSubscribable(e.selectedPath)&&e.selectedPath.peek();if(g){const e=this.items.filter(e=>0===g.indexOf(e.path))[0];e&&this._selectItem(e.name+g.substring(e.path.length))}})):this.isLoading=!1},r=()=>new ha(this.path,this.pathParts);if(this.isLoading=!0,this.itemsProvider.subscribeOnItemsChanged)this._itemsSubscriptionDispose=this.itemsProvider.subscribeOnItemsChanged(this,s);else{s(this.itemsProvider.getItems(r()))}return i.promise()}_onItemsChanged(){this._onItemsChangedCallback&&this._onItemsChangedCallback(this.items)}_getTemplateName(){return this._templateName||this.data&&this.data.templateName||"dx-treelist-item"}_selectItem(e){if(!this.hasItems)return;const t=()=>{this._find(e),this.collapsed&&this.toggleCollapsed()};0===this.items.length?this.getItems().done(e=>{t()}):t()}_find(e){const t=e&&this.items.filter(t=>e===t.name||0===e.indexOf(t.name)&&"."===e[t.name.length])[0];t&&(e.length>t.name.length?t._selectItem(e.substr(t.name.length+1)):(this._treeListController.select(t),t.isSelected&&this._onItemSelectedByPath?.(t)))}_getItemsWithLock(){const e=new L;return this._nodeIsLocked?e.reject().promise():(this._nodeIsLocked=!0,this.getItems().done(t=>{this._nodeIsLocked=!1,e.resolve(t)}).fail(()=>{this._nodeIsLocked=!1,e.reject()}),e.promise())}_getPadding(e){const t=20*e+12,i={};return i["padding-"+(this._rtl?"right":"left")]=t,i}_getLoadChildItemsForCollapsedNodes(){return void 0!==this._loadChildItemsForCollapsedNodes?this._loadChildItemsForCollapsedNodes:ga()}_getSelectedItems(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]}_getVisibleItems(){if(-1===this._pageSize)return;if(0===this.items.length)return[];let e=this.items.filter(e=>e.visible);return e.length>this.maxItemsCount&&(e=e.slice(0,this.maxItemsCount),e.push(new Ia(e=>this.maxItemsCount=e,()=>this.maxItemsCount,this._getPadding(e[0].level),this._pageSize))),e}_updataParentItemsVisibilityCount(e){this.parent&&(e?this.parent.visibleItemsCount+=1:this.parent.visibleItemsCount=Math.max(this.parent.visibleItemsCount-1,0))}_updateVisualProperties(){this._dataSubscriptionsDispose.forEach(e=>e&&e()),this._dataSubscriptionsDispose=[this._subscribeOnDataProperty(this,"name",()=>this._updatePath()),this._subscribeOnDataProperty(this,"displayName",()=>this.text=Gt.unwrap(this.data?.displayName)),this._subscribeOnDataProperty(this,"specifics",()=>{this.imageClassName=this._getImageClassName(),this.imageTemplateName=this._getImageTemplateName()})].filter(e=>!!e),this.templateName=this._getTemplateName(),this.actionsTemplate=this.data?.actionsTemplate||"dx-treelist-item-actions-with-edit",this.hasContent=!!this.data?.contenttemplate}_updatePath(){this.pathParts=this.name?(this._path||[]).concat([this.name]):this._path,this.path=this.pathParts.join(".")}_getChildViewModels(){const e=this.visibleItems||this.items;return e?.map(e=>e.getViewModel())}_reverseCollapsed(){this.collapsed=!this.collapsed}constructor(e,t=[],i=()=>{},s=!1,r=new ca){if(super(),this.resolver=r,this._rtl=!1,this._pageSize=-1,this._walkCallback=null,this._dataSubscriptionsDispose=[],this._subscriptions=[],this._collapsedChangedEvent=null,this._getIconName=()=>(Gt.unwrap(this.data&&this.data.icon||this.data&&this.data.specifics)||"default").split(".").join("_").toLowerCase(),this._nodeIsLocked=!1,this.templates={accordionItem:"dx-treelist-accordion-item",headerItem:"dx-treelist-header-item",headerItemContent:"dx-treelist-header-item-caption-content",itemTextContent:"dx-treelist-item-text-content",actionsContainer:"dx-treelist-item-actions-container"},this.itemsProvider=e.itemsProvider,this.maxItemsCount=e.pageSize||-1,this._pageSize=this.maxItemsCount,this.store=e.store,this.id=this.store?.storeItem(this),Gt.isSubscribable(t)){const e=t.subscribe(e=>{this._path=e,this._updatePath()});this._pathSubscriptionDispose=()=>{e.dispose(),Gt.isComputed(t)&&t.dispose()}}this._path=Gt.unwrap(t),this._updatePath(),this._rtl=s,"loadChildItemsForCollapsedNodes"in e&&(this._loadChildItemsForCollapsedNodes=e.loadChildItemsForCollapsedNodes),this._factory=e.factory||new Aa,this._treeListController=e.treeListController,this._templateName=e.templateName,this._onItemsVisibilityChanged=i,this.dragDropHandler=e.treeListController.dragDropHandler,this._onItemsChangedCallback=e.onItemsChanged,this._onItemSelectedByPath=e.onItemSelectedByPath,this.getItems=()=>this.items.length>0?(new L).resolve(this.items).promise():this._loadItems(e),this._setSelectedPath=t=>{e.setSelectedPath?e.setSelectedPath(t):Gt.isSubscribable(e.selectedPath)&&e.selectedPath(t)},this._subscribeOnDataProperty=e.subscribeOnDataPropertyChanged||((e,t,i)=>(i(),()=>{})),this.toggleCollapsed=(t=void 0)=>{this.hasItems&&(void 0===t?this._reverseCollapsed():this.collapsed=!t,this.collapsed||0!==this.items.length?this._getLoadChildItemsForCollapsedNodes()&&(this.items.forEach(t=>{t._treeListController.hasItems(t.data)&&0===t.items.length&&t._loadItems(e)}),i()):this._loadItems(e,this._getLoadChildItemsForCollapsedNodes()).always(()=>{i()}))},this.toggleSelected=(e,t)=>{t&&(t.shiftKey||t.ctrlKey||t.metaKey)&&this._getSelectedItems().length>0&&this.treeListController.canMultiSelect&&this.treeListController.canMultiSelect(this)?(this._setSelectedPath(""),this.treeListController.multiSelect(this,t.shiftKey,t.ctrlKey||t.metaKey)):this.treeListController.canSelect(this)&&(this.treeListController.clickHandler&&this.treeListController.clickHandler(this),this._setSelectedPath(this.path))},this._updateVisualProperties()}itemsCollectionHasMutated(){dt(this,{propertyName:"items"})}onPropertyChanged(e){"visibleItemsCount"!==e.propertyName&&"isLoaded"!==e.propertyName&&"data"!==e.propertyName||(this.hasItems=this._hasItems()),"visibleItemsCount"!==e.propertyName&&"data"!==e.propertyName||(this._updateVisualProperties(),this.treeListController?.subscribeOnActionsChanged?(this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._actionsSubscriptionDispose=this.treeListController.subscribeOnActionsChanged(this,e=>this.actions=e)):this.actions=this.treeListController?.getActions?this.treeListController.getActions(this):[]),"visible"!==e.propertyName&&"data"!==e.propertyName||(this.visible&&this.parent&&!this.parent.visible&&(this.parent.visible=!0),this._filtrationSubscriptionDispose&&this._filtrationSubscriptionDispose(),this.treeListController.subscribeOnVisibleChanged?this._filtrationSubscriptionDispose=this.treeListController.subscribeOnVisibleChanged(this,e=>this.isFiltred=e):this.isFiltred=this.data&&this.treeListController?.itemsFilter&&!this.treeListController.itemsFilter(this.data,this.path,this),this._updataParentItemsVisibilityCount(this._isVisible())),"maxItemsCount"!==e.propertyName&&"items"!==e.propertyName||(this.visibleItems=this._getVisibleItems()),"collapsed"===e.propertyName&&this._collapsedChangedEvent&&this._collapsedChangedEvent(this.collapsed)}updateViewModel(e){fa.call(this,e)}createViewModel(){return va.call(this,super.createViewModel())}get name(){return Gt.unwrap(this.data?.name)}get treeListController(){return this._treeListController}dispose(){super.dispose(),this.isLoading=!1,this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._pathSubscriptionDispose&&this._pathSubscriptionDispose(),this.disposeArray(this.items),this.disposeArray(this.visibleItems),this.visibleItemsCount=0,this.parent=null,this._subscriptions.forEach(e=>e.dispose()),this._dataSubscriptionsDispose.forEach(e=>e&&e()),this._walkCallback=null,this.store?.removeItem(this.id)}}ya([ir("")],Sa.prototype,"imageTemplateName",void 0),ya([sr(()=>[])],Sa.prototype,"items",void 0),ya([sr(()=>[])],Sa.prototype,"actions",void 0),ya([ir(-1)],Sa.prototype,"maxItemsCount",void 0),ya([ir(0)],Sa.prototype,"visibleItemsCount",void 0),ya([ir(!0)],Sa.prototype,"collapsed",void 0),ya([ir(!1)],Sa.prototype,"isLoaded",void 0),ya([ir(!1)],Sa.prototype,"isLoading",void 0),ya([ir(!0)],Sa.prototype,"hasItems",void 0),ya([ir(!1)],Sa.prototype,"isSelected",void 0),ya([ir(!1)],Sa.prototype,"isMultiSelected",void 0),ya([ir(!1)],Sa.prototype,"isHovered",void 0),ya([ir(null)],Sa.prototype,"data",void 0),ya([ir(!0)],Sa.prototype,"visible",void 0),ya([ir(!1)],Sa.prototype,"isFiltred",void 0),ya([ir("")],Sa.prototype,"path",void 0),ya([ir(-1)],Sa.prototype,"level",void 0),ya([ir("")],Sa.prototype,"text",void 0);class $a extends Sa{dispose(){super.dispose(),this._resolver.clear(),this._selectedPathSubscription&&(this._selectedPathSubscription.dispose(),this._selectedPathSubscription=null)}walkOnTree(e){return this._resolver.clear(),this._visitNextNode(this,e),-1!=this._pageSize&&this._resolver.doneOnce(()=>this.itemsCollectionHasMutated()),{stop:()=>this._resolver.clear()}}_visitNextNode(e,t=e=>{}){if(e.data&&!e.data.specifics)throw new Error("Specific should be set");if(e.level>=_a())return;let i=null;e.items.length>0?i=()=>e.items.forEach(e=>{t(e),this._visitNextNode(e,t)}):e.data&&!e.treeListController.hasItems(e.data)||(e.treeListController.searchOptions?.autoLoadItems?i=()=>e._getItemsWithLock().done(e=>{e.forEach(e=>{t(e),this._visitNextNode(e,t)})}):e._walkCallback=e=>{t(e),this._visitNextNode(e,t)}),i&&this._resolver.execute(i,{timeOut:1})}constructor(e,t=[],i=()=>{},s=!1){super(e,t,i,s),this._options=e,this._resolver=new ca,this._selectedPathSubscription=null,this.resolver.done(()=>{i()});const r=e=>{this._selectItem(this.path?e.substr(this.path.length+1):e)};Gt.isSubscribable(e.selectedPath)?this._selectedPathSubscription=e.selectedPath.subscribe(e=>r(e)):e.setSelectedPathChangedEvent&&(this._selectedPathSubscription={dispose:e.setSelectedPathChangedEvent(e=>r(e))}),this._selectItem(this.path?this.path+"."+Gt.unwrap(e.selectedPath):Gt.unwrap(e.selectedPath))}_onItemsChanged(){this._options.expandRootItems&&this.items.forEach(e=>{e.collapsed=!1}),super._onItemsChanged()}}function ka(e,t){const i=os.observable(),s=i.subscribe(t=>e(t)),r=os.computed(()=>{const e=t();i(e)});return()=>{r.dispose(),s.dispose()}}function Pa(e){e.treeListController?.itemsFilter&&!e.treeListController.subscribeOnVisibleChanged&&(e.treeListController.subscribeOnVisibleChanged=(e,t)=>ka(t,()=>e.data&&!e.treeListController.itemsFilter(e.data,e.path,e))),e.treeListController?.getActions&&!e.treeListController.subscribeOnActionsChanged&&(e.treeListController.subscribeOnActionsChanged=(e,t)=>ka(t,()=>e.treeListController.getActions(e))),e.subscribeOnDataPropertyChanged||(e.subscribeOnDataPropertyChanged=(e,t,i)=>ka(i,()=>os.unwrap(e.data&&e.data[t])));const t=e.itemsProvider;return Gt.isSubscribable(t)||!t?.getItems||t.subscribeOnItemsChanged||(t.subscribeOnItemsChanged=(e,i)=>ka(i,()=>t.getItems(new ha(e.path,e.pathParts)))),e}class Ta extends Aa{createRootItem(e,t,i,s){const r=os.computed(()=>{const e=os.unwrap(t);return Array.isArray(e)?e:e?e.split("."):[]});return super.createRootItem(Pa(e),r,i,s)}createItem(e,t,i,s,r){return super.createItem(Pa(e),t,i,s,r)}}class Da extends mt{constructor(e){super(e),this.engineType="multiplatform"}wrapPropertyArrayValue(e){return os.observableArray(e)}wrapPropertyValue(e){return os.observable(e)}unwrapPropertyValue(e){return os.unwrap(e)}setLinkProperty(e,t,i){return e[t](i),e[t]()}getLinkProperty(e,t){return e[t]()}generateProperty(e,t,i){e[t]=i}generateArrayProperty(e,t,i){const s=os.observable(void 0);Object.defineProperty(e,t,{get:()=>s(),set:e=>{s(e)},enumerable:!0,configurable:!0})}}const Fa=e=>os.dataFor(e),Ba=()=>{Ys.customValueStorageFactory=e=>{const t=os.observable(e);return{getValue:()=>t(),setValue:e=>t(e),explicitNotifySubscribers:()=>t.valueHasMutated()}}};class Oa extends xt{_notifyModel(e,t){const i={propertyName:t,newValue:e[t]()};e.onPropertyChanged&&e.onPropertyChanged(i),nt(e,i),e.events&&e.events.call("propertyChanged",i)}addDisposeCallback(e,t){os.utils.domNodeDisposal.addDisposeCallback(e,t)}removeDisposeCallback(e,t){os.utils.domNodeDisposal.removeDisposeCallback(e,t)}peek(e){return e.peek()}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,s){os.isObservable(e[t])?e[t](i):e[t]=i}generateProperty(e,t,i,s){e[t]=os.observable(i).extend(s),e.addDisposable(e[t].subscribe(i=>{this._notifyModel(e,t)}))}generateArrayProperty(e,t,i,s){e[t]=os.observableArray(i).extend(s),e.addDisposable(e[t].subscribe(i=>{this._notifyModel(e,t)}))}createComputedProperty(e,t,i,s,r,a=!1){const n="function"==typeof i?()=>i():{read:()=>i.read(),write:e=>i.write(e)};return e[t]=(a?os.pureComputed:os.computed)(n).extend(r),()=>e[t].dispose()}subscribeOnPropertyChanged(e,t,i){if(os.isSubscribable(e[t])){const s=e[t].subscribe(e=>i(e));return()=>s.dispose()}return()=>{}}subscribeValue(e,t){if(os.isSubscribable(e)){const i=e.subscribe(e=>t(e));return()=>i.dispose()}return()=>{}}unwrap(e){return os.unwrap(e)}wrap(e){return os.observable(e)}applyBindings(e,t){os.applyBindings(e,t)}cleanNode(e){os.cleanNode(e)}}function Ma(){Ba(),bs(Fa),Ea(Ta),_t(new Oa),Ct(e=>new Da(e))}class Na{static getInfo(e){const t=e.map(e=>e.getInfo());return()=>{const e=[];for(let i=0;i<t[0].length;i++)t.filter(e=>e.filter(e=>e.propertyName===t[0][i].propertyName).length>0).length===t.length&&e.push(t[0][i]);return e}}static isPropertyDisabled(e){return t=>{for(let i=0;i<e.length;i++)if(e[i].isPropertyDisabled(t))return!0;return!1}}static getPath(e){return t=>{let i="";for(let s=0;s<e.length;s++){const r=e[s].getPath(t);if(0===s)i=r;else if(i!==r){i="";break}}return i}}static isPropertyVisible(e){return t=>{for(let i=0;i<e.length;i++)if(!e[i].isPropertyVisible(t))return!1;return!0}}static mergeProperty(e,t,i,s){const r=e[0][t];let a=null;if(e.filter(e=>!!e[t]).length===e.length&&(a=s&&s(t,e,i),!a))if(os.isObservable(r)&&!r.push){if(!e.every(e=>os.isObservable(e[t])))return a;const s=os.observable(e.every(i=>e[0][t].peek()===i[t].peek())?e[0][t].peek():null);a={result:s,subscriptions:[s.subscribe(s=>{i&&i().start(),e.forEach(e=>{e[t](s)}),i&&i().end()})]}}else"object"!=typeof r||Array.isArray(r)||(a=this._merge(e.map(e=>e[t]),i,s));return a}static _createProperty(e,t,i){if(i){if("object"==typeof i&&me(i))return;e[t]=i}}static _merge(e,t,i,s){const r={};let a=[];if(["getInfo","isPropertyVisible","isPropertyDisabled","getPath"].forEach(t=>{e[0][t]&&this._createProperty(r,t,this[t](e))}),s){const e=r.isPropertyDisabled;r.isPropertyDisabled=t=>e&&e(t)||-1!==s.indexOf(t)}return r&&r.getInfo?r.getInfo().map(e=>e.propertyName).forEach(s=>{const n=this.mergeProperty(e,s,t,i);n&&(a=[].concat.apply(a,n.subscriptions),this._createProperty(r,s,n.result))}):Object.keys(e[0]).forEach(s=>{const n=this.mergeProperty(e,s,t,i);n&&(a=[].concat.apply(a,n.subscriptions),this._createProperty(r,s,n.result))}),{result:r,subscriptions:a}}static mergeControls(e,t,i,s){const r=this._merge(e,t,i,s);return{result:xe(r.result,{controlType:"multiselect",displayName:os.observable("")}),subscriptions:r.subscriptions}}static getEditableObject(e,t,i){const s=os.observable(null);let r=[];const a=e.focused.subscribe(e=>{s(e&&e.getControlModel())});return e._disposables&&(e._disposables.push(a),e._disposables.push({dispose:()=>{r.forEach(e=>e.dispose()),r.splice(0)}})),os.pureComputed({read:()=>{if(r.forEach(e=>e.dispose()),r=[],e.selectedItems.length>1){const s=this.mergeControls(e.selectedItems.map(e=>e.getControlModel()),t,i,e.ignoreMultiSelectProperties);return r=s.subscriptions,s.result}return s()},write:t=>{t&&t.surface?e.focused(t.surface):(e.updateSelection(null),s(t))}}).extend({deferred:!0})}}const Va=".dx-designer";class La extends x{dispose(){this.reset(),super.dispose()}_removeFromSelection(e){e.focused(!1),e.selected(!1),-1!==this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.splice(this._selectedControlsInner.indexOf(e),1)}_setFocused(e){this._focused()&&this._removeFromSelection(this._focused()),this._focused(e),e&&(e.focused(!0),-1===this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.push(e),e.selected(!0))}resetTabPanelFocus(){const e=document.activeElement;if(!(e&&0===V(e).closest(".dxrd-surface").length))return;const t=e.closest?.(Va);t?t!==e&&(t.hasAttribute("tabindex")||(t.tabIndex=-1),t.focus({preventScroll:!0})):e.querySelector?.(Va)||Qr(e)}constructor(e=["name"]){super(),this.ignoreMultiSelectProperties=e,this._focused=os.observable(null),this._selectedControls=os.observableArray(),this._selectedControlsInner=[],this.focused=os.pureComputed({read:()=>this._focused(),write:e=>{e!==this._focused()&&(e&&(this._firstSelected=e),this.updateSelection(this._firstSelected))}}),this.dropTarget=null,this.expectClick=!1,this.disabled=os.observable(!1),this._disposables.push(this.focused)}get selectedItems(){return this._selectedControls()}clear(){this.focused(null),this._selectedControls([])}reset(){this._focused(null),this._selectedControlsInner.splice(0),this._firstSelected=null,this._selectedControls([])}applySelection(){this._selectedControls(this._selectedControlsInner)}selectItems(e){this._selectedControlsInner=e,this._selectedControlsInner.forEach(e=>{e.focused()||e.selected(!0)}),this.applySelection()}updateSelection(e){this._selectedControlsInner.forEach(e=>{e.focused(!1),e.selected(!1)}),this._selectedControlsInner=[],this._setFocused(e),this.applySelection()}swapFocusedItem(e){this._focused()!==e&&(this._focused().focused(!1),this._focused(e),this._focused().focused(!0))}initialize(e){e=e||this.dropTarget,this._firstSelected=e&&e.focused?e:null,this.updateSelection(this._firstSelected)}clickHandler(e,t={ctrlKey:!1,metaKey:!1}){this.expectClick?this.expectClick=!1:(e=e||this.dropTarget,t.ctrlKey||t.metaKey?(this.selectionWithCtrl(e),this.applySelection()):this._selectedControlsInner.length>1&&-1!==this._selectedControlsInner.indexOf(e)?this.swapFocusedItem(e):this._focused()!==e&&this.initialize(e),this.resetTabPanelFocus())}selecting(e){this._focused()?(e.cancel=!e.control.checkParent(this._firstSelected),e.cancel||(this._firstSelected&&this._firstSelected.focused()?this._setFocused(e.control):-1===this._selectedControlsInner.indexOf(e.control)&&(e.control.selected(!0),this._selectedControlsInner.push(e.control)))):this._setFocused(e.control)}unselecting(e){this._focused()===e?(this._setFocused(null),0===this._selectedControlsInner.length?this._setFocused(this._firstSelected):this._setFocused(this._selectedControlsInner[0])):this._removeFromSelection(e)}selectionWithCtrl(e){if(e&&e.allowMultiselect){const t=this._selectedControlsInner;0===t.length||1===t.length&&!t[0].allowMultiselect?this.initialize(e):-1===this._selectedControlsInner.indexOf(e)?(e.selected(!0),this._selectedControlsInner.push(e)):this._selectedControlsInner.length>1&&this.unselecting(e)}}}function za(e,t,i=[],s=["surface"]){if(e&&void 0!==e){const r=[];Object.keys(e).forEach(t=>{if(0!==t.indexOf("_")&&-1===s.indexOf(t)){let s=t;os.isComputed(e[t])&&os.isWritableObservable(e["_"+t])&&(s="_"+s),-1!==i.indexOf(e[s])||os.isComputed(e[s])||r.push(e[s])}}),t(r),i.push.apply(i,r),r.forEach(e=>{"object"==typeof(e=os.unwrap(e))&&za(e,t,i,s)})}}class Ha{static Empty(){return new Ha(null,null)}constructor(e,t){this.changes=e,this.position=t}equal(e){return this.changes===e.changes&&this.position===e.position}}const Ra=[];class ja extends x{static tryGetUndoEngine(e){let t=null;return Ra.some(i=>(t=e[i]&&e[i].instance,!!t)),t}get _modelReady(){return oa(this._model)}_disposeObserver(e){if(e.propertyChanged){const t=e.propertyChanged.val;t&&!t[this._currentEngineName]&&t.dispose&&t.dispose()}else e.arrayChanges&&e.arrayChanges.forEach(e=>{if("added"===e.status){const t=e.value;t&&!t[this._currentEngineName]&&t.dispose&&t.dispose()}})}_disposeRemovedRecord(e){e.arrayChanges&&e.arrayChanges.forEach(e=>{"deleted"===e.status&&e.value?.dispose&&e.value?.dispose()})}_disposeObservers(e,t){const i=(t?this._disposeRemovedRecord:this._disposeObserver).bind(this);e.forEach(e=>{Array.isArray(e)?e.reverse().forEach(e=>i(e)):i(e)})}properyChanged(e){if(this._inUndoRedo)return;const t=this._position()+1;if(t<this._observers.length){const e=this._observers.splice(t,this._observers.length);this._disposeObservers(e,!1)}this._observers.push(e),this._position(t),this.undoEnabled(!0),this.redoEnabled(!1)}visitProperties(e,t){const i=[];if(e&&t)for(let s=0;s<t.length;s++){const r=this._alwaysSubscribeProperties.some(e=>e===t[s].propertyName);if(t[s].modelName||t[s].editor||t[s].info||r){const a=r?t[s].propertyName:this.validatePropertyName(e,t[s].propertyName);a&&(os.isComputed(e[a])||(os.isObservable(e[a])?i.push(this.subscribeProperty(e[a],!t[s].link)):i.push.apply([],this._createDisposeFunction(e[a],t[s].info))))}}return i}_triggerOnAdd(e){e?.forEach(e=>e?.onAdd?.())}_triggerOnDelete(e){e?.forEach(e=>e?.onDelete?.())}undoChangeSet(e){if(e.propertyChanged)e.observable(e.propertyChanged.oldVal);else{const t=e.observable();for(let i=0;i<e.arrayChanges.length;i++)if("added"===e.arrayChanges[i].status){const s=t.indexOf(e.arrayChanges[i].value);-1!=s&&this._triggerOnDelete(t.splice(s,1))}for(let i=0;i<e.arrayChanges.length;i++)"deleted"===e.arrayChanges[i].status&&(t.splice(e.arrayChanges[i].index,0,e.arrayChanges[i].value),this._triggerOnAdd([e.arrayChanges[i].value]));os.isObservable(e.observable)&&e.observable.valueHasMutated()}}redoChangeSet(e){if(e.propertyChanged)e.observable(e.propertyChanged.val);else{const t=e.observable();for(let i=0;i<e.arrayChanges.length;i++)if("deleted"===e.arrayChanges[i].status){const s=t.indexOf(e.arrayChanges[i].value);if(-1===s)continue;this._triggerOnDelete(t.splice(s,1))}for(let i=0;i<e.arrayChanges.length;i++)"added"===e.arrayChanges[i].status&&(t.splice(e.arrayChanges[i].index,0,e.arrayChanges[i].value),this._triggerOnAdd([e.arrayChanges[i].value]));os.isObservable(e.observable)&&e.observable.valueHasMutated()}}_disposeChilds(e,t){if(e&&t)for(let i=0;i<t.length;i++)if(t[i].modelName||t[i].editor||t[i].info){const s=t[i].propertyName;if(0!==s.indexOf("_")){let r=s;if(os.isWritableObservable(e["_"+s])&&(r="_"+r),!os.isComputed(e[r])){const s=os.unwrap(e[r]);s&&"object"==typeof s&&(t[i].link||this._callDisposeFunction(s))}}}}_createDisposeFunction(e,t){let i=[];if(e&&"object"==typeof e){const s=t||e[this._getInfoMethodName]&&e[this._getInfoMethodName]();s&&(e[this._currentEngineName]?e[this._currentEngineName].inc++:(e[this._currentEngineName]={inc:1,instance:this},i=this.subscribe(e,s),e[this._currentEngineName].func=()=>{e[this._currentEngineName].inc--,this._disposeChilds(e,s),0===e[this._currentEngineName].inc&&(this._cleanSubscribtions(i),delete e[this._currentEngineName])}))}return i}_callDisposeFunction(e){if(e)if(Array.isArray(e))for(let t=0;t<e.length;t++)e[t][this._currentEngineName]&&e[t][this._currentEngineName].func();else e[this._currentEngineName]&&e[this._currentEngineName].func()}_cleanSubscribtions(e){if(e)if(e.length)for(let t=0;t<e.length;t++)this._cleanSubscribtions(e[t]);else e.dispose&&e.dispose()}validatePropertyName(e,t){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every(e=>e!==t))&&"_"!==t[0]?os.isWritableObservable(e["_"+t])?"_"+t:t:null}subscribeProperty(e,t){if(os.isObservable(e)){let i=e();if(Array.isArray(i)){for(let t=0;t<e().length;t++)this._createDisposeFunction(e()[t]);return e.subscribe(t=>{if(this._modelReady){const i=t.filter(e=>"added"===e.status),s=t.filter(e=>"deleted"===e.status);for(let e=0;e<s.length;e++)this._callDisposeFunction(s[e].value);for(let e=0;e<i.length;e++)this._createDisposeFunction(i[e].value);this.properyChanged({observable:e,arrayChanges:t})}},null,"arrayChange")}if(os.isWritableObservable(e))return t&&this._createDisposeFunction(e()),e.subscribe(s=>{this._modelReady&&(t&&this._callDisposeFunction(i),this.properyChanged({observable:e,propertyChanged:{oldVal:i,val:s}}),i=s,t&&this._createDisposeFunction(s))})}}subscribeProperties(e){e.forEach(e=>{if(os.isObservable(e)){let t=e();e.push?this._subscriptions.push(e.subscribe(t=>{this._modelReady&&(this._inUndoRedo||(this.properyChanged({observable:e,arrayChanges:t}),this.subscribe(t.map(e=>e.value))))},null,"arrayChange")):os.isWritableObservable(e)&&this._subscriptions.push(e.subscribe(i=>{this._modelReady&&(this.properyChanged({observable:e,propertyChanged:{oldVal:t,val:i}}),t=e())}))}})}subscribe(e,t){if(this._getInfoMethodName)return this.visitProperties(e,t||e&&e[this._getInfoMethodName]&&e[this._getInfoMethodName]());za(e,e=>{this.subscribeProperties(e)},this._visited,this._ignoredProperties)}getCurrentChangeSet(){return new Ha(this._observers[this._position()],this._position())}_removePropertiesSubscriptions(){this._subscriptions.forEach(e=>e.dispose()),this._subscriptions=[],this._visited=[]}constructor(e,t=["surface"],i,s=[]){if(super(),this._ignoredProperties=t,this._getInfoMethodName=i,this._alwaysSubscribeProperties=s,this._groupObservers=[],this._groupPosition=-1,this._observers=[],this._subscriptions=[],this._visited=[],this._position=os.observable(-1),this._lockedPosition=os.observable(-1),this._inUndoRedo=!1,this._currentEngineName=ja._disposeUndoEngineSubscriptionsName+da(),this.redoEnabled=os.observable(!1),this.undoEnabled=os.observable(!1),this.isIngroup=-1,this.isDirty=os.computed({read:()=>this._position()!==this._lockedPosition(),write:e=>{e?this._lockedPosition("forcibly marked as dirty"):this._lockedPosition(this._position())}}),Ra.push(this._currentEngineName),this._model=os.unwrap(e),this._getInfoMethodName)os.isSubscribable(e)?this._targetSubscription=this.subscribeProperty(e,!0):this._createDisposeFunction(e);else{let t=this.subscribe(this._model);if(os.isSubscribable(e)){let i=e();this._targetSubscription=e.subscribe(s=>{this._removePropertiesSubscriptions(),this._inUndoRedo||(this.properyChanged({observable:e,propertyChanged:{oldVal:i,val:s}}),i=s),this._cleanSubscribtions(t),this._model=s,t=this.subscribe(this._model)})}}this._disposables.push(this.isDirty)}dispose(){super.dispose(),this._disposeObservers(this._observers.splice(0,this._observers.length),!0),this.removeTargetSubscription();let e=0;Ra.some((t,i)=>t===this._currentEngineName&&(e=i,!0)),Ra.splice(e,1)}removeTargetSubscription(){this._targetSubscription&&this._targetSubscription.dispose(),this.reset()}undoAll(){this.undoEnabled()&&(this.undo(),this.undoAll())}reset(){this._removePropertiesSubscriptions(),this.clearHistory()}clearHistory(){this._groupObservers=[],this._observers=[],this.redoEnabled(!1),this.undoEnabled(!1),this._inUndoRedo=!1,this._groupPosition=-1,this._position(-1),this._lockedPosition(this._position())}undo(e=!1){try{if(this._inUndoRedo=!0,this.undoEnabled()){const t=this._observers[this._position()];t&&(Array.isArray(t)?t.reverse().forEach(e=>this.undoChangeSet(e)):this.undoChangeSet(t),e&&this._observers.splice(this._position(),1),this._position(this._position()-1),this.undoEnabled(0!==this._observers.length&&this._position()>=0),this.redoEnabled(this._position()<this._observers.length-1))}}finally{this._inUndoRedo=!1}}redo(){try{if(this._inUndoRedo=!0,this.redoEnabled()){const e=this._observers[this._position()+1];e&&(Array.isArray(e)?e.reverse().forEach(e=>this.redoChangeSet(e)):this.redoChangeSet(e),this._position(this._position()+1),this.undoEnabled(0!==this._observers.length&&this._position()>=0),this.redoEnabled(this._position()+1<this._observers.length))}}finally{this._inUndoRedo=!1}}_hasSessionChanges(){return 0===this.isIngroup&&this._observers.length>0}start(){this.isIngroup++,0===this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._position(),this._position(-1),this._lockedPosition(this._position()))}end(){if(this.isIngroup--,-1===this.isIngroup){if(this._observers.length>0){this._position(this._groupPosition+1);const e=this._groupObservers.splice(this._position(),this._groupObservers.length-this._position(),this._observers);this._disposeObservers(e,!1)}else this._position(this._groupPosition);this._observers=this._groupObservers}}}function Wa(e,t){const i=e.focused();t||(t=i.getControlModel(),e.selectedItems.forEach(e=>{const t=e.getControlModel(),s=t.parentModel();!e.getControlModel().getMetaData().isDeleteDeny&&s&&e!==i&&s.removeChild(t)}));const s=ja.tryGetUndoEngine(t.parentModel());s&&s.start(),t.parentModel().removeChild(t),s&&s.end(),e.focused(i.findNextSelection())}function Ga(e,t,i){const s=t();return e.peek().forEach(e=>{const t=i(e);s.splice(0,0,t)}),t.valueHasMutated(),e.subscribe(e=>{const s=t();let r=s.length;e.forEach(e=>{"deleted"===e.status&&(s.splice(s.indexOf(e.value.surface),1),r--)}),e.forEach(e=>{"added"===e.status&&(s.splice(r-e.index,0,i(e.value)),r++)}),t.valueHasMutated()},null,"arrayChange")}function Ua(e,t,i){const s=t();return e.peek().forEach(e=>{const t=i(e);s.push(t)}),t.valueHasMutated(),e.subscribe(e=>{let s=t().length,r=0;const a=[];e.forEach(e=>{"deleted"===e.status&&(r++,e.index<s&&(s=e.index))}),e.forEach(e=>{"added"===e.status&&(e.index<s&&(s=e.index),a.push(i(e.value)))}),t.splice.apply(t,[s,r].concat(a))},null,"arrayChange")}function qa(e,...t){const i=os.observableArray(e),s=i.notifySubscribers;return i.notifySubscribers=(e,r)=>{if(t)for(let i=0,s=t.length;i<s;i++)t[i](e,r);return s.call(i,e,r)},i}function Ka(e,t,i){return qa(Object.keys(e||{}).map(t=>i(e[t])),(e,i)=>{if("beforeChange"!==i)if("arrayChange"===i)for(let i=0;i<e.length;i++)t!==e[i].value.parentModel()&&e[i].value.parentModel(t);else for(let i=0;i<e.length;i++)t!==e[i].parentModel()&&e[i].parentModel(t)})}function Ya(e,t,i,s){for(let r=s||0;r<e.length;r++){if((os.isObservable(e[r][t])?e[r][t].peek():e[r][t])===i)return e[r]}return null}function Za(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return e[i];return null}ja._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___";const Ja=Za;function Xa(e,t,i){let s=0,r=e.length-1;for(;s<=r;){const a=r+s>>1,n=i(t,e[a]);if(n>0)s=a+1;else{if(!(n<0))return a;r=a-1}}return~s}class Qa{constructor(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}_appendSnapLine(e,t,i,s){const r={position:e,limitInf:t,limSup:i},a=Xa(s,r,(e,t)=>e.position-t.position);a>-1?(s[a].limitInf=Math.min(s[a].limitInf,t),s[a].limSup=Math.max(s[a].limSup,i)):s.splice(~a,0,r)}_collectSnaplines(e,t){this._enumerateCollection(e,t,(e,t)=>{e!==this._snapTargetToIgnore&&(this._appendSnapLine(t.left,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.right,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.top,t.left,t.right,this._horizontalSnapLines),this._appendSnapLine(t.bottom,t.left,t.right,this._horizontalSnapLines),this._collectSnaplines(e,t))})}_getCollection(e){return e.controls&&e.controls()}_enumerateCollection(e,t,i){const s=this._getCollection(e);if(s)for(let e=0;e<s.length;e++){const r=s[e].rect&&s[e].rect();r&&i(s[e],{top:r.top+t.top,bottom:r.bottom+t.top,left:r.left+t.left,right:r.right+t.left})}}collectSnaplines(e,t){return this._snapTargetToIgnore=t,this._verticalSnapLines.splice(0),this._horizontalSnapLines.splice(0),this._collectSnaplines(e,{top:0,left:0}),{vertical:this._verticalSnapLines,horizontal:this._horizontalSnapLines}}}class en{constructor(){this._position=os.observable(en._blankPosition)}transform(){const e=this._position();return"matrix("+e.width+", 0, 0, "+e.height+", "+e.left+", "+e.top+")"}updatePosition(e){this._position(e)}reset(){this.updatePosition(en._blankPosition)}}en._blankPosition={top:0,left:0,width:0,height:0};class tn{_findClosestSnapLine(e,t){let i,s=Xa(t,{position:e,limitInf:0,limSup:0},(e,t)=>e.position-t.position);if(s>-1)i={snapLine:t[s],distance:e-t[s].position};else{s=~s;const r=t[s]?e-t[s].position:Number.MAX_VALUE,a=t[s-1]?e-t[s-1].position:Number.MAX_VALUE;i=Math.abs(r)>Math.abs(a)?{snapLine:t[s-1],distance:a}:{snapLine:t[s],distance:r}}return i}_getActiveSnapLines(e,t,i){const s=this._findClosestSnapLine(e,i),r=this._findClosestSnapLine(t,i),a={lines:[],distance:0};if(Math.abs(s.distance-r.distance)>=1){const e=Math.abs(s.distance)<Math.abs(r.distance)?s:r;Math.abs(e.distance)<=this._snapTolerance&&(a.lines=[e],a.distance=e.distance)}else Math.abs(s.distance)<=this._snapTolerance&&(a.lines=[s,r],a.distance=s.distance);return a}constructor(e=null,t=tn.snapTolerance,i=new Qa){this.snapLineSurfaces=[new en,new en,new en,new en],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=e,this._snapTolerance=t,this._snapLinesCollector=i}updateSnapLines(e=null){this.verticalSnapLines.splice(0),this.horizontalSnapLines.splice(0);const t=this._snapLinesCollector.collectSnaplines(this._surfaceContext(),e);this.verticalSnapLines.push.apply(this.verticalSnapLines,t.vertical),this.horizontalSnapLines.push.apply(this.horizontalSnapLines,t.horizontal)}deactivateSnapLines(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset()}activateSnapLines(e){const t=this._getActiveSnapLines(e.left,e.right,this.verticalSnapLines),i=this._getActiveSnapLines(e.top,e.bottom,this.horizontalSnapLines);for(let s=0;s<2;s++){const r=t.lines[s];if(r){let t=Math.min(r.snapLine.limitInf,e.top),a=Math.max(r.snapLine.limSup,e.bottom);e.top<r.snapLine.limitInf&&(t-=i.distance),e.bottom>r.snapLine.limSup&&(a-=i.distance),this.snapLineSurfaces[s].updatePosition({top:t,left:r.snapLine.position,height:a-t,width:1})}else this.snapLineSurfaces[s].reset()}for(let s=0;s<2;s++){const r=i.lines[s];if(r){let i=Math.min(r.snapLine.limitInf,e.left),a=Math.max(r.snapLine.limSup,e.right);e.left<r.snapLine.limitInf&&(i-=t.distance),e.right>r.snapLine.limSup&&(a-=t.distance),this.snapLineSurfaces[s+2].updatePosition({top:r.snapLine.position,left:i,width:a-i,height:1})}else this.snapLineSurfaces[s+2].reset()}return{left:t.distance,top:i.distance}}snapPosition(e,t){const i=this._findClosestSnapLine(e,t?this.horizontalSnapLines:this.verticalSnapLines);return i&&Math.abs(i.distance)<=this._snapTolerance?i.snapLine.position:e}getSnappingMode(){return this._surfaceContext().snappingMode?.()}roundToGridSize(e){const t=this._surfaceContext().snapGridSize();return Math.round(e/t)*t}snapToGrid(e,t){const i=t?.absolutePosition.y()||0,s=e=>{const t="string"==typeof e?fs(e):e;return this.roundToGridSize(t-i)+i},r=this.roundToGridSize(fs(e.dataset.leftPosition)),a=s(e.dataset.topPosition);if(e.dataset.leftPosition=xs(r),e.dataset.topPosition=xs(a),e.ghostContainer.style.left=e.dataset.leftPosition,e.ghostContainer.style.top=e.dataset.topPosition,e.dataset.startDragWithOffset||e.classList.contains("dx-treelist-selectedcontent")){const t=e.closest(".dx-designer"),i=t.querySelector(".dxrd-bands-content-offset").getBoundingClientRect(),r=t.getBoundingClientRect(),a=t.querySelector(".dxrd-toolbox-wrapper").getBoundingClientRect(),n={vertical:i.top-r.top,horizontal:i.left-a.left},o=fs(e.ghostContainer.style.top)-n.vertical,d=fs(e.ghostContainer.style.left)-n.horizontal,l=s(o)+n.vertical,u=this.roundToGridSize(d)+n.horizontal;e.dataset.leftPosition=xs(u),e.dataset.topPosition=xs(l),e.ghostContainer.style.left=e.dataset.leftPosition,e.ghostContainer.style.top=e.dataset.topPosition}}}tn.snapTolerance=10;class sn{constructor(e,t){this.x=os.observable(e).extend({dxdnum:{}}),this.y=os.observable(t).extend({dxdnum:{}})}getInfo(){return cs}static fromString(e="0, 0"){const t=e.split(",");return new sn(parseFloat(t[0]),parseFloat(t[1]))}toString(){return this.x()+", "+this.y()}}sn.unitProperties=["x","y"];const rn={createChild:(e,t)=>e.createChild(t),calculateDelta:(e,t,i)=>({x:e.rect().left-i.x(),y:e.rect().top-i.y()}),canPaste:(e,t)=>!0};class an{constructor(e,t=rn){this._copyPasteStrategy=t,this._copyInfo=os.observable(null),this.hasPasteInfo=os.pureComputed(()=>null!==this._copyInfo()),this._selectionProvider=e}canCopy(){const e=this._selectionProvider.focused();return e&&null!==e&&!e.getControlModel().getMetaData().isCopyDeny}canPaste(){const e=this._selectionProvider.focused();return null!==e&&this.hasPasteInfo()&&e.canDrop()&&(!this._copyPasteStrategy.canPaste||this._copyPasteStrategy.canPaste(e.getControlModel(),this._copyInfo()))&&!e.getControlModel().getMetaData().isPasteDeny}copy(){if(this.canCopy()){const e=new Da,t={focused:this._selectionProvider.focused(),objects:(this._selectionProvider.selectedItems||[]).map(t=>e.serialize(t.getControlModel()))};this._copyInfo(t)}}cut(){const e=new Da,t=this._selectionProvider.focused(),i=[];this._selectionProvider.selectedItems.forEach(t=>{const s=t.getControlModel();s.parentModel().removeChild(s),i.push(e.serialize(s)),this._copyPasteStrategy.createSelfRestoringItems&&i.push(...this._copyPasteStrategy.createSelfRestoringItems(s,e))});const s={focused:t,objects:i};this._copyInfo(s)}paste(){if(this.canPaste()){let e=this._selectionProvider.focused(),t=e.getControlModel();const i=[];e===this._copyInfo().focused&&(e=e.parent,t=e.getControlModel()),t.getMetaData().isContainer||(e=e.parent,t=e.getControlModel());const s=new sn(Number.MAX_VALUE,Number.MAX_VALUE),r=new sn(-1,-1);for(let e=0;e<this._copyInfo().objects.length;e++){const a=ti(this._copyPasteStrategy.createChild(t,this._copyInfo().objects[e]));if(!a)continue;const n=new sn(a.rect().left,a.rect().top),o=new sn(a.rect().left+a.rect().width,a.rect().top+a.rect().height);s.x()>=n.x()&&s.x(n.x()),r.x()<=o.x()&&r.x(o.x()),s.y()>=n.y()&&s.y(n.y()),r.y()<=o.y()&&r.y(o.y()),i.push(a)}const a=new sn((e.rect().width-e._context.margins.right())/2-(r.x()-s.x())/2+(e.rtlLayout()?e._context.margins.right():0),e.rect().height/2-(r.y()-s.y())/2);for(let t=0;t<i.length;t++){const r=this._copyPasteStrategy.calculateDelta(i[t],e,s);i[t].rect({left:a.x()+r.x,top:a.y()+r.y})}this._selectionProvider.initialize(),i.forEach(e=>{this._selectionProvider.selecting({control:e,cancel:!1})})}}}const nn={Cut:"dxd-cut",Copy:"dxd-copy",Paste:"dxd-paste",Delete:"dxd-delete",Undo:"dxd-undo",Redo:"dxd-redo",ZoomOut:"dxd-zoom-out",ZoomSelector:"dxd-zoom-selector",ZoomIn:"dxd-zoom-in"};function on(e){const t=Math.round(parseInt(e.replace("%","")))/100;return t?t>=5?5:t<=.1?.1:t:1}const dn=DevExpress.ui.themes;var ln,un=e.n(dn);!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus",e[e.BitwiseNot=2]="BitwiseNot",e[e.Not=3]="Not",e[e.IsNull=4]="IsNull"}(ln||(ln={}));class cn{constructor(){this._func=[],this._factory={},this._changeTypeFactory={}}addListener(e){-1===this._func.indexOf(e)&&this._func.push(e)}removeListener(e){const t=this._func.indexOf(e);-1!==t&&this._func.splice(t,1)}register(e,t,i){this._factory[e]=t,i&&(this._changeTypeFactory[e]=e=>{let t=i(e);return e.reverse&&(t=this.process("unary",{operator:t,operatorType:ln.Not})),t})}process(e,t={}){let i=e in this._factory?this._factory[e](t):this._factory.default();return this._func.forEach(s=>{i=s(i,{operatorType:e,options:t||{}})}),i}changeByType(e){return this._changeTypeFactory[e._type]?this._changeTypeFactory[e._type](e):null}}const pn=new cn;class hn{constructor(){this.type="default",this.operands=null,this.changeValue=(e,t,i)=>{const s=t?pn.process("unary",{operatorType:ln.Minus,operator:e}):e;return null!==i.index?this[i.name][i.index]=s:this[i.name]=s,s},this.changeValueType=(e,t)=>{const i=new e;return null!==t.index?this[t.name][t.index]=i:this[t.name]=i,i},this.assignLeftPart=e=>{},this.assignRightPart=e=>{},this.assignType=e=>{this.operatorType=e}}get displayType(){return this.operatorType}get enumType(){return null}get leftPart(){return null}get rightPart(){return null}assignFrom(e,t=!1,i=!0){let s=e;"unary"!==e.type||Array.isArray(e.leftPart)||"property"==e.leftPart.type||(s=e.leftPart),t?this.assignLeftPart(s.leftPart):this.assignLeftPart(s),s.rightPart&&i&&this.assignRightPart(s)}children(){const e=[];return this.leftPart&&e.push.apply(e,Array.isArray(this.leftPart)?this.leftPart:[this.leftPart]),this.rightPart&&e.push.apply(e,Array.isArray(this.rightPart)?this.rightPart:[this.rightPart]),e}accept(e){throw"Not implemented"}}pn.register("default",e=>new hn);const mn=It(19),gn=It("Times New Roman, 9.75pt");function xn(e){return/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e)||/^\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}$/.test(e)||/^\([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)$/.test(e)||/^[0-9a-fA-F]{32}$/.test(e)}function fn(e){return e&&xn(e)}function vn(e){return!e||xn(e)}const bn=()=>Rt("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error"),yn=e=>vn(e.value);function _n(){return[{type:"custom",validationCallback:yn,get message(){return bn()}}]}function Cn(){return[{type:"required",get message(){return bn()}}]}function wn(){return[{type:"required",get message(){return Rt("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}}]}const An=",";class En extends hn{_processStringValue(e){let t=e.slice(1,e.length-1);return t=t.replace(/''/g,"'"),t}constructor(e,t){super(),this.type="value";let i=null!=e?e:"";const s=fn(e);if(e&&e.length&&("'"===e[0]&&"'"===e[e.length-1]||s))this.specifics="string",s&&"{"===e[0]&&"}"===e[e.length-1]&&(this.specifics="guid"),i=this._processStringValue(e);else if(e&&e.length&&"#"===e[0]&&"#"===e[e.length-1]&&!t)i=e.slice(1,e.length-1),-1!==i.indexOf("!")?(i=i.replace(/!/g,""),i=-1!==i.indexOf(":")?oe(i):Oe(i)):i=Oe(i),i||(i=Oe(e.slice(1,e.length-1)));else if("true"===String(e).toLowerCase()||"false"===String(e).toLowerCase())i="true"===String(e).toLowerCase()?"True":"False";else if(t&&e){const t=e.match(/\#(\w+)\#(.*?)\#/);if(t){const e=t[1].toLowerCase();"enum"===e||"tostring"===e?(this.specifics="enum",i=t[2]??""):this.specifics=e}}this.value=i}get displayType(){return this.value||"?"}accept(e){return e.visitOperandValue?e.visitOperandValue(this):this}}pn.register("value",e=>new En(e?.value,e?.isSomeType));class In extends En{constructor(e,t){super(t),this.type="parameter",this.parameterName=e||""}get displayType(){return"?"+this.parameterName}accept(e){return e.visitOperandParameter?e.visitOperandParameter(this):new In(this.parameterName,this.value)}}pn.register("parameter",e=>new In(e.parameterName,e.value));class Sn extends hn{constructor(e="",t=-1,i=-1,s=0,r=!1){super(),this.type="property",this.propertyName=e,this.originalPropertyLength=s,this.startPosition={column:t,line:i},this.circumflex=r}get displayType(){return"["+this.propertyName+"]"}accept(e){return e.visitOperandProperty?e.visitOperandProperty(this):pn.process("property",{propertyName:this.propertyName})}}pn.register("property",e=>new Sn(e.propertyName,e.startColumn,e.startLine,e.originalPropertyLength,e.circumflex));class $n extends hn{constructor(e,t){super(),this.type="unary",this.operand=t||pn.process("default"),this.operatorType=e}get leftPart(){return this.operand}assignFrom(e){this.operatorType===ln.Not?e instanceof $n?this.operand.assignFrom(e.operand):this.operand.assignFrom(e):this.operand=e instanceof $n?e.operand.leftPart:e.leftPart||e}get displayType(){return ln[this.operatorType]}get enumType(){return ln}accept(e){return e.visitUnaryOperator?e.visitUnaryOperator(this):new $n(this.operatorType,this.operand&&this.operand.accept(e))}}var kn,Pn,Tn;pn.register("unary",e=>new $n(e.operatorType,e.operator),e=>pn.process("unary",{operatorType:e.value,operator:pn.process("property")})),function(e){e[e.Equal=0]="Equal",e[e.NotEqual=1]="NotEqual",e[e.Greater=2]="Greater",e[e.Less=3]="Less",e[e.LessOrEqual=4]="LessOrEqual",e[e.GreaterOrEqual=5]="GreaterOrEqual",e[e.Like=6]="Like",e[e.BitwiseAnd=7]="BitwiseAnd",e[e.BitwiseOr=8]="BitwiseOr",e[e.BitwiseXor=9]="BitwiseXor",e[e.Divide=10]="Divide",e[e.Modulo=11]="Modulo",e[e.Multiply=12]="Multiply",e[e.Plus=13]="Plus",e[e.Minus=14]="Minus"}(kn||(kn={})),function(e){e[e.And=0]="And",e[e.Or=1]="Or"}(Pn||(Pn={}));class Dn extends hn{constructor(e,t,i,s){super(),this.change=(e,t)=>{let i=null;return e.type===Pn&&(i=pn.changeByType(e),e.type!==i.enumType?i.leftPart.assignFrom(t):i.assignFrom(t),this.condition=i),i},this.assignLeftPart=e=>{e.leftPart instanceof Dn?this.assignFrom(e.leftPart):e instanceof Dn?(this.property=e.property,this.aggregatedExpression&&e.aggregatedExpression&&(this.aggregatedExpression=e.aggregatedExpression),this.condition=e.condition):this.property=e.leftPart},this.type="aggregate",this.property=e,s&&"group"===s.type?this.condition=s:s instanceof $n&&s.operatorType===ln.Not?"group"===s.operand.type?this.condition=pn.process("unary",{operator:s.operand,operatorType:ln.Not}):this.condition=pn.process("unary",{operator:pn.process("group",{operation:Pn.And,operands:s.operand?[s.operand]:[]}),operatorType:ln.Not}):this.condition=pn.process("group",{operation:Pn.And,operands:s?[s]:[]}),this.operatorType=i,t&&(t.length>1?this.customAggregatedExpression=t:this.aggregatedExpression=t[0]?t[0]:null)}get displayType(){return this.operatorType}get enumType(){return Dn}get leftPart(){return this.property}children(){const e=[];return this.condition&&e.push(this.condition),this.aggregatedExpression?e.push(this.aggregatedExpression):this.customAggregatedExpression&&this.customAggregatedExpression.forEach(t=>e.push(t)),e}accept(e){if(e.visitAggregateOperand)return e.visitAggregateOperand(this);let t=null;return this.aggregatedExpression?t=[this.aggregatedExpression]:this.customAggregatedExpression&&(t=this.customAggregatedExpression.map(t=>t.accept(e))),pn.process("aggregate",{aggregateType:this.operatorType,aggregatedExpression:t,condition:this.condition&&this.condition.accept(e),property:this.property&&this.property.accept(e)})}}function Fn(e,t,i=""){t(e,i),e instanceof Dn&&(e.leftPart&&Fn(e.leftPart,t,i),e.leftPart&&e.leftPart.propertyName&&(i=i?[i,e.leftPart.propertyName].join("."):e.leftPart.propertyName)),e.children().forEach(e=>Fn(e,t,i))}pn.register("aggregate",e=>new Dn(e.property,e.aggregatedExpression,e.aggregateType,e.condition),e=>{const t={property:pn.process("property"),aggregateType:e.value,aggregatedExpression:null,condition:pn.process("group",{operation:Pn.And,operands:[]})};return"Exists"===e.value?pn.process("aggregate",t):("Count"!==e.value&&(t.aggregatedExpression=[pn.process("property")]),pn.process("binary",{left:pn.process("aggregate",t),right:pn.process("value",{value:void 0}),operatorType:kn.Equal}))});class Bn extends hn{constructor(e,t){super(),this.create=(e,t,i)=>{let s=pn.process("binary",{left:t,right:pn.process("value",{value:""}),operatorType:kn.Equal});return e?s=pn.process("group",{operation:Pn.And,operands:[]}):i&&"list"===i&&(s=pn.process("aggregate",{aggregateType:"Exisits",property:t,aggregatedExpression:null,condition:pn.process("group",{operands:[],operation:Pn.And})})),this.operands.push(s),this.operands[this.operands.indexOf(s)]},this.change=(e,t,i=!1)=>{const s=this.operands.indexOf(t);if(-1===s)throw Error("dont have this element in operands collection");{const r=pn.changeByType(e);e.type===r.enumType||Array.isArray(r.leftPart)?r.assignFrom(t,i,!e.emptyRightPart):r.leftPart.assignFrom(t,i,!e.emptyRightPart),this.operands[s]=r}return t=null,this.operands[s]},this.remove=e=>{this.operands.splice(this.operands.indexOf(e),1)},this.assignLeftPart=e=>{this.operands=e.operands},this.operands=[],this.type="group",this.operatorType=e,(t=t||[pn.process("default"),pn.process("default")]).forEach(e=>this.operands.push(e))}static combine(e,t){const i=[];return(t||[]).forEach(t=>{"group"===t.type&&t.operatorType===e?i.push.apply(i,t.operands):i.push(t)}),1===i.length?i[0]:pn.process("group",{operands:i,operation:e})}children(){return this.operands}get displayType(){return Pn[this.operatorType]}get enumType(){return Pn}accept(e){return e.visitGroupOperator?e.visitGroupOperator(this):new Bn(this.operatorType,this.operands&&this.operands.map(t=>t.accept(e)))}}pn.register("group",e=>new Bn(e.operation,e.operands),e=>pn.process("group",{operation:e.value,operands:[]})),function(e){e[e.None=0]="None",e[e.Custom=1]="Custom",e[e.CustomNonDeterministic=2]="CustomNonDeterministic",e[e.Iif=3]="Iif",e[e.IsNull=4]="IsNull",e[e.IsNullOrEmpty=5]="IsNullOrEmpty",e[e.Trim=6]="Trim",e[e.Len=7]="Len",e[e.Substring=8]="Substring",e[e.Upper=9]="Upper",e[e.Lower=10]="Lower",e[e.Concat=11]="Concat",e[e.Ascii=12]="Ascii",e[e.Char=13]="Char",e[e.ToStr=14]="ToStr",e[e.Replace=15]="Replace",e[e.Reverse=16]="Reverse",e[e.Insert=17]="Insert",e[e.CharIndex=18]="CharIndex",e[e.Remove=19]="Remove",e[e.Abs=20]="Abs",e[e.Sqr=21]="Sqr",e[e.Cos=22]="Cos",e[e.Sin=23]="Sin",e[e.Atn=24]="Atn",e[e.Exp=25]="Exp",e[e.Log=26]="Log",e[e.Rnd=27]="Rnd",e[e.Tan=28]="Tan",e[e.Power=29]="Power",e[e.Sign=30]="Sign",e[e.Round=31]="Round",e[e.Ceiling=32]="Ceiling",e[e.Floor=33]="Floor",e[e.Max=34]="Max",e[e.Min=35]="Min",e[e.Acos=36]="Acos",e[e.Asin=37]="Asin",e[e.Atn2=38]="Atn2",e[e.BigMul=39]="BigMul",e[e.Cosh=40]="Cosh",e[e.Log10=41]="Log10",e[e.Sinh=42]="Sinh",e[e.Tanh=43]="Tanh",e[e.PadLeft=44]="PadLeft",e[e.PadRight=45]="PadRight",e[e.StartsWith=46]="StartsWith",e[e.EndsWith=47]="EndsWith",e[e.Contains=48]="Contains",e[e.ToInt=49]="ToInt",e[e.ToLong=50]="ToLong",e[e.ToFloat=51]="ToFloat",e[e.ToDouble=52]="ToDouble",e[e.ToDecimal=53]="ToDecimal",e[e.LocalDateTimeThisYear=54]="LocalDateTimeThisYear",e[e.LocalDateTimeThisMonth=55]="LocalDateTimeThisMonth",e[e.LocalDateTimeLastWeek=56]="LocalDateTimeLastWeek",e[e.LocalDateTimeThisWeek=57]="LocalDateTimeThisWeek",e[e.LocalDateTimeYesterday=58]="LocalDateTimeYesterday",e[e.LocalDateTimeToday=59]="LocalDateTimeToday",e[e.LocalDateTimeNow=60]="LocalDateTimeNow",e[e.LocalDateTimeTomorrow=61]="LocalDateTimeTomorrow",e[e.LocalDateTimeDayAfterTomorrow=62]="LocalDateTimeDayAfterTomorrow",e[e.LocalDateTimeNextWeek=63]="LocalDateTimeNextWeek",e[e.LocalDateTimeTwoWeeksAway=64]="LocalDateTimeTwoWeeksAway",e[e.LocalDateTimeNextMonth=65]="LocalDateTimeNextMonth",e[e.LocalDateTimeNextYear=66]="LocalDateTimeNextYear",e[e.LocalDateTimeTwoMonthsAway=67]="LocalDateTimeTwoMonthsAway",e[e.LocalDateTimeTwoYearsAway=68]="LocalDateTimeTwoYearsAway",e[e.LocalDateTimeLastMonth=69]="LocalDateTimeLastMonth",e[e.LocalDateTimeLastYear=70]="LocalDateTimeLastYear",e[e.LocalDateTimeYearBeforeToday=71]="LocalDateTimeYearBeforeToday",e[e.IsOutlookIntervalBeyondThisYear=72]="IsOutlookIntervalBeyondThisYear",e[e.IsOutlookIntervalLaterThisYear=73]="IsOutlookIntervalLaterThisYear",e[e.IsOutlookIntervalLaterThisMonth=74]="IsOutlookIntervalLaterThisMonth",e[e.IsOutlookIntervalNextWeek=75]="IsOutlookIntervalNextWeek",e[e.IsOutlookIntervalLaterThisWeek=76]="IsOutlookIntervalLaterThisWeek",e[e.IsOutlookIntervalTomorrow=77]="IsOutlookIntervalTomorrow",e[e.IsOutlookIntervalToday=78]="IsOutlookIntervalToday",e[e.IsOutlookIntervalYesterday=79]="IsOutlookIntervalYesterday",e[e.IsOutlookIntervalEarlierThisWeek=80]="IsOutlookIntervalEarlierThisWeek",e[e.IsOutlookIntervalLastWeek=81]="IsOutlookIntervalLastWeek",e[e.IsOutlookIntervalEarlierThisMonth=82]="IsOutlookIntervalEarlierThisMonth",e[e.IsOutlookIntervalEarlierThisYear=83]="IsOutlookIntervalEarlierThisYear",e[e.IsOutlookIntervalPriorThisYear=84]="IsOutlookIntervalPriorThisYear",e[e.IsThisWeek=85]="IsThisWeek",e[e.IsThisMonth=86]="IsThisMonth",e[e.IsThisYear=87]="IsThisYear",e[e.IsNextMonth=88]="IsNextMonth",e[e.IsNextYear=89]="IsNextYear",e[e.IsLastMonth=90]="IsLastMonth",e[e.IsLastYear=91]="IsLastYear",e[e.IsYearToDate=92]="IsYearToDate",e[e.IsSameDay=93]="IsSameDay",e[e.InRange=94]="InRange",e[e.InDateRange=95]="InDateRange",e[e.IsJanuary=96]="IsJanuary",e[e.IsFebruary=97]="IsFebruary",e[e.IsMarch=98]="IsMarch",e[e.IsApril=99]="IsApril",e[e.IsMay=100]="IsMay",e[e.IsJune=101]="IsJune",e[e.IsJuly=102]="IsJuly",e[e.IsAugust=103]="IsAugust",e[e.IsSeptember=104]="IsSeptember",e[e.IsOctober=105]="IsOctober",e[e.IsNovember=106]="IsNovember",e[e.IsDecember=107]="IsDecember",e[e.DateDiffTick=108]="DateDiffTick",e[e.DateDiffSecond=109]="DateDiffSecond",e[e.DateDiffMilliSecond=110]="DateDiffMilliSecond",e[e.DateDiffMinute=111]="DateDiffMinute",e[e.DateDiffHour=112]="DateDiffHour",e[e.DateDiffDay=113]="DateDiffDay",e[e.DateDiffMonth=114]="DateDiffMonth",e[e.DateDiffYear=115]="DateDiffYear",e[e.GetDate=116]="GetDate",e[e.GetMilliSecond=117]="GetMilliSecond",e[e.GetSecond=118]="GetSecond",e[e.GetMinute=119]="GetMinute",e[e.GetHour=120]="GetHour",e[e.GetDay=121]="GetDay",e[e.GetMonth=122]="GetMonth",e[e.GetYear=123]="GetYear",e[e.GetDayOfWeek=124]="GetDayOfWeek",e[e.GetDayOfYear=125]="GetDayOfYear",e[e.GetTimeOfDay=126]="GetTimeOfDay",e[e.Now=127]="Now",e[e.UtcNow=128]="UtcNow",e[e.Today=129]="Today",e[e.TruncateToMinute=130]="TruncateToMinute",e[e.IsSameHour=131]="IsSameHour",e[e.IsSameTime=132]="IsSameTime",e[e.BeforeMidday=133]="BeforeMidday",e[e.AfterMidday=134]="AfterMidday",e[e.IsNight=135]="IsNight",e[e.IsMorning=136]="IsMorning",e[e.IsAfternoon=137]="IsAfternoon",e[e.IsEvening=138]="IsEvening",e[e.IsLastHour=139]="IsLastHour",e[e.IsThisHour=140]="IsThisHour",e[e.IsNextHour=141]="IsNextHour",e[e.IsWorkTime=142]="IsWorkTime",e[e.IsFreeTime=143]="IsFreeTime",e[e.IsLunchTime=144]="IsLunchTime",e[e.AddTimeSpan=145]="AddTimeSpan",e[e.AddTicks=146]="AddTicks",e[e.AddMilliSeconds=147]="AddMilliSeconds",e[e.AddSeconds=148]="AddSeconds",e[e.AddMinutes=149]="AddMinutes",e[e.AddHours=150]="AddHours",e[e.AddDays=151]="AddDays",e[e.AddMonths=152]="AddMonths",e[e.AddYears=153]="AddYears",e[e.DateTimeFromParts=154]="DateTimeFromParts",e[e.DateOnlyFromParts=155]="DateOnlyFromParts",e[e.TimeOnlyFromParts=156]="TimeOnlyFromParts"}(Tn||(Tn={}));class On extends hn{constructor(e,t,i,s){super(),this.type="join",this.joinTypeName=e,this.condition=t,this.operatorType=i,this.aggregatedExpression=s}static joinOrAggregate(e,t,i,s){return null===e||e.propertyName.length<2||"<"!=e.propertyName[0]||">"!=e.propertyName[e.propertyName.length-1]?pn.process("aggregate",{property:e,aggregatedExpression:s,aggregateType:i,condition:t}):pn.process("join",{joinTypeName:e.propertyName.substring(1,e.propertyName.length-2),condition:t,type:i,aggregated:s&&s[0]?s[0]:null})}accept(e){return e.visitJoinOperand?e.visitJoinOperand(this):new On(this.joinTypeName,this.condition&&this.condition.accept(e),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(e))}}var Mn=function(){var e=function(e,t,i,s){for(i=i||{},s=e.length;s--;i[e[s]]=t);return i},t=[1,5],i=[1,8],s=[1,7],r=[1,24],a=[1,9],n=[1,10],o=[1,11],d=[1,12],l=[1,19],u=[1,13],c=[1,14],p=[1,15],h=[1,16],m=[1,17],g=[1,18],x=[1,21],f=[1,23],v=[1,22],b=[1,26],y=[1,27],_=[1,28],C=[1,29],w=[1,30],A=[1,31],E=[1,32],I=[1,33],S=[1,34],$=[1,35],k=[1,36],P=[1,37],T=[1,38],D=[1,39],F=[1,40],B=[1,41],O=[1,42],M=[1,43],N=[1,44],V=[1,45],L=[1,46],z=[1,47],H=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],R=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,46,47,48,52,53,54],j=[1,55],W=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],G=[5,28,29,30,32,38,47],U=[1,95],q=[1,96],K=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],Y=[5,20,21,26,27,28,29,30,32,33,38,47],Z=[5,20,21,22,23,24,25,26,27,28,29,30,32,33,38,47],J=[32,38],X=[1,107],Q={trace:function(){},yy:{},symbols_:{error:2,expressions:3,exp:4,EOF:5,const:6,propertyWithAgg:7,SOMETYPE:8,parameter:9,"*":10,"/":11,"+":12,"-":13,"%":14,"|":15,"&":16,"^":17,"!":18,"~":19,OP_EQ:20,OP_NE:21,OP_GT:22,OP_LT:23,OP_GE:24,OP_LE:25,OP_LIKE:26,NOT:27,AND:28,OR:29,OP_ISNULL:30,"(":31,")":32,IS:33,NULL:34,OP_IN:35,arguments:36,OP_BETWEEN:37,",":38,NAME_SOFT:39,STRING:40,NUMBER:41,OBJECT:42,BOOLEAN:43,GUID:44,property:45,"[":46,"]":47,".":48,agg:49,Count:50,Exists:51,FIELD_END:52,CH:53,ESC_CH:54,FIELD_START:55,"?":56,commaseparated:57,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",8:"SOMETYPE",10:"*",11:"/",12:"+",13:"-",14:"%",15:"|",16:"&",17:"^",18:"!",19:"~",20:"OP_EQ",21:"OP_NE",22:"OP_GT",23:"OP_LT",24:"OP_GE",25:"OP_LE",26:"OP_LIKE",27:"NOT",28:"AND",29:"OR",30:"OP_ISNULL",31:"(",32:")",33:"IS",34:"NULL",35:"OP_IN",37:"OP_BETWEEN",38:",",39:"NAME_SOFT",40:"STRING",41:"NUMBER",42:"OBJECT",43:"BOOLEAN",44:"GUID",46:"[",47:"]",48:".",50:"Count",51:"Exists",52:"FIELD_END",53:"CH",54:"ESC_CH",55:"FIELD_START",56:"?"},productions_:[0,[3,2],[4,1],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,3],[4,7],[4,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,6],[7,5],[7,3],[7,4],[7,3],[7,1],[7,4],[49,1],[49,1],[49,2],[45,2],[45,2],[45,2],[45,3],[45,3],[45,1],[45,1],[45,1],[9,2],[9,1],[36,2],[36,3],[57,1],[57,3]],performAction:function(e,t,i,s,r,a,n){var o=a.length-1;switch(r){case 1:return a[o-1];case 2:this.$=pn.process("const",{value:a[o]});break;case 3:case 5:case 36:case 37:case 38:case 39:case 40:this.$=a[o];break;case 4:this.$=pn.process("value",{value:a[o],isSomeType:!0});break;case 6:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Multiply});break;case 7:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Divide});break;case 8:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Plus});break;case 9:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Minus});break;case 10:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Modulo});break;case 11:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.BitwiseOr});break;case 12:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.BitwiseAnd});break;case 13:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.BitwiseXor});break;case 14:this.$=pn.process("unary",{operatorType:ln.Minus,operator:a[o]});break;case 15:this.$=pn.process("unary",{operatorType:ln.Plus,operator:a[o]});break;case 16:case 26:this.$=pn.process("unary",{operatorType:ln.Not,operator:a[o]});break;case 17:this.$=pn.process("unary",{operatorType:ln.BitwiseNot,operator:a[o]});break;case 18:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Equal});break;case 19:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.NotEqual});break;case 20:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Greater});break;case 21:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Less});break;case 22:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.GreaterOrEqual});break;case 23:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.LessOrEqual});break;case 24:this.$=pn.process("binary",{left:a[o-2],right:a[o],operatorType:kn.Like});break;case 25:this.$=pn.process("unary",{operatorType:ln.Not,operator:pn.process("binary",{left:a[o-3],right:a[o],operatorType:kn.Like})});break;case 27:this.$=Bn.combine(Pn.And,[a[o-2],a[o]]);break;case 28:this.$=Bn.combine(Pn.Or,[a[o-2],a[o]]);break;case 29:this.$=pn.process("function",{operatorType:Tn.IsNull,operands:[a[o-2],a[o]]});break;case 30:case 52:case 63:this.$=a[o-1];break;case 31:this.$=pn.process("unary",{operatorType:ln.IsNull,operator:a[o-2]});break;case 32:this.$=pn.process("unary",{operatorType:ln.Not,operator:pn.process("unary",{operatorType:ln.IsNull,operator:a[o-3]})});break;case 33:this.$=pn.process("in",{criteriaOperator:a[o-2],operands:a[o]});break;case 34:this.$=pn.process("between",{property:a[o-6],begin:a[o-3],end:a[o-1]});break;case 35:this.$=pn.process("function",{operatorType:Tn[a[o-1]]||a[o-1],operands:a[o]});break;case 41:this.$=null;break;case 42:this.$=On.joinOrAggregate(pn.process("property",{propertyName:a[o-5].name,startColumn:a[o-5].col,circumflex:a[o-5].circumflex,startLine:a[o-5].line,originalPropertyLength:n[o-5].last_column-n[o-5].first_column+1}),a[o-3],a[o].type,a[o].expr);break;case 43:this.$=On.joinOrAggregate(pn.process("property",{propertyName:a[o-4].name,startColumn:a[o-4].col,circumflex:a[o-4].circumflex,startLine:a[o-4].line,originalPropertyLength:n[o-4].last_column-n[o-4].first_column+1}),null,a[o].type,a[o].expr);break;case 44:this.$=On.joinOrAggregate(pn.process("property",{propertyName:a[o-2].name,startColumn:a[o-2].col,circumflex:a[o-2].circumflex,startLine:a[o-2].line,originalPropertyLength:n[o-2].last_column-n[o-2].first_column}),null,a[o].type,a[o].expr);break;case 45:this.$=On.joinOrAggregate(pn.process("property",{propertyName:a[o-3].name,startColumn:a[o-3].col,circumflex:a[o-3].circumflex,startLine:a[o-3].line,originalPropertyLength:n[o-3].last_column-n[o-3].first_column+1}),a[o-1],"Exists",null);break;case 46:this.$=On.joinOrAggregate(pn.process("property",{propertyName:a[o-2].name,startColumn:a[o-2].col,circumflex:a[o-2].circumflex,startLine:a[o-2].line,originalPropertyLength:n[o-2].last_column-n[o-2].first_column+1}),null,"Exists",null);break;case 47:this.$=pn.process("property",{propertyName:a[o].name,startColumn:a[o].col,circumflex:a[o].circumflex,startLine:a[o].line,originalPropertyLength:n[o].last_column-n[o].first_column});break;case 48:this.$=On.joinOrAggregate(pn.process("property",{}),null,a[o].type,a[o].expr);break;case 49:this.$={type:"Count"};break;case 50:this.$={type:"Exists"};break;case 51:this.$={type:a[o-1],expr:a[o]};break;case 53:this.$={name:a[o-1].name+a[o],line:a[o-1].line,circumflex:a[o-1].circumflex,col:a[o-1].col};break;case 54:this.$={name:a[o-1].name+a[o].substr(1),line:a[o-1].line,circumflex:a[o-1].circumflex,col:a[o-1].col};break;case 55:a[o-2].circumflex&&a[o-2].started?this.$={name:"",line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col+2}:this.$={name:a[o-2].name+".",line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col};break;case 56:a[o-2].circumflex&&a[o-2].started?this.$={name:a[o],line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col+1}:this.$={name:a[o-2].name+"."+a[o],line:a[o-2].line,circumflex:a[o-2].circumflex,col:a[o-2].col};break;case 57:this.$={name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 58:this.$={name:a[o],line:n[o].first_line-1,col:n[o].first_column};break;case 59:this.$={circumflex:!0,started:!0,name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 60:this.$=pn.process("parameter",{parameterName:a[o]});break;case 61:this.$=pn.process("value",{});break;case 62:this.$=[];break;case 64:this.$=[a[o]];break;case 65:this.$=a[o-2].concat(a[o])}},table:[{3:1,4:2,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{1:[3]},{5:[1,25],10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,33:V,35:L,37:z},e(H,[2,2]),e(H,[2,3]),e(H,[2,4]),e(H,[2,5]),{4:48,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:49,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:50,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:51,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:52,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:53,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},e(R,[2,58],{36:54,31:j}),e(H,[2,36]),e(H,[2,37]),e(H,[2,38]),e(H,[2,39]),e(H,[2,40]),e(H,[2,41]),e(H,[2,47],{46:[1,56],48:[1,57],52:[1,58],53:[1,59],54:[1,60]}),{47:[1,61]},e(H,[2,61],{39:[1,62]}),e(R,[2,57]),e(R,[2,59]),{1:[2,1]},{4:63,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:64,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:65,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:66,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:67,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:68,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:69,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:70,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:71,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:72,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:73,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:74,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:75,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:76,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:77,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{26:[1,78]},{4:79,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:80,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{4:81,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},{27:[1,83],34:[1,82]},{31:j,36:84},{31:[1,85]},e(H,[2,14]),e(H,[2,15]),e(H,[2,16]),e(W,[2,17],{10:b,11:y,12:_,13:C,14:w}),e(G,[2,26],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,33:V,35:L,37:z}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,32:[1,86],33:V,35:L,37:z},e(H,[2,35]),{4:89,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,32:[1,87],34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v,57:88},{4:90,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,47:[1,91],55:f,56:v},{39:[1,94],49:92,50:U,51:q,55:[1,93]},e(R,[2,52]),e(R,[2,53]),e(R,[2,54]),{48:[1,97]},e(H,[2,60]),e(H,[2,6]),e(H,[2,7]),e(K,[2,8],{10:b,11:y,14:w}),e(K,[2,9],{10:b,11:y,14:w}),e(H,[2,10]),e([5,15,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,11],{10:b,11:y,12:_,13:C,14:w,16:E,17:I}),e(W,[2,12],{10:b,11:y,12:_,13:C,14:w}),e([5,15,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,13],{10:b,11:y,12:_,13:C,14:w,16:E}),e(Y,[2,18],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:T,25:D,35:L,37:z}),e(Y,[2,19],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:T,25:D,35:L,37:z}),e(Z,[2,20],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,35:L,37:z}),e(Z,[2,21],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,35:L,37:z}),e(Z,[2,22],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,35:L,37:z}),e(Z,[2,23],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,35:L,37:z}),e(Y,[2,24],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:T,25:D,35:L,37:z}),{4:98,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},e(G,[2,27],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,33:V,35:L,37:z}),e([5,29,30,32,38,47],[2,28],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,33:V,35:L,37:z}),e([5,32,38,47],[2,29],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,33:V,35:L,37:z}),e(H,[2,31]),{34:[1,99]},e(H,[2,33]),{4:100,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},e(H,[2,30]),e(H,[2,62]),{32:[1,101],38:[1,102]},e(J,[2,64],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,33:V,35:L,37:z}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,33:V,35:L,37:z,47:[1,103]},e(H,[2,46],{48:[1,104]}),e(H,[2,44]),e(R,[2,55]),e(R,[2,56],{36:105,31:j}),e(H,[2,49]),e(H,[2,50]),{39:X,49:106,50:U,51:q},e(Y,[2,25],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:k,23:P,24:T,25:D,35:L,37:z}),e(H,[2,32]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,33:V,35:L,37:z,38:[1,108]},e(H,[2,63]),{4:109,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},e(H,[2,45],{48:[1,110]}),{39:X,49:111,50:U,51:q},e(H,[2,51]),e(H,[2,48]),{31:j,36:105},{4:112,6:3,7:4,8:t,9:6,12:i,13:s,17:r,18:a,19:n,27:o,31:d,34:l,39:u,40:c,41:p,42:h,43:m,44:g,45:20,46:x,55:f,56:v},e(J,[2,65],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,33:V,35:L,37:z}),{39:X,49:113,50:U,51:q},e(H,[2,43]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:S,21:$,22:k,23:P,24:T,25:D,26:F,27:B,28:O,29:M,30:N,32:[1,114],33:V,35:L,37:z},e(H,[2,42]),e(H,[2,34])],defaultActions:{25:[2,1]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=this,i=[0],s=[null],r=[],a=this.table,n="",o=0,d=0,l=0,u=r.slice.call(arguments,1),c=Object.create(this.lexer),p={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(p.yy[h]=this.yy[h]);c.setInput(e,p.yy),p.yy.lexer=c,p.yy.parser=this,void 0===c.yylloc&&(c.yylloc={});var m=c.yylloc;r.push(m);var g=c.options&&c.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var x,f,v,b,y,_,C,w,A,E=function(){var e;return"number"!=typeof(e=c.lex()||1)&&(e=t.symbols_[e]||e),e},I={};;){if(v=i[i.length-1],this.defaultActions[v]?b=this.defaultActions[v]:(null==x&&(x=E()),b=a[v]&&a[v][x]),void 0===b||!b.length||!b[0]){var S="";for(_ in A=[],a[v])this.terminals_[_]&&_>2&&A.push("'"+this.terminals_[_]+"'");S=c.showPosition?"Parse error on line "+(o+1)+":\n"+c.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[x]||x)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==x?"end of input":"'"+(this.terminals_[x]||x)+"'"),this.parseError(S,{text:c.match,token:this.terminals_[x]||x,line:c.yylineno,loc:m,expected:A})}if(b[0]instanceof Array&&b.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+x);switch(b[0]){case 1:i.push(x),s.push(c.yytext),r.push(c.yylloc),i.push(b[1]),x=null,f?(x=f,f=null):(d=c.yyleng,n=c.yytext,o=c.yylineno,m=c.yylloc,l>0&&l--);break;case 2:if(C=this.productions_[b[1]][1],I.$=s[s.length-C],I._$={first_line:r[r.length-(C||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(C||1)].first_column,last_column:r[r.length-1].last_column},g&&(I._$.range=[r[r.length-(C||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(I,[n,d,o,p.yy,b[1],s,r].concat(u))))return y;C&&(i=i.slice(0,-1*C*2),s=s.slice(0,-1*C),r=r.slice(0,-1*C)),i.push(this.productions_[b[1]][0]),s.push(I.$),r.push(I._$),w=a[i[i.length-2]][i[i.length-1]],i.push(w);break;case 3:return!0}}return!0}},ee={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,s,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(s=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,s;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((i=this._input.match(this.rules[r[a]]))&&(!t||i[0].length>t[0].length)){if(t=i,s=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,r[a])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,r[s]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,i,s){switch(i){case 0:return this.begin("INITIAL"),46;case 1:return this.begin("INITIAL"),52;case 2:return 54;case 3:return 53;case 4:case 50:return"INVALID";case 5:return 40;case 6:return 44;case 7:return 8;case 8:return 42;case 9:return 41;case 10:case 11:return 43;case 12:break;case 13:return 37;case 14:return 35;case 15:return 27;case 16:return 33;case 17:return 34;case 18:return 10;case 19:return 11;case 20:return 13;case 21:return 12;case 22:return 17;case 23:return 19;case 24:case 27:return 21;case 25:return 18;case 26:return 14;case 28:return 24;case 29:return 25;case 30:return 22;case 31:return 23;case 32:case 39:return 29;case 33:case 38:return 28;case 34:return 30;case 35:case 36:return 20;case 37:return 26;case 40:return 16;case 41:return 15;case 42:return this.begin("fieldname"),55;case 43:return 47;case 44:return 31;case 45:return 32;case 46:return 48;case 47:return 38;case 48:return 56;case 49:return 39;case 51:return 5}},rules:[/^(?:\]\s*\[)/i,/^(?:\])/i,/^(?:\\.)/i,/^(?:.)/i,/^(?:$)/i,/^(?:'(?:[^\']|(?:('')))*')/i,/^(?:\{[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}\})/i,/^(?:##\w+#(?:[^\#]|(?:\.))*#)/i,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?|\.([0-9]+[mfMF]?))/i,/^(?:True\b)/i,/^(?:False\b)/i,/^(?:\s+)/i,/^(?:Between\b)/i,/^(?:In\b)/i,/^(?:Not\b)/i,/^(?:Is\b)/i,/^(?:Null\b)/i,/^(?:\*)/i,/^(?:\/)/i,/^(?:-)/i,/^(?:\+)/i,/^(?:\^)/i,/^(?:~)/i,/^(?:!=)/i,/^(?:!)/i,/^(?:%)/i,/^(?:<>)/i,/^(?:>=)/i,/^(?:<=)/i,/^(?:>)/i,/^(?:<)/i,/^(?:\|\|)/i,/^(?:&&)/i,/^(?:\?\?)/i,/^(?:==)/i,/^(?:=)/i,/^(?:Like\b)/i,/^(?:And\b)/i,/^(?:Or\b)/i,/^(?:&)/i,/^(?:\|)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\()/i,/^(?:\))/i,/^(?:\.)/i,/^(?:,)/i,/^(?:\?)/i,/^(?:[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{fieldname:{rules:[0,1,2,3,4],inclusive:!1},INITIAL:{rules:[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};function te(){this.yy={}}return Q.lexer=ee,te.prototype=Q,Q.Parser=te,new te}();const Nn=Mn;function Vn(e){return Mn.parse(e)}class Ln{constructor(e,t,i,s){this.tokenName=e,this.alphabet=t,this.startTerm=i,this.endTerm=s,this.tokenLength=0,this.isActiveState=!1,this.tokens=[]}_isSubline(e,t){let i=e+t.length-1<this.alphabet.length;for(let s=e;s<e+t.length&&i;s++)i=this.alphabet[s]==t[s-e];return i}_getToken(e){const t={type:this.tokenName,start:e-this.tokenLength+1,end:e+this.endTerm.length};return t.val=this.alphabet.substring(t.start,t.end),t}processTransitionFunction(e){return this.isActiveState&&this.tokenLength++,this._isSubline(e,this.startTerm)&&!this.isActiveState?(this.isActiveState=!0,this.tokenLength+=this.startTerm.length,this.startTerm.length-1):this.isActiveState&&this._isSubline(e,this.endTerm)?(this.isActiveState=!1,this.tokens.push(this._getToken(e)),this.tokenLength=0,this.endTerm.length-1):0}}class zn{static parse(e,t=!1){return e&&""!==e?t?new zn(e).replaceCommentsToChar(" ").getCriteria():new zn(e).replaceCommentsToChar().getCriteria():null}constructor(e){this.stringCriteria=e,this.machineStates=[],this.machineStates.push(new Ln("field",e,"[","]")),this.machineStates.push(new Ln("value",e,"'","'")),this.machineStates.push(new Ln("comment",e,"/*","*/")),this._inputStringCriteria=e}_tokenize(){for(let e=0;e<this.stringCriteria.length;e++){let t=0;this.machineStates.forEach(i=>{if(t)return;this.machineStates.filter(e=>e!=i&&e.isActiveState).length||(t=i.processTransitionFunction(e))}),e+=t}let e=[];return this.machineStates.forEach(t=>{e=e.concat(t.tokens),t.tokens=[]}),e}_replaceTokenToAnotherToken(e,t,i){let s=this.stringCriteria;return(e=e.filter(e=>e.type==i).sort((e,t)=>t.start-e.start)).forEach(e=>{const i=e.val.split("\n");let r=e.start,a=e.end;i.forEach(i=>{a=i.length+r!==e.end?r+i.length:e.end,s=qe(s,r,a-r,t),r=i.length*t.length+1})}),s}replaceCommentsToChar(e=""){return this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),e,"comment"),this}getCriteria(){return Vn(this._inputStringCriteria)}}class Hn{static _getCharFromKeyCode(e){return!1===e.ctrlKey&&1===e.key.length?e.key:null}static _getCaretPosition(e){let t,i,s,r,a,n=-1,o=-1;try{"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(n=e.selectionStart,o=e.selectionEnd):document.selection&&(i=document.selection.createRange(),i&&i.parentElement()==e&&(r=e.value.length,t=e.value.replace(/\r\n/g,"\n"),s=e.createTextRange(),s.moveToBookmark(i.getBookmark()),a=e.createTextRange(),a.collapse(!1),s.compareEndPoints("StartToEnd",a)>-1?n=o=r:(n=-s.moveStart("character",-r),n+=t.slice(0,n).split("\n").length-1,s.compareEndPoints("EndToEnd",a)>-1?o=r:(o=-s.moveEnd("character",-r),o+=t.slice(0,o).split("\n").length-1))))}catch(e){}return{start:n,end:o}}static _validate(e,t,i){if(!/^(0|(-?(([1-9]\d*)|(0\.\d+)|([1-9]\d*\.\d+)|(\d*\.\d+[eE][+\-]?\d+))))$/.test(e))return!1;if(!i)return!0;const s="-"===e[0],r=s?e.substring(1):e;if(s&&!t)return!1;const a=s?t.substring(1):i,[n,o]=r.toLowerCase().split("e"),[d,l]=a.toLowerCase().split("e");let u,c,p,h;[u,c]=n.split("."),[p,h]=d.split("."),u=(u||"").replace(/^0+/,""),p=(p||"").replace(/^0+/,"");let m=u.length;o&&(m+=parseInt(o));let g=p.length;return l&&(g+=parseInt(l)),m<g||!(m>g)&&(c=c||"0",h=h||"0",!(u+c>p+h))}static validateWidgetValue(e,t,i){t(e.component.option("value"))||e.component.option("value",i)}static getNumberEditorOptions(e,t,i={},s=!1){const r=Hn.editors[e]||Hn.editors[t];return r?Hn.getValueEditorOptions(r.regExpEditing,e=>!(!s||null!==e)||Hn._validate(e,r.minValue,r.maxValue),"",i):i}static getValueEditorOptions(e,t,i,s={}){return xe({},s,{onFocusIn:e=>{Hn.validateWidgetValue(e,t,i),Hn._invokeStandardHandler(s,"onFocusIn",e)},onKeyDown:t=>{const i=Hn._getCharFromKeyCode(t.event);if(!i)return;const r=V(t.element).find("input")[0];let a=V(r),n=Hn._getCaretPosition(a.get(0));const o=r.value;n.start<0&&(n=o?o.length:0);const d=[o.slice(0,n.start),i,o.slice(n.end)].join("");e.test(d)||t.event.preventDefault(),a=null,Hn._invokeStandardHandler(s,"onKeyDown",t)},onPaste:t=>{const i=t.event.originalEvent.clipboardData||window.clipboardData||{},r=i.getData&&i.getData("Text");if("string"!=typeof r)return;const a=V(t.element).find("input")[0];let n=V(a);const o=Hn._getCaretPosition(n.get(0)),d=a.value;o.start<0&&(o.end=o.start=d?d.length:0);const l=[d.slice(0,o.start),r,d.slice(o.end)].join("");e.test(l)||t.event.preventDefault(),n=null,Hn._invokeStandardHandler(s,"onPaste",t)},onValueChanged:e=>{e.value!==i&&this.validateWidgetValue(e,t,e.previousValue),Hn._invokeStandardHandler(s,"onValueChanged",e)}})}static isValid(e,t,i){const s=Hn.editors[e]||Hn.editors[t];return s.regExpEditing.test(i)&&Hn._validate(i,s.minValue,s.maxValue)}static _invokeStandardHandler(e,t,i){ge(e[t])&&e[t](i)}}function Rn(e,t,i){const s=""+e;return Hn.isValid(i,"integer",s)?s:t}function jn(e,t,i){if(i.filter(t=>e===t.value)[0])return e;const s=i.filter(t=>e===t.displayName||e===t.name)[0];return s?s.value:t}function Wn(e){const t=new L;try{const i=[],s=(t,s,r=!1)=>{const a=Ye(Rt("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),r?"?"+s:"["+s+"]"),n=new L;e.fieldListProvider.getItemByPath(new ha(t)).done(e=>n.resolve({success:!0})).fail(i=>{t===s?n.resolve({success:!1,message:a}):e.fieldListProvider.getItemByPath(new ha([t.split(".")[0],s].join("."))).done(e=>n.resolve({success:!0})).fail(e=>n.resolve({success:!1,message:a}))}),i.push(n)};Fn(zn.parse(e.expression),(t,i)=>{if(t instanceof Sn){const r=0===t.propertyName.indexOf("^.")?t.propertyName.substring(2):t.propertyName;let a=r;-1===(e.rootItems||[]).indexOf(r.split(".")[0])&&i&&(a=r?[i,r].join("."):i),s(a,r)}else if(t instanceof In){const e=t.parameterName;s("Parameters."+e,e,!0)}},e.path),L.when(i).done(e=>t.resolve(e.reduce((e,t)=>(t.success||(e=e?[e,t.message].join("\n"):t.message),e),"")))}catch(e){t.reject()}return t.promise()}function Gn(e,t,i){const s=""+e;return Hn.isValid(i,"float",s)?s:t}Hn.editors={integer:{regExpEditing:/^-?\d*$/},float:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d+)?$/},[Z.SystemByte]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"255"},[Z.SystemSByte]:{regExpEditing:/^-?\d*$/,minValue:"-128",maxValue:"127"},[Z.SystemInt16]:{regExpEditing:/^-?\d*$/,minValue:"-32768",maxValue:"32767"},[Z.SystemUInt16]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"65535"},[Z.SystemInt32]:{regExpEditing:/^-?\d*$/,minValue:"-2147483648",maxValue:"2147483647"},[Z.SystemUInt32]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"4294967295"},[Z.SystemInt64]:{regExpEditing:/^-?\d*$/,minValue:"-9223372036854775808",maxValue:"9223372036854775807"},[Z.SystemUInt64]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"18446744073709551615"},[Z.SystemSingle]:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-3.40282347e+38",maxValue:"3.40282347e+38"},[Z.SystemDouble]:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-1.7976931348623157e+308",maxValue:"1.7976931348623157e+308"},[Z.SystemDecimal]:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-79228162514264337593543950335",maxValue:"79228162514264337593543950335"},[Z.SystemDateTime]:{type:"datetime"},[Z.SystemDateOnly]:{type:"date"},[Z.SystemTimeOnly]:{type:"time"}};let Un=e=>(e=e||un().current())&&["dark","contrast"].some(t=>-1!==e.indexOf(t));function qn(e){Un=e}function Kn(e,t,i){if(!e||e<=0)return;const s=t.getCursorPosition();let r=i.lastIndexOf("(");"'"===i.charAt(r+1)&&r++,t.gotoLine(s.row+1,s.column-(i.length-1-r))}function Yn(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics}function Zn(e,t=".dx-designer-viewport"){return V(e).closest(t)[0]}function Jn(e){return null==e||""===e}function Xn(e){return Zs(e).generateProperty("toolbarItems",this.mapActionToViewModels(Gt.unwrap(this.toolbarItems))).generateProperty("processShortcut",e=>this.processShortcut(e)).getViewModel()}function Qn(e,t){const i=e.displayText&&e.displayText()||e.text;let s=Gt.unwrap(e.disabled),r=Gt.unwrap(e.selected),a=Gt.unwrap(e.imageClassName);const n=()=>{const t=["dxrd-toolbar-item-image","dxd-state-normal","dxd-icon-highlighted"];return a&&t.push(Gt.unwrap(e.imageClassName)),s&&t.push("dxrd-disabled-button"),r&&t.push("dxd-button-back-color dxd-back-highlighted dxd-state-active"),t.join(" ")},o=e=>e?"true":"false",d=Zs().generateProperty("aria-disabled",o(Gt.unwrap(e.disabled))).generateProperty("aria-label",i);void 0!==e.selected&&d.generateProperty("aria-pressed",o(Gt.unwrap(e.selected)));const l=Zs().createDefaultModel(e).generateProperty("ref",da()).generateProperty("disabled",Gt.unwrap(e.disabled)).generateProperty("displayText",i).generateProperty("selected",Gt.unwrap(e.selected)).generateProperty("visible",Gt.unwrap(e.visible)).generateProperty("templateName",e.templateName).generateProperty("hasSeparator",e.hasSeparator).generateProperty("click",t=>{Gt.unwrap(e.disabled)||e.clickAction(t)}).generateProperty("actionClass",`dxrd-toolbar-item-${t} ${e.hasSeparator?"dxrd-toolbar-item-with-separator dxd-border-primary":""}`).generateProperty("block",Zs().generateProperty("attr",d.getViewModel()).getViewModel()).generateProperty("image",Zs().generateProperty("templateName",Gt.unwrap(e.imageTemplateName)).generateProperty("class",n()).getViewModel()).getViewModel();if(this.subscribe(e,"text",()=>{const t=e.displayText&&e.displayText()||e.text||"";l.displayText=t,l.block.attr["aria-label"]=t}),this.subscribe(e,"imageTemplateName",e=>{l.image.templateName=e}),this.subscribe(e,"imageClassName",e=>{a=e,l.image.class=n()}),this.subscribe(e,"disabled",e=>{s=e,l.disabled=e,l.block.attr["aria-disabled"]=o(e),l.image.class=n()}),this.subscribe(e,"visible",e=>{l.visible=e}),this.subscribe(e,"selected",e=>{r=e,l.image.class=n(),l.block.attr["aria-pressed"]=o(e)}),this.subscribeOnChanges(e,l,["disabled","visible","selected"]),"contentData"in e)return Zs(l).generateProperty("contentData",e.contentData).getViewModel();if("zoom"in e){const t=Zs(l).generateProperty("templateName",e.templateName).generateProperty("getPopupContainer",Zn).generateProperty("widget",Zs().generateProperty("dataSource",Gt.unwrap(e.zoomLevels)).generateProperty("displayExpr",e.displayExpr).generateProperty("value",Gt.unwrap(e.zoom)).generateProperty("onCustomItemCreating",e.onCustomItemCreating).generateProperty("onValueChanged",t=>{Gt.isSubscribable(e.zoom)?e.zoom(t.value):e.zoom=t.value}).getViewModel()).getViewModel();return this.subscribe(e,"zoomLevels",e=>{t.widget.dataSource=e}),this.subscribe(e,"zoom",e=>{t.widget.value=e}),t}return l}const eo=DevExpress.devices;var to=e.n(eo),io=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class so extends ar{createViewModel(){return Xn.call(this,super.createViewModel())}constructor(e){super(),this.toolbarItems=[],this.enabled=e||(()=>!0)}subscribeOnChanges(e,t,i){i.forEach(i=>{this.subscribe(e,i,()=>{t[i]=Gt.unwrap(e[i])})})}subscribe(e,t,i){const s=e[t];Gt.isSubscribable(s)?this.addDisposable(s.subscribe(e=>{i(e),this.events.call("propertyChanged")})):e instanceof tr&&this.addDisposable(e.events.on(`${t}Changed`,e=>{i(e.newValue),this.events.call("propertyChanged")}))}createActionViewModel(e,t){return e.getViewModel?e.getViewModel(this,t):Qn.call(this,e,t)}onPropertyChanged(e){}updateViewModel(e){"toolbarItems"===e.propertyName&&(this.getViewModel().toolbarItems=this.mapActionToViewModels(Gt.unwrap(this.toolbarItems)))}mapActionToViewModels(e){return e.map((e,t)=>this.createActionViewModel(e,t))}getActions(){return Gt.unwrap(this.toolbarItems)}actionAvailableAtTarget(e,t){return!0}processShortcut(e){const t=this.getActions(),i=to().real().mac,s=t=>{if(this.actionAvailableAtTarget(t,e)){e.preventDefault(),t.clickAction?.(e);const i=t.getAccessibilityActivationMessage?.();i&&this.accessibilityAnnouncer?.(i)}},r=(t,r)=>{const a=void 0!==r?t.hotKey[r]:t.hotKey;a.altKey??(a.altKey=!1),a.ctrlKey??(a.ctrlKey=!1);const n=a.altKey===e.altKey,o=i&&a.ctrlKey===e.metaKey||!i&&a.ctrlKey===e.ctrlKey;a.keyCode===e.keyCode&&n&&o&&s(t)},a=e=>{e.hotKey.forEach((t,i)=>{r(e,i)})};for(let e=0;e<t.length;e++){const i=t[e],s=!Gt.unwrap(i.disabled),n=Gt.unwrap(i.visible);i.hotKey&&s&&n&&(Array.isArray(i.hotKey)?a(i):r(i))}}shouldIgnoreProcessing(e){if(!this.enabled())return!0;const t=V(document.activeElement);return!!(t.is("textarea")||t.isInput()&&-1!=["password","text","number"].indexOf(document.activeElement.getAttribute("type")))}}io([ir(()=>[])],so.prototype,"toolbarItems",void 0);class ro extends ar{constructor(e){super(),e&&Object.keys(e).forEach(t=>this[t]=e[t])}onPropertyChanged(e){}createViewModel(e,t){return Qn.call(e,this,t)}getViewModel(e,t){return this.__viewModel||(this.__viewModel=this.createViewModel(e,t)),this.__viewModel}isVisible(){return!0}isDisabled(){return!1}}io([ir(!1)],ro.prototype,"imageClassName",void 0),io([ir(!1)],ro.prototype,"imageTemplateName",void 0),io([ir(!1)],ro.prototype,"disabled",void 0),io([ir(!0)],ro.prototype,"visible",void 0),io([ir(void 0)],ro.prototype,"selected",void 0),io([ir(void 0)],ro.prototype,"text",void 0);class ao extends so{createViewModel(){return Zs(super.createViewModel()).generateProperty("menuItems",this.mapActionToViewModels(os.unwrap(this.menuItems))).generateProperty("toolbarItems",this.mapActionToViewModels(Gt.unwrap(this.toolbarItems))).getViewModel()}_registerAction(e,t){t.index?e.splice(t.index,0,t):e.push(t)}constructor(e,t,i,s,r,a,n=os.observable(.01),o=e=>!1){super(r),this.menuItems=[];const d=new an(t,a),l=[];if(t){const s=os.computed(()=>t.selectedItems.some(e=>e.locked||o(e)));this._disposables.push(s),this._keyboardHelper=new et(t,i),this._disposables.push(this._keyboardHelper),l.push({id:nn.Cut,text:"Cut",displayText:()=>Rt("Cut","AnalyticsCoreStringId.EditCut"),imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:os.pureComputed(()=>!e()||!d.canCopy()||s()),visible:!0,clickAction:()=>{i().start(),d.cut(),i().end()},hasSeparator:!0,hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),l.push({id:nn.Copy,text:"Copy",displayText:()=>Rt("Copy","AnalyticsCoreStringId.Cmd_Copy"),imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:os.pureComputed(()=>!e()||!d.canCopy()||s()),visible:!0,clickAction:()=>{d.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),l.push({id:nn.Paste,text:"Paste",displayText:()=>Rt("Paste","AnalyticsCoreStringId.Cmd_Paste"),imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:os.pureComputed(()=>!e()||!d.canPaste()||s()),visible:!0,clickAction:()=>{i().start(),d.paste(),i().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),l.push({id:nn.Delete,text:"Delete",displayText:()=>Rt("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:os.pureComputed(()=>!t.focused()||(t.focused().getControlModel().getMetaData().isDeleteDeny||s())),visible:!0,hotKey:{ctrlKey:!1,keyCode:46},hasSeparator:!0,clickAction:()=>{i().start(),Wa(t),i().end()}})}l.push({id:nn.Undo,text:"Undo",displayText:()=>Rt("Undo","AnalyticsCoreStringId.Undo"),imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:os.pureComputed(()=>!e()||!i()||i()&&!i().undoEnabled()),visible:!0,clickAction:()=>{i().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),l.push({id:nn.Redo,text:"Redo",displayText:()=>Rt("Redo","AnalyticsCoreStringId.Redo"),imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:os.pureComputed(()=>!e()||!i()||i()&&!i().redoEnabled()),visible:!0,clickAction:()=>{i().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),l.push({id:nn.ZoomOut,text:"Zoom Out",displayText:()=>Rt("Zoom Out","AnalyticsCoreStringId.ZoomOut"),imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",disabled:os.pureComputed(()=>!e()),visible:!0,hotKey:[{ctrlKey:!1,keyCode:109},{ctrlKey:!0,keyCode:189}],zoomStep:n,isContextMenuAction:!1,clickAction:()=>{e().zoom(Math.max(e().zoom()-n(),.01))},hasSeparator:!0}),l.push({id:nn.ZoomSelector,text:"Zoom 100%",displayText:()=>Rt("Zoom 100%"),imageClassName:"dxrd-image-zoom",disabled:os.pureComputed(()=>!e()),visible:!0,hotKey:{ctrlKey:!0,keyCode:48},clickAction:()=>{e().zoom(1)},displayExpr:function(e){return Math.round(100*(e||this.option("value")))+"%"},templateName:"dxrd-zoom-select-template",zoomLevels:os.observableArray([5,2,1.5,1,.75,.5,.25]),zoom:os.pureComputed({read:()=>e()&&e().zoom(),write:t=>{e()&&e().zoom(t)}}),isContextMenuAction:!1,onCustomItemCreating:e=>{e.customItem=on(e.text)}}),l.push({id:nn.ZoomIn,text:"Zoom In",displayText:()=>Rt("Zoom In","AnalyticsCoreStringId.ZoomIn"),imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",disabled:os.pureComputed(()=>!e()),visible:!0,hotKey:[{ctrlKey:!1,keyCode:107},{ctrlKey:!0,keyCode:187}],zoomStep:n,isContextMenuAction:!1,clickAction:()=>{e().zoom(e().zoom()+n())}}),s&&s(l),l.forEach(e=>{Object.keys(e).forEach(t=>{os.isComputed(e[t])&&this._disposables.push(e[t])}),this._registerAction("menu"===e.container?this.menuItems:os.unwrap(this.toolbarItems),e)})}processShortcut(e){this.shouldIgnoreProcessing(e)||(this._keyboardHelper.processShortcut(e)?e.preventDefault():super.processShortcut(e))}getActions(){return super.getActions().concat(this.menuItems)}}class no extends x{constructor({actions:e,target:t,getClickActionParams:i,contextMenusEnabled:s,fullScreen:r}){super(),this.hideOnOutsideClick=!0,this.actions=e,this.target=t;const a=()=>this.actions().reduce((e,t)=>t.group?[...e,{text:t.group,items:t.items.filter(e=>e.isContextMenuAction??!0)}]:t.isContextMenuAction??1?[...e,t]:e,[]);this.dataSource=os.observable(a()),this.addDisposable(this.actions.subscribe(e=>{this.dataSource(a())}));const n=e=>{this.overlayContainerClass=".dx-designer-viewport",!e&&this.getPopupContainer(".dx-blazor-reporting")&&(this.overlayContainerClass=".dx-blazor-reporting"),this.component?._overlay?._positionController&&this.component.option("overlayContainer",this.getPopupContainer(this.overlayContainerClass))};r&&(n(r()),this.addDisposable(r.subscribe(e=>{n(e)}))),this.itemTemplate=(e,t,i)=>{if(e.hasSeparator){const e=document.createElement("div");e.style.borderBottomWidth="1px",e.style.borderBottomStyle="solid",e.style.color="#E6E6E6",e.style.width="100%",V(i).parent().prepend(e)}return V(i).css({padding:"3px 5px 5px"}),Xt("dxrd-context-menu-item")},this.onItemClick=e=>{if((!("disabled"in e.itemData)||!os.unwrap(e.itemData.disabled))&&e.itemData.clickAction){const t=i&&i();e.itemData.clickAction(t),e.component.hide()}},this.onInitialized=e=>{this.component=e.component,this._menuElement=k(e.element)},this.onOptionChanged=e=>{if("visible"===e.name&&e.value&&this.component?._overlay?._positionController?.$container){const e=this.getPopupContainer(this.overlayContainerClass);this.component._overlay._positionController.updateContainer(e),this.component.option("overlayContainer",e)}},this.disabled=os.observable(!s()),this._disposables.push(s.subscribe(e=>{this.disabled(!e)}))}hide(){this.component&&this.component.hide()}dispose(){super.dispose(),this._menuElement=null,this.component=null}getPopupContainer(e){return this._menuElement?.closest(e)}}class oo{isPropertyVisible(e){if(!e._get("_model"))return!1;const t=e._get("_model");let i=!t.isPropertyVisible||t.isPropertyVisible(e.name);return i&&(i=this._calculateAccessibilityByPropertyInfo(t,e._get("info").visible,!0)),i}isPropertyDisabled(e){if(!e._get("_model"))return!0;const t=e._get("_model");return t.isPropertyDisabled&&t.isPropertyDisabled(e.name)||this._calculateAccessibilityByPropertyInfo(t,e._get("info").disabled,!1)}_calculateAccessibilityByPropertyInfo(e,t,i){let s;return s=Gt.isSubscribable(t)?t():"function"==typeof t?t(e):void 0!==t?t:i,s}}const lo=new oo,uo=DevExpress.validationEngine;var co=e.n(uo);class po extends x{dispose(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,super.dispose()}constructor(e){super(),this._editor=e,this._lastValidatorOptions=null,this._lastModelOverridableRules=null,this._onValidatedHandler=void 0}_isValid(e,t){return this.onValidatedHandler=void 0,this.validatorInstance?((e||[]).forEach(e=>e&&(e.validator=this.validatorInstance)),this.validatorInstance.validate()):co().validate(t,e,this._editor._get("displayName"))}get validatorInstance(){return this._validatorInstance}set validatorInstance(e){this._validatorInstance&&this.onValidatedHandler&&this._validatorInstance.off("validated",this._onValidatedHandler),this._validatorInstance=e}get onValidatedHandler(){return this._onValidatedHandler}set onValidatedHandler(e){this._onValidatedHandler&&this.validatorInstance&&(this.validatorInstance.off("validated",this._onValidatedHandler),this._onValidatedHandler=e,e&&this.validatorInstance.on("validated",this._onValidatedHandler))}getValidationRules(){const e=(this.getValidatorOptions()||{}).validationRules;return e||(null===e?null:[])}getValidatorOptions(e={}){const t=this._editor.peek(this._editor._get("info","wrapped"));if(!t)return;let i=this._lastValidatorOptions;const s=this._editor._getEditorValidationRules();if(i&&!this.areRulesChanged(s))return i;this._lastModelOverridableRules=s;const r=this._concatValidationRules(t.validatorOptions,s),a="function"==typeof t.editor.extendedOptions?t.editor.extendedOptions():t.editor.extendedOptions,n=a?.validatorOptions;return i=xe({},e,t.validatorOptions,{validationRules:r},n),this._wrapValidatorEvents(i),this._lastValidatorOptions=i,i}areRulesChanged(e){return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!e||!e.length||(e.length!==this._lastModelOverridableRules.length||!e.every(e=>this._lastModelOverridableRules.some(t=>e.message===t.message&&e.validationCallback===t.validationCallback&&e.type===t.type))):e&&e.length}wrapOnValidatorInitialized(e){const t=e.onInitialized,i=this;e.onInitialized=function(e){i._onValidatorInitialized(e),t&&t.apply(this,arguments)}}_onValidatorInitialized(e){this.validatorInstance=e&&e.component}_concatValidationRules(e,t){return e&&e.validationRules||t?((e||{}).validationRules||[]).concat(t||[]):null}_wrapValidatorEvents(e){if(e&&e.validationRules&&e.validationRules.length)return this.wrapOnValidatorInitialized(e),e}assignWithValidation(e,t){const i=this.getValidationRules(),s=!i||i.some(e=>e.assignValueFirst);s&&t();const r=this._isValid(i,e);r.isValid?s||t():r.brokenRule&&r.brokenRule.isDeferred&&(this.onValidatedHandler=e=>{this.onValidatedHandler=void 0,e.isValid&&t()})}}function ho(e){let t;const i=Zs(e).generateProperty("getOptions",e=>this.getOptions({onValueChanged:e=>{this._set("value",e.value)},...e})).generateProperty("onValueChanged",e=>{this._set("value",e.value)}).generateProperty("getPopupContainer",Zn).generateProperty("setCollapsed",e=>{this._set("collapsed",e)}).generateProperty("editorOptions",this.unwrap(this.editorOptions)).generateProperty("extendedOptions",this._getExtendedOptions()).generateProperty("getCollapsed",()=>this._get("collapsed")).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("editorCreated",this.unwrap(this.editorCreated)).generateProperty("getLocalization",_e).generateProperty("getValidatorOptions",e=>this.getValidatorOptions(e)).generateProperty("onCustomItemCreating",e=>({value:e.text,displayValue:e.text})).generateProperty("value",this.unwrap(this.value)).generateProperty("disabled",this.unwrap(this.disabled)).generateProperty("displayName",this.unwrap(this.displayName)).generateProperty("description",this.unwrap(this.description)).generateProperty("editorDescriptionAddon",this.editorDescriptionAddon).generateProperty("validationRules",this.unwrap(this.validationRules)).generateProperty("validatorOptions",this.unwrap(this.validatorOptions)).generateProperty("level",this.unwrap(this.level)).generateProperty("padding",this.unwrap(this.padding)).generateProperty("editorInputId",this.editorInputId).generateProperty("values",this.unwrap(this.values)).generateProperty("info",this.unwrap(this.info)).generateProperty("templateName",this.unwrap(this.templateName)).generateProperty("contentTemplateName",this.unwrap(this.contentTemplateName)).generateProperty("editorTemplate",this.unwrap(this.editorTemplate)).generateProperty("isPropertyHighlighted",this.unwrap(this.isPropertyHighlighted)).generateProperty("collapsed",this.unwrap(this.collapsed)).generateProperty("isComplexEditor",this.isComplexEditor).generateProperty("headerId",this.headerId).generateProperty("contentId",this.contentId).generateProperty("alwaysShow",this.unwrap(this.alwaysShow)).generateProperty("textToSearch",this.unwrap(this.textToSearch)).generateProperty("isRequired",this.isRequired).generateProperty("isPropertyModified",this.unwrap(this.isPropertyModified)).generateProperty("visible",this.unwrap(this.visible)).generateProperty("setIsRendered",e=>this.setIsRendered(e)).generateProperty("labelAttributes",this.unwrap(this.labelAttributes)).getViewModel();return this.subscribeOnChanges(i,["value","disabled","displayName","validationRules","validatorOptions","level","padding","values","info","templateName","isPropertyHighlighted","textToSearch","collapsed","alwaysShow","isPropertyModified","editorOptions","editorCreated","visible","labelAttributes"]),this.addDisposable(this.subscribeProperty("collapsed",e=>{t&&t()})),i}var mo=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};function go(e){return e instanceof xo?e:e.getModel()}class xo extends nr{createViewModel(){return ho.call(this,super.createViewModel())}_setPadding(e,t){const i={};return i["padding-"+e]=t,i}dispose(){this._validator&&this._validator.dispose(),this._validator=null,this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),super.dispose(),this._cachedValue=null,this._set("_model",null)}constructor(e,t,i,s=void 0,r,a,n="multiplatform"){super(void 0,void 0,n),this.rtl=Bi()().rtlEnabled,this._validator=new po(this),this._cachedValue=void 0,this.isRequired=!1,i||(i=this._getEngine().wrap(!1)),this.assignProperty("info",e),this.addDisposable(this.createComputedProperty("displayName",{read:()=>{const e=this._get("info");return e&&Rt(e.displayName,e.localizationId)},write:e=>{}},[gt(this,["info"])])),this.addDisposable(this.createComputedProperty("description",{read:()=>{const e=this._get("info");return e&&Rt("",e.descriptionLocalizationId||`${e.localizationId}.Description`)},write:e=>{}},[gt(this,["info"])])),a&&this.unwrap(this.description)&&(this.editorDescriptionAddon=fo(this,a)),s&&(this.textToSearch=s,this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>this._get("isParentSearched")||!!We(this._get("displayName"),s()),[gt(this,["isParentSearched","displayName"])])),this.padding=this._setPadding(this.rtl?"right":"left",t*mn()),this.assignProperty("defaultValue",null);const o=e.propertyName;this.addDisposable(this.createComputedProperty("_editorOptions",()=>this._get("info").editorOptions,[gt(this,["info"])])),this.validatorOptions=e.validatorOptions,this.isRequired=e.isRequired,void 0!==e.defaultVal&&this.assignProperty("defaultValue",e.defaultVal),e.from&&(this.defaultValue=e.from(e.defaultVal,"multiplatform"===this._engineType?bt():vt())),e.array&&this.assignArrayProperty("defaultValue",[]),this.addDisposable(this.createComputedProperty("values",()=>{const e=this._get("info");let t=e.valueStore||e.valuesArray;return t||(t=this.unwrap(e.values),t?Object.keys(t).map(e=>({value:e,displayValue:t[e]})):void 0)},[gt(this,[{propertyName:"info",subscribables:["values","valueStore","valuesArray"]}])])),this.level=t,this._init(e.editor,o),this.addDisposable(this.createComputedProperty("disabled",()=>{const e=this._get("_accessibilityProvider"),t=this._get("_parent");return t?._get("disabled")||e&&e.isPropertyDisabled(this)},[gt(this,["_accessibilityProvider",{propertyName:"_parent",subscribables:["disabled"]}]),gt(this._get("_model"),"*")].concat(this._getModelSubscribableProperties("disabled")))),this.addDisposable(this.createComputedProperty("visible",()=>this._checkVisibility(),[gt(this,["_accessibilityProvider"])].concat(this._getModelSubscribableProperties("visible")))),this.addDisposable(this.createComputedProperty("isPropertyModified",()=>{const e=this._get("_model");return!!(e&&e.isPropertyModified&&e.isPropertyModified(this.name))},this._getModelSubscribableProperties("modified"))),this.addDisposable(this.createComputedProperty("isPropertyHighlighted",()=>{if(this._shouldSkipHighlighting(this.name))return!1;const e=this._get("_model");return!!(e&&e.isPropertyHighlighted&&e.isPropertyHighlighted(this.name))},this._shouldSkipHighlighting(this.name)?[]:this._getModelSubscribableProperties("highlighted"))),this.headerId=`dxrd-accordion-trigger-${da()}`,this.contentId=`dxrd-accordion-pannel-${da()}`,this.editorInputId=`dxrd-editor-${da()}`,this.addDisposable(this.createComputedProperty("labelAttributes",()=>{const e=this.isComplexEditor||["dx-boolean","dxrd-textalignment","dxrd-borders"].includes(this.templateName)||!this._get("isRendered")?null:this.editorInputId,t=e||"dx-boolean"!==this.templateName?null:this.editorInputId;return{title:this._get("displayName"),for:e,"data-dx-for":t}},[gt(this,["isRendered","displayName"])]))}_checkVisibility(){const e=this._get("_accessibilityProvider");return this._get("isSearchedProperty")&&e?.isPropertyVisible(this)}_shouldSkipHighlighting(e){return this.isComplexEditor}_assignValue(e,t,i,s){yt.setPropertyValue(t,s,i,e)}_roundTwoDecimalsForUnitProperties(e,t,i){const s=t&&t.constructor&&t.constructor.unitProperties;return s&&-1!==s.indexOf(i)?hs(e):e}_init(e,t){e=e||ls.getEditor("text"),this.templateName=e.header,this.contentTemplateName=e.content,this._cachedValue=void 0,this.addDisposable(this.createComputedProperty("value",{read:()=>{const e=this._get("_model");if(!e&&this._cachedValue)return this._cachedValue;const i=e&&void 0!==e[t]?e[t]:this._get("defaultValue","wrapped");if(i&&"object"!=typeof i&&!i.push){const s=this.unwrap(i),r=null!=s;return this._cachedValue=r?this._roundTwoDecimalsForUnitProperties(s,e,t):void 0,this._cachedValue}return this._cachedValue=i,this._cachedValue},write:e=>{const i=this._get("_model");if(!i)return;const s=i[t];this._validator.assignWithValidation(e,()=>{this._assignValue(s,i,e,t)})}},[gt(this,["defaultValue",{propertyName:"_model",subscribables:[t]}])])),this.name=t,this.editorTemplate=e?.custom||"dx-property-editor"}_getInfoFromModel(e){if(!e)return null;const t=e.getInfo?.();return t?t.filter(e=>e.propertyName===this.name)[0]:null}_getModelSubscribableProperties(e){return[gt(this,[{propertyName:"_model",subscribables:"*",computedProperties:()=>{const t=this._get("_model");return t?.getPropertyDependencies?.(this.name,e)||[]}}])]}onPropertyChanged(e){const t=this.__viewModel;t&&this.values&&("value"==e.propertyName||"values"==e.propertyName)&&(t.values=this.unwrap(this.values))}update(e){if(e){const t=this._getInfoFromModel(e),i=t&&je(t.editor,this._get("info").editor);i&&this._get("info")!==t&&this._set("info",t),this._set("_model",!(this.name in e)||!i&&t?null:e)}else this._set("_model",null)}getOptions(e){return xe(!0,{},e,this.editorOptions,this._getExtendedOptions())}_getExtendedOptions(){const e=this._get("info","peek").editor.extendedOptions;return"function"==typeof e?e():e}getValidatorOptions(e){return this._validator&&this._validator.getValidatorOptions(e)}registerAccessibilityProvider(e){this._get("_accessibilityProvider")!=e&&this._set("_accessibilityProvider",e)}assignParent(e){this._get("_parent")!=e&&this._set("_parent",e)}_getEditorValidationRules(){const e=this.unwrap(this.info);if(!e)return;const t=e.validationRules;return t||(null===t?null:[])}getValidationRules(){return this._validator&&this._validator.getValidationRules()}setIsRendered(e){this._set("isRendered",e)}get validationRules(){return this.getValidationRules()}get fullDisplayName(){return this._get("displayName")+(this.parentName??"")}getPopupServiceActions(){const e=this._get("_model");if(!e)return;const t=(e.actions||[]).concat();return(e.actionProviders||[]).forEach(e=>{(e&&e.getActions(this.name)||[]).forEach(e=>t.push(e))}),t}get editorOptions(){return this.unwrap(this._editorOptions)}get isComplexEditor(){return!!this.contentTemplateName}}function fo(e,t){const i=go(e);return{templateName:"dx-property-grid-editor-description",data:{onClick:e=>{t.data=i._get("description"),t.target=e.element,t.visible=!t.visible}}}}mo([ir()],xo.prototype,"_model",void 0),mo([ir(null)],xo.prototype,"_parent",void 0),mo([ir(!0)],xo.prototype,"isSearchedProperty",void 0),mo([ir(!1)],xo.prototype,"isParentSearched",void 0),mo([ir(()=>lo)],xo.prototype,"_accessibilityProvider",void 0),mo([ir(!1)],xo.prototype,"isEditorSelected",void 0),mo([ir(!1)],xo.prototype,"isRendered",void 0),mo([ir(!0)],xo.prototype,"editorCreated",void 0),mo([ir(!0)],xo.prototype,"collapsed",void 0),mo([ir(!1)],xo.prototype,"alwaysShow",void 0);class vo extends nr{_updateActions(e){this._popupService.actions([]),e&&e.length&&(e.sort((e,t)=>e.title<t.title?-1:e.title>t.title?1:0).sort((e,t)=>(e.weight||0)-(t.weight||0)),this._wrapVisibleItems(e,this._editor.name).forEach(e=>{this._popupService.actions.push(e)}))}_getTitles(e,t=[],i=[]){const s=Gt.unwrap(e.title);(e.items||[]).forEach(e=>{const r=s?t.concat([s]):t;this._getTitles(e,r,i)});const r=Gt.unwrap(e.hint);if(!r||!s)return;const a=t.concat([s]).join(". ");return i.push(a+":\n"+r+"\n"),i}_wrapVisibleItems(e,t){if(e)return e.map(e=>this._wrapActionClick(e,t)).filter(e=>!!e)}_wrapActionClick(e,t){return this.actionFilter(e)?{id:e.id,items:this._wrapVisibleItems(e.items,t),innerTemplate:e.innerTemplate,itemTemplate:e.itemTemplate,action:()=>{e.action(t),this._popupService.visible(!1)},title:e.title,hint:e.hint,visible:()=>!0}:null}constructor(e,t,i){super(void 0,void 0,i),this.templateName=null,this._editor=e,this._popupService=t,this.addDisposable(this.createComputedProperty("_actions",()=>(e.getPopupServiceActions()||[]).filter(e=>this.actionFilter(e)),[],void 0,!0),this.createComputedProperty("visible",()=>this._get("_actions").length>0,[],void 0,!0),this.createComputedProperty("hint",()=>{const e=[];return this._get("_actions").forEach(t=>this._getTitles(t,[],e)),e.join("\n")},[],void 0,!0),this.createComputedProperty("editorMenuButtonCss",()=>{const t=e._get("_model");return t&&t.getActionClassName&&t.getActionClassName(e.name)||""},[],void 0,!0),this.createComputedProperty("imageTemplateName",{read:()=>{if(void 0!==this._imageTemplateName)return this._imageTemplateName;const t=e._get("_model");return t&&t.getMenuBoxTemplate&&t.getMenuBoxTemplate(e.name)||""},write:e=>{this._imageTemplateName=e}},[],void 0,!0))}showPopup(e,t){this._editor._get("disabled")||(this._popupService.title(this._editor._get("displayName")),this._updateActions(this._editor.getPopupServiceActions()),this._popupService.target(t),this._popupService.visible(!0))}actionFilter(e){return e.visible(this._editor.name)}}class bo extends nr{createViewModel(){const e=()=>this.editors.map(e=>{const t=e.getViewModel();return this.createEditorAddOn&&(t.createEditorAddOn=e=>this.createEditorAddOn&&this.createEditorAddOn(e.getModel())),t}),t=Zs(super.createViewModel()).generateProperty("editors",e()).generateProperty("rtl",this.rtl).generateProperty("popover",this.popover?.getViewModel()).getViewModel();return this.addDisposable(this.subscribeProperty("_editors",i=>{t.editors=e()})),t}update(e){e&&this._get("_editors").forEach(t=>{t.update(e)})}_cleanEditorsSubscriptions(){this._get("_editors").forEach(e=>{e.dispose()})}dispose(){super.dispose(),this._get("_editors").forEach(e=>e.dispose()),this._set("_editors",[]),this.cleanSubscriptions()}cleanSubscriptions(){this._infoSubscription.forEach(e=>e&&e()),this._viewModelSubscription&&this._viewModelSubscription(),this._cleanEditorsSubscriptions()}cleanEditors(){this._cleanEditorsSubscriptions(),this._set("_editors",[])}findEditorByInfo(e){return this._get("_editors").filter(t=>t.name===e.propertyName&&je(t._get("info").editor,e.editor))[0]}createEditor(e){const t=new(e.editor&&e.editor.editorType||xo)(e,this.level,this._parentDisabled,this._textToSearch,this.popupService,this.popover,this._engineType);return t.assignParent(this._parent),t.registerAccessibilityProvider(this._accessibilityProvider),t}createEditors(e){return(e||[]).filter(e=>!!e.editor&&!this.findEditorByInfo(e)).map(e=>this.createEditor(e))}registerAccessibilityProvider(e){this._accessibilityProvider=e,this._get("_editors").forEach(t=>{t.registerAccessibilityProvider(e)})}assignParent(e){this._parent=e,this._get("_editors").forEach(t=>{t.assignParent(e)})}_createEditors(e){if(!e||0===e.length)return!1;const t=this.createEditors(e);if(!t.length)return;let i=this._get("_editors");0===i.length?i=t:t.forEach(e=>{const t=i.map(e=>e.name).indexOf(e.name);-1!==t?i.splice(t,0,e):i.push(e)}),this._set("_editors",i)}updateEditorsInfo(e,t){this.recreateEditors&&this.cleanEditors(),this._recreateEditors(e,t)}_update(e,t,i){i&&this.cleanEditors();const s=this.createComputedProperty("_getInfoComputed",()=>t&&t.editors&&this.unwrap(t.editors)||e&&e.getInfo&&e.getInfo(),[gt(e,["getInfo"])]),r=t=>{i&&this.cleanEditors(),this._recreateEditors(e,t)},a=this.subscribeProperty("_getInfoComputed",e=>{r(e)});this._infoSubscription.push(()=>{s(),a()}),this._recreateEditors(e,this._get("_getInfoComputed"))}_recreateEditors(e,t){this._createEditors(t),this.update(e)}constructor(e,t,i=0,s=yt.wrap(!1),r=!1,a,n,o,d="multiplatform"){super(void 0,void 0,d),this.recreateEditors=r,this.popover=o,this._viewModelSubscription=null,this._infoSubscription=[],this._getInfoComputed=null,this._accessibilityProvider=lo,this.level=0,this.rtl=Bi()().rtlEnabled,n&&(this.createEditorAddOn=e=>{const t=go(e),i=new vo(t,this.popupService,d);return t._disposables.push(i),{templateName:"dx-editor-addons",data:[i]}},this.popupService=n),o&&(this.createEditorDescriptionAddOn=e=>fo(e,this.popover)),this.assignArrayProperty("_editors",[],{deferred:!0}),this.level=i,this._parentDisabled=s,this._textToSearch=a,this.addDisposable(this.createComputedProperty("visible",()=>this._get("_editors").some(e=>e._get("visible")),[gt(this,[{propertyName:"_editors",subscribables:["visible"]}])])),this.updateModel=e=>{this._infoSubscription.forEach(e=>e&&e()),this._update(e,t,r)},this._viewModelSubscription=yt.subscribeValue(e,e=>{this.updateModel(e)}),this.updateModel(this.unwrap(e))}getEditors(){return this._get("_editors")}get editors(){return this.getEditors()}}class yo extends xo{createViewModel(){return Zs(super.createViewModel()).generateProperty("viewmodel",this.viewmodel&&this.viewmodel.getViewModel()).getViewModel()}dispose(){super.dispose(),this.viewmodel&&this.viewmodel.dispose(),this.viewmodel=null,this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),this._isSearchedPropertySubscription=null}constructor(e,t,i,s,r,a,n){super(e,t,i,s,r,a,n),this._popupService=r,this._popover=a,this.addDisposable(this.createComputedProperty("_editorInfo",()=>{const e=this._get("value");return e&&e.getInfo&&e.getInfo()||this._get("info").info},[gt(this,[{propertyName:"value",subscribables:["getInfo"]},"info"])])),this._set("editorCreated",!1),this.viewmodel=this.createObjectProperties(),me(this.viewmodel)||this.viewmodel.assignParent(this),this._disposables.push(this.viewmodel);const o=this.subscribeProperty("collapsed",e=>{e||(o(),this._set("editorCreated",!0))});this.addDisposable(o),s&&(this.addDisposable(this.createComputedProperty("visibleByName",()=>{const e=!!We(this._get("displayName"),s());return me(this.viewmodel)||this.viewmodel._get("_editors").forEach(t=>t._set("isParentSearched",e)),e},[gt(this,["displayName",{propertyName:"viewModel",subscribables:["_editors"]}])])),this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>{if(this._get("visibleByName"))return!0;const e=this.viewmodel._get("visible");return e&&this._set("collapsed",!1),e},[gt(this,["visibleByName",{propertyName:"viewmodel",subscribables:["visible"]}])]))}createObjectProperties(){return this.addDisposable(this.subscribeProperty("value",()=>{this.viewmodel.updateModel(this._get("value"))})),new bo(this._get("value"),{editors:this._get("_editorInfo","wrapped")},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch,this._popupService,this._popover,this._engineType)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.viewmodel.registerAccessibilityProvider(e)}}class _o extends yo{createObjectProperties(){return this._set("collapsed",!1),this._set("editorCreated",!0),this.level=-1,super.createObjectProperties()}}class Co extends x{constructor(e,t,i,s=!0,r){if(super(),this.editors=os.observableArray([]).extend({deferred:!0}),this.resolver=new ca,this.editorsCreated=os.observable(!1),this.editorsRendered=os.observable(!1),this._displayName=e,this.displayName=r||(()=>Rt(e)),this._serializationsInfo=t,this.collapsed=os.observable(s),s){const e=this.collapsed.subscribe(t=>{e.dispose(),this.editorsRendered(!0)});this._disposables.push(e)}this.recreate=()=>{this.editors(i(t)),this._accessibilityProvider&&this.editors().forEach(e=>{e.registerAccessibilityProvider(this._accessibilityProvider)})},this.editors(i(t)),this.visible=os.computed(()=>this.editors().some(e=>e._get("visible"))).extend({rateLimit:50}),this._disposables.push(this.visible)}resetEditors(){this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}dispose(){super.dispose(),this.resolver.clear(),this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}update(e){this._viewModel=e,this.editors().forEach(e=>{e.update(this._viewModel)})}registerAccessibilityProvider(e){this._accessibilityProvider=e,this.editors().forEach(t=>{t.registerAccessibilityProvider(e)})}}class wo{constructor(){this.data=os.observable(),this.title=os.observable(),this.visible=os.observable(!1),this.disabled=os.observable(!1),this.actions=os.observableArray([]),this.target=os.observable()}onItemClick(e){const t=e?.itemData;t&&!t.itemTemplate&&t.action?.(void 0)}}const Ao=DevExpress.ui.dxTextBox;var Eo=e.n(Ao),Io=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class So extends ar{createViewModel(){return Zs(super.createViewModel()).generateProperty("data",this.data).generateProperty("target",this.target).generateProperty("visible",this.visible).generateProperty("onHiding",()=>{this.onHiding()}).generateProperty("getPopupContainer",Zn).getViewModel()}updateViewModel(e){const t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"target"===e.propertyName&&(t.target=this.target),"data"===e.propertyName&&(t.data=this.data)}onPropertyChanged(e){}onHiding(){this.visible=!1}}Io([ir(!1)],So.prototype,"visible",void 0),Io([ir(void 0)],So.prototype,"target",void 0),Io([ir("")],So.prototype,"data",void 0);class $o extends bo{getEditors(){const e=super.getEditors(),t=e.map(e=>e._get("displayName")).sort();return e.sort((e,i)=>t.indexOf(e._get("displayName"))-t.indexOf(i._get("displayName"))),e}_update(e,t,i){return this.groups&&this.groups.forEach(e=>{0===e.editors().length&&e.recreate()}),super._update(e,t,i)}cleanEditors(){super.cleanEditors(),this.groups.forEach(e=>e.resetEditors())}dispose(){super.dispose(),this.disposeArray(this.groups),this.disposeObservableArray(this._get("_editors","wrapped")),this.resetObservableArray(this._get("_editors","wrapped")),this.cleanSubscriptions(),this._searchBox=null,this.focusedItem=null}createGroups(e){this.groups=Object.keys(e).map(t=>new Co(t,e[t].info,e=>e.filter(e=>!!e.editor).map(e=>{let t=this.findEditorByInfo(e);return t||(t=this.createEditor(e),this._get("_editors","wrapped").push(t),t)}),!0,e[t].displayName)),this._disposables.push.apply(this._disposables,this.groups)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.groups.forEach(t=>{t.registerAccessibilityProvider(e)})}constructor(e,t,i=0,s=!0,r=!0){super(e,t,i,void 0,void 0,os.observable(""),s&&new wo,r&&new So),this.focusedItem=os.observable(),this.editorsRendered=os.observable(!1),this.isSortingByGroups=os.observable(!0),this.isSearching=os.observable(!1),this.allEditorsCreated=os.observable(!1),this.textToSearch=os.observable(""),this._searchBox=null,this.searchPlaceholder=()=>$e(),this.switchSearchBox=()=>{this.isSearching()?(this.isSearching(!1),this.textToSearch("")):(this.isSearching(!0),this._searchBox&&this._searchBox.focus())},this.createGroups(t.groups),this.update(e()),this._disposables.push(this.focusedImageClassName=os.pureComputed(()=>Os(e()&&e().controlType)));const a=this.isSortingByGroups.subscribe(e=>{e||(this.editorsRendered(!0),a.dispose())});this._disposables.push(a),this.focusedItem=e,this._disposables.push(e.subscribe(e=>{this.isSearching()&&!this.textToSearch()&&this.switchSearchBox()})),this.displayExpr=e=>Bs(e);let n=null;this._disposables.push(this.textToSearch.subscribe(e=>{n&&clearTimeout(n),n=setTimeout(()=>{this._textToSearch(e),e&&this.groups.forEach(e=>e.collapsed()&&e.editors().some(e=>e._get("isSearchedProperty"))&&e.collapsed(!1))},200)}))}searchBox(e){this._searchBox=Eo().getInstance(e)}}function Po(e,t){Object.keys(e||{}).forEach(i=>{os.isObservable(e[i])?t[i](e[i]()):ge(e[i])||Po(e[i],t[i])})}function To(e,t){const i={};return e.reduce((e,s)=>{const r=t(s);if(r)if(i[r])i[r].push(s);else{const t={group:r,items:[s]};e.push(t),i[r]=t.items}return e},[])}function Do(e,t){let i=e&&t&&!(e instanceof Array)&&!(t instanceof Array);return i=i&&Object.getOwnPropertyNames(e).length===Object.getOwnPropertyNames(t).length,i&&Object.keys(e||{}).some(s=>{if(0!==s.indexOf("_")&&("function"!=typeof e[s]||os.isObservable(e[s]))){if(os.isObservable(e[s]))i=os.unwrap(e[s])===os.unwrap(t[s]);else if(e[s]instanceof Array)if(t[s]instanceof Array&&e[s].length===t[s].length)for(let r=0;r<e[s].length&&(i=Do(e[s][r],t[s][r]),!1!==i);r++);else i=!1;else i=e[s]instanceof Object?Do(e[s],t[s]):e[s]===t[s];return!i}}),i}function Fo(e,t){return e+(t?"."+t:"")}function Bo(){const e=Array.from(document.querySelectorAll("script[type='text/html']")).map(function(e){if(e.src){const t=new L;return fetch(e.src).then(e=>e.text()).then(i=>{e.text=i,-1===i.indexOf('type="text/html"')&&-1===i.indexOf("type='text/html'")||V(document.body).append(i),t.resolve()}).catch(()=>{t.reject()}),t.promise()}});return L.when(e).promise()}function Oo(e){return Vs(e,e=>{delete e["@Ref"]}),e}const Mo={MenuButton:"dxrd-menubutton-template-base",Toolbar:"dxrd-toolbar-template-base",Toolbox:"dxrd-toolbox-template-base",GroupedToolbox:"dxrd-grouped-toolbox-template-base",Surface:"dxrd-surface-template-base",RightPanel:"dxrd-right-panel-template-base"};function No(e){return[{id:Mo.MenuButton,templateName:Mo.MenuButton,model:e},{id:Mo.Toolbar,templateName:Mo.Toolbar,model:e},{id:Mo.Toolbox,templateName:Mo.Toolbox,model:e},{id:Mo.Surface,templateName:Mo.Surface,model:e},{id:Mo.RightPanel,templateName:Mo.RightPanel,model:e,viewModel:e.tabPanel?.getViewModel()}]}function Vo(e,t){return i=>{i.forEach(i=>{if(!i.wrappedWith||-1===i.wrappedWith.indexOf(e)){const s=i.clickAction;i.clickAction=e=>t(e,s),i.wrappedWith=i.wrappedWith||[],i.wrappedWith.push(e)}})}}function Lo(e){const t=os.unwrap(e);return"none"===t?Rt("none","DataAccessStringId.ParameterListEmpty"):"(none)"===t?"(none)"!==Rt("(none)","DxDesignerStringId.None")?Rt("(none)","DxDesignerStringId.None"):"("+Rt("none","DataAccessStringId.ParameterListEmpty")+")":t}function zo(e,t,i,s,r,a,n){const o=yt.wrap(Gt.unwrap(n)),d=Gt.unwrap(i);return Gt.isSubscribable(n)&&n.subscribe(e=>{"function"==typeof o&&o(e)}),{starting:function(t){V(e).css(s===r?"right":"left","")},handles:yt.wrap(s===r?"e":"w"),stopped:()=>{},stop:()=>{},resize:function(i,n){const o=fs(n.dataset.originalLeftMousePosition),l=fs(n.dataset.originalWidth),u=i.x-o;V(e).css({left:s===r?t+"px":"",right:s===r?"":t+"px"});const c=Math.min(Math.max(d,s===r?l+u:l-u),1e3);a&&a(c)},disabled:o,zoom:1,minimumWidth:yt.wrap(Gt.unwrap(o)?0:d),maximumWidth:1e3,$element:e}}var Ho=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class Ro extends ar{mapToTabsCollection(){return this.tabs.map(e=>{const t=e.getViewModel();return t.click=()=>this.toggleTabVisibility({model:e},!1),t})}createViewModel(){return Zs(super.createViewModel()).generateProperty("width",this.headerWidth).generateProperty("class",this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")).generateProperty("tabs",this.mapToTabsCollection()).generateProperty("tabsElement",Zs().generateProperty("class",this.cssClasses()).getViewModel()).generateProperty("contentElement",Zs().generateProperty("class",this.cssClasses()).generateProperty("width",this.width).getViewModel()).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("getResizableOptions",this.getResizableOptions).getViewModel()}dispose(){super.dispose(),this.disposeArray(this.tabs)}updateViewModel(e){const t=this.getViewModel();"width"===e.propertyName&&(t.contentElement.width=this.width),"headerWidth"===e.propertyName&&(t.width=this.headerWidth),"isEmpty"!==e.propertyName&&"position"!==e.propertyName||(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":""),t.tabsElement.class=this.cssClasses(),t.contentElement.class=this.cssClasses()),"collapsed"===e.propertyName&&(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")),"tabs"===e.propertyName&&(t.tabs=this.mapToTabsCollection())}onPropertyChanged(e){if("isEmpty"!==e.propertyName&&"width"!==e.propertyName||(this.headerWidth=this.isEmpty?0:50*this.zoomFactor+this.width),"collapsed"===e.propertyName){this.collapsed?this.width=0:this.width=this._width,this.tabs.forEach(e=>{e.collapsed=this.collapsed});const e=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+e,template:"dxrd-svg-tabs"+e};const t=this.collapsed?"Open":"Collapse";this.toggleCollapsedText=Rt(t,"ASPxReportsStringId.SidePanel_"+t)}"width"===e.propertyName&&this.width&&(this._width=this.width,this.collapsed&&(this.width=0))}_onDisabledChanged(){const e=this.tabs.filter(e=>e.disabled);if(0!==e.length&&0!==e.filter(e=>e.active).length){e.forEach(e=>e.active=!1);const t=this.tabs.filter(e=>!e.disabled&&e.visible)[0];t&&this.selectTab({model:t})}}_onVisibilityChanged(){const e=this.tabs.filter(e=>e.visible);this.isEmpty=this.tabs.every(e=>!e.visible),0!==e.length?0===e.filter(e=>e.active).length&&(e[0].active=!0,this._autoSelectTab&&(this.collapsed=!0)):this.collapsed=!0}_subscribeTab(e){const t=[e.events.on("visibleChanged",e=>{this._onVisibilityChanged()}),e.events.on("disabledChanged",e=>{this._onDisabledChanged()}),e.events.on("activeChanged",t=>{this._autoSelectTab&&e.active&&this.selectTab({model:e})}),e.events.on("collapsedChanged",t=>{this.collapsed=e.collapsed})];return()=>t.forEach(e=>e())}constructor(e){super(),this.cssClasses=(e="")=>{const t=[e];return this.position===Ro.Position.Left&&t.push("dxrd-tab-panel-left"),this.position===Ro.Position.Right&&t.push("dxrd-tab-panel-right"),this.isEmpty&&t.push("dxrd-tab-panel-empty"),t.join(" ")};const t=e.tabs;this._autoSelectTab=e.autoSelectTab;let i=Ro.Position.Right;e.rtl&&(i=Ro.Position.Left),this.position=i;const s=Dt();this.zoomFactor=s;const r=this;this.tabs=t,this.toggleTabVisibility=(e,t=!1)=>{e.model===this.tabs.filter(e=>e.active)[0]?this.collapsed=!t&&!this.collapsed:this.selectTab(e)},this.selectTab=e=>{const t=e.model;t.disabled||(this.tabs.forEach(function(e){e.active=e===t}),this.collapsed=!1)},t&&t.length&&(this.isEmpty=this.tabs.every(e=>!e.visible),this.tabs.forEach(e=>{e.collapsed=this.collapsed})),this._onVisibilityChanged(),this._onDisabledChanged(),this._disposables.push(...t.map(e=>({dispose:this._subscribeTab(e)}))),this._width=e.width||370*s,this.width=this.collapsed?0:this._width,this.headerWidth=this.isEmpty?0:50*s+this.width,this.getResizableOptions=(e,t,i)=>{if(!this._resizableOptions||this._resizableOptions.$element!==e){const a=function(e){if(0===arguments.length)return r.width;r.width=e};this._resizableOptions=zo(e,s*t,i,r.position,Ro.Position.Left,a,r.collapsed),r.addDisposable(r.events.on("positionChanged",e=>{this._resizableOptions.handles(r.position===Ro.Position.Left?"e":"w")}),r.events.on("collapsedChanged",e=>{"function"==typeof this._resizableOptions.minimumWidth?this._resizableOptions.minimumWidth(r.collapsed?0:i):this._resizableOptions.minimumWidth=r.collapsed?0:i,"function"==typeof this._resizableOptions.disabled?this._resizableOptions.disabled(this.collapsed):this._resizableOptions.disabled=this.collapsed}))}return this._resizableOptions},this._disposables.push({dispose:()=>{this._resizableOptions=null,this.getResizableOptions=null}});const a=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+a,template:"dxrd-svg-tabs"+a},this.toggleCollapsedText=(()=>{const e=this.collapsed?"Open":"Collapse";return Rt(e,"ASPxReportsStringId.SidePanel_"+e)})(),this.keyboardHelper=new Mt(this),this._disposables.push(this.keyboardHelper)}getTabByName(e){return this.tabs.filter(t=>t.name===e)[0]}removeTabs(){this.tabs.forEach(e=>e.events.dispose()),this.tabs.length=0}addTab(e){e.collapsed=this.collapsed,this.tabs.push(e),this._onVisibilityChanged(),this._onDisabledChanged(),this.addDisposable(this._subscribeTab(e))}}Ro.Position={Left:"Left",Right:"Right"},Ho([sr(()=>[])],Ro.prototype,"tabs",void 0),Ho([ir(!0)],Ro.prototype,"isEmpty",void 0),Ho([ir(!1)],Ro.prototype,"collapsed",void 0),Ho([ir(0)],Ro.prototype,"width",void 0),Ho([ir(0)],Ro.prototype,"headerWidth",void 0),Ho([ir(Ro.Position.Right)],Ro.prototype,"position",void 0),Ho([ir(null)],Ro.prototype,"toggleCollapsedImage",void 0),Ho([ir("")],Ro.prototype,"toggleCollapsedText",void 0);class jo{constructor(e,t){this._context=e,this._rtl=t}addElement(e,t){return this._context[e]=t,this}addUndoEngine(e=os.observable(new ja(this._context.model))){return this._context.undoEngine=e,this}addSurface(e){return this._context.surface=e,this}getContext(){return this._context}}class Wo{constructor(e){this._rtl=e}addModel(e){return new jo({model:e},this._rtl)}}class Go extends x{get handler(){return this._handler}set handler(e){this._disposables.push(e),this._handler=e}generate(){const e={};return this.handler&&(e.resizeHandler=this.handler),e}}class Uo extends x{_actionUndoEngineWrappingFunction(e,t){return Vo("WrapWithUndoEngine",(e,i)=>{t().start(),i(e),t().end()})(e)}_collectActions(e,t,i){const s=e(),r=[];return this.actionProviders.forEach(e=>{let t=e.getActions(s);i&&(t=t.filter(e=>i(e))),r.push.apply(r,t)}),this._actionUndoEngineWrappingFunction(r,t),r}get actionProviders(){return this._actionProviders}set actionProviders(e){this._disposables.push.apply(this._disposables,e),this._actionProviders=e}get actions(){return this._actions}set actions(e){this._disposables.push(e),this._actions=e}get groupActions(){return this._groupActions}set groupActions(e){this._disposables.push(e),this._groupActions=e}createDefaultActions(e,t){this.actions=os.computed(()=>this._collectActions(e,t,e=>!(e.isContextMenuAction||e.group)))}createDefaultGroupAction(e,t){this.groupActions=os.computed(()=>To(this._collectActions(e,t),e=>e.group&&e.group()))}createDefaultContextMenuActions(e,t){this.actions=os.computed(()=>this._collectActions(e,t,e=>e.isContextMenuAction&&!e.group))}generate(){const e={};return this.actionProviders&&(e.contextActionProviders=this.actionProviders),this.actions&&(e.contextActions=this.actions),this.groupActions&&(e.contextGroupActions=this.groupActions),e}generateContextMenu(e){const t=e,i={text:_e("Properties","AnalyticsCoreStringId.Cmd_Properties"),clickAction:()=>{const i=t.tabPanel.getTabByName("Properties");e.tabPanel.selectTab({model:i})},imageTemplateName:"dxrd-svg-properties-propertiesmenu",disabled:os.observable(!1),visible:!0,hasSeparator:!0},s=()=>[...(this.groupActions&&this.groupActions())??[],...(this.actions&&this.actions())??[],...os.unwrap(t.actionLists?.toolbarItems??[]),i],r=os.observable(s());this.groupActions&&this.addDisposable(this.groupActions.subscribe(e=>{r(s())})),this.actions&&this.addDisposable(this.actions.subscribe(e=>{r(s())})),e.ContextMenusEnabled||(e.ContextMenusEnabled=os.observable(!0));const a=new no({actions:r,target:"."+t.containerClass+" .dxrd-context-menu-container",contextMenusEnabled:e.ContextMenusEnabled,getClickActionParams:()=>e.selection.focused()?.getControlModel(),fullScreen:e.fullScreen});return this._disposables.push(a),{contextMenu:a}}}class qo extends x{constructor(){super(...arguments),this._model={}}get dragHelperContent(){return this._dragHelperContent}set dragHelperContent(e){this._disposables.push(e),this._dragHelperContent=e}get dragDropStarted(){return this._dragDropStarted}set dragDropStarted(e){this._disposables.push(e),this._dragDropStarted=e}addDragDropHandler(e,t){this._disposables.push(t),this._model[e]=t}generate(){const e=this._model;return this.dragHelperContent&&(e.dragHelperContent=this.dragHelperContent),this.dragDropStarted&&(e.dragDropStarted=this.dragDropStarted),e}}class Ko extends x{constructor(e,t){super(),this._selection=e,this._context=t,this._model={}}generate(){const e=this._model;return this.controlsHelper&&(e.controlsHelper=this.controlsHelper),e}addControlsHelper(e){return this.controlsHelper=e||new zs(this._context.model,[{added:e=>{},deleted:e=>{e.surface===this._selection.focused()&&this._selection.focused(e.surface.findNextSelection())}}]),this._disposables.push(this.controlsHelper),this}addControlsStore(e){return e=e||new Zr(this.controlsHelper.allControls),this._disposables.push(e),this._model.controlsStore=e,this}}class Yo extends x{constructor(){super(...arguments),this.stopPropagation=!1}generate(){const e={};return this.appMenuVisible&&(e.appMenuVisible=this.appMenuVisible),this.toggleAppMenu&&(e.toggleAppMenu=this.toggleAppMenu),this.getMenuPopupContainer&&(e.getMenuPopupContainer=this.getMenuPopupContainer),this.getMenuPopupTarget&&(e.getMenuPopupTarget=this.getMenuPopupTarget),e.stopPropagation=this.stopPropagation,e}get appMenuVisible(){return this._appMenuVisible}set appMenuVisible(e){this._disposables.push(e),this._appMenuVisible=e}}class Zo extends x{constructor(){super(...arguments),this._dragDropSettings=new qo,this._resizeSettings=new Go}dispose(){this._editableObject(null),super.dispose(),this.removeProperties()}get selection(){return this._selection}set selection(e){this._disposables.push(e),this._selection=e}get snapHelper(){return this._snapHelper}set snapHelper(e){this._disposables.push(e),this._snapHelper=e}get editableObject(){return this._editableObject}set editableObject(e){this._disposables.push(e),this._editableObject=e}addDragDrop(e){e(this._dragDropSettings),this._disposables.push(this._dragDropSettings)}addResize(e){e(this._resizeSettings),this._disposables.push(this._resizeSettings)}generate(){const e={};return this.selection&&(e.selection=this.selection),this.snapHelper&&(e.snapHelper=this.snapHelper),this.editableObject&&(e.editableObject=this.editableObject),xe(e,this._dragDropSettings.generate(),this._resizeSettings.generate())}}class Jo extends x{_createPopularProperties(e,t){const i=[];return t.forEach(t=>{const s=e.filter(e=>e.propertyName===t)[0];s&&i.push(s)}),i}_resetModel(){Object.keys(this._model).forEach(e=>{"dispose"!==e&&delete this._model[e]})}get rtl(){return this._rtl}set rtl(e){this._rtl=e,this._model.rtl=e}dispose(){super.dispose(),this._resetModel()}constructor(e,t){super(),this._context=e,this._rtl=t,this._model={},this._selectionSettings=new Zo,this._model.rtl=this._rtl,this._model.dispose=()=>{this.dispose()}}initializeContext(e){return this._context=e,this}getPropertyByName(e){return this._model[e]}addElement(e,t){return this._model[e]=t(),this._disposables.push(this._model[e]),this}mapOnContext(){return this._model.model=this._context.model,this._model.surface=this._context.surface,this._model.undoEngine=this._context.undoEngine,this}addSelection(e){return e(this._selectionSettings),this._disposables.push(this._selectionSettings),xe(this._model,this._selectionSettings.generate()),this}addPropertyGrid(e,t="propertyGrid"){return this._model[t]=e&&e(),this._disposables.push(this._model[t]),this}addContextMenu(e){this._model.contextMenus||(this._model.contextMenus=[]),this._model.contextMenus.push(e)}addDisposableContainer(){return this._model.disposableContainer=new x,this._model.addDisposables=(...e)=>this._model.disposableContainer._disposables.push(...e),this}addControlProperties(e,t,i){return this.addPropertyGrid(()=>this.createControlProperties(e,t,i))}createControlProperties(e,t,i){const s=new $o(this._model.editableObject,{groups:t,editors:e},null);return i&&s.registerAccessibilityProvider(i),s}addPopularProperties(e,t){return this.addPropertyGrid(()=>{const i=new bo(os.pureComputed(()=>{const t={getInfo:()=>[]},i=this._model.editableObject();if(i){const s=e.controlsMap[i.controlType],r=this._createPopularProperties(s&&s.info||[],s&&s.popularProperties||[]);r.forEach(e=>{e.propertyName in i&&(t[e.propertyName]=i[e.propertyName])}),t.getInfo=()=>r,t.root=i.root,t.actions=i.actions,t.actionProviders=i.actionProviders,t.getPath=e=>i.getPath&&i.getPath(e)||"",t.getModel=()=>i,t.isPropertyModified=e=>!!i.isPropertyModified&&i.isPropertyModified(e),t.getActionClassName=e=>i.getActionClassName?i.getActionClassName(e):"",t.getMenuBoxTemplate=e=>i.getMenuBoxTemplate?i.getMenuBoxTemplate(e):"",t.isPropertyVisible=e=>r.some(t=>t.propertyName===e)&&(!i.isPropertyVisible||i.isPropertyVisible(e,!0)),t.isPropertyHighlighted=e=>!!i.isPropertyHighlighted&&i.isPropertyHighlighted(e),t.isPropertyDisabled=e=>!!i.isPropertyDisabled&&i.isPropertyDisabled(e),t.isSame=e=>e===i,["name","displayName"].forEach(e=>{e in i&&(t[e]=i[e])})}return t}),void 0,void 0,void 0);return t&&i.registerAccessibilityProvider(t),i},"popularProperties")}addToolboxItems(e){return this._model.toolboxItems=e&&e(),this}addGroupedToolboxItems(){return this._model.groupedToolboxItems=To(this._model.toolboxItems,e=>e.info.group),this}addTabPanel(e,t=()=>[]){const i=e&&e()||new Ro({tabs:t(),rtl:this._rtl,width:396});return this._model.tabPanel=i,this._disposables.push(i),this}addIsLoading(e=()=>os.observable(!0)){return this._model.isLoading=e(),this._disposables.push(this._model.isLoading),this}addControlsHelper(e){const t=new Ko(this._selectionSettings.selection,this._context);return e(t),this._disposables.push(t),xe(this._model,t.generate()),this}addMenu(e){const t=new Yo;return e(t),this._disposables.push(t),xe(this._model,t.generate()),this}addContextActions(e){const t=new Uo;e(t),this._disposables.push(t),xe(this._model,t.generate());const i=t.generateContextMenu(this._model);return xe(this._model,i),this.addContextMenu(i.contextMenu),this.addElement("hideContextMenu",()=>()=>this._model.contextMenus.forEach(e=>e.hide())),this}addParts(e=e=>e,t=!0){let i=[];return t&&(i=No(this._model)),this._model.parts=e(i),this}getModel(){return this._model}addActionList(e){const t=e&&e()||new ao(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,()=>{});return this._disposables.push(t),this._model.actionLists=t,this}}const Xo=os.observable({});var Qo=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class ed extends ar{updateViewModel(e){const t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"imageClassName"===e.propertyName&&(t.image.class=this.imageClassName),"imageTemplateName"===e.propertyName&&(t.image.templateName=this.imageTemplateName),"active"!==e.propertyName&&"disabled"!==e.propertyName||(t.css.class=`${this.active?"dxd-state-active dxd-state-no-hover":""} ${this.disabled?"dxrd-tab-item-disabled":""}`),"disabled"===e.propertyName&&(t.disabled=this.disabled),"active"===e.propertyName&&(t.active=this.active),"model"===e.propertyName&&(t.model=this.model),"collapsed"===e.propertyName&&(t.collapsed=this.collapsed),!this.keyboardHelper||"active"!==e.propertyName&&"collapsed"!==e.propertyName||this.active&&!this.collapsed&&void 0!==e.oldValue&&setTimeout(()=>this.focus())}onPropertyChanged(e){"visible"!==e.propertyName||e.newValue||(this.active=!1)}createViewModel(){return Zs(super.createViewModel()).generateProperty("text",this.text).generateProperty("image",Zs().generateProperty("class",this.imageClassName).generateProperty("templateName",this.imageTemplateName).getViewModel()).generateProperty("click",()=>{}).generateProperty("css",Zs().generateProperty("class",`${this.active?"dxd-state-active dxd-state-no-hover":""} ${this.disabled?"dxrd-tab-item-disabled":""}`).getViewModel()).generateProperty("disabled",this.disabled).generateProperty("visible",this.visible).generateProperty("active",this.active).generateProperty("collapsed",this.collapsed).generateProperty("template",this.template).generateProperty("model",this.model).generateProperty("keyboardHelper",this.keyboardHelper).getViewModel()}constructor(e){super(),this.visible=!("visible"in e)||e.visible,this.disabled="disabled"in e&&e.disabled;const t=e.imageClassName||e.text.toLowerCase();this._text=e.text,this.name=e.text,this._localizationId=e.localizationId,this.imageClassName="dxrd-image-"+t,this.imageTemplateName=e.imageTemplateName||Zt.getExistingTemplate("dxrd-svg-tabs-"+e.text.toLowerCase()),this.template=e.template,this._disposables.push(e.model,e.keyboardHelper),this.model=e.model,this.keyboardHelper=e.keyboardHelper}focus(){this.keyboardHelper&&this.keyboardHelper.focus(document.getElementsByClassName("dxrd-tab-item dxd-state-active")[0])}get text(){return _e(this._text,this._localizationId)}}function td(e,t,i,s={},r=[],a,n,o,d,l,u,c,p){const h=new Wo(n).addModel(e).addSurface(t).addUndoEngine(l).getContext(),m=new Jo(h,n);return m.addDisposableContainer().mapOnContext().addSelection(e=>{e.selection=o||new La,e.snapHelper=new tn(t,tn.snapTolerance,c||new Qa),e.editableObject=Na.getEditableObject(e.selection,h.undoEngine,u).extend({throttle:1}),e.addDragDrop(t=>{t.dragHelperContent=new ws(e.selection),t.dragDropStarted=ys.started,t.addDragDropHandler("dragHandler",new As(h.surface,e.selection,h.undoEngine,e.snapHelper,t.dragHelperContent)),t.addDragDropHandler("toolboxDragHandler",new Es(h.surface,e.selection,h.undoEngine,e.snapHelper,t.dragHelperContent,i))}),e.addResize(t=>{t.handler={starting:()=>{o.expectClick=!0,h.undoEngine().start()},stopped:()=>{h.undoEngine().end(),setTimeout(()=>{o.expectClick=!1},100)},disabled:ys.started,snapHelper:e.snapHelper}})}).addToolboxItems(()=>Xr(i.controlsMap)).addIsLoading().addControlProperties(r,s).addPopularProperties(i).addControlsHelper(e=>{e.addControlsHelper(d).addControlsStore()}).addTabPanel(void 0,()=>{const t=new ed({text:"Properties",template:"dxrd-propertiestab",model:m.getModel().propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:!!e(),disabled:m.getModel().propertyGrid.focusedItem()instanceof Array});return m._disposables.push(m.getModel().propertyGrid.focusedItem.subscribe(e=>{t.disabled=m.getModel().propertyGrid.focusedItem()instanceof Array})),m._disposables.push(e.subscribe(e=>{t.visible=!!e})),[t]}).addContextActions(e=>{e.actionProviders=[],e.createDefaultActions(m.getModel().editableObject,m.getModel().undoEngine)}).addMenu(e=>{e.appMenuVisible=os.observable(!1),e.toggleAppMenu=function(){e.appMenuVisible(!e.appMenuVisible())},e.getMenuPopupContainer=e=>V(e).closest(".dxrd-menu-button").prev(".dxrd-menu-container"),e.getMenuPopupTarget=e=>V(e).closest(".dxrd-menu-button").find(".dxrd-menu-place")}).addElement("inlineTextEdit",()=>new xr(m.getModel().selection)).addElement("actionsGroupTitle",()=>()=>Rt("Actions","AnalyticsCoreStringId.Actions")).addElement("updateFont",()=>e=>{Xo({...Xo(),...e})}).addElement("sortFont",()=>()=>{const e={},t=Xo.peek();Object.keys(t).sort((e,t)=>e.localeCompare(t)).forEach(i=>e[i]=t[i]),Xo(e)}).addElement("surfaceSize",()=>os.observable(0)).addElement("popularVisible",()=>os.pureComputed(()=>m.getModel().popularProperties._get("_editors").some(e=>e._get("visible"))||m.getModel().contextActions&&m.getModel().contextActions().length>0)).addElement("groupActionsVisible",()=>os.pureComputed(()=>!1)).addActionList().addParts().getModel()}Qo([ir(!1)],ed.prototype,"active",void 0),Qo([ir(!0)],ed.prototype,"visible",void 0),Qo([ir(!1)],ed.prototype,"disabled",void 0),Qo([ir(null)],ed.prototype,"model",void 0),Qo([ir(void 0)],ed.prototype,"collapsed",void 0);class id{_patchRequest(e,t){if(!t)return;const i=t.peek();for(let t=0;t<i.length;t++){if(i[t].id===e.id&&e.id)return void(e.ref=void 0);if(i[t].ref===e.ref&&e.ref)return void(e.id=void 0)}}_beforeFieldListCallback(e,t){return!!this._extenders&&this._extenders.some(i=>i.beforeItemsFilled(e,t))}_afterFieldListCallBack(e,t){this._extenders&&this._extenders.forEach(i=>{i.afterItemsFilled&&i.afterItemsFilled(e,t)})}constructor(e,t,i,s=!1){this.deferreds=[],this._extenders=i,this.getItems=i=>{const r=new L,a=[];return this._beforeFieldListCallback(i,a)?r.resolve(a):t&&!i.fullPath?(a.push.apply(a,t()?.map(e=>{const t={name:e.id||e.ref,displayName:e.name,isList:!0,specifics:e.specifics||"ListSource",dragData:{noDragable:!1}};return s&&delete t.dragData,t})||[]),this._afterFieldListCallBack(i,a),r.resolve(a)):(this._patchRequest(i,t),this.deferreds.push(r),e(i).done(e=>{a.push.apply(a,e),this._afterFieldListCallBack(i,a),r.resolve(a)}).fail(e=>r.reject(e)).always(()=>this.deferreds.splice(this.deferreds.indexOf(r),1))),r.promise()},this.dispose=()=>{this.getItems=null,e=null,this.deferreds.forEach(e=>e.reject())}}}const sd=console.warn;function rd(){fi(()=>{}),console.warn=function(){}}function ad(){vi(),console.warn=sd}function nd(e,t){const i=[];return e.split("\n").forEach((e,s)=>{const r=e.indexOf("<style>");-1!==r&&i.push(`${t}:${s+1}:${r+1} Contains '<style>' tag`);const a=e.indexOf('style="');-1!==a&&i.push(`${t}:${s+1}:${a+1} Contains 'style' attribute`)}),i}function od(e,t,i,s,r,a,n){let o=0;t[i]=os.pureComputed({read:()=>{const t=ms(s(e)(),r.peek(),a());return Math.abs(t-o)>.2?(o=t,o):o},write:t=>{if(Math.abs(t-o)<=.2)return;o=t;const i=gs(t,r.peek(),a());s(e)(i)}}),n(t[i])}function dd(e,t,i,s,r,a){i&&Object.keys(i).forEach(n=>{od(e,t,n,i[n],s,r,a)})}const ld=(e,t,i,s,r,a,n=e=>!e.success,o=mi,d="POST")=>{const l=new L;let u;const c={ajaxSetup:ss,fetchSetup:rs},p=ts.getInstance(c);return void 0!==t&&void 0!==i&&("string"==typeof i&&ts.getRequestContentType()!==Yi.FormUrlEncoded||(i=Qi(i,!0,!1)),u={actionKey:t,arg:i,dxversions:Qi(Ps)}),p.sendRequest(xe({},{type:d,data:u,url:e},a)).fail((t,i,a)=>{r&&r()?l.reject():(wi.call({jqXHR:t,textStatus:i,errorThrown:a,getRequestDetails:()=>u||e}),Ci(a,l,t,i,s))}).done((t,i,a)=>{if(t)if(n(t)){if(r&&r())return void l.reject();wi.call({jqXHR:a,textStatus:i,data:t,errorThrown:o(a),getRequestDetails:()=>u||e}),Ci("Internal Server Error",l,a,i,s)}else l.resolve(t.result);else l.reject()}),l.promise()};function ud(e){return ld(e.uri,e.action,e.arg,e.processErrorCallback,e.ignoreError,e.customOptions,e.isError,e.getErrorMessage,e.method)}function cd(e){pd=e}let pd=(...e)=>e.length>1?ld.apply(void 0,e):ud(e[0]);function hd(e,t=!0){return e.editor=ls.getEditor("text"),e.editorOptions={mode:"password"},t&&(e.editorOptions.inputAttr={autocomplete:"new-password"}),e}var md;!function(e){e.Date="Date",e.DateTime="DateTime",e.Time="Time",e.Integer="Integer",e.String="String",e.Bool="Bool",e.Float="Float",e.Enum="Enum",e.Guid="guid"}(md||(md={}));const gd=e=>e.concat(...["Calc","Sum"].map(t=>e.map(e=>t+e))),xd=new Set(gd([md.Integer,md.Float])),fd=new Set(gd([md.Date,md.DateTime,md.Time]));function vd(e){return xd.has(e)}function bd(e){return fd.has(e)}function yd(e){return e<768?"xs":e<992?"sm":e<1200?"md":e<1380?"lg":"xl"}const _d={_static:{searchPlaceholder:()=>$e(),selectPlaceholder:()=>Ie(),noDataText:()=>Se(),ajaxSetup:ss}},Cd=It({});function wd(e,t=_d,i){t&&(e.dx={...t,...Cd()}),e.getLocalization=function(){return Rt.apply(e,arguments)},e.getPopupContainer=Zn,e.calculateWithZoomFactor=Ft,e.containerClass="dx-designer-"+da(),e.surfaceClass=t=>"dx-designer-viewport dx-designer-viewport-"+yd(t.clientWidth)+" "+(Zn(t,".dx-theme-generic")?"":" dx-theme-generic")+" "+e.containerClass+(i?" "+i:"")}function Ad(e){return Gt.isSubscribable(e)?e:yt.wrap(null)}function Ed(){return Mi.Deferred()}class Id extends x{preInitProperties(){}constructor(e){super(),this.left=os.observable(!1),this.right=os.observable(!1),this.top=os.observable(!1),this.bottom=os.observable(!1),e.getModel&&(e=e.getModel()),this.disabled=e.disabled||os.observable(!1),this.value=e.value,this.preInitProperties(),this.updateModel(e.value()),this._disposables.push(e.value.subscribe(e=>{this.updateModel(e)}))}}class Sd extends Id{_setAllValues(e){this.left(e),this.bottom(e),this.right(e),this.top(e)}setValue(e){this.disabled()||(this[e](!this[e]()),this.updateValue())}setAll(){this.disabled()||(this._setAllValues(!0),this.updateValue())}setNone(){this.disabled()||(this._setAllValues(!1),this.updateValue())}updateModel(e){const t=e||"None";-1!==t.indexOf("All")?this._setAllValues(!0):-1!==t.indexOf("None")?this._setAllValues(!1):(this.left(-1!==t.indexOf("Left")),this.top(-1!==t.indexOf("Top")),this.right(-1!==t.indexOf("Right")),this.bottom(-1!==t.indexOf("Bottom")))}updateValue(){const e=[];this.left()&&this.right()&&this.top()&&this.bottom()?e.push("All"):this.left()||this.right()||this.top()||this.bottom()?(this.left()&&e.push("Left"),this.right()&&e.push("Right"),this.top()&&e.push("Top"),this.bottom()&&e.push("Bottom")):e.push("None"),this.value(e.join(","))}}os.bindingHandlers.dxBorderEditor={init:function(e,t,i,s,r){V(e).empty();const a=Xt("dxrd-bordereditor"),n=V(e).append(a),o=new Sd(t());return os.cleanNode(n.children()[0]),os.applyBindings({value:o},n.children()[0]),Et(e,()=>o.dispose()),{controlsDescendantBindings:!0}}};const $d=DevExpress.registerComponent;var kd=e.n($d);const Pd=DevExpress.ui.dxButton;var Td=e.n(Pd);const Dd=e=>({render:function(t){const i=V(document.createElement("i")).addClass("dx-icon");e?(i.addClass(e),i.addClass("dx-icon-"+e),i.addClass("dx-icon-dxrd")):t.model.icon&&i.addClass(t.model.icon),t.model.icon&&(i[0].innerHTML=Xt(t.model.icon));const s=i.get(0);if(V(t.container).append(s),t.model.text){const e=V(document.createElement("span")).addClass("dx-button-text")[0];e.textContent=t.model.text,V(t.container).append(e)}}}),Fd={render:function(e){Dd(e.model.iconClass).render(e)}};class Bd extends(Td()){constructor(e,t){t.template=Fd,super(e,t)}_patchOptionValues(e){const t=super._patchOptionValues.call(this,e),i={iconClass:e.iconClass};return t.templateData={...t.templateData,...i},t}}function Od(e,t){const i=new Bd(e,t);return()=>i?.dispose()}kd()("dxButtonWithTemplate",Bd);class Md extends x{initActions(e){this.actions=e,this.actions.forEach(e=>{e.disabled||(e.disabled=os.observable(!1))})}getActions(e){return this.condition(e)?(this.setDisabled&&this.setDisabled(e),this.actions):[]}condition(e){return!0}}function Nd(e,t,i){const{onInitialized:s,onDomUpdated:r,onCleanUp:a,controlElementClassName:n}=t,o=new MutationObserver(e=>((e,t)=>{e.some(e=>e.target.querySelector(`.${t}`))&&r()})(e,n));return o.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]}),s(e,i),()=>{o.disconnect(),a()}}const Vd=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"];function Ld(e,t){for(let i=0;i<Vd.length;i++)e.style[Vd[i]]="scale("+t+")";V(e).addClass("dxrd-transform-origin-left-top")}const zd=DevExpress.ui.dxLoadPanel;var Hd=e.n(zd);const Rd=DevExpress.ui.dxLoadIndicator;var jd=e.n(Rd);function Wd(e,t){return"parent"===t||t===e?e:e.find(t)}os.bindingHandlers.cssArray={update:function(e,t,i,s,r){const a=os.utils.unwrapObservable(t());for(let t=0;t<a.length;t++)os.bindingHandlers.css.update(e,()=>a[t])}},os.bindingHandlers.selectable={init:function(e,t,i,s,r){const a=t(),n=os.unwrap(a.selection),o=xe({filter:".dxd-selectable",distance:1},os.unwrap(a),{selecting:function(e,t){const i={control:vs(t),cancel:!1,ctrlKey:e.ctrlKey};n.selecting(i),i.cancel&&V(t).removeClass("ui-selecting")},start:(e,t)=>{n.clickHandler(null,e),n.expectClick=!0,n.started=!0},stop:()=>{n.started=!1,setTimeout(()=>{n.expectClick=!1},100),n.applySelection()},unselecting:function(e,t){n.unselecting(vs(t))}}),d=new Br(e,o),l=[];n.disabled&&os.isSubscribable(n.disabled)&&l.push(n.disabled.subscribe(e=>Br.disabled=e)),Et(e,()=>{d.dispose(),e=null,l.forEach(e=>e.dispose())})}},os.bindingHandlers.updateTop={init:function(e,t,i,s,r){const a=t(),n=V(e),o=t=>{const i=e.getBoundingClientRect().height/e.offsetHeight,s=0===t||t?t:n.prev().position().top/i+n.prev().outerHeight();n.css("top",s+"px")},d=a.subscribe(e=>{o(e)});o(a()),Et(e,function(){d.dispose()})}};const Gd="draggableInitializedPropertyName";function Ud(e,t,i,s,r){const a=t();if(!a)return;const n=V(e),o=a.parent&&a.parent()||n.closest(".dx-designer-viewport"),d=a.containment||".dxrd-ghost-container";let l,u,c;const p={left:0,top:0},h=e=>{e.delta={left:(u&&u.left||0)-c.left,top:(u&&u.top||0)-c.top},e.scroll={left:l.scrollLeft()-p.left,top:l.scrollTop()-p.top}},m=xe({},os.unwrap(a),{start:function(e,t){ys.started(!0),l=o.find(".dxrd-viewport"),u=o.find(".dxrd-ghost-container").offset(),c=Wd(o,d).offset(),p.left=l.scrollLeft(),p.top=l.scrollTop(),a.startDrag&&a.startDrag(vs(t))},stop:function(e,t){h(t),a.stopDrag(t,vs(t),e),ys.started(!1)},drag:function(e,t){h(t),a.drag&&a.drag(e,t,vs(t))},helper:function(e,t){const i=function(e,t){if(!e)return{top:0,left:0};const i=Wd(e,t);return{top:i.offset().top,left:i.offset().left}}(o,m.containment);if(a.helper){const s=a.helper(vs(t),e);if(s)return s.css({position:"absolute"}),s[0].dataset.startLeftPosition=xs(e.pageX-i.left),s[0].dataset.startTopPosition=xs(e.pageY-i.top),s}const s=Xt(r.$root.dragHelperContent.template),n=vs(t),d=V(s);return d.css({display:a.helper?"block":"none",position:"absolute"}),d[0].dataset.startLeftPosition=xs(n.absolutePosition?n.absolutePosition.x():e.pageX-i.left),d[0].dataset.startTopPosition=xs(n.absolutePosition?n.absolutePosition.y():e.pageY-i.top),d.prependTo(Wd(o,m.containment)),os.applyBindingsToDescendants(r.$root.dragHelperContent,d[0]),d}});m.containment=Wd(o,m.containment),function(e){const t=e.parentElement.classList.contains("dxrd-toolbox-item");t&&(e.dataset.startDragWithOffset="true")}(e),m.disabled=()=>r.$root.inlineTextEdit&&r.$root.inlineTextEdit._showInline()&&e===r.$root.inlineTextEdit.element;const g=new Pr(e,m);e.dataset[Gd]=!0,Et(e,()=>{g.dispose(),e=null})}os.bindingHandlers.draggable={init:Ud,update:(e,...t)=>{e.dataset[Gd]||Ud(e,...t)}};const qd="dxd-track-cursor";os.bindingHandlers.trackCursor={init:function(e,t,i,s,r){const a=V(e);a.addClass(qd);let n,o=t(),d=!1;o.recalculateBounds&&(d=o.recalculateBounds,o=o.underCursor);const l=document.body,u=document.documentElement,c=e=>{r.$root.selection.started&&r.$root.resizeHandler.started||(o().isNotDropTarget?r.$root.selection.dropTarget=null:(r.$root.selection.dropTarget=r.$data,e.stopPropagation()))},p=t=>{o(xe(o(),{isOver:!0})),r.$root.selection.started&&r.$root.resizeHandler.started||(n=e.getBoundingClientRect())},h=e=>{o(xe(o(),{isOver:!1}))},m=t=>{if(n&&!d||(n=e.getBoundingClientRect()),!r.$root.selection.started||!r.$root.resizeHandler.started){const e=window.pageYOffset||u.scrollTop||l.scrollTop,i=window.pageXOffset||u.scrollLeft||l.scrollLeft,s=u.clientTop||l.clientTop||0,r=u.clientLeft||l.clientLeft||0,a=t.pageY-(n.top+e-s),d=t.pageX-(n.left+i-r);o(xe(o(),{x:d,y:a}))}};e.addEventListener("mousemove",m),!d&&e.addEventListener("mouseenter",p),e.addEventListener("mouseover",c),e.addEventListener("mouseleave",h),e.addEventListener("dragover",m),Et(e,function(){e.removeEventListener("dragover",m),e.removeEventListener("mousemove",m),e.removeEventListener("mouseover",c),e.removeEventListener("mouseleave",h),!d&&e.removeEventListener("mouseenter",p),a.removeClass(qd)})}},os.bindingHandlers.templates={init:function(e,t){const i=k(t()).textContent;return V(e).append(i),{controlsDescendantBindings:!0}}},os.bindingHandlers.zoom={update:(e,t)=>Ld(e,os.unwrap(t()))},os.bindingHandlers.keyDownActions=(()=>{const e=st();return{init:function(t,i){const s=i(),r=e.bindHandler(e=>s.processShortcut(e));Et(t,()=>r())}}})(),os.bindingHandlers.dxMutationObserver={init:function(e,t,i,s,r){if(!t())return;const a=os.bindingEvent.subscribe(e,"childrenComplete",()=>{Et(e,Nd(e,t(),r.$root.accessibilityCompliant))});Et(e,()=>a.dispose())}},os.bindingHandlers.dxAction={init:(e,t)=>{const i=t(),s=function(e){i.action.call(i.model,i.model,e)},r=function(e){e.key!=Ze.Enter&&e.key!=Ze.Space||i.action.call(i.model,i.model,e)};e.addEventListener("click",s),e.addEventListener("keydown",r),Et(e,function(){e.removeEventListener("click",s),e.removeEventListener("keydown",r)})}},os.bindingHandlers.dxAILoadingPanel={init:(e,t)=>{const i=t(),s=document.createElement("div"),r=new(Hd())(s,{...i,width:"100%",height:"100%",maxWidth:"100%",maxHeight:"100%"});e.append(s),r.option("contentTemplate",e=>{const t=document.createElement("div");t.classList.add("dxrd-ai-panel-loading-indicator");const s=document.createElement("div");if(new(jd())(s,{width:90,height:90}).option("animationType","sparkle"),t.append(s),i.text){const e=document.createElement("div");e.textContent=i.text,e.style.fontSize="24px",t.append(e)}const r=k(e);r.style.display="block",r.style.height="100%",r.append(t)}),r.option("showIndicator",!1),r.option("showPane",!1),r.option("message","");const a=[];os.isSubscribable(i.visible)&&a.push(i.visible.subscribe(e=>{r.option("visible",e)})),Et(e,function(){r.dispose(),a.forEach(e=>e.dispose())})}},os.extenders.dxdnum=function(e,t){return e.subscribe(i=>{i=i||0,isNaN(t.max)?isNaN(t.min)?e(i):e(Math.max(i,t.min)):e(Math.min(i,t.max))}),e};const Kd={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"},Yd=[{display:"Aggregate",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Aggregate",category:"Aggregate",items:{Avg:[{paramCount:1,text:"[].Avg()",displayName:"Avg()",descriptionStringId:"ExpressionEditorStringId.Function_AvgAggregate"}],Count:[{paramCount:1,text:"[].Count()",displayName:"Count()",descriptionStringId:"ExpressionEditorStringId.Function_CountAggregate"}],Exists:[{paramCount:1,text:"[].Exists()",displayName:"Exists()",descriptionStringId:"ExpressionEditorStringId.Function_ExistsAggregate"}],Max:[{paramCount:1,text:"[].Max()",displayName:"Max()",descriptionStringId:"ExpressionEditorStringId.Function_MaxAggregate"}],Min:[{paramCount:1,text:"[].Min()",displayName:"Min()",descriptionStringId:"ExpressionEditorStringId.Function_MinAggregate"}],Single:[{paramCount:1,text:"[].Single()",displayName:"Single()",descriptionStringId:"ExpressionEditorStringId.Function_SingleAggregate"}],Sum:[{paramCount:1,text:"[].Sum()",displayName:"Sum()",descriptionStringId:"ExpressionEditorStringId.Function_SumAggregate"}]}},{display:"Date-Time",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_DateTime",items:{AddDays:[{paramCount:2,text:"AddDays(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddDays"}],AddHours:[{paramCount:2,text:"AddHours(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddHours"}],AddMilliSeconds:[{paramCount:2,text:"AddMilliSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMilliSeconds"}],AddMinutes:[{paramCount:2,text:"AddMinutes(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMinutes"}],AddMonths:[{paramCount:2,text:"AddMonths(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMonths"}],AddSeconds:[{paramCount:2,text:"AddSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddSeconds"}],AddTicks:[{paramCount:2,text:"AddTicks(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTicks"}],AddTimeSpan:[{paramCount:2,text:"AddTimeSpan(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTimeSpan"}],AddYears:[{paramCount:2,text:"AddYears(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddYears"}],DateDiffDay:[{paramCount:2,text:"DateDiffDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffDay"}],DateDiffHour:[{paramCount:2,text:"DateDiffHour(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffHour"}],DateDiffMilliSecond:[{paramCount:2,text:"DateDiffMilliSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMilliSecond"}],DateDiffMinute:[{paramCount:2,text:"DateDiffMinute(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMinute"}],DateDiffMonth:[{paramCount:2,text:"DateDiffMonth(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMonth"}],DateDiffSecond:[{paramCount:2,text:"DateDiffSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffSecond"}],DateDiffTick:[{paramCount:2,text:"DateDiffTick(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffTick"}],DateDiffYear:[{paramCount:2,text:"DateDiffYear(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffYear"}],GetDate:[{paramCount:1,text:"GetDate()",descriptionStringId:"ExpressionEditorStringId.Function_GetDate"}],GetDay:[{paramCount:1,text:"GetDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetDay"}],GetDayOfWeek:[{paramCount:1,text:"GetDayOfWeek()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfWeek"}],GetDayOfYear:[{paramCount:1,text:"GetDayOfYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfYear"}],GetHour:[{paramCount:1,text:"GetHour()",descriptionStringId:"ExpressionEditorStringId.Function_GetHour"}],GetMilliSecond:[{paramCount:1,text:"GetMilliSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetMilliSecond"}],GetMinute:[{paramCount:1,text:"GetMinute()",descriptionStringId:"ExpressionEditorStringId.Function_GetMinute"}],GetMonth:[{paramCount:1,text:"GetMonth()",descriptionStringId:"ExpressionEditorStringId.Function_GetMonth"}],GetSecond:[{paramCount:1,text:"GetSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetSecond"}],GetTimeOfDay:[{paramCount:1,text:"GetTimeOfDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetTimeOfDay"}],GetYear:[{paramCount:1,text:"GetYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetYear"}],IsApril:[{paramCount:1,text:"IsApril()",descriptionStringId:"ExpressionEditorStringId.Function_IsApril"}],IsAugust:[{paramCount:1,text:"IsAugust()",descriptionStringId:"ExpressionEditorStringId.Function_IsAugust"}],IsDecember:[{paramCount:1,text:"IsDecember()",descriptionStringId:"ExpressionEditorStringId.Function_IsDecember"}],IsFebruary:[{paramCount:1,text:"IsFebruary()",descriptionStringId:"ExpressionEditorStringId.Function_IsFebruary"}],IsJanuary:[{paramCount:1,text:"IsJanuary()",descriptionStringId:"ExpressionEditorStringId.Function_IsJanuary"}],IsJuly:[{paramCount:1,text:"IsJuly()",descriptionStringId:"ExpressionEditorStringId.Function_IsJuly"}],IsJune:[{paramCount:1,text:"IsJune()",descriptionStringId:"ExpressionEditorStringId.Function_IsJune"}],IsLastMonth:[{paramCount:1,text:"IsLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastMonth"}],IsLastYear:[{paramCount:1,text:"IsLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastYear"}],IsMarch:[{paramCount:1,text:"IsMarch()",descriptionStringId:"ExpressionEditorStringId.Function_IsMarch"}],IsMay:[{paramCount:1,text:"IsMay()",descriptionStringId:"ExpressionEditorStringId.Function_IsMay"}],IsNextMonth:[{paramCount:1,text:"IsNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextMonth"}],IsNextYear:[{paramCount:1,text:"IsNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextYear"}],IsNovember:[{paramCount:1,text:"IsNovember()",descriptionStringId:"ExpressionEditorStringId.Function_IsNovember"}],IsOctober:[{paramCount:1,text:"IsOctober()",descriptionStringId:"ExpressionEditorStringId.Function_IsOctober"}],IsSeptember:[{paramCount:1,text:"IsSeptember()",descriptionStringId:"ExpressionEditorStringId.Function_IsSeptember"}],IsThisMonth:[{paramCount:1,text:"IsThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisMonth"}],IsThisWeek:[{paramCount:1,text:"IsThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisWeek"}],IsThisYear:[{paramCount:1,text:"IsThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisYear"}],IsYearToDate:[{paramCount:1,text:"IsYearToDate()",descriptionStringId:"ExpressionEditorStringId.Function_IsYearToDate"}],LocalDateTimeDayAfterTomorrow:[{paramCount:1,text:"LocalDateTimeDayAfterTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeDayAfterTomorrow"}],LocalDateTimeLastMonth:[{paramCount:1,text:"LocalDateTimeLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastMonth"}],LocalDateTimeLastWeek:[{paramCount:1,text:"LocalDateTimeLastWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastWeek"}],LocalDateTimeLastYear:[{paramCount:1,text:"LocalDateTimeLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastYear"}],LocalDateTimeNextMonth:[{paramCount:1,text:"LocalDateTimeNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextMonth"}],LocalDateTimeNextWeek:[{paramCount:1,text:"LocalDateTimeNextWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextWeek"}],LocalDateTimeNextYear:[{paramCount:1,text:"LocalDateTimeNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextYear"}],LocalDateTimeNow:[{paramCount:1,text:"LocalDateTimeNow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNow"}],LocalDateTimeThisMonth:[{paramCount:1,text:"LocalDateTimeThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisMonth"}],LocalDateTimeThisWeek:[{paramCount:1,text:"LocalDateTimeThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisWeek"}],LocalDateTimeThisYear:[{paramCount:1,text:"LocalDateTimeThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisYear"}],LocalDateTimeToday:[{paramCount:1,text:"LocalDateTimeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeToday"}],LocalDateTimeTomorrow:[{paramCount:1,text:"LocalDateTimeTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTomorrow"}],LocalDateTimeTwoMonthsAway:[{paramCount:1,text:"LocalDateTimeTwoMonthsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoMonthsAway"}],LocalDateTimeTwoWeeksAway:[{paramCount:1,text:"LocalDateTimeTwoWeeksAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoWeeksAway"}],LocalDateTimeTwoYearsAway:[{paramCount:1,text:"LocalDateTimeTwoYearsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoYearsAway"}],LocalDateTimeYearBeforeToday:[{paramCount:1,text:"LocalDateTimeYearBeforeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYearBeforeToday"}],LocalDateTimeYesterday:[{paramCount:1,text:"LocalDateTimeYesterday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYesterday"}],Now:[{paramCount:1,text:"Now()",descriptionStringId:"ExpressionEditorStringId.Function_Now"}],Today:[{paramCount:1,text:"Today()",descriptionStringId:"ExpressionEditorStringId.Function_Today"}],UtcNow:[{paramCount:1,text:"UtcNow()",descriptionStringId:"ExpressionEditorStringId.Function_UtcNow"}],IsSameDay:[{paramCount:2,text:"IsSameDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_IsSameDay"}],InDateRange:[{paramCount:3,text:"InDateRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InDateRange"}],DateTimeFromParts:[{paramCount:6,text:"DateTimeFromParts(, , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts6"}],DateOnlyFromParts:[{paramCount:3,text:"DateOnlyFromParts(, , )",descriptionStringId:"ExpressionEditorStringId.Function_DateOnlyFromParts"}],TimeOnlyFromParts:[{paramCount:4,text:"TimeOnlyFromParts(, , , )",descriptionStringId:"ExpressionEditorStringId.Function_TimeOnlyFromParts2"}],AfterMidday:[{paramCount:1,text:"AfterMidday()",descriptionStringId:"ExpressionEditorStringId.Function_AfterMidday"}],BeforeMidday:[{paramCount:1,text:"BeforeMidday()",descriptionStringId:"ExpressionEditorStringId.Function_BeforeMidday"}],IsAfternoon:[{paramCount:1,text:"IsAfternoon()",descriptionStringId:"ExpressionEditorStringId.Function_IsAfternoon"}],IsEvening:[{paramCount:1,text:"IsEvening()",descriptionStringId:"ExpressionEditorStringId.Function_IsEvening"}],IsFreeTime:[{paramCount:1,text:"IsFreeTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsFreeTime"}],IsLastHour:[{paramCount:1,text:"IsLastHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastHour"}],IsLunchTime:[{paramCount:1,text:"IsLunchTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsLunchTime"}],IsMorning:[{paramCount:1,text:"IsMorning()",descriptionStringId:"ExpressionEditorStringId.Function_IsMorning"}],IsNextHour:[{paramCount:1,text:"IsNextHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextHour"}],IsNight:[{paramCount:1,text:"IsNight()",descriptionStringId:"ExpressionEditorStringId.Function_IsNight"}],IsSameHour:[{paramCount:1,text:"IsSameHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsSameHour"}],IsSameTime:[{paramCount:1,text:"IsSameTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsSameTime"}],IsThisHour:[{paramCount:1,text:"IsThisHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisHour"}],IsWorkTime:[{paramCount:1,text:"IsWorkTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsWorkTime"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalLastWeek:null,IsOutlookIntervalPriorThisYear:null}},{display:"Logical",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Logical",items:{Iif:[{paramCount:3,text:"Iif(, , )",descriptionStringId:"ExpressionEditorStringId.Function_Iif"}],InRange:[{paramCount:3,text:"InRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InRange"}],IsNull:[{paramCount:1,text:"IsNull()",descriptionStringId:"ExpressionEditorStringId.Function_IsNull"}],IsNullOrEmpty:[{paramCount:1,text:"IsNullOrEmpty()",descriptionStringId:"ExpressionEditorStringId.Function_IsNullOrEmpty"}]}},{display:"Math",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Math",items:{Abs:[{paramCount:1,text:"Abs()",descriptionStringId:"ExpressionEditorStringId.Function_Abs"}],Sqr:[{paramCount:1,text:"Sqr()",descriptionStringId:"ExpressionEditorStringId.Function_Sqr"}],Cos:[{paramCount:1,text:"Cos()",descriptionStringId:"ExpressionEditorStringId.Function_Cos"}],Sin:[{paramCount:1,text:"Sin()",descriptionStringId:"ExpressionEditorStringId.Function_Sin"}],Atn:[{paramCount:1,text:"Atn()",descriptionStringId:"ExpressionEditorStringId.Function_Atn"}],Exp:[{paramCount:1,text:"Exp()",descriptionStringId:"ExpressionEditorStringId.Function_Exp"}],Log:[{paramCount:1,text:"Log()",descriptionStringId:"ExpressionEditorStringId.Function_Log"},{paramCount:2,text:"Log(, )",descriptionStringId:"ExpressionEditorStringId.Function_Log_2"}],Rnd:[{paramCount:0,text:"Rnd()",descriptionStringId:"ExpressionEditorStringId.Function_Rnd"}],Tan:[{paramCount:1,text:"Tan()",descriptionStringId:"ExpressionEditorStringId.Function_Tan"}],Power:[{paramCount:2,text:"Power(, )",descriptionStringId:"ExpressionEditorStringId.Function_Power"}],Sign:[{paramCount:1,text:"Sign()",descriptionStringId:"ExpressionEditorStringId.Function_Sign"}],Round:[{paramCount:1,text:"Round()",descriptionStringId:"ExpressionEditorStringId.Function_Round"},{paramCount:2,text:"Round(, )",descriptionStringId:"ExpressionEditorStringId.Function_Round_2"}],Ceiling:[{paramCount:1,text:"Ceiling()",descriptionStringId:"ExpressionEditorStringId.Function_Ceiling"}],Floor:[{paramCount:1,text:"Floor()",descriptionStringId:"ExpressionEditorStringId.Function_Floor"}],Max:[{paramCount:2,text:"Max(, )",descriptionStringId:"ExpressionEditorStringId.Function_Max"}],Min:[{paramCount:2,text:"Min(, )",descriptionStringId:"ExpressionEditorStringId.Function_Min"}],Acos:[{paramCount:1,text:"Acos()",descriptionStringId:"ExpressionEditorStringId.Function_Acos"}],Asin:[{paramCount:1,text:"Asin()",descriptionStringId:"ExpressionEditorStringId.Function_Asin"}],Atn2:[{paramCount:2,text:"Atn2(, )",descriptionStringId:"ExpressionEditorStringId.Function_Atn2"}],BigMul:[{paramCount:2,text:"BigMul(, )",descriptionStringId:"ExpressionEditorStringId.Function_BigMul"}],Cosh:[{paramCount:1,text:"Cosh()",descriptionStringId:"ExpressionEditorStringId.Function_Cosh"}],Log10:[{paramCount:1,text:"Log10()",descriptionStringId:"ExpressionEditorStringId.Function_Log10"}],Sinh:[{paramCount:1,text:"Sinh()",descriptionStringId:"ExpressionEditorStringId.Function_Sinh"}],Tanh:[{paramCount:1,text:"Tanh()",descriptionStringId:"ExpressionEditorStringId.Function_Tanh"}],ToInt:[{paramCount:1,text:"ToInt()",descriptionStringId:"ExpressionEditorStringId.Function_ToInt"}],ToLong:[{paramCount:1,text:"ToLong()",descriptionStringId:"ExpressionEditorStringId.Function_ToLong"}],ToFloat:[{paramCount:1,text:"ToFloat()",descriptionStringId:"ExpressionEditorStringId.Function_ToFloat"}],ToDouble:[{paramCount:1,text:"ToDouble()",descriptionStringId:"ExpressionEditorStringId.Function_ToDouble"}],ToDecimal:[{paramCount:1,text:"ToDecimal()",descriptionStringId:"ExpressionEditorStringId.Function_ToDecimal"}]}},{display:"String",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Text",items:{Trim:[{paramCount:1,text:"Trim()",descriptionStringId:"ExpressionEditorStringId.Function_Trim"}],Len:[{paramCount:1,text:"Len()",descriptionStringId:"ExpressionEditorStringId.Function_Len"}],Substring:[{paramCount:3,text:"Substring('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Substring_3"},{paramCount:2,text:"Substring('', )",descriptionStringId:"ExpressionEditorStringId.Function_Substring"}],Upper:[{paramCount:1,text:"Upper()",descriptionStringId:"ExpressionEditorStringId.Function_Upper"}],Lower:[{paramCount:1,text:"Lower()",descriptionStringId:"ExpressionEditorStringId.Function_Lower"}],Concat:[{paramCount:1/0,text:"Concat(, )",descriptionStringId:"ExpressionEditorStringId.Function_Concat"}],Ascii:[{paramCount:1,text:"Ascii('')",descriptionStringId:"ExpressionEditorStringId.Function_Ascii"}],Char:[{paramCount:1,text:"Char()",descriptionStringId:"ExpressionEditorStringId.Function_Char"}],ToStr:[{paramCount:1,text:"ToStr()",descriptionStringId:"ExpressionEditorStringId.Function_ToStr"}],Replace:[{paramCount:3,text:"Replace('','', '')",descriptionStringId:"ExpressionEditorStringId.Function_Replace"}],Reverse:[{paramCount:1,text:"Reverse('')",descriptionStringId:"ExpressionEditorStringId.Function_Reverse"}],Insert:[{paramCount:3,text:"Insert('', , '')",descriptionStringId:"ExpressionEditorStringId.Function_Insert"}],CharIndex:[{paramCount:2,text:"CharIndex('','')",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex"},{paramCount:3,text:"CharIndex('','', )",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex_3"}],Remove:[{paramCount:2,text:"Remove('', )",descriptionStringId:"ExpressionEditorStringId.Function_Remove"},{paramCount:3,text:"Remove('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Remove_3"}],PadLeft:[{paramCount:2,text:"PadLeft(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft"},{paramCount:3,text:"PadLeft(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft_3"}],PadRight:[{paramCount:2,text:"PadRight(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadRight"},{paramCount:3,text:"PadRight(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadRight_3"}],StartsWith:[{paramCount:2,text:"StartsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_StartsWith"}],EndsWith:[{paramCount:2,text:"EndsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_EndsWith"}],Contains:[{paramCount:0,text:"Contains('', '')",descriptionStringId:"ExpressionEditorStringId.Function_Contains"}],Join:[{paramCount:1,text:"Join()",descriptionStringId:"ExpressionEditorStringId.Function_Join"},{paramCount:2,text:"Join(, '')",descriptionStringId:"ExpressionEditorStringId.Function_Join_2"}]}}],Zd=(e,t)=>{if(Array.isArray(t))return t.forEach(t=>{const i=e.find(e=>e.display===t.display);i?i.items={...i.items,...t.items}:e.push(t)}),e;const i=[];return e.forEach(e=>{const s=t[e.display],r=xe({},e.items,s);Object.keys(r).length&&i.push(s?{display:e.display,category:e.category,localizationId:e.localizationId,items:r}:e)}),i},Jd=It(Yd),Xd=()=>Jd(Yd);function Qd(e){const t=xe(!0,[],Jd());return Zd(t,e)}const el="range";function tl(e,t,i,s){return{displayName:Rt(t,i),content:{showDescription:s,isSelected:os.observable(!1),data:{items:e,selectedItem:os.observable(null)},name:"dx-expressioneditor-collection"},dispose:()=>{}}}function il(e,t,i,s){if(!i||!e)return t;const r=os.observable(t());i.toDisplayExpression(e(),t()).done(e=>{r(e)}).fail(()=>{r(t())});const a=t.subscribe(t=>{i.toDisplayExpression(e(),t).done(e=>{r(e)}).fail(()=>{r(t)})}),n=e.subscribe(e=>{i.toDisplayExpression(e,t()).done(e=>{r(e)}).fail(e=>{r(t())})}),o=os.pureComputed({read:()=>r(),write:s=>{r(s),i.toRealExpression(e(),s).done(e=>{t(e)}).fail(()=>{t(s)})}});return s&&[o,a,n].forEach(e=>s.push(e)),o}const sl=[{text:"+",image:"addition",descriptionStringId:"ExpressionEditorStringId.Operator_Plus"},{text:"-",image:"subtraction",descriptionStringId:"ExpressionEditorStringId.Operator_Minus"},{text:"*",image:"multiplication",descriptionStringId:"ExpressionEditorStringId.Operator_Multiply"},{text:"/",image:"division",descriptionStringId:"ExpressionEditorStringId.Operator_Divide"},{text:"%",image:"modulus",hasSeparator:!0,descriptionStringId:"ExpressionEditorStringId.Operator_Modulo"},{text:"()",image:"parenthesis",hasSeparator:!0},{text:"|",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseOr"},{text:"&",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseAnd"},{text:"^",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseXor"},{text:"==",image:"equal",descriptionStringId:"ExpressionEditorStringId.Operator_Equal"},{text:"!=",image:"not_equal",descriptionStringId:"ExpressionEditorStringId.Operator_NotEqual"},{text:"<",image:"less",descriptionStringId:"ExpressionEditorStringId.Operator_Less"},{text:"<=",image:"less_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_LessOrEqual"},{text:">=",image:"greater_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_GreaterOrEqual"},{text:">",hasSeparator:!0,image:"greater",descriptionStringId:"ExpressionEditorStringId.Operator_Greater"},{text:"In",descriptionStringId:"ExpressionEditorStringId.Operator_In"},{text:"Like",descriptionStringId:"ExpressionEditorStringId.Operator_Like"},{text:"Between",descriptionStringId:"ExpressionEditorStringId.Operator_Between"},{text:"And",image:"and",descriptionStringId:"ExpressionEditorStringId.Operator_And"},{text:"Or",image:"or",descriptionStringId:"ExpressionEditorStringId.Operator_Or"},{text:"Not",image:"not",descriptionStringId:"ExpressionEditorStringId.Operator_Not"}];class rl extends x{_previousSymbol(){const e=this._editor.getCursorPosition();return this._editor.session.getLine(e.row)[e.column-1]}beforeInsertMatch(e,t,i){const s=e.getCursorPosition();if("Parameters."===i)(t=t||!this._isInContext()&&e.session.getTokenAt(s.row,s.column))&&("support.variable.other"===t.type||"support.function"===t.type?e.session.remove({start:{column:t.start-1||0,row:s.row},end:{column:Math.max(t.start+t.value.length||0,s.column),row:s.row}}):"support.variable.parameter"===t.type?e.session.remove({start:{column:t.start||0,row:s.row},end:{column:Math.max(t.start+t.value.length+1||0,s.column),row:s.row}}):"text"===t.type&&"?"===t.value[t.value.length-1]&&e.session.remove({start:{column:t.start+t.value.length-1||0,row:s.row},end:{column:t.start+t.value.length||0,row:s.row}}));else{if(!(t=t||e.session.getTokenAt(s.row,s.column)))return;let i=null;"support.variable.other"===t.type||"support.function"===t.type?i=Math.max(t.start+t.value.length||0,s.column):"support.context.start"===t.type&&s.column<t.start+t.value.length&&(i=t.start+t.value.length-1||0),null!==i&&e.session.remove({start:{column:t.start||0,row:s.row},end:{column:i,row:s.row}})}}insertMatch(e,t,i){"Parameters."===t?e.insert("?"+i):e.insert("["+(t||"")+i+"]")}generateFieldDisplayName(e,t){return"Parameters."===e?"?"+t:"["+t+"]"}_convertDataMemberInfoToCompletions(e,t,i=""){return(e||[]).map(e=>{const s=this.generateFieldDisplayName(i,e.displayName);return{caption:e.displayName||e.name,snippet:s,meta:Yn(e)&&Rt("list","DxDesignerStringId.CodeCompletion_List")||Rt("field","DxDesignerStringId.CodeCompletion_Field"),score:Yn(e)?200:100,completer:{insertMatch:(s,r)=>{this.beforeInsertMatch(s,t(),i),this.insertMatch(s,i,this._options.getRealExpression&&e.displayName||e.name)}}}})}_combinePath(e){let t=this._getPath();if(e){const i=this._rootItems.filter(t=>0===e.indexOf(t.name))[0];t=i&&i.rootPath?[i.rootPath,e].join("."):[t,e].join(".")}return t}_getParentPrefix(e){const t=this._editor.getCursorPosition().column-e.start-1;let i=e.value.lastIndexOf(".",t);const s=e.value.lastIndexOf("]",t);i=Math.max(s,i);const r="support.variable.other"===e.type||"support.context.start"===e.type?1:0;let a=e.value.substring(r,i);return"["===a[0]&&(a=a.substr(1)),"]"===a[a.length-1]&&(a=a.substring(0,a.length-1)),a}_getRealPath(e){const t=e.split("."),i=new L;return this._options.getRealExpression?this._options.getRealExpression(t[0],this.generateFieldDisplayName(null,t.splice(1).join("."))).done(e=>{e=e.slice(1,e.length-1),i.resolve(e&&[t[0],e].join(".")||t[0])}).fail(()=>{i.resolve(e)}):i.resolve(e),i.promise()}_getFields(e=()=>null,t=[],i=!1){const s=new L;let r;const a=e();return!a||"support.variable.other"!==a.type&&"support.function"!==a.type&&"support.context.start"!==a.type||(r=this._getParentPrefix(a)),this._getRealPath(this._combinePath(r)).done(a=>{const n=[os.unwrap(this._fieldListProvider).getItems(new ha(a)).done(s=>{t.push.apply(t,this._convertDataMemberInfoToCompletions(rl._cleanupFields(s),e,i?null:r&&r+"."))})],o=[];r||this._rootItems.forEach(i=>{const s=i.rootPath||i.name;-1===o.indexOf(s)&&(o.push(s),n.push(os.unwrap(this._fieldListProvider).getItems(new ha(s)).done(r=>{this._processFields(n,r,t,s,e,i.needPrefix?i.name+".":"",!0)})))}),L.when(n).always(()=>{s.resolve(t)})}),s.promise()}static _cleanupFields(e=[]){return e.filter(e=>"parameters"!==e.specifics&&"none"!==e.specifics)}_processFields(e,t,i,s,r,a="",n=!1){const o=e=>{i.push.apply(i,this._convertDataMemberInfoToCompletions(n?rl._cleanupFields(e):e,r,a))};t.forEach(t=>{t.specifics===el&&Yn(t)?e.push(os.unwrap(this._fieldListProvider).getItems(new ha(s+"."+t.name)).done(e=>{o(e)}).fail(()=>{o([t])})):o([t])})}getFunctionsCompletions(){const e=[];return os.unwrap(this._functions).filter(e=>"Aggregate"!==e.category).forEach(t=>{Object.keys(t.items).forEach(i=>{t.items[i]&&e.push(al(t.items[i][0],i))})}),e}getAggregateCompletions(){const e=[],t=os.unwrap(this._functions).filter(e=>"Aggregate"===e.category)[0];return t&&Object.keys(t.items).forEach(i=>{t.items[i]&&e.push(al(t.items[i][0],i,i+"()"))}),e}getOperatorCompletions(e){return sl.map(t=>({caption:t.text,snippet:e+t.text,meta:Rt("operator","DxDesignerStringId.CodeCompletion_Operator")}))}_addFunctions(e){e.push.apply(e,this.getFunctionsCompletions())}_addAggregates(e){e.push.apply(e,this.getAggregateCompletions())}_addOperators(e,t){const i=/\s/.test(t[t.length-1])?"":" ";e.push.apply(e,this.getOperatorCompletions(i))}_addParameterOperators(e,t){const i=new L,s=[],r="Parameters";return s.push(os.unwrap(this._fieldListProvider).getItems(new ha(r)).done(i=>{this._processFields(s,i,e,r,t,r+".")})),L.when(s).always(()=>{i.resolve(e)}),i.promise()}_getOperands(e=()=>null){const t=[];return this._addFunctions(t),this._getFields(e,t)}_getOperandsOrOperators(e,t,i){let s;try{zn.parse(t)}catch(e){s=e.hash}const r=t.trim(),a=r[r.length-1];if("?"===a&&" "!==t[t.length-1])this._addParameterOperators(i,e);else{if((s||!r)&&"]"!==a&&")"!==a)return this._getOperands();this._addOperators(i,t)}}_findStartContextTokenPosition(e,t){let i=0;for(let s=t;s>-1;s--)if("support.context.end"===e[s].type)i++;else if("support.context.start"===e[s].type){if(!(i>0))return s;i--}}_findOpenedStartContext(e,t){const i=[],s=e.filter((e,i)=>("support.context.start"===e.type||"support.context.end"===e.type)&&i<t);for(let t=0;t<s.length;t++)"support.context.start"===s[t].type?i.push(e.indexOf(s[t])):i.pop();return i}_findOpenedAggregates(e,t){const i=[],s=e.filter((e,i)=>"support.other.aggregate"===e.type&&i<t);if(s.length>0){const r=e[t],a=this._editor.getCursorPosition().column-(r&&r.start||0);for(let r=s.length-1;r>-1;r--){const n=e.indexOf(s[r]);let o=0,d=0,l=!1;if(n+1===t&&-1!==e[n+1].value.substr(0,a).indexOf("()")||n+1<t&&-1!==e[n+1].value.indexOf("()"))l=!0,t=n;else{for(let i=n;i<t;i++)if("("===e[i].value.trim()?o++:")"===e[i].value.trim()&&d++,o===d&&0!==o){l=!0;break}l||i.splice(0,0,n),t=n}}}return i}_getContextPath(e,t){const i=[],s=this._findOpenedAggregates(e,t),r=this._findOpenedStartContext(e,t).concat(...s).sort((e,t)=>e-t);if(r.length>0)for(let t=0;t<r.length;t++)if("support.other.aggregate"===e[r[t]].type)if("support.context.end"===e[r[t]-1].type){const s=nl(e[this._findStartContextTokenPosition(e,r[t]-2)].value.match(/^\[(?:[^\]\)])*\]/)[0]);i.push(s)}else"support.variable.other"===e[r[t]-1].type&&i.push(nl(e[r[t]-1].value));else{const s=nl(e[r[t]].value.match(/^\[(?:[^\]\)])*\]/)[0]);i.push(s)}return i.filter(e=>!!e).join(".")}_getCompletions(e,t,i,s){let r;const a=[],n=()=>t.getTokenAt(i.row,i.column),o=n(),d=e.session.getLine(i.row).substring(0,i.column),l=t.getTokens(i.row),u=o?o.index:-1;if(this._contextPath=this._getContextPath(l,u),o)if("support.context.start"===o.type){const e=this._editor.getCursorPosition().column-o.start===o.value.length;let t;e&&(t=[],this._addFunctions(t)),r=this._getFields(n,t,e)}else if("string.quoted.single"===o.type);else if(0===o.type.indexOf("support.variable"))r=this._getFields(n);else if("support.function"===o.type)r=this.defaultProcess(n,d.substring(0,o.start),a);else if("support.other.aggregate"===o.type){const e=l[u-1];this._addAggregates(a),e&&nl(e.value).trim()&&(r=this._getFields(()=>({start:o.start-(e.value||"").length||0,value:e.value+o.value,type:"support.function"}),a))}else 0!==o.type.indexOf("comment")&&(r=this.defaultProcess(n,d,a));else r=this._getOperands();return r||(new L).resolve(a).promise()}defaultProcess(e,t,i){return this._getOperandsOrOperators(e,t,i)}constructor(e){super(),this._options=e,this._contextPath=null,this._isInContext=()=>null!==this._contextPath,this._getPath=()=>this._contextPath?this._path()+"."+this._contextPath:this._path(),this.identifierRegexps=[/\./,/\[/],this._fieldListProvider=e.fieldListProvider,this._path=e.path,this._editor=e.editor,this._functions=os.computed(()=>os.unwrap(e.functions)||Jd()),this._rootItems=e.rootItems||[{name:"Parameters",needPrefix:!0}],this._disposables.push(this._functions)}getCompletions(e,t,i,s,r){this._getCompletions(e,t,i,s).done(e=>{r(null,e)})}getDocTooltip(e){e.tooltip&&!e.docHTML&&(e.docHTML=[e.tooltip].join(""))}}function al(e,t,i=null){let s=i||e.text;return{caption:t,snippet:s,meta:Rt("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:e.description||Rt(e.text,e.descriptionStringId)||null,score:10,completer:{insertMatch:(t,i)=>{const r=t.completer.completions;if(r.filterText){const e=t.selection.getAllRanges();for(let i,s=0;i=e[s];s++)i.start.column-=r.filterText.length,t.session.remove(i)}if("[]."===s.substr(0,3)){const e=t.selection.getAllRanges();for(let i,r=0;i=e[r];r++)i.start.column-=2,"]."===t.session.getTextRange(i)&&(s=s.substr(3))}t.insert(s),Kn(e.paramCount,t,s)}}}}function nl(e){return e.substring("["===e[0]?1:0,"]"===e[e.length-1]?e.length-1:e.length)}class ol extends hn{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.property=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?(this.begin=e.rightPart[0],this.end=e.rightPart.length>1?e.rightPart[1]:pn.process("value")):(this.begin=pn.process("value"),this.end=pn.process("value")):(this.begin=e.rightPart,this.end=pn.process("value"))},this.operatorType="Between",this.type="between",this.property=e,this.begin=t||pn.process("value"),this.end=i||pn.process("value")}get leftPart(){return this.property}get rightPart(){return[this.begin,this.end]}get displayType(){return"Between"}get enumType(){return ol}accept(e){return e.visitBetweenOperator?e.visitBetweenOperator(this):new ol(this.property&&this.property.accept(e),this.begin&&this.begin.accept(e),this.end&&this.end.accept(e))}}pn.register("between",e=>new ol(e.property,e.begin,e.end),e=>pn.process("between",{property:pn.process("property"),begin:pn.process("value"),end:pn.process("value")}));class dl extends hn{constructor(e,t){super(),this.assignLeftPart=e=>{this.criteriaOperator=e.leftPart},this.assignRightPart=e=>{this.operands=[].concat(e.rightPart)},this.operatorType="In",this.type="in",this.operands=[],this.criteriaOperator=e||pn.process("default"),(t||[]).forEach(e=>this.operands.push(e))}get leftPart(){return this.criteriaOperator}get rightPart(){return this.operands}get displayType(){return"In"}get enumType(){return dl}accept(e){return e.visitInOperator?e.visitInOperator(this):new dl(this.criteriaOperator&&this.criteriaOperator.accept(e),this.operands&&this.operands.map(t=>t.accept(e)))}}pn.register("in",e=>new dl(e.criteriaOperator,e.operands),e=>pn.process("in",{criteriaOperator:pn.process("property"),operands:[pn.process("value")]}));const ll={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">=",Divide:"/",BitwiseAnd:"&",BitwiseOr:"|",BitwiseXor:"^",Modulo:"%",Multiply:"*"};class ul extends hn{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.leftOperand=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length&&(this.rightOperand=e.rightPart[0]):this.rightOperand=e.rightPart},this.type="binary",this.leftOperand=e||pn.process("default"),this.rightOperand=t||pn.process("default"),this.operatorType=i}get leftPart(){return this.leftOperand}get rightPart(){return this.rightOperand}get displayType(){return ll[kn[this.operatorType]]||kn[this.operatorType]}get enumType(){return kn}accept(e){return e.visitBinaryOperator?e.visitBinaryOperator(this):new ul(this.leftOperand&&this.leftOperand.accept(e),this.rightOperand&&this.rightOperand.accept(e),this.operatorType)}}pn.register("binary",e=>new ul(e.left,e.right,e.operatorType),e=>pn.process("binary",{left:pn.process("property"),right:pn.process("value"),operatorType:e.value}));class cl extends hn{constructor(e,t){super(),this.toString=e=>{const t=(ll[this.displayType]||this.displayType)+"("+this.operands.map(e=>e.toString()).join(", ")+")";return e?"Not "+t:t},this.assignLeftPart=e=>{this.operands=[e.leftPart]},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?this.operands.push(e.rightPart[0]):this.operands.push(pn.process("value")):this.operands.push(e.rightPart)},this.operands=[],this.type="function",this.operatorType=e,(t=t||[pn.process("default")]).forEach(e=>this.operands.push(e))}get leftPart(){return this.operands[0]}get rightPart(){return this.operands.filter((e,t)=>0!==t)}get displayType(){return Tn[this.operatorType]||this.operatorType.toString()}get enumType(){return Tn}accept(e){return e.visitFunctionOperator?e.visitFunctionOperator(this):new cl(this.operatorType,this.operands&&this.operands.map(t=>t.accept(e)))}}pn.register("function",e=>new cl(e.operatorType,e.operands),e=>new cl(e.value,[pn.process("property")]));class pl extends En{constructor(e,t){super(e),this.type="value",t&&!this.specifics&&(this.specifics=t)}accept(e){return e.visitConstantValue?e.visitConstantValue(this):new pl(this.value,this.specifics)}}pn.register("const",e=>new pl(e?.value||null));class hl{serializeGroupOperand(e,t){const i=e.operands.map(e=>e instanceof Bn?"("+this.serialize(e)+")":this.serialize(e)).filter(e=>""!==e&&"()"!==e).join(" "+(this.operatorTokens[e.displayType]||e.displayType)+" ");return t&&i?"Not("+i+")":i}serializeAggregateOperand(e,t){const i="Exists"===e.operatorType?"":"."+e.operatorType,s=e.condition?this.serialize(e.condition):"",r=this.serialize(e.property),a="["+s+"]";let n="";if("Exists"!==e.operatorType){let t="";e.aggregatedExpression?t=this.serialize(e.aggregatedExpression):e.customAggregatedExpression&&(t=e.customAggregatedExpression.map(e=>this.serialize(e)).join(", ")),n=`(${t})`}let o=r;return(!s&&!n||s)&&(o+=a),o+i+n}serializeOperandProperty(e){if(!e.propertyName)return e.circumflex?"^":"[]";let t=e.displayType;return t.length-nl(t).length===2&&(t="["+nl(t).replace(/\\/g,"\\\\").replace(/\]/g,"\\]")+"]"),e.circumflex?"^."+t:t}serializeOperandValue(e){let t=e.value;if(null!=t&&(pe(t)||"true"===String(t).toLowerCase()||"false"===String(t).toLowerCase()))return"string"===e.specifics?"'"+t+"'":"guid"===e.specifics&&fn(t)?"{"+t+"}":t;if(t&&e.value instanceof Date)return"time"===e.specifics?"#!"+re(t,"-",Z.SystemTimeOnly)+"!#":"date"===e.specifics?"#!"+re(t,"-",Z.SystemDateOnly)+"!#":"#"+re(t,"-")+"#";if("integer"===e.specifics||"integer"===e.specifics)return t||"?";if("guid"===e.specifics&&fn(t))return"{"+t+"}";if("string"===e.specifics)return t=t.replace(/'/g,"''"),t?"'"+t+"'":"?";if("enum"===e.specifics&&t){const[e,i]=t.split(An);return e&&i?`##Enum#${t}#`:`##ToString#${t}#`}return t||"?"}serializeOperandParameter(e){return e.displayType}serializeBetweenOperator(e,t){const i=this.serialize(e.property)+" "+e.displayType+"("+this.serialize(e.begin)+", "+this.serialize(e.end)+")";return t?"Not "+i:i}serializeInOperator(e,t){const i=this.serialize(e.criteriaOperator)+" "+e.displayType+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+i:i}serializeBinaryOperator(e,t){if(e.operatorType===kn.Like){const i=t?" Not ":" ";return this.serialize(e.leftOperand)+i+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}return(t?"Not ":"")+this.serialize(e.leftOperand)+" "+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}serializeUnaryOperator(e,t){if(e.operatorType===ln.IsNull){const i=t?" Not ":" ";return this.serialize(e.operand)+" Is"+i+"Null"}if(e.operatorType===ln.Not)return this.serialize(e.operand,!0);const i=(this.operatorTokens[e.displayType]||e.displayType)+this.serialize(e.operand);return t?"Not "+i:i}serializeFunctionOperator(e,t){const i=(this.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+i:i}constructor(e=ll,t){this.operatorTokens=e,this.custom=t}serialize(e,t=!1){if(e instanceof Dn)return this.serializeAggregateOperand(e,t);if(e instanceof ol)return this.serializeBetweenOperator(e,t);if(e instanceof ul)return this.serializeBinaryOperator(e,t);if(e instanceof pl)return this.serializeOperandValue(e);if(e instanceof cl)return this.serializeFunctionOperator(e,t);if(e instanceof Bn)return this.serializeGroupOperand(e,t);if(e instanceof dl)return this.serializeInOperator(e,t);if(e instanceof In)return this.serializeOperandParameter(e);if(e instanceof Sn)return this.serializeOperandProperty(e);if(e instanceof En)return this.serializeOperandValue(e);if(e instanceof $n)return this.serializeUnaryOperator(e,t);if(this.custom)return this.custom(e,t);throw Error("Undefined type criteria operator")}deserialize(e){return this.deserializeOperand(zn.parse(e))}deserializeOperand(e){if(e instanceof Bn)return e;if(e instanceof $n&&e.operatorType===ln.Not){const t=e.operand;return t instanceof Bn||t instanceof cl||t instanceof ol||t instanceof dl?e:t instanceof $n&&e.operatorType===ln.Not&&!(t.operand instanceof Sn)?this.deserializeOperand(t.operand):new $n(ln.Not,new Bn(Pn.And,t?[t]:[]))}return new Bn(Pn.And,e?[e]:[])}}class ml{_replaceNames(e,t,i){const s=new L;let r;if(!t)return s.resolve("").promise();try{r=zn.parse(t,!0)}catch(e){return s.reject().promise()}const a=[],n=[],o=new hl;if(Fn(r,(t,s)=>{if(t instanceof Sn){const r=0===t.propertyName.indexOf("^.");let o=r?t.propertyName.substring(2):t.propertyName;o=s?[s,o].join("."):o;const d=i?this.displayNameProvider.getDisplayNameByPath(e,o):this.displayNameProvider.getRealName(e,o);a.push(d.done(e=>{let i=r?"^."+e:e;i=s?i.split(".").slice(s.split(".").length).join("."):i,n.push({operand:t,convertedName:i})}))}}),0===a.length)s.resolve(t);else{let e=0;const i=()=>{if(++e<a.length)return;const i=t.split("\n");for(let e=0;e<i.length;e++){const t=n.filter(t=>t.operand.startPosition.line===e).sort((e,t)=>e.operand.startPosition.column-t.operand.startPosition.column);for(let s=0,r=0;s<t.length;s++){const a=t[s].operand.startPosition.column,n=t[s].operand.propertyName;let d=0;t[s].operand.originalPropertyLength!==n.length&&(d=Math.max(0,t[s].operand.originalPropertyLength-o.serialize(t[s].operand,!1).length));const l=t[s].convertedName;!n||a<0||(i[e]=i[e].substring(0,a+r)+l+i[e].substring(a+n.length+d+r),r+=l.length-n.length-d)}}s.resolve(i.join("\n"))};a.forEach(e=>e.always(i))}return s.promise()}constructor(e){this.displayNameProvider=e}toDisplayExpression(e,t){return this._replaceNames(e,t,!0)}toRealExpression(e,t){return this._replaceNames(e,t,!1)}}class gl extends x{_update(){this.content=this._getHighlightContent(Gt.unwrap(this._options.text),Gt.unwrap(this._options.textToSearch),Gt.unwrap(this._options.searchOptions))}update(e){this._options=e,this._update()}_getHighlightContent(e,t,i){let s=e;if(t){const e=We(s,t,i);if(e){let t="",i=0,r=s;return e.forEach((a,n)=>{const o=r.indexOf(a),d=s.substr(i,o);r=r.substr(o+a.length),d&&(this._$spanProtect.text(d),t+=this._$spanProtect[0].outerHTML),this._$spanSearch.text(a),t+=this._$spanSearch[0].outerHTML,i=s.length-r.length,n===e.length-1&&r&&(this._$spanProtect.text(r),t+=this._$spanProtect[0].outerHTML)}),t}}return this._$spanProtect.text(s),s=this._$spanProtect[0].outerHTML,s}constructor(e){super(),this._$spanProtect=V(document.createElement("span")),this._$spanSearch=V(document.createElement("span")).addClass("dx-datagrid-search-text"),this._options=e,["text","textToSearch"].forEach(e=>{Gt.isSubscribable(this._options[e])&&this._disposables.push(this._options[e].subscribe(()=>{this._update()}))}),this._update()}}function xl(e,t,i,s,r,a){Et(t,function(){e.dispose()}),setTimeout(()=>{let n=!1;os.computed({read:()=>{!n&&os.bindingHandlers.html.init&&(os.bindingHandlers.html.init(t,()=>e.content,s,r,a),n=!0),os.bindingHandlers.html.update&&os.bindingHandlers.html.update(t,()=>(e.update(i()),e.content),s,r,a)},disposeWhenNodeIsRemoved:t})},1)}os.bindingHandlers.searchHighlighting={init:function(e,t,i,s,r){xl(new gl(t()),e,t,i,s,r)}};const fl=DevExpress.trial;var vl=e.n(fl);const{showTrialPanel:bl,registerTrialPanelComponents:yl}=vl();function _l(e){e&&!e.isLicensed&&bl(e.buyNowLink,e.licensingDocLink,e.version||$s,e.subscriptions)}yl();class Cl{constructor(){this._x=0,this._y=0,this.isOver=!1}get x(){return this._x}set x(e){this._x=e}get y(){return this._y}set y(e){this._y=e}}function wl(e,t){if(!e||!t)return!1;if(e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}function Al(e){const t=atob(e),i=t.length,s=new Uint8Array(i);for(let e=0;e<i;e++)s[e]=t.charCodeAt(e);return(new TextDecoder).decode(s)}var El=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class Il extends ed{createViewModel(){return Zs(super.createViewModel()).generateProperty("propertyGrid",this.propertyGrid.getViewModel()).generateProperty("propertyGridModel",this.propertyGridModel).getViewModel()}updateViewModel(e){if(super.updateViewModel(e),"propertyGridModel"===e.propertyName){this.propertyGrid.updateEditorsInfo(this.propertyGridModel,this.propertyGridModel.getInfo());this.getViewModel().propertyGridModel=this.propertyGridModel}}constructor(e){super(e),this.propertyGridModel=e.propertyGridModel,this.propertyGrid=new bo(this.propertyGridModel,void 0,void 0,void 0,!0,void 0,void 0,new So,e.engineType),this.propertyGrid.addDisposable(this.propertyGrid.createComputedProperty(`___${da()}`,()=>{this.propertyGrid.getEditors().some(e=>e.visible&&e._get("isRendered"))&&(this.keyboardHelper&&this.keyboardHelper.initialize(),this.focus())},[gt(this.propertyGrid,[{propertyName:"_editors",subscribables:["visible","isRendered"]}])])),this._disposables.push(this.propertyGrid)}}El([ir(void 0)],Il.prototype,"propertyGridModel",void 0);class Sl extends x{getInfo(){return[]}getPropertyInfo(e){return this.getInfo().find(t=>t.propertyName===e)}getPropertyDefaultValue(e){const t=this.getPropertyInfo(e);return os.unwrap(t&&(new Da).deserializeDefaultValue(t))}isPropertyModified(e){const t=`_${e}`,i=this[this[t]?t:e];if(!i)return!1;if(i.isPropertyModified)return i.isPropertyModified();if(i.isEmpty)return!i.isEmpty();const s=this.getPropertyDefaultValue(e),r=os.unwrap(i);return s instanceof Object?!Do(s,r):s!==r}}class $l extends Sl{_resetProperty(e){if(this[e].resetValue)this[e].resetValue();else{const t=this.getPropertyDefaultValue(e);os.isObservable(this[e])?this[e](t):Po(t,this[e])}}getInfo(){return this.getControlFactory().controlsMap[this.controlType].info}createControl(e,t){return this.getControlFactory().createControl(e,this,t)}dispose(){super.dispose(),this.surface&&this.surface.dispose()}beforeDeserialize(e,t,i){}afterDeserialize(e,t,i){this._disposables.push(this.displayName=os.pureComputed(()=>{let e=this.name&&this.name();return e||(e="unnamed "+this.controlType),e}))}constructor(e,t,i){super(),this.actions=[],this.actionProviders=[],this.update=os.observable(!1),this.controlType=this.controlType||this.getControlFactory().getControlType(e),this.beforeDeserialize(e,t,i),this.parentModel=os.observable(t),(i=i||new Da).deserialize(this,e),this.afterDeserialize(e,t,i),this.resetValue=e=>{this._resetProperty(e)},this.actions.push({action:this.resetValue,id:"dxd-reset",title:Rt("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:this.isResettableProperty,weight:1e3})}getNearestParent(e){return e.getMetaData().isContainer?e:e.getNearestParent(e.parentModel())}getControlInfo(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]}getMetaData(){const e=this.controlType?this.controlType:"Unknown",t=this.getControlFactory().controlsMap[e];return{isContainer:t.isContainer||!1,isCopyDeny:t.isCopyDeny||!1,isDeleteDeny:t.isDeleteDeny||!1,canDrop:t.canDrop||(()=>!0),isPasteDeny:t.isPasteDeny||!t.isContainer}}_hasModifiedValue(e){return this["_"+e]&&this["_"+e]()&&this.isPropertyModified(e)}createChild(e){const t=this.getControlFactory().createControl(e,this);return this.addChild(t),t}removeChilds(e){if(this.controls){const t=this.controls();for(let i=0;i<e.length;i++){const s=t.indexOf(e[i]);if(-1===s)continue;const r=t.splice(s,1);r?.[0]?.onDelete?.()}this.controls.valueHasMutated()}}addChilds(e){if(this.controls){const t=this.controls();for(let i=0;i<e.length;i++)t.splice(0,0,e[i]);this.controls.valueHasMutated()}}removeChild(e){this.controls&&(this.controls.splice(this.controls().indexOf(e),1),e.onDelete())}addChild(e){this.controls&&-1===this.controls().indexOf(e)&&(e.parentModel(this),this.controls.splice(0,0,e),e.onAdd())}isPropertyVisible(e){return!0}isPropertyDisabled(e){return!1}getControlFactory(){throw Error("Virtual method getControlFactory")}isResettableProperty(e){return-1===["name","size","location"].indexOf(e)}_getRoot(){let e=this;for(;e&&e.parentModel();)e=e.parentModel();return e}get root(){return this._getRoot()}rtl(){return!1}onDelete(){}onAdd(){}}class kl{constructor(){this.controlsMap={}}getControlInfo(e){return this.controlsMap[e]||null}getControlType(e){const t=Ts(e["@ControlType"]||"");return this.controlsMap[t]?t:"Unknown"}createControl(e,t,i){const s=this.getControlType(e);return new(this.controlsMap[s]&&this.controlsMap[s].type||$l)(e,t,i)}registerControl(e,t){void 0!==t.isToolboxItem&&(t.nonToolboxItem=!t.isToolboxItem),Object.defineProperty(t,"isToolboxItem",{get:()=>!t.nonToolboxItem,set:e=>{t.nonToolboxItem=!e},enumerable:!0,configurable:!0}),this.controlsMap[e]=t,this.controlsMap[e].info=xe(!0,[],t.info)}_getPropertyInfoByDisplayName(e,t,i){return e.filter(e=>_e(e.displayName,e.localizationId)===t[i])[0]}_getPropertyInfoByName(e,t,i){return e.filter(e=>e.propertyName===t[i]||e.modelName==="@"+t[i]||e.modelName===t[i])[0]}_getPropertyInfo(e,t,i){const s=this._getPropertyInfoByDisplayName(e,t,i)||this._getPropertyInfoByName(e,t,i);if(i===t.length-1)return s||null;if(s.info)return this._getPropertyInfo(s.info,t,i+1);if(s.from){let e=null;try{e=s.from({})}catch(e){return null}const r=e.getInfo&&e.getInfo();if(r)return this._getPropertyInfo(r,t,i+1)}return null}getPropertyInfo(e,t){let i=t;return Array.isArray(t)||(i=t.split(".")),this._getPropertyInfo(this.controlsMap[e].info,i,0)}}function Pl(e,t){return("native"===t?.engineType?ft:yt).wrap(null==e?null:parseFloat(e))}function Tl(e,t){const i="native"===t?.engineType?ft:yt,s=Ds(e),r=this.valuesArray&&this.valuesArray.filter(e=>e.value==s)[0];return i.wrap(this.values&&void 0!==this.values[s]||r?s:e)}function Dl(e,t){return("native"===t?.engineType?ft:yt).wrap(void 0!==e?"true"===String(e).toLowerCase():e)}function Fl(e,t){const i="native"===t?.engineType?ft:yt,s=(e||"").split(",");let r=i.wrap(e);if(3===s.length)r=i.wrap("rgb("+s.join(", ")+")");else if(4===s.length){const e=Math.round(parseFloat(s[0])/255*100)/100;s.shift(),s.push(e.toString()),r=i.wrap("rgba("+s.join(", ")+")")}return r}function Bl(e){return Math.round(e).toString()}function Ol(e){const t=Ml(e).split(",");return(parseInt(t[0])<<24)+(parseInt(t[1])<<16)+(parseInt(t[2])<<8)+parseInt(t[3])}function Ml(e){const t=(e||"").split(", ");let i=e;if(3===t.length)t[0]=t[0].split("(")[1],t[2]=t[2].split(")")[0],i=t.join(",");else if(4===t.length){const e=Math.round(255*parseFloat(t[3]));t.pop(),t[0]=t[0].split("(")[1],i=e.toString()+","+t.join(",")}return i}const Nl={};function Vl(e,t){Ll(t?`${e}: ${t}`:e,function(e,t){return function(i,s){const r={};return r[e]=function(){return"$data"===t?i.$data:void 0===t?void 0:i.$data[t]},r}}(e,t))}function Ll(e,t){Nl[e]=t}function zl(e){return Nl[e]}function Hl(e,t){Vl(e,t)}function Rl(e,t){Ll(e,t)}function jl(e,t){return Object.keys(e||{}).map(i=>t(e[i]))}function Wl(e,t){return os.observableArray(jl(e,t))}Vl("svgAttrs"),Vl("dxButtonWithTemplate","options"),Vl("dxToolbar","options"),Vl("dxButton","options"),Vl("dxAutocomplete","options"),Vl("dxCheckBox","options"),Vl("dxDateBox","options"),Vl("dxMenu","options"),Vl("dxSelectBox","options"),Vl("dxTabs","options"),Vl("dxTextBox","options"),Vl("dxButtonGroup","options"),Vl("dxDropDownButton","options"),Vl("dxToolbarBase","options"),Vl("treelist","options"),Ll("template: 'dxrd-designer'",function(e,t){return{template:function(){return"dxrd-designer"}}});class Gl extends Id{constructor(){super(...arguments),this.horizontalString=os.observable(_e("Horizontal","ASPxReportsStringId.ReportDesigner_TextAlignment_Horizontal")),this.verticalString=os.observable(_e("Vertical","ASPxReportsStringId.ReportDesigner_TextAlignment_Vertical"))}_resetHorizontalValues(){this.left(!1),this.right(!1),this.center(!1),this.justify(!1)}_resetVerticalValues(){this.top(!1),this.middle(!1),this.bottom(!1)}preInitProperties(){this.middle=os.observable(!1),this.center=os.observable(!1),this.justify=os.observable(!1)}setValue(e,t){this.disabled()||this[e]()||("Horizontal"==t?this._resetHorizontalValues():this._resetVerticalValues(),this[e](!0),this.updateValue())}updateModel(e){const t=e||"TopLeft";this.top(-1!==t.indexOf("Top")),this.middle(-1!==t.indexOf("Middle")),this.bottom(-1!==t.indexOf("Bottom")),this.left(-1!==t.indexOf("Left")),this.right(-1!==t.indexOf("Right")),this.center(-1!==t.indexOf("Center")),this.justify(-1!==t.indexOf("Justify"))}updateValue(){const e=[];this.top()&&e.push("Top"),this.middle()&&e.push("Middle"),this.bottom()&&e.push("Bottom"),this.left()&&e.push("Left"),this.right()&&e.push("Right"),this.center()&&e.push("Center"),this.justify()&&e.push("Justify"),this.value(e.join(""))}}os.bindingHandlers.dxTextAlignmentEditor={init:function(e,t,i,s,r){V(e).empty();const a=Xt("dxrd-textalignment-editor"),n=V(e).append(a),o=new Gl(t());return os.cleanNode(n.children()[0]),os.applyBindings({value:o},n.children()[0]),Et(e,()=>o.dispose()),{controlsDescendantBindings:!0}}};const Ul=window.ace;var ql=e.n(Ul);const Kl=function(){let e;return t=>(void 0!==t&&(e=t),void 0===e?!!ql():e)}();class Yl extends x{_createMainPopupButtons(){const e=this;this._disposables.push(this._disableSaveButton=os.pureComputed(()=>!e.canSave())),this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.saveLocalization,type:"default",stylingMode:"contained",onClick:function(t){e.save(t)},disabled:this._disableSaveButton}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.cancelLocalization,type:"normal",stylingMode:"contained",onClick:function(){e.close()}}}],this._disposables.push(this._disableSaveButton)}constructor(){super(),this.popupVisible=os.observable(!1),this.buttonItems=[],this._createMainPopupButtons()}canSave(){return!0}save(e){this.popupVisible(!1)}close(){this.popupVisible(!1)}get cancelLocalization(){return _e("Cancel",Kd.DataAccessBtnCancel)}get saveLocalization(){return _e("OK",Kd.DataAccessBtnOK)}}class Zl extends Yl{constructor(){super(...arguments),this.resizeListeners=[],this.editorContainer=os.observable(),this.aceAvailable=Kl()}addResizeListener(e){this.resizeListeners.push(e)}setCriteriaValue(e){if(!this.aceAvailable)return;const t=this.editorContainer(),i=t&&t.getSession();i&&i.setValue(e)}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize(),this.notifyResizeListeners()}notifyResizeListeners(){this.resizeListeners.forEach(e=>e())}}class Jl{constructor(){this.selectedItem=null,this.suppressActions=!0,this.searchEnabled=!0,this.textToSearch=os.observable("")}dispose(){this.selectedItem=null}itemsFilter(e){return"parameters"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList||"none"===e.specifics)}hasItems(e){return"none"!==e.specifics}canSelect(e){return this.hasItems(e.data)&&!!e.path&&("List"===e.data.specifics||"ListSource"===e.data.specifics)||"none"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0)}isDraggable(e){return!1}}const Xl=DevExpress.ui.dxDropDownBox;var Ql=e.n(Xl);class eu extends x{static createController(e,t,i=eu,s="dx-treelist-search-panel"){const r=new i,a=V(e),n=[];t.forEach(e=>{e&&(e.root=e.root||os.observable(),n.push(e.root.subscribe(e=>{r.addController(e),r.valueChanged("")})))}),r._disposables.push({dispose:()=>{t.forEach(e=>{e&&os.isSubscribable(e.root)&&(e.root(null),delete e.root)})}});const o=Xt(s);a.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),a.empty(),a.append(o);const d=a[0].firstChild;os.cleanNode(d),os.applyBindings(r,d);const l=()=>{n.forEach(e=>e.dispose()),r&&r.dispose(),os.utils.domNodeDisposal.removeDisposeCallback(e,l)};return os.utils.domNodeDisposal.addDisposeCallback(e,l),r}dispose(){super.dispose(),this.clearProcess()}clearProcess(){this._currentProcess.forEach(e=>e.stop&&e.stop()),this._currentProcess=[],this._processedNodes=[]}valueChanged(e){e||this._processedNodes.forEach(e=>e.visible=!0),this.clearProcess(),this._roots.forEach(t=>{t.treeListController.textToSearch(e),e?this._currentProcess.push(t.walkOnTree(i=>{const s=We(i.data[t.treeListController.searchOptions.searchExpr],e,t.treeListController.searchOptions);this._processedNodes.push(i),i.visible=!!s,s&&this.expandNodePath(i)})):t.itemsCollectionHasMutated()})}expandNodePath(e){e.parent&&(e.parent.visible=!0,e.parent.toggleCollapsed(!0),this.expandNodePath(e.parent))}addController(e){this._roots=this._roots.filter(e=>!e.isDisposing),e.treeListController.textToSearch=e.treeListController.textToSearch||os.observable(""),-1===this._roots.indexOf(e)&&this._roots.push(e),this.searchTimeout=Math.max.apply(Math,this._roots.map(e=>e.treeListController.searchOptions.searchTimeout))||500}constructor(){super(),this._processedNodes=[],this._currentProcess=[],this.searchTimeout=500,this._roots=[],this.searchPlaceholder=()=>$e();const e=os.observable("");let t=null;this._disposables.push(this.value=os.computed({read:()=>e(),write:i=>{clearTimeout(t),t=setTimeout(()=>{e(i)},this.searchTimeout)}})),this._disposables.push(this.value.subscribe(e=>this.valueChanged(e)))}}class tu extends(Ql()){updateOptions(e){e.showClearButton=!0}constructor(e,t){super(e,xe(t,{showClearButton:!0,dropDownOptions:{resizeEnabled:!0}})),this._path=os.observable(""),this._value=os.observable(""),this._parentViewport=null,this._itemsProvider=os.observable(null),this._hasDisplayNameOption=!1,this._defaultPosition=null,this._searchValue=os.observable("");const i=V(e);i.addClass("dx-fieldlistpicker"),this.option("path")&&this._path(this.option("path")?.toString()),this.option("value")&&this._value(this.option("value")),this.option("itemsProvider")&&this._itemsProvider(this.option("itemsProvider")),this.option("valueChangeEvent","change"),this.option("openOnFieldClick",!1===this.option("acceptCustomValue")),this._parentViewport=i.parents(".dx-designer-viewport")[0],"displayValue"in t&&(this._hasDisplayNameOption=!0,this.option("displayValue",t.displayValue),this._setTitle(this.option("displayValue")?.toString()))}_showDropDown(){if(this._popup){const e=V(this.element());this._popup.option("width",e.width());const t=xe(!0,{},this._defaultPosition,{boundary:this._parentViewport,boundaryOffset:"0 20",collision:"none flip"});this._popup.option("position",t),this._popup.option("height","auto"),this._popup.option("maxHeight",this._getMaxHeight()),this._popup.repaint(),k(this._popup.content()).style.height="auto",this._popup.option("onResize",e=>{setTimeout(()=>{const t=k(e.component.content()),i=t?.querySelector(".dx-scrollable-container");i&&(i.style.maxHeight=t.style.height)},300)}),this._popup._renderPosition()}}_getMaxHeight(){const e=V(this.element()),t=e.offset(),i=window.innerHeight,s=Math.max(t.top,i-t.top-e.outerHeight());return Math.min(.5*i,s)}_hideOnBlur(){return!1}_popupConfig(){const e=this.option("integrationOptions").templates["dx-polymorph-widget"],t=super._popupConfig.apply(this);return this._defaultPosition=t.position,xe(t,{container:this._parentViewport,contentTemplate:e&&e._template})}_setTitle(e){this.option("openOnFieldClick")&&V(this.element()).attr("title",e)}_renderDisplayText(e){super._renderDisplayText.apply(this,[e])}_optionChanged(e){const t=e.name,i=e.value;switch(t){case"value":this._value(i),this._hasDisplayNameOption||this._renderDisplayText(i),setTimeout(()=>{this.option("opened",!1)},50),this.option("onValueChanged")&&this.option("onValueChanged")({value:i});break;case"path":this._path(i);break;case"itemsProvider":this._itemsProvider(i);break;case"displayValue":this._renderDisplayText(i),this._setTitle(i);break;default:super._optionChanged.apply(this,arguments),"opened"===t&&i&&this._showDropDown(),"opened"!==t||i||this._searchValue("")}}_clearValueHandler(){k(this._input()).value=null,super._clearValueHandler.apply(this,arguments)}_renderPopupContent(){super._renderPopupContent.apply(this,arguments);const e=document.createElement("div"),t=eu.createController(e,[this.option("treeListController")]);this._searchValue=t.value,V(this._popup.content()).append(e);const i=os.pureComputed({read:()=>this._path()?this._path()+"."+this._value():this._value(),write:e=>{this._path()&&this._path().length>0?(this._value(e.substr(this._path().length+1)),this.option("value",this._value())):(this._value(e),this.option("value",this._value()))}}),s=document.createElement("div");s.classList.add("dx-treelist-wrapper");const r=this._createComponent(s,"dxScrollView",{scrollByThumb:!0}),a=this,n=V(r.content()),o=k(this.element());n.append('<div data-bind="treelist: options"></div>');const d=os.contextFor(o),l=this.option("treeListController"),u=os.computed(()=>({itemsProvider:this._itemsProvider(),onItemsVisibilityChanged:()=>{a._popup&&a._popup._renderPosition()},selectedPath:i,treeListController:l,path:this._path})),c=d.createChildContext({options:u});os.applyBindingsToDescendants(c,n.get(0)),V(this._popup.content()).append(s)}}kd()("dxFieldListPicker",tu);class iu extends xo{_getEditorValidationRules(){return(super._getEditorValidationRules()||[]).concat(this.nullable?[]:wn())}get nullable(){return Gt.unwrap(this.editorOptions?.showClearButton)}}function su(e,t){return{header:"dx-number-editor",editorType:class extends iu{getOptions(i){const s=super.getOptions(i);return Hn.getNumberEditorOptions(e,t,s,this.nullable)}}}}function ru(e){return{header:"dx-date",editorType:class extends iu{getOptions(t){const i=xe(!0,{},t,Hn.editors[e]);return super.getOptions(i)}}}}var au=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};function nu(e){const t=e.getModel(),i=()=>{return(t="addHandler",t?e.info&&e.info[t]:e.info).call({data:e});var t};return{values:[...t.value],addHandler:()=>i(),onValueChanged:(e,i)=>{t._set("value",[...e])},info:e.info,level:e.level,displayName:Rt(e.displayName),editor:t}}function ou(e,t,i){let s;const r=yt.wrap(i.disabled);let a=null;const n=Zs().createDefaultModel({disabled:r}).generateProperty("index",t).generateProperty("disabled",i.disabled).generateProperty("level",i.level).generateProperty("name",i.displayPropertyName&&e[i.displayPropertyName]?Gt.unwrap(e[i.displayPropertyName]):t).generateProperty("select",(e,t)=>i.select(e,t)).generateProperty("padding",i.padding).generateProperty("selected",t===i.selectedIndex).generateProperty("collapsed",!0).generateProperty("setCollapsed",e=>{n.collapsed=e,s()}).generateProperty("getProperties",t=>(a||(a=new bo(e,t?.editorsInfo??void 0,t?.level??i.level+1,t?.disabled??r,!1,void 0,void 0,void 0,t?.engineType),i._accessibilityProvider&&a.registerAccessibilityProvider(i._accessibilityProvider),i._disposables.push(a)),a.getViewModel())).generateProperty("getCollapsed",()=>n.collapsed).generateProperty("setCollapsedChangedEvent",e=>(s=e,()=>s=void 0)).generateProperty("value",e).getViewModel();if(Gt.isSubscribable(e[i.displayPropertyName]))i._disposables.push(e[i.displayPropertyName].subscribe(()=>{n.name=Gt.unwrap(e[i.displayPropertyName])}));else if("object"==typeof e&&"events"in e){const t=e;i.addDisposable(t.events.on(`${i.displayPropertyName}Changed`,t=>{t.propertyName===i.displayPropertyName&&(n.name=e[i.displayPropertyName])}))}return n}class du extends ar{deferredUpdateViewModel(){return!1}createViewModel(){let e;const t=e=>Zs().generateProperty("action",t=>this[e](t)).generateProperty("disabled",this.isDisabledButton(e)).generateProperty("text",this.getDisplayTextButton(e)).generateProperty("visible",this.isVisibleButton(e)).generateProperty("template",Dd(this.buttonMap[e].iconClass)).getViewModel(),i=Zs(super.createViewModel()).generateProperty("alwaysShow",this.alwaysShow).generateProperty("showButtons",this.showButtons).generateProperty("collapsed",this.collapsed).generateProperty("setCollapsed",e=>{this.collapsed=e}).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("buttons",Zs().generateProperty("add",t("add")).generateProperty("down",t("down")).generateProperty("delete",t("delete")).generateProperty("up",t("up")).getViewModel()).generateProperty("emptyAreaText",this.getDisplayTextEmptyArray()).generateProperty("disabled",this.disabled).generateProperty("getCollapsed",()=>this.collapsed).generateProperty("hasExpanded",this.hasExpanded).generateProperty("setCollapsedChangedEvent",t=>(e=t,()=>e=void 0)).generateProperty("contentId",this.contentId).generateProperty("headerId",this.headerId).generateProperty("displayName",this.displayName).generateProperty("padding",this.padding).generateProperty("level",this.level).generateProperty("showScroll",this.showScroll).generateProperty("values",this.values.map((e,t)=>ou(e,t,this))).getViewModel();return this.addDisposable(this.events.on("collapsedChanged",t=>{e&&e()})),i}updateViewModel(e){const t=this.getViewModel();if(t.collapsed=this.collapsed,t.alwaysShow=this.alwaysShow,t.showButtons=this.showButtons,t.hasExpanded=this.hasExpanded,"selectedIndex"===e.propertyName){const i=e.oldValue,s=e.newValue;t.values[i]&&(t.values[i].selected=!1),t.values[s]&&(t.values[s].selected=!0)}if("values"===e.propertyName)if("added"in e){const i=e;i.added.forEach(e=>{for(let i=e.index;i<t.values.length;i++)t.values[i].index++;t.values.splice(e.index,0,ou(e.item,e.index,this))}),i.removed.forEach(e=>{for(let i=e.index;i<t.values.length;i++)t.values[i].index--;t.values.splice(e.index,1)}),this._timeoutItemRendered&&clearTimeout(this._timeoutItemRendered),this._timeoutItemRendered=setTimeout(()=>{this.listKeyboardHelper&&this.listKeyboardHelper.initialize()},100)}else t.values=this.values.map((e,t)=>ou(e,t,this));"values"!==e.propertyName&&"selectedIndex"!==e.propertyName&&"disabled"!==e.propertyName||Object.keys(t.buttons).forEach(e=>{t.buttons[e].disabled=this.isDisabledButton(e)}),"disabled"===e.propertyName&&(t.disabled=this.disabled,t.values.forEach(e=>{e.disabled=this.disabled,e.getModel().disabled(this.disabled)})),"showButtons"===e.propertyName&&Object.keys(t.buttons).forEach(e=>{t.buttons[e].visible=this.isVisibleButton(e)})}dispose(){super.dispose(),this.removeProperties()}_move(e,t){if(this.selectedIndex>=0){const i=this.selectedIndex,s=i+t;if(s>=e.length||s<0)return;this.values.splice(s,0,this.values.splice(i,1)[0]),this.selectedIndex=s}}_setSelectedIndex(e){const t=this.values.indexOf(e);this.selectedIndex=-1===t?null:t}onPropertyChanged(e){"collapsed"===e.propertyName?(this.showButtons=!Gt.unwrap(this.hideButtons)&&!this.collapsed,this.hasExpanded=!0):"values"===e.propertyName&&this.options?.onValueChanged(this.values,e)}constructor(e,t=!1){super(),this.buttonMap={delete:{text:"Delete",iconClass:"dx-image-remove",localizationId:"AnalyticsCoreStringId.Cmd_Delete"},add:{text:"Add",iconClass:"dx-image-add",localizationId:"DataAccessUIStringId.Button_Add"},down:{text:"Move Down",iconClass:"dx-image-movedown",localizationId:"AnalyticsCoreStringId.Cmd_MoveDown"},up:{text:"Move Up",iconClass:"dx-image-moveup",localizationId:"AnalyticsCoreStringId.Cmd_MoveUp"}};const i=t=>t?e.info&&e.info[t]:e.info,s=i();this.collapsed=!1!==e.collapsed,this.addHandler=()=>(e.addHandler||i("addHandler")).call(this),this._accessibilityProvider=e._accessibilityProvider,this.removeHandler=(t,i)=>{e.removeHandler?e.removeHandler(t,i):this.values.splice(i,1)},this.values=e.values,this.hideButtons=e.hideButtons||i("hideButtons"),this.allowReorderItems=void 0===e.allowReorderItems||e.allowReorderItems,this.allowEditItems=void 0===e.allowEditItems||e.allowEditItems,this.showButtons=!Gt.unwrap(this.hideButtons)&&!this.collapsed,Gt.isSubscribable(this.hideButtons)&&this._disposables.push(this.hideButtons.subscribe(e=>{this.showButtons=!Gt.unwrap(this.hideButtons)&&!this.collapsed})),Gt.isSubscribable(this.allowEditItems)&&this._disposables.push(this.allowEditItems.subscribe(e=>{this.collapsed=!0,this.allowReorderItems=e})),this._textEmptyArray=e.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},this.displayPropertyName=i("displayPropertyName"),this.showScroll=!!e.showScroll;const r=(t,i)=>e.isDisabledButton?e.isDisabledButton(t,i):"delete"===i?null===t:"add"!==i&&("up"===i?null===t||0===t:"down"===i?null===t||t===this.values.length-1:void 0);if(this.isDisabledButton=e=>{let t=!0;if(void 0!==this.selectedIndex&&null!==this.selectedIndex&&"delete"===e){const e=this.values[this.selectedIndex]?.canRemove;t=void 0===e||e}return this.disabled||r(this.selectedIndex,e)||!t},this.isVisibleButton=t=>!!this.showButtons&&(!!(Gt.unwrap(this.allowEditItems)||"add"!==t&&"delete"!==t)&&(!!(this.allowReorderItems||"up"!==t&&"down"!==t)&&(!e.isVisibleButton||e.isVisibleButton(this.selectedIndex,t)))),this.level=void 0!==e.level?e.level:0,this.padding=this.level*mn(),this.displayName=s?Rt(s.displayName,s.localizationId):e.displayName,this.options=e,e.editor){let t=!1;const i=e=>{if(!t){t=!0;try{e()}finally{t=!1}}},s=e.onValueChanged;e.onValueChanged=(e,t)=>i(()=>s&&s(e,t)),this.addDisposable(e.editor.events.on("valueChanged",e=>{i(()=>{const t=e.newValue;this.values=Array.isArray(t)?[...t]:[]})}))}e.displayName||(this.collapsed=!1,this.alwaysShow=!0),e.alwaysShow&&(this.alwaysShow=!0);const a=Gt.unwrap(e.selectedItem);a&&(this._setSelectedIndex(a),this._disposables.push(e.selectedItem.subscribe(e=>{this._setSelectedIndex(e)}))),this.disabled=t,this.listKeyboardHelper=new Ot,this._disposables.push(this.listKeyboardHelper),this.keyboardHelper=new kt(()=>this.getViewModel()),this._disposables.push(this.keyboardHelper),this.headerId=`dxrd-ce-trigger-${da()}`,this.contentId=`dxrd-ce-pannel-${da()}`}getDisplayTextButton(e){return Rt(this.buttonMap[e].text,this.buttonMap[e].localizationId)}getDisplayTextEmptyArray(){return Rt(this._textEmptyArray.text,this._textEmptyArray.localizationId)}add(e){e.event.stopPropagation(),this.options.undoEngine&&this.options.undoEngine.start();const t=this.addHandler();if(!t)return;const i=this.values.push(t);this.options.undoEngine&&this.options.undoEngine.end(),this.options.selectedItem&&this.select(this.getViewModel().values[i-1])}up(e){this._move(this.values,-1),e.event.stopPropagation()}down(e){this._move(this.values,1),e.event.stopPropagation()}delete(e){if(e.event.stopPropagation(),this.selectedIndex<0)return;this.options.undoEngine&&this.options.undoEngine.start();const t=this.values[this.selectedIndex];this.removeHandler(t,this.selectedIndex),this.options.undoEngine&&this.options.undoEngine.end();const i=this.values.length;i>0?this.select(this.selectedIndex>=i?this.getViewModel().values[i-1]:this.getViewModel().values[this.selectedIndex],!0):this.select({index:null,value:null},!0)}select(e,t=!1){if(this.selectedIndex!==e.index||t){if(t&&this.selectedIndex===e.index){const e={propertyName:"selectedIndex",newValue:this.selectedIndex,oldValue:this.selectedIndex};this.onPropertyChanged(e),this.updateViewModel(e)}this.selectedIndex=e.index,this.options.selectedItem&&this.options.selectedItem(e.value)}}}au([ir(null)],du.prototype,"selectedIndex",void 0),au([ir(!0)],du.prototype,"collapsed",void 0),au([ir(!1)],du.prototype,"alwaysShow",void 0),au([sr(()=>[])],du.prototype,"values",void 0),au([ir(!1)],du.prototype,"showButtons",void 0),au([ir(!1)],du.prototype,"hasExpanded",void 0),au([ir(()=>!1)],du.prototype,"disabled",void 0);const lu=(e,t)=>{const i=os.computed(()=>os.isObservableArray(e.values)?e.values:os.unwrap(e.values)),s=e.addHandler,r=()=>{return(s||(t="addHandler",t?os.unwrap(e.info)&&os.unwrap(e.info)[t]:os.unwrap(e.info))).call(void 0);var t};e.addHandler=()=>r();let a=!1;const n=e=>{a||(a=!0,e(),a=!1)};e.onValueChanged=(e,t)=>{n(()=>{t.added?.forEach(e=>i().splice(e.index,0,e.item)),t.removed?.sort((e,t)=>t.index-e.index).forEach(e=>i().splice(e.index,1))})};const o=new du({...e,values:[...i()()],undoEngine:os.unwrap(e.undoEngine),info:os.unwrap(e.info)},os.unwrap(t?.disabled));os.isSubscribable(t?.disabled)&&o._disposables.push(t.disabled.subscribe(e=>{o.disabled=e})),o._disposables.push(i);const d=()=>i().subscribe(e=>{n(()=>{e.forEach(e=>{"added"===e.status&&o.values.splice(e.index,0,e.value),"deleted"===e.status&&o.values.splice(e.index,1)})})},void 0,"arrayChange");let l=d();return o._disposables.push(l),o._disposables.push(i.subscribe(e=>{n(()=>{l.dispose(),o.values=[...os.unwrap(e)],l=d(),o._disposables.push(l)})})),t&&os.isSubscribable(t.disabled)&&o._disposables.push(t.disabled.subscribe(e=>{o.disabled=os.unwrap(t.disabled)})),o};os.bindingHandlers.dxCollectionEditor={init:function(e,t,i,s,r){const a=t();let n="multiplatform";!s||s instanceof xo||!s.getModel||(n=s.getModel()._engineType);const o="multiplatform"===n?lu(t(),s):new du(nu(s)),d=Xt(a.editorTemplate||"#dx-collectioneditor"),l=V(d),u=os.unwrap(a.info),c=u&&u.template||a.template;if(c){const e=Xt(c);l.find(".dx-collection-item").append(V(e))}else l.find(".dx-collection-item").append(V(e).children());const p=V(e).append(l),h=r.createChildContext(o.getViewModel());return os.cleanNode(p.children()[0]),os.applyBindings(h,p.children()[0]),Et(e,()=>{o.dispose()}),{controlsDescendantBindings:!0}}};const uu="dx-ellipsiseditor",cu=uu+" dx-dropdowneditor",pu=uu+"-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button",hu=uu+"-icon dx-ellipsis-image dx-dropdowneditor-icon",mu="dxrd-svg-ellipsis",gu="dx-ellipsiseditor-warning";class xu extends(Eo()){constructor(e,t){const i={name:"ellipsisButton",location:"after",options:{disabled:!1,template:Zt.templates[mu],icon:mu,onClick:t.buttonAction,elementAttr:{class:pu}}};t.buttons=[{name:"clear"},i],super(e,t)}_init(){super._init.apply(this),this._$element||(this._$element=V(this.element())),this._$element.addClass(cu)}_render(){super._render.apply(this),this._renderButton(),this._updateWarningState(),this._attachInputEvents()}_updateWarningState(e=this.option("warningMessage")){e?(this._$element.attr("title",e.toString()),this._$element.addClass(gu)):(this._$element.removeAttr("title"),this._$element.removeClass(gu))}_updateOptions(e){["value","disabled","visible"].forEach(t=>{this.option(t)!==e[t]&&this.option(t,e[t])})}_updateButtonSize(){const e=V(this.element()).height();this._buttonIcon.style.height=e+"px"}_renderButton(){const e=V(this._buttonsContainer()).children()[1];this._$button=V(e),V(this._$button.children()[0]).addClass(hu),this._attachButtonEvents(),this._removeCustomHoveredStyle()}_attachButtonEvents(){this._$input||(this._$input=V(this._input()));const e=[];this._onClick||(this._onClick=e=>this.buttonAction(e)),this._$button.off("click",this._onClick),this._$input.off("click",this._onClick),this.option("disabled")||e.push(this._$button),this.option("openOnFieldClick")&&e.push(this._$input),e.forEach(e=>{e.on("click",this._onClick)})}_removeCustomHoveredStyle(){this._onHover||(this._onHover=()=>k(this.element())?.classList.remove("dx-custom-button-hovered")),this._$button.off("mouseover",this._onHover),this._$button.on("mouseover",this._onHover)}_attachInputEvents(){const e=k(this._input());if(!e)return;const t=e=>{(e.key==Ze.Enter||e.key==Ze.ArrowDown&&e.altKey)&&this.buttonAction(e)};e.addEventListener("keydown",t),Et(e,function(){e.removeEventListener("keydown",t)})}_optionChanged(e){switch(e.name){case"disabled":this._attachButtonEvents();break;case"warningMessage":this._updateWarningState(e.value)}super._optionChanged.apply(this,arguments)}buttonAction(e){this.option("buttonAction")&&(this.option("buttonAction")(),e.stopPropagation())}}kd()("dxEllipsisEditor",xu);class fu extends xu{constructor(e,t){t.placeholder=t.placeholder||Rt("(none)","DxDesignerStringId.None"),super(e,t)}_getDisplayValue(){const e=this.option("placeholderId");return this.option("value")&&e?Rt(e,{Image:"AnalyticsCoreStringId.ImagePicker_Placeholder",File:"AnalyticsCoreStringId.FilePicker_Placeholder"}[e]):this.option("value")}_handleResult(e){this.option("useFormat")&&this.option("format",e.format),this.option("value",e.content)}_renderInput(e){const t=e&&V(e)||V(document.createElement("div"));t.addClass("dx-fileimage-input-wrapper"),this._inputContainer=t.get(0),V(this.element()).append(this._inputContainer),super._renderInput.apply(this,[e])}_attachButtonEvents(){this._onClick||(this._onClick=e=>{e.stopPropagation(),e.preventDefault(),ze({accept:this.option("accept")?.toString()||"image/*",readMode:this.option("readMode")?.toString()}).done(e=>{this._handleResult(e)})}),this._$button.off("click",this._onClick),this.option("disabled")||this._$button.on("click",this._onClick)}_renderValue(){this.option("text",this._getDisplayValue()),super._renderValue.apply(this)}}kd()("dxFileImagePicker",fu);const vu=[{value:"pt",displayValue:"Point",localizationId:"System.Drawing.GraphicsUnit.Point"},{value:"world",displayValue:"World",localizationId:"System.Drawing.GraphicsUnit.World"},{value:"px",displayValue:"Pixel",localizationId:"System.Drawing.GraphicsUnit.Pixel"},{value:"in",displayValue:"Inch",localizationId:"System.Drawing.GraphicsUnit.Inch"},{value:"doc",displayValue:"Document",localizationId:"System.Drawing.GraphicsUnit.Document"},{value:"mm",displayValue:"Millimetr",localizationId:"System.Drawing.GraphicsUnit.Millimeter"}];class bu extends x{_toString(){const e=[this.family(),this.size()+this.unit()].join(", "),t=[];this.modificators.bold()&&t.push("Bold"),this.modificators.italic()&&t.push("Italic"),this.modificators.underline()&&t.push("Underline"),this.modificators.strikeout()&&t.push("Strikeout");const i=t.join(", ");return i?[e,i].join(", style="):e}updateModel(e){e||(e=gn());const t=e.split(",");this.family(t[0]);const i=this;vu.forEach(function(e){-1!=t[1].trim().indexOf(e.value)&&(i.size(parseFloat(t[1].split(e.value)[0])),i.unit(e.value))}),this.modificators.bold(-1!==e.indexOf("Bold")),this.modificators.italic(-1!==e.indexOf("Italic")),this.modificators.underline(-1!==e.indexOf("Underline")),this.modificators.strikeout(-1!==e.indexOf("Strikeout"))}updateValue(e){this.isUpdateModel||e(this._toString())}constructor(e){super(),this.family=os.observable(null),this.unit=os.observable(null),this.isUpdateModel=!1,this.size=os.observable(null),this.modificators={bold:os.observable(!1),italic:os.observable(!1),strikeout:os.observable(!1),underline:os.observable(!1)},this.updateModel(e()),this._disposables.push(e.subscribe(e=>{this.isUpdateModel=!0,this.updateModel(e),this.isUpdateModel=!1})),this._disposables.push(this.modificators.bold.subscribe(t=>this.updateValue(e))),this._disposables.push(this.modificators.italic.subscribe(t=>this.updateValue(e))),this._disposables.push(this.modificators.strikeout.subscribe(t=>this.updateValue(e))),this._disposables.push(this.modificators.underline.subscribe(t=>this.updateValue(e))),this._disposables.push(this.family.subscribe(t=>this.updateValue(e))),this._disposables.push(this.size.subscribe(t=>this.updateValue(e))),this._disposables.push(this.unit.subscribe(t=>this.updateValue(e)))}}const yu=os.bindingProvider.prototype.parseBindingsString;os.utils.extend(os.bindingProvider.prototype,{parseBindingsString:function(e,t,i,s){try{const r=zl(e.trim());return r?r(t,i):yu.call(os.bindingProvider.instance,e,t,i,s)}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+t.message,t}}});const _u=Bi()().optionsParser;Bi()({optionsParser:function(e){const t=zl(e.trim());return t?t():_u(e)}}),Zt.extendTemplates({"dxrd-svg-fieldlist-list":"dxrd-svg-fieldlist-table","dxrd-svg-fieldlist-default":"dxrd-svg-fieldlist-column"});const Cu=os.templateEngine.prototype.makeTemplateSource;os.templateEngine.prototype.makeTemplateSource=function(e,t){return"string"==typeof e&&Zt.getExistingTemplate(e,!1)&&!document.getElementById(e)?new Yt(e,Zt._instance._data,Zt.templates):Cu.apply(this,[e,t])};class wu extends x{_generateTab(e,t=null,i,s,r){return{templateName:t,content:e,click:i,dblclick:s,visible:r||!0}}_localizedExpressionEditorItem(e){return e.descriptionStringId?Rt(e.text,e.descriptionStringId):e.description?e.description:e.text}_initDescription(e){e.description=this._localizedExpressionEditorItem(e)}_createFieldsCategory(e,t){return{displayName:Rt("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:{showDescription:!1,isSelected:os.observable(!1),data:{fields:e,parameters:t},name:"dx-expressioneditor-fields"},dispose:()=>{}}}_createConstantCategory(){return tl([{text:"?",descriptionStringId:"ExpressionEditorStringId.Constant_Null"},{text:"False",descriptionStringId:"ExpressionEditorStringId.Constant_False"},{text:"True",descriptionStringId:"ExpressionEditorStringId.Constant_True"}],"Constants","DataAccessStringId.ExpressionEditor_DocumentationCategory_Constants",!0)}_createOperatorsCategory(e){return tl(e,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)}_createFunctionsCategoryContent(e,t,i){return{showDescription:!0,isSelected:t,data:{textToSearch:e,items:i,availableItems:os.observableArray(i),selectedItem:os.observable(null)},name:"dx-expressioneditor-collection-function"}}_createFunctionsCategoryItem(e,t){const i={display:t,isSelected:os.observable(!1),data:[],name:"dx-expressioneditor-collection-function"};return Object.keys(e||{}).map(t=>{const s=e[t];s&&s.forEach(e=>{this._initDescription(e),i.data.push(e)})}),i.data.sort((e,t)=>this._compareFunctionItems(e,t)),i}_compareFunctionItems(e,t){const i=e.displayName||e.text,s=t.displayName||t.text;return i?.localeCompare(s)}_createFunctionsCategory(e){let t=null;const i=os.observable(""),s=[],r=os.observable(!1),a=os.computed(()=>[].concat(...e().map(e=>e.data))),n=this._createFunctionsCategoryContent(i,r,a()),o={displayName:Rt("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),items:e,allItems:a,isSelected:r,content:n,collapsed:os.observable(!0),updateContent:(e,t)=>{n.isSelected&&n.isSelected(!1),n.isSelected=t,n.isSelected(!0),n.data.items=e,n.data.availableItems(n.data.items.filter(e=>!!We(e.text,i())))},templateName:"dx-expressioneditor-category-accordion",dispose:()=>{s.forEach(e=>e.dispose()),s.splice(0,s.length)}};return s.push(a),s.push(i.subscribe(e=>{t&&clearTimeout(t),t=setTimeout(()=>{o.content.data.availableItems(o.content.data.items.filter(t=>!!We(t.text,e)))},150)})),o}_disposeCategories(){this._categories().forEach(e=>e.dispose&&e.dispose())}constructor(e,t,i,s){super(),this.searchPlaceholder=()=>$e(),this._categories=os.observableArray([]),this.toolBox=[],this.description=os.observable(),this._defaultClick=e,sl.filter(e=>!!e.descriptionStringId).forEach(e=>this._initDescription(e));const r=os.computed(()=>i()&&os.unwrap(i().functions)||Jd()),a=os.computed(()=>r().map(e=>this._createFunctionsCategoryItem(e.items,Rt(e.display,e.localizationId)))),n=()=>[this._createFieldsCategory(s,t),this._createConstantCategory(),this._createFunctionsCategory(a),this._createOperatorsCategory(sl)],o=os.observable(null),d=()=>{const e=this._categories()[0].content;o()&&o().isSelected(!1),o(e),e.isSelected(!0)},l=t=>{this._disposeCategories();const i=n();t&&t.customizeCategories&&t.customizeCategories(this,i,e),this._categories(i),d()};this.resetCategoriesSelection=d,[r,a].forEach(e=>this._disposables.push(e)),this._disposables.push(i.subscribe(e=>{l(e)})),l(i()),this._disposables.push(this.showDescription=os.computed(()=>o()&&o().showDescription)),this.toolBox=[this._generateTab(this._categories,"dx-expressioneditor-categories",e=>{if(e.data&&e.data.selectedItem&&e.data.selectedItem()&&-1!==e.data.items.indexOf(e.data.selectedItem())){const t=e.data.selectedItem();this.description(this._localizedExpressionEditorItem(t))}else this.description(void 0);o()!==e&&(o().isSelected(!1),e.isSelected(!0),o(e))}),this._generateTab(o,"dx-expressioneditor-selectedcontent",e=>{this.description(this._localizedExpressionEditorItem(e))},this._defaultClick),this._generateTab(this.description,"dx-expressioneditor-description",void 0,void 0,this.showDescription)]}dispose(){super.dispose(),this._disposeCategories()}}class Au{constructor(){this.selectedItem=null}dispose(){this.selectedItem=null}itemsFilter(e,t){return!0}hasItems(e){return"none"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList)}canSelect(e){return!e.hasItems}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0)}isDraggable(e){return!1}}class Eu extends Au{constructor(e,t,i,s){super(),this.fieldName=e,this.putSelectionHandler=t,this.selectionHandler=i,this.customFilter=s}itemsFilter(e,t){return"none"!==e.specifics&&"ReportItems"!==e.name&&(!this.customFilter||this.customFilter(t))}select(e){this.selectionHandler?this.selectionHandler(e):super.select(e)}getActions(e){return[{clickAction:t=>this.putSelectionHandler(e,t)}]}canSelect(e){return!0}}class Iu extends Au{constructor(e,t,i){super(),this.customFilter=e,this.putSelectionHandler=t,this.selectionHandler=i}itemsFilter(e){return"none"!==e.specifics&&(!this.customFilter||this.customFilter(e))}select(e){this.selectionHandler(e)}getActions(e){return[{clickAction:t=>{e&&!e.hasItems&&this.putSelectionHandler(e.path,t)}}]}canSelect(e){return!0}}class Su extends x{_updateActions(e){if(this._popupService.data(null),e){this._disposables.push(this._popupService.visible.subscribe(e=>{this.target.isSelected(e),this.filterString("")})),this._popupService.viewModel=e;let t=e[this.propertyName];this.isFiltered(!1),t&&t.length>10&&(this.isFiltered(!0),this._disposables.push(t=os.pureComputed(()=>this.filterString()?e[this.propertyName].filter(e=>-1!=(e.displayText||e.name).toLocaleLowerCase().indexOf(this.filterString().toLocaleLowerCase())):e[this.propertyName]))),this._popupService.data({data:t,template:this.popupContentTemplate,click:t=>{e[this._action](t),this._popupService.visible(!1)},isFiltered:this.isFiltered,filterString:this.filterString,searchPlaceholder:()=>$e()})}}constructor(e,t,i,s,r){super(),this._filterPlaceHolder=$e(),this.showPopup=(e,t)=>{this.dispose(),this._disposables.splice(0),this._popupService.title(""),this.target.isSelected(!0),this._updateActions(this.target),this._popupService.target(t),setTimeout(()=>{this._popupService.visible(!0)},10)},this.popupContentTemplate="dx-filtereditor-popup-common",this.filterString=os.observable(""),this.isFiltered=os.observable(!1),this.target=e,this._action=i,this.propertyName=s,this._popupService=t,this.popupContentTemplate=r||this.popupContentTemplate}}const $u={AfterMidday:{name:"After Midday",_type:"function",insertVal:"AfterMidday()",emptyRightPart:!0,value:Tn.AfterMidday,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionAfterMidday"},And:{name:"And",_type:"group",insertVal:"And",value:Pn.And,type:Pn,localizationId:"StringId.FilterGroupAnd"},AndReversed:{name:"Not And",_type:"group",value:Pn.And,reverse:!0,type:Pn,localizationId:"StringId.FilterGroupNotAnd"},Avg:{name:"Avg",_type:"aggregate",value:"Avg",insertVal:"Avg()",type:Dn,localizationId:"StringId.FilterAggregateAvg"},BeforeMidday:{name:"Before Midday",_type:"function",insertVal:"BeforeMidday()",emptyRightPart:!0,value:Tn.BeforeMidday,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionBeforeMidday"},Between:{name:"Is between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:ol,localizationId:"StringId.FilterClauseBetween"},BetweenReversed:{name:"Is not between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:ol,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"},Contains:{name:"Contains",_type:"function",insertVal:"Contains(, )",value:Tn.Contains,type:Tn,localizationId:"StringId.FilterClauseContains"},ContainsReversed:{name:"Does not contain",_type:"function",value:Tn.Contains,type:Tn,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},Count:{name:"Count",_type:"aggregate",value:"Count",insertVal:"Count()",type:Dn,localizationId:"StringId.FilterAggregateCount"},EndsWith:{name:"Ends with",_type:"function",insertVal:"EndsWith(, )",value:Tn.EndsWith,type:Tn,localizationId:"StringId.FilterClauseEndsWith"},Equal:{name:"Equals",_type:"binary",insertVal:"==",value:kn.Equal,type:kn,localizationId:"StringId.FilterClauseEquals"},EqualReversed:{name:"Does not equal",_type:"binary",hidden:!0,reverse:!0,value:kn.Equal,type:kn,localizationId:"StringId.FilterClauseDoesNotEqual"},Exists:{name:"Exists",_type:"aggregate",value:"Exists",insertVal:"Exists()",type:Dn,localizationId:"StringId.FilterAggregateExists"},Greater:{name:"Is greater than",_type:"binary",insertVal:">",value:kn.Greater,type:kn,localizationId:"StringId.FilterClauseGreater"},GreaterOrEqual:{name:"Is greater than or equal to",_type:"binary",insertVal:">=",value:kn.GreaterOrEqual,type:kn,localizationId:"StringId.FilterClauseGreaterOrEqual"},GreaterOrEqualReversed:{name:"Is less than",_type:"binary",hidden:!0,reverse:!0,value:kn.GreaterOrEqual,type:kn,localizationId:"StringId.FilterClauseLess"},GreaterReversed:{name:"Is less than or equal to",_type:"binary",hidden:!0,reverse:!0,value:kn.Greater,type:kn,localizationId:"StringId.FilterClauseGreater"},In:{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:dl,localizationId:"StringId.FilterClauseAnyOf"},InReversed:{name:"Is none of",_type:"in",value:"In",type:dl,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},IsAfternoon:{name:"Is Afternoon",_type:"function",insertVal:"IsAfternoon()",emptyRightPart:!0,value:Tn.IsAfternoon,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsAfternoon"},IsApril:{name:"Is April",_type:"function",insertVal:"IsApril()",emptyRightPart:!0,value:Tn.IsApril,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},IsAugust:{name:"Is August",_type:"function",insertVal:"IsAugust()",emptyRightPart:!0,value:Tn.IsAugust,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},IsDecember:{name:"Is December",_type:"function",insertVal:"IsDecember()",emptyRightPart:!0,value:Tn.IsDecember,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"},IsEvening:{name:"Is Evening",_type:"function",insertVal:"IsEvening()",emptyRightPart:!0,value:Tn.IsEvening,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsEvening"},IsFebruary:{name:"Is February",_type:"function",insertVal:"IsFebruary()",emptyRightPart:!0,value:Tn.IsFebruary,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},IsFreeTime:{name:"Is Free Time",_type:"function",insertVal:"IsFreeTime()",emptyRightPart:!0,value:Tn.IsFreeTime,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsFreeTime"},IsJanuary:{name:"Is January",_type:"function",insertVal:"IsJanuary()",emptyRightPart:!0,value:Tn.IsJanuary,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},IsJuly:{name:"Is July",_type:"function",insertVal:"IsJuly()",emptyRightPart:!0,value:Tn.IsJuly,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},IsJune:{name:"Is June",_type:"function",insertVal:"IsJune()",emptyRightPart:!0,value:Tn.IsJune,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},IsLastHour:{name:"Is Last Hour",_type:"function",insertVal:"IsLastHour()",emptyRightPart:!0,value:Tn.IsLastHour,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastHour"},IsLastMonth:{name:"Is last month",_type:"function",insertVal:"IsLastMonth()",emptyRightPart:!0,value:Tn.IsLastMonth,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},IsLastYear:{name:"Is last year",_type:"function",insertVal:"IsLastYear()",emptyRightPart:!0,value:Tn.IsLastYear,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},IsLunchTime:{name:"Is Lunch Time",_type:"function",insertVal:"IsLunchTime()",emptyRightPart:!0,value:Tn.IsLunchTime,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsLunchTime"},IsMarch:{name:"Is March",_type:"function",insertVal:"IsMarch()",emptyRightPart:!0,value:Tn.IsMarch,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},IsMay:{name:"Is May",_type:"function",insertVal:"IsMay()",emptyRightPart:!0,value:Tn.IsMay,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},IsMorning:{name:"Is Morning",_type:"function",insertVal:"IsMorning()",emptyRightPart:!0,value:Tn.IsMorning,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsMorning"},IsNextHour:{name:"Is Next Hour",_type:"function",insertVal:"IsNextHour()",emptyRightPart:!0,value:Tn.IsNextHour,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextHour"},IsNextMonth:{name:"Is next month",_type:"function",insertVal:"IsNextMonth()",emptyRightPart:!0,value:Tn.IsNextMonth,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},IsNextYear:{name:"Is next year",_type:"function",insertVal:"IsNextYear()",emptyRightPart:!0,value:Tn.IsNextYear,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},IsNight:{name:"Is Night",_type:"function",insertVal:"IsNight()",emptyRightPart:!0,value:Tn.IsNight,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsNight"},IsNullReversed:{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:ln.IsNull,type:ln,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},IsNovember:{name:"Is November",_type:"function",insertVal:"IsNovember()",emptyRightPart:!0,value:Tn.IsNovember,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},IsNull:{name:"Is null",_type:"unary",insertVal:"Is Null",value:ln.IsNull,type:ln,localizationId:"StringId.FilterClauseIsNull"},IsNullOrEmpty:{name:"Is blank",_type:"function",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:Tn.IsNullOrEmpty,type:Tn,localizationId:"StringId.FilterClauseIsNullOrEmpty"},IsNullOrEmptyReversed:{name:"Is not blank",_type:"function",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:Tn.IsNullOrEmpty,type:Tn,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"},IsOctober:{name:"Is October",_type:"function",insertVal:"IsOctober()",emptyRightPart:!0,value:Tn.IsOctober,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},IsOutlookIntervalBeyondThisYear:{name:"Is beyond this year",_type:"function",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:Tn.IsOutlookIntervalBeyondThisYear,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},IsOutlookIntervalLastWeek:{name:"Is last week",_type:"function",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:Tn.IsOutlookIntervalLastWeek,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},IsOutlookIntervalNextWeek:{name:"Is next week",_type:"function",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:Tn.IsOutlookIntervalNextWeek,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},IsOutlookIntervalPriorThisYear:{name:"Is prior this year",_type:"function",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:Tn.IsOutlookIntervalPriorThisYear,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},IsOutlookIntervalToday:{name:"Is today",_type:"function",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:Tn.IsOutlookIntervalToday,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},IsOutlookIntervalTomorrow:{name:"Is tomorrow",_type:"function",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:Tn.IsOutlookIntervalTomorrow,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},IsOutlookIntervalYesterday:{name:"Is yesterday",_type:"function",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:Tn.IsOutlookIntervalYesterday,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},IsSameDay:{name:"Is same day",_type:"function",insertVal:"IsSameDay(, )",value:Tn.IsSameDay,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},IsSameHour:{name:"Is same hour",_type:"function",insertVal:"IsSameHour(, )",value:Tn.IsSameHour,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameHour"},IsSameTime:{name:"Is same time",_type:"function",insertVal:"IsSameTime(, )",value:Tn.IsSameTime,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameTime"},IsSeptember:{name:"Is September",_type:"function",insertVal:"IsSeptember()",emptyRightPart:!0,value:Tn.IsSeptember,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},IsThisHour:{name:"Is This Hour",_type:"function",insertVal:"IsThisHour()",emptyRightPart:!0,value:Tn.IsThisHour,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisHour"},IsThisMonth:{name:"Is this month",_type:"function",insertVal:"IsThisMonth()",emptyRightPart:!0,value:Tn.IsThisMonth,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},IsThisWeek:{name:"Is this week",_type:"function",insertVal:"IsThisWeek()",emptyRightPart:!0,value:Tn.IsThisWeek,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},IsThisYear:{name:"Is this year",_type:"function",insertVal:"IsThisYear()",emptyRightPart:!0,value:Tn.IsThisYear,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},IsWorkTime:{name:"Is Work Time",_type:"function",insertVal:"IsWorkTime()",emptyRightPart:!0,value:Tn.IsWorkTime,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsWorkTime"},IsYearToDate:{name:"Is the year-to-date period",_type:"function",insertVal:"IsYearToDate()",emptyRightPart:!0,value:Tn.IsYearToDate,type:Tn,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},Less:{name:"Is less than",_type:"binary",insertVal:"<",value:kn.Less,type:kn,localizationId:"StringId.FilterClauseLess"},LessOrEqual:{name:"Is less than or equal to",_type:"binary",insertVal:"<=",value:kn.LessOrEqual,type:kn,localizationId:"StringId.FilterClauseLessOrEqual"},LessOrEqualReversed:{name:"Is greater than",_type:"binary",reverse:!0,hidden:!0,value:kn.LessOrEqual,type:kn,localizationId:"StringId.FilterClauseGreater"},LessReversed:{name:"Is greater than or equal to",_type:"binary",reverse:!0,hidden:!0,value:kn.Less,type:kn,localizationId:"StringId.FilterClauseGreaterOrEqual"},Like:{name:"Is like",_type:"binary",insertVal:"Like",value:kn.Like,type:kn,localizationId:"StringId.FilterClauseLike"},LikeReversed:{name:"Is not like",_type:"binary",insertVal:"Not Like",value:kn.Like,type:kn,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},Max:{name:"Max",_type:"aggregate",value:"Max",insertVal:"Max()",type:Dn,localizationId:"StringId.FilterAggregateMax"},Min:{name:"Min",_type:"aggregate",value:"Min",insertVal:"Min()",type:Dn,localizationId:"StringId.FilterAggregateMin"},NotEqual:{name:"Does not equal",_type:"binary",insertVal:"!=",value:kn.NotEqual,type:kn,localizationId:"StringId.FilterClauseDoesNotEqual"},NotEqualReversed:{name:"Equals",_type:"binary",reverse:!0,hidden:!0,value:kn.NotEqual,type:kn,localizationId:"StringId.FilterClauseEquals"},Or:{name:"Or",_type:"group",insertVal:"Or",value:Pn.Or,type:Pn,localizationId:"StringId.FilterGroupOr"},OrReversed:{name:"Not Or",_type:"group",value:Pn.Or,reverse:!0,type:Pn,localizationId:"StringId.FilterGroupNotOr"},StartsWith:{name:"Begins with",_type:"function",insertVal:"StartsWith(, )",value:Tn.StartsWith,type:Tn,localizationId:"StringId.FilterClauseBeginsWith"},Sum:{name:"Sum",_type:"aggregate",value:"Sum",insertVal:"Sum()",type:Dn,localizationId:"StringId.FilterAggregateSum"}},ku=[$u.Equal,$u.EqualReversed,$u.NotEqual,$u.NotEqualReversed],Pu=[$u.IsNull,$u.IsNullReversed],Tu=[$u.In,$u.InReversed],Du=[$u.Greater,$u.GreaterReversed,$u.GreaterOrEqual,$u.GreaterOrEqualReversed],Fu=[$u.Less,$u.LessReversed,$u.LessOrEqual,$u.LessOrEqualReversed],Bu=[$u.Between,$u.BetweenReversed],Ou=[$u.Contains,$u.ContainsReversed],Mu=[$u.Like,$u.LikeReversed],Nu=[$u.IsNullOrEmpty,$u.IsNullOrEmptyReversed],Vu=[$u.IsOutlookIntervalBeyondThisYear,$u.IsOutlookIntervalNextWeek,$u.IsOutlookIntervalTomorrow,$u.IsOutlookIntervalToday,$u.IsOutlookIntervalYesterday,$u.IsOutlookIntervalLastWeek,$u.IsOutlookIntervalPriorThisYear,$u.IsSameDay,$u.IsThisMonth,$u.IsThisWeek,$u.IsThisYear,$u.IsNextMonth,$u.IsNextYear,$u.IsLastMonth,$u.IsLastYear,$u.IsYearToDate,$u.IsJanuary,$u.IsFebruary,$u.IsMarch,$u.IsApril,$u.IsMay,$u.IsJune,$u.IsJuly,$u.IsAugust,$u.IsSeptember,$u.IsOctober,$u.IsNovember,$u.IsDecember],Lu=[$u.IsSameTime,$u.IsSameHour,$u.BeforeMidday,$u.AfterMidday,$u.IsNight,$u.IsMorning,$u.IsAfternoon,$u.IsEvening,$u.IsWorkTime,$u.IsFreeTime,$u.IsLunchTime,$u.IsLastHour,$u.IsThisHour,$u.IsNextHour],zu=[$u.Exists,$u.Count,$u.Max,$u.Min,$u.Sum,$u.Avg],Hu=[$u.And,$u.Or,$u.AndReversed,$u.OrReversed];class Ru extends x{_createLeftPartProperty(e){let t;if(e instanceof Sn)t=this.createChildSurface(e);else{t=this.createChildSurface(e);const i=Object.keys(this.helper.filterEditorOperators).reduce((e,t)=>("_common"!==t&&"integer"===e&&this.helper._getFilterEditorOperator(this.model,this.helper.filterEditorOperators[t],this.reverse)&&(e=t),e),"integer");t.specifics=t.specifics||os.observable(i)}return t.canChange=!1,t.canRemove=!1,t&&"aggregate"===t.model.type?(this.specifics=os.computed(()=>t.aggregatedExpression()&&t.aggregatedExpression().specifics()||"integer"),this.dataType=os.computed(()=>t.aggregatedExpression()&&t.aggregatedExpression().dataType()||"integer"),this._disposables.push(this.specifics),this._disposables.push(this.dataType)):(this.specifics=t.specifics,this.dataType=t.dataType),this.isUpdated=t.isUpdated,t}createChildSurface(e,t,i){return new this.helper.mapper[e.type](e,this,this.fieldListProvider,t||this.path)}getDisplayType(){const e=this.operatorType&&this.operatorType()||"",t=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return t&&t.name&&(t.displayText||Rt(t.name,t.localizationId))||this.model.displayType||e}constructor(e,t,i,s){super(),this.isUpdated=os.observable(!1),this.canRemove=!0,this.operatorType=os.observable(null),this.templateName="dx-filtereditor-common",this.isSelected=os.observable(!1),this.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",this.popupService=t.popupService||{visible:os.observable(!1)},this.model=e,this.helper=t.helper,this.fieldListProvider=i,this.path=s,this.parent=t,this.operatorType(e.operatorType),this._disposables.push(this.operatorType.subscribe(e=>{this.model.assignType(e)}))}get items(){return this.helper.filterEditorOperators[this.specifics()]||this.helper.filterEditorOperators._common}get displayType(){return this.getDisplayType()}get leftPart(){return null}get rightPart(){return null}get css(){return this.operatorClass+(this.isSelected()?" selected":"")}change(e,t){!t&&e&&this.model.enumType===e.type&&this.reverse===e.reverse&&e.type!==Tn?this.operatorType(e.value):this.parent.change(e,this),this.helper.onChange()}remove(e){this.parent.remove(this),this.helper.onChange()}}class ju extends Ru{constructor(e,t,i,s){super(e,t,i,s),this.contentTemplateName="dx-filtereditor-unary",this.operand=os.observable(null);let r=this.createChildSurface(e.operand);e.operatorType===ln.Not?(this.templateName="dx-filtereditor-not",r.reverse=!0,this.specifics=r.specifics):(r.dispose(),r=this._createLeftPartProperty(e.operand)),this.operand(r)}get leftPart(){let e=this.operand();return this.operand()&&this.operand().reverse&&this.operand().leftPart&&(e=this.operand().leftPart),e}get rightPart(){return this.operand()&&this.operand().reverse?this.operand().rightPart:null}createChildSurface(e,t,i){return this.operatorType()!==ln.Not||this.helper._getFilterEditorOperator(e,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new Bn(Pn.And,[e])),super.createChildSurface(this.model.operand,t,i)}dispose(){this.operand().dispose(),super.dispose()}}class Wu extends Ru{constructor(e,t,i,s){super(e,t,i,s),this.contentTemplateName="dx-filtereditor-aggregate",this.property=os.observable(null),this.aggregatedExpression=os.observable(null),this.condition=os.observable(null),this.property(this._createLeftPartProperty(e.property));const r=os.computed(()=>this.path()+"."+this.property().propertyName());this._disposables.push(r),e.aggregatedExpression&&(this.aggregatedExpression(this.createChildSurface(e.aggregatedExpression,r)),this.templateName="dx-filtereditor-aggregate-common"),"Count"===e.operatorType&&(this.templateName="dx-filtereditor-aggregate-common");const a=this.createChildSurface(e.condition,r);a.canRemove=!1,a instanceof ju&&(a.operand().canRemove=!1),this.condition(a),this.change=(e,t)=>{if(t){const i=this.model.change(e,t.model),s=this.createChildSurface(i,r);s.canRemove=!1,s instanceof ju&&(s.operand().canRemove=!1),this.condition(s)}else"Exists"===this.operatorType()||"Count"===this.operatorType()?this.parent.change(e,this):!e||"Exists"!==e.value&&"Count"!==e.value?super.change(e,t):this.parent.change(e,this);this.helper.onChange()}}get leftPart(){return this.property&&this.property()}get rightPart(){return this.aggregatedExpression()}dispose(){this.property().dispose(),this.condition().dispose(),this.aggregatedExpression()&&this.aggregatedExpression().dispose(),super.dispose()}}class Gu extends Ru{constructor(e,t,i,s){super(e,t,i,s),this.property=os.observable(null),this.end=os.observable(null),this.begin=os.observable(null),this.contentTemplateName="dx-filtereditor-between",this.property(this._createLeftPartProperty(e.property)),this.begin(this.createChildSurface(e.begin)),this.end(this.createChildSurface(e.end))}get leftPart(){return this.property&&this.property()}get rightPart(){return[this.begin(),this.end()]}dispose(){this.property().dispose(),this.begin().dispose(),this.end().dispose(),super.dispose()}}class Uu extends Ru{constructor(e,t,i,s){super(e,t,i,s),this.contentTemplateName="dx-filtereditor-binary",this.leftOperand=os.observable(null),this.rightOperand=os.observable(null),this.leftOperand(this._createLeftPartProperty(e.leftOperand)),this.rightOperand(this.createChildSurface(e.rightOperand))}get leftPart(){return this.leftOperand()}get rightPart(){return this.rightOperand()}dispose(){this.leftOperand().dispose(),this.rightOperand().dispose(),super.dispose()}}function qu(e){e.displayText=Rt(e.name,e.localizationId)}class Ku extends Ru{getRealParent(e){return e instanceof ju?this.getRealParent(e.parent):e}getRealProperty(e){return e.parent instanceof ju?this.getRealProperty(e.parent):e}getPropertyName(e,t){let i=null,s=null;return Object.keys(e||{}).forEach(r=>{const a=e[r];if(Array.isArray(os.unwrap(a))&&os.isObservable(a)){const e=os.unwrap(a).indexOf(t);if(e>-1)return i=e,void(s=r)}else if(t===os.unwrap(a)&&os.isObservable(a))return void(s=r)}),{index:i,name:s}}getConvertableParameters(e,t){return this.helper.parameters()?this.helper.parameters().filter(i=>{const s=i.specifics&&i.specifics.toLowerCase();return null!=s&&null!=e&&("date"===e&&ge(i.type)?i.type().indexOf(t)>0:s===e||("default"===e||("string"===e||("float"===e?"integer"===s:"enum"===e&&("integer"===s||"string"===s)))))}):[]}constructor(e,t,i,s){super(e,t,i,s),this.canChange=!0,this.canRemove=!1,this.changeValueType=e=>{const t=this.getRealParent(this.parent),i=this.getRealProperty(this),s=this.getPropertyName(t,i),r=t.model.changeValueType(e.instance,s);null!==s.index?(t[s.name]()[s.index].dispose(),t[s.name].splice(s.index,1,t.createChildSurface(r))):(t[s.name]().dispose(),t[s.name](t.createChildSurface(r))),this.helper.onChange()}}get changeTypeItems(){const e=[{name:"Value",instance:En,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&e.push({name:"Property",instance:Sn,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(this.getConvertableParameters(this.parent.specifics(),os.unwrap(this.parent.dataType)).length>0||this.helper.canCreateParameters)&&e.push({name:"Parameter",instance:In,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),e.forEach(qu),e}}class Yu extends Ku{constructor(e,t,i,s){if(super(e,t,i,s),this.canRemove=!0,this.contentTemplateName="dx-filtereditor-function",this.operands=os.observableArray([]),0===e.operands.length)this.specifics=t instanceof ju?t.parent.specifics:t.specifics,this.contentTemplateName="dx-filtereditor-function-lightweight",this.canRemove=!1;else{this.operands.push(this._createLeftPartProperty(e.operands[0]));for(let t=1;t<e.operands.length;t++)this.operands.push(this.createChildSurface(e.operands[t]))}}get leftPart(){return this.operands&&this.operands()[0]}get rightPart(){return this.operands&&this.operands().filter((e,t)=>0!==t)}get displayType(){const e=this.items.filter(e=>this.operatorType()===e.value&&this.reverse===e.reverse&&this.model.enumType===e.type)[0];return e&&e.name?e.displayText||Rt(e.name,e.localizationId):isNaN(parseInt(this.operatorType()))?this.operatorType()||"":Tn[this.operatorType()]}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class Zu extends Ru{constructor(e,t,i,s){super(e,t,i,s),this.templateName="dx-filtereditor-group",this.operatorClass="criteria-operator-item-group dxd-filter-editor-group-back-color dxd-filter-editor-text-color",this.operands=os.observableArray([]),this.createItems=null,this.createItems=[{name:"Add group",value:!0,localizationId:"StringId.FilterMenuGroupAdd"},{name:"Add condition",value:!1,localizationId:"StringId.FilterMenuConditionAdd"}],this.createItems.forEach(qu),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.specifics=os.observable("group")}change(e,t){if(t){const i=t.specifics()||"integer",s=this.helper.filterEditorOperators[i]||this.helper.filterEditorOperators._common;if(!e){const i=s.filter(e=>t.operatorType()===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type)[0];e=i||s[0]}const r=this.model.change(e,t.model,t.leftPart instanceof Wu&&"list"!==t.leftPart.leftPart.specifics()),a=this.operands().indexOf(t),n=this.createChildSurface(r);this.operands()[a].dispose(),this.operands.splice(a,1,n)}else super.change(e,t);this.helper.onChange()}remove(e){e?(this.model.remove(e.model),this.operands.remove(e),e.dispose()):(this.parent.remove(this),this.dispose()),this.helper.onChange()}create(e){const t=this.model.create(e.value,new Sn);this.operands.push(this.createChildSurface(t)),this.helper.onChange()}get rightPart(){return this.operands()}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class Ju extends Ru{constructor(e,t,i,s){super(e,t,i,s),this.contentTemplateName="dx-filtereditor-in",this.operands=os.observableArray([]),this.criteriaOperator=os.observable(null),this.criteriaOperator(this._createLeftPartProperty(e.criteriaOperator)),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.addValue=()=>{const e=new En(null);this.model.operands.push(e),this.operands.push(this.createChildSurface(e))}}get leftPart(){return this.criteriaOperator()}get rightPart(){return this.operands()}dispose(){this.criteriaOperator().dispose(),this.operands().forEach(e=>e.dispose()),super.dispose()}}class Xu extends Ku{constructor(e,t,i,s){super(e,t,i,s),this.changeParameter=e=>{this.model.parameterName=e.name,this.parameterName(e.name),this.helper.onChange()},this.operatorClass="criteria-operator-item-parameter dxd-filter-editor-parameter-back-color dxd-filter-editor-text-color",this.parameterName=os.observable(""),this.templateName="dx-filtereditor-parameter",this.specifics=t.specifics,this.dataType=t.dataType,this.parameterName(e.parameterName),!this.parameterName()&&this.items.length>0&&this.changeParameter(this.items[0]),[this.specifics,this.dataType].forEach(e=>{e&&this.addDisposable(e.subscribe(()=>{this.onTypeChanged()}))})}onTypeChanged(){0==this.items.filter(e=>os.unwrap(e.name)==this.parameterName()).length&&(this.items.length>0?this.changeParameter(this.items[0]):this.changeParameter({name:""}))}get items(){return this.getConvertableParameters(this.specifics(),os.unwrap(this.dataType))}get displayType(){return null}}class Qu extends Ku{_updateDisplayName(e,t,i){this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(os.unwrap(e),t).done(e=>{this._displayName(e)}):this._displayName(i)}_updateSpecifics(){const e=this.propertyName().split(".");let t=e.pop();os.unwrap(this.fieldsOptions).itemsProvider&&(this.isUpdated(!0),os.unwrap(this.fieldsOptions).itemsProvider.getItems(new ha([this.path()].concat(e).join("."))).done(e=>{const i=e.filter(e=>"List"!==e.specifics&&!e.isList);!this.propertyName()&&i.length>0&&(this.model.propertyName=i[0].name,this.propertyName(i[0].name),t=i[0].name);const s=e.filter(e=>e.name===t)[0];if(s){let e=s.specifics.toLowerCase();0===e.indexOf("calc")&&(e=e.split("calc")[1]),this.specifics(e),this.dataType(s.dataType),this._updateDisplayName(this.path,this.propertyName(),s.displayName)}}).always(()=>{this.isUpdated(!1)}))}constructor(e,t,i,s){super(e,t,i,s),this._displayName=os.observable(""),this.propertyName=os.observable(""),this.specifics=os.observable("integer"),this.dataType=os.observable(""),this.valueType=os.observable(""),this.changeProperty=e=>{this.fieldsOptions().selected(e)},this.templateName="dx-filtereditor-property",this.operatorClass="criteria-operator-item-field dxd-filter-editor-field-back-color dxd-filter-editor-field-back-color dxd-filter-editor-text-color",this.propertyName(e.propertyName);const r=this.helper.generateTreelistOptions(i,s);r.options&&r.subscription?(this.fieldsOptions=r.options,this._disposables.push(r.subscription)):this.fieldsOptions=r,this._disposables.push(this.fieldsOptions().selectedPath.subscribe(e=>{const t=this.fieldsOptions().selectedPath().substr(this.path&&this.path().length>0?this.path().length+1:0);this.propertyName(t),this.model.propertyName=t,this.popupService.visible(!1)})),this._disposables.push(this.fieldsOptions().selected.subscribe(e=>{this._updateDisplayName(s,this.propertyName(),e.displayName);let t=e.specifics.toLowerCase();0===t.indexOf("calc")&&(t=t.split("calc")[1]),this.specifics()===t&&this.dataType()===e.dataType||(this.specifics(t),this.dataType(e.dataType),this.parent.change()),this.helper.onChange()})),this.fieldsOptions().selectedPath(this.path&&os.unwrap(this.path)?[os.unwrap(this.path),this.propertyName()].join("."):this.propertyName()),this._updateSpecifics(),this._disposables.push(this.displayName=os.computed(()=>this._displayName()||this.propertyName()))}get items(){return this.fieldsOptions}get displayType(){return null}}class ec extends Ku{get items(){return this.values()}constructor(e,t,i,s){super(e,t,i,s),this._value=os.observable(null),this._scroll=null,this._updateDate=function(e){"date"===e||"time"===e||"datetime"===e?this._value()instanceof Date||this._value(new Date((new Date).setHours(0,0,0,0))):this._value("")},this.changeValue=()=>{const e=this.getRealParent(this.parent),t=this.getRealProperty(this),i=this.getPropertyName(e,t),s=e.model.changeValue(this.model,this.reverse,i);null!==i.index?(e[i.name]()[i.index].dispose(),e[i.name].splice(i.index,1,e.createChildSurface(s))):(e[i.name]().dispose(),e[i.name](e.createChildSurface(s)))},this.dataType=os.observable(""),this.values=os.observable([]),this.isEditable=os.observable(!1),this.templateName="dx-filtereditor-value",this._getBaseOptions=e=>({value:this._value,onFocusOut:()=>this.isEditable(!1),onFocusIn:()=>this.scrollTo(e)}),this.getDropDownOptions=(e,t)=>({container:t.getPopupContainer(e)}),this.getNumberEditorOptions=e=>Hn.getNumberEditorOptions(this.dataType(),this.specifics(),this._getBaseOptions(e)),this.getStringEditorOptions=e=>this._getBaseOptions(e),this.getBoolEditorOptions=(e,t)=>({dataSource:[{val:"True",text:"Yes",localizationId:"AnalyticsCoreStringId.ParametersPanel_True"},{val:"False",text:"No",localizationId:"AnalyticsCoreStringId.ParametersPanel_False"}],valueExpr:"val",displayExpr:"text",dropDownOptions:{container:t.getPopupContainer(e)},displayCustomValue:!0,...this._getBaseOptions(e)}),this.getDateEditorOptions=(e,t,i)=>({closeOnValueChange:!0,type:i,dropDownOptions:this.getDropDownOptions(e,t),...this._getBaseOptions(e)}),this.getListEditOptions=(e,t)=>{const i="object"!=typeof this.items[0];return{dataSource:this.dataSource,acceptCustomValue:i,valueExpr:i?void 0:"value",displayExpr:i?void 0:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:this.getDropDownOptions(e,t),...this._getBaseOptions(e)}},this.getEnumEditOptions=(e,t)=>({dataSource:this.dataSource,valueExpr:"value",displayExpr:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:this.getDropDownOptions(e,t),...this._getBaseOptions(e)});let r=null;this._disposables.push(this.dataSource=os.computed(()=>(r&&r.dispose(),r=new(jr())({store:this.values(),paginate:this.values().length>200,pageSize:100}),r))),t instanceof ju?(this.specifics=t.parent.specifics,this.isUpdated=t.parent.isUpdated,this.dataType=t.parent.dataType,t.model.operatorType===ln.Minus&&(this.reverse=!0)):(this.specifics=t.specifics,this.isUpdated=t.isUpdated,this.dataType=t.dataType),e.specifics&&os.isWritableObservable(this.specifics)&&"enum"!==os.unwrap(this.specifics)&&this.specifics(e.specifics),this._disposables.push(this.specifics.subscribe(t=>{this.isUpdated&&this.isUpdated()||(e.specifics=t,this._updateDate(t))})),this._value(e.value),this._disposables.push(this._value.subscribe(e=>{this.model.value=e,this.helper.onChange()})),Jn(this._value())&&this._updateDate(this.specifics()),this._disposables.push(this.value=os.computed({read:()=>{let e=this._value();if(e instanceof Date&&(e="time"===this.specifics()?Be(e):Fe(e)),this.items.length>0){const t=this.items.filter(t=>String(t.value)===String(e))[0];if(t)return t.display}return this.reverse&&(e="-"+e),null!=e&&""!==e?e:this.getDefaultValue()},write:e=>{e>0&&!this.reverse||e<0&&this.reverse?this._value(e):(e>0&&this.reverse||e<0&&!this.reverse)&&(this.reverse=!this.reverse,this._value(e<0?(""+e).substring(1):e),this.changeValue())}})),this._disposables.push(os.computed(()=>{"enum"!==this.specifics()?this.collectValues():this.collectEnumValues()})),e.specifics=this.specifics()}get displayType(){return null}isDefaultDisplay(){return this.value()===this.getDefaultValue()}getDefaultValue(){return ec._defaultValue?ec._defaultValue:ec._defaultValue=Rt("Enter a value","StringId.FilterEmptyEnter")}scrollTo(e){if(!this._scroll){const t=e.closest(".dx-filtereditor-tree");this._scroll=zr().getInstance(t)}this._scroll.scrollToElement(e)}collectValues(){const e=os.unwrap(this.fieldListProvider);e&&e.getValues&&this.parent.leftPart instanceof Qu&&this.parent.leftPart.propertyName()&&e.getValues(new ha(os.unwrap(this.path)+"."+this.parent.leftPart.propertyName())).done(e=>{this.values(e)})}collectEnumValues(){const e=os.unwrap(this.fieldListProvider);if(e&&e.getItems&&this.parent.leftPart instanceof Qu){const t=this.parent.leftPart.propertyName();if(t){const i=t.split("."),s=i.pop(),r=[os.unwrap(this.path),...i].join(".");e.getItems(new ha(r)).done(e=>{const t=e.find(e=>e.name===s);let i=[];t&&t.enumValues&&(i=t.enumValues.map(({name:e,displayName:i})=>({value:[t.enumRegisteredType,e].filter(Boolean).join(An),display:i}))),this.values(i)})}}}}class tc{constructor(e){this.selectedItem=e}itemsFilter(e){return!0}hasItems(e){return"none"!==e.specifics&&"List"!==e.specifics&&!0===e.isList}canSelect(e){return!e.data.isList||!0===e.data.isList&&"List"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem(e.data),e.isSelected=!0)}dispose(){this.selectedItem=null}isDraggable(e){return!1}}var ic;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.Unary=2]="Unary"}(ic||(ic={}));class sc{customValidate(e,t){return!1}checkLeftPart(e){return e instanceof Sn||this.customValidate(e,ic.Left)}_checkRightPart(e){return e instanceof Sn||e instanceof In||e instanceof En||e instanceof pl||e instanceof $n&&this._checkRightPart(e.operand)||this.customValidate(e,ic.Right)}checkRightPart(e){if(Array.isArray(e)){for(let t=0;t<e.length;t++)if(!this._checkRightPart(e[t]))return!1;return!0}return this._checkRightPart(e)}aggregateIsValid(e){return this.checkLeftPart(e.leftPart)&&this.validateModel(e.condition)&&(!e.aggregatedExpression||(e.aggregatedExpression instanceof Sn||this.validateModel(e.aggregatedExpression)))}commonOperandValid(e){return e.leftPart instanceof Dn?this.validateModel(e.leftPart):this.checkLeftPart(e.leftPart)&&this.checkRightPart(e.rightPart)}groupIsValid(e){for(let t=0;t<e.operands.length;t++)if(!this.validateModel(e.operands[t]))return!1;return!0}unaryIsValid(e){return e.operand instanceof Sn||this.validateModel(e.operand)||this.customValidate(e.operand,ic.Unary)}validateModel(e){return e instanceof Dn?this.aggregateIsValid(e):e instanceof Bn?this.groupIsValid(e):e instanceof $n?this.unaryIsValid(e):this.commonOperandValid(e)}}class rc{get _allFilterEditorOperators(){const e=[];return Object.keys(this.filterEditorOperators).forEach(t=>{e.push(...this.filterEditorOperators[t])}),e}_getFilterEditorOperator(e,t,i){return t.filter(t=>t.value===e.operatorType&&t.type===e.enumType&&t.reverse===i)[0]}_initDisplayText(){Object.keys(this.filterEditorOperators).forEach(e=>{this.filterEditorOperators[e].forEach(qu)})}constructor(e){this.rtl=!1,this.parameters=os.observable([]),this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new sc,this.filterEditorOperators={_common:[...ku,...Du,...Fu,...Bu],string:[],guid:[],integer:[],float:[],datetime:[],date:[],time:[],list:[],group:[],bool:[],custom:[],enum:[]},this.onChange=()=>{},this.onEditorFocusOut=e=>{},this.onSave=e=>{},this.onClosing=()=>{},this.handlers={create:(e,t)=>({data:new Su(e,t,"create","createItems"),templateName:"dx-filtereditor-create"}),change:(e,t)=>({data:new Su(e,t,"change","items"),templateName:"dx-filtereditor-change"}),changeProperty:(e,t)=>({data:new Su(e,t,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}),changeValueType:(e,t)=>({data:new Su(e,t,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}),changeParameter:(e,t)=>({data:new Su(e,t,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"})},this.mapper={aggregate:Wu,property:Qu,parameter:Xu,value:ec,group:Zu,between:Gu,binary:Uu,function:Yu,in:Ju,unary:ju,default:Ru},this.serializer=e||new hl,this.filterEditorOperators.string=[...this.filterEditorOperators._common,...Ou,$u.StartsWith,$u.EndsWith,...Mu,...Tu,...Nu],this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[...this.filterEditorOperators._common,...Pu,...Tu],this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.bool=this.filterEditorOperators.integer,this.filterEditorOperators.date=[...this.filterEditorOperators._common,...Pu,...Tu,...Vu],this.filterEditorOperators.time=[...this.filterEditorOperators._common,...Pu,...Tu,...Lu],this.filterEditorOperators.datetime=[...this.filterEditorOperators.date],this.filterEditorOperators.list=[...zu],this.filterEditorOperators.group=[...Hu],this.filterEditorOperators.enum=[...this.filterEditorOperators._common,...Pu,...Tu],this.filterEditorOperators.custom=[],rc._customExpressions.forEach(e=>e&&this.registrateOperator(e.category?.toLowerCase()??"custom",Tn,e.name,e.description,"function",!1,e.localizationId,`${e.name}()`)),this._initDisplayText()}registrateOperator(e,t,i,s,r="function",a=!1,n,o){if(this.filterEditorOperators[e]){if(!t[i]){let e=0,s=0;Object.keys(t).forEach(t=>{s=parseInt(t),!isNaN(s)&&e<s&&(e=s)}),e++,t[e]=i,t[i]=e}const d={name:s,value:t[i],insertVal:o,type:t,_type:r,reverse:a,emptyRightPart:!0,displayText:Rt(s,n)};this.filterEditorOperators[e].push(d)}}generateTreelistOptions(e,t){const i=os.observable(null),s=os.observable(null);return{subscription:os.computed(()=>{i({itemsProvider:os.unwrap(e),selectedPath:os.observable(""),selected:s,path:os.unwrap(t),treeListController:new tc(s),rtl:this.rtl})}),options:i}}}rc._customExpressions=[],rc.addCustomExpression=e=>{e&&rc._customExpressions.push(e)};const ac=It(rc);function nc(e){ac(e)}class oc extends rl{constructor(e){super(e);const t=new rc,i=[],s=[],r=[];Object.keys(t.filterEditorOperators).forEach(e=>{t.filterEditorOperators[e].forEach(e=>{if(e.insertVal){const t=e.name,a=e.insertVal,n=e.paramCount;e.type===Tn&&0===i.filter(e=>e.name===t).length?i.push({name:t,insertVal:a}):e.type===Dn&&0===s.filter(e=>e.name===t).length?s.push({name:t,insertVal:a}):e.type!==Dn&&e.type!==Tn&&0===r.filter(e=>e.name===t).length&&r.push({name:t,insertVal:a,paramCount:n})}})}),this.filterEditorAvailable={operators:r,aggregate:s,functions:i}}getFunctionsCompletions(){const e=[];return this.filterEditorAvailable.functions.forEach(t=>{e.push(al({text:t.name,paramCount:t.insertVal.split(",").length},t.insertVal,t.insertVal))}),e}getAggregateCompletions(){const e=[];return this.filterEditorAvailable.aggregate.forEach(t=>{e.push(al({text:t.name,paramCount:0},t.insertVal,t.insertVal))}),e}getOperatorCompletions(e){const t=[];return this.filterEditorAvailable.operators.forEach(i=>{t.push(i.insertVal.match(new RegExp("\\([^\\(\\)]*\\)","g"))?al({text:i.name,paramCount:i.paramCount||i.insertVal.split(",").length},i.insertVal,i.insertVal):{caption:i.insertVal,snippet:e+i.insertVal,meta:"operator"})}),t}}const dc={DateTime:{type:Z.SystemDateTime,value:new Date(Date.now()),patterns:[],localizationId:"UtilsUIStringId.FSForm_Cat_DateTime"},Number:{type:Z.SystemInt32,value:"123456789",patterns:["#.00","#,#","0.E+0.0","0.e+0.0","n","n1","n2","e","e1","f","f1"],localizationId:"UtilsUIStringId.FSForm_Cat_Number"},Percent:{type:Z.SystemInt32,value:"100",patterns:["0.00%","0%"],localizationId:"UtilsUIStringId.FSForm_Cat_Percent"},Currency:{type:Z.SystemInt32,value:"100",patterns:["$0.00","$0","c","c1","c2"],localizationId:"UtilsUIStringId.FSForm_Cat_Currency"},Special:{type:Z.SystemInt32,value:"123456789",patterns:["(###) ### - ####","### - ## - ####"],localizationId:"UtilsUIStringId.FSForm_Cat_Special"},General:{type:Z.SystemString,value:"",patterns:["General format have no specific number format"],localizationId:"UtilsUIStringId.FSForm_Cat_General"}};var lc=function(e,t,i,s){var r,a=arguments.length,n=a<3?t:null===s?s=Object.getOwnPropertyDescriptor(t,i):s;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,s);else for(var o=e.length-1;o>=0;o--)(r=e[o])&&(n=(a<3?r(n):a>3?r(t,i,n):r(t,i))||n);return a>3&&n&&Object.defineProperty(t,i,n),n};class uc extends tr{constructor(){super(...arguments),this.onContentReady=e=>{this._component=e.component},this.hideOnOutsideClick=e=>{const t=this.getComponent(),i=t&&V(t.content());return!i||!(i.has(e.target)||i.is(e.target))}}onPropertyChanged(e){}getComponent(){return this._component}dispose(){super.dispose();const e=this._component;e&&e.dispose(),this._component=null}}lc([ir(void 0)],uc.prototype,"_component",void 0);class cc extends(Dr()){_setContentHeight(){this._$popupContent.css({height:"100%"})}}kd()("dxPopupWithAutoHeight",cc);class pc{constructor(e={}){this.options=e,this._resize=(e,t,i,s)=>{if(this.options.resultSize)this.options.resultSize(this.options.resultSize()-(e||t)+i);else if(s)if(e){const t=s.offsetWidth-e+i;s.style.width=`${t}px`}else if(t){const e=s.offsetHeight+t-i;s.style.height=`${e}px`}return e||t}}resizable(e,t){e||(e={starting:()=>{},stopped:()=>{}});let i=0;return xe({},e,{handles:t,selectedNodes:[],stopped:()=>{i=0},resize:(e,t,s)=>{i=this._resize(-s.width,s.height,i,t),this.options.onResize&&this.options.onResize()},handleClassName:"dxd-back-secondary",disabled:this.options.disabled||os.observable(!1)})}}class hc{constructor(){this.globalMatch=!0,this.autoLoadItems=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=Ne.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"}}function mc(e){const t=e.values,i=e.element,s=Gt.unwrap(t);let r=null,a=()=>{};const n=()=>{const t=e.element.closest(".dx-scrollview");return t&&zr().getInstance(t)},o=()=>{const e=Gt.unwrap(t),i=n();i&&i.update(),e.onItemsVisibilityChanged&&e.onItemsVisibilityChanged()},d=t=>{const s=t.treeListController||new Au;t.treeListController=s,s.dragDropHandler=s.dragDropHandler||e.dragDropHandler,t.factory=t.factory||new Aa,t.store=new Ca,t.itemsProvider=Gt.unwrap(t.itemsProvider),t.pageSize=t.pageSize||-1;const d=t.onItemSelectedByPath;t.onItemSelectedByPath=e=>{d?.(e),(e=>{a();let t,s=25,r=!1;const o=()=>{const a=i.querySelector(`[id="${e.id}"]`),d=n();a?.getClientRects().length>0&&d?d.update().then(()=>!r&&d.scrollToElement(a)):--s>0&&(t=setTimeout(o,20))};t=setTimeout(o),a=()=>{r=!0,clearTimeout(t)}})(e)},t&&t.itemsProvider&&(t.rtl||(t.rtl=!!e.element.closest(".dx-rtl")),r&&r.dispose(),r=t.factory.createRootItem(t,t.path,o,t.rtl),Gt.isSubscribable(s.root)?(s.searchEnabled=!0,s.searchOptions=s.searchOptions||new hc,s.root(r)):s.root=r,e.createChildContext(r.getViewModel()))};d(xe({},s));const l=[],u=e=>{e&&d(xe({},e))},c=Gt.unwrap(s.path);return c&&!Array.isArray(c)&&Gt.isSubscribable(s.path)&&l.push(s.path.subscribe(e=>d(xe({},s)))),Gt.isSubscribable(t)?l.push(t.subscribe(e=>u(e))):Gt.isSubscribable(t.itemsProvider)?l.push(t.itemsProvider.subscribe(e=>e&&u(t))):t.setTreeListChangedEvent&&l.push({dispose:t.setTreeListChangedEvent(u)}),()=>{a(),r&&r.dispose(),r=null,l.forEach(e=>e.dispose())}}os.bindingHandlers.treelist={init:function(e,t,i,s,r){const a=os.unwrap(t()),n=mc({element:e,values:t(),createChildContext:t=>{const i=a.templateHtml||Xt("dx-treelist"),s=V(e).html(i),n=r.createChildContext(t);os.applyBindings(n,s.children()[0])},dragDropHandler:r.$root.fieldDragHandler});return Et(e,n),{controlsDescendantBindings:!0}}},os.bindingHandlers.treeListSearchPanel={init:function(e,t,i,s,r){const a=t(),n=os.unwrap(a.template),o=os.unwrap(a.modelType);let d=os.unwrap(a.controllers);return Array.isArray(d)||(d=[d]),eu.createController(e,d,o,n),{controlsDescendantBindings:!0}}};class gc extends x{_getElementViewModel(e){return e&&e.data&&e.data.data}dispose(){super.dispose(),this._targetElement=null,this._target=null,this._draggable=null}constructor(e){super(),this.dragHelperContent=e,this.droppableClassName="dxrd-treelist-droppable",this.approveClassName="dxrd-drop-approve",this.classDropBefore="drop-before",this.classDropAfter="drop-after",this.started=!1}isDragToBottom(){return Ja(this._draggable.parent.items,e=>e===this._draggable||e===this._target)===this._draggable}start(e){this.started=!0,this._draggable=e.getModel(),this._draggableModel=this._getElementViewModel(this._draggable)}canDrop(){return this._draggable!==this._target&&this._draggable.parent===this._target.parent}reorderSiblings(e=this.isDragToBottom()){const t=this.getSiblings();if(t){const i=t.peek(),s=i.indexOf(this._draggableModel);s>-1&&i.splice(s,1),i.splice(i.indexOf(this._targetModel)+(e?1:0),0,this._draggableModel),t.valueHasMutated()}}clearDroppableClasses(){this._removeClass(this._targetElement)}getDroppablePosition(){return this.isDragToBottom()?this.classDropAfter:this.classDropBefore}drag(e,t){this.clearDroppableClasses(),this._target=e.getModel(),this._targetElement=V(t).closest(".dx-treelist-item").get(0),this._targetModel=this._getElementViewModel(this._target)}stop(){this.clearDroppableClasses(),this.started=!1}helper(e,t){const i=V(t.target).closest(".ui-draggable"),s=new _s(6,6,null,i.height());s.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(s,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:e.imageClassName,imageTemplateName:e.imageTemplateName,text:e.text}})}addDroppableClass(){let e=this.droppableClassName;this.canDrop()&&(e=e+" "+this.approveClassName+" "+this.getDroppablePosition()),V(this._targetElement).addClass(e)}_removeClass(e){V(e).removeClass(this.droppableClassName+" "+this.approveClassName+" "+this.classDropBefore+" "+this.classDropAfter)}}Ll("template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom() && !left() && !top() && !right()), 'dxrd-disabled-button': disabled }, click: function() { setNone() }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"},css:function(){return{"dxd-state-active":!(e.$data.bottom()||e.$data.left()||e.$data.top()||e.$data.right()),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setNone()}}}}),Ll("template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom() && left() && top() && right()), 'dxrd-disabled-button': disabled }, click: function() { setAll() }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"},css:function(){return{"dxd-state-active":e.$data.bottom()&&e.$data.left()&&e.$data.top()&&e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setAll()}}}}),Ll("template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"},css:function(){return{"dxd-state-active":e.$data.left(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left")}}}}),Ll("template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"},css:function(){return{"dxd-state-active":e.$data.top(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top")}}}}),Ll("template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"},css:function(){return{"dxd-state-active":e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right")}}}}),Ll("template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom")}}}}),Ll("with: value",function(e,t){return{with:function(){return e.$data.value}}}),Ll("visible: isHAxisVisible, css: { 'dxd-dimension-notations-inside-elt' : isLocatedInsideContainer }",function(e,t){return{visible:function(){return e.$data.isHAxisVisible},css:function(){return{"dxd-dimension-notations-inside-elt":e.$data.isLocatedInsideContainer}}}}),Ll("text: width",function(e,t){return{text:function(){return e.$data.width}}}),Ll("visible: isVAxisVisible, css: { 'dxd-dimension-notations-inside-elt' : isLocatedInsideContainer }",function(e,t){return{visible:function(){return e.$data.isVAxisVisible},css:function(){return{"dxd-dimension-notations-inside-elt":e.$data.isLocatedInsideContainer}}}}),Ll("text: height",function(e,t){return{text:function(){return e.$data.height}}}),Ll("dxBorderEditor: $data",function(e,t){return{dxBorderEditor:function(){return e.$data}}}),Ll("dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), editAlphaChannel: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flipfit', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }",function(e,t){return{dxColorBox:function(){return{value:e.$data.displayValue,onValueChanged:e.$data.onValueChanged,placeholder:e.$root.getLocalization("(Not set)","ReportStringId.UD_PropertyGrid_NotSetText"),editAlphaChannel:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flipfit",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}}}}),Ll("dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.dataBindingsProvider, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() })",function(e,t){return{dxExpressionEditor:function(){return e.$data.getOptions({options:e.$data.value,fieldListProvider:e.$root.dataBindingsProvider,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider()})}}}),Ll("if: value",function(e,t){return{if:function(){return e.$data.value}}}),Ll("dxFieldListPicker: { path: path, onValueChanged: onValueChanged, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }",function(e,t){return{dxFieldListPicker:function(){return{path:e.$data.path,onValueChanged:e.$data.onValueChanged,acceptCustomValue:!0,value:e.$data.value,displayValue:e.$data.$displayName,itemsProvider:e.$root.dataBindingsProvider,treeListController:e.$data.treeListController,disabled:e.$data.disabled,inputAttr:{id:e.$data.editorInputId}}}}}),Ll("displayNameExtender: { path: path, dataMember: value, getPath: getPath, getDataMember: getDataMember }",function(e,t){return{displayNameExtender:function(){return{path:e.$data.path,dataMember:e.$data.value,getPath:e.$data.getPath,getDataMember:e.$data.getDataMember}}}}),Ll("if: visible",function(e,t){return{if:function(){return e.$data.visible}}}),Ll("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider(), aiExpressionGenerator: $root.aiExpressionGenerator }",function(e,t){return{dxFilterEditor:function(){return{options:e.$data.value,fieldListProvider:e.$root.dataBindingsProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider(),aiExpressionGenerator:e.$root.aiExpressionGenerator}}}}),Ll("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider(), aiExpressionGenerator: $root.aiExpressionGenerator }",function(e,t){return{dxFilterEditor:function(){return{options:e.$data.value,fieldListProvider:e.$root.dataBindingsGroupProvider,getDisplayNameByPath:e.$root.getDisplayNameByPath,displayNameProvider:e.$root.displayNameProvider&&e.$root.displayNameProvider(),aiExpressionGenerator:e.$root.aiExpressionGenerator}}}}),Ll("dxFormatEditor: { value: value, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }",function(e,t){return{dxFormatEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled,actions:e.$data.actions,customPatterns:e.$data.customPatterns}}}}),Ll("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),Ll("template: { name: 'dx-propertieseditor', data: viewmodel }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.viewmodel}}}}),Ll("template: { name: 'dx-propertieseditor', data: getProperties() }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties()}}}}),Ll("if: $data.visible() && editorCreated",function(e,t){return{if:function(){return e.$data.visible()&&e.$data.editorCreated}}}),Ll("dxTextAlignmentEditor: $data",function(e,t){return{dxTextAlignmentEditor:function(){return e.$data}}}),Ll("treelist: options",function(e,t){return{treelist:function(){return e.$data.options}}}),Ll("if: options",function(e,t){return{if:function(){return e.$data.options}}}),Ll("style: { transform: snapLineSurfaces[0].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[0].transform()}}}}),Ll("style: { transform: snapLineSurfaces[1].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[1].transform()}}}}),Ll("style: { transform: snapLineSurfaces[2].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[2].transform()}}}}),Ll("style: { transform: snapLineSurfaces[3].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[3].transform()}}}}),Ll("css: { 'dxrd-context-menu-container': selected() }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null",function(e,t){return{css:function(){return{"dxrd-context-menu-container":e.$data.selected()}},template:function(){return e.$data.templateName},click:function(){return function(t,i){e.$data.clickHandler(e.$root.selection,i)}},event:function(){return e.$root.ContextMenusEnabled&&e.$root.ContextMenusEnabled()?{contextmenu:function(t,i){e.$data.reportContextMenuHandler&&e.$data.reportContextMenuHandler(e.$root.selection,i)}}:null}}}),Ll("cssArray: [surfaceClass($element), { 'dx-accessibility': $data.accessibilityCompliant, 'dx-rtl': $data.rtl } ]",function(e,t){return{cssArray:function(){return[e.$data.surfaceClass(t),{"dx-accessibility":e.$data.accessibilityCompliant,"dx-rtl":e.$data.rtl}]}}}),Ll("visible: (!designMode || designMode()), cssArray: [rootStyle, { 'dx-rtl' : rtl, 'dx-ltr': !rtl }]",function(e,t){return{visible:function(){return!e.$data.designMode||e.$data.designMode()},cssArray:function(){return[e.$data.rootStyle,{"dx-rtl":e.$data.rtl,"dx-ltr":!e.$data.rtl}]}}}),Ll("ifnot: isLoading",function(e,t){return{ifnot:function(){return e.$data.isLoading}}}),Ll("with: surface",function(e,t){return{with:function(){return e.$data.surface}}}),Ll("if: isLoading",function(e,t){return{if:function(){return e.$data.isLoading}}}),Ll("foreach: parts",function(e,t){return{foreach:function(){return e.$data.parts}}}),Ll("template: { name: templateName, data: viewModel || model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.viewModel||e.$data.model}}}}),Ll("if: ($data.addOns)",function(e,t){return{if:function(){return e.$data.addOns}}}),Ll("foreach: addOns",function(e,t){return{foreach:function(){return e.$data.addOns}}}),Ll("template: { name: templateName, data: model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.model}}}}),Ll("text: verticalString",function(e,t){return{text:function(){return e.$data.verticalString}}}),Ll("template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"},css:function(){return{"dxd-state-active":e.$data.top(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top","Vertical")}}}}),Ll("template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle(), 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"},css:function(){return{"dxd-state-active":e.$data.middle(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("middle","Vertical")}}}}),Ll("template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom","Vertical")}}}}),Ll("text: horizontalString",function(e,t){return{text:function(){return e.$data.horizontalString}}}),Ll("template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"},css:function(){return{"dxd-state-active":e.$data.left(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left","Horizontal")}}}}),Ll("template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center(), 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"},css:function(){return{"dxd-state-active":e.$data.center(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("center","Horizontal")}}}}),Ll("template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"},css:function(){return{"dxd-state-active":e.$data.right(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right","Horizontal")}}}}),Ll("template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify(), 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"},css:function(){return{"dxd-state-active":e.$data.justify(),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("justify","Horizontal")}}}}),Ll("dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: ko.unwrap($data.imageTemplateName), iconClass: ko.unwrap($data.imageClassName) }, attr: { id: id, title: text }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.togglePopoverVisible,disabled:e.$data.disabled,icon:e.ko.unwrap(e.$data.imageTemplateName),iconClass:e.ko.unwrap(e.$data.imageClassName)}},attr:function(){return{id:e.$data.id,title:e.$data.text}}}}),Ll("dxPopup: { width: 235, height: 'auto', position: { my: $root.rtl ? 'left top': 'right top', at: 'bottom', of: ('#' + id) }, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, '.dxrd-action-items-container'), shading: false, visible: popoverVisible }",function(e,t){return{dxPopup:function(){return{width:235,height:"auto",position:{my:e.$root.rtl?"left top":"right top",at:"bottom",of:"#"+e.$data.id},showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,container:(e.$data.getContainer||function(e,t){return t})(t,".dxrd-action-items-container"),shading:!1,visible:e.$data.popoverVisible}}}}),Ll("dxclick: clickAction, css: { 'dxrd-disabled-button': disabled }",function(e,t){return{dxclick:function(){return e.$data.clickAction},css:function(){return{"dxrd-disabled-button":e.$data.disabled}}}}),Ll("css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }",function(e,t){return{css:function(){return e.ko.unwrap(e.$data.imageClassName)},template:function(){return{name:e.ko.unwrap(e.$data.imageTemplateName),if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),Ll("if: $data.contentTemplate",function(e,t){return{if:function(){return e.$data.contentTemplate}}}),Ll("template: contentTemplate",function(e,t){return{template:function(){return e.$data.contentTemplate}}}),Ll("if: !$data.contentTemplate",function(e,t){return{if:function(){return!e.$data.contentTemplate}}}),Ll("foreach: actions",function(e,t){return{foreach:function(){return e.$data.actions}}}),Ll("styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { 'dxrd-locked': $data.isLocked }",function(e,t){return{styleunit:function(){return{top:e.$data.top,left:e.$data.left,width:e.$data.width,height:e.$data.height}},css:function(){return{"dxrd-locked":e.$data.isLocked}}}}),Ll("styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className",function(e,t){return{styleunit:function(){return{left:e.$data.left,top:e.$data.top,width:e.$data.width,height:e.$data.height}},css:function(){return e.$data.className}}}),Ll("template: { name: $data.template, data: $data.data }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.data}}}}),Ll("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}}}}),Ll("text: text, attr: { title: text }",function(e,t){return{text:function(){return e.$data.text},attr:function(){return{title:e.$data.text}}}}),Ll("foreach: $data.controls()",function(e,t){return{foreach:function(){return e.$data.controls()}}}),Ll("with: $parent.customData()",function(e,t){return{with:function(){return e.$parent.customData()}}}),Ll("dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: 'dxrd-svg-menu-menu', css: {'dxd-state-active': appMenuVisible }",function(e,t){return{dxclick:function(){return function(t){e.$data.stopPropagation?e.$data.stopPropagation=!1:e.$data.toggleAppMenu()}},template:function(){return"dxrd-svg-menu-menu"},css:function(){return{"dxd-state-active":e.$data.appMenuVisible}}}}),Ll("dxPopup: { width: 250, wrapperAttr: { class: 'dxd-menu-back-color dxd-back-primary2' }, height: '100%' , position: $data.rtl ? { my: 'right top' , at: 'left top' , offset: '-10 0' } : { my: 'left top' , at: 'right top' , offset: '10 0' }, showTitle: false, showCloseButton: false, container: getMenuPopupContainer($element), target: getMenuPopupTarget($element), animation: {}, hideOnOutsideClick: function(e) { var buttonClassName = 'dxrd-menu-button-image'; var parentClassList = e.target.parentNode && e.target.parentNode.parentNode && e.target.parentNode.parentNode.classList; stopPropagation = (e.target.classList && e.target.classList.contains(buttonClassName)) || (parentClassList && parentClassList.contains(buttonClassName)); return true; }, shading: false, focusStateEnabled: false, visible: appMenuVisible }",function(e,t){return{dxPopup:function(){return{width:250,wrapperAttr:{class:"dxd-menu-back-color dxd-back-primary2"},height:"100%",position:e.$data.rtl?{my:"right top",at:"left top",offset:"-10 0"}:{my:"left top",at:"right top",offset:"10 0"},showTitle:!1,showCloseButton:!1,container:e.$data.getMenuPopupContainer(t),target:e.$data.getMenuPopupTarget(t),animation:{},hideOnOutsideClick:function(t){var i="dxrd-menu-button-image",s=t.target.parentNode&&t.target.parentNode.parentNode&&t.target.parentNode.parentNode.classList;return e.$data.stopPropagation=t.target.classList&&t.target.classList.contains(i)||s&&s.contains(i),!0},shading:!1,focusStateEnabled:!1,visible:e.$data.appMenuVisible}}}}),Ll("dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { 'dxrd-disabled-button': disabled }, visible: visible",function(e,t){return{dxclick:function(){return function(t){(e.$data.disabled&&!e.$data.disabled()||!e.$data.disabled)&&(e.$root.toggleAppMenu(),e.$data.clickAction(e.$root.model(),t))}},css:function(){return{"dxrd-disabled-button":e.$data.disabled}},visible:function(){return e.$data.visible}}}),Ll("text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}",function(e,t){return{text:function(){return e.$data.displayText&&e.$data.displayText()||e.$data.text},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),Ll("visible: $data.hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),Ll("foreach: actionLists.menuItems",function(e,t){return{foreach:function(){return e.$data.actionLists.menuItems}}}),Ll("dxdAccordion: { collapsed: collapsed }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed}}}}),Ll("css: { 'dxrd-group-header-collapsed': collapsed() }",function(e,t){return{css:function(){return{"dxrd-group-header-collapsed":e.$data.collapsed()}}}}),Ll("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed() }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.collapsed()}}}}),Ll("text: $root.actionsGroupTitle()",function(e,t){return{text:function(){return e.$root.actionsGroupTitle()}}}),Ll("dxclick: function() { if($data.disabled && !$data.disabled() || !$data.disabled) { clickAction($root.editableObject()); } }, css: { 'dxrd-disabled-button': $data.disabled && $data.disabled() }, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible)",function(e,t){return{dxclick:function(){return function(){(e.$data.disabled&&!e.$data.disabled()||!e.$data.disabled)&&e.$data.clickAction(e.$root.editableObject())}},css:function(){return{"dxrd-disabled-button":e.$data.disabled&&e.$data.disabled()}},visible:function(){return null==e.ko.unwrap(e.$data.visible)||e.ko.unwrap(e.$data.visible)}}}),Ll("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),Ll("template: { name: 'dx-propertieseditor', data: $data }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data}}}}),Ll("visible: items.some(x => !x.visible || ko.unwrap(x.visible))",function(e,t){return{visible:function(){return e.$data.items.some(t=>!t.visible||e.ko.unwrap(t.visible))}}}),Ll("text: group",function(e,t){return{text:function(){return e.$data.group}}}),Ll("if: popularVisible",function(e,t){return{if:function(){return e.$data.popularVisible}}}),Ll("foreach: (contextActions || [])",function(e,t){return{foreach:function(){return e.$data.contextActions||[]}}}),Ll("if: $data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return e.$data.templateName&&!e.$data.isContextMenuAction}}}),Ll("template: templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),Ll("if: !$data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return!e.$data.templateName&&!e.$data.isContextMenuAction}}}),Ll("with: popularProperties",function(e,t){return{with:function(){return e.$data.popularProperties}}}),Ll("if: groupActionsVisible",function(e,t){return{if:function(){return e.$data.groupActionsVisible}}}),Ll("foreach: (groupActions || [])",function(e,t){return{foreach:function(){return e.$data.groupActions||[]}}}),Ll("foreach: (items || [])",function(e,t){return{foreach:function(){return e.$data.items||[]}}}),Ll("template: { name: $data.templateName, if: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName,if:e.$data.templateName}}}}),Ll("if: !$data.templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),Ll("css: { 'dx-property-grid-search-collapsed': !isSearching() }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":!e.$data.isSearching()}}}}),Ll("css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.isSearching}},dxButtonWithTemplate:function(){return{onClick:e.$data.switchSearchBox,icon:"dxrd-svg-properties-search",iconClass:"image-search"}},attr:function(){return{title:e.$root.getLocalization("Search","ASPxReportsStringId.SearchDialog_Header")}}}}),Ll("dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.textToSearch,valueChangeEvent:"keyup",placeholder:e.$data.searchPlaceholder(),showClearButton:!0}},cacheElement:function(){return{action:function(t){e.$data.searchBox(t)}}}}}),Ll("visible: active && visible",function(e,t){return{visible:function(){return e.$data.active&&e.$data.visible}}}),Ll("text: text",function(e,t){return{text:function(){return e.$data.text}}}),Ll("css: { 'dx-property-grid-search-collapsed': isSearching }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":e.$data.isSearching}}}}),Ll("dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.controlsStore.dataSource,value:e.$data.focusedItem,displayExpr:e.$data.displayExpr,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}}),Ll("css: { 'dxd-state-active dxd-state-no-hover': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: 'dxrd-svg-properties-sortingbyalphabet', iconClass: 'image-sortingbyalphabet' }",function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":!e.$data.isSortingByGroups()}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.isSortingByGroups(!1)},icon:"dxrd-svg-properties-sortingbyalphabet",iconClass:"image-sortingbyalphabet"}}}}),Ll("css: { 'dxd-state-active dxd-state-no-hover': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: 'dxrd-svg-properties-sortingbygroups', iconClass: 'image-sortingbygroups' }",function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":e.$data.isSortingByGroups}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.isSortingByGroups(!0)},icon:"dxrd-svg-properties-sortingbygroups",iconClass:"image-sortingbygroups"}}}}),Ll("dxScrollView: { showScrollbar: 'onHover', useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",useNative:!1,scrollByThumb:!0}}}}),Ll("visible: isSortingByGroups",function(e,t){return{visible:function(){return e.$data.isSortingByGroups}}}),Ll("visible: visible",function(e,t){return{visible:function(){return e.$data.visible}}}),Ll("text: displayName()",function(e,t){return{text:function(){return e.$data.displayName()}}}),Ll("dxLoadIndicator: { visible: !editorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.editorsCreated()}}}}),Ll("visible: editorsCreated",function(e,t){return{visible:function(){return e.$data.editorsCreated}}}),Ll("visible: !isSortingByGroups()",function(e,t){return{visible:function(){return!e.$data.isSortingByGroups()}}}),Ll("dxLoadIndicator: { visible: !allEditorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.allEditorsCreated()}}}}),Ll("visible: allEditorsCreated",function(e,t){return{visible:function(){return e.$data.allEditorsCreated}}}),Ll("dxPopup: { width: 250, height: 'auto', position: $data.rtl ? { my: 'left top', at: 'right top', of: popupService.target, collision: 'flipfit' } : { my: 'right top', at: 'left top', of: popupService.target, collision: 'flipfit' }, container: $root.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",function(e,t){return{dxPopup:function(){return{width:250,height:"auto",position:e.$data.rtl?{my:"left top",at:"right top",of:e.$data.popupService.target,collision:"flipfit"}:{my:"right top",at:"left top",of:e.$data.popupService.target,collision:"flipfit"},container:e.$root.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}}),Ll("text: popupService.title, visible: popupService.title",function(e,t){return{text:function(){return e.$data.popupService.title},visible:function(){return e.$data.popupService.title}}}),Ll("dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onItemClick: popupService.onItemClick, onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }",function(e,t){return{dxMenu:function(){return{wrapperAttr:{class:"dxd-button-back-color"},disabled:e.$data.popupService.disabled,dataSource:e.$data.popupService.actions,displayExpr:"title",cssClass:"dxrd-editor-menu",orientation:"vertical",showFirstSubmenuMode:"onHover",onItemClick:e.$data.popupService.onItemClick,onSubmenuShowing:function(i){i.submenu._overlay.option("container",e.$root.getPopupContainer(t))}}}}}),Ll("attr: { title: title }, text: title",function(e,t){return{attr:function(){return{title:e.$data.title}},text:function(){return e.$data.title}}}),Ll("visible: $data.items && $data.items.length",function(e,t){return{visible:function(){return e.$data.items&&e.$data.items.length}}}),Ll("dxPopover: { container: getPopupContainer($element), target: target, position: 'bottom', showCloseButton: false, onHiding: onHiding, hideOnOutsideClick: true, hideOnParentScroll: true, width: '350px', visible: visible }",function(e,t){return{dxPopover:function(){return{container:e.$data.getPopupContainer(t),target:e.$data.target,position:"bottom",showCloseButton:!1,onHiding:e.$data.onHiding,hideOnOutsideClick:!0,hideOnParentScroll:!0,width:"350px",visible:e.$data.visible}}}}),Ll("text: data",function(e,t){return{text:function(){return e.$data.data}}}),Ll("if: $data.innerTemplate",function(e,t){return{if:function(){return e.$data.innerTemplate}}}),Ll("template: $data.innerTemplate",function(e,t){return{template:function(){return e.$data.innerTemplate}}}),Ll("with: model",function(e,t){return{with:function(){return e.$data.model}}}),Ll("if: $root.controlsStore.visible()",function(e,t){return{if:function(){return e.$root.controlsStore.visible()}}}),Ll("template: 'dx-propertygrid-searchbox'",function(e,t){return{template:function(){return"dx-propertygrid-searchbox"}}}),Ll("template: { name: 'dxrd-group-actions', data: { groupActions: $root.contextGroupActions, groupActionsVisible: $root.groupActionsVisible() } }",function(e,t){return{template:function(){return{name:"dxrd-group-actions",data:{groupActions:e.$root.contextGroupActions,groupActionsVisible:e.$root.groupActionsVisible()}}}}}),Ll("template: { name: 'dxrd-top-grid', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } }",function(e,t){return{template:function(){return{name:"dxrd-top-grid",data:{contextActions:e.$root.contextActions,popularProperties:e.$root.popularProperties,collapsed:e.ko.observable(!1),popularVisible:e.$root.popularVisible()&&e.$data.isSortingByGroups(),actionsGroupTitle:e.$root.actionsGroupTitle}}}}}),Ll("foreach: groups",function(e,t){return{foreach:function(){return e.$data.groups}}}),Ll("ifnot: editorsCreated",function(e,t){return{ifnot:function(){return e.$data.editorsCreated}}}),Ll("if: $data.editorsRendered()",function(e,t){return{if:function(){return e.$data.editorsRendered()}}}),Ll("foreach: editors",function(e,t){return{foreach:function(){return e.$data.editors}}}),Ll("template: editorTemplate",function(e,t){return{template:function(){return e.$data.editorTemplate}}}),Ll("if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true))",function(e,t){return{if:function(){return e.$index()===e.$parent.editors().length-1&&e.$parent.editorsCreated(!0)}}}),Ll("foreach: $data.getEditors()",function(e,t){return{foreach:function(){return e.$data.getEditors()}}}),Ll("if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true))",function(e,t){return{if:function(){return e.$index()===e.$parent._editors().length-1&&e.$parent.allEditorsCreated(!0)}}}),Ll("template: 'dx-propertygrid-popupservice'",function(e,t){return{template:function(){return"dx-propertygrid-popupservice"}}}),Ll("template: { name: 'dx-propertygrid-popoverservice', if: popover, data: popover.getViewModel() }",function(e,t){return{template:function(){return{name:"dx-propertygrid-popoverservice",if:e.$data.popover,data:e.$data.popover.getViewModel()}}}}),Ll("if: $data.itemTemplate",function(e,t){return{if:function(){return e.$data.itemTemplate}}}),Ll("template: $data.itemTemplate",function(e,t){return{template:function(){return e.$data.itemTemplate}}}),Ll("ifnot: $data.itemTemplate",function(e,t){return{ifnot:function(){return e.$data.itemTemplate}}}),Ll("dxTemplate: { name: 'content' }",function(){return{dxTemplate:{name:"content"}}}),Ll("dxTemplate: { name: 'item' }",function(){return{dxTemplate:{name:"item"}}}),Ll("styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))",function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.class},resizable:function(){return e.$data.getResizableOptions(t,1,e.$root.calculateWithZoomFactor(325))}}}),Ll("styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper",function(e,t){return{styleunit:function(){return{width:e.$data.width}},css:function(){return e.$data.class},dxMutationObserver:function(){return e.$data.keyboardHelper}}}),Ll("css: tabsElement.class",function(e,t){return{css:function(){return e.$data.tabsElement.class}}}),Ll("dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, 'aria-label': text, 'aria-expanded': !collapsed && active ? 'true' : 'false' }, visible: visible",function(e,t){return{dxAction:function(){return{action:function(t){e.$data.click()}}},css:function(){return e.$data.css.class},attr:function(){return{title:e.$data.text,"aria-label":e.$data.text,"aria-expanded":!e.$data.collapsed&&e.$data.active?"true":"false"}},visible:function(){return e.$data.visible}}}),Ll("css: image.class, template: {name: image.templateName, if: !!ko.unwrap($data.image.templateName)}",function(e,t){return{css:function(){return e.$data.image.class},template:function(){return{name:e.$data.image.templateName,if:!!e.ko.unwrap(e.$data.image.templateName)}}}}),Ll("styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)",function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.contentElement.class},resizable:function(){return e.$data.getResizableOptions(t,50,396)}}}),Ll("with: tabPanel.getViewModel()",function(e,t){return{with:function(){return e.$data.tabPanel.getViewModel()}}}),Ll("foreach: tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),Ll("lazy: { template: $data.template }",function(e,t){return{lazy:function(){return{template:e.$data.template}}}}),Ll("foreach: $data.tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),Ll("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', disabled: disabled, onClick: toogle, hint: title }",function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",disabled:e.$data.disabled,onClick:e.$data.toogle,hint:e.$data.title}}}}),Ll("template: {name: 'dxrd-toolbar-tmplt', data: actionLists.getViewModel().toolbarItems }",function(e,t){return{template:function(){return{name:"dxrd-toolbar-tmplt",data:e.$data.actionLists.getViewModel().toolbarItems}}}}),Ll("visible: visible, css: actionClass",function(e,t){return{visible:function(){return e.$data.visible},css:function(){return e.$data.actionClass}}}),Ll("attr: block.attr",function(e,t){return{attr:function(){return e.$data.block.attr}}}),Ll("template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: displayText }, dxclick: click",function(e,t){return{template:function(){return{name:e.$data.image.templateName,if:!!e.$data.image.templateName}},attr:function(){return{class:e.$data.image.class,title:e.$data.displayText}},dxclick:function(){return e.$data.click}}}),Ll("visible: hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),Ll("foreach: $data",function(e,t){return{foreach:function(){return e.$data}}}),Ll("if: templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),Ll("template: { name: templateName, data: contentData || $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.contentData||e.$data}}}}),Ll("if: !templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),Ll("dxScrollView: { showScrollbar: 'onHover', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",scrollByContent:!1,bounceEnabled:!1,useNative:!1,scrollByThumb:!0}}}}),Ll("attr: { title: displayName }",function(e,t){return{attr:function(){return{title:e.$data.displayName}}}}),Ll("template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler",function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},css:function(){return e.$data.imageClassName},draggable:function(){return e.$root.toolboxDragHandler}}}),Ll("foreach: toolboxItems",function(e,t){return{foreach:function(){return e.$data.toolboxItems}}}),Ll("foreach: groupedToolboxItems",function(e,t){return{foreach:function(){return e.$data.groupedToolboxItems}}}),Ll("foreach: items",function(e,t){return{foreach:function(){return e.$data.items}}}),Ll("dxSelectBox: { items: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }",function(e,t){return{dxSelectBox:function(){return{items:e.$data.widget.dataSource,value:e.$data.widget.value,onValueChanged:e.$data.widget.onValueChanged,displayExpr:e.$data.widget.displayExpr,displayCustomValue:!0,acceptCustomValue:!0,onCustomItemCreating:e.$data.widget.onCustomItemCreating,disabled:e.$data.disabled,dropDownOptions:{container:e.$data.getPopupContainer(t)},useItemTextAsTitle:!0}}}}),Ll("dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }",function(e,t){return{dxclick:function(){return function(t,i){e.$data.showPopup(t,i)}},css:function(){return e.$data.editorMenuButtonCss},attr:function(){return{title:e.$data.hint}}}}),Ll("dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss",function(e,t){return{dxclick:function(){return function(t,i){e.$data.showPopup(t,i)}},attr:function(){return{title:e.$data.hint}},css:function(){return e.$data.editorMenuButtonCss}}}),Ll("template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }",function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:e.ko.unwrap(e.$data.imageTemplateName)}}}}),Ll("if: $data.visible",function(e,t){return{if:function(){return e.$data.visible}}}),Ll("if: $data.templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),Ll("template: $data.templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),Ll("ifnot: $data.templateName",function(e,t){return{ifnot:function(){return e.$data.templateName}}}),Ll("if: !ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return!e.ko.unwrap(e.$data.imageTemplateName)}}}),Ll("if: ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return e.ko.unwrap(e.$data.imageTemplateName)}}}),Ll("dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed,setCollapsed:e.$data.setCollapsed,getCollapsed:e.$data.getCollapsed,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent,alwaysShow:e.$data.alwaysShow}},dxMutationObserver:function(){return e.$data.keyboardHelper}}}),Ll("attr: { 'aria-expanded': alwaysShow || !collapsed ? 'true' : 'false', 'aria-owns': contentId, 'id': headerId, }",function(e,t){return{attr:function(){return{"aria-expanded":e.$data.alwaysShow||!e.$data.collapsed?"true":"false","aria-owns":e.$data.contentId,id:e.$data.headerId}}}}),Ll("dxButton: { onClick: up.action, disabled: up.disabled, icon: 'dxrd-svg-operations-moveup', template: up.template }, attr: { title: up.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.up.action,disabled:e.$data.up.disabled,icon:"dxrd-svg-operations-moveup",template:e.$data.up.template}},attr:function(){return{title:e.$data.up.text}}}}),Ll("dxButton: { onClick: down.action, disabled: down.disabled, icon: 'dxrd-svg-operations-movedown', template: down.template }, attr: { title: down.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.down.action,disabled:e.$data.down.disabled,icon:"dxrd-svg-operations-movedown",template:e.$data.down.template}},attr:function(){return{title:e.$data.down.text}}}}),Ll("dxButton: { onClick: add.action, disabled: add.disabled, icon: 'dxrd-svg-operations-add', template: add.template }, attr: { title: add.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.add.action,disabled:e.$data.add.disabled,icon:"dxrd-svg-operations-add",template:e.$data.add.template}},attr:function(){return{title:e.$data.add.text}}}}),Ll("dxButton: { onClick: delete.action, disabled: delete.disabled, icon: 'dxrd-svg-operations-remove', template: delete.template }, attr: { title: delete.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.delete.action,disabled:e.$data.delete.disabled,icon:"dxrd-svg-operations-remove",template:e.$data.delete.template}},attr:function(){return{title:e.$data.delete.text}}}}),Ll("styleunit: { 'paddingLeft': padding }",function(e,t){return{styleunit:function(){return{paddingLeft:e.$data.padding}}}}),Ll("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.collapsed}}}}),Ll("text: displayName, attr: { title: displayName }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}}),Ll("attr: { 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false', 'aria-labelledby': headerId, 'id': contentId }",function(e,t){return{attr:function(){return{"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false","aria-labelledby":e.$data.headerId,id:e.$data.contentId}}}}),Ll("text: emptyAreaText",function(e,t){return{text:function(){return e.$data.emptyAreaText}}}),Ll("visible: !disabled, dxScrollView: { showScrollbar: 'onHover', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option('useKeyboard', false); } }",function(e,t){return{visible:function(){return!e.$data.disabled},dxScrollView:function(){return{showScrollbar:"onHover",disabled:!e.$data.showScroll,useNative:!1,scrollByThumb:!0,onInitialized:function(e){e.component.option("useKeyboard",!1)}}}}}),Ll("foreach: values",function(e,t){return{foreach:function(){return e.$data.values}}}),Ll("attr: { 'aria-selected': selected }, dxAction: { model: $data, action: select }, css: { 'dxd-state-selected' : selected }",function(e,t){return{attr:function(){return{"aria-selected":e.$data.selected}},dxAction:function(){return{model:e.$data,action:e.$data.select}},css:function(){return{"dxd-state-selected":e.$data.selected}}}}),Ll("if: showButtons",function(e,t){return{if:function(){return e.$data.showButtons}}}),Ll("with: buttons",function(e,t){return{with:function(){return e.$data.buttons}}}),Ll("if: up.visible",function(e,t){return{if:function(){return e.$data.up.visible}}}),Ll("if: down.visible",function(e,t){return{if:function(){return e.$data.down.visible}}}),Ll("if: add.visible",function(e,t){return{if:function(){return e.$data.add.visible}}}),Ll("if: delete.visible",function(e,t){return{if:function(){return e.$data.delete.visible}}}),Ll("if: displayName",function(e,t){return{if:function(){return e.$data.displayName}}}),Ll("if: hasExpanded",function(e,t){return{if:function(){return e.$data.hasExpanded}}}),Ll("if: values.length === 0",function(e,t){return{if:function(){return 0===e.$data.values.length}}}),Ll("if: values.length !== 0",function(e,t){return{if:function(){return 0!==e.$data.values.length}}}),Ll("dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { 'aria-label': displayName } }), dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxCheckBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,elementAttr:{"aria-label":e.$data.displayName}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),Ll("dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:[{val:!0,text:e.$root.getLocalization("Yes","AnalyticsCoreStringId.ParametersPanel_True")},{val:!1,text:e.$root.getLocalization("No","AnalyticsCoreStringId.ParametersPanel_False")}],inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},valueExpr:"val",displayExpr:"text",value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),Ll("dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }",function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$data.displayName,level:e.$data.level,info:e.$data.info}}}}),Ll("text: $data.display, attr: { title: $data.display }",function(e,t){return{text:function(){return e.$data.display},attr:function(){return{title:e.$data.display}}}}),Ll("dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),Ll("dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }",function(e,t){return{dxLocalizedSelectBox:function(){return{items:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",disabled:e.$data.disabled,acceptCustomValue:!0,onCustomItemCreating:function(e){return{value:e.text,displayValue:e.text}},dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},useLocalizedTextAsValue:!0}}}}),Ll("dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.generateValue(e.$root.undoEngine),valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},inputAttr:{id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),Ll("dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed,setCollapsed:e.$data.setCollapsed,getCollapsed:e.$data.getCollapsed,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}}),Ll("attr: { role: 'treeitem', 'id': headerId, 'aria-owns': contentId, 'aria-expanded': alwaysShow || !collapsed ? 'true' : 'false' }",function(e,t){return{attr:function(){return{role:"treeitem",id:e.$data.headerId,"aria-owns":e.$data.contentId,"aria-expanded":e.$data.alwaysShow||!e.$data.collapsed?"true":"false"}}}}),Ll("styleunit: padding, css: { 'dx-accordion-empty': templateName === 'dx-emptyHeader' }",function(e,t){return{styleunit:function(){return e.$data.padding},css:function(){return{"dx-accordion-empty":"dx-emptyHeader"===e.$data.templateName}}}}),Ll("enable: templateName === 'dx-emptyHeader'",function(e,t){return{enable:function(){return"dx-emptyHeader"===e.$data.templateName}}}),Ll("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !ko.unwrap(collapsed) }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.ko.unwrap(e.$data.collapsed)}}}}),Ll("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dx-collapsing-image-hidden":e.$data.hideCollapsingButton}}}}),Ll("text: displayName, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dx-collapsing-image-hidden":e.$data.hideCollapsingButton}}}}),Ll("attr: { 'aria-labelledby': headerId, 'id': contentId, 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false' }",function(e,t){return{attr:function(){return{"aria-labelledby":e.$data.headerId,id:e.$data.contentId,"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false"}}}}),Ll("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: labelAttributes, css: { 'dx-field-label-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return e.$data.labelAttributes},css:function(){return{"dx-field-label-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),Ll("text: displayName, attr: labelAttributes, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return e.$data.labelAttributes},css:function(){return{"dx-property-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),Ll("service: { name: 'createEditorDescriptionAddOn' }",function(e,t){return{service:function(){return{name:"createEditorDescriptionAddOn"}}}}),Ll("css: { 'dxd-border-accented': $data.isPropertyHighlighted }",function(e,t){return{css:function(){return{"dxd-border-accented":e.$data.isPropertyHighlighted}}}}),Ll("service: { name: 'createEditorAddOn' }",function(e,t){return{service:function(){return{name:"createEditorAddOn"}}}}),Ll("dxButtonWithTemplate: { onClick: onClick, icon: 'dxrd-svg-tabs-description_info' }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.onClick,icon:"dxrd-svg-tabs-description_info"}}}}),Ll("if: isComplexEditor",function(e,t){return{if:function(){return e.$data.isComplexEditor}}}),Ll("template: 'dx-complex-editor-template'",function(e,t){return{template:function(){return"dx-complex-editor-template"}}}),Ll("ifnot: isComplexEditor",function(e,t){return{ifnot:function(){return e.$data.isComplexEditor}}}),Ll("template: 'dx-simple-editor-template'",function(e,t){return{template:function(){return"dx-simple-editor-template"}}}),Ll("ifnot: $data.hideCollapsingButton",function(e,t){return{ifnot:function(){return e.$data.hideCollapsingButton}}}),Ll("if: !!$data.textToSearch",function(e,t){return{if:function(){return!!e.$data.textToSearch}}}),Ll("ifnot: !!$data.textToSearch",function(e,t){return{ifnot:function(){return!!e.$data.textToSearch}}}),Ll("template: 'dx-lazy-editor-template'",function(e,t){return{template:function(){return"dx-lazy-editor-template"}}}),Ll("if: editorCreated",function(e,t){return{if:function(){return e.$data.editorCreated}}}),Ll("template: contentTemplateName",function(e,t){return{template:function(){return e.$data.contentTemplateName}}}),Ll("if: !$data.editorDescriptionAddon && $data.description",function(e,t){return{if:function(){return!e.$data.editorDescriptionAddon&&e.$data.description}}}),Ll("if: $data.editorDescriptionAddon",function(e,t){return{if:function(){return e.$data.editorDescriptionAddon}}}),Ll("template: { name: $data.editorDescriptionAddon.templateName, data: $data.editorDescriptionAddon.data }",function(e,t){return{template:function(){return{name:e.$data.editorDescriptionAddon.templateName,data:e.$data.editorDescriptionAddon.data}}}}),Ll("if: templateName !== 'dx-emptyHeader'",function(e,t){return{if:function(){return"dx-emptyHeader"!==e.$data.templateName}}}),Ll("lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) }, resolver: $parent.resolver, withPriority: true }",function(e,t){return{lazy:function(){return{innerBindings:{template:e.$data.templateName},isResolved:function(t){e.$data.setIsRendered(t)},resolver:e.$parent.resolver,withPriority:!0}}}}),Ll("dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId }, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxDateBox:function(){return e.$data.getOptions({value:e.$data.value,closeOnValueChange:!0,type:"datetime",disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flip",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),Ll("dxFileImagePicker: { value: value, inputAttr: { id: editorInputId }, placeholderId: 'File', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,inputAttr:{id:e.$data.editorInputId},placeholderId:"File",disabled:e.$data.disabled}}}}),Ll("css: { 'dxd-state-active': bold(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { bold(!bold()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.bold(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.bold(!e.$data.bold())}}}}),Ll("css: { 'dxd-state-active': italic(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { italic(!italic()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.italic(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.italic(!e.$data.italic())}}}}),Ll("css: { 'dxd-state-active': underline(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { underline(!underline()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.underline(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.underline(!e.$data.underline())}}}}),Ll("css: { 'dxd-state-active': strikeout(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { strikeout(!strikeout()); } }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.strikeout(),"dx-disabled-button":e.$parent.disabled}},click:function(){return function(){e.ko.unwrap(e.$parent.disabled)||e.$data.strikeout(!e.$data.strikeout())}}}}),Ll("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),Ll("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),Ll("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideUnderline",function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideUnderline}}}),Ll("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),Ll("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideStrikeout",function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideStrikeout}}}),Ll("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),Ll("dxFileImagePicker: { value: value, inputAttr: { id: editorInputId }, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,inputAttr:{id:e.$data.editorInputId},placeholderId:"Image",accept:"image/*",type:"img",disabled:e.$data.disabled}}}}),Ll("dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxNumberBox:function(){return e.$data.getOptions({value:e.$data.value,showSpinButtons:!0,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),Ll("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),Ll("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),Ll("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})}}}),Ll("value: value, disable: disabled",function(e,t){return{value:function(){return e.$data.value},disable:function(){return e.$data.disabled},_ko_property_writers:function(){return{value:function(t){e.$data.value=t}}}}}),Ll("if: $data.validationRules || $data.validatorOptions",function(e,t){return{if:function(){return e.$data.validationRules||e.$data.validatorOptions}}}),Ll("if: !$data.validationRules",function(e,t){return{if:function(){return!e.$data.validationRules}}}),Ll("css: { 'dx-rtl' : rtl }",function(e,t){return{css:function(){return{"dx-rtl":e.$data.rtl}}}}),Ll("dxPopup: { showTitle: true, width: '750px', height: '475px', title: title(), rtlEnabled: rtl, visible: popupVisible, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }",function(e,t){return{dxPopup:function(){return{showTitle:!0,width:"750px",height:"475px",title:e.$data.title(),rtlEnabled:e.$data.rtl,visible:e.$data.popupVisible,wrapperAttr:{class:e.$data.className},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$root.getPopupContainer(t),position:{of:e.$root.getPopupContainer(t)}}}}}),Ll("dxDataGrid: queriesGrid",function(e,t){return{dxDataGrid:function(){return e.$data.queriesGrid}}}),Ll("dxDropDownButton: $data",function(e,t){return{dxDropDownButton:function(){return e.$data}}}),Ll("if: $data",function(e,t){return{if:function(){return e.$data}}}),Ll("template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper }",function(e,t){return{template:function(){return{name:e.$data._queriesPopupHelper.template,data:e.$data._queriesPopupHelper}}}}),Ll("foreach: $data.popupItems",function(e,t){return{foreach:function(){return e.$data.popupItems}}}),Ll("template: { name: template, data: model }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.model}}}}),Ll("with: options",function(e,t){return{with:function(){return e.$data.options}}}),Ll("resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",function(e,t){return{resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),Ll("dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }",function(e,t){return{dxTextArea:function(){return{value:e.$data.textAreaValue,isValid:e.$data.isValid,spellcheck:!1,onKeyUp:function(){e.$data.isValid(!0)}}}}}),Ll("dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }",function(e,t){return{dxAceEditor:function(){return{value:e.$data.textAreaValue,editorContainer:e.$data.editorContainer,theme:e.$data.theme,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions,callbacks:e.$data.callbacks}}}}),Ll("dxAILoadingPanel: $root.aiExpressionGenerator.getLoadPanelOptions($element)",function(e,t){return{dxAILoadingPanel:function(){return e.$root.aiExpressionGenerator.getLoadPanelOptions(t)}}}),Ll("visible: visible, attr: { class: 'dx-expressioneditor-tools-tab dxd-back-primary2 '+ ($data.templateName ? $data.templateName : '')}",function(e,t){return{visible:function(){return e.$data.visible},attr:function(){return{class:"dx-expressioneditor-tools-tab dxd-back-primary2 "+(e.$data.templateName?e.$data.templateName:"")}}}}),Ll("dxEllipsisEditor: { value: displayValue, buttonAction: function() { popupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.displayValue,buttonAction:function(){e.$data.popupVisible(!0)},disabled:e.$data.disabled,isValid:e.$data.modelValueValid,warningMessage:e.$data.modelValueWarning,inputAttr:{id:e.$data.editorInputId}}}}}),Ll("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }",function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-expressioneditor dx-popup-general"},title:e.$data.title(),visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,fullScreen:!1,height:"615px",maxHeight:"90%",maxWidth:"90%",minHeight:400,minWidth:500,width:"645px",container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)},onContentReady:e.$data.onContentReady,onShowing:e.$data.onShowing,onHiding:e.$data.onHiding,onShown:e.$data.onShown,resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()}}}}}),Ll("if: $root.aiExpressionGenerator",function(e,t){return{if:function(){return e.$root.aiExpressionGenerator}}}),Ll("template: { name: 'dx-ai-expression-generator', data: $root.aiExpressionGenerator.initialize($data) }",function(e,t){return{template:function(){return{name:"dx-ai-expression-generator",data:e.$root.aiExpressionGenerator.initialize(e.$data)}}}}),Ll("if: !aceAvailable",function(e,t){return{if:function(){return!e.$data.aceAvailable}}}),Ll("if: aceAvailable",function(e,t){return{if:function(){return e.$data.aceAvailable}}}),Ll("with: tools",function(e,t){return{with:function(){return e.$data.tools}}}),Ll("foreach: toolBox",function(e,t){return{foreach:function(){return e.$data.toolBox}}}),Ll("template: { name: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName}}}}),Ll("template: 'dx-expressioneditor-popup'",function(e,t){return{template:function(){return"dx-expressioneditor-popup"}}}),Ll("if: popupVisible",function(e,t){return{if:function(){return e.$data.popupVisible}}}),Ll('template: "dx-expressioneditor-main"',function(e,t){return{template:function(){return"dx-expressioneditor-main"}}}),Ll("template: { name: 'dxrd-svg-actions-ai_localization_service' }",function(e,t){return{template:function(){return{name:"dxrd-svg-actions-ai_localization_service"}}}}),Ll("dxTextArea: { value: expressionInNL, width: '100%', valueChangeEvent: 'keyup', placeholder: _promptPlaceholder, autoResizeEnabled: true, maxHeight: '90px', buttons: buttons }",function(e,t){return{dxTextArea:function(){return{value:e.$data.expressionInNL,width:"100%",valueChangeEvent:"keyup",placeholder:e.$data._promptPlaceholder,autoResizeEnabled:!0,maxHeight:"90px",buttons:e.$data.buttons}}}}),Ll("dxScrollView: { showScrollbar: 'onHover' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, 'e')",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},resizable:function(){return e.$parents[1].resizeHelper.resizable(e.$root.resizeHandler,"e")}}}),Ll("css: {'dxd-state-selected': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.content.isSelected}},text:function(){return e.$data.displayName},dxclick:function(){return function(){e.$parent.click(e.$data.content)}}}}),Ll("css: {'dxd-state-selected': $data.isSelected }, dxclick: function() { $data.updateContent($data.allItems(), $data.isSelected); $parent.click($data.content) }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},dxclick:function(){return function(){e.$data.updateContent(e.$data.allItems(),e.$data.isSelected),e.$parent.click(e.$data.content)}}}}),Ll("text: displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),Ll("css: {'dxd-state-selected': isSelected }, text: $data.display, dxclick: function() { $parent.updateContent($data.data, $data.isSelected); $parents[1].click($parent.content); }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},text:function(){return e.$data.display},dxclick:function(){return function(){e.$parent.updateContent(e.$data.data,e.$data.isSelected),e.$parents[1].click(e.$parent.content)}}}}),Ll("foreach: content",function(e,t){return{foreach:function(){return e.$data.content}}}),Ll("dxScrollView: { showScrollbar: 'onHover' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}}}}),Ll("text: content",function(e,t){return{text:function(){return e.$data.content}}}),Ll("treeListSearchPanel: { controllers: [ ko.unwrap($data.parameters) ? ko.unwrap($data.parameters).treeListController : ko.unwrap($data.parameters), ko.unwrap($data.fields) ? ko.unwrap($data.fields).treeListController : ko.unwrap($data.fields) ] }",function(e,t){return{treeListSearchPanel:function(){return{controllers:[e.ko.unwrap(e.$data.parameters)?e.ko.unwrap(e.$data.parameters).treeListController:e.ko.unwrap(e.$data.parameters),e.ko.unwrap(e.$data.fields)?e.ko.unwrap(e.$data.fields).treeListController:e.ko.unwrap(e.$data.fields)]}}}}),Ll("treelist: fields",function(e,t){return{treelist:function(){return e.$data.fields}}}),Ll("treelist: parameters",function(e,t){return{treelist:function(){return e.$data.parameters}}}),Ll("visible: visible, click: toggleSelected, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected': isSelected }",function(e,t){return{visible:function(){return e.$data.visible},click:function(){return e.$data.toggleSelected},event:function(){return{dblclick:function(){e.$data.actions[0].clickAction(t)}}},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected":e.$data.isSelected}}}}),Ll("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed",function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed}}}),Ll("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.ko.unwrap(e.$data.imageTemplateName)}},attr:function(){return{title:e.$data.text}}}}),Ll("if: fields",function(e,t){return{if:function(){return e.$data.fields}}}),Ll("if: $data.parameters",function(e,t){return{if:function(){return e.$data.parameters}}}),Ll("if: hasItems",function(e,t){return{if:function(){return e.$data.hasItems}}}),Ll("ifnot: hasItems",function(e,t){return{ifnot:function(){return e.$data.hasItems}}}),Ll("template: { name: 'dx-treelist-item-text-content' }",function(e,t){return{template:function(){return{name:"dx-treelist-item-text-content"}}}}),Ll("attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, text: $data.displayName || $data.text, css: { 'dx-expressioneditor-state-selected dxd-state-selected': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }",function(e,t){return{attr:function(){return{class:"dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted "+(e.$data.class?e.$data.class:"")}},text:function(){return e.$data.displayName||e.$data.text},css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem()===e.$data}},dxclick:function(){return function(){e.$parent.selectedItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}}}}),Ll("dxTextBox: { value: textToSearch, showClearButton: true, valueChangeEvent: 'keyup', placeholder: $parents[2].searchPlaceholder() }",function(e,t){return{dxTextBox:function(){return{value:e.$data.textToSearch,showClearButton:!0,valueChangeEvent:"keyup",placeholder:e.$parents[2].searchPlaceholder()}}}}),Ll("css: { 'dx-expressioneditor-state-selected dxd-state-selected': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }, searchHighlighting: { text: $data.displayName || $data.text, textToSearch: $parent.textToSearch }",function(e,t){return{css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem()===e.$data}},dxclick:function(){return function(){e.$parent.selectedItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}},searchHighlighting:function(){return{text:e.$data.displayName||e.$data.text,textToSearch:e.$parent.textToSearch}}}}),Ll("with: content",function(e,t){return{with:function(){return e.$data.content}}}),Ll("template: $data",function(e,t){return{template:function(){return e.$data}}}),Ll("foreach: availableItems",function(e,t){return{foreach:function(){return e.$data.availableItems}}}),Ll("dxAILoadingPanel: aiFilterGenerator.getLoadPanelOptions($element)",function(e,t){return{dxAILoadingPanel:function(){return e.$data.aiFilterGenerator.getLoadPanelOptions(t)}}}),Ll("css: { 'advanced': advancedMode }",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}}}}),Ll("css: { 'advanced': advancedMode }, visible: textVisible",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}},visible:function(){return e.$data.textVisible}}}),Ll("css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }",function(e,t){return{css:function(){return e.$data.getTextCssClasses()},style:function(){return{height:e.$data.textContentHeightPerc}}}}),Ll("dxCheckBox: { value: advancedMode, text: advancedModeText }, style: $data.getCheckBoxStyles()",function(e,t){return{dxCheckBox:function(){return{value:e.$data.advancedMode,text:e.$data.advancedModeText}},style:function(){return e.$data.getCheckBoxStyles()}}}),Ll("style: $data.getContentStyles()",function(e,t){return{style:function(){return e.$data.getContentStyles()}}}),Ll("visible: $data.options().disabled()",function(e,t){return{visible:function(){return e.$data.options().disabled()}}}),Ll("dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }",function(e,t){return{dxTextArea:function(){return{value:e.$data.displayValue,isValid:e.$data.isValid,onInput:e.$data.onInput,spellcheck:!1}},cacheElement:function(){return{action:function(t){e.$data.cacheElement(t)}}}}}),Ll("css: {'dx-invalid': !$data.isValid(), 'dx-state-focused': textFocused }",function(e,t){return{css:function(){return{"dx-invalid":!e.$data.isValid(),"dx-state-focused":e.$data.textFocused}}}}),Ll("dxAceEditor: { value: $data.displayValue, theme: helper.aceTheme, editorContainer: editorContainer, options: aceOptions, additionalOptions: additionalOptions }",function(e,t){return{dxAceEditor:function(){return{value:e.$data.displayValue,theme:e.$data.helper.aceTheme,editorContainer:e.$data.editorContainer,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions}}}}),Ll("dxScrollView: { showScrollbar: 'onHover', direction: 'both' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",direction:"both"}}}}),Ll("dxclick: function() { $data.advancedMode(true); }",function(e,t){return{dxclick:function(){return function(){e.$data.advancedMode(!0)}}}}),Ll("text: invalidMessage()",function(e,t){return{text:function(){return e.$data.invalidMessage()}}}),Ll("if: !!aiFilterGenerator",function(e,t){return{if:function(){return!!e.$data.aiFilterGenerator}}}),Ll("template: { name: 'dx-ai-expression-generator', data: aiFilterGenerator }",function(e,t){return{template:function(){return{name:"dx-ai-expression-generator",data:e.$data.aiFilterGenerator}}}}),Ll("template: 'dx-filtereditor-content-tree'",function(e,t){return{template:function(){return"dx-filtereditor-content-tree"}}}),Ll("template: 'dx-filtereditor-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-content-text"}}}),Ll("if: $data.advancedModeTop()",function(e,t){return{if:function(){return e.$data.advancedModeTop()}}}),Ll("template: 'dx-filtereditor-plain-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-plain-content-text"}}}),Ll("ifnot: $data.advancedModeTop()",function(e,t){return{ifnot:function(){return e.$data.advancedModeTop()}}}),Ll("with: operandSurface",function(e,t){return{with:function(){return e.$data.operandSurface}}}),Ll("template: { name: $data.templateName, data: $data, if: $parent.isSurfaceValid }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data,if:e.$parent.isSurfaceValid}}}}),Ll("ifnot: isSurfaceValid",function(e,t){return{ifnot:function(){return e.$data.isSurfaceValid}}}),Ll("dxEllipsisEditor: { value: modelDisplayValue, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { popupVisible(true); }, inputAttr: { id: editorInputId } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.modelDisplayValue,isValid:e.$data.modelValueIsValid,disabled:e.$data.disabled,buttonAction:function(){e.$data.popupVisible(!0)},inputAttr:{id:e.$data.editorInputId}}}}}),Ll("dxEditorPopupTemplate: { data: $data, templateName: 'dx-filtereditor-popup' }",function(e,t){return{dxEditorPopupTemplate:function(){return{data:e.$data,templateName:"dx-filtereditor-popup"}}}}),Ll("style: { pointerEvents: $data.options().disabled() ? 'none' : '' }",function(e,t){return{style:function(){return{pointerEvents:e.$data.options().disabled()?"none":""}}}}),Ll("template: 'dx-filtereditor-content'",function(e,t){return{template:function(){return"dx-filtereditor-content"}}}),Ll("template: 'dx-filtereditor-content-popups'",function(e,t){return{template:function(){return"dx-filtereditor-content-popups"}}}),Ll("template: 'dx-filtereditor-content-plain'",function(e,t){return{template:function(){return"dx-filtereditor-content-plain"}}}),Ll("service: { name: 'createChangeType' }",function(e,t){return{service:function(){return{name:"createChangeType"}}}}),Ll("dxclick: function() { $data.remove && $data.remove(); }",function(e,t){return{dxclick:function(){return function(){e.$data.remove&&e.$data.remove()}}}}),Ll("visible: !!$data.canRemove",function(e,t){return{visible:function(){return!!e.$data.canRemove}}}),Ll("with: property",function(e,t){return{with:function(){return e.$data.property}}}),Ll("template: { name: templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),Ll("if: $data.aggregatedExpression()",function(e,t){return{if:function(){return e.$data.aggregatedExpression()}}}),Ll("with: aggregatedExpression",function(e,t){return{with:function(){return e.$data.aggregatedExpression}}}),Ll("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),Ll("template: { name: 'dx-filtereditor-aggregate-common' }",function(e,t){return{template:function(){return{name:"dx-filtereditor-aggregate-common"}}}}),Ll("with: condition",function(e,t){return{with:function(){return e.$data.condition}}}),Ll("with: begin",function(e,t){return{with:function(){return e.$data.begin}}}),Ll("with: end",function(e,t){return{with:function(){return e.$data.end}}}),Ll("with: leftOperand",function(e,t){return{with:function(){return e.$data.leftOperand}}}),Ll("with: rightOperand",function(e,t){return{with:function(){return e.$data.rightOperand}}}),Ll("if: $data.leftPart && $data.leftPart.condition",function(e,t){return{if:function(){return e.$data.leftPart&&e.$data.leftPart.condition}}}),Ll("with: leftPart",function(e,t){return{with:function(){return e.$data.leftPart}}}),Ll("css: css",function(e,t){return{css:function(){return e.$data.css}}}),Ll("text: displayType",function(e,t){return{text:function(){return e.$data.displayType}}}),Ll("service: { name: 'createChangeValueType' }",function(e,t){return{service:function(){return{name:"createChangeValueType"}}}}),Ll("template: { name: $data.leftPart.templateName, data: $data.leftPart }",function(e,t){return{template:function(){return{name:e.$data.leftPart.templateName,data:e.$data.leftPart}}}}),Ll("foreach: rightPart",function(e,t){return{foreach:function(){return e.$data.rightPart}}}),Ll("template: { name: $data.templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),Ll("service: { name: 'createAddButton' }",function(e,t){return{service:function(){return{name:"createAddButton"}}}}),Ll("foreach: operands",function(e,t){return{foreach:function(){return e.$data.operands}}}),Ll("dxclick: addValue",function(e,t){return{dxclick:function(){return e.$data.addValue}}}),Ll("with: criteriaOperator",function(e,t){return{with:function(){return e.$data.criteriaOperator}}}),Ll("if: $data.operands().length > 1",function(e,t){return{if:function(){return e.$data.operands().length>1}}}),Ll("foreach: $data.operands()",function(e,t){return{foreach:function(){return e.$data.operands()}}}),Ll("if: $data.operands().length == 1",function(e,t){return{if:function(){return 1==e.$data.operands().length}}}),Ll("template: { name: $data.operands()[0].templateName, data: $data.operands()[0] }",function(e,t){return{template:function(){return{name:e.$data.operands()[0].templateName,data:e.$data.operands()[0]}}}}),Ll("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),Ll("service: { name: 'createChangeParameter' }",function(e,t){return{service:function(){return{name:"createChangeParameter"}}}}),Ll("if: $data.canChange",function(e,t){return{if:function(){return e.$data.canChange}}}),Ll("service: { name: 'createChangeProperty' }",function(e,t){return{service:function(){return{name:"createChangeProperty"}}}}),Ll("if: $data.operand().reverse",function(e,t){return{if:function(){return e.$data.operand().reverse}}}),Ll("template: {name: $data.operand().templateName, data: $data.operand() }",function(e,t){return{template:function(){return{name:e.$data.operand().templateName,data:e.$data.operand()}}}}),Ll("ifnot: $data.operand().reverse",function(e,t){return{ifnot:function(){return e.$data.operand().reverse}}}),Ll("with: operand",function(e,t){return{with:function(){return e.$data.operand}}}),Ll("visible: isEditable",function(e,t){return{visible:function(){return e.$data.isEditable}}}),Ll("dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getStringEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),Ll("focus: isEditable, dxLocalizedSelectBox: getBoolEditorOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxLocalizedSelectBox:function(){return e.$data.getBoolEditorOptions(t,e.$root)}}}),Ll("focus: isEditable, dxDateBox: getDateEditorOptions($element, $root, $data.specifics())",function(e,t){return{focus:function(){return e.$data.isEditable},dxDateBox:function(){return e.$data.getDateEditorOptions(t,e.$root,e.$data.specifics())}}}),Ll("dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getNumberEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),Ll("focus: isEditable, dxSelectBox: getListEditOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxSelectBox:function(){return e.$data.getListEditOptions(t,e.$root)}}}),Ll("focus: isEditable, dxSelectBox: getEnumEditOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxSelectBox:function(){return e.$data.getEnumEditOptions(t,e.$root)}}}),Ll("visible: !isEditable()",function(e,t){return{visible:function(){return!e.$data.isEditable()}}}),Ll("text: value, click: function() { isEditable(true); }, css: { 'default': $data.isDefaultDisplay() }",function(e,t){return{text:function(){return e.$data.value},click:function(){return function(){e.$data.isEditable(!0)}},css:function(){return{default:e.$data.isDefaultDisplay()}}}}),Ll("if: $data.items.length === 0",function(e,t){return{if:function(){return 0===e.$data.items.length}}}),Ll('if: $data.specifics() === "string" || $data.specifics() === "guid"',function(e,t){return{if:function(){return"string"===e.$data.specifics()||"guid"===e.$data.specifics()}}}),Ll('if: $data.specifics() === "bool"',function(e,t){return{if:function(){return"bool"===e.$data.specifics()}}}),Ll('if: $data.specifics() === "date" || $data.specifics() === "time" || $data.specifics() === "datetime"',function(e,t){return{if:function(){return"date"===e.$data.specifics()||"time"===e.$data.specifics()||"datetime"===e.$data.specifics()}}}),Ll('if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" && $data.specifics() !== "time" && $data.specifics() !== "datetime"',function(e,t){return{if:function(){return"string"!==e.$data.specifics()&&"bool"!==e.$data.specifics()&&"date"!==e.$data.specifics()&&"guid"!==e.$data.specifics()&&"time"!==e.$data.specifics()&&"datetime"!==e.$data.specifics()}}}),Ll("if: $data.items.length > 0",function(e,t){return{if:function(){return e.$data.items.length>0}}}),Ll('if: $data.specifics() !== "enum"',function(e,t){return{if:function(){return"enum"!==e.$data.specifics()}}}),Ll('if: $data.specifics() === "enum"',function(e,t){return{if:function(){return"enum"===e.$data.specifics()}}}),Ll("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, onHidden: onHiddenHandler, hideOnParentScroll: false, title: options() && options().title(), visible: popupVisible(), onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }",function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-filtereditor dx-popup-general"},resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()},width:700,height:500,maxHeight:"95%",maxWidth:"95%",minHeight:300,minWidth:400,onHidden:e.$data.onHiddenHandler,hideOnParentScroll:!1,title:e.$data.options()&&e.$data.options().title(),visible:e.$data.popupVisible(),onShown:function(){e.$data.focusText()},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)}}}}}),Ll("dxclick: showPopup",function(e,t){return{dxclick:function(){return e.$data.showPopup}}}),Ll("text: target.displayType, dxclick: showPopup, css: target.css",function(e,t){return{text:function(){return e.$data.target.displayType},dxclick:function(){return e.$data.showPopup},css:function(){return e.$data.target.css}}}),Ll("text: target.parameterName(), dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",function(e,t){return{text:function(){return e.$data.target.parameterName()},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}}),Ll("text: target.displayName, dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",function(e,t){return{text:function(){return e.$data.target.displayName},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}}),Ll("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),Ll("dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",function(e,t){return{dxPopupWithAutoHeight:function(){return{minWidth:"170px",maxWidth:"500px",width:"auto",height:"300px",wrapperAttr:{class:"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay"},focusStateEnabled:!1,position:e.$data.rtl?{my:"right top",at:"right bottom",of:e.$data.popupService.target}:{my:"left top",at:"left bottom",of:e.$data.popupService.target},container:e.$data.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}}),Ll("dxTextBox: { placeholder: searchPlaceholder(), value: ($data.value || $data.filterString), height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }",function(e,t){return{dxTextBox:function(){return{placeholder:e.$data.searchPlaceholder(),value:e.$data.value||e.$data.filterString,height:"100%",width:"100%",stylingMode:"underlined",valueChangeEvent:"keyup"}}}}),Ll("template: { name: 'dx-filtereditor-search-panel', data: $data }",function(e,t){return{template:function(){return{name:"dx-filtereditor-search-panel",data:e.$data}}}}),Ll("dxScrollView: { showScrollbar: 'onHover' }, css: { 'dx-filtereditor-filtered': isFiltered }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},css:function(){return{"dx-filtereditor-filtered":e.$data.isFiltered}}}}),Ll("text: $data.displayText || $data.name, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",function(e,t){return{text:function(){return e.$data.displayText||e.$data.name},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}}),Ll("searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.filterString }, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayText||e.$data.name,textToSearch:e.$parent.filterString}},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}}),Ll("treeListSearchPanel: { controllers: data().treeListController, template: 'dx-filtereditor-search-panel' }",function(e,t){return{treeListSearchPanel:function(){return{controllers:e.$data.data().treeListController,template:"dx-filtereditor-search-panel"}}}}),Ll("treelist: data",function(e,t){return{treelist:function(){return e.$data.data}}}),Ll("with: popupService",function(e,t){return{with:function(){return e.$data.popupService}}}),Ll("with: data",function(e,t){return{with:function(){return e.$data.data}}}),Ll("template: template",function(e,t){return{template:function(){return e.$data.template}}}),Ll("if: $data.isFiltered",function(e,t){return{if:function(){return e.$data.isFiltered}}}),Ll("foreach: data",function(e,t){return{foreach:function(){return e.$data.data}}}),Ll("if: !$data.hidden",function(e,t){return{if:function(){return!e.$data.hidden}}}),Ll("ifnot: $parent.isFiltered",function(e,t){return{ifnot:function(){return e.$parent.isFiltered}}}),Ll("if: $parent.isFiltered",function(e,t){return{if:function(){return e.$parent.isFiltered}}}),Ll("dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: 'single', activeStateEnabled: false }",function(e,t){return{dxList:function(){return{items:e.$data.items,selectedItems:e.$data.selectedItems,onItemClick:e.$data.action,selectionMode:"single",activeStateEnabled:!1}}}}),Ll("click: $parent.removeItem, visible: $data.canRemove",function(e,t){return{click:function(){return e.$parent.removeItem},visible:function(){return e.$data.canRemove}}}),Ll("text: $data.displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),Ll("text: getDisplayText('types')",function(e,t){return{text:function(){return e.$data.getDisplayText("types")}}}),Ll("dxButton:{ onClick: addCustomFormat, text: getDisplayText('add'), disabled: !canAddCustomFormat() }",function(e,t){return{dxButton:function(){return{onClick:e.$data.addCustomFormat,text:e.$data.getDisplayText("add"),disabled:!e.$data.canAddCustomFormat()}}}}),Ll("dxTextBox: { value: formatResult, onInput: function(e) { updateInputText('formatResult', e.component); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.formatResult,onInput:function(t){e.$data.updateInputText("formatResult",t.component)}}}}}),Ll("text: getDisplayText('prefix')",function(e,t){return{text:function(){return e.$data.getDisplayText("prefix")}}}),Ll("dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText('formatPrefix', e.component); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.formatPrefix,onInput:function(t){e.$data.updateInputText("formatPrefix",t.component)}}}}}),Ll("text: getDisplayText('suffix')",function(e,t){return{text:function(){return e.$data.getDisplayText("suffix")}}}),Ll("dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText('formatSuffix', e.component); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.formatSuffix,onInput:function(t){e.$data.updateInputText("formatSuffix",t.component)}}}}}),Ll("template: { name: 'dx-format-string-list', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } }",function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.patternList,action:e.$data.setFormat,removeItem:e.$data.removeCustomFormat,selectedItems:e.$data.selectedFormats}}}}}),Ll("dxEllipsisEditor: { value: value, disabled: disabled, buttonAction: function() { popupVisible(true); } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled,buttonAction:function(){e.$data.popupVisible(!0)}}}}}),Ll("dxEditorPopupTemplate: { data: $data, templateName: 'dx-formatstring-popup-template' }",function(e,t){return{dxEditorPopupTemplate:function(){return{data:e.$data,templateName:"dx-formatstring-popup-template"}}}}),Ll("dxPopup: { wrapperAttr: { class: 'dx-format-string dx-popup-general' }, showTitle: true, width: '95%', height: '95%', minWidth: 650, title: getDisplayText('title'), visible: popupVisible(), toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) }, onHidden: onHiddenHandler, hideOnParentScroll: false, }",function(e,t){return{dxPopup:function(){return{wrapperAttr:{class:"dx-format-string dx-popup-general"},showTitle:!0,width:"95%",height:"95%",minWidth:650,title:e.$data.getDisplayText("title"),visible:e.$data.popupVisible(),toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)},onHidden:e.$data.onHiddenHandler,hideOnParentScroll:!1}}}}),Ll("text: getDisplayText('category')",function(e,t){return{text:function(){return e.$data.getDisplayText("category")}}}),Ll("css: { 'dx-format-general': isGeneralType }",function(e,t){return{css:function(){return{"dx-format-general":e.$data.isGeneralType}}}}),Ll("text: getDisplayText('preview')",function(e,t){return{text:function(){return e.$data.getDisplayText("preview")}}}),Ll("text: previewString",function(e,t){return{text:function(){return e.$data.previewString}}}),Ll("template: { name: 'dx-format-string-list', data: { items: types, action: setType, selectedItems: selectedTypes } }",function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.types,action:e.$data.setType,selectedItems:e.$data.selectedTypes}}}}}),Ll("if: !isGeneralType",function(e,t){return{if:function(){return!e.$data.isGeneralType}}}),Ll("template: 'dx-format-string-edit-area'",function(e,t){return{template:function(){return"dx-format-string-edit-area"}}}),Ll("if: isGeneralType",function(e,t){return{if:function(){return e.$data.isGeneralType}}}),Ll("template: 'dx-format-string-edit-area-general'",function(e,t){return{template:function(){return"dx-format-string-edit-area-general"}}}),Ll("dxButtonWithTemplate: { onClick: function() { clickAction($parent); }, icon: ko.unwrap($data.imageTemplateName), iconClass: $data.imageClassName, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible), disabled: $data.disabled && $data.disabled() }, attr: { title: $data.displayText && $data.displayText() || text }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:function(){e.$data.clickAction(e.$parent)},icon:e.ko.unwrap(e.$data.imageTemplateName),iconClass:e.$data.imageClassName,visible:null==e.ko.unwrap(e.$data.visible)||e.ko.unwrap(e.$data.visible),disabled:e.$data.disabled&&e.$data.disabled()}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),Ll("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: $parent.reverseCollapsed }, visible: $parent.hasContent, attr: { title: $data.displayText() }",function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",onClick:e.$parent.reverseCollapsed}},visible:function(){return e.$parent.hasContent},attr:function(){return{title:e.$data.displayText()}}}}),Ll("if: $data.templateName && (ko.unwrap($root.canAddItems) || $root.canAddItems === undefined)",function(e,t){return{if:function(){return e.$data.templateName&&(e.ko.unwrap(e.$root.canAddItems)||void 0===e.$root.canAddItems)}}}),Ll("if: !$data.templateName && (ko.unwrap($root.canAddItems) || canAddItems)",function(e,t){return{if:function(){return!e.$data.templateName&&(e.ko.unwrap(e.$root.canAddItems)||e.$data.canAddItems)}}}),Ll("template: { name: 'dx-treelist-edit-action', data: treeListEditAction }",function(e,t){return{template:function(){return{name:"dx-treelist-edit-action",data:e.$data.treeListEditAction}}}}),Ll("template: 'dx-treelist-item-actions'",function(e,t){return{template:function(){return"dx-treelist-item-actions"}}}),Ll("styleunit: padding, click: events.click",function(e,t){return{styleunit:function(){return e.$data.padding},click:function(){return e.$data.events.click}}}),Ll("dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }",function(e,t){return{dxdAccordionExt:function(){return{collapsed:e.$data.collapsed,lazyContentRendering:!0,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}}),Ll("visible: isSelected || isHovered, click: function(s, e) { e.stopPropagation(); }",function(e,t){return{visible:function(){return e.$data.isSelected||e.$data.isHovered},click:function(){return function(e,t){t.stopPropagation()}}}}),Ll("event: events, click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, styleunit: padding, draggable: isDraggable ? dragDropHandler : null, css: cssRules, attr: attr",function(e,t){return{event:function(){return e.$data.events},click:function(){return function(t,i){e.$root.hideContextMenu&&e.$root.hideContextMenu(),e.$data.toggleSelected(t,i)}},styleunit:function(){return e.$data.padding},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null},css:function(){return e.$data.cssRules},attr:function(){return e.$data.attr}}}),Ll("style: { 'padding-left': hasItems ? '0px': '18px' }",function(e,t){return{style:function(){return{"padding-left":e.$data.hasItems?"0px":"18px"}}}}),Ll("searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.text,textToSearch:e.$data.searchModel.textToSearch,searchOptions:e.$data.searchModel.searchOptions}},attr:function(){return{title:e.$data.text}}}}),Ll("dxLoadIndicator: { visible: true, width: 16, height: 16 }",function(e,t){return{dxLoadIndicator:function(){return{visible:!0,width:16,height:16}}}}),Ll("css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},attr:function(){return{title:e.$data.text}}}}),Ll("if: searchModel.searchEnabled",function(e,t){return{if:function(){return e.$data.searchModel.searchEnabled}}}),Ll("ifnot: searchModel.searchEnabled",function(e,t){return{ifnot:function(){return e.$data.searchModel.searchEnabled}}}),Ll("if: hasContent",function(e,t){return{if:function(){return e.$data.hasContent}}}),Ll("template: templates.accordionItem",function(e,t){return{template:function(){return e.$data.templates.accordionItem}}}),Ll("ifnot: hasContent",function(e,t){return{ifnot:function(){return e.$data.hasContent}}}),Ll("template: templates.headerItem",function(e,t){return{template:function(){return e.$data.templates.headerItem}}}),Ll("template: { name: contenttemplate }",function(e,t){return{template:function(){return{name:e.$data.contenttemplate}}}}),Ll("template: actionsTemplate",function(e,t){return{template:function(){return e.$data.actionsTemplate}}}),Ll("if: actions && actions.length > 0",function(e,t){return{if:function(){return e.$data.actions&&e.$data.actions.length>0}}}),Ll("template: templates.actionsContainer",function(e,t){return{template:function(){return e.$data.templates.actionsContainer}}}),Ll("template: templates.headerItemContent",function(e,t){return{template:function(){return e.$data.templates.headerItemContent}}}),Ll("if: isLoading && data && data.specifics === 'ListSource'",function(e,t){return{if:function(){return e.$data.isLoading&&e.$data.data&&"ListSource"===e.$data.data.specifics}}}),Ll("ifnot: isLoading && data && data.specifics === 'ListSource'",function(e,t){return{ifnot:function(){return e.$data.isLoading&&e.$data.data&&"ListSource"===e.$data.data.specifics}}}),Ll("template: templates.itemTextContent",function(e,t){return{template:function(){return e.$data.templates.itemTextContent}}}),Ll("event: events, click: toggleSelected, draggable: isDraggable ? dragDropHandler : null, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected dxd-back-secondary': isSelected || isMultiSelected }",function(e,t){return{event:function(){return e.$data.events},click:function(){return e.$data.toggleSelected},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected dxd-back-secondary":e.$data.isSelected||e.$data.isMultiSelected}}}}),Ll("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed, style: { 'visibility': hasItems ? 'visible' : 'hidden' }",function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed},style:function(){return{visibility:e.$data.hasItems?"visible":"hidden"}}}}),Ll('template: "dx-treelist-accordion-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-accordion-item-with-hover"}}}),Ll('template: "dx-treelist-header-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-header-item-with-hover"}}}),Ll("dxTextBox: { mode: 'search', value:value, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}",function(e,t){return{dxTextBox:function(){return{mode:"search",value:e.$data.value,valueChangeEvent:"keyup",showClearButton:!0,placeholder:e.$data.searchPlaceholder()}}}}),Ll("lazy: { resolver: resolver, innerBindings: { template: templateName } }",function(e,t){return{lazy:function(){return{resolver:e.$data.resolver,innerBindings:{template:e.$data.templateName}}}}}),Ll("if: !collapsed",function(e,t){return{if:function(){return!e.$data.collapsed}}}),Ll("template: { name: 'dx-treelist' }",function(e,t){return{template:function(){return{name:"dx-treelist"}}}}),Ll("template: 'dxrd-svg-collapsed'",function(e,t){return{template:function(){return"dxrd-svg-collapsed"}}}),Ll("template: 'dxrd-svg-ellipsis'",function(e,t){return{template:function(){return"dxrd-svg-ellipsis"}}}),Ll("template: 'dxrd-svg-error'",function(e,t){return{template:function(){return"dxrd-svg-error"}}}),Ll("template: 'dxrd-svg-expressioneditor-addition'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-addition"}}}),Ll("template: 'dxrd-svg-expressioneditor-and'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-and"}}}),Ll("template: 'dxrd-svg-expressioneditor-division'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-division"}}}),Ll("template: 'dxrd-svg-expressioneditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-edit"}}}),Ll("template: 'dxrd-svg-expressioneditor-equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-equal"}}}),Ll("template: 'dxrd-svg-expressioneditor-greater'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater"}}}),Ll("template: 'dxrd-svg-expressioneditor-greater_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater_or_equal"}}}),Ll("template: 'dxrd-svg-expressioneditor-less'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less"}}}),Ll("template: 'dxrd-svg-expressioneditor-less_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less_or_equal"}}}),Ll("template: 'dxrd-svg-expressioneditor-modulus'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-modulus"}}}),Ll("template: 'dxrd-svg-expressioneditor-multiplication'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-multiplication"}}}),Ll("template: 'dxrd-svg-expressioneditor-not'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not"}}}),Ll("template: 'dxrd-svg-expressioneditor-not_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not_equal"}}}),Ll("template: 'dxrd-svg-expressioneditor-or'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-or"}}}),Ll("template: 'dxrd-svg-expressioneditor-parenthesis'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-parenthesis"}}}),Ll("template: 'dxrd-svg-expressioneditor-subtraction'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-subtraction"}}}),Ll("template: 'dxrd-svg-fieldlist-array'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-array"}}}),Ll("template: 'dxrd-svg-fieldlist-bitearray'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bitearray"}}}),Ll("template: 'dxrd-svg-fieldlist-bool'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bool"}}}),Ll("template: 'dxrd-svg-fieldlist-booleanfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-booleanfield"}}}),Ll("template: 'dxrd-svg-fieldlist-column'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-column"}}}),Ll("template: 'dxrd-svg-fieldlist-datasource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datasource"}}}),Ll("template: 'dxrd-svg-fieldlist-date'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-date"}}}),Ll("template: 'dxrd-svg-fieldlist-datetime'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetime"}}}),Ll("template: 'dxrd-svg-fieldlist-datetimefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetimefield"}}}),Ll("template: 'dxrd-svg-fieldlist-doublefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-doublefield"}}}),Ll("template: 'dxrd-svg-fieldlist-enum'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-enum"}}}),Ll("template: 'dxrd-svg-fieldlist-float'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-float"}}}),Ll("template: 'dxrd-svg-fieldlist-guid'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-guid"}}}),Ll("template: 'dxrd-svg-fieldlist-integer'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integer"}}}),Ll("template: 'dxrd-svg-fieldlist-integerfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integerfield"}}}),Ll("template: 'dxrd-svg-fieldlist-listsource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-listsource"}}}),Ll("template: 'dxrd-svg-fieldlist-none'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-none"}}}),Ll("template: 'dxrd-svg-fieldlist-parameters'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-parameters"}}}),Ll("template: 'dxrd-svg-fieldlist-range'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-range"}}}),Ll("template: 'dxrd-svg-fieldlist-string'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-string"}}}),Ll("template: 'dxrd-svg-fieldlist-stringfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-stringfield"}}}),Ll("template: 'dxrd-svg-fieldlist-table'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-table"}}}),Ll("template: 'dxrd-svg-fieldlist-time'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-time"}}}),Ll("template: 'dxrd-svg-fieldlist-view'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-view"}}}),Ll("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),Ll("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),Ll("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),Ll("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),Ll("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),Ll("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),Ll("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),Ll("template: 'dxrd-svg-menu-menu'",function(e,t){return{template:function(){return"dxrd-svg-menu-menu"}}}),Ll("template: 'dxrd-svg-menu-open'",function(e,t){return{template:function(){return"dxrd-svg-menu-open"}}}),Ll("template: 'dxrd-svg-menu-save'",function(e,t){return{template:function(){return"dxrd-svg-menu-save"}}}),Ll("template: 'dxrd-svg-menu-saveas'",function(e,t){return{template:function(){return"dxrd-svg-menu-saveas"}}}),Ll("template: 'dxrd-svg-operations-add'",function(e,t){return{template:function(){return"dxrd-svg-operations-add"}}}),Ll("template: 'dxrd-svg-operations-add_calcfield'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_calcfield"}}}),Ll("template: 'dxrd-svg-operations-add_datasource'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_datasource"}}}),Ll("template: 'dxrd-svg-operations-add_query'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_query"}}}),Ll("template: 'dxrd-svg-operations-ai'",function(e,t){return{template:function(){return"dxrd-svg-operations-ai"}}}),Ll("template: 'dxrd-svg-operations-arrowdown'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowdown"}}}),Ll("template: 'dxrd-svg-operations-arrowup'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowup"}}}),Ll("template: 'dxrd-svg-operations-ascending'",function(e,t){return{template:function(){return"dxrd-svg-operations-ascending"}}}),Ll("template: 'dxrd-svg-operations-descending'",function(e,t){return{template:function(){return"dxrd-svg-operations-descending"}}}),Ll("template: 'dxrd-svg-operations-edit'",function(e,t){return{template:function(){return"dxrd-svg-operations-edit"}}}),Ll("template: 'dxrd-svg-operations-editCriteria'",function(e,t){return{template:function(){return"dxrd-svg-operations-editCriteria"}}}),Ll("template: 'dxrd-svg-operations-movedown'",function(e,t){return{template:function(){return"dxrd-svg-operations-movedown"}}}),Ll("template: 'dxrd-svg-operations-moveleft'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft"}}}),Ll("template: 'dxrd-svg-operations-moveleft_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft_all"}}}),Ll("template: 'dxrd-svg-operations-moveright'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright"}}}),Ll("template: 'dxrd-svg-operations-moveright_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright_all"}}}),Ll("template: 'dxrd-svg-operations-moveup'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveup"}}}),Ll("template: 'dxrd-svg-operations-rebuild_schema'",function(e,t){return{template:function(){return"dxrd-svg-operations-rebuild_schema"}}}),Ll("template: 'dxrd-svg-operations-recycle_bin'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin"}}}),Ll("template: 'dxrd-svg-operations-recycle_bin_xl'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin_xl"}}}),Ll("template: 'dxrd-svg-operations-remove'",function(e,t){return{template:function(){return"dxrd-svg-operations-remove"}}}),Ll("template: 'dxrd-svg-operations-rename'",function(e,t){return{template:function(){return"dxrd-svg-operations-rename"}}}),Ll("template: 'dxrd-svg-operations-unsorted'",function(e,t){return{template:function(){return"dxrd-svg-operations-unsorted"}}}),Ll("template: 'dxrd-svg-properties-borders-all'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"}}}),Ll("template: 'dxrd-svg-properties-borders-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"}}}),Ll("template: 'dxrd-svg-properties-borders-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"}}}),Ll("template: 'dxrd-svg-properties-borders-none'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"}}}),Ll("template: 'dxrd-svg-properties-borders-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"}}}),Ll("template: 'dxrd-svg-properties-borders-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"}}}),Ll("template: 'dxrd-svg-properties-propertiesmenu'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertiesmenu"}}}),Ll("template: 'dxrd-svg-properties-propertyexpression'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertyexpression"}}}),Ll("template: 'dxrd-svg-properties-search'",function(e,t){return{template:function(){return"dxrd-svg-properties-search"}}}),Ll("template: 'dxrd-svg-properties-sortingbyalphabet'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbyalphabet"}}}),Ll("template: 'dxrd-svg-properties-sortingbygroups'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbygroups"}}}),Ll("template: 'dxrd-svg-properties-tasksmarttag'",function(e,t){return{template:function(){return"dxrd-svg-properties-tasksmarttag"}}}),Ll("template: 'dxrd-svg-properties-textAlignment-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"}}}),Ll("template: 'dxrd-svg-properties-textAlignment-center'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"}}}),Ll("template: 'dxrd-svg-properties-textAlignment-justify'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"}}}),Ll("template: 'dxrd-svg-properties-textAlignment-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"}}}),Ll("template: 'dxrd-svg-properties-textAlignment-middle'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"}}}),Ll("template: 'dxrd-svg-properties-textAlignment-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"}}}),Ll("template: 'dxrd-svg-properties-textAlignment-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"}}}),Ll("template: 'dxrd-svg-queryBuilder-aggregate'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-aggregate"}}}),Ll("template: 'dxrd-svg-queryBuilder-data_preview'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-data_preview"}}}),Ll("template: 'dxrd-svg-queryBuilder-group_by'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-group_by"}}}),Ll("template: 'dxrd-svg-queryBuilder-select_statment'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-select_statment"}}}),Ll("template: 'dxrd-svg-queryBuilder-sorting_asc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_asc"}}}),Ll("template: 'dxrd-svg-queryBuilder-sorting_desc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_desc"}}}),Ll("template: 'dxrd-svg-tabs-description_info'",function(e,t){return{template:function(){return"dxrd-svg-tabs-description_info"}}}),Ll("template: 'dxrd-svg-tabs-properties'",function(e,t){return{template:function(){return"dxrd-svg-tabs-properties"}}}),Ll("template: 'dxrd-svg-toolbar-copy'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-copy"}}}),Ll("template: 'dxrd-svg-toolbar-cut'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-cut"}}}),Ll("template: 'dxrd-svg-toolbar-delete'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-delete"}}}),Ll("template: 'dxrd-svg-toolbar-paste'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-paste"}}}),Ll("template: 'dxrd-svg-toolbar-redo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-redo"}}}),Ll("template: 'dxrd-svg-toolbar-undo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-undo"}}}),Ll("template: 'dxrd-svg-toolbar-validate'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-validate"}}}),Ll("template: 'dxrd-svg-toolbar-zoomin'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomin"}}}),Ll("template: 'dxrd-svg-toolbar-zoomout'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomout"}}}),Ll("template: 'dxrd-svg-wizard-Download'",function(e,t){return{template:function(){return"dxrd-svg-wizard-Download"}}}),Ll("template: 'dxrd-svg-wizard-expressions'",function(e,t){return{template:function(){return"dxrd-svg-wizard-expressions"}}}),Ll("template: 'dxrd-svg-wizard-FederationDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-FederationDataSource"}}}),Ll("template: 'dxrd-svg-wizard-JsonDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-JsonDataSource"}}}),Ll("template: 'dxrd-svg-wizard-MongodbDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-MongodbDataSource"}}}),Ll("template: 'dxrd-svg-wizard-NoDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-NoDataSource"}}}),Ll("template: 'dxrd-svg-wizard-ObjectDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-ObjectDataSource"}}}),Ll("template: 'dxrd-svg-wizard-SqlDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-SqlDataSource"}}}),Zt.addTemplates({"dxrd-svg-collapsed":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 9 9" xml:space="preserve"><path class="dxd-icon-fill" d="m2 2 5 3-5 3z"/></svg>',"dxrd-svg-ellipsis":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="-467 277 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M-464 284h2v2h-2zM-460 284h2v2h-2zM-456 284h2v2h-2z"/></svg>',"dxrd-svg-error":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 64 64"><circle cx="32" cy="32" r="32" fill="#F05252"/><path fill="#FFF0F0" d="M18.733 22.27a2.502 2.502 0 0 1 3.538-3.537l22.996 22.996a2.502 2.502 0 0 1-3.538 3.538L18.733 22.271Z"/><path fill="#FFF0F0" d="M41.73 18.733a2.502 2.502 0 0 1 3.537 3.538L22.271 45.267a2.502 2.502 0 0 1-3.538-3.538l22.996-22.996Z"/></svg>',"dxrd-svg-expressioneditor-addition":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-expressioneditor-and":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-80" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/></svg>',"dxrd-svg-expressioneditor-division":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 10h20v4H2z"/><circle class="dxd-icon-fill" cx="12" cy="6" r="2"/><circle class="dxd-icon-fill" cx="12" cy="18" r="2"/></svg>',"dxrd-svg-expressioneditor-edit":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 8-6 6-6-6z"/></svg>',"dxrd-svg-expressioneditor-equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 6h16v4H4zM4 12h16v4H4z"/></svg>',"dxrd-svg-expressioneditor-greater":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v2l10 6-10 6v2l14-8z"/></svg>',"dxrd-svg-expressioneditor-greater_or_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 2v2l10 6-10 6v2l14-8zM4 22l14-8v-2L4 20z"/></svg>',"dxrd-svg-expressioneditor-less":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 4v2L8 12l10 6v2L4 12z"/></svg>',"dxrd-svg-expressioneditor-less_or_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 2v2L8 10l10 6v2L4 10zM18 22 4 14v-2l14 8z"/></svg>',"dxrd-svg-expressioneditor-modulus":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M16 4 2 20h4L20 4zM16 12c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM6 12c2.2 0 4-1.8 4-4S8.2 4 6 4 2 5.8 2 8s1.8 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"/></svg>',"dxrd-svg-expressioneditor-multiplication":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 6-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-80" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 0h-2l-3.8 6H4v4h7.6l-1.2 2H4v4h3.8L4 22h2l3.8-6H20v-4h-7.6l1.2-2H20V6h-3.8z"/></svg>',"dxrd-svg-expressioneditor-or":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-80" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zM15 16c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/></svg>',"dxrd-svg-expressioneditor-parenthesis":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 11c0 3.8 1.8 7.1 4 9h2c-2.2-1.9-4-5.2-4-9s1.8-7.1 4-9H6c-2.2 1.9-4 5.2-4 9zM16 2h-2c2.2 1.8 4 5.2 4 9s-1.8 7.2-4 9h2c2.2-1.8 4-5.2 4-9s-1.8-7.2-4-9z"/><path class="dxd-icon-fill" d="M6 10h2v2H6zM10 10h2v2h-2zM14 10h2v2h-2z"/></svg>',"dxrd-svg-expressioneditor-subtraction":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 10h16v4H4z"/></svg>',"dxrd-svg-fieldlist-array":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></svg>',"dxrd-svg-fieldlist-bitearray":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></svg>',"dxrd-svg-fieldlist-bool":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6 6 10.2 3.4 7.6 2 9l4 4 9-9z"/></svg>',"dxrd-svg-fieldlist-booleanfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6 6 10.2 3.4 7.6 2 9l4 4 9-9z"/></svg>',"dxrd-svg-fieldlist-column":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M1 6h14v4H1z"/><g class="dxd-opacity-50"><path class="dxd-icon-fill" d="M5 5H1V1h4v4zm5-4H6v4h4V1zm5 0h-4v4h4V1zM5 11H1v4h4v-4zm5 0H6v4h4v-4zm5 0h-4v4h4v-4z"/></g></svg>',"dxrd-svg-fieldlist-datasource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><g class="st1"><path class="dxd-icon-fill" d="M7.3 9V7H10V3c0-1.7-2-3-4.5-3S1 1.3 1 3v5c0 1.7 2 3 4.5 3 2 0 3.6-.8 4.2-2H7.3zm-4-6c0-.4.9-1 2.3-1s2.3.6 2.3 1-1 1-2.4 1-2.2-.6-2.2-1z"/></g><path class="dxd-icon-fill" d="M9.5 5C7 5 5 6.3 5 8v5c0 1.7 2 3 4.5 3s4.5-1.3 4.5-3V8c0-1.7-2-3-4.5-3zm0 4c-1.4 0-2.2-.6-2.2-1s.9-1 2.3-1 2.3.6 2.3 1-1 1-2.4 1z"/></svg>',"dxrd-svg-fieldlist-date":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M13 4H3v9h10V4ZM1 1v14h14V1h-2V0h-3v1H6V0H3v1H1Z"/><path class="dxd-icon-fill" d="M11 10.064H9.676V12H8.342v-1.936H5V9.18L8.496 5h1.18v4.031H11v1.033ZM8.342 6.827l-1.92 2.204h1.92V6.827Z"/></svg>',"dxrd-svg-fieldlist-datetime":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3 4h10v2l2 1V1h-2V0h-3v1H6V0H3v1H1v14h6l-1-2H3V4Z"/><path class="dxd-icon-fill" d="M11.5 7A4.472 4.472 0 0 0 7 11.5c0 2.507 1.993 4.5 4.5 4.5 2.507 0 4.5-1.993 4.5-4.5C16 8.993 14.007 7 11.5 7Zm0 7.714A3.183 3.183 0 0 1 8.286 11.5c0-1.8 1.414-3.214 3.214-3.214S14.714 9.7 14.714 11.5 13.3 14.714 11.5 14.714Zm1.929-3.214v.643h-2.572V9.57h.643V11.5h1.929Z"/></svg>',"dxrd-svg-fieldlist-datetimefield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm3-5v1H7V5h1v3h3z"/></svg>',"dxrd-svg-fieldlist-doublefield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></svg>',"dxrd-svg-fieldlist-enum":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M13 12H1c-.5 0-1 .5-1 1v8c0 .5.5 1 1 1h12c.5 0 1-.5 1-1v-8c0-.5-.5-1-1-1zm-1 8H2v-2h10v2zm0-4H2v-2h10v2zM23 4H11c-.5 0-1 .5-1 1v5h12v2h-6v2h7c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zm-1 4H12V6h10v2z" id="Enum"/></svg>',"dxrd-svg-fieldlist-float":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></svg>',"dxrd-svg-fieldlist-guid":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4.1 4.6c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .6.1.7.3.2.2.3.4.3.7 0 .3-.1.6-.3.8-.1.1-.4.2-.7.2-.3 0-.5-.1-.7-.3zm-.1 1h1.7V12H4V5.6zM13 3v9h-1.6v-.7c-.4.6-1 .8-1.8.8-.5 0-1-.1-1.5-.4-.4-.3-.8-.7-1-1.2-.2-.5-.3-1.1-.3-1.7 0-.7.1-1.2.4-1.7.2-.5.6-.9 1-1.2.4-.3.9-.4 1.5-.4.7 0 1.3.3 1.7.8V3H13zm-2 7.1c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5-.4 0-.8.2-1 .5-.3.3-.4.7-.4 1.3 0 .5.1 1 .4 1.3.3.3.6.5 1 .5.4-.1.8-.2 1.1-.5z"/></svg>',"dxrd-svg-fieldlist-integer":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></svg>',"dxrd-svg-fieldlist-integerfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></svg>',"dxrd-svg-fieldlist-listsource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 2C5.2 2 3 3.3 3 5v6c0 1.7 2.2 3 5 3s5-1.3 5-3V5c0-1.7-2.2-3-5-3zm0 4c-1.8 0-2.9-.8-3-1 .1-.2 1.2-1 3-1s2.9.8 3 1c-.1.2-1.2 1-3 1z"/></svg>',"dxrd-svg-fieldlist-none":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="m9.4 8 3.3-3.3c.4-.4.4-1 0-1.4s-1-.4-1.4 0L8 6.6 4.7 3.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4L6.6 8l-3.3 3.3c-.4.4-.4 1 0 1.4s1 .4 1.4 0L8 9.4l3.3 3.3c.4.4 1 .4 1.4 0s.4-1 0-1.4L9.4 8z"/></svg>',"dxrd-svg-fieldlist-parameters":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M7.2 8.3c.2-.3.5-.6.8-1l.7-.7c.1-.2.2-.4.2-.6 0-.3-.1-.6-.4-.8-.3-.2-.6-.3-1-.3s-.8.1-1.1.3c-.3.1-.6.3-.8.6L4 4.9c.4-.6.9-1.1 1.5-1.4.6-.3 1.3-.5 2.2-.5 1 0 1.8.2 2.4.7.6.4.9 1.1.9 1.9 0 .4-.1.7-.2 1-.1.3-.3.5-.4.7l-.7.7c-.3.3-.5.5-.7.8-.1.2-.2.4-.2.7h-2c.1-.5.2-.9.4-1.2zm-.3 4.3c-.2-.2-.4-.5-.4-.9s.1-.6.4-.9c.2-.2.5-.4.9-.4s.7.1.9.4c.2.2.4.5.4.9s-.1.7-.4.9c-.2.3-.5.4-.9.4-.3 0-.6-.1-.9-.4z"/></svg>',"dxrd-svg-fieldlist-range":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3 4v8h2v2H1V2h4v2H3zm10 0v8h-2v2h4V2h-4v2h2z"/></svg>',"dxrd-svg-fieldlist-string":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></svg>',"dxrd-svg-fieldlist-stringfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></svg>',"dxrd-svg-fieldlist-table":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M14 1H2c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V2c0-.5-.5-1-1-1zM9 3v2H7V3h2zm0 4v2H7V7h2zM3 3h2v2H3V3zm0 4h2v2H3V7zm0 6v-2h2v2H3zm4 0v-2h2v2H7zm6 0h-2v-2h2v2zm0-4h-2V7h2v2zm0-4h-2V3h2v2z"/></svg>',"dxrd-svg-fieldlist-time":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7Zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5Zm3-5v1H7V5h1v3h3Z"/></svg>',"dxrd-svg-fieldlist-view":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="m14.7 13.3-3.5-3.5C11.7 9 12 8 12 7c0-2.8-2.2-5-5-5S2 4.2 2 7s2.2 5 5 5c1 0 2-.3 2.8-.8l3.5 3.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM7 10c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/></svg>',"dxrd-svg-filtereditor-add":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-filter-editor-add-icon-fill-color" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-filtereditor-edit":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-filter-editor-text-color" d="M4 7h8l-4 4z"/></svg>',"dxrd-svg-filtereditor-remove":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-filter-editor-remove-icon-fill-color" d="m18 6-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-fontstyle-bold":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M14.4 10.8c1.1.3 1.9.7 2.5 1.3.8.8 1.1 1.8 1.1 3 0 .9-.2 1.8-.7 2.6-.5.8-1.2 1.4-2 1.8-.9.4-2.2.6-4 .6H4v-.5h.4c.7 0 1.1-.2 1.4-.7.2-.5.2-2 .2-3V6c0-1.1 0-2.6-.3-2.9-.3-.4-.7-.6-1.3-.6H4V2h6.6c1.3 0 2.3.1 3.1.3 1.2.3 2.1.9 2.7 1.7s.9 1.7.9 2.8c0 .9-.2 1.7-.7 2.4-.5.7-1.2 1.3-2.2 1.6zM8 10H10.6c1.1 0 2 0 2.6-.3.6-.3.9-.6 1.2-1.2.3-.6.5-1.2.5-1.9 0-1.1-.4-2-1.1-2.7S11.4 3 10 3H8v7zm0 8.9h3c1.4 0 2.5-.3 3.2-1s1.1-1.6 1.1-2.7c0-.7-.2-1.4-.5-2-.3-.6-.9-1.2-1.6-1.5-.8-.4-1.5-.7-2.7-.7H8v7.9z"/></svg>',"dxrd-svg-fontstyle-italic":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m14 21.5-.2.5H6l.2-.5c.8 0 1.3-.1 1.6-.2.4-.2.7-.4.9-.7.3-.5.5-1.3.8-2.5l2.4-12c.3-1.3.3-1.8.3-2.3 0-.3-.1-.5-.2-.6s-.3-.3-.6-.4c-.3-.1-.7-.1-1.5-.1l.3-.7H18l-.2.5c-.6 0-1.4.1-1.7.2-.4.2-.8.5-1 .8-.1.5-.5 1-.8 2.5L12 18.1c-.2 1.3-.3 1.7-.3 2.1 0 .2.1.5.2.6.1.2.3.3.6.4s.7.2 1.5.3z"/></svg>',"dxrd-svg-fontstyle-strikeout":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 12h-5.3c-.7-.4-1.7-.9-2.9-1.5-2.4-1.2-3.9-2.1-4.6-2.8-.4-.5-.7-1-.7-1.6 0-.8.3-1.4 1-2.1.6-.4.8-.7 2.1-.9.9-.1 1.9.2 2.8.7.9.4 1.6 1 2.1 1.8s.8 1.4 1 2.4h.5V2h-.5c-.1.4-.2.7-.4.9-.2.1-.4.2-.7.2-.2 0-.6-.1-1.2-.4-1.3-.5-2.5-.7-3.6-.7-1.8 0-3 .8-3.9 1.5C4.5 4.4 4 5.7 4 7c0 .8.2 1.5.6 2.2s1 1.3 1.7 1.8c.4.3.9.6 1.6 1H2v2h9.7c.9.5 1.5.8 1.8 1 .6.4 1 .9 1.3 1.3s.4 1 .4 1.4c0 .8-.4 1.6-1.1 2.2-.8.6-1.8.9-3.1.9-1.1 0-2.1-.2-3.1-.7-.9-.5-1.8-1-2.3-1.7-.2-.2-.8-1.4-1-2.4H4v6h.6c.1-.4.2-.7.3-.9.2-.1.4-.2.6-.2.3 0 1.1.1 2.1.4s1.7.5 2 .5c.5.1 1.1.1 1.7.1 1.9 0 3.5-.5 4.8-1.6 1.2-1 1.9-2.3 1.9-3.7 0-.8-.2-1.5-.6-2.2-.1-.2-.2-.2-.3-.4H20v-2z"/></svg>',"dxrd-svg-fontstyle-underline":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M14 0v1h.9c.4 0 .7.1.8.2.3.4.3 1.2.3 2.3V12c0 .8 0 1.7-.1 2.6-.1 1-.5 1.8-1 2.3-1 .9-3 1.1-3.7 1.1-.7 0-2.9-.2-3.9-1.1-.7-.7-.9-1.3-1.1-2.2-.2-1.1-.2-2-.2-2.7V3.5c0-1.1 0-2 .3-2.2.2-.2.6-.3 1.1-.3H8V0H2v1h.9c.7 0 .9.1 1 .2.1.2.1 1.1.1 2.3v7.6c0 2.4.2 4 .5 4.8.5 1.2 1.3 2.3 2.4 3C8.7 20 9.9 20 11 20c1.4 0 2.6-.1 4.1-1.1 1.1-.8 1.9-1.7 2.3-3 .3-.9.4-2.5.4-4.8V3.5c0-1.2 0-1.9.3-2.2.3-.3.5-.3 1.3-.3h.6V0h-6zM2 22h18v2H2z"/></svg>',"dxrd-svg-menu-menu":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 7H3V5h18v2zm0 4H3v2h18v-2zm0 6H3v2h18v-2z"/></svg>',"dxrd-svg-menu-open":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M23 10h-4V7c0-.5-.5-1-1-1H9V4c0-.5-.5-1-1-1H2c-.5 0-1 .5-1 1v15c0 .5.5 1 1 1h17c.4 0 .7-.2.9-.6l4-8c.3-.6-.2-1.4-.9-1.4zM3 5h4v3h10v2H7.6c-.4 0-.7.2-.9.6L3 18V5z"/></svg>',"dxrd-svg-menu-save":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 2H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V3c0-.5-.5-1-1-1zM8 4h4v4H8V4zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V4h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V4h2v16z"/></svg>',"dxrd-svg-menu-saveas":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 4H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zM8 6h4v4H8V6zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V6h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V6h2v16zm2.5-22c.8 0 1.5.7 1.5 1.5S23.3 3 22.5 3 21 2.3 21 1.5 21.7 0 22.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S19.3 3 18.5 3 17 2.3 17 1.5 17.7 0 18.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S15.3 3 14.5 3 13 2.3 13 1.5 13.7 0 14.5 0z"/></svg>',"dxrd-svg-operations-add":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v5H0v2h5v5h2V7h5V5H7V0Z" fill="#000"/></svg>',"dxrd-svg-operations-add_calcfield":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M0 0h11v5H7v2H5v4H0V0Zm3 4V1h2v1H4v2h1v1H4v3H2V7h1V5H2V4h1Z"/><path class="dxd-icon-fill" d="M8 6h2v2h2v2h-2v2H8v-2H6V8h2V6Z"/></svg>',"dxrd-svg-operations-add_datasource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M16 10c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2zM8 13c-3.1 0-6-.9-6-2v5c0 1.1 2.9 2 6 2h.3c-.2-.6-.3-1.3-.3-2 0-1.1.2-2.1.6-3H8zM14 8.3V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.3 0 1.9-.1 1-1.3 2.5-2.2 4.1-2.6z"/></svg>',"dxrd-svg-operations-add_query":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 0h11v2H0V0Zm0 3h2v2H0V3Zm5 0H3v2h2V3Zm1 0h2v2H6V3Zm5 0H9v2h2V3ZM0 6h2v2H0V6Zm5 0H3v2h2V6ZM0 9h2v2H0V9Zm5 0H3v2h2V9Zm3-1V6h2v2h2v2h-2v2H8v-2H6V8h2Z"/></svg>',"dxrd-svg-operations-ai":'<svg data-bind="svgAttrs" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><defs></defs><path class="dxd-icon-fill" d="M11.71 8.25C10.61 14.37 6.37 18.61.24 19.72c-.33.06-.33.51 0 .57 6.12 1.1 10.36 5.34 11.47 11.47.06.33.51.33.57 0 1.1-6.12 5.34-10.36 11.47-11.47.33-.06.33-.51 0-.57-6.12-1.1-10.36-5.34-11.47-11.47a.288.288 0 0 0-.57 0ZM23.81.17c-.74 4.08-3.56 6.91-7.64 7.64-.22.04-.22.34 0 .38 4.08.74 6.91 3.56 7.64 7.64.04.22.34.22.38 0 .74-4.08 3.56-6.91 7.64-7.64.22-.04.22-.34 0-.38-4.08-.74-6.91-3.56-7.64-7.64a.192.192 0 0 0-.38 0Z" fill="#FFF"/></svg>',"dxrd-svg-operations-arrowdown":'<svg data-bind="svgAttrs" width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M.23.226a.75.75 0 0 1 1.058.02l3.704 3.927L8.696.245a.749.749 0 1 1 1.079 1.038L5.53 5.77a.749.749 0 0 1-1.078 0L.209 1.283A.748.748 0 0 1 .23.226Z" fill="#606060"/></svg>',"dxrd-svg-operations-arrowup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.77 5.774a.75.75 0 0 1-1.058-.02L5.008 1.828 1.304 5.755A.749.749 0 1 1 .225 4.717L4.47.23a.749.749 0 0 1 1.078 0l4.244 4.488a.748.748 0 0 1-.02 1.057Z" fill="#606060"/></svg>',"dxrd-svg-operations-ascending":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 0 6 6h4v16h4V6h4z"/></svg>',"dxrd-svg-operations-descending":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m12 22 6-6h-4V0h-4v16H6z"/></svg>',"dxrd-svg-operations-edit":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 12h2.667L0 9.333V12Zm1.333-4L4 10.667l5.333-5.334-2.666-2.666L1.333 8Zm8-8L8 1.333 10.667 4 12 2.667 9.333 0Z"/></svg>',"dxrd-svg-operations-editCriteria":'<svg data-bind="svgAttrs" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.632 0C3.084 0 1 1.029 1 2.286v6.857c0 1.257 2.084 2.286 4.632 2.286.613 0 1.2-.06 1.736-.168v-1.073L5.053 7.902v-2.76h5.21V2.287C10.263 1.029 8.18 0 5.632 0Zm0 3.429c-2.258 0-3.474-.858-3.474-1.143 0-.286 1.216-1.143 3.474-1.143 2.257 0 3.473.857 3.473 1.143 0 .285-1.216 1.143-3.473 1.143Zm.579 4V6.286H12v1.143L9.684 9.714V12H8.526V9.714L6.211 7.43Z" class="dxd-icon-fill"/></svg>',"dxrd-svg-operations-movedown":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m6 10 6 6 6-6V6l-6 6-6-6z"/></svg>',"dxrd-svg-operations-moveleft":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m12 6-6 6 6 6h4l-6-6 6-6z"/></svg>',"dxrd-svg-operations-moveleft_all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 6H8l-6 6 6 6h4l-6-6z"/><path class="dxd-icon-fill" d="M20 6h-4l-6 6 6 6h4l-6-6z"/></svg>',"dxrd-svg-operations-moveright":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m10 18 6-6-6-6H6l6 6-6 6z"/></svg>',"dxrd-svg-operations-moveright_all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 18h4l6-6-6-6h-4l6 6z"/><path class="dxd-icon-fill" d="M2 18h4l6-6-6-6H2l6 6z"/></svg>',"dxrd-svg-operations-moveup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 12-6-6-6 6v4l6-6 6 6z"/></svg>',"dxrd-svg-operations-rebuild_schema":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.5 0 12 5h-1.5v2.36c0 2.489-2.382 4.285-4.775 3.601l.55-1.923A1.746 1.746 0 0 0 8.5 7.36V5H7l2.5-5Zm-6 4.64V7H5l-2.5 5L0 7h1.5V4.64c0-2.489 2.382-4.285 4.775-3.602l-.55 1.924A1.746 1.746 0 0 0 3.5 4.64Z"/></svg>',"dxrd-svg-operations-recycle_bin":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v2H1v1h10V2H7V0Z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M2 4h8v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4Zm2 6h1V6H4v4Zm3 0h1V6H7v4Z"/></svg>',"dxrd-svg-operations-recycle_bin_xl":'<svg data-bind="svgAttrs" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12Zm4-9v8H9v-8h1Zm5 8v-8h-1v8h1Z"/><path class="dxd-icon-fill" d="M19 4h-5V3h-4v1H5v2h14V4Z"/></svg>',"dxrd-svg-operations-remove":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 5h12v2H0z"/></svg>',"dxrd-svg-operations-rename":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9 0h3v1h-1v10h1v1H9v-1h1V1H9V0Z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M9 11H7l-.637-2.04H2.637L2 11H0L3.2 1h2.6L9 11ZM5.75 7 4.5 3 3.25 7h2.5Z"/></svg>',"dxrd-svg-operations-unsorted":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m0 20 6-6V6H2l5-6 5 6H8v6l6-6V0h2v4l4-4 2 2-6 6v8h4l-5 6-5-6h4v-6l-6 6v6H6v-4l-4 4z"/></svg>',"dxrd-svg-properties-borders-all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M0 0v22h22V0H0zm20 20H2V2h18v18z"/></svg>',"dxrd-svg-properties-borders-bottom":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M0 12h2v4H0zM12 0h4v2h-4zM0 6h2v4H0zM18 2h2v2h2V0h-4zM6 0h4v2H6zM20 18v2H2v-2H0v4h22v-4zM2 4V2h2V0H0v4zM20 6h2v4h-2zM20 12h2v4h-2z"/></svg>',"dxrd-svg-properties-borders-left":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM4 20H2V2h2V0H0v22h4zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6z"/></svg>',"dxrd-svg-properties-borders-none":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6zM0 6h2v4H0zM2 4V2h2V0H0v4zM2 18H0v4h4v-2H2zM0 12h2v4H0z"/></svg>',"dxrd-svg-properties-borders-right":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 20h4v2h-4zM0 6h2v4H0zM6 20h4v2H6zM2 4V2h2V0H0v4zM0 12h2v4H0zM18 2h2v18h-2v2h4V0h-4zM4 20H2v-2H0v4h4zM6 0h4v2H6zM12 0h4v2h-4z"/></svg>',"dxrd-svg-properties-borders-top":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 6h2v4h-2zM6 20h4v2H6zM20 12h2v4h-2zM4 20H2v-2H0v4h4zM12 20h4v2h-4zM2 4V2h18v2h2V0H0v4zM20 18v2h-2v2h4v-4zM0 12h2v4H0zM0 6h2v4H0z"/></svg>',"dxrd-svg-properties-propertiesmenu":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxd-icon-fill" d="M24 8h2V3c0-.5-.5-1-1-1H3c-.5 0-1 .5-1 1v5h22zM22 12H12v-2h10v2zm0 4v-2H12v2h10zM6 20h4v-2H6v2zm10-2h-4v2h4v-2zM6 16h4v-2H6v2zm0-4h4v-2H6v2zM32 25v-2l-2.5-.6c-.1-.4-.3-.8-.5-1.2l1.5-2.1-1.6-1.6-2.1 1.5c-.4-.2-.8-.4-1.2-.5L25 16h-2l-.6 2.5c-.4.1-.8.3-1.2.5l-2-1.5-1.7 1.7 1.5 2c-.2.4-.4.8-.5 1.2L16 23v2l2.5.6c.1.4.3.8.5 1.2l-1.5 2.1 1.6 1.6 2.1-1.5c.4.2.8.4 1.2.5L23 32h2l.6-2.5c.4-.1.8-.3 1.2-.5l2.1 1.5 1.6-1.6-1.5-2.1c.2-.4.4-.8.5-1.2L32 25zm-8 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-propertyexpression":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 12 12" xml:space="preserve"><path class="dxd-icon-fill" d="M4.8 6h-2l.4-2h1.9l.3-1.5c.1-.7.5-1.9 2.5-2.3C9 .1 10.2 0 11 0l-.5 2c-.2 0-1.1 0-1.9.2-.5 0-.6.3-.7.7L7.7 4H10l-.4 2H7.3l-.7 3.5c-.1.7-.5 1.9-2.5 2.3-1.1.1-2.3.2-3.1.2l.5-2c.2 0 1.1 0 1.9-.2.5-.1.6-.4.7-.7L4.8 6z" id="Background"/></svg>',"dxrd-svg-properties-search":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2.6 21.4c.8.8 2 .8 2.8 0l4.6-4.6c1.2.7 2.6 1.1 4.1 1.1 4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8c0 1.5.4 2.9 1.1 4.1l-4.6 4.6c-.8.8-.8 2 0 2.8zM10 10.1c0-2.2 1.8-4 4-4s4 1.8 4 4-1.8 4-4 4-4-1.9-4-4z"/></svg>',"dxrd-svg-properties-sortingbyalphabet":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3.2 0 1 7h1.6L3 5.3h2L5.4 7H7L4.9 0H3.2zm0 4.2L3.8 2c0-.1.1-.4.2-.8v.1c0 .3.1.6.1.7l.5 2.2H3.2zM1 10h4l-4 5v1h6v-1H3l4-5V9H1zM13 12V0h-2v12H8l4 4 4-4z"/></svg>',"dxrd-svg-properties-sortingbygroups":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M1 7h7V0H1v7zm1-6h5v5H2V1zM9 1h6v1H9zM9 3h6v1H9zM9 5h6v1H9zM9 10h6v1H9zM9 12h6v1H9zM9 14h6v1H9z"/><path class="dxd-icon-fill" d="M5 2H4v1H3v1h1v1h1V4h1V3H5zM1 16h7V9H1v7zm1-6h5v5H2v-5z"/><path class="dxd-icon-fill" d="M5 11H4v1H3v1h1v1h1v-1h1v-1H5z"/></svg>',"dxrd-svg-properties-tasksmarttag":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="m14.6 6.9-1.8-.3c-.1-.4-.3-.8-.5-1.1l1.1-1.4c.2-.2.1-.5-.1-.6l-.8-.8c-.2-.2-.5-.2-.7-.1l-1.4 1.1c-.4-.2-.7-.4-1.2-.5l-.1-1.8C9 1.2 8.8 1 8.6 1H7.4c-.2 0-.4.2-.5.4l-.2 1.8c-.4.1-.8.3-1.2.5L4.1 2.6c-.2-.1-.5-.1-.6.1l-.8.8c-.2.1-.2.4-.1.6l1.1 1.4c-.2.4-.4.8-.5 1.2l-1.8.2c-.2.1-.4.3-.4.5v1.1c0 .3.2.5.4.5l1.8.3c.1.4.3.8.5 1.1l-1.1 1.5c-.2.2-.1.5.1.6l.8.8c.2.2.5.2.7 0l1.4-1.1c.4.2.7.4 1.2.5l.3 1.8c-.1.3.1.5.3.5h1.1c.3 0 .5-.2.5-.4l.3-1.8c.4-.1.8-.3 1.2-.5l1.4 1.1c.2.1.5.1.7 0l.8-.8c.2-.2.2-.5.1-.6l-1.1-1.4c.2-.4.4-.7.5-1.1l1.8-.3c.1-.2.3-.4.3-.6V7.4c0-.2-.2-.4-.4-.5zM8 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-textAlignment-bottom":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 18H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-center":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-4 2H8v2h16v-2zm4 4H4v2h24v-2zm0 8H4v2h24v-2zm-4-4H8v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-justify":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-left":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-8 2H4v2h16v-2zm8 4H4v2h24v-2zm0 8H4v2h24v-2zm-8-4H4v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-middle":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 12H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-right":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H12v2h16v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H12v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-top":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 6H4V4h24v2zm0 2H4v2h24V8zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-queryBuilder-aggregate":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 0H3v4l8 8-8 8v4h18v-4H7l8-8-8-8h14z"/></svg>',"dxrd-svg-queryBuilder-data_preview":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m21.7 20.3-2.5-2.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l2.5 2.5c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4zM15 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M8.7 13s-.1 0 0 0c-.1 0-.1 0 0 0H7.3C4.4 12.8 2 12 2 11v5c0 1 2.6 1.9 5.4 2H9c-.4-.9-.7-1.9-.7-2.9.1-.8.2-1.5.4-2.1zM14 8.2V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.2 0 1.7-.1 1-1.4 2.5-2.4 4.3-2.7z"/></svg>',"dxrd-svg-queryBuilder-group_by":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 4h14v6H2zM8 14h14v6H8z"/></svg>',"dxrd-svg-queryBuilder-select_statment":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 4-4-4v4zM21.7 22.3l-4.5-4.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l4.5 4.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM13.1 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.4 3-3 3z"/><path class="dxd-icon-fill" d="M13 8c2 0 3.7.8 5 2.1V6h-6V0H0v20h8.1C6.8 18.7 6 17 6 15c0-3.9 3.1-7 7-7z"/></svg>',"dxrd-svg-queryBuilder-sorting_asc":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM14 14h6l-6 6v2h8v-2h-6l6-6v-2h-8zM19.4 0 14 10h2l.9-2H20v2h2V0h-2.6zm.6 6h-1.9L20 2v4z"/></svg>',"dxrd-svg-queryBuilder-sorting_desc":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM22 0h-8v2h6l-6 6v2h8V8h-6l6-6zM14 22h2l.9-2H20v2h2V12h-2.6L14 22zm6-4h-1.9l1.9-4v4z"/></svg>',"dxrd-svg-tabs-description_info":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" class="dxd-description_info-icon dxd-icon-highlighted" width="18" height="18" viewBox="0 0 18 18" fill="none"><circle class="dxd-description_info-icon-fill dxd-icon-fill" cx="9" cy="9" r="9"/><path class="dxd-description_info-icon-path-fill" d="m7.573 14 1.182-7.09h1.67L9.246 14H7.572Zm2.262-8.107a.893.893 0 0 1-.665-.267.78.78 0 0 1-.23-.642.94.94 0 0 1 .336-.642c.207-.178.442-.267.707-.267.268 0 .487.089.66.267a.78.78 0 0 1 .23.642.916.916 0 0 1-.336.642 1.032 1.032 0 0 1-.702.267Z"/></svg>',"dxrd-svg-tabs-properties":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m21.6 10.4-2.6-.3c-.2 0-.3-.2-.4-.3-.1-.3-.2-.6-.3-.8-.1-.2-.1-.4 0-.5l1.5-2.1c.1-.2.1-.5 0-.7l-1.5-1.5c-.2-.2-.5-.2-.7 0l-2.1 1.5c-.2.1-.4.1-.5 0-.3-.1-.5-.2-.8-.3-.1-.1-.2-.2-.3-.4l-.4-2.5c0-.2-.2-.4-.5-.4h-2.1c-.2 0-.5.2-.5.4L10.1 5c0 .2-.2.3-.3.4l-.9.3c-.2.1-.4.1-.5 0L6.3 4.1c-.2-.1-.4-.1-.6.1L4.2 5.7c-.2.2-.2.4-.1.6l1.5 2.1c.1.2.1.4 0 .5 0 .3-.1.6-.2.8-.1.2-.2.3-.4.4l-2.5.4c-.2 0-.4.2-.4.5v2.1c0 .2.2.5.4.5l2.5.3c.2 0 .3.2.4.3.1.3.2.6.3.8.1.2.1.4 0 .5l-1.5 2.1c-.1.2-.1.5 0 .7l1.5 1.5c.2.2.5.2.7 0l2.1-1.5c.2-.1.4-.1.5 0 .3.1.5.2.8.3.2.1.3.2.3.4.1.6.3 1.9.4 2.6 0 .2.2.4.5.4h2.1c.2 0 .5-.2.5-.4l.4-2.5c0-.2.2-.3.3-.4.3-.1.6-.2.8-.3.2-.1.4-.1.5 0l2.1 1.5c.2.1.5.1.7 0l1.5-1.5c.2-.2.2-.5 0-.7l-1.5-2.1c-.1-.2-.1-.4 0-.5.1-.3.2-.5.3-.8.1-.2.2-.3.4-.3l2.5-.4c.2 0 .4-.2.4-.5V11c0-.3-.2-.5-.4-.6zM12 17c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm2-5c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"/></svg>',"dxrd-svg-toolbar-copy":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 14h2v2H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h12c.5 0 1 .5 1 1v3h-2V4H4v10zm18-5v12c0 .5-.5 1-1 1H9c-.5 0-1-.5-1-1V9c0-.5.5-1 1-1h12c.5 0 1 .5 1 1zm-2 1H10v10h10V10z"/></svg>',"dxrd-svg-toolbar-cut":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m20.4 5.6-5 5-2-2 6.4-6.4c.4-.4 1.2-.1 1.2.5v1.5c0 .5-.2 1-.6 1.4zM22 17.5c.3 2.6-1.9 4.9-4.5 4.5-1.6-.2-2.9-1.4-3.3-3-.2-.9-.1-1.8.2-2.6L12 14l-2.4 2.4c.4.7.5 1.6.3 2.6-.4 1.6-1.7 2.8-3.3 3-2.6.3-4.9-1.9-4.5-4.5.2-1.6 1.4-2.9 3-3.3.9-.3 1.8-.2 2.5.2L10 12 3.6 5.6c-.4-.4-.6-.9-.6-1.4V2.7c0-.6.8-.9 1.2-.5l12.1 12.1c.8-.3 1.7-.5 2.6-.2 1.6.4 2.9 1.8 3.1 3.4zM8 18c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm12 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"/></svg>',"dxrd-svg-toolbar-delete":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m13.4 12 5.3-5.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L12 10.6 6.7 5.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4l5.3 5.3-5.3 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0l5.3-5.3 5.3 5.3c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4L13.4 12z"/></svg>',"dxrd-svg-toolbar-paste":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 8H9c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V9c0-.5-.5-1-1-1zm-1 12H10V10h10v10zM15 2v3H7V2h2V1c0-.6.4-1 1-1h2c.6 0 1 .4 1 1v1h2zm3 4h2V3c0-.5-.5-1-1-1h-3v2h2v2zM6 20H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h3v2H4v14h2v2z"/></svg>',"dxrd-svg-toolbar-redo":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 7c2.2 0 4.3.8 5.7 2.3l3.3 3.3V8c0-.6.4-1 1-1s1 .4 1 1v8h-8c-.6 0-1-.4-1-1s.4-1 1-1h4.6l-3.3-3.3C13.2 9.6 11.7 9 10 9c-3.3 0-6 2.7-6 6 0 .6-.4 1-1 1s-1-.4-1-1c0-4.4 3.6-8 8-8z"/></svg>',"dxrd-svg-toolbar-undo":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M14 7c-2.2 0-4.3.8-5.7 2.3L5 12.6V8c0-.6-.4-1-1-1s-1 .4-1 1v8h8c.6 0 1-.4 1-1s-.4-1-1-1H6.4l3.3-3.3C10.8 9.6 12.3 9 14 9c3.3 0 6 2.7 6 6 0 .6.4 1 1 1s1-.4 1-1c0-4.4-3.6-8-8-8z"/></svg>',"dxrd-svg-toolbar-validate":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M22 6 8 20l-6-6v-4l6 6L22 2v4z"/></svg>',"dxrd-svg-toolbar-zoomin":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path id="ZoomIn" class="dxd-icon-fill" d="M19 11h-6V5c0-.5-.5-1-1-1s-1 .5-1 1v6H5c-.5 0-1 .5-1 1s.5 1 1 1h6v6c0 .5.5 1 1 1s1-.5 1-1v-6h6c.5 0 1-.5 1-1s-.5-1-1-1z"/></svg>',"dxrd-svg-toolbar-zoomout":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path id="ZoomOut" class="dxd-icon-fill" d="M19 13H5c-.5 0-1-.4-1-1 0-.5.4-1 1-1h14c.5 0 1 .4 1 1s-.4 1-1 1z"/></svg>',"dxrd-svg-wizard-Download":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m7 12 5 5 5-5h-4V2h-2v10H7zm8-4v2h4v10H5V10h4V8H3v14h18V8h-6z"/></svg>',"dxrd-svg-wizard-expressions":'<svg data-bind="svgAttrs" version="1.1" id="Tabs" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 32 32" xml:space="preserve"><path class="dxd-icon-fill" d="M25.6 4.3c-.3-.4-.7-.7-1.2-1-.6-.2-1.3-.3-2.2-.3-1.8 0-3.3.4-4.5 1.3s-1.9 2.1-2.2 3.6l-.3 1.4-.4 1.7h-2.4l-.4 2h2.4L12 24.3c-.2 1.3-.7 1.9-1.3 1.9-.2 0-.3 0-.4-.1l-.4-.4c-.3-.4-.6-.7-.7-.8-.2-.2-.4-.3-.6-.4-.2-.1-.4-.1-.7-.1-.5 0-1 .2-1.3.6-.4.4-.6.9-.6 1.5 0 .7.4 1.3 1.2 1.9.6.4 1.5.6 2.6.6s2.1-.2 2.9-.6 1.5-1.1 2.2-2c.6-.9 1.1-2.1 1.4-3.4l2.3-9.9H21l.5-2H19l.4-1.7.4-1.6c.2-.8.3-1.2.5-1.5.2-.3.5-.5.9-.5.2 0 .3 0 .5.1s.4.3.7.7c.3.3.6.6.9.7s.6.2.9.2c.4 0 .7-.1 1-.2.3-.2.5-.4.7-.7.2-.3.3-.7.3-1-.2-.5-.3-.9-.6-1.3z" id="Expressions"/></svg>',"dxrd-svg-wizard-FederationDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="32" cy="11" rx="21" ry="5"/></g><path class="dxrd-svg-blue" d="M63 44H51V32h-6v12H33v6h12v12h6V50h12z"/><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M65 55c-3.6 0-7-.2-10-.6V66H44v18c0 2.8 9.4 5 21 5s21-2.2 21-5V50c0 2.8-9.4 5-21 5z"/></g><g class="dxrd-svg-st1"><path class="dxrd-svg-black" d="M67 43v10c10.7-.2 19-2.4 19-5s-8.3-4.7-19-5z"/></g><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M32 18c-11.6 0-21-2.2-21-5v34c0 2.5 8.9 4.6 19 5V41h12V29h11V13c0 2.8-9.4 5-21 5z"/></g><path class="dxrd-svg-blue" d="M65 43H53V31h-9v12H32v9h12v12h9V52h12z"/></svg>',"dxrd-svg-wizard-JsonDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M63.6 72.5c-.1-.2-.2-.4-.3-.7-.5-1.4-.8-2.9-.9-4.4-.1-2.3.4-4.5 1.5-6.3.7-1.2 1.7-2.4 2.8-3.2.4-.3 1.1-.7 1.1-.7s.5-.3 1.2-.6c.1.1.2.1.3.2 1.7 1.2 3 2.8 3.9 4.6.3.7.6 1.5.8 2.3v2.8c0 2.4-4.1 4.6-10.4 6zm-20.4-2.2c-.3-2.6-.3-5.3.2-7.9.4-2.3 1.2-4.5 2.2-6.5C48.9 49.5 55 44.6 62 42.8c1.4-.4 4.2-.8 5.8-.8 1.4 0 4.4.6 6.2 1.4v-22c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.8 9.5 6.9 21.9 7.5-.3-1.2-.5-2.4-.7-3.6z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-blue" d="M91.8 70.1c-.3 2.4-1 4.8-2 7-1.2 2.5-2.9 4.9-4.9 6.9-2.2 2.1-4.8 4-7.6 5.2-2 .9-5.5 1.9-9.1 1.9-1 0-3.3-.6-4.7-1.1-2.4-1-4.6-2.5-6.3-4.5-1.1-1.3-2-2.8-2.7-4.3-1.1-2.5-1.7-5.3-1.9-8.1-.1-2-.1-4 .2-5.9.5-3.1 1.8-6.2 4.1-8.5.4-.4 1.9-1.6 2.7-2.1.8-.5 3.2-1.3 4.5-1.4 1-.1 2 0 2.9.2-.5.3-1 .6-1.4 1-1.4 1-2.5 2.3-3.3 3.8-1.3 2.2-1.8 4.8-1.7 7.3 0 1.7.4 3.5 1 5.1.5 1.3 1.2 2.5 2.1 3.5.7.8 1.6 1.6 2.5 2.2.5.3 1 .7 1.6.9.5.2 1 .4 1.5.5 3.1.7 6.4-.4 8.9-2.2 1.5-1.1 2.8-2.6 3.8-4.2 1.4-2.2 2.2-4.7 2.5-7.2.2-1.5.2-3 .1-4.5-.1-2-.4-4.1-1-6-.8-3-2.3-5.8-4.4-8.1-.9-1-2-1.9-3.1-2.7-.2-.2-.5-.3-.7-.4-.2-.1-.5-.3-.7-.4 1.5.4 3 1 4.4 1.7 3.9 2 7.3 4.9 9.6 8.6.7 1 1.2 2.1 1.7 3.2.8 1.8 1.3 3.7 1.6 5.6.1 2.3.1 4.7-.2 7zm-40.1 8.6c-.6-2-.9-4.2-1-6.5-.1-1.5-.1-2.9.1-4.3.3-2.8 1.1-5.4 2.4-7.5 1-1.7 2.3-3.2 3.8-4.4 1.1-.8 2.3-1.5 3.5-1.9 1.3-.5 2.6-.7 4-.7.5 0 1.1 0 1.6.1.7.1 1.4.3 2 .5.1.1.7.3.8.4.4.2.9.5 1.5.9 2 1.4 3.5 3.2 4.5 5.4.9 1.9 1.3 4 1.4 6.3 0 2.4-.4 4.7-1.4 6.7-.8 1.7-2 3.3-3.4 4.5 2.2-.2 4.5-1.2 6.4-3 .4-.3.7-.7 1-1.1.5-.6.9-1.1 1.2-1.5.4-.7.8-1.4 1.2-2.2.5-1.1.8-2.1 1-3.1.3-1.7.4-3.5.3-5.8-.3-4.3-1.5-8-3.5-10.9-.4-.6-.7-1-1-1.4-.6-.7-1.3-1.3-2-2-.8-.7-1.1-.9-2.5-1.7S69 44 67.8 44c-1.3 0-4 .3-5.4.6-6.5 1.7-12 6.2-15 12.2-.9 1.9-1.6 3.9-2 6-.5 2.4-.5 4.8-.2 7.2.2 2 .7 3.9 1.5 5.7.4 1 .9 2.1 1.6 3.1 1.8 2.9 4.2 5.3 7.2 7.2-1.7-1.9-3-4.5-3.8-7.3z"/></svg>',"dxrd-svg-wizard-MongodbDataSource":'<svg data-bind="svgAttrs" width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxrd-svg-st2 dxrd-svg-black" clip-rule="evenodd" d="M22 21.4c0 4.2 11.6 7.6 26 7.6s26-3.4 26-7.6v22.695c-.37-.467-.758-.937-1.163-1.41a91.884 91.884 0 0 1-4.761-5.655.111.111 0 0 0-.151 0 91.807 91.807 0 0 1-4.761 5.654c-11.19 13.072-8.912 23.772-4.71 30.68C55.258 73.772 51.722 74 48 74c-14.4 0-26-3.4-26-7.6v-45Z"/><path class="dxrd-svg-st1 dxrd-svg-black" d="M48 27c14.36 0 26-3.358 26-7.5 0-4.142-11.64-7.5-26-7.5s-26 3.358-26 7.5c0 4.142 11.64 7.5 26 7.5Z"/><path class="dxrd-svg-blue" d="M72.093 45.016a80.401 80.401 0 0 1-4.029-4.99.091.091 0 0 0-.128 0 80.442 80.442 0 0 1-4.028 4.99c-16.973 20.674 2.673 34.627 2.673 34.627l.165.105c.147 2.153.513 5.252.513 5.252H68.724s.366-3.081.512-5.252l.165-.122c.018.017 19.665-13.936 2.692-34.61ZM67.99 79.328s-.879-.718-1.117-1.085v-.035l1.062-22.514c0-.07.11-.07.11 0l1.062 22.513v.036c-.238.367-1.117 1.085-1.117 1.085Z"/></svg>',"dxrd-svg-wizard-NoDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M44 68c0-12.2 9.8-22 22-22 1.4 0 2.7.1 4 .4v-24c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6h1.1c-.7-2.2-1.1-4.6-1.1-7z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="20.5" rx="26" ry="7.5"/></g><circle class="dxrd-svg-red" cx="66" cy="68" r="20"/><path class="dxrd-svg-white" d="M53.4 77.8C51.3 75.1 50 71.7 50 68c0-8.8 7.2-16 16-16 3.7 0 7.1 1.3 9.8 3.4L53.4 77.8zm25.2-19.6L56.2 80.6c2.7 2.1 6.1 3.4 9.8 3.4 8.8 0 16-7.2 16-16 0-3.7-1.3-7.1-3.4-9.8z"/></svg>',"dxrd-svg-wizard-ObjectDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M64.7 71H64V59h6v7.4c0 1.8-2 3.3-5.3 4.6zM52 52v7h12v-7H52zm-18 7h12V46h18v-7h6V21.4c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.1 6.6 5.8 16 7V59z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-blue" d="M82 41H66v7H48v13H36v26h26V75h13V57h7V41zm-9 32H62V61H50V50h16v7h7v16z"/></svg>',"dxrd-svg-wizard-SqlDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M48 29c-14.4 0-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6s26-3.4 26-7.6v-45c0 4.2-11.6 7.6-26 7.6z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g></svg>'}),Zt.addTemplates({"dxrd-bordereditor":"<div class=\"dxrd-bordereditor-content\"> \x3c!-- ko with: value--\x3e <div class=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-none\" data-bind=\"template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom() && !left() && !top() && !right()), 'dxrd-disabled-button': disabled }, click: function() { setNone() }\"></div> <div class=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-all dxrd-bordereditor-right-margin\" data-bind=\"template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom() && left() && top() && right()), 'dxrd-disabled-button': disabled }, click: function() { setAll() }\"></div> <div class=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-left\" data-bind=\"template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }\"></div> <div class=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-top\" data-bind=\"template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }\"></div> <div class=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-right\" data-bind=\"template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }\"></div> <div class=\"dxrd-bordereditor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-bottom\" data-bind=\"template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }\"></div> <p></p> \x3c!-- /ko --\x3e</div>","dxd-dimension-notations":'<div class="dxd-dimension-notations-wrapper dxd-dimension-horizontal" data-bind="visible: isHAxisVisible, css: { \'dxd-dimension-notations-inside-elt\' : isLocatedInsideContainer }"> <div class="dxd-dimension-notations-arrowed-line"> <span class="dxd-dimension-notations-text" data-bind="text: width"></span> </div> </div> <div class="dxd-dimension-notations-wrapper dxd-dimension-vertical" data-bind="visible: isVAxisVisible, css: { \'dxd-dimension-notations-inside-elt\' : isLocatedInsideContainer }"> <div class="dxd-dimension-notations-arrowed-line"> <span class="dxd-dimension-notations-text" data-bind="text: height"></span> </div> </div>',"dxrd-borders":'<div class="dxrd-bordereditor" data-bind="dxBorderEditor: $data"></div>',"dxrd-colorpicker":"<div data-bind=\"dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), editAlphaChannel: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flipfit', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }\"></div>","dxrd-expressionstring":'\x3c!-- ko if: value --\x3e <div data-bind="dxExpressionEditor: getOptions({ options: value, fieldListProvider: $root.dataBindingsProvider, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() })"></div> \x3c!-- /ko --\x3e',"dxrd-field":'\x3c!-- ko displayNameExtender: { path: path, dataMember: value, getPath: getPath, getDataMember: getDataMember } --\x3e \x3c!-- ko if: visible --\x3e <div data-bind="dxFieldListPicker: { path: path, onValueChanged: onValueChanged, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: $root.dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-filterstring":'\x3c!-- ko if: value --\x3e <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider(), aiExpressionGenerator: $root.aiExpressionGenerator }"></div> \x3c!-- /ko --\x3e',"dxrd-filterstringgroup":'\x3c!-- ko if: value --\x3e <div data-bind="dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider(), aiExpressionGenerator: $root.aiExpressionGenerator }"></div> \x3c!-- /ko --\x3e',"dxrd-formatstring":'<div data-bind="dxFormatEditor: { value: value, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }"></div>',"dxrd-guid":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }\"></div>","dxrd-emptyHeader":"","dxrd-objectEditorContent":"\x3c!-- ko if: $data.visible() && editorCreated --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-commonCollectionItem":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></div>","dxrd-textalignment":'<div class="dxrd-textalignment-editor" data-bind="dxTextAlignmentEditor: $data"></div>',"dxrd-objectVisitor":'\x3c!-- ko if: options --\x3e <div data-bind="treelist: options"></div> \x3c!-- /ko --\x3e',"dxd-snap-lines-holder":'<div class="dxd-snap-lines-holder"> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[0].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineSurfaces[1].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[2].transform() }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineSurfaces[3].transform() }"></div> </div>',"dxrd-surface-template-base":'\x3c!-- ko ifnot: isLoading --\x3e \x3c!-- ko with: surface --\x3e <div class="dxrd-surface-wrapper" data-bind="css: { \'dxrd-context-menu-container\': selected() }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isLoading --\x3e <div class="dxrd-surface-wrapper"></div> \x3c!-- /ko --\x3e',"dxrd-designer":'<div tabindex="-1" data-bind="cssArray: [surfaceClass($element), { \'dx-accessibility\': $data.accessibilityCompliant, \'dx-rtl\': $data.rtl } ]"> <div class="dxrd-designer-wrapper dx-editors dxd-surface-back-color dxd-scrollbar-color" data-bind="visible: (!designMode || designMode()), cssArray: [rootStyle, { \'dx-rtl\' : rtl, \'dx-ltr\': !rtl }]"> \x3c!-- ko foreach: parts --\x3e \x3c!-- ko template: { name: templateName, data: viewModel || model }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko if: ($data.addOns) --\x3e \x3c!-- ko foreach: addOns --\x3e \x3c!-- ko template: { name: templateName, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div id="dxrd-designer-last-focus-item-blank" class="dxrd-visually-hidden" tabindex=\'-1\'></div> </div>',"dxrd-textalignment-editor":"<div class=\"dxrd-textalignment-editor-content\"> \x3c!-- ko with: value--\x3e <div> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: verticalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-top\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top(), 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-middle\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle(), 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-bottom\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom(), 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }\"></div> </div> <div class=\"dxrd-textalignment-margin-top\"> <br/> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: horizontalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-left\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left(), 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-center\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center(), 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-right\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right(), 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-justify\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify(), 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }\"></div> </div> \x3c!-- /ko --\x3e </div>","dxrd-collectionactions-template":'<div class="dxrd-action-items-container"></div> <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: ko.unwrap($data.imageTemplateName), iconClass: ko.unwrap($data.imageClassName) }, attr: { id: id, title: text }"></div> <div data-bind="dxPopup: { width: 235, height: \'auto\', position: { my: $root.rtl ? \'left top\': \'right top\', at: \'bottom\', of: (\'#\' + id) }, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, \'.dxrd-action-items-container\'), shading: false, visible: popoverVisible }"> \x3c!-- ko if: $data.contentTemplate--\x3e \x3c!-- ko template: contentTemplate--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.contentTemplate --\x3e \x3c!-- ko foreach: actions --\x3e <div class="dxrd-action-item dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: clickAction, css: { \'dxrd-disabled-button\': disabled }"> <div class="dxrd-action-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source":'<div class="dxrd-drag-helper-source" data-bind="styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { \'dxrd-locked\': $data.isLocked }"> \x3c!-- ko foreach: $data.controls() --\x3e <div class="dxrd-drag-helper-control" data-bind="styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className"> \x3c!-- ko with: $parent.customData() --\x3e <div data-bind="template: { name: $data.template, data: $data.data }"> </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source-reorder-treelist":'<div class="dxrd-drag-helper-source-reorder-treelist dxd-back-primary dxd-text-primary dxd-ghost-border-color dxd-border-accented"> <div class="dxrd-drag-helper-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}"> </div> <div class="dxrd-drag-helper-treelist-text-wrapper"> <div class="dxrd-drag-helper-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div>',"dxrd-menubutton-template-base":'<div class="dxrd-menu-container dxrd-position-relative dxrd-width-0 dxrd-height-100" ></div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-primary2"> <div class="dxrd-menu-place dxrd-width-54px" ></div> <div class="dxrd-menu-button-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: \'dxrd-svg-menu-menu\', css: {\'dxd-state-active\': appMenuVisible }"></div> <div data-bind="dxPopup: { width: 250, wrapperAttr: { class: \'dxd-menu-back-color dxd-back-primary2\' }, height: \'100%\' , position: $data.rtl ? { my: \'right top\' , at: \'left top\' , offset: \'-10 0\' } : { my: \'left top\' , at: \'right top\' , offset: \'10 0\' }, showTitle: false, showCloseButton: false, container: getMenuPopupContainer($element), target: getMenuPopupTarget($element), animation: {}, hideOnOutsideClick: function(e) { var buttonClassName = \'dxrd-menu-button-image\'; var parentClassList = e.target.parentNode && e.target.parentNode.parentNode && e.target.parentNode.parentNode.classList; stopPropagation = (e.target.classList && e.target.classList.contains(buttonClassName)) || (parentClassList && parentClassList.contains(buttonClassName)); return true; }, shading: false, focusStateEnabled: false, visible: appMenuVisible }"> <div class="dxrd-menu-break dxd-popup-back-color dxd-back-primary2"></div> \x3c!-- ko foreach: actionLists.menuItems --\x3e <div class="dxrd-menu-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { \'dxrd-disabled-button\': disabled }, visible: visible"> <div class="dxrd-menu-item-image" data-bind="css: ko.unwrap($data.imageClassName), template: {name: ko.unwrap($data.imageTemplateName), if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> <div class="dxrd-menu-item-text" data-bind="text: $data.displayText && $data.displayText() || text, attr: { title: $data.displayText && $data.displayText() || text}"></div> <div class="dxrd-menu-item-separator" data-bind="visible: $data.hasSeparator"></div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-top-grid":'\x3c!-- ko if: popularVisible --\x3e <div class="dx-fieldset"> <div class="dx-accordion" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': collapsed() }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dxrd-group-header-text" data-bind="text: $root.actionsGroupTitle()"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-primary"> \x3c!-- ko foreach: (contextActions || []) --\x3e \x3c!-- ko if: $data.templateName && !isContextMenuAction --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName && !isContextMenuAction --\x3e <div class="dxrd-properties-grid-action" data-bind="dxclick: function() { if($data.disabled && !$data.disabled() || !$data.disabled) { clickAction($root.editableObject()); } }, css: { \'dxrd-disabled-button\': $data.disabled && $data.disabled() }, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible)"> <div class="dxrd-properties-grid-action-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko with: popularProperties --\x3e <div class="dxrd-position-relative" data-bind="template: { name: \'dx-propertieseditor\', data: $data }"></div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-group-actions":'<div class="dxd-back-primary2 dxrd-property-grid-actions-group"> \x3c!-- ko if: groupActionsVisible --\x3e \x3c!-- ko foreach: (groupActions || []) --\x3e <div class="dxd-border-primary dxrd-properties-grid-actions-group-content" data-bind="visible: items.some(x => !x.visible || ko.unwrap(x.visible))"> <div class="dxd-text-primary dxrd-properties-grid-action-name" data-bind="text: group"></div> \x3c!-- ko foreach: (items || []) --\x3e \x3c!-- ko template: { name: $data.templateName, if: $data.templateName } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class="dxrd-properties-grid-action" data-bind="dxclick: function() { if($data.disabled && !$data.disabled() || !$data.disabled) { clickAction($root.editableObject()); } }, css: { \'dxrd-disabled-button\': $data.disabled && $data.disabled() }, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible)"> <div class="dxrd-properties-grid-action-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko--\x3e </div>',"dx-propertygrid-searchbox":"<div class=\"dx-property-grid-search-group dx-property-grid-search-collapsed\" data-bind=\"css: { 'dx-property-grid-search-collapsed': !isSearching() }\"> <div class=\"dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text\" data-bind=\"css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }\"> </div> <div class=\"dx-property-grid-search-box no-margin-right\" data-bind=\"dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }\"></div> </div>","dxrd-propertiestab":'<div class="dxrd-properties-wrapper" data-bind="visible: active && visible"> <div class="dxd-text-primary dxrd-properties-sub-wrapper"> <div class="dxrd-right-panel-header"> <span data-bind="text: text"></span> </div> \x3c!-- ko with: model --\x3e \x3c!-- ko if: $root.controlsStore.visible() --\x3e <div class="dx-property-grid-header"> <div class="dx-property-grid-header-content"> <div class="dx-property-grid-sorting-actions-group" data-bind="css: { \'dx-property-grid-search-collapsed\': isSearching }"> <div class="dxrd-properties-focused-item" data-bind="dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': !isSortingByGroups() }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(false); }, icon: \'dxrd-svg-properties-sortingbyalphabet\', iconClass: \'image-sortingbyalphabet\' }"></div> <div class="dx-property-grid-sorting-action dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.isSortingByGroups(true); }, icon: \'dxrd-svg-properties-sortingbygroups\', iconClass: \'image-sortingbygroups\' }"></div> </div> </div> \x3c!-- ko template: \'dx-propertygrid-searchbox\' --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e <div class="dxrd-properties-grid dxd-border-primary" data-bind="dxScrollView: { showScrollbar: \'onHover\', useNative: false, scrollByThumb: true }"> \x3c!-- ko template: { name: \'dxrd-group-actions\', data: { groupActions: $root.contextGroupActions, groupActionsVisible: $root.groupActionsVisible() } } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: \'dxrd-top-grid\', data: { contextActions: $root.contextActions, popularProperties: $root.popularProperties, collapsed: ko.observable(false), popularVisible: $root.popularVisible() && isSortingByGroups(), actionsGroupTitle: $root.actionsGroupTitle } } --\x3e \x3c!-- /ko --\x3e <div data-bind="visible: isSortingByGroups"> \x3c!-- ko foreach: groups --\x3e <div class="dx-fieldset" data-bind="visible: visible"> <div class="dx-accordion" data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': collapsed() }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dxrd-group-header-text" data-bind="text: displayName()"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-primary"> \x3c!-- ko ifnot: editorsCreated --\x3e <div class="dx-accordion-content-loading-panel"> <div data-bind="dxLoadIndicator: { visible: !editorsCreated() }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.editorsRendered() --\x3e <div data-bind="visible: editorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: editors --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent.editors().length - 1 && $parent.editorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e </div> <div class="dx-fieldset dxd-back-primary" data-bind="visible: !isSortingByGroups()"> <div data-bind="dxLoadIndicator: { visible: !allEditorsCreated() }"></div> \x3c!-- ko if: $data.editorsRendered() --\x3e <div data-bind="visible: allEditorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: $data.getEditors() --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent._editors().length - 1 && $parent.allEditorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> \x3c!-- ko template: \'dx-propertygrid-popupservice\' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: \'dx-propertygrid-popoverservice\', if: popover, data: popover.getViewModel() } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-propertygrid-popupservice":"<div data-bind=\"dxPopup: { width: 250, height: 'auto', position: $data.rtl ? { my: 'left top', at: 'right top', of: popupService.target, collision: 'flipfit' } : { my: 'right top', at: 'left top', of: popupService.target, collision: 'flipfit' }, container: $root.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }\"> <div data-options=\"dxTemplate: { name: 'content' }\"> <div class=\"dxrd-editor-menu-caption dxd-text-primary\" data-bind=\"text: popupService.title, visible: popupService.title\"></div> <div class=\"dxd-button-back-color\" data-bind=\"dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onItemClick: popupService.onItemClick, onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }\"> <div class=\"dxrd-editor-menu-item dxd-back-highlighted dxd-state-normal\" data-options=\"dxTemplate: { name: 'item' }\"> \x3c!-- ko if: $data.itemTemplate --\x3e \x3c!-- ko template: $data.itemTemplate --\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e \x3c!-- ko ifnot: $data.itemTemplate --\x3e <div> <span class=\"dxd-text-primary dx-menu-item-text\" data-bind=\"attr: { title: title }, text: title\"></span> <div class=\"dx-menu-item-popout-container\" data-bind=\"visible: $data.items && $data.items.length\"> <div class=\"dx-menu-item-popout\"></div> </div> \x3c!--ko if: $data.innerTemplate--\x3e \x3c!--ko template: $data.innerTemplate--\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e </div> \x3c!--/ko--\x3e </div> </div> </div> </div>","dx-propertygrid-popoverservice":'<div data-bind="dxPopover: { container: getPopupContainer($element), target: target, position: \'bottom\', showCloseButton: false, onHiding: onHiding, hideOnOutsideClick: true, hideOnParentScroll: true, width: \'350px\', visible: visible }"> <div class="propertygrid-editor-description-popover-content"> <span data-bind="text: data"></span> </div> </div>',"dx-right-panel-lightweight":'\x3c!-- ko with: tabPanel.getViewModel() --\x3e <div class="dxrd-right-panel dx-shadow dx-shadow-right dxd-border-secondary dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))"> \x3c!-- ko foreach: tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dxrd-right-panel-template-base":'<div class="dx-shadow dx-shadow-right dxd-border-secondary dxrd-tab-panel-wrapper" data-bind="styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper"> <div class="dxrd-right-tabs dxd-side-panel-tabs-back-color dxd-back-contrast" data-bind="css: tabsElement.class"> \x3c!-- ko foreach: $data.tabs --\x3e <div role="button" class="dxrd-tab-item dx-accessibility-rightpanel-button dxd-side-panel-tab-back-color dxd-back-highlighted dx-accessibility-focus-border-accented" data-bind="dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, \'aria-label\': text, \'aria-expanded\': !collapsed && active ? \'true\' : \'false\' }, visible: visible"> <div class="dxrd-image-padding" data-bind="css: image.class, template: {name: image.templateName, if: !!ko.unwrap($data.image.templateName)}"> </div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-right-panel dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)"> \x3c!-- ko foreach: $data.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-right-panel-switcher":'<div class="dx-right-panel-switcher"> <div class="dxrd-collectioneditor-action" data-bind="dxButtonWithTemplate: { icon: \'dxrd-svg-operations-edit\', iconClass: \'dx-image-edit\', disabled: disabled, onClick: toogle, hint: title }"></div> </div>',"dxrd-toolbar-template-base":'<div class="dxrd-toolbar-wrapper dxd-back-secondary-invariant dx-shadow-top"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.getViewModel().toolbarItems }"></div> </div>',"dxrd-toolbar-tmplt":'\x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: templateName --\x3e \x3c!-- ko template: { name: templateName, data: contentData || $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !templateName --\x3e <div class="dxrd-toolbar-item" data-bind="visible: visible, css: actionClass"> <div role="button" class="dx-accessibility-toolbar-item dx-accessibility-focus-border-accented" data-bind="attr: block.attr" > <div data-bind="template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: displayText }, dxclick: click"> </div> <div class="dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary" data-bind="visible: hasSeparator"></div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2 dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: toolboxItems --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <div class="dxrd-image-padding dx-fontsize-reestablished" data-bind="template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler"> </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-grouped-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2-invariant toolbox-grouped dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: groupedToolboxItems --\x3e <div class="dxrd-toolbox-group dxd-border-primary"> \x3c!-- ko foreach: items --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <div class="dxrd-image-padding dx-fontsize-reestablished" data-bind="template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, css: $data.imageClassName, draggable: $root.toolboxDragHandler"> </div> </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div>',"dxrd-zoom-select-template":'<div class="dxrd-toolbar-item-zoom" data-bind="visible: visible"> <div class="dxrd-toolbar-item-zoom-editor" data-bind="dxSelectBox: { items: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div>',"dx-editor-addons":'<div class="dxrd-editormenu-boxes"> \x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: $data.visible --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: $data.templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.templateName --\x3e \x3c!-- ko if: !ko.unwrap($data.imageTemplateName) --\x3e <div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxd-back-contrast" data-bind="dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }"> <div class="dxrd-editormenu-box-inside dxd-back-secondary"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: ko.unwrap($data.imageTemplateName) --\x3e <div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxrd-editor-box-image" data-bind="dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss"> <div class="dxrd-editor-box-image-content" data-bind="template: { name: $data.imageTemplateName, if: ko.unwrap($data.imageTemplateName) }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-collectioneditor":'<div class="dx-collectioneditor"> <div data-bind="dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper"> <div class="dx-collectioneditor-header dx-accordion-header"> <div class="dx-editor-header"> <div role="treeitem" class="dx-field dxrd-complex-editor dx-accessibility-focus-border-accented dxrd-accessibility-accordion-trigger" data-bind="attr: { \'aria-expanded\': alwaysShow || !collapsed ? \'true\' : \'false\', \'aria-owns\': contentId, \'id\': headerId, }"> \x3c!-- ko if: showButtons--\x3e \x3c!-- ko with: buttons --\x3e <div class="dx-collectioneditor-actions-wrapper"> \x3c!-- ko if: up.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: up.action, disabled: up.disabled, icon: \'dxrd-svg-operations-moveup\', template: up.template }, attr: { title: up.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: down.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: down.action, disabled: down.disabled, icon: \'dxrd-svg-operations-movedown\', template: down.template }, attr: { title: down.text }"></div> \x3c!-- /ko --\x3e <div class="dx-collectioneditor-action-separator"></div> \x3c!-- ko if: add.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: add.action, disabled: add.disabled, icon: \'dxrd-svg-operations-add\', template: add.template }, attr: { title: add.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: delete.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: delete.action, disabled: delete.disabled, icon: \'dxrd-svg-operations-remove\', template: delete.template }, attr: { title: delete.text }"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: displayName --\x3e <div class="dx-collectioneditor-header-text dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> <div class="dx-group-header-font dxd-text-primary dxrd-display-inline-block" data-bind="text: displayName, attr: { title: displayName }"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> <div role="group" class="dx-accordion-content" data-bind="attr: { \'aria-hidden\': !alwaysShow && collapsed ? \'true\' : \'false\', \'aria-labelledby\': headerId, \'id\': contentId }"> \x3c!-- ko if: hasExpanded --\x3e \x3c!-- ko if: values.length === 0 --\x3e <div class="dx-collectioneditor-empty dxd-empty-area-placeholder-text-color dxd-text-info"> <span class="dx-collectioneditor-empty-text" data-bind="text: emptyAreaText"></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: values.length !== 0 --\x3e <div data-bind="visible: !disabled, dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option(\'useKeyboard\', false); } }"> <div class="dx-collectioneditor-items" data-bind="foreach: values"> <div class="dx-collectioneditor-item-container dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-accessibility-list-item dx-accessibility-focus-border-accented" data-bind="attr: { \'aria-selected\': selected }, dxAction: { model: $data, action: select }, css: { \'dxd-state-selected\' : selected }"> <div class="dx-collection-item"></div> </div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-boolean":'<div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { \'aria-label\': displayName } }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-boolean-select":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }\"></div>","dx-commonCollection":'<div class="dx-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }"> </div> </div>',"dx-commonCollectionItem":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></div>","item-with-title":'<div class="dx-listitem-with-title" data-bind="text: $data.display, attr: { title: $data.display }"></div>',"dx-combobox":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-combobox-editable":"<div data-bind=\"dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }\"> </div>","dx-combobox-undo":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: generateValue($root.undoEngine), valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-property-editor":"\x3c!-- ko if: isComplexEditor --\x3e \x3c!-- ko template: 'dx-complex-editor-template' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isComplexEditor --\x3e \x3c!-- ko template: 'dx-simple-editor-template' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-emptyHeader":"","dx-complex-editor-template":"<div class=\"dx-editor\" data-bind=\"visible: visible\"> <div class=\"dx-group\" data-bind=\"dxdAccordion: { collapsed: collapsed, setCollapsed: setCollapsed, getCollapsed: getCollapsed, setCollapsedChangedEvent: setCollapsedChangedEvent }\"> <div class=\"dx-editor-header\"> <div class=\"dx-field dxrd-complex-editor dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented\" data-bind=\"attr: { role: 'treeitem', 'id': headerId, 'aria-owns': contentId, 'aria-expanded': alwaysShow || !collapsed ? 'true' : 'false' }\"> <div class=\"dx-field-label dx-accordion-header dxd-text-primary\" data-bind=\"styleunit: padding, css: { 'dx-accordion-empty': templateName === 'dx-emptyHeader' }\"> <div data-bind=\"enable: templateName === 'dx-emptyHeader'\"> \x3c!-- ko ifnot: $data.hideCollapsingButton --\x3e <div class=\"dx-collapsing-image dxrd-display-inline-block\" data-bind=\"template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !ko.unwrap(collapsed) }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"text: displayName, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }\"></div> \x3c!-- /ko --\x3e </div> </div> \x3c!-- ko template: 'dx-lazy-editor-template' --\x3e \x3c!-- /ko --\x3e </div> </div> <div class=\"dx-editor-content dx-accordion-content\" role=\"group\" data-bind=\"attr: { 'aria-labelledby': headerId, 'id': contentId, 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false' }\"> \x3c!-- ko if: editorCreated --\x3e \x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>","dx-simple-editor-template":'<div class="dx-editor" data-bind="visible: visible"> <div class="dx-editor-header"> <div class="dx-field" role="treeitem"> \x3c!-- ko if: visible --\x3e <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding, css: { \'dx-accordion-empty\': templateName === \'dx-emptyHeader\' }"> \x3c!-- ko if: !!$data.textToSearch --\x3e <label class="propertygrid-editor-displayName" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: labelAttributes, css: { \'dx-field-label-required\': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? \'Bold\' : \'\'}"></label> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <label class="propertygrid-editor-displayName" data-bind="text: displayName, attr: labelAttributes, css: { \'dx-property-required\': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? \'Bold\' : \'\'}"></label> \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.editorDescriptionAddon && $data.description --\x3e <div data-bind="service: { name: \'createEditorDescriptionAddOn\' }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.editorDescriptionAddon --\x3e \x3c!-- ko template: { name: $data.editorDescriptionAddon.templateName, data: $data.editorDescriptionAddon.data } --\x3e\x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko template: \'dx-lazy-editor-template\' --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-lazy-editor-template":"<div class=\"dx-field-value\" data-bind=\"css: { 'dxd-border-accented': $data.isPropertyHighlighted }\"> <div data-bind=\"service: { name: 'createEditorAddOn' }\"></div> \x3c!-- ko if: templateName !== 'dx-emptyHeader' --\x3e \x3c!-- ko lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) }, resolver: $parent.resolver, withPriority: true } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-property-grid-editor-description":'<div class="propertygrid-editor-description" data-bind="dxButtonWithTemplate: { onClick: onClick, icon: \'dxrd-svg-tabs-description_info\' }"></div>',"dx-date":"<div class=\"dx-datebox-container\"> <div data-bind=\" dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId }, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div> </div>","dx-file":"<div data-bind=\"dxFileImagePicker: { value: value, inputAttr: { id: editorInputId }, placeholderId: 'File', disabled: disabled }\"></div>","dx-modificators":'<div class="dx-font-content"> <div class="dx-field"> <div class="dx-field-label dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"></div> \x3c!-- ko with: value --\x3e <div class="dx-field-value"> <div class="dx-font-styles-content"> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-bold" data-bind="css: { \'dxd-state-active\': bold(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { bold(!bold()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-bold\'--\x3e\x3c!-- /ko --\x3e</div> <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-italic" data-bind="css: { \'dxd-state-active\': italic(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { italic(!italic()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-italic\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- ko ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideUnderline --\x3e <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-underline" data-bind="css: { \'dxd-state-active\': underline(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { underline(!underline()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-underline\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideStrikeout --\x3e <div class="dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-strikeout" data-bind="css: { \'dxd-state-active\': strikeout(), \'dx-disabled-button\': $parent.disabled }, click: function() { if(!ko.unwrap($parent.disabled)) { strikeout(!strikeout()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-strikeout\'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> </div>',"dx-image":"<div data-bind=\"dxFileImagePicker: { value: value, inputAttr: { id: editorInputId }, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }\"></div>","dx-numeric":"<div data-bind=\"dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div>","dx-number-editor":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div>","dx-text":"\x3c!-- ko if: $data.validationRules || $data.validatorOptions --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.validationRules --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})\"></div> \x3c!-- /ko --\x3e","dx-string-array":'<div class="dx-field" data-bind="css: { \'dxd-border-accented\': $data.isPropertyHighlighted }"> <div class="dx-string-array-container dx-texteditor dx-editor-outlined dx-multiline"> <textarea class="dx-string-array-textarea dx-texteditor-input" data-bind="value: value, disable: disabled"></textarea> </div> </div>',"dx-propertieseditor":'<div data-bind="css: { \'dx-rtl\' : rtl }"> <div class="dx-editors"> <div class="dx-fieldset"> \x3c!-- ko foreach: editors --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-objectEditorContent":"\x3c!-- ko if: visible --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-federated-manageQueries-editor":'\x3c!-- ko if: $data --\x3e<div> <div data-bind="dxPopup: { showTitle: true, width: \'750px\', height: \'475px\', title: title(), rtlEnabled: rtl, visible: popupVisible, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }"> <div class="dxrd-federated-manageQueries-grid-wrapper dxrd-cursor-default" > <div class="dxd-border-secondary dxrd-federated-manageQueries-grid" data-bind="dxDataGrid: queriesGrid"></div> </div> </div> </div>\x3c!-- ko template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper } --\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e',"dx-querybuilder-federation-popup-templates":"\x3c!-- ko if: $data --\x3e \x3c!-- ko foreach: $data.popupItems --\x3e \x3c!-- ko template: { name: template, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-managequeries-selectbox":'\x3c!-- ko with: options --\x3e <div class="dxrd-managequeries-selectbox"> <div data-bind="dxDropDownButton: $data"></div> </div> \x3c!-- /ko --\x3e',"dx-expressioneditor-main":'<div class="dx-expression-tree"> \x3c!-- ko if: $root.aiExpressionGenerator --\x3e \x3c!-- ko template: { name: \'dx-ai-expression-generator\', data: $root.aiExpressionGenerator.initialize($data) } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dxrd-ai-expression-loading-panel-container" data-bind="resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"> \x3c!-- ko if: !aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $root.aiExpressionGenerator --\x3e <div class="dxrd-wizard-load-panel dxd-text-primary" data-bind="dxAILoadingPanel: $root.aiExpressionGenerator.getLoadPanelOptions($element)"></div> \x3c!-- /ko --\x3e </div> <div class="dx-expressioneditor-tools"> \x3c!-- ko with: tools--\x3e <div class="dx-expressioneditor-tools-tabs"> \x3c!-- ko foreach: toolBox--\x3e <div data-bind="visible: visible, attr: { class: \'dx-expressioneditor-tools-tab dxd-back-primary2 \'+ ($data.templateName ? $data.templateName : \'\')}"> \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: { name: $data.templateName }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko--\x3e </div> \x3c!-- /ko--\x3e </div> </div>',"dx-expressioneditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: displayValue, buttonAction: function() { popupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }"></div> \x3c!-- ko template: \'dx-expressioneditor-popup\'--\x3e \x3c!--/ko--\x3e </div>',"dx-expressioneditor-popup":"<div data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }\"> \x3c!-- ko if: popupVisible --\x3e \x3c!-- ko template: \"dx-expressioneditor-main\" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-ai-expression-generator":"<div class=\"dx-ai-expression-generator\"> <div data-bind=\"template: { name: 'dxrd-svg-actions-ai_localization_service' }\" class=\"dxd-icon-accented dxrd-ai-expression-generator-editor-icon\"></div> <div data-bind=\"dxTextArea: { value: expressionInNL, width: '100%', valueChangeEvent: 'keyup', placeholder: _promptPlaceholder, autoResizeEnabled: true, maxHeight: '90px', buttons: buttons }\"> </div> </div>","dx-expressioneditor-categories":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, \'e\')"> \x3c!-- ko foreach: content --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: $data.templateName--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.templateName --\x3e <div class="dx-expressioneditor-tools-tab-category dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-category-accordion":'<div class="dx-fieldset dxrd-margin-0" > <div data-bind="dxdAccordion: { collapsed: collapsed }"> <div class="dx-accordion-header dx-expressioneditor-tools-tab-accordion-header dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': $data.isSelected }, dxclick: function() { $data.updateContent($data.allItems(), $data.isSelected); $parent.click($data.content) }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed() }" ></div> <span class="dx-expressioneditor-tools-tab-header" data-bind="text: displayName"></span> </div> <div class="dx-accordion-content"> \x3c!-- ko foreach: items--\x3e <div class="dx-expressioneditor-tools-tab-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': isSelected }, text: $data.display, dxclick: function() { $parent.updateContent($data.data, $data.isSelected); $parents[1].click($parent.content); }"></div> \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-description":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-expressioneditor-description-content dxd-text-primary" data-bind="text: content"></div> </div>',"dx-expressioneditor-fields":'<div class="dx-expressioneditor-fields"> <div data-bind="treeListSearchPanel: { controllers: [ ko.unwrap($data.parameters) ? ko.unwrap($data.parameters).treeListController : ko.unwrap($data.parameters), ko.unwrap($data.fields) ? ko.unwrap($data.fields).treeListController : ko.unwrap($data.fields) ] }"> </div> <div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko if: fields --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: fields"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.parameters --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: parameters"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-ee-treelist-item":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="visible: visible, click: toggleSelected, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected\': isSelected }"> <div class="dx-treelist-item-images"> \x3c!-- ko if: hasItems --\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasItems --\x3e <div class="dx-treelist-collapsedbutton"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!ko.unwrap($data.imageTemplateName)}, attr: { title: text }"> </div> </div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent"> \x3c!-- ko template: { name: \'dx-treelist-item-text-content\' } --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-selectedcontent":"\x3c!-- ko with: content --\x3e \x3c!-- ko template: $data--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-expressioneditor-collection":"<div class=\"dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary\" data-bind=\"dxScrollView: { showScrollbar: 'onHover' }\"> \x3c!-- ko foreach: items --\x3e <div data-bind=\"attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, text: $data.displayName || $data.text, css: { 'dx-expressioneditor-state-selected dxd-state-selected': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }\"></div> \x3c!-- /ko --\x3e </div>","dx-expressioneditor-collection-function":'<div class="dx-expressioneditor-collection-function"> <div class="dx-expressioneditor-collection-function-search"> <div data-bind="dxTextBox: { value: textToSearch, showClearButton: true, valueChangeEvent: \'keyup\', placeholder: $parents[2].searchPlaceholder() }"></div> </div> <div class="dx-expressioneditor-collection-function-items dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: availableItems --\x3e <div class="dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted" data-bind="css: { \'dx-expressioneditor-state-selected dxd-state-selected\': $parent.selectedItem() === $data }, dxclick: function() { $parent.selectedItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }, searchHighlighting: { text: $data.displayName || $data.text, textToSearch: $parent.textToSearch }"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-content":'<div class="dx-filtereditor-content"> \x3c!-- ko if: !!aiFilterGenerator --\x3e \x3c!-- ko template: { name: \'dx-ai-expression-generator\', data: aiFilterGenerator } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dxrd-ai-expression-loading-panel-container"> \x3c!-- ko if: !!aiFilterGenerator --\x3e <div class="dxrd-wizard-load-panel dxd-text-primary" data-bind="dxAILoadingPanel: aiFilterGenerator.getLoadPanelOptions($element)"></div> \x3c!-- /ko --\x3e <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }"> \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-filtereditor-text-container" data-bind="css: { \'advanced\': advancedMode }, visible: textVisible"> \x3c!-- ko template: \'dx-filtereditor-content-text\'--\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-filtereditor-plain-content-text":'<div class="dx-filtereditor-text-container" data-bind="css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }"> \x3c!-- ko template: \'dx-filtereditor-content-text\'--\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-content-plain":'<div class="dx-filtereditor-plain-advanced" data-bind="dxCheckBox: { value: advancedMode, text: advancedModeText }, style: $data.getCheckBoxStyles()"></div> <div class="dx-filtereditor-plain-content dxrd-ai-expression-loading-panel-container" data-bind="style: $data.getContentStyles()"> \x3c!-- ko if: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }"> \x3c!-- ko if: !!aiFilterGenerator --\x3e \x3c!-- ko template: { name: \'dx-ai-expression-generator\', data: aiFilterGenerator } --\x3e \x3c!-- /ko --\x3e <div class="dxrd-wizard-load-panel dxd-text-primary" data-bind="dxAILoadingPanel: aiFilterGenerator.getLoadPanelOptions($element)"></div> \x3c!-- /ko --\x3e \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-plain-disabled" data-bind="visible: $data.options().disabled()"></div> </div>',"dx-filtereditor-content-text":'\x3c!-- ko if: !aceAvailable --\x3e <div class="dx-filtereditor-text dx-default-border-style dxd-border-secondary" data-bind="dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-filtereditor-text dx-default-border-style dxd-border-secondary dx-textarea dx-textbox dx-texteditor dx-editor-filled" data-bind="css: {\'dx-invalid\': !$data.isValid(), \'dx-state-focused\': textFocused }"> <div class="dx-texteditor-container"> <div class="dx-filtereditor-ace dxd-back-primary2" data-bind="dxAceEditor: { value: $data.displayValue, theme: helper.aceTheme, editorContainer: editorContainer, options: aceOptions, additionalOptions: additionalOptions }"></div> <div class="dx-texteditor-buttons-container"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-content-tree":'<div class="dx-filtereditor-tree dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', direction: \'both\' }"> \x3c!-- ko with: operandSurface --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data, if: $parent.isSurfaceValid }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: isSurfaceValid --\x3e <div class="dx-filtereditor-tree-lockscreen" data-bind="dxclick: function() { $data.advancedMode(true); }"> <div class="dx-filtereditor-tree-lockscreen-content"> <div class="dx-filtereditor-tree-lockscreen-content-text" data-bind="text: invalidMessage()"> </div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: modelDisplayValue, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { popupVisible(true); }, inputAttr: { id: editorInputId } }"></div> <div data-bind="dxEditorPopupTemplate: { data: $data, templateName: \'dx-filtereditor-popup\' }"></div> </div>',"dx-filtereditor-advanced":"<div class=\"dx-filtereditor dxrd-width-100 dxrd-height-100\" data-bind=\"style: { pointerEvents: $data.options().disabled() ? 'none' : '' }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-plain":"<div class=\"dx-filtereditor dxrd-width-100 dxrd-height-100\"> \x3c!-- ko template: 'dx-filtereditor-content-plain' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-aggregate-common":'\x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.aggregatedExpression() --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">(</div> \x3c!-- ko with: aggregatedExpression--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e',"dx-filtereditor-aggregate":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: \'dx-filtereditor-aggregate-common\' }--\x3e \x3c!-- /ko --\x3e </div> <div class="criteria-operator-content"> \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-between":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: begin--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">and</div> \x3c!-- ko with: end--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-binary":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: leftOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: rightOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-common":'\x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.leftPart && $data.leftPart.condition --\x3e <div class="criteria-operator-content"> \x3c!-- ko with: leftPart--\x3e \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dx-filtereditor-function-lightweight":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="text: displayType"></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-function":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: $data.leftPart.templateName, data: $data.leftPart }--\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko foreach: rightPart --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-group":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> <div class="criteria-operator-item"> <div data-bind="service: { name: \'createChangeType\' }"></div> </div> <div data-bind="service: { name: \'createAddButton\' }"></div> </div> <div class="criteria-operator-content"> \x3c!-- ko foreach: operands --\x3e \x3c!-- ko template: { name: templateName, data: $data } --\x3e \x3c!-- /ko--\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-in":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: criteriaOperator--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.operands().length > 1--\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">(</div> <div class="criteria-operator-item"> \x3c!-- ko foreach: $data.operands() --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">,</div> \x3c!-- /ko --\x3e </div> <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.operands().length == 1--\x3e \x3c!-- ko template: { name: $data.operands()[0].templateName, data: $data.operands()[0] }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-action" data-bind="dxclick: addValue"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div> </div> </div>',"dx-filtereditor-parameter":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeParameter\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-property":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeProperty\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-unary":'\x3c!-- ko if: $data.operand().reverse --\x3e \x3c!-- ko template: {name: $data.operand().templateName, data: $data.operand() }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.operand().reverse --\x3e <div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: operand--\x3e <div class="criteria-operator-item"> \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-not":"\x3c!-- ko with: operand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-value":'<div class="criteria-operator-item" data-bind="visible: isEditable"> \x3c!-- ko if: $data.items.length === 0 --\x3e \x3c!-- ko if: $data.specifics() === "string" || $data.specifics() === "guid" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "bool" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxLocalizedSelectBox: getBoolEditorOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "date" || $data.specifics() === "time" || $data.specifics() === "datetime" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: getDateEditorOptions($element, $root, $data.specifics())"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" && $data.specifics() !== "time" && $data.specifics() !== "datetime" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 --\x3e \x3c!-- ko if: $data.specifics() !== "enum" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getListEditOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() === "enum" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getEnumEditOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div class="criteria-operator-text dxd-filter-editor-text-color criteria-operator-item-value dxd-filter-editor-value-back-color" data-bind="visible: !isEditable()"> <div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: value, click: function() { isEditable(true); }, css: { \'default\': $data.isDefaultDisplay() } "></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-popup":"\x3c!-- ko if: $data --\x3e <div data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, onHidden: onHiddenHandler, hideOnParentScroll: false, title: options() && options().title(), visible: popupVisible(), onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-create":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-change":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayType, dxclick: showPopup, css: target.css"></div>',"dx-filtereditor-changeParameter":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable " data-bind="text: target.parameterName(), dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeProperty":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayName, dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeValueType":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image-edit dx-image-filtereditor-edit">\x3c!-- ko template: \'dxrd-svg-filtereditor-edit\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-content-popups":"<div class=\"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay\" data-bind=\"dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }\"> \x3c!-- ko with: popupService--\x3e \x3c!-- ko with: data --\x3e \x3c!-- ko template: template--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-search-panel":"<div class=\"dx-filtereditor-popup-item dx-filtereditor-search dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted\"> <div class=\"dx-item-content dxd-border-secondary dxd-text-primary dx-list-item-content\" data-bind=\"dxTextBox: { placeholder: searchPlaceholder(), value: ($data.value || $data.filterString), height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }\"> </div> </div>","dx-filtereditor-popup-common":'\x3c!-- ko if: $data.isFiltered --\x3e <div data-bind="template: { name: \'dx-filtereditor-search-panel\', data: $data }"></div> \x3c!-- /ko --\x3e <div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }, css: { \'dx-filtereditor-filtered\': isFiltered }"> \x3c!-- ko foreach: data --\x3e \x3c!-- ko if: !$data.hidden --\x3e \x3c!-- ko ifnot: $parent.isFiltered --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <span class="dx-item-content dx-list-item-content" data-bind="text: $data.displayText || $data.name, click: function() { $parent.click($data); }, attr: {\'title\': $data.displayText || $data.name } "></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $parent.isFiltered --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <div class="dx-item-content dx-list-item-content" data-bind="searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.filterString }, click: function() { $parent.click($data); }, attr: {\'title\': $data.displayText || $data.name } "> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-popup-treelist":'<div class="dx-filtereditor-search" data-bind="treeListSearchPanel: { controllers: data().treeListController, template: \'dx-filtereditor-search-panel\' } "></div> <div class="dx-widget dx-filtereditor-filtered" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-treelist-wrapper" data-bind="treelist: data"></div> </div>',"dx-format-string-list":'<div class="dx-format-string-list dxd-format-string-editor-border-color dxd-border-secondary"> <div data-bind="dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: \'single\', activeStateEnabled: false }"> <div data-options="dxTemplate: { name: \'item\' }" class="dx-theme-border-color"> <div class="dx-image-filtereditor-remove" data-bind="click: $parent.removeItem, visible: $data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> <div class="dx-format-string-list-item" data-bind="text: $data.displayName"></div> </div> </div> </div>',"dx-format-string-edit-area":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'types\')"></div> <div class="dx-format-string-formats"> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } } --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-customization"> <div class="dx-format-string-customization-add" data-bind="dxButton:{ onClick: addCustomFormat, text: getDisplayText(\'add\'), disabled: !canAddCustomFormat() }"></div> <div class="dx-format-string-customization-value dx-format-string-value dxd-back-primary" data-bind="dxTextBox: { value: formatResult, onInput: function(e) { updateInputText(\'formatResult\', e.component); } }"></div> </div> </div>',"dx-format-string-edit-area-general":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'prefix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText(\'formatPrefix\', e.component); } }"></div> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'suffix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText(\'formatSuffix\', e.component); } }"></div>',"dx-format-string":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: value, disabled: disabled, buttonAction: function() { popupVisible(true); } }"></div> <div data-bind="dxEditorPopupTemplate: { data: $data, templateName: \'dx-formatstring-popup-template\' }"></div> </div>',"dx-formatstring-popup-template":'<div data-bind="dxPopup: { wrapperAttr: { class: \'dx-format-string dx-popup-general\' }, showTitle: true, width: \'95%\', height: \'95%\', minWidth: 650, title: getDisplayText(\'title\'), visible: popupVisible(), toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) }, onHidden: onHiddenHandler, hideOnParentScroll: false, }"> <div class="dx-format-string-content"> <div class="dx-format-string-content-area-left"> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'category\')"></div> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: types, action: setType, selectedItems: selectedTypes } } --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-format-string-content-area-right"> \x3c!-- ko if: !isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area-general\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-preview-area" data-bind="css: { \'dx-format-general\': isGeneralType }"> <div class="dx-format-string-preview-area-caption dxd-text-primary" data-bind="text: getDisplayText(\'preview\')"></div> <div class="dx-format-string-preview-value dxd-format-string-editor-border-color dxd-text-primary dxd-back-primary dxd-border-secondary"> <span class="dx-format-string-preview-value-inner" data-bind="text: previewString"></span> </div> </div> </div> </div> </div>',"dx-treelist-item-actions":'\x3c!-- ko foreach: actions --\x3e \x3c!-- ko if: $data.templateName && (ko.unwrap($root.canAddItems) || $root.canAddItems === undefined) --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName && (ko.unwrap($root.canAddItems) || canAddItems) --\x3e <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: function() { clickAction($parent); }, icon: ko.unwrap($data.imageTemplateName), iconClass: $data.imageClassName, visible: (ko.unwrap($data.visible) == undefined) || ko.unwrap($data.visible), disabled: $data.disabled && $data.disabled() }, attr: { title: $data.displayText && $data.displayText() || text }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-treelist-edit-action":"<div class=\"dx-treelist-action-edit dx-accordion-button\" data-bind=\"dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: $parent.reverseCollapsed }, visible: $parent.hasContent, attr: { title: $data.displayText() }\"></div>","dx-treelist-item-actions-with-edit":"\x3c!-- ko template: { name: 'dx-treelist-edit-action', data: treeListEditAction } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-treelist-item-actions' --\x3e \x3c!-- /ko --\x3e","dx-treelist-item-ellipsis":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="styleunit: padding, click: events.click"> <div class="dx-treelist-collapsedbutton"></div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent"> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-ellipsis-text dxd-text-accented dxd-hyperlink-color" data-bind="text: text"></div> </div> </div> </div> </div>',"dx-treelist-item":"\x3c!-- ko if: visible --\x3e \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: templates.accordionItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: templates.headerItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-treelist-accordion-item":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }"> \x3c!-- ko template: templates.headerItem --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-item-actions-container":'<div class="dx-treelist-action-container" data-bind="visible: isSelected || isHovered, click: function(s, e) { e.stopPropagation(); }"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item":'<div role="treeitem" class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted dx-accessibility-treelist-item dx-accessibility-focus-border-accented" data-bind="event: events, click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, styleunit: padding, draggable: isDraggable ? dragDropHandler : null, css: cssRules, attr: attr"> \x3c!-- ko if: hasItems--\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-caption" data-bind="style: { \'padding-left\': hasItems ? \'0px\': \'18px\' }"> \x3c!-- ko if: actions && actions.length > 0 --\x3e \x3c!-- ko template: templates.actionsContainer --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-treelist-item-text-content":'<div class="dx-treelist-text-wrapper"> \x3c!--ko if: searchModel.searchEnabled --\x3e <div class="dx-treelist-text dx-highlighted-search-text" data-bind="searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!--ko ifnot: searchModel.searchEnabled --\x3e <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item-caption-content":'\x3c!-- ko if: isLoading && data && data.specifics === \'ListSource\' --\x3e <div class="dx-treelist-image dx-treelist-image-loading"> <div data-bind="dxLoadIndicator: { visible: true, width: 16, height: 16 }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isLoading && data && data.specifics === \'ListSource\' --\x3e <div class="dx-treelist-image" data-bind="css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> \x3c!-- /ko --\x3e \x3c!-- ko template: templates.itemTextContent --\x3e \x3c!-- /ko --\x3e',"dx-treelist-item-with-hover":'<div data-bind="visible: visible"> \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: "dx-treelist-accordion-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-accordion-item-with-hover":'<div data-bind="dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }"> \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-header-item-with-hover":'<div class="dx-background-inheritor dxd-back-highlighted dxd-state-selected"> <div class="dx-treelist-item dx-fontsize-reestablished dxd-list-item-back-color" data-bind="event: events, click: toggleSelected, draggable: isDraggable ? dragDropHandler : null, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected dxd-back-secondary\': isSelected || isMultiSelected }"> <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed, style: { \'visibility\': hasItems ? \'visible\' : \'hidden\' }"></div> <div class="dx-treelist-caption"> \x3c!-- ko if: actions && actions.length > 0 --\x3e <div class="dx-treelist-action-container" data-bind="visible: isSelected || isHovered, click: function(s, e) { e.stopPropagation(); }"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent"> <div class="dx-treelist-image" data-bind="css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div> </div> </div> </div>',"dx-treelist":'<div role="group" class="dx-treelist dxd-text-primary"> \x3c!-- ko foreach: items --\x3e \x3c!-- ko lazy: { resolver: resolver, innerBindings: { template: templateName } } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !collapsed --\x3e \x3c!-- ko template: { name: \'dx-treelist\' } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-search-panel":"<div class=\"dxrd-treelist-search-panel\" data-bind=\"dxTextBox: { mode: 'search', value:value, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}\"></div>"});const xc=DevExpress.events;function fc(e,t){const i=V(e),s=i.find(".dx-accordion-content"),r=i.find(".dx-accordion-header,.dx-accordion-button").get(0),a=()=>t.getCollapsed?t.getCollapsed():Gt.unwrap(t.collapsed);xc.off(r,"dxclick");const n=function(){const e=!Gt.unwrap(t.alwaysShow)&&!Gt.unwrap(a());t.setCollapsed?t.setCollapsed(e):Gt.isSubscribable(t.collapsed)&&t.collapsed(e),i.addClass("dx-transition-style"),a()&&i.addClass("dx-accordion-collapsed"),setTimeout(()=>{i.removeClass("dx-accordion-collapsed"),a()||i.removeClass("dx-transition-style")},500)};xc.on(r,"dxclick",n),a()?s.hide():s.show();const o=()=>{a()?s.slideUp(t.timeout,()=>{}):s.slideDown(t.timeout,()=>{})};if(Gt.isSubscribable(t.collapsed)){const e=t.collapsed.subscribe(()=>o());return()=>{xc.off(r,"dxclick",n),e.dispose()}}if(t.setCollapsedChangedEvent){const e=t.setCollapsedChangedEvent(()=>o());return()=>{xc.off(r,"dxclick",n),e()}}throw Error("Not working!")}os.bindingHandlers.dxPropertyGrid={init:function(e,t,i,s,r){V(e).empty();const a=Xt("dx-propertieseditor"),n=V(e).append(a),o=t(),d=new bo(o.target,o.editorsInfo,o.level,o.parentDisabled,o.recreateEditors,o.textToSearch);return e.setAttribute("role","tree"),os.cleanNode(n.children()[0]),os.applyBindings(r.createChildContext(d.getViewModel()),n.children()[0]),Et(e,function(){d.dispose()}),{controlsDescendantBindings:!0}}},os.virtualElements.allowedBindings.lazy=!0,os.bindingHandlers.lazy={init:function(e,t,i,s,r){let a=t();const n=a.resolver||pa,o=a.withPriority||!1,d=a.isResolved;a.innerBindings&&(a=a.innerBindings);let l=!1,u=[];return Object.keys(a||{}).forEach(t=>{const c=a[t],p=os.bindingHandlers[t],h=()=>{if(!l){let t=!1;const a=os.computed({read:()=>{!t&&p.init&&(p.init(e,()=>c,i,s,r),t=!0),p.update&&os.unwrap(s?.visible??!0)&&p.update(e,()=>c,i,s,r)},disposeWhenNodeIsRemoved:e}).extend({rateLimit:{timeout:20,method:"notifyWhenChangesStop"}});d&&d(!0),Et(e,()=>a.dispose())}};os.unwrap(s?.visible??!0)?u.push(n.execute(()=>{h()},{timeOut:1,priority:o?la.High:la.Low})):(d&&d(!0),o?u.push(n.execute(()=>{h()},{timeOut:1,priority:la.Low})):h())}),Et(e,function(){l=!0,u.forEach(e=>e.dispose()),u=[]}),{controlsDescendantBindings:!0}}},os.bindingHandlers.dxdAccordion={init:function(e,t){const i=fc(e,t());Et(e,()=>{i&&i(),os.cleanNode(e)})}},os.bindingHandlers.dxdAccordionExt={init:function(e,t,i,s,r){const a=t(),n=V(e),o=n.find(".dx-accordion-content").eq(0);let d=null;a.collapsed&&!0===a.lazyContentRendering&&(d=o.html(),o.empty());const l=e=>{!e&&d&&(o.html(d),os.cleanNode(o.get(0)),os.applyBindingsToDescendants(r,o.get(0)),d=null),o.slideToggle(a.timeout,()=>{})};if(os.isSubscribable(a.collapsed)){const t=a.collapsed.subscribe(e=>l(e));Et(e,()=>t.dispose())}else{if(!a.setCollapsedChangedEvent)throw Error("Not working!");{const t=a.setCollapsedChangedEvent(e=>l(e));Et(e,()=>t())}}Et(e,()=>os.cleanNode(e)),a.collapsed?o.hide():o.show()}},os.bindingHandlers.dxLocalizedSelectBox={init:function(e,t,i,s,r){const a=os.computed(()=>{const e=(e=>{const t=e.displayExpr;return e.placeholder=e.placeholder||Ie(),e.noDataText=e.noDataText||Se(),e.encodeNoDataText=!0,e.displayExpr=function(e){return e?Rt(t?ge(t)?t(e):e[t]:e,e.localizationId):e},e.itemTemplate=function(t,i,s){const a=r.createChildContext({display:e.displayExpr(t)});V(s).empty();const n=Xt("item-with-title"),o=V(s).append(n);return os.cleanNode(o[0]),os.applyBindingsToDescendants(a,o[0]),s},e.useLocalizedTextAsValue&&(e.valueExpr=e.displayExpr),e})(t()||{});return e.displayCustomValue||(e.value=s.value),s.getOptions?s.getOptions(e):e});return Et(e,()=>a.dispose()),os.bindingHandlers.dxSelectBox.init(e,a,i,s,r),{controlsDescendantBindings:!0}}},os.bindingHandlers.styleunit={update:function(e,t){const i=os.utils.unwrapObservable(t()||{});Object.keys(i||{}).forEach(t=>{let s=i[t];s=os.utils.unwrapObservable(s)||0,e.style[t]=s+"px"})}},os.bindingHandlers.service={init:function(e,t,i,s,r){const a=(e=>{if(s[e])return s[e];const t=r.$parents.filter(t=>void 0!==t[e])[0];return t?t[e]:null})(os.unwrap(t()||{}).name),n=a&&a(s);if(n){const t=r.createChildContext(n.data);os.renderTemplate(n.templateName,t,{},e,"replaceNode")}}};class vc extends xo{_getEditorValidationRules(){return(super._getEditorValidationRules()||[]).concat(_n()).concat(this.nullable?[]:Cn())}get nullable(){return Gt.unwrap(this.editorOptions?.showClearButton)}}const bc={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:ls.getEditor("combobox"),values:Xo,editorOptions:{searchEnabled:!0}},yc={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:ls.getEditor("numeric")},_c={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:ls.getEditor("combobox"),valuesArray:vu},Cc=[bc,yc,_c,{propertyName:"modificators",editor:ls.getEditor("modificators")}];class wc extends yo{constructor(e,t,i,s){super(e,t,i,s)}createObjectProperties(){const e=new bu(this.value);return this._disposables.push(e),new bo(os.observable(e),{editors:Cc},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}os.bindingHandlers.focus={init:function(e,t){const i=(t().on||t()).subscribe(t=>{t&&setTimeout(()=>{V(e).find(":input").focus()},1)});Et(e,function(){i.dispose()})}},os.bindingHandlers.svgAttrs={update:function(e,t,i,s){e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink")}},os.bindingHandlers.dxEditorPopupTemplate={init:function(e,t){const i=t(),s=Xt(i.templateName);if(s){const t=document.createElement("div");t.innerHTML=s;Zn(e).append(t),os.applyBindings(i.data,t),Et(e,function(){setTimeout(()=>t.remove(),1)})}}};const Ac=It(!0);function Ec(e,t){let i=0,s=0;const r=t.split("\n");let a=r[1];const n=r[2].length;return 0===a.indexOf("...")&&(a=a.split("...")[1]),i=e.indexOf(a),s=i+n,{start:i,end:s}}class Ic extends Zl{dispose(){super.dispose(),this.koOptions(null),this.editorContainer(null),this.options=null}_getTextArea(e){const t=V(e);return t&&t.parents(".dx-expressioneditor").find(":input")[0]}_createToolsOptions(e,t,i){return{itemsProvider:t,selectedPath:os.observable(""),path:os.observable(e),templateName:"dx-ee-treelist-item",treeListController:i,rtl:this.rtl}}_parametersCustomFilter(e){return"parameters"===e.specifics||e.specifics===el||!Yn(e)}constructor(e,t,i=os.observable(!1),s=!1,r,a=os.observable(!1),n){if(super(),this.options=e,this._displayNameProvider=r,this.popupVisible=a,this._updateTextAreaValue=(e,t)=>{const i=this._getTextArea(t),s=this.textAreaValue().toString(),r=i&&i.selectionStart||s.length,a=" "==s[r-1]?(e.val||e.text||e)+" ":" "+(e.val||e.text||e)+" ";if(this.textAreaValue([s.slice(0,r),a,s.slice(r)].join("")),i&&i.setSelectionRange){i.focus();const e=r+(-1!==a.indexOf("(")?a.indexOf("(")+1:a.length);i.setSelectionRange(e,e)}},this._updateAceValue=e=>{const t=this.editorContainer(),{row:i,column:s}=t.getCursorPosition();let r=(e.val||e.text||e)+" ";s&&" "!==t.getSession().getValue().split("\n")[i][s-1]&&(r=" "+r),t.insert(r),t.focus(),Kn(e.paramCount,t,r)},this._updateValue=(e,t)=>{this.aceAvailable?this._updateAceValue(e):this._updateTextAreaValue(e,t)},this.patchFieldName=e=>e,this._parametersPutSelectionHandler=(e,t)=>{const i=e.split("."),s="?"+this.patchFieldName(i[i.length-1]);this._updateValue(s,t)},this._fieldsPutSelectionHandler=(e,t)=>{const i=this.koOptions.peek().path.peek(),s=e.substring(i.length+1),r="["+this.patchFieldName(s)+"]";this._displayNameProvider?this.displayExpressionConverter.toDisplayExpression(i,r).done(e=>{this._updateValue(e,t)}).fail(()=>{this._updateValue(r,t)}):this._updateValue(r,t)},this.title=()=>Rt("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption"),this.value=os.observable(""),this.textAreaValue=os.observable(""),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{const s=os.computed(()=>i.koOptions()&&os.unwrap(i.koOptions().path)||""),r=os.computed(()=>i.koOptions()&&os.unwrap(i.koOptions().functions)||[]),a=new rl({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider,path:s,functions:r,rootItems:i.options.rootItems,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||(new L).resolve(t).promise()});return[s,r].forEach(e=>a._disposables.push(e)),[a]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},this.additionalOptions={onChange:e=>{const t=e.getValue();try{const i=zn.parse(t);this.koOptions().validate&&this.isValid(this.koOptions().validate(i)),e.clearAnnotations()}catch(t){const i=t.hash&&t.hash.line||0,s=0,r=t.message.split("\n"),a=r[1]+"\n"+r[2];e.setAnnotations([{row:i,column:s,text:a,type:"error"}])}},setUseWrapMode:Ac()},this.callbacks={focus:()=>{}},this.koOptions=os.observable(null),this.isValid=os.observable(!0),this.rtl=!1,this.modelValueValid=os.computed(()=>{const e=this.koOptions();return!e||!os.isObservable(e.isValid)||e.isValid()}),this.modelValueWarning=os.computed(()=>{const e=this.koOptions();return e&&os.unwrap(e.warningMessage)||""}),this.getPopupContainer=Zn,this.showAISparkle=os.observable(!1),this.koOptions(e),this.patchFieldName=e=>this.koOptions().patchFieldName&&this.koOptions().patchFieldName(e)||e,this.theme=this.koOptions()&&this.koOptions().theme,this._disposables.push(this.value=os.computed({read:()=>{const e=this.koOptions()&&os.unwrap(this.koOptions().value);return e&&e.toString()||""},write:e=>this.koOptions()&&this.koOptions().value(e)})),r&&e.path){this.displayExpressionConverter=new ml(r);const e=os.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path());this.displayValue=il(e,this.value,this.displayExpressionConverter,this._disposables),this._disposables.push(e)}else this.displayValue=this.value;this.rtl=s,this.validate=(e,t)=>{try{return zn.parse(e),this.isValid(!0),!0}catch(i){const s=Ec(e,i.message),r=this._getTextArea(t&&t.element);r&&r.setSelectionRange(s.start,s.end),this.isValid(!1)}},this._disposables.push(this.popupVisible.subscribe(e=>{e?this.initDisplayValue():this.editorContainer(null)}));const o=os.computed(()=>this.koOptions()&&this.koOptions().fieldName&&this.koOptions().fieldName());this._disposables.push(this.fieldListProvider=function(e,t){return os.computed(()=>{const i=os.unwrap(e),s=os.unwrap(t);return s?{getItems:e=>{const t=new L;return i.getItems(e).done(e=>{t.resolve(e.filter(e=>e.name!==s))}).fail(()=>t.reject()),t.promise()},getValues:e=>i.getValues(e)}:i})}(t,o)),this.disabled=i;this.save=e=>{const t=this.getValue();this.validate(t,e)&&(this.displayValue(t),this.popupVisible(!1))};let d=null;const l=e=>{os.unwrap(e.data.type);d&&(d.isSelected=!1),d=e,e.isSelected=!0},u=os.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()&&this._createToolsOptions(this.koOptions().path(),this.fieldListProvider(),new Eu(o,(e,t)=>{this._fieldsPutSelectionHandler(e.path,t)},l)));this.parametersTreeListController=new Iu(this._parametersCustomFilter,this._parametersPutSelectionHandler,l);const c=os.pureComputed(()=>this._createToolsOptions("",this.fieldListProvider(),this.parametersTreeListController));this._disposables.push(this.tools=new wu(this._updateValue,c,this.koOptions,u)),this._disposables.push(this.modelValueValid,this.modelValueWarning),[o,u,c].forEach(e=>this._disposables.push(e)),this.resizeHelper=new pc({onResize:()=>this.resizeAceEditor()}),this.editorInputId=n}onShown(){this.notifyResizeListeners(),this.callbacks.focus()}onHiding(e){const t=this.koOptions();return t&&t.onHiding&&t.onHiding(e)}onShowing(e){const t=this.koOptions();return t&&t.onShowing&&t.onShowing(e)}onContentReady(e){const t=this.koOptions();return t&&t.onContentReady&&t.onContentReady(e)}initDisplayValue(){this.tools.resetCategoriesSelection&&this.tools.resetCategoriesSelection(),this.setCriteriaValue(this.displayValue())}getValue(){let e=this.textAreaValue();if(this.aceAvailable){const t=this.editorContainer(),i=t&&t.getSession();e=i&&i.getValue()}return e}setCriteriaValue(e){this.textAreaValue(e),super.setCriteriaValue(e),this.aceAvailable||this.validate(this.value())}getEditorContext(){const e={isFilter:!1,value:this.getValue()};return this.options.customizeContext?.(e),e}}os.bindingHandlers.dxExpressionEditor={init:function(e,t,i,s,r){let a=V(e);a.empty();const n=t();V(e).addClass(n.wrapper?"dx-expressioneditor-content":"dx-popup-general");const o=n.editorTemplateName||"dx-expressioneditor";let d=null,l=new Ic(os.unwrap(n.options),n.fieldListProvider,s.disabled,V(e).closest(".dx-rtl").length>0,n.displayNameProvider,n.popupVisible,s.editorInputId);os.isSubscribable(n.options)&&(d=n.options.subscribe(e=>{e&&l.koOptions(e)})),n.wrapper&&n.wrapper.editor(l);const u=r.createChildContext(l),c=document.createElement("div");a=a.append(c),os.renderTemplate(o,u,{},c,"replaceNode");return Et(e,()=>{l.dispose(),l=null,n.wrapper&&n.wrapper.editor(null),d&&d.dispose()}),{controlsDescendantBindings:!0}}};class Sc extends x{constructor(e,t,i){super(),this.model=e,this.buttons=os.pureComputed(()=>[{name:"send",location:"after",options:{icon:"send",stylingMode:"text",type:"default",disabled:this.generationDisabled(),onClick:this.generateAndApplyExpression,visible:!this.isLoading(),hint:"Generate and Apply",elementAttr:{"aria-label":"Generate and Apply"}}},{name:"stop",location:"after",options:{text:"Stop",stylingMode:"text",type:"danger",onClick:this.reset,visible:this.isLoading()}}]),this.applyDisabled=os.observable(!0),this._promptPlaceholder=_e("Ask to generate an expression...","StringId.AIInputSuggestExpression"),this.isLoading=os.observable(!1),this.expressionInNL=os.observable(""),this.generatedExpressionResult=os.observable(""),this.handleUri=t,this.errorCallback=i,this.addDisposable(this.generationDisabled=os.pureComputed(()=>this.isLoading()||0===this.expressionInNL().length))}reset(){this.dxGenerateExpressionDeferred?.resolve({canceled:!0}),this.isLoading(!1),this.generatedExpressionResult("")}initialize(e){return this.reset(),this.expressionInNL(""),this.editor=e,this}getLoadPanelOptions(e){const t=this.getLoadingPanelContainer(e);return{visible:this.isLoading,position:{of:t},container:t,wrapperAttr:{class:"dxrd-ai-expression-loading-panel"}}}getLoadingPanelContainer(e){return Zn(e,".dxrd-ai-expression-loading-panel-container")}generateAndApplyExpression(){this.generateExpression().then(()=>{this.applyExpression()})}applyExpression(){if(!this.editor)return;const e=this.generatedExpressionResult();this.editor.setCriteriaValue(e),this.reset()}failRequestHandler(e){this.errorCallback?.(e)}generateExpression(){if(this.generationDisabled()||!this.editor)return;this.reset();const e=new L;this.dxGenerateExpressionDeferred=e,this.isLoading(!0),this.applyDisabled(!0);const t=this.model()?.serialize?.(),i=this.editor.getEditorContext(),s={prompt:this.expressionInNL(),reportLayoutJson:JSON.stringify({XtraReportsLayoutSerializer:t}),context:i};return pd(this.handleUri,"generateExpression",Qi(s)).then(t=>e.resolve(t),t=>e.reject(t)).always(()=>{this.isLoading(!1)}),e.then(e=>{e.canceled||(e.success?(this.generatedExpressionResult(e.text),this.applyDisabled(!1)):this.failRequestHandler(e.errorMessage))}).fail(e=>this.failRequestHandler(e))}dispose(){super.dispose(),this.errorCallback=null,this.dxGenerateExpressionDeferred?.reject(),this.dxGenerateExpressionDeferred=null}}const $c=DevExpress.ui.dxTextArea;var kc=e.n($c);class Pc extends Zl{_generateOperand(e){return this.options().helper.serializer.deserialize(e)}_generateSurface(e){let t=null;t=e instanceof $n?this.options().helper.mapper.unary:this.options().helper.mapper.group;const i=new t(e,this,this.fieldListProvider,this.path);if(i instanceof ju){if(!(i.model.operand instanceof Bn))return this.operand=new Bn(Pn.And,[this.operand]),i.dispose(),this._generateSurface(this.operand);i.operand().canRemove=!1}return i.canRemove=!1,i}_validateValue(e){try{return!(!this.options()||!this.options().helper)&&(this.options().helper.serializer.deserialize(e),!0)}catch(e){return!1}}constructor(e,t,i=!1,s,r){super(),this.options=e,this._displayNameProvider=s,this._advancedMode=os.observable(!1),this.onHiddenHandler=()=>{this.popupVisible(!1)},this.textFocused=os.observable(!1),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{const s=os.computed(()=>this.path&&this.path()),r=new oc({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider(),path:s,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||(new L).resolve(t).promise()});return r._disposables.push(s),[r]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},this.additionalOptions={onChange:e=>this.onValueChange(e.getValue()),changeTimeout:200,setUseWrapMode:!0,onFocus:e=>this.onFocus(),onBlur:e=>this.onBlur()},this.textVisible=os.observable(!1),this.getPopupContainer=e=>Zn(e,this.options().popupContainer),this.timeout=null,this.animationTimeout=null,this.advancedMode=os.computed({read:()=>this._advancedMode(),write:e=>{this.timeout&&clearTimeout(this.timeout),this.animationTimeout&&clearTimeout(this.animationTimeout),e?(this.textVisible(!0),this.timeout=setTimeout(()=>{this._advancedMode(!0),this.options().disabled()||this.focusText()},1),this.animationTimeout=setTimeout(()=>{this.editorContainer()&&this.editorContainer().resize&&this.editorContainer().resize()},210)):(this._advancedMode(!1),this.timeout=setTimeout(()=>{this.textVisible(!1)},200))}}),this.invalidMessage=()=>Rt("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError"),this.advancedModeText=os.observable(Rt("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode")),this.operandSurface=os.observable(null),this.operand=null,this.popupService=new wo,this.rtl=i,this.initializeInnerValue(),e()&&e().helper&&(e().helper.rtl=i),this._disposables.push(this.disabled=os.computed(()=>os.unwrap(this.options()&&this.options().disabled()))),this.displayExpressionConverter=s&&new ml(s),this.save=()=>{if(this.helper.onSave(this.value()),this.operandSurface()&&this.isSurfaceValid()){const t=e().helper.serializer.serialize(this.operand,!1);this.options().value(t)}else this.options().value(this.value());this.popupVisible(!1)},this.displayValue=il(this.path,this.value,this.displayExpressionConverter,this._disposables);const a=os.computed({read:()=>{const e=this.options();return e&&e.value()},write:e=>{const t=this.options();t&&t.value(e)}});this.modelDisplayValue=il(this.path,a,this.displayExpressionConverter,this._disposables),this.fieldListProvider=t,this.modelValueIsValid=os.computed(()=>e()&&this._validateValue(e().value())),this.isValid=os.computed(()=>this._validateValue(this.value())),this.isSurfaceValid=os.computed(()=>{try{return this.options()&&this.isValid()&&this.options().helper.criteriaTreeValidator.validateModel(this.options().helper.serializer.deserialize(this.value()))}catch(e){return!1}}),this._disposables.push(a),this._disposables.push(this.modelValueIsValid),this._disposables.push(this.isValid),this._disposables.push(this.isSurfaceValid),this._disposables.push(this.popupVisible.subscribe(t=>{t?(this.value(this.options().value()),this.aiFilterGenerator=this.aiFilterGenerator?.initialize(this),this.isSurfaceValid()?(this.operand=this._generateOperand(this.value()),this.operandSurface(this._generateSurface(this.operand))):(this.textVisible(!0),this._advancedMode(!0),this.editorContainer()&&this.focusText()),e().helper.onChange=()=>{this.value(e().helper.serializer.serialize(this.operand,!1))}):(this.helper.onClosing(),this.value(null),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(null),this.operand=null)})),this.createAddButton=t=>e().helper.handlers.create(t,this.popupService),this.createChangeType=t=>e().helper.handlers.change(t,this.popupService),this.createChangeProperty=t=>e().helper.handlers.changeProperty(t,this.popupService),this.createChangeParameter=t=>e().helper.handlers.changeParameter(t,this.popupService),this.createChangeValueType=t=>e().helper.handlers.changeValueType(t,this.popupService),this._disposables.push(this.advancedMode),this.buttonItems.push({toolbar:"bottom",location:"before",widget:"dxCheckBox",options:{value:this.advancedMode,text:this.advancedModeText()}}),this.editorInputId=r}canSave(){return this.isValid()}initializeInnerValue(){this.value=os.observable("")}change(e,t){this.operand=pn.changeByType(e),this.operand.assignFrom(t.model);let i=null;i=this.operand instanceof $n?this.options().helper.mapper.unary:this.options().helper.mapper.group;const s=new i(this.operand,this,this.fieldListProvider,this.path);s.canRemove=!1,s instanceof ju&&(s.operand().canRemove=!1),this.operandSurface(s)}get helper(){return this.options()&&this.options().helper}get path(){return this.options()&&this.options().path}dispose(){super.dispose(),this.editorContainer(null),this.operandSurface()&&this.operandSurface().dispose()}onInput(e,t){const i=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{i.onValueChange(e.component.option("text"))},200)}onFocus(){this.textFocused(!0)}onBlur(){this.textFocused(!1),this.helper.onEditorFocusOut(this.operand)}cacheElement(e){this.editorContainer(kc().getInstance(e))}updateCriteria(){if(this.isSurfaceValid()){(this.operand&&this.options().helper.serializer.serialize(this.operand,!1))!==this.value()&&(this.operand=this._generateOperand(this.value()),this.operandSurface()&&this.operandSurface().dispose(),this.operandSurface(this._generateSurface(this.operand)))}}onValueChange(e){this.displayValue()!==e.trim()&&(this.displayValue(e),this.displayExpressionConverter?this.displayExpressionConverter.toRealExpression(this.path(),e).done(e=>{this.value(e),this.updateCriteria()}).fail(()=>{this.value(e),this.updateCriteria()}):this.updateCriteria())}focusText(){const e=e=>{setTimeout(t=>{e.renderer&&e.renderer.updateText(),e.focus()},1)};if(this.editorContainer())e(this.editorContainer());else{const t=this.editorContainer.subscribe(i=>{t.dispose(),e(i)})}this.notifyResizeListeners()}setCriteriaValue(e){super.setCriteriaValue(e),this.onValueChange(e)}getEditorContext(){return{isFilter:!0,value:this.value()}}get cancelLocalization(){return Rt("Cancel","StringId.Cancel")}get saveLocalization(){return Rt("OK","StringId.OK")}}os.bindingHandlers.dxFilterEditor={init:function(e,t,i,s){const r=t(),a=Xt(r.templateName||"dx-filtereditor"),n=V(e).empty().addClass("dx-popup-general").append(a),o=os.observable(os.unwrap(r.fieldListProvider)),d=[],l=os.computed(()=>os.unwrap(r.options));d.push(os.computed(()=>{l()&&l().itemsProvider?o(os.unwrap(l().itemsProvider)):o(os.unwrap(r.fieldListProvider))})),d.push(os.computed(()=>{r.getDisplayNameByPath&&l()&&l().helper&&!l().helper.getDisplayPropertyName&&(l().helper.getDisplayPropertyName=r.getDisplayNameByPath)}));const u=new Pc(l,o,n.closest(".dx-rtl").length>0,r.displayNameProvider,s.editorInputId);return r.aiExpressionGenerator&&(u.aiFilterGenerator=r.aiExpressionGenerator.initialize(u)),r.popupVisible&&(u.popupVisible(r.popupVisible()),d.push(u.popupVisible.subscribe(e=>{r.popupVisible(e)})),d.push(r.popupVisible.subscribe(e=>{u.popupVisible(e)}))),os.applyBindingsToDescendants(u,n.children()[0]),Et(n.children()[0],()=>{d.forEach(e=>e.dispose()),l.dispose(),u.dispose()}),{controlsDescendantBindings:!0}}};class Tc extends Pc{constructor(e,t,i,s=!1,r){super(t,i,s,r),this.element=e,this.advancedModeTop=()=>-1!==this.advancedModePosition.indexOf("Top"),this.advancedModeLeft=()=>-1!==this.advancedModePosition.indexOf("Left"),this.advancedModePosition="TopRight",this.advancedModePosition=t().advancedModePosition}initializeInnerValue(){if(this.options().realTimeUpdate){this.value=this.options().value;let e=null;this._disposables.push(this.value.subscribe(()=>{e&&clearTimeout(e),e=setTimeout(()=>{this.updateCriteria()},100)}))}else super.initializeInnerValue()}getCheckBoxStyles(){const e={};return this.advancedModeTop()?e.top="0px":e.bottom="0px",this.advancedModeLeft()?e.left="0px":e.right="0px",e}getContentStyles(){const e={pointerEvents:this.options().disabled()?"none":""};return this.advancedModeTop()||(e.top="0px"),e}getTextCssClasses(){return{advanced:this.advancedMode(),"dx-filtereditor-text-container-bottom":!this.advancedModeTop(),"dx-filtereditor-text-container-top":this.advancedModeTop()}}}os.components.register("dx-filtereditor-plain",{viewModel:{createViewModel:(e,t)=>{const i=new Tc(t.element,e.options,os.observable(e.fieldListProvider),void 0,e.displayNameProvider);return i.popupVisible(!0),i}},template:Xt("dx-filtereditor-plain")}),os.components.register("dx-filtereditor-advanced",{viewModel:{createViewModel:(e,t)=>{const i=new Pc(e.options,os.observable(e.fieldListProvider),void 0,e.displayNameProvider);return i.advancedMode(!0),i.popupVisible(!0),e.options().value.subscribe(()=>{i.popupVisible(!1),i.popupVisible(!0)}),i}},template:Xt("dx-filtereditor-advanced")}),os.bindingHandlers.cacheElement={init:function(e,t,i,s,r){t().action(e)}};class Dc{constructor(e,t,i,s){this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=()=>{this.value("")},this.title=os.pureComputed({read:()=>{const e=this._title();return Rt(e.text,e.localizationId)},write:e=>{this._title({text:e})}}),this.value=e,this.path=t||os.observable(""),this.disabled=i||os.observable(!1);const r=ac();this.helper=new r,this._title=os.observable(s||{text:Rt("Filter Editor","DataAccessUIStringId.FiltersView")})}}class Fc extends Dc{constructor(){super(...arguments),this.realTimeUpdate=!0,this.advancedModePosition="TopRight"}}class Bc extends x{okAction(){const e=this.isGeneralType?this._getGeneralPreview("{0}"):this._wrapFormat();this.option("value",e),this.popupVisible(!1)}_createMainPopupButtons(){const e=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Rt("OK",Kd.DataAccessBtnOK),type:"default",stylingMode:"contained",disabled:this._isDisabled,onClick:function(){e.okAction()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Rt("Cancel",Kd.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){e.popupVisible(!1)}}}]}_convertArray(e,t){return e.map(e=>({name:e,displayName:Rt(e),canRemove:!!t}))}_convertTypes(e){return Object.keys(e).map(t=>({name:t,displayName:Rt(t,e[t].localizationId),canRemove:!1}))}_scrollToBottom(){const e=V(".dx-format-string .dx-format-string-formats").find(".dx-scrollview:visible"),t=zr().getInstance(e.get(0));t&&t.scrollTo&&t.scrollTo(t.scrollHeight())}_updateFormatList(){this.selectedFormats([]);const e=this._standardPatternSource[this.currentType()];this.patternList(this._convertArray(e.patterns).concat(this._convertArray(this.customPatterns,!0)))}_updateSelection(e){const t=this.patternList()[e||0];t&&(this.selectedFormats([t]),this.formatResult(t.name))}_setPreviewString(e){this.previewString(e),this._isDisabled(!1)}_setErrorMessage(e){this.previewString(Rt("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text")),this._isDisabled(e)}_updatePreview(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(()=>{if(this.isGeneralType)return void this.previewString(this._getGeneralPreview(void 0));const e=this._standardPatternSource[this.currentType()],t=this.updatePreview(e.value,e.type,this._wrapFormat());this._lastUpdatePreviewPromise=t,t.done(e=>{this._lastUpdatePreviewPromise===t&&(e.Result?this._setPreviewString(e.Result):this._setErrorMessage(e.IsError))}).fail(e=>{this._lastUpdatePreviewPromise===t&&this.previewString(Rt("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))})},100)}_getGeneralPreview(e="###"){return this.formatPrefix()+e+this.formatSuffix()}_wrapFormat(e){const t=e||this.formatResult();return t&&-1!==t.indexOf("{0:")?t:t?"{0:"+t+"}":""}_updateCanAddCustomFormat(e){if(!e)return void this.canAddCustomFormat(!1);let t=!0;Object.keys(this._standardPatternSource).some(i=>(t=-1===this._standardPatternSource[i].patterns.indexOf(e),!t)),this.canAddCustomFormat(t?-1===this.customPatterns.indexOf(e):t)}_initEditor(e){if(!e)return void this.setType({itemData:this.types[0]});if(-1!==e.indexOf("{0}"))return this.currentType("General"),this.formatPrefix(e.substring(0,e.indexOf("{0}"))),void this.formatSuffix(e.substring(e.indexOf("{0}")+3));const t=e.indexOf("{0:"),i=e.indexOf("}",t),s=e.substring(t+3,i);let r;const a=a=>{this.currentType(a),0===t&&i===e.length-1&&(this.selectedFormats(this.patternList().filter(e=>e.name===s)),this.formatResult(s),r=!0)};Object.keys(this._standardPatternSource).some(e=>{if(-1!==this._standardPatternSource[e].patterns.indexOf(s))return a(e),!0;const t=this._customPatternSource[this._standardPatternSource[e].type];return!(!t||-1===t.indexOf(s))&&(a(e),!0)}),r||(this.currentType(this.types[0].name),this.selectedFormats([]),this.formatResult(e))}constructor(e,t,i,s,r,a,n){super(),this._isDisabled=os.observable(!1),this._timeout=null,this.onHiddenHandler=()=>{this.popupVisible(!1)},this.currentType=os.observable(),this.patternList=os.observableArray([]),this.canAddCustomFormat=os.observable(!1),this.formatPrefix=os.observable(""),this.formatSuffix=os.observable(""),this.previewString=os.observable("Preview string"),this.formatResult=os.observable(""),this.selectedFormats=os.observable([]),this.selectedTypes=os.observable([]),this.popupVisible=os.observable(!1),this.localizationIdMap={title:{text:"FormatString Editor",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Title"},category:{text:"Category",localizationId:"AnalyticsCoreStringId.Category"},preview:{text:"Preview",localizationId:"AnalyticsCoreStringId.TooltipButtons_Preview"},types:{text:"Types",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Types"},add:{text:"Add",localizationId:"DataAccessUIStringId.Button_Add"},prefix:{text:"Prefix",localizationId:"AnalyticsCoreStringId.Prefix"},suffix:{text:"Suffix",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Suffix"}},this.option("value",e),this.option("disabled",t||!1),this.option("rtl",a||!1),this.option("popupContainer",n||".dx-designer-viewport");const o=this;this.popupService=new wo,this._standardPatternSource=i||dc,this._customPatternSource=s||{},this.types=this._convertTypes(this._standardPatternSource),this._disposables.push(this.currentType.subscribe(e=>{o.isGeneralType?(o.formatResult(""),o.selectedFormats([])):o._updateFormatList()})),this.currentType(this.types[0].name),this._disposables.push(this.formatResult.subscribe(e=>{o._updateCanAddCustomFormat(e),o._updatePreview()})),this._disposables.push(this.formatPrefix.subscribe(e=>{o._updatePreview()})),this._disposables.push(this.formatSuffix.subscribe(e=>{o._updatePreview()})),this._disposables.push(this.popupVisible.subscribe(t=>{t&&(o._initEditor(e()),o.selectedTypes(o.types.filter(e=>e.name===o.currentType())))})),this._createMainPopupButtons(),r&&r.updatePreview&&(this.updatePreview=r.updatePreview),this.setType=e=>{o.currentType(e.itemData.name),o._updateSelection()},this.setFormat=e=>{o.formatResult(e.itemData.name)},this.addCustomFormat=()=>{o.formatResult()&&o.canAddCustomFormat()&&(o.customPatterns.push(o.formatResult()),o._updateFormatList(),o._scrollToBottom(),r&&r.saveCustomPattern(o.currentType(),o.formatResult()),o._updateSelection(o.patternList().length-1),o.canAddCustomFormat(!1))},this.removeCustomFormat=e=>{const t=o.selectedFormats()[0],i=o.patternList(),s=i.map(e=>e.name).indexOf(e.name);o.customPatterns.splice(o.customPatterns.indexOf(e.name),1),o._updateFormatList(),r&&r.removeCustomPattern(o.currentType(),e.name),t.name===e.name?o._updateSelection(s===i.length-1?o.patternList().length-1:s):o.selectedFormats(o.patternList().filter(e=>e.name===t.name))}}updateInputText(e,t){this[e](t.option("text"))}option(e,t){return void 0!==t&&(os.isObservable(this[e])?this[e](t):this[e]=t),os.unwrap(this[e])}updatePreview(e,t,i){return(new L).resolve({Result:e||"preview string"}).promise()}get customPatterns(){const e=this._standardPatternSource[this.currentType()];return this._customPatternSource[e.type]=this._customPatternSource[e.type]||[]}get isGeneralType(){return"General"===this.currentType()}getDisplayText(e){return Rt(this.localizationIdMap[e].text,this.localizationIdMap[e].localizationId)}getPopupContainer(e){return V(e).closest(this.option("popupContainer"))[0]}}os.bindingHandlers.dxFormatEditor={init:function(e,t){V(e).empty(),V(e).addClass("dx-popup-general");const i=Xt("dx-format-string"),s=V(e).append(i),r=t(),a=new Bc(r.value,r.disabled,r.standardPatterns,r.customPatterns,r.actions,r.rtl,r.popupContainer);return os.applyBindings(a,s.children()[0]),Et(e,function(){a.dispose()}),{controlsDescendantBindings:!0}}};class Oc extends xo{constructor(e,t,i,s,r,a,n){super(e,t,i,s,r,a,n)}_checkBoxInitializedHandler(e){const t=e.jquery||e.dxRenderer?e[0]:e,i=t?.closest(".dx-field")?.getElementsByTagName("label"),s=Array.from(i).filter(e=>e.getAttribute("data-dx-for")===this.editorInputId)[0];if(s){this._disposeLabelSubscription&&this._disposeLabelSubscription();const e="click",i=()=>t.dispatchEvent(new Event(e));s.addEventListener(e,i),this._disposeLabelSubscription=()=>{s.removeEventListener(e,i),this._disposeLabelSubscription=void 0},Et(s,()=>this._disposeLabelSubscription&&this._disposeLabelSubscription())}}getOptions(e){const t=this._get("info","peek").editor.extendedOptions,i={onInitialized:e=>this._checkBoxInitializedHandler(e.element)};return xe(!0,{},e,this.editorOptions,t,i)}}class Mc extends xo{createViewModel(){const e=Zs(super.createViewModel()).generateProperty("displayValue",this.unwrap(this.displayValue)).getViewModel();return this.subscribeOnChanges(e,["displayValue"]),e}constructor(e,t,i,s,r,a,n){super(e,t,i,s,r,a,n),this.addDisposable(this.createComputedProperty("displayValue",{read:()=>{const e=this._get("value");if(!e)return;if(e&&"transparent"===e.toLowerCase())return"rgba(0,0,0,0)";if(/^rgba\s*\((\s*[a-f\d]+\s*,){3}\s*[a-f\d]+\s*\)$/i.test(e))return e;const t=document.createElement("div");return t.style.backgroundColor=e,t.style.backgroundColor||"rgba(0,0,0,1)"},write:e=>{this._set("value",e)}},[gt(this,["value"])]))}}class Nc extends xo{createViewModel(){const e=Zs(super.createViewModel()).generateProperty("path",os.unwrap(this.path)).generateProperty("treeListController",this.treeListController).generateProperty("getPath",()=>os.unwrap(this.path)).generateProperty("getDataMember",()=>os.unwrap(this.value)).getViewModel();return this.subscribeOnChanges(e,["path"]),e}constructor(e,t,i,s){super(e,t,i,s),this.path=os.pureComputed(()=>{const e=this._get("_model");return e&&e.getPath&&e.getPath(this.name)||""}),this.treeListController=new Au,this._disposables.push(this.path),this._disposables.push(this.treeListController)}}class Vc extends Nc{constructor(e,t,i,s){super(e,t,i,s),this.treeListController=new Jl,this._disposables.push(this.treeListController)}}let Lc=!1;let zc=!1;zc||(zc=!0,ls.registerEditors({bool:{header:"dx-boolean",editorType:Oc},boolSelect:{header:"dx-boolean-select"},numeric:{header:"dx-numeric"},modificators:{custom:"dx-modificators"},combobox:{header:"dx-combobox"},text:{header:"dx-text"},commonCollection:{custom:"dx-commonCollection"},objecteditor:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:yo}})),ls.registerEditors({comboboxEditable:{header:"dx-combobox-editable"},image:{header:"dx-image"},file:{header:"dx-file"},stringArray:{header:"dx-emptyHeader",content:"dx-string-array"},font:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:wc},inplaceObjectEditor:{custom:"dx-objectEditorContent",editorType:_o}}),Lc||(Lc=!0,ls.registerEditors({guid:{header:"dxrd-guid",editorType:vc},date:ru(Z.SystemDateTime),dateOnly:ru(Z.SystemDateOnly),timeOnly:ru(Z.SystemTimeOnly),nullableDate:{header:"dx-date"},customColorEditor:{header:"dxrd-colorpicker",editorType:Mc},sbyte:su(Z.SystemSByte,"integer"),decimal:su(Z.SystemDecimal,"float"),int64:su(Z.SystemInt64,"integer"),int32:su(Z.SystemInt32,"integer"),int16:su(Z.SystemInt16,"integer"),single:su(Z.SystemSingle,"float"),double:su(Z.SystemDouble,"float"),byte:su(Z.SystemByte,"integer"),uint16:su(Z.SystemUInt16,"integer"),uint32:su(Z.SystemUInt32,"integer"),uint64:su(Z.SystemUInt64,"integer")})),ls.registerEditors({borders:{header:"dxrd-borders"},textAlignment:{header:"dxrd-textalignment"},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:yo},field:{header:"dxrd-field",editorType:Nc},dataMember:{header:"dxrd-field",editorType:Vc},filterEditor:{header:"dxrd-filterstring"},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring"}});class Hc extends x{_getX(){return this.rtlLayout()&&this._container?this._container.rect().width-this._x()-this._width():this._x()}_setX(e,t){t=t||this._width(),this.rtlLayout()&&this._container?this._x(this._container.rect().width-e-t):this._x(e)}getRoot(){return this._context}preInitProperties(e,t,i){}constructor(e,t,i){super(),this._createSurface=e=>e.surface||new(e.getControlFactory().controlsMap[e.controlType].surfaceType)(e,this._context),this.preInitProperties(e,t,i),this._control=e,this._context=t,e.surface=this,this._context&&dd(e,this,i,this._context.measureUnit,this._context.zoom,e=>{this._disposables.push(e)}),this._x=this._x||os.observable(0),this._y=this._y||os.observable(0),this._width=this._width||os.observable(0),this._height=this._height||os.observable(0);const s=os.pureComputed(()=>this.container());this._disposables.push(s),this._container=s(),this._disposables.push(s.subscribe(e=>{if(this._container!==e&&this.rtlLayout()){const t=this._getX();this._container=e,this._setX(t)}else this._container=e}));const r=os.computed({read:()=>this._getX(),write:e=>{this._setX(e)}}),a=this._y,n=this._width,o=this._height;this.position={top:a,left:r,width:n,height:o,lineHeight:o},this._disposables.push(r);const d=os.observable();this._disposables.push(os.computed(()=>{if(!this._control.update()){const e={top:a(),left:r(),right:r()+n(),bottom:a()+o(),width:n(),height:o()},t=d();t&&!Object.keys(e).some(i=>t[i]!==e[i])||d(e)}})),this._disposables.push(this.rect=os.pureComputed({read:()=>d(),write:e=>{e=this.beforeRectUpdated(e),this._control.update(!0);try{void 0!==e.left?this._setX(e.left,e.width):void 0!==e.width&&this._setX(r(),e.width),void 0!==e.top&&a(e.top),void 0!==e.right&&void 0===e.left&&void 0===e.width&&n(e.right-r()),void 0!==e.bottom&&void 0===e.top&&o(e.bottom-a()),void 0!==e.right&&void 0!==e.left&&void 0===e.width&&n(e.right-e.left),void 0!==e.bottom&&void 0!==e.top&&o(e.bottom-e.top),void 0!==e.width&&n(e.width),void 0!==e.height&&o(e.height)}finally{this._control.update(!1)}}}))}container(){return this.parent}beforeRectUpdated(e){return e.left=e.left<0?0:e.left,e.top=e.top<0?0:e.top,e}rtlLayout(){return!!os.unwrap(this._context.rtl)}getControlModel(){return this._control}}class Rc extends Hc{constructor(e,t,i){if(super(e,t,i),this.focused=os.observable(!1),this.selected=os.observable(!1),this.underCursor=os.observable(new Cl),this.allowMultiselect=!0,this.absolutePosition=new sn(0,0),this.getControlModel=()=>e,this.cssCalculator=new ur(e,t.rtl),this._getChildrenHolderName()&&e[this._getChildrenHolderName()]){const t=os.observableArray();"controls"===this._getChildrenHolderName()?this._disposables.push(Ga(e[this._getChildrenHolderName()],t,this._createSurface)):this._disposables.push(Ua(e[this._getChildrenHolderName()],t,this._createSurface)),this[this._getChildrenHolderName()]=t,this._disposables.push(this.isSelected=os.pureComputed(()=>!(!this.focused()&&!this.selected())||t().some(e=>e.isSelected())))}else this._disposables.push(this.isSelected=os.pureComputed(()=>this.focused()||this.selected()));this._disposables.push(this.css=os.pureComputed(()=>xe({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.backGroundCss(),this.cssCalculator.textAlignmentCss()))),this._disposables.push(this.contentCss=os.pureComputed(()=>xe({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss(),this.cssCalculator.angle(),this.cssCalculator.wordWrapCss(),this.cssCalculator.lineSpacingCss(),this.cssCalculator.paddingsCss()))),this._disposables.push(os.computed(()=>{this.updateAbsolutePosition()})),this._disposables.push(this.absoluteRect=os.pureComputed(()=>{const e=this.rect(),t=this.absolutePosition.y(),i=this.absolutePosition.x();return{top:t,left:i,right:i+e.width,bottom:t+e.height,width:e.width,height:e.height}})),this.locked=!!e.lockedInUserDesigner&&e.lockedInUserDesigner()}_getParent(){return this.getControlModel().parentModel()&&this.getControlModel().parentModel().surface}get parent(){return this._getParent()}checkParent(e){return this.parent===e}_getChildrenHolderName(){return"controls"}getChildrenCollection(){return this._getChildrenHolderName()&&this[this._getChildrenHolderName()]||os.observableArray([])}updateAbsolutePosition(){if(this.parent&&this.parent.absolutePosition){const e=this.parent.absolutePosition.x(),t=this.parent.absolutePosition.y(),i=e+this.rect().left,s=t+this.rect().top;this.absolutePosition.x(i),this.absolutePosition.y(s)}else this.absolutePosition.x(0),this.absolutePosition.y(0);this.afterUpdateAbsolutePosition()}canDrop(){return!this.locked&&this._control.getMetaData().isContainer}afterUpdateAbsolutePosition(){}findNextSelection(){const e=this.parent;let t=e;if(e){const i=e.getChildrenCollection()(),s=i.indexOf(this);-1===s&&i.length>0?t=i[i.length-1]:i.length>1&&s===i.length-1?t=i[s-1]:i.length>1&&0===s||i.length>1?t=i[i.length-1]:-1===s&&t.parent&&-1===t.parent.getChildrenCollection()().indexOf(t)&&(t=t.findNextSelection())}return t}}class jc{getInfo(){return Us}constructor(e,t,i,s){this.bottom=os.observable(s),this.left=os.observable(e),this.right=os.observable(t),this.top=os.observable(i)}static fromString(e=jc.defaultVal){const t=e.split(",");return new jc(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]))}toString(){return this.left()+", "+this.right()+", "+this.top()+", "+this.bottom()}}jc.defaultVal="100, 100, 100, 100",jc.unitProperties=["left","right"];class Wc extends x{preInitProperties(e,t,i){}constructor(e,t,i){super(),this.preInitProperties(e,t,i),i&&(this.getInfo=()=>i),(t=t||new Da).deserialize(this,e,i)}getInfo(){return null}}function Gc(e,t){return e.height===t.height&&e.width===t.width}function Uc(e){be(e)}function qc(e){e.define("ace/theme/dreamweaver",["require","exports","module"],function(e,t,i){return i.isDark=!1,i.cssClass="ace-dreamweaver",i}),e.define("ace/theme/ambiance",["require","exports","module"],function(e,t,i){return i.isDark=!0,i.cssClass="ace-ambiance",i})}function Kc(e){return e&&-1!==e.indexOf("/")?e.split("/").pop():Un()?"ambiance":"dreamweaver"}function Yc(e){e.define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],function(t,i,s){const r=e.require("ace/lib/oop"),a=e.require("ace/mode/text").Mode,n=e.require("ace/mode/criteria_highlight_rules").CriteriaHighlightRules,o=function(){this.HighlightRules=n};r.inherits(o,a),i.Mode=o}),e.define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,i,s){const r=e.require("ace/lib/oop"),a=e.require("ace/mode/text_highlight_rules").TextHighlightRules,n=e.require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules,o=function(){this.$rules={start:[{token:"comment",start:"/\\*",end:"\\*/"},{token:"constant.other",regex:/(?:#(?:[^\\\#]|(?:\\.))*#?)|(?:\{[-0-9A-Fa-f]*\}?)/},{token:"string.quoted.single",regex:/N?'(?:\\.|[^'\\])*'?/},{token:"constant.numeric",regex:/[+\-]?\.?\d[\d.]*/i},{token:"support.other.aggregate",regex:/\.([a-zA-Z_]\w*)/},{token:"keyword.operator",regex:/[+\-*/%|&^<>]|==|!=|<=|>=|In|Like|Between|And|Or|Not/i},{token:"constant.language",regex:/True|False/i},{token:"support.context.start",regex:/\[(?:[^\]\)])*\]\[/},{token:"support.variable.other",regex:/\[(?:[^\]\,])*\]?/},{token:"support.variable.parameter",regex:/\?\w+/},{token:"support.context.end",regex:/\]/},{token:"support.function",regex:/[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*/}],comment:[{token:"comment",regex:"\\*\\/",next:"no_regex"},{defaultToken:"comment"}]},this.embedRules(n,"doc-",[n.getEndRule("start")]),this.normalizeRules()};r.inherits(o,a),i.CriteriaHighlightRules=o})}function Zc(e){e.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,i,s){const r=e.require("ace/lib/oop"),a=e.require("ace/mode/text_highlight_rules").TextHighlightRules,n=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},n.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(n,a),n.getTagRule=function(){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},n.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},n.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},i.DocCommentHighlightRules=n})}let Jc=!1;function Xc(e){if(!Jc){Zc(e),Yc(e),qc(e);try{e.config.set("useStrictCSP",!0)}catch{console.warn("Update 'ace' version to 1.4.13")}"setModuleLoader"in e.config&&(e.config.setModuleLoader("./theme/textmate",async()=>e.require("./theme/textmate")),e.config.setModuleLoader("ace/mode/criteria",async()=>e.require("ace/mode/criteria")),e.config.setModuleLoader("ace/mode/sql",async()=>e.require("ace/mode/sql")),e.config.setModuleLoader("ace/mode/text",async()=>e.require("ace/mode/text")),e.config.setModuleLoader("ace/mode/json",async()=>e.require("ace/mode/json")))}Jc=!0}os.bindingHandlers.dxAceEditor={init:function(e,t,i,s,r){const a=ql()||window.ace;Xc(a);const n=t(),o=n.value,d=n.editorContainer;let l,u=!0;const c=(e,t)=>{u=!1,e.getSession().setValue(t&&t.toString()||""),e.clearSelection(),e.getSession().getUndoManager().reset(),u=!0};if(a){const t=null==n.options.showGutter||n.options.showGutter,i=n.additionalOptions,d=a.require("ace/ext/language_tools"),p="ace/theme/"+Kc(n.theme);l=a.edit(e,{theme:p}),l.$blockScrolling=1/0;const h=s.languageHelper.getLanguageMode(),m=l.getSession();m.gutterRenderer={getWidth:(e,t,i)=>t.toString().length*i.characterWidth,getText:(e,t)=>t+1},m.setMode(h);let g,x,f,v=()=>{l.completer&&l.completer.popup&&l.completer.popup.hide()};if(i){if(i.onChange){let e=null;g=t=>{null!==e&&clearTimeout(e),u&&(e=setTimeout(()=>{(o()!==m.getValue()||(m.getAnnotations()||[]).some(e=>"error"===e.type))&&i.onChange(m)},i&&i.changeTimeout||1e3))},m.on("change",g)}i.overrideEditorFocus&&(l.focus=function(e,t){l.textInput.getElement().focus()}),i.onFocus&&(x=()=>{i.onFocus(m)},l.on("focus",x)),i.onBlur&&(v=()=>(l.completer&&l.completer.popup&&l.completer.popup.hide(),i.onBlur(m))),i.onChangeAnnotation&&(f=(e,t)=>{i.onChangeAnnotation(t)},m.on("changeAnnotation",f))}l.on("blur",v);const b=s.languageHelper.createCompleters(l,r,s);if(d.setCompleters(b),l.setOptions({autoScrollEditorIntoView:!1,...n.options}),i&&"setUseWrapMode"in i&&l.getSession().setUseWrapMode(i.setUseWrapMode),t||l.renderer.setShowGutter(t),l.renderer.$gutter){const e=l.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary";l.renderer.$gutter.className=e}const y=l._defaultHandlers.guttermousemove;let _;y&&(l._defaultHandlers.guttermousemove=function(t){const i=e.getBoundingClientRect();t.x=t.x-i.left,t.y=t.y-i.top,y(t)}),os.isSubscribable(o)&&(_=o.subscribe(e=>{e!==m.getValue()&&c(l,e),i&&i.onValueChange&&i.onValueChange(l)})),c(l,os.unwrap(o)),n.callbacks&&(n.callbacks.focus=()=>{setTimeout(()=>{l.textInput.getElement().focus()},10)}),Et(e,function(){l.completers&&l.completers.splice(0),l._defaultHandlers.guttermousemove=y,_.dispose(),n.callbacks&&(n.callbacks.focus=()=>{}),b.forEach(e=>e.dispose&&e.dispose()),v&&l.off("blur",v),x&&l.off("focus",x),g&&m.off("change",g),f&&m.off("changeAnnotation",f),l.destroy()})}os.isObservable(d)&&d(l)}},function(){const e=window.ko;let t=!1;window.DevExpress&&window.DevExpress.ui&&window.DevExpress.ui.dxTextBox?t=!0:console.error("The DevExtreme library is missing. Check whether a script is included on the page."),e?!e.bindingHandlers.dxPopup&&t&&console.error("The DevExtreme library is included before the Knockout library. Check the order in which the scripts appear on the page."):console.error("The Knockout library is missing. Check whether a script is included on the page."),window.$||window.jQuery||console.error("The jQuery library is missing. Check whether a script is included on the page.")}(),Ma();const Qc=window.DevExpress||{};var ep;(ep=Qc).Analytics=ep.Analytics||{},ep.Analytics.Internal=t,ep.Analytics.Serializer=ep.Analytics.Serializer||{},ep.Analytics.Serializer.Native=m,ep.Analytics.Utils=i,ep.Analytics.Widgets=r,ep.Analytics.Widgets.Ace=g,ep.Analytics.Widgets.Metadata=a,ep.Analytics.Widgets.Internal=s,ep.Analytics.Widgets.Filtering=n,ep.Analytics.Widgets.TreeList=l,ep.Analytics.Criteria=o,ep.Analytics.Criteria.Utils=d,ep.Analytics.Elements=u,ep.Analytics.Elements.Metadata=c,ep.Analytics.Tools=p,ep.Analytics.Localization=h,ep.Analytics.VERSION=$s,function(){const e=window.DevExpress,t=e.Analytics.VERSION,i=e.VERSION;i!=t&&console.warn(`Analytics-Core (v${t}) and DevExtreme (v${i}) versions do not match.`)}();Qc.Analytics})();
1
+ /**
2
+ * DevExpress Analytics (js/dx-analytics-core.min.js)
3
+ * Version: 26.2.2-beta
4
+ * Build date: Nov 13, 2026
5
+ * Copyright (c) 2012 - 2026 Developer Express Inc. ALL RIGHTS RESERVED
6
+ * License: https://www.devexpress.com/Support/EULAs/universal.xml
7
+ */
8
+ (()=>{"use strict";var e={n:t=>{var i=t&&t.__esModule?()=>t.default:()=>t;return e.d(i,{a:i}),i},d:(t,i)=>{for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{$createFromHtml:()=>V,$dx:()=>L,$each:()=>F,$jqueryPromiseAdapter:()=>Ps,$map:()=>k,$promiseAdapter:()=>Is,$unwrap:()=>T,$wrap:()=>Ds,AccessibilityControlElementBase:()=>wr,AccessibilityKeyboardHelperBase:()=>_r,AccordionKeyboardHelper:()=>Ar,ActionLists:()=>ll,ActionListsBase:()=>Xd,AjaxRequestManager:()=>Os,BaseAction:()=>Qd,BaseActionsProvider:()=>hu,BordersEditor:()=>su,BordersModel:()=>ru,CodeResolver:()=>Ll,CombinedObject:()=>ia,CombinedPropertiesModel:()=>ta,CommonDesignerGenerator:()=>Ec,ContextActionsSettings:()=>bc,ContextMenuProvider:()=>ul,ControlElementWithParentHighlight:()=>Sr,ControlProperties:()=>ec,ControlsHelperSettings:()=>wc,ControlsStore:()=>qn,CopyPasteHandler:()=>Ta,CssCalculator:()=>No,CustomSortedArrayStore:()=>Gn,DEBUG:()=>Zr,DESIGNER_ROOT_SELECTOR:()=>ur,DebugMode:()=>Jr,DesignControlsHelper:()=>Eo,DesignerBaseElements:()=>dc,DesignerContextGenerator:()=>vc,DesignerContextGeneratorInternal:()=>xc,DesignerRootModel:()=>fc,DimensionNotationsModel:()=>Fn,DisplayExpressionConverter:()=>Zu,DotnetTypes:()=>J,DragDropHandler:()=>lo,DragDropSettings:()=>Cc,DragHelperContent:()=>go,DragHelperControlRectangle:()=>ho,Draggable:()=>hn,DxAnalyticsComponentCommon:()=>Ks,DxDeferred:()=>z,EditorAddOn:()=>Vl,EditorWithIcons:()=>tu,FetchRequestManager:()=>ys,FieldListProvider:()=>Tc,GetWindowKeyDownHandlersManager:()=>fr,Globalize:()=>Ae,Group:()=>Gl,HighlightEngine:()=>Ju,HoverInfo:()=>jo,InitButtonWithTemplate:()=>pu,InlineTextEdit:()=>Uo,IsDataAccessExpression:()=>Bo,JSDesignerBindingCommon:()=>qs,KeyDownHandlersManager:()=>gr,KeyboardCodesEnum:()=>ki,KeyboardEnum:()=>Mi,KeyboardHelper:()=>hr,KeyboardHelperBase:()=>pr,KeyboardHelperWithArrowButtonBase:()=>Dr,KoEngine:()=>_n,ListKeyboardHelper:()=>Tr,MenuSettings:()=>_c,NotifyAboutWarning:()=>ts,NotifyType:()=>Xr,ObjectExplorerProvider:()=>en,ObjectStructureProvider:()=>tn,ObjectStructureProviderBase:()=>Qo,ObjectStructureTreeListController:()=>qo,PopupService:()=>Ul,Priority:()=>Ml,PropertiesAccessibilityProvider:()=>pl,PropertyGridKeyboardHelper:()=>Er,RequestHelper:()=>hs,Resizable:()=>un,ResizeSettings:()=>yc,RightPanelKeyboardHelperNative:()=>Vr,SearchMode:()=>xi,Selectable:()=>xn,SelectableElement:()=>fn,SelectionDragDropHandler:()=>mo,SelectionSettings:()=>Ac,ShowMessage:()=>ss,SnapLineSurface:()=>Ea,SnapLinesCollector:()=>Aa,SnapLinesHelper:()=>Sa,SortedArrayStore:()=>Wn,SpecificTypes:()=>Rc,StringId:()=>_u,SurfaceSelection:()=>ra,ToolbarKeyboardHelper:()=>Or,ToolboxDragDropHandler:()=>fo,TreeListKeyboardHelper:()=>Br,WizardDragDropHandler:()=>xo,_addErrorPrefix:()=>ls,_addLicenseTrigger:()=>ip,_defaultStaticContext:()=>Jc,_defineProperty:()=>xr,_definePropertyByString:()=>vr,_errorProcessor:()=>us,_getFileContent:()=>vi,_isDateTypeSpecific:()=>qc,_isNumericTypeSpecific:()=>Uc,_muteWarnings:()=>as,_processError:()=>cs,_replaceUploadFile:()=>Ci,_resetAjax:()=>$s,_resetShowMessageFunc:()=>ns,_sendRequestWithOptions:()=>Bc,_setAjax:()=>Fs,_setIsDarkTheme:()=>Hd,_setShowMessageFunc:()=>os,_unmuteWarnings:()=>ds,accessJQueryData:()=>Ms,accessibilityFontSizeZoomFactor:()=>Ir,addDisposeCallback:()=>yr,ajax:()=>ks,allowVirtualKoBinding:()=>In,appendStaticContextToRootViewModel:()=>Xc,assignObj:()=>ye,assignTroubleshootingPage:()=>fs,base64DecodeUnicode:()=>rp,binaryIndexOf:()=>_a,blur:()=>cr,calculateValueByDpi:()=>an,calculateWithZoomFactor:()=>Pr,checkModelReady:()=>sa,chooseBetterPositionOf:()=>Kr,cloneHtmlBinding:()=>Xu,collectGroupsFromFlatList:()=>ic,collectIncorrectSyntax:()=>Oc,collectionsVisitor:()=>_o,compareArrays:()=>ti,compareEditorInfo:()=>_i,compareObjects:()=>sc,convertFromCssPixelUnits:()=>ao,convertToCssPixelUnits:()=>no,copyPasteStrategy:()=>Da,copyProperties:()=>tc,createActionListBaseViewModel:()=>qd,createActionWrappingFunction:()=>cc,createArrayMapCollection:()=>fa,createBaseActionViewModel:()=>Kd,createControlPropertiesViewModel:()=>Jl,createDeferred:()=>Qc,createDesigner:()=>Dc,createDxDeferred:()=>G,createGlobalModuleVariableFunc:()=>Cr,createGroupViewModel:()=>Hl,createJQueryCallbacks:()=>Ss,createJQueryElement:()=>Es,createPasswordSerializationInfo:()=>Hc,createPromiseWithResolvers:()=>H,createReverseArrayMapCollection:()=>ga,cssTransform:()=>mu,custom_localization_values:()=>Se,cutRefs:()=>ac,defaultAccessibilityProvider:()=>hl,deferredToPromise:()=>U,delay:()=>j,deleteSelection:()=>ha,dxButtonWithTemplate:()=>uu,dxScrollProcessor:()=>Nn,dxtTemplate:()=>bo,dxversions:()=>Co,editorTypeMapper:()=>Lo,editor_template:()=>cu,enumValueConverter:()=>Nd,escapeToRegExp:()=>Ei,extend:()=>xe,find:()=>wa,findClosestElement:()=>O,findFirstItemMatchesCondition:()=>Ca,findMatchesInString:()=>Ai,findSurface:()=>jr,floatValueConverter:()=>Ld,followModelInfo:()=>Vi,formatDate:()=>Fe,formatTime:()=>$e,formatUnicorn:()=>Di,generateDefaultParts:()=>lc,generateIconTemplate:()=>lu,getControlFullName:()=>Hi,getControlNewAbsolutePositionOnResize:()=>Gr,getControlRect:()=>Ur,getControlTypeName:()=>zi,getEditorType:()=>zo,getElementBoxExtraHeight:()=>A,getElementBoxExtraWidth:()=>_,getElementHeight:()=>I,getElementOffset:()=>D,getElementOuterHeight:()=>P,getElementOuterWidth:()=>S,getElementWidth:()=>E,getErrorMessage:()=>is,getFirstItemByPropertyValue:()=>ba,getFullPath:()=>oc,getImageClassName:()=>Ri,getKoBinding:()=>Sn,getLocalization:()=>we,getPaperSize:()=>nn,getParentContainer:()=>Gd,getResizableOptions:()=>pc,getResizeDirection:()=>pn,getShortTypeName:()=>Li,getSizeFactor:()=>Kc,getToolboxItems:()=>lr,getTroubleshootingPage:()=>vs,getTypeNameFromFullName:()=>Bi,getUniqueName:()=>Gi,getUniqueNameForNamedObjectsArray:()=>ji,getWeekFirstDay:()=>Ne,globalResolver:()=>zl,globalValueAccessor:()=>br,guid:()=>oa,initGlobalize:()=>Ho,initializeBaseResizableOptions:()=>ln,initializeMutationObserver:()=>gu,initializeResize:()=>cn,integerValueConverter:()=>Od,isBorderBox:()=>b,isCustomizedWithUpdateLocalizationMethod:()=>Ve,isDarkTheme:()=>zd,isDefined:()=>bs,isElementVisible:()=>$,isEmptyObject:()=>me,isFunction:()=>fe,isList:()=>jd,isNullOrEmptyString:()=>Wd,isNumeric:()=>he,isPlainObject:()=>ge,isPromise:()=>q,isTextEditingElement:()=>Jd,isValidNameSymbols:()=>Yn,jqueryStatic:()=>As,loadMessages:()=>be,loadTemplates:()=>nc,localize:()=>ke,localizeNoneString:()=>uc,localizeWithUpdateLocalizationMethod:()=>Me,locationFake:()=>Qs,messages:()=>Ee,minHeightWithoutScroll:()=>qr,modelInfoSources:()=>Ti,mute:()=>Fc,nameRequiredValidationRule:()=>Qn,nameValidationRules:()=>ea,nativeStandIn:()=>kc,noDataText:()=>Pe,objectsVisitor:()=>wo,overrideKoBindingsStringParser:()=>Cn,overrideKoTemplateSourceFactory:()=>wn,parseDate:()=>Oe,parseZoom:()=>Ma,patchPositionByRTL:()=>Oo,pixelToUnits:()=>oo,processErrorEvent:()=>ps,processTextEditorHotKeys:()=>Go,readModelActionHint:()=>Tl,registerKoBinding:()=>An,registerKoComponent:()=>En,removeAllFromArray:()=>va,removeFromArray:()=>ya,removeWinSymbols:()=>_e,replaceInvalidSymbols:()=>Xn,resolveFromPromises:()=>Te,resolvePartData:()=>Yc,roundingXDecimals:()=>ro,sameArrayItems:()=>ii,searchPlaceholder:()=>De,selectPlaceholder:()=>Ie,sendRequest:()=>zc,setAjax:()=>Lc,setCursorInFunctionParameter:()=>Rd,setKoValueStorageFactory:()=>yn,setUploadFile:()=>wi,showTroubleshootingMessage:()=>ms,sizeFake:()=>Xs,sortArray:()=>xa,spliceChangedRange:()=>ma,staticContext:()=>Zc,stringInsert:()=>Pi,stringRemove:()=>Si,stringReplace:()=>Ii,subscribeArrayChanges:()=>st,subscribeKoBindingEvent:()=>bn,subscribeProperties:()=>rt,subscribeProperty:()=>tt,subscribePropertyChange:()=>it,syncArrayItems:()=>ot,toQueryParameters:()=>ve,troubleshootingPageWrapper:()=>xs,tryDelay:()=>R,unitPerInch:()=>sn,unitsToPixel:()=>so,unmute:()=>$c,unwrapImmidiatePromise:()=>W,updateControlPropertiesViewModel:()=>Xl,updateGroupViewModel:()=>Rl,updateSurfaceContentSize:()=>Yr,updateZoomBinding:()=>fu,uploadFile:()=>bi,useKoIntegration:()=>Pn,validateExpression:()=>Bd,validateName:()=>Jn,wrapInner:()=>Vs,wrapPublicElement:()=>Ts});var i={};e.r(i),e.d(i,{ControlsFactory:()=>lp,Disposable:()=>x,DisposableViewModel:()=>v,EventManager:()=>Rt,EventPropertyManager:()=>jt,GetRequestBody:()=>Rs,ModelSerializer:()=>Ut,PathRequest:()=>rd,PrepareRequestArgs:()=>Hs,RequestContentType:()=>Ns,TabInfo:()=>Pc,TabInfoWithPropertyGrid:()=>op,TabPanel:()=>gc,ToolboxItem:()=>dr,UndoEngine:()=>pa,_LatestChangeSet:()=>ca,_convertLocalDateToUTC:()=>se,_getPathPartsFromRequest:()=>sd,_isFetchConfigured:()=>Gs,_requestContentType:()=>Bs,_stringEndsWith:()=>Oi,addCultureInfo:()=>Fi,addTemplate:()=>Lr,addToBindingsCache:()=>wp,ajaxSetup:()=>Ws,colorFromString:()=>hp,colorToInt:()=>mp,colorToString:()=>fp,deserializeDate:()=>le,encodeURIExtended:()=>zs,fetchSetup:()=>Us,floatFromModel:()=>cp,fromEnum:()=>up,getAriaKeyShortcuts:()=>Za,getHotKeyDisplayParts:()=>qa,getHotKeyDisplayText:()=>Ka,getHotKeySpokenText:()=>Ya,getHotKeyTitle:()=>Ja,getLocalization:()=>$i,getTemplate:()=>zr,isDateType:()=>ee,isDisposable:()=>f,isMacOs:()=>Ga,matchesHotKey:()=>Qa,parseBool:()=>pp,parseTime:()=>de,registerBaseBinding:()=>Cp,requestManager:()=>js,saveAsInt:()=>gp,serializeDate:()=>oe,serializeParameterDate:()=>ne,serializeParameterDateUTC:()=>ae,updateLocalization:()=>Ni});var r={};e.r(r),e.d(r,{AvailableOperators:()=>bh,CodeCompletor:()=>zu,CollectionEditorModel:()=>Kp,CriteriaEditorModelBase:()=>Vp,CriteriaSurfaceValidator:()=>sg,CriteriaSurfaceValidatorState:()=>tg,DataMemberTreeListController:()=>Mp,DefaultTreeListItemFactory:()=>Sg,ExpressionEditorCollectionContent:()=>Fu,ExpressionEditorContent:()=>Mu,ExpressionEditorFieldsContent:()=>ku,ExpressionEditorFunctionsCategory:()=>Ou,ExpressionEditorFunctionsContent:()=>$u,ExpressionEditorParametersTreeListController:()=>hh,ExpressionEditorToolTab:()=>Vu,ExpressionEditorTreeListController:()=>ph,ExpressionOptions:()=>fh,ExpressionOptionsBase:()=>mh,FilterEditorAddOn:()=>yh,FilterEditorCodeCompletor:()=>dg,FilterEditorPopupData:()=>vh,FilterEditorSerializer:()=>Yu,FilterEditorTreeListController:()=>rg,FontModel:()=>dh,FontModificatorsModel:()=>lh,PopupComponentBase:()=>ug,PopupEditorModelBase:()=>Dp,RangeSpecific:()=>Bu,ReorderTreeListDragDropHelper:()=>kg,RequiredNullableEditor:()=>Rp,ResizeHelper:()=>Fg,SvgTemplateSource:()=>Wi,SvgTemplatesEngine:()=>Ui,TextAlignmentEditor:()=>Ap,Tools:()=>Nu,TreeListController:()=>uh,TreeListEllipsisButton:()=>Pg,TreeListItemFactory:()=>Eg,TreeListItemModel:()=>Dg,TreeListItemStore:()=>Ag,TreeListRootItemModel:()=>Tg,TreeListRowActionList:()=>gg,TreeListSearchModel:()=>Op,TreeListSearchOptions:()=>Vg,ValueEditorHelper:()=>$d,aceAvailable:()=>Ip,addToBindingsCache:()=>yp,availableFonts:()=>Sc,availableUnits:()=>ah,betweenOperatorsGroup:()=>Sh,calendarOperatorsGroup:()=>Th,combineFunctionDisplay:()=>Pu,containsOperatorsGroup:()=>Ih,createCollectionEditorModel:()=>Yp,createDateEditor:()=>Gp,createExpressionEditorCollectionToolOptions:()=>Lu,createFunctionCompletion:()=>Hu,createGuidRequiredValidationRules:()=>fd,createGuidValidationRules:()=>md,createNumericEditor:()=>jp,createRequiredValidationRules:()=>xd,createTreeListEllipsisButtonViewModel:()=>bg,createTreeListItemViewModel:()=>yg,defaultFontSerialization:()=>ld,dxEllipsisEditor:()=>sh,dxFieldListPicker:()=>Np,dxFileImagePicker:()=>oh,dxPopupWithAutoHeight:()=>pg,equalsOperatorsGroup:()=>Ch,formatStringStandardPatterns:()=>lg,functionDisplay:()=>Su,getDisplayName:()=>Bp,getFromCache:()=>bp,getTreeListEditActionViewModel:()=>xg,greaterOperatorsGroup:()=>Ah,groupOperatorsGroup:()=>kh,inOperatorsGroup:()=>_h,initDisplayText:()=>Gh,initTreeListBinding:()=>Mg,insertOrUpdateFunctions:()=>Eu,isNullOrEmptyOperatorsGroup:()=>Dh,lessOperatorsGroup:()=>Eh,likeOperatorsGroup:()=>Ph,listOperatorsGroup:()=>Mh,maxSearchLevel:()=>wg,nullOperatorsGroup:()=>wh,operatorNames:()=>Du,propertiesGridEditorsPaddingLeft:()=>dd,registerBaseBinding:()=>vp,resetFunctionDisplay:()=>Iu,setDefaultTreeListItemFactory:()=>Ig,timeIntervalOperatorsGroup:()=>Vh,treeListEditAction:()=>mg,trimBrackets:()=>Ru,updateTreeListItemViewModel:()=>vg,validateGuid:()=>ud,validateNullableGuid:()=>pd,wrapOptions:()=>Up});var s={};e.r(s),e.d(s,{AIExpressionGenerator:()=>em,BooleanEditor:()=>um,ColorPickerEditor:()=>pm,CriteriaStringEditor:()=>hm,DataMemberEditor:()=>ym,DefaultFilterEditorHelper:()=>ng,Editor:()=>_l,EditorTemplates:()=>Zs,EditorValidator:()=>fl,EditorValidatorMutable:()=>zp,ExpressionEditor:()=>Jg,ExpressionEditorWordWrapModeEnabled:()=>Kg,ExpressionStringEditor:()=>gm,FieldListEditor:()=>vm,FilterEditor:()=>sm,FilterEditorHelper:()=>og,FilterEditorPlain:()=>om,FilterStringEditor:()=>mm,FilterStringGroupEditor:()=>fm,FilterStringOptions:()=>am,FilterStringPlainOptions:()=>dm,FontEditor:()=>Hg,FontModificatorsEditor:()=>Gg,FormatStringEditor:()=>cm,GuidEditor:()=>Hp,InitAccordion:()=>Og,ObjectProperties:()=>Fl,PropertyGridEditor:()=>$l,PropertyGridEditorFlat:()=>Ol,PropertyGridEditorSimple:()=>Nl,UndoEditor:()=>Ug,_setDefaultFilterEditorHelper:()=>ag,addTemplate:()=>Lr,applyEditorOptions:()=>Il,createEditorDescriptionAddOn:()=>Al,createViewModel:()=>vl,editorTemplates:()=>Js,getNotValidRange:()=>Zg,getTemplate:()=>zr,mergeEditorOptions:()=>Pl,registerOnce:()=>Ys,unwrapEditor:()=>Cl,updateEditorViewModel:()=>yl});var o={};e.r(o),e.d(o,{fontInfo:()=>zg,fontName:()=>Ng,fontSize:()=>Bg,fontSizeUnit:()=>Lg});var n={};e.r(n),e.d(n,{AggregateOperandSurface:()=>Hh,BetweenOperandSurface:()=>Rh,BinaryOperandSurface:()=>jh,CriteriaOperatorSurface:()=>Bh,CriteriaTypeState:()=>$h,FunctionOperandSurface:()=>qh,GroupOperandSurface:()=>Kh,InOperandSurface:()=>Yh,OperandParameterSurface:()=>Zh,OperandPropertySurface:()=>Xh,OperandSurfaceBase:()=>Wh,OperandValueSurface:()=>eg,UnaryOperandSurface:()=>Lh,childSlots:()=>Nh});var a={};e.r(a),e.d(a,{AggregateOperand:()=>Sd,BetweenOperator:()=>ju,BinaryOperator:()=>Uu,BinaryOperatorType:()=>_d,ConstantValue:()=>Ku,CriteriaOperator:()=>ad,CriteriaOperatorPreprocessor:()=>od,ENUM_TYPE_SEPARATOR:()=>vd,FunctionOperator:()=>qu,FunctionOperatorType:()=>Ed,GroupOperator:()=>Pd,GroupOperatorType:()=>Ad,InOperator:()=>Gu,JoinOperand:()=>Dd,OperandParameter:()=>bd,OperandProperty:()=>Cd,OperandValue:()=>yd,UnaryOperator:()=>wd,UnaryOperatorType:()=>td,criteriaCreator:()=>nd,criteriaparser:()=>Vd,parse:()=>Md});var d={};e.r(d),e.d(d,{CriteriaOperatorPreprocessor:()=>od,CriteriaOperatorStateMachine:()=>Fd,MachineState:()=>kd,criteriaCreator:()=>nd,criteriaForEach:()=>Id,operatorTokens:()=>Wu});var l={};e.r(l),e.d(l,{LoadChildItemsForCollapsedNodes:()=>hg});var c={};e.r(c),e.d(c,{BaseSerializableModel:()=>eo,ElementModel:()=>dp,Margins:()=>Pm,PaddingModel:()=>$o,Point:()=>Pa,PropertyModificationModel:()=>ap,Rectangle:()=>uo,SerializableModel:()=>Dm,Size:()=>io,SurfaceElementArea:()=>Em,SurfaceElementBase:()=>Sm,SurfaceZoom:()=>Am,compareSizes:()=>Tm,geometrySourcesOf:()=>Im,minSizeOptions:()=>to});var u={};e.r(u),e.d(u,{all:()=>To,bottom:()=>Do,left:()=>So,paddingSerializationsInfo:()=>Vo,right:()=>Io,top:()=>Po});var p={};e.r(p),e.d(p,{ActionId:()=>Va});var h={};e.r(h),e.d(h,{loadMessages:()=>Vm});var g={};e.r(g),e.d(g,{BaseEmptyModel:()=>or,BaseModel:()=>ir,BaseRenderingEngine:()=>Kt,BaseRenderingModel:()=>nr,DerivedCacheDiagnostics:()=>ht,ModelSerializer:()=>Ut,PropertyDeserializationEngine:()=>Vt,ViewModel:()=>Ki,ViewModelChangedEvent:()=>qi,_nativeSerializerDiagnostics:()=>Gt,_updateViewModelWithChunks:()=>pt,accessorSource:()=>Ot,addDirtyMarker:()=>qe,arrayModificationMapper:()=>St,coalesced:()=>Bt,createChangeSignal:()=>di,createDerivedAccessor:()=>ai,createManualChangeSignal:()=>li,createNotifiableValueAccessor:()=>Ht,createOwnValueAccessor:()=>Lt,createStoredDerivedAccessor:()=>ci,createValueAccessor:()=>zt,createViewModelGenerator:()=>Zi,currentModelSerializer:()=>Jt,currentRenderingEngine:()=>Xt,debounced:()=>fi,defaultPropertyDeserializatonEngine:()=>Mt,derivedPropertiesKey:()=>xt,derivedSource:()=>mi,deserializeArray:()=>Mm,diffArrays:()=>Qe,ensureAccessor:()=>Nt,followArrayMutations:()=>_t,followModelGraph:()=>Zo,followSources:()=>gi,followSubscriber:()=>Pt,followViewModelProperty:()=>tr,inFlight:()=>mt,isDerivedProperty:()=>yt,isNativeModel:()=>Be,isRenderingModel:()=>Ge,isStableRead:()=>Ze,isUndoRecordedProperty:()=>bt,isValueAccessor:()=>kt,isViewModel:()=>Le,mapToViewModels:()=>je,markDirtyDependents:()=>Ke,mutable:()=>rr,mutableArray:()=>sr,nativeModelSerializer:()=>Yt,nestedValueAccessor:()=>pi,notifyArrayChanged:()=>Tt,notifyPropertyChanged:()=>ft,readAccessor:()=>Ft,resolveModel:()=>ze,resolveNativeSerializer:()=>Zt,resolveViewModel:()=>He,sameContent:()=>ui,setCurrentModelSerializer:()=>ei,setCurrentRenderingEngine:()=>Qt,stableRead:()=>hi,stableReadKey:()=>Ye,subscribableProperty:()=>qt,subscribableSource:()=>si,toAccessor:()=>$t,toViewModel:()=>Re,updateViewModel:()=>lt,valuesArePrimitiveAndEqual:()=>Xe,viewModelGeneratorSettings:()=>Yi,weakGlobalSubscribers:()=>It});var m={};function f(e){return e&&"function"==typeof e.dispose}e.r(m),e.d(m,{defineAce:()=>Bm,defineAceCriteria:()=>$m,defineAceDocComments:()=>Om,defineAceThemes:()=>km,getAceThemeName:()=>Fm});class x{constructor(){this._disposables=[],this.isDisposing=!1}disposeObservableArray(e){e&&(this.readCollection(e)||[]).forEach(e=>{e.dispose&&e.dispose()})}resetObservableArray(e){e&&("function"==typeof e?e([]):Array.isArray(e)&&e.splice(0,e.length))}readCollection(e){return"function"==typeof e?e():e}disposeArray(e){e&&(e.forEach(e=>{e.dispose&&e.dispose()}),e.splice(0,e.length))}addDisposable(...e){this._disposables.push(...e.map(e=>!e||f(e)?e:"function"==typeof e?{dispose:e}:void 0))}dispose(){this.isDisposing||(this.isDisposing=!0,(this._disposables||[]).reverse().forEach(e=>e&&e.dispose&&e.dispose()),this._disposables=[])}_restoreAfterDispose(){this.isDisposing=!1}removeProperties(){Object.keys(this).forEach(e=>{delete this[e]})}}class v{constructor(){this._disposables=[]}disposeViewModel(){this._disposables?.forEach(e=>e&&e()),this._disposables=[];const e=this;e&&e._viewModelEvents?.dispose()}disposeSubscription(e){if(!e)return;const t=this._disposables.indexOf(e);-1!==t&&(this._disposables.splice(t,1),e())}addDisposable(e){e&&this._disposables.push(e)}}const y=e=>{const t=e?parseFloat(e):0;return Number.isFinite(t)?t:0},b=e=>"border-box"===getComputedStyle(e).boxSizing,C=e=>{const t=getComputedStyle(e);return y(t.width)},w=e=>{const t=getComputedStyle(e);return y(t.height)},_=e=>{if(!(e instanceof Element))return;const t=getComputedStyle(e);return y(t.paddingLeft)+y(t.paddingRight)+(y(t.borderLeftWidth)+y(t.borderRightWidth))},A=e=>{if(!(e instanceof Element))return;const t=getComputedStyle(e);return y(t.paddingTop)+y(t.paddingBottom)+(y(t.borderTopWidth)+y(t.borderBottomWidth))},E=e=>{if(e instanceof Element){const t=C(e),i=_(e);return b(e)?Math.max(0,t-i):t}if(e instanceof Window)return document.documentElement.clientWidth},S=e=>{if(!(e instanceof Element))return;if(e.offsetWidth)return e.offsetWidth;const t=_(e),i=C(e);return b(e)?i:i+t},I=e=>{if(e instanceof Element){const t=w(e),i=A(e);return b(e)?Math.max(0,t-i):t}if(e instanceof Window)return document.documentElement.clientHeight},P=e=>{if(!(e instanceof Element))return;if(e.offsetHeight)return e.offsetHeight;const t=A(e),i=w(e);return b(e)?i:i+t},D=e=>{if(!e)return;const t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY}};function T(e){return e&&"length"in e&&e instanceof Window==!1||e?.dxRenderer?e[0]:e}function V(e){const t=document.createElement("div");return t.innerHTML=e.trim(),L(t.firstChild)}function M(e){const t=e?.length;return!(!e||"object"!=typeof e)&&(Array.isArray(e)||0===t||"number"==typeof t&&t>0&&t-1 in e)}function k(e,t){if(!e||"object"!=typeof e)return[];if(M(e))for(let i=0;i<e.length;i++)t(e[i],i);return Object.keys(e).map(i=>t(e[i],i))}function F(e,t){if(!e||"object"!=typeof e)return;const i=i=>{const r=e[i];return t.call(r,i,r)};if(M(e))for(let t=0;t<e.length;t++){if(!1===i(t))break}else for(const t of Object.keys(e)){if(!1===i(t))break}}const $=e=>{if(!e)return;const t=e.getClientRects?.()?.length??0;return e.offsetWidth>0||e.offsetHeight>0||t>0},O=(e,t)=>e instanceof Element?e.closest(t):e?.parentElement?.closest(t),N=new WeakMap,B=(e,t,i,r)=>{void 0===t&&(t=400),void 0===r&&(r=!1);const s=(N.get(e)||0)+1;N.set(e,s),e.classList.add("dxd-sliding"),e.style.overflow="hidden",r&&(e.style.display="block");const o=window.getComputedStyle(e),n=parseFloat(o.getPropertyValue("height")),a=parseFloat(o.getPropertyValue("padding-top")),d=parseFloat(o.getPropertyValue("padding-bottom")),l=parseFloat(o.getPropertyValue("margin-top")),c=parseFloat(o.getPropertyValue("margin-bottom")),u=n/t,p=a/t,h=d/t,g=l/t,m=c/t;r&&(e.style.height="0px",e.style.paddingTop="0px",e.style.paddingBottom="0px",e.style.marginTop="0px",e.style.marginBottom="0px");let f,x=0;window.requestAnimationFrame(function o(v){if(N.get(e)===s){if(void 0!==f&&(x+=Math.min(v-f,34)),f=v,r){const i=Math.min(x/t,1);e.style.paddingTop=a*i+"px",e.style.paddingBottom=d*i+"px",e.style.marginTop=l*i+"px",e.style.marginBottom=c*i+"px";const r=e.scrollHeight-parseFloat(e.style.paddingTop)-parseFloat(e.style.paddingBottom);e.style.height=r*i+"px"}else e.style.height=n-u*x+"px",e.style.paddingTop=a-p*x+"px",e.style.paddingBottom=d-h*x+"px",e.style.marginTop=l-g*x+"px",e.style.marginBottom=c-m*x+"px";x>=t?(e.style.height="",e.style.paddingTop="",e.style.paddingBottom="",e.style.marginTop="",e.style.marginBottom="",e.style.overflow="",e.classList.remove("dxd-sliding"),r||(e.style.display="none"),"function"==typeof i&&i()):window.requestAnimationFrame(o)}})},L=e=>{let t=e;Array.isArray(t)||"string"==typeof e||t?.nodeType===Node.COMMENT_NODE||(t=T(e));let i=null,r=0;const s={};if("string"==typeof e){const t=e.trim();if(t.startsWith("<")&&t.endsWith(">")){const e=document.createElement("div");e.innerHTML=t;const o=Array.from(e.children);o.forEach((e,t)=>s[t]=e),i=o[0]||null,r=o.length}else{i=document.querySelector(e);const t=Array.from(document.querySelectorAll(e));t.forEach((e,t)=>s[t]=e),r=t.length}}else Array.isArray(t)?(i=t[0],t.forEach((e,t)=>s[t]=e),r=t.length):t&&"object"==typeof t&&(i=t,s[0]=i,r=1);return{...s,length:r,element:i,is:e=>"string"==typeof e?":input"===e?L(i).isInput():":visible"===e?$(i):i?.matches(e):i===e,has:e=>i?.contains(e),hasClass:e=>{if(i)return i.classList.contains(e)},width:e=>{if(void 0!==e&&i){const t="number"==typeof e?e+"px":e;return i.style.width=t,L(i)}return E(i)},height:e=>{if(void 0!==e&&i){const t="number"==typeof e?e+"px":e;return i.style.height=t,L(i)}return I(i)},outerWidth:e=>{if(void 0!==e&&i){const t=Math.max(0,e-_(i));return b(i)?L(i).width(e):L(i).width(t)}return S(i)},outerHeight:e=>{if(void 0!==e&&i){const t=Math.max(0,e-A(i));return b(i)?L(i).height(e):L(i).height(t)}return P(i)},empty:()=>{for(;i?.firstChild;)i.removeChild(i.firstChild);return L(i)},hide:()=>(i&&(i.style.display="none"),L(i)),show:()=>(i&&(i.style.display="block"),L(i)),focus:()=>i?("function"==typeof i.focus&&i.focus(),L(i)):L(i),find:(e,t=!1)=>{if(!i)return L(void 0);if(e instanceof HTMLElement)return L(i.contains(e)?e:void 0);if("string"!=typeof e){const t=Array.from(e).filter(e=>i.contains(e));return L(t)}-1!==e.indexOf(":visible")&&(t=!0,e=e.split(":visible")[0]);let r=[];return r=":input"===e?Array.from(i.querySelectorAll("input, select, textarea, button")):Array.from(i.querySelectorAll(e)),t&&(r=r.filter(e=>$(e))),L(r)},eq:e=>L(s[e]),closest:e=>L(O(i,e)),css:(e,t)=>{if("string"==typeof e){if(!i)return;return void 0!==t&&i.style.setProperty(e,t.toString()),getComputedStyle(i)[e]||""}if("object"==typeof e){if(!i)return L(i);for(const t in e){const r=e[t];if("string"!=typeof r)throw new Error("The value must be a string");e.hasOwnProperty(t)&&(i.style[t]=r.trim())}return L(i)}},children:e=>{if(!i)return L(void 0);const t=i.children,r=Array.from(t).filter(t=>!e||t.matches(e));return L(r)||L(void 0)},addClass:e=>{if(!i)return L(i);return e.split(" ").forEach(e=>e&&i.classList.add(e)),L(i)},removeClass:e=>{if(!i)return L(i);return e.split(" ").forEach(e=>e&&i.classList.remove(e)),L(i)},parent:()=>L(i?i.parentElement:i),parents:e=>{const t=[];let r=i?.parentElement;for(;r;)e&&!r.matches(e)||t.push(r),r=r.parentElement;return L(t)},offset:()=>D(i),position:()=>{if(!i)return;const e=i.getBoundingClientRect(),t=i.offsetParent,r=window.pageXOffset||document.documentElement.scrollLeft,s=window.pageYOffset||document.documentElement.scrollTop;return{left:e.left+r-(t?t.offsetLeft:0),top:e.top+s-(t?t.offsetTop:0)}},get:e=>s[e],append:e=>{if(i&&e){if("string"==typeof e){const t=document.createElement("div");for(t.innerHTML=e.trim();t.firstChild;)i.appendChild(t.firstChild)}else e instanceof HTMLElement?i.appendChild(e):Array.from(e).forEach(e=>i.appendChild(e));return L(i)}},scrollTop:e=>{if(i)return void 0===e?i.scrollTop:void(i.scrollTop=e)},scrollLeft:e=>{if(i)return void 0===e?i.scrollLeft:void(i.scrollLeft=e)},prepend:e=>{if(!i)return;const t=T(e);t&&i.prepend(t)},first:()=>L(i),prependTo:e=>{if(e){if(r>1){for(let t=r-1;t>=0;t--){const i=s[t];i&&e.prepend(i)}return L(s[0])}return i?(e.prepend(i),L(i)):void 0}},prev:e=>{const t=i?.previousSibling;return L(e?t?.matches(e)?t:void 0:t)},appendTo:e=>{if(e){if(r>1){for(let t=0;t<r;t++){const i=s[t];i&&e.appendChild(i)}return L(s[0])}return i?(e.appendChild(i),L(i)):void 0}},remove:()=>{i&&i.remove()},text:e=>{if(i)return void 0===e?i.textContent:(i.textContent=e,L(i))},html:e=>{if(i)return null==e?i.innerHTML:(i.innerHTML=e,L(i))},slideToggle:(e=400,t=()=>{})=>{i&&(0===i.clientHeight?B(i,e,t,!0):B(i,e,t,!1))},slideDown:(e=400,t=()=>{})=>{i&&B(i,e,t,!0)},slideUp:(e=400,t=()=>{})=>{i&&B(i,e,t,!1)},isInput:()=>i?.matches("input, select, textarea, button, object"),off:(e,t)=>{i&&i.removeEventListener(e,t)},on:(e,t)=>{i&&i.addEventListener(e,t)},attr:(e,t)=>i?(i.setAttribute(e,t),L(i)):L(i),removeAttr:e=>i?(i.removeAttribute(e),L(i)):L(i)}};class z{constructor(){this._state="pending",this._doneCallbacks=[],this._failCallbacks=[],this._alwaysCallbacks=[],this._finalize=e=>{this._alwaysCallbacks.forEach(t=>t(...e)),this._doneCallbacks=[],this._failCallbacks=[],this._alwaysCallbacks=[]}}_tryUpdateState(e,t){return"pending"===this._state&&(this._state=e,this._resultValue=t,!0)}resolve(...e){return this._tryUpdateState("resolved",e)?(this._doneCallbacks.forEach(t=>t(...e)),this._finalize(e),this):this}reject(...e){return this._tryUpdateState("rejected",e)?(this._failCallbacks.forEach(t=>t(...e)),this._finalize(e),this):this}done(e){return"resolved"===this._state?e(...this._resultValue??[]):"pending"===this._state&&this._doneCallbacks.push(e),this}fail(e){return"rejected"===this._state?e(...this._resultValue??[]):"pending"===this._state&&this._failCallbacks.push(e),this}then(e,t){return this.done((...t)=>setTimeout(()=>e(...t))),t&&this.catch(t),this}catch(e){return this.fail((...t)=>setTimeout(()=>e(...t))),this}state(){return this._state}always(e){return"pending"!==this._state?e(...this._resultValue??[]):this._alwaysCallbacks.push(e),this}promise(){return new K(this)}static when(e){const t=new z,i=e.length;if(0===i)return t.resolve([]),t;const r=new Array(i);let s=i;return e.forEach((e,i)=>{e.done(e=>{r[i]=e,s-=1,0===s&&t.resolve(r)}),e.fail(e=>{t.reject(e)})}),t}}function H(){let e,t;return{promise:new Promise((i,r)=>{e=i,t=r}),resolve:e,reject:t}}async function R(e,t){try{return await j(e,t),!0}catch{return!1}}function j(e,t){return new Promise((i,r)=>{const s=()=>{r(t?.reason??new DOMException("Aborted","AbortError"))},o=()=>{t?.removeEventListener("abort",n)},n=()=>{clearTimeout(a),o(),s()};if(t?.aborted)return void s();const a=setTimeout(()=>{o(),i()},e);t?.addEventListener("abort",n,{once:!0})})}function G(){return new z}function W(e){let t;return e.done(e=>{t=e}),t}function U(e){return new Promise((t,i)=>{e.done(t),e.fail?.(i)})}function q(e){return e&&"function"==typeof e.then}class K{_resolveDeferred(e,t){q(t)?t.then(t=>e.resolve(t),t=>e.reject(t)):e.resolve(t)}constructor(e){this.deffered=e}done(e){return this.deffered.done(e),this}fail(e){return this.deffered.fail(e),this}always(e){return this.deffered.always(e),this}state(){return this.deffered.state()}then(e,t){const i=new z;return this.deffered.then(t=>{const r=e&&e(t);this._resolveDeferred(i,r)}),t?this.deffered.catch(e=>{const r=t(e);this._resolveDeferred(i,r)}):this.deffered.catch(e=>{i.reject(e)}),i.promise()}catch(e){const t=new z;return this.deffered.catch(i=>{const r=e&&e(i);this._resolveDeferred(t,r)}),this.deffered.then(e=>{t.resolve(e)}),t.promise()}}const Y=DevExpress.localization,Z=DevExpress.localization.date;var J,X=e.n(Z);function Q(e,t){return(e||[]).map(e=>{let t=null!=e?e.toString():"00";return 1===t.length&&(t="0"+t),t}).join(t)}function ee(e){return[J.SystemDateTime,J.SystemDateOnly,J.SystemTimeOnly].some(t=>t===e)}function te(e){return(e/1e3).toString().substring(1)}function ie(e){return e&&e.padEnd(3,"0").substring(0,3)}function re(e,t){const i=t.utc?[e.getUTCMonth()+1,e.getUTCDate(),e.getUTCFullYear()]:[e.getMonth()+1,e.getDate(),e.getFullYear()],r=t.utc?[e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()]:[e.getHours(),e.getMinutes(),e.getSeconds()];let s=Q(r,":");if(t.type===J.SystemTimeOnly)return 0!==e.getMilliseconds()&&(s+=t.utc?te(e.getUTCMilliseconds()):te(e.getMilliseconds())),s;const o=Q([i[2],i[0],i[1]],"-");return r.every(e=>0===e)||t.type===J.SystemDateOnly?o:"-"===t.delimiter?o+" "+s:Q(i,"/")+" "+s}function se(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function oe(e,t,i){return re(e,{delimiter:t,type:i})}function ne(e,t){return oe(e,void 0,t)}function ae(e,t){if([J.SystemTimeOnly,J.SystemDateOnly,J.SystemDateTime].every(e=>e!==t))return e;const i=se(e);return t===J.SystemDateTime?i:re(i,{type:t,utc:!0})}function de(e){if(!e)return null;if(e instanceof Date)return e;const[t,i,r=""]=e.split(":"),[s,o=""]=r.split("."),[n,a,d,l]=[t,i,s,ie(o)].map(Number),c=new Date;return c.setHours(n,a,d||0,l||0),c}function le(e){const t=e.split(" ");let i=t[0].split("-"),r=0,s=0,o=0,n=0;if(3!==i.length&&(i=t[0].split("/"),i.splice(0,0,i.splice(2,1)[0])),t.length>1){const e=t[1].split(":");if(e.length<3)return null;r=parseInt(e[0]),s=parseInt(e[1]);const[i="",a=""]=e[2].split(".")??[];o=parseInt(i)||0,n=parseInt(ie(a))||0}return 3!==i.length?null:(i=i.map(e=>parseInt(e)),new Date(i[0],i[1]-1,i[2],r,s,o,n))}!function(e){e.Enum="Enum",e.SystemChar="System.Char",e.SystemString="System.String",e.SystemGuid="System.Guid",e.SystemSByte="System.SByte",e.SystemDecimal="System.Decimal",e.SystemInt64="System.Int64",e.SystemInt32="System.Int32",e.SystemInt16="System.Int16",e.SystemSingle="System.Single",e.SystemDouble="System.Double",e.SystemByte="System.Byte",e.SystemUInt16="System.UInt16",e.SystemUInt32="System.UInt32",e.SystemUInt64="System.UInt64",e.SystemBoolean="System.Boolean",e.SystemDateTime="System.DateTime",e.SystemDateOnly="System.DateOnly",e.SystemTimeOnly="System.TimeOnly",e.SystemTimeSpan="System.TimeSpan",e.SystemObject="System.Object",e.SystemBiteArray="System.Byte[]",e.DevExpressExpression="DevExpress.DataAccess.Expression"}(J||(J={}));const ce={},ue=ce.hasOwnProperty;function pe(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ce[ce.toString.call(e)]||"object":typeof e}function he(e){return!isNaN(parseFloat(e))&&isFinite(e)}function ge(e){return"object"===pe(e)&&!e.nodeType&&!function(e){return null!=e&&e===e.window}(e)&&!(e.constructor&&!ue.call(e.constructor.prototype,"isPrototypeOf"))}function me(e){return"string"!=typeof e&&(null!==e&&"object"==typeof e&&0===Object.keys(e).length)}function fe(e){return"function"===pe(e)}function xe(e,t,...i){let r,s,o,n,a,d,l=arguments[0]||{},c=1,u=!1;const p=arguments.length;for("boolean"==typeof l&&(u=l,l=arguments[c]||{},c++),"object"==typeof l||fe(l)||(l={}),c===p&&(l=this,c--);c<p;c++)if(null!=(r=arguments[c]))for(s in r)o=l[s],n=r[s],l!==n&&(u&&n&&(ge(n)||(a=Array.isArray(n)))?(a?(a=!1,d=o&&Array.isArray(o)?o:[]):d=o&&ge(o)?o:{},l[s]=xe(u,d,n)):void 0!==n&&(l[s]=n));return l}function ve(e){const t=[],i=(e,r="")=>{Object.keys(e||{}).forEach(s=>{const o=e[s],n=r?`${r}[${s}]`:s;"object"==typeof o?i(e[s],n):t.push(encodeURIComponent(n)+"="+encodeURIComponent(o))})};return i(e),t.join("&")}function ye(e,t){return Object.assign(Object.create(Object.getPrototypeOf(e)),t||e)}function be(e){xe(Ee,e)}function Ce(e){return ke(e)||e}function we(e,t=null,i=_e){let r=t&&ke(t)||Ce(e);return r=t&&function(e,t=_e){const i=ke(e);if(i&&t&&(-1!==i.indexOf("&")||-1!==i.indexOf("<u>")||-1!==i.indexOf("</u>"))){const t={};return t[e]=i.replace("&","").replace("<u>","").replace("</u>",""),be(t),t[e]}}(t,i)||r,Ve(r)&&(e=r),Ve(e)?Ce(e):r}["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach(e=>ce["[object "+e+"]"]=e.toLowerCase());const _e=!0,Ae="undefined"!=typeof window?window.Globalize:void 0,Ee={},Se={};function Ie(){return we("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")}function Pe(){return we("No data to display","AnalyticsCoreStringId.DataPreview_Empty")}function De(){return we("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")}function Te(e,t){const i=new z;return e.length>0?z.when(e).done(e=>{e.forEach(e=>be(e))}).always(()=>i.resolve(t())):i.resolve(t()),i}function Ve(e){return!!Se[e]}function Me(e){return Ve(e)?we(e):""}function ke(e){return Ee[e]}function Fe(e){return Y.formatDate(e,"shortDate")}function $e(e){return Y.formatDate(e,"shortTime")}function Oe(e,t=!0,i){return t?e?e instanceof Date?e:le(e):null:i?Y.parseDate(e,i):Y.parseDate(e,void 0)}function Ne(){return X().firstDayOfWeekIndex()}function Be(e){return"object"==typeof e?.events}function Le(e){return"function"==typeof e?.getModel&&"function"==typeof e?.disposeViewModel}function ze(e){return Le(e)?e.getModel():e}function He(e){return Ge(e)?e.getViewModel():e}function Re(e){return Ge(e)?e.getViewModel():void 0}function je(e){return e?.map(e=>e.getViewModel())||[]}function Ge(e){const t=e;return"function"==typeof t?.getViewModel&&("function"!=typeof t.rendersViewModel||t.rendersViewModel())}const We="__derivedDirtyMarkers";function Ue(e,t){let i=e?.[We];return!i&&t&&e&&(i={},Object.defineProperty(e,We,{value:i,enumerable:!1,configurable:!0,writable:!0})),i}function qe(e,t,i){const r=Ue(e,!0);if(!r)return()=>{};const s=r[t]||(r[t]=new Set),o={markDirty:i};return s.add(o),()=>{s.delete(o)}}function Ke(e,t){const i=Ue(e,!1)?.[t];i?.size&&[...i].forEach(({markDirty:e})=>e())}const Ye="__stableRead";function Ze(e){return"function"==typeof e&&!!e[Ye]}const Je={undefined:!0,boolean:!0,number:!0,string:!0};function Xe(e,t){return!!(null===e||Je[typeof e])&&e===t}function Qe(e,t){const i=Array.isArray(e)?e:[],r=Array.isArray(t)?t:[],s=[],o=i.map((e,t)=>({item:e,index:t})).filter(e=>-1===r.indexOf(e.item));let n=-1;return r.forEach((e,t)=>{const r=i.indexOf(e);-1===r?s.push({item:e,index:t}):r<n?(s.push({item:e,index:t}),o.push({item:e,index:r})):n=r}),o.sort((e,t)=>e.index-t.index),{added:s,removed:o}}function et(e,t,i){return e.events.on(`${t}Changed`,e=>{void 0!==e?.propertyName&&e.propertyName!==t||i(e)})}function tt(e,t,i){return Be(e)?et(e,String(t),({newValue:e})=>i(e)):()=>{}}function it(e,t,i){return Be(e)?et(e,String(t),({oldValue:e,newValue:t})=>i({oldValue:e,newValue:t})):()=>{}}function rt(e,t,i){const r=[];return"*"===t?r.push(e?.events?.on("propertyChanged",()=>{i()})):t.forEach(t=>{r.push(tt(e,t,()=>i()))}),()=>{r.forEach(e=>e&&e())}}function st(e,t,i){return Be(e)?et(e,t,e=>{const t=e,r=t.added||t.removed?{added:t.added||[],removed:t.removed||[]}:Qe(t.oldValue,t.newValue);(r.added.length||r.removed.length)&&i(r)}):()=>{}}function ot(e,t,i){return Be(e)?((e[t]||[]).forEach(i),st(e,t,e=>{e.added.forEach(e=>i(e.item))})):()=>{}}function nt(e){return!e.isDisposing&&!!e.updateViewModel&&!!e.isViewModelReady?.()}const at="__viewModel__timeout",dt="__viewModel__chunks";function lt(e,t){nt(e)&&(e.deferredUpdateViewModel()?pt(e,t):e.updateViewModel(t))}const ct=e=>(e[dt]||(e[dt]={}),e[dt]),ut=e=>{const t=e[dt];return e[dt]={},t};function pt(e,t){if(nt(e)){const i=ct(e);if("added"in t||"removed"in t){const e=Array.isArray(i[t.propertyName])?i[t.propertyName]:[];i[t.propertyName]=[...e,t]}else i[t.propertyName]=t;if(e[at])return;e[at]=setTimeout(()=>{if(e[at]=null,!nt(e))return;const t=ut(e);t&&Object.keys(t).forEach(i=>{const r=t[i];Array.isArray(r)?r.forEach(t=>e.updateViewModel(t)):e.updateViewModel(r)})})}}class ht{static checkCache(e,t,i,r){const s=r();if(ht.sameAnswer(i,s))return;throw new Error(`Stale cache for derived property '${t}' of ${e?.constructor?.name||"model"}: it answers ${ht.describe(i)} while a fresh read gives ${ht.describe(s)}. Something the read depends on is missing from its sources, so nothing refreshed the store.`)}static checkSourceHolder(e){const t=e.properties;"*"!==t&&Array.isArray(t)&&t.forEach(t=>{const i=e.model?.[t],r=ht.describeHolder(i);r&&console.error(`A derived source names '${String(t)}' of ${e.model?.constructor?.name||"an object"}, and that property holds ${r}: the model never announces it. Name the accessor itself in the list instead.`)})}static describeHolder(e){return e&&"object"==typeof e&&"function"==typeof e.getValue?"an accessor":"function"==typeof e&&"function"==typeof e.subscribe?"a subscribable":void 0}static sameAnswer(e,t,i=4){if(e===t)return!0;if(e!=e&&t!=t)return!0;if("function"==typeof e&&"function"==typeof t)return!0;if(!e||!t||"object"!=typeof e||"object"!=typeof t)return!1;if(!ht.isPlainData(e)||!ht.isPlainData(t))return!0;if(Array.isArray(e)!==Array.isArray(t))return!1;if(0===i)return!0;const r=Object.keys(e);return r.length===Object.keys(t).length&&r.every(r=>ht.sameAnswer(e[r],t[r],i-1))}static isPlainData(e){const t=Object.getPrototypeOf(e);return Array.isArray(e)||t===Object.prototype||null===t}static describe(e){try{return JSON.stringify(e)??String(e)}catch{return Object.prototype.toString.call(e)}}}ht.validateCache=!1;let gt=0;function mt(){return gt>0}function ft(e,t){Ke(e,t.propertyName),gt++;try{!function(e,t){e.onPropertyChanged&&e.onPropertyChanged(t),lt(e,t),e.events?.call("propertyChanged",t)}(e,t)}finally{gt--}}const xt="__derivedProperties";function vt(e,t,i){let r=e[xt];if(!r){if(!i)return;r={},Object.defineProperty(e,xt,{value:r,enumerable:!1,configurable:!0,writable:!0})}i?r[t]=i:delete r[t]}function yt(e,t){return!!e?.[xt]?.[t]}function bt(e,t){return!!e?.[xt]?.[t]?.undoRecorded}const Ct="__arrayMutationListeners";function wt(e,t){[...e].forEach(i=>e.has(i)&&i(t))}function _t(e,t){const i=function(e){const t=e[Ct];if(t)return t;const i=new Set,r=(t,i)=>Object.defineProperty(e,t,{value:i,enumerable:!1,configurable:!0,writable:!0});return r(Ct,i),r("push",(...t)=>{const r=e.length,s=Array.prototype.push.apply(e,t);return wt(i,{operation:"push",added:t.map((e,t)=>({item:e,index:r+t})),removed:[],newValue:e}),s}),r("splice",(...t)=>{const r=Math.trunc(Number(t[0]))||0,s=r<0?Math.max(e.length+r,0):Math.min(r,e.length),o=t.slice(2),n=Array.prototype.splice.apply(e,t);return wt(i,{operation:"splice",added:o.map((e,t)=>({item:e,index:s+t})),removed:n.map((e,t)=>({item:e,index:s+t})),newValue:e}),n}),r("pop",()=>{const t=e.length,r=Array.prototype.pop.apply(e);return wt(i,{operation:"pop",added:[],removed:t?[{item:r,index:t-1}]:[],newValue:e}),r}),i}(e);return i.add(t),()=>{i.delete(t)}}const At=new WeakMap,Et=e=>(t,i)=>_t(t,t=>t.operation===e&&i(t)),St={push:Et("push"),splice:Et("splice"),pop:Et("pop")},It={enabled:!1};function Pt(e,t){if(!It.enabled)return t(e);const i=function(e,t){const i=new WeakRef(e),r=t(e=>{const t=i.deref();t?t(e):r?.()});return r}(e,t),r=[e];return i&&(()=>{r.length=0,i()})}function Dt(e,t){return e!==t&&!(e!=e&&t!=t)}function Tt(e,t,i=[],r=[]){ft(e,{propertyName:t,added:i,removed:r,newValue:e[t]})}class Vt{_defineProperty(e,t,i,r=()=>{},s){let o,n=i(),a=null,d=null,l=!1;vt(e,t,void 0),r&&r(n),Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:()=>n,set:i=>{const c=n;n=s?.coerce&&i!==c?s.coerce(i):i,l||(l=!0,o=c);const u=()=>{const i=l?o:c;l=!1;if(!e.isDisposing&&("always"===s?.notify||Dt(i,n))){const s={propertyName:t,oldValue:i,newValue:n};r&&r(n),ft(e,s)}};if(s?.deferred)a||(a=Promise.resolve().then(()=>{u(),a=null}));else if(s?.rateLimit){if("notifyWhenChangesStop"===s.rateLimit.method){if(d){if(!Dt(c,n))return;clearTimeout(d)}}else if(null!==d)return;d=setTimeout(()=>{u(),d=null},s.rateLimit.timeout)}else u()}}),Ke(e,t)}generateArrayProperty(e,t,i,r){const s=Object.prototype.hasOwnProperty.call(e,t)?e[t]:void 0;this._defineProperty(e,t,()=>i,i=>{const r=At.get(e)||new Map;At.set(e,r),r.get(t)?.(),r.delete(t),Array.isArray(i)&&r.set(t,_t(i,i=>ft(e,{propertyName:t,oldValue:void 0,...i})))},r),void 0!==s&&s!==i&&ft(e,{propertyName:t,oldValue:s,newValue:i})}generateProperty(e,t,i,r){this._defineProperty(e,t,()=>i,null,r)}defineDerivedProperty(e,t,i,r,s={}){vt(e,t,s);let o=!1;const n=()=>{if(o)throw new Error(`Derived property '${t}' reads itself`);o=!0;try{return i()}finally{o=!1}},a=e=>Array.isArray(e)?[...e]:void 0,d=Ze(i),l=!1!==s.cached;let c=n(),u=c,p=!1,h=!1;const g=()=>{if(!(l&&p||(p=!0,h))){h=!0;try{Ke(e,t)}finally{h=!1}}},m=()=>(p&&(u=n(),p=!1),u);let f=a(c);const x=l?()=>{const i=m();return void 0===s.cached&&ht.validateCache&&!mt()&&ht.checkCache(e,t,i,n),i}:n;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:x,set:r&&(e=>{r(e),g()})}),Ke(e,t);return Object.assign(()=>{const i=l?m():n();if("always"!==s.notify&&(d?i===c:Xe(c,i)))return;const r=!!f||Array.isArray(i)?{propertyName:t,oldValue:f,newValue:i,...Qe(f,i)}:{propertyName:t,oldValue:c,newValue:i};c=i,f=a(i),ft(e,r)},{markDirty:g})}}const Mt=new Vt;function kt(e){return!!e&&"object"==typeof e&&"function"==typeof e.getValue}function Ft(e){return kt(e)?e.getValue():e}function $t(e){return kt(e)?e:{getValue:()=>e}}function Ot(e){return kt(e)?e:void 0}function Nt(e){return kt(e)?e:Lt(e)}function Bt(e){let t=!1;return()=>{t||(t=!0,Promise.resolve().then(()=>{t=!1,e()}))}}function Lt(e,t={}){let i=e;const r=new Set;return{getValue:()=>i,setValue:e=>{Xe(i,e)||(i=e,[...r].forEach(({notify:e})=>e(i)))},setValueChangedEvent:e=>{let s=!1;const o={notify:t.deferred?Bt(()=>{s||e(i)}):e};return r.add(o),()=>{s=!0,r.delete(o)}}}}function zt(e,t){return{getValue:()=>e?.[t],setValue:i=>e[t]=i,setValueChangedEvent:i=>{const r=i.markDirty,s=r&&Be(e)?qe(e,t,r):void 0,o=tt(e,t,i);return()=>{s&&s(),o()}}}}function Ht(e,t){return{...zt(e,t),notify:()=>{const i=e[t];Array.isArray(i)?Tt(e,t):ft(e,{propertyName:t,oldValue:i,newValue:i})}}}class Rt extends x{constructor(){super(...arguments),this._handlers={}}dispose(){super.dispose(),this._handlers={}}register(e,t){e in this._handlers||(this._handlers[e]=new Set);const i={listener:t};return this._handlers[e].add(i),i}call(e,t){if(e in this._handlers){[...this._handlers[e]].forEach(({listener:e})=>e(t))}}addHandler(e,t){this.register(e,t)}removeHandler(e,t){const i=this._handlers[e];if(i)for(const e of i)if(e.listener===t)return void i.delete(e)}on(e,t){const i=this.register(e,t);return()=>{this._handlers[e]?.delete(i)}}}class jt extends Rt{call(e,t){const i=t;if(t&&"propertyChanged"===e||e===`${i?.propertyName}Changed`){const e=`${i.propertyName}Changed`;super.call(e,t),"propertyChanged"!==e&&super.call("propertyChanged",t)}else super.call(e,t)}}const Gt={throwOnSubscribableValue:!1};function Wt(e,t){let i=e;for(;i&&i!==Object.prototype;){const e=Object.getOwnPropertyDescriptor(i,t);if(e&&(e.get||e.set))return e;i=Object.getPrototypeOf(i)}}class Ut{createObjectByInfo(e){return{getInfo:()=>e||[],events:new jt,onPropertyChanged(e){}}}linkObjects(){Object.keys(this._linkTable).forEach(e=>{const t=this._refTable[e];t&&this._linkTable[e].splice(0).forEach(e=>e(t))})}wrapPropertyValue(e){return e}wrapPropertyArrayValue(e){return e}unwrapPropertyValue(e){return e}_getModel(e,t){let i=e;return t.forEach(e=>{i=i[e]}),i}_collectLinks(e,t,i,r){const s=e[r].slice(5);let o;this._linkTable[s]=this._linkTable[s]||[],this._linkTable[s].push(e=>o=e),t._restoreLinks||(t._restoreLinks=[]),t._restoreLinks.push(e=>{const t=this._getModel(e,i);return{setRef:e=>{-1===e?delete t[r]:t[r]="#Ref-"+e},obj:()=>o}})}_enumRefs(e,t,i){e._refs||(e._refs=[]),e._refs.push((e,r)=>{this._getModel(e,t)[i]=r})}_collectLinksAndEnumRefs(e,t=null,i=[]){const r=null===t;t=t||e,Object.keys(e).forEach(s=>{e[s]instanceof Object?this._collectLinksAndEnumRefs(e[s],t,[].concat(i,[s])):e[s].indexOf&&0===e[s].indexOf("#Ref-")?this._collectLinks(e,t,i,s):r||"@Ref"!==s||this._enumRefs(t,i,s)}),r&&this.linkObjects()}constructor(e){this.engineType="native",this._options={useRefs:!0,serializeDate:(e,t)=>oe(e,void 0,t)},this._refTable={},this._linkTable={},this._options=xe(this._options,e)}shareRefsWith(e){e._refTable=this._refTable,e._linkTable=this._linkTable}nativeSerializerWithSharedRefs(){const e=new Ut(this._options);return e._refTable=this._refTable,e._linkTable=this._linkTable,e}setLinks(e){e.linkObjTable.forEach(t=>{const i=e.objects.indexOf(t.obj());t.setRef(i)})}deserializeProperty(e,t){const i=e.modelName;if(!i)return;const r=void 0!==t[i]?t[i]:e.defaultVal;return this.deserializePropertyValue(e,r)}deserializeDefaultValue(e){const t=this.deserializePropertyValue(e,e.defaultVal,!1);return void 0===t?e.defaultVal:t}deserializePropertyValue(e,t,i=!0){if("string"==typeof e)return this.wrapPropertyValue(t);if(e.array)return e.from?e.from(t,this):e.info?this.wrapPropertyArrayValue(Object.keys(t||{}).map(i=>{const r=this.createObjectByInfo(e.info||[]);return this.deserialize(r,t[i]||{}),r})):void 0;if(e.from)return e.from(t,this);if(e.type){const i=new e.type(t,this,e.info);return i._model||this.deserialize(i,t||{},e.info),i}if(e.info){const i=this.createObjectByInfo(e.info);return this.deserialize(i,t||{}),i}if(e.modelName)return this.wrapPropertyValue(t);if(i)throw new Error("Invalid info '"+JSON.stringify(e)+"'")}setProperty(e,t,i){return e[t]=i,e[t]}setLinkProperty(e,t,i){return this.setProperty(e,t,i)}getLinkProperty(e,t){return e[t]}setReferencedProperty(e,t,i){Object.keys(t).some(e=>"~Xtra#NULL"===t[e])||(this._refTable[i]=e)}generateProperty(e,t,i){Mt.generateProperty(e,t,i)}generateArrayProperty(e,t,i){Mt.generateArrayProperty(e,t,i)}materializeDeclaredProperty(e,t,i){const r=t.propertyName;r in e||(t.array?this.generateArrayProperty(e,r,[]):!Wt(i,r)&&t.modelName&&this.generateProperty(e,r,void 0))}deserialize(e,t,i=[]){e.events||(e.events=new jt),t&&(e._model=xe({},t),e.getInfo||(e.getInfo=()=>i)),i="function"==typeof e.getInfo?e.getInfo():i;const r=Object.getPrototypeOf(e);if(!t)return void i.forEach(t=>this.materializeDeclaredProperty(e,t,r));const s=t,o=s["@Ref"];i.forEach(t=>{const i=t.propertyName,o=t.modelName;let n;if(e._model&&void 0!==s[o]&&delete e._model[o],t.link){n=this.wrapPropertyValue(null);const r=s[t.modelName];if(r){const t=r&&r.slice(5);this._linkTable[t]=this._linkTable[t]||[];const s=this;this._linkTable[t].push(function(t){return 0===arguments.length?s.getLinkProperty(e,i):s.setLinkProperty(e,i,t)})}}else n=this.deserializeProperty(t,s);const a=Wt(r,i);void 0!==n&&(a?.set?e[i]=n:a||(t.array&&Array.isArray(n)?Mt.generateArrayProperty(e,i,n):this.generateProperty(e,i,n))),void 0===n&&this.materializeDeclaredProperty(e,t,r)}),o&&this.setReferencedProperty(e,s,o),this.linkObjects()}serialize(e,t,i=null){return t||i?this._serialize(e,t||[],i):this._serialize(e,[],null)}_isSerializableValue(e){return ge(e)&&!me(e)||Array.isArray(e)&&e.length>0||!Array.isArray(e)&&!ge(e)}_reportSubscribableValue(e,t,i){if("native"!==this.engineType||"function"!=typeof e||!("subscribe"in e))return;const r=`Cannot serialize '${t}' of ${i?.constructor?.name||"model"}: the value is a knockout observable, but the serializer is native. The model was most likely built with a knockout serializer while its parent tree uses the native one.`;if(Gt.throwOnSubscribableValue)throw new Error(r);console.error(r)}serializeProperty(e,t,i,r,s){const o=e.propertyName;if(!e.modelName)return;let n=this.unwrapPropertyValue("_"+o in t?t["_"+o]:t[o]),a=e.defaultVal;this._reportSubscribableValue(n,o,t),e.beforeSerialize&&(n=e.beforeSerialize(n)),e.from&&(a=this.unwrapPropertyValue(e.from(a,this)));let d={};if(e.alwaysSerialize||null!=n&&(ge(n)||!me(n)||Array.isArray(n)&&n.length>0||!Array.isArray(n)&&!ge(n))&&n!==a){if(e.link)r.linkObjTable.push({obj:()=>n,setRef:t=>{t<0?delete s[e.modelName]:s[e.modelName]="#Ref-"+t}}),d=void 0;else if(e.array){d={};let t=1;n.forEach(i=>{const s=e.info||null,o=this._serialize(i,s,r);(this._isSerializableValue(o)||e.alwaysSerialize)&&(d["Item"+t]=o,this._options.useRefs&&(o["@Ref"]=(r.objects.push(i)-1).toString()),t++)})}else if(e.from)d=n.isEmpty&&n.isEmpty()?{}:e.toJsonObject?e.toJsonObject(n,this,r,t):n.toString();else if(e.info||n.getInfo)d=this._serialize(n,e.info,r);else{if(!e.modelName)throw new Error("Invalid info '"+i.stringify()+"'");d=n instanceof Date?this._options&&this._options.serializeDate(n,this.unwrapPropertyValue(t.type)):n}(e.alwaysSerialize||this._isSerializableValue(d))&&(e.asRef&&(d["@Ref"]=(r.objects.push(n)-1).toString()),s[e.modelName]=d)}}_serialize(e,t,i){const r=xe(!0,{},e._model),s=null===i;return i=i||{linkObjTable:[],objects:[]},r._restoreLinks&&(i.linkObjTable.push.apply(i.linkObjTable,r._restoreLinks.map(e=>e(r))),delete r._restoreLinks),r._refs&&(r._refs.forEach(e=>e(r,(i.objects.push("0")-1).toString())),delete r._refs),t=e.getInfo?e.getInfo():t,delete r["@Ref"],e.isEmpty&&e.isEmpty()?{}:(t.forEach(s=>{("function"!=typeof e?.shouldSerialize||e?.shouldSerialize?.(s.propertyName,e))&&this.serializeProperty(s,e,t,i,r)}),s&&this.setLinks(i),r)}}function qt(e,t){return{model:e,properties:t}}class Kt{cleanNode(e){}addDisposeCallback(e,t){}removeDisposeCallback(e,t){}dataFor(e){}applyBindings(e,t){}hasBindings(e){return!1}applyBindingsToDescendants(e,t){}renderTemplate(e,t,i){}contextFor(e){return null}}const Yt=e=>new Ut(e);function Zt(e){return e?"native"===e.engineType?e:e.nativeSerializerWithSharedRefs():Yt()}let Jt=Yt,Xt=new Kt;function Qt(e){Xt=e}function ei(e){Jt=e}function ti(e,t){return!!e&&!!t&&ii(e,t)}function ii(e,t,i=(e,t)=>e===t){return e===t||!(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)&&e.every((e,r)=>i(e,t[r]))}function ri(e){return"function"==typeof e&&"function"==typeof e.subscribe}function si(e){return ri(e)?e:void 0}function oi(e,t){return e===t||!(!e||!t||"function"==typeof e||"function"==typeof t)&&("model"in e&&"model"in t&&(e.model===t.model&&function(e,t){return e===t||Array.isArray(e)&&Array.isArray(t)&&ii(e,t)}(e.properties,t.properties)))}class ni{constructor(e,t,i){this.sources=e,this.announce=t,this.markDirty=i,this.releases=[],this.followed=[]}release(){const e=this.releases;this.releases=[],this.followed=[],e.forEach(e=>e&&e())}rehang(){const e=this.sources();if(this.releases.length&&function(e,t){return ii(e,t,oi)}(this.followed,e))return;const t=this.createNotify(),i=this.releases;this.releases=e.map((e,r)=>{if(r<this.followed.length&&oi(this.followed[r],e)){const e=i[r];return i[r]=void 0,e}return this.subscribe(e,t)}),i.forEach(e=>e&&e()),this.followed=e}createNotify(){return Object.assign(()=>{this.markDirty&&this.markDirty(),this.rehang(),this.announce()},this.markDirty?{markDirty:this.markDirty}:{})}subscribe(e,t){if(e){if("model"in e){ht.validateCache&&ht.checkSourceHolder(e);const i=this.leaveDirtyWord(e),r=rt(e.model,e.properties,t);return()=>{i&&i(),r()}}return ri(e)?f(i=e.subscribe(t))?()=>i.dispose():"function"==typeof i?i:void 0:"function"==typeof e?e(t):e.setValueChangedEvent?.(t)||(()=>{});var i}}leaveDirtyWord(e){const t=this.markDirty,i=e.properties;if(!t||"*"===i||!Array.isArray(i)||!Be(e.model))return;const r=i.map(i=>qe(e.model,i,t));return()=>r.forEach(e=>e())}}function ai(e,t,i,r={}){return{getValue:e,setValue:i,setValueChangedEvent:i=>{const s=i?.markDirty,o=()=>i(e());return gi(t,s?Object.assign(o,{markDirty:s}):o,!1,r)}}}function di(e,t){const i=new Set;let r;const s=Object.assign(()=>{[...i].forEach(e=>i.has(e)&&e.callback())},{markDirty:()=>i.forEach(({callback:e})=>e.markDirty?.())});return o=>{const n={callback:o};return i.add(n),r=r||gi(e,s,!1,t),()=>{if(!i.delete(n)||i.size||!r)return;const e=r;r=void 0,e()}}}function li(){let e=[];return Object.assign(t=>(e=[...e,t],()=>{e=e.filter(e=>e!==t)}),{notify:()=>{const t=[...e];t.forEach(e=>e.markDirty?.()),t.forEach(e=>e())}})}function ci(e,t,i){const r=Lt(e());if(!i?.deferred){const i=gi(t,()=>r.setValue(e()),!1);return{...r,dispose:i}}let s=r.getValue(),o=!1,n=!1;const a=new Set,d=()=>[...a].forEach(({markDirty:e})=>e()),l=()=>(o&&!n&&(o=!1,s=e()),s),c=Bt(()=>{n||r.setValue(l())}),u=gi(t,()=>{o=!0,d(),c()},!1);return{getValue:l,setValue:e=>{o=!1,s=e,d(),c()},setValueChangedEvent:e=>{const t=e.markDirty,i=t&&{markDirty:t};i&&a.add(i);const s=r.setValueChangedEvent(e);return()=>{i&&a.delete(i),s()}},dispose:()=>{n=!0,u()}}}function ui(e,t){if(e===t)return!0;if(!e||!t||"object"!=typeof e||"object"!=typeof t)return!1;const i=Object.keys(e);return i.length===Object.keys(t).length&&i.every(i=>e[i]===t[i])}function pi(e,t,i){const r=()=>e[t];return ai(()=>r()?.[i],()=>[qt(e,[t]),r()&&qt(r(),[i])],e=>{const t=r();t&&(t[i]=e)})}function hi(e,t=ui){let i,r=!1;return Object.defineProperty(()=>{const s=e();return r&&t(i,s)||(i=s,r=!0),i},Ye,{value:!0,enumerable:!1})}function gi(e,t,i=!0,r){let s=!1;const o=r?.deferred?Bt(()=>{s||t()}):t,n=new ni(e,o,t.markDirty);return n.rehang(),i&&t(),()=>{s=!0,n.release()}}function mi(e){return si(e)||(kt(e)?e:void 0)}function fi(e,t){let i;return()=>{clearTimeout(i),i=setTimeout(e,t)}}var xi;function vi(e,t){return"text"!==t?e.replace(/(^data:[^,]+,)|(^data:)/,""):e}!function(e){e[e.contains=0]="contains",e[e.startWith=1]="startWith"}(xi||(xi={}));const yi="dxd-fileuploader-input";let bi=e=>{const t=new z;let i=document.getElementById(yi);return i||(i=function(){const e=document.createElement("input");return e.type="file",e.id=yi,e.style.width="0px",e.style.height="0px",e.style.display="none",document.body.appendChild(e),e}()),i.accept=e.accept,i.onchange=()=>{!function(e,t,i){try{const r=e.files;for(let e=0;e<r.length;e++){const s=r[e];if("img"===i.type){const e=/image.*/;if(!s.type.match(e))continue}const o=new FileReader,n=s.name.split(".").pop(),a=i.readMode?"text"===i.readMode:"html"===n||"htm"===n,d=!a;o.onload=()=>{try{t.resolve({format:n,content:vi(o.result,i.readMode),contentType:d?"base64":"plaintext"})}catch(e){t.reject()}},a?o.readAsText(s):o.readAsDataURL(s)}}catch(e){t.reject()}}(i,t,e),i.value=""},i.click(),t.promise()};const Ci=e=>bi=e;function wi(e){bi=e}function _i(e,t){return!!e&&!!t&&e.header===t.header&&e.content===t.content&&e.editorType===t.editorType}function Ai(e,t,i){if(!i){const i=Ei(t);return!!e&&e.match(new RegExp(i,"gi"))}let r=i.canUseRegex?t:Ei(t);i.searchMode!=xi.startWith||i.canUseRegex||(r="^"+r);let s="";return i.caseSensitive||(s+="i"),i.globalMatch&&(s+="g"),!!e&&e.match(new RegExp(r,s))}function Ei(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Si(e,t,i){return i=i||e.length-t,e.slice(0,t)+e.slice(t+i,e.length)}function Ii(e,t,i,r=""){let s=e;return s=Si(s,t,i),s=Pi(s,t,Array(i+1).join(r)),s}function Pi(e,t,i){return e.substring(0,t)+i+e.substring(t)}function Di(e,...t){return e.replace(/{(\d+)(:[^}]+)?}/g,(e,i,r)=>{const s=t[parseInt(i)];return null!=s?r&&"d"===r.substring(1)?Fe(new Date(s)):s.toString():e})}function Ti(e){return[...e?.getInfoPropertyDependencies?.()||[],qt(e,["getInfo"])]}function Vi(e,t,i=!0){return gi(()=>Ti(e),t,i)}var Mi,ki;function Fi(e){xe(Ee,e.messages)}function $i(e,t,i){return we(e,t,_e)}function Oi(e,t){return-1!==e.indexOf(t,e.length-t.length)}function Ni(e){xe(Se,e);const t={};Object.keys(e).forEach(i=>{t[i]=e[i]}),Fi({messages:t})}function Bi(e){return e.split(",")[0].trim()}function Li(e){const t=Bi(e).split(".");return t[t.length-1]}function zi(e){if(!e)return"";let t=e.displayType&&e.displayType()||e.controlType;if(e.getControlFactory){const i=e.getControlFactory().getControlInfo(t);i.displayName&&(t=i.displayName)}return t&&$i(Li(t))}function Hi(e){if(!e)return"";const t=e.name||e.displayName,i=zi(e);return t+(i?" ("+i+")":"")}function Ri(e,t=!1){const i=Bi(e||"").split(".").join("_");let r;return 0===i.indexOf("XR")?r=i.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===i&&(r="master_report"),(t?"dxrd-svg-toolbox-":"dxrd-image-")+(r||i.toLowerCase())}function ji(e,t,i){if(0===t.indexOf("XR"))t=t[2].toLowerCase()+t.slice(3);else{const e=t.indexOf("Band");-1!==e&&"SubBand"!==t&&(t=t.slice(0,e)+t.slice(e+4))}return Gi(i||e.map(e=>e.name),t)}function Gi(e,t,i=!0){let r=i?1:0,s=i?t+r:t;for(;e.filter(e=>e===s).length>0;)r++,s=t+r;return s}!function(e){e.Plus="+",e.Minus="-",e.Equal="=",e.Tab="Tab",e.Delete="Delete",e.Enter="Enter",e.Esc="Escape",e.Space=" ",e.End="End",e.Home="Home",e.PageUp="PageUp",e.PageDown="PageDown",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown"}(Mi||(Mi={})),function(e){e[e.Tab=9]="Tab",e[e.Enter=13]="Enter",e[e.Esc=27]="Esc",e[e.Space=32]="Space",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"}(ki||(ki={}));class Wi{constructor(e,t,i){this._data=t,this._templates=i,this.templateName=e}data(e,t){if(this._data[this.templateName]=this._data[this.templateName]||{},1===arguments.length)return this._data[this.templateName][e];this._data[this.templateName][e]=t}text(e){if(0===arguments.length){if(this.templateName in this._templates)return this._templates[this.templateName];throw new Error("Cannot find template with ID "+this.templateName)}this._templates[this.templateName]=e}}class Ui{constructor(){this._hasTemplate=(e,t)=>t&&!!document.getElementById(e)||this._templates.hasOwnProperty(e),this._data={},this._templates={}}static get Instance(){return this._instance||(this._instance=new this)}static get templates(){return Ui.Instance._templates}static addTemplate(e,t){Ui.templates[e]=t}static addTemplates(e){xe(Ui.templates,e)}static extendTemplates(e){for(const t in e){let i;Object.defineProperty(Ui.templates,t,{configurable:!0,enumerable:!0,get:()=>i||Ui.templates[e[t]],set:e=>{i=e}})}}static getExistingTemplate(e,t=!0){return Ui.Instance._hasTemplate(e,t)?e:void 0}}const qi="viewModelChanged";class Ki extends v{constructor(e){super(),this._model=e}getModel(){return this._model}}const Yi={customValueStorageFactory:null,ensureChangesImmutable:!1,addTestFlag:!1},Zi=function(e={}){const t={createDefaultModel:i=>(e=new Ki(i),i?._disposables?.push({dispose:()=>{e.disposeViewModel(),e=void 0}}),t),generateProperty(t,i,r=!1){Yi.addTestFlag&&!e._____test&&Object.defineProperty(e,"_____test",{get:()=>!0,enumerable:!1});const s=e;return!s?._viewModelEvents&&Ji(s),r||"function"==typeof i?(s[t]=i,this):Array.isArray(i)?(er(s,t,i),this):(Qi(s,t,i),this)},configureProperty(t,i){return t in e&&i(e[t]),this},getViewModel:()=>e};return t},Ji=e=>{const t=new Rt;Object.defineProperty(e,"_viewModelEvents",{get:()=>t,enumerable:!1})},Xi=(e,t,i,r)=>{const s=Yi.customValueStorageFactory,o=s?s(i):(e=>{let t=e;return{getValue:()=>t,setValue:e=>t=e,explicitNotifySubscribers:()=>{}}})(i),n=e=>o.setValue(e);let a=r(i,n);return a&&e?.addDisposable?.(a),Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:()=>o.getValue(),set:i=>{if(o.getValue()===i)return;const s=e;s?.disposeSubscription?s.disposeSubscription(a):a?.();const d={propertyName:t,oldValue:o.getValue(),newValue:i};o.setValue(i),a=r(i,n),s?.addDisposable?.(a),e._viewModelEvents.call(qi,d)}}),()=>o.explicitNotifySubscribers()},Qi=(e,t,i)=>{Xi(e,t,i,(i,r)=>i?._viewModelEvents?Pt(((i,r)=>s=>{Yi.ensureChangesImmutable&&i&&"object"==typeof i&&i._viewModelEvents&&r({...i}),e._viewModelEvents.call(qi,{...s,propertyName:`${t}.${s.propertyName}`})})(i,r),e=>i._viewModelEvents.on(qi,e)):void 0)},er=(e,t,i)=>{let r=()=>{};r=Xi(e,t,i,(i,s)=>{const o=new Map,n=e=>e?._viewModelEvents?.on(qi,t=>{const r={...t,propertyName:`${i.findIndex(t=>t===e)}.${t.propertyName}`};i?._viewModelEvents?.call(qi,r)});if(Array.isArray(i)){!i._viewModelEvents&&Ji(i);const a={propertyName:t,newValue:i,oldValue:i},d=r=>{Yi.ensureChangesImmutable&&s([...i]),e._viewModelEvents.call(qi,{...r,propertyName:`${t}.${r.propertyName}`})};let l=!1;const c=t=>{l||(l=!0,r(),l=!1),t.removed.forEach(e=>{const t=e.item&&o.get(e.item);t&&t(),o.delete(e.item)}),t.added.map(e=>e.item).filter(e=>e&&e._viewModelEvents).forEach(e=>o.set(e,n(e))),e._viewModelEvents.call(qi,a)};o.set("",Pt(d,e=>i._viewModelEvents.on(qi,e))),o.set("#mutations",Pt(c,e=>_t(i,e))),i.filter(e=>e&&e._viewModelEvents).forEach(e=>o.set(e,n(e)))}return()=>o.forEach(e=>e&&e())})};function tr(e,t){const i=e?._viewModelEvents;return i?e=>i.on(qi,i=>{i.propertyName!==t&&"*"!==t||e()}):void 0}class ir extends x{assignProperty(e,t,i){this.tryClearProperty(e),Mt.generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){this.tryClearProperty(e),this.__mutableArrays.push(e),Mt.generateArrayProperty(this,e,t,i)}assignDerivedProperty(e,t,i,r,s){const o=e,n=this.tryClearProperty(e),a=Ot(t),d=()=>{const e=a?Mt.defineDerivedProperty(this,o,()=>a.getValue(),e=>{if(!a.setValue)throw new Error(`Cannot set value for derived property: ${o}`);a.setValue(e)},{cached:!1}):"function"==typeof t?Mt.defineDerivedProperty(this,o,t,r,s):null;if(!e)throw new Error(`Failed to define derived property: ${o}`);this.__derivedFollows[o]=gi(i||(()=>[a]),e,!1,{deferred:s?.deferred}),n||this.addDisposable(()=>this.__derivedFollows[o]?.())};s?.lazy?Object.defineProperty(this,o,{configurable:!0,enumerable:!0,get:()=>(d(),this[e]),set:t=>{d(),this[e]=t}}):d()}disposeDerivedProperty(e){const t=e;this.__derivedFollows[t]?.(),delete this.__derivedFollows[t],delete this[e]}tryClearProperty(e){return!!this.__derivedFollows[e]&&(this.disposeDerivedProperty(e),!0)}notifyProperty(e){const t=this[e];ft(this,{propertyName:e,oldValue:t,newValue:t})}hasMutableArray(e){return this.__mutableArrays.includes(e)}deserialize(e,t){t.deserialize(this,e)}dispose(){super.dispose(),this.events&&this.events.dispose()}constructor(){super(),this.__mutableArrays=[],this.__derivedFollows={},this.events=new jt,this.__decorators?.forEach(e=>e(this))}}function rr(e,t){return(i,r)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push(s=>{if(i.isPrototypeOf(s)){const i="function"==typeof e?e():e;s.assignProperty(r,i,t)}})}}function sr(e,t){return(i,r)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push(s=>{i.isPrototypeOf(s)&&s.assignArrayProperty(r,[...e()],t)})}}class or extends ir{onPropertyChanged(e){}}class nr extends ir{deferredUpdateViewModel(){return!0}rendersViewModel(){return!0}getViewModel(){return this.__viewModel||this.initializeViewModel(),this.__viewModel}onPropertyChanged(e){}initializeViewModel(){this.__viewModel=this.createViewModel()}updateViewModel(e){}isViewModelReady(){return!!this.__viewModel}resetViewModel(){this.__viewModel?.disposeViewModel?.(),this.__viewModel=void 0}createViewModel(){return Zi().createDefaultModel(this).getViewModel()}}var ar=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class dr extends nr{deferredUpdateViewModel(){return!1}constructor(e){super(),this.info=e}get type(){return Bi(this.info["@ControlType"])}get imageClassName(){return[Ri(this.type),this.disabled?"dxrd-disabled-button":""].join(" ")}get imageTemplateName(){const e=Ri(this.type,!0);return Ui.getExistingTemplate(e)??Ui.getExistingTemplate("dxrd-svg-toolbox-unknown")}get index(){return this.info.index}get displayName(){return this.info.displayName||this.type}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"disabled"===e.propertyName&&(t.disabled=this.disabled,t.imageClassName=this.imageClassName)}createViewModel(){return Zi(super.createViewModel()).generateProperty("info",this.info).generateProperty("displayName",this.displayName).generateProperty("imageClassName",this.imageClassName).generateProperty("imageTemplateName",this.imageTemplateName).generateProperty("disabled",this.disabled).getViewModel()}}function lr(e,t=""){const i=[];return Object.keys(e).forEach(r=>{if(!e[r].nonToolboxItem){const s={"@ControlType":r,displayName:e[r].displayName,index:e[r].toolboxIndex||0,canDrop:e[r].canDrop,group:e[r].group||t};e[r].size&&(s.size=e[r].size),e[r].defaultVal&&Object.keys(e[r].defaultVal).forEach(t=>{s[t]=e[r].defaultVal[t]}),i.push(new dr(s))}}),i.sort((e,t)=>e.index-t.index)}function cr(e){try{e.blur&&e.blur()}catch(e){document.body.blur()}}ar([rr(!1)],dr.prototype,"disabled",void 0);const ur=".dx-designer";class pr extends x{_processShortcut(e,t,i){const r=e[ki[t.keyCode]];return!!r&&r(t,i)}processShortcut(e,t){return this._processShortcut(this.shortcutMap,e,t)}processChildrenShortcut(e,t){return this._processShortcut(this.childrenShortcutMap,e,t)}}class hr extends pr{constructor(e,t){super(),this._selection=e,this._undoEngine=t,this.shortcutMap={Esc:e=>(this.processEsc(),!0),Left:e=>(this.moveSelectedControls(!0,!0,-1),!0),Up:e=>(this.moveSelectedControls(!0,!1,-1),!0),Right:e=>(this.moveSelectedControls(!1,!0,1),!0),Down:e=>(this.moveSelectedControls(!1,!1,1),!0)}}processEsc(){const e=this._selection.focused&&this._selection.focused.parent;e&&(this._selection.focused=e)}moveSelectedControls(e,t,i){const r=this._selection.focused;if(!r||r&&r.getControlModel().getMetaData().isCopyDeny)return;this._undoEngine&&this._undoEngine().start();const s=t?"left":"top",o=t?"width":"height";let n,a,d;r.rect&&(n=r.rect[s],a=r.rect[s]+r.rect[o],this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{const t=e.rect[s];t<n&&(n=t)}),this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{const t=e.rect[s]+e.rect[o];t>a&&(a=t)}),e&&n<=0||!r.parent.rect||!e&&a.toFixed(5)>=r.parent.rect[o]||(this._selection.selectedItems.filter(e=>!e.locked).filter(e=>!!e.rect).forEach(t=>{const r={},n=t.rect[s],a=t.rect[o],l=t.parent.rect[o];d=n+1*i,(e&&d>=0||!e&&d+a<=l)&&(r[s]=d),!e&&d+a>l&&(r[s]=l-a),e&&d<0&&n>0&&(r[s]=0),t.rect=r}),this._undoEngine&&this._undoEngine().end()))}}class gr extends x{_getRoot(e){return e instanceof Element?e.closest(ur):null}_getTargetRoot(e){const t=this._getRoot(e);if(t||!(e instanceof Element)||e===document.body||e===document.documentElement)return t;const i=e.querySelectorAll(ur);return 1===i.length?i[0]:null}_shouldHandle(e,t){return!!this._getRoot(this._targetElement)||!!t||e.target===document.body}_ownsTarget(e,t,i){return!e.scope||!i||(t instanceof Node&&e.scope.contains(t)||this._getRoot(e.scope)===i)}dispose(){super.dispose(),this._listener&&this._targetElement.removeEventListener(this._eventName,this._listener),this._listener=null,this._handlers=[],this._targetElement=null}constructor(e){super(),this._handlers=[],this._eventName="keydown",this._listener=null,this._dispatch=e=>{const t=this._getTargetRoot(e.target);if(this._shouldHandle(e,t))for(let i=this._handlers.length-1;i>=0;i--){const r=this._handlers[i];if((!r.enabled||r.enabled())&&this._ownsTarget(r,e.target,t))return void r.handler(e)}},this._targetElement=e}bindHandler(e,t,i,r="keydown"){const s={handler:e,enabled:t,scope:i};return this._handlers.push(s),this._listener||(this._eventName=r,this._listener=this._dispatch,this._targetElement.addEventListener(r,this._listener)),()=>{const e=this._handlers.indexOf(s);e<0||(this._handlers.splice(e,1),0===this._handlers.length&&this._listener&&(this._targetElement.removeEventListener(this._eventName,this._listener),this._listener=null))}}}let mr=null;function fr(){return null===mr&&(mr=new gr(window)),mr}function xr(e,t,i,r){delete e[i],r=r||i,Object.defineProperty(e,i,{get:()=>t[r],set:e=>{t[r]=e},configurable:!0})}function vr(e,...t){const i=(t,i=!0)=>{const r=t.split(".");let s=e;for(let e=0;e<r.length-1;e++)!s[r[e]]&&i&&(s[r[e]]={}),s=s[r[e]];return{object:s,propertyName:r[r.length-1]}},r=t[t.length-1],s=i(t[t.length-1]);for(let e=0;e<t.length-1;e++)((e,t)=>{Object.defineProperty(t.object,t.propertyName,{get:()=>(console.warn("DevExpress."+e+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),s.object[s.propertyName]),set:t=>{console.warn("DevExpress."+e+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),s.object[s.propertyName]=t},configurable:!0})})(t[e],i(t[e]))}function yr(e,t){let i=()=>{Xt.removeDisposeCallback(e,i),t&&t(),i=null,t=null};Xt.addDisposeCallback(e,i)}function br(e){return{getValue:()=>e(),setValue:t=>e(t),setValueChangedEvent:t=>e.subscribe(t)}}function Cr(e,t){let i=e,r=[];const s=e=>i!==e||null!==i&&("object"==typeof i||"function"==typeof i);return Object.assign(e=>(void 0!==e&&s(e)&&(i=e,t&&t(e),r.forEach(t=>t(e))),i),{subscribe:e=>Pt(e,e=>(r=[...r,e],()=>{r=r.filter(t=>t!==e)})),notifySubscribers:e=>{s(e)&&(i=e,r.forEach(t=>t(e)))}})}class wr extends x{dispose(){super.dispose(),this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.element=null}constructor(e){super(),this.element=e,this._eventListeners=[]}addListener(e,t,i){const r=e=>{i.call(this,e)};e.addEventListener(t,r),yr(e,function(){e.removeEventListener(t,r)}),this._eventListeners.push({element:e,eventType:t,listener:r})}setTabIndex(e){this.element.setAttribute("tabindex",e)}setFocus(){this.element.focus()}}class _r extends pr{_disposeItems(){this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.disposeArray(this.controlElements),this.controlElements.length=0}constructor(){super(),this.childrenInitialized=!1,this.accessibilityCompliantEnabled=!1,this.focusFirstFocusableDescendant=!1,this.controlElements=[],this._eventListeners=[],this._liveRegions={},this.setTabIndexes=e=>{this.controlElements.forEach(t=>t.setTabIndex(e))},this._disposed=!1,this.liveRegion=(e=!1)=>{if(!this.liveRegionId)return null;const t=e?this.liveRegionId+"-assertive":this.liveRegionId;if(!this._liveRegions[t]||!this._liveRegions[t].element){const e={element:document.getElementById(t),changeText:(t,i=200)=>{const r=()=>{e.element&&(e.element.textContent=t)};if(i)return setTimeout(r,i);r()}};this._liveRegions[t]=e}return this._liveRegions[t]},this.onInitialized=(e,t)=>{t&&(this.accessibilityCompliantEnabled=!0),this.accessibilityCompliantEnabled&&(this._unbindActiveHandler&&this._unbindActiveHandler(),this.bindHandler(e))},this.onDomUpdated=()=>{if(this.accessibilityCompliantEnabled&&!this.isDisposing){const e=this.getElements()||[];let t=e.length!==this.controlElements.length;if(!t)for(let i=0;i<e.length;i++)if(e[i]!==this.controlElements[i].element){t=!0;break}t&&(this.initialize(void 0,e),this._unbindActiveHandler&&this._unbindActiveHandler(),this._unbindActiveHandler=this._handlersManager.bindHandler(e=>this._keyDownHandler(e)))}},this.onCleanUp=()=>{this._disposeItems()},this.shortcutMap={Esc:e=>this.handleEscKey(e),Tab:e=>!(!e||!e.shiftKey)?this.handleShiftTabKey(e):this.handleTabKey(e),Enter:e=>this.handleEnterKey(e),Space:e=>this.handleSpaceKey(e),End:e=>this.handleEndKey(e),Home:e=>this.handleHomeKey(e),Up:e=>this.handleUpArrowKey(e),Down:e=>this.handleDownArrowKey(e),Left:e=>this.handleLeftArrowKey(e),Right:e=>this.handleRightArrowKey(e)},this.childrenShortcutMap={Tab:(e,t)=>!(!e||!e.shiftKey)?this.itemHandleShiftTabKey(e,t):this.itemHandleTabKey(e,t),Enter:(e,t)=>this.itemHandleEnterKey(e,t),Space:(e,t)=>this.itemHandleSpaceKey(e,t),End:(e,t)=>this.itemHandleEndKey(e,t),Home:(e,t)=>this.itemHandleHomeKey(e,t),Up:(e,t)=>this.itemHandleUpArrowKey(e,t),Down:(e,t)=>this.itemHandleDownArrowKey(e,t),Left:(e,t)=>this.itemHandleLeftArrowKey(e,t),Right:(e,t)=>this.itemHandleRightArrowKey(e,t),Esc:(e,t)=>this.itemHandleEscKey(e,t)}}getElements(e){if(!this._elementContainer)return;let t=Array.prototype.slice.call(this._elementContainer.querySelectorAll("."+this.controlElementClassName));return t.length?(e&&(t=t.filter(e)),t):void 0}initialize(e,t){this._disposeItems();const i=t||this.getElements(e);i&&(i.forEach((e,t)=>{const i=this.createControlElement(e,t);i&&this.controlElements.push(i)}),this.controlElements.forEach((e,t)=>{this.addListener(e.element,t,"click",this.clickHandler)}),this.childrenInitialized=!0)}getIndexByElement(e){return this.controlElements.map(e=>e.element).indexOf(e)}createControlElement(e,t){return new wr(e)}getContainer(){return this._elementContainer}changeFocus(e,t=!0){const i=this.controlElements.length-1;return e<0&&(e=t?i:0),e>i&&(e=t?0:i),this.controlElements[e].setTabIndex("0"),this.controlElements[e].setFocus(),e}bindHandler(e){this._elementContainer=e,this.initialize(),this._unbindActiveHandler&&this._unbindActiveHandler(),this._handlersManager?.dispose(),this._handlersManager=new gr(this._elementContainer),this._unbindActiveHandler=this._handlersManager.bindHandler(e=>this._keyDownHandler(e))}handleEscKey(e,t){return!!this._prevActiveElement&&(this._prevActiveElement.focus(),!0)}handleTabKey(e){return!1}handleShiftTabKey(e){return!1}handleEnterKey(e){return!1}handleSpaceKey(e){return!1}handleEndKey(e){return!1}handleHomeKey(e){return!1}handleUpArrowKey(e){return!1}handleDownArrowKey(e){return!1}handleLeftArrowKey(e){return!1}handleRightArrowKey(e){return!1}itemHandleHomeKey(e,t){return this.changeFocus(0),!0}itemHandleEndKey(e,t){return this.changeFocus(this.controlElements.length-1),!0}itemHandleLeftArrowKey(e,t){return!1}itemHandleRightArrowKey(e,t){return!1}itemHandleEnterKey(e,t){return!1}itemHandleSpaceKey(e,t){return!1}itemHandleUpArrowKey(e,t){return!1}itemHandleDownArrowKey(e,t){return!1}itemHandleTabKey(e,t){return!1}itemHandleShiftTabKey(e,t){return!1}itemHandleEscKey(e,t){return!1}setFocusToPrevious(e,t=!0){return this.changeFocus(e-1,t)}setFocusToNext(e,t=!0){return this.changeFocus(e+1,t)}clickHandler(e,t){this.changeFocus(t)}dispose(){super.dispose(),this._disposed=!0,this._unbindActiveHandler&&this._unbindActiveHandler(),this._disposeItems(),this._elementContainer=null,this._prevActiveElement=null,this._handlersManager?.dispose(),this._handlersManager=null,Object.keys(this._liveRegions).forEach(e=>{this._liveRegions[e].element=null,this._liveRegions[e].changeText=null}),this._liveRegions={}}addListener(e,t,i,r){const s=e=>{r.call(this,e,t)};e.addEventListener(i,s),yr(e,function(){e.removeEventListener(i,s)}),this._eventListeners.push({element:e,eventType:i,listener:s})}focus(e){(this.childrenInitialized||this._elementContainer)&&(this._prevActiveElement=e||document.activeElement,!this.childrenInitialized||this.focusFirstFocusableDescendant?setTimeout(()=>{if(this._disposed)return;if(this.childrenInitialized&&!this.focusFirstFocusableDescendant)return void this.changeFocus(this.startIndex||0);const e=this._elementContainer?.querySelectorAll('button, [href], input:not([type="hidden"]), select:not([style*="display: none"]), textarea, [tabindex]:not([tabindex="-1"])');e?.length&&e[0].focus()}):this.changeFocus(this.startIndex||0))}lastFocusItem(){return document.getElementById("dxrd-designer-last-focus-item-blank")}_keyDownHandler(e){const t=e.target;(t.classList.contains(this.controlElementClassName)&&this.processChildrenShortcut(e,this.getIndexByElement(t))||this.processShortcut(e))&&(e.stopPropagation(),e.preventDefault())}}class Ar extends _r{constructor(e,t=()=>{},i=""){super(),this._editorViewModelsAccessor=e,this._onToggleCollapsed=t,this.controlElementClassName="dxrd-accessibility-accordion-trigger",this.editorId=i}_collapseItem(e){const t=this._editorViewModelsAccessor();if(t){const e=t.collapsedAccessor.getValue(),i=t.alwaysShow;t.collapsedAccessor.setValue(!i&&!e),this._onToggleCollapsed()}}itemHandleEnterKey(e,t){return this._collapseItem(e.target),!0}itemHandleSpaceKey(e,t){return this._collapseItem(e.target),!0}clickHandler(e,t){this._onToggleCollapsed(),super.clickHandler(e,t)}}class Er extends _r{constructor(e){super(),this._editorsViewModelsAccessor=e,this.controlElementClassName="dxrd-accessibility-accordion-trigger",this.focusFirstFocusableDescendant=!0,this._complexEditorMap={},this._triggersParentToChildMap={}}_getElementsCount(){return Array.from(this.getContainer().querySelectorAll("."+this.controlElementClassName)).filter(e=>this._filterPredicate(e)).length}_defferedInit(){setTimeout(()=>{this.controlElements.length!==this._getElementsCount()&&this.initialize()},20)}_getComplexEditors(){const e={},t=(e,i)=>{e&&e.filter(e=>e.isComplexEditor).forEach(e=>{i[e.headerId]={editor:e,isInitialized:!1},t(e.viewmodel.editors,i)})};return t(this._editorsViewModelsAccessor(),e),e}_getComplexEditorsHierarchy(){const e={},t=(e,i)=>{e.viewmodel.editors.filter(e=>e.isComplexEditor).forEach(r=>{i[r.headerId]=e.headerId,t(r,i)})};return this._editorsViewModelsAccessor().filter(e=>e.isComplexEditor).forEach(i=>{t(i,e)}),e}_filterPredicate(e){let t=e.id;for(;this._triggersParentToChildMap&&this._triggersParentToChildMap[t];){if(this._complexEditorMap[this._triggersParentToChildMap[t]]?.editor?.collapsedAccessor.getValue())return!1;t=this._triggersParentToChildMap[t]}return!0}initialize(){Object.keys(this._complexEditorMap).filter(e=>!document.getElementById(e)).forEach(e=>{delete this._complexEditorMap[e],this._disposables=this._disposables.filter(t=>!(t instanceof Ar&&t.editorId===e)||(t.dispose(),!1))});for(const[e,t]of Object.entries(this._getComplexEditors()))this._complexEditorMap[e]&&this._complexEditorMap[e].isInitialized||(this._complexEditorMap[e]=t);this._triggersParentToChildMap=this._getComplexEditorsHierarchy(),Object.keys(this._complexEditorMap).forEach(e=>{if(!this._complexEditorMap[e].isInitialized){const t=document.getElementById(e);if(t){const i=new Ar(()=>this._complexEditorMap[e].editor,()=>this._defferedInit(),e);i.bindHandler(t),this.addDisposable(i),this._complexEditorMap[e].isInitialized=!0}}}),super.initialize(e=>this._filterPredicate(e)),this.setTabIndexes(0)}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t),!0}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t),!0}handleEscKey(e){return e.defaultPrevented||super.handleEscKey(e)}}class Sr extends wr{dispose(){this.element.removeEventListener("focus",this.toolbarItemHandleFocus),this.element.removeEventListener("blur",this.toolbarItemHandleBlur),super.dispose()}constructor(e,t){super(e),this.element=e,this._parentElement=t,this._borderCssClassName=["dxd-border-accented","dx-accessibility-container-highlight"],this.toolbarItemHandleFocus=()=>{this._parentElement.classList.add(...this._borderCssClassName)},this.toolbarItemHandleBlur=()=>{this._parentElement.classList.remove(...this._borderCssClassName)},e.addEventListener("focus",this.toolbarItemHandleFocus),e.addEventListener("blur",this.toolbarItemHandleBlur)}}const Ir=Cr(1),Pr=function(e){return e*Ir()};class Dr extends _r{constructor(){super(...arguments),this.startIndex=0}resetTabIndexes(){this.setTabIndexes("-1")}initialize(){super.initialize(),this.resetTabIndexes(),this.controlElements[this.startIndex]&&this.controlElements[this.startIndex].element.setAttribute("tabindex","0")}changeFocus(e,t=!0){this.resetTabIndexes();const i=super.changeFocus(e,t);return this.controlElements[i].setTabIndex("0"),this.controlElements[i].setFocus(),this.startIndex=i,i}}class Tr extends Dr{constructor(){super(...arguments),this.controlElementClassName="dx-accessibility-list-item"}createControlElement(e,t){return new Sr(e,this.getContainer())}itemHandleUpArrowKey(e,t){return this.startIndex=this.setFocusToPrevious(t,!1),!0}itemHandleDownArrowKey(e,t){return this.startIndex=this.setFocusToNext(t,!1),!0}}class Vr extends _r{constructor(e){super(),this._tabPanel=e,this.controlElementClassName="dx-accessibility-rightpanel-button"}_initialize(){this._initTimeout&&clearTimeout(this._initTimeout),this._initTimeout=setTimeout(()=>{this.initialize()},1)}bindHandler(e){super.bindHandler(e),this.addDisposable(...this._tabPanel.tabs.map(e=>e.events.on("visibleChanged",e=>{this._initialize()}))),this._initialize()}initialize(){super.initialize(),this.setTabIndexes(0)}createControlElement(e,t){if(this._tabPanel.tabs[t].visible)return new wr(e)}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t,!0),!0}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t,!0),!0}}const Mr=DevExpress.ui.dxSelectBox;var kr=e.n(Mr);const Fr=DevExpress.ui.dxMenu;var $r=e.n(Fr);class Or extends Dr{_subscribeButtonsAndInitialize(e){e.forEach(e=>{this._buttonsSubscriptions.push(tt(e,"visible",()=>this._initialize()))}),this._initialize()}_initialize(){this._initializationTimeout&&clearTimeout(this._initializationTimeout),this._initializationTimeout=setTimeout(()=>this.initialize(),100)}createControlElement(e,t){const i=this.buttonModels[t];if(i.visible)return new Nr(e,this.getContainer(),i,this.liveRegion.bind(this),this._moveFocusToSibling.bind(this))}_moveFocusToSibling(e,t){const i=this.controlElements.indexOf(e);i<0||(t<0?this.itemHandleLeftArrowKey(void 0,i):this.itemHandleRightArrowKey(void 0,i))}constructor(e,t=!1){super(),this._buttonModels=e,this._rtl=t,this.controlElementClassName="dx-accessibility-toolbar-item",this.liveRegionId="dxrd-preview-toolbar-live-region",this._buttonsSubscriptions=[],this._initializationTimeout=null,this._subscribeButtonsAndInitialize(this.buttonModels)}itemHandleEnterKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleSpaceKey(e,t){return this.controlElements[t].actionExecute(),!0}itemHandleLeftArrowKey(e,t){return this._rtl?this.setFocusToNext(t):this.setFocusToPrevious(t),!0}itemHandleRightArrowKey(e,t){return this._rtl?this.setFocusToPrevious(t):this.setFocusToNext(t),!0}handleEscKey(e){const t=this.controlElements.find(t=>t.element.contains(e.target));return t?.cancelAction(),!0}dispose(){super.dispose(),this._buttonsSubscriptions.forEach(e=>e()),this._buttonsSubscriptions.length=0,this._initializationTimeout&&(clearTimeout(this._initializationTimeout),this._initializationTimeout=null)}get buttonModels(){return this._buttonModels}}class Nr extends Sr{_isComplexItem(){return!(!this._selectBox&&!this._menu)}dispose(){super.dispose(),this._menu=null,this._selectBox=null}constructor(e,t,i,r,s){if(super(e,t),this.element=e,this._toolbarItemModel=i,this._liveRegion=r,this._moveFocusToSibling=s,this._borderCssClassName=["dxd-border-accented"],this._selectBox=kr().getInstance(e.children[0]),this._menu=$r().getInstance(e.children[0]),this._menu){this._moveFocusToSibling&&(this._menu.registerKeyHandler("leftArrow",e=>this._menuArrowKeyHandler(e,-1)),this._menu.registerKeyHandler("rightArrow",e=>this._menuArrowKeyHandler(e,1))),this.addListener(e,"focus",e=>{this.element.contains(e.relatedTarget)||this._focusMenu()});const t=e.children[0];this.addListener(t,"focus",this.toolbarItemHandleFocus),this.addListener(t,"blur",this.toolbarItemHandleBlur)}}_menuArrowKeyHandler(e,t){e.preventDefault(),e.stopPropagation(),this._moveFocusToSibling?.(this,t)}_focusMenu(){if(this._menu.option("disabled"))return super.setFocus();this._menu.focus()}setFocus(){if(this._menu){if(this._liveRegion().changeText(""),this.element.contains(document.activeElement))return;return this._focusMenu()}if(this._selectBox&&"true"!==this.element.getAttribute("aria-disabled")?this._liveRegion().changeText($i("press Enter or Space to activate the editor","ASPxReportsStringId.WebDocumentViewer_AriaActivateEditor"),200):this._liveRegion().changeText(""),!this._selectBox||!this.element.contains(document.activeElement))return super.setFocus()}actionExecute(){if(this._isComplexItem()&&this._liveRegion().changeText($i("Press Alt ↓ or Alt ↑ to navigate the editor. Press Esc to exit navigation mode.","ASPxReportsStringId.WebDocumentViewer_AriaEditorKeyboardNavigation"),500),this._menu)this._focusMenu();else if(this._selectBox)this._selectBox.focus();else if(!this._toolbarItemModel.disabled){this._toolbarItemModel.clickAction?.();const e=this._toolbarItemModel.getAccessibilityActivationMessage?.();e&&this._liveRegion(!0).changeText(e,0)}}cancelAction(){return!!this._selectBox&&(super.setFocus(),!0)}}class Br extends Tr{constructor(e){super(),this._rootHolder=e,this.controlElementClassName="dx-accessibility-treelist-item"}_setFocusToParentNode(e,t){let i=1;const r=e.parent.items,s=r.indexOf(e),o=(e,t)=>(e.hasItems&&!e.collapsed&&e.items.forEach(e=>{t+=o(e,0)}),t+=1);for(let e=0;e<s;e++)i+=o(r[e],0);this.changeFocus(t-i)}_toggleCollapsed(e,t){this.startIndex=this.getIndexByElement(e),t.toggleCollapsed()}_toggleSelected(e){this._getItemModel(e).toggleSelected()}_getItemModel(e){return this._rootHolder.root.store.getItem(e.id)}createControlElement(e,t){return new wr(e)}itemHandleLeftArrowKey(e,t){const i=this._getItemModel(e.target);return i.hasItems&&!i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this._setFocusToParentNode(i,t),!0}itemHandleRightArrowKey(e,t){const i=this._getItemModel(e.target);return i.hasItems&&(i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this.changeFocus(t+1,!1)),!0}itemHandleEnterKey(e,t){return this._toggleSelected(e.target),!0}itemHandleSpaceKey(e,t){return this._toggleSelected(e.target),!0}clickHandler(e,t){super.clickHandler(e,t),this.startIndex=t}}function Lr(e,t){Ui.addTemplate(e,t)}function zr(e){const t="#"===e[0]?e.substr(1):e,i=document.querySelector("#"+t);return i&&i.innerHTML||Ui.templates[t]}const Hr=DevExpress.ui.notify;var Rr=e.n(Hr);function jr(e){return e?e.surface:null}function Gr(e,t,i,r){const s={top:t.top+r.y,left:t.left+r.x,bottom:t.top+i.originalSize.height,right:t.left+i.originalSize.width};return 0!==r.x?s.left=e.snapPosition(s.left,!1):0!==r.width&&(s.right=e.snapPosition(t.left+i.size.width,!1)),0!==r.y?s.top=e.snapPosition(s.top,!0):0!==r.height&&(s.bottom=e.snapPosition(t.top+i.size.height,!0)),s}function Wr(e){return parseInt(e,10)||0}function Ur(e,t,i){let r=Wr(e.css("left"));const s=Wr(e.css("top"));if(i.rtl){const t=i.pageWidth-i.margins.left-e.width();r>t&&(r=t)}const o=e[0].getBoundingClientRect();return{top:s,left:r,width:o.width,height:o.height}}function qr(e){return Math.min(e.scrollHeight,e.offsetHeight,e.clientHeight)+e.offsetTop}function Kr(e,t){return t&&(qr(e)<qr(t)?window:t)||window}function Yr(e,t,i=!1){return()=>{const r=L(t).find(".dxrd-designer"),s=r.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,o=(r.find(".dxrd-right-panel:visible").outerWidth()||0)+(r.find(".dxrd-right-tabs:visible").outerWidth()||0),n=o+s,a=r.width()-n;r.find(".dxrd-surface-wrapper").css({left:`${i?o:s}px`,right:`${i?s:o}px`,width:`${a}px`,bottom:`${r.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}px`}),e(a)}}let Zr=!1;function Jr(e){Zr=e}const Xr={info:"info",warning:"warning",error:"error",success:"success"},Qr=(e=>{const t=t=>function(...i){e&&fe(e[t])&&e[t].apply(e,arguments)};return{info:t("info"),warn:t("warn"),error:t("error")}})("undefined"!=typeof window&&window.console);let es=!1;function ts(e,t=!1){if(t&&ss(e),Zr)throw new Error(e);es&&Qr.warn(e)}function is(e){return e&&e.responseJSON&&e.responseJSON.error?e.responseJSON.error:""}const rs=(e,t="error",i,r,s,o)=>{o=o||L(".dx-designer-viewport")[0],Rr()({message:e,type:t,maxWidth:o?o.clientWidth:void 0,position:{boundary:o,collision:"fit",of:Kr(document.documentElement,o),my:"bottom",at:"bottom",offset:"0 -10"},container:o,hideOnOutsideClick:!0,closeOnSwipe:!1,displayTime:i||("error"===t?6e4:3e3),contentTemplate:s})};let ss=rs;const os=e=>ss=e,ns=()=>ss=rs,as=()=>es=!1,ds=()=>es=!0,ls=!0;function cs(e,t,i,r,s){let o=e;const n=is(i);n&&n!==o&&(ls?o+=": "+n:o=n);try{s?s(o,i,r):ts(o)}finally{t.reject(i,r,e)}}const us={handlers:[],call:e=>{for(let t=0;t<us.handlers.length;t++)us.handlers[t](e)}};function ps(e){return e&&us.handlers.push(e),{dispose:()=>{e&&function(e){us.handlers=us.handlers.filter(t=>t!==e)}(e)}}}class hs{static generateUri(e,t){return(e=e||"")&&"/"===e[e.length-1]&&t&&"/"===t[0]?e+t.substring(1):e+t}}const gs="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx",ms=()=>{const e=`<a href="${gs}" target="_blank" rel="noopener noreferrer">Reporting Application Diagnostics</a>`,t=`Review the following help topic to diagnose a problem: ${gs}`;ss("","error",null,null,function(){return`<div><span>Open the browser developer console to investigate the issue. Review the following help topic: </span>${e}</div>`}),console.log(t)},fs=e=>{const t=vs();T(e).innerHTML=t},xs=(e,t,i)=>{try{return e()}catch(e){if(!t||!i)throw e;fs(i),console.error(e)}},vs=()=>{const e=`<a href="${gs}" target="_blank" rel="noopener noreferrer">following help topic</a>`,t=zr("dxrd-svg-error");return`<div class="dxrd-error-page">${t?`<div class="dxrd-error-page-icon">${t}</div>`:""}<div class="dxrd-error-page-title">Something went wrong</div><div class="dxrd-error-page-content">${`Review the ${e} to diagnose a problem.`}</div></div>`};class ys{constructor(e,t,i){this._executeRequest=(e,t,i,r,s)=>{const o=new z;return this._fetch(e,t,i,r,s).then(async e=>{const t=e.headers.get("content-type")?.split(";")[0];if("application/json"===t)try{const t=await e.json();e.ok?o.resolve(t,"success",{...o.promise(),responseJSON:t}):o.reject({...o.promise(),responseJSON:t,statusText:t.statusText,status:e.status},t.statusText)}catch(t){o.reject({...o.promise(),statusText:t.message,status:e.status},t.message,t)}else e.ok&&t?o.resolve({result:e,success:!0}):o.reject({...o.promise(),statusText:e.statusText,status:e.status},e.statusText)},e=>{const t="string"==typeof e?e:e?.message??e?.name??"error";o.reject({...o.promise(),statusText:t,status:0},t)}),o.promise()},this._fetch=async(e,t,i,r,s)=>{const o={method:e,cache:r?.cache,headers:r?.headers,body:i,signal:s?.signal},n=this.getFetchSettings();return n&&n.beforeSend&&await n.beforeSend(o),fetch(t,o)},this.useFetch=!0,this.getFetchSettings=e||(()=>({})),this.getRequestBody=t,this.prepareRequestArgs=i}sendRequest(e){const{method:t,preparedUrl:i,body:r,params:s}=this._prepareParams(e);return this._executeRequest(t,i,r,s,e.abortController)}_prepareParams(e){const t=e.type,i=e.data;let r=e.url,s=null;const o=ve(i);"GET"===t&&i?(r.includes("?")?r+=`&${o}`:r+=`?${o}`,i.args&&(i.args=this.prepareRequestArgs(i.args,!0,!0))):"POST"===t&&i&&(s=this.getRequestBody(i));return{method:t,preparedUrl:r,body:s,params:{cache:"default",headers:{...e.headers,...this.getFetchSettings()?.headers}}}}}function bs(e){return null!=e&&Object.keys(e).length>0}const Cs=DevExpress.config;var ws=e.n(Cs);const _s=jQuery;const As=e.n(_s)()||_s;function Es(e,t){return As.fn.constructor(e,t)}const Ss=()=>As.Callbacks(),Is=e=>e,Ps=e=>e,Ds=e=>Es(e),Ts=e=>ws()().useJQuery?Ds(e):e,Vs=(e,t)=>Es(e).wrapInner(t),Ms=function(e,t,i){if(!(arguments.length>2))return Es(e).data(t);Es(e).data(t,i)};let ks=As?.ajax;const Fs=e=>{ks=e},$s=()=>{ks=As?.ajax};class Os{constructor(e,t){this.getAjaxSettings=e,this.getRequestBody=t}sendRequest(e){e.data=this.getRequestBody(e.data);const t=this._prepareRequestSettings(e);return ks(t)}_prepareRequestSettings(e){return xe({},this.getAjaxSettings(),e)}}var Ns;let Bs;!function(e){e.Json="application/json",e.FormUrlEncoded="application/x-www-form-urlencoded"}(Ns||(Ns={}));let Ls=null;function zs(e){const t=[{reg:new RegExp(/\(/g),value:"%28"},{reg:new RegExp(/\)/g),value:"%29"}];let i=encodeURIComponent(e);return t.forEach(e=>i=i.replace(e.reg,e.value)),i}const Hs=(e,t=!1,i=!0)=>{let r;return js.getRequestContentType()!==Ns.FormUrlEncoded&&Bs||(i&&(r=JSON.stringify(e)),t&&(r=zs(e))),r??JSON.stringify(e)},Rs=e=>{let t={};const i=ve(e);return js.getRequestContentType()===Ns.Json?t=JSON.stringify(e):js.getRequestContentType()===Ns.FormUrlEncoded&&(t=new URLSearchParams(i)),t},js={getInstance:function(e){return Ls||this._initialize(e),Ls},_initialize:function(e){const{ajaxSetup:t,fetchSetup:i}=e??{};if(bs(t?.ajaxSettings)&&bs(i?.fetchSettings))throw new Error("You cannot configure more than one type of request manager. Use either ajaxSetup or fetchSetup for configuration, but not both.");if(bs(t?.ajaxSettings))return js.initialize(new Os(()=>(this._setRequestHeader(t.ajaxSettings),t.ajaxSettings),e=>(e&&js.getRequestContentType()===Ns.Json&&(e=JSON.stringify(e)),e))),void this._setRequestHeader(t.ajaxSettings);js.initialize(new ys(()=>(this._setRequestHeader(i?.fetchSettings),i?.fetchSettings),Rs,Hs)),this._setRequestHeader(i?.fetchSettings)},_setRequestHeader:function(e){e&&(Bs?(e.headers||(e.headers={}),e.headers["Content-Type"]?.startsWith(Bs)||(e.headers["Content-Type"]=Bs)):e.headers&&e.headers["Content-Type"]?Bs=e.headers["Content-Type"]:(Bs=Ns.FormUrlEncoded,e.headers||(e.headers={}),e.headers["Content-Type"]=Bs),e.contentType=e.headers["Content-Type"])},_setRequestContentType:function(e){"Json"===e?Bs=Ns.Json:"FormUrlEncoded"===e&&(Bs=Ns.FormUrlEncoded)},initialize:function(e){Ls=e},getRequestContentType:function(){if(Bs)return Bs.startsWith(Ns.Json)?Ns.Json:Bs.startsWith(Ns.FormUrlEncoded)?Ns.FormUrlEncoded:void 0}};function Gs(){return Ls.useFetch}const Ws={ajaxSettings:{},sendRequest:function(e){if(!Gs())return js.getInstance().sendRequest(xe({},this.ajaxSettings,e));throw new Error("The request manager is currently configured as Fetch. Use either ajaxSetup or fetchSetup for configuration, but not both.")}},Us={fetchSettings:{}};class qs extends x{dispose(){super.dispose(),this.sender&&this.sender instanceof x&&this.sender.dispose(),this.removeProperties()}_fireEvent(e,t){this._customEventRaiser?this._customEventRaiser(e,t):this._options&&this._options.callbacks&&this._options.callbacks[e]&&this._options.callbacks[e](this.sender,t)}_warnForIncorrectCallbackName(e,t){ts('The callback name must be different. Use "'+e+'" instead of "'+t+'" to call the function with the correct arguments.')}_checkCallbackName(e){Object.keys(this._options.callbacks).forEach(t=>{e.forEach(e=>{t===e.privateName&&this._warnForIncorrectCallbackName(e.publicName,t)})})}_getServerActionUrl(e,t){return hs.generateUri(e,t)}_generateCallbackDictionary(e,t){const i=qs.convertCallbackArrayToDictionary(e),r=i;return t&&this._options.callbacks[t]?Object.keys(i).forEach(e=>{r[e]=this._options.callbacks[t][e]||i[e]}):Object.keys(i).forEach(e=>{r[e]=this._options.callbacks[e]||i[e]}),r}_getLocalizationRequest(){const e=new z,t=this._options.requestOptions;if(t.getLocalizationAction){const i=this._getServerActionUrl(t.host,t.getLocalizationAction);js.getInstance({ajaxSetup:Ws,fetchSetup:Us}).sendRequest({url:i,type:"GET"}).fail(function(t,i,r){try{cs(r?.message,new z,t,i)}finally{e.reject()}}).done(t=>{e.resolve(t)})}else e.resolve();return e.promise()}_createDisposeFunction(e){yr(e,()=>{this.dispose()})}static convertCallbackArrayToDictionary(e){const t={};return e.forEach(e=>{t[e.privateName]=e.callback}),t}constructor(e,t){super(),this._options=e,this._customEventRaiser=t,this._templateHtml=zr("dxrd-designer"),this.developmentMode=e.developmentMode}}class Ks{constructor(e,t){this._element=e,this._options=t}getBindingName(){return""}render(){Xt.cleanNode(this._element),this._element.setAttribute("data-bind",`${this.getBindingName()}: $data`),xs(()=>Xt.applyBindings(this._options,this._element),this._options.developmentMode,this._element)}dispose(){Xt.cleanNode(this._element),this._element=null}}function Ys(e){let t=!1;return()=>{t||(t=!0,e())}}class Zs{constructor(e=!0){this._useDeferredRegistration=e,this._editorTemplates={}}register(e,t){if(this._editorTemplates[e]&&!this._editorTemplates[e]._deferred)throw Error(`Editor with name ${e} is already exists`);this._editorTemplates[e]?(delete this._editorTemplates[e]._deferred,xe(this._editorTemplates[e],t)):this._editorTemplates[e]=t}unregister(e){delete this._editorTemplates[e]}registerEditors(e){for(const t in e)this.register(t,e[t])}getEditor(e){return!this._editorTemplates[e]&&this._useDeferredRegistration&&(this._editorTemplates[e]={_deferred:!0}),this._editorTemplates[e]}}const Js=new Zs,Xs=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:Js.getEditor("numeric"),editorOptions:{min:.02}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:Js.getEditor("numeric"),editorOptions:{min:.02}}],Qs=[{propertyName:"x",displayName:"X",editor:Js.getEditor("numeric")},{propertyName:"y",displayName:"Y",editor:Js.getEditor("numeric")}];class eo extends nr{rendersViewModel(){return!1}deserializeArrayProperty(e,t,i){const r=Object.keys(t||{}).map(e=>i(t[e]));this.assignArrayProperty(e,r)}resolveSerializer(e){return Zt(e)}}const to={coerce:e=>Math.max(e||0,.02)};class io extends eo{constructor(e,t){super(),this.isPropertyDisabled=e=>{},this.assignProperty("height",t,to),this.assignProperty("width",e,to)}getInfo(){return Xs}static fromString(e="0, 0"){const t=e.split(",");return new io(parseFloat(t[0]),parseFloat(t[1]))}toString(){return this.width+", "+this.height}}function ro(e,t=!1,i=3){return(t?Math.floor:Math.round)(e*Math.pow(10,i))/Math.pow(10,i)}function so(e,t,i=1){let r;switch(t){case"Pixels":r=1*e;break;case"Millimeters":r=3.77952755*e;break;case"TenthsOfAMillimeter":r=3.77952755*e/10;break;case"Inches":r=96*e;break;default:r=96*e/100}return r*=i,ro(r,!0,6)}function oo(e,t,i){let r;switch(t){case"Pixels":r=1*e;break;case"Millimeters":r=e/3.77952755;break;case"TenthsOfAMillimeter":r=e/3.77952755*10;break;case"Inches":r=e/96;break;default:r=e/96*100}return r/=i,ro(r,!0,6)}io.unitProperties=["width","height"];const no=e=>`${e}px`,ao=e=>parseFloat(e.replace("px",""));class lo extends or{dispose(){super.dispose(),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null}getTarget(e){return e.toElement||Xt.dataFor(e.relatedTarget)&&e.relatedTarget||e?.target||null}_getAbsoluteSurfacePosition(e){return{left:ao(e.dataset.leftPosition)-e.delta.left,top:ao(e.dataset.topPosition)-e.delta.top}}constructor(e,t,i,r,s){super(),this._snapDisabled=!1,this._size=new io(0,0),this.alwaysAlt=!1,this.snapToGridOnCreateControl=!1,this.surface=e,this.selection=t,this.snapHelper=r,this.dragHelperContent=s,this.stopDrag=(e,t,s)=>{i?.()?.start(),this.doStopDrag(e,t,s),i?.()?.end(),r?.deactivateSnapLines()}}addControl(e,t,i){const r=t.width||t._width,s=t.underCursor;if(s.x<r){e.syncDpi?.(this.surface().dpi),t.getControlModel().addChild(e);const o=jr(e);if(!o)return;const n=i.width,a=i.height;let d=s.x+n>r?r-n-1:s.x,l=Math.max(s.y,0);this.snapToGridOnCreateControl&&(d=this.snapHelper.roundToGridSize(d),l=this.snapHelper.roundToGridSize(l)),o.rect={left:d,top:l,width:n,height:a},e.normalizePaddings?.(),this.selection.initialize(o),this.selection.resetTabPanelFocus?.()}}recalculateSize(e){const t=this.surface();this._size.width=so(e.width*t.dpi/100,t.measureUnit,t.zoom),this._size.height=so(e.height*t.dpi/100,t.measureUnit,t.zoom)}helper(e,t){this.snapHelper?.updateSnapLines(e||null)}canDrop(e,t,i){let r=e.locked;return i?.canDrop&&(r=r||!i.canDrop(e,t)),!r}startDrag(e){}drag(e,t,i){const r="SnapToGrid"===this.snapHelper?.getSnappingMode?.(),s="SnapLines"===this.snapHelper?.getSnappingMode?.();let o=!this._snapDisabled&&s&&!0!==e.altKey;if(this.selection.dropTarget){const e=this.selection.dropTarget.getControlModel().getMetaData().isContainer?this.selection.dropTarget:this.selection.dropTarget.parent||this.selection.dropTarget,t=i.getControlModel?.(),r=t?.getMetaData()||i.info;this.canDrop(e,t,r)?this.dragHelperContent&&(this.dragHelperContent.isLocked=!1):(this.snapHelper?.deactivateSnapLines(),o=!1,this.dragHelperContent&&(this.dragHelperContent.isLocked=!0))}if(r&&!0!==e.altKey&&this.snapHelper?.snapToGrid(t,this.selection.dropTarget),o){const e=this._getAbsoluteSurfacePosition(t),i=this.snapHelper?.activateSnapLines({left:e.left,top:e.top,right:e.left+this._size.width,bottom:e.top+this._size.height});i&&(i.left>0||i.top>0)&&(t.dataset.leftPosition=no(ao(t.dataset.leftPosition)-i.left),t.dataset.topPosition=no(ao(t.dataset.topPosition)-i.top),t.ghostContainer.style.left=t.dataset.leftPosition,t.ghostContainer.style.top=t.dataset.topPosition)}}doStopDrag(e,t,i){}}lo.started=Cr(!1);var co=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class uo extends nr{deferredUpdateViewModel(){return!1}constructor(e=0,t=0,i=0,r=0){super(),this.assignProperty("left",e),this.assignProperty("top",t),this.assignProperty("width",i),this.assignProperty("height",r)}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel(),i=e.propertyName;i in t&&(t[i]=this[i])}createViewModel(){return Zi(super.createViewModel()).generateProperty("left",this.left).generateProperty("top",this.top).generateProperty("width",this.width).generateProperty("height",this.height).generateProperty("className",this.className).getViewModel()}}co([rr("dxrd-drag-helper-item")],uo.prototype,"className",void 0);var po=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class ho extends uo{constructor(e,t,i,r,s){super(t,i,r,s),this.position=e}}class go extends uo{get _isEmpty(){return 0===this.controls.length}constructor(e){super(),this.template="dxrd-drag-helper-source",this._selectionProvider=e,this.assignProperty("customData",{})}reset(){this.controls=[],this.customData={}}update(e){if(this.left=e.absolutePosition.x,this.top=e.absolutePosition.y,this.width=e.rect.width,this.height=e.rect.height,this._isEmpty){const t=[];this._selectionProvider.selectedItems.forEach((i,r)=>{i.locked||i.parent!==e.parent||t.push(new ho(r))}),this.controls=t}this.controls.forEach(e=>{const t=this._selectionProvider.selectedItems[e.position];e.left=t.absolutePosition.x-this.left,e.top=t.absolutePosition.y-this.top,e.width=t.rect.width,e.height=t.rect.height})}setContent(e,t=null){this._isEmpty&&(this.controls=[e]),this.left=e.left,this.top=e.top,this.width=e.width,this.height=e.height,this.customData=t}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"controls"===e.propertyName?t.controls=je(this.controls):"customData"===e.propertyName?t.customData=this.customData:"isLocked"===e.propertyName&&(t.isLocked=this.isLocked)}createViewModel(){return Zi(super.createViewModel()).generateProperty("controls",je(this.controls)).generateProperty("customData",this.customData).generateProperty("isLocked",this.isLocked).getViewModel()}}po([sr(()=>[])],go.prototype,"controls",void 0),po([rr(!1)],go.prototype,"isLocked",void 0);class mo extends lo{adjustDropTarget(e){let t=e;for(;null!=t;){if(t.selected){e=t.parent;break}t=t.parent}return e}constructor(e,t,i,r,s){super(e,t,i,r,s),this.cursor="move",this.containment=".dxrd-ghost-container",this.helper=e=>{super.helper(e),-1===this.selection.selectedItems.indexOf(e)&&this.selection.updateSelection(e),s.update(e),this._size.width=s.width,this._size.height=s.height}}startDrag(e){this.selection.swapFocusedItem(e);const t=this.selection.focused,i=t.rect.left+t.underCursor.x,r=t.rect.top+t.underCursor.y;this.selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e.parent===t.parent&&(e.underCursor.offsetX=e.rect.left-i,e.underCursor.offsetY=e.rect.top-r)})}drag(e,t,i){t.dataset.leftPosition=no(ao(t.dataset.leftPosition)+t.scroll.left),t.dataset.topPosition=no(ao(t.dataset.topPosition)+t.scroll.top),super.drag(e,t,i)}getLocation(e,t){const i=e.underCursor.x+t.underCursor.offsetX,r=e.underCursor.y+t.underCursor.offsetY;return{left:i>0?i:0,top:r>0?r:0}}ajustLocation(e,t){t.rect=this.getLocation(e,t)}doStopDrag(e,t){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked&&this.selection.dropTarget){const t=this.selection.dropTarget.getControlModel(),i=t.getNearestParent(t).surface,r=this.selection.focused;let s=this.adjustDropTarget(i);const o=r.getControlModel(),n=o.getNearestParent(s.getControlModel());s=n&&jr(n);const a=s!==r.parent;if(!s||!s.canDrop())return;const d=this._getAbsoluteSurfacePosition(e);s.underCursor.x=d.left-(s.absolutePosition&&s.absolutePosition.x||0)-r.underCursor.offsetX,s.underCursor.y=d.top-(s.absolutePosition&&s.absolutePosition.y||0)-r.underCursor.offsetY;const l=this.selection.selectedItems.filter(e=>!e.locked&&e.parent===r.parent).map(e=>e.getControlModel()).filter(e=>e.getMetaData().canDrop(s,e));if(a){for(let e=0;e<l.length;e++)l[e].surface.rect={top:0,left:0};o.parentModel.removeChilds(l),n.addChilds(l);for(let e=0;e<l.length;e++)this.ajustLocation(s,l[e].surface);this.selection.focused=r,this.selection.selectItems(l.map(e=>e.surface))}else for(let e=0;e<l.length;e++)this.ajustLocation(s,l[e].surface);this.selection.expectClick=!a}}}class fo extends lo{constructor(e,t,i,r,s,o){super(e,t,i,r,s),this.cursor="arrow",this._controlsFactory=o,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0}}helper(e){super.helper(e);const t=e,i=io.fromString(t.info["@SizeF"]||t.info.size||"100,23");this.recalculateSize(i),this.dragHelperContent.setContent(new uo(0,0,this._size.width,this._size.height))}doStopDrag(e,t){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked&&this.selection.dropTarget){const i=t,r=this._controlsFactory.createControl(xe({},i.info),null),s=jr(r.getNearestParent(this.selection.dropTarget.getControlModel()));if(!s||!s.canDrop())return;const o=this._getAbsoluteSurfacePosition(e);s.underCursor.x=o.left-(s.absolutePosition&&s.absolutePosition.x||0),s.underCursor.y=o.top-(s.absolutePosition&&s.absolutePosition.y||0);const n=this.surface();(n.isFit&&n.isFit(s)||s.underCursor.isOver)&&this.addControl(r,s,this._size)}}}class xo extends lo{constructor(e){super(null,null,void 0,null,e.dragHelperContent),this.parent=()=>L(e.parent),this.containment=e.containment,this._target=e.target,this._addHandler=e.addHandler}helper(e,t){this._dropTarget=null;const i=e,r=L(t.target).closest(".ui-draggable"),s=new uo(6,6,r.width(),r.height());s.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(s,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:i.imageClassName,imageTemplateName:i.imageTemplateName,text:i.text}});const o=zr(this.dragHelperContent.template),n=L(o);return n.css({display:"block"}),n.prependTo(this.parent()[0]),Xt.applyBindingsToDescendants(this.dragHelperContent.getViewModel(),n[0]),n}doStopDrag(e,t){this.dragHelperContent.reset(),this._dropTarget&&this._addHandler(this._dropTarget,Xt.dataFor(e),this._getAbsoluteSurfacePosition(e))}drag(e,t){const i=L(this.getTarget(e)),r=i.closest(this._target);this._dropTarget=null,!r.length||this._target&&!i.closest(this._target)[0]||(this._dropTarget=Xt.dataFor(r.get(0)))}}const vo=DevExpress.VERSION,yo="26.2.2";function bo(){const e="eyJsaWNlbnNlS2V5IjoiTENQdjFlb1Y0Y0p6eWVfU3BwSHRMMzxMW1NRVkxTbmRhVlI8eT5KbU4+SnlOY0plbmVpK2VwK2VaKEttQFM3LWohaWVpIUplSnA3LV9TYkV6VlIrdGNMRiRTZSFYSVkhX1ppLFk6SnRCSTdWNkdKeVJwajlCU2l0Nj5uOUxJTi1OR0otW1NIISs3JTNuWk45OGNSK0U5JTw4Wk5SayV5YWcsWVJIOW88QGNSKyg6NzQ4NzdSRlorUW1rcDktSSVGKTZKTC1wUUYkMmUrdiFLLSE+UXRFSTx0RklnLUA2blIhcEstdj4lWDwycEBAIVE0NjJiLXYyJWQpSTwtQGFRZEBwZ0BAIVE0QDJfQEYhUWQ6SXAhQEk8NClhS3o8SV95QEliUnZJPC0pOU5YPD5RNDo+UTh2SWJSKTlqejshakw7OWp5Rkk3eUZJN3lGSSV5NmFRWHYyJSE6MmktdkklISk+akw8MjdAOjlLOXYyJSE6MmktdkklISk+akw8MjdAOjlLOXZhakBGMjdAQElfQDY5UWQkYVE0Oj5RNDpHX0BAOVFkdjY8IUY2PGRGSTd5Rkk3eUZJN0xsIn0=";return e?JSON.parse(atob(e)):null}const Co={analytics:yo,devextreme:vo.version||vo};function wo(e,t,i=[],r=["events","surface","reportSource"]){if(-1===i.indexOf(e)&&e&&void 0!==e){const s=[];Object.keys(e).forEach(t=>{-1===i.indexOf(e[t])&&0!==t.indexOf("_")&&-1===r.indexOf(t)&&s.push(e[t])}),t(e),i.push(e);for(let e=0;e<s.length;e++)"object"==typeof s[e]&&wo(s[e],t,i,r)}}function _o(e,t,i=["controls","bands","subBands","crossBandControls","rows","cells","fields"],r=[]){e&&void 0!==e&&(r.push(e),i.forEach(s=>{const o=e[s];Array.isArray(o)&&(t(o,e,s),o.forEach(e=>_o(e,t,i,r)))}))}bo()&&ws()(bo());var Ao=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Eo extends or{getNamePropertyName(e){return"name"}getNameProperty(e){return e[this.getNamePropertyName(e)]}getControlByName(e){let t=null;return this.allControls.some(i=>i.name==e&&(t=i,!0)),t}_setName(e){const t=this.allControls.map(e=>this.getNameProperty(e)),i=this.getNameProperty(e);if(!i||t.filter(e=>e===i).length>1){const i=ji(this.allControls,this._getNamePrefix(e),t);e[this.getNamePropertyName(e)]=i,this._setText&&this._setDefaultText(e)}}_setDefaultText(e){const t=e.getControlInfo&&e.getControlInfo().defaultVal&&e.getControlInfo().defaultVal["@Text"];this._setText&&"text"in e&&!e.text&&null==t&&(e.text=this.getNameProperty(e))}_getNamePrefix(e){return(e.controlType||"Unknown").split(".").pop()}dispose(){super.dispose(),this._subscriptions.forEach(e=>e.dispose()),this._subscriptions.splice(0),this._visitedCollections.splice(0),this._handlers.splice(0),this.target=null,this.allControls.splice(0,this.allControls.length)}processCollection(e){}_collectControls(e){const t=[e];_o(e,(e,i,r)=>{if(-1===this._visitedCollections.indexOf(e)){this._visitedCollections.push(e);let t=this._subscriptions;i instanceof x&&(t=i._disposables);const s=e=>t=>{this[e]&&this[e](t.item),this._handlers.forEach(i=>{i[e]&&i[e](t.item)})};let o=st(i,r,e=>{const t=t=>e.added.some(e=>e.item===t.item)&&e.removed.some(e=>e.item===t.item);e.removed.filter(e=>!t(e)).forEach(s("deleted")),e.added.filter(e=>!t(e)).forEach(s("added"))});t.push({dispose:()=>{o(),o=null,this._visitedCollections.splice(this._visitedCollections.indexOf(e),1)}})}const s=e;this.processCollection(s),t.push.apply(t,s)},this.collectionNames),this.allControls.push(...t)}constructor(e,t,i){super(),this.target=e,this.collectionNames=i,this._handlers=[],this._setText=!1,this._visitedCollections=[],this._subscriptions=[],this.added=e=>{this._setText=!0,this._collectControls(e),this._setText=!1},this.deleted=e=>{const t=this.allControls,i=t.indexOf(e);-1!==i&&t.splice(i,1),_o(e,e=>{e.forEach(e=>{const i=t.indexOf(e);-1!==i&&t.splice(i,1)})})};const r=Ft(e),s=Ot(e);s&&this.addDisposable(s.setValueChangedEvent(e=>{this._visitedCollections=[];for(let e=0,t=this._subscriptions.length;e<t;e++)this._subscriptions[e].dispose();this._subscriptions=[],this.allControls.splice(0,this.allControls.length),e&&this._collectControls(e)})),this.addDisposable(st(this,"allControls",e=>{e.added.forEach(({item:e})=>this._setName(e))})),r&&this._collectControls(r),this._handlers.push.apply(this._handlers,t)}getControls(e){const t=[];return _o(e,e=>{t.push(...e)}),t}}Ao([sr(()=>[])],Eo.prototype,"allControls",void 0);const So={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:Js.getEditor("numeric")},Io={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:Js.getEditor("numeric")},Po={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:Js.getEditor("numeric")},Do={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:Js.getEditor("numeric")},To={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:Js.getEditor("numeric")},Vo=[To,So,Io,Po,Do];var Mo=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};const Fo=["left","right","top","bottom"];class $o extends nr{getInfo(){return Vo}resetValue(){Fo.forEach(e=>this[`_${e}`]=null)}isEmpty(){return Fo.map(e=>this[`_${e}`]).every(e=>null===e)}getModifiedPropertyDependencies(){return Fo.map(e=>qt(this,[`_${e}`]))}applyFromString(e){if(e){const t=(e||"").split(",");this.left=parseFloat(t[0])||0,this.right=parseFloat(t[1])||0,this.top=parseFloat(t[2])||0,this.bottom=parseFloat(t[3])||0}return this}static from(e,t){return $o.create().applyFromString(e)}static create(){return new $o}toString(){if(!this.isEmpty())return this._toString()}_toString(e=!1){return Fo.map(e=>parseFloat(String(this[e]))).concat(this.dpi).join(", ")}constructor(e=null,t=null,i=null,r=null,s=100){super(),this.left=e,this.right=t,this.top=i,this.bottom=r,this.dpi=s,Fo.forEach(e=>{const t=`_${e}`;this.assignProperty(t,this[e]),this.assignDerivedProperty(e,()=>this[t]||0,()=>[qt(this,[t])],e=>{this[t]=e})});let o=null;this.assignDerivedProperty("all",()=>(this._isUpdating||(o=["right","top","bottom"].every(e=>this[e]===this.left)?this.left:null),o),()=>[qt(this,["_isUpdating","right","left","top","bottom"])],e=>{this._isUpdating=!0,Fo.forEach(t=>this[t]=e),this._isUpdating=!1})}}function Oo(e,t){if(t){if("Left"===e)return"Right";if("Right"===e)return"Left"}return e}$o.defaultVal="0, 0, 0, 0, 100",$o.unitProperties=Fo,Mo([rr(!1)],$o.prototype,"_isUpdating",void 0);class No{_getPixelValueFromUnit(e,t){const i=t.root?.measureUnit;return i?so(e,i):e}_patchPosition(e){return Oo(e,"function"==typeof this._rtlLayout?this._rtlLayout():this._rtlLayout)}_getBorderWidth(e,t){const i=e.borderWidth;return i&&"number"==typeof i?Math.floor(i*(t||1)):0}createBorder(e,t,i,r,s){r=r||"All";const o={stroke:"Silver",strokeWidth:"2"},n=this.createStrokeDashArray(e,t);return-1===r.indexOf(s)&&-1===r.indexOf("All")||(o.stroke=i,o.strokeWidth=String(t),o.strokeDasharray=n),o}createControlBorder(e,t,i,r,s,o="solid 1px Silver"){const n={};return e="Dash"===e?"dashed":"Dot"===e?"dotted":"Double"===e?"double":"solid",-1!==(r=r||"").indexOf(s)||-1!==r.indexOf("All")?n["border"+this._patchPosition(s)]=e+" "+t+"px "+i:n["border"+this._patchPosition(s)]=o,n}createBorders(e,t,i,r,s=No.DEFAULT_BORDER){return xe({},this.createControlBorder(e,t,i,r,"Left",s),this.createControlBorder(e,t,i,r,"Right",s),this.createControlBorder(e,t,i,r,"Top",s),this.createControlBorder(e,t,i,r,"Bottom",s))}createZipCodeFont(e){const t={fontFamily:"Impact"};return t.fontSize=e+"px",t}createFont(e){const t={},i=(e=e||"").split(",");if(t.fontFamily=i[0]?'"'+i[0]+'"':"",t.fontSize=i[1],i.length>2)for(let e=2;e<i.length;e++)-1!==i[e].indexOf("Bold")&&(t.fontWeight="Bold"),-1!==i[e].indexOf("Italic")&&(t.fontStyle="Italic"),-1!=i[e].indexOf("Underline")&&(t.textDecoration="Underline"),-1!=i[e].indexOf("Strikeout")&&(t.textDecoration=(t.textDecoration?t.textDecoration+" ":"")+"Line-through");return t.fontWeight||(t.fontWeight=""),t.fontStyle||(t.fontStyle=""),t.textDecoration||(t.textDecoration=""),t}createVerticalAlignment(e){const t={};return-1!==e.indexOf("Top")&&(t.verticalAlign="top"),-1!==e.indexOf("Middle")&&(t.verticalAlign="middle"),-1!==e.indexOf("Bottom")&&(t.verticalAlign="bottom"),t}createHorizontalAlignment(e){const t={};return-1!==e.indexOf("Left")&&(t.textAlign=Oo("Left",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Right")&&(t.textAlign=Oo("Right",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Center")&&(t.textAlign="center"),-1!==e.indexOf("Justify")&&(t.textAlign="justify"),t}createStrokeDashArray(e,t){const i=e=>e.map(e=>e*t+"px").join(", ");switch(e){case"Dot":return i([1,2]);case"Dash":return i([3,3]);case"DashDot":return i([5,3,1,3]);case"DashDotDot":return i([5,3,1,3,1,3]);default:return""}}createWordWrap(e,t){const i={};return!1===e&&!1===t?(i["white-space"]="nowrap",i["word-wrap"]="normal"):!0===e&&!1===t?(i["word-wrap"]="break-word",i["white-space"]=""):!1===e&&!0===t?(i["word-wrap"]="normal",i["white-space"]="pre"):!0===e&&!0===t&&(i["white-space"]="pre-wrap",i["word-wrap"]="break-word"),i}createAngle(e){return{"-webkit-transform":"rotate("+(e=-e)+"deg)","-moz-transform":"rotate("+e+"deg)","-o-transform":"rotate("+e+"deg)","-ms-transform":"rotate("+e+"deg)",transform:"rotate("+e+"deg)"}}createLineSpacing(e){if(e&&1!==e)return{"line-height":`${e}`,"margin-top":`${(1-e)/2}em`,overflow:"scroll","scrollbar-width":"none"}}constructor(e,t){this._rtlLayout=t,this._control=e,this.borderCss=t=>{const i=this._getBorderWidth(e,t),r=e.borderDefault,s=e.borderColor||"",o=e.borders||"",n=e.borderDashStyle||"";return r?this.createBorders(n,i,s,o,r):this.createBorders(n,i,s,o)},this.backGroundCss=()=>({backgroundColor:e.backColor||"transparent"}),this.foreColorCss=()=>({color:"transparent"===(e.foreColor||"transparent")?"black":e.foreColor}),this.fontCss=()=>this.createFont(e.font||""),this.wordWrapCss=()=>this.createWordWrap(e.wordWrap,e.multiline),this.lineSpacingCss=()=>this.createLineSpacing(e.lineSpacing),this.paddingsCss=()=>{const t=e.paddingObj||("object"==typeof e.padding?e.padding:void 0)||$o.from($o.defaultVal);return{paddingLeft:this._getPixelValueFromUnit(t.left,e)+"px",paddingTop:this._getPixelValueFromUnit(t.top,e)+"px",paddingRight:this._getPixelValueFromUnit(t.right,e)+"px",paddingBottom:this._getPixelValueFromUnit(t.bottom,e)+"px"}},this.textAlignmentCss=()=>{const t=e.textAlignment||"";return xe(this.createVerticalAlignment(t),this.createHorizontalAlignment(t))},this.stroke=()=>({stroke:"transparent"===(e.foreColor||"transparent")?"black":e.foreColor}),this.strokeWidth=()=>{const t=e.lineWidth||"";return{strokeWidth:String(t)}},this.strokeWidthWithWidth=()=>{const t=this._getPixelValueFromUnit(e.width||0,e);return{strokeWidth:String(t)}},this.strokeDashArray=()=>({strokeDasharray:this.createStrokeDashArray(e.lineStyle||"",e.lineWidth||0)}),this.strokeDashArrayWithWidth=()=>{const t=this._getPixelValueFromUnit(e.width||0,e);return{strokeDasharray:this.createStrokeDashArray(e.lineStyle||"",t)}},this.crossBandBorder=t=>this.createBorder(e.borderDashStyleCrossband||"solid",this._getBorderWidth(e),e.borderColor||"",e.borders||"",t),this.angle=()=>this.createAngle(e.angle||0),this.cellBorder=(t,i)=>this.createControlBorder(e.borderDashStyle||"solid",this._getBorderWidth(e,i),e.borderColor||"",e.borders||"",t),this.zipCodeFontCss=t=>this.createZipCodeFont(t||e.size.height),this.zipCodeAlignment=()=>{const e="TopLeft";return xe(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))}}contentSizeCss(e,t,i,r,s){const o={top:1,left:1,right:1,bottom:1,width:1,height:1};r=r||this._control.borders||"";const n=this._getBorderWidth(this._control,i);return["Left","Top","Right","Bottom"].forEach(e=>{let t=0;0==n||-1===r.indexOf(e)&&-1===r.indexOf("All")||(t+=n),s&&(t+=this._getPixelValueFromUnit(s[e.toLowerCase()],this._control)*(i||1)),t&&(o[this._patchPosition(e).toLowerCase()]=t)}),o.width=e-o.left-o.right,o.height=t-o.top-o.bottom,o}}function Bo(e){return e===J.DevExpressExpression}No.DEFAULT_BORDER="none";const Lo={[J.Enum]:Js.getEditor("combobox"),[J.SystemString]:Js.getEditor("text"),[J.SystemGuid]:Js.getEditor("guid"),[J.SystemSByte]:Js.getEditor("sbyte"),[J.SystemDecimal]:Js.getEditor("decimal"),[J.SystemInt64]:Js.getEditor("int64"),[J.SystemInt32]:Js.getEditor("int32"),[J.SystemInt16]:Js.getEditor("int16"),[J.SystemSingle]:Js.getEditor("single"),[J.SystemDouble]:Js.getEditor("double"),[J.SystemByte]:Js.getEditor("byte"),[J.SystemUInt16]:Js.getEditor("uint16"),[J.SystemUInt32]:Js.getEditor("uint32"),[J.SystemUInt64]:Js.getEditor("uint64"),[J.SystemBoolean]:Js.getEditor("boolSelect"),[J.SystemDateTime]:Js.getEditor("date"),[J.SystemDateOnly]:Js.getEditor("dateOnly"),[J.SystemTimeOnly]:Js.getEditor("timeOnly"),[J.DevExpressExpression]:Js.getEditor("expressionEditor")};function zo(e){return Lo[e]||Js.getEditor("text")}function Ho(e){const t=Ae;t&&e&&(e.cldrSupplemental&&t.load(e.cldrSupplemental),e.cldrData&&t.load(e.cldrData),e.currentCulture&&(t.locale(e.currentCulture),Y.locale&&Y.locale(e.currentCulture)))}var Ro=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class jo extends or{constructor(e){super(),this.x=0,this.y=0,this.isNotDropTarget=e}trackPosition(e,t){this.x=e,this.y=t}}function Go(e,t){e&&t&&(e.key===Mi.Esc&&t.esc&&t.esc(),e.key===Mi.Enter&&e.ctrlKey&&t.ctrlEnter&&t.ctrlEnter())}Ro([rr(!1)],jo.prototype,"isOver",void 0);var Wo=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Uo extends nr{deferredUpdateViewModel(){return!1}createViewModel(){return Zi(super.createViewModel()).generateProperty("text",this.text).generateProperty("visible",this.visible).generateProperty("element",this.element).generateProperty("keypressAction",this.keypressAction).generateProperty("show",this.show).generateProperty("onValueChanged",e=>{this.text=e.value}).getViewModel()}updateViewModel(e){const t=this.getViewModel();"text"===e.propertyName?t.text=this.text:"visible"===e.propertyName&&(t.visible=this.visible)}constructor(e){super();let t=null,i=null,r=null;const s=(e,t)=>t.find(t=>e&&t in e)||null,o=e=>t?.[e],n=(e,i)=>{e&&(t[e]=i)};this.addDisposable(tt(e,"focused",()=>{this._showInline&&r&&(n(i,this.text),n(r,this.text),this._showInline=!1);const o=e.focused?.getControlModel();t=o||null,i=s(o,["textEditableProperty","textUI","alias"]),r=s(o,["textEditableProperty","text","alias"])})),this.addDisposable(()=>this.element=null),this.assignDerivedProperty("visible",()=>this._showInline,()=>[qt(this,["_showInline"])],e=>{this._showInline=e}),this.show=t=>{if(this._showInline)return;this.element=t;if((e.selectedItems?1===e.selectedItems.length:!!e.focused)&&!(!i&&!r)&&!e.focused.locked){if(this.text=o(i)||o(r)||"",this._showInline=!0,t){const e=L(t).find("textarea")[0];e&&e.select()}}else this._showInline=!1},this.keypressAction=e=>{Go(e.event,{esc:()=>{this._showInline=!1},ctrlEnter:()=>{n(r,this.text),this._showInline=!1}})}}}Wo([rr(!1)],Uo.prototype,"_showInline",void 0),Wo([rr(void 0)],Uo.prototype,"text",void 0);class qo extends x{dispose(){this.selectedItem=null}constructor(e,t){super(),this.selectedItem=null,this.itemsFilter=(t,i)=>{const r=t.name.split(".")[0];return!e||(-1!==e.indexOf(r)||he(r))},this.hasItems=e=>{const i=e.name.split(".")[0];return e.isList||!!t&&-1!==t.indexOf(i)},this.getActions=e=>e.data&&e.data.innerActions||[],this.select=e=>{this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0},this.showIconsForChildItems=()=>!0}canSelect(e){return!0}}function Ko(e){return Array.isArray(e)||Be(e)||kt(e)}const Yo={children:e=>{const t=e.getInfo;return"function"!=typeof t?[]:(t.call(e)||[]).filter(e=>void 0!==e?.propertyName).map(e=>String(e.propertyName))},descendsIntoModels:!0,announces:()=>!0};function Zo(e,t,i=Yo){const r=!1!==i.descendsIntoModels,s=i.announces||(()=>!0);let o=[],n=!1;const a=()=>{const e=o;o=[],e.forEach(e=>e&&e())},d=()=>{a(),p()},l=Bt(()=>{n||(d(),t())}),c=()=>{i.deferred?l():d(),t()},u=e=>{Ko(e.oldValue)||Ko(e.newValue)?c():s(e)&&t()},p=()=>{const t=new Set,s=(e,n)=>{if(!e)return;const a=si(e);if(a)return void o.push(a.subscribe(c));if(kt(e)){const t=e.setValueChangedEvent?.(c);return t&&o.push(t),void s(e.getValue(),n)}if(Array.isArray(e))return void e.forEach(e=>s(e,!0));if(!n&&!r)return;if(!Be(e)||t.has(e))return;t.add(e),o.push(e.events.on("propertyChanged",u));const d=e;i.children(e).forEach(e=>s(d[e],!1))};s(e,!0)};return p(),()=>{n=!0,a()}}var Jo=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};const Xo=["events","_disposables","__mutableArrays","__derivedFollows","isDisposing","__decorators","__viewModel","_model"];class Qo extends or{constructor(){super(...arguments),this._signal=li(),this._changedPath=void 0,this.itemsChanged=this._signal}changedPath(){return this._changedPath}notifyItemsChanged(e){this._changedPath=e;try{this._signal.notify()}finally{this._changedPath=void 0}}followGraph(e,t){const i=Bt(()=>{this.isDisposing||this.notifyItemsChanged()});this.addDisposable(Zo(e.map(e=>e.model),i,{children:e=>(t.length>0?t:Object.keys(e).filter(e=>-1===Xo.indexOf(e))).concat(["name","displayName"]),descendsIntoModels:!1,announces:e=>"name"===e.propertyName||"displayName"===e.propertyName,deferred:!0}))}getClassName(e){if(e.className&&e.className())return e.className();const t=/function (.{1,})\(/.exec(e.constructor.toString());return t&&t.length>1?t[1]:""}createItem(e,t,i,r){const s=e.getInfo&&e.getInfo(),o=s&&s.filter(e=>e.propertyName===t)[0],n=i;o&&null!==n&&"object"==typeof n&&r.push({name:t,displayName:$i(o.displayName,o.localizationId),specifics:t,innerActions:n.innerActions,isList:!!n.push})}getMemberByPath(e,t){const i=t.split(".");let r=e;return i.splice(0,1),i.forEach(e=>{r&&r[e]&&(r=r[e])}),r}getObjectPropertiesForPath(e,t,i){const r=this.getMemberByPath(e,t),s=[];if(r)if(r.push)this.createArrayItem(r,s,i);else for(const e in r)-1===Xo.indexOf(e)&&this.createItem(r,e,r[e],s);return s}createArrayItem(e,t,i){for(let r=0;r<e.length;r++){const s=e[r];t.push({name:i?i+"."+r.toString():r.toString(),displayName:s.displayName||s.name,specifics:this.getClassName(s),innerActions:s.innerActions,isList:!!s.push})}}}Jo([rr("")],Qo.prototype,"selectedPath",void 0),Jo([rr()],Qo.prototype,"selectedMember",void 0);class en extends Qo{createArrayItem(e,t,i){for(let r=0;r<e.length;r++){const s=e[r];let o=!1;this.listPropertyNames.forEach(e=>{!o&&s[e]&&s[e].length>0&&(o=!0)});const n=this.getClassName(s);t.push({name:i?i+"."+r.toString():r.toString(),displayName:s.displayName||s.name,specifics:n,isList:o,data:s,dragData:{noDragable:!("bands"===i&&("groupheaderband"===n||"groupfooterband"===n||"detailreportband"===n||"subband"===n)||"controls"===i||"rows"===i||"cells"===i&&"xrcrosstabcell"!==n||"subBands"===i||"Styles"===i||"Formatting Rules"===i)}})}}createItem(e,t,i,r){(!(this.listPropertyNames.length>0)||this.listPropertyNames.indexOf(t)>-1)&&i&&i.push&&this.createArrayItem(i,r,t)}constructor(e,t,i,r){super(),this.getPathByMember=r,this.listPropertyNames=t||[];const s=kt(i)?i:null,o=s?{get:()=>s.getValue(),set:e=>s.setValue(e),subscribe:e=>s.setValueChangedEvent(()=>e())}:i,n=()=>{const e=o?.get();if(!e||!this.getPathByMember)return null;const t=this.getPathByMember(e),i=this.path;return i?t.substr(i.length+1):t},a=t=>{if(!t)return void o.set(null);const i=this.path,r=(i||t).split(".")[0],s=e.filter(e=>e.name===r)[0];if(!s)return;const n=i?[i,t].join("."):t;o.set(this.getMemberByPath(Ft(s.model),n))},d=e=>o.subscribe(e);this.getItems=t=>{const i=new z;if(t.fullPath){const r=e.filter(e=>e.name===t.fullPath.split(".")[0])[0],s=this.getObjectPropertiesForPath(Ft(r.model),t.fullPath,r.name).map(e=>(e.cssRule={"dxrd-context-menu-container":!!r.hasContextMenu},e));i.resolve(s)}else i.resolve((e||[]).map(e=>({name:e.name,displayName:$i(e.displayName)||e.name,isList:!0,specifics:e.className,dragData:{noDragable:!0},data:Ft(e.data),cssRule:{"dxrd-context-menu-container":e.hasContextMenu}})));return i.promise()};const l=e=>{this.assignDerivedProperty("selectedPath",n,()=>[d,qt(this,["path"]),this.itemsChanged],e?a:void 0,{cached:!0})};s?l(!0):fe(o?.get)&&fe(o?.subscribe)&&(l(!1),this.setSelectedPath=a),this.followGraph(e,this.listPropertyNames)}}Jo([rr("")],en.prototype,"path",void 0);class tn extends Qo{onPropertyChanged(e){"selectedPath"===e.propertyName&&(this.selectedMember=this.getMemberByPath(this.target,this.selectedPath))}constructor(e,t,i){super(),this.target=e,this.followGraph([{model:e}],[]),this.getItems=r=>{const s=new z;return r.fullPath?s.resolve(this.getObjectPropertiesForPath(e,r.fullPath)):s.resolve([{name:t||e.name,displayName:$i(t||e.name,i),isList:!0,specifics:e.className&&e.className(),dragData:{noDragable:!0}}]),s.promise()}}}const rn={A2:{width:4200,height:5940,unit:"TenthsOfAMillimeter"},A3:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A3Extra:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3ExtraTransverse:{width:3220,height:4450,unit:"TenthsOfAMillimeter"},A3Rotated:{width:4200,height:2970,unit:"TenthsOfAMillimeter"},A3Transverse:{width:2970,height:4200,unit:"TenthsOfAMillimeter"},A4:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Extra:{width:2360,height:3220,unit:"TenthsOfAMillimeter"},A4Plus:{width:2100,height:3300,unit:"TenthsOfAMillimeter"},A4Rotated:{width:2970,height:2100,unit:"TenthsOfAMillimeter"},A4Small:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A4Transverse:{width:2100,height:2970,unit:"TenthsOfAMillimeter"},A5:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A5Extra:{width:1740,height:2350,unit:"TenthsOfAMillimeter"},A5Rotated:{width:2100,height:1480,unit:"TenthsOfAMillimeter"},A5Transverse:{width:1480,height:2100,unit:"TenthsOfAMillimeter"},A6:{width:1050,height:1480,unit:"TenthsOfAMillimeter"},A6Rotated:{width:1480,height:1050,unit:"TenthsOfAMillimeter"},APlus:{width:2270,height:3560,unit:"TenthsOfAMillimeter"},B4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4Envelope:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},B4JisRotated:{width:3640,height:2570,unit:"TenthsOfAMillimeter"},B5:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Envelope:{width:1760,height:2500,unit:"TenthsOfAMillimeter"},B5Extra:{width:2010,height:2760,unit:"TenthsOfAMillimeter"},B5JisRotated:{width:2570,height:1820,unit:"TenthsOfAMillimeter"},B5Transverse:{width:1820,height:2570,unit:"TenthsOfAMillimeter"},B6Envelope:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},B6Jis:{width:1280,height:1820,unit:"TenthsOfAMillimeter"},B6JisRotated:{width:1820,height:1280,unit:"TenthsOfAMillimeter"},BPlus:{width:3050,height:4870,unit:"TenthsOfAMillimeter"},C3Envelope:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},C4Envelope:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},C5Envelope:{width:1620,height:2290,unit:"TenthsOfAMillimeter"},C65Envelope:{width:1140,height:2290,unit:"TenthsOfAMillimeter"},C6Envelope:{width:1140,height:1620,unit:"TenthsOfAMillimeter"},CSheet:{width:1700,height:2200,unit:"HundredthsOfAnInch"},DLEnvelope:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},DSheet:{width:2200,height:3400,unit:"HundredthsOfAnInch"},ESheet:{width:3400,height:4400,unit:"HundredthsOfAnInch"},Executive:{width:725,height:1050,unit:"HundredthsOfAnInch"},Folio:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanLegalFanfold:{width:850,height:1300,unit:"HundredthsOfAnInch"},GermanStandardFanfold:{width:850,height:1200,unit:"HundredthsOfAnInch"},InviteEnvelope:{width:2200,height:2200,unit:"TenthsOfAMillimeter"},IsoB4:{width:2500,height:3530,unit:"TenthsOfAMillimeter"},ItalyEnvelope:{width:1100,height:2300,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcard:{width:2e3,height:1480,unit:"TenthsOfAMillimeter"},JapaneseDoublePostcardRotated:{width:1480,height:2e3,unit:"TenthsOfAMillimeter"},JapanesePostcard:{width:1e3,height:1480,unit:"TenthsOfAMillimeter"},Ledger:{width:1700,height:1100,unit:"HundredthsOfAnInch"},Legal:{width:850,height:1400,unit:"HundredthsOfAnInch"},LegalExtra:{width:927.5,height:1500,unit:"HundredthsOfAnInch"},Letter:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterExtra:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterExtraTransverse:{width:927.5,height:1200,unit:"HundredthsOfAnInch"},LetterPlus:{width:850,height:1269,unit:"HundredthsOfAnInch"},LetterRotated:{width:1100,height:850,unit:"HundredthsOfAnInch"},LetterSmall:{width:850,height:1100,unit:"HundredthsOfAnInch"},LetterTransverse:{width:827.5,height:1100,unit:"HundredthsOfAnInch"},MonarchEnvelope:{width:387.5,height:750,unit:"HundredthsOfAnInch"},Note:{width:850,height:1100,unit:"HundredthsOfAnInch"},Number10Envelope:{width:412.5,height:950,unit:"HundredthsOfAnInch"},Number11Envelope:{width:450,height:1037.5,unit:"HundredthsOfAnInch"},Number12Envelope:{width:475,height:1100,unit:"HundredthsOfAnInch"},Number14Envelope:{width:500,height:1150,unit:"HundredthsOfAnInch"},Number9Envelope:{width:387.5,height:887.5,unit:"HundredthsOfAnInch"},PersonalEnvelope:{width:362.5,height:650,unit:"HundredthsOfAnInch"},Prc16K:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc16KRotated:{width:1460,height:2150,unit:"TenthsOfAMillimeter"},Prc32K:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBig:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KBigRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},Prc32KRotated:{width:970,height:1510,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1:{width:1020,height:1650,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10:{width:3240,height:4580,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber10Rotated:{width:4580,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber1Rotated:{width:1650,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2:{width:1020,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber2Rotated:{width:1760,height:1020,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3:{width:1250,height:1760,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber3Rotated:{width:1760,height:1250,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4:{width:1100,height:2080,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber4Rotated:{width:2080,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5:{width:1100,height:2200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber5Rotated:{width:2200,height:1100,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6:{width:1200,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber6Rotated:{width:2300,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7:{width:1600,height:2300,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber7Rotated:{width:2300,height:1600,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8:{width:1200,height:3090,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber8Rotated:{width:3090,height:1200,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9:{width:2290,height:3240,unit:"TenthsOfAMillimeter"},PrcEnvelopeNumber9Rotated:{width:3240,height:2290,unit:"TenthsOfAMillimeter"},Quarto:{width:2150,height:2750,unit:"TenthsOfAMillimeter"},Standard10x11:{width:1e3,height:1100,unit:"HundredthsOfAnInch"},Standard10x14:{width:1e3,height:1400,unit:"HundredthsOfAnInch"},Standard11x17:{width:1100,height:1700,unit:"HundredthsOfAnInch"},Standard12x11:{width:1200,height:1100,unit:"HundredthsOfAnInch"},Standard15x11:{width:1500,height:1100,unit:"HundredthsOfAnInch"},Standard9x11:{width:900,height:1100,unit:"HundredthsOfAnInch"},Statement:{width:550,height:850,unit:"HundredthsOfAnInch"},Tabloid:{width:1100,height:1700,unit:"HundredthsOfAnInch"},TabloidExtra:{width:1169,height:1800,unit:"HundredthsOfAnInch"},USStandardFanfold:{width:1487.5,height:1100,unit:"HundredthsOfAnInch"}},sn={Inches:1,HundredthsOfAnInch:100,Millimeters:25.4,TenthsOfAMillimeter:254,Pixels:96};function on(e,t,i){let r;switch(t){case"TenthsOfAMillimeter":r=e/2.54;break;case"Millimeters":r=e/.254;break;case"Inches":r=e/100;break;default:r=e}return void 0!==i?ro(r,!1,i):r}function nn(e,t){const i=rn[e];return{width:on(i.width,i.unit,t),height:on(i.height,i.unit,t)}}function an({value:e,newDpi:t,oldDpi:i=100}){return e*t/i}var dn;function ln(e){return{handles:kt(e.handles)?e.handles:e.handles||"all",start:()=>{},stop:()=>{},resize:()=>{},...e}}function cn(e,t,i){const r=new un(e,t,i).initialize();return()=>{r.dispose()}}class un extends x{_initResize(e){this._startResizeMousePosition={left:e.pageX,top:e.pageY},this._resizeDirection=pn(e.target.classList),this._element.classList.add("ui-resizable-resizing");const t=this._element.getBoundingClientRect(),i=L(this._element);this._element.dataset.originalLeftPosition=i.css("left"),this._element.dataset.originalTopPosition=i.css("top"),this._element.dataset.originalWidth=no(t.width),this._element.dataset.originalHeight=no(t.height),this._element.dataset.originalLeftMousePosition=no(e.pageX),this._element.dataset.originalTopMousePosition=no(e.pageY),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)}_mouseMove(e){if(1===e.which){const t=this._getBoundsDiff(e);this._options.resize(e,this._element,t)}}_mouseUp(e){this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._options.stop(),this._bodyEvents.move=null,this._bodyEvents.up=null,dn.inProcess=!1,this._element.classList.remove("ui-resizable-resizing"),this._startResizeMousePosition=null,this._resizeDirection=null}_mouseDown(e){if(dn.inProcess=!0,this._initResize(e),this._options.start(e,this._element),this._elementModel?.canSnap?.()){const e=this._elementModel.absoluteRect,t=this._elementModel?.parent?.absoluteRect?.top,i=this._options?.snapHelper?.roundToGridSize(e.top-t)+t,r=this._options?.snapHelper?.roundToGridSize(e.bottom-t)+t,s=i||0,o=this._options?.snapHelper?.roundToGridSize(e.left)||0,n=this._options?.snapHelper?.roundToGridSize(e.right)||0,a=r||0;this.snapGridDiff={top:s-e.top,left:o-e.left,right:n-e.right,bottom:a-e.bottom}}}_initResizeHandle(e,t){const i=document.createElement("div");i.classList.add(dn.handleClass),i.style.zIndex="95",i.classList.add(e),i.addEventListener("mousedown",t),this._element.append(i)}_getBoundsDiff(e){let t=0,i=0,r=0,s=0;const o=ao(this._element.dataset.originalHeight),n=ao(this._element.dataset.originalWidth),a=this._resizeDirection&&/sw|se|nw|ne|s|n/.test(this._resizeDirection),d=this._resizeDirection&&/sw|se|nw|ne|e|w/.test(this._resizeDirection),l=this._elementModel?.canSnap?.()&&"SnapToGrid"===this._options.snapHelper?.getSnappingMode?.()&&!0!==e.altKey;a&&((t,r=!1)=>{const n=this._element.style.minHeight?ao(this._element.style.minHeight):this._defaultMinSize;let a=0;a=r?this._options.snapHelper?.roundToGridSize((this._startResizeMousePosition.top-e.pageY)*(t?1:-1)):(this._startResizeMousePosition.top-e.pageY)*(t?1:-1);if(n>o+a){const e=o-n;return t&&(s=e),void(i=-e)}i=a,t&&(s=-i),r&&(t?s=-i+this.snapGridDiff.top:i+=this.snapGridDiff.bottom)})(/nw|ne|n/.test(this._resizeDirection),l),d&&((i,s=!1)=>{const o=this._element.style.minWidth?ao(this._element.style.minWidth):this._defaultMinSize;let a=0;a=s&&this._options.snapHelper?this._options.snapHelper.roundToGridSize((this._startResizeMousePosition.left-e.pageX)*(i?1:-1)):(this._startResizeMousePosition.left-e.pageX)*(i?1:-1);if(o>n+a){const e=n-o;return i&&(r=e),void(t=-e)}t=a,i&&(r=-t),s&&(i?r=-t+this.snapGridDiff.left:t+=this.snapGridDiff.right)})(/sw|nw|w/.test(this._resizeDirection),l);return{width:t,height:i,left:r,top:s}}constructor(e,t,i){super(),this._element=e,this._options=t,this._elementModel=i,this._defaultMinSize=1,this._bodyEvents={move:null,up:null},this._resizeDirection=null,this._resizeHandles=["w","e","s","n","se","sw","ne","nw"],this.snapGridDiff={left:0,top:0,right:0,bottom:0}}initialize(){let e=e=>this._mouseDown(e),t=t=>{if(!t)return;this._element.classList.add(dn.resizableElementClass),Array.from(this._element.children).forEach(e=>e.matches(dn.handleClassSelector)&&e.remove());("all"===t?this._resizeHandles:t.split(",")).forEach(t=>{this._initResizeHandle(`ui-resizable-${t}`,e)})};const i=this._options.handles;t(Ft(i));const r=i=>{if(!t||!this._element)return;this._element.classList.remove(dn.resizableElementClass);this._element.querySelectorAll(dn.handleClassSelector).forEach(t=>t.removeEventListener("mousedown",e)),Array.from(this._element.children).forEach(e=>e.matches(dn.handleClassSelector)&&e.remove()),t(i)};if(kt(i)){const e=i.setValueChangedEvent&&i.setValueChangedEvent(r);e&&this._disposables.push({dispose:e})}return this._disposables.push({dispose:()=>{t=null;this._element.querySelectorAll(dn.handleClassSelector).forEach(t=>t.removeEventListener("mousedown",e)),this._element.removeEventListener("mousedown",e),e=null,this._element=null,this._options=null,this._elementModel=null}}),this}dispose(){super.dispose(),this._element=null}}function pn(e){for(let t=0;t<e.length;t++)if("ui-resizable-handle"!==e[t]&&0===e[t].indexOf("ui-resizable-"))return e[t].slice(13,e[t].length)}dn=un,un.inProcess=!1,un.handleClass="ui-resizable-handle",un.handleClassSelector=`.${dn.handleClass}`,un.resizableElementClass="ui-resizable";class hn extends x{_initScrollContainer(){const e=this._options.containment;e&&e[0].classList.contains("dxrd-ghost-container")&&(this._scrollableContainer=e.find(".dx-scrollable-container")[0])}_initDrag(e){this._startRect={left:e.pageX,top:e.pageY},this._bodyEvents.move=e=>this._canDrag()&&this._mouseMove(e),this._windowEvents.up=e=>this._canDrag()&&this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),window.addEventListener("mouseup",this._windowEvents.up),this._initScrollContainer()}_addClassToElement(e){this._element.classList.add(e)}_calculateElementPosition(e,t){let i=this._originalElementPosition.left-e-(this._scrollableContainer?.scrollLeft||0),r=this._originalElementPosition.top-t-(this._scrollableContainer?.scrollTop||0);const s=this._options.boundary;return s&&(i=i<s.left?s.left:i>s.right?s.right:i,r=r<s.top?s.top:r>s.bottom?s.bottom:r),{left:i,top:r}}_mouseMove(e){if(un.inProcess||!this._startRect)return;if(!(1===e.which)||!this.shouldStartDrag(e))return;this._dragInitialized||(this._dragInitialized=!0,this._options.helper&&(this._ghostContainer=this._options.helper(e,this._element)),this._ghostContainer&&(this._element.ghostContainer=this._ghostContainer[0]),this._originalDragStartCoordinates={left:this._element.dataset.startDragWithOffset?e.pageX:this._startRect.left,top:this._element.dataset.startDragWithOffset?e.pageY:this._startRect.top},this._originalElementPosition={left:this._ghostContainer?ao(this._ghostContainer[0].dataset.startLeftPosition):e.pageX,top:this._ghostContainer?ao(this._ghostContainer[0].dataset.startTopPosition):e.pageY},this._element.dataset.leftPosition=no(this._originalElementPosition.left),this._element.dataset.topPosition=no(this._originalElementPosition.top),this._options.start(e,this._element));const t=this._originalDragStartCoordinates.left-e.pageX,i=this._originalDragStartCoordinates.top-e.pageY,r=this._calculateElementPosition(t,i);this._element.dataset.leftPosition=no(r.left),this._element.dataset.topPosition=no(r.top),this._ghostContainer&&(this._ghostContainer[0].style.left=this._element.dataset.leftPosition,this._ghostContainer[0].style.top=this._element.dataset.topPosition),this._options.drag(e,this._element)}shouldStartDrag(e){return Math.abs(this._startRect.left-e.pageX)>=this._minDragDistance||Math.abs(this._startRect.top-e.pageY)>=this._minDragDistance}_mouseUp(e){un.inProcess||(hn.inProcess=!1,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._windowEvents.up&&window.removeEventListener("mouseup",this._windowEvents.up),this._dragInitialized&&(this._dragInitialized=!1,this._ghostContainer&&this._ghostContainer.remove(),this._ghostContainer=null,this._scrollableContainer=null,this._options.stop(e,this._element)),this._startRect=null)}_mouseDown(e){e.stopPropagation(),un.inProcess||(hn.inProcess=!0,this._initDrag(e))}_canDrag(){return(this._options.disabled&&!this._options.disabled())??!0}_startsInsideFormField(e){return!!e.target?.closest?.("input, textarea, button, select, option")}constructor(e,t){super(),this._element=e,this._options=t,this._bodyEvents={move:null,up:null},this._windowEvents={up:null},this._originalDragStartCoordinates=null,this._originalElementPosition=null,this._dragInitialized=!1,this._scrollableContainer=null,this._draggableElementClass="ui-draggable",this._minDragDistance=1;let i=e=>this._canDrag()&&!this._startsInsideFormField(e)&&this._mouseDown(e);this._addClassToElement(this._draggableElementClass),this._element.addEventListener("mousedown",i),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousedown",i),i=null,this._element=null,this._options=null}})}}hn.inProcess=!1;const gn=DevExpress.ui.dxPopup;var mn=e.n(gn);class fn extends x{updateSelection(e,t){const i=(r=this.bounds,!((s=e).left>r.right||s.right<r.left||s.top>r.bottom||s.bottom<r.top));var r,s;i!=this.isSelected&&(i?this._options.selecting(t,this._element):this._options.unselecting(t,this._element),this.isSelected=i)}constructor(e,t){super(),this._element=e,this._options=t,this.isSelected=!1,this.bounds=e.getBoundingClientRect(),this._disposables.push({dispose:()=>{this._element=null,this._options=null,this.bounds=null}})}}class xn extends x{_clearElements(){this._elements.forEach(e=>e.dispose()),this._elements=[]}_collectElements(){this._clearElements();const e=document.getElementsByClassName(this._options.filter.substr(1));for(let t=0;t<e.length;t++)this._elements.push(new fn(e[t],this._options))}_updateSelectionContent(e){this._startRect.left>=e.pageX?(this._$selectionContent.css("left",e.pageX+"px"),this._$selectionContent.css("right",this._startRect.right+"px")):(this._$selectionContent.css("left",this._startRect.left+"px"),this._$selectionContent.css("right",this._$window.width()-e.pageX+"px")),this._startRect.top>=e.pageY?(this._$selectionContent.css("top",e.pageY+"px"),this._$selectionContent.css("bottom",this._startRect.bottom+"px")):(this._$selectionContent.css("top",this._startRect.top+"px"),this._$selectionContent.css("bottom",this._$window.height()-e.pageY+"px"));const t=this._$selectionContent[0].getBoundingClientRect();for(let i=0;i<this._elements.length;i++)this._elements[i].updateSelection(t,e)}_initStartRect(e){this._startRect={left:e.pageX,top:e.pageY,right:this._$window.width()-e.pageX,bottom:this._$window.height()-e.pageY}}_mouseMove(e){setTimeout(()=>{if(lo.started()||xn.disabled||un.inProcess||!this._startRect)return;1===e.which&&(this._$selectionContent?this._updateSelectionContent(e):this.shouldStartSelect(e)&&(this._options.start(e),xn.inProcess=!0,this._$selectionContent=L("<div />").appendTo(document.body),this._$selectionContent.addClass("dxrd-selection-content ui-selectable-helper"),mn().prototype._zIndexInitValue&&this._$selectionContent.css("z-index",mn().prototype._zIndexInitValue()+100),this._updateSelectionContent(e),this._bodyEvents.move=e=>this._mouseMove(e),this._bodyEvents.up=e=>this._mouseUp(e),document.body.addEventListener("mousemove",this._bodyEvents.move),document.body.addEventListener("mouseup",this._bodyEvents.up)))},1)}shouldStartSelect(e){return Math.abs(this._startRect.left-e.pageX)>=this._minSelectDistance||Math.abs(this._startRect.top-e.pageY)>=this._minSelectDistance}_mouseUp(e){xn.disabled||un.inProcess||hn.inProcess||(this._options.stop(),this._$selectionContent&&this._$selectionContent.remove(),this._$selectionContent=null,this._bodyEvents.move&&document.body.removeEventListener("mousemove",this._bodyEvents.move),this._bodyEvents.up&&document.body.removeEventListener("mouseup",this._bodyEvents.up),this._startRect=null,this._clearElements(),xn.inProcess=!1)}_mouseDown(e){xn.disabled||un.inProcess||hn.inProcess||(this._initStartRect(e),this._collectElements())}constructor(e,t){super(),this._element=e,this._options=t,this._elements=[],this._bodyEvents={move:null,up:null},this._minSelectDistance=2;let i=e=>this._mouseMove(e),r=e=>this._mouseUp(e),s=e=>this._mouseDown(e);this._element.addEventListener("mousemove",i),this._element.addEventListener("mouseup",r),this._element.addEventListener("mousedown",s),this._$window=L(window),this._disposables.push({dispose:()=>{this._element.removeEventListener("mousemove",i),this._element.removeEventListener("mouseup",r),this._element.removeEventListener("mousedown",s),i=null,r=null,s=null,this._$window=null,this._element=null,this._options=null}})}}xn.inProcess=!1,xn.disabled=!1;const vn=ko;function yn(){Yi.customValueStorageFactory=e=>{const t=vn.observable(e);return{getValue:()=>t(),setValue:e=>t(e),explicitNotifySubscribers:()=>t.valueHasMutated()}}}function bn(e,t,i){return vn.bindingEvent.subscribe(e,t,i)}function Cn(e){const t=vn.bindingProvider.prototype.parseBindingsString;vn.utils.extend(vn.bindingProvider.prototype,{parseBindingsString:function(i,r,s,o){return e(i,r,s,o,()=>t.call(vn.bindingProvider.instance,i,r,s,o))}})}function wn(e){const t=vn.templateEngine.prototype.makeTemplateSource;vn.templateEngine.prototype.makeTemplateSource=function(i,r){return e(i,r,()=>t.apply(this,[i,r]))}}class _n extends Kt{addDisposeCallback(e,t){vn.utils.domNodeDisposal.addDisposeCallback(e,t)}removeDisposeCallback(e,t){vn.utils.domNodeDisposal.removeDisposeCallback(e,t)}contextFor(e){return vn.contextFor(e)}dataFor(e){return ze(vn.dataFor(e))}hasBindings(e){return!!this.dataFor(e)}applyBindings(e,t){vn.applyBindings(e,t)}applyBindingsToDescendants(e,t){vn.applyBindingsToDescendants(e,t)}renderTemplate(e,t,i){vn.renderTemplate(e,t,{},i,"replaceNode")}cleanNode(e){vn.cleanNode(e)}}function An(e,t){vn.bindingHandlers[e]=t}function En(e,t){vn.components.register(e,t)}function Sn(e){return vn.bindingHandlers[e]}function In(e){vn.virtualElements.allowedBindings[e]=!0}function Pn(){yn(),Qt(new _n)}function Dn(e,t,i){const{disabled:r,handleClassName:s}=t,o=e=>Array.from(e.children).filter(function(e){return e.classList.contains("ui-resizable-handle")});s&&o(e).forEach(e=>e.classList.add(s));const n=Ft(r)||i?.locked;o(e).forEach(e=>e.style.display=n?"none":"block")}function Tn(e){return{left:ao(e.dataset.originalLeftPosition),top:ao(e.dataset.originalTopPosition)}}function Vn(e){return{width:ao(e.dataset.originalWidth),height:ao(e.dataset.originalHeight)}}function Mn(e,t,i){return{left:e.left+i.left,top:e.top+i.top,width:t.width+i.width,height:t.height+i.height}}An("resizable",{init:function(e,t,i,r,s){const o=t(),n=L(e),a=n.closest(".dx-designer"),d="n",l="e",c="s",u="w";let p=null,h=null,g=null;const m=xe(ln(o),{stop:function(e){const t=h.map(e=>{const t=Xt.contextFor(e),i=ze(t.$data),r=ze(t.$root).surface,s=L(e),o=i.rect;let n=Ur(s,0,r);return n={top:-1!==p.indexOf(d)?n.top:o.top,left:-1!==p.indexOf(u)?n.left:o.left,width:-1!==p.indexOf(l)||-1!==p.indexOf(u)?n.width:o.width,height:-1!==p.indexOf(c)||-1!==p.indexOf(d)?n.height:o.height},{el:e,$el:s,control:i,rect:o,newRect:n}}),i=t.filter(({el:e,$el:t,control:i,newRect:r})=>!(i.canSetRect&&!i.canSetRect(r))||(e.dataset.originalLeftPosition&&e.dataset.originalTopPosition&&(t.css("top",e.dataset.originalTopPosition),t.css("left",e.dataset.originalLeftPosition)),e.dataset.originalWidth&&e.dataset.originalHeight&&(t.css("width",e.dataset.originalWidth),t.css("height",e.dataset.originalHeight)),!1));i.forEach(({control:e,newRect:t})=>e.rect={top:t.top,left:t.left}),i.forEach(({control:e,newRect:t})=>e.rect={width:t.width,height:t.height}),i.forEach(({$el:e,rect:t,newRect:i})=>{JSON.stringify(t)===JSON.stringify(i)&&e.css({left:t.left,top:t.top,width:t.width,height:t.height})}),t.forEach(({el:e})=>{e.dataset.originalLeftPosition=void 0,e.dataset.originalTopPosition=void 0,e.dataset.originalWidth=void 0,e.dataset.originalHeight=void 0}),p=null,o.stopped(),o.started=!1,o.snapHelper?.deactivateSnapLines()},start:(e,t)=>{p=pn(e.target.classList),o.started=!0,o.starting(e,t),h=o.selectedNodes||Array.from(document.querySelectorAll(".dxrd-viewport .dxrd-selected")).filter(e=>$(e)),h.forEach(e=>{const t=L(e),i=e.getBoundingClientRect();e.dataset.originalLeftPosition=t.css("left"),e.dataset.originalTopPosition=t.css("top"),e.dataset.originalWidth=no(i.width),e.dataset.originalHeight=no(i.height)});const i=n.offset(),s=a.find(".dxrd-ghost-container").offset();g=s?{top:i.top-s.top,left:i.left-s.left}:i,o.snapHelper?.updateSnapLines(ze(r))},resize:(e,t,i)=>{e.stopPropagation();const r=o?.snapHelper?.getSnappingMode(),s=i.width,a=i.height,d=i.left,l=i.top;if(o.forceResize)return void o.forceResize({size:new io(t.offsetWidth,t.offsetHeight),delta:{dx:d,dy:l,dw:s,dh:a},element:t});if(!(t.dataset.originalLeftPosition&&t.dataset.originalTopPosition&&t.dataset.originalWidth&&t.dataset.originalHeight))return;const c=Vn(t),u=Tn(t);let p=i;if(e.altKey||"SnapLines"!==r)o.snapHelper?.deactivateSnapLines();else if(o.snapHelper&&1===h.length){const e=c.width+s,t=c.height+a,r={originalSize:{width:c.width,height:c.height},size:{width:e,height:t}},h=Gr(o.snapHelper,g,r,{x:d,y:l,width:s,height:a});o.snapHelper.activateSnapLines(h);const x=Mn(u,c,i),v={left:u.left+h.left-g.left,top:u.top+h.top-g.top,width:h.right-h.left,height:h.bottom-h.top};if(f=x,(m=v).left!==f.left||m.top!==f.top||m.width!==f.width||m.height!==f.height)return n.css({left:v.left+"px",top:v.top+"px",width:v.width+"px",height:v.height+"px"}),p={width:v.width-c.width,height:v.height-c.height},void o?.resizing?.(p)}var m,f;o?.resizing?.(p),h.forEach(function(t){if(t===e.target)return;const r=Mn(Tn(t),Vn(t),i);t.style.left=no(r.left),t.style.top=no(r.top),t.style.width=no(r.width),t.style.height=no(r.height)})}},o),f=[cn(e,m,ze(r))],x=Ot(o.disabled)?.setValueChangedEvent?.(()=>Dn(e,o,r));x&&f.push(x),yr(e,()=>{f.forEach(e=>e()),e=null})},update:function(e,t,i,r,s){const{minimumWidth:o,minimumHeight:n,maximumWidth:a,maximumHeight:d}=t();o&&(e.style.minWidth=no(o)),n&&(e.style.minHeight=no(n)),a&&(e.style.maxWidth=no(a)),d&&(e.style.maxHeight=no(d)),Dn(e,t(),r)}}),An("resizableReportMargins",{init:function(e,t){t()}});var kn=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Fn extends nr{constructor(e){super(),this._options=e,this.initialWidth=0,this.initialHeight=0,this.zoom=1}deferredUpdateViewModel(){return!1}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel(),i=e.propertyName;i in t&&(t[i]=this[i])}createViewModel(){return Zi(super.createViewModel()).generateProperty("width",this.width).generateProperty("height",this.height).generateProperty("isHAxisVisible",this.isHAxisVisible).generateProperty("isVAxisVisible",this.isVAxisVisible).generateProperty("isLocatedInsideContainer",this.isLocatedInsideContainer).getViewModel()}renderTemplate(e){const t=document.createElement("div");return t.innerHTML=zr("dxd-dimension-notations").trim(),e.append(t),t}getFormattedString(e){const t=oo(e,this.measureUnit,this.zoom);let i="";switch(this.measureUnit){case"Inches":i=`${t.toFixed(2)}″`;break;case"HundredthsOfAnInch":i=`${(t/100).toFixed(2)}″`;break;case"Millimeters":i=`${t.toFixed(2)} ${we("mm","PreviewStringId.Margin_Millimeter")}`;break;case"TenthsOfAMillimeter":i=`${(t/10).toFixed(2)} ${we("mm","PreviewStringId.Margin_Millimeter")}`;break;default:i=`${t.toFixed(2)} ${we("px","PreviewStringId.Margin_Pixel")}`}return i}setSize(e,t){this.width=this.getFormattedString(this.initialWidth+e),this.height=this.getFormattedString(this.initialHeight+t)}start(e){const{zoom:t,measureUnit:i}=this._options.surface(),r=Xt.dataFor(e)?.getControlModel?.();if(!this._options.enabled()||!r)return void(this.cleanUp=()=>{});this.zoom=t,this.measureUnit=i,this.initialWidth=ao(e.dataset.originalWidth),this.initialHeight=ao(e.dataset.originalHeight),this.setSize(0,0),this.isHAxisVisible=this._options.isHorizontalAxisVisible(r),this.isVAxisVisible=this._options.isVerticalAxisVisible(r),this.isLocatedInsideContainer=this._options.isLocatedInsideContainer(r);const s=this.renderTemplate(e);Xt.applyBindings(this.getViewModel(),s),this.cleanUp=()=>{Xt.cleanNode(s),e?.removeChild(s),e=null}}stop(){this.cleanUp&&this.cleanUp(),this.cleanUp=null}updateSize(e){this.setSize(e.width,e.height)}}kn([rr("")],Fn.prototype,"width",void 0),kn([rr("")],Fn.prototype,"height",void 0),kn([rr(!1)],Fn.prototype,"isHAxisVisible",void 0),kn([rr(!1)],Fn.prototype,"isVAxisVisible",void 0),kn([rr(!1)],Fn.prototype,"isLocatedInsideContainer",void 0);const $n=DevExpress.ui.dxScrollView;var On=e.n($n);class Nn extends x{dispose(){this._scroll=null,this._container=null,this._updateInterval&&clearTimeout(this._updateInterval),this._updateInterval=null}_startUpdateScrollPosition(){this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=setInterval(()=>this._scroll.scrollTo({top:this._scroll.scrollTop()+this._currentOffsetY,left:this._scroll.scrollLeft()+this._currentOffsetX}),this._updateTime)}_calculateOffset(e,t,i){const r="y"===i?"height":"width";return e[i]>t[i]+t[r]-50?5:e[i]<t[i]+50?-5:0}constructor(e,t=10){super(),this._container=e,this._updateTime=t,this._currentOffsetY=0,this._currentOffsetX=0,this._scroll=null,this._updateInterval=null,this._scroll=On().getInstance(this._container)}getScrollOffset(){return this._scroll.scrollOffset()}processOffset(e){const t=this._container.getBoundingClientRect();this._currentOffsetY=this._calculateOffset(e,t,"y"),this._currentOffsetX=this._calculateOffset(e,t,"x"),this._currentOffsetX||this._currentOffsetY?this._updateInterval||this._startUpdateScrollPosition():(this._updateInterval&&clearInterval(this._updateInterval),this._updateInterval=null)}}const Bn=DevExpress.data.DataSource;var Ln=e.n(Bn);const zn=DevExpress.data.ArrayStore;var Hn=e.n(zn);const Rn=DevExpress.data.CustomStore;var jn=e.n(Rn);class Gn extends(jn()){static _sortItems(e,t){return e.sort((e,i)=>{let r=e[t],s=i[t];if(r&&s){const e=r-s;return isNaN(e)?(r=r.toLowerCase?r.toLowerCase():r,s=s.toLowerCase?s.toLowerCase():s,r<s?-1:r>s?1:0):e}})}static _createOptions(e,t){return e=this._sortItems(e,t),{load:t=>{let i=[].concat(e);return t.take&&(i=i.splice(t.skip,t.take)),Promise.resolve(i)},byKey:t=>{if(e.some(e=>e===t))return t}}}constructor(e,t="name"){super(Gn._createOptions(e,t))}}class Wn extends(Hn()){constructor(e,t="name"){e instanceof Array&&Gn._sortItems(e,t),super(e)}}var Un=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class qn extends nr{deferredUpdateViewModel(){return!1}constructor(e,t){super(),this.filter=null,this._filterChanged=li();const i=()=>e[t]||[];this.addDisposable(gi(()=>[this._filterChanged,qt(e,[t]),...i().map(e=>qt(e,["name"]))],()=>{this.dataSource?.dispose();const e=this.filter?i().filter(this.filter):i();this.dataSource=new(Ln())({store:new Gn(e),paginate:!0,pageSize:100}),this.visible=i().length>0})),this.addDisposable(()=>{this.dataSource?.dispose(),this.dataSource=null})}getFilter(){return this.filter}setFilter(e){this.filter=e,this._filterChanged.notify()}resetFilter(){this.setFilter(null)}updateViewModel(e){super.updateViewModel(e),"dataSource"===e.propertyName&&(this.getViewModel().dataSource=this.dataSource),"visible"===e.propertyName&&(this.getViewModel().visible=this.visible)}createViewModel(){return Zi(super.createViewModel()).generateProperty("dataSource",this.dataSource).generateProperty("visible",this.visible).getViewModel()}}Un([rr(null)],qn.prototype,"dataSource",void 0),Un([rr(!1)],qn.prototype,"visible",void 0);const Kn=["Name","Version"];function Yn(e){const t="\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376-\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06E5-\\u06E6\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4-\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B4\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u09DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C60-\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E46\\u0E81-\\u0E82\\u0E84\\u0E87-\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA-\\u0EAB\\u0EAD-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5-\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FD5\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7AD\\uA7B0-\\uA7B7\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB65\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC";return new RegExp("^["+t+"_]["+t+"_\\d]*$").test(e)}function Zn(e){return Kn.includes(e)}function Jn(e){return!!e&&Yn(e)&&!Zn(e)}function Xn(e){return e.replace(/[\W_]+/g,"_")}const Qn={type:"required",get message(){return $i("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}},ea=[Qn,{type:"custom",validationCallback:e=>Yn(e.value),get message(){return $i("Name must start with a letter or underscore and contain only letters, numbers, and underscores.","AnalyticsCoreStringId.NameHasInvalidFormat_Error")}},{type:"custom",validationCallback:e=>!Zn(e.value),get message(){return $i("This name is reserved. Enter a different name.","AnalyticsCoreStringId.NameIsReserved_Error")}}];class ta extends or{constructor(){super(...arguments),this.mergedMembers=!1}hasMergedMembers(){return this.mergedMembers}noteMember(){this.mergedMembers=!0}declareProperty(e,t){this.assignDerivedProperty(e,{getValue:()=>t.getValue(),setValue:t.setValue&&(e=>{this.isDisposing||t.setValue(e)}),setValueChangedEvent:t.setValueChangedEvent}),this.mergedMembers=!0}onPropertyChanged(){}}class ia{static getInfo(e){const t=e.map(e=>e.getInfo());return()=>{const e=[];for(let i=0;i<t[0].length;i++)t.filter(e=>e.filter(e=>e.propertyName===t[0][i].propertyName).length>0).length===t.length&&e.push(t[0][i]);return e}}static getInfoPropertyDependencies(e){return()=>e.reduce((e,t)=>t.getInfoPropertyDependencies?e.concat(t.getInfoPropertyDependencies()):e,[])}static isPropertyDisabled(e){return t=>{for(let i=0;i<e.length;i++)if(e[i].isPropertyDisabled(t))return!0;return!1}}static getDisabledPropertyDependencies(e){return t=>e.reduce((e,i)=>i.getDisabledPropertyDependencies?e.concat(i.getDisabledPropertyDependencies(t)):e,[])}static getPath(e){return t=>{let i="";for(let r=0;r<e.length;r++){const s=e[r].getPath(t);if(0===r)i=s;else if(i!==s){i="";break}}return i}}static getPathPropertyDependencies(e){return t=>e.reduce((e,i)=>i.getPathPropertyDependencies?e.concat(i.getPathPropertyDependencies(t)):e,[])}static isPropertyVisible(e){return t=>{for(let i=0;i<e.length;i++)if(!e[i].isPropertyVisible(t))return!1;return!0}}static getVisiblePropertyDependencies(e){return t=>e.reduce((e,i)=>i.getVisiblePropertyDependencies?e.concat(i.getVisiblePropertyDependencies(t)):e,[])}static mergeProperty(e,t,i,r){const s=e[0][t];let o=null;if(e.every(e=>t in e)&&(o=r&&r(t,e,i),!o)){const n=Array.isArray(s)||!(!s||!s.push),a=e.map(e=>e[t]instanceof Object);!n&&a.every(e=>!e)?o={result:ai(()=>{const i=e.map(e=>e[t]);return i.every(e=>e===i[0])?i[0]:null},()=>e.map(e=>qt(e,[t])),r=>{i&&i().start(),e.forEach(e=>Jt().setProperty(e,t,r)),i&&i().end()}),subscriptions:[]}:!n&&a.every(e=>e)&&(o=this._merge(e.map(e=>e[t]),i,r))}return o}static _createProperty(e,t,i){if(!i)return;if(kt(i))return void e.declareProperty(t,i);(i instanceof ta?!i.hasMergedMembers():"object"==typeof i&&me(i))||(e[t]=i,e.noteMember?.())}static _merge(e,t,i,r){const s=new ta;let o=[s];if(["getInfo","getInfoPropertyDependencies","isPropertyVisible","getVisiblePropertyDependencies","isPropertyDisabled","getDisabledPropertyDependencies","getPath","getPathPropertyDependencies"].forEach(t=>{e[0][t]&&this._createProperty(s,t,this[t](e))}),r){const e=s.isPropertyDisabled;s.isPropertyDisabled=t=>e&&e(t)||-1!==r.indexOf(t)}return s&&s.getInfo?s.getInfo().map(e=>e.propertyName).forEach(r=>{const n=this.mergeProperty(e,r,t,i);n&&(o=[].concat.apply(o,n.subscriptions),this._createProperty(s,r,n.result))}):Object.keys(e[0]).forEach(r=>{const n=this.mergeProperty(e,r,t,i);n&&(o=[].concat.apply(o,n.subscriptions),this._createProperty(s,r,n.result))}),{result:s,subscriptions:o}}static mergeControls(e,t,i,r){const s=this._merge(e,t,i,r);return{result:xe(s.result,{controlType:"multiselect",displayName:""}),subscriptions:s.subscriptions}}static getEditableObject(e,t,i){const r=Lt(null);let s=[];const o=()=>{s.forEach(e=>e.dispose()),s=[]},n=tt(e,"focused",e=>{r.setValue(e&&e.getControlModel())});e._disposables&&(e._disposables.push({dispose:n}),e._disposables.push({dispose:o}));const a=ci(()=>{if(o(),e.selectedItems.length<=1)return r.getValue();const n=this.mergeControls(e.selectedItems.map(e=>e.getControlModel()),t,i,e.ignoreMultiSelectProperties);return s=n.subscriptions,n.result},()=>[e.selectionChanged,r],{deferred:!0});return e._disposables?.push({dispose:a.dispose}),{getValue:a.getValue,setValueChangedEvent:a.setValueChangedEvent,setValue:t=>{t&&t.surface?e.focused=t.surface:(e.updateSelection(null),r.setValue(t))}}}}class ra extends or{dispose(){this.reset(),super.dispose()}_removeFromSelection(e){e.focused=!1,e.selected=!1,-1!==this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.splice(this._selectedControlsInner.indexOf(e),1)}applyFocus(e){this._focused.getValue()&&this._removeFromSelection(this._focused.getValue()),this._focused.setValue(e),e&&(e.focused=!0,-1===this._selectedControlsInner.indexOf(e)&&this._selectedControlsInner.push(e),e.selected=!0)}resetTabPanelFocus(){const e=document.activeElement;if(!(e&&0===L(e).closest(".dxrd-surface").length))return;const t=e.closest?.(ur);t?t!==e&&(t.hasAttribute("tabindex")||(t.tabIndex=-1),t.focus({preventScroll:!0})):e.querySelector?.(ur)||cr(e)}constructor(e=["name"]){super(),this.ignoreMultiSelectProperties=e,this._focused=Lt(null),this._selectedControls=Lt([]),this._selectionChanged=li(),this._selectedControlsInner=[],this.selectionChanged=di(()=>[this._focused,this._selectedControls,this._selectionChanged]),this.dropTarget=null,this.expectClick=!1,this.started=!1,this.disabled=Lt(!1),this.assignDerivedProperty("focused",()=>this._focused.getValue(),()=>[this._focused],e=>{e!==this._focused.getValue()&&(e&&(this._firstSelected=e),this.updateSelection(this._firstSelected))})}get selectedItems(){return this._selectedControls.getValue()}clear(){this.focused=null,this._selectedControls.setValue([])}reset(){this._focused.setValue(null),this._selectedControlsInner.splice(0),this._firstSelected=null,this._selectedControls.setValue([])}applySelection(){this._selectedControls.setValue(this._selectedControlsInner),this._selectionChanged.notify()}selectItems(e){this._selectedControlsInner=e,this._selectedControlsInner.forEach(e=>{e.focused||(e.selected=!0)}),this.applySelection()}updateSelection(e){this._selectedControlsInner.forEach(e=>{e.focused=!1,e.selected=!1}),this._selectedControlsInner=[],this.applyFocus(e),this.applySelection()}swapFocusedItem(e){this._focused.getValue()!==e&&(this._focused.getValue().focused=!1,this._focused.setValue(e),this._focused.getValue().focused=!0)}initialize(e){e=ze(e)||this.dropTarget,this._firstSelected=e&&"focused"in e?e:null,this.updateSelection(this._firstSelected)}clickHandler(e,t={ctrlKey:!1,metaKey:!1}){e=ze(e),this.expectClick?this.expectClick=!1:(e=e||this.dropTarget,t.ctrlKey||t.metaKey?(this.selectionWithCtrl(e),this.applySelection()):this._selectedControlsInner.length>1&&-1!==this._selectedControlsInner.indexOf(e)?this.swapFocusedItem(e):this._focused.getValue()!==e&&this.initialize(e),this.resetTabPanelFocus())}selecting(e){this._focused.getValue()?(e.cancel=!e.control.checkParent(this._firstSelected),e.cancel||(this._firstSelected&&this._firstSelected.focused?this.applyFocus(e.control):-1===this._selectedControlsInner.indexOf(e.control)&&(e.control.selected=!0,this._selectedControlsInner.push(e.control)))):this.applyFocus(e.control)}unselecting(e){this._focused.getValue()===e?(this.applyFocus(null),0===this._selectedControlsInner.length?this.applyFocus(this._firstSelected):this.applyFocus(this._selectedControlsInner[0])):this._removeFromSelection(e)}selectionWithCtrl(e){if(e&&e.allowMultiselect){const t=this._selectedControlsInner;0===t.length||1===t.length&&!t[0].allowMultiselect?this.initialize(e):-1===this._selectedControlsInner.indexOf(e)?(e.selected=!0,this._selectedControlsInner.push(e)):this._selectedControlsInner.length>1&&this.unselecting(e)}}}function sa(e){return!e||!("isModelReady"in e)||!!e.isModelReady}function oa(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}var na=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};function aa(e){return{get:()=>e.getValue(),set:t=>e.setValue?.(t),notify:()=>{}}}function da(e,t){return{get:()=>e[t],set:i=>{e[t]=i},notify:()=>{}}}function la(e,t){let i=0;for(;i<e.length&&i<t.length&&e[i]===t[i];)i+=1;return i}class ca{static Empty(){return new ca(null,null)}constructor(e,t){this.changes=e,this.position=t}equal(e){return this.changes===e.changes&&this.position===e.position}}const ua=[];class pa extends or{static tryGetUndoEngine(e){let t=null;return ua.some(i=>(t=e[i]&&e[i].instance,!!t)),t}get _modelReady(){return sa(this._model)}_disposeObserver(e){if(e.propertyChanged){const t=e.propertyChanged.val;t&&!t[this._currentEngineName]&&t.dispose&&t.dispose()}else e.arrayChanges&&e.arrayChanges.forEach(e=>{if("added"===e.status){const t=e.value;t&&!t[this._currentEngineName]&&t.dispose&&t.dispose()}})}_disposeRemovedRecord(e){e.arrayChanges&&e.arrayChanges.forEach(e=>{"deleted"===e.status&&e.value?.dispose&&e.value?.dispose()})}_disposeObservers(e,t){const i=(t?this._disposeRemovedRecord:this._disposeObserver).bind(this);e.forEach(e=>{Array.isArray(e)?e.reverse().forEach(e=>i(e)):i(e)})}properyChanged(e){if(this._inUndoRedo)return;const t=this._changeSetPosition+1;if(t<this._observers.length){const e=this._observers.splice(t,this._observers.length);this._disposeObservers(e,!1)}this._observers.push(e),this._changeSetPosition=t,this.undoEnabled=!0,this.redoEnabled=!1}visitProperties(e,t){const i=[];if(e&&t)for(let r=0;r<t.length;r++){const s=this._alwaysSubscribeProperties.some(e=>e===t[r].propertyName);if(t[r].modelName||t[r].editor||t[r].info||s){const o=s?t[r].propertyName:this.validatePropertyName(e,t[r].propertyName);o&&(this._isDerivedProperty(e,o)||i.push.apply(i,this._subscribeVisitedProperty(e,o,!t[r].link,t[r].info)))}}return i}_triggerOnAdd(e){e?.forEach(e=>{e?._restoreAfterDispose?.(),e?.onAdd?.()})}_triggerOnDelete(e){e?.forEach(e=>e?.onDelete?.())}undoChangeSet(e){e.propertyChanged?e.target.set(e.propertyChanged.oldVal):this.applyArrayChanges(e,"added")}redoChangeSet(e){e.propertyChanged?e.target.set(e.propertyChanged.val):this.applyArrayChanges(e,"deleted")}applyArrayChanges(e,t){const i=e.target.get(),r=i.slice(),s=i.slice(),o=[],n=[];e.arrayChanges.forEach(e=>{if(e.status!==t)return;const i=s.indexOf(e.value);-1!==i&&o.push(...s.splice(i,1))}),e.arrayChanges.forEach(e=>{e.status!==t&&(s.splice(e.index,0,e.value),n.push(e.value))}),function(e,t){const i=la(e,t);if(i===e.length&&i===t.length)return;const r=la(e.slice(i).reverse(),t.slice(i).reverse());e.splice(i,e.length-i-r,...t.slice(i,t.length-r))}(i,s),this._triggerOnDelete(o.filter(e=>-1===s.indexOf(e))),this._triggerOnAdd(n.filter(e=>-1===r.indexOf(e))),e.target.notify()}_disposeChilds(e,t){if(e&&t)for(let i=0;i<t.length;i++)if(t[i].modelName||t[i].editor||t[i].info){const r=t[i].propertyName;if(0!==r.indexOf("_")){const s=this._resolveStorageName(e,r);if(!this._isDerivedProperty(e,s)){const r=this._readPropertyValue(e,s);r&&"object"==typeof r&&(t[i].link||this._callDisposeFunction(r))}}}}_createDisposeFunction(e,t){let i=[];if(Array.isArray(e))return e.reduce((e,i)=>e.concat(this._createDisposeFunction(i,t)),[]);if(e&&"object"==typeof e){const r=t||e[this._getInfoMethodName]&&e[this._getInfoMethodName]();r&&(e[this._currentEngineName]?e[this._currentEngineName].inc++:(e[this._currentEngineName]={inc:1,instance:this},i=this.subscribe(e,r),e[this._currentEngineName].func=()=>{e[this._currentEngineName].inc--,this._disposeChilds(e,r),0===e[this._currentEngineName].inc&&(this._cleanSubscribtions(i),delete e[this._currentEngineName])}))}return i}_callDisposeFunction(e){if(e)if(Array.isArray(e))for(let t=0;t<e.length;t++)e[t][this._currentEngineName]&&e[t][this._currentEngineName].func();else e[this._currentEngineName]&&e[this._currentEngineName].func()}_cleanSubscribtions(e){if(e)if(e.length)for(let t=0;t<e.length;t++)this._cleanSubscribtions(e[t]);else e.dispose&&e.dispose()}_resolveStorageName(e,t){return"_"+t in e?"_"+t:t}_isDerivedProperty(e,t){return yt(e,t)&&!bt(e,t)}_readPropertyValue(e,t){return e[t]}_subscribeVisitedProperty(e,t,i,r){return Be(e)?[this.subscribeModelProperty(e,t,i,r)]:(this._createDisposeFunction(e[t],r),[])}validatePropertyName(e,t){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every(e=>e!==t))&&"_"!==t[0]?this._resolveStorageName(e,t):null}subscribeAccessor(e,t){let i=e.getValue();t&&this._createDisposeFunction(i);const r=e.setValueChangedEvent?.(r=>{this._modelReady&&(t&&this._callDisposeFunction(i),this.properyChanged({target:aa(e),propertyChanged:{oldVal:i,val:r}}),i=r,t&&this._createDisposeFunction(r))});return{dispose:r||(()=>{})}}subscribeModelProperty(e,t,i,r){let s=e[t];i&&this._createDisposeFunction(s,r);return{dispose:e.events.on(`${t}Changed`,o=>{if(this._modelReady){if("added"in o||"removed"in o){const i=o,s=pa._toArrayChanges(i);if(!s.length)return;return i.removed?.forEach(e=>this._callDisposeFunction(e.item)),i.added?.forEach(e=>this._createDisposeFunction(e.item,r)),void this.properyChanged({target:da(e,t),arrayChanges:s})}i&&this._callDisposeFunction(s),this.properyChanged({target:da(e,t),propertyChanged:{oldVal:o.oldValue,val:o.newValue}}),s=o.newValue,i&&this._createDisposeFunction(o.newValue,r)}})}}static _toArrayChanges(e){const t=e=>t=>({status:e,value:t.item,index:t.index});return[...(e.added||[]).map(t("added")),...(e.removed||[]).map(t("deleted"))]}subscribe(e,t){return this.visitProperties(e,t||e&&this._getInfoMethodName&&e[this._getInfoMethodName]&&e[this._getInfoMethodName]())}getCurrentChangeSet(){return new ca(this._observers[this._changeSetPosition],this._changeSetPosition)}constructor(e,t=["surface"],i,r=[]){super(),this._ignoredProperties=t,this._getInfoMethodName=i,this._alwaysSubscribeProperties=r,this._groupObservers=[],this._groupPosition=-1,this._observers=[],this._inUndoRedo=!1,this._currentEngineName=pa._disposeUndoEngineSubscriptionsName+oa(),this.isIngroup=-1,this.assignDerivedProperty("isDirty",()=>this._changeSetPosition!==this._lockedPosition,()=>[qt(this,["_changeSetPosition","_lockedPosition"])],e=>this._lockedPosition=e?"forcibly marked as dirty":this._changeSetPosition),ua.push(this._currentEngineName);const s=function(e){const t=e;return!!t&&"object"==typeof t&&"string"==typeof t.propertyName&&Be(t.model)}(e)?e:void 0,o=!s&&kt(e)?e:void 0;this._model=s?s.model[s.propertyName]:o?o.getValue():e,s?this._targetSubscription=this.subscribeModelProperty(s.model,s.propertyName,!0):o?this._targetSubscription=this.subscribeAccessor(o,!0):this._createDisposeFunction(e)}dispose(){super.dispose(),this._disposeObservers(this._observers.splice(0,this._observers.length),!0),this.removeTargetSubscription();let e=0;ua.some((t,i)=>t===this._currentEngineName&&(e=i,!0)),ua.splice(e,1)}removeTargetSubscription(){this._targetSubscription&&this._targetSubscription.dispose(),this.reset()}undoAll(){this.undoEnabled&&(this.undo(),this.undoAll())}reset(){this.clearHistory()}clearHistory(){this._groupObservers=[],this._observers=[],this.redoEnabled=!1,this.undoEnabled=!1,this._inUndoRedo=!1,this._groupPosition=-1,this._changeSetPosition=-1,this._lockedPosition=this._changeSetPosition}undo(e=!1){try{if(this._inUndoRedo=!0,this.undoEnabled){const t=this._observers[this._changeSetPosition];t&&(Array.isArray(t)?t.reverse().forEach(e=>this.undoChangeSet(e)):this.undoChangeSet(t),e&&this._observers.splice(this._changeSetPosition,1),this._changeSetPosition=this._changeSetPosition-1,this.undoEnabled=0!==this._observers.length&&this._changeSetPosition>=0,this.redoEnabled=this._changeSetPosition<this._observers.length-1)}}finally{this._inUndoRedo=!1}}redo(){try{if(this._inUndoRedo=!0,this.redoEnabled){const e=this._observers[this._changeSetPosition+1];e&&(Array.isArray(e)?e.reverse().forEach(e=>this.redoChangeSet(e)):this.redoChangeSet(e),this._changeSetPosition=this._changeSetPosition+1,this.undoEnabled=0!==this._observers.length&&this._changeSetPosition>=0,this.redoEnabled=this._changeSetPosition+1<this._observers.length)}}finally{this._inUndoRedo=!1}}_hasSessionChanges(){return 0===this.isIngroup&&this._observers.length>0}start(){this.isIngroup++,0===this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._changeSetPosition,this._changeSetPosition=-1,this._lockedPosition=this._changeSetPosition)}end(){if(this.isIngroup--,-1===this.isIngroup){if(this._observers.length>0){this._changeSetPosition=this._groupPosition+1;const e=this._groupObservers.splice(this._changeSetPosition,this._groupObservers.length-this._changeSetPosition,this._observers);this._disposeObservers(e,!1)}else this._changeSetPosition=this._groupPosition;this._observers=this._groupObservers}}}function ha(e,t){const i=e.focused;t||(t=i.getControlModel(),e.selectedItems.forEach(e=>{const t=e.getControlModel(),r=t.parentModel;!e.getControlModel().getMetaData().isDeleteDeny&&r&&e!==i&&r.removeChild(t)}));const r=pa.tryGetUndoEngine(t.parentModel);r&&r.start(),t.parentModel.removeChild(t),r&&r.end(),e.focused=i.findNextSelection()}function ga(e,t,i,r){(e?.[t]||[]).forEach(e=>{i.splice(0,0,r(e))});return{dispose:st(e,t,e=>{const t=i.slice();e.removed.forEach(e=>{const i=t.indexOf(e.item.surface);-1!==i&&t.splice(i,1)}),e.added.forEach(e=>{t.splice(t.length-e.index,0,r(e.item))}),ma(i,t)})}}function ma(e,t){let i=0;for(;i<e.length&&i<t.length&&e[i]===t[i];)i++;let r=e.length,s=t.length;for(;r>i&&s>i&&e[r-1]===t[s-1];)r--,s--;(r>i||s>i)&&e.splice(i,r-i,...t.slice(i,s))}function fa(e,t,i,r){(e?.[t]||[]).forEach(e=>{i.push(r(e))});return{dispose:st(e,t,e=>{let t=i.length,s=0;e.removed.forEach(e=>{s++,e.index<t&&(t=e.index)});const o=e.added.map(e=>(e.index<t&&(t=e.index),r(e.item)));i.splice.apply(i,[t,s].concat(o))})}}function xa(e,t){const i=e.slice().sort(t);let r=0;for(;r<i.length&&e[r]===i[r];)r++;if(r===i.length)return e;let s=i.length-1;for(;s>r&&e[s]===i[s];)s--;return e.splice(r,s-r+1,...i.slice(r,s+1)),e}function va(e,t){const i=[];for(let r=e.length-1;r>=0;r--)t(e[r])&&i.unshift(...e.splice(r,1));return i}function ya(e,t){const i=e.indexOf(t);return-1!==i&&(e.splice(i,1),!0)}function ba(e,t,i,r){for(let s=r||0;s<e.length;s++){if(e[s][t]===i)return e[s]}return null}function Ca(e,t){for(let i=0;i<e.length;i++)if(t(e[i]))return e[i];return null}pa._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___",na([rr(-1)],pa.prototype,"_changeSetPosition",void 0),na([rr(-1)],pa.prototype,"_lockedPosition",void 0),na([rr(!1)],pa.prototype,"redoEnabled",void 0),na([rr(!1)],pa.prototype,"undoEnabled",void 0);const wa=Ca;function _a(e,t,i){let r=0,s=e.length-1;for(;r<=s;){const o=s+r>>1,n=i(t,e[o]);if(n>0)r=o+1;else{if(!(n<0))return o;s=o-1}}return~r}class Aa{constructor(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}_appendSnapLine(e,t,i,r){const s={position:e,limitInf:t,limSup:i},o=_a(r,s,(e,t)=>e.position-t.position);o>-1?(r[o].limitInf=Math.min(r[o].limitInf,t),r[o].limSup=Math.max(r[o].limSup,i)):r.splice(~o,0,s)}_collectSnaplines(e,t){this._enumerateCollection(e,t,(e,t)=>{e!==this._snapTargetToIgnore&&(this._appendSnapLine(t.left,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.right,t.top,t.bottom,this._verticalSnapLines),this._appendSnapLine(t.top,t.left,t.right,this._horizontalSnapLines),this._appendSnapLine(t.bottom,t.left,t.right,this._horizontalSnapLines),this._collectSnaplines(e,t))})}_getCollection(e){return e.controls}_enumerateCollection(e,t,i){const r=this._getCollection(e);if(r)for(let e=0;e<r.length;e++){const s=r[e].rect;s&&i(r[e],{top:s.top+t.top,bottom:s.bottom+t.top,left:s.left+t.left,right:s.right+t.left})}}collectSnaplines(e,t){return this._snapTargetToIgnore=t,this._verticalSnapLines.splice(0),this._horizontalSnapLines.splice(0),this._collectSnaplines(e,{top:0,left:0}),{vertical:this._verticalSnapLines,horizontal:this._horizontalSnapLines}}}class Ea{constructor(){this._position=Ea._blankPosition}transform(){const e=this._position;return"matrix("+e.width+", 0, 0, "+e.height+", "+e.left+", "+e.top+")"}updatePosition(e){this._position=e}reset(){this.updatePosition(Ea._blankPosition)}}Ea._blankPosition={top:0,left:0,width:0,height:0};class Sa extends nr{deferredUpdateViewModel(){return!1}_findClosestSnapLine(e,t){let i,r=_a(t,{position:e,limitInf:0,limSup:0},(e,t)=>e.position-t.position);if(r>-1)i={snapLine:t[r],distance:e-t[r].position};else{r=~r;const s=t[r]?e-t[r].position:Number.MAX_VALUE,o=t[r-1]?e-t[r-1].position:Number.MAX_VALUE;i=Math.abs(s)>Math.abs(o)?{snapLine:t[r-1],distance:o}:{snapLine:t[r],distance:s}}return i}_getActiveSnapLines(e,t,i){const r=this._findClosestSnapLine(e,i),s=this._findClosestSnapLine(t,i),o={lines:[],distance:0};if(Math.abs(r.distance-s.distance)>=1){const e=Math.abs(r.distance)<Math.abs(s.distance)?r:s;Math.abs(e.distance)<=this._snapTolerance&&(o.lines=[e],o.distance=e.distance)}else Math.abs(r.distance)<=this._snapTolerance&&(o.lines=[r,s],o.distance=r.distance);return o}constructor(e=null,t=Sa.snapTolerance,i=new Aa){super(),this.snapLineSurfaces=[new Ea,new Ea,new Ea,new Ea],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=e,this._snapTolerance=t,this._snapLinesCollector=i,this.assignArrayProperty("snapLineTransforms",this.readTransforms())}readTransforms(){return this.snapLineSurfaces.map(e=>e.transform())}publishTransforms(){this.snapLineTransforms=this.readTransforms()}updateViewModel(e){super.updateViewModel(e),this.isViewModelReady()&&"snapLineTransforms"===e.propertyName&&(this.getViewModel().snapLineTransforms=this.snapLineTransforms)}createViewModel(){return Zi(super.createViewModel()).generateProperty("snapLineTransforms",this.snapLineTransforms).getViewModel()}updateSnapLines(e=null){this.verticalSnapLines.splice(0),this.horizontalSnapLines.splice(0);const t=this._snapLinesCollector.collectSnaplines(this._surfaceContext(),e);this.verticalSnapLines.push.apply(this.verticalSnapLines,t.vertical),this.horizontalSnapLines.push.apply(this.horizontalSnapLines,t.horizontal)}deactivateSnapLines(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset(),this.publishTransforms()}activateSnapLines(e){const t=this._getActiveSnapLines(e.left,e.right,this.verticalSnapLines),i=this._getActiveSnapLines(e.top,e.bottom,this.horizontalSnapLines);for(let r=0;r<2;r++){const s=t.lines[r];if(s){let t=Math.min(s.snapLine.limitInf,e.top),o=Math.max(s.snapLine.limSup,e.bottom);e.top<s.snapLine.limitInf&&(t-=i.distance),e.bottom>s.snapLine.limSup&&(o-=i.distance),this.snapLineSurfaces[r].updatePosition({top:t,left:s.snapLine.position,height:o-t,width:1})}else this.snapLineSurfaces[r].reset()}for(let r=0;r<2;r++){const s=i.lines[r];if(s){let i=Math.min(s.snapLine.limitInf,e.left),o=Math.max(s.snapLine.limSup,e.right);e.left<s.snapLine.limitInf&&(i-=t.distance),e.right>s.snapLine.limSup&&(o-=t.distance),this.snapLineSurfaces[r+2].updatePosition({top:s.snapLine.position,left:i,width:o-i,height:1})}else this.snapLineSurfaces[r+2].reset()}return this.publishTransforms(),{left:t.distance,top:i.distance}}snapPosition(e,t){const i=this._findClosestSnapLine(e,t?this.horizontalSnapLines:this.verticalSnapLines);return i&&Math.abs(i.distance)<=this._snapTolerance?i.snapLine.position:e}getSnappingMode(){return this._surfaceContext().snappingMode}roundToGridSize(e){const t=this._surfaceContext().snapGridSize;return Math.round(e/t)*t}snapToGrid(e,t){const i=t?.absolutePosition.y||0,r=e=>{const t="string"==typeof e?ao(e):e;return this.roundToGridSize(t-i)+i},s=this.roundToGridSize(ao(e.dataset.leftPosition)),o=r(e.dataset.topPosition);if(e.dataset.leftPosition=no(s),e.dataset.topPosition=no(o),e.ghostContainer.style.left=e.dataset.leftPosition,e.ghostContainer.style.top=e.dataset.topPosition,e.dataset.startDragWithOffset||e.classList.contains("dx-treelist-selectedcontent")){const t=e.closest(".dx-designer"),i=t.querySelector(".dxrd-bands-content-offset").getBoundingClientRect(),s=t.getBoundingClientRect(),o=t.querySelector(".dxrd-toolbox-wrapper").getBoundingClientRect(),n={vertical:i.top-s.top,horizontal:i.left-o.left},a=ao(e.ghostContainer.style.top)-n.vertical,d=ao(e.ghostContainer.style.left)-n.horizontal,l=r(a)+n.vertical,c=this.roundToGridSize(d)+n.horizontal;e.dataset.leftPosition=no(c),e.dataset.topPosition=no(l),e.ghostContainer.style.left=e.dataset.leftPosition,e.ghostContainer.style.top=e.dataset.topPosition}}}Sa.snapTolerance=10;const Ia={coerce:e=>e||0};class Pa extends eo{constructor(e,t){super(),this.assignProperty("x",e,Ia),this.assignProperty("y",t,Ia)}getInfo(){return Qs}static fromString(e="0, 0"){const t=e.split(",");return new Pa(parseFloat(t[0]),parseFloat(t[1]))}toString(){return this.x+", "+this.y}}Pa.unitProperties=["x","y"];const Da={createChild:(e,t)=>e.createChild(t),calculateDelta:(e,t,i)=>({x:e.rect.left-i.x,y:e.rect.top-i.y}),canPaste:(e,t)=>!0};class Ta{constructor(e,t=Da){this._copyPasteStrategy=t,this._copyInfo=Lt(null),this.hasPasteInfo=ai(()=>null!==this._copyInfo.getValue(),()=>[this._copyInfo]),this._selectionProvider=e}canCopy(){const e=this._selectionProvider.focused;return e&&null!==e&&!e.getControlModel().getMetaData().isCopyDeny}canPaste(){const e=this._selectionProvider.focused;return null!==e&&this.hasPasteInfo.getValue()&&e.canDrop()&&(!this._copyPasteStrategy.canPaste||this._copyPasteStrategy.canPaste(e.getControlModel(),this._copyInfo.getValue()))&&!e.getControlModel().getMetaData().isPasteDeny}copy(){if(this.canCopy()){const e=Yt(),t={focused:this._selectionProvider.focused,objects:(this._selectionProvider.selectedItems||[]).map(t=>e.serialize(t.getControlModel()))};this._copyInfo.setValue(t)}}cut(){const e=Yt(),t=this._selectionProvider.focused,i=[];this._selectionProvider.selectedItems.forEach(t=>{const r=t.getControlModel();r.parentModel.removeChild(r),i.push(e.serialize(r)),this._copyPasteStrategy.createSelfRestoringItems&&i.push(...this._copyPasteStrategy.createSelfRestoringItems(r,e))});const r={focused:t,objects:i};this._copyInfo.setValue(r)}paste(){if(this.canPaste()){let e=this._selectionProvider.focused,t=e.getControlModel();const i=[];e===this._copyInfo.getValue().focused&&(e=e.parent,t=e.getControlModel()),t.getMetaData().isContainer||(e=e.parent,t=e.getControlModel());const r=new Pa(Number.MAX_VALUE,Number.MAX_VALUE),s=new Pa(-1,-1);for(let e=0;e<this._copyInfo.getValue().objects.length;e++){const o=jr(this._copyPasteStrategy.createChild(t,this._copyInfo.getValue().objects[e]));if(!o)continue;const n=new Pa(o.rect.left,o.rect.top),a=new Pa(o.rect.left+o.rect.width,o.rect.top+o.rect.height);r.x>=n.x&&(r.x=n.x),s.x<=a.x&&(s.x=a.x),r.y>=n.y&&(r.y=n.y),s.y<=a.y&&(s.y=a.y),i.push(o)}const o=e._context.margins.right,n=new Pa((e.rect.width-o)/2-(s.x-r.x)/2+(e.rtlLayout()?o:0),e.rect.height/2-(s.y-r.y)/2);for(let t=0;t<i.length;t++){const s=this._copyPasteStrategy.calculateDelta(i[t],e,r);i[t].rect={left:n.x+s.x,top:n.y+s.y}}this._selectionProvider.initialize(),i.forEach(e=>{this._selectionProvider.selecting({control:e,cancel:!1})})}}}const Va={Cut:"dxd-cut",Copy:"dxd-copy",Paste:"dxd-paste",Delete:"dxd-delete",Undo:"dxd-undo",Redo:"dxd-redo",ZoomOut:"dxd-zoom-out",ZoomSelector:"dxd-zoom-selector",ZoomIn:"dxd-zoom-in"};function Ma(e){const t=Math.round(parseInt(e.replace("%","")))/100;return t?t>=5?5:t<=.1?.1:t:1}const ka=DevExpress.devices;var Fa=e.n(ka);const $a={ArrowLeft:37,ArrowUp:38,ArrowRight:39,ArrowDown:40,Digit0:48,Digit9:57,A:65,Z:90,Numpad0:96,Numpad9:105,NumpadAdd:107,NumpadSubtract:109,Equal:187,Minus:189,Slash:191};function Oa(e,t=e){return{display:e,aria:e,spoken:t}}const Na={leftArrow:()=>we("Left Arrow","AnalyticsCoreStringId.KeyName_LeftArrow"),upArrow:()=>we("Up Arrow","AnalyticsCoreStringId.KeyName_UpArrow"),rightArrow:()=>we("Right Arrow","AnalyticsCoreStringId.KeyName_RightArrow"),downArrow:()=>we("Down Arrow","AnalyticsCoreStringId.KeyName_DownArrow"),plus:()=>we("Plus","AnalyticsCoreStringId.KeyName_Plus"),minus:()=>we("Minus","AnalyticsCoreStringId.KeyName_Minus"),questionMark:()=>we("Question Mark","AnalyticsCoreStringId.KeyName_QuestionMark")};function Ba(e,t,i=e){return{display:i,aria:t,spoken:e}}function La(e){switch(e){case $a.ArrowLeft:return Ba(Na.leftArrow(),"ArrowLeft");case $a.ArrowUp:return Ba(Na.upArrow(),"ArrowUp");case $a.ArrowRight:return Ba(Na.rightArrow(),"ArrowRight");case $a.ArrowDown:return Ba(Na.downArrow(),"ArrowDown");case $a.NumpadAdd:case $a.Equal:return Ba(Na.plus(),"+");case $a.NumpadSubtract:case $a.Minus:return Ba(Na.minus(),"-");default:return null}}const za={ArrowLeft:$a.ArrowLeft,ArrowUp:$a.ArrowUp,ArrowRight:$a.ArrowRight,ArrowDown:$a.ArrowDown,"+":$a.Equal,"-":$a.Minus};const Ha=["ctrlKey","altKey","shiftKey"],Ra={ctrlKey:{display:"Ctrl",aria:"Control",spoken:"Control"},altKey:Oa("Alt"),shiftKey:Oa("Shift")},ja={ctrlKey:{display:"Cmd",aria:"Meta",spoken:"Command"},altKey:Oa("Option"),shiftKey:Oa("Shift")};function Ga(){return!!Fa().real().mac}function Wa(e,t){const i=function(e){if(!(void 0!==e.key?"?"===e.key:e.shiftKey&&e.keyCode===$a.Slash))return null;const t=Na.questionMark();return Ba(t,"?",`${t} (?)`)}(e),r=i||(void 0!==e.key?(o=e.key)?La(za[o])||Oa(1===o.length?o.toUpperCase():o):null:La(s=e.keyCode)||(s>=$a.A&&s<=$a.Z||s>=$a.Digit0&&s<=$a.Digit9?Oa(String.fromCharCode(s)):s>=$a.Numpad0&&s<=$a.Numpad9?Oa(String(s-$a.Numpad0)):null));var s,o;if(!r)return null;const n=Ga()?ja:Ra,a=Ha.filter(t=>e[t]&&!(i&&"shiftKey"===t)).map(e=>n[e][t]);return a.push(r[t]),a}function Ua(e,t){if(!e)return[];const i=[],r=new Set;return(Array.isArray(e)?e:[e]).forEach(e=>{const s=e&&Wa(e,t);s&&!r.has(s.join("+"))&&(r.add(s.join("+")),i.push(s))}),i}function qa(e){return Ua(e,"display")}function Ka(e){return Ua(e,"display").map(e=>e.join("+")).join(", ")}function Ya(e){return Ua(e,"spoken").map(e=>e.join(" ")).join(", ")}function Za(e){return Ua(e,"aria").map(e=>e.join("+")).join(" ")}function Ja(e,t){const i=Ka(t);return i?`${e} (${i})`:e}function Xa(e,t,i){const r=i?t.metaKey:t.ctrlKey;if((e.ctrlKey??!1)!==r)return!1;const s=(e.altKey??!1)===t.altKey,o=void 0===e.shiftKey||e.shiftKey===t.shiftKey;return(void 0!==e.key?t.key===e.key:e.keyCode===t.keyCode)&&s&&o}function Qa(e,t){if(!e)return!1;const i=Ga();return Array.isArray(e)?e.some(e=>!!e&&Xa(e,t,i)):Xa(e,t,i)}const ed=DevExpress.ui.themes;var td,id=e.n(ed);class rd{constructor(e,t=[]){if(this.pathParts=t,this.path="",this.fullPath=e,e)if(-1!==e.indexOf(".")){const t=e.split(".");this.id=this.ref=t[0],t.splice(0,1),this.path=t.join(".")}else this.id=this.ref=e}}function sd(e){return e.pathParts.length>0?e.pathParts.map(e=>e):e.fullPath.split(".")}!function(e){e[e.Minus=0]="Minus",e[e.Plus=1]="Plus",e[e.BitwiseNot=2]="BitwiseNot",e[e.Not=3]="Not",e[e.IsNull=4]="IsNull"}(td||(td={}));class od{constructor(){this._func=[],this._factory={},this._changeTypeFactory={}}addListener(e){-1===this._func.indexOf(e)&&this._func.push(e)}removeListener(e){const t=this._func.indexOf(e);-1!==t&&this._func.splice(t,1)}register(e,t,i){this._factory[e]=t,i&&(this._changeTypeFactory[e]=e=>{let t=i(e);return e.reverse&&(t=this.process("unary",{operator:t,operatorType:td.Not})),t})}process(e,t={}){let i=e in this._factory?this._factory[e](t):this._factory.default();return this._func.forEach(r=>{i=r(i,{operatorType:e,options:t||{}})}),i}changeByType(e){return this._changeTypeFactory[e._type]?this._changeTypeFactory[e._type](e):null}}const nd=new od;class ad{constructor(){this.type="default",this.operands=null,this.changeValue=(e,t,i)=>{const r=t?nd.process("unary",{operatorType:td.Minus,operator:e}):e;return null!==i.index?this[i.name][i.index]=r:this[i.name]=r,r},this.changeValueType=(e,t)=>{const i=new e;return null!==t.index?this[t.name][t.index]=i:this[t.name]=i,i},this.assignLeftPart=e=>{},this.assignRightPart=e=>{},this.assignType=e=>{this.operatorType=e}}get displayType(){return this.operatorType}get enumType(){return null}get leftPart(){return null}get rightPart(){return null}assignFrom(e,t=!1,i=!0){let r=e;"unary"!==e.type||Array.isArray(e.leftPart)||"property"==e.leftPart.type||(r=e.leftPart),t?this.assignLeftPart(r.leftPart):this.assignLeftPart(r),r.rightPart&&i&&this.assignRightPart(r)}children(){const e=[];return this.leftPart&&e.push.apply(e,Array.isArray(this.leftPart)?this.leftPart:[this.leftPart]),this.rightPart&&e.push.apply(e,Array.isArray(this.rightPart)?this.rightPart:[this.rightPart]),e}accept(e){throw"Not implemented"}}nd.register("default",e=>new ad);const dd=Cr(19),ld=Cr("Times New Roman, 9.75pt");function cd(e){return/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/.test(e)||/^\{[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}$/.test(e)||/^\([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\)$/.test(e)||/^[0-9a-fA-F]{32}$/.test(e)}function ud(e){return e&&cd(e)}function pd(e){return!e||cd(e)}const hd=()=>$i("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error"),gd=e=>pd(e.value);function md(){return[{type:"custom",validationCallback:gd,get message(){return hd()}}]}function fd(){return[{type:"required",get message(){return hd()}}]}function xd(){return[{type:"required",get message(){return $i("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}}]}const vd=",";class yd extends ad{_processStringValue(e){let t=e.slice(1,e.length-1);return t=t.replace(/''/g,"'"),t}constructor(e,t){super(),this.type="value";let i=null!=e?e:"";const r=ud(e);if(e&&e.length&&("'"===e[0]&&"'"===e[e.length-1]||r))this.specifics="string",r&&"{"===e[0]&&"}"===e[e.length-1]&&(this.specifics="guid"),i=this._processStringValue(e);else if(e&&e.length&&"#"===e[0]&&"#"===e[e.length-1]&&!t)i=e.slice(1,e.length-1),-1!==i.indexOf("!")?(i=i.replace(/!/g,""),i=-1!==i.indexOf(":")?de(i):Oe(i)):i=Oe(i),i||(i=Oe(e.slice(1,e.length-1)));else if("true"===String(e).toLowerCase()||"false"===String(e).toLowerCase())i="true"===String(e).toLowerCase()?"True":"False";else if(t&&e){const t=e.match(/\#(\w+)\#(.*?)\#/);if(t){const e=t[1].toLowerCase();"enum"===e||"tostring"===e?(this.specifics="enum",i=t[2]??""):this.specifics=e}}this.value=i}get displayType(){return this.value||"?"}accept(e){return e.visitOperandValue?e.visitOperandValue(this):this}}nd.register("value",e=>new yd(e?.value,e?.isSomeType));class bd extends yd{constructor(e,t){super(t),this.type="parameter",this.parameterName=e||""}get displayType(){return"?"+this.parameterName}accept(e){return e.visitOperandParameter?e.visitOperandParameter(this):new bd(this.parameterName,this.value)}}nd.register("parameter",e=>new bd(e.parameterName,e.value));class Cd extends ad{constructor(e="",t=-1,i=-1,r=0,s=!1){super(),this.type="property",this.propertyName=e,this.originalPropertyLength=r,this.startPosition={column:t,line:i},this.circumflex=s}get displayType(){return"["+this.propertyName+"]"}accept(e){return e.visitOperandProperty?e.visitOperandProperty(this):nd.process("property",{propertyName:this.propertyName})}}nd.register("property",e=>new Cd(e.propertyName,e.startColumn,e.startLine,e.originalPropertyLength,e.circumflex));class wd extends ad{constructor(e,t){super(),this.type="unary",this.operand=t||nd.process("default"),this.operatorType=e}get leftPart(){return this.operand}assignFrom(e){this.operatorType===td.Not?e instanceof wd?this.operand.assignFrom(e.operand):this.operand.assignFrom(e):this.operand=e instanceof wd?e.operand.leftPart:e.leftPart||e}get displayType(){return td[this.operatorType]}get enumType(){return td}accept(e){return e.visitUnaryOperator?e.visitUnaryOperator(this):new wd(this.operatorType,this.operand&&this.operand.accept(e))}}var _d,Ad,Ed;nd.register("unary",e=>new wd(e.operatorType,e.operator),e=>nd.process("unary",{operatorType:e.value,operator:nd.process("property")})),function(e){e[e.Equal=0]="Equal",e[e.NotEqual=1]="NotEqual",e[e.Greater=2]="Greater",e[e.Less=3]="Less",e[e.LessOrEqual=4]="LessOrEqual",e[e.GreaterOrEqual=5]="GreaterOrEqual",e[e.Like=6]="Like",e[e.BitwiseAnd=7]="BitwiseAnd",e[e.BitwiseOr=8]="BitwiseOr",e[e.BitwiseXor=9]="BitwiseXor",e[e.Divide=10]="Divide",e[e.Modulo=11]="Modulo",e[e.Multiply=12]="Multiply",e[e.Plus=13]="Plus",e[e.Minus=14]="Minus"}(_d||(_d={})),function(e){e[e.And=0]="And",e[e.Or=1]="Or"}(Ad||(Ad={}));class Sd extends ad{constructor(e,t,i,r){super(),this.change=(e,t)=>{let i=null;return e.type===Ad&&(i=nd.changeByType(e),e.type!==i.enumType?i.leftPart.assignFrom(t):i.assignFrom(t),this.condition=i),i},this.assignLeftPart=e=>{e.leftPart instanceof Sd?this.assignFrom(e.leftPart):e instanceof Sd?(this.property=e.property,this.aggregatedExpression&&e.aggregatedExpression&&(this.aggregatedExpression=e.aggregatedExpression),this.condition=e.condition):this.property=e.leftPart},this.type="aggregate",this.property=e,r&&"group"===r.type?this.condition=r:r instanceof wd&&r.operatorType===td.Not?"group"===r.operand.type?this.condition=nd.process("unary",{operator:r.operand,operatorType:td.Not}):this.condition=nd.process("unary",{operator:nd.process("group",{operation:Ad.And,operands:r.operand?[r.operand]:[]}),operatorType:td.Not}):this.condition=nd.process("group",{operation:Ad.And,operands:r?[r]:[]}),this.operatorType=i,t&&(t.length>1?this.customAggregatedExpression=t:this.aggregatedExpression=t[0]?t[0]:null)}get displayType(){return this.operatorType}get enumType(){return Sd}get leftPart(){return this.property}children(){const e=[];return this.condition&&e.push(this.condition),this.aggregatedExpression?e.push(this.aggregatedExpression):this.customAggregatedExpression&&this.customAggregatedExpression.forEach(t=>e.push(t)),e}accept(e){if(e.visitAggregateOperand)return e.visitAggregateOperand(this);let t=null;return this.aggregatedExpression?t=[this.aggregatedExpression]:this.customAggregatedExpression&&(t=this.customAggregatedExpression.map(t=>t.accept(e))),nd.process("aggregate",{aggregateType:this.operatorType,aggregatedExpression:t,condition:this.condition&&this.condition.accept(e),property:this.property&&this.property.accept(e)})}}function Id(e,t,i=""){t(e,i),e instanceof Sd&&(e.leftPart&&Id(e.leftPart,t,i),e.leftPart&&e.leftPart.propertyName&&(i=i?[i,e.leftPart.propertyName].join("."):e.leftPart.propertyName)),e.children().forEach(e=>Id(e,t,i))}nd.register("aggregate",e=>new Sd(e.property,e.aggregatedExpression,e.aggregateType,e.condition),e=>{const t={property:nd.process("property"),aggregateType:e.value,aggregatedExpression:null,condition:nd.process("group",{operation:Ad.And,operands:[]})};return"Exists"===e.value?nd.process("aggregate",t):("Count"!==e.value&&(t.aggregatedExpression=[nd.process("property")]),nd.process("binary",{left:nd.process("aggregate",t),right:nd.process("value",{value:void 0}),operatorType:_d.Equal}))});class Pd extends ad{constructor(e,t){super(),this.create=(e,t,i)=>{let r=nd.process("binary",{left:t,right:nd.process("value",{value:""}),operatorType:_d.Equal});return e?r=nd.process("group",{operation:Ad.And,operands:[]}):i&&"list"===i&&(r=nd.process("aggregate",{aggregateType:"Exisits",property:t,aggregatedExpression:null,condition:nd.process("group",{operands:[],operation:Ad.And})})),this.operands.push(r),this.operands[this.operands.indexOf(r)]},this.change=(e,t,i=!1)=>{const r=this.operands.indexOf(t);if(-1===r)throw Error("dont have this element in operands collection");{const s=nd.changeByType(e);e.type===s.enumType||Array.isArray(s.leftPart)?s.assignFrom(t,i,!e.emptyRightPart):s.leftPart.assignFrom(t,i,!e.emptyRightPart),this.operands[r]=s}return t=null,this.operands[r]},this.remove=e=>{this.operands.splice(this.operands.indexOf(e),1)},this.assignLeftPart=e=>{this.operands=e.operands},this.operands=[],this.type="group",this.operatorType=e,(t=t||[nd.process("default"),nd.process("default")]).forEach(e=>this.operands.push(e))}static combine(e,t){const i=[];return(t||[]).forEach(t=>{"group"===t.type&&t.operatorType===e?i.push.apply(i,t.operands):i.push(t)}),1===i.length?i[0]:nd.process("group",{operands:i,operation:e})}children(){return this.operands}get displayType(){return Ad[this.operatorType]}get enumType(){return Ad}accept(e){return e.visitGroupOperator?e.visitGroupOperator(this):new Pd(this.operatorType,this.operands&&this.operands.map(t=>t.accept(e)))}}nd.register("group",e=>new Pd(e.operation,e.operands),e=>nd.process("group",{operation:e.value,operands:[]})),function(e){e[e.None=0]="None",e[e.Custom=1]="Custom",e[e.CustomNonDeterministic=2]="CustomNonDeterministic",e[e.Iif=3]="Iif",e[e.IsNull=4]="IsNull",e[e.IsNullOrEmpty=5]="IsNullOrEmpty",e[e.Trim=6]="Trim",e[e.Len=7]="Len",e[e.Substring=8]="Substring",e[e.Upper=9]="Upper",e[e.Lower=10]="Lower",e[e.Concat=11]="Concat",e[e.Ascii=12]="Ascii",e[e.Char=13]="Char",e[e.ToStr=14]="ToStr",e[e.Replace=15]="Replace",e[e.Reverse=16]="Reverse",e[e.Insert=17]="Insert",e[e.CharIndex=18]="CharIndex",e[e.Remove=19]="Remove",e[e.Abs=20]="Abs",e[e.Sqr=21]="Sqr",e[e.Cos=22]="Cos",e[e.Sin=23]="Sin",e[e.Atn=24]="Atn",e[e.Exp=25]="Exp",e[e.Log=26]="Log",e[e.Rnd=27]="Rnd",e[e.Tan=28]="Tan",e[e.Power=29]="Power",e[e.Sign=30]="Sign",e[e.Round=31]="Round",e[e.Ceiling=32]="Ceiling",e[e.Floor=33]="Floor",e[e.Max=34]="Max",e[e.Min=35]="Min",e[e.Acos=36]="Acos",e[e.Asin=37]="Asin",e[e.Atn2=38]="Atn2",e[e.BigMul=39]="BigMul",e[e.Cosh=40]="Cosh",e[e.Log10=41]="Log10",e[e.Sinh=42]="Sinh",e[e.Tanh=43]="Tanh",e[e.PadLeft=44]="PadLeft",e[e.PadRight=45]="PadRight",e[e.StartsWith=46]="StartsWith",e[e.EndsWith=47]="EndsWith",e[e.Contains=48]="Contains",e[e.ToInt=49]="ToInt",e[e.ToLong=50]="ToLong",e[e.ToFloat=51]="ToFloat",e[e.ToDouble=52]="ToDouble",e[e.ToDecimal=53]="ToDecimal",e[e.LocalDateTimeThisYear=54]="LocalDateTimeThisYear",e[e.LocalDateTimeThisMonth=55]="LocalDateTimeThisMonth",e[e.LocalDateTimeLastWeek=56]="LocalDateTimeLastWeek",e[e.LocalDateTimeThisWeek=57]="LocalDateTimeThisWeek",e[e.LocalDateTimeYesterday=58]="LocalDateTimeYesterday",e[e.LocalDateTimeToday=59]="LocalDateTimeToday",e[e.LocalDateTimeNow=60]="LocalDateTimeNow",e[e.LocalDateTimeTomorrow=61]="LocalDateTimeTomorrow",e[e.LocalDateTimeDayAfterTomorrow=62]="LocalDateTimeDayAfterTomorrow",e[e.LocalDateTimeNextWeek=63]="LocalDateTimeNextWeek",e[e.LocalDateTimeTwoWeeksAway=64]="LocalDateTimeTwoWeeksAway",e[e.LocalDateTimeNextMonth=65]="LocalDateTimeNextMonth",e[e.LocalDateTimeNextYear=66]="LocalDateTimeNextYear",e[e.LocalDateTimeTwoMonthsAway=67]="LocalDateTimeTwoMonthsAway",e[e.LocalDateTimeTwoYearsAway=68]="LocalDateTimeTwoYearsAway",e[e.LocalDateTimeLastMonth=69]="LocalDateTimeLastMonth",e[e.LocalDateTimeLastYear=70]="LocalDateTimeLastYear",e[e.LocalDateTimeYearBeforeToday=71]="LocalDateTimeYearBeforeToday",e[e.IsOutlookIntervalBeyondThisYear=72]="IsOutlookIntervalBeyondThisYear",e[e.IsOutlookIntervalLaterThisYear=73]="IsOutlookIntervalLaterThisYear",e[e.IsOutlookIntervalLaterThisMonth=74]="IsOutlookIntervalLaterThisMonth",e[e.IsOutlookIntervalNextWeek=75]="IsOutlookIntervalNextWeek",e[e.IsOutlookIntervalLaterThisWeek=76]="IsOutlookIntervalLaterThisWeek",e[e.IsOutlookIntervalTomorrow=77]="IsOutlookIntervalTomorrow",e[e.IsOutlookIntervalToday=78]="IsOutlookIntervalToday",e[e.IsOutlookIntervalYesterday=79]="IsOutlookIntervalYesterday",e[e.IsOutlookIntervalEarlierThisWeek=80]="IsOutlookIntervalEarlierThisWeek",e[e.IsOutlookIntervalLastWeek=81]="IsOutlookIntervalLastWeek",e[e.IsOutlookIntervalEarlierThisMonth=82]="IsOutlookIntervalEarlierThisMonth",e[e.IsOutlookIntervalEarlierThisYear=83]="IsOutlookIntervalEarlierThisYear",e[e.IsOutlookIntervalPriorThisYear=84]="IsOutlookIntervalPriorThisYear",e[e.IsThisWeek=85]="IsThisWeek",e[e.IsThisMonth=86]="IsThisMonth",e[e.IsThisYear=87]="IsThisYear",e[e.IsNextMonth=88]="IsNextMonth",e[e.IsNextYear=89]="IsNextYear",e[e.IsLastMonth=90]="IsLastMonth",e[e.IsLastYear=91]="IsLastYear",e[e.IsYearToDate=92]="IsYearToDate",e[e.IsSameDay=93]="IsSameDay",e[e.InRange=94]="InRange",e[e.InDateRange=95]="InDateRange",e[e.IsJanuary=96]="IsJanuary",e[e.IsFebruary=97]="IsFebruary",e[e.IsMarch=98]="IsMarch",e[e.IsApril=99]="IsApril",e[e.IsMay=100]="IsMay",e[e.IsJune=101]="IsJune",e[e.IsJuly=102]="IsJuly",e[e.IsAugust=103]="IsAugust",e[e.IsSeptember=104]="IsSeptember",e[e.IsOctober=105]="IsOctober",e[e.IsNovember=106]="IsNovember",e[e.IsDecember=107]="IsDecember",e[e.DateDiffTick=108]="DateDiffTick",e[e.DateDiffSecond=109]="DateDiffSecond",e[e.DateDiffMilliSecond=110]="DateDiffMilliSecond",e[e.DateDiffMinute=111]="DateDiffMinute",e[e.DateDiffHour=112]="DateDiffHour",e[e.DateDiffDay=113]="DateDiffDay",e[e.DateDiffMonth=114]="DateDiffMonth",e[e.DateDiffYear=115]="DateDiffYear",e[e.GetDate=116]="GetDate",e[e.GetMilliSecond=117]="GetMilliSecond",e[e.GetSecond=118]="GetSecond",e[e.GetMinute=119]="GetMinute",e[e.GetHour=120]="GetHour",e[e.GetDay=121]="GetDay",e[e.GetMonth=122]="GetMonth",e[e.GetYear=123]="GetYear",e[e.GetDayOfWeek=124]="GetDayOfWeek",e[e.GetDayOfYear=125]="GetDayOfYear",e[e.GetTimeOfDay=126]="GetTimeOfDay",e[e.Now=127]="Now",e[e.UtcNow=128]="UtcNow",e[e.Today=129]="Today",e[e.TruncateToMinute=130]="TruncateToMinute",e[e.IsSameHour=131]="IsSameHour",e[e.IsSameTime=132]="IsSameTime",e[e.BeforeMidday=133]="BeforeMidday",e[e.AfterMidday=134]="AfterMidday",e[e.IsNight=135]="IsNight",e[e.IsMorning=136]="IsMorning",e[e.IsAfternoon=137]="IsAfternoon",e[e.IsEvening=138]="IsEvening",e[e.IsLastHour=139]="IsLastHour",e[e.IsThisHour=140]="IsThisHour",e[e.IsNextHour=141]="IsNextHour",e[e.IsWorkTime=142]="IsWorkTime",e[e.IsFreeTime=143]="IsFreeTime",e[e.IsLunchTime=144]="IsLunchTime",e[e.AddTimeSpan=145]="AddTimeSpan",e[e.AddTicks=146]="AddTicks",e[e.AddMilliSeconds=147]="AddMilliSeconds",e[e.AddSeconds=148]="AddSeconds",e[e.AddMinutes=149]="AddMinutes",e[e.AddHours=150]="AddHours",e[e.AddDays=151]="AddDays",e[e.AddMonths=152]="AddMonths",e[e.AddYears=153]="AddYears",e[e.DateTimeFromParts=154]="DateTimeFromParts",e[e.DateOnlyFromParts=155]="DateOnlyFromParts",e[e.TimeOnlyFromParts=156]="TimeOnlyFromParts",e[e.LocalDateTimeOffsetThisYear=157]="LocalDateTimeOffsetThisYear",e[e.LocalDateTimeOffsetThisMonth=158]="LocalDateTimeOffsetThisMonth",e[e.LocalDateTimeOffsetLastWeek=159]="LocalDateTimeOffsetLastWeek",e[e.LocalDateTimeOffsetThisWeek=160]="LocalDateTimeOffsetThisWeek",e[e.LocalDateTimeOffsetYesterday=161]="LocalDateTimeOffsetYesterday",e[e.LocalDateTimeOffsetToday=162]="LocalDateTimeOffsetToday",e[e.LocalDateTimeOffsetNow=163]="LocalDateTimeOffsetNow",e[e.LocalDateTimeOffsetTomorrow=164]="LocalDateTimeOffsetTomorrow",e[e.LocalDateTimeOffsetDayAfterTomorrow=165]="LocalDateTimeOffsetDayAfterTomorrow",e[e.LocalDateTimeOffsetNextWeek=166]="LocalDateTimeOffsetNextWeek",e[e.LocalDateTimeOffsetTwoWeeksAway=167]="LocalDateTimeOffsetTwoWeeksAway",e[e.LocalDateTimeOffsetNextMonth=168]="LocalDateTimeOffsetNextMonth",e[e.LocalDateTimeOffsetNextYear=169]="LocalDateTimeOffsetNextYear",e[e.LocalDateTimeOffsetTwoMonthsAway=170]="LocalDateTimeOffsetTwoMonthsAway",e[e.LocalDateTimeOffsetTwoYearsAway=171]="LocalDateTimeOffsetTwoYearsAway",e[e.LocalDateTimeOffsetLastMonth=172]="LocalDateTimeOffsetLastMonth",e[e.LocalDateTimeOffsetLastYear=173]="LocalDateTimeOffsetLastYear",e[e.LocalDateTimeOffsetYearBeforeToday=174]="LocalDateTimeOffsetYearBeforeToday",e[e.GetOffset=175]="GetOffset",e[e.GetOffsetTimeSpan=176]="GetOffsetTimeSpan",e[e.SwitchOffset=177]="SwitchOffset",e[e.ToDateTime=178]="ToDateTime",e[e.ToDateTimeOffset=179]="ToDateTimeOffset",e[e.ConvertToTimeZone=180]="ConvertToTimeZone",e[e.DateTimeOffsetFromParts=181]="DateTimeOffsetFromParts"}(Ed||(Ed={}));class Dd extends ad{constructor(e,t,i,r){super(),this.type="join",this.joinTypeName=e,this.condition=t,this.operatorType=i,this.aggregatedExpression=r}static joinOrAggregate(e,t,i,r){return null===e||e.propertyName.length<2||"<"!=e.propertyName[0]||">"!=e.propertyName[e.propertyName.length-1]?nd.process("aggregate",{property:e,aggregatedExpression:r,aggregateType:i,condition:t}):nd.process("join",{joinTypeName:e.propertyName.substring(1,e.propertyName.length-2),condition:t,type:i,aggregated:r&&r[0]?r[0]:null})}accept(e){return e.visitJoinOperand?e.visitJoinOperand(this):new Dd(this.joinTypeName,this.condition&&this.condition.accept(e),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(e))}}var Td=function(){var e=function(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i},t=[1,5],i=[1,8],r=[1,7],s=[1,24],o=[1,9],n=[1,10],a=[1,11],d=[1,12],l=[1,19],c=[1,13],u=[1,14],p=[1,15],h=[1,16],g=[1,17],m=[1,18],f=[1,21],x=[1,23],v=[1,22],y=[1,26],b=[1,27],C=[1,28],w=[1,29],_=[1,30],A=[1,31],E=[1,32],S=[1,33],I=[1,34],P=[1,35],D=[1,36],T=[1,37],V=[1,38],M=[1,39],k=[1,40],F=[1,41],$=[1,42],O=[1,43],N=[1,44],B=[1,45],L=[1,46],z=[1,47],H=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],R=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,46,47,48,52,53,54],j=[1,55],G=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],W=[5,28,29,30,32,38,47],U=[1,95],q=[1,96],K=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],Y=[5,20,21,26,27,28,29,30,32,33,38,47],Z=[5,20,21,22,23,24,25,26,27,28,29,30,32,33,38,47],J=[32,38],X=[1,107],Q={trace:function(){},yy:{},symbols_:{error:2,expressions:3,exp:4,EOF:5,const:6,propertyWithAgg:7,SOMETYPE:8,parameter:9,"*":10,"/":11,"+":12,"-":13,"%":14,"|":15,"&":16,"^":17,"!":18,"~":19,OP_EQ:20,OP_NE:21,OP_GT:22,OP_LT:23,OP_GE:24,OP_LE:25,OP_LIKE:26,NOT:27,AND:28,OR:29,OP_ISNULL:30,"(":31,")":32,IS:33,NULL:34,OP_IN:35,arguments:36,OP_BETWEEN:37,",":38,NAME_SOFT:39,STRING:40,NUMBER:41,OBJECT:42,BOOLEAN:43,GUID:44,property:45,"[":46,"]":47,".":48,agg:49,Count:50,Exists:51,FIELD_END:52,CH:53,ESC_CH:54,FIELD_START:55,"?":56,commaseparated:57,$accept:0,$end:1},terminals_:{2:"error",5:"EOF",8:"SOMETYPE",10:"*",11:"/",12:"+",13:"-",14:"%",15:"|",16:"&",17:"^",18:"!",19:"~",20:"OP_EQ",21:"OP_NE",22:"OP_GT",23:"OP_LT",24:"OP_GE",25:"OP_LE",26:"OP_LIKE",27:"NOT",28:"AND",29:"OR",30:"OP_ISNULL",31:"(",32:")",33:"IS",34:"NULL",35:"OP_IN",37:"OP_BETWEEN",38:",",39:"NAME_SOFT",40:"STRING",41:"NUMBER",42:"OBJECT",43:"BOOLEAN",44:"GUID",46:"[",47:"]",48:".",50:"Count",51:"Exists",52:"FIELD_END",53:"CH",54:"ESC_CH",55:"FIELD_START",56:"?"},productions_:[0,[3,2],[4,1],[4,1],[4,1],[4,1],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,4],[4,3],[4,7],[4,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,6],[7,5],[7,3],[7,4],[7,3],[7,1],[7,4],[49,1],[49,1],[49,2],[45,2],[45,2],[45,2],[45,3],[45,3],[45,1],[45,1],[45,1],[9,2],[9,1],[36,2],[36,3],[57,1],[57,3]],performAction:function(e,t,i,r,s,o,n){var a=o.length-1;switch(s){case 1:return o[a-1];case 2:this.$=nd.process("const",{value:o[a]});break;case 3:case 5:case 36:case 37:case 38:case 39:case 40:this.$=o[a];break;case 4:this.$=nd.process("value",{value:o[a],isSomeType:!0});break;case 6:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Multiply});break;case 7:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Divide});break;case 8:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Plus});break;case 9:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Minus});break;case 10:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Modulo});break;case 11:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.BitwiseOr});break;case 12:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.BitwiseAnd});break;case 13:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.BitwiseXor});break;case 14:this.$=nd.process("unary",{operatorType:td.Minus,operator:o[a]});break;case 15:this.$=nd.process("unary",{operatorType:td.Plus,operator:o[a]});break;case 16:case 26:this.$=nd.process("unary",{operatorType:td.Not,operator:o[a]});break;case 17:this.$=nd.process("unary",{operatorType:td.BitwiseNot,operator:o[a]});break;case 18:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Equal});break;case 19:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.NotEqual});break;case 20:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Greater});break;case 21:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Less});break;case 22:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.GreaterOrEqual});break;case 23:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.LessOrEqual});break;case 24:this.$=nd.process("binary",{left:o[a-2],right:o[a],operatorType:_d.Like});break;case 25:this.$=nd.process("unary",{operatorType:td.Not,operator:nd.process("binary",{left:o[a-3],right:o[a],operatorType:_d.Like})});break;case 27:this.$=Pd.combine(Ad.And,[o[a-2],o[a]]);break;case 28:this.$=Pd.combine(Ad.Or,[o[a-2],o[a]]);break;case 29:this.$=nd.process("function",{operatorType:Ed.IsNull,operands:[o[a-2],o[a]]});break;case 30:case 52:case 63:this.$=o[a-1];break;case 31:this.$=nd.process("unary",{operatorType:td.IsNull,operator:o[a-2]});break;case 32:this.$=nd.process("unary",{operatorType:td.Not,operator:nd.process("unary",{operatorType:td.IsNull,operator:o[a-3]})});break;case 33:this.$=nd.process("in",{criteriaOperator:o[a-2],operands:o[a]});break;case 34:this.$=nd.process("between",{property:o[a-6],begin:o[a-3],end:o[a-1]});break;case 35:this.$=nd.process("function",{operatorType:Ed[o[a-1]]||o[a-1],operands:o[a]});break;case 41:this.$=null;break;case 42:this.$=Dd.joinOrAggregate(nd.process("property",{propertyName:o[a-5].name,startColumn:o[a-5].col,circumflex:o[a-5].circumflex,startLine:o[a-5].line,originalPropertyLength:n[a-5].last_column-n[a-5].first_column+1}),o[a-3],o[a].type,o[a].expr);break;case 43:this.$=Dd.joinOrAggregate(nd.process("property",{propertyName:o[a-4].name,startColumn:o[a-4].col,circumflex:o[a-4].circumflex,startLine:o[a-4].line,originalPropertyLength:n[a-4].last_column-n[a-4].first_column+1}),null,o[a].type,o[a].expr);break;case 44:this.$=Dd.joinOrAggregate(nd.process("property",{propertyName:o[a-2].name,startColumn:o[a-2].col,circumflex:o[a-2].circumflex,startLine:o[a-2].line,originalPropertyLength:n[a-2].last_column-n[a-2].first_column}),null,o[a].type,o[a].expr);break;case 45:this.$=Dd.joinOrAggregate(nd.process("property",{propertyName:o[a-3].name,startColumn:o[a-3].col,circumflex:o[a-3].circumflex,startLine:o[a-3].line,originalPropertyLength:n[a-3].last_column-n[a-3].first_column+1}),o[a-1],"Exists",null);break;case 46:this.$=Dd.joinOrAggregate(nd.process("property",{propertyName:o[a-2].name,startColumn:o[a-2].col,circumflex:o[a-2].circumflex,startLine:o[a-2].line,originalPropertyLength:n[a-2].last_column-n[a-2].first_column+1}),null,"Exists",null);break;case 47:this.$=nd.process("property",{propertyName:o[a].name,startColumn:o[a].col,circumflex:o[a].circumflex,startLine:o[a].line,originalPropertyLength:n[a].last_column-n[a].first_column});break;case 48:this.$=Dd.joinOrAggregate(nd.process("property",{}),null,o[a].type,o[a].expr);break;case 49:this.$={type:"Count"};break;case 50:this.$={type:"Exists"};break;case 51:this.$={type:o[a-1],expr:o[a]};break;case 53:this.$={name:o[a-1].name+o[a],line:o[a-1].line,circumflex:o[a-1].circumflex,col:o[a-1].col};break;case 54:this.$={name:o[a-1].name+o[a].substr(1),line:o[a-1].line,circumflex:o[a-1].circumflex,col:o[a-1].col};break;case 55:o[a-2].circumflex&&o[a-2].started?this.$={name:"",line:o[a-2].line,circumflex:o[a-2].circumflex,col:o[a-2].col+2}:this.$={name:o[a-2].name+".",line:o[a-2].line,circumflex:o[a-2].circumflex,col:o[a-2].col};break;case 56:o[a-2].circumflex&&o[a-2].started?this.$={name:o[a],line:o[a-2].line,circumflex:o[a-2].circumflex,col:o[a-2].col+1}:this.$={name:o[a-2].name+"."+o[a],line:o[a-2].line,circumflex:o[a-2].circumflex,col:o[a-2].col};break;case 57:this.$={name:"",line:n[a].first_line-1,col:n[a].first_column+1};break;case 58:this.$={name:o[a],line:n[a].first_line-1,col:n[a].first_column};break;case 59:this.$={circumflex:!0,started:!0,name:"",line:n[a].first_line-1,col:n[a].first_column+1};break;case 60:this.$=nd.process("parameter",{parameterName:o[a]});break;case 61:this.$=nd.process("value",{});break;case 62:this.$=[];break;case 64:this.$=[o[a]];break;case 65:this.$=o[a-2].concat(o[a])}},table:[{3:1,4:2,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{1:[3]},{5:[1,25],10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,33:B,35:L,37:z},e(H,[2,2]),e(H,[2,3]),e(H,[2,4]),e(H,[2,5]),{4:48,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:49,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:50,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:51,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:52,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:53,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},e(R,[2,58],{36:54,31:j}),e(H,[2,36]),e(H,[2,37]),e(H,[2,38]),e(H,[2,39]),e(H,[2,40]),e(H,[2,41]),e(H,[2,47],{46:[1,56],48:[1,57],52:[1,58],53:[1,59],54:[1,60]}),{47:[1,61]},e(H,[2,61],{39:[1,62]}),e(R,[2,57]),e(R,[2,59]),{1:[2,1]},{4:63,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:64,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:65,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:66,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:67,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:68,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:69,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:70,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:71,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:72,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:73,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:74,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:75,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:76,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:77,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{26:[1,78]},{4:79,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:80,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{4:81,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},{27:[1,83],34:[1,82]},{31:j,36:84},{31:[1,85]},e(H,[2,14]),e(H,[2,15]),e(H,[2,16]),e(G,[2,17],{10:y,11:b,12:C,13:w,14:_}),e(W,[2,26],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,33:B,35:L,37:z}),{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,32:[1,86],33:B,35:L,37:z},e(H,[2,35]),{4:89,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,32:[1,87],34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v,57:88},{4:90,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,47:[1,91],55:x,56:v},{39:[1,94],49:92,50:U,51:q,55:[1,93]},e(R,[2,52]),e(R,[2,53]),e(R,[2,54]),{48:[1,97]},e(H,[2,60]),e(H,[2,6]),e(H,[2,7]),e(K,[2,8],{10:y,11:b,14:_}),e(K,[2,9],{10:y,11:b,14:_}),e(H,[2,10]),e([5,15,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,11],{10:y,11:b,12:C,13:w,14:_,16:E,17:S}),e(G,[2,12],{10:y,11:b,12:C,13:w,14:_}),e([5,15,17,20,21,22,23,24,25,26,27,28,29,30,32,33,35,37,38,47],[2,13],{10:y,11:b,12:C,13:w,14:_,16:E}),e(Y,[2,18],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,22:D,23:T,24:V,25:M,35:L,37:z}),e(Y,[2,19],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,22:D,23:T,24:V,25:M,35:L,37:z}),e(Z,[2,20],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,35:L,37:z}),e(Z,[2,21],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,35:L,37:z}),e(Z,[2,22],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,35:L,37:z}),e(Z,[2,23],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,35:L,37:z}),e(Y,[2,24],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,22:D,23:T,24:V,25:M,35:L,37:z}),{4:98,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},e(W,[2,27],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,33:B,35:L,37:z}),e([5,29,30,32,38,47],[2,28],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,33:B,35:L,37:z}),e([5,32,38,47],[2,29],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,33:B,35:L,37:z}),e(H,[2,31]),{34:[1,99]},e(H,[2,33]),{4:100,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},e(H,[2,30]),e(H,[2,62]),{32:[1,101],38:[1,102]},e(J,[2,64],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,33:B,35:L,37:z}),{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,33:B,35:L,37:z,47:[1,103]},e(H,[2,46],{48:[1,104]}),e(H,[2,44]),e(R,[2,55]),e(R,[2,56],{36:105,31:j}),e(H,[2,49]),e(H,[2,50]),{39:X,49:106,50:U,51:q},e(Y,[2,25],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,22:D,23:T,24:V,25:M,35:L,37:z}),e(H,[2,32]),{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,33:B,35:L,37:z,38:[1,108]},e(H,[2,63]),{4:109,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},e(H,[2,45],{48:[1,110]}),{39:X,49:111,50:U,51:q},e(H,[2,51]),e(H,[2,48]),{31:j,36:105},{4:112,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:o,19:n,27:a,31:d,34:l,39:c,40:u,41:p,42:h,43:g,44:m,45:20,46:f,55:x,56:v},e(J,[2,65],{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,33:B,35:L,37:z}),{39:X,49:113,50:U,51:q},e(H,[2,43]),{10:y,11:b,12:C,13:w,14:_,15:A,16:E,17:S,20:I,21:P,22:D,23:T,24:V,25:M,26:k,27:F,28:$,29:O,30:N,32:[1,114],33:B,35:L,37:z},e(H,[2,42]),e(H,[2,34])],defaultActions:{25:[2,1]},parseError:function(e,t){if(!t.recoverable){var i=new Error(e);throw i.hash=t,i}this.trace(e)},parse:function(e){var t=this,i=[0],r=[null],s=[],o=this.table,n="",a=0,d=0,l=0,c=s.slice.call(arguments,1),u=Object.create(this.lexer),p={yy:{}};for(var h in this.yy)Object.prototype.hasOwnProperty.call(this.yy,h)&&(p.yy[h]=this.yy[h]);u.setInput(e,p.yy),p.yy.lexer=u,p.yy.parser=this,void 0===u.yylloc&&(u.yylloc={});var g=u.yylloc;s.push(g);var m=u.options&&u.options.ranges;"function"==typeof p.yy.parseError?this.parseError=p.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var f,x,v,y,b,C,w,_,A,E=function(){var e;return"number"!=typeof(e=u.lex()||1)&&(e=t.symbols_[e]||e),e},S={};;){if(v=i[i.length-1],this.defaultActions[v]?y=this.defaultActions[v]:(null==f&&(f=E()),y=o[v]&&o[v][f]),void 0===y||!y.length||!y[0]){var I="";for(C in A=[],o[v])this.terminals_[C]&&C>2&&A.push("'"+this.terminals_[C]+"'");I=u.showPosition?"Parse error on line "+(a+1)+":\n"+u.showPosition()+"\nExpecting "+A.join(", ")+", got '"+(this.terminals_[f]||f)+"'":"Parse error on line "+(a+1)+": Unexpected "+(1==f?"end of input":"'"+(this.terminals_[f]||f)+"'"),this.parseError(I,{text:u.match,token:this.terminals_[f]||f,line:u.yylineno,loc:g,expected:A})}if(y[0]instanceof Array&&y.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+f);switch(y[0]){case 1:i.push(f),r.push(u.yytext),s.push(u.yylloc),i.push(y[1]),f=null,x?(f=x,x=null):(d=u.yyleng,n=u.yytext,a=u.yylineno,g=u.yylloc,l>0&&l--);break;case 2:if(w=this.productions_[y[1]][1],S.$=r[r.length-w],S._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},m&&(S._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),void 0!==(b=this.performAction.apply(S,[n,d,a,p.yy,y[1],r,s].concat(c))))return b;w&&(i=i.slice(0,-1*w*2),r=r.slice(0,-1*w),s=s.slice(0,-1*w)),i.push(this.productions_[y[1]][0]),r.push(S.$),s.push(S._$),_=o[i[i.length-2]][i[i.length-1]],i.push(_);break;case 3:return!0}}return!0}},ee={EOF:1,parseError:function(e,t){if(!this.yy.parser)throw new Error(e);this.yy.parser.parseError(e,t)},setInput:function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},unput:function(e){var t=e.length,i=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===r.length?this.yylloc.first_column:0)+r[r.length-i.length].length-i[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(e){this.unput(this.match.slice(e))},pastInput:function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var e=this.pastInput(),t=new Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},test_match:function(e,t){var i,r,s;if(this.options.backtrack_lexer&&(s={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(s.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],i=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack){for(var o in s)this[o]=s[o];return!1}return!1},next:function(){if(this.done)return this.EOF;var e,t,i,r;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var s=this._currentRules(),o=0;o<s.length;o++)if((i=this._input.match(this.rules[s[o]]))&&(!t||i[0].length>t[0].length)){if(t=i,r=o,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[o])))return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,s[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var e=this.next();return e||this.lex()},begin:function(e){this.conditionStack.push(e)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},pushState:function(e){this.begin(e)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(e,t,i,r){switch(i){case 0:return this.begin("INITIAL"),46;case 1:return this.begin("INITIAL"),52;case 2:return 54;case 3:return 53;case 4:case 50:return"INVALID";case 5:return 40;case 6:return 44;case 7:return 8;case 8:return 42;case 9:return 41;case 10:case 11:return 43;case 12:break;case 13:return 37;case 14:return 35;case 15:return 27;case 16:return 33;case 17:return 34;case 18:return 10;case 19:return 11;case 20:return 13;case 21:return 12;case 22:return 17;case 23:return 19;case 24:case 27:return 21;case 25:return 18;case 26:return 14;case 28:return 24;case 29:return 25;case 30:return 22;case 31:return 23;case 32:case 39:return 29;case 33:case 38:return 28;case 34:return 30;case 35:case 36:return 20;case 37:return 26;case 40:return 16;case 41:return 15;case 42:return this.begin("fieldname"),55;case 43:return 47;case 44:return 31;case 45:return 32;case 46:return 48;case 47:return 38;case 48:return 56;case 49:return 39;case 51:return 5}},rules:[/^(?:\]\s*\[)/i,/^(?:\])/i,/^(?:\\.)/i,/^(?:.)/i,/^(?:$)/i,/^(?:'(?:[^\']|(?:('')))*')/i,/^(?:\{[0-9A-Fa-f]{8}[-]?(?:[0-9A-Fa-f]{4}[-]?){3}[0-9A-Fa-f]{12}\})/i,/^(?:##\w+#(?:[^\#]|(?:\.))*#)/i,/^(?:#(?:[^\\\#]|(?:\\.))*#)/i,/^(?:[0-9]+(\.[0-9]+([mfMF]{1})?|[bsiluBSILU]{1})?|\.([0-9]+[mfMF]?))/i,/^(?:True\b)/i,/^(?:False\b)/i,/^(?:\s+)/i,/^(?:Between\b)/i,/^(?:In\b)/i,/^(?:Not\b)/i,/^(?:Is\b)/i,/^(?:Null\b)/i,/^(?:\*)/i,/^(?:\/)/i,/^(?:-)/i,/^(?:\+)/i,/^(?:\^)/i,/^(?:~)/i,/^(?:!=)/i,/^(?:!)/i,/^(?:%)/i,/^(?:<>)/i,/^(?:>=)/i,/^(?:<=)/i,/^(?:>)/i,/^(?:<)/i,/^(?:\|\|)/i,/^(?:&&)/i,/^(?:\?\?)/i,/^(?:==)/i,/^(?:=)/i,/^(?:Like\b)/i,/^(?:And\b)/i,/^(?:Or\b)/i,/^(?:&)/i,/^(?:\|)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:\()/i,/^(?:\))/i,/^(?:\.)/i,/^(?:,)/i,/^(?:\?)/i,/^(?:[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{fieldname:{rules:[0,1,2,3,4],inclusive:!1},INITIAL:{rules:[5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};function te(){this.yy={}}return Q.lexer=ee,te.prototype=Q,Q.Parser=te,new te}();const Vd=Td;function Md(e){return Td.parse(e)}class kd{constructor(e,t,i,r){this.tokenName=e,this.alphabet=t,this.startTerm=i,this.endTerm=r,this.tokenLength=0,this.isActiveState=!1,this.tokens=[]}_isSubline(e,t){let i=e+t.length-1<this.alphabet.length;for(let r=e;r<e+t.length&&i;r++)i=this.alphabet[r]==t[r-e];return i}_getToken(e){const t={type:this.tokenName,start:e-this.tokenLength+1,end:e+this.endTerm.length};return t.val=this.alphabet.substring(t.start,t.end),t}processTransitionFunction(e){return this.isActiveState&&this.tokenLength++,this._isSubline(e,this.startTerm)&&!this.isActiveState?(this.isActiveState=!0,this.tokenLength+=this.startTerm.length,this.startTerm.length-1):this.isActiveState&&this._isSubline(e,this.endTerm)?(this.isActiveState=!1,this.tokens.push(this._getToken(e)),this.tokenLength=0,this.endTerm.length-1):0}}class Fd{static parse(e,t=!1){return e&&""!==e?t?new Fd(e).replaceCommentsToChar(" ").getCriteria():new Fd(e).replaceCommentsToChar().getCriteria():null}constructor(e){this.stringCriteria=e,this.machineStates=[],this.machineStates.push(new kd("field",e,"[","]")),this.machineStates.push(new kd("value",e,"'","'")),this.machineStates.push(new kd("comment",e,"/*","*/")),this._inputStringCriteria=e}_tokenize(){for(let e=0;e<this.stringCriteria.length;e++){let t=0;this.machineStates.forEach(i=>{if(t)return;this.machineStates.filter(e=>e!=i&&e.isActiveState).length||(t=i.processTransitionFunction(e))}),e+=t}let e=[];return this.machineStates.forEach(t=>{e=e.concat(t.tokens),t.tokens=[]}),e}_replaceTokenToAnotherToken(e,t,i){let r=this.stringCriteria;return(e=e.filter(e=>e.type==i).sort((e,t)=>t.start-e.start)).forEach(e=>{const i=e.val.split("\n");let s=e.start,o=e.end;i.forEach(i=>{o=i.length+s!==e.end?s+i.length:e.end,r=Ii(r,s,o-s,t),s=i.length*t.length+1})}),r}replaceCommentsToChar(e=""){return this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),e,"comment"),this}getCriteria(){return Md(this._inputStringCriteria)}}class $d{static _getCharFromKeyCode(e){return!1===e.ctrlKey&&1===e.key.length?e.key:null}static _getCaretPosition(e){let t,i,r,s,o,n=-1,a=-1;try{"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(n=e.selectionStart,a=e.selectionEnd):document.selection&&(i=document.selection.createRange(),i&&i.parentElement()==e&&(s=e.value.length,t=e.value.replace(/\r\n/g,"\n"),r=e.createTextRange(),r.moveToBookmark(i.getBookmark()),o=e.createTextRange(),o.collapse(!1),r.compareEndPoints("StartToEnd",o)>-1?n=a=s:(n=-r.moveStart("character",-s),n+=t.slice(0,n).split("\n").length-1,r.compareEndPoints("EndToEnd",o)>-1?a=s:(a=-r.moveEnd("character",-s),a+=t.slice(0,a).split("\n").length-1))))}catch(e){}return{start:n,end:a}}static _validate(e,t,i){if(!/^(0|(-?(([1-9]\d*)|(0\.\d+)|([1-9]\d*\.\d+)|(\d*\.\d+[eE][+\-]?\d+))))$/.test(e))return!1;if(!i)return!0;const r="-"===e[0],s=r?e.substring(1):e;if(r&&!t)return!1;const o=r?t.substring(1):i,[n,a]=s.toLowerCase().split("e"),[d,l]=o.toLowerCase().split("e");let c,u,p,h;[c,u]=n.split("."),[p,h]=d.split("."),c=(c||"").replace(/^0+/,""),p=(p||"").replace(/^0+/,"");let g=c.length;a&&(g+=parseInt(a));let m=p.length;return l&&(m+=parseInt(l)),g<m||!(g>m)&&(u=u||"0",h=h||"0",!(c+u>p+h))}static validateWidgetValue(e,t,i){t(e.component.option("value"))||e.component.option("value",i)}static getNumberEditorOptions(e,t,i={},r=!1){const s=$d.editors[e]||$d.editors[t];return s?$d.getValueEditorOptions(s.regExpEditing,e=>!(!r||null!==e)||$d._validate(e,s.minValue,s.maxValue),"",i):i}static getValueEditorOptions(e,t,i,r={}){return xe({},r,{onFocusIn:e=>{$d.validateWidgetValue(e,t,i),$d._invokeStandardHandler(r,"onFocusIn",e)},onKeyDown:t=>{const i=$d._getCharFromKeyCode(t.event);if(!i)return;const s=L(t.element).find("input")[0];let o=L(s),n=$d._getCaretPosition(o.get(0));const a=s.value;n.start<0&&(n=a?a.length:0);const d=[a.slice(0,n.start),i,a.slice(n.end)].join("");e.test(d)||t.event.preventDefault(),o=null,$d._invokeStandardHandler(r,"onKeyDown",t)},onPaste:t=>{const i=t.event.originalEvent.clipboardData||window.clipboardData||{},s=i.getData&&i.getData("Text");if("string"!=typeof s)return;const o=L(t.element).find("input")[0];let n=L(o);const a=$d._getCaretPosition(n.get(0)),d=o.value;a.start<0&&(a.end=a.start=d?d.length:0);const l=[d.slice(0,a.start),s,d.slice(a.end)].join("");e.test(l)||t.event.preventDefault(),n=null,$d._invokeStandardHandler(r,"onPaste",t)},onValueChanged:e=>{e.value!==i&&this.validateWidgetValue(e,t,e.previousValue),$d._invokeStandardHandler(r,"onValueChanged",e)}})}static isValid(e,t,i){const r=$d.editors[e]||$d.editors[t];return r.regExpEditing.test(i)&&$d._validate(i,r.minValue,r.maxValue)}static _invokeStandardHandler(e,t,i){fe(e[t])&&e[t](i)}}function Od(e,t,i){const r=""+e;return $d.isValid(i,"integer",r)?r:t}function Nd(e,t,i){if(i.filter(t=>e===t.value)[0])return e;const r=i.filter(t=>e===t.displayName||e===t.name)[0];return r?r.value:t}function Bd(e){const t=new z;try{const i=[],r=(t,r,s=!1)=>{const o=Di($i("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),s?"?"+r:"["+r+"]"),n=new z;e.fieldListProvider.getItemByPath(new rd(t)).done(e=>n.resolve({success:!0})).fail(i=>{t===r?n.resolve({success:!1,message:o}):e.fieldListProvider.getItemByPath(new rd([t.split(".")[0],r].join("."))).done(e=>n.resolve({success:!0})).fail(e=>n.resolve({success:!1,message:o}))}),i.push(n)};Id(Fd.parse(e.expression),(t,i)=>{if(t instanceof Cd){const s=0===t.propertyName.indexOf("^.")?t.propertyName.substring(2):t.propertyName;let o=s;-1===(e.rootItems||[]).indexOf(s.split(".")[0])&&i&&(o=s?[i,s].join("."):i),r(o,s)}else if(t instanceof bd){const e=t.parameterName;r("Parameters."+e,e,!0)}},e.path),z.when(i).done(e=>t.resolve(e.reduce((e,t)=>(t.success||(e=e?[e,t.message].join("\n"):t.message),e),"")))}catch(e){t.reject()}return t.promise()}function Ld(e,t,i){const r=""+e;return $d.isValid(i,"float",r)?r:t}$d.editors={integer:{regExpEditing:/^-?\d*$/},float:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d+)?$/},[J.SystemByte]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"255"},[J.SystemSByte]:{regExpEditing:/^-?\d*$/,minValue:"-128",maxValue:"127"},[J.SystemInt16]:{regExpEditing:/^-?\d*$/,minValue:"-32768",maxValue:"32767"},[J.SystemUInt16]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"65535"},[J.SystemInt32]:{regExpEditing:/^-?\d*$/,minValue:"-2147483648",maxValue:"2147483647"},[J.SystemUInt32]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"4294967295"},[J.SystemInt64]:{regExpEditing:/^-?\d*$/,minValue:"-9223372036854775808",maxValue:"9223372036854775807"},[J.SystemUInt64]:{regExpEditing:/^\d*$/,minValue:null,maxValue:"18446744073709551615"},[J.SystemSingle]:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-3.40282347e+38",maxValue:"3.40282347e+38"},[J.SystemDouble]:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-1.7976931348623157e+308",maxValue:"1.7976931348623157e+308"},[J.SystemDecimal]:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-79228162514264337593543950335",maxValue:"79228162514264337593543950335"},[J.SystemDateTime]:{type:"datetime"},[J.SystemDateOnly]:{type:"date"},[J.SystemTimeOnly]:{type:"time"}};let zd=e=>(e=e||id().current())&&["dark","contrast"].some(t=>-1!==e.indexOf(t));function Hd(e){zd=e}function Rd(e,t,i){if(!e||e<=0)return;const r=t.getCursorPosition();let s=i.lastIndexOf("(");"'"===i.charAt(s+1)&&s++,t.gotoLine(r.row+1,r.column-(i.length-1-s))}function jd(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics}function Gd(e,t=".dx-designer-viewport"){return L(e).closest(t)[0]}function Wd(e){return null==e||""===e}function Ud(e){return"function"==typeof e?e():e}function qd(e){return Zi(e).generateProperty("toolbarItems",this.mapActionToViewModels(this.toolbarItems)).generateProperty("processShortcut",e=>this.processShortcut(e)).generateProperty("enabled",()=>this.enabled()).getViewModel()}function Kd(e,t){const i=e.displayText&&e.displayText()||e.text||"",r=t=>Ja(t,e.hotKey);let s=Ud(e.disabled),o=e.selected,n=e.imageClassName;const a=()=>{const t=["dxrd-toolbar-item-image","dxd-state-normal","dxd-icon-highlighted"];return n&&t.push(e.imageClassName),s&&t.push("dxrd-disabled-button"),o&&t.push("dxd-button-back-color dxd-back-highlighted dxd-state-active"),t.join(" ")},d=e=>e?"true":"false",l=Zi().generateProperty("aria-disabled",d(s)).generateProperty("aria-label",i);void 0!==e.selected&&l.generateProperty("aria-pressed",d(e.selected)),l.generateProperty("aria-keyshortcuts",Za(e.hotKey)||void 0);const c=Zi().createDefaultModel(e).generateProperty("ref",oa()).generateProperty("disabled",s).generateProperty("displayText",i).generateProperty("title",r(i)).generateProperty("text",e.text).generateProperty("selected",e.selected).generateProperty("visible",Ud(e.visible)).generateProperty("templateName",e.templateName).generateProperty("hasSeparator",e.hasSeparator).generateProperty("isContextMenuAction",e.isContextMenuAction).generateProperty("clickAction",(t,i)=>{Ud(e.disabled)||e.clickAction(t,i)}).generateProperty("imageClassName",e.imageClassName).generateProperty("imageTemplateName",e.imageTemplateName).generateProperty("click",t=>{Ud(e.disabled)||e.clickAction(t)}).generateProperty("actionClass",`dxrd-toolbar-item-${t} ${e.hasSeparator?"dxrd-toolbar-item-with-separator dxd-border-primary":""}`).generateProperty("block",Zi().generateProperty("attr",l.getViewModel()).getViewModel()).generateProperty("image",Zi().generateProperty("templateName",e.imageTemplateName).generateProperty("class",a()).getViewModel()).getViewModel();if(this.subscribe(e,"text",()=>{const t=e.displayText&&e.displayText()||e.text||"";c.displayText=t,c.title=r(t),c.text=e.text,c.block.attr["aria-label"]=t}),this.subscribe(e,"hotKey",()=>{c.title=r(c.displayText),c.block.attr["aria-keyshortcuts"]=Za(e.hotKey)||void 0}),this.subscribe(e,"imageTemplateName",e=>{c.image.templateName=e,c.imageTemplateName=e}),this.subscribe(e,"imageClassName",e=>{n=e,c.image.class=a(),c.imageClassName=e}),this.subscribe(e,"disabled",e=>{s=e,c.disabled=e,c.block.attr["aria-disabled"]=d(e),c.image.class=a()}),this.subscribe(e,"visible",e=>{c.visible=e}),this.subscribe(e,"selected",e=>{o=e,c.image.class=a(),c.block.attr["aria-pressed"]=d(e)}),this.subscribeOnChanges(e,c,["disabled","visible","selected"]),"contentData"in e){const t=e.contentData,i=t?.items?{...t,items:t.items.map((t,i)=>t.itemData?{...t,itemData:t.itemData===e?c:this.createActionViewModel(t.itemData,i)}:t)}:t;return Zi(c).generateProperty("contentData",i).getViewModel()}if("zoom"in e){const t=Zi(c).generateProperty("templateName",e.templateName).generateProperty("getPopupContainer",Gd).generateProperty("widget",Zi().generateProperty("dataSource",e.zoomLevels).generateProperty("displayExpr",e.displayExpr).generateProperty("value",e.zoom).generateProperty("onCustomItemCreating",e.onCustomItemCreating).generateProperty("onValueChanged",t=>{e.zoom=t.value}).getViewModel()).getViewModel();return this.subscribe(e,"zoomLevels",e=>{t.widget.dataSource=e}),this.subscribe(e,"zoom",e=>{t.widget.value=e}),t}return c}var Yd=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};const Zd=["text","password","number","search","email","tel","url"];function Jd(e){if(!e)return!1;if(e.isContentEditable)return!0;const t=e.tagName&&e.tagName.toLowerCase();return"textarea"===t||"input"===t&&-1!==Zd.indexOf((e.getAttribute("type")||"text").toLowerCase())}class Xd extends nr{createViewModel(){return qd.call(this,super.createViewModel())}constructor(e){super(),this.toolbarItems=[],this.enabled=e||(()=>!0)}subscribeOnChanges(e,t,i){i.forEach(i=>{this.subscribe(e,i,()=>{t[i]=e[i]})})}subscribe(e,t,i){this.addDisposable(tt(e,t,i))}createActionViewModel(e,t){return e.getViewModel?e.getViewModel(this,t):Kd.call(this,e,t)}updateViewModel(e){"toolbarItems"===e.propertyName&&(this.getViewModel().toolbarItems=this.mapActionToViewModels(this.toolbarItems))}mapActionToViewModels(e){return e.map((e,t)=>this.createActionViewModel(e,t))}getActions(){return this.toolbarItems}customizeActions(e,t){return t?.(e),e.map(e=>e instanceof Qd?e:new Qd(e))}actionAvailableAtTarget(e,t){return!0}processShortcut(e){const t=this.getActions(),i=t=>{if(this.actionAvailableAtTarget(t,e)){e.preventDefault(),t.clickAction?.(e);const i=t.getAccessibilityActivationMessage?.();i&&this.accessibilityAnnouncer?.(i)}};for(let r=0;r<t.length;r++){const s=t[r],o=!s.disabled,n=s.visible;o&&n&&Qa(s.hotKey,e)&&i(s)}}shouldIgnoreProcessing(e){return!this.enabled()||Jd(document.activeElement)}}Yd([rr(()=>[])],Xd.prototype,"toolbarItems",void 0);class Qd extends nr{constructor(e){super(),e&&Object.keys(e).forEach(t=>{const i=e[t];"disabled"===t&&"function"==typeof i?this.isDisabled=i:"visible"===t&&"function"==typeof i?this.isVisible=i:this[t]=i}),this.deriveState()}deriveState(){this.isDisabled!==Qd.prototype.isDisabled&&this.assignDerivedProperty("disabled",()=>this._disabledOverride??this.isDisabled(),()=>[qt(this,["_disabledOverride"]),...this.disabledSources()],e=>this._disabledOverride=e,{lazy:!0,cached:!0}),this.isVisible!==Qd.prototype.isVisible&&this.assignDerivedProperty("visible",()=>this._visibleOverride??this.isVisible(),()=>[qt(this,["_visibleOverride"]),...this.visibleSources()],e=>this._visibleOverride=e,{lazy:!0,cached:!0})}disabledSources(){return[]}visibleSources(){return[]}createViewModel(){return Kd.call(this.actionList,this,this.indexInActionList)}getViewModel(e,t){return this.isViewModelReady()||(this.actionList=e,this.indexInActionList=t),super.getViewModel()}getAccessibilityActivationMessage(){return null}isVisible(){return!0}isDisabled(){return!1}}function el(e){return e.getValue()?.zoom}function tl(e,t){const i=e.getValue();i&&(i.zoom=t)}Yd([rr()],Qd.prototype,"_disabledOverride",void 0),Yd([rr()],Qd.prototype,"_visibleOverride",void 0),Yd([rr(!1)],Qd.prototype,"imageClassName",void 0),Yd([rr(!1)],Qd.prototype,"imageTemplateName",void 0),Yd([rr(!1)],Qd.prototype,"disabled",void 0),Yd([rr(!0)],Qd.prototype,"visible",void 0),Yd([rr(void 0)],Qd.prototype,"selected",void 0),Yd([rr(void 0)],Qd.prototype,"text",void 0),Yd([rr(void 0)],Qd.prototype,"hotKey",void 0);class il extends Qd{constructor(e,t){super(t),this.context=e}disabledSources(){return[this.context.surfaceContext]}isDisabled(){return!this.context.surfaceContext.getValue()}}class rl extends il{disabledSources(){return super.disabledSources().concat([this.context.selection?.selectionChanged,this.context.locked])}isDisabled(){return super.isDisabled()||this.selectionLocked()}selectionLocked(){return!!this.context.locked?.getValue()||this.context.selection.selectedItems.some(e=>e.locked)}}class sl extends rl{isDisabled(){return super.isDisabled()||!this.context.copyPasteHandler.canCopy()}}class ol extends rl{disabledSources(){return super.disabledSources().concat([this.context.copyPasteHandler.hasPasteInfo],this.context.selection?.focused?.canDropSources?.()||[])}isDisabled(){return super.isDisabled()||!this.context.copyPasteHandler.canPaste()}}class nl extends rl{isDisabled(){const e=this.context.selection.focused;return!e||e.getControlModel().getMetaData().isDeleteDeny||this.selectionLocked()}}class al extends il{constructor(e,t,i){super(e,i),this.enabled=t}disabledSources(){const e=this.context.undoEngine?.getValue();return super.disabledSources().concat([this.context.undoEngine,e&&qt(e,[this.enabled])])}isDisabled(){const e=this.context.undoEngine?.getValue();return super.isDisabled()||!e||!e[this.enabled]}}class dl extends il{constructor(e){super(e,{id:Va.ZoomSelector,text:"Zoom 100%",displayText:()=>$i("Zoom 100%"),imageClassName:"dxrd-image-zoom",visible:!0,hotKey:{ctrlKey:!0,keyCode:48},displayExpr:function(e){return Math.round(100*(e||this.option("value")))+"%"},templateName:"dxrd-zoom-select-template",isContextMenuAction:!1,onCustomItemCreating:e=>{e.customItem=Ma(e.text)}}),this.clickAction=()=>tl(this.context.surfaceContext,1),this.zoomLevels=[5,2,1.5,1,.75,.5,.25],this.assignDerivedProperty("zoom",()=>el(this.context.surfaceContext),()=>{const e=this.context.surfaceContext.getValue();return[this.context.surfaceContext,e&&qt(e,["zoom"])]},e=>tl(this.context.surfaceContext,e))}}class ll extends Xd{createViewModel(){return Zi(super.createViewModel()).generateProperty("menuItems",this.mapActionToViewModels(this.menuItems)).generateProperty("toolbarItems",this.mapActionToViewModels(this.toolbarItems)).getViewModel()}_registerAction(e,t){t.index?e.splice(t.index,0,t):e.push(t)}constructor(e,t,i,r,s,o,n=.01,a){super(s),this.menuItems=[];const d=new Ta(t,o),l=[],c={surfaceContext:e,selection:t,copyPasteHandler:d,undoEngine:i,locked:a};t&&(this._keyboardHelper=new hr(t,()=>i?.getValue()),this._disposables.push(this._keyboardHelper),l.push(new sl(c,{id:Va.Cut,text:"Cut",displayText:()=>$i("Cut","AnalyticsCoreStringId.EditCut"),imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",visible:!0,clickAction:()=>{i.getValue().start(),d.cut(),i.getValue().end()},hasSeparator:!0,hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}})),l.push(new sl(c,{id:Va.Copy,text:"Copy",displayText:()=>$i("Copy","AnalyticsCoreStringId.Cmd_Copy"),imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",visible:!0,clickAction:()=>{d.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}})),l.push(new ol(c,{id:Va.Paste,text:"Paste",displayText:()=>$i("Paste","AnalyticsCoreStringId.Cmd_Paste"),imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",visible:!0,clickAction:()=>{i.getValue().start(),d.paste(),i.getValue().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}})),l.push(new nl(c,{id:Va.Delete,text:"Delete",displayText:()=>$i("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",visible:!0,hotKey:{ctrlKey:!1,keyCode:46},hasSeparator:!0,clickAction:()=>{i.getValue().start(),ha(t),i.getValue().end()}}))),l.push(new al(c,"undoEnabled",{id:Va.Undo,text:"Undo",displayText:()=>$i("Undo","AnalyticsCoreStringId.Undo"),imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",visible:!0,clickAction:()=>{i.getValue().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0})),l.push(new al(c,"redoEnabled",{id:Va.Redo,text:"Redo",displayText:()=>$i("Redo","AnalyticsCoreStringId.Redo"),imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",visible:!0,clickAction:()=>{i.getValue().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}})),l.push(new il(c,{id:Va.ZoomOut,text:"Zoom Out",displayText:()=>$i("Zoom Out","AnalyticsCoreStringId.ZoomOut"),imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",visible:!0,hotKey:[{ctrlKey:!1,keyCode:109},{ctrlKey:!0,keyCode:189}],zoomStep:n,isContextMenuAction:!1,clickAction:()=>{tl(e,Math.max(el(e)-n,.01))},hasSeparator:!0})),l.push(new dl(c)),l.push(new il(c,{id:Va.ZoomIn,text:"Zoom In",displayText:()=>$i("Zoom In","AnalyticsCoreStringId.ZoomIn"),imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",visible:!0,hotKey:[{ctrlKey:!1,keyCode:107},{ctrlKey:!0,keyCode:187}],zoomStep:n,isContextMenuAction:!1,clickAction:()=>{tl(e,el(e)+n)}})),this.customizeActions(l,r).forEach(e=>(this.addDisposable(e),this._registerAction("menu"===e.container?this.menuItems:this.toolbarItems,e),e))}processShortcut(e){this.shouldIgnoreProcessing(e)||(this._keyboardHelper.processShortcut(e)?e.preventDefault():super.processShortcut(e))}getActions(){return super.getActions().concat(this.menuItems)}}var cl=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class ul extends nr{constructor({actions:e,target:t,getClickActionParams:i,contextMenusEnabled:r,fullScreen:s}){super(),this.hideOnOutsideClick=!0,this.target=t;const o=()=>e.getValue().reduce((e,t)=>t.group?[...e,{text:t.group,items:t.items.filter(e=>e.isContextMenuAction??!0)}]:t.isContextMenuAction??1?[...e,t]:e,[]);this.dataSource=o(),this.addDisposable(e.setValueChangedEvent(e=>{this.dataSource=o()}));const n=e=>{this.overlayContainerClass=".dx-designer-viewport",!e&&this.getPopupContainer(".dx-blazor-reporting")&&(this.overlayContainerClass=".dx-blazor-reporting"),this.component?._overlay?._positionController&&this.component.option("overlayContainer",this.getPopupContainer(this.overlayContainerClass))};s&&(n(s()),this.addDisposable(s.subscribe(e=>{n(e)}))),this.itemTemplate=(e,t,i)=>{if(e.hasSeparator){const e=document.createElement("div");e.style.borderBottomWidth="1px",e.style.borderBottomStyle="solid",e.style.color="#E6E6E6",e.style.width="100%",L(i).parent().prepend(e)}return L(i).css({padding:"3px 5px 5px"}),zr("dxrd-context-menu-item")},this.onItemClick=e=>{if((!("disabled"in e.itemData)||!e.itemData.disabled)&&e.itemData.clickAction){const t=i&&i();e.itemData.clickAction(t),e.component.hide()}},this.onInitialized=e=>{this.component=e.component,this._menuElement=T(e.element)},this.onOptionChanged=e=>{if("visible"===e.name&&e.value&&this.component?._overlay?._positionController?.$container){const e=this.getPopupContainer(this.overlayContainerClass);this.component._overlay._positionController.updateContainer(e),this.component.option("overlayContainer",e)}},this.disabled=!r.getValue(),this.addDisposable(r.setValueChangedEvent(e=>{this.disabled=!e}))}createViewModel(){const e=Zi(super.createViewModel()).generateProperty("dataSource",this.dataSource).generateProperty("target",this.target).generateProperty("itemTemplate",this.itemTemplate).generateProperty("onItemClick",this.onItemClick).generateProperty("cssClass",this.cssClass).generateProperty("hideOnOutsideClick",this.hideOnOutsideClick).generateProperty("disabled",this.disabled).generateProperty("onInitialized",this.onInitialized).generateProperty("onOptionChanged",this.onOptionChanged).getViewModel();return this.addDisposable(tt(this,"dataSource",()=>e.dataSource=this.dataSource)),this.addDisposable(tt(this,"disabled",()=>e.disabled=this.disabled)),e}hide(){this.component&&this.component.hide()}dispose(){super.dispose(),this._menuElement=null,this.component=null}getPopupContainer(e){return this._menuElement?.closest(e)}}cl([rr(()=>[])],ul.prototype,"dataSource",void 0),cl([rr(!1)],ul.prototype,"disabled",void 0);class pl{isPropertyVisible(e){if(!e._model)return!1;const t=e._model;let i=!t.isPropertyVisible||t.isPropertyVisible(e.name);return i&&(i=this._calculateAccessibilityByPropertyInfo(e.info.visible,!0)),i}getVisiblePropertyDependencies(e){return(e._model?.getVisiblePropertyDependencies?.(e.name)??[]).concat(this._getPropertyInfoDependencies(e,"visible"))}getDisabledPropertyDependencies(e){return(e._model?.getDisabledPropertyDependencies?.(e.name)??[]).concat(this._getPropertyInfoDependencies(e,"disabled"))}_getPropertyInfoDependencies(e,t){const i=si(e.info?.[t]);return i?[i]:[]}isPropertyDisabled(e){if(!e._model)return!0;const t=e._model;return t.isPropertyDisabled&&t.isPropertyDisabled(e.name)||this._calculateAccessibilityByPropertyInfo(e.info.disabled,!1)}_calculateAccessibilityByPropertyInfo(e,t){const i=si(e);return i?!!i():void 0!==e?!!e:t}}const hl=new pl,gl=DevExpress.validationEngine;var ml=e.n(gl);class fl extends x{dispose(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,super.dispose()}constructor(e){super(),this._editor=e,this._lastValidatorOptions=null,this._lastModelOverridableRules=null,this._onValidatedHandler=void 0}_isValid(e,t){return this.onValidatedHandler=void 0,this.validatorInstance?((e||[]).forEach(e=>e&&(e.validator=this.validatorInstance)),this.validatorInstance.validate()):ml().validate(t,e,this._editor.displayName)}get validatorInstance(){return this._validatorInstance}set validatorInstance(e){this._validatorInstance&&this.onValidatedHandler&&this._validatorInstance.off("validated",this._onValidatedHandler),this._validatorInstance=e}get onValidatedHandler(){return this._onValidatedHandler}set onValidatedHandler(e){this._onValidatedHandler&&this.validatorInstance&&(this.validatorInstance.off("validated",this._onValidatedHandler),this._onValidatedHandler=e,e&&this.validatorInstance.on("validated",this._onValidatedHandler))}getValidationRules(){const e=(this.getValidatorOptions()||{}).validationRules;return e||(null===e?null:[])}getValidatorOptions(e={}){const t=this._editor.info;if(!t)return;let i=this._lastValidatorOptions;const r=this._editor._getEditorValidationRules();if(i&&!this.areRulesChanged(r))return i;this._lastModelOverridableRules=r;const s=this._concatValidationRules(t.validatorOptions,r),o="function"==typeof t.editor.extendedOptions?t.editor.extendedOptions():t.editor.extendedOptions,n=o?.validatorOptions;return i=xe({},e,t.validatorOptions,{validationRules:s},n),this._wrapValidatorEvents(i),this._lastValidatorOptions=i,i}areRulesChanged(e){return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!e||!e.length||(e.length!==this._lastModelOverridableRules.length||!e.every(e=>this._lastModelOverridableRules.some(t=>e.message===t.message&&e.validationCallback===t.validationCallback&&e.type===t.type))):e&&e.length}wrapOnValidatorInitialized(e){const t=e.onInitialized,i=this;e.onInitialized=function(e){i._onValidatorInitialized(e),t&&t.apply(this,arguments)}}_onValidatorInitialized(e){this.validatorInstance=e&&e.component}_concatValidationRules(e,t){return e&&e.validationRules||t?((e||{}).validationRules||[]).concat(t||[]):null}_wrapValidatorEvents(e){if(e&&e.validationRules&&e.validationRules.length)return this.wrapOnValidatorInitialized(e),e}_dropValidatedRules(e){const t=this.validatorInstance;t&&e?.length&&t.option("validationRules",e.slice())}assignWithValidation(e,t){const i=this.getValidationRules(),r=!i||i.some(e=>e.assignValueFirst);r&&(t(),this._dropValidatedRules(i));const s=this._isValid(i,e);s.isValid?r||t():s.brokenRule&&s.brokenRule.isDeferred&&(this.onValidatedHandler=e=>{this.onValidatedHandler=void 0,e.isValid&&t()})}}function xl(e){const t="accordion"===e.accessibilityMode,i=t?"button":void 0;return e.isComplexEditor?{role:i,id:e.headerId,"aria-label":t?e.displayName:void 0,"aria-owns":t?void 0:e.contentId,"aria-controls":t?e.contentId:void 0,"aria-expanded":e.alwaysShow||!e.collapsed?"true":"false"}:{}}function vl(e){const t=e=>{this.element=T(e.element),this.onInitialized(!this.__rendered),this.__rendered=!0},i=e=>{e.value!==this.value&&this.setEditorValue(e.value)};return Zi(e).generateProperty("getOptions",e=>this.getOptions({onValueChanged:i,onInitialized:t,...e})).generateProperty("onValueChanged",i).generateProperty("onInitialized",t).generateProperty("getPopupContainer",Gd).generateProperty("getDisabled",()=>this.disabled).generateProperty("setDisabledChangedEvent",e=>tt(this,"disabled",t=>e(t))).generateProperty("valueAccessor",{getValue:()=>this.value,setValue:e=>{e!==this.value&&this.setEditorValue(e)},setValueChangedEvent:e=>tt(this,"value",t=>e(t))}).generateProperty("editorOptions",this.editorOptions).generateProperty("extendedOptions",this._getExtendedOptions()).generateProperty("collapsedAccessor",zt(this,"collapsed")).generateProperty("editorCreated",this.editorCreated).generateProperty("getLocalization",we).generateProperty("getValidatorOptions",e=>this.getValidatorOptions(e)).generateProperty("onCustomItemCreating",e=>({value:e.text,displayValue:e.text})).generateProperty("value",He(this.value)).generateProperty("disabled",this.disabled).generateProperty("displayName",this.displayName).generateProperty("fullDisplayName",this.fullDisplayName).generateProperty("description",this.description).generateProperty("editorDescriptionAddon",this.editorDescriptionAddon).generateProperty("validationRules",this.validationRules).generateProperty("validatorOptions",this.validatorOptions).generateProperty("level",this.level).generateProperty("padding",this.padding).generateProperty("editorInputId",this.editorInputId).generateProperty("values",this.values).generateProperty("info",this.info).generateProperty("templateName",this.templateName).generateProperty("contentTemplateName",this.contentTemplateName).generateProperty("editorTemplate",this.editorTemplate).generateProperty("isPropertyHighlighted",this.isPropertyHighlighted).generateProperty("collapsed",this.collapsed).generateProperty("isComplexEditor",this.isComplexEditor).generateProperty("accessibilityMode",this.accessibilityMode).generateProperty("accessibilityAttributes",xl(this)).generateProperty("headerId",this.headerId).generateProperty("contentId",this.contentId).generateProperty("alwaysShow",this.alwaysShow).generateProperty("textToSearch",this.textToSearch).generateProperty("isRequired",this.isRequired).generateProperty("isPropertyModified",this.isPropertyModified).generateProperty("visible",this.visible).generateProperty("hasBeenVisible",this.hasBeenVisible).generateProperty("setIsRendered",e=>this.setIsRendered(e)).generateProperty("labelAttributes",this.labelAttributes).generateProperty("rootContext",this.rootContext).getViewModel()}function yl(e){const t=this.getViewModel();["value","disabled","displayName","validationRules","validatorOptions","level","padding","values","info","templateName","isPropertyHighlighted","textToSearch","collapsed","alwaysShow","isPropertyModified","editorOptions","editorCreated","visible","hasBeenVisible","labelAttributes"].some(t=>t===e.propertyName)&&(t[e.propertyName]="value"===e.propertyName?He(this.value):e.newValue),"displayName"===e.propertyName&&(t.fullDisplayName=this.fullDisplayName),"displayName"!==e.propertyName&&"collapsed"!==e.propertyName&&"alwaysShow"!==e.propertyName||(t.accessibilityAttributes=xl(this))}var bl=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};function Cl(e){return e instanceof _l?e:e.getModel()}function wl(e,t){return ii(e,t,ui)}class _l extends nr{createViewModel(){return vl.call(this,super.createViewModel())}deferredUpdateViewModel(){return"native"!==this._engineType}getEngineType(){return this._engineType}_setPadding(e,t){const i={};return i["padding-"+e]=t,i}__initialize(){this.onInitialized(!0)}onInitialized(e){}dispose(){this._validator&&this._validator.dispose(),this._validator=null,super.dispose(),this._cachedValue=null,this._model=null}readIsSearchedProperty(){return!this.searchEnabled||this.isParentSearched||this.matchesSearchByName()}isSearchedPropertySources(){return[qt(this,["isParentSearched","displayName","textToSearch"])]}matchesSearchByName(){return!!Ai(this.displayName,this.textToSearch)}setEditorValue(e){const t=this.info.propertyName,i=this._model;if(!i)return;const r=i[t];this._validator.assignWithValidation(e,()=>{this._assignValue(r,i,e,t)})}readDisabled(){const e=this._accessibilityProvider;return this.parent?.disabled||e&&e.isPropertyDisabled(this)}disabledSources(){return[qt(this,["info","_model","_accessibilityProvider"]),this.parent&&qt(this.parent,["disabled"]),...this._accessibilityProvider?.getDisabledPropertyDependencies?.(this)||[]]}visibleSources(){return[qt(this,["isSearchedProperty","info","_model","_accessibilityProvider"]),...this._accessibilityProvider?.getVisiblePropertyDependencies?.(this)||[]]}constructor(e,{level:t,searchEnabled:i,popover:r,rootContext:s,parent:o,engineType:n,textToSearch:a,accessibilityMode:d}){super(),this._engineType="multiplatform",this.rtl=ws()().rtlEnabled,this._validator=new fl(this),this.__rendered=!1,this._cachedValue=void 0,this.isRequired=!1,this._engineType=n||"multiplatform",this.rootContext=s,this.searchEnabled=i,this.assignProperty("info",e),this.assignDerivedProperty("editorOptions",hi(()=>this.info?.editorOptions),()=>[qt(this,["info"])]),this.parent=o,this.accessibilityMode=d||o?.accessibilityMode||"tree",this.assignDerivedProperty("displayName",()=>{const e=this.info;return e&&$i(e.displayName,e.localizationId)},()=>[qt(this,["info"])]),this.assignDerivedProperty("description",()=>{const e=this.info;return e&&$i("",e.descriptionLocalizationId||`${e.localizationId}.Description`)},()=>[qt(this,["info"])]),r&&this.description&&(this.editorDescriptionAddon=Al(this,r)),i&&(this.textToSearch=a||""),this.assignDerivedProperty("isSearchedProperty",()=>this.readIsSearchedProperty(),()=>this.isSearchedPropertySources()),this.padding=this._setPadding(this.rtl?"right":"left",t*dd());const l=e.propertyName;this.validatorOptions=e.validatorOptions,this.isRequired=e.isRequired,e.array?this.defaultValue=[]:e.from?this.defaultValue=e.from(e.defaultVal,Jt()):this.defaultValue=e.defaultVal,this.assignDerivedProperty("values",hi(()=>{const e=this.info;return e.valueStore||e.valuesArray||(()=>{const t="function"==typeof e.values?e.values():e.values;if(t)return Object.keys(t).map(e=>({value:e,displayValue:t[e]}))})()||[]},wl),()=>[qt(this,["info"]),qt(this.info,["valueStore"]),si(this.info.values)]),this.level=t,this._init(e.editor,l),this.assignDerivedProperty("value",()=>{const e=this.info.propertyName,t=this._model;if(!t&&this._cachedValue)return this._cachedValue;const i=Jt().unwrapPropertyValue(t&&void 0!==t[e]?t[e]:this.defaultValue);if(i&&"object"!=typeof i&&!i.push){const r=null!=i;this._cachedValue=r?function(e,t,i){const r=t?.constructor?.unitProperties;return r&&-1!==r.indexOf(i)?ro(e):e}(i,t,e):void 0}else this._cachedValue=i;return this._cachedValue},()=>{const e=this._model,t=this.info.propertyName;return[qt(this,["_model","info"]),e&&(si(e[t])||qt(e,[t]))]},e=>this.setEditorValue(e)),this.assignDerivedProperty("disabled",()=>this.readDisabled(),()=>this.disabledSources()),this.assignDerivedProperty("visible",()=>this._checkVisibility(),()=>this.visibleSources());let c=!1;const u=()=>c=c||this.visible;this.assignDerivedProperty("hasBeenVisible",u,()=>u()?[]:[qt(this,["visible"])]),this.assignDerivedProperty("isPropertyModified",()=>{const e=this._model;return!!(e&&e.isPropertyModified&&e.isPropertyModified(this.name))},()=>[qt(this,["_model","value"]),...this._model?Ti(this._model):[],...this._model?.getModifiedPropertyDependencies?.(this.name)||[]]),this.assignDerivedProperty("isPropertyHighlighted",()=>{if(this._shouldSkipHighlighting(this.name))return!1;const e=this._model;return!!(e&&e.isPropertyHighlighted&&e.isPropertyHighlighted(this.name))},()=>[qt(this,["_model"]),...this._shouldSkipHighlighting(this.name)?[]:this._model?.getHighlightedPropertyDependencies?.(this.name)||[]]),this.headerId=`dxrd-accordion-trigger-${oa()}`,this.contentId=`dxrd-accordion-pannel-${oa()}`,this.editorInputId=`dxrd-editor-${oa()}`,this.assignDerivedProperty("labelAttributes",()=>{const e=this.isComplexEditor||["dx-boolean","dxrd-textalignment-editor","dxrd-border-editor"].includes(this.templateName)||!this.isRendered?null:this.editorInputId,t=e||"dx-boolean"!==this.templateName?null:this.editorInputId;return{title:this.displayName,for:e,"data-dx-for":t}},()=>[qt(this,["displayName","isRendered"])])}_checkVisibility(){const e=this._accessibilityProvider;return this.isSearchedProperty&&e?.isPropertyVisible(this)}_shouldSkipHighlighting(e){return this.isComplexEditor}_assignValue(e,t,i,r){Jt().setProperty(t,r,i)}_init(e,t){e=e||Js.getEditor("text"),this.templateName=e.header,this.contentTemplateName=e.content,this._cachedValue=void 0,this.name=t,this.editorTemplate=e?.custom||"dx-property-editor"}_getInfoFromModel(e){if(!e)return null;const t=e.getInfo?.();return t?t.filter(e=>e.propertyName===this.name)[0]:null}shouldSyncViewModelValue(){return!0}onPropertyChanged(e){this.isViewModelReady()&&"value"===e.propertyName&&this.shouldSyncViewModelValue()&&(this.getViewModel().value=He(this.value)),this.isViewModelReady()&&("values"==e.propertyName||"value"==e.propertyName&&this.values?.length)&&(this.getViewModel().values=this.values)}updateViewModel(e){super.updateViewModel(e),("value"!==e.propertyName||this.shouldSyncViewModelValue())&&yl.call(this,e)}update(e){if(e){const t=this._getInfoFromModel(e),i=t&&_i(t.editor,this.info.editor);i&&this.info!==t&&(this.info=t),this._model=!(this.name in e)||!i&&t?null:e}else this._model=null}getOptions(e){return xe(!0,{},e,this.editorOptions,this._getExtendedOptions())}_getExtendedOptions(){const e=this.info.editor.extendedOptions;return"function"==typeof e?e():e}getValidatorOptions(e){return this._validator&&this._validator.getValidatorOptions(e)}registerAccessibilityProvider(e){this._accessibilityProvider!=e&&(this._accessibilityProvider=e)}_getEditorValidationRules(){const e=this.info;if(!e)return;const t=e.validationRules;return t||(null===t?null:[])}getValidationRules(){return this._validator&&this._validator.getValidationRules()}setIsRendered(e){this.isRendered=e}get validationRules(){return this.getValidationRules()}get fullDisplayName(){return this.displayName+(this.parentName??"")}getPopupServiceActions(){const e=this._model;if(!e)return;const t=(e.actions||[]).concat();return(e.actionProviders||[]).forEach(e=>{(e&&e.getActions(this.name)||[]).forEach(e=>t.push(e))}),t}get isComplexEditor(){return!!this.contentTemplateName}}function Al(e,t){const i=Cl(e);return{templateName:"dx-property-grid-editor-description",data:{buttonOptions:{onClick:e=>{t.toggle(i.description,T(e.element))},icon:"dxrd-svg-tabs-description_info",elementAttr:{"aria-label":Di($i("{0} description","AnalyticsCoreStringId.PropertyGrid_DescriptionButton"),i.displayName),"aria-expanded":"false"},onInitialized:e=>["escape","tab"].forEach(i=>e.component.registerKeyHandler(i,r=>{if(t.visible&&t.target===T(e.element)){if(t.onHiding(),"tab"===i)return;r.preventDefault(),r.stopPropagation()}}))}}}}bl([rr()],_l.prototype,"_model",void 0),bl([rr(!1)],_l.prototype,"isParentSearched",void 0),bl([rr(()=>hl)],_l.prototype,"_accessibilityProvider",void 0),bl([rr("")],_l.prototype,"textToSearch",void 0),bl([rr(null)],_l.prototype,"info",void 0),bl([rr(!1)],_l.prototype,"isEditorSelected",void 0),bl([rr(!1)],_l.prototype,"isRendered",void 0),bl([rr(!0)],_l.prototype,"editorCreated",void 0),bl([rr(!0)],_l.prototype,"collapsed",void 0),bl([rr(!1)],_l.prototype,"alwaysShow",void 0);const El=e=>!!e&&"object"==typeof e&&(e.constructor===Object||null===Object.getPrototypeOf(e)),Sl=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return ii(e,t,Sl);if(El(e)&&El(t)){const i=Object.keys(e);return i.length===Object.keys(t).length&&i.every(i=>e[i]===t[i])}return!1};function Il(e,t){if(!t||!e)return!1;let i=!1;for(const r in t)"function"!=typeof t[r]&&(Sl(t[r],e[r])||(e[r]=t[r],i=!0));return i}function Pl(e,t){if(!e||!t)return e||t;const i={...t};return Il(i,e)?i:t}var Dl=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};function Tl(e){return"function"==typeof e.hint?e.hint():e.hint}class Vl extends nr{dispose(){this._modelDependenciesSubscription?.(),this._modelDependenciesSubscription=null,super.dispose()}_updatePopupActions(e){this._popupService.actions=[],e&&e.length&&(e.sort((e,t)=>e.title<t.title?-1:e.title>t.title?1:0).sort((e,t)=>(e.weight||0)-(t.weight||0)),this._wrapVisibleItems(e,this._editor.name).forEach(e=>{this._popupService.actions.push(e)}))}_getTitles(e,t=[]){const i=e.title,r=[];(e.items||[]).forEach(e=>{const s=i?t.concat([i]):t;r.push(...this._getTitles(e,s))});const s=Tl(e);if(!s||!i)return r;const o=t.concat([i]).join(". ");return r.push(o+":\n"+s+"\n"),r}_wrapVisibleItems(e,t){if(e)return e.map(e=>this._wrapActionClick(e,t)).filter(e=>!!e)}_wrapActionClick(e,t){return this.actionFilter(e)?{id:e.id,items:this._wrapVisibleItems(e.items,t),innerTemplate:e.innerTemplate,itemTemplate:e.itemTemplate,action:()=>{e.action(t),this._popupService.visible=!1},title:e.title,hint:e.hint,visible:()=>!0}:null}constructor(e,t){super(),this._imageTemplateNameOverride=void 0,this.templateName=null,this._editor=e,this._popupService=t,this.updateActions();const i=()=>{this.updateActions(),this.wireModelDependencies()};this.addDisposable(tt(e,"_model",i),tt(e,"visible",i),tt(e,"info",i)),this.wireModelDependencies()}updateActions(){const e=(this._editor.getPopupServiceActions()||[]).filter(e=>this.actionFilter(e));this._actions=e,this.visible=e.length>0,this.hint=e.reduce((e,t)=>e.concat(this._getTitles(t)),[]).join("\n");const t=this._editor._model;this.editorMenuButtonCss=t?.getActionClassName?.(this._editor.name)||"",void 0===this._imageTemplateNameOverride&&(this.imageTemplateName=t?.getMenuBoxTemplate?.(this._editor.name)||"")}wireModelDependencies(){this._modelDependenciesSubscription?.();const e=this._editor._model?.getActionsPropertyDependencies?.(this._editor.name)||[];this._modelDependenciesSubscription=gi(()=>e,()=>this.updateActions(),!1)}setImageTemplateName(e){this._imageTemplateNameOverride=e,this.imageTemplateName=e}createViewModel(){return Zi(super.createViewModel()).generateProperty("visible",this.visible).generateProperty("hint",this.hint).generateProperty("editorMenuButtonCss",this.editorMenuButtonCss).generateProperty("imageTemplateName",this.imageTemplateName).generateProperty("templateName",this.templateName).generateProperty("showPopup",(e,t)=>this.showPopup(e,t)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"visible"===e.propertyName?t.visible=this.visible:"hint"===e.propertyName?t.hint=this.hint:"editorMenuButtonCss"===e.propertyName?t.editorMenuButtonCss=this.editorMenuButtonCss:"imageTemplateName"===e.propertyName&&(t.imageTemplateName=this.imageTemplateName)}showPopup(e,t){this._editor.disabled||(this._popupService.title=this._editor.displayName,this._updatePopupActions(this._editor.getPopupServiceActions()),this._popupService.target=t,this._popupService.visible=!0)}actionFilter(e){return e.visible(this._editor.name)}}Dl([rr(()=>[])],Vl.prototype,"_actions",void 0),Dl([rr(!1)],Vl.prototype,"visible",void 0),Dl([rr("")],Vl.prototype,"hint",void 0),Dl([rr("")],Vl.prototype,"editorMenuButtonCss",void 0),Dl([rr("")],Vl.prototype,"imageTemplateName",void 0);var Ml,kl=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Fl extends nr{initEditorViewModels(){return this.editors.map(e=>{const t=e.getViewModel();return this.createEditorAddOn&&(t.createEditorAddOn=e=>this.createEditorAddOn&&this.createEditorAddOn(e.getModel())),t})}createViewModel(){return Zi(super.createViewModel()).generateProperty("editors",this.initEditorViewModels()).generateProperty("rtl",this.rtl).generateProperty("popover",this.popover?.getViewModel()).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"_editors"===e.propertyName&&(t.editors=this.initEditorViewModels())}update(e){e&&this.editors.forEach(t=>{t.update(e)})}_cleanEditorsSubscriptions(){this.editors.forEach(e=>{e.dispose()})}dispose(){super.dispose(),this.editors.forEach(e=>e.dispose()),this._editors=[],this.cleanSubscriptions()}cleanSubscriptions(){this._infoSubscription.forEach(e=>e&&e()),this._infoSubscription=[],this._viewModelSubscription&&this._viewModelSubscription(),this._cleanEditorsSubscriptions()}cleanEditors(){this._cleanEditorsSubscriptions(),this._editors=[],this.editorsChanged.notify()}findEditorByInfo(e){return this.editors.filter(t=>t.name===e.propertyName&&_i(t.info.editor,e.editor))[0]}createEditor(e){const t=new(e.editor&&e.editor.editorType||_l)(e,{level:this.level,popupService:this.popupService,popover:this.popover,searchEnabled:this.searchEnabled,rootContext:this.rootContext,parent:this._parent,engineType:this.engineType,textToSearch:this._textToSearch,accessibilityMode:this.accessibilityMode});return t.registerAccessibilityProvider(this._accessibilityProvider),t.textToSearch=this._textToSearch,t}createEditors(e){return(e||[]).filter(e=>!!e.editor&&!this.findEditorByInfo(e)).map(e=>this.createEditor(e))}registerAccessibilityProvider(e){this._accessibilityProvider=e,this.editors.forEach(t=>{t.registerAccessibilityProvider(e)})}_createEditors(e){if(!e||0===e.length)return!1;const t=this.createEditors(e);if(!t.length)return;let i=this.editors;0===i.length?i=t:t.forEach(e=>{const t=i.map(e=>e.name).indexOf(e.name);-1!==t?i.splice(t,0,e):i.push(e)}),this._editors=i,this.editorsChanged.notify()}updateEditorsInfo(e,t){this.recreateEditors&&this.cleanEditors(),this._recreateEditors(e,t)}_update(e,t,i){i&&this.cleanEditors();let r=null;const s=()=>{const s=(()=>{const e=t?.editors;return"function"==typeof e?e():e})()||e?.getInfo?.();i&&null!==r&&!this._describesSameEditors(r,s)&&this.cleanEditors(),r=(s||[]).slice(),this._recreateEditors(e,s)};this._infoSubscription.push(Vi(e,()=>s()))}_describesSameEditors(e,t){return!!e&&!!t&&ii(e,t,(e,t)=>e.propertyName===t.propertyName&&_i(e.editor,t.editor))}_recreateEditors(e,t){this._createEditors(t),this.update(e)}searchText(e){this._textToSearch=e,this.editors.forEach(t=>t.textToSearch=e)}constructor(e,{editorsInfo:t,popupService:i,popover:r,level:s,recreateEditors:o,searchEnabled:n,rootContext:a,parent:d,engineType:l,textToSearch:c,accessibilityMode:u}={}){super(),this._viewModelSubscription=null,this.editorsChanged=li(),this._infoSubscription=[],this._getInfoComputed=null,this._accessibilityProvider=hl,this._textToSearch="",this.level=0,this.rtl=ws()().rtlEnabled,this.engineType=l,this._textToSearch=c||"",this.recreateEditors=o||!1,this.searchEnabled=n,this.rootContext=a,this._parent=d,this.accessibilityMode=u||d?.accessibilityMode||"tree",this.level=s||0,i&&(this.createEditorAddOn=e=>{const t=Cl(e),i=new Vl(t,this.popupService);return t._disposables.push(i),{templateName:"dx-editor-addons",data:[i.getViewModel()]}},this.popupService=i),r&&(this.createEditorDescriptionAddOn=e=>Al(e,r),this.popover=r),this.assignDerivedProperty("visible",()=>this.editors.some(e=>e.visible),()=>[this.editorsChanged,qt(this,["_editors"]),...(this._editors||[]).map(e=>qt(e,["visible"]))],void 0,{cached:!1}),this.updateModel=e=>{this._infoSubscription.forEach(e=>e&&e()),this._infoSubscription=[],this._update(e,t,o)},kt(e)?(this._viewModelSubscription=e.setValueChangedEvent?.(e=>{this.updateModel(e)}),this.updateModel(e.getValue())):this.updateModel(e)}getEditors(){return this._editors}get editors(){return this.getEditors()}}kl([sr(()=>[],{deferred:!0})],Fl.prototype,"_editors",void 0);class $l extends _l{createViewModel(){return Zi(super.createViewModel()).generateProperty("viewmodel",this.viewmodel?.getViewModel()).getViewModel()}dispose(){super.dispose(),this.viewmodel&&this.viewmodel.dispose(),this.viewmodel=null}showInnerContent(){this.collapsed=!1,this.editorCreated=!0}readIsSearchedProperty(){return!this.searchEnabled||this.matchesSearchByName()||!!this.viewmodel?.visible}isSearchedPropertySources(){return[...super.isSearchedPropertySources(),qt(this,["viewmodel"]),this.viewmodel&&qt(this.viewmodel,["visible"])]}visibleSources(){const e=this.viewmodel;return[...super.visibleSources(),qt(this,["viewmodel"]),e&&qt(e,["_editors"]),...(e?._editors||[]).map(e=>qt(e,["visible"]))]}updateViewModelEditors(){this.viewmodel?.updateEditorsInfo(this.value,this.getEditorInfo())}updateViewModelModel(){this.viewmodel?.updateModel(this.value)}onViewModelPropertyChanged(e){"value"===e.propertyName?this.updateViewModelModel():"info"===e.propertyName&&this.updateViewModelEditors()}update(e){super.update(e),this.updateViewModelEditors()}constructor(e,t){super(e,t),this.popover=t.popover,this.popupService=t.popupService,this.editorCreated=!1,this.viewmodel=this.createObjectProperties(),this.addDisposable(this.viewmodel),this.assignDerivedProperty("visibleByName",()=>this.matchesSearchByName(),()=>[qt(this,["displayName","textToSearch"])]),t.searchEnabled&&(this.addDisposable(gi(()=>[qt(this,["displayName","textToSearch","viewmodel"]),this.viewmodel&&qt(this.viewmodel,["_editors"])],()=>{this.viewmodel&&!me(this.viewmodel)&&this.viewmodel.editors.forEach(e=>e.isParentSearched=this.visibleByName)})),this.addDisposable(gi(()=>this.isSearchedPropertySources(),()=>{!this.visibleByName&&this.viewmodel?.visible&&(this.collapsed=!1)})),this.textToSearch&&this.showInnerContent())}onPropertyChanged(e){super.onPropertyChanged(e),this.onViewModelPropertyChanged(e),this.searchEnabled&&"textToSearch"===e.propertyName&&(this.textToSearch&&this.showInnerContent(),this.viewmodel?.searchText(this.textToSearch)),"collapsed"!==e.propertyName||this.editorCreated||e.newValue||(this.editorCreated=!0)}createObjectProperties(){return new Fl(this.value,this.getPropertiesOptions())}getEditorInfo(){const e=this.value;return e?.getInfo?.()||this.info.info}getPropertiesOptions(){return{...this.getStandardPropertiesOptions(),popupService:this.popupService,popover:this.popover}}getStandardPropertiesOptions(){return{editorsInfo:{editors:()=>this.getEditorInfo()},level:this.level+1,searchEnabled:this.searchEnabled,rootContext:this.rootContext,parent:this,engineType:this.getEngineType(),textToSearch:this.textToSearch}}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.viewmodel.registerAccessibilityProvider(e)}}kl([rr(null)],$l.prototype,"viewmodel",void 0);class Ol extends $l{createObjectProperties(){return this.collapsed=!1,this.editorCreated=!0,this.level=-1,super.createObjectProperties()}}class Nl extends $l{getPropertiesOptions(){return this.getStandardPropertiesOptions()}updateViewModelEditors(){}updateViewModelModel(){}createObjectProperties(){this.editableModel=this.getTargetModel(),f(this.editableModel)&&this.addDisposable(this.editableModel);const e=this.getStandardPropertiesOptions();return new Fl(this.editableModel,e)}}!function(e){e[e.Low=0]="Low",e[e.High=1]="High"}(Ml||(Ml={}));class Bl{constructor(){this._highQueue=[],this._lowQueue=[]}enqueue(e,t){t?.priority===Ml.High?this._highQueue.push(e):this._lowQueue.push(e)}dequeue(){return this._highQueue.length>0?this._highQueue.shift():this._lowQueue.length>0?this._lowQueue.shift():void 0}top(){return this._highQueue.length>0?this._highQueue[0]:this._lowQueue.length>0?this._lowQueue[0]:void 0}remove(e){let t=this._lowQueue.indexOf(e);t>-1?this._lowQueue.splice(t,1):(t=this._highQueue.indexOf(e),t>-1&&this._highQueue.splice(t,1))}get length(){return this._highQueue.length+this._lowQueue.length}}class Ll{constructor(){this._queue=this.initQueue(),this._queueObj={},this._done=[],this._doneOnce=[]}clear(){this._queue=this.initQueue(),this._queueObj={}}done(e){this._done.push(e)}doneOnce(e){this._doneOnce.push(e)}initQueue(){return new Bl}remove(e){delete this._queueObj[e],this._queue.remove(e)}_executeNext(e){e&&this.remove(e),this._queue.length>0?this._queueObj[this._queue.dequeue()]?.():(this.remove(e),this.runCompletions())}execute(e,t){const i=oa(),r=new z;return t?.timeOut?(this._queue.enqueue(i,t),this._queueObj[i]=()=>{if(!this._queueObj[i])return this._executeNext(i);setTimeout(()=>{this._queueObj[i]&&r.resolve(e()),this._executeNext(i)},t.timeOut)},1===this._queue.length&&this._queueObj[this._queue.top()]()):r.resolve(e()),{dispose:()=>(this.remove(i),r.reject()),$promise:r.promise()}}runCompletions(){for(let e=0;e<this._done.length;e++)this._done[e]?.();for(;this._doneOnce.length;){const e=this._doneOnce.pop();e?.()}}}const zl=new Ll;function Hl(e){return Zi(e).generateProperty("displayName",this.displayName()).generateProperty("editors",this.editors.map(e=>e.getViewModel())).generateProperty("visible",this.visible).generateProperty("collapsed",this.collapsed).generateProperty("resolver",this.resolver).generateProperty("collapsedAccessor",zt(this,"collapsed")).generateProperty("editorsCreated",this.editorsCreated).generateProperty("setEditorsCreated",e=>{this.editorsCreated=e}).generateProperty("editorsRendered",this.editorsRendered).getViewModel()}function Rl(e){const t=this.getViewModel();"collapsed"===e.propertyName&&(t.collapsed=this.collapsed),"visible"===e.propertyName&&(t.visible=this.visible),"editorsCreated"===e.propertyName&&(t.editorsCreated=this.editorsCreated),"editorsRendered"===e.propertyName&&(t.editorsRendered=this.editorsRendered),"editors"===e.propertyName&&(t.editors=this.editors.map(e=>e.getViewModel()))}var jl=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Gl extends nr{createViewModel(){return Hl.call(this,super.createViewModel())}deferredUpdateViewModel(){return!1}updateViewModel(e){super.updateViewModel(e),Rl.call(this,e)}_isVisible(){return this.editors.some(e=>e.visible)}_createEditorsAndSubscribe(e,t){this._editorsSubscription?.();const i=t(e),r=i.map(e=>({dispose:e.events.on("visibleChanged",()=>{this.visible=this._isVisible()})}));return this._editorsSubscription=()=>this.disposeArray(r),i}onPropertyChanged(e){"collapsed"===e.propertyName?this.editorsRendered=!0:"editors"===e.propertyName&&(this.visible=this._isVisible())}constructor({name:e,serializationsInfo:t,createEditors:i,displayName:r}){super(),this.resolver=new Ll,this.displayName=r||(()=>$i(e)),this._name=e,this.recreate=()=>{this.editors=this._createEditorsAndSubscribe(t,i),this._accessibilityProvider&&this.editors.forEach(e=>{e.registerAccessibilityProvider(this._accessibilityProvider)})},this.editors=this._createEditorsAndSubscribe(t,i)}resetEditors(){const e=this.editors;this.editors=[],this.disposeArray(e)}dispose(){super.dispose(),this.resolver.clear(),this.resetEditors(),this._editorsSubscription?.()}registerAccessibilityProvider(e){this._accessibilityProvider=e,this.editors.forEach(t=>{t.registerAccessibilityProvider(e)})}}jl([rr(()=>[],{deferred:!0})],Gl.prototype,"editors",void 0),jl([rr(!0)],Gl.prototype,"collapsed",void 0),jl([rr(!1,{rateLimit:{timeout:50}})],Gl.prototype,"visible",void 0),jl([rr(!1)],Gl.prototype,"editorsCreated",void 0),jl([rr(!1)],Gl.prototype,"editorsRendered",void 0);var Wl=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Ul extends nr{updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"data"===e.propertyName?t.data=this.data:"title"===e.propertyName?t.title=this.title:"visible"===e.propertyName?t.visible=this.visible:"disabled"===e.propertyName?t.disabled=this.disabled:"actions"===e.propertyName?t.actions=this.actions:"target"===e.propertyName?t.target=this.target:"viewModel"===e.propertyName&&(t.viewModel=this.viewModel)}createViewModel(){return Zi(super.createViewModel()).generateProperty("data",this.data).generateProperty("title",this.title).generateProperty("visible",this.visible).generateProperty("disabled",this.disabled).generateProperty("actions",this.actions).generateProperty("target",this.target).generateProperty("viewModel",this.viewModel).generateProperty("hide",()=>{this.visible=!1}).generateProperty("onItemClick",e=>this.onItemClick(e)).getViewModel()}onItemClick(e){const t=e?.itemData;t&&!t.itemTemplate&&t.action?.(void 0)}}Wl([rr()],Ul.prototype,"data",void 0),Wl([rr()],Ul.prototype,"title",void 0),Wl([rr(!1)],Ul.prototype,"visible",void 0),Wl([rr(!1)],Ul.prototype,"disabled",void 0),Wl([sr(()=>[])],Ul.prototype,"actions",void 0),Wl([rr()],Ul.prototype,"target",void 0),Wl([rr()],Ul.prototype,"viewModel",void 0);const ql=DevExpress.ui.dxTextBox;var Kl=e.n(ql),Yl=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Zl extends nr{_clearAnnouncement(){clearTimeout(this._announcementTimeout),this.announcement=""}_syncAccessibility(){const e=this._content?.id;if(this._content&&(this._content.setAttribute("role","note"),this._content.removeAttribute("tabindex")),this.target&&e){const t=(this.target.getAttribute("aria-describedby")||"").split(/\s+/).filter(t=>t&&t!==e);t.length?this.target.setAttribute("aria-describedby",t.join(" ")):this.target.removeAttribute("aria-describedby"),this.target.setAttribute("aria-controls",e)}}_announce(){this._clearAnnouncement(),this._announcementTimeout=setTimeout(()=>{this.visible&&(this._syncAccessibility(),this.announcement=this.data)},200)}toggle(e,t){if(this.visible&&this.target===t)return void this.onHiding();const i=this.visible;this.target?.setAttribute("aria-expanded","false"),this._clearAnnouncement(),this.data=e,this.target=t,this.target.setAttribute("aria-expanded","true"),this.visible=!0,i&&this._announce()}onShowing(e){this._content=T(e.component.content()).closest(".dx-overlay-content"),this._syncAccessibility()}onShown(){this._announce()}dispose(){this._clearAnnouncement(),this._content=null,super.dispose()}createViewModel(){return Zi(super.createViewModel()).generateProperty("data",this.data).generateProperty("target",this.target).generateProperty("visible",this.visible).generateProperty("announcement",this.announcement).generateProperty("onHiding",()=>{this.onHiding()}).generateProperty("onShowing",e=>this.onShowing(e)).generateProperty("onShown",()=>this.onShown()).generateProperty("getPopupContainer",Gd).getViewModel()}updateViewModel(e){const t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"target"===e.propertyName&&(t.target=this.target),"data"===e.propertyName&&(t.data=this.data),"announcement"===e.propertyName&&(t.announcement=this.announcement)}onHiding(){this.target?.setAttribute("aria-expanded","false"),this._clearAnnouncement(),this.visible=!1}}function Jl(e){return Zi(e).generateProperty("focusedItem",this.focusedItem).generateProperty("focusedItemChanged",e=>{this.focusedItem=e.value}).generateProperty("focusedImageClassName",this.focusedImageClassName).generateProperty("actionsGroupTitle",this.actionsGroupTitle).generateProperty("displayExpr",this.displayExpr).generateProperty("groups",this.groups.map(e=>e.getViewModel())).generateProperty("editorsRendered",this.editorsRendered).generateProperty("isSortingByGroups",this.isSortingByGroups).generateProperty("setSortingByGroups",e=>{this.isSortingByGroups=e}).generateProperty("isSearching",this.isSearching).generateProperty("allEditorsCreated",this.allEditorsCreated).generateProperty("setAllEditorsCreated",e=>{this.allEditorsCreated=e}).generateProperty("textToSearch",this.textToSearch).generateProperty("textToSearchChanged",e=>{this.textToSearch=e.value}).generateProperty("popularPropertiesCollapsed",this.popularPropertiesCollapsed).generateProperty("popularPropertiesCollapsedAccessor",zt(this,"popularPropertiesCollapsed")).generateProperty("createEditorDescriptionAddOn",e=>this.createEditorDescriptionAddOn&&this.createEditorDescriptionAddOn(Cl(e))).generateProperty("createEditorAddOn",e=>this.createEditorAddOn&&this.createEditorAddOn(Cl(e))).generateProperty("searchBox",e=>this.searchBox(e)).generateProperty("searchPlaceholder",this.searchPlaceholder).generateProperty("switchSearchBox",this.switchSearchBox).generateProperty("allEditors",this._sortEditors(e.editors)).generateProperty("popupService",this.popupService?.getViewModel()).generateProperty("popularProperties",this.rootContext?.popularProperties?.getViewModel()).getViewModel()}function Xl(e){const t=this.getViewModel();"_editors"===e.propertyName&&(t.allEditors=this._sortEditors(t.editors)),"focusedItem"===e.propertyName&&(t.focusedItem=this.focusedItem,t.actionsGroupTitle=this.actionsGroupTitle),"focusedImageClassName"===e.propertyName&&(t.focusedImageClassName=this.focusedImageClassName),"groups"===e.propertyName&&(t.groups=this.groups.map(e=>e.getViewModel())),"editorsRendered"===e.propertyName&&(t.editorsRendered=this.editorsRendered),"isSortingByGroups"===e.propertyName&&(t.isSortingByGroups=this.isSortingByGroups),"isSearching"===e.propertyName&&(t.isSearching=this.isSearching),"allEditorsCreated"===e.propertyName&&(t.allEditorsCreated=this.allEditorsCreated),"textToSearch"===e.propertyName&&(t.textToSearch=this.textToSearch),"popularPropertiesCollapsed"===e.propertyName&&(t.popularPropertiesCollapsed=this.popularPropertiesCollapsed)}Yl([rr(!1)],Zl.prototype,"visible",void 0),Yl([rr(void 0)],Zl.prototype,"target",void 0),Yl([rr("")],Zl.prototype,"data",void 0),Yl([rr("")],Zl.prototype,"announcement",void 0);var Ql=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class ec extends Fl{createViewModel(){return Jl.call(this,super.createViewModel())}updateViewModel(e){super.updateViewModel(e),Xl.call(this,e)}_sortEditors(e){const t=e.map(e=>Cl(e).displayName).sort();return e.sort((e,i)=>t.indexOf(Cl(e).displayName)-t.indexOf(Cl(i).displayName)),e}_update(e,t,i){return this.groups&&this.groups.forEach(e=>{0===e.editors.length&&e.recreate()}),super._update(e,t,i)}cleanEditors(){super.cleanEditors(),this.groups.forEach(e=>e.resetEditors())}dispose(){super.dispose(),this._textToSearchTimeout&&clearTimeout(this._textToSearchTimeout),this._textToSearchTimeout=void 0,this.disposeArray(this.groups),this.disposeArray(this._editors),this._searchBox=null,this.focusedItem=null}createGroups(e){this.groups=Object.keys(e).map(t=>new Gl({name:t,serializationsInfo:e[t].info,createEditors:e=>e.filter(e=>!!e.editor).map(e=>{let t=this.findEditorByInfo(e);return t||(t=this.createEditor(e),this._editors.push(t),t)}),displayName:e[t].displayName})),this._disposables.push.apply(this._disposables,this.groups)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.groups.forEach(t=>{t.registerAccessibilityProvider(e)})}onPropertyChanged(e){super.onPropertyChanged(e),"isSortingByGroups"!==e.propertyName||this._firstRendered?"textToSearch"===e.propertyName?(this._textToSearchTimeout&&clearTimeout(this._textToSearchTimeout),this._textToSearchTimeout=setTimeout(()=>{this.searchText(e.newValue),e.newValue&&this.groups.forEach(e=>{e.collapsed&&e.editors.some(e=>e.isSearchedProperty)&&(e.collapsed=!1)})},200)):"focusedItem"===e.propertyName&&this._onFocusedItemChanged(e.newValue):e.newValue||(this.editorsRendered=!0,this._firstRendered=!0)}constructor(e,{editorsInfo:t,useAddons:i,useLocalizableDescriptions:r,rootContext:s}){super(e,{editorsInfo:t,level:0,popupService:i&&new Ul,popover:r&&new Zl,searchEnabled:!0,rootContext:s}),this._textToSearchTimeout=null,this._firstRendered=!1,this._searchBox=null,this.searchPlaceholder=()=>De(),this.switchSearchBox=()=>{this.isSearching?(this.isSearching=!1,this.textToSearch=""):(this.isSearching=!0,this._searchBox&&this._searchBox.focus())},this.createGroups(t.groups);const o=Ft(e);this.update(o);const n=e=>{this.focusedImageClassName=Ri(e?.controlType),this.isSearching&&!this.textToSearch&&this.switchSearchBox()},a=e=>{this.focusedItem=e,n(e)};this._onFocusedItemChanged=t=>{Ft(e)!==t&&kt(e)?e.setValue(t):n(t)},a(o);const d=Ot(e);d&&this.addDisposable(d.setValueChangedEvent?.(e=>a(e))),this.displayExpr=e=>Hi(e)}get actionsGroupTitle(){return this.rootContext?.actionsGroupTitle?this.rootContext.actionsGroupTitle():""}searchBox(e){this._searchBox=Kl().getInstance(e)}}function tc(e,t){e&&t&&(Array.isArray(e)&&Array.isArray(t)?t.splice(0,t.length,...e):function(e){const t=e.getInfo;return Be(e)&&fe(t)?(t.call(e)||[]).map(e=>e.propertyName).filter(t=>t in e):Object.keys(e)}(e).forEach(i=>{const r=e[i];if(fe(r))return;const s=t[i];r instanceof Object&&s instanceof Object?tc(r,s):t[i]=r}))}function ic(e,t){const i={};return e.reduce((e,r)=>{const s=t(r);if(s)if(i[s])i[s].push(r);else{const t={group:s,items:[r]};e.push(t),i[s]=t.items}return e},[])}function rc(e){return Object.getOwnPropertyNames(e).filter(e=>0!==e.indexOf("_")).length}function sc(e,t){let i=e&&t&&!(e instanceof Array)&&!(t instanceof Array);return i=i&&rc(e)===rc(t),i&&Object.keys(e||{}).some(r=>{if(0!==r.indexOf("_")&&"function"!=typeof e[r]){if(e[r]instanceof Array)if(t[r]instanceof Array&&e[r].length===t[r].length)for(let s=0;s<e[r].length&&(i=sc(e[r][s],t[r][s]),!1!==i);s++);else i=!1;else i=e[r]instanceof Object?sc(e[r],t[r]):e[r]===t[r];return!i}}),i}function oc(e,t){return e+(t?"."+t:"")}function nc(){const e=Array.from(document.querySelectorAll("script[type='text/html']")).map(function(e){if(e.src){const t=new z;return fetch(e.src).then(e=>e.text()).then(i=>{e.text=i,-1===i.indexOf('type="text/html"')&&-1===i.indexOf("type='text/html'")||L(document.body).append(i),t.resolve()}).catch(()=>{t.reject()}),t.promise()}});return z.when(e).promise()}function ac(e){return wo(e,e=>{delete e["@Ref"]}),e}Ql([rr(null)],ec.prototype,"focusedItem",void 0),Ql([rr(null)],ec.prototype,"focusedImageClassName",void 0),Ql([rr(!1)],ec.prototype,"editorsRendered",void 0),Ql([rr(!0)],ec.prototype,"isSortingByGroups",void 0),Ql([rr(!1)],ec.prototype,"isSearching",void 0),Ql([rr(!1)],ec.prototype,"allEditorsCreated",void 0),Ql([rr("")],ec.prototype,"textToSearch",void 0),Ql([rr(!1)],ec.prototype,"popularPropertiesCollapsed",void 0);const dc={MenuButton:"dxrd-menubutton-template-base",Toolbar:"dxrd-toolbar-template-base",Toolbox:"dxrd-toolbox-template-base",GroupedToolbox:"dxrd-grouped-toolbox-template-base",Surface:"dxrd-surface-template-base",RightPanel:"dxrd-right-panel-template-base"};function lc(e){return[{id:dc.MenuButton,templateName:dc.MenuButton,model:e},{id:dc.Toolbar,templateName:dc.Toolbar,model:e},{id:dc.Toolbox,templateName:dc.Toolbox,model:e},{id:dc.Surface,templateName:dc.Surface,model:e},{id:dc.RightPanel,templateName:dc.RightPanel,model:e,viewModel:He(e.tabPanel)}]}function cc(e,t){return i=>{i.forEach(i=>{if(!i.wrappedWith||-1===i.wrappedWith.indexOf(e)){const r=i.clickAction;i.clickAction=e=>t(e,r),i.wrappedWith=i.wrappedWith||[],i.wrappedWith.push(e)}})}}function uc(e){const t=e;return"none"===t?$i("none","DataAccessStringId.ParameterListEmpty"):"(none)"===t?"(none)"!==$i("(none)","DxDesignerStringId.None")?$i("(none)","DxDesignerStringId.None"):"("+$i("none","DataAccessStringId.ParameterListEmpty")+")":t}function pc(e,t,i,r,s,o,n){const a=n,d=i;return Zi({starting:function(t){L(e).css(r===s?"right":"left","")},stopped:()=>{},stop:()=>{},resize:function(i,n){const a=ao(n.dataset.originalLeftMousePosition),l=ao(n.dataset.originalWidth),c=i.x-a;L(e).css({left:r===s?t+"px":"",right:r===s?"":t+"px"});const u=Math.min(Math.max(d,r===s?l+c:l-c),1e3);o&&o(u)},$element:e}).generateProperty("handles",r===s?"e":"w").generateProperty("disabled",a).generateProperty("minimumWidth",a?0:d).generateProperty("maximumWidth",1e3).getViewModel()}var hc=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class gc extends nr{mapToTabsCollection(){return this.tabs.map(e=>{const t=e.getViewModel();return t.click=()=>this.toggleTabVisibility({model:e},!1),t})}createViewModel(){return Zi(super.createViewModel()).generateProperty("width",this.headerWidth).generateProperty("class",this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")).generateProperty("tabs",this.mapToTabsCollection()).generateProperty("tabsElement",Zi().generateProperty("class",this.cssClasses()).getViewModel()).generateProperty("contentElement",Zi().generateProperty("class",this.cssClasses()).generateProperty("width",this.width).getViewModel()).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("getResizableOptions",this.getResizableOptions).getViewModel()}dispose(){super.dispose(),this.disposeArray(this.tabs)}updateViewModel(e){const t=this.getViewModel();"width"===e.propertyName&&(t.contentElement.width=this.width),"headerWidth"===e.propertyName&&(t.width=this.headerWidth),"isEmpty"!==e.propertyName&&"position"!==e.propertyName||(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":""),t.tabsElement.class=this.cssClasses(),t.contentElement.class=this.cssClasses()),"collapsed"===e.propertyName&&(t.class=this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")),"tabs"===e.propertyName&&(t.tabs=this.mapToTabsCollection())}onPropertyChanged(e){if("isEmpty"!==e.propertyName&&"width"!==e.propertyName||(this.headerWidth=this.isEmpty?0:50*this.zoomFactor+this.width),"collapsed"===e.propertyName){this.collapsed?this.width=0:this.width=this._width,this.tabs.forEach(e=>{e.collapsed=this.collapsed});const e=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+e,template:"dxrd-svg-tabs"+e};const t=this.collapsed?"Open":"Collapse";this.toggleCollapsedText=$i(t,"ASPxReportsStringId.SidePanel_"+t)}"width"===e.propertyName&&this.width&&(this._width=this.width,this.collapsed&&(this.width=0))}_onDisabledChanged(){const e=this.tabs.filter(e=>e.disabled);if(0!==e.length&&0!==e.filter(e=>e.active).length){e.forEach(e=>e.active=!1);const t=this.tabs.filter(e=>!e.disabled&&e.visible)[0];t&&this.selectTab({model:t})}}_onVisibilityChanged(){const e=this.tabs.filter(e=>e.visible);this.isEmpty=this.tabs.every(e=>!e.visible),0!==e.length?0===e.filter(e=>e.active).length&&(e[0].active=!0,this._autoSelectTab&&(this.collapsed=!0)):this.collapsed=!0}_subscribeTab(e){const t=[tt(e,"visible",e=>{this._onVisibilityChanged()}),tt(e,"disabled",e=>{this._onDisabledChanged()}),tt(e,"active",t=>{this._autoSelectTab&&e.active&&this.selectTab({model:e})}),tt(e,"collapsed",t=>{this.collapsed=e.collapsed})];return()=>t.forEach(e=>e())}constructor(e){super(),this.cssClasses=(e="")=>{const t=[e];return this.position===gc.Position.Left&&t.push("dxrd-tab-panel-left"),this.position===gc.Position.Right&&t.push("dxrd-tab-panel-right"),this.isEmpty&&t.push("dxrd-tab-panel-empty"),t.join(" ")};const t=e.tabs;this._autoSelectTab=e.autoSelectTab;let i=gc.Position.Right;e.rtl&&(i=gc.Position.Left),this.position=i;const r=Ir();this.zoomFactor=r;const s=this;this.tabs=t,this.toggleTabVisibility=(e,t=!1)=>{e.model===this.tabs.filter(e=>e.active)[0]?this.collapsed=!t&&!this.collapsed:this.selectTab(e)},this.selectTab=e=>{const t=e.model;t.disabled||(this.tabs.forEach(function(e){e.active=e===t}),this.collapsed=!1)},t&&t.length&&(this.isEmpty=this.tabs.every(e=>!e.visible),this.tabs.forEach(e=>{e.collapsed=this.collapsed})),this._onVisibilityChanged(),this._onDisabledChanged(),this._disposables.push(...t.map(e=>({dispose:this._subscribeTab(e)}))),this._width=e.width||370*r,this.width=this.collapsed?0:this._width,this.headerWidth=this.isEmpty?0:50*r+this.width;let o=()=>{};this.getResizableOptions=(e,t,i)=>{if(!this._resizableOptions||this._resizableOptions.$element!==e){const n=function(e){if(0===arguments.length)return s.width;s.width=e};this._resizableOptions=pc(e,r*t,i,s.position,gc.Position.Left,n,s.collapsed),o();const a=[tt(s,"position",e=>{this._resizableOptions.handles=s.position===gc.Position.Left?"e":"w"}),tt(s,"collapsed",e=>{this._resizableOptions.minimumWidth=s.collapsed?0:i,this._resizableOptions.disabled=this.collapsed})];o=()=>a.forEach(e=>e())}return this._resizableOptions},this._disposables.push({dispose:()=>{o(),this._resizableOptions=null,this.getResizableOptions=null}});const n=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+n,template:"dxrd-svg-tabs"+n},this.toggleCollapsedText=(()=>{const e=this.collapsed?"Open":"Collapse";return $i(e,"ASPxReportsStringId.SidePanel_"+e)})(),this.keyboardHelper=new Vr(this),this._disposables.push(this.keyboardHelper)}getTabByName(e){return this.tabs.filter(t=>t.name===e)[0]}removeTabs(){this.tabs.forEach(e=>e.events.dispose()),this.tabs.length=0}addTab(e){e.collapsed=this.collapsed,this.tabs.push(e),this._onVisibilityChanged(),this._onDisabledChanged(),this.addDisposable(this._subscribeTab(e))}}gc.Position={Left:"Left",Right:"Right"},hc([sr(()=>[])],gc.prototype,"tabs",void 0),hc([rr(!0)],gc.prototype,"isEmpty",void 0),hc([rr(!1)],gc.prototype,"collapsed",void 0),hc([rr(0)],gc.prototype,"width",void 0),hc([rr(0)],gc.prototype,"headerWidth",void 0),hc([rr(gc.Position.Right)],gc.prototype,"position",void 0),hc([rr(null)],gc.prototype,"toggleCollapsedImage",void 0),hc([rr("")],gc.prototype,"toggleCollapsedText",void 0);var mc=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class fc extends nr{deferredUpdateViewModel(){return!1}publishers(){return{model:()=>this.model,surface:()=>He(this.surface),undoEngine:()=>this.undoEngine,editableObject:()=>this.editableObject,isLoading:()=>this.isLoading,designMode:()=>this.designMode,surfaceSize:()=>this.surfaceSize,popularVisible:()=>this.popularVisible,groupActionsVisible:()=>this.groupActionsVisible,ContextMenusEnabled:()=>this.ContextMenusEnabled,contextActions:()=>this.readActionViewModels(this.contextActions),contextGroupActions:()=>(this.contextGroupActions||[]).map(e=>({group:e.group,items:this.readActionViewModels(e.items)})),dragDropStarted:()=>this.dragDropStarted,appMenuVisible:()=>this.appMenuVisible,displayNameProvider:()=>this.displayNameProvider,dataBindingsProvider:()=>this.dataBindingsProvider,addOns:()=>this.addOns,selection:()=>this.selection,snapHelper:()=>He(this.snapHelper),dragHandler:()=>this.dragHandler,toolboxDragHandler:()=>this.toolboxDragHandler,resizeHandler:()=>this.resizeHandler,dragHelperContent:()=>this.dragHelperContent,inlineTextEdit:()=>He(this.inlineTextEdit),controlsStore:()=>He(this.controlsStore),actionLists:()=>He(this.actionLists),toolboxItems:()=>je(this.toolboxItems||[]),groupedToolboxItems:()=>(this.groupedToolboxItems||[]).map(e=>({group:e.group,items:je(e.items||[])})),tabPanel:()=>He(this.tabPanel),parts:()=>this.parts,stopPropagation:()=>this.stopPropagation,contextMenu:()=>He(this.contextMenu),setMenuElement:()=>this.setMenuElement,rtl:()=>this.rtl,rootStyle:()=>this.rootStyle,accessibilityCompliant:()=>this.accessibilityCompliant,toggleAppMenu:()=>this.toggleAppMenu,onAppMenuHiding:()=>()=>{this.appMenuVisible=!1},hideContextMenu:()=>this.hideContextMenu,actionsGroupTitle:()=>this.actionsGroupTitle,getMenuPopupContainer:()=>this.getMenuPopupContainer,getMenuPopupTarget:()=>this.getMenuPopupTarget,dx:()=>this.dx,getLocalization:()=>this.getLocalization,getPopupContainer:()=>this.getPopupContainer,calculateWithZoomFactor:()=>this.calculateWithZoomFactor,containerClass:()=>this.containerClass,surfaceClass:()=>this.surfaceClass,partData:()=>this.partData}}createViewModel(){this.__publishers=this.publishers();const e=Zi(super.createViewModel());return Object.keys(this.__publishers).forEach(t=>e.generateProperty(t,this.__publishers[t]())),e.getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.__publishers?.[e.propertyName];t&&(this.getViewModel()[e.propertyName]=t())}readActionViewModels(e){return this.actionLists&&this.actionLists.createActionViewModel?(e||[]).map((e,t)=>this.actionLists.createActionViewModel(e,t)):[]}dispose(){this.resetViewModel(),this.__publishers=void 0,super.dispose()}}mc([rr()],fc.prototype,"rtl",void 0),mc([rr()],fc.prototype,"isLoading",void 0),mc([rr()],fc.prototype,"designMode",void 0),mc([rr()],fc.prototype,"surfaceSize",void 0),mc([rr()],fc.prototype,"popularVisible",void 0),mc([rr()],fc.prototype,"groupActionsVisible",void 0),mc([rr()],fc.prototype,"appMenuVisible",void 0),mc([rr()],fc.prototype,"ContextMenusEnabled",void 0),mc([rr()],fc.prototype,"accessibilityCompliant",void 0),mc([rr()],fc.prototype,"rootStyle",void 0),mc([rr()],fc.prototype,"selection",void 0),mc([rr()],fc.prototype,"snapHelper",void 0),mc([rr()],fc.prototype,"dragHelperContent",void 0),mc([rr()],fc.prototype,"dragHandler",void 0),mc([rr()],fc.prototype,"toolboxDragHandler",void 0),mc([rr()],fc.prototype,"resizeHandler",void 0),mc([rr()],fc.prototype,"inlineTextEdit",void 0),mc([rr()],fc.prototype,"controlsStore",void 0),mc([rr()],fc.prototype,"controlsHelper",void 0),mc([rr()],fc.prototype,"actionLists",void 0),mc([rr()],fc.prototype,"tabPanel",void 0),mc([rr()],fc.prototype,"propertyGrid",void 0),mc([rr()],fc.prototype,"popularProperties",void 0),mc([rr()],fc.prototype,"displayNameProvider",void 0),mc([rr()],fc.prototype,"dataBindingsProvider",void 0),mc([rr()],fc.prototype,"aiExpressionGenerator",void 0),mc([rr()],fc.prototype,"toolboxItems",void 0),mc([rr()],fc.prototype,"groupedToolboxItems",void 0),mc([rr()],fc.prototype,"parts",void 0),mc([rr()],fc.prototype,"addOns",void 0),mc([rr()],fc.prototype,"contextActionProviders",void 0),mc([rr()],fc.prototype,"contextMenus",void 0),mc([rr()],fc.prototype,"stopPropagation",void 0),mc([rr()],fc.prototype,"contextMenu",void 0),mc([rr()],fc.prototype,"setMenuElement",void 0),mc([rr()],fc.prototype,"toggleAppMenu",void 0),mc([rr()],fc.prototype,"hideContextMenu",void 0),mc([rr()],fc.prototype,"actionsGroupTitle",void 0),mc([rr()],fc.prototype,"getMenuPopupContainer",void 0),mc([rr()],fc.prototype,"getMenuPopupTarget",void 0),mc([rr()],fc.prototype,"updateFont",void 0),mc([rr()],fc.prototype,"sortFont",void 0),mc([rr()],fc.prototype,"dx",void 0),mc([rr()],fc.prototype,"getLocalization",void 0),mc([rr()],fc.prototype,"getPopupContainer",void 0),mc([rr()],fc.prototype,"calculateWithZoomFactor",void 0),mc([rr()],fc.prototype,"containerClass",void 0),mc([rr()],fc.prototype,"surfaceClass",void 0),mc([rr()],fc.prototype,"partData",void 0);class xc{constructor(e,t){this._context=e,this._rtl=t}addUndoEngine(e){return this._context.undoEngine=e,this}addSurface(e){return this._context.surface=e,this}getContext(){return this._context}}class vc{constructor(e){this._rtl=e}addModel(e){return new xc({model:e},this._rtl)}}class yc extends x{setHandler(e){f(e)&&this.addDisposable(e),this.handler=e}generate(){const e={};return this.handler&&(e.resizeHandler=this.handler),e}}class bc extends x{_actionUndoEngineWrappingFunction(e,t){return cc("WrapWithUndoEngine",(e,i)=>{const r=t?.();r&&r.start(),i(e),r&&r.end()})(e)}_collectActions(e,t,i){const r=e?.getValue(),s=[];return this.actionProviders.forEach(e=>{let t=e.getActions(r);i&&(t=t.filter(e=>i(e))),s.push.apply(s,t)}),this._actionUndoEngineWrappingFunction(s,t),s}get actionProviders(){return this._actionProviders}setActionProviders(e){this._disposables.push.apply(this._disposables,e),this._actionProviders=e}createDefaultActions(e,t){this.actions=ai(()=>this._collectActions(e,t,e=>!(e.isContextMenuAction||e.group)),()=>[Ot(e)])}createDefaultGroupAction(e,t){this.groupActions=ai(()=>ic(this._collectActions(e,t),e=>e.group&&e.group()),()=>[Ot(e)])}createDefaultContextMenuActions(e,t){this.actions=ai(()=>this._collectActions(e,t,e=>e.isContextMenuAction&&!e.group),()=>[Ot(e)])}generate(){const e={};return this.actionProviders&&(e.contextActionProviders=this.actionProviders),e}generateContextMenu(e){const t=e,i={text:we("Properties","AnalyticsCoreStringId.Cmd_Properties"),clickAction:()=>{const i=t.tabPanel.getTabByName("Properties");e.tabPanel.selectTab({model:i})},imageTemplateName:"dxrd-svg-properties-propertiesmenu",disabled:!1,visible:!0,hasSeparator:!0},r=()=>[...this.groupActions?.getValue()??[],...this.actions?.getValue()??[],...t.actionLists?.toolbarItems??[],i],s=ai(()=>r(),()=>[this.groupActions,this.actions]);void 0===e.ContextMenusEnabled&&(e.ContextMenusEnabled=!0);const o=new ul({actions:s,target:"."+t.containerClass+" .dxrd-context-menu-container",contextMenusEnabled:zt(e,"ContextMenusEnabled"),getClickActionParams:()=>e.selection.focused?.getControlModel(),fullScreen:e.fullScreen});return this._disposables.push(o),{contextMenu:o}}}class Cc extends x{constructor(){super(...arguments),this._model={}}get dragHelperContent(){return this._dragHelperContent}setDragHelperContent(e){this._disposables.push(e),this._dragHelperContent=e}get dragDropStarted(){return this._dragDropStarted}setDragDropStarted(e){this._disposables.push(e),this._dragDropStarted=e}addDragDropHandler(e,t){this._disposables.push(t),this._model[e]=t}generate(){const e=this._model;return this.dragHelperContent&&(e.dragHelperContent=this.dragHelperContent),e}}class wc extends x{constructor(e,t){super(),this._selection=e,this._context=t,this._model={}}generate(){const e=this._model;return this.controlsHelper&&(e.controlsHelper=this.controlsHelper),e}addControlsHelper(e){return this.controlsHelper=e||new Eo(this._context.model,[{added:e=>{},deleted:e=>{e.surface===this._selection.focused&&(this._selection.focused=e.surface.findNextSelection())}}]),this._disposables.push(this.controlsHelper),this}addControlsStore(e){return e=e||new qn(this.controlsHelper,"allControls"),this._disposables.push(e),this._model.controlsStore=e,this}}class _c extends x{constructor(){super(...arguments),this.stopPropagation=!1}generate(){const e={};return this.toggleAppMenu&&(e.toggleAppMenu=this.toggleAppMenu),this.getMenuPopupContainer&&(e.getMenuPopupContainer=this.getMenuPopupContainer),this.getMenuPopupTarget&&(e.getMenuPopupTarget=this.getMenuPopupTarget),e.stopPropagation=this.stopPropagation,e}}class Ac extends x{constructor(){super(...arguments),this._dragDropSettings=new Cc,this._resizeSettings=new yc}dispose(){this.editableObject?.setValue(null),super.dispose(),this.removeProperties()}get selection(){return this._selection}setSelection(e){this._disposables.push(e),this._selection=e}get snapHelper(){return this._snapHelper}setSnapHelper(e){this._disposables.push(e),this._snapHelper=e}get dragDropStarted(){return this._dragDropSettings.dragDropStarted}addDragDrop(e){e(this._dragDropSettings),this._disposables.push(this._dragDropSettings)}addResize(e){e(this._resizeSettings),this._disposables.push(this._resizeSettings)}generate(){const e={};return this.selection&&(e.selection=this.selection),this.snapHelper&&(e.snapHelper=this.snapHelper),xe(e,this._dragDropSettings.generate(),this._resizeSettings.generate())}}class Ec{_createPopularProperties(e,t){const i=[];return t.forEach(t=>{const r=e.filter(e=>e.propertyName===t)[0];r&&i.push(r)}),i}get rtl(){return this._rtl}setRtl(e){this._rtl=e,this.designerModel.rtl=e}constructor(e,t,i){this._context=e,this._rtl=t,this._selectionSettings=new Ac,this.designerModel=i||new fc,this.designerModel.rtl=this._rtl}addDisposable(...e){this.designerModel.addDisposable(...e)}initializeContext(e){return this._context=e,this}addElement(e,t){this.designerModel[e]=t();const i=this.designerModel[e];return f(i)&&this.addDisposable(i),this}mapOnContext(){const e=e=>{const t=this._context[e];t&&this.designerModel.assignDerivedProperty(e,t)};return e("model"),e("surface"),e("undoEngine"),this}get context(){return this._context}addSelection(e){return e(this._selectionSettings),this.addDisposable(this._selectionSettings),xe(this.designerModel,this._selectionSettings.generate()),this._installEditableObject(),this._installDragDropStarted(),this}_installDragDropStarted(){const e=this._selectionSettings.dragDropStarted;"function"==typeof e?this.designerModel.assignDerivedProperty("dragDropStarted",()=>e(),()=>[e]):void 0!==e&&(this.designerModel.dragDropStarted=!!e)}_installEditableObject(){const e=this._selectionSettings.editableObject;e&&this.designerModel.assignDerivedProperty("editableObject",e)}addPropertyGrid(e,t="propertyGrid"){return this.designerModel[t]=e&&e(),this.addDisposable(this.designerModel[t]),this}addContextMenu(e){this.designerModel.contextMenus||(this.designerModel.contextMenus=[]),this.designerModel.contextMenus.push(e)}addControlProperties(e,t,i){return this.addPropertyGrid(()=>this.createControlProperties(e,t,i))}createControlProperties(e,t,i){const r=new ec(zt(this.designerModel,"editableObject"),{editorsInfo:{groups:t,editors:e},useAddons:!0,useLocalizableDescriptions:!0,rootContext:this.designerModel});return i&&r.registerAccessibilityProvider(i),r}addPopularProperties(e,t){const i=(e,t,i)=>{Object.defineProperty(e,i,{configurable:!0,enumerable:!0,get:()=>t[i],set:e=>{t[i]=e}})};return this.addPropertyGrid(()=>{const r=new Fl(ai(()=>{const t={getInfo:()=>[]},r=this.designerModel.editableObject;if(r){const s=e.controlsMap[r.controlType],o=this._createPopularProperties(s&&s.info||[],s&&s.popularProperties||[]);o.forEach(e=>{e.propertyName in r&&i(t,r,e.propertyName)}),t.events=r.events,t.getInfo=()=>o,t.root=r.root,t.actions=r.actions,t.actionProviders=r.actionProviders,t.getPath=e=>r.getPath&&r.getPath(e)||"",t.getPathPropertyDependencies=e=>r.getPathPropertyDependencies?.(e)||[],t.getModel=()=>r,t.isPropertyModified=e=>!!r.isPropertyModified&&r.isPropertyModified(e),t.getModifiedPropertyDependencies=e=>r.getModifiedPropertyDependencies?.(e)||[],t.getActionClassName=e=>r.getActionClassName?r.getActionClassName(e):"",t.getMenuBoxTemplate=e=>r.getMenuBoxTemplate?r.getMenuBoxTemplate(e):"",t.getActionsPropertyDependencies=e=>r.getActionsPropertyDependencies?.(e)||[],t.isPropertyVisible=e=>o.some(t=>t.propertyName===e)&&(!r.isPropertyVisible||r.isPropertyVisible(e,!0)),t.getVisiblePropertyDependencies=e=>r.getVisiblePropertyDependencies?.(e)||[],t.isPropertyHighlighted=e=>!!r.isPropertyHighlighted&&r.isPropertyHighlighted(e),t.getHighlightedPropertyDependencies=e=>r.getHighlightedPropertyDependencies?.(e)||[],t.isPropertyDisabled=e=>!!r.isPropertyDisabled&&r.isPropertyDisabled(e),t.getDisabledPropertyDependencies=e=>r.getDisabledPropertyDependencies?.(e)||[],t.isSame=e=>e===r,["name","displayName"].forEach(e=>{e in r&&i(t,r,e)})}return t},()=>[qt(this.designerModel,["editableObject"])]),{rootContext:this.designerModel});return t&&r.registerAccessibilityProvider(t),r},"popularProperties")}addToolboxItems(e){return this.designerModel.toolboxItems=e&&e(),this}addGroupedToolboxItems(){return this.designerModel.groupedToolboxItems=ic(this.designerModel.toolboxItems,e=>e.info.group),this}addTabPanel(e,t=()=>[]){const i=e&&e()||new gc({tabs:t(),rtl:this._rtl,width:396});return this.designerModel.tabPanel=i,this.addDisposable(i),this}addIsLoading(e=()=>!0){return this.designerModel.isLoading=e(),this}addControlsHelper(e){const t=new wc(this._selectionSettings.selection,this._context);return e(t),this.addDisposable(t),xe(this.designerModel,t.generate()),this}addMenu(e){const t=new _c;return e(t),this.addDisposable(t),xe(this.designerModel,t.generate()),this}addContextActions(e){const t=new bc;e(t),this.addDisposable(t),xe(this.designerModel,t.generate()),this._installContextActions(t);const i=t.generateContextMenu(this.designerModel);return xe(this.designerModel,i),this.addContextMenu(i.contextMenu),this.designerModel.hideContextMenu=()=>this.designerModel.contextMenus.forEach(e=>e.hide()),this}_installContextActions(e){const t=(e,t)=>{t&&this.designerModel.assignDerivedProperty(e,t)};t("contextActions",e.actions),t("contextGroupActions",e.groupActions)}addParts(e=e=>e,t=!0){let i=[];return t&&(i=lc(this.designerModel)),this.designerModel.parts=e(i),this}getModel(){return this.designerModel}addActionList(e){const t=e&&e()||new ll(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,()=>{});return this.addDisposable(t),this.designerModel.actionLists=t,this}}const Sc=Cr({});var Ic=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Pc extends nr{updateViewModel(e){const t=this.getViewModel();"visible"===e.propertyName&&(t.visible=this.visible),"imageClassName"===e.propertyName&&(t.image.class=this.imageClassName),"imageTemplateName"===e.propertyName&&(t.image.templateName=this.imageTemplateName),"active"!==e.propertyName&&"disabled"!==e.propertyName||(t.css.class=`${this.active?"dxd-state-active dxd-state-no-hover":""} ${this.disabled?"dxrd-tab-item-disabled":""}`),"disabled"===e.propertyName&&(t.disabled=this.disabled),"active"===e.propertyName&&(t.active=this.active),"model"===e.propertyName&&(t.model=He(this.model)),"collapsed"===e.propertyName&&(t.collapsed=this.collapsed),"hotKey"===e.propertyName&&(t.title=this.getTitle(),t.ariaKeyShortcuts=Za(this.hotKey)),!this.keyboardHelper||"active"!==e.propertyName&&"collapsed"!==e.propertyName||this.active&&!this.collapsed&&void 0!==e.oldValue&&setTimeout(()=>this.focus())}onPropertyChanged(e){"visible"!==e.propertyName||e.newValue||(this.active=!1)}createViewModel(){return Zi(super.createViewModel()).generateProperty("text",this.text).generateProperty("title",this.getTitle()).generateProperty("ariaKeyShortcuts",Za(this.hotKey)).generateProperty("image",Zi().generateProperty("class",this.imageClassName).generateProperty("templateName",this.imageTemplateName).getViewModel()).generateProperty("click",()=>{}).generateProperty("css",Zi().generateProperty("class",`${this.active?"dxd-state-active dxd-state-no-hover":""} ${this.disabled?"dxrd-tab-item-disabled":""}`).getViewModel()).generateProperty("disabled",this.disabled).generateProperty("visible",this.visible).generateProperty("active",this.active).generateProperty("collapsed",this.collapsed).generateProperty("template",this.template).generateProperty("model",He(this.model)).generateProperty("keyboardHelper",this.keyboardHelper).getViewModel()}constructor(e){super(),this.visible=!("visible"in e)||e.visible,this.disabled="disabled"in e&&e.disabled;const t=e.imageClassName||e.text.toLowerCase();this._text=e.text,this.name=e.text,this._localizationId=e.localizationId,this.imageClassName="dxrd-image-"+t,this.imageTemplateName=e.imageTemplateName||Ui.getExistingTemplate("dxrd-svg-tabs-"+e.text.toLowerCase()),this.template=e.template,this._disposables.push(e.model,e.keyboardHelper),this.model=e.model,this.keyboardHelper=e.keyboardHelper}focus(){this.keyboardHelper&&this.keyboardHelper.focus(document.getElementsByClassName("dxrd-tab-item dxd-state-active")[0])}get text(){return we(this._text,this._localizationId)}getTitle(){return Ja(this.text,this.hotKey)}}function Dc(e,t,i,r={},s=[],o,n,a,d,l,c,u,p,h){const g=new vc(n).addModel(e).addSurface(t).addUndoEngine(l||Lt(new pa(e,void 0,"getInfo"))).getContext(),m=()=>g.undoEngine.getValue(),f=()=>g.surface.getValue(),x=new Ec(g,n,h);return x.mapOnContext().addSelection(e=>{e.setSelection(a||new ra),e.setSnapHelper(new Sa(f,Sa.snapTolerance,u||new Aa)),e.editableObject=ia.getEditableObject(e.selection,m,c),e.addDragDrop(t=>{t.setDragHelperContent(new go(e.selection)),t.setDragDropStarted(lo.started),t.addDragDropHandler("dragHandler",new mo(f,e.selection,m,e.snapHelper,t.dragHelperContent)),t.addDragDropHandler("toolboxDragHandler",new fo(f,e.selection,m,e.snapHelper,t.dragHelperContent,i))}),e.addResize(t=>{t.setHandler({starting:()=>{a.expectClick=!0,m().start()},stopped:()=>{m().end(),setTimeout(()=>{a.expectClick=!1},100)},disabled:br(lo.started),snapHelper:e.snapHelper})})}).addToolboxItems(()=>lr(i.controlsMap)).addElement("appMenuVisible",()=>!1).addIsLoading().addPopularProperties(i).addControlProperties(s,r).addControlsHelper(e=>{e.addControlsHelper(d).addControlsStore()}).addTabPanel(void 0,()=>{const t=x.getModel().propertyGrid,i=new Pc({text:"Properties",template:"dxrd-propertiestab",model:t,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:!!e.getValue(),disabled:t.focusedItem instanceof Array});return x.addDisposable(tt(t,"focusedItem",e=>{i.disabled=e instanceof Array})),x.addDisposable(e.setValueChangedEvent?.(e=>{i.visible=!!e})),[i]}).addContextActions(e=>{e.setActionProviders([]),e.createDefaultActions(zt(x.getModel(),"editableObject"),m)}).addMenu(e=>{e.toggleAppMenu=function(){e.appMenuVisible.setValue(!e.appMenuVisible.getValue())},e.getMenuPopupContainer=e=>L(e).closest(".dxrd-menu-button").prev(".dxrd-menu-container"),e.getMenuPopupTarget=e=>L(e).closest(".dxrd-menu-button").find(".dxrd-menu-place")}).addElement("inlineTextEdit",()=>new Uo(x.getModel().selection)).addElement("actionsGroupTitle",()=>()=>$i("Actions","AnalyticsCoreStringId.Actions")).addElement("updateFont",()=>e=>{Sc({...Sc(),...e})}).addElement("sortFont",()=>()=>{const e={},t=Sc();Object.keys(t).sort((e,t)=>e.localeCompare(t)).forEach(i=>e[i]=t[i]),Sc(e)}).addElement("surfaceSize",()=>0).addElement("popularVisible",()=>{const e=()=>{const e=x.getModel();return e.popularProperties.visible||e.contextActions&&e.contextActions.length>0},t=()=>{x.getModel().popularVisible=e()};return x.addDisposable(rt(x.getModel().popularProperties,["visible"],t)),x.addDisposable(tt(x.getModel(),"contextActions",t)),e()}).addElement("groupActionsVisible",()=>!1).addActionList().addParts().getModel()}Ic([rr(!1)],Pc.prototype,"active",void 0),Ic([rr(!0)],Pc.prototype,"visible",void 0),Ic([rr(!1)],Pc.prototype,"disabled",void 0),Ic([rr(null)],Pc.prototype,"model",void 0),Ic([rr(void 0)],Pc.prototype,"hotKey",void 0),Ic([rr(void 0)],Pc.prototype,"collapsed",void 0);class Tc{_patchRequest(e,t){if(t?.length)for(let i=0;i<t.length;i++){if(t[i].id===e.id&&e.id)return void(e.ref=void 0);if(t[i].ref===e.ref&&e.ref)return void(e.id=void 0)}}_beforeFieldListCallback(e,t){return!!this._extenders&&this._extenders.some(i=>i.beforeItemsFilled(e,t))}_afterFieldListCallBack(e,t){this._extenders&&this._extenders.forEach(i=>{i.afterItemsFilled&&i.afterItemsFilled(e,t)})}constructor(e,t,i,r=!1){this.deferreds=[],this._extenders=i,this.itemsChanged=di(()=>[Ot(t),...(this._extenders||[]).map(e=>e.itemsChanged)]),this.getItems=i=>{const s=new z,o=[];if(this._beforeFieldListCallback(i,o))s.resolve(o);else if(t&&!i.fullPath){const e=Ft(t);o.push.apply(o,e?.map(e=>{const t={name:e.id||e.ref,displayName:e.name,isList:!0,specifics:e.specifics||"ListSource",dragData:{noDragable:!1}};return r&&delete t.dragData,t})||[]),this._afterFieldListCallBack(i,o),s.resolve(o)}else this._patchRequest(i,Ft(t)),this.deferreds.push(s),e(i).done(e=>{o.push.apply(o,e),this._afterFieldListCallBack(i,o),s.resolve(o)}).fail(e=>s.reject(e)).always(()=>this.deferreds.splice(this.deferreds.indexOf(s),1));return s.promise()},this.dispose=()=>{this.getItems=null,e=null,this.deferreds.forEach(e=>e.reject())}}}const Vc=console.warn;class Mc extends or{}function kc(e,t){const i=new Mc,r=i;return Object.keys(e).forEach(t=>{Array.isArray(e[t])?r.assignArrayProperty(t,e[t]):r.assignProperty(t,e[t])}),t&&Object.keys(t).forEach(e=>{i[e]=t[e]}),i}function Fc(){os(()=>{}),console.warn=function(){}}function $c(){ns(),console.warn=Vc}function Oc(e,t){const i=[];return e.split("\n").forEach((e,r)=>{const s=e.indexOf("<style>");-1!==s&&i.push(`${t}:${r+1}:${s+1} Contains '<style>' tag`);const o=e.indexOf('style="');-1!==o&&i.push(`${t}:${r+1}:${o+1} Contains 'style' attribute`)}),i}const Nc=(e,t,i,r,s,o,n=e=>!e.success,a=is,d="POST")=>{const l=new z;let c;const u={ajaxSetup:Ws,fetchSetup:Us},p=js.getInstance(u);return void 0!==t&&void 0!==i&&("string"==typeof i&&js.getRequestContentType()!==Ns.FormUrlEncoded||(i=Hs(i,!0,!1)),c={actionKey:t,arg:i,dxversions:Hs(Co)}),p.sendRequest(xe({},{type:d,data:c,url:e},o)).fail((t,i,o)=>{s&&s()?l.reject():(us.call({jqXHR:t,textStatus:i,errorThrown:o,getRequestDetails:()=>c||e}),cs(o,l,t,i,r))}).done((t,i,o)=>{if(t)if(n(t)){if(s&&s())return void l.reject();us.call({jqXHR:o,textStatus:i,data:t,errorThrown:a(o),getRequestDetails:()=>c||e}),cs("Internal Server Error",l,o,i,r)}else l.resolve(t.result);else l.reject()}),l.promise()};function Bc(e){return Nc(e.uri,e.action,e.arg,e.processErrorCallback,e.ignoreError,e.customOptions,e.isError,e.getErrorMessage,e.method)}function Lc(e){zc=e}let zc=(...e)=>e.length>1?Nc.apply(void 0,e):Bc(e[0]);function Hc(e,t=!0){return e.editor=Js.getEditor("text"),e.editorOptions={mode:"password"},t&&(e.editorOptions.inputAttr={autocomplete:"new-password"}),e}var Rc;!function(e){e.Date="Date",e.DateTime="DateTime",e.Time="Time",e.Integer="Integer",e.String="String",e.Bool="Bool",e.Float="Float",e.Enum="Enum",e.Guid="guid"}(Rc||(Rc={}));const jc=e=>e.concat(...["Calc","Sum"].map(t=>e.map(e=>t+e))),Gc=new Set(jc([Rc.Integer,Rc.Float])),Wc=new Set(jc([Rc.Date,Rc.DateTime,Rc.Time]));function Uc(e){return Gc.has(e)}function qc(e){return Wc.has(e)}function Kc(e){return e<768?"xs":e<992?"sm":e<1200?"md":e<1380?"lg":"xl"}function Yc(e){return He(e&&"viewModel"in e?e.viewModel:e?.model)}const Zc={_static:{searchPlaceholder:()=>De(),selectPlaceholder:()=>Ie(),noDataText:()=>Pe(),ajaxSetup:Ws}},Jc=Cr({});function Xc(e,t=Zc,i){t&&(e.dx={...t,...Jc()}),e.getLocalization=function(){return $i.apply(e,arguments)},e.getPopupContainer=Gd,e.partData=Yc,e.calculateWithZoomFactor=Pr,e.containerClass="dx-designer-"+oa(),e.surfaceClass=t=>"dx-designer-viewport dx-designer-viewport-"+Kc(t.clientWidth)+" "+(Gd(t,".dx-theme-generic")?"":" dx-theme-generic")+" "+e.containerClass+(i?" "+i:"")}function Qc(){return As.Deferred()}var eu=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class tu extends _l{constructor(e,t){super(e,t),this.updateModel(this.value)}createViewModel(){return Zi(super.createViewModel()).generateProperty("left",this.left).generateProperty("right",this.right).generateProperty("top",this.top).generateProperty("bottom",this.bottom).getViewModel()}onPropertyChanged(e){super.onPropertyChanged(e),"value"===e.propertyName&&this.updateModel(e.newValue)}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();t.left=this.left,t.right=this.right,t.top=this.top,t.bottom=this.bottom}}function iu(e,t){e.left=t,e.bottom=t,e.right=t,e.top=t}eu([rr(!1)],tu.prototype,"left",void 0),eu([rr(!1)],tu.prototype,"right",void 0),eu([rr(!1)],tu.prototype,"top",void 0),eu([rr(!1)],tu.prototype,"bottom",void 0);class ru{static fromString(e){const t=new ru,i=e||"None";return-1!==i.indexOf("All")?iu(t,!0):-1!==i.indexOf("None")?iu(t,!1):(t.left=-1!==i.indexOf("Left"),t.top=-1!==i.indexOf("Top"),t.right=-1!==i.indexOf("Right"),t.bottom=-1!==i.indexOf("Bottom")),t}}class su extends tu{createViewModel(){return Zi(super.createViewModel()).generateProperty("setValue",this.setValue.bind(this)).generateProperty("setAll",this.setAll.bind(this)).generateProperty("setNone",this.setNone.bind(this)).getViewModel()}setValue(e){this.disabled||(this[e]=!this[e],this.updateValue())}setAll(){this.disabled||(iu(this,!0),this.updateValue())}setNone(){this.disabled||(iu(this,!1),this.updateValue())}updateModel(e){const t=ru.fromString(e);this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom}updateValue(){const e=[];this.left&&this.right&&this.top&&this.bottom?e.push("All"):this.left||this.right||this.top||this.bottom?(this.left&&e.push("Left"),this.right&&e.push("Right"),this.top&&e.push("Top"),this.bottom&&e.push("Bottom")):e.push("None"),this.setEditorValue(e.join(","))}}const ou=DevExpress.registerComponent;var nu=e.n(ou);const au=DevExpress.ui.dxButton;var du=e.n(au);const lu=e=>({render:function(t){const i=L(document.createElement("i")).addClass("dx-icon");e?(i.addClass(e),i.addClass("dx-icon-"+e),i.addClass("dx-icon-dxrd")):t.model.icon&&i.addClass(t.model.icon),t.model.icon&&(i[0].innerHTML=zr(t.model.icon));const r=i.get(0);if(L(t.container).append(r),t.model.text){const e=L(document.createElement("span")).addClass("dx-button-text")[0];e.textContent=t.model.text,L(t.container).append(e)}}}),cu={render:function(e){lu(e.model.iconClass).render(e)}};class uu extends(du()){constructor(e,t){t.template=cu,super(e,t)}_patchOptionValues(e){const t=super._patchOptionValues.call(this,e),i={iconClass:e.iconClass};return t.templateData={...t.templateData,...i},t}}function pu(e,t){const i=new uu(e,t);return()=>i?.dispose()}nu()("dxButtonWithTemplate",uu);class hu extends x{initActions(e){this.actions=e.map(e=>e instanceof Qd?e:new Qd(e)),this.addDisposable(...this.actions)}getActions(e){return this.condition(e)?this.actions:[]}condition(e){return!0}}function gu(e,t,i){const{onInitialized:r,onDomUpdated:s,onCleanUp:o,controlElementClassName:n}=t;let a=null;const d=new MutationObserver(()=>{null===a&&(a=requestAnimationFrame(()=>{a=null,n&&e.querySelector(`.${n}`)&&s()}))});return d.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]}),r(e,i),()=>{d.disconnect(),null!==a&&cancelAnimationFrame(a),o()}}const mu=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"];function fu(e,t){for(let i=0;i<mu.length;i++)e.style[mu[i]]="scale("+t+")";L(e).addClass("dxrd-transform-origin-left-top")}const xu=DevExpress.ui.dxLoadPanel;var vu=e.n(xu);function yu(e,t){return"parent"===t||t===e?e:e.find(t)}An("cssArray",{update:function(e,t,i,r,s){const o=t();for(let t=0;t<o.length;t++)Sn("css").update(e,()=>o[t],i,r,s)}}),An("selectable",{init:function(e,t,i,r,s){const o=t(),n=o.selection,a=xe({filter:".dxd-selectable",distance:1},o,{selecting:function(e,t){const i={control:Xt.dataFor(t),cancel:!1,ctrlKey:e.ctrlKey};n.selecting(i),i.cancel&&L(t).removeClass("ui-selecting")},start:(e,t)=>{n.clickHandler(null,e),n.expectClick=!0,n.started=!0},stop:()=>{n.started=!1,setTimeout(()=>{n.expectClick=!1},100),n.applySelection()},unselecting:function(e,t){n.unselecting(Xt.dataFor(t))}}),d=new xn(e,a),l=n.disabled.setValueChangedEvent(e=>xn.disabled=e);yr(e,()=>{d.dispose(),e=null,l()})}}),An("updateTop",{init:function(e,t,i,r,s){const o=t(),n=L(e),a=t=>{const i=e.getBoundingClientRect().height/e.offsetHeight,r=0===t||t?t:n.prev().position().top/i+n.prev().outerHeight();n.css("top",r+"px")},d=o.subscribe(e=>{a(e)});a(o()),yr(e,function(){d.dispose()})}});const bu="draggableInitializedPropertyName";function Cu(e,t,i,r,s){const o=t();if(!o)return;const n=L(e),a=o.parent&&o.parent()||n.closest(".dx-designer-viewport"),d=o.containment||".dxrd-ghost-container";let l,c,u;const p=s.$root,h={left:0,top:0},g=e=>{e.delta={left:(c&&c.left||0)-u.left,top:(c&&c.top||0)-u.top},e.scroll={left:l.scrollLeft()-h.left,top:l.scrollTop()-h.top}},m=xe({},o,{start:function(e,t){lo.started(!0),l=a.find(".dxrd-viewport"),c=a.find(".dxrd-ghost-container").offset(),u=yu(a,d).offset(),h.left=l.scrollLeft(),h.top=l.scrollTop(),o.startDrag&&o.startDrag(Xt.dataFor(t))},stop:function(e,t){g(t),o.stopDrag(t,Xt.dataFor(t),e),lo.started(!1)},drag:function(e,t){g(t),o.drag&&o.drag(e,t,Xt.dataFor(t))},helper:function(e,t){const i=function(e,t){if(!e)return{top:0,left:0};const i=yu(e,t);return{top:i.offset().top,left:i.offset().left}}(a,m.containment);if(o.helper){const r=o.helper(Xt.dataFor(t),e);if(r)return r.css({position:"absolute"}),r[0].dataset.startLeftPosition=no(e.pageX-i.left),r[0].dataset.startTopPosition=no(e.pageY-i.top),r}const r=zr(p.dragHelperContent.template),s=Xt.dataFor(t),n=L(r);return n.css({display:o.helper?"block":"none",position:"absolute"}),n[0].dataset.startLeftPosition=no(s.absolutePosition?s.absolutePosition.x:e.pageX-i.left),n[0].dataset.startTopPosition=no(s.absolutePosition?s.absolutePosition.y:e.pageY-i.top),n.prependTo(yu(a,m.containment)),Xt.applyBindingsToDescendants(p.dragHelperContent.getViewModel(),n[0]),n}});m.containment=yu(a,m.containment),function(e){const t=e.parentElement.classList.contains("dxrd-toolbox-item");t&&(e.dataset.startDragWithOffset="true")}(e),m.disabled=()=>p.inlineTextEdit&&p.inlineTextEdit.visible&&e===p.inlineTextEdit.element;const f=new hn(e,m);e.dataset[bu]=!0,yr(e,()=>{f.dispose(),e=null})}An("draggable",{init:Cu,update:(e,...t)=>{e.dataset[bu]||Cu(e,...t)}});const wu="dxd-track-cursor";An("trackCursor",{init:function(e,t,i,r,s){const o=L(e);o.addClass(wu);const n=t(),a=n;let d,l,c=!1;a.recalculateBounds?(c=a.recalculateBounds,d=a.underCursor):d=n;const u=s.$root,p=document.body,h=document.documentElement,g=e=>{u.selection.started&&u.resizeHandler.started||(d.isNotDropTarget?u.selection.dropTarget=null:(u.selection.dropTarget=ze(s.$data),e.stopPropagation()))},m=t=>{d.isOver=!0,u.selection.started&&u.resizeHandler.started||(l=e.getBoundingClientRect())},f=e=>{d.isOver=!1},x=t=>{if(l&&!c||(l=e.getBoundingClientRect()),!u.selection.started||!u.resizeHandler.started){const e=window.pageYOffset||h.scrollTop||p.scrollTop,i=window.pageXOffset||h.scrollLeft||p.scrollLeft,r=h.clientTop||p.clientTop||0,s=h.clientLeft||p.clientLeft||0,o=t.pageY-(l.top+e-r),n=t.pageX-(l.left+i-s);d.trackPosition(n,o)}};e.addEventListener("mousemove",x),!c&&e.addEventListener("mouseenter",m),e.addEventListener("mouseover",g),e.addEventListener("mouseleave",f),e.addEventListener("dragover",x),yr(e,function(){e.removeEventListener("dragover",x),e.removeEventListener("mousemove",x),e.removeEventListener("mouseover",g),e.removeEventListener("mouseleave",f),!c&&e.removeEventListener("mouseenter",m),o.removeClass(wu)})}}),An("templates",{init:function(e,t){const i=T(t()).textContent;return L(e).append(i),{controlsDescendantBindings:!0}}}),An("zoom",{update:(e,t)=>fu(e,t())}),An("keyDownActions",(()=>{const e=fr();return{init:function(t,i){const r=i(),s=e.bindHandler(e=>r.processShortcut(e),r.enabled,t);yr(t,()=>s())}}})()),An("dxMutationObserver",{init:function(e,t,i,r,s){if(!t())return;const o=s.$root,n=bn(e,"childrenComplete",()=>{yr(e,gu(e,t(),o.accessibilityCompliant))});yr(e,()=>n.dispose())}}),An("dxAction",{init:(e,t)=>{const i=t(),r=function(e){i.action.call(i.model,i.model,e)},s=function(e){e.key!=Mi.Enter&&e.key!=Mi.Space||i.action.call(i.model,i.model,e)};e.addEventListener("click",r),e.addEventListener("keydown",s),yr(e,function(){e.removeEventListener("click",r),e.removeEventListener("keydown",s)})}}),An("dxAILoadingPanel",{init:(e,t)=>{const{visible:i,text:r,cancelButton:s,showPane:o,...n}=t(),a=document.createElement("div");e.append(a),n.width=o?n.width??"auto":"100%";const d=new(vu())(a,{...n,height:o?"auto":"100%",maxWidth:"100%",maxHeight:"100%",indicatorOptions:{animationType:"sparkle",width:o?48:90,height:o?48:90},wrapperAttr:{...n.wrapperAttr,class:[n.wrapperAttr?.class,o?"dxrd-ai-panel-loading-wrapper":"dxrd-ai-panel-loading-wrapper-no-pane"].filter(Boolean).join(" ")},onContentReady:e=>{if(!s)return;const t=T(e.component.content()),i=t.querySelector(".dx-loadpanel-content-wrapper")||t,r=document.createElement("div");r.classList.add("dxrd-ai-panel-loading-cancel-button"),new(du())(r,s),i.append(r)},showPane:!!o,message:r??n.message??""}),l=$t(i);d.option("visible",!!l.getValue());const c=l.setValueChangedEvent?.(e=>{d.option("visible",e)});yr(e,function(){d.dispose(),c&&c()})}});const _u={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"},Au=[{display:"Aggregate",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Aggregate",category:"Aggregate",items:{Avg:[{paramCount:1,text:"[].Avg()",displayName:"Avg()",descriptionStringId:"ExpressionEditorStringId.Function_AvgAggregate"}],Count:[{paramCount:1,text:"[].Count()",displayName:"Count()",descriptionStringId:"ExpressionEditorStringId.Function_CountAggregate"}],Exists:[{paramCount:1,text:"[].Exists()",displayName:"Exists()",descriptionStringId:"ExpressionEditorStringId.Function_ExistsAggregate"}],Max:[{paramCount:1,text:"[].Max()",displayName:"Max()",descriptionStringId:"ExpressionEditorStringId.Function_MaxAggregate"}],Min:[{paramCount:1,text:"[].Min()",displayName:"Min()",descriptionStringId:"ExpressionEditorStringId.Function_MinAggregate"}],Single:[{paramCount:1,text:"[].Single()",displayName:"Single()",descriptionStringId:"ExpressionEditorStringId.Function_SingleAggregate"}],Sum:[{paramCount:1,text:"[].Sum()",displayName:"Sum()",descriptionStringId:"ExpressionEditorStringId.Function_SumAggregate"}]}},{display:"Date-Time",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_DateTime",items:{AddDays:[{paramCount:2,text:"AddDays(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddDays"}],AddHours:[{paramCount:2,text:"AddHours(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddHours"}],AddMilliSeconds:[{paramCount:2,text:"AddMilliSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMilliSeconds"}],AddMinutes:[{paramCount:2,text:"AddMinutes(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMinutes"}],AddMonths:[{paramCount:2,text:"AddMonths(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMonths"}],AddSeconds:[{paramCount:2,text:"AddSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddSeconds"}],AddTicks:[{paramCount:2,text:"AddTicks(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTicks"}],AddTimeSpan:[{paramCount:2,text:"AddTimeSpan(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTimeSpan"}],AddYears:[{paramCount:2,text:"AddYears(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddYears"}],DateDiffDay:[{paramCount:2,text:"DateDiffDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffDay"}],DateDiffHour:[{paramCount:2,text:"DateDiffHour(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffHour"}],DateDiffMilliSecond:[{paramCount:2,text:"DateDiffMilliSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMilliSecond"}],DateDiffMinute:[{paramCount:2,text:"DateDiffMinute(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMinute"}],DateDiffMonth:[{paramCount:2,text:"DateDiffMonth(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMonth"}],DateDiffSecond:[{paramCount:2,text:"DateDiffSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffSecond"}],DateDiffTick:[{paramCount:2,text:"DateDiffTick(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffTick"}],DateDiffYear:[{paramCount:2,text:"DateDiffYear(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffYear"}],GetDate:[{paramCount:1,text:"GetDate()",descriptionStringId:"ExpressionEditorStringId.Function_GetDate"}],GetDay:[{paramCount:1,text:"GetDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetDay"}],GetDayOfWeek:[{paramCount:1,text:"GetDayOfWeek()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfWeek"}],GetDayOfYear:[{paramCount:1,text:"GetDayOfYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfYear"}],GetHour:[{paramCount:1,text:"GetHour()",descriptionStringId:"ExpressionEditorStringId.Function_GetHour"}],GetMilliSecond:[{paramCount:1,text:"GetMilliSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetMilliSecond"}],GetMinute:[{paramCount:1,text:"GetMinute()",descriptionStringId:"ExpressionEditorStringId.Function_GetMinute"}],GetMonth:[{paramCount:1,text:"GetMonth()",descriptionStringId:"ExpressionEditorStringId.Function_GetMonth"}],GetSecond:[{paramCount:1,text:"GetSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetSecond"}],GetTimeOfDay:[{paramCount:1,text:"GetTimeOfDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetTimeOfDay"}],GetYear:[{paramCount:1,text:"GetYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetYear"}],GetOffset:[{paramCount:1,text:"GetOffset()",descriptionStringId:"ExpressionEditorStringId.Function_GetOffset"}],GetOffsetTimeSpan:[{paramCount:1,text:"GetOffsetTimeSpan()",descriptionStringId:"ExpressionEditorStringId.Function_GetOffsetTimeSpan"},{paramCount:2,text:"GetOffsetTimeSpan(, )",descriptionStringId:"ExpressionEditorStringId.Function_GetOffsetTimeSpan2"}],SwitchOffset:[{paramCount:2,text:"SwitchOffset(, )",descriptionStringId:"ExpressionEditorStringId.Function_SwitchOffset"}],ToDateTime:[{paramCount:1,text:"ToDateTime()",descriptionStringId:"ExpressionEditorStringId.Function_ToDateTime"}],ToDateTimeOffset:[{paramCount:2,text:"ToDateTimeOffset(, )",descriptionStringId:"ExpressionEditorStringId.Function_ToDateTimeOffset"}],ConvertToTimeZone:[{paramCount:2,text:"ConvertToTimeZone(, )",descriptionStringId:"ExpressionEditorStringId.Function_ConvertToTimeZone"}],IsApril:[{paramCount:1,text:"IsApril()",descriptionStringId:"ExpressionEditorStringId.Function_IsApril"}],IsAugust:[{paramCount:1,text:"IsAugust()",descriptionStringId:"ExpressionEditorStringId.Function_IsAugust"}],IsDecember:[{paramCount:1,text:"IsDecember()",descriptionStringId:"ExpressionEditorStringId.Function_IsDecember"}],IsFebruary:[{paramCount:1,text:"IsFebruary()",descriptionStringId:"ExpressionEditorStringId.Function_IsFebruary"}],IsJanuary:[{paramCount:1,text:"IsJanuary()",descriptionStringId:"ExpressionEditorStringId.Function_IsJanuary"}],IsJuly:[{paramCount:1,text:"IsJuly()",descriptionStringId:"ExpressionEditorStringId.Function_IsJuly"}],IsJune:[{paramCount:1,text:"IsJune()",descriptionStringId:"ExpressionEditorStringId.Function_IsJune"}],IsLastMonth:[{paramCount:1,text:"IsLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastMonth"}],IsLastYear:[{paramCount:1,text:"IsLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastYear"}],IsMarch:[{paramCount:1,text:"IsMarch()",descriptionStringId:"ExpressionEditorStringId.Function_IsMarch"}],IsMay:[{paramCount:1,text:"IsMay()",descriptionStringId:"ExpressionEditorStringId.Function_IsMay"}],IsNextMonth:[{paramCount:1,text:"IsNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextMonth"}],IsNextYear:[{paramCount:1,text:"IsNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextYear"}],IsNovember:[{paramCount:1,text:"IsNovember()",descriptionStringId:"ExpressionEditorStringId.Function_IsNovember"}],IsOctober:[{paramCount:1,text:"IsOctober()",descriptionStringId:"ExpressionEditorStringId.Function_IsOctober"}],IsSeptember:[{paramCount:1,text:"IsSeptember()",descriptionStringId:"ExpressionEditorStringId.Function_IsSeptember"}],IsThisMonth:[{paramCount:1,text:"IsThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisMonth"}],IsThisWeek:[{paramCount:1,text:"IsThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisWeek"}],IsThisYear:[{paramCount:1,text:"IsThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisYear"}],IsYearToDate:[{paramCount:1,text:"IsYearToDate()",descriptionStringId:"ExpressionEditorStringId.Function_IsYearToDate"}],LocalDateTimeDayAfterTomorrow:[{paramCount:1,text:"LocalDateTimeDayAfterTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeDayAfterTomorrow"}],LocalDateTimeLastMonth:[{paramCount:1,text:"LocalDateTimeLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastMonth"}],LocalDateTimeLastWeek:[{paramCount:1,text:"LocalDateTimeLastWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastWeek"}],LocalDateTimeLastYear:[{paramCount:1,text:"LocalDateTimeLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastYear"}],LocalDateTimeNextMonth:[{paramCount:1,text:"LocalDateTimeNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextMonth"}],LocalDateTimeNextWeek:[{paramCount:1,text:"LocalDateTimeNextWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextWeek"}],LocalDateTimeNextYear:[{paramCount:1,text:"LocalDateTimeNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextYear"}],LocalDateTimeNow:[{paramCount:1,text:"LocalDateTimeNow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNow"}],LocalDateTimeThisMonth:[{paramCount:1,text:"LocalDateTimeThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisMonth"}],LocalDateTimeThisWeek:[{paramCount:1,text:"LocalDateTimeThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisWeek"}],LocalDateTimeThisYear:[{paramCount:1,text:"LocalDateTimeThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisYear"}],LocalDateTimeToday:[{paramCount:1,text:"LocalDateTimeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeToday"}],LocalDateTimeTomorrow:[{paramCount:1,text:"LocalDateTimeTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTomorrow"}],LocalDateTimeTwoMonthsAway:[{paramCount:1,text:"LocalDateTimeTwoMonthsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoMonthsAway"}],LocalDateTimeTwoWeeksAway:[{paramCount:1,text:"LocalDateTimeTwoWeeksAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoWeeksAway"}],LocalDateTimeTwoYearsAway:[{paramCount:1,text:"LocalDateTimeTwoYearsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoYearsAway"}],LocalDateTimeYearBeforeToday:[{paramCount:1,text:"LocalDateTimeYearBeforeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYearBeforeToday"}],LocalDateTimeYesterday:[{paramCount:1,text:"LocalDateTimeYesterday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYesterday"}],LocalDateTimeOffsetDayAfterTomorrow:[{paramCount:1,text:"LocalDateTimeOffsetDayAfterTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetDayAfterTomorrow"}],LocalDateTimeOffsetLastMonth:[{paramCount:1,text:"LocalDateTimeOffsetLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetLastMonth"}],LocalDateTimeOffsetLastWeek:[{paramCount:1,text:"LocalDateTimeOffsetLastWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetLastWeek"}],LocalDateTimeOffsetLastYear:[{paramCount:1,text:"LocalDateTimeOffsetLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetLastYear"}],LocalDateTimeOffsetNextMonth:[{paramCount:1,text:"LocalDateTimeOffsetNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetNextMonth"}],LocalDateTimeOffsetNextWeek:[{paramCount:1,text:"LocalDateTimeOffsetNextWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetNextWeek"}],LocalDateTimeOffsetNextYear:[{paramCount:1,text:"LocalDateTimeOffsetNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetNextYear"}],LocalDateTimeOffsetNow:[{paramCount:1,text:"LocalDateTimeOffsetNow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetNow"}],LocalDateTimeOffsetThisMonth:[{paramCount:1,text:"LocalDateTimeOffsetThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetThisMonth"}],LocalDateTimeOffsetThisWeek:[{paramCount:1,text:"LocalDateTimeOffsetThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetThisWeek"}],LocalDateTimeOffsetThisYear:[{paramCount:1,text:"LocalDateTimeOffsetThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetThisYear"}],LocalDateTimeOffsetToday:[{paramCount:1,text:"LocalDateTimeOffsetToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetToday"}],LocalDateTimeOffsetTomorrow:[{paramCount:1,text:"LocalDateTimeOffsetTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetTomorrow"}],LocalDateTimeOffsetTwoMonthsAway:[{paramCount:1,text:"LocalDateTimeOffsetTwoMonthsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetTwoMonthsAway"}],LocalDateTimeOffsetTwoWeeksAway:[{paramCount:1,text:"LocalDateTimeOffsetTwoWeeksAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetTwoWeeksAway"}],LocalDateTimeOffsetTwoYearsAway:[{paramCount:1,text:"LocalDateTimeOffsetTwoYearsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetTwoYearsAway"}],LocalDateTimeOffsetYearBeforeToday:[{paramCount:1,text:"LocalDateTimeOffsetYearBeforeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetYearBeforeToday"}],LocalDateTimeOffsetYesterday:[{paramCount:1,text:"LocalDateTimeOffsetYesterday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeOffsetYesterday"}],Now:[{paramCount:1,text:"Now()",descriptionStringId:"ExpressionEditorStringId.Function_Now"}],Today:[{paramCount:1,text:"Today()",descriptionStringId:"ExpressionEditorStringId.Function_Today"}],UtcNow:[{paramCount:1,text:"UtcNow()",descriptionStringId:"ExpressionEditorStringId.Function_UtcNow"}],IsSameDay:[{paramCount:2,text:"IsSameDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_IsSameDay"}],InDateRange:[{paramCount:3,text:"InDateRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InDateRange"}],DateTimeFromParts:[{paramCount:6,text:"DateTimeFromParts(, , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts6"}],DateOnlyFromParts:[{paramCount:3,text:"DateOnlyFromParts(, , )",descriptionStringId:"ExpressionEditorStringId.Function_DateOnlyFromParts"}],TimeOnlyFromParts:[{paramCount:4,text:"TimeOnlyFromParts(, , , )",descriptionStringId:"ExpressionEditorStringId.Function_TimeOnlyFromParts2"}],DateTimeOffsetFromParts:[{paramCount:7,text:"DateTimeOffsetFromParts(, , , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeOffsetFromParts7"},{paramCount:8,text:"DateTimeOffsetFromParts(, , , , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeOffsetFromParts8"}],AfterMidday:[{paramCount:1,text:"AfterMidday()",descriptionStringId:"ExpressionEditorStringId.Function_AfterMidday"}],BeforeMidday:[{paramCount:1,text:"BeforeMidday()",descriptionStringId:"ExpressionEditorStringId.Function_BeforeMidday"}],IsAfternoon:[{paramCount:1,text:"IsAfternoon()",descriptionStringId:"ExpressionEditorStringId.Function_IsAfternoon"}],IsEvening:[{paramCount:1,text:"IsEvening()",descriptionStringId:"ExpressionEditorStringId.Function_IsEvening"}],IsFreeTime:[{paramCount:1,text:"IsFreeTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsFreeTime"}],IsLastHour:[{paramCount:1,text:"IsLastHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastHour"}],IsLunchTime:[{paramCount:1,text:"IsLunchTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsLunchTime"}],IsMorning:[{paramCount:1,text:"IsMorning()",descriptionStringId:"ExpressionEditorStringId.Function_IsMorning"}],IsNextHour:[{paramCount:1,text:"IsNextHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextHour"}],IsNight:[{paramCount:1,text:"IsNight()",descriptionStringId:"ExpressionEditorStringId.Function_IsNight"}],IsSameHour:[{paramCount:1,text:"IsSameHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsSameHour"}],IsSameTime:[{paramCount:1,text:"IsSameTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsSameTime"}],IsThisHour:[{paramCount:1,text:"IsThisHour()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisHour"}],IsWorkTime:[{paramCount:1,text:"IsWorkTime()",descriptionStringId:"ExpressionEditorStringId.Function_IsWorkTime"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalLastWeek:null,IsOutlookIntervalPriorThisYear:null}},{display:"Logical",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Logical",items:{Iif:[{paramCount:3,text:"Iif(, , )",descriptionStringId:"ExpressionEditorStringId.Function_Iif"}],InRange:[{paramCount:3,text:"InRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InRange"}],IsNull:[{paramCount:1,text:"IsNull()",descriptionStringId:"ExpressionEditorStringId.Function_IsNull"}],IsNullOrEmpty:[{paramCount:1,text:"IsNullOrEmpty()",descriptionStringId:"ExpressionEditorStringId.Function_IsNullOrEmpty"}]}},{display:"Math",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Math",items:{Abs:[{paramCount:1,text:"Abs()",descriptionStringId:"ExpressionEditorStringId.Function_Abs"}],Sqr:[{paramCount:1,text:"Sqr()",descriptionStringId:"ExpressionEditorStringId.Function_Sqr"}],Cos:[{paramCount:1,text:"Cos()",descriptionStringId:"ExpressionEditorStringId.Function_Cos"}],Sin:[{paramCount:1,text:"Sin()",descriptionStringId:"ExpressionEditorStringId.Function_Sin"}],Atn:[{paramCount:1,text:"Atn()",descriptionStringId:"ExpressionEditorStringId.Function_Atn"}],Exp:[{paramCount:1,text:"Exp()",descriptionStringId:"ExpressionEditorStringId.Function_Exp"}],Log:[{paramCount:1,text:"Log()",descriptionStringId:"ExpressionEditorStringId.Function_Log"},{paramCount:2,text:"Log(, )",descriptionStringId:"ExpressionEditorStringId.Function_Log_2"}],Rnd:[{paramCount:0,text:"Rnd()",descriptionStringId:"ExpressionEditorStringId.Function_Rnd"}],Tan:[{paramCount:1,text:"Tan()",descriptionStringId:"ExpressionEditorStringId.Function_Tan"}],Power:[{paramCount:2,text:"Power(, )",descriptionStringId:"ExpressionEditorStringId.Function_Power"}],Sign:[{paramCount:1,text:"Sign()",descriptionStringId:"ExpressionEditorStringId.Function_Sign"}],Round:[{paramCount:1,text:"Round()",descriptionStringId:"ExpressionEditorStringId.Function_Round"},{paramCount:2,text:"Round(, )",descriptionStringId:"ExpressionEditorStringId.Function_Round_2"}],Ceiling:[{paramCount:1,text:"Ceiling()",descriptionStringId:"ExpressionEditorStringId.Function_Ceiling"}],Floor:[{paramCount:1,text:"Floor()",descriptionStringId:"ExpressionEditorStringId.Function_Floor"}],Max:[{paramCount:2,text:"Max(, )",descriptionStringId:"ExpressionEditorStringId.Function_Max"}],Min:[{paramCount:2,text:"Min(, )",descriptionStringId:"ExpressionEditorStringId.Function_Min"}],Acos:[{paramCount:1,text:"Acos()",descriptionStringId:"ExpressionEditorStringId.Function_Acos"}],Asin:[{paramCount:1,text:"Asin()",descriptionStringId:"ExpressionEditorStringId.Function_Asin"}],Atn2:[{paramCount:2,text:"Atn2(, )",descriptionStringId:"ExpressionEditorStringId.Function_Atn2"}],BigMul:[{paramCount:2,text:"BigMul(, )",descriptionStringId:"ExpressionEditorStringId.Function_BigMul"}],Cosh:[{paramCount:1,text:"Cosh()",descriptionStringId:"ExpressionEditorStringId.Function_Cosh"}],Log10:[{paramCount:1,text:"Log10()",descriptionStringId:"ExpressionEditorStringId.Function_Log10"}],Sinh:[{paramCount:1,text:"Sinh()",descriptionStringId:"ExpressionEditorStringId.Function_Sinh"}],Tanh:[{paramCount:1,text:"Tanh()",descriptionStringId:"ExpressionEditorStringId.Function_Tanh"}],ToInt:[{paramCount:1,text:"ToInt()",descriptionStringId:"ExpressionEditorStringId.Function_ToInt"}],ToLong:[{paramCount:1,text:"ToLong()",descriptionStringId:"ExpressionEditorStringId.Function_ToLong"}],ToFloat:[{paramCount:1,text:"ToFloat()",descriptionStringId:"ExpressionEditorStringId.Function_ToFloat"}],ToDouble:[{paramCount:1,text:"ToDouble()",descriptionStringId:"ExpressionEditorStringId.Function_ToDouble"}],ToDecimal:[{paramCount:1,text:"ToDecimal()",descriptionStringId:"ExpressionEditorStringId.Function_ToDecimal"}]}},{display:"String",localizationId:"DataAccessStringId.ExpressionEditor_FunctionCategory_Text",items:{Trim:[{paramCount:1,text:"Trim()",descriptionStringId:"ExpressionEditorStringId.Function_Trim"}],Len:[{paramCount:1,text:"Len()",descriptionStringId:"ExpressionEditorStringId.Function_Len"}],Substring:[{paramCount:3,text:"Substring('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Substring_3"},{paramCount:2,text:"Substring('', )",descriptionStringId:"ExpressionEditorStringId.Function_Substring"}],Upper:[{paramCount:1,text:"Upper()",descriptionStringId:"ExpressionEditorStringId.Function_Upper"}],Lower:[{paramCount:1,text:"Lower()",descriptionStringId:"ExpressionEditorStringId.Function_Lower"}],Concat:[{paramCount:1/0,text:"Concat(, )",descriptionStringId:"ExpressionEditorStringId.Function_Concat"}],Ascii:[{paramCount:1,text:"Ascii('')",descriptionStringId:"ExpressionEditorStringId.Function_Ascii"}],Char:[{paramCount:1,text:"Char()",descriptionStringId:"ExpressionEditorStringId.Function_Char"}],ToStr:[{paramCount:1,text:"ToStr()",descriptionStringId:"ExpressionEditorStringId.Function_ToStr"}],Replace:[{paramCount:3,text:"Replace('','', '')",descriptionStringId:"ExpressionEditorStringId.Function_Replace"}],Reverse:[{paramCount:1,text:"Reverse('')",descriptionStringId:"ExpressionEditorStringId.Function_Reverse"}],Insert:[{paramCount:3,text:"Insert('', , '')",descriptionStringId:"ExpressionEditorStringId.Function_Insert"}],CharIndex:[{paramCount:2,text:"CharIndex('','')",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex"},{paramCount:3,text:"CharIndex('','', )",descriptionStringId:"ExpressionEditorStringId.Function_CharIndex_3"}],Remove:[{paramCount:2,text:"Remove('', )",descriptionStringId:"ExpressionEditorStringId.Function_Remove"},{paramCount:3,text:"Remove('', , )",descriptionStringId:"ExpressionEditorStringId.Function_Remove_3"}],PadLeft:[{paramCount:2,text:"PadLeft(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft"},{paramCount:3,text:"PadLeft(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadLeft_3"}],PadRight:[{paramCount:2,text:"PadRight(, )",descriptionStringId:"ExpressionEditorStringId.Function_PadRight"},{paramCount:3,text:"PadRight(, , '')",descriptionStringId:"ExpressionEditorStringId.Function_PadRight_3"}],StartsWith:[{paramCount:2,text:"StartsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_StartsWith"}],EndsWith:[{paramCount:2,text:"EndsWith('', '')",descriptionStringId:"ExpressionEditorStringId.Function_EndsWith"}],Contains:[{paramCount:0,text:"Contains('', '')",descriptionStringId:"ExpressionEditorStringId.Function_Contains"}],Join:[{paramCount:1,text:"Join()",descriptionStringId:"ExpressionEditorStringId.Function_Join"},{paramCount:2,text:"Join(, '')",descriptionStringId:"ExpressionEditorStringId.Function_Join_2"}]}}],Eu=(e,t)=>{if(Array.isArray(t))return t.forEach(t=>{const i=e.find(e=>e.display===t.display);i?i.items={...i.items,...t.items}:e.push(t)}),e;const i=[];return e.forEach(e=>{const r=t[e.display],s=xe({},e.items,r);Object.keys(s).length&&i.push(r?{display:e.display,category:e.category,localizationId:e.localizationId,items:s}:e)}),i},Su=Cr(Au),Iu=()=>Su(Au);function Pu(e){const t=xe(!0,[],Su());return Eu(t,e)}const Du=[{text:"+",image:"addition",descriptionStringId:"ExpressionEditorStringId.Operator_Plus"},{text:"-",image:"subtraction",descriptionStringId:"ExpressionEditorStringId.Operator_Minus"},{text:"*",image:"multiplication",descriptionStringId:"ExpressionEditorStringId.Operator_Multiply"},{text:"/",image:"division",descriptionStringId:"ExpressionEditorStringId.Operator_Divide"},{text:"%",image:"modulus",hasSeparator:!0,descriptionStringId:"ExpressionEditorStringId.Operator_Modulo"},{text:"()",image:"parenthesis",hasSeparator:!0},{text:"|",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseOr"},{text:"&",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseAnd"},{text:"^",descriptionStringId:"ExpressionEditorStringId.Operator_BitwiseXor"},{text:"==",image:"equal",descriptionStringId:"ExpressionEditorStringId.Operator_Equal"},{text:"!=",image:"not_equal",descriptionStringId:"ExpressionEditorStringId.Operator_NotEqual"},{text:"<",image:"less",descriptionStringId:"ExpressionEditorStringId.Operator_Less"},{text:"<=",image:"less_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_LessOrEqual"},{text:">=",image:"greater_or_equal",descriptionStringId:"ExpressionEditorStringId.Operator_GreaterOrEqual"},{text:">",hasSeparator:!0,image:"greater",descriptionStringId:"ExpressionEditorStringId.Operator_Greater"},{text:"In",descriptionStringId:"ExpressionEditorStringId.Operator_In"},{text:"Like",descriptionStringId:"ExpressionEditorStringId.Operator_Like"},{text:"Between",descriptionStringId:"ExpressionEditorStringId.Operator_Between"},{text:"And",image:"and",descriptionStringId:"ExpressionEditorStringId.Operator_And"},{text:"Or",image:"or",descriptionStringId:"ExpressionEditorStringId.Operator_Or"},{text:"Not",image:"not",descriptionStringId:"ExpressionEditorStringId.Operator_Not"}];var Tu=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Vu extends nr{deferredUpdateViewModel(){return!1}constructor(e){super(),this.options=e,this.templateName=e.templateName,this.assignDerivedProperty("content",e.content),e.visible?this.assignDerivedProperty("visible",e.visible):this.assignProperty("visible",!0)}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"content"===e.propertyName&&(t.content=this.content),"visible"===e.propertyName&&(t.visible=this.visible)}createViewModel(){return Zi(super.createViewModel()).generateProperty("templateName",this.templateName).generateProperty("content",this.content).generateProperty("click",e=>this.options.click&&this.options.click(e)).generateProperty("dblclick",(e,t)=>this.options.dblclick&&this.options.dblclick(e,t)).generateProperty("visible",this.visible).getViewModel()}}class Mu extends nr{deferredUpdateViewModel(){return!1}constructor(e,t){super(),this.name=e,this.showDescription=t}updateViewModel(e){super.updateViewModel(e),"isSelected"===e.propertyName&&(this.getViewModel().isSelected=this.isSelected)}createViewModel(){return Zi(super.createViewModel()).generateProperty("name",this.name).generateProperty("showDescription",this.showDescription).generateProperty("isSelected",this.isSelected).generateProperty("data",this.getData()).getViewModel()}}Tu([rr(!1)],Mu.prototype,"isSelected",void 0);class ku extends Mu{constructor(e,t,i="dx-expressioneditor-fields"){super(i,!1),this.assignDerivedProperty("data",()=>({fields:Ft(e),parameters:Ft(t)}),()=>[mi(e),mi(t)])}updateViewModel(e){super.updateViewModel(e),"data"===e.propertyName&&(this.getViewModel().data=this.data)}getData(){return this.data}}class Fu extends Mu{constructor(e,t,i="dx-expressioneditor-collection"){super(i,t),this.items=e}getData(){return Zi().createDefaultModel(this).generateProperty("items",this.items).generateProperty("selectedItem",this.selectedItem).generateProperty("selectItem",e=>{this.selectedItem=e}).getViewModel()}updateViewModel(e){super.updateViewModel(e),"selectedItem"===e.propertyName&&(this.getViewModel().data.selectedItem=this.selectedItem)}}Tu([rr(null)],Fu.prototype,"selectedItem",void 0);class $u extends Mu{constructor(){super("dx-expressioneditor-collection-function",!0)}filterItems(){clearTimeout(this.searchTimeout),this.availableItems=this.textToSearch?this.items.filter(e=>!!Ai(e.text,this.textToSearch)):this.items}onPropertyChanged(e){"items"===e.propertyName&&this.filterItems(),"textToSearch"===e.propertyName&&(clearTimeout(this.searchTimeout),this.searchTimeout=setTimeout(()=>this.filterItems(),150))}dispose(){clearTimeout(this.searchTimeout),super.dispose()}getData(){return Zi().createDefaultModel(this).generateProperty("items",this.items).generateProperty("availableItems",this.availableItems).generateProperty("selectedItem",this.selectedItem).generateProperty("selectItem",e=>{this.selectedItem=e}).generateProperty("textToSearch",this.textToSearch).generateProperty("onTextToSearchChanged",e=>{this.textToSearch=e.value}).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel().data;"selectedItem"===e.propertyName&&(t.selectedItem=this.selectedItem),"textToSearch"===e.propertyName&&(t.textToSearch=this.textToSearch),"items"===e.propertyName&&(t.items=this.items),"availableItems"===e.propertyName&&(t.availableItems=this.availableItems)}}Tu([rr("")],$u.prototype,"textToSearch",void 0),Tu([rr(null)],$u.prototype,"selectedItem",void 0),Tu([rr(()=>[])],$u.prototype,"items",void 0),Tu([rr(()=>[])],$u.prototype,"availableItems",void 0);class Ou extends nr{deferredUpdateViewModel(){return!1}constructor(e,t,i){super(),this.displayName=e,this.groups=t,this.onSelected=i,this.allItems=[].concat(...t.map(e=>e.data)),this.content=new $u,this.assignDerivedProperty("isSelected",()=>this.holdsSelection(null),()=>this.selectionSources()),this.addDisposable(this.content),this.content.items=this.allItems}holdsSelection(e){return this.content.isSelected&&this.selectedGroup===e}selectionSources(){return[qt(this.content,["isSelected"]),qt(this,["selectedGroup"])]}selectHeader(){this.selectedGroup=null,this.content.items=this.allItems,this.onSelected(this.content.getViewModel())}selectGroup(e){this.selectedGroup=e,this.content.items=e.data,this.onSelected(this.content.getViewModel())}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"collapsed"===e.propertyName&&(t.collapsed=this.collapsed),"isSelected"===e.propertyName&&(t.isSelected=this.isSelected)}createViewModel(){const e=Zi(super.createViewModel()).generateProperty("displayName",this.displayName).generateProperty("templateName","dx-expressioneditor-category-accordion").generateProperty("content",this.content.getViewModel()).generateProperty("collapsed",this.collapsed).generateProperty("collapsedAccessor",zt(this,"collapsed")).generateProperty("isSelected",this.isSelected).generateProperty("items",this.groups.map(e=>Zi({display:e.display,data:e.data,select:()=>this.selectGroup(e)}).generateProperty("isSelected",!1).getViewModel())).generateProperty("allItems",this.allItems).generateProperty("selectHeader",()=>this.selectHeader()).getViewModel();return this.addDisposable(gi(()=>this.selectionSources(),()=>e.items.forEach((e,t)=>{e.isSelected=this.holdsSelection(this.groups[t])}))),e}}Tu([rr(!0)],Ou.prototype,"collapsed",void 0),Tu([rr(null)],Ou.prototype,"selectedGroup",void 0);class Nu extends nr{deferredUpdateViewModel(){return!1}localizedExpressionEditorItem(e){return e.descriptionStringId?$i(e.text,e.descriptionStringId):e.description?e.description:e.text}initDescription(e){e.description=this.localizedExpressionEditorItem(e)}own(e){return this.ownedCategories.push(e),e}createFieldsCategory(e,t){const i=this.own(new ku(e,t));return{displayName:$i("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:i.getViewModel()}}createConstantCategory(){return Lu([{text:"?",descriptionStringId:"ExpressionEditorStringId.Constant_Null"},{text:"False",descriptionStringId:"ExpressionEditorStringId.Constant_False"},{text:"True",descriptionStringId:"ExpressionEditorStringId.Constant_True"}],"Constants","DataAccessStringId.ExpressionEditor_DocumentationCategory_Constants",!0)}createOperatorsCategory(e){return Lu(e,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)}createFunctionsCategoryGroup(e,t){const i=[];return Object.keys(e||{}).forEach(t=>{const r=e[t];r&&r.forEach(e=>{this.initDescription(e),i.push(e)})}),i.sort((e,t)=>this.compareFunctionItems(e,t)),{display:t,data:i}}compareFunctionItems(e,t){const i=e.displayName||e.text,r=t.displayName||t.text;return i?.localeCompare(r)}createFunctionsCategory(){return this.own(new Ou($i("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),this.functionGroups(),e=>this.selectContent(e))).getViewModel()}functionGroups(){const e=this.expressionOptions.getValue();return(e&&e.functions||Su()).map(e=>this.createFunctionsCategoryGroup(e.items,$i(e.display,e.localizationId)))}disposeCategories(){this.categories.forEach(e=>e.dispose&&e.dispose()),this.ownedCategories.forEach(e=>e.dispose()),this.ownedCategories=[]}constructor(e,t,i,r){super(),this.parametersOptions=t,this.expressionOptions=i,this.fieldListOptions=r,this.tabs=[],this.ownedCategories=[],this.searchPlaceholder=()=>De(),this.defaultClick=e,Du.filter(e=>!!e.descriptionStringId).forEach(e=>this.initDescription(e)),this.assignDerivedProperty("showDescription",()=>!!this.selectedContent&&this.selectedContent.showDescription,()=>[qt(this,["selectedContent"])]),this.tabs=[new Vu({templateName:"dx-expressioneditor-categories",content:ai(()=>this.categories,()=>[qt(this,["categories"])]),click:e=>this.onCategoryClick(e)}),new Vu({templateName:"dx-expressioneditor-selectedcontent",content:ai(()=>this.selectedContent&&this.selectedContent.getViewModel(),()=>[qt(this,["selectedContent"])]),click:e=>{this.description=this.localizedExpressionEditorItem(e)},dblclick:this.defaultClick}),new Vu({templateName:"dx-expressioneditor-description",content:ai(()=>this.description,()=>[qt(this,["description"])]),visible:ai(()=>this.showDescription,()=>[qt(this,["showDescription"])])})],this.tabs.forEach(e=>this.addDisposable(e)),this.toolBox=this.tabs.map(e=>e.getViewModel()),this.addDisposable(gi(()=>[this.expressionOptions,this.expressionOptions.getValue()&&qt(this.expressionOptions.getValue(),["functions"])],()=>this.updateCategories()))}updateCategories(){this.disposeCategories();const e=[this.createFieldsCategory(this.fieldListOptions,this.parametersOptions),this.createConstantCategory(),this.createFunctionsCategory(),this.createOperatorsCategory(Du)],t=this.expressionOptions.getValue();t&&t.customizeCategories&&t.customizeCategories(this,e,this.defaultClick),e.forEach(e=>{if(e.content&&!this.resolveContent(e.content))throw new Error(`The '${e.displayName}' expression editor category must provide content created by createExpressionEditorCollectionToolOptions() or an ExpressionEditorContent view model.`)}),this.categories=e,this.resetCategoriesSelection()}resetCategoriesSelection(){const e=this.categories[0];e&&e.content&&this.selectContent(e.content)}resolveContent(e){const t=ze(e);return t instanceof Mu?t:void 0}onCategoryClick(e){const t=this.resolveContent(e),i=t&&t.selectedItem,r=t&&t.items;this.description=i&&r&&-1!==r.indexOf(i)?this.localizedExpressionEditorItem(i):void 0,this.selectContent(e)}selectContent(e){const t=this.resolveContent(e);this.selectedContent!==t&&(this.selectedContent&&(this.selectedContent.isSelected=!1),this.selectedContent=t,t&&(t.isSelected=!0))}createViewModel(){return Zi(super.createViewModel()).generateProperty("toolBox",this.toolBox).generateProperty("searchPlaceholder",()=>this.searchPlaceholder()).getViewModel()}dispose(){super.dispose(),this.disposeCategories()}}Tu([rr(()=>[])],Nu.prototype,"categories",void 0),Tu([rr(void 0)],Nu.prototype,"description",void 0),Tu([rr(null)],Nu.prototype,"selectedContent",void 0);const Bu="range";function Lu(e,t,i,r){const s=new Fu(e,r);return{displayName:$i(t,i),content:s.getViewModel(),dispose:()=>s.dispose()}}class zu extends x{_previousSymbol(){const e=this._editor.getCursorPosition();return this._editor.session.getLine(e.row)[e.column-1]}beforeInsertMatch(e,t,i){const r=e.getCursorPosition();if("Parameters."===i)(t=t||!this._isInContext()&&e.session.getTokenAt(r.row,r.column))&&("support.variable.other"===t.type||"support.function"===t.type?e.session.remove({start:{column:t.start-1||0,row:r.row},end:{column:Math.max(t.start+t.value.length||0,r.column),row:r.row}}):"support.variable.parameter"===t.type?e.session.remove({start:{column:t.start||0,row:r.row},end:{column:Math.max(t.start+t.value.length+1||0,r.column),row:r.row}}):"text"===t.type&&"?"===t.value[t.value.length-1]&&e.session.remove({start:{column:t.start+t.value.length-1||0,row:r.row},end:{column:t.start+t.value.length||0,row:r.row}}));else{if(!(t=t||e.session.getTokenAt(r.row,r.column)))return;let i=null;"support.variable.other"===t.type||"support.function"===t.type?i=Math.max(t.start+t.value.length||0,r.column):"support.context.start"===t.type&&r.column<t.start+t.value.length&&(i=t.start+t.value.length-1||0),null!==i&&e.session.remove({start:{column:t.start||0,row:r.row},end:{column:i,row:r.row}})}}insertMatch(e,t,i){"Parameters."===t?e.insert("?"+i):e.insert("["+(t||"")+i+"]")}generateFieldDisplayName(e,t){return"Parameters."===e?"?"+t:"["+t+"]"}_convertDataMemberInfoToCompletions(e,t,i=""){return(e||[]).map(e=>{const r=this.generateFieldDisplayName(i,e.displayName);return{caption:e.displayName||e.name,snippet:r,meta:jd(e)&&$i("list","DxDesignerStringId.CodeCompletion_List")||$i("field","DxDesignerStringId.CodeCompletion_Field"),score:jd(e)?200:100,completer:{insertMatch:(r,s)=>{this.beforeInsertMatch(r,t(),i),this.insertMatch(r,i,this._options.getRealExpression&&e.displayName||e.name)}}}})}_combinePath(e){let t=this._getPath();if(e){const i=this._rootItems.filter(t=>0===e.indexOf(t.name))[0];t=i&&i.rootPath?[i.rootPath,e].join("."):[t,e].join(".")}return t}_getParentPrefix(e){const t=this._editor.getCursorPosition().column-e.start-1;let i=e.value.lastIndexOf(".",t);const r=e.value.lastIndexOf("]",t);i=Math.max(r,i);const s="support.variable.other"===e.type||"support.context.start"===e.type?1:0;let o=e.value.substring(s,i);return"["===o[0]&&(o=o.substr(1)),"]"===o[o.length-1]&&(o=o.substring(0,o.length-1)),o}_getRealPath(e){const t=e.split("."),i=new z;return this._options.getRealExpression?this._options.getRealExpression(t[0],this.generateFieldDisplayName(null,t.splice(1).join("."))).done(e=>{e=e.slice(1,e.length-1),i.resolve(e&&[t[0],e].join(".")||t[0])}).fail(()=>{i.resolve(e)}):i.resolve(e),i.promise()}_getFields(e=()=>null,t=[],i=!1){const r=new z;let s;const o=e();return!o||"support.variable.other"!==o.type&&"support.function"!==o.type&&"support.context.start"!==o.type||(s=this._getParentPrefix(o)),this._getRealPath(this._combinePath(s)).done(o=>{const n=[Ft(this._fieldListProvider).getItems(new rd(o)).done(r=>{t.push.apply(t,this._convertDataMemberInfoToCompletions(zu._cleanupFields(r),e,i?null:s&&s+"."))})],a=[];s||this._rootItems.forEach(i=>{const r=i.rootPath||i.name;-1===a.indexOf(r)&&(a.push(r),n.push(Ft(this._fieldListProvider).getItems(new rd(r)).done(s=>{this._processFields(n,s,t,r,e,i.needPrefix?i.name+".":"",!0)})))}),z.when(n).always(()=>{r.resolve(t)})}),r.promise()}static _cleanupFields(e=[]){return e.filter(e=>"parameters"!==e.specifics&&"none"!==e.specifics)}_processFields(e,t,i,r,s,o="",n=!1){const a=e=>{i.push.apply(i,this._convertDataMemberInfoToCompletions(n?zu._cleanupFields(e):e,s,o))};t.forEach(t=>{t.specifics===Bu&&jd(t)?e.push(Ft(this._fieldListProvider).getItems(new rd(r+"."+t.name)).done(e=>{a(e)}).fail(()=>{a([t])})):a([t])})}_readFunctions(){return Ft(this._functions)||Su()}getFunctionsCompletions(){const e=[];return this._readFunctions().filter(e=>"Aggregate"!==e.category).forEach(t=>{Object.keys(t.items).forEach(i=>{t.items[i]&&e.push(Hu(t.items[i][0],i))})}),e}getAggregateCompletions(){const e=[],t=this._readFunctions().filter(e=>"Aggregate"===e.category)[0];return t&&Object.keys(t.items).forEach(i=>{t.items[i]&&e.push(Hu(t.items[i][0],i,i+"()"))}),e}getOperatorCompletions(e){return Du.map(t=>({caption:t.text,snippet:e+t.text,meta:$i("operator","DxDesignerStringId.CodeCompletion_Operator")}))}_addFunctions(e){e.push.apply(e,this.getFunctionsCompletions())}_addAggregates(e){e.push.apply(e,this.getAggregateCompletions())}_addOperators(e,t){const i=/\s/.test(t[t.length-1])?"":" ";e.push.apply(e,this.getOperatorCompletions(i))}_addParameterOperators(e,t){const i=new z,r=[],s="Parameters";return r.push(Ft(this._fieldListProvider).getItems(new rd(s)).done(i=>{this._processFields(r,i,e,s,t,s+".")})),z.when(r).always(()=>{i.resolve(e)}),i.promise()}_getOperands(e=()=>null){const t=[];return this._addFunctions(t),this._getFields(e,t)}_getOperandsOrOperators(e,t,i){let r;try{Fd.parse(t)}catch(e){r=e.hash}const s=t.trim(),o=s[s.length-1];if("?"===o&&" "!==t[t.length-1])this._addParameterOperators(i,e);else{if((r||!s)&&"]"!==o&&")"!==o)return this._getOperands();this._addOperators(i,t)}}_findStartContextTokenPosition(e,t){let i=0;for(let r=t;r>-1;r--)if("support.context.end"===e[r].type)i++;else if("support.context.start"===e[r].type){if(!(i>0))return r;i--}}_findOpenedStartContext(e,t){const i=[],r=e.filter((e,i)=>("support.context.start"===e.type||"support.context.end"===e.type)&&i<t);for(let t=0;t<r.length;t++)"support.context.start"===r[t].type?i.push(e.indexOf(r[t])):i.pop();return i}_findOpenedAggregates(e,t){const i=[],r=e.filter((e,i)=>"support.other.aggregate"===e.type&&i<t);if(r.length>0){const s=e[t],o=this._editor.getCursorPosition().column-(s&&s.start||0);for(let s=r.length-1;s>-1;s--){const n=e.indexOf(r[s]);let a=0,d=0,l=!1;if(n+1===t&&-1!==e[n+1].value.substr(0,o).indexOf("()")||n+1<t&&-1!==e[n+1].value.indexOf("()"))l=!0,t=n;else{for(let i=n;i<t;i++)if("("===e[i].value.trim()?a++:")"===e[i].value.trim()&&d++,a===d&&0!==a){l=!0;break}l||i.splice(0,0,n),t=n}}}return i}_getContextPath(e,t){const i=[],r=this._findOpenedAggregates(e,t),s=this._findOpenedStartContext(e,t).concat(...r).sort((e,t)=>e-t);if(s.length>0)for(let t=0;t<s.length;t++)if("support.other.aggregate"===e[s[t]].type)if("support.context.end"===e[s[t]-1].type){const r=Ru(e[this._findStartContextTokenPosition(e,s[t]-2)].value.match(/^\[(?:[^\]\)])*\]/)[0]);i.push(r)}else"support.variable.other"===e[s[t]-1].type&&i.push(Ru(e[s[t]-1].value));else{const r=Ru(e[s[t]].value.match(/^\[(?:[^\]\)])*\]/)[0]);i.push(r)}return i.filter(e=>!!e).join(".")}_getCompletions(e,t,i,r){let s;const o=[],n=()=>t.getTokenAt(i.row,i.column),a=n(),d=e.session.getLine(i.row).substring(0,i.column),l=t.getTokens(i.row),c=a?a.index:-1;if(this._contextPath=this._getContextPath(l,c),a)if("support.context.start"===a.type){const e=this._editor.getCursorPosition().column-a.start===a.value.length;let t;e&&(t=[],this._addFunctions(t)),s=this._getFields(n,t,e)}else if("string.quoted.single"===a.type);else if(0===a.type.indexOf("support.variable"))s=this._getFields(n);else if("support.function"===a.type)s=this.defaultProcess(n,d.substring(0,a.start),o);else if("support.other.aggregate"===a.type){const e=l[c-1];this._addAggregates(o),e&&Ru(e.value).trim()&&(s=this._getFields(()=>({start:a.start-(e.value||"").length||0,value:e.value+a.value,type:"support.function"}),o))}else 0!==a.type.indexOf("comment")&&(s=this.defaultProcess(n,d,o));else s=this._getOperands();return s||(new z).resolve(o).promise()}defaultProcess(e,t,i){return this._getOperandsOrOperators(e,t,i)}constructor(e){super(),this._options=e,this._contextPath=null,this._isInContext=()=>null!==this._contextPath,this._getPath=()=>this._contextPath?Ft(this._path)+"."+this._contextPath:Ft(this._path),this.identifierRegexps=[/\./,/\[/],this._fieldListProvider=e.fieldListProvider,this._path=e.path,this._editor=e.editor,this._functions=e.functions,this._rootItems=e.rootItems||[{name:"Parameters",needPrefix:!0}]}getCompletions(e,t,i,r,s){this._getCompletions(e,t,i,r).done(e=>{s(null,e)})}getDocTooltip(e){e.tooltip&&!e.docHTML&&(e.docHTML=[e.tooltip].join(""))}}function Hu(e,t,i=null){let r=i||e.text;return{caption:t,snippet:r,meta:$i("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:e.description||$i(e.text,e.descriptionStringId)||null,score:10,completer:{insertMatch:(t,i)=>{const s=t.completer.completions;if(s.filterText){const e=t.selection.getAllRanges();for(let i,r=0;i=e[r];r++)i.start.column-=s.filterText.length,t.session.remove(i)}if("[]."===r.substr(0,3)){const e=t.selection.getAllRanges();for(let i,s=0;i=e[s];s++)i.start.column-=2,"]."===t.session.getTextRange(i)&&(r=r.substr(3))}t.insert(r),Rd(e.paramCount,t,r)}}}}function Ru(e){return e.substring("["===e[0]?1:0,"]"===e[e.length-1]?e.length-1:e.length)}class ju extends ad{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.property=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?(this.begin=e.rightPart[0],this.end=e.rightPart.length>1?e.rightPart[1]:nd.process("value")):(this.begin=nd.process("value"),this.end=nd.process("value")):(this.begin=e.rightPart,this.end=nd.process("value"))},this.operatorType="Between",this.type="between",this.property=e,this.begin=t||nd.process("value"),this.end=i||nd.process("value")}get leftPart(){return this.property}get rightPart(){return[this.begin,this.end]}get displayType(){return"Between"}get enumType(){return ju}accept(e){return e.visitBetweenOperator?e.visitBetweenOperator(this):new ju(this.property&&this.property.accept(e),this.begin&&this.begin.accept(e),this.end&&this.end.accept(e))}}nd.register("between",e=>new ju(e.property,e.begin,e.end),e=>nd.process("between",{property:nd.process("property"),begin:nd.process("value"),end:nd.process("value")}));class Gu extends ad{constructor(e,t){super(),this.assignLeftPart=e=>{this.criteriaOperator=e.leftPart},this.assignRightPart=e=>{this.operands=[].concat(e.rightPart)},this.operatorType="In",this.type="in",this.operands=[],this.criteriaOperator=e||nd.process("default"),(t||[]).forEach(e=>this.operands.push(e))}get leftPart(){return this.criteriaOperator}get rightPart(){return this.operands}get displayType(){return"In"}get enumType(){return Gu}accept(e){return e.visitInOperator?e.visitInOperator(this):new Gu(this.criteriaOperator&&this.criteriaOperator.accept(e),this.operands&&this.operands.map(t=>t.accept(e)))}}nd.register("in",e=>new Gu(e.criteriaOperator,e.operands),e=>nd.process("in",{criteriaOperator:nd.process("property"),operands:[nd.process("value")]}));const Wu={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">=",Divide:"/",BitwiseAnd:"&",BitwiseOr:"|",BitwiseXor:"^",Modulo:"%",Multiply:"*"};class Uu extends ad{constructor(e,t,i){super(),this.assignLeftPart=e=>{this.leftOperand=e.leftPart},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length&&(this.rightOperand=e.rightPart[0]):this.rightOperand=e.rightPart},this.type="binary",this.leftOperand=e||nd.process("default"),this.rightOperand=t||nd.process("default"),this.operatorType=i}get leftPart(){return this.leftOperand}get rightPart(){return this.rightOperand}get displayType(){return Wu[_d[this.operatorType]]||_d[this.operatorType]}get enumType(){return _d}accept(e){return e.visitBinaryOperator?e.visitBinaryOperator(this):new Uu(this.leftOperand&&this.leftOperand.accept(e),this.rightOperand&&this.rightOperand.accept(e),this.operatorType)}}nd.register("binary",e=>new Uu(e.left,e.right,e.operatorType),e=>nd.process("binary",{left:nd.process("property"),right:nd.process("value"),operatorType:e.value}));class qu extends ad{constructor(e,t){super(),this.toString=e=>{const t=(Wu[this.displayType]||this.displayType)+"("+this.operands.map(e=>e.toString()).join(", ")+")";return e?"Not "+t:t},this.assignLeftPart=e=>{this.operands=[e.leftPart]},this.assignRightPart=e=>{Array.isArray(e.rightPart)?e.rightPart.length?this.operands.push(e.rightPart[0]):this.operands.push(nd.process("value")):this.operands.push(e.rightPart)},this.operands=[],this.type="function",this.operatorType=e,(t=t||[nd.process("default")]).forEach(e=>this.operands.push(e))}get leftPart(){return this.operands[0]}get rightPart(){return this.operands.filter((e,t)=>0!==t)}get displayType(){return Ed[this.operatorType]||this.operatorType.toString()}get enumType(){return Ed}accept(e){return e.visitFunctionOperator?e.visitFunctionOperator(this):new qu(this.operatorType,this.operands&&this.operands.map(t=>t.accept(e)))}}nd.register("function",e=>new qu(e.operatorType,e.operands),e=>new qu(e.value,[nd.process("property")]));class Ku extends yd{constructor(e,t){super(e),this.type="value",t&&!this.specifics&&(this.specifics=t)}accept(e){return e.visitConstantValue?e.visitConstantValue(this):new Ku(this.value,this.specifics)}}nd.register("const",e=>new Ku(e?.value||null));class Yu{serializeGroupOperand(e,t){const i=e.operands.map(e=>e instanceof Pd?"("+this.serialize(e)+")":this.serialize(e)).filter(e=>""!==e&&"()"!==e).join(" "+(this.operatorTokens[e.displayType]||e.displayType)+" ");return t&&i?"Not("+i+")":i}serializeAggregateOperand(e,t){const i="Exists"===e.operatorType?"":"."+e.operatorType,r=e.condition?this.serialize(e.condition):"",s=this.serialize(e.property),o="["+r+"]";let n="";if("Exists"!==e.operatorType){let t="";e.aggregatedExpression?t=this.serialize(e.aggregatedExpression):e.customAggregatedExpression&&(t=e.customAggregatedExpression.map(e=>this.serialize(e)).join(", ")),n=`(${t})`}let a=s;return(!r&&!n||r)&&(a+=o),a+i+n}serializeOperandProperty(e){if(!e.propertyName)return e.circumflex?"^":"[]";let t=e.displayType;return t.length-Ru(t).length===2&&(t="["+Ru(t).replace(/\\/g,"\\\\").replace(/\]/g,"\\]")+"]"),e.circumflex?"^."+t:t}serializeOperandValue(e){let t=e.value;if(null!=t&&(he(t)||"true"===String(t).toLowerCase()||"false"===String(t).toLowerCase()))return"string"===e.specifics?"'"+t+"'":"guid"===e.specifics&&ud(t)?"{"+t+"}":t;if(t&&e.value instanceof Date)return"time"===e.specifics?"#!"+oe(t,"-",J.SystemTimeOnly)+"!#":"date"===e.specifics?"#!"+oe(t,"-",J.SystemDateOnly)+"!#":"#"+oe(t,"-")+"#";if("integer"===e.specifics||"integer"===e.specifics)return t||"?";if("guid"===e.specifics&&ud(t))return"{"+t+"}";if("string"===e.specifics)return t=t.replace(/'/g,"''"),t?"'"+t+"'":"?";if("enum"===e.specifics&&t){const[e,i]=t.split(vd);return e&&i?`##Enum#${t}#`:`##ToString#${t}#`}return t||"?"}serializeOperandParameter(e){return e.displayType}serializeBetweenOperator(e,t){const i=this.serialize(e.property)+" "+e.displayType+"("+this.serialize(e.begin)+", "+this.serialize(e.end)+")";return t?"Not "+i:i}serializeInOperator(e,t){const i=this.serialize(e.criteriaOperator)+" "+e.displayType+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+i:i}serializeBinaryOperator(e,t){if(e.operatorType===_d.Like){const i=t?" Not ":" ";return this.serialize(e.leftOperand)+i+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}return(t?"Not ":"")+this.serialize(e.leftOperand)+" "+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}serializeUnaryOperator(e,t){if(e.operatorType===td.IsNull){const i=t?" Not ":" ";return this.serialize(e.operand)+" Is"+i+"Null"}if(e.operatorType===td.Not)return this.serialize(e.operand,!0);const i=(this.operatorTokens[e.displayType]||e.displayType)+this.serialize(e.operand);return t?"Not "+i:i}serializeFunctionOperator(e,t){const i=(this.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+i:i}constructor(e=Wu,t){this.operatorTokens=e,this.custom=t}serialize(e,t=!1){if(e instanceof Sd)return this.serializeAggregateOperand(e,t);if(e instanceof ju)return this.serializeBetweenOperator(e,t);if(e instanceof Uu)return this.serializeBinaryOperator(e,t);if(e instanceof Ku)return this.serializeOperandValue(e);if(e instanceof qu)return this.serializeFunctionOperator(e,t);if(e instanceof Pd)return this.serializeGroupOperand(e,t);if(e instanceof Gu)return this.serializeInOperator(e,t);if(e instanceof bd)return this.serializeOperandParameter(e);if(e instanceof Cd)return this.serializeOperandProperty(e);if(e instanceof yd)return this.serializeOperandValue(e);if(e instanceof wd)return this.serializeUnaryOperator(e,t);if(this.custom)return this.custom(e,t);throw Error("Undefined type criteria operator")}deserialize(e){return this.deserializeOperand(Fd.parse(e))}deserializeOperand(e){if(e instanceof Pd)return e;if(e instanceof wd&&e.operatorType===td.Not){const t=e.operand;return t instanceof Pd||t instanceof qu||t instanceof ju||t instanceof Gu?e:t instanceof wd&&e.operatorType===td.Not&&!(t.operand instanceof Cd)?this.deserializeOperand(t.operand):new wd(td.Not,new Pd(Ad.And,t?[t]:[]))}return new Pd(Ad.And,e?[e]:[])}}class Zu{_replaceNames(e,t,i){const r=new z;let s;if(!t)return r.resolve("").promise();try{s=Fd.parse(t,!0)}catch(e){return r.reject().promise()}const o=[],n=[],a=new Yu;if(Id(s,(t,r)=>{if(t instanceof Cd){const s=0===t.propertyName.indexOf("^.");let a=s?t.propertyName.substring(2):t.propertyName;a=r?[r,a].join("."):a;const d=i?this.displayNameProvider.getDisplayNameByPath(e,a):this.displayNameProvider.getRealName(e,a);o.push(d.done(e=>{let i=s?"^."+e:e;i=r?i.split(".").slice(r.split(".").length).join("."):i,n.push({operand:t,convertedName:i})}))}}),0===o.length)r.resolve(t);else{let e=0;const i=()=>{if(++e<o.length)return;const i=t.split("\n");for(let e=0;e<i.length;e++){const t=n.filter(t=>t.operand.startPosition.line===e).sort((e,t)=>e.operand.startPosition.column-t.operand.startPosition.column);for(let r=0,s=0;r<t.length;r++){const o=t[r].operand.startPosition.column,n=t[r].operand.propertyName;let d=0;t[r].operand.originalPropertyLength!==n.length&&(d=Math.max(0,t[r].operand.originalPropertyLength-a.serialize(t[r].operand,!1).length));const l=t[r].convertedName;!n||o<0||(i[e]=i[e].substring(0,o+s)+l+i[e].substring(o+n.length+d+s),s+=l.length-n.length-d)}}r.resolve(i.join("\n"))};o.forEach(e=>e.always(i))}return r.promise()}constructor(e){this.displayNameProvider=e}toDisplayExpression(e,t){return this._replaceNames(e,t,!0)}toRealExpression(e,t){return this._replaceNames(e,t,!1)}}class Ju extends x{_update(){this.content=this._getHighlightContent(Ft(this._options.text),Ft(this._options.textToSearch),this._options.searchOptions),this.changeSignal.notify()}update(e){this._options=e,this._update()}_getHighlightContent(e,t,i){let r=e;if(t){const e=Ai(r,t,i);if(e){let t="",i=0,s=r;return e.forEach((o,n)=>{const a=s.indexOf(o),d=r.substr(i,a);s=s.substr(a+o.length),d&&(this._$spanProtect.text(d),t+=this._$spanProtect[0].outerHTML),this._$spanSearch.text(o),t+=this._$spanSearch[0].outerHTML,i=r.length-s.length,n===e.length-1&&s&&(this._$spanProtect.text(s),t+=this._$spanProtect[0].outerHTML)}),t}}return this._$spanProtect.text(r),r=this._$spanProtect[0].outerHTML,r}constructor(e){super(),this._$spanProtect=L(document.createElement("span")),this._$spanSearch=L(document.createElement("span")).addClass("dx-datagrid-search-text"),this.changeSignal=li(),this._options=e,["text","textToSearch"].forEach(e=>{const t=Ot(this._options[e]);t&&this.addDisposable(t.setValueChangedEvent?.(()=>this._update()))}),this._update()}}function Xu(e,t,i,r,s,o){yr(t,function(){e.dispose()}),setTimeout(()=>{const n=()=>{Sn("html")?.update?.(t,()=>e.content,r,s,o)};e.update(i()),Sn("html")?.init?.(t,()=>e.content,r,s,o),n(),yr(t,e.changeSignal(n))},1)}const Qu=new WeakMap;An("searchHighlighting",{init:function(e,t,i,r,s){const o=new Ju(t());Qu.set(e,o),Xu(o,e,t,i,r,s)},update:function(e,t){Qu.get(e)?.update(t())}});const ep=DevExpress.trial;var tp=e.n(ep);function ip(e){if(!e)return;const t=!0===e.trialExpired;if(e.isLicensed&&!t)return;const i={trialExpired:t,libraries:e.libraries,licenseId:e.licenseId,licenseSource:e.licenseSource};tp().showTrialPanel(e.buyNowLink,e.licensingDocLink,e.version||yo,e.subscriptions,void 0,i)}function rp(e){const t=atob(e),i=t.length,r=new Uint8Array(i);for(let e=0;e<i;e++)r[e]=t.charCodeAt(e);return(new TextDecoder).decode(r)}tp().registerTrialPanelComponents();var sp=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class op extends Pc{createViewModel(){return Zi(super.createViewModel()).generateProperty("propertyGrid",this.propertyGrid.getViewModel()).generateProperty("propertyGridModel",this.propertyGridModel).getViewModel()}updateViewModel(e){if(super.updateViewModel(e),"propertyGridModel"===e.propertyName){this.propertyGrid.updateEditorsInfo(this.propertyGridModel,this.propertyGridModel.getInfo());this.getViewModel().propertyGridModel=this.propertyGridModel}}constructor(e){super(e),this.propertyGridModel=e.propertyGridModel,this.propertyGrid=new Fl(this.propertyGridModel,{recreateEditors:!0,popover:new Zl,rootContext:e.rootContext,accessibilityMode:e.accessibilityMode,engineType:e.engineType});const t=()=>{this.propertyGrid.getEditors().some(e=>e.visible&&e.isRendered)&&(this.keyboardHelper&&this.keyboardHelper.initialize(),this.focus())};t(),this.propertyGrid.addDisposable(gi(()=>[qt(this.propertyGrid,["_editors"]),...(this.propertyGrid._editors||[]).map(e=>qt(e,["visible","isRendered"]))],()=>t(),!1)),this.addDisposable(this.propertyGrid)}}sp([rr(void 0)],op.prototype,"propertyGridModel",void 0);var np=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class ap extends eo{getInfo(){return[]}getPropertyInfo(e){return this.getInfo().find(t=>t.propertyName===e)}getPropertyDefaultValue(e){const t=this.getPropertyInfo(e);return t&&Yt().deserializeDefaultValue(t)}_getModifiedPropertyName(e){const t=`_${e}`;return t in this?t:e in this?e:null}isPropertyModified(e){const t=this._getModifiedPropertyName(e);if(null===t)return!1;const i=this[t];if(i){if(i.isPropertyModified&&i.isPropertyModified!==ap.prototype.isPropertyModified)return i.isPropertyModified(e);if(i.isEmpty)return!i.isEmpty()}const r=this.getPropertyDefaultValue(e),s=i;return r instanceof Object?!sc(r,s):(r??null)!==(s??null)}getModifiedPropertyDependencies(e){const t=this._getModifiedPropertyName(e);if(null===t)return[];const i=qt(this,[t]),r=this[t],s=r?.getModifiedPropertyDependencies;if(s&&(!this.getPropertyInfo(e)?.link||s!==ap.prototype.getModifiedPropertyDependencies))return[i,...r.getModifiedPropertyDependencies(e)];if(r?.isEmpty)return[i,qt(r,"*")];const o=r instanceof Object?this.getPropertyDefaultValue(e):void 0;return[i,...this.comparedFieldSources(r,o)]}comparedFieldSources(e,t){if(!(e instanceof Object)||!(t instanceof Object)||Array.isArray(e))return[];const i=Be(e)?[qt(e,"*")]:[];return Object.keys(t).forEach(r=>{0!==r.indexOf("_")&&t[r]instanceof Object&&i.push(...this.comparedFieldSources(e[r],t[r]))}),i}}class dp extends ap{_resetProperty(e){const t=this[e];if(t?.resetValue)return void t.resetValue();const i=this.getPropertyDefaultValue(e);this.isComplexEngineProperty(e,t)?i instanceof Object&&tc(i,t):this[e]=i}isComplexEngineProperty(e,t){if(!(t instanceof Object))return!1;const i=this.getPropertyInfo(e);return!!i?.info||!!i?.array||!Object.getOwnPropertyDescriptor(this,e)?.get}getInfo(){return this.getControlFactory().controlsMap[this.controlType].info}createControl(e,t=this.modelSerializer){return this.getControlFactory().createControl(e,this,t)}assignChildArray(e,t,i){const r=Object.keys(t||{}).map(e=>i(t[e]));this.assignArrayProperty(e,r);this.addDisposable(ot(this,e,e=>e.parentModel!==this&&(e.parentModel=this)))}dispose(){super.dispose(),this.surface&&this.surface.dispose()}beforeDeserialize(e,t,i){}afterDeserialize(e,t,i){this.assignDerivedProperty("displayName",()=>this.getDisplayName(),()=>this.displayNameSources())}displayNameSources(){return[qt(this,["name"])]}constructor(e,t,i){super(),this.rootChanged=di(()=>[qt(this,["parentModel"]),this.parentModel?.rootChanged]),this.actions=[],this.actionProviders=[],this.controlType=this.controlType||this.getControlFactory().getControlType(e),this.beforeDeserialize(e,t,i),this.assignProperty("parentModel",t),(i=this.modelSerializer=this.resolveSerializer(i)).deserialize(this,e),this.afterDeserialize(e,t,i),this.resetValue=e=>{this._resetProperty(e)},this.actions.push({action:this.resetValue,id:"dxd-reset",title:$i("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:this.isResettableProperty,weight:1e3})}getNearestParent(e){return e.getMetaData().isContainer?e:e.getNearestParent(e.parentModel)}getControlInfo(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]}getMetaData(){const e=this.controlType?this.controlType:"Unknown",t=this.getControlFactory().controlsMap[e];return{isContainer:t.isContainer||!1,isCopyDeny:t.isCopyDeny||!1,isDeleteDeny:t.isDeleteDeny||!1,canDrop:t.canDrop||(()=>!0),isPasteDeny:t.isPasteDeny||!t.isContainer}}getDisplayName(){return this.name||"unnamed "+this.controlType}createChild(e){const t=this.createControl(e);return this.addChild(t),t}removeChilds(e){if(this.controls){const t=this.controls;for(let i=0;i<e.length;i++){const r=t.indexOf(e[i]);if(-1===r)continue;const s=t.splice(r,1);s?.[0]?.onDelete?.()}}}addChilds(e){if(this.controls)for(let t=0;t<e.length;t++)this.controls.splice(0,0,e[t])}removeChild(e){this.controls&&(this.controls.splice(this.controls.indexOf(e),1),e.onDelete())}addChild(e){this.controls&&-1===this.controls.indexOf(e)&&(e.parentModel=this,this.controls.splice(0,0,e),e.onAdd())}isPropertyVisible(e){return!0}isPropertyDisabled(e){return!1}getVisiblePropertyDependencies(e){return[]}getDisabledPropertyDependencies(e){return[]}getInfoPropertyDependencies(){return[]}getPathPropertyDependencies(e){return[]}getHighlightedPropertyDependencies(e){return[]}getControlFactory(){throw Error("Virtual method getControlFactory")}isResettableProperty(e){return-1===["name","size","location"].indexOf(e)}_getRoot(){let e=this;for(;e&&e.parentModel;)e=e.parentModel;return e}rootSources(){return[this.rootChanged]}get root(){return this._getRoot()}rtl(){return!1}onDelete(){}onAdd(){}}np([rr(!1)],dp.prototype,"update",void 0);class lp{constructor(){this.controlsMap={}}getControlInfo(e){return this.controlsMap[e]||null}getControlType(e){const t=Bi(e["@ControlType"]||"");return this.controlsMap[t]?t:"Unknown"}createControl(e,t,i){const r=this.getControlType(e);return new(this.controlsMap[r]&&this.controlsMap[r].type||dp)(e,t,i)}registerControl(e,t){void 0!==t.isToolboxItem&&(t.nonToolboxItem=!t.isToolboxItem),Object.defineProperty(t,"isToolboxItem",{get:()=>!t.nonToolboxItem,set:e=>{t.nonToolboxItem=!e},enumerable:!0,configurable:!0}),this.controlsMap[e]=t,this.controlsMap[e].info=xe(!0,[],t.info)}_getPropertyInfoByDisplayName(e,t,i){return e.filter(e=>we(e.displayName,e.localizationId)===t[i])[0]}_getPropertyInfoByName(e,t,i){return e.filter(e=>e.propertyName===t[i]||e.modelName==="@"+t[i]||e.modelName===t[i])[0]}_getPropertyInfo(e,t,i){const r=this._getPropertyInfoByDisplayName(e,t,i)||this._getPropertyInfoByName(e,t,i);if(i===t.length-1)return r||null;if(r.info)return this._getPropertyInfo(r.info,t,i+1);if(r.from){let e=null;try{e=r.from({})}catch(e){return null}const s=e.getInfo&&e.getInfo();if(s)return this._getPropertyInfo(s,t,i+1)}return null}getPropertyInfo(e,t){let i=t;return Array.isArray(t)||(i=t.split(".")),this._getPropertyInfo(this.controlsMap[e].info,i,0)}}function cp(e){return null==e?null:parseFloat(e)}function up(e){const t=Li(e),i=this.valuesArray&&this.valuesArray.filter(e=>e.value==t)[0];return this.values&&void 0!==this.values[t]||i?t:e}function pp(e){return void 0!==e?"true"===String(e).toLowerCase():e}function hp(e){const t=(e||"").split(",");let i=e;if(3===t.length)i="rgb("+t.join(", ")+")";else if(4===t.length){const e=Math.round(parseFloat(t[0])/255*100)/100;t.shift(),t.push(e.toString()),i="rgba("+t.join(", ")+")"}return i}function gp(e){return Math.round(e).toString()}function mp(e){const t=fp(e).split(",");return(parseInt(t[0])<<24)+(parseInt(t[1])<<16)+(parseInt(t[2])<<8)+parseInt(t[3])}function fp(e){const t=(e||"").split(", ");let i=e;if(3===t.length)t[0]=t[0].split("(")[1],t[2]=t[2].split(")")[0],i=t.join(",");else if(4===t.length){const e=Math.round(255*parseFloat(t[3]));t.pop(),t[0]=t[0].split("(")[1],i=e.toString()+","+t.join(",")}return i}const xp={};function vp(e,t){yp(t?`${e}: ${t}`:e,function(e,t){return function(i,r){const s={};return s[e]=function(){return"$data"===t?i.$data:void 0===t?void 0:i.$data[t]},s}}(e,t))}function yp(e,t){xp[e]=t}function bp(e){return xp[e]}function Cp(e,t){vp(e,t)}function wp(e,t){yp(e,t)}vp("svgAttrs"),vp("dxButtonWithTemplate","options"),vp("dxToolbar","options"),vp("dxButton","options"),vp("dxAutocomplete","options"),vp("dxCheckBox","options"),vp("dxDateBox","options"),vp("dxMenu","options"),vp("dxSelectBox","options"),vp("dxTabs","options"),vp("dxTextBox","options"),vp("dxButtonGroup","options"),vp("dxDropDownButton","options"),vp("dxToolbarBase","options"),vp("treelist","options"),yp("template: 'dxrd-designer'",function(e,t){return{template:function(){return"dxrd-designer"}}});var _p=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Ap extends tu{_resetHorizontalValues(){this.left=!1,this.right=!1,this.center=!1,this.justify=!1}_resetVerticalValues(){this.top=!1,this.middle=!1,this.bottom=!1}setValue(e,t){this.disabled||this[e]||("Horizontal"==t?this._resetHorizontalValues():this._resetVerticalValues(),this[e]=!0,this.updateValue())}updateModel(e){const t=e||"TopLeft";this.top=-1!==t.indexOf("Top"),this.middle=-1!==t.indexOf("Middle"),this.bottom=-1!==t.indexOf("Bottom"),this.left=-1!==t.indexOf("Left"),this.right=-1!==t.indexOf("Right"),this.center=-1!==t.indexOf("Center"),this.justify=-1!==t.indexOf("Justify")}createViewModel(){return Zi(super.createViewModel()).generateProperty("middle",this.middle).generateProperty("center",this.center).generateProperty("justify",this.justify).generateProperty("horizontalString",we("Horizontal","ASPxReportsStringId.ReportDesigner_TextAlignment_Horizontal")).generateProperty("verticalString",we("Vertical","ASPxReportsStringId.ReportDesigner_TextAlignment_Vertical")).generateProperty("setValue",this.setValue.bind(this)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();t.middle=this.middle,t.center=this.center,t.justify=this.justify}updateValue(){const e=[];this.top&&e.push("Top"),this.middle&&e.push("Middle"),this.bottom&&e.push("Bottom"),this.left&&e.push("Left"),this.right&&e.push("Right"),this.center&&e.push("Center"),this.justify&&e.push("Justify"),this.setEditorValue(e.join(""))}}_p([rr(!1)],Ap.prototype,"middle",void 0),_p([rr(!1)],Ap.prototype,"center",void 0),_p([rr(!1)],Ap.prototype,"justify",void 0);const Ep=window.ace;var Sp=e.n(Ep);const Ip=function(){let e;return t=>(void 0!==t&&(e=t),void 0===e?!!Sp():e)}();var Pp=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Dp extends nr{deferredUpdateViewModel(){return!1}followSaveState(){this.saveStateFollow||(this.saveStateFollow=gi(()=>this.saveStateSources(),()=>{this.disableSaveButton=!this.canSave()}),this.addDisposable(this.saveStateFollow))}getButtonItems(){return[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.saveLocalization,type:"default",stylingMode:"contained",onClick:e=>this.save(e),disabled:this.disableSaveButton}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.cancelLocalization,type:"normal",stylingMode:"contained",onClick:()=>this.close()}}]}get buttonItems(){return this.followSaveState(),this.getButtonItems()}saveStateSources(){return[]}canSave(){return!0}save(e){this.popupVisible=!1}close(){this.popupVisible=!1}onHidingHandler(){this.popupVisible=!1}get cancelLocalization(){return we("Cancel",_u.DataAccessBtnCancel)}get saveLocalization(){return we("OK",_u.DataAccessBtnOK)}updateViewModel(e){super.updateViewModel(e),"disableSaveButton"!==e.propertyName?"popupVisible"===e.propertyName&&(this.getViewModel().popupVisible=this.popupVisible):this.republishButtonItems()}republishButtonItems(){if(!this.isViewModelReady())return;const e=this.getViewModel().buttonItems;e.splice(0,e.length,...this.buttonItems)}createViewModel(){return Zi(super.createViewModel()).generateProperty("popupVisible",this.popupVisible).generateProperty("setPopupVisible",e=>{this.popupVisible=e}).generateProperty("onHidingHandler",()=>this.onHidingHandler()).generateProperty("buttonItems",this.buttonItems).generateProperty("saveLocalization",this.saveLocalization).generateProperty("cancelLocalization",this.cancelLocalization).generateProperty("save",e=>this.save(e)).generateProperty("close",()=>this.close()).getViewModel()}}Pp([rr(!1)],Dp.prototype,"popupVisible",void 0),Pp([rr(!1)],Dp.prototype,"disableSaveButton",void 0);var Tp=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Vp extends Dp{constructor(){super(...arguments),this.resizeListeners=[],this.aceAvailable=Ip()}addResizeListener(e){this.resizeListeners.push(e)}setCriteriaValue(e){if(!this.aceAvailable)return;const t=this.editorContainer?.getSession();t?.setValue(e)}resizeAceEditor(){this.aceAvailable&&this.editorContainer&&this.editorContainer.resize(),this.notifyResizeListeners()}notifyResizeListeners(){this.resizeListeners.forEach(e=>e())}dispose(){this.editorContainerSubscription?.(),super.dispose()}withEditorContainer(e){if(this.editorContainer)return void e(this.editorContainer);const t=tt(this,"editorContainer",i=>{t(),e(i)});this.editorContainerSubscription=t}createViewModel(){return Zi(super.createViewModel()).generateProperty("aceAvailable",this.aceAvailable).generateProperty("resizeAceEditor",()=>this.resizeAceEditor()).getViewModel()}}Tp([rr(null)],Vp.prototype,"editorContainer",void 0);class Mp extends or{constructor(){super(...arguments),this.selectedItem=null,this.suppressActions=!0,this.searchEnabled=!0,this.textToSearch=Lt("")}dispose(){this.selectedItem=null}itemsFilter(e){return"parameters"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList||"none"===e.specifics)}hasItems(e){return"none"!==e.specifics}canSelect(e){return this.hasItems(e.data)&&!!e.path&&("List"===e.data.specifics||"ListSource"===e.data.specifics)||"none"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0)}isDraggable(e){return!1}}const kp=DevExpress.ui.dxDropDownBox;var Fp=e.n(kp),$p=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Op extends nr{deferredUpdateViewModel(){return!1}static createController(e,t,i=Op,r="dx-treelist-search-panel"){const s=new i,o=L(e),n=[];t.forEach(e=>{if(!e)return;const t=Ot(e.root)||Lt(null);e.root=t,n.push(t.setValueChangedEvent(e=>{s.addController(e),s.valueChanged("")}))}),s.addDisposable(()=>{t.forEach(e=>{if(!e)return;const t=Ot(e.root);t&&(t.setValue(null),delete e.root)})});const a=zr(r);o.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),o.empty(),o.append(a);const d=o[0].firstChild;Xt.cleanNode(d),Xt.applyBindings(s.getViewModel(),d);const l=()=>{n.forEach(e=>e()),s&&s.dispose(),Xt.removeDisposeCallback(e,l)};return Xt.addDisposeCallback(e,l),s}dispose(){super.dispose(),this._timeout&&clearTimeout(this._timeout),this.clearProcess()}clearProcess(){this._currentProcess.forEach(e=>e.stop&&e.stop()),this._currentProcess=[],this._processedNodes=[]}valueChanged(e){e||this._processedNodes.forEach(e=>e.visible=!0),this.clearProcess(),this._roots.forEach(t=>{t.treeListController.textToSearch.setValue(e),e?this._currentProcess.push(t.walkOnTree(i=>{const r=Ai(i.data[t.treeListController.searchOptions.searchExpr],e,t.treeListController.searchOptions);this._processedNodes.push(i),i.visible=!!r,r&&this.expandNodePath(i)})):t.itemsCollectionHasMutated()})}expandNodePath(e){e.parent&&(e.parent.visible=!0,e.parent.toggleCollapsed(!0),this.expandNodePath(e.parent))}addController(e){this._roots=this._roots.filter(e=>!e.isDisposing),e.treeListController.textToSearch=e.treeListController.textToSearch||Lt(""),-1===this._roots.indexOf(e)&&this._roots.push(e),this.searchTimeout=Math.max.apply(Math,this._roots.map(e=>e.treeListController.searchOptions.searchTimeout))||500}constructor(){super(),this._processedNodes=[],this._currentProcess=[],this._timeout=null,this.searchTimeout=500,this._roots=[],this.searchPlaceholder=()=>De()}onPropertyChanged(e){"value"===e.propertyName&&(this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(()=>{this._timeout=null,this.valueChanged(this.value)},this.searchTimeout))}updateViewModel(e){super.updateViewModel(e),this.isViewModelReady()&&"value"===e.propertyName&&(this.getViewModel().value=this.value)}createViewModel(){return Zi(super.createViewModel()).generateProperty("value",this.value).generateProperty("onValueChanged",e=>{this.value=e.value}).generateProperty("searchPlaceholder",this.searchPlaceholder).getViewModel()}}$p([rr("")],Op.prototype,"value",void 0);class Np extends(Fp()){updateOptions(e){e.showClearButton=!0}constructor(e,t){super(e,xe(t,{showClearButton:!0,dropDownOptions:{resizeEnabled:!0}})),this._path=Lt(""),this._value=Lt(""),this._parentViewport=null,this._hasDisplayNameOption=!1,this._defaultPosition=null,this._pickedByUser=!1;const i=L(e);i.addClass("dx-fieldlistpicker"),this.option("path")&&this._path.setValue(this.option("path")?.toString()),this.option("value")&&this._value.setValue(this.option("value")),this.option("valueChangeEvent","change"),this.option("openOnFieldClick",!1===this.option("acceptCustomValue")),this._parentViewport=i.parents(".dx-designer-viewport")[0],"displayValue"in t&&(this._hasDisplayNameOption=!0,this.option("displayValue",t.displayValue),this._setTitle(this.option("displayValue")?.toString()))}_showDropDown(){if(this._popup){const e=L(this.element());this._popup.option("width",e.width());const t=xe(!0,{},this._defaultPosition,{boundary:this._parentViewport,boundaryOffset:"0 20",collision:"none flip"});this._popup.option("position",t),this._popup.option("height","auto"),this._popup.option("maxHeight",this._getMaxHeight()),this._popup.repaint(),T(this._popup.content()).style.height="auto",this._popup.option("onResize",e=>{setTimeout(()=>{const t=T(e.component.content()),i=t?.querySelector(".dx-scrollable-container");i&&(i.style.maxHeight=t.style.height)},300)}),this._popup._renderPosition()}}_getMaxHeight(){const e=L(this.element()),t=e.offset(),i=window.innerHeight,r=Math.max(t.top,i-t.top-e.outerHeight());return Math.min(.5*i,r)}_hideOnBlur(){return!1}_closeOutsideDropDownHandler(e){return!(e?.target&&!document.contains(e.target))&&super._closeOutsideDropDownHandler.apply(this,arguments)}_popupConfig(){const e=this.option("integrationOptions").templates["dx-polymorph-widget"],t=super._popupConfig.apply(this);return this._defaultPosition=t.position,xe(t,{container:this._parentViewport,contentTemplate:e&&e._template})}_setTitle(e){this.option("openOnFieldClick")&&L(this.element()).attr("title",e)}_renderDisplayText(e){super._renderDisplayText.apply(this,[e])}_optionChanged(e){const t=e.name,i=e.value;switch(t){case"value":this._value.setValue(i),this._hasDisplayNameOption||this._renderDisplayText(i),this.option("onValueChanged")&&this.option("onValueChanged")({value:i});break;case"path":this._path.getValue()!==i&&this._path.setValue(i);break;case"itemsProvider":e.previousValue!==i&&this._updateItemProvider?.(i);break;case"displayValue":this._renderDisplayText(i),this._setTitle(i);break;case"treeListController":break;default:super._optionChanged.apply(this,arguments),"opened"===t&&i&&this._showDropDown(),"opened"!==t||i||this._searchModel&&(this._searchModel.value="")}}_clearValueHandler(){T(this._input()).value=null,super._clearValueHandler.apply(this,arguments)}_renderPopupContent(){super._renderPopupContent.apply(this,arguments);const e=T(this._popup.content());this._pickedByUser=!1,e.addEventListener("pointerdown",()=>{this._pickedByUser=!0},!0);const t=document.createElement("div");this._searchModel=Op.createController(t,[this.option("treeListController")]),L(this._popup.content()).append(t);const i=ai(()=>this._path.getValue()?this._path.getValue()+"."+this._value.getValue():this._value.getValue(),()=>[this._path,this._value],e=>{const t=this._path.getValue();this._value.setValue(t&&t.length>0?e.substr(t.length+1):e),this.option("value",this._value.getValue()),this._pickedByUser&&(this._pickedByUser=!1,setTimeout(()=>{this.option("opened",!1)},50))}),r=document.createElement("div");r.classList.add("dx-treelist-wrapper");const s=this._createComponent(r,"dxScrollView",{scrollByThumb:!0}),o=this,n=L(s.content()),a=T(this.element());n.append('<div data-bind="treelist: options"></div>');const d=Xt.contextFor(a),l=this.option("treeListController");let c;const u={itemsProvider:this.option("itemsProvider"),onItemsVisibilityChanged:()=>{o._popup&&o._popup._renderPosition()},selectedPath:i,treeListController:l,path:this._path,setTreeListChangedEvent:e=>(c=e,()=>{c=void 0})};this._updateItemProvider=e=>{u.itemsProvider=e,c?.(u)};const p=d.createChildContext({options:u});Xt.applyBindingsToDescendants(p,n.get(0)),L(this._popup.content()).append(r)}}function Bp(e,t,i,r){const s=new z;if(i&&e){(t?e.getDisplayNameByPath(t,i):e.getDisplayName(r,i)).done(e=>s.resolve(e)).fail(()=>s.resolve(i))}else s.resolve("");return s.promise()}nu()("dxFieldListPicker",Np);var Lp=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class zp extends _l{constructor(...e){super(...e),this.validationRulesMutable=this._getEditorValidationRules(),this.assignDerivedProperty("showClearButton",()=>!!Ft(this.editorOptions?.showClearButton),()=>[qt(this,["editorOptions"]),Ot(this.editorOptions?.showClearButton)])}onPropertyChanged(e){super.onPropertyChanged(e),"showClearButton"===e.propertyName&&(this.validationRulesMutable=this._getEditorValidationRules())}createViewModel(){return Zi(super.createViewModel()).generateProperty("validationRules",this.validationRulesMutable).generateProperty("showClearButton",this.showClearButton).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"validationRulesMutable"===e.propertyName?t.validationRules=this.validationRulesMutable:"showClearButton"===e.propertyName&&(t.showClearButton=this.showClearButton)}get nullable(){return this.showClearButton}}Lp([rr(()=>[])],zp.prototype,"validationRulesMutable",void 0),Lp([rr(!1)],zp.prototype,"showClearButton",void 0);class Hp extends zp{_getEditorValidationRules(){return(super._getEditorValidationRules()||[]).concat(md()).concat(this.nullable?[]:fd())}}class Rp extends zp{_getEditorValidationRules(){return(super._getEditorValidationRules()||[]).concat(this.nullable?[]:xd())}}function jp(e,t){return{header:"dx-number-editor",editorType:class extends Rp{getOptions(i){const r=super.getOptions(i);return $d.getNumberEditorOptions(e,t,r,this.nullable)}}}}function Gp(e){return{header:"dx-date",editorType:class extends Rp{getOptions(t){const i=xe(!0,{},t,$d.editors[e]);return super.getOptions(i)}}}}var Wp=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};function Up(e,t){const i=e.getModel(),r=t||{},s=Ft(r.values)??i.value;return{addHandler:()=>e.info.addHandler.call({data:e}),onValueChanged:(e,t)=>{i.setEditorValue([...e])},level:e.level,displayName:$i(e.displayName),editor:i,...r,rootContext:e.rootContext??r.rootContext,values:Array.isArray(s)?[...s]:[],info:r.info||e.info,undoEngine:r.undoEngine}}function qp(e,t,i){let r,s=null;const o=Zi().createDefaultModel({}).generateProperty("index",t).generateProperty("disabled",i.disabled).generateProperty("level",i.level).generateProperty("name",i.displayPropertyName&&e[i.displayPropertyName]?e[i.displayPropertyName]:t).generateProperty("select",(e,t)=>i.select(e,t)).generateProperty("padding",i.padding).generateProperty("selected",t===i.selectedIndex).generateProperty("collapsed",!0).generateProperty("getProperties",t=>(s||(s=new Fl(e,{editorsInfo:t?.editorsInfo??void 0,level:t?.level??i.level+1,recreateEditors:!1,rootContext:t?.rootContext??i.rootContext}),i._accessibilityProvider&&s.registerAccessibilityProvider(i._accessibilityProvider),i._disposables.push(s)),s.getViewModel())).generateProperty("collapsedAccessor",{getValue:()=>o.collapsed,setValue:e=>{o.collapsed=e,r?.(e)},setValueChangedEvent:e=>(r=e,()=>{r===e&&(r=void 0)})}).generateProperty("value",e).generateProperty("itemViewModel",Ge(e)?e.getViewModel():void 0).getViewModel();if("object"==typeof e&&"events"in e){const t=e;i.addDisposable(t.events.on(`${i.displayPropertyName}Changed`,t=>{t.propertyName===i.displayPropertyName&&(o.name=e[i.displayPropertyName])}))}return o}class Kp extends nr{deferredUpdateViewModel(){return!1}createViewModel(){const e=e=>Zi().generateProperty("action",t=>this[e](t)).generateProperty("disabled",this.isDisabledButton(e)).generateProperty("text",this.getDisplayTextButton(e)).generateProperty("visible",this.isVisibleButton(e)).generateProperty("template",lu(this.buttonMap[e].iconClass)).getViewModel();return Zi(super.createViewModel()).generateProperty("alwaysShow",this.alwaysShow).generateProperty("showButtons",this.showButtons).generateProperty("collapsed",this.collapsed).generateProperty("keyboardHelper",this.keyboardHelper).generateProperty("buttons",Zi().generateProperty("add",e("add")).generateProperty("down",e("down")).generateProperty("delete",e("delete")).generateProperty("up",e("up")).getViewModel()).generateProperty("emptyAreaText",this.getDisplayTextEmptyArray()).generateProperty("disabled",this.disabled).generateProperty("hasExpanded",this.hasExpanded).generateProperty("collapsedAccessor",zt(this,"collapsed")).generateProperty("contentId",this.contentId).generateProperty("headerId",this.headerId).generateProperty("displayName",this.displayName).generateProperty("padding",this.padding).generateProperty("level",this.level).generateProperty("showScroll",this.showScroll).generateProperty("values",this.values.map((e,t)=>qp(e,t,this))).getViewModel()}updateViewModel(e){const t=this.getViewModel();if(t.collapsed=this.collapsed,t.alwaysShow=this.alwaysShow,t.showButtons=this.showButtons,t.hasExpanded=this.hasExpanded,"selectedIndex"===e.propertyName){const i=e.oldValue,r=e.newValue;t.values[i]&&(t.values[i].selected=!1),t.values[r]&&(t.values[r].selected=!0)}if("values"===e.propertyName)if("added"in e){const i=e;i.added.forEach(e=>{for(let i=e.index;i<t.values.length;i++)t.values[i].index++;t.values.splice(e.index,0,qp(e.item,e.index,this))}),i.removed.forEach(e=>{for(let i=e.index;i<t.values.length;i++)t.values[i].index--;t.values.splice(e.index,1)}),this._timeoutItemRendered&&clearTimeout(this._timeoutItemRendered),this._timeoutItemRendered=setTimeout(()=>{this.listKeyboardHelper&&this.listKeyboardHelper.initialize()},100)}else t.values=this.values.map((e,t)=>qp(e,t,this));"values"!==e.propertyName&&"selectedIndex"!==e.propertyName&&"disabled"!==e.propertyName||Object.keys(t.buttons).forEach(e=>{t.buttons[e].disabled=this.isDisabledButton(e)}),"disabled"===e.propertyName&&(t.disabled=this.disabled,t.values.forEach(e=>{e.disabled=this.disabled})),"showButtons"===e.propertyName&&Object.keys(t.buttons).forEach(e=>{t.buttons[e].visible=this.isVisibleButton(e)})}dispose(){super.dispose(),this.removeProperties()}_move(e,t){if(this.selectedIndex>=0){const i=this.selectedIndex,r=i+t;if(r>=e.length||r<0)return;this.values.splice(r,0,this.values.splice(i,1)[0]),this.selectedIndex=r}}_setSelectedIndex(e){const t=this.values.indexOf(e);this.selectedIndex=-1===t?null:t}onPropertyChanged(e){"collapsed"===e.propertyName?(this.showButtons=!Ft(this.hideButtons)&&!this.collapsed,this.hasExpanded=!0):"values"===e.propertyName&&this.options?.onValueChanged(this.values,e)}constructor(e,t=!1){super(),this.buttonMap={delete:{text:"Delete",iconClass:"dx-image-remove",localizationId:"AnalyticsCoreStringId.Cmd_Delete"},add:{text:"Add",iconClass:"dx-image-add",localizationId:"DataAccessUIStringId.Button_Add"},down:{text:"Move Down",iconClass:"dx-image-movedown",localizationId:"AnalyticsCoreStringId.Cmd_MoveDown"},up:{text:"Move Up",iconClass:"dx-image-moveup",localizationId:"AnalyticsCoreStringId.Cmd_MoveUp"}};const i=t=>t?e.info&&e.info[t]:e.info,r=i();this.rootContext=e.rootContext,this.collapsed=!1!==e.collapsed,this.addHandler=()=>(e.addHandler||i("addHandler")).call(this),this._accessibilityProvider=e._accessibilityProvider,this.removeHandler=(t,i)=>{e.removeHandler?e.removeHandler(t,i):this.values.splice(i,1)},this.values=e.values,this.hideButtons=e.hideButtons||i("hideButtons"),this.allowReorderItems=void 0===e.allowReorderItems||e.allowReorderItems,this.allowEditItems=void 0===e.allowEditItems||e.allowEditItems,this.showButtons=!Ft(this.hideButtons)&&!this.collapsed,this.addDisposable(Ot(this.hideButtons)?.setValueChangedEvent?.(()=>{this.showButtons=!Ft(this.hideButtons)&&!this.collapsed})),this._textEmptyArray=e.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},this.displayPropertyName=i("displayPropertyName"),this.showScroll=!!e.showScroll;const s=(t,i)=>e.isDisabledButton?e.isDisabledButton(t,i):"delete"===i?null===t:"add"!==i&&("up"===i?null===t||0===t:"down"===i?null===t||t===this.values.length-1:void 0);if(this.isDisabledButton=e=>{let t=!0;if(void 0!==this.selectedIndex&&null!==this.selectedIndex&&"delete"===e){const e=this.values[this.selectedIndex]?.canRemove;t=void 0===e||e}return this.disabled||s(this.selectedIndex,e)||!t},this.isVisibleButton=t=>!!this.showButtons&&(!!(this.allowEditItems||"add"!==t&&"delete"!==t)&&(!!(this.allowReorderItems||"up"!==t&&"down"!==t)&&(!e.isVisibleButton||e.isVisibleButton(this.selectedIndex,t)))),this.level=void 0!==e.level?e.level:0,this.padding=this.level*dd(),this.displayName=r?$i(r.displayName,r.localizationId):e.displayName,this.options=e,e.editor){let t=!1;const i=e=>{if(!t){t=!0;try{e()}finally{t=!1}}},r=e.onValueChanged;e.onValueChanged=(e,t)=>i(()=>r&&r(e,t)),this.addDisposable(tt(e.editor,"value",e=>{i(()=>{this.values=Array.isArray(e)?[...e]:[]})}))}e.displayName||(this.collapsed=!1,this.alwaysShow=!0),e.alwaysShow&&(this.alwaysShow=!0);const o=e.selectedItem?.getValue();o&&(this._setSelectedIndex(o),this.addDisposable(e.selectedItem.setValueChangedEvent?.(e=>{this._setSelectedIndex(e)}))),this.disabled=t,this.listKeyboardHelper=new Tr,this._disposables.push(this.listKeyboardHelper),this.keyboardHelper=new Ar(()=>this.getViewModel()),this._disposables.push(this.keyboardHelper),this.headerId=`dxrd-ce-trigger-${oa()}`,this.contentId=`dxrd-ce-pannel-${oa()}`}setAllowEditItems(e){this.allowEditItems!==e&&(this.allowEditItems=e,this.collapsed=!0,this.allowReorderItems=e)}getDisplayTextButton(e){return $i(this.buttonMap[e].text,this.buttonMap[e].localizationId)}getDisplayTextEmptyArray(){return $i(this._textEmptyArray.text,this._textEmptyArray.localizationId)}add(e){e.event.stopPropagation(),this.options.undoEngine&&this.options.undoEngine.start();const t=this.addHandler();if(!t)return;const i=this.values.push(t);this.options.undoEngine&&this.options.undoEngine.end(),this.options.selectedItem&&this.select(this.getViewModel().values[i-1])}up(e){this._move(this.values,-1),e.event.stopPropagation()}down(e){this._move(this.values,1),e.event.stopPropagation()}delete(e){if(e.event.stopPropagation(),this.selectedIndex<0)return;this.options.undoEngine&&this.options.undoEngine.start();const t=this.values[this.selectedIndex];this.removeHandler(t,this.selectedIndex),this.options.undoEngine&&this.options.undoEngine.end();const i=this.values.length;i>0?this.select(this.selectedIndex>=i?this.getViewModel().values[i-1]:this.getViewModel().values[this.selectedIndex],!0):this.select({index:null,value:null},!0)}select(e,t=!1){if(this.selectedIndex!==e.index||t){if(t&&this.selectedIndex===e.index){const e={propertyName:"selectedIndex",newValue:this.selectedIndex,oldValue:this.selectedIndex};this.onPropertyChanged(e),lt(this,e)}this.selectedIndex=e.index,this.options.selectedItem&&this.options.selectedItem.setValue?.(e.value)}}}function Yp(e,t,i,r){let s=!1;const o=e=>{if(!s){s=!0;try{e()}finally{s=!1}}},n=e.onValueChanged,a=new Kp({...e,values:[...t.getValue()||[]],info:e.info,undoEngine:e.undoEngine,onValueChanged:(e,i)=>o(()=>{n?n(e,i):t.setValue?.([...e])}),rootContext:r},i?.disabled);a.addDisposable(t.setValueChangedEvent?.(e=>o(()=>{a.values=[...e||[]]})));const d=Zp(i)??i;return d&&a.addDisposable(tt(d,"disabled",()=>{a.disabled=d.disabled})),a}function Zp(e){const t=e;return"function"==typeof t?.getModel?t.getModel():void 0}Wp([rr(null)],Kp.prototype,"selectedIndex",void 0),Wp([rr(!0)],Kp.prototype,"collapsed",void 0),Wp([rr(!1)],Kp.prototype,"alwaysShow",void 0),Wp([sr(()=>[])],Kp.prototype,"values",void 0),Wp([rr(!1)],Kp.prototype,"showButtons",void 0),Wp([rr(!1)],Kp.prototype,"hasExpanded",void 0),Wp([rr(()=>!1)],Kp.prototype,"disabled",void 0);const Jp=new WeakMap;An("dxCollectionEditor",{update:function(e,t){const i=t().allowEditItems;Jp.get(e)?.setAllowEditItems(void 0===i||i)},init:function(e,t,i,r,s){const o=t(),n=Zp(r),a=Ot(o.values),d=ze(s.$root),l=a?Yp(o,a,r,d):new Kp(n?Up(r,{...o,rootContext:d}):{...o,values:[...o.values||[]],info:o.info,undoEngine:o.undoEngine,rootContext:d}),c=zr(o.editorTemplate||"#dx-collectioneditor"),u=L(c),p=o.info,h=p&&p.template||o.template;if(Jp.set(e,l),r.onInitialized?.({element:e,component:l}),h){const e=zr(h);u.find(".dx-collection-item").append(L(e))}else u.find(".dx-collection-item").append(L(e).children());const g=L(e).append(u),m=s.createChildContext(l.getViewModel());return Xt.cleanNode(g.children()[0]),Xt.applyBindings(m,g.children()[0]),yr(e,()=>{Jp.delete(e),l.dispose()}),{controlsDescendantBindings:!0}}});const Xp="dx-ellipsiseditor",Qp=Xp+" dx-dropdowneditor",eh=Xp+"-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button",th=Xp+"-icon dx-ellipsis-image dx-dropdowneditor-icon",ih="dxrd-svg-ellipsis",rh="dx-ellipsiseditor-warning";class sh extends(Kl()){constructor(e,t){const i={name:"ellipsisButton",location:"after",options:{disabled:!1,template:Ui.templates[ih],icon:ih,onClick:t.buttonAction,tabIndex:-1,elementAttr:{class:eh}}};t.buttons=[{name:"clear"},i],super(e,t)}_init(){super._init.apply(this),this._$element||(this._$element=L(this.element())),this._$element.addClass(Qp)}_render(){super._render.apply(this),this._renderButton(),this._updateWarningState(),this._attachInputEvents()}_updateWarningState(e=this.option("warningMessage")){e?(this._$element.attr("title",e.toString()),this._$element.addClass(rh)):(this._$element.removeAttr("title"),this._$element.removeClass(rh))}_updateOptions(e){["value","disabled","visible"].forEach(t=>{this.option(t)!==e[t]&&this.option(t,e[t])})}_updateButtonSize(){const e=L(this.element()).height();this._buttonIcon.style.height=e+"px"}_renderButton(){const e=L(this._buttonsContainer()).children()[1];this._$button=L(e),L(this._$button.children()[0]).addClass(th),this._attachButtonEvents(),this._removeCustomHoveredStyle()}_attachButtonEvents(){this._$input||(this._$input=L(this._input()));const e=[];this._onClick||(this._onClick=e=>this.buttonAction(e)),this._$button.off("click",this._onClick),this._$input.off("click",this._onClick),this.option("disabled")||e.push(this._$button),this.option("openOnFieldClick")&&e.push(this._$input),e.forEach(e=>{e.on("click",this._onClick)})}_removeCustomHoveredStyle(){this._onHover||(this._onHover=()=>T(this.element())?.classList.remove("dx-custom-button-hovered")),this._$button.off("mouseover",this._onHover),this._$button.on("mouseover",this._onHover)}_attachInputEvents(){const e=T(this._input());if(!e)return;const t=e=>{(e.key==Mi.Enter||e.key==Mi.ArrowDown&&e.altKey)&&this.buttonAction(e)};e.addEventListener("keydown",t),yr(e,function(){e.removeEventListener("keydown",t)})}_optionChanged(e){switch(e.name){case"disabled":this._attachButtonEvents();break;case"warningMessage":this._updateWarningState(e.value)}super._optionChanged.apply(this,arguments)}buttonAction(e){this.option("buttonAction")&&(this.option("buttonAction")(),e.stopPropagation())}}nu()("dxEllipsisEditor",sh);class oh extends sh{constructor(e,t){t.placeholder=t.placeholder||$i("(none)","DxDesignerStringId.None"),super(e,t)}_getDisplayValue(){const e=this.option("placeholderId");return this.option("value")&&e?$i(e,{Image:"AnalyticsCoreStringId.ImagePicker_Placeholder",File:"AnalyticsCoreStringId.FilePicker_Placeholder"}[e]):this.option("value")}_handleResult(e){this.option("useFormat")&&this.option("format",e.format),this.option("value",e.content)}_renderInput(e){const t=e&&L(e)||L(document.createElement("div"));t.addClass("dx-fileimage-input-wrapper"),this._inputContainer=t.get(0),L(this.element()).append(this._inputContainer),super._renderInput.apply(this,[e])}_attachButtonEvents(){this._onClick||(this._onClick=e=>{e.stopPropagation(),e.preventDefault(),bi({accept:this.option("accept")?.toString()||"image/*",readMode:this.option("readMode")?.toString()}).done(e=>{this._handleResult(e)})}),this._$button.off("click",this._onClick),this.option("disabled")||this._$button.on("click",this._onClick)}_renderValue(){this.option("text",this._getDisplayValue()),super._renderValue.apply(this)}}nu()("dxFileImagePicker",oh);var nh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};const ah=[{value:"pt",displayValue:"Point",localizationId:"System.Drawing.GraphicsUnit.Point"},{value:"world",displayValue:"World",localizationId:"System.Drawing.GraphicsUnit.World"},{value:"px",displayValue:"Pixel",localizationId:"System.Drawing.GraphicsUnit.Pixel"},{value:"in",displayValue:"Inch",localizationId:"System.Drawing.GraphicsUnit.Inch"},{value:"doc",displayValue:"Document",localizationId:"System.Drawing.GraphicsUnit.Document"},{value:"mm",displayValue:"Millimetr",localizationId:"System.Drawing.GraphicsUnit.Millimeter"}];class dh extends ir{_toString(){const e=[this.family,this.size+this.unit].join(", "),t=[];this.modificators.bold&&t.push("Bold"),this.modificators.italic&&t.push("Italic"),this.modificators.underline&&t.push("Underline"),this.modificators.strikeout&&t.push("Strikeout");const i=t.join(", ");return i?[e,i].join(", style="):e}updateModel(e){e||(e=ld());const t=e.split(",");this.family=t[0];const i=this;ah.forEach(function(e){-1!=t[1].trim().indexOf(e.value)&&(i.size=parseFloat(t[1].split(e.value)[0]),i.unit=e.value)}),this.modificators.bold=-1!==e.indexOf("Bold"),this.modificators.italic=-1!==e.indexOf("Italic"),this.modificators.underline=-1!==e.indexOf("Underline"),this.modificators.strikeout=-1!==e.indexOf("Strikeout")}updateFont(e){this.isUpdateModel=!0,this.updateModel(e),this.isUpdateModel=!1}onPropertyChanged(e){"family"!==e.propertyName&&"size"!==e.propertyName&&"unit"!==e.propertyName||this.updateValue()}createModificatorsModel(){return new lh}static doWithModel(e,t){const i=new dh({value:e});try{return t(i),i._toString()}finally{i.dispose()}}constructor({value:e,onValueChanged:t}){super(),this.isUpdateModel=!1,this.addDisposable(this.modificators=this.createModificatorsModel()),this.addDisposable(this.modificators.events.on("propertyChanged",e=>{"bold"!==e.propertyName&&"italic"!==e.propertyName&&"underline"!==e.propertyName&&"strikeout"!==e.propertyName||this.updateValue()})),this.updateValue=()=>{this.isUpdateModel||t&&t(this._toString())},this.updateFont(e)}}nh([rr(null)],dh.prototype,"family",void 0),nh([rr(null)],dh.prototype,"unit",void 0),nh([rr(null)],dh.prototype,"size",void 0);class lh extends ir{onPropertyChanged(e){}}nh([rr(!1)],lh.prototype,"bold",void 0),nh([rr(!1)],lh.prototype,"italic",void 0),nh([rr(!1)],lh.prototype,"underline",void 0),nh([rr(!1)],lh.prototype,"strikeout",void 0),Cn((e,t,i,r,s)=>{try{const r=bp(e.trim());return r?r(t,i):s()}catch(t){throw t.message="Unable to parse bindings.\nBindings value: "+e+"\nMessage: "+t.message,t}});const ch=ws()().optionsParser;ws()({optionsParser:function(e){const t=bp(e.trim());return t?t():ch(e)}}),Ui.extendTemplates({"dxrd-svg-fieldlist-list":"dxrd-svg-fieldlist-table","dxrd-svg-fieldlist-default":"dxrd-svg-fieldlist-column"}),wn((e,t,i)=>"string"==typeof e&&Ui.getExistingTemplate(e,!1)&&!document.getElementById(e)?new Wi(e,Ui._instance._data,Ui.templates):i());class uh extends or{constructor(){super(...arguments),this.selectedItem=null}dispose(){this.selectedItem=null}itemsFilter(e,t){return!0}hasItems(e){return"none"!==e.specifics&&("List"===e.specifics||"ListSource"===e.specifics||!0===e.isList)}canSelect(e){return!e.hasItems}select(e){this.canSelect(e)&&(this.selectedItem&&(this.selectedItem.isSelected=!1),this.selectedItem=e,e.isSelected=!0)}isDraggable(e){return!1}}class ph extends uh{constructor(e,t,i,r){super(),this.fieldName=e,this.putSelectionHandler=t,this.selectionHandler=i,this.customFilter=r}itemsFilter(e,t){return"none"!==e.specifics&&"ReportItems"!==e.name&&(!this.customFilter||this.customFilter(t))}select(e){this.selectionHandler?this.selectionHandler(e):super.select(e)}getActions(e){return[{clickAction:t=>this.putSelectionHandler(e,t)}]}canSelect(e){return!0}}class hh extends uh{constructor(e,t,i){super(),this.customFilter=e,this.putSelectionHandler=t,this.selectionHandler=i}itemsFilter(e){return"none"!==e.specifics&&(!this.customFilter||this.customFilter(e))}select(e){this.selectionHandler(e)}getActions(e){return[{clickAction:t=>{e&&!e.hasItems&&this.putSelectionHandler(e.path,t)}}]}canSelect(e){return!0}}var gh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class mh extends or{constructor(){super(...arguments),this.valueWritable=!0}setValueSource(e){this.valueWritable=!kt(e)||!!e.setValue,this.followSourceInto("value",e)}setPathSource(e){this.followSourceInto("path",e)}setFunctionsSource(e){this.followSourceInto("functions",e)}setFieldNameSource(e){this.followSourceInto("fieldName",e)}followSourceInto(e,t){if(!kt(t))return void(this[e]=t);const i=t;this.assignDerivedProperty(e,()=>i.getValue(),()=>[mi(i)],i.setValue&&(e=>i.setValue(e)))}tryWriteValue(e){this.valueWritable&&this.value!==e&&(this.value=e)}}gh([rr("")],mh.prototype,"value",void 0),gh([rr("")],mh.prototype,"path",void 0),gh([rr()],mh.prototype,"functions",void 0),gh([rr()],mh.prototype,"fieldName",void 0),gh([rr(null)],mh.prototype,"expression",void 0),gh([rr(!0)],mh.prototype,"isValid",void 0),gh([rr("")],mh.prototype,"warningMessage",void 0);class fh extends mh{constructor(e="",t,i){super(),this.setValueSource(e),void 0!==t&&this.setPathSource(t),void 0!==i&&this.setFunctionsSource(i)}}var xh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class vh extends nr{deferredUpdateViewModel(){return!1}constructor(e,t,i,r){super(),this._readItems=e,this.template=t,this.click=i,this.isFiltered=r}get data(){const e=this._readItems();if(!this.isFiltered||!this.value)return e;const t=this.value.toLocaleLowerCase();return e.filter(e=>-1!==(e.displayText||e.name).toLocaleLowerCase().indexOf(t))}updateViewModel(e){if(super.updateViewModel(e),"value"===e.propertyName){const e=this.getViewModel();e.value=this.value,e.data=this.data}}createViewModel(){return Zi(super.createViewModel()).generateProperty("data",this.data).generateProperty("template",this.template).generateProperty("click",this.click).generateProperty("isFiltered",this.isFiltered).generateProperty("value",this.value).generateProperty("onValueChanged",e=>{this.value=e.value}).generateProperty("searchPlaceholder",()=>De()).getViewModel()}}xh([rr("")],vh.prototype,"value",void 0);class yh extends x{get _surface(){return ze(this.target)}_updateActions(e){if(this._popupService.data=null,this._popupData&&this._popupData.dispose(),this._popupData=null,e){const t=this._surface;this.addDisposable(tt(this._popupService,"visible",e=>{t.isSelected=e,this._popupData&&(this._popupData.value="")})),this._popupService.viewModel=e;const i=t[this.propertyName];this._popupData=new vh(()=>t[this.propertyName],this.popupContentTemplate,e=>{t[this._action](e),this._popupService.visible=!1},!!i&&i.length>10),this._disposables.push(this._popupData),this._popupService.data=this._popupData.getViewModel()}}constructor(e,t,i,r,s){super(),this.showPopup=(e,t)=>{this.dispose(),this._disposables.splice(0),this._popupService.title="",this._surface.isSelected=!0,this._updateActions(this.target),this._popupService.target=t,setTimeout(()=>{this._popupService.visible=!0},10)},this.popupContentTemplate="dx-filtereditor-popup-common",this.target=e,this._action=i,this.propertyName=r,this._popupService=t,this.popupContentTemplate=s||this.popupContentTemplate}}const bh={AfterMidday:{name:"After Midday",_type:"function",insertVal:"AfterMidday()",emptyRightPart:!0,value:Ed.AfterMidday,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionAfterMidday"},And:{name:"And",_type:"group",insertVal:"And",value:Ad.And,type:Ad,localizationId:"StringId.FilterGroupAnd"},AndReversed:{name:"Not And",_type:"group",value:Ad.And,reverse:!0,type:Ad,localizationId:"StringId.FilterGroupNotAnd"},Avg:{name:"Avg",_type:"aggregate",value:"Avg",insertVal:"Avg()",type:Sd,localizationId:"StringId.FilterAggregateAvg"},BeforeMidday:{name:"Before Midday",_type:"function",insertVal:"BeforeMidday()",emptyRightPart:!0,value:Ed.BeforeMidday,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionBeforeMidday"},Between:{name:"Is between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:ju,localizationId:"StringId.FilterClauseBetween"},BetweenReversed:{name:"Is not between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:ju,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"},Contains:{name:"Contains",_type:"function",insertVal:"Contains(, )",value:Ed.Contains,type:Ed,localizationId:"StringId.FilterClauseContains"},ContainsReversed:{name:"Does not contain",_type:"function",value:Ed.Contains,type:Ed,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},Count:{name:"Count",_type:"aggregate",value:"Count",insertVal:"Count()",type:Sd,localizationId:"StringId.FilterAggregateCount"},EndsWith:{name:"Ends with",_type:"function",insertVal:"EndsWith(, )",value:Ed.EndsWith,type:Ed,localizationId:"StringId.FilterClauseEndsWith"},Equal:{name:"Equals",_type:"binary",insertVal:"==",value:_d.Equal,type:_d,localizationId:"StringId.FilterClauseEquals"},EqualReversed:{name:"Does not equal",_type:"binary",hidden:!0,reverse:!0,value:_d.Equal,type:_d,localizationId:"StringId.FilterClauseDoesNotEqual"},Exists:{name:"Exists",_type:"aggregate",value:"Exists",insertVal:"Exists()",type:Sd,localizationId:"StringId.FilterAggregateExists"},Greater:{name:"Is greater than",_type:"binary",insertVal:">",value:_d.Greater,type:_d,localizationId:"StringId.FilterClauseGreater"},GreaterOrEqual:{name:"Is greater than or equal to",_type:"binary",insertVal:">=",value:_d.GreaterOrEqual,type:_d,localizationId:"StringId.FilterClauseGreaterOrEqual"},GreaterOrEqualReversed:{name:"Is less than",_type:"binary",hidden:!0,reverse:!0,value:_d.GreaterOrEqual,type:_d,localizationId:"StringId.FilterClauseLess"},GreaterReversed:{name:"Is less than or equal to",_type:"binary",hidden:!0,reverse:!0,value:_d.Greater,type:_d,localizationId:"StringId.FilterClauseGreater"},In:{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:Gu,localizationId:"StringId.FilterClauseAnyOf"},InReversed:{name:"Is none of",_type:"in",value:"In",type:Gu,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},IsAfternoon:{name:"Is Afternoon",_type:"function",insertVal:"IsAfternoon()",emptyRightPart:!0,value:Ed.IsAfternoon,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsAfternoon"},IsApril:{name:"Is April",_type:"function",insertVal:"IsApril()",emptyRightPart:!0,value:Ed.IsApril,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},IsAugust:{name:"Is August",_type:"function",insertVal:"IsAugust()",emptyRightPart:!0,value:Ed.IsAugust,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},IsDecember:{name:"Is December",_type:"function",insertVal:"IsDecember()",emptyRightPart:!0,value:Ed.IsDecember,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"},IsEvening:{name:"Is Evening",_type:"function",insertVal:"IsEvening()",emptyRightPart:!0,value:Ed.IsEvening,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsEvening"},IsFebruary:{name:"Is February",_type:"function",insertVal:"IsFebruary()",emptyRightPart:!0,value:Ed.IsFebruary,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},IsFreeTime:{name:"Is Free Time",_type:"function",insertVal:"IsFreeTime()",emptyRightPart:!0,value:Ed.IsFreeTime,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsFreeTime"},IsJanuary:{name:"Is January",_type:"function",insertVal:"IsJanuary()",emptyRightPart:!0,value:Ed.IsJanuary,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},IsJuly:{name:"Is July",_type:"function",insertVal:"IsJuly()",emptyRightPart:!0,value:Ed.IsJuly,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},IsJune:{name:"Is June",_type:"function",insertVal:"IsJune()",emptyRightPart:!0,value:Ed.IsJune,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},IsLastHour:{name:"Is Last Hour",_type:"function",insertVal:"IsLastHour()",emptyRightPart:!0,value:Ed.IsLastHour,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastHour"},IsLastMonth:{name:"Is last month",_type:"function",insertVal:"IsLastMonth()",emptyRightPart:!0,value:Ed.IsLastMonth,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},IsLastYear:{name:"Is last year",_type:"function",insertVal:"IsLastYear()",emptyRightPart:!0,value:Ed.IsLastYear,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},IsLunchTime:{name:"Is Lunch Time",_type:"function",insertVal:"IsLunchTime()",emptyRightPart:!0,value:Ed.IsLunchTime,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsLunchTime"},IsMarch:{name:"Is March",_type:"function",insertVal:"IsMarch()",emptyRightPart:!0,value:Ed.IsMarch,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},IsMay:{name:"Is May",_type:"function",insertVal:"IsMay()",emptyRightPart:!0,value:Ed.IsMay,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},IsMorning:{name:"Is Morning",_type:"function",insertVal:"IsMorning()",emptyRightPart:!0,value:Ed.IsMorning,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsMorning"},IsNextHour:{name:"Is Next Hour",_type:"function",insertVal:"IsNextHour()",emptyRightPart:!0,value:Ed.IsNextHour,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextHour"},IsNextMonth:{name:"Is next month",_type:"function",insertVal:"IsNextMonth()",emptyRightPart:!0,value:Ed.IsNextMonth,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},IsNextYear:{name:"Is next year",_type:"function",insertVal:"IsNextYear()",emptyRightPart:!0,value:Ed.IsNextYear,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},IsNight:{name:"Is Night",_type:"function",insertVal:"IsNight()",emptyRightPart:!0,value:Ed.IsNight,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsNight"},IsNullReversed:{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:td.IsNull,type:td,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},IsNovember:{name:"Is November",_type:"function",insertVal:"IsNovember()",emptyRightPart:!0,value:Ed.IsNovember,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},IsNull:{name:"Is null",_type:"unary",insertVal:"Is Null",value:td.IsNull,type:td,localizationId:"StringId.FilterClauseIsNull"},IsNullOrEmpty:{name:"Is blank",_type:"function",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:Ed.IsNullOrEmpty,type:Ed,localizationId:"StringId.FilterClauseIsNullOrEmpty"},IsNullOrEmptyReversed:{name:"Is not blank",_type:"function",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:Ed.IsNullOrEmpty,type:Ed,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"},IsOctober:{name:"Is October",_type:"function",insertVal:"IsOctober()",emptyRightPart:!0,value:Ed.IsOctober,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},IsOutlookIntervalBeyondThisYear:{name:"Is beyond this year",_type:"function",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:Ed.IsOutlookIntervalBeyondThisYear,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},IsOutlookIntervalLastWeek:{name:"Is last week",_type:"function",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:Ed.IsOutlookIntervalLastWeek,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},IsOutlookIntervalNextWeek:{name:"Is next week",_type:"function",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:Ed.IsOutlookIntervalNextWeek,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},IsOutlookIntervalPriorThisYear:{name:"Is prior this year",_type:"function",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:Ed.IsOutlookIntervalPriorThisYear,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},IsOutlookIntervalToday:{name:"Is today",_type:"function",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:Ed.IsOutlookIntervalToday,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},IsOutlookIntervalTomorrow:{name:"Is tomorrow",_type:"function",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:Ed.IsOutlookIntervalTomorrow,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},IsOutlookIntervalYesterday:{name:"Is yesterday",_type:"function",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:Ed.IsOutlookIntervalYesterday,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},IsSameDay:{name:"Is same day",_type:"function",insertVal:"IsSameDay(, )",value:Ed.IsSameDay,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},IsSameHour:{name:"Is same hour",_type:"function",insertVal:"IsSameHour(, )",value:Ed.IsSameHour,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameHour"},IsSameTime:{name:"Is same time",_type:"function",insertVal:"IsSameTime(, )",value:Ed.IsSameTime,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameTime"},IsSeptember:{name:"Is September",_type:"function",insertVal:"IsSeptember()",emptyRightPart:!0,value:Ed.IsSeptember,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},IsThisHour:{name:"Is This Hour",_type:"function",insertVal:"IsThisHour()",emptyRightPart:!0,value:Ed.IsThisHour,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisHour"},IsThisMonth:{name:"Is this month",_type:"function",insertVal:"IsThisMonth()",emptyRightPart:!0,value:Ed.IsThisMonth,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},IsThisWeek:{name:"Is this week",_type:"function",insertVal:"IsThisWeek()",emptyRightPart:!0,value:Ed.IsThisWeek,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},IsThisYear:{name:"Is this year",_type:"function",insertVal:"IsThisYear()",emptyRightPart:!0,value:Ed.IsThisYear,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},IsWorkTime:{name:"Is Work Time",_type:"function",insertVal:"IsWorkTime()",emptyRightPart:!0,value:Ed.IsWorkTime,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsWorkTime"},IsYearToDate:{name:"Is the year-to-date period",_type:"function",insertVal:"IsYearToDate()",emptyRightPart:!0,value:Ed.IsYearToDate,type:Ed,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},Less:{name:"Is less than",_type:"binary",insertVal:"<",value:_d.Less,type:_d,localizationId:"StringId.FilterClauseLess"},LessOrEqual:{name:"Is less than or equal to",_type:"binary",insertVal:"<=",value:_d.LessOrEqual,type:_d,localizationId:"StringId.FilterClauseLessOrEqual"},LessOrEqualReversed:{name:"Is greater than",_type:"binary",reverse:!0,hidden:!0,value:_d.LessOrEqual,type:_d,localizationId:"StringId.FilterClauseGreater"},LessReversed:{name:"Is greater than or equal to",_type:"binary",reverse:!0,hidden:!0,value:_d.Less,type:_d,localizationId:"StringId.FilterClauseGreaterOrEqual"},Like:{name:"Is like",_type:"binary",insertVal:"Like",value:_d.Like,type:_d,localizationId:"StringId.FilterClauseLike"},LikeReversed:{name:"Is not like",_type:"binary",insertVal:"Not Like",value:_d.Like,type:_d,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},Max:{name:"Max",_type:"aggregate",value:"Max",insertVal:"Max()",type:Sd,localizationId:"StringId.FilterAggregateMax"},Min:{name:"Min",_type:"aggregate",value:"Min",insertVal:"Min()",type:Sd,localizationId:"StringId.FilterAggregateMin"},NotEqual:{name:"Does not equal",_type:"binary",insertVal:"!=",value:_d.NotEqual,type:_d,localizationId:"StringId.FilterClauseDoesNotEqual"},NotEqualReversed:{name:"Equals",_type:"binary",reverse:!0,hidden:!0,value:_d.NotEqual,type:_d,localizationId:"StringId.FilterClauseEquals"},Or:{name:"Or",_type:"group",insertVal:"Or",value:Ad.Or,type:Ad,localizationId:"StringId.FilterGroupOr"},OrReversed:{name:"Not Or",_type:"group",value:Ad.Or,reverse:!0,type:Ad,localizationId:"StringId.FilterGroupNotOr"},StartsWith:{name:"Begins with",_type:"function",insertVal:"StartsWith(, )",value:Ed.StartsWith,type:Ed,localizationId:"StringId.FilterClauseBeginsWith"},Sum:{name:"Sum",_type:"aggregate",value:"Sum",insertVal:"Sum()",type:Sd,localizationId:"StringId.FilterAggregateSum"}},Ch=[bh.Equal,bh.EqualReversed,bh.NotEqual,bh.NotEqualReversed],wh=[bh.IsNull,bh.IsNullReversed],_h=[bh.In,bh.InReversed],Ah=[bh.Greater,bh.GreaterReversed,bh.GreaterOrEqual,bh.GreaterOrEqualReversed],Eh=[bh.Less,bh.LessReversed,bh.LessOrEqual,bh.LessOrEqualReversed],Sh=[bh.Between,bh.BetweenReversed],Ih=[bh.Contains,bh.ContainsReversed],Ph=[bh.Like,bh.LikeReversed],Dh=[bh.IsNullOrEmpty,bh.IsNullOrEmptyReversed],Th=[bh.IsOutlookIntervalBeyondThisYear,bh.IsOutlookIntervalNextWeek,bh.IsOutlookIntervalTomorrow,bh.IsOutlookIntervalToday,bh.IsOutlookIntervalYesterday,bh.IsOutlookIntervalLastWeek,bh.IsOutlookIntervalPriorThisYear,bh.IsSameDay,bh.IsThisMonth,bh.IsThisWeek,bh.IsThisYear,bh.IsNextMonth,bh.IsNextYear,bh.IsLastMonth,bh.IsLastYear,bh.IsYearToDate,bh.IsJanuary,bh.IsFebruary,bh.IsMarch,bh.IsApril,bh.IsMay,bh.IsJune,bh.IsJuly,bh.IsAugust,bh.IsSeptember,bh.IsOctober,bh.IsNovember,bh.IsDecember],Vh=[bh.IsSameTime,bh.IsSameHour,bh.BeforeMidday,bh.AfterMidday,bh.IsNight,bh.IsMorning,bh.IsAfternoon,bh.IsEvening,bh.IsWorkTime,bh.IsFreeTime,bh.IsLunchTime,bh.IsLastHour,bh.IsThisHour,bh.IsNextHour],Mh=[bh.Exists,bh.Count,bh.Max,bh.Min,bh.Sum,bh.Avg],kh=[bh.And,bh.Or,bh.AndReversed,bh.OrReversed];var Fh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class $h extends or{constructor(e="integer",t=""){super(),this.assignProperty("specifics",e),this.assignProperty("dataType",t)}}Fh([rr(!1)],$h.prototype,"isUpdated",void 0);var Oh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};function Nh(...e){return e}class Bh extends nr{deferredUpdateViewModel(){return!1}_createLeftPartProperty(e){let t;if(e instanceof Cd)t=this.createChildSurface(e);else{t=this.createChildSurface(e);const i=Object.keys(this.helper.filterEditorOperators).reduce((e,t)=>("_common"!==t&&"integer"===e&&this.helper._getFilterEditorOperator(this.model,this.helper.filterEditorOperators[t],this.reverse)&&(e=t),e),"integer");t.typeAnswered||(t.typeState.specifics=i,t.typeAnswered=!0)}if(t.canChange=!1,t.canRemove=!1,t&&"aggregate"===t.model.type){this.specificsDerived=!0;const e=()=>t.aggregatedExpression,i=()=>{const i=e();this.typeState.specifics=i&&i.specifics||"integer",this.typeState.dataType=i&&i.dataType||"integer",this.typeState.isUpdated=t.isUpdated};this.addDisposable(gi(()=>[qt(t,["aggregatedExpression"]),qt(t.typeState,["isUpdated"]),e()&&qt(e().typeState,["specifics","dataType"])],i))}else this.typeState=t.typeState,this.specificsDerived=t.specificsDerived;return this.typeAnswered=!0,t}createChildSurface(e,t,i){return new this.helper.mapper[e.type](e,this,this.fieldListProvider,t||this.path)}get childSlotNames(){return[]}findChildSlot(e){const t=this;for(const i of this.childSlotNames){const r=t[i];if(Array.isArray(r)){const t=r.indexOf(e);if(t>-1)return{name:i,index:t}}else if(r===e)return{name:i,index:null}}return{name:null,index:null}}getChild(e){const t=this[e.name];return null!==e.index?t[e.index]:t}setChild(e,t){if(null!==e.index){const i=this[e.name].slice();i.splice(e.index,1,t),this[e.name]=i}else this[e.name]=t}getDisplayType(){const e=this.operatorType||"",t=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return t&&t.name&&(t.displayText||$i(t.name,t.localizationId))||this.model.displayType||e}constructor(e,t,i,r){super(),this.specificsDerived=!1,this.typeAnswered=!1,this.leftPart=null,this.rightPart=null,this.canRemove=!0,this.templateName="dx-filtereditor-common",this.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",this.popupService=t.popupService||new Ul,this.model=e,this.helper=t.helper,this.fieldListProvider=i,this.path=r,this.parent=t,this.assignProperty("typeState",new $h),this.assignProperty("operatorType",e.operatorType);const s=e=>()=>[qt(this,["typeState"]),qt(this.typeState,[e])];this.assignDerivedProperty("specifics",()=>this.typeState.specifics,s("specifics"),e=>{this.typeState.specifics=e}),this.assignDerivedProperty("dataType",()=>this.typeState.dataType,s("dataType"),e=>{this.typeState.dataType=e}),this.assignDerivedProperty("isUpdated",()=>this.typeState.isUpdated,s("isUpdated"),e=>{this.typeState.isUpdated=e}),this.assignDerivedProperty("displayType",()=>this.getDisplayType(),()=>[qt(this,["operatorType","specifics","reverse"])]),this.assignDerivedProperty("css",()=>this.operatorClass+(this.isSelected?" selected":""),()=>[qt(this,["isSelected"])],void 0,{lazy:!0})}get items(){return this.helper.filterEditorOperators[this.specifics]||this.helper.filterEditorOperators._common}change(e,t){!t&&e&&this.model.enumType===e.type&&this.reverse===e.reverse&&e.type!==Ed?this.operatorType=e.value:this.parent.change(e,this),this.helper.onChange()}remove(e){this.parent.remove(this),this.helper.onChange()}onPropertyChanged(e){"operatorType"===e.propertyName&&this.model.assignType(e.newValue)}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"displayType"===e.propertyName&&(t.displayType=this.displayType),"specifics"===e.propertyName&&(t.specifics=this.specifics),"isSelected"===e.propertyName&&(t.isSelected=this.isSelected),"css"===e.propertyName&&(t.css=this.css),"leftPart"===e.propertyName&&(t.leftPart=He(this.leftPart)),"rightPart"===e.propertyName&&(t.rightPart=this.publishValue(this.rightPart))}publishValue(e){return e instanceof Bh?He(e):Array.isArray(e)&&e.every(e=>e instanceof Bh)?je(e):e}createViewModel(){return Zi(super.createViewModel()).generateProperty("templateName",this.templateName).generateProperty("contentTemplateName",this.contentTemplateName).generateProperty("canRemove",this.canRemove).generateProperty("canChange",this.canChange).generateProperty("reverse",this.reverse).generateProperty("css",this.css).generateProperty("displayType",this.displayType).generateProperty("specifics",this.specifics).generateProperty("isSelected",this.isSelected).generateProperty("leftPart",this.publishValue(this.leftPart)).generateProperty("rightPart",this.publishValue(this.rightPart)).generateProperty("remove",()=>this.remove()).getViewModel()}}Oh([rr(!1)],Bh.prototype,"isSelected",void 0),Oh([rr()],Bh.prototype,"reverse",void 0);class Lh extends Bh{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-unary";let s=this.createChildSurface(e.operand);e.operatorType===td.Not?(this.templateName="dx-filtereditor-not",s.reverse=!0,this.typeState=s.typeState,this.typeAnswered=!0):(s.dispose(),s=this._createLeftPartProperty(e.operand)),this.assignProperty("operand",s),this.assignDerivedProperty("leftPart",()=>this.operand&&this.operand.reverse&&this.operand.leftPart?this.operand.leftPart:this.operand,()=>[qt(this,["operand"]),this.operand&&qt(this.operand,["leftPart","reverse"])]),this.assignDerivedProperty("rightPart",()=>this.operand&&this.operand.reverse?this.operand.rightPart:null,()=>[qt(this,["operand"]),this.operand&&qt(this.operand,["rightPart","reverse"])])}createChildSurface(e,t,i){return this.operatorType!==td.Not||this.helper._getFilterEditorOperator(e,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new Pd(Ad.And,[e])),super.createChildSurface(this.model.operand,t,i)}createViewModel(){return Zi(super.createViewModel()).generateProperty("operand",He(this.operand)).getViewModel()}updateViewModel(e){super.updateViewModel(e),"operand"===e.propertyName&&(this.getViewModel().operand=He(this.operand))}dispose(){this.operand.dispose(),super.dispose()}get childSlotNames(){return Nh("operand")}}var zh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Hh extends Bh{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-aggregate",this.assignDerivedProperty("leftPart",()=>this.property,()=>[qt(this,["property"])]),this.assignDerivedProperty("rightPart",()=>this.aggregatedExpression,()=>[qt(this,["aggregatedExpression"])]),this.assignProperty("property",this._createLeftPartProperty(e.property));const s=ai(()=>this.path.getValue()+"."+this.property.propertyName,()=>[this.path,qt(this,["property"]),this.property&&qt(this.property,["propertyName"])]);e.aggregatedExpression&&(this.aggregatedExpression=this.createChildSurface(e.aggregatedExpression,s),this.templateName="dx-filtereditor-aggregate-common"),"Count"===e.operatorType&&(this.templateName="dx-filtereditor-aggregate-common");const o=this.createChildSurface(e.condition,s);o.canRemove=!1,o instanceof Lh&&(o.operand.canRemove=!1),this.assignProperty("condition",o),this.change=(e,t)=>{if(t){const i=this.model.change(e,t.model),r=this.createChildSurface(i,s);r.canRemove=!1,r instanceof Lh&&(r.operand.canRemove=!1),this.condition=r}else"Exists"===this.operatorType||"Count"===this.operatorType?this.parent.change(e,this):!e||"Exists"!==e.value&&"Count"!==e.value?super.change(e,t):this.parent.change(e,this);this.helper.onChange()}}createViewModel(){return Zi(super.createViewModel()).generateProperty("property",He(this.property)).generateProperty("aggregatedExpression",He(this.aggregatedExpression)).generateProperty("condition",He(this.condition)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"property"===e.propertyName&&(t.property=He(this.property)),"aggregatedExpression"===e.propertyName&&(t.aggregatedExpression=He(this.aggregatedExpression)),"condition"===e.propertyName&&(t.condition=He(this.condition))}dispose(){this.property.dispose(),this.condition.dispose(),this.aggregatedExpression&&this.aggregatedExpression.dispose(),super.dispose()}get childSlotNames(){return Nh("property","aggregatedExpression","condition")}}zh([rr(null)],Hh.prototype,"aggregatedExpression",void 0);class Rh extends Bh{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-between",this.assignDerivedProperty("leftPart",()=>this.property,()=>[qt(this,["property"])]),this.assignDerivedProperty("rightPart",()=>[this.begin,this.end],()=>[qt(this,["begin","end"])]),this.assignProperty("property",this._createLeftPartProperty(e.property)),this.assignProperty("begin",this.createChildSurface(e.begin)),this.assignProperty("end",this.createChildSurface(e.end))}createViewModel(){return Zi(super.createViewModel()).generateProperty("property",Re(this.property)).generateProperty("begin",Re(this.begin)).generateProperty("end",Re(this.end)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"property"===e.propertyName&&(t.property=Re(this.property)),"begin"===e.propertyName&&(t.begin=Re(this.begin)),"end"===e.propertyName&&(t.end=Re(this.end))}dispose(){this.property.dispose(),this.begin.dispose(),this.end.dispose(),super.dispose()}get childSlotNames(){return Nh("property","begin","end")}}class jh extends Bh{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-binary",this.assignDerivedProperty("leftPart",()=>this.leftOperand,()=>[qt(this,["leftOperand"])]),this.assignDerivedProperty("rightPart",()=>this.rightOperand,()=>[qt(this,["rightOperand"])]),this.assignProperty("leftOperand",this._createLeftPartProperty(e.leftOperand)),this.assignProperty("rightOperand",this.createChildSurface(e.rightOperand))}createViewModel(){return Zi(super.createViewModel()).generateProperty("leftOperand",Re(this.leftOperand)).generateProperty("rightOperand",Re(this.rightOperand)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"leftOperand"===e.propertyName&&(t.leftOperand=Re(this.leftOperand)),"rightOperand"===e.propertyName&&(t.rightOperand=Re(this.rightOperand))}dispose(){this.leftOperand.dispose(),this.rightOperand.dispose(),super.dispose()}get childSlotNames(){return Nh("leftOperand","rightOperand")}}function Gh(e){e.displayText=$i(e.name,e.localizationId)}class Wh extends Bh{getRealParent(e){return e instanceof Lh?this.getRealParent(e.parent):e}getRealProperty(e){return e.parent instanceof Lh?this.getRealProperty(e.parent):e}getConvertableParameters(e,t){return this.helper.parameters?this.helper.parameters.filter(i=>{const r=i.specifics&&i.specifics.toLowerCase();return null!=r&&null!=e&&("date"===e&&fe(i.type)?i.type().indexOf(t)>0:r===e||("default"===e||("string"===e||("float"===e?"integer"===r:"enum"===e&&("integer"===r||"string"===r)))))}):[]}constructor(e,t,i,r){super(e,t,i,r),this.canChange=!0,this.canRemove=!1,this.changeValueType=e=>{const t=this.getRealParent(this.parent),i=this.getRealProperty(this),r=t.findChildSlot(i),s=t.model.changeValueType(e.instance,r);t.getChild(r).dispose(),t.setChild(r,t.createChildSurface(s)),this.helper.onChange()}}get changeTypeItems(){const e=[{name:"Value",instance:yd,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&e.push({name:"Property",instance:Cd,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(this.getConvertableParameters(this.parent.specifics,this.parent.dataType).length>0||this.helper.canCreateParameters)&&e.push({name:"Parameter",instance:bd,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),e.forEach(Gh),e}}var Uh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class qh extends Wh{constructor(e,t,i,r){if(super(e,t,i,r),this.canRemove=!0,this.contentTemplateName="dx-filtereditor-function",this.assignDerivedProperty("leftPart",()=>this.operands&&this.operands[0],()=>[qt(this,["operands"])]),this.assignDerivedProperty("rightPart",()=>this.operands&&this.operands.filter((e,t)=>0!==t),()=>[qt(this,["operands"])]),0===e.operands.length)this.typeState=t instanceof Lh?t.parent.typeState:t.typeState,this.contentTemplateName="dx-filtereditor-function-lightweight",this.canRemove=!1;else{const t=[this._createLeftPartProperty(e.operands[0])];for(let i=1;i<e.operands.length;i++)t.push(this.createChildSurface(e.operands[i]));this.operands=t}}getDisplayType(){const e=this.items.filter(e=>this.operatorType===e.value&&this.reverse===e.reverse&&this.model.enumType===e.type)[0];return e&&e.name?e.displayText||$i(e.name,e.localizationId):isNaN(parseInt(this.operatorType))?this.operatorType||"":Ed[this.operatorType]}createViewModel(){return Zi(super.createViewModel()).generateProperty("operands",je(this.operands)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"operands"===e.propertyName&&(t.operands=je(this.operands))}dispose(){this.operands.forEach(e=>e.dispose()),super.dispose()}get childSlotNames(){return Nh("operands")}}Uh([rr(()=>[])],qh.prototype,"operands",void 0);class Kh extends Bh{constructor(e,t,i,r){super(e,t,i,r),this.templateName="dx-filtereditor-group",this.operatorClass="criteria-operator-item-group dxd-filter-editor-group-back-color dxd-filter-editor-text-color",this.createItems=null,this.assignDerivedProperty("rightPart",()=>this.operands,()=>[qt(this,["operands"])]),this.createItems=[{name:"Add group",value:!0,localizationId:"StringId.FilterMenuGroupAdd"},{name:"Add condition",value:!1,localizationId:"StringId.FilterMenuConditionAdd"}],this.createItems.forEach(Gh),this.assignProperty("operands",(e.operands||[]).map(e=>this.createChildSurface(e))),this.typeState.specifics="group",this.typeAnswered=!0}change(e,t){if(t){const i=t.specifics||"integer",r=this.helper.filterEditorOperators[i]||this.helper.filterEditorOperators._common;if(!e){const i=r.filter(e=>t.operatorType===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type)[0];e=i||r[0]}const s=this.model.change(e,t.model,t.leftPart instanceof Hh&&"list"!==t.leftPart.leftPart.specifics),o=this.operands.indexOf(t),n=this.createChildSurface(s);this.operands[o].dispose();const a=this.operands.slice();a.splice(o,1,n),this.operands=a}else super.change(e,t);this.helper.onChange()}remove(e){e?(this.model.remove(e.model),this.operands=this.operands.filter(t=>t!==e),e.dispose()):(this.parent.remove(this),this.dispose()),this.helper.onChange()}create(e){const t=this.model.create(e.value,new Cd);this.operands=this.operands.concat(this.createChildSurface(t)),this.helper.onChange()}createViewModel(){return Zi(super.createViewModel()).generateProperty("operands",je(this.operands)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"operands"===e.propertyName&&(t.operands=je(this.operands))}dispose(){this.operands.forEach(e=>e.dispose()),super.dispose()}get childSlotNames(){return Nh("operands")}}class Yh extends Bh{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-in",this.assignDerivedProperty("leftPart",()=>this.criteriaOperator,()=>[qt(this,["criteriaOperator"])]),this.assignDerivedProperty("rightPart",()=>this.operands,()=>[qt(this,["operands"])]),this.assignProperty("criteriaOperator",this._createLeftPartProperty(e.criteriaOperator)),this.assignProperty("operands",(e.operands||[]).map(e=>this.createChildSurface(e))),this.addValue=()=>{const e=new yd(null);this.model.operands.push(e),this.operands=this.operands.concat(this.createChildSurface(e))}}createViewModel(){return Zi(super.createViewModel()).generateProperty("criteriaOperator",Re(this.criteriaOperator)).generateProperty("operands",je(this.operands)).generateProperty("addValue",()=>this.addValue()).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"criteriaOperator"===e.propertyName&&(t.criteriaOperator=Re(this.criteriaOperator)),"operands"===e.propertyName&&(t.operands=je(this.operands))}dispose(){this.criteriaOperator.dispose(),this.operands.forEach(e=>e.dispose()),super.dispose()}get childSlotNames(){return Nh("criteriaOperator","operands")}}class Zh extends Wh{constructor(e,t,i,r){super(e,t,i,r),this.changeParameter=e=>{this.model.parameterName=e.name,this.parameterName=e.name,this.helper.onChange()},this.operatorClass="criteria-operator-item-parameter dxd-filter-editor-parameter-back-color dxd-filter-editor-text-color",this.templateName="dx-filtereditor-parameter",this.typeState=t.typeState,this.assignProperty("parameterName",e.parameterName),!this.parameterName&&this.items.length>0&&this.changeParameter(this.items[0]),this.addDisposable(gi(()=>[qt(this.typeState,["specifics","dataType"])],()=>this.onTypeChanged(),!1))}onTypeChanged(){0==this.items.filter(e=>e.name==this.parameterName).length&&(this.items.length>0?this.changeParameter(this.items[0]):this.changeParameter({name:""}))}get items(){return this.getConvertableParameters(this.specifics,this.dataType)}getDisplayType(){return null}createViewModel(){return Zi(super.createViewModel()).generateProperty("parameterName",this.parameterName).getViewModel()}updateViewModel(e){super.updateViewModel(e),"parameterName"===e.propertyName&&(this.getViewModel().parameterName=this.parameterName)}}var Jh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Xh extends Wh{_updateDisplayName(e,t,i){this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(e?.getValue(),t).done(e=>{this._displayName=e}):this._displayName=i}_updateSpecifics(){const e=this.propertyName.split(".");let t=e.pop();this.fieldsOptions.itemsProvider&&(this.isUpdated=!0,this.fieldsOptions.itemsProvider.getItems(new rd([this.path&&this.path.getValue()].concat(e).join("."))).done(e=>{const i=e.filter(e=>"List"!==e.specifics&&!e.isList);!this.propertyName&&i.length>0&&(this.model.propertyName=i[0].name,this.propertyName=i[0].name,t=i[0].name);const r=e.filter(e=>e.name===t)[0];if(r){let e=r.specifics.toLowerCase();0===e.indexOf("calc")&&(e=e.split("calc")[1]),this.specifics=e,this.dataType=r.dataType,this._updateDisplayName(this.path,this.propertyName,r.displayName)}}).always(()=>{this.isUpdated=!1}))}constructor(e,t,i,r){super(e,t,i,r),this.changeProperty=e=>{this.fieldsOptions.treeListController.selectedItem=e},this.templateName="dx-filtereditor-property",this.operatorClass="criteria-operator-item-field dxd-filter-editor-field-back-color dxd-filter-editor-field-back-color dxd-filter-editor-text-color",this.typeAnswered=!0,this.assignProperty("propertyName",e.propertyName),this.fieldsOptions=this.helper.generateTreelistOptions(i,r&&r.getValue(),zt(this,"selectedPath")),this.addDisposable(tt(this.fieldsOptions.treeListController,"selectedItem",e=>{this._updateDisplayName(r,this.propertyName,e.displayName);let t=e.specifics.toLowerCase();0===t.indexOf("calc")&&(t=t.split("calc")[1]),this.specifics===t&&this.dataType===e.dataType||(this.specifics=t,this.dataType=e.dataType,this.parent.change()),this.helper.onChange()}));const s=this.path&&this.path.getValue();this.selectedPath=s?[s,this.propertyName].join("."):this.propertyName,this.assignDerivedProperty("displayName",()=>this._displayName||this.propertyName,()=>[qt(this,["_displayName","propertyName"])]),this._updateSpecifics()}get items(){return this.fieldsOptions}getDisplayType(){return null}createViewModel(){return Zi(super.createViewModel()).generateProperty("propertyName",this.propertyName).generateProperty("displayName",this.displayName).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"propertyName"===e.propertyName&&(t.propertyName=this.propertyName),"displayName"===e.propertyName&&(t.displayName=this.displayName)}onPropertyChanged(e){if(super.onPropertyChanged(e),"selectedPath"===e.propertyName){const e=this.path&&this.path.getValue(),t=this.selectedPath.substr(e&&e.length>0?e.length+1:0);this.propertyName=t,this.model.propertyName=t,this.popupService.visible=!1}}}Jh([rr("")],Xh.prototype,"_displayName",void 0),Jh([rr("")],Xh.prototype,"selectedPath",void 0);var Qh=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class eg extends Wh{_updateDate(e){"date"===e||"time"===e||"datetime"===e?this.editedValue instanceof Date||(this.editedValue=new Date((new Date).setHours(0,0,0,0))):this.editedValue=""}get items(){return this.values}constructor(e,t,i,r){super(e,t,i,r),this._scroll=null,this.changeValue=()=>{const e=this.getRealParent(this.parent),t=this.getRealProperty(this),i=e.findChildSlot(t),r=e.model.changeValue(this.model,this.reverse,i);e.getChild(i).dispose(),e.setChild(i,e.createChildSurface(r))},this.templateName="dx-filtereditor-value",this.getDropDownOptions=(e,t)=>({container:t.getPopupContainer(e)}),this.getNumberEditorOptions=e=>$d.getNumberEditorOptions(this.dataType,this.specifics,this._getBaseOptions(e)),this.getStringEditorOptions=e=>this._getBaseOptions(e),this.getBoolEditorOptions=(e,t)=>({dataSource:[{val:"True",text:"Yes",localizationId:"AnalyticsCoreStringId.ParametersPanel_True"},{val:"False",text:"No",localizationId:"AnalyticsCoreStringId.ParametersPanel_False"}],valueExpr:"val",displayExpr:"text",dropDownOptions:{container:t.getPopupContainer(e)},displayCustomValue:!0,...this._getBaseOptions(e)}),this.getDateEditorOptions=(e,t,i)=>({closeOnValueChange:!0,type:i,dropDownOptions:this.getDropDownOptions(e,t),...this._getBaseOptions(e)}),this.getListEditOptions=(e,t,i)=>{const r="object"!=typeof this.items[0];return{dataSource:i,acceptCustomValue:r,valueExpr:r?void 0:"value",displayExpr:r?void 0:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:this.getDropDownOptions(e,t),...this._getBaseOptions(e)}},this.getEnumEditOptions=(e,t,i)=>({dataSource:i,valueExpr:"value",displayExpr:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:this.getDropDownOptions(e,t),...this._getBaseOptions(e)}),this.assignDerivedProperty("dataSource",()=>new(Ln())({store:this.values,paginate:this.values.length>200,pageSize:100}),()=>[qt(this,["values"])],void 0,{cached:!0}),this.addDisposable(it(this,"dataSource",({oldValue:e})=>e?.dispose())),t instanceof Lh?(this.typeState=t.parent.typeState,this.specificsDerived=t.parent.specificsDerived,t.model.operatorType===td.Minus&&(this.reverse=!0)):(this.typeState=t.typeState,this.specificsDerived=t.specificsDerived),e.specifics&&!this.specificsDerived&&"enum"!==this.specifics&&(this.specifics=e.specifics),this.assignProperty("editedValue",e.value),this.assignDerivedProperty("value",()=>{let e=this.editedValue;if(e instanceof Date&&(e="time"===this.specifics?$e(e):Fe(e)),this.items.length>0){const t=this.items.filter(t=>String(t.value)===String(e))[0];if(t)return t.display}return this.reverse&&(e="-"+e),null!=e&&""!==e?e:this.getDefaultValue()},()=>[qt(this,["editedValue","specifics","values","reverse"])],e=>{e>0&&!this.reverse||e<0&&this.reverse?this.editedValue=e:(e>0&&this.reverse||e<0&&!this.reverse)&&(this.reverse=!this.reverse,this.editedValue=e<0?(""+e).substring(1):e,this.changeValue())}),Wd(this.editedValue)&&this._updateDate(this.specifics),this.addDisposable(gi(()=>[qt(this.typeState,["specifics"])],()=>{this.isUpdated||(e.specifics=this.specifics,this._updateDate(this.specifics))},!1)),this.addDisposable(gi(()=>{const e=this.parent.leftPart;return[qt(this.typeState,["specifics"]),Ot(this.fieldListProvider),this.path,e instanceof Xh?qt(e,["propertyName"]):void 0]},()=>{"enum"!==this.specifics?this.collectValues():this.collectEnumValues()})),e.specifics=this.specifics}getDisplayType(){return null}isDefaultDisplay(){return this.value===this.getDefaultValue()}getDefaultValue(){return eg._defaultValue?eg._defaultValue:eg._defaultValue=$i("Enter a value","StringId.FilterEmptyEnter")}scrollTo(e){if(!this._scroll){const t=e.closest(".dx-filtereditor-tree");this._scroll=On().getInstance(t)}this._scroll.scrollToElement(e)}onPropertyChanged(e){super.onPropertyChanged(e),"editedValue"===e.propertyName&&(this.model.value=this.editedValue,this.helper.onChange())}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"value"===e.propertyName&&(t.value=this.value),"values"===e.propertyName&&(t.items=this.items),"isEditable"===e.propertyName&&(t.isEditable=this.isEditable),"dataSource"===e.propertyName&&(t.dataSource=this.dataSource)}createViewModel(){return Zi(super.createViewModel()).generateProperty("value",this.value).generateProperty("items",this.items).generateProperty("isEditable",this.isEditable).generateProperty("setEditable",e=>{this.isEditable=e}).generateProperty("isDefaultDisplay",()=>this.isDefaultDisplay()).generateProperty("getNumberEditorOptions",e=>this.getNumberEditorOptions(e)).generateProperty("getStringEditorOptions",e=>this.getStringEditorOptions(e)).generateProperty("getBoolEditorOptions",(e,t)=>this.getBoolEditorOptions(e,t)).generateProperty("getDateEditorOptions",(e,t,i)=>this.getDateEditorOptions(e,t,i)).generateProperty("getListEditOptions",(e,t,i)=>this.getListEditOptions(e,t,i)).generateProperty("getEnumEditOptions",(e,t,i)=>this.getEnumEditOptions(e,t,i)).generateProperty("dataSource",this.dataSource).getViewModel()}dispose(){this.dataSource?.dispose(),super.dispose()}_getBaseOptions(e){return Zi({onValueChanged:e=>{this.editedValue=e.value},onFocusOut:()=>{this.isEditable=!1},onFocusIn:()=>this.scrollTo(e)}).generateProperty("value",this.editedValue).getViewModel()}collectValues(){const e=Ft(this.fieldListProvider);e&&e.getValues&&this.parent.leftPart instanceof Xh&&this.parent.leftPart.propertyName&&e.getValues(new rd(this.path.getValue()+"."+this.parent.leftPart.propertyName)).done(e=>{this.values=e})}collectEnumValues(){const e=Ft(this.fieldListProvider);if(e&&e.getItems&&this.parent.leftPart instanceof Xh){const t=this.parent.leftPart.propertyName;if(t){const i=t.split("."),r=i.pop(),s=[this.path.getValue(),...i].join(".");e.getItems(new rd(s)).done(e=>{const t=e.find(e=>e.name===r);let i=[];t&&t.enumValues&&(i=t.enumValues.map(({name:e,displayName:i})=>({value:[t.enumRegisteredType,e].filter(Boolean).join(vd),display:i}))),this.values=i})}}}}Qh([rr(()=>[])],eg.prototype,"values",void 0),Qh([rr(!1)],eg.prototype,"isEditable",void 0);var tg,ig=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class rg extends or{itemsFilter(e){return!0}hasItems(e){return"none"!==e.specifics&&"List"!==e.specifics&&!0===e.isList}canSelect(e){return!e.data.isList||!0===e.data.isList&&"List"===e.data.specifics}select(e){this.canSelect(e)&&(this.selectedItem=e.data,e.isSelected=!0)}dispose(){super.dispose(),this.selectedItem=null}isDraggable(e){return!1}}ig([rr(null)],rg.prototype,"selectedItem",void 0),function(e){e[e.Left=0]="Left",e[e.Right=1]="Right",e[e.Unary=2]="Unary"}(tg||(tg={}));class sg{customValidate(e,t){return!1}checkLeftPart(e){return e instanceof Cd||this.customValidate(e,tg.Left)}_checkRightPart(e){return e instanceof Cd||e instanceof bd||e instanceof yd||e instanceof Ku||e instanceof wd&&this._checkRightPart(e.operand)||this.customValidate(e,tg.Right)}checkRightPart(e){if(Array.isArray(e)){for(let t=0;t<e.length;t++)if(!this._checkRightPart(e[t]))return!1;return!0}return this._checkRightPart(e)}aggregateIsValid(e){return this.checkLeftPart(e.leftPart)&&this.validateModel(e.condition)&&(!e.aggregatedExpression||(e.aggregatedExpression instanceof Cd||this.validateModel(e.aggregatedExpression)))}commonOperandValid(e){return e.leftPart instanceof Sd?this.validateModel(e.leftPart):this.checkLeftPart(e.leftPart)&&this.checkRightPart(e.rightPart)}groupIsValid(e){for(let t=0;t<e.operands.length;t++)if(!this.validateModel(e.operands[t]))return!1;return!0}unaryIsValid(e){return e.operand instanceof Cd||this.validateModel(e.operand)||this.customValidate(e.operand,tg.Unary)}validateModel(e){return e instanceof Sd?this.aggregateIsValid(e):e instanceof Pd?this.groupIsValid(e):e instanceof wd?this.unaryIsValid(e):this.commonOperandValid(e)}}class og{get _allFilterEditorOperators(){const e=[];return Object.keys(this.filterEditorOperators).forEach(t=>{e.push(...this.filterEditorOperators[t])}),e}_getFilterEditorOperator(e,t,i){return t.filter(t=>t.value===e.operatorType&&t.type===e.enumType&&t.reverse===i)[0]}_initDisplayText(){Object.keys(this.filterEditorOperators).forEach(e=>{this.filterEditorOperators[e].forEach(Gh)})}constructor(e){this.rtl=!1,this._readParameters=()=>[],this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new sg,this.filterEditorOperators={_common:[...Ch,...Ah,...Eh,...Sh],string:[],guid:[],integer:[],float:[],datetime:[],date:[],time:[],list:[],group:[],bool:[],custom:[],enum:[]},this.onChange=()=>{},this.onEditorFocusOut=e=>{},this.onSave=e=>{},this.onClosing=()=>{},this.handlers={create:(e,t)=>({data:new yh(e,t,"create","createItems"),templateName:"dx-filtereditor-create"}),change:(e,t)=>({data:new yh(e,t,"change","items"),templateName:"dx-filtereditor-change"}),changeProperty:(e,t)=>({data:new yh(e,t,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}),changeValueType:(e,t)=>({data:new yh(e,t,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}),changeParameter:(e,t)=>({data:new yh(e,t,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"})},this.mapper={aggregate:Hh,property:Xh,parameter:Zh,value:eg,group:Kh,between:Rh,binary:jh,function:qh,in:Yh,unary:Lh,default:Bh},this.serializer=e||new Yu,this.filterEditorOperators.string=[...this.filterEditorOperators._common,...Ih,bh.StartsWith,bh.EndsWith,...Ph,..._h,...Dh],this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[...this.filterEditorOperators._common,...wh,..._h],this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.bool=this.filterEditorOperators.integer,this.filterEditorOperators.date=[...this.filterEditorOperators._common,...wh,..._h,...Th],this.filterEditorOperators.time=[...this.filterEditorOperators._common,...wh,..._h,...Vh],this.filterEditorOperators.datetime=[...this.filterEditorOperators.date],this.filterEditorOperators.list=[...Mh],this.filterEditorOperators.group=[...kh],this.filterEditorOperators.enum=[...this.filterEditorOperators._common,...wh,..._h],this.filterEditorOperators.custom=[],og._customExpressions.forEach(e=>e&&this.registrateOperator(e.category?.toLowerCase()??"custom",Ed,e.name,e.description,"function",!1,e.localizationId,`${e.name}()`)),this._initDisplayText()}registrateOperator(e,t,i,r,s="function",o=!1,n,a){if(this.filterEditorOperators[e]){if(!t[i]){let e=0,r=0;Object.keys(t).forEach(t=>{r=parseInt(t),!isNaN(r)&&e<r&&(e=r)}),e++,t[e]=i,t[i]=e}const d={name:r,value:t[i],insertVal:a,type:t,_type:s,reverse:o,emptyRightPart:!0,displayText:$i(r,n)};this.filterEditorOperators[e].push(d)}}get parameters(){return this._readParameters()}setParameters(e){this._readParameters="function"==typeof e?e:()=>Ft(e)}generateTreelistOptions(e,t,i){const r={get itemsProvider(){return Ft(e)},path:t,treeListController:new rg,rtl:this.rtl,selectedPath:i,setTreeListChangedEvent:t=>gi(()=>[Ot(e)],()=>t(r),!1)};return r}}og._customExpressions=[],og.addCustomExpression=e=>{e&&og._customExpressions.push(e)};const ng=Cr(og);function ag(e){ng(e)}class dg extends zu{constructor(e){super(e);const t=new og,i=[],r=[],s=[];Object.keys(t.filterEditorOperators).forEach(e=>{t.filterEditorOperators[e].forEach(e=>{if(e.insertVal){const t=e.name,o=e.insertVal,n=e.paramCount;e.type===Ed&&0===i.filter(e=>e.name===t).length?i.push({name:t,insertVal:o}):e.type===Sd&&0===r.filter(e=>e.name===t).length?r.push({name:t,insertVal:o}):e.type!==Sd&&e.type!==Ed&&0===s.filter(e=>e.name===t).length&&s.push({name:t,insertVal:o,paramCount:n})}})}),this.filterEditorAvailable={operators:s,aggregate:r,functions:i}}getFunctionsCompletions(){const e=[];return this.filterEditorAvailable.functions.forEach(t=>{e.push(Hu({text:t.name,paramCount:t.insertVal.split(",").length},t.insertVal,t.insertVal))}),e}getAggregateCompletions(){const e=[];return this.filterEditorAvailable.aggregate.forEach(t=>{e.push(Hu({text:t.name,paramCount:0},t.insertVal,t.insertVal))}),e}getOperatorCompletions(e){const t=[];return this.filterEditorAvailable.operators.forEach(i=>{t.push(i.insertVal.match(new RegExp("\\([^\\(\\)]*\\)","g"))?Hu({text:i.name,paramCount:i.paramCount||i.insertVal.split(",").length},i.insertVal,i.insertVal):{caption:i.insertVal,snippet:e+i.insertVal,meta:"operator"})}),t}}const lg={DateTime:{type:J.SystemDateTime,value:new Date(Date.now()),patterns:[],localizationId:"UtilsUIStringId.FSForm_Cat_DateTime"},Number:{type:J.SystemInt32,value:"123456789",patterns:["#.00","#,#","0.E+0.0","0.e+0.0","n","n1","n2","e","e1","f","f1"],localizationId:"UtilsUIStringId.FSForm_Cat_Number"},Percent:{type:J.SystemInt32,value:"100",patterns:["0.00%","0%"],localizationId:"UtilsUIStringId.FSForm_Cat_Percent"},Currency:{type:J.SystemInt32,value:"100",patterns:["$0.00","$0","c","c1","c2"],localizationId:"UtilsUIStringId.FSForm_Cat_Currency"},Special:{type:J.SystemInt32,value:"123456789",patterns:["(###) ### - ####","### - ## - ####"],localizationId:"UtilsUIStringId.FSForm_Cat_Special"},General:{type:J.SystemString,value:"",patterns:["General format have no specific number format"],localizationId:"UtilsUIStringId.FSForm_Cat_General"}};var cg=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class ug extends ir{constructor(){super(...arguments),this.onContentReady=e=>{this._component=e.component},this.hideOnOutsideClick=e=>{const t=this.getComponent(),i=t&&L(t.content());return!i||!(i.has(e.target)||i.is(e.target))}}onPropertyChanged(e){}getComponent(){return this._component}dispose(){super.dispose();const e=this._component;e&&e.dispose(),this._component=null}}cg([rr(void 0)],ug.prototype,"_component",void 0);class pg extends(mn()){_setContentHeight(){this._$popupContent.css({height:"100%"})}}nu()("dxPopupWithAutoHeight",pg);const hg=Cr(!0);class gg extends Xd{constructor(){super(...arguments),this.releases=[]}subscribe(e,t,i){Be(e)&&this.releases.push(tt(e,t,i))}createListViewModel(e){return this.disposeAction(),(e||[]).map((e,t)=>this.publishAction(e,t))}disposeAction(){this.releases.forEach(e=>e&&e()),this.releases=[]}dispose(){this.disposeAction(),super.dispose()}publishAction(e,t){return Le(e)?e:Zi(this.createOwnActionViewModel(e,t)).generateProperty("canAddItems",e.canAddItems).getViewModel()}createOwnActionViewModel(e,t){const i=e._disposables,r=i?.length??0,s=Kd.call(this,e,t);return i?.splice(r).forEach(e=>this.releases.push(()=>e?.dispose?.())),s}}const mg={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:()=>{},displayText:()=>we("Edit","AnalyticsCoreStringId.Group_Edit")};let fg;function xg(){return fg||(fg=(new gg).createListViewModel([mg])[0]),fg}function vg(e){const t=this.getViewModel();t.nodeImageClass=this._getNodeImageClassName(),t.hasItems=this.hasItems,t.visible=this._isVisible(),t.imageClassName=this.imageClassName,t.imageTemplateName=this.imageTemplateName,t.name=this.name,t.path=this.path,t.pathParts=this.pathParts,t.text=this.text,t.templateName=this.templateName,t.actionsTemplate=this.actionsTemplate,t.hasContent=this.hasContent,t.collapsed=this.collapsed,t.showIcon=this.showIcon,t.isHovered=this.isHovered,t.isSelected=this.isSelected,t.isMultiSelected=this.isMultiSelected,t.isLoading=this.isLoading,"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName||(t.cssRules=this._getCssRules()),"actions"===e.propertyName&&(t.actions=this.getActionViewModels()),"items"!==e.propertyName&&"maxItemsCount"!==e.propertyName||("added"in e&&!this.visibleItems&&t.items?(e.added?.forEach(e=>t.items.splice(e.index,0,e.item.getViewModel())),e.removed?.forEach(e=>t.items.splice(e.index,1))):t.items=this._getChildViewModels()),"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName&&"collapsed"!==e.propertyName&&"hasItems"!==e.propertyName&&"level"!==e.propertyName&&"data"!==e.propertyName||(t.attr=this._getAttributes()),"data"===e.propertyName&&(t.data=this.data,t.dataViewModel=He(this.data),t.isDraggable=this._isDraggable())}function yg(e){return Zi(e).generateProperty("events",{mouseenter:()=>this.isHovered=!0,mouseleave:()=>this.isHovered=!1,dblclick:()=>this.treeListController.dblClickHandler?this.treeListController.dblClickHandler(this):this.toggleCollapsed()}).generateProperty("toggleCollapsed",(e,t)=>{this.toggleCollapsed(),t?.stopPropagation()}).generateProperty("reverseCollapsed",()=>this._reverseCollapsed()).generateProperty("collapsedAccessor",zt(this,"collapsed")).generateProperty("toggleSelected",(e,t)=>this.toggleSelected(e,t)).generateProperty("getSelectedItems",()=>this._getSelectedItems()).generateProperty("padding",this._getPadding(this.level)).generateProperty("hasItems",this.hasItems).generateProperty("cssRules",this._getCssRules()).generateProperty("nodeImageClass",this._getNodeImageClassName()).generateProperty("attr",this._getAttributes()).generateProperty("templates",this.templates).generateProperty("isDraggable",this._isDraggable()).generateProperty("dragDropHandler",this.dragDropHandler).generateProperty("parent",this.parentViewModel,!0).generateProperty("items",this._getChildViewModels()).generateProperty("data",this.data).generateProperty("dataViewModel",He(this.data)).generateProperty("visible",this._isVisible()).generateProperty("collapsed",this.collapsed).generateProperty("searchModel",Zi().generateProperty("searchEnabled",this.treeListController.searchEnabled).generateProperty("textToSearch",this.treeListController.textToSearch).generateProperty("searchOptions",this.treeListController.searchOptions).getViewModel()).generateProperty("name",this.name).generateProperty("path",this.path).generateProperty("pathParts",this.pathParts).generateProperty("text",this.text).generateProperty("templateName",this.templateName).generateProperty("imageClassName",this.imageClassName).generateProperty("imageTemplateName",this.imageTemplateName).generateProperty("actions",this.getActionViewModels()).generateProperty("actionsTemplate",this.actionsTemplate).generateProperty("hasContent",this.hasContent).generateProperty("showIcon",this.showIcon).generateProperty("isHovered",this.isHovered).generateProperty("isSelected",this.isSelected).generateProperty("isMultiSelected",this.isMultiSelected).generateProperty("isLoading",this.isLoading).generateProperty("treeListEditAction",xg()).generateProperty("resolver",this.resolver).getViewModel()}function bg(e){return Zi(e).generateProperty("templateName","dx-treelist-item-ellipsis").generateProperty("collapsed",!0).generateProperty("items",[]).generateProperty("padding",this.padding).generateProperty("text",we("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")).generateProperty("events",{click:()=>this.renderNext()}).getViewModel()}var Cg=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};const wg=Cr(5);function _g(e){return Array.isArray(e)?e:e?e.split("."):[]}class Ag{constructor(){this._itemStore={}}storeItem(e){const t=oa();return this._itemStore[t]=e,t}getItem(e){return this._itemStore[e]}removeItem(e){delete this._itemStore[e]}}class Eg extends ir{onPropertyChanged(e){}createRootItem(e,t,i,r){return new Tg(e,t,i,r)}createItem(e,t,i,r,s){return new Dg(e,t,i,r,s)}}let Sg=Eg;function Ig(e){Sg=e}class Pg extends nr{constructor(e,t,i,r){super(),this.setMaxItemsCount=e,this.getMaxItemsCount=t,this.padding=i,this.pageSize=r}createViewModel(){return bg.call(this,super.createViewModel())}renderNext(){this.setMaxItemsCount(this.getMaxItemsCount()+this.pageSize)}}class Dg extends nr{_equal(e,t){const i=["innerActions","noDragable","dragData"];return t===e||Object.keys(t).filter(e=>-1===i.indexOf(e)).every(i=>t[i]===e[i])}_getImageClassName(){return"dx-image-fieldlist-"+this._getIconName()+(this._showIcon?"":" dx-treelist-image-empty")}_getImageTemplateName(){const e="dxrd-svg-fieldlist-"+this._getIconName();return Ui.getExistingTemplate(e)}_getNodeImageClassName(){let e="dx-collapsing-image";return this.hasItems?(this.collapsed||(e+=" dx-image-expanded"),e):"dx-image-leaf-node"}_hasItems(){if(!this.data)return!0;const e=this._treeListController.hasItems(this.data);return null!=this._loadChildItemsForCollapsedNodes?this.isLoaded?e&&this.visibleItemsCount>0:e:hg()?e&&this.visibleItemsCount>0:e}_getAttributes(){return{"aria-expanded":this.hasItems&&(this.collapsed?"false":"true"),"aria-selected":this.isSelected||this.isMultiSelected?"true":"false","aria-level":this.level+1,"aria-label":this.text,"aria-setsize":this.parent?this.parent.items.length:0,"aria-posinset":this.parent?this.parent.items.indexOf(this)+1:0,id:this.id}}_getCssRules(){let e={"dx-treelist-item-selected dxd-state-selected dxrd-fieldslist-context-menu-container":this.isSelected||this.isMultiSelected};return this.data?.cssRule&&(e={...e,...this.data.cssRule}),e}_isDraggable(){return this.data&&this.data.dragData?!this.data.dragData.noDragable:!!this._treeListController.isDraggable&&this._treeListController.isDraggable(this)}_isVisible(){return!this.isFiltred&&this.visible}modelOf(e){const t=e.data&&e.data.data;return t&&"object"==typeof t?t:void 0}rememberCollapsed(e){const t=new Map;return e.forEach(e=>{const i=this.modelOf(e);i&&t.set(i,e.collapsed)}),t}restoreCollapsed(e,t){e.forEach(e=>{const i=this.modelOf(e),r=i?t.get(i):void 0;void 0!==r&&r!==e.collapsed&&(e.collapsed=r)})}_createItemsObj(e){const t={};for(let i=0;i<e.length;i++)t[e[i].name]={item:e[i],index:i};return t}_loadItems(e,t=!1){const i=new z;this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose();const r=r=>{r?(r.fail(()=>{this.isLoading=!1,i.reject()}),r.done(r=>{if(this.isDisposing)return this.isLoading=!1,void i.reject();this.isLoaded=!0,this.isLoading=!1;const s=r||[],o=this.items,n=this.rememberCollapsed(o),a=[];let d=this._createItemsObj(s),l=!1,c=0;const u=[].concat.apply([],o);for(let e=0;e<u.length;e++)d[u[e].data.name]||(u[e].dispose(),o.splice(e-c,1),c++,l=!0);this.visibleItemsCount=this.visibleItemsCount-c;let p=this._createItemsObj(o);const h=!this._treeListController.showIconsForChildItems||this._treeListController.showIconsForChildItems(this),g=this._treeListController.showIconsForChildItems&&this._treeListController.showIconsForChildItems(this);let m=this.visibleItemsCount;if(s.forEach((t,i)=>{const r=p[t.name];if(r)this._equal(t,r.item.data)?r.item._updateVisualProperties():r.item.data=t;else{l=!0;const r=this._factory.createItem(e,this.pathParts,this._onItemsVisibilityChanged,this._rtl,this.resolver);r._showIcon=h,r.data=t,r.level=this.level+1,r.parent=this,r.parentViewModel=this.getViewModel(),r.visible&&(m+=1),r.imageTemplateName=r._getImageTemplateName(),r.imageClassName=r._getImageClassName(),r.showIcon=g,o.splice(i,0,r),p[t.name]={item:r,index:i},a.push(r),this._walkCallback&&this._walkCallback(r)}}),this.visibleItemsCount=m,this._walkCallback=null,s.forEach((e,t)=>{const i=p[e.name].item,r=o.indexOf(i);r!==t&&(o.splice(r,1),o.splice(t,0,i),l=!0)}),d=null,p=null,this.restoreCollapsed(a,n),l&&this._onItemsChanged(),!this.collapsed||t){let i=e=>e._treeListController.hasItems(e.data);void 0!==this._loadChildItemsForCollapsedNodes&&(i=e=>(!e.collapsed||t)&&e._treeListController.hasItems(e.data)),this.items.filter(e=>t||!e.isLoaded&&!e.isLoading).forEach(t=>{i(t)&&t._loadItems(e)})}i.resolve(this.items);const f=Ft(e.selectedPath);if(f){const e=this.items.filter(e=>0===f.indexOf(e.path))[0];e&&this._selectItem(e.name+f.substring(e.path.length))}})):this.isLoading=!1},s=()=>new rd(this.path,this.pathParts),o=()=>r(this.itemsProvider.getItems(s())),n=()=>{const e=this.itemsProvider.changedPath&&this.itemsProvider.changedPath();return void 0===e||e===this.path||0===e.indexOf(this.path+".")||0===this.path.indexOf(e+".")};return this.isLoading=!0,this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._itemsSubscriptionDispose=gi(()=>[qt(this,["path"]),this.itemsProvider.itemsChanged],()=>n()&&o(),!1),o(),i.promise()}_onItemsChanged(){this._onItemsChangedCallback&&this._onItemsChangedCallback(this.items)}_getTemplateName(){return this._templateName||this.data&&this.data.templateName||"dx-treelist-item"}_selectItem(e){if(!this.hasItems)return;const t=()=>{this._find(e),this.collapsed&&this.toggleCollapsed()};0===this.items.length?this.getItems().done(e=>{t()}):t()}_find(e){const t=e&&this.items.filter(t=>e===t.name||0===e.indexOf(t.name)&&"."===e[t.name.length])[0];t&&(e.length>t.name.length?t._selectItem(e.substr(t.name.length+1)):(this._treeListController.select(t),t.isSelected&&this._onItemSelectedByPath?.(t)))}_getItemsWithLock(){const e=new z;return this._nodeIsLocked?e.reject().promise():(this._nodeIsLocked=!0,this.getItems().done(t=>{this._nodeIsLocked=!1,e.resolve(t)}).fail(()=>{this._nodeIsLocked=!1,e.reject()}),e.promise())}_getPadding(e){const t=20*e+12,i={};return i["padding-"+(this._rtl?"right":"left")]=t,i}_getLoadChildItemsForCollapsedNodes(){return void 0!==this._loadChildItemsForCollapsedNodes?this._loadChildItemsForCollapsedNodes:hg()}_getSelectedItems(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]}_getVisibleItems(){if(-1===this._pageSize)return;if(0===this.items.length)return[];let e=this.items.filter(e=>e.visible);return e.length>this.maxItemsCount&&(e=e.slice(0,this.maxItemsCount),e.push(new Pg(e=>this.maxItemsCount=e,()=>this.maxItemsCount,this._getPadding(e[0].level),this._pageSize))),e}_updataParentItemsVisibilityCount(e){this.parent&&(e?this.parent.visibleItemsCount+=1:this.parent.visibleItemsCount=Math.max(this.parent.visibleItemsCount-1,0))}_followControllerSignals(){const e=[gi(()=>[this._treeListController?.itemsFilterChanged],()=>this._updateFiltration(),!1),gi(()=>[this._treeListController?.actionsChanged],()=>this._updateActions(),!1)];return()=>e.forEach(e=>e())}_updateActions(){this.actions=this.treeListController?.getActions?this.treeListController.getActions(this):[]}getActionViewModels(){return this.actionList||(this.actionList=new gg),this.actionList.createListViewModel(this.actions)}_updateFiltration(){this.isFiltred=this.data&&this.treeListController?.itemsFilter&&!this.treeListController.itemsFilter(this.data,this.path,this),this._updataParentItemsVisibilityCount(this._isVisible())}_updateVisualProperties(){this._dataSubscriptionsDispose.forEach(e=>e&&e()),this._dataSubscriptionsDispose=[this._subscribeOnDataProperty(this,"name",()=>this._updatePath()),this._subscribeOnDataProperty(this,"displayName",()=>this.text=this.data?.displayName),this._subscribeOnDataProperty(this,"specifics",()=>{this.imageClassName=this._getImageClassName(),this.imageTemplateName=this._getImageTemplateName()})].filter(e=>!!e),this.templateName=this._getTemplateName(),this.actionsTemplate=this.data?.actionsTemplate||"dx-treelist-item-actions-with-edit",this.hasContent=!!this.data?.contenttemplate}_updatePath(){this.pathParts=this.name?(this._path||[]).concat([this.name]):this._path,this.path=this.pathParts.join(".")}_getChildViewModels(){const e=this.visibleItems||this.items;return e?.map(e=>e.getViewModel())}_reverseCollapsed(){this.collapsed=!this.collapsed}constructor(e,t=[],i=()=>{},r=!1,s=new Ll){super(),this.resolver=s,this._rtl=!1,this._pageSize=-1,this._walkCallback=null,this._dataSubscriptionsDispose=[],this._getIconName=()=>(this.data&&this.data.icon||this.data&&this.data.specifics||"default").split(".").join("_").toLowerCase(),this._nodeIsLocked=!1,this.templates={accordionItem:"dx-treelist-accordion-item",headerItem:"dx-treelist-header-item",headerItemContent:"dx-treelist-header-item-caption-content",itemTextContent:"dx-treelist-item-text-content",actionsContainer:"dx-treelist-item-actions-container"},this.itemsProvider=e.itemsProvider,this.maxItemsCount=e.pageSize||-1,this._pageSize=this.maxItemsCount,this.store=e.store,this.id=this.store?.storeItem(this),this._pathSubscriptionDispose=Ot(t)?.setValueChangedEvent?.(e=>{this._path=_g(e),this._updatePath()}),this._path=_g(Ft(t)),this._updatePath(),this._rtl=r,"loadChildItemsForCollapsedNodes"in e&&(this._loadChildItemsForCollapsedNodes=e.loadChildItemsForCollapsedNodes),this._factory=e.factory||new Sg,this._treeListController=e.treeListController,this._templateName=e.templateName,this._onItemsVisibilityChanged=i,this.dragDropHandler=e.treeListController.dragDropHandler,this._onItemsChangedCallback=e.onItemsChanged,this._onItemSelectedByPath=e.onItemSelectedByPath,this.getItems=()=>this.items.length>0?(new z).resolve(this.items).promise():this._loadItems(e),this._setSelectedPath=t=>Ot(e.selectedPath)?.setValue?.(t),this._subscribeOnDataProperty=e.subscribeOnDataPropertyChanged||((e,t,i)=>(i(),tt(e.data,t,i))),this.toggleCollapsed=(t=void 0)=>{this.hasItems&&(void 0===t?this._reverseCollapsed():this.collapsed=!t,this.collapsed||0!==this.items.length?this._getLoadChildItemsForCollapsedNodes()&&(this.items.forEach(t=>{t._treeListController.hasItems(t.data)&&0===t.items.length&&t._loadItems(e)}),i()):this._loadItems(e,this._getLoadChildItemsForCollapsedNodes()).always(()=>{i()}))},this.toggleSelected=(e,t)=>{t&&(t.shiftKey||t.ctrlKey||t.metaKey)&&this._getSelectedItems().length>0&&this.treeListController.canMultiSelect&&this.treeListController.canMultiSelect(this)?(this._setSelectedPath(""),this.treeListController.multiSelect(this,t.shiftKey,t.ctrlKey||t.metaKey)):this.treeListController.canSelect(this)&&(this.treeListController.clickHandler&&this.treeListController.clickHandler(this),this._setSelectedPath(this.path))},this.addDisposable(this._followControllerSignals(),()=>this.actionList?.dispose()),this._updateVisualProperties()}itemsCollectionHasMutated(){ft(this,{propertyName:"items"})}onPropertyChanged(e){"visibleItemsCount"!==e.propertyName&&"isLoaded"!==e.propertyName&&"data"!==e.propertyName||(this.hasItems=this._hasItems()),"visibleItemsCount"!==e.propertyName&&"data"!==e.propertyName||this._updateVisualProperties(),"visibleItemsCount"!==e.propertyName&&"data"!==e.propertyName&&"isLoaded"!==e.propertyName||this._updateActions(),"visible"!==e.propertyName&&"data"!==e.propertyName||(this.visible&&this.parent&&!this.parent.visible&&(this.parent.visible=!0),this._updateFiltration()),"maxItemsCount"!==e.propertyName&&"items"!==e.propertyName||(this.visibleItems=this._getVisibleItems())}updateViewModel(e){vg.call(this,e)}createViewModel(){return yg.call(this,super.createViewModel())}get name(){return this.data?.name}get treeListController(){return this._treeListController}dispose(){super.dispose(),this.isLoading=!1,this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._pathSubscriptionDispose&&this._pathSubscriptionDispose(),this.disposeArray(this.items),this.disposeArray(this.visibleItems),this.visibleItemsCount=0,this.parent=null,this._dataSubscriptionsDispose.forEach(e=>e&&e()),this._walkCallback=null,this.store?.removeItem(this.id)}}Cg([rr("")],Dg.prototype,"imageTemplateName",void 0),Cg([sr(()=>[])],Dg.prototype,"items",void 0),Cg([sr(()=>[])],Dg.prototype,"actions",void 0),Cg([rr(-1)],Dg.prototype,"maxItemsCount",void 0),Cg([rr(0)],Dg.prototype,"visibleItemsCount",void 0),Cg([rr(!0)],Dg.prototype,"collapsed",void 0),Cg([rr(!1)],Dg.prototype,"isLoaded",void 0),Cg([rr(!1)],Dg.prototype,"isLoading",void 0),Cg([rr(!0)],Dg.prototype,"hasItems",void 0),Cg([rr(!1)],Dg.prototype,"isSelected",void 0),Cg([rr(!1)],Dg.prototype,"isMultiSelected",void 0),Cg([rr(!1)],Dg.prototype,"isHovered",void 0),Cg([rr(null)],Dg.prototype,"data",void 0),Cg([rr(!0)],Dg.prototype,"visible",void 0),Cg([rr(!1)],Dg.prototype,"isFiltred",void 0),Cg([rr("")],Dg.prototype,"path",void 0),Cg([rr(-1)],Dg.prototype,"level",void 0),Cg([rr("")],Dg.prototype,"text",void 0);class Tg extends Dg{dispose(){super.dispose(),this._resolver.clear()}walkOnTree(e){return this._resolver.clear(),this._visitNextNode(this,e),-1!=this._pageSize&&this._resolver.doneOnce(()=>this.itemsCollectionHasMutated()),{stop:()=>this._resolver.clear()}}_visitNextNode(e,t=e=>{}){if(e.data&&!e.data.specifics)throw new Error("Specific should be set");if(e.level>=wg())return;let i=null;e.items.length>0?i=()=>e.items.forEach(e=>{t(e),this._visitNextNode(e,t)}):e.data&&!e.treeListController.hasItems(e.data)||(e.treeListController.searchOptions?.autoLoadItems?i=()=>e._getItemsWithLock().done(e=>{e.forEach(e=>{t(e),this._visitNextNode(e,t)})}):e._walkCallback=e=>{t(e),this._visitNextNode(e,t)}),i&&this._resolver.execute(i,{timeOut:1})}constructor(e,t=[],i=()=>{},r=!1){super(e,t,i,r),this._options=e,this._resolver=new Ll,this.resolver.done(()=>{i()});this.addDisposable(Ot(e.selectedPath)?.setValueChangedEvent?.(e=>{this._selectItem(this.path?e.substr(this.path.length+1):e)}));const s=Ft(e.selectedPath);this._selectItem(this.path?this.path+"."+s:s)}_onItemsChanged(){this._options.expandRootItems&&this.items.forEach(e=>{e.collapsed=!1}),super._onItemsChanged()}}class Vg{constructor(){this.globalMatch=!0,this.autoLoadItems=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=xi.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"}}function Mg(e){const t=e.values,i=e.element,r=t;let s=null,o=()=>{};const n=()=>{const t=e.element.closest(".dx-scrollview");return t&&On().getInstance(t)},a=()=>{const e=n();e&&e.update(),r.onItemsVisibilityChanged&&r.onItemsVisibilityChanged()},d=t=>{const r=t.treeListController||new uh;t.treeListController=r,r.dragDropHandler=r.dragDropHandler||e.dragDropHandler,t.factory=t.factory||new Sg,t.store=new Ag,t.pageSize=t.pageSize||-1;const d=t.onItemSelectedByPath;if(t.onItemSelectedByPath=e=>{d?.(e),(e=>{o();let t,r=25,s=!1;const a=()=>{const o=i.querySelector(`[id="${e.id}"]`),d=n();o?.getClientRects().length>0&&d?d.update().then(()=>!s&&d.scrollToElement(o)):--r>0&&(t=setTimeout(a,20))};t=setTimeout(a),o=()=>{s=!0,clearTimeout(t)}})(e)},!t||!t.itemsProvider)return;t.rtl||(t.rtl=!!e.element.closest(".dx-rtl")),s&&s.dispose(),s=t.factory.createRootItem(t,t.path,a,t.rtl);const l=Ot(r.root);l?(r.searchEnabled=!0,r.searchOptions=r.searchOptions||new Vg,l.setValue(s)):r.root=s,e.createChildContext(s.getViewModel())};d(xe({},r));const l=[()=>s?.dispose()],c=e=>{e&&d(xe({},e))};return t.setTreeListChangedEvent&&l.push(t.setTreeListChangedEvent(c)),()=>{o(),l.forEach(e=>e()),s=null}}An("treelist",{init:function(e,t,i,r,s){const o=t(),n=Mg({element:e,values:t(),createChildContext:t=>{const i=o.templateHtml||zr("dx-treelist"),r=L(e).html(i),n=s.createChildContext(t);Xt.applyBindings(n,r.children()[0])},dragDropHandler:ze(s.$root).fieldDragHandler});return yr(e,n),{controlsDescendantBindings:!0}}}),An("treeListSearchPanel",{init:function(e,t,i,r,s){const o=t(),n=o.template,a=o.modelType;let d=o.controllers;return Array.isArray(d)||(d=[d]),Op.createController(e,d,a,n),{controlsDescendantBindings:!0}}});class kg extends x{_getElementViewModel(e){return e&&e.data&&e.data.data}dispose(){super.dispose(),this._targetElement=null,this._target=null,this._draggable=null}constructor(e){super(),this.dragHelperContent=e,this.droppableClassName="dxrd-treelist-droppable",this.approveClassName="dxrd-drop-approve",this.classDropBefore="drop-before",this.classDropAfter="drop-after",this.started=!1}isDragToBottom(){return wa(this._draggable.parent.items,e=>e===this._draggable||e===this._target)===this._draggable}start(e){this.started=!0,this._draggable=ze(e),this._draggableModel=this._getElementViewModel(this._draggable)}canDrop(){return this._draggable!==this._target&&this._draggable.parent===this._target.parent}reorderSiblings(e=this.isDragToBottom()){const t=this.getSiblings();if(t){const i=t.slice(),r=i.indexOf(this._draggableModel);r>-1&&i.splice(r,1),i.splice(i.indexOf(this._targetModel)+(e?1:0),0,this._draggableModel),t.splice(0,t.length,...i)}}clearDroppableClasses(){this._removeClass(this._targetElement)}getDroppablePosition(){return this.isDragToBottom()?this.classDropAfter:this.classDropBefore}drag(e,t){this.clearDroppableClasses(),this._target=ze(e),this._targetElement=L(t).closest(".dx-treelist-item").get(0),this._targetModel=this._getElementViewModel(this._target)}stop(){this.clearDroppableClasses(),this.started=!1}helper(e,t){const i=L(t.target).closest(".ui-draggable"),r=new uo(6,6,null,i.height());r.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(r,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:e.imageClassName,imageTemplateName:e.imageTemplateName,text:e.text}})}addDroppableClass(){let e=this.droppableClassName;this.canDrop()&&(e=e+" "+this.approveClassName+" "+this.getDroppablePosition()),L(this._targetElement).addClass(e)}_removeClass(e){L(e).removeClass(this.droppableClassName+" "+this.approveClassName+" "+this.classDropBefore+" "+this.classDropAfter)}}class Fg{constructor(e={}){this.options=e,this._resize=(e,t,i,r)=>{if(this.options.resultSize)this.options.resultSize.setValue(this.options.resultSize.getValue()-(e||t)+i);else if(r)if(e){const t=r.offsetWidth-e+i;r.style.width=`${t}px`}else if(t){const e=r.offsetHeight+t-i;r.style.height=`${e}px`}return e||t}}resizable(e,t){e||(e={starting:()=>{},stopped:()=>{}});let i=0;return{...e,handles:t,selectedNodes:[],stopped:()=>{i=0},resize:(e,t,r)=>{i=this._resize(-r.width,r.height,i,t),this.options.onResize&&this.options.onResize()},handleClassName:"dxd-back-secondary",disabled:this.options.disabled??!1}}}yp("template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom && !left && !top && !right), 'dxrd-disabled-button': disabled }, click: function() { setNone() }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"},css:function(){return{"dxd-state-active":!(e.$data.bottom||e.$data.left||e.$data.top||e.$data.right),"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setNone()}}}}),yp("template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom && left && top && right), 'dxrd-disabled-button': disabled }, click: function() { setAll() }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"},css:function(){return{"dxd-state-active":e.$data.bottom&&e.$data.left&&e.$data.top&&e.$data.right,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setAll()}}}}),yp("template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left, 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"},css:function(){return{"dxd-state-active":e.$data.left,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left")}}}}),yp("template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top, 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"},css:function(){return{"dxd-state-active":e.$data.top,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top")}}}}),yp("template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right, 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"},css:function(){return{"dxd-state-active":e.$data.right,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right")}}}}),yp("template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom, 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom")}}}}),yp("visible: isHAxisVisible, css: { 'dxd-dimension-notations-inside-elt' : isLocatedInsideContainer }",function(e,t){return{visible:function(){return e.$data.isHAxisVisible},css:function(){return{"dxd-dimension-notations-inside-elt":e.$data.isLocatedInsideContainer}}}}),yp("text: width",function(e,t){return{text:function(){return e.$data.width}}}),yp("visible: isVAxisVisible, css: { 'dxd-dimension-notations-inside-elt' : isLocatedInsideContainer }",function(e,t){return{visible:function(){return e.$data.isVAxisVisible},css:function(){return{"dxd-dimension-notations-inside-elt":e.$data.isLocatedInsideContainer}}}}),yp("text: height",function(e,t){return{text:function(){return e.$data.height}}}),yp("dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), editAlphaChannel: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flipfit', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }",function(e,t){return{dxColorBox:function(){return{value:e.$data.displayValue,onValueChanged:e.$data.onValueChanged,placeholder:e.$root.getLocalization("(Not set)","ReportStringId.UD_PropertyGrid_NotSetText"),editAlphaChannel:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flipfit",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}}}}),yp("dxExpressionEditor: getOptions({ options: valueAccessor, fieldListProvider: fieldListProvider, displayNameProvider: displayNameProvider })",function(e,t){return{dxExpressionEditor:function(){return e.$data.getOptions({options:e.$data.valueAccessor,fieldListProvider:e.$data.fieldListProvider,displayNameProvider:e.$data.displayNameProvider})}}}),yp("if: value",function(e,t){return{if:function(){return e.$data.value}}}),yp("dxFieldListPicker: { path: path, onValueChanged: onValueChanged, onInitialized: onInitialized, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }",function(e,t){return{dxFieldListPicker:function(){return{path:e.$data.path,onValueChanged:e.$data.onValueChanged,onInitialized:e.$data.onInitialized,acceptCustomValue:!0,value:e.$data.value,displayValue:e.$data.$displayName,itemsProvider:e.$data.dataBindingsProvider,treeListController:e.$data.treeListController,disabled:e.$data.disabled,inputAttr:{id:e.$data.editorInputId}}}}}),yp("if: visible",function(e,t){return{if:function(){return e.$data.visible}}}),yp("dxFilterEditor: { options: valueAccessor, fieldListProvider: fieldListProvider, getDisplayNameByPath: getDisplayNameByPath, displayNameProvider: displayNameProvider, aiExpressionGenerator: aiExpressionGenerator }",function(e,t){return{dxFilterEditor:function(){return{options:e.$data.valueAccessor,fieldListProvider:e.$data.fieldListProvider,getDisplayNameByPath:e.$data.getDisplayNameByPath,displayNameProvider:e.$data.displayNameProvider,aiExpressionGenerator:e.$data.aiExpressionGenerator}}}}),yp("dxFormatEditor: { value: valueAccessor, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }",function(e,t){return{dxFormatEditor:function(){return{value:e.$data.valueAccessor,disabled:e.$data.disabled,actions:e.$data.actions,customPatterns:e.$data.customPatterns}}}}),yp("dxTextBox: getOptions({ value: value, disabled: disabled, showClearButton: showClearButton, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,showClearButton:e.$data.showClearButton,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),yp("template: { name: 'dx-propertieseditor', data: viewmodel }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.viewmodel}}}}),yp("template: { name: 'dx-propertieseditor', data: getProperties() }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties()}}}}),yp("if: $data.visible && editorCreated",function(e,t){return{if:function(){return e.$data.visible&&e.$data.editorCreated}}}),yp("treelist: options",function(e,t){return{treelist:function(){return e.$data.options}}}),yp("if: options",function(e,t){return{if:function(){return e.$data.options}}}),yp("style: { transform: snapLineTransforms[0] }",function(e,t){return{style:function(){return{transform:e.$data.snapLineTransforms[0]}}}}),yp("style: { transform: snapLineTransforms[1] }",function(e,t){return{style:function(){return{transform:e.$data.snapLineTransforms[1]}}}}),yp("style: { transform: snapLineTransforms[2] }",function(e,t){return{style:function(){return{transform:e.$data.snapLineTransforms[2]}}}}),yp("style: { transform: snapLineTransforms[3] }",function(e,t){return{style:function(){return{transform:e.$data.snapLineTransforms[3]}}}}),yp("css: { 'dxrd-context-menu-container': selected }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null",function(e,t){return{css:function(){return{"dxrd-context-menu-container":e.$data.selected}},template:function(){return e.$data.templateName},click:function(){return function(t,i){e.$data.clickHandler(e.$root.selection,i)}},event:function(){return e.$root.ContextMenusEnabled?{contextmenu:function(t,i){e.$data.reportContextMenuHandler&&e.$data.reportContextMenuHandler(e.$root.selection,i)}}:null}}}),yp("cssArray: [surfaceClass($element), { 'dx-accessibility': $data.accessibilityCompliant, 'dx-rtl': $data.rtl } ]",function(e,t){return{cssArray:function(){return[e.$data.surfaceClass(t),{"dx-accessibility":e.$data.accessibilityCompliant,"dx-rtl":e.$data.rtl}]}}}),yp("visible: designMode === undefined || designMode, cssArray: [rootStyle, { 'dx-rtl' : rtl, 'dx-ltr': !rtl }]",function(e,t){return{visible:function(){return void 0===e.$data.designMode||e.$data.designMode},cssArray:function(){return[e.$data.rootStyle,{"dx-rtl":e.$data.rtl,"dx-ltr":!e.$data.rtl}]}}}),yp("ifnot: isLoading",function(e,t){return{ifnot:function(){return e.$data.isLoading}}}),yp("with: surface",function(e,t){return{with:function(){return e.$data.surface}}}),yp("if: isLoading",function(e,t){return{if:function(){return e.$data.isLoading}}}),yp("foreach: parts",function(e,t){return{foreach:function(){return e.$data.parts}}}),yp("template: { name: templateName, data: $root.partData($data) }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$root.partData(e.$data)}}}}),yp("if: ($data.addOns)",function(e,t){return{if:function(){return e.$data.addOns}}}),yp("foreach: addOns",function(e,t){return{foreach:function(){return e.$data.addOns}}}),yp("text: verticalString",function(e,t){return{text:function(){return e.$data.verticalString}}}),yp("template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top, 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"},css:function(){return{"dxd-state-active":e.$data.top,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("top","Vertical")}}}}),yp("template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle, 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"},css:function(){return{"dxd-state-active":e.$data.middle,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("middle","Vertical")}}}}),yp("template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom, 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"},css:function(){return{"dxd-state-active":e.$data.bottom,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("bottom","Vertical")}}}}),yp("text: horizontalString",function(e,t){return{text:function(){return e.$data.horizontalString}}}),yp("template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left, 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"},css:function(){return{"dxd-state-active":e.$data.left,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("left","Horizontal")}}}}),yp("template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center, 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"},css:function(){return{"dxd-state-active":e.$data.center,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("center","Horizontal")}}}}),yp("template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right, 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"},css:function(){return{"dxd-state-active":e.$data.right,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("right","Horizontal")}}}}),yp("template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify, 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"},css:function(){return{"dxd-state-active":e.$data.justify,"dxrd-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.setValue("justify","Horizontal")}}}}),yp("dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: $data.imageTemplateName, iconClass: $data.imageClassName }, attr: { id: id, title: text }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:e.$data.togglePopoverVisible,disabled:e.$data.disabled,icon:e.$data.imageTemplateName,iconClass:e.$data.imageClassName}},attr:function(){return{id:e.$data.id,title:e.$data.text}}}}),yp("dxPopup: { width: 235, height: 'auto', position: { my: $root.rtl ? 'left top': 'right top', at: 'bottom', of: ('#' + id) }, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, '.dxrd-action-items-container'), shading: false, visible: popoverVisible, onHidden: closePopover }",function(e,t){return{dxPopup:function(){return{width:235,height:"auto",position:{my:e.$root.rtl?"left top":"right top",at:"bottom",of:"#"+e.$data.id},showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,container:(e.$data.getContainer||function(e,t){return t})(t,".dxrd-action-items-container"),shading:!1,visible:e.$data.popoverVisible,onHidden:e.$data.closePopover}}}}),yp("dxclick: clickAction, css: { 'dxrd-disabled-button': disabled }",function(e,t){return{dxclick:function(){return e.$data.clickAction},css:function(){return{"dxrd-disabled-button":e.$data.disabled}}}}),yp("css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: $data.displayText && $data.displayText() || text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},attr:function(){return{title:e.$data.displayText&&e.$data.displayText()||e.$data.text}}}}),yp("if: $data.contentTemplate",function(e,t){return{if:function(){return e.$data.contentTemplate}}}),yp("template: contentTemplate",function(e,t){return{template:function(){return e.$data.contentTemplate}}}),yp("if: !$data.contentTemplate",function(e,t){return{if:function(){return!e.$data.contentTemplate}}}),yp("foreach: actions",function(e,t){return{foreach:function(){return e.$data.actions}}}),yp("styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { 'dxrd-locked': $data.isLocked }",function(e,t){return{styleunit:function(){return{top:e.$data.top,left:e.$data.left,width:e.$data.width,height:e.$data.height}},css:function(){return{"dxrd-locked":e.$data.isLocked}}}}),yp("styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className",function(e,t){return{styleunit:function(){return{left:e.$data.left,top:e.$data.top,width:e.$data.width,height:e.$data.height}},css:function(){return e.$data.className}}}),yp("template: { name: $data.template, data: $data.data }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.data}}}}),yp("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}}}}),yp("text: text, attr: { title: text }",function(e,t){return{text:function(){return e.$data.text},attr:function(){return{title:e.$data.text}}}}),yp("foreach: $data.controls",function(e,t){return{foreach:function(){return e.$data.controls}}}),yp("with: $parent.customData",function(e,t){return{with:function(){return e.$parent.customData}}}),yp("dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: 'dxrd-svg-menu-menu', css: {'dxd-state-active': appMenuVisible }",function(e,t){return{dxclick:function(){return function(t){e.$data.stopPropagation?e.$data.stopPropagation=!1:e.$data.toggleAppMenu()}},template:function(){return"dxrd-svg-menu-menu"},css:function(){return{"dxd-state-active":e.$data.appMenuVisible}}}}),yp("dxPopup: { width: 250, wrapperAttr: { class: 'dxd-menu-back-color dxd-back-primary2' }, height: '100%' , position: $data.rtl ? { my: 'right top' , at: 'left top' , offset: '-10 0' } : { my: 'left top' , at: 'right top' , offset: '10 0' }, showTitle: false, showCloseButton: false, container: getMenuPopupContainer($element), target: getMenuPopupTarget($element), animation: {}, hideOnOutsideClick: function(e) { var buttonClassName = 'dxrd-menu-button-image'; var parentClassList = e.target.parentNode && e.target.parentNode.parentNode && e.target.parentNode.parentNode.classList; stopPropagation = (e.target.classList && e.target.classList.contains(buttonClassName)) || (parentClassList && parentClassList.contains(buttonClassName)); return true; }, shading: false, focusStateEnabled: false, visible: appMenuVisible, onHiding: onAppMenuHiding }",function(e,t){return{dxPopup:function(){return{width:250,wrapperAttr:{class:"dxd-menu-back-color dxd-back-primary2"},height:"100%",position:e.$data.rtl?{my:"right top",at:"left top",offset:"-10 0"}:{my:"left top",at:"right top",offset:"10 0"},showTitle:!1,showCloseButton:!1,container:e.$data.getMenuPopupContainer(t),target:e.$data.getMenuPopupTarget(t),animation:{},hideOnOutsideClick:function(t){var i="dxrd-menu-button-image",r=t.target.parentNode&&t.target.parentNode.parentNode&&t.target.parentNode.parentNode.classList;return e.$data.stopPropagation=t.target.classList&&t.target.classList.contains(i)||r&&r.contains(i),!0},shading:!1,focusStateEnabled:!1,visible:e.$data.appMenuVisible,onHiding:e.$data.onAppMenuHiding}}}}),yp("dxclick: function(e) { if(!disabled) { $root.toggleAppMenu(); clickAction($root.model, e); }}, css: { 'dxrd-disabled-button': disabled }, visible: visible",function(e,t){return{dxclick:function(){return function(t){e.$data.disabled||(e.$root.toggleAppMenu(),e.$data.clickAction(e.$root.model,t))}},css:function(){return{"dxrd-disabled-button":e.$data.disabled}},visible:function(){return e.$data.visible}}}),yp("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, attr: { title: $data.displayText }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},attr:function(){return{title:e.$data.displayText}}}}),yp("text: $data.displayText, attr: { title: $data.displayText }",function(e,t){return{text:function(){return e.$data.displayText},attr:function(){return{title:e.$data.displayText}}}}),yp("visible: $data.hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),yp("foreach: actionLists.menuItems",function(e,t){return{foreach:function(){return e.$data.actionLists.menuItems}}}),yp("dxdAccordion: { collapsed: popularPropertiesCollapsedAccessor }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.popularPropertiesCollapsedAccessor}}}}),yp("css: { 'dxrd-group-header-collapsed': popularPropertiesCollapsed }",function(e,t){return{css:function(){return{"dxrd-group-header-collapsed":e.$data.popularPropertiesCollapsed}}}}),yp("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !popularPropertiesCollapsed }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.popularPropertiesCollapsed}}}}),yp("text: actionsGroupTitle",function(e,t){return{text:function(){return e.$data.actionsGroupTitle}}}),yp("dxclick: function() { if(!$data.disabled) { clickAction($root.editableObject); } }, css: { 'dxrd-disabled-button': $data.disabled }, visible: ($data.visible == undefined) || $data.visible",function(e,t){return{dxclick:function(){return function(){e.$data.disabled||e.$data.clickAction(e.$root.editableObject)}},css:function(){return{"dxrd-disabled-button":e.$data.disabled}},visible:function(){return null==e.$data.visible||e.$data.visible}}}),yp("template: { name: 'dx-propertieseditor', data: $data }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data}}}}),yp("visible: items.some(x => x.visible === undefined || x.visible)",function(e,t){return{visible:function(){return e.$data.items.some(e=>void 0===e.visible||e.visible)}}}),yp("text: group",function(e,t){return{text:function(){return e.$data.group}}}),yp("if: $root.popularVisible && isSortingByGroups",function(e,t){return{if:function(){return e.$root.popularVisible&&e.$data.isSortingByGroups}}}),yp("foreach: ($root.contextActions || [])",function(e,t){return{foreach:function(){return e.$root.contextActions||[]}}}),yp("if: $data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return e.$data.templateName&&!e.$data.isContextMenuAction}}}),yp("template: templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),yp("if: !$data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return!e.$data.templateName&&!e.$data.isContextMenuAction}}}),yp("with: popularProperties",function(e,t){return{with:function(){return e.$data.popularProperties}}}),yp("if: $root.groupActionsVisible",function(e,t){return{if:function(){return e.$root.groupActionsVisible}}}),yp("foreach: ($root.contextGroupActions || [])",function(e,t){return{foreach:function(){return e.$root.contextGroupActions||[]}}}),yp("foreach: (items || [])",function(e,t){return{foreach:function(){return e.$data.items||[]}}}),yp("template: { name: $data.templateName, if: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName,if:e.$data.templateName}}}}),yp("if: !$data.templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),yp("css: { 'dx-property-grid-search-collapsed': !isSearching }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":!e.$data.isSearching}}}}),yp("css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.isSearching}},dxButtonWithTemplate:function(){return{onClick:e.$data.switchSearchBox,icon:"dxrd-svg-properties-search",iconClass:"image-search"}},attr:function(){return{title:e.$root.getLocalization("Search","ASPxReportsStringId.SearchDialog_Header")}}}}),yp("dxTextBox: { value: textToSearch, onValueChanged: textToSearchChanged, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.textToSearch,onValueChanged:e.$data.textToSearchChanged,valueChangeEvent:"keyup",placeholder:e.$data.searchPlaceholder(),showClearButton:!0}},cacheElement:function(){return{action:function(t){e.$data.searchBox(t)}}}}}),yp("visible: visible",function(e,t){return{visible:function(){return e.$data.visible}}}),yp("dxdAccordion: { collapsed: collapsedAccessor }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsedAccessor}}}}),yp("css: { 'dxrd-group-header-collapsed': collapsed }",function(e,t){return{css:function(){return{"dxrd-group-header-collapsed":e.$data.collapsed}}}}),yp("template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed }",function(e,t){return{template:function(){return"dxrd-svg-collapsed"},css:function(){return{"dx-image-expanded":!e.$data.collapsed}}}}),yp("text: displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),yp("dxLoadIndicator: { visible: !editorsCreated }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.editorsCreated}}}}),yp("visible: editorsCreated",function(e,t){return{visible:function(){return e.$data.editorsCreated}}}),yp("visible: active && visible",function(e,t){return{visible:function(){return e.$data.active&&e.$data.visible}}}),yp("text: text",function(e,t){return{text:function(){return e.$data.text}}}),yp("css: { 'dx-property-grid-search-collapsed': isSearching }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":e.$data.isSearching}}}}),yp("dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, onValueChanged: focusedItemChanged, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }",function(e,t){return{dxSelectBox:function(){return{dataSource:e.$root.controlsStore.dataSource,value:e.$data.focusedItem,onValueChanged:e.$data.focusedItemChanged,displayExpr:e.$data.displayExpr,dropDownOptions:{container:e.$root.getPopupContainer(t)},useItemTextAsTitle:!0}}}}),yp("css: { 'dxd-state-active dxd-state-no-hover': !isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.setSortingByGroups(false); }, icon: 'dxrd-svg-properties-sortingbyalphabet', iconClass: 'image-sortingbyalphabet' }",function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":!e.$data.isSortingByGroups}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.setSortingByGroups(!1)},icon:"dxrd-svg-properties-sortingbyalphabet",iconClass:"image-sortingbyalphabet"}}}}),yp("css: { 'dxd-state-active dxd-state-no-hover': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.setSortingByGroups(true); }, icon: 'dxrd-svg-properties-sortingbygroups', iconClass: 'image-sortingbygroups' }",function(e,t){return{css:function(){return{"dxd-state-active dxd-state-no-hover":e.$data.isSortingByGroups}},dxButtonWithTemplate:function(){return{onClick:function(){e.$data.setSortingByGroups(!0)},icon:"dxrd-svg-properties-sortingbygroups",iconClass:"image-sortingbygroups"}}}}),yp("dxScrollView: { showScrollbar: 'onHover', useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",useNative:!1,scrollByThumb:!0}}}}),yp("visible: isSortingByGroups",function(e,t){return{visible:function(){return e.$data.isSortingByGroups}}}),yp("visible: !isSortingByGroups",function(e,t){return{visible:function(){return!e.$data.isSortingByGroups}}}),yp("dxLoadIndicator: { visible: !allEditorsCreated }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.allEditorsCreated}}}}),yp("visible: allEditorsCreated",function(e,t){return{visible:function(){return e.$data.allEditorsCreated}}}),yp("dxPopup: { width: 250, height: 'auto', position: $data.rtl ? { my: 'left top', at: 'right top', of: popupService.target, collision: 'flipfit' } : { my: 'right top', at: 'left top', of: popupService.target, collision: 'flipfit' }, container: $root.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",function(e,t){return{dxPopup:function(){return{width:250,height:"auto",position:e.$data.rtl?{my:"left top",at:"right top",of:e.$data.popupService.target,collision:"flipfit"}:{my:"right top",at:"left top",of:e.$data.popupService.target,collision:"flipfit"},container:e.$root.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}}),yp("text: popupService.title, visible: popupService.title",function(e,t){return{text:function(){return e.$data.popupService.title},visible:function(){return e.$data.popupService.title}}}),yp("dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onItemClick: popupService.onItemClick, onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }",function(e,t){return{dxMenu:function(){return{wrapperAttr:{class:"dxd-button-back-color"},disabled:e.$data.popupService.disabled,dataSource:e.$data.popupService.actions,displayExpr:"title",cssClass:"dxrd-editor-menu",orientation:"vertical",showFirstSubmenuMode:"onHover",onItemClick:e.$data.popupService.onItemClick,onSubmenuShowing:function(i){i.submenu._overlay.option("container",e.$root.getPopupContainer(t))}}}}}),yp("attr: { title: title }, text: title",function(e,t){return{attr:function(){return{title:e.$data.title}},text:function(){return e.$data.title}}}),yp("visible: $data.items && $data.items.length",function(e,t){return{visible:function(){return e.$data.items&&e.$data.items.length}}}),yp("text: announcement",function(e,t){return{text:function(){return e.$data.announcement}}}),yp("dxPopover: { container: getPopupContainer($element), target: target, position: 'bottom', showCloseButton: false, onHiding: onHiding, onShowing: onShowing, onShown: onShown, hideOnOutsideClick: true, hideOnParentScroll: true, width: '350px', visible: visible }",function(e,t){return{dxPopover:function(){return{container:e.$data.getPopupContainer(t),target:e.$data.target,position:"bottom",showCloseButton:!1,onHiding:e.$data.onHiding,onShowing:e.$data.onShowing,onShown:e.$data.onShown,hideOnOutsideClick:!0,hideOnParentScroll:!0,width:"350px",visible:e.$data.visible}}}}),yp("text: data",function(e,t){return{text:function(){return e.$data.data}}}),yp("if: $data.innerTemplate",function(e,t){return{if:function(){return e.$data.innerTemplate}}}),yp("template: $data.innerTemplate",function(e,t){return{template:function(){return e.$data.innerTemplate}}}),yp("foreach: groups",function(e,t){return{foreach:function(){return e.$data.groups}}}),yp("ifnot: editorsCreated",function(e,t){return{ifnot:function(){return e.$data.editorsCreated}}}),yp("if: $data.editorsRendered",function(e,t){return{if:function(){return e.$data.editorsRendered}}}),yp("foreach: editors",function(e,t){return{foreach:function(){return e.$data.editors}}}),yp("template: editorTemplate",function(e,t){return{template:function(){return e.$data.editorTemplate}}}),yp("if: ($index() === $parent.editors.length - 1 && $parent.setEditorsCreated(true))",function(e,t){return{if:function(){return e.$index()===e.$parent.editors.length-1&&e.$parent.setEditorsCreated(!0)}}}),yp("with: model",function(e,t){return{with:function(){return e.$data.model}}}),yp("if: $root.controlsStore.visible",function(e,t){return{if:function(){return e.$root.controlsStore.visible}}}),yp("template: 'dx-propertygrid-searchbox'",function(e,t){return{template:function(){return"dx-propertygrid-searchbox"}}}),yp("template: { name: 'dxrd-group-actions', data: $data }",function(e,t){return{template:function(){return{name:"dxrd-group-actions",data:e.$data}}}}),yp("template: { name: 'dxrd-top-grid', data: $data }",function(e,t){return{template:function(){return{name:"dxrd-top-grid",data:e.$data}}}}),yp("template: 'dx-propertygrid-groups'",function(e,t){return{template:function(){return"dx-propertygrid-groups"}}}),yp("foreach: $data.allEditors",function(e,t){return{foreach:function(){return e.$data.allEditors}}}),yp("if: ($index() === $parent.allEditors.length - 1 && $parent.setAllEditorsCreated(true))",function(e,t){return{if:function(){return e.$index()===e.$parent.allEditors.length-1&&e.$parent.setAllEditorsCreated(!0)}}}),yp("template: 'dx-propertygrid-popupservice'",function(e,t){return{template:function(){return"dx-propertygrid-popupservice"}}}),yp("template: { name: 'dx-propertygrid-popoverservice', if: popover, data: popover }",function(e,t){return{template:function(){return{name:"dx-propertygrid-popoverservice",if:e.$data.popover,data:e.$data.popover}}}}),yp("if: $data.itemTemplate",function(e,t){return{if:function(){return e.$data.itemTemplate}}}),yp("template: $data.itemTemplate",function(e,t){return{template:function(){return e.$data.itemTemplate}}}),yp("ifnot: $data.itemTemplate",function(e,t){return{ifnot:function(){return e.$data.itemTemplate}}}),yp("dxTemplate: { name: 'content' }",function(){return{dxTemplate:{name:"content"}}}),yp("dxTemplate: { name: 'item' }",function(){return{dxTemplate:{name:"item"}}}),yp("styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))",function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.class},resizable:function(){return e.$data.getResizableOptions(t,1,e.$root.calculateWithZoomFactor(325))}}}),yp("styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper",function(e,t){return{styleunit:function(){return{width:e.$data.width}},css:function(){return e.$data.class},dxMutationObserver:function(){return e.$data.keyboardHelper}}}),yp("css: tabsElement.class",function(e,t){return{css:function(){return e.$data.tabsElement.class}}}),yp("dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: title, 'aria-label': text, 'aria-keyshortcuts': ariaKeyShortcuts || null, 'aria-describedby': 'dxrd-tab-item-no-description', 'aria-expanded': !collapsed && active ? 'true' : 'false' }, visible: visible",function(e,t){return{dxAction:function(){return{action:function(t){e.$data.click()}}},css:function(){return e.$data.css.class},attr:function(){return{title:e.$data.title,"aria-label":e.$data.text,"aria-keyshortcuts":e.$data.ariaKeyShortcuts||null,"aria-describedby":"dxrd-tab-item-no-description","aria-expanded":!e.$data.collapsed&&e.$data.active?"true":"false"}},visible:function(){return e.$data.visible}}}),yp("css: image.class, template: {name: image.templateName, if: !!$data.image.templateName}",function(e,t){return{css:function(){return e.$data.image.class},template:function(){return{name:e.$data.image.templateName,if:!!e.$data.image.templateName}}}}),yp("styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)",function(e,t){return{styleunit:function(){return{width:e.$data.contentElement.width}},css:function(){return e.$data.contentElement.class},resizable:function(){return e.$data.getResizableOptions(t,50,396)}}}),yp("with: tabPanel",function(e,t){return{with:function(){return e.$data.tabPanel}}}),yp("foreach: tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),yp("lazy: { template: $data.template }",function(e,t){return{lazy:function(){return{template:e.$data.template}}}}),yp("foreach: $data.tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),yp("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', disabled: disabled, onClick: toogle, hint: title }",function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",disabled:e.$data.disabled,onClick:e.$data.toogle,hint:e.$data.title}}}}),yp("template: {name: 'dxrd-toolbar-tmplt', data: actionLists.toolbarItems }",function(e,t){return{template:function(){return{name:"dxrd-toolbar-tmplt",data:e.$data.actionLists.toolbarItems}}}}),yp("visible: visible, css: actionClass",function(e,t){return{visible:function(){return e.$data.visible},css:function(){return e.$data.actionClass}}}),yp("attr: block.attr",function(e,t){return{attr:function(){return e.$data.block.attr}}}),yp("template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: title || displayText }, dxclick: click",function(e,t){return{template:function(){return{name:e.$data.image.templateName,if:!!e.$data.image.templateName}},attr:function(){return{class:e.$data.image.class,title:e.$data.title||e.$data.displayText}},dxclick:function(){return e.$data.click}}}),yp("visible: hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),yp("foreach: $data",function(e,t){return{foreach:function(){return e.$data}}}),yp("if: templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),yp("template: { name: templateName, data: contentData || $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.contentData||e.$data}}}}),yp("if: !templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),yp("dxScrollView: { showScrollbar: 'onHover', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",scrollByContent:!1,bounceEnabled:!1,useNative:!1,scrollByThumb:!0}}}}),yp("attr: { title: displayName }",function(e,t){return{attr:function(){return{title:e.$data.displayName}}}}),yp("template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, css: $data.imageClassName, draggable: $root.toolboxDragHandler",function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},css:function(){return e.$data.imageClassName},draggable:function(){return e.$root.toolboxDragHandler}}}),yp("foreach: toolboxItems",function(e,t){return{foreach:function(){return e.$data.toolboxItems}}}),yp("foreach: groupedToolboxItems",function(e,t){return{foreach:function(){return e.$data.groupedToolboxItems}}}),yp("foreach: items",function(e,t){return{foreach:function(){return e.$data.items}}}),yp("dxSelectBox: { items: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }",function(e,t){return{dxSelectBox:function(){return{items:e.$data.widget.dataSource,value:e.$data.widget.value,onValueChanged:e.$data.widget.onValueChanged,displayExpr:e.$data.widget.displayExpr,displayCustomValue:!0,acceptCustomValue:!0,onCustomItemCreating:e.$data.widget.onCustomItemCreating,disabled:e.$data.disabled,dropDownOptions:{container:e.$data.getPopupContainer(t)},useItemTextAsTitle:!0}}}}),yp("dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }",function(e,t){return{dxclick:function(){return function(t,i){e.$data.showPopup(t,i)}},css:function(){return e.$data.editorMenuButtonCss},attr:function(){return{title:e.$data.hint}}}}),yp("dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss",function(e,t){return{dxclick:function(){return function(t,i){e.$data.showPopup(t,i)}},attr:function(){return{title:e.$data.hint}},css:function(){return e.$data.editorMenuButtonCss}}}),yp("template: { name: $data.imageTemplateName, if: $data.imageTemplateName }",function(e,t){return{template:function(){return{name:e.$data.imageTemplateName,if:e.$data.imageTemplateName}}}}),yp("if: $data.visible",function(e,t){return{if:function(){return e.$data.visible}}}),yp("template: $data.templateName || ($data.imageTemplateName ? 'dx-editor-addon-image' : 'dx-editor-addon-box')",function(e,t){return{template:function(){return e.$data.templateName||(e.$data.imageTemplateName?"dx-editor-addon-image":"dx-editor-addon-box")}}}),yp("dxdAccordion: { collapsed: collapsedAccessor, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsedAccessor,alwaysShow:e.$data.alwaysShow}},dxMutationObserver:function(){return e.$data.keyboardHelper}}}),yp("attr: { 'aria-expanded': alwaysShow || !collapsed ? 'true' : 'false', 'aria-owns': contentId, 'id': headerId, }",function(e,t){return{attr:function(){return{"aria-expanded":e.$data.alwaysShow||!e.$data.collapsed?"true":"false","aria-owns":e.$data.contentId,id:e.$data.headerId}}}}),yp("dxButton: { onClick: up.action, disabled: up.disabled, icon: 'dxrd-svg-operations-moveup', template: up.template }, attr: { title: up.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.up.action,disabled:e.$data.up.disabled,icon:"dxrd-svg-operations-moveup",template:e.$data.up.template}},attr:function(){return{title:e.$data.up.text}}}}),yp("dxButton: { onClick: down.action, disabled: down.disabled, icon: 'dxrd-svg-operations-movedown', template: down.template }, attr: { title: down.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.down.action,disabled:e.$data.down.disabled,icon:"dxrd-svg-operations-movedown",template:e.$data.down.template}},attr:function(){return{title:e.$data.down.text}}}}),yp("dxButton: { onClick: add.action, disabled: add.disabled, icon: 'dxrd-svg-operations-add', template: add.template }, attr: { title: add.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.add.action,disabled:e.$data.add.disabled,icon:"dxrd-svg-operations-add",template:e.$data.add.template}},attr:function(){return{title:e.$data.add.text}}}}),yp("dxButton: { onClick: delete.action, disabled: delete.disabled, icon: 'dxrd-svg-operations-remove', template: delete.template }, attr: { title: delete.text }",function(e,t){return{dxButton:function(){return{onClick:e.$data.delete.action,disabled:e.$data.delete.disabled,icon:"dxrd-svg-operations-remove",template:e.$data.delete.template}},attr:function(){return{title:e.$data.delete.text}}}}),yp("styleunit: { 'paddingLeft': padding }",function(e,t){return{styleunit:function(){return{paddingLeft:e.$data.padding}}}}),yp("text: displayName, attr: { title: displayName }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}}),yp("attr: { 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false', 'aria-labelledby': headerId, 'id': contentId }",function(e,t){return{attr:function(){return{"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false","aria-labelledby":e.$data.headerId,id:e.$data.contentId}}}}),yp("text: emptyAreaText",function(e,t){return{text:function(){return e.$data.emptyAreaText}}}),yp("visible: !disabled, dxScrollView: { showScrollbar: 'onHover', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option('useKeyboard', false); } }",function(e,t){return{visible:function(){return!e.$data.disabled},dxScrollView:function(){return{showScrollbar:"onHover",disabled:!e.$data.showScroll,useNative:!1,scrollByThumb:!0,onInitialized:function(e){e.component.option("useKeyboard",!1)}}}}}),yp("foreach: values",function(e,t){return{foreach:function(){return e.$data.values}}}),yp("attr: { 'aria-selected': selected }, dxAction: { model: $data, action: select }, css: { 'dxd-state-selected' : selected }",function(e,t){return{attr:function(){return{"aria-selected":e.$data.selected}},dxAction:function(){return{model:e.$data,action:e.$data.select}},css:function(){return{"dxd-state-selected":e.$data.selected}}}}),yp("if: showButtons",function(e,t){return{if:function(){return e.$data.showButtons}}}),yp("with: buttons",function(e,t){return{with:function(){return e.$data.buttons}}}),yp("if: up.visible",function(e,t){return{if:function(){return e.$data.up.visible}}}),yp("if: down.visible",function(e,t){return{if:function(){return e.$data.down.visible}}}),yp("if: add.visible",function(e,t){return{if:function(){return e.$data.add.visible}}}),yp("if: delete.visible",function(e,t){return{if:function(){return e.$data.delete.visible}}}),yp("if: displayName",function(e,t){return{if:function(){return e.$data.displayName}}}),yp("if: hasExpanded",function(e,t){return{if:function(){return e.$data.hasExpanded}}}),yp("if: values.length === 0",function(e,t){return{if:function(){return 0===e.$data.values.length}}}),yp("if: values.length !== 0",function(e,t){return{if:function(){return 0!==e.$data.values.length}}}),yp("dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { 'aria-label': displayName } }), dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxCheckBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,elementAttr:{"aria-label":e.$data.displayName}})},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),yp("dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:[{val:!0,text:e.$root.getLocalization("Yes","AnalyticsCoreStringId.ParametersPanel_True")},{val:!1,text:e.$root.getLocalization("No","AnalyticsCoreStringId.ParametersPanel_False")}],inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},valueExpr:"val",displayExpr:"text",value:e.$data.value,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)}}},dxValidator:function(){return{validationRules:e.$data.validationRules||[]}}}}),yp("dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }",function(e,t){return{dxCollectionEditor:function(){return{values:e.$data.value,displayName:e.$data.displayName,level:e.$data.level,info:e.$data.info}}}}),yp("text: $data.display, attr: { title: $data.display }",function(e,t){return{text:function(){return e.$data.display},attr:function(){return{title:e.$data.display}}}}),yp("dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),yp("dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }",function(e,t){return{dxLocalizedSelectBox:function(){return{items:e.$data.values,value:e.$data.value,valueExpr:"value",displayExpr:"displayValue",disabled:e.$data.disabled,acceptCustomValue:!0,onCustomItemCreating:function(e){return{value:e.text,displayValue:e.text}},dropDownOptions:{container:e.$root.getPopupContainer(t)},popupPosition:{boundary:e.$root.getPopupContainer(t)},inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},useLocalizedTextAsValue:!0}}}}),yp("dxLocalizedSelectBox: { dataSource: values, value: undoValue, onValueChanged: onValueChanged, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxLocalizedSelectBox:function(){return{dataSource:e.$data.values,value:e.$data.undoValue,onValueChanged:e.$data.onValueChanged,valueExpr:"value",displayExpr:"displayValue",displayCustomValue:!0,disabled:e.$data.disabled,dropDownOptions:{container:e.$root.getPopupContainer(t)},inputAttr:{id:e.$data.editorInputId}}},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),yp("attr: accessibilityAttributes",function(e,t){return{attr:function(){return e.$data.accessibilityAttributes}}}),yp("styleunit: padding, css: { 'dx-accordion-empty': templateName === 'dx-emptyHeader' }",function(e,t){return{styleunit:function(){return e.$data.padding},css:function(){return{"dx-accordion-empty":"dx-emptyHeader"===e.$data.templateName}}}}),yp("enable: templateName === 'dx-emptyHeader'",function(e,t){return{enable:function(){return"dx-emptyHeader"===e.$data.templateName}}}),yp("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }, css: { 'dx-collapsing-image-hidden': $data.hideCollapsingButton }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return{title:e.$data.displayName}},css:function(){return{"dx-collapsing-image-hidden":e.$data.hideCollapsingButton}}}}),yp("attr: { 'aria-labelledby': headerId, 'id': contentId, 'aria-hidden': !alwaysShow && collapsed ? 'true' : 'false' }",function(e,t){return{attr:function(){return{"aria-labelledby":e.$data.headerId,id:e.$data.contentId,"aria-hidden":!e.$data.alwaysShow&&e.$data.collapsed?"true":"false"}}}}),yp("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: labelAttributes, css: { 'dx-field-label-required': isRequired }, style: { fontWeight: isPropertyModified ? 'Bold' : ''}",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return e.$data.labelAttributes},css:function(){return{"dx-field-label-required":e.$data.isRequired}},style:function(){return{fontWeight:e.$data.isPropertyModified?"Bold":""}}}}),yp("service: { name: 'createEditorDescriptionAddOn' }",function(e,t){return{service:function(){return{name:"createEditorDescriptionAddOn"}}}}),yp("css: { 'dxd-border-accented': $data.isPropertyHighlighted }",function(e,t){return{css:function(){return{"dxd-border-accented":e.$data.isPropertyHighlighted}}}}),yp("service: { name: 'createEditorAddOn' }",function(e,t){return{service:function(){return{name:"createEditorAddOn"}}}}),yp("dxButtonWithTemplate: buttonOptions",function(e,t){return{dxButtonWithTemplate:function(){return e.$data.buttonOptions}}}),yp("if: hasBeenVisible",function(e,t){return{if:function(){return e.$data.hasBeenVisible}}}),yp("template: isComplexEditor ? 'dx-complex-editor-template' : 'dx-simple-editor-template'",function(e,t){return{template:function(){return e.$data.isComplexEditor?"dx-complex-editor-template":"dx-simple-editor-template"}}}),yp("ifnot: $data.hideCollapsingButton",function(e,t){return{ifnot:function(){return e.$data.hideCollapsingButton}}}),yp("template: 'dx-lazy-editor-template'",function(e,t){return{template:function(){return"dx-lazy-editor-template"}}}),yp("if: editorCreated",function(e,t){return{if:function(){return e.$data.editorCreated}}}),yp("template: contentTemplateName",function(e,t){return{template:function(){return e.$data.contentTemplateName}}}),yp("if: !$data.editorDescriptionAddon && $data.description",function(e,t){return{if:function(){return!e.$data.editorDescriptionAddon&&e.$data.description}}}),yp("if: $data.editorDescriptionAddon",function(e,t){return{if:function(){return e.$data.editorDescriptionAddon}}}),yp("template: { name: $data.editorDescriptionAddon.templateName, data: $data.editorDescriptionAddon.data }",function(e,t){return{template:function(){return{name:e.$data.editorDescriptionAddon.templateName,data:e.$data.editorDescriptionAddon.data}}}}),yp("if: templateName !== 'dx-emptyHeader'",function(e,t){return{if:function(){return"dx-emptyHeader"!==e.$data.templateName}}}),yp("lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) }, resolver: $parent.resolver, withPriority: true }",function(e,t){return{lazy:function(){return{innerBindings:{template:e.$data.templateName},isResolved:function(t){e.$data.setIsRendered(t)},resolver:e.$parent.resolver,withPriority:!0}}}}),yp("dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, showClearButton: showClearButton, inputAttr: { 'aria-label': displayName, id: editorInputId }, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxDateBox:function(){return e.$data.getOptions({value:e.$data.value,closeOnValueChange:!0,type:"datetime",disabled:e.$data.disabled,showClearButton:e.$data.showClearButton,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId},dropDownOptions:{container:e.$root.getPopupContainer(t),position:{at:"left bottom",collision:"flipfit flip",my:"left top",boundary:e.$root.getPopupContainer(t),of:t}}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),yp("dxFileImagePicker: { value: value, onValueChanged: onValueChanged, inputAttr: { id: editorInputId }, placeholderId: 'File', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,onValueChanged:e.$data.onValueChanged,inputAttr:{id:e.$data.editorInputId},placeholderId:"File",disabled:e.$data.disabled}}}}),yp("css: { 'dxd-state-active': bold, 'dx-disabled-button': disabled }, click: function() { toggle('bold'); }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.bold,"dx-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.toggle("bold")}}}}),yp("css: { 'dxd-state-active': italic, 'dx-disabled-button': disabled }, click: function() { toggle('italic'); }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.italic,"dx-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.toggle("italic")}}}}),yp("css: { 'dxd-state-active': underline, 'dx-disabled-button': disabled }, click: function() { toggle('underline'); }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.underline,"dx-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.toggle("underline")}}}}),yp("css: { 'dxd-state-active': strikeout, 'dx-disabled-button': disabled }, click: function() { toggle('strikeout'); }",function(e,t){return{css:function(){return{"dxd-state-active":e.$data.strikeout,"dx-disabled-button":e.$data.disabled}},click:function(){return function(){e.$data.toggle("strikeout")}}}}),yp("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),yp("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),yp("ifnot: $parents[1].editorOptions && $parents[1].editorOptions.hideUnderline",function(e,t){return{ifnot:function(){return e.$parents[1].editorOptions&&e.$parents[1].editorOptions.hideUnderline}}}),yp("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),yp("ifnot: $parents[1].editorOptions && $parents[1].editorOptions.hideStrikeout",function(e,t){return{ifnot:function(){return e.$parents[1].editorOptions&&e.$parents[1].editorOptions.hideStrikeout}}}),yp("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),yp("dxFileImagePicker: { value: value, onValueChanged: onValueChanged, inputAttr: { id: editorInputId }, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,onValueChanged:e.$data.onValueChanged,inputAttr:{id:e.$data.editorInputId},placeholderId:"Image",accept:"image/*",type:"img",disabled:e.$data.disabled}}}}),yp("dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxNumberBox:function(){return e.$data.getOptions({value:e.$data.value,showSpinButtons:!0,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),yp("dxTextBox: getOptions({ value: value, disabled: disabled, showClearButton: showClearButton, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,showClearButton:e.$data.showClearButton,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),yp("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})},dxValidator:function(){return e.$data.getValidatorOptions?e.$data.getValidatorOptions(e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}):e.$data.validatorOptions||{validationRules:e.$data.validationRules||[]}}}}),yp("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})",function(e,t){return{dxTextBox:function(){return e.$data.getOptions({value:e.$data.value,disabled:e.$data.disabled,inputAttr:{"aria-label":e.$data.displayName,id:e.$data.editorInputId}})}}}),yp("value: value, disable: disabled, event: { change: function(data, event) { data.onValueChanged({ value: event.target.value }); } }",function(e,t){return{value:function(){return e.$data.value},disable:function(){return e.$data.disabled},event:function(){return{change:function(e,t){e.onValueChanged({value:t.target.value})}}},_ko_property_writers:function(){return{value:function(t){e.$data.value=t}}}}}),yp("if: $data.validationRules || $data.validatorOptions",function(e,t){return{if:function(){return e.$data.validationRules||e.$data.validatorOptions}}}),yp("if: !$data.validationRules",function(e,t){return{if:function(){return!e.$data.validationRules}}}),yp("css: { 'dx-rtl' : rtl }",function(e,t){return{css:function(){return{"dx-rtl":e.$data.rtl}}}}),yp("dxPopup: { showTitle: true, width: '750px', height: '475px', title: title, rtlEnabled: rtl, visible: popupVisible, onHiding: onHidingHandler, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }",function(e,t){return{dxPopup:function(){return{showTitle:!0,width:"750px",height:"475px",title:e.$data.title,rtlEnabled:e.$data.rtl,visible:e.$data.popupVisible,onHiding:e.$data.onHidingHandler,wrapperAttr:{class:e.$data.className},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$root.getPopupContainer(t),position:{of:e.$root.getPopupContainer(t)}}}}}),yp("dxDataGrid: queriesGrid",function(e,t){return{dxDataGrid:function(){return e.$data.queriesGrid}}}),yp("dxDropDownButton: $data",function(e,t){return{dxDropDownButton:function(){return e.$data}}}),yp("if: $data",function(e,t){return{if:function(){return e.$data}}}),yp("template: { name: queriesPopupHelper.template, data: queriesPopupHelper }",function(e,t){return{template:function(){return{name:e.$data.queriesPopupHelper.template,data:e.$data.queriesPopupHelper}}}}),yp("foreach: $data.popupItems",function(e,t){return{foreach:function(){return e.$data.popupItems}}}),yp("template: { name: template, data: model }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.model}}}}),yp("with: options",function(e,t){return{with:function(){return e.$data.options}}}),yp("resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",function(e,t){return{resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),yp("dxTextArea: { value: textAreaValue, onValueChanged: onTextAreaValueChanged, isValid: isValid, spellcheck: false, onKeyUp: function() { setValid(true); } }",function(e,t){return{dxTextArea:function(){return{value:e.$data.textAreaValue,onValueChanged:e.$data.onTextAreaValueChanged,isValid:e.$data.isValid,spellcheck:!1,onKeyUp:function(){e.$data.setValid(!0)}}}}}),yp("dxAceEditor: { value: textAreaValueSource, editorContainer: setEditorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }",function(e,t){return{dxAceEditor:function(){return{value:e.$data.textAreaValueSource,editorContainer:e.$data.setEditorContainer,theme:e.$data.theme,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions,callbacks:e.$data.callbacks}}}}),yp("dxAILoadingPanel: $root.aiExpressionGenerator.getLoadPanelOptions($element)",function(e,t){return{dxAILoadingPanel:function(){return e.$root.aiExpressionGenerator.getLoadPanelOptions(t)}}}),yp("visible: visible, attr: { class: 'dx-expressioneditor-tools-tab dxd-back-primary2 '+ ($data.templateName ? $data.templateName : '')}",function(e,t){return{visible:function(){return e.$data.visible},attr:function(){return{class:"dx-expressioneditor-tools-tab dxd-back-primary2 "+(e.$data.templateName?e.$data.templateName:"")}}}}),yp("dxEllipsisEditor: { value: displayValue, onValueChanged: onDisplayValueChanged, buttonAction: function() { setPopupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.displayValue,onValueChanged:e.$data.onDisplayValueChanged,buttonAction:function(){e.$data.setPopupVisible(!0)},disabled:e.$data.disabled,isValid:e.$data.modelValueValid,warningMessage:e.$data.modelValueWarning,inputAttr:{id:e.$data.editorInputId}}}}}),yp("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }",function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-expressioneditor dx-popup-general"},title:e.$data.title(),visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,fullScreen:!1,height:"615px",maxHeight:"90%",maxWidth:"90%",minHeight:400,minWidth:500,width:"645px",container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)},onContentReady:e.$data.onContentReady,onShowing:e.$data.onShowing,onHiding:e.$data.onHiding,onShown:e.$data.onShown,resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()}}}}}),yp("if: $root.aiExpressionGenerator",function(e,t){return{if:function(){return e.$root.aiExpressionGenerator}}}),yp("template: { name: 'dx-ai-expression-generator', data: $root.aiExpressionGenerator.initialize($data) }",function(e,t){return{template:function(){return{name:"dx-ai-expression-generator",data:e.$root.aiExpressionGenerator.initialize(e.$data)}}}}),yp("if: !aceAvailable",function(e,t){return{if:function(){return!e.$data.aceAvailable}}}),yp("if: aceAvailable",function(e,t){return{if:function(){return e.$data.aceAvailable}}}),yp("with: tools",function(e,t){return{with:function(){return e.$data.tools}}}),yp("foreach: toolBox",function(e,t){return{foreach:function(){return e.$data.toolBox}}}),yp("if: $data.templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),yp("template: { name: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName}}}}),yp("template: 'dx-expressioneditor-popup'",function(e,t){return{template:function(){return"dx-expressioneditor-popup"}}}),yp("if: popupVisible",function(e,t){return{if:function(){return e.$data.popupVisible}}}),yp('template: "dx-expressioneditor-main"',function(e,t){return{template:function(){return"dx-expressioneditor-main"}}}),yp("template: { name: 'dxrd-svg-actions-ai_localization_service' }",function(e,t){return{template:function(){return{name:"dxrd-svg-actions-ai_localization_service"}}}}),yp("dxTextArea: { value: expressionInNL, onValueChanged: onExpressionInNLChanged, width: '100%', valueChangeEvent: 'keyup', placeholder: promptPlaceholder, autoResizeEnabled: true, maxHeight: '90px', buttons: buttons }",function(e,t){return{dxTextArea:function(){return{value:e.$data.expressionInNL,onValueChanged:e.$data.onExpressionInNLChanged,width:"100%",valueChangeEvent:"keyup",placeholder:e.$data.promptPlaceholder,autoResizeEnabled:!0,maxHeight:"90px",buttons:e.$data.buttons}}}}),yp("dxScrollView: { showScrollbar: 'onHover' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, 'e')",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},resizable:function(){return e.$parents[1].resizeHelper.resizable(e.$root.resizeHandler,"e")}}}),yp("css: {'dxd-state-selected': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.content.isSelected}},text:function(){return e.$data.displayName},dxclick:function(){return function(){e.$parent.click(e.$data.content)}}}}),yp("css: {'dxd-state-selected': $data.isSelected }, dxclick: function() { $data.selectHeader(); $parent.click($data.content); }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},dxclick:function(){return function(){e.$data.selectHeader(),e.$parent.click(e.$data.content)}}}}),yp("css: {'dxd-state-selected': isSelected }, text: $data.display, dxclick: function() { $data.select(); $parents[1].click($parent.content); }",function(e,t){return{css:function(){return{"dxd-state-selected":e.$data.isSelected}},text:function(){return e.$data.display},dxclick:function(){return function(){e.$data.select(),e.$parents[1].click(e.$parent.content)}}}}),yp("foreach: content",function(e,t){return{foreach:function(){return e.$data.content}}}),yp("template: $data.templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),yp("ifnot: $data.templateName",function(e,t){return{ifnot:function(){return e.$data.templateName}}}),yp("dxScrollView: { showScrollbar: 'onHover' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}}}}),yp("text: content",function(e,t){return{text:function(){return e.$data.content}}}),yp("treeListSearchPanel: { controllers: [ $data.parameters ? $data.parameters.treeListController : $data.parameters, $data.fields ? $data.fields.treeListController : $data.fields ] }",function(e,t){return{treeListSearchPanel:function(){return{controllers:[e.$data.parameters?e.$data.parameters.treeListController:e.$data.parameters,e.$data.fields?e.$data.fields.treeListController:e.$data.fields]}}}}),yp("treelist: fields",function(e,t){return{treelist:function(){return e.$data.fields}}}),yp("treelist: parameters",function(e,t){return{treelist:function(){return e.$data.parameters}}}),yp("visible: visible, click: toggleSelected, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected': isSelected }",function(e,t){return{visible:function(){return e.$data.visible},click:function(){return e.$data.toggleSelected},event:function(){return{dblclick:function(){e.$data.actions[0].clickAction(t)}}},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected":e.$data.isSelected}}}}),yp("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed",function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed}}}),yp("css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, attr: { title: text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},attr:function(){return{title:e.$data.text}}}}),yp("if: fields",function(e,t){return{if:function(){return e.$data.fields}}}),yp("if: $data.parameters",function(e,t){return{if:function(){return e.$data.parameters}}}),yp("if: hasItems",function(e,t){return{if:function(){return e.$data.hasItems}}}),yp("ifnot: hasItems",function(e,t){return{ifnot:function(){return e.$data.hasItems}}}),yp("template: { name: 'dx-treelist-item-text-content' }",function(e,t){return{template:function(){return{name:"dx-treelist-item-text-content"}}}}),yp("attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, text: $data.displayName || $data.text, css: { 'dx-expressioneditor-state-selected dxd-state-selected': $parent.selectedItem === $data }, dxclick: function() { $parent.selectItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }",function(e,t){return{attr:function(){return{class:"dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted "+(e.$data.class?e.$data.class:"")}},text:function(){return e.$data.displayName||e.$data.text},css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem===e.$data}},dxclick:function(){return function(){e.$parent.selectItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}}}}),yp("dxTextBox: { value: textToSearch, onValueChanged: onTextToSearchChanged, showClearButton: true, valueChangeEvent: 'keyup', placeholder: $parents[2].searchPlaceholder() }",function(e,t){return{dxTextBox:function(){return{value:e.$data.textToSearch,onValueChanged:e.$data.onTextToSearchChanged,showClearButton:!0,valueChangeEvent:"keyup",placeholder:e.$parents[2].searchPlaceholder()}}}}),yp("css: { 'dx-expressioneditor-state-selected dxd-state-selected': $parent.selectedItem === $data }, dxclick: function() { $parent.selectItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }, searchHighlighting: { text: $data.displayName || $data.text, textToSearch: $parent.textToSearch }",function(e,t){return{css:function(){return{"dx-expressioneditor-state-selected dxd-state-selected":e.$parent.selectedItem===e.$data}},dxclick:function(){return function(){e.$parent.selectItem(e.$data),e.$parents[2].click(e.$data)}},event:function(){return{dblclick:function(){e.$parents[2].dblclick(e.$data,t)}}},searchHighlighting:function(){return{text:e.$data.displayName||e.$data.text,textToSearch:e.$parent.textToSearch}}}}),yp("with: content",function(e,t){return{with:function(){return e.$data.content}}}),yp("template: $data",function(e,t){return{template:function(){return e.$data}}}),yp("foreach: availableItems",function(e,t){return{foreach:function(){return e.$data.availableItems}}}),yp("dxAILoadingPanel: aiFilterGenerator.getLoadPanelOptions($element)",function(e,t){return{dxAILoadingPanel:function(){return e.$data.aiFilterGenerator.getLoadPanelOptions(t)}}}),yp("css: { 'advanced': advancedMode }",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}}}}),yp("css: { 'advanced': advancedMode }, visible: textVisible",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}},visible:function(){return e.$data.textVisible}}}),yp("css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }",function(e,t){return{css:function(){return e.$data.getTextCssClasses()},style:function(){return{height:e.$data.textContentHeightPerc}}}}),yp("dxCheckBox: { value: advancedModeRequest, text: advancedModeText, onValueChanged: onAdvancedModeRequestChanged }, style: $data.getCheckBoxStyles()",function(e,t){return{dxCheckBox:function(){return{value:e.$data.advancedModeRequest,text:e.$data.advancedModeText,onValueChanged:e.$data.onAdvancedModeRequestChanged}},style:function(){return e.$data.getCheckBoxStyles()}}}),yp("style: $data.getContentStyles()",function(e,t){return{style:function(){return e.$data.getContentStyles()}}}),yp("visible: $data.disabled",function(e,t){return{visible:function(){return e.$data.disabled}}}),yp("dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }",function(e,t){return{dxTextArea:function(){return{value:e.$data.displayValue,isValid:e.$data.isValid,onInput:e.$data.onInput,spellcheck:!1}},cacheElement:function(){return{action:function(t){e.$data.cacheElement(t)}}}}}),yp("css: {'dx-invalid': !$data.isValid, 'dx-state-focused': textFocused }",function(e,t){return{css:function(){return{"dx-invalid":!e.$data.isValid,"dx-state-focused":e.$data.textFocused}}}}),yp("dxAceEditor: { value: $data.displayValueSource, theme: helper.aceTheme, editorContainer: setEditorContainer, options: aceOptions, additionalOptions: additionalOptions }",function(e,t){return{dxAceEditor:function(){return{value:e.$data.displayValueSource,theme:e.$data.helper.aceTheme,editorContainer:e.$data.setEditorContainer,options:e.$data.aceOptions,additionalOptions:e.$data.additionalOptions}}}}),yp("dxScrollView: { showScrollbar: 'onHover', direction: 'both' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",direction:"both"}}}}),yp("dxclick: function() { $data.requestAdvancedMode(); }",function(e,t){return{dxclick:function(){return function(){e.$data.requestAdvancedMode()}}}}),yp("text: invalidMessage()",function(e,t){return{text:function(){return e.$data.invalidMessage()}}}),yp("if: !!aiFilterGenerator",function(e,t){return{if:function(){return!!e.$data.aiFilterGenerator}}}),yp("template: { name: 'dx-ai-expression-generator', data: aiFilterGenerator }",function(e,t){return{template:function(){return{name:"dx-ai-expression-generator",data:e.$data.aiFilterGenerator}}}}),yp("template: 'dx-filtereditor-content-tree'",function(e,t){return{template:function(){return"dx-filtereditor-content-tree"}}}),yp("template: 'dx-filtereditor-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-content-text"}}}),yp("if: $data.advancedModeTop()",function(e,t){return{if:function(){return e.$data.advancedModeTop()}}}),yp("template: 'dx-filtereditor-plain-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-plain-content-text"}}}),yp("ifnot: $data.advancedModeTop()",function(e,t){return{ifnot:function(){return e.$data.advancedModeTop()}}}),yp("with: operandSurface",function(e,t){return{with:function(){return e.$data.operandSurface}}}),yp("template: { name: $data.templateName, data: $data, if: $parent.isSurfaceValid }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data,if:e.$parent.isSurfaceValid}}}}),yp("ifnot: isSurfaceValid",function(e,t){return{ifnot:function(){return e.$data.isSurfaceValid}}}),yp("dxEllipsisEditor: { value: modelDisplayValue, onValueChanged: onModelDisplayValueChanged, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { setPopupVisible(true); }, inputAttr: { id: editorInputId } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.modelDisplayValue,onValueChanged:e.$data.onModelDisplayValueChanged,isValid:e.$data.modelValueIsValid,disabled:e.$data.disabled,buttonAction:function(){e.$data.setPopupVisible(!0)},inputAttr:{id:e.$data.editorInputId}}}}}),yp("dxEditorPopupTemplate: { data: $data, templateName: 'dx-filtereditor-popup' }",function(e,t){return{dxEditorPopupTemplate:function(){return{data:e.$data,templateName:"dx-filtereditor-popup"}}}}),yp("style: { pointerEvents: $data.disabled ? 'none' : '' }",function(e,t){return{style:function(){return{pointerEvents:e.$data.disabled?"none":""}}}}),yp("template: 'dx-filtereditor-content'",function(e,t){return{template:function(){return"dx-filtereditor-content"}}}),yp("template: 'dx-filtereditor-content-popups'",function(e,t){return{template:function(){return"dx-filtereditor-content-popups"}}}),yp("template: 'dx-filtereditor-content-plain'",function(e,t){return{template:function(){return"dx-filtereditor-content-plain"}}}),yp("service: { name: 'createChangeType' }",function(e,t){return{service:function(){return{name:"createChangeType"}}}}),yp("dxclick: function() { $data.remove && $data.remove(); }",function(e,t){return{dxclick:function(){return function(){e.$data.remove&&e.$data.remove()}}}}),yp("visible: !!$data.canRemove",function(e,t){return{visible:function(){return!!e.$data.canRemove}}}),yp("with: property",function(e,t){return{with:function(){return e.$data.property}}}),yp("template: { name: templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),yp("if: $data.aggregatedExpression",function(e,t){return{if:function(){return e.$data.aggregatedExpression}}}),yp("with: aggregatedExpression",function(e,t){return{with:function(){return e.$data.aggregatedExpression}}}),yp("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),yp("template: { name: 'dx-filtereditor-aggregate-common' }",function(e,t){return{template:function(){return{name:"dx-filtereditor-aggregate-common"}}}}),yp("with: condition",function(e,t){return{with:function(){return e.$data.condition}}}),yp("with: begin",function(e,t){return{with:function(){return e.$data.begin}}}),yp("with: end",function(e,t){return{with:function(){return e.$data.end}}}),yp("with: leftOperand",function(e,t){return{with:function(){return e.$data.leftOperand}}}),yp("with: rightOperand",function(e,t){return{with:function(){return e.$data.rightOperand}}}),yp("if: $data.leftPart && $data.leftPart.condition",function(e,t){return{if:function(){return e.$data.leftPart&&e.$data.leftPart.condition}}}),yp("with: leftPart",function(e,t){return{with:function(){return e.$data.leftPart}}}),yp("css: css",function(e,t){return{css:function(){return e.$data.css}}}),yp("text: displayType",function(e,t){return{text:function(){return e.$data.displayType}}}),yp("service: { name: 'createChangeValueType' }",function(e,t){return{service:function(){return{name:"createChangeValueType"}}}}),yp("template: { name: $data.leftPart.templateName, data: $data.leftPart }",function(e,t){return{template:function(){return{name:e.$data.leftPart.templateName,data:e.$data.leftPart}}}}),yp("foreach: rightPart",function(e,t){return{foreach:function(){return e.$data.rightPart}}}),yp("template: { name: $data.templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),yp("service: { name: 'createAddButton' }",function(e,t){return{service:function(){return{name:"createAddButton"}}}}),yp("foreach: operands",function(e,t){return{foreach:function(){return e.$data.operands}}}),yp("dxclick: addValue",function(e,t){return{dxclick:function(){return e.$data.addValue}}}),yp("with: criteriaOperator",function(e,t){return{with:function(){return e.$data.criteriaOperator}}}),yp("if: $data.operands.length > 1",function(e,t){return{if:function(){return e.$data.operands.length>1}}}),yp("foreach: $data.operands",function(e,t){return{foreach:function(){return e.$data.operands}}}),yp("if: $data.operands.length == 1",function(e,t){return{if:function(){return 1==e.$data.operands.length}}}),yp("template: { name: $data.operands[0].templateName, data: $data.operands[0] }",function(e,t){return{template:function(){return{name:e.$data.operands[0].templateName,data:e.$data.operands[0]}}}}),yp("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),yp("service: { name: 'createChangeParameter' }",function(e,t){return{service:function(){return{name:"createChangeParameter"}}}}),yp("if: $data.canChange",function(e,t){return{if:function(){return e.$data.canChange}}}),yp("service: { name: 'createChangeProperty' }",function(e,t){return{service:function(){return{name:"createChangeProperty"}}}}),yp("if: $data.operand.reverse",function(e,t){return{if:function(){return e.$data.operand.reverse}}}),yp("template: {name: $data.operand.templateName, data: $data.operand }",function(e,t){return{template:function(){return{name:e.$data.operand.templateName,data:e.$data.operand}}}}),yp("ifnot: $data.operand.reverse",function(e,t){return{ifnot:function(){return e.$data.operand.reverse}}}),yp("with: operand",function(e,t){return{with:function(){return e.$data.operand}}}),yp("visible: isEditable",function(e,t){return{visible:function(){return e.$data.isEditable}}}),yp("dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getStringEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),yp("focus: isEditable, dxLocalizedSelectBox: getBoolEditorOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxLocalizedSelectBox:function(){return e.$data.getBoolEditorOptions(t,e.$root)}}}),yp("focus: isEditable, dxDateBox: getDateEditorOptions($element, $root, $data.specifics)",function(e,t){return{focus:function(){return e.$data.isEditable},dxDateBox:function(){return e.$data.getDateEditorOptions(t,e.$root,e.$data.specifics)}}}),yp("dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getNumberEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),yp("focus: isEditable, dxSelectBox: getListEditOptions($element, $root, dataSource)",function(e,t){return{focus:function(){return e.$data.isEditable},dxSelectBox:function(){return e.$data.getListEditOptions(t,e.$root,e.$data.dataSource)}}}),yp("focus: isEditable, dxSelectBox: getEnumEditOptions($element, $root, dataSource)",function(e,t){return{focus:function(){return e.$data.isEditable},dxSelectBox:function(){return e.$data.getEnumEditOptions(t,e.$root,e.$data.dataSource)}}}),yp("visible: !isEditable",function(e,t){return{visible:function(){return!e.$data.isEditable}}}),yp("text: value, click: function() { setEditable(true); }, css: { 'default': $data.isDefaultDisplay() }",function(e,t){return{text:function(){return e.$data.value},click:function(){return function(){e.$data.setEditable(!0)}},css:function(){return{default:e.$data.isDefaultDisplay()}}}}),yp("if: $data.items.length === 0",function(e,t){return{if:function(){return 0===e.$data.items.length}}}),yp('if: $data.specifics === "string" || $data.specifics === "guid"',function(e,t){return{if:function(){return"string"===e.$data.specifics||"guid"===e.$data.specifics}}}),yp('if: $data.specifics === "bool"',function(e,t){return{if:function(){return"bool"===e.$data.specifics}}}),yp('if: $data.specifics === "date" || $data.specifics === "time" || $data.specifics === "datetime"',function(e,t){return{if:function(){return"date"===e.$data.specifics||"time"===e.$data.specifics||"datetime"===e.$data.specifics}}}),yp('if: $data.specifics !== "string" && $data.specifics !== "bool" && $data.specifics !== "date" && $data.specifics !== "guid" && $data.specifics !== "time" && $data.specifics !== "datetime"',function(e,t){return{if:function(){return"string"!==e.$data.specifics&&"bool"!==e.$data.specifics&&"date"!==e.$data.specifics&&"guid"!==e.$data.specifics&&"time"!==e.$data.specifics&&"datetime"!==e.$data.specifics}}}),yp("if: $data.items.length > 0",function(e,t){return{if:function(){return e.$data.items.length>0}}}),yp('if: $data.specifics !== "enum"',function(e,t){return{if:function(){return"enum"!==e.$data.specifics}}}),yp('if: $data.specifics === "enum"',function(e,t){return{if:function(){return"enum"===e.$data.specifics}}}),yp("dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, onHiding: onHidingHandler, hideOnParentScroll: false, title: title, visible: popupVisible, onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }",function(e,t){return{dxPopup:function(){return{animation:{show:{type:"fadeIn",duration:700},hide:{type:"fadeOut",duration:700}},showTitle:!0,wrapperAttr:{class:"dx-filtereditor dx-popup-general"},resizeEnabled:!0,onResize:function(){e.$data.resizeAceEditor()},width:700,height:500,maxHeight:"95%",maxWidth:"95%",minHeight:300,minWidth:400,onHiding:e.$data.onHidingHandler,hideOnParentScroll:!1,title:e.$data.title,visible:e.$data.popupVisible,onShown:function(){e.$data.focusText()},toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)}}}}}),yp("dxclick: showPopup",function(e,t){return{dxclick:function(){return e.$data.showPopup}}}),yp("text: target.displayType, dxclick: showPopup, css: target.css",function(e,t){return{text:function(){return e.$data.target.displayType},dxclick:function(){return e.$data.showPopup},css:function(){return e.$data.target.css}}}),yp("text: target.parameterName, dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",function(e,t){return{text:function(){return e.$data.target.parameterName},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}}),yp("text: target.displayName, dxclick: showPopup, css: { 'dxd-state-selected': target.isSelected }",function(e,t){return{text:function(){return e.$data.target.displayName},dxclick:function(){return e.$data.showPopup},css:function(){return{"dxd-state-selected":e.$data.target.isSelected}}}}),yp("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),yp("dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }",function(e,t){return{dxPopupWithAutoHeight:function(){return{minWidth:"170px",maxWidth:"500px",width:"auto",height:"300px",wrapperAttr:{class:"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay"},focusStateEnabled:!1,position:e.$data.rtl?{my:"right top",at:"right bottom",of:e.$data.popupService.target}:{my:"left top",at:"left bottom",of:e.$data.popupService.target},container:e.$data.getPopupContainer(t),target:e.$data.popupService.target,showTitle:!1,showCloseButton:!1,animation:{},hideOnOutsideClick:!0,shading:!1,visible:e.$data.popupService.visible}}}}),yp("dxTextBox: { placeholder: searchPlaceholder(), value: value, onValueChanged: onValueChanged, height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }",function(e,t){return{dxTextBox:function(){return{placeholder:e.$data.searchPlaceholder(),value:e.$data.value,onValueChanged:e.$data.onValueChanged,height:"100%",width:"100%",stylingMode:"underlined",valueChangeEvent:"keyup"}}}}),yp("template: { name: 'dx-filtereditor-search-panel', data: $data }",function(e,t){return{template:function(){return{name:"dx-filtereditor-search-panel",data:e.$data}}}}),yp("dxScrollView: { showScrollbar: 'onHover' }, css: { 'dx-filtereditor-filtered': isFiltered }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}},css:function(){return{"dx-filtereditor-filtered":e.$data.isFiltered}}}}),yp("text: $data.displayText || $data.name, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",function(e,t){return{text:function(){return e.$data.displayText||e.$data.name},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}}),yp("searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.value }, click: function() { $parent.click($data); }, attr: {'title': $data.displayText || $data.name }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayText||e.$data.name,textToSearch:e.$parent.value}},click:function(){return function(){e.$parent.click(e.$data)}},attr:function(){return{title:e.$data.displayText||e.$data.name}}}}),yp("treeListSearchPanel: { controllers: data.treeListController, template: 'dx-filtereditor-search-panel' }",function(e,t){return{treeListSearchPanel:function(){return{controllers:e.$data.data.treeListController,template:"dx-filtereditor-search-panel"}}}}),yp("treelist: data",function(e,t){return{treelist:function(){return e.$data.data}}}),yp("with: popupService",function(e,t){return{with:function(){return e.$data.popupService}}}),yp("with: data",function(e,t){return{with:function(){return e.$data.data}}}),yp("template: template",function(e,t){return{template:function(){return e.$data.template}}}),yp("if: $data.isFiltered",function(e,t){return{if:function(){return e.$data.isFiltered}}}),yp("foreach: data",function(e,t){return{foreach:function(){return e.$data.data}}}),yp("if: !$data.hidden",function(e,t){return{if:function(){return!e.$data.hidden}}}),yp("ifnot: $parent.isFiltered",function(e,t){return{ifnot:function(){return e.$parent.isFiltered}}}),yp("if: $parent.isFiltered",function(e,t){return{if:function(){return e.$parent.isFiltered}}}),yp("dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: 'single', activeStateEnabled: false }",function(e,t){return{dxList:function(){return{items:e.$data.items,selectedItems:e.$data.selectedItems,onItemClick:e.$data.action,selectionMode:"single",activeStateEnabled:!1}}}}),yp("click: $parent.removeItem, visible: $data.canRemove",function(e,t){return{click:function(){return e.$parent.removeItem},visible:function(){return e.$data.canRemove}}}),yp("text: $data.displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),yp("text: getDisplayText('types')",function(e,t){return{text:function(){return e.$data.getDisplayText("types")}}}),yp("dxButton:{ onClick: addCustomFormat, text: getDisplayText('add'), disabled: !canAddCustomFormat }",function(e,t){return{dxButton:function(){return{onClick:e.$data.addCustomFormat,text:e.$data.getDisplayText("add"),disabled:!e.$data.canAddCustomFormat}}}}),yp("dxTextBox: { value: formatResult, onInput: function(e) { updateInputText('formatResult', e.component); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.formatResult,onInput:function(t){e.$data.updateInputText("formatResult",t.component)}}}}}),yp("text: getDisplayText('prefix')",function(e,t){return{text:function(){return e.$data.getDisplayText("prefix")}}}),yp("dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText('formatPrefix', e.component); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.formatPrefix,onInput:function(t){e.$data.updateInputText("formatPrefix",t.component)}}}}}),yp("text: getDisplayText('suffix')",function(e,t){return{text:function(){return e.$data.getDisplayText("suffix")}}}),yp("dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText('formatSuffix', e.component); } }",function(e,t){return{dxTextBox:function(){return{value:e.$data.formatSuffix,onInput:function(t){e.$data.updateInputText("formatSuffix",t.component)}}}}}),yp("template: { name: 'dx-format-string-list', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } }",function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.patternList,action:e.$data.setFormat,removeItem:e.$data.removeCustomFormat,selectedItems:e.$data.selectedFormats}}}}}),yp("dxEllipsisEditor: { value: value, onValueChanged: onValueChanged, disabled: disabled, buttonAction: function() { setPopupVisible(true); } }",function(e,t){return{dxEllipsisEditor:function(){return{value:e.$data.value,onValueChanged:e.$data.onValueChanged,disabled:e.$data.disabled,buttonAction:function(){e.$data.setPopupVisible(!0)}}}}}),yp("dxEditorPopupTemplate: { data: $data, templateName: 'dx-formatstring-popup-template' }",function(e,t){return{dxEditorPopupTemplate:function(){return{data:e.$data,templateName:"dx-formatstring-popup-template"}}}}),yp("dxPopup: { wrapperAttr: { class: 'dx-format-string dx-popup-general' }, showTitle: true, width: '95%', height: '95%', minWidth: 650, title: getDisplayText('title'), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) }, onHiding: onHidingHandler, hideOnParentScroll: false, }",function(e,t){return{dxPopup:function(){return{wrapperAttr:{class:"dx-format-string dx-popup-general"},showTitle:!0,width:"95%",height:"95%",minWidth:650,title:e.$data.getDisplayText("title"),visible:e.$data.popupVisible,toolbarItems:e.$data.buttonItems,showCloseButton:!0,container:e.$data.getPopupContainer(t),position:{of:e.$data.getPopupContainer(t)},onHiding:e.$data.onHidingHandler,hideOnParentScroll:!1}}}}),yp("text: getDisplayText('category')",function(e,t){return{text:function(){return e.$data.getDisplayText("category")}}}),yp("css: { 'dx-format-general': isGeneralType }",function(e,t){return{css:function(){return{"dx-format-general":e.$data.isGeneralType}}}}),yp("text: getDisplayText('preview')",function(e,t){return{text:function(){return e.$data.getDisplayText("preview")}}}),yp("text: previewString",function(e,t){return{text:function(){return e.$data.previewString}}}),yp("template: { name: 'dx-format-string-list', data: { items: types, action: setType, selectedItems: selectedTypes } }",function(e,t){return{template:function(){return{name:"dx-format-string-list",data:{items:e.$data.types,action:e.$data.setType,selectedItems:e.$data.selectedTypes}}}}}),yp("if: !isGeneralType",function(e,t){return{if:function(){return!e.$data.isGeneralType}}}),yp("template: 'dx-format-string-edit-area'",function(e,t){return{template:function(){return"dx-format-string-edit-area"}}}),yp("if: isGeneralType",function(e,t){return{if:function(){return e.$data.isGeneralType}}}),yp("template: 'dx-format-string-edit-area-general'",function(e,t){return{template:function(){return"dx-format-string-edit-area-general"}}}),yp("dxButtonWithTemplate: { onClick: function() { clickAction($parent); }, icon: $data.imageTemplateName, iconClass: $data.imageClassName, visible: ($data.visible == undefined) || $data.visible, disabled: $data.disabled }, attr: { title: $data.displayText }",function(e,t){return{dxButtonWithTemplate:function(){return{onClick:function(){e.$data.clickAction(e.$parent)},icon:e.$data.imageTemplateName,iconClass:e.$data.imageClassName,visible:null==e.$data.visible||e.$data.visible,disabled:e.$data.disabled}},attr:function(){return{title:e.$data.displayText}}}}),yp("dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: $parent.reverseCollapsed }, visible: $parent.hasContent, attr: { title: $data.displayText }",function(e,t){return{dxButtonWithTemplate:function(){return{icon:"dxrd-svg-operations-edit",iconClass:"dx-image-edit",onClick:e.$parent.reverseCollapsed}},visible:function(){return e.$parent.hasContent},attr:function(){return{title:e.$data.displayText}}}}),yp("if: $data.templateName && ($root.canAddItems || $root.canAddItems === undefined)",function(e,t){return{if:function(){return e.$data.templateName&&(e.$root.canAddItems||void 0===e.$root.canAddItems)}}}),yp("if: !$data.templateName && ($root.canAddItems || $root.canAddItems === undefined || canAddItems)",function(e,t){return{if:function(){return!e.$data.templateName&&(e.$root.canAddItems||void 0===e.$root.canAddItems||e.$data.canAddItems)}}}),yp("template: { name: 'dx-treelist-edit-action', data: treeListEditAction }",function(e,t){return{template:function(){return{name:"dx-treelist-edit-action",data:e.$data.treeListEditAction}}}}),yp("template: 'dx-treelist-item-actions'",function(e,t){return{template:function(){return"dx-treelist-item-actions"}}}),yp("styleunit: padding, click: events.click",function(e,t){return{styleunit:function(){return e.$data.padding},click:function(){return e.$data.events.click}}}),yp("dxdAccordionExt: { collapsed: collapsedAccessor, lazyContentRendering: true }",function(e,t){return{dxdAccordionExt:function(){return{collapsed:e.$data.collapsedAccessor,lazyContentRendering:!0}}}}),yp("visible: isSelected || isHovered, click: function(s, e) { e.stopPropagation(); }",function(e,t){return{visible:function(){return e.$data.isSelected||e.$data.isHovered},click:function(){return function(e,t){t.stopPropagation()}}}}),yp("event: events, click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, styleunit: padding, draggable: isDraggable ? dragDropHandler : null, css: cssRules, attr: attr",function(e,t){return{event:function(){return e.$data.events},click:function(){return function(t,i){e.$root.hideContextMenu&&e.$root.hideContextMenu(),e.$data.toggleSelected(t,i)}},styleunit:function(){return e.$data.padding},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null},css:function(){return e.$data.cssRules},attr:function(){return e.$data.attr}}}),yp("style: { 'padding-left': hasItems ? '0px': '18px' }",function(e,t){return{style:function(){return{"padding-left":e.$data.hasItems?"0px":"18px"}}}}),yp("searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.text,textToSearch:e.$data.searchModel.textToSearch,searchOptions:e.$data.searchModel.searchOptions}},attr:function(){return{title:e.$data.text}}}}),yp("dxLoadIndicator: { visible: true, width: 16, height: 16 }",function(e,t){return{dxLoadIndicator:function(){return{visible:!0,width:16,height:16}}}}),yp("css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }",function(e,t){return{css:function(){return e.$data.imageClassName},template:function(){return{name:e.$data.imageTemplateName,if:!!e.$data.imageTemplateName}},attr:function(){return{title:e.$data.text}}}}),yp("if: searchModel.searchEnabled",function(e,t){return{if:function(){return e.$data.searchModel.searchEnabled}}}),yp("ifnot: searchModel.searchEnabled",function(e,t){return{ifnot:function(){return e.$data.searchModel.searchEnabled}}}),yp("if: hasContent",function(e,t){return{if:function(){return e.$data.hasContent}}}),yp("template: templates.accordionItem",function(e,t){return{template:function(){return e.$data.templates.accordionItem}}}),yp("ifnot: hasContent",function(e,t){return{ifnot:function(){return e.$data.hasContent}}}),yp("template: templates.headerItem",function(e,t){return{template:function(){return e.$data.templates.headerItem}}}),yp("template: { name: contenttemplate }",function(e,t){return{template:function(){return{name:e.$data.contenttemplate}}}}),yp("template: actionsTemplate",function(e,t){return{template:function(){return e.$data.actionsTemplate}}}),yp("if: actions && actions.length > 0",function(e,t){return{if:function(){return e.$data.actions&&e.$data.actions.length>0}}}),yp("template: templates.actionsContainer",function(e,t){return{template:function(){return e.$data.templates.actionsContainer}}}),yp("template: templates.headerItemContent",function(e,t){return{template:function(){return e.$data.templates.headerItemContent}}}),yp("if: isLoading && data && data.specifics === 'ListSource'",function(e,t){return{if:function(){return e.$data.isLoading&&e.$data.data&&"ListSource"===e.$data.data.specifics}}}),yp("ifnot: isLoading && data && data.specifics === 'ListSource'",function(e,t){return{ifnot:function(){return e.$data.isLoading&&e.$data.data&&"ListSource"===e.$data.data.specifics}}}),yp("template: templates.itemTextContent",function(e,t){return{template:function(){return e.$data.templates.itemTextContent}}}),yp("event: events, click: toggleSelected, draggable: isDraggable ? dragDropHandler : null, styleunit: padding, css: { 'dx-treelist-item-selected dxd-state-selected dxd-back-secondary': isSelected || isMultiSelected }",function(e,t){return{event:function(){return e.$data.events},click:function(){return e.$data.toggleSelected},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null},styleunit:function(){return e.$data.padding},css:function(){return{"dx-treelist-item-selected dxd-state-selected dxd-back-secondary":e.$data.isSelected||e.$data.isMultiSelected}}}}),yp("css: nodeImageClass, template: 'dxrd-svg-collapsed', click: toggleCollapsed, style: { 'visibility': hasItems ? 'visible' : 'hidden' }",function(e,t){return{css:function(){return e.$data.nodeImageClass},template:function(){return"dxrd-svg-collapsed"},click:function(){return e.$data.toggleCollapsed},style:function(){return{visibility:e.$data.hasItems?"visible":"hidden"}}}}),yp('template: "dx-treelist-accordion-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-accordion-item-with-hover"}}}),yp('template: "dx-treelist-header-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-header-item-with-hover"}}}),yp("dxTextBox: { mode: 'search', value: value, onValueChanged: onValueChanged, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}",function(e,t){return{dxTextBox:function(){return{mode:"search",value:e.$data.value,onValueChanged:e.$data.onValueChanged,valueChangeEvent:"keyup",showClearButton:!0,placeholder:e.$data.searchPlaceholder()}}}}),yp("lazy: { resolver: resolver, innerBindings: { template: templateName } }",function(e,t){return{lazy:function(){return{resolver:e.$data.resolver,innerBindings:{template:e.$data.templateName}}}}}),yp("if: !collapsed",function(e,t){return{if:function(){return!e.$data.collapsed}}}),yp("template: { name: 'dx-treelist' }",function(e,t){return{template:function(){return{name:"dx-treelist"}}}}),yp("template: 'dxrd-svg-collapsed'",function(e,t){return{template:function(){return"dxrd-svg-collapsed"}}}),yp("template: 'dxrd-svg-ellipsis'",function(e,t){return{template:function(){return"dxrd-svg-ellipsis"}}}),yp("template: 'dxrd-svg-error'",function(e,t){return{template:function(){return"dxrd-svg-error"}}}),yp("template: 'dxrd-svg-expressioneditor-addition'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-addition"}}}),yp("template: 'dxrd-svg-expressioneditor-and'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-and"}}}),yp("template: 'dxrd-svg-expressioneditor-division'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-division"}}}),yp("template: 'dxrd-svg-expressioneditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-edit"}}}),yp("template: 'dxrd-svg-expressioneditor-equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-equal"}}}),yp("template: 'dxrd-svg-expressioneditor-greater'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater"}}}),yp("template: 'dxrd-svg-expressioneditor-greater_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater_or_equal"}}}),yp("template: 'dxrd-svg-expressioneditor-less'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less"}}}),yp("template: 'dxrd-svg-expressioneditor-less_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less_or_equal"}}}),yp("template: 'dxrd-svg-expressioneditor-modulus'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-modulus"}}}),yp("template: 'dxrd-svg-expressioneditor-multiplication'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-multiplication"}}}),yp("template: 'dxrd-svg-expressioneditor-not'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not"}}}),yp("template: 'dxrd-svg-expressioneditor-not_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not_equal"}}}),yp("template: 'dxrd-svg-expressioneditor-or'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-or"}}}),yp("template: 'dxrd-svg-expressioneditor-parenthesis'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-parenthesis"}}}),yp("template: 'dxrd-svg-expressioneditor-subtraction'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-subtraction"}}}),yp("template: 'dxrd-svg-fieldlist-array'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-array"}}}),yp("template: 'dxrd-svg-fieldlist-bitearray'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bitearray"}}}),yp("template: 'dxrd-svg-fieldlist-bool'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bool"}}}),yp("template: 'dxrd-svg-fieldlist-booleanfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-booleanfield"}}}),yp("template: 'dxrd-svg-fieldlist-column'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-column"}}}),yp("template: 'dxrd-svg-fieldlist-datasource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datasource"}}}),yp("template: 'dxrd-svg-fieldlist-date'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-date"}}}),yp("template: 'dxrd-svg-fieldlist-datetime'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetime"}}}),yp("template: 'dxrd-svg-fieldlist-datetimefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetimefield"}}}),yp("template: 'dxrd-svg-fieldlist-datetimeoffset'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetimeoffset"}}}),yp("template: 'dxrd-svg-fieldlist-doublefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-doublefield"}}}),yp("template: 'dxrd-svg-fieldlist-enum'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-enum"}}}),yp("template: 'dxrd-svg-fieldlist-float'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-float"}}}),yp("template: 'dxrd-svg-fieldlist-guid'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-guid"}}}),yp("template: 'dxrd-svg-fieldlist-integer'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integer"}}}),yp("template: 'dxrd-svg-fieldlist-integerfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integerfield"}}}),yp("template: 'dxrd-svg-fieldlist-listsource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-listsource"}}}),yp("template: 'dxrd-svg-fieldlist-none'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-none"}}}),yp("template: 'dxrd-svg-fieldlist-parameters'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-parameters"}}}),yp("template: 'dxrd-svg-fieldlist-range'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-range"}}}),yp("template: 'dxrd-svg-fieldlist-string'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-string"}}}),yp("template: 'dxrd-svg-fieldlist-stringfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-stringfield"}}}),yp("template: 'dxrd-svg-fieldlist-table'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-table"}}}),yp("template: 'dxrd-svg-fieldlist-time'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-time"}}}),yp("template: 'dxrd-svg-fieldlist-view'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-view"}}}),yp("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),yp("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),yp("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),yp("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),yp("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),yp("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),yp("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),yp("template: 'dxrd-svg-menu-menu'",function(e,t){return{template:function(){return"dxrd-svg-menu-menu"}}}),yp("template: 'dxrd-svg-menu-open'",function(e,t){return{template:function(){return"dxrd-svg-menu-open"}}}),yp("template: 'dxrd-svg-menu-save'",function(e,t){return{template:function(){return"dxrd-svg-menu-save"}}}),yp("template: 'dxrd-svg-menu-saveas'",function(e,t){return{template:function(){return"dxrd-svg-menu-saveas"}}}),yp("template: 'dxrd-svg-operations-add'",function(e,t){return{template:function(){return"dxrd-svg-operations-add"}}}),yp("template: 'dxrd-svg-operations-add_calcfield'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_calcfield"}}}),yp("template: 'dxrd-svg-operations-add_datasource'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_datasource"}}}),yp("template: 'dxrd-svg-operations-add_query'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_query"}}}),yp("template: 'dxrd-svg-operations-ai'",function(e,t){return{template:function(){return"dxrd-svg-operations-ai"}}}),yp("template: 'dxrd-svg-operations-arrowdown'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowdown"}}}),yp("template: 'dxrd-svg-operations-arrowup'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowup"}}}),yp("template: 'dxrd-svg-operations-ascending'",function(e,t){return{template:function(){return"dxrd-svg-operations-ascending"}}}),yp("template: 'dxrd-svg-operations-descending'",function(e,t){return{template:function(){return"dxrd-svg-operations-descending"}}}),yp("template: 'dxrd-svg-operations-edit'",function(e,t){return{template:function(){return"dxrd-svg-operations-edit"}}}),yp("template: 'dxrd-svg-operations-editCriteria'",function(e,t){return{template:function(){return"dxrd-svg-operations-editCriteria"}}}),yp("template: 'dxrd-svg-operations-movedown'",function(e,t){return{template:function(){return"dxrd-svg-operations-movedown"}}}),yp("template: 'dxrd-svg-operations-moveleft'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft"}}}),yp("template: 'dxrd-svg-operations-moveleft_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft_all"}}}),yp("template: 'dxrd-svg-operations-moveright'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright"}}}),yp("template: 'dxrd-svg-operations-moveright_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright_all"}}}),yp("template: 'dxrd-svg-operations-moveup'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveup"}}}),yp("template: 'dxrd-svg-operations-rebuild_schema'",function(e,t){return{template:function(){return"dxrd-svg-operations-rebuild_schema"}}}),yp("template: 'dxrd-svg-operations-recycle_bin'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin"}}}),yp("template: 'dxrd-svg-operations-recycle_bin_xl'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin_xl"}}}),yp("template: 'dxrd-svg-operations-remove'",function(e,t){return{template:function(){return"dxrd-svg-operations-remove"}}}),yp("template: 'dxrd-svg-operations-rename'",function(e,t){return{template:function(){return"dxrd-svg-operations-rename"}}}),yp("template: 'dxrd-svg-operations-unsorted'",function(e,t){return{template:function(){return"dxrd-svg-operations-unsorted"}}}),yp("template: 'dxrd-svg-properties-borders-all'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"}}}),yp("template: 'dxrd-svg-properties-borders-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"}}}),yp("template: 'dxrd-svg-properties-borders-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"}}}),yp("template: 'dxrd-svg-properties-borders-none'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"}}}),yp("template: 'dxrd-svg-properties-borders-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"}}}),yp("template: 'dxrd-svg-properties-borders-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"}}}),yp("template: 'dxrd-svg-properties-propertiesmenu'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertiesmenu"}}}),yp("template: 'dxrd-svg-properties-propertyexpression'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertyexpression"}}}),yp("template: 'dxrd-svg-properties-search'",function(e,t){return{template:function(){return"dxrd-svg-properties-search"}}}),yp("template: 'dxrd-svg-properties-sortingbyalphabet'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbyalphabet"}}}),yp("template: 'dxrd-svg-properties-sortingbygroups'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbygroups"}}}),yp("template: 'dxrd-svg-properties-tasksmarttag'",function(e,t){return{template:function(){return"dxrd-svg-properties-tasksmarttag"}}}),yp("template: 'dxrd-svg-properties-textAlignment-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"}}}),yp("template: 'dxrd-svg-properties-textAlignment-center'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"}}}),yp("template: 'dxrd-svg-properties-textAlignment-justify'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"}}}),yp("template: 'dxrd-svg-properties-textAlignment-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"}}}),yp("template: 'dxrd-svg-properties-textAlignment-middle'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"}}}),yp("template: 'dxrd-svg-properties-textAlignment-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"}}}),yp("template: 'dxrd-svg-properties-textAlignment-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"}}}),yp("template: 'dxrd-svg-queryBuilder-aggregate'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-aggregate"}}}),yp("template: 'dxrd-svg-queryBuilder-data_preview'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-data_preview"}}}),yp("template: 'dxrd-svg-queryBuilder-group_by'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-group_by"}}}),yp("template: 'dxrd-svg-queryBuilder-select_statment'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-select_statment"}}}),yp("template: 'dxrd-svg-queryBuilder-sorting_asc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_asc"}}}),yp("template: 'dxrd-svg-queryBuilder-sorting_desc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_desc"}}}),yp("template: 'dxrd-svg-tabs-description_info'",function(e,t){return{template:function(){return"dxrd-svg-tabs-description_info"}}}),yp("template: 'dxrd-svg-tabs-properties'",function(e,t){return{template:function(){return"dxrd-svg-tabs-properties"}}}),yp("template: 'dxrd-svg-toolbar-copy'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-copy"}}}),yp("template: 'dxrd-svg-toolbar-cut'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-cut"}}}),yp("template: 'dxrd-svg-toolbar-delete'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-delete"}}}),yp("template: 'dxrd-svg-toolbar-paste'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-paste"}}}),yp("template: 'dxrd-svg-toolbar-redo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-redo"}}}),yp("template: 'dxrd-svg-toolbar-undo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-undo"}}}),yp("template: 'dxrd-svg-toolbar-validate'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-validate"}}}),yp("template: 'dxrd-svg-toolbar-zoomin'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomin"}}}),yp("template: 'dxrd-svg-toolbar-zoomout'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomout"}}}),yp("template: 'dxrd-svg-wizard-Download'",function(e,t){return{template:function(){return"dxrd-svg-wizard-Download"}}}),yp("template: 'dxrd-svg-wizard-FederationDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-FederationDataSource"}}}),yp("template: 'dxrd-svg-wizard-JsonDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-JsonDataSource"}}}),yp("template: 'dxrd-svg-wizard-MongodbDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-MongodbDataSource"}}}),yp("template: 'dxrd-svg-wizard-NoDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-NoDataSource"}}}),yp("template: 'dxrd-svg-wizard-ObjectDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-ObjectDataSource"}}}),yp("template: 'dxrd-svg-wizard-SqlDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-SqlDataSource"}}}),yp("template: 'dxrd-svg-wizard-expressions'",function(e,t){return{template:function(){return"dxrd-svg-wizard-expressions"}}}),Ui.addTemplates({"dxrd-svg-collapsed":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 9 9" xml:space="preserve"><path class="dxd-icon-fill" d="m2 2 5 3-5 3z"/></svg>',"dxrd-svg-ellipsis":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="-467 277 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M-464 284h2v2h-2zM-460 284h2v2h-2zM-456 284h2v2h-2z"/></svg>',"dxrd-svg-error":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 64 64"><circle cx="32" cy="32" r="32" fill="#F05252"/><path fill="#FFF0F0" d="M18.733 22.27a2.502 2.502 0 0 1 3.538-3.537l22.996 22.996a2.502 2.502 0 0 1-3.538 3.538L18.733 22.271Z"/><path fill="#FFF0F0" d="M41.73 18.733a2.502 2.502 0 0 1 3.537 3.538L22.271 45.267a2.502 2.502 0 0 1-3.538-3.538l22.996-22.996Z"/></svg>',"dxrd-svg-expressioneditor-addition":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-expressioneditor-and":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-80" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/></svg>',"dxrd-svg-expressioneditor-division":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 10h20v4H2z"/><circle class="dxd-icon-fill" cx="12" cy="6" r="2"/><circle class="dxd-icon-fill" cx="12" cy="18" r="2"/></svg>',"dxrd-svg-expressioneditor-edit":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 8-6 6-6-6z"/></svg>',"dxrd-svg-expressioneditor-equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 6h16v4H4zM4 12h16v4H4z"/></svg>',"dxrd-svg-expressioneditor-greater":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v2l10 6-10 6v2l14-8z"/></svg>',"dxrd-svg-expressioneditor-greater_or_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 2v2l10 6-10 6v2l14-8zM4 22l14-8v-2L4 20z"/></svg>',"dxrd-svg-expressioneditor-less":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 4v2L8 12l10 6v2L4 12z"/></svg>',"dxrd-svg-expressioneditor-less_or_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M18 2v2L8 10l10 6v2L4 10zM18 22 4 14v-2l14 8z"/></svg>',"dxrd-svg-expressioneditor-modulus":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M16 4 2 20h4L20 4zM16 12c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM6 12c2.2 0 4-1.8 4-4S8.2 4 6 4 2 5.8 2 8s1.8 4 4 4zm0-6c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"/></svg>',"dxrd-svg-expressioneditor-multiplication":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 6-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-80" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5z"/></svg>',"dxrd-svg-expressioneditor-not_equal":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 0h-2l-3.8 6H4v4h7.6l-1.2 2H4v4h3.8L4 22h2l3.8-6H20v-4h-7.6l1.2-2H20V6h-3.8z"/></svg>',"dxrd-svg-expressioneditor-or":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill dxd-opacity-80" d="M14 11c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4z"/><path class="dxd-icon-fill" d="M15 4c-1.1 0-2.1.2-3 .7-.9-.5-1.9-.7-3-.7-3.9 0-7 3.1-7 7s3.1 7 7 7c1.1 0 2.1-.2 3-.7.9.4 1.9.7 3 .7 3.9 0 7-3.1 7-7s-3.1-7-7-7zm-1 7c0 1.6-.8 3.1-2 4-1.2-.9-2-2.3-2-4s.8-3.1 2-4c1.2.9 2 2.4 2 4zM4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zm11 5c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/><path class="dxd-icon-fill dxd-opacity-80" d="M4 11c0-2.8 2.2-5 5-5 .3 0 .7 0 1 .1-1.2 1.3-2 3-2 4.9s.8 3.6 2 4.9c-.3.1-.7.1-1 .1-2.8 0-5-2.2-5-5zM15 16c-.3 0-.7 0-1-.1 1.2-1.3 2-3 2-4.9s-.8-3.6-2-4.9c.3-.1.7-.1 1-.1 2.8 0 5 2.2 5 5s-2.2 5-5 5z"/></svg>',"dxrd-svg-expressioneditor-parenthesis":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 11c0 3.8 1.8 7.1 4 9h2c-2.2-1.9-4-5.2-4-9s1.8-7.1 4-9H6c-2.2 1.9-4 5.2-4 9zM16 2h-2c2.2 1.8 4 5.2 4 9s-1.8 7.2-4 9h2c2.2-1.8 4-5.2 4-9s-1.8-7.2-4-9z"/><path class="dxd-icon-fill" d="M6 10h2v2H6zM10 10h2v2h-2zM14 10h2v2h-2z"/></svg>',"dxrd-svg-expressioneditor-subtraction":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 10h16v4H4z"/></svg>',"dxrd-svg-fieldlist-array":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></svg>',"dxrd-svg-fieldlist-bitearray":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4 4v8H2.3V5.5H1V4h3zm2.8 7.6c-.5-.3-.8-.8-1.1-1.4-.2-.6-.4-1.3-.4-2.2 0-.9.1-1.6.4-2.2.3-.6.7-1.1 1.1-1.4.5-.3 1-.5 1.6-.5s1.1.1 1.6.5c.5.3.8.8 1.1 1.4.3.6.4 1.4.4 2.2 0 .9-.1 1.6-.4 2.2-.3.6-.6 1.1-1.1 1.4-.5.3-1 .5-1.6.5s-1.1-.1-1.6-.5zm2.6-1.7c.3-.4.4-1 .4-1.9s-.1-1.5-.4-1.9c-.2-.4-.6-.6-1-.6s-.8.2-1 .6c-.3.4-.4 1-.4 1.9s.1 1.5.4 1.9c.2.4.6.6 1 .6.5.1.8-.1 1-.6zM15 4v8h-1.7V5.5H12V4h3z"/></svg>',"dxrd-svg-fieldlist-bool":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6 6 10.2 3.4 7.6 2 9l4 4 9-9z"/></svg>',"dxrd-svg-fieldlist-booleanfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M13.6 2.6 6 10.2 3.4 7.6 2 9l4 4 9-9z"/></svg>',"dxrd-svg-fieldlist-column":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M1 6h14v4H1z"/><g class="dxd-opacity-50"><path class="dxd-icon-fill" d="M5 5H1V1h4v4zm5-4H6v4h4V1zm5 0h-4v4h4V1zM5 11H1v4h4v-4zm5 0H6v4h4v-4zm5 0h-4v4h4v-4z"/></g></svg>',"dxrd-svg-fieldlist-datasource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><g class="st1"><path class="dxd-icon-fill" d="M7.3 9V7H10V3c0-1.7-2-3-4.5-3S1 1.3 1 3v5c0 1.7 2 3 4.5 3 2 0 3.6-.8 4.2-2H7.3zm-4-6c0-.4.9-1 2.3-1s2.3.6 2.3 1-1 1-2.4 1-2.2-.6-2.2-1z"/></g><path class="dxd-icon-fill" d="M9.5 5C7 5 5 6.3 5 8v5c0 1.7 2 3 4.5 3s4.5-1.3 4.5-3V8c0-1.7-2-3-4.5-3zm0 4c-1.4 0-2.2-.6-2.2-1s.9-1 2.3-1 2.3.6 2.3 1-1 1-2.4 1z"/></svg>',"dxrd-svg-fieldlist-date":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M13 4H3v9h10V4ZM1 1v14h14V1h-2V0h-3v1H6V0H3v1H1Z"/><path class="dxd-icon-fill" d="M11 10.064H9.676V12H8.342v-1.936H5V9.18L8.496 5h1.18v4.031H11v1.033ZM8.342 6.827l-1.92 2.204h1.92V6.827Z"/></svg>',"dxrd-svg-fieldlist-datetime":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3 4h10v2l2 1V1h-2V0h-3v1H6V0H3v1H1v14h6l-1-2H3V4Z"/><path class="dxd-icon-fill" d="M11.5 7A4.472 4.472 0 0 0 7 11.5c0 2.507 1.993 4.5 4.5 4.5 2.507 0 4.5-1.993 4.5-4.5C16 8.993 14.007 7 11.5 7Zm0 7.714A3.183 3.183 0 0 1 8.286 11.5c0-1.8 1.414-3.214 3.214-3.214S14.714 9.7 14.714 11.5 13.3 14.714 11.5 14.714Zm1.929-3.214v.643h-2.572V9.57h.643V11.5h1.929Z"/></svg>',"dxrd-svg-fieldlist-datetimefield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm3-5v1H7V5h1v3h3z"/></svg>',"dxrd-svg-fieldlist-datetimeoffset":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M12 8c-2.2 0-4 1.8-4 4s1.8 4 4 4 4-1.8 4-4-1.8-4-4-4Zm2.95 3.5h-.5c-.05-.6-.15-1.15-.35-1.65.45.45.75 1 .85 1.65ZM11.5 9.15v2.35h-1c.1-1.1.5-1.95 1-2.35Zm0 3.35v2.35c-.5-.35-.9-1.25-1-2.35h1Zm1 2.35V12.5h1c-.1 1.1-.5 1.95-1 2.35Zm0-3.35V9.15c.5.35.9 1.25 1 2.35h-1ZM9.9 9.85c-.2.5-.3 1.05-.35 1.65h-.5c.1-.65.4-1.2.85-1.65Zm-.85 2.65h.5c.05.6.15 1.15.35 1.65-.45-.45-.75-1-.85-1.65Zm5.05 1.65c.2-.5.3-1.05.35-1.65h.5c-.1.65-.4 1.2-.85 1.65Z"/><path class="dxd-icon-fill" d="M8 1c3.9 0 7 3.1 7 7a4.975 4.975 0 0 0-2.082-.915C12.498 4.735 10.487 3 8 3 5.2 3 3 5.2 3 8c0 2.487 1.735 4.498 4.085 4.918.143.77.462 1.48.915 2.082-3.9 0-7-3.1-7-7s3.1-7 7-7Z"/><path class="dxd-icon-fill" d="M9 8a5.029 5.029 0 0 0-1 1H5V8h3V5h1v3Z"/></svg>',"dxrd-svg-fieldlist-doublefield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></svg>',"dxrd-svg-fieldlist-enum":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M13 12H1c-.5 0-1 .5-1 1v8c0 .5.5 1 1 1h12c.5 0 1-.5 1-1v-8c0-.5-.5-1-1-1zm-1 8H2v-2h10v2zm0-4H2v-2h10v2zM23 4H11c-.5 0-1 .5-1 1v5h12v2h-6v2h7c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zm-1 4H12V6h10v2z" id="Enum"/></svg>',"dxrd-svg-fieldlist-float":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M5 4v8H3.3V5.5H2V4h3zM6.3 11.7c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3s.5.1.7.3.3.4.3.7c0 .3-.1.5-.3.7-.2.2-.4.3-.7.3s-.5-.1-.7-.3zM15 10.5V12H9v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H15z"/></svg>',"dxrd-svg-fieldlist-guid":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M4.1 4.6c-.2-.2-.3-.4-.3-.7 0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .6.1.7.3.2.2.3.4.3.7 0 .3-.1.6-.3.8-.1.1-.4.2-.7.2-.3 0-.5-.1-.7-.3zm-.1 1h1.7V12H4V5.6zM13 3v9h-1.6v-.7c-.4.6-1 .8-1.8.8-.5 0-1-.1-1.5-.4-.4-.3-.8-.7-1-1.2-.2-.5-.3-1.1-.3-1.7 0-.7.1-1.2.4-1.7.2-.5.6-.9 1-1.2.4-.3.9-.4 1.5-.4.7 0 1.3.3 1.7.8V3H13zm-2 7.1c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5-.4 0-.8.2-1 .5-.3.3-.4.7-.4 1.3 0 .5.1 1 .4 1.3.3.3.6.5 1 .5.4-.1.8-.2 1.1-.5z"/></svg>',"dxrd-svg-fieldlist-integer":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></svg>',"dxrd-svg-fieldlist-integerfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 4v8H4.3V5.5H3V4h3zm8 6.5V12H8v-1.2l3.1-2.9c.3-.3.5-.6.7-.8.1-.2.2-.4.2-.7 0-.3-.1-.6-.3-.7-.2-.2-.5-.3-.9-.3-.3 0-.7.1-.9.2-.5.2-.7.4-.9.6l-1.3-.8c.3-.5.7-.9 1.2-1.1.5-.3 1.2-.4 1.9-.4.6 0 1.1.1 1.5.3.4.2.8.5 1 .8.2.4.4.8.4 1.2 0 .4-.1.8-.3 1.2-.2.4-.5.8-1.1 1.3l-1.8 1.7H14z"/></svg>',"dxrd-svg-fieldlist-listsource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 2C5.2 2 3 3.3 3 5v6c0 1.7 2.2 3 5 3s5-1.3 5-3V5c0-1.7-2.2-3-5-3zm0 4c-1.8 0-2.9-.8-3-1 .1-.2 1.2-1 3-1s2.9.8 3 1c-.1.2-1.2 1-3 1z"/></svg>',"dxrd-svg-fieldlist-none":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="m9.4 8 3.3-3.3c.4-.4.4-1 0-1.4s-1-.4-1.4 0L8 6.6 4.7 3.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4L6.6 8l-3.3 3.3c-.4.4-.4 1 0 1.4s1 .4 1.4 0L8 9.4l3.3 3.3c.4.4 1 .4 1.4 0s.4-1 0-1.4L9.4 8z"/></svg>',"dxrd-svg-fieldlist-parameters":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M7.2 8.3c.2-.3.5-.6.8-1l.7-.7c.1-.2.2-.4.2-.6 0-.3-.1-.6-.4-.8-.3-.2-.6-.3-1-.3s-.8.1-1.1.3c-.3.1-.6.3-.8.6L4 4.9c.4-.6.9-1.1 1.5-1.4.6-.3 1.3-.5 2.2-.5 1 0 1.8.2 2.4.7.6.4.9 1.1.9 1.9 0 .4-.1.7-.2 1-.1.3-.3.5-.4.7l-.7.7c-.3.3-.5.5-.7.8-.1.2-.2.4-.2.7h-2c.1-.5.2-.9.4-1.2zm-.3 4.3c-.2-.2-.4-.5-.4-.9s.1-.6.4-.9c.2-.2.5-.4.9-.4s.7.1.9.4c.2.2.4.5.4.9s-.1.7-.4.9c-.2.3-.5.4-.9.4-.3 0-.6-.1-.9-.4z"/></svg>',"dxrd-svg-fieldlist-range":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3 4v8h2v2H1V2h4v2H3zm10 0v8h-2v2h4V2h-4v2h2z"/></svg>',"dxrd-svg-fieldlist-string":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></svg>',"dxrd-svg-fieldlist-stringfield":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M6 6.1c.5.5.8 1.2.8 2.2V12H5.1v-.8c-.3.6-.9.9-1.9.9-.5 0-.9-.1-1.2-.3-.3-.2-.6-.4-.8-.7-.2-.3-.3-.6-.3-1 .1-.6.3-1.1.7-1.4.4-.3 1.1-.5 2-.5H5c0-.4-.1-.7-.4-1-.2-.2-.5-.3-1-.3-.3 0-.6 0-.9.1-.4.2-.6.3-.8.5l-.7-1.3c.4-.3.8-.5 1.2-.6.5-.1.9-.2 1.4-.2 1 0 1.7.2 2.2.7zm-1.5 4.5c.2-.1.4-.4.5-.7v-.6H3.8c-.7 0-1.1.3-1.1.8 0 .2.1.4.3.6.2.1.4.2.7.2.3-.1.6-.2.8-.3zm9-4.8c.5.3.8.7 1.1 1.2.3.5.4 1.1.4 1.7 0 .7-.1 1.3-.4 1.8-.3.5-.6.9-1.1 1.2-.5.3-1 .4-1.5.4-.8 0-1.5-.3-1.9-.8v.7H8.4V3h1.8v3.2c.4-.5 1.1-.8 1.8-.8.5 0 1 .1 1.5.4zm-.7 4.3c.3-.3.4-.8.4-1.3s-.1-1-.4-1.3c-.3-.3-.7-.5-1.1-.5s-.8.2-1.1.5c-.3.3-.4.8-.4 1.3s.1 1 .4 1.3c.3.3.7.5 1.1.5s.8-.2 1.1-.5z"/></svg>',"dxrd-svg-fieldlist-table":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M14 1H2c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V2c0-.5-.5-1-1-1zM9 3v2H7V3h2zm0 4v2H7V7h2zM3 3h2v2H3V3zm0 4h2v2H3V7zm0 6v-2h2v2H3zm4 0v-2h2v2H7zm6 0h-2v-2h2v2zm0-4h-2V7h2v2zm0-4h-2V3h2v2z"/></svg>',"dxrd-svg-fieldlist-time":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M8 1C4.1 1 1 4.1 1 8s3.1 7 7 7 7-3.1 7-7-3.1-7-7-7Zm0 12c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5Zm3-5v1H7V5h1v3h3Z"/></svg>',"dxrd-svg-fieldlist-view":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="m14.7 13.3-3.5-3.5C11.7 9 12 8 12 7c0-2.8-2.2-5-5-5S2 4.2 2 7s2.2 5 5 5c1 0 2-.3 2.8-.8l3.5 3.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM7 10c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/></svg>',"dxrd-svg-filtereditor-add":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-filter-editor-add-icon-fill-color" d="M20 10h-6V4h-4v6H4v4h6v6h4v-6h6z"/></svg>',"dxrd-svg-filtereditor-edit":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-filter-editor-text-color" d="M4 7h8l-4 4z"/></svg>',"dxrd-svg-filtereditor-remove":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-filter-editor-remove-icon-fill-color" d="m18 6-2-2-5 5-5-5-2 2 5 5-5 5 2 2 5-5 5 5 2-2-5-5z"/></svg>',"dxrd-svg-fontstyle-bold":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M14.4 10.8c1.1.3 1.9.7 2.5 1.3.8.8 1.1 1.8 1.1 3 0 .9-.2 1.8-.7 2.6-.5.8-1.2 1.4-2 1.8-.9.4-2.2.6-4 .6H4v-.5h.4c.7 0 1.1-.2 1.4-.7.2-.5.2-2 .2-3V6c0-1.1 0-2.6-.3-2.9-.3-.4-.7-.6-1.3-.6H4V2h6.6c1.3 0 2.3.1 3.1.3 1.2.3 2.1.9 2.7 1.7s.9 1.7.9 2.8c0 .9-.2 1.7-.7 2.4-.5.7-1.2 1.3-2.2 1.6zM8 10H10.6c1.1 0 2 0 2.6-.3.6-.3.9-.6 1.2-1.2.3-.6.5-1.2.5-1.9 0-1.1-.4-2-1.1-2.7S11.4 3 10 3H8v7zm0 8.9h3c1.4 0 2.5-.3 3.2-1s1.1-1.6 1.1-2.7c0-.7-.2-1.4-.5-2-.3-.6-.9-1.2-1.6-1.5-.8-.4-1.5-.7-2.7-.7H8v7.9z"/></svg>',"dxrd-svg-fontstyle-italic":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m14 21.5-.2.5H6l.2-.5c.8 0 1.3-.1 1.6-.2.4-.2.7-.4.9-.7.3-.5.5-1.3.8-2.5l2.4-12c.3-1.3.3-1.8.3-2.3 0-.3-.1-.5-.2-.6s-.3-.3-.6-.4c-.3-.1-.7-.1-1.5-.1l.3-.7H18l-.2.5c-.6 0-1.4.1-1.7.2-.4.2-.8.5-1 .8-.1.5-.5 1-.8 2.5L12 18.1c-.2 1.3-.3 1.7-.3 2.1 0 .2.1.5.2.6.1.2.3.3.6.4s.7.2 1.5.3z"/></svg>',"dxrd-svg-fontstyle-strikeout":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 12h-5.3c-.7-.4-1.7-.9-2.9-1.5-2.4-1.2-3.9-2.1-4.6-2.8-.4-.5-.7-1-.7-1.6 0-.8.3-1.4 1-2.1.6-.4.8-.7 2.1-.9.9-.1 1.9.2 2.8.7.9.4 1.6 1 2.1 1.8s.8 1.4 1 2.4h.5V2h-.5c-.1.4-.2.7-.4.9-.2.1-.4.2-.7.2-.2 0-.6-.1-1.2-.4-1.3-.5-2.5-.7-3.6-.7-1.8 0-3 .8-3.9 1.5C4.5 4.4 4 5.7 4 7c0 .8.2 1.5.6 2.2s1 1.3 1.7 1.8c.4.3.9.6 1.6 1H2v2h9.7c.9.5 1.5.8 1.8 1 .6.4 1 .9 1.3 1.3s.4 1 .4 1.4c0 .8-.4 1.6-1.1 2.2-.8.6-1.8.9-3.1.9-1.1 0-2.1-.2-3.1-.7-.9-.5-1.8-1-2.3-1.7-.2-.2-.8-1.4-1-2.4H4v6h.6c.1-.4.2-.7.3-.9.2-.1.4-.2.6-.2.3 0 1.1.1 2.1.4s1.7.5 2 .5c.5.1 1.1.1 1.7.1 1.9 0 3.5-.5 4.8-1.6 1.2-1 1.9-2.3 1.9-3.7 0-.8-.2-1.5-.6-2.2-.1-.2-.2-.2-.3-.4H20v-2z"/></svg>',"dxrd-svg-fontstyle-underline":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M14 0v1h.9c.4 0 .7.1.8.2.3.4.3 1.2.3 2.3V12c0 .8 0 1.7-.1 2.6-.1 1-.5 1.8-1 2.3-1 .9-3 1.1-3.7 1.1-.7 0-2.9-.2-3.9-1.1-.7-.7-.9-1.3-1.1-2.2-.2-1.1-.2-2-.2-2.7V3.5c0-1.1 0-2 .3-2.2.2-.2.6-.3 1.1-.3H8V0H2v1h.9c.7 0 .9.1 1 .2.1.2.1 1.1.1 2.3v7.6c0 2.4.2 4 .5 4.8.5 1.2 1.3 2.3 2.4 3C8.7 20 9.9 20 11 20c1.4 0 2.6-.1 4.1-1.1 1.1-.8 1.9-1.7 2.3-3 .3-.9.4-2.5.4-4.8V3.5c0-1.2 0-1.9.3-2.2.3-.3.5-.3 1.3-.3h.6V0h-6zM2 22h18v2H2z"/></svg>',"dxrd-svg-menu-menu":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 7H3V5h18v2zm0 4H3v2h18v-2zm0 6H3v2h18v-2z"/></svg>',"dxrd-svg-menu-open":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M23 10h-4V7c0-.5-.5-1-1-1H9V4c0-.5-.5-1-1-1H2c-.5 0-1 .5-1 1v15c0 .5.5 1 1 1h17c.4 0 .7-.2.9-.6l4-8c.3-.6-.2-1.4-.9-1.4zM3 5h4v3h10v2H7.6c-.4 0-.7.2-.9.6L3 18V5z"/></svg>',"dxrd-svg-menu-save":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 2H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V3c0-.5-.5-1-1-1zM8 4h4v4H8V4zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V4h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V4h2v16z"/></svg>',"dxrd-svg-menu-saveas":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 4H3c-.5 0-1 .5-1 1v18c0 .5.5 1 1 1h18c.5 0 1-.5 1-1V5c0-.5-.5-1-1-1zM8 6h4v4H8V6zm8 16H8v-4h8v4zm4 0h-2v-5c0-.5-.5-1-1-1H7c-.5 0-1 .5-1 1v5H4V6h2v5c0 .5.5 1 1 1h10c.5 0 1-.5 1-1V6h2v16zm2.5-22c.8 0 1.5.7 1.5 1.5S23.3 3 22.5 3 21 2.3 21 1.5 21.7 0 22.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S19.3 3 18.5 3 17 2.3 17 1.5 17.7 0 18.5 0zm-4 0c.8 0 1.5.7 1.5 1.5S15.3 3 14.5 3 13 2.3 13 1.5 13.7 0 14.5 0z"/></svg>',"dxrd-svg-operations-add":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v5H0v2h5v5h2V7h5V5H7V0Z" fill="#000"/></svg>',"dxrd-svg-operations-add_calcfield":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M0 0h11v5H7v2H5v4H0V0Zm3 4V1h2v1H4v2h1v1H4v3H2V7h1V5H2V4h1Z"/><path class="dxd-icon-fill" d="M8 6h2v2h2v2h-2v2H8v-2H6V8h2V6Z"/></svg>',"dxrd-svg-operations-add_datasource":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M16 10c-3.3 0-6 2.7-6 6s2.7 6 6 6 6-2.7 6-6-2.7-6-6-6zm3 7h-2v2h-2v-2h-2v-2h2v-2h2v2h2v2zM8 13c-3.1 0-6-.9-6-2v5c0 1.1 2.9 2 6 2h.3c-.2-.6-.3-1.3-.3-2 0-1.1.2-2.1.6-3H8zM14 8.3V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.3 0 1.9-.1 1-1.3 2.5-2.2 4.1-2.6z"/></svg>',"dxrd-svg-operations-add_query":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 0h11v2H0V0Zm0 3h2v2H0V3Zm5 0H3v2h2V3Zm1 0h2v2H6V3Zm5 0H9v2h2V3ZM0 6h2v2H0V6Zm5 0H3v2h2V6ZM0 9h2v2H0V9Zm5 0H3v2h2V9Zm3-1V6h2v2h2v2h-2v2H8v-2H6V8h2Z"/></svg>',"dxrd-svg-operations-ai":'<svg data-bind="svgAttrs" viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"><defs></defs><path class="dxd-icon-fill" d="M11.71 8.25C10.61 14.37 6.37 18.61.24 19.72c-.33.06-.33.51 0 .57 6.12 1.1 10.36 5.34 11.47 11.47.06.33.51.33.57 0 1.1-6.12 5.34-10.36 11.47-11.47.33-.06.33-.51 0-.57-6.12-1.1-10.36-5.34-11.47-11.47a.288.288 0 0 0-.57 0ZM23.81.17c-.74 4.08-3.56 6.91-7.64 7.64-.22.04-.22.34 0 .38 4.08.74 6.91 3.56 7.64 7.64.04.22.34.22.38 0 .74-4.08 3.56-6.91 7.64-7.64.22-.04.22-.34 0-.38-4.08-.74-6.91-3.56-7.64-7.64a.192.192 0 0 0-.38 0Z" fill="#FFF"/></svg>',"dxrd-svg-operations-arrowdown":'<svg data-bind="svgAttrs" width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M.23.226a.75.75 0 0 1 1.058.02l3.704 3.927L8.696.245a.749.749 0 1 1 1.079 1.038L5.53 5.77a.749.749 0 0 1-1.078 0L.209 1.283A.748.748 0 0 1 .23.226Z" fill="#606060"/></svg>',"dxrd-svg-operations-arrowup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" width="10" height="6" viewBox="0 0 10 6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.77 5.774a.75.75 0 0 1-1.058-.02L5.008 1.828 1.304 5.755A.749.749 0 1 1 .225 4.717L4.47.23a.749.749 0 0 1 1.078 0l4.244 4.488a.748.748 0 0 1-.02 1.057Z" fill="#606060"/></svg>',"dxrd-svg-operations-ascending":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 0 6 6h4v16h4V6h4z"/></svg>',"dxrd-svg-operations-descending":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m12 22 6-6h-4V0h-4v16H6z"/></svg>',"dxrd-svg-operations-edit":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 12h2.667L0 9.333V12Zm1.333-4L4 10.667l5.333-5.334-2.666-2.666L1.333 8Zm8-8L8 1.333 10.667 4 12 2.667 9.333 0Z"/></svg>',"dxrd-svg-operations-editCriteria":'<svg data-bind="svgAttrs" width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5.632 0C3.084 0 1 1.029 1 2.286v6.857c0 1.257 2.084 2.286 4.632 2.286.613 0 1.2-.06 1.736-.168v-1.073L5.053 7.902v-2.76h5.21V2.287C10.263 1.029 8.18 0 5.632 0Zm0 3.429c-2.258 0-3.474-.858-3.474-1.143 0-.286 1.216-1.143 3.474-1.143 2.257 0 3.473.857 3.473 1.143 0 .285-1.216 1.143-3.473 1.143Zm.579 4V6.286H12v1.143L9.684 9.714V12H8.526V9.714L6.211 7.43Z" class="dxd-icon-fill"/></svg>',"dxrd-svg-operations-movedown":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m6 10 6 6 6-6V6l-6 6-6-6z"/></svg>',"dxrd-svg-operations-moveleft":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m12 6-6 6 6 6h4l-6-6 6-6z"/></svg>',"dxrd-svg-operations-moveleft_all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 6H8l-6 6 6 6h4l-6-6z"/><path class="dxd-icon-fill" d="M20 6h-4l-6 6 6 6h4l-6-6z"/></svg>',"dxrd-svg-operations-moveright":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m10 18 6-6-6-6H6l6 6-6 6z"/></svg>',"dxrd-svg-operations-moveright_all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 18h4l6-6-6-6h-4l6 6z"/><path class="dxd-icon-fill" d="M2 18h4l6-6-6-6H2l6 6z"/></svg>',"dxrd-svg-operations-moveup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 12-6-6-6 6v4l6-6 6 6z"/></svg>',"dxrd-svg-operations-rebuild_schema":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.5 0 12 5h-1.5v2.36c0 2.489-2.382 4.285-4.775 3.601l.55-1.923A1.746 1.746 0 0 0 8.5 7.36V5H7l2.5-5Zm-6 4.64V7H5l-2.5 5L0 7h1.5V4.64c0-2.489 2.382-4.285 4.775-3.602l-.55 1.924A1.746 1.746 0 0 0 3.5 4.64Z"/></svg>',"dxrd-svg-operations-recycle_bin":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M7 0H5v2H1v1h10V2H7V0Z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M2 4h8v7a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4Zm2 6h1V6H4v4Zm3 0h1V6H7v4Z"/></svg>',"dxrd-svg-operations-recycle_bin_xl":'<svg data-bind="svgAttrs" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12Zm4-9v8H9v-8h1Zm5 8v-8h-1v8h1Z"/><path class="dxd-icon-fill" d="M19 4h-5V3h-4v1H5v2h14V4Z"/></svg>',"dxrd-svg-operations-remove":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M0 5h12v2H0z"/></svg>',"dxrd-svg-operations-rename":'<svg data-bind="svgAttrs" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9 0h3v1h-1v10h1v1H9v-1h1V1H9V0Z"/><path class="dxd-icon-fill" fill-rule="evenodd" clip-rule="evenodd" d="M9 11H7l-.637-2.04H2.637L2 11H0L3.2 1h2.6L9 11ZM5.75 7 4.5 3 3.25 7h2.5Z"/></svg>',"dxrd-svg-operations-unsorted":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m0 20 6-6V6H2l5-6 5 6H8v6l6-6V0h2v4l4-4 2 2-6 6v8h4l-5 6-5-6h4v-6l-6 6v6H6v-4l-4 4z"/></svg>',"dxrd-svg-properties-borders-all":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M0 0v22h22V0H0zm20 20H2V2h18v18z"/></svg>',"dxrd-svg-properties-borders-bottom":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M0 12h2v4H0zM12 0h4v2h-4zM0 6h2v4H0zM18 2h2v2h2V0h-4zM6 0h4v2H6zM20 18v2H2v-2H0v4h22v-4zM2 4V2h2V0H0v4zM20 6h2v4h-2zM20 12h2v4h-2z"/></svg>',"dxrd-svg-properties-borders-left":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM4 20H2V2h2V0H0v22h4zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6z"/></svg>',"dxrd-svg-properties-borders-none":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M6 0h4v2H6zM20 12h2v4h-2zM12 0h4v2h-4zM20 18v2h-2v2h4v-4zM20 6h2v4h-2zM18 2h2v2h2V0h-4zM12 20h4v2h-4zM6 20h4v2H6zM0 6h2v4H0zM2 4V2h2V0H0v4zM2 18H0v4h4v-2H2zM0 12h2v4H0z"/></svg>',"dxrd-svg-properties-borders-right":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M12 20h4v2h-4zM0 6h2v4H0zM6 20h4v2H6zM2 4V2h2V0H0v4zM0 12h2v4H0zM18 2h2v18h-2v2h4V0h-4zM4 20H2v-2H0v4h4zM6 0h4v2H6zM12 0h4v2h-4z"/></svg>',"dxrd-svg-properties-borders-top":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M20 6h2v4h-2zM6 20h4v2H6zM20 12h2v4h-2zM4 20H2v-2H0v4h4zM12 20h4v2h-4zM2 4V2h18v2h2V0H0v4zM20 18v2h-2v2h4v-4zM0 12h2v4H0zM0 6h2v4H0z"/></svg>',"dxrd-svg-properties-propertiesmenu":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxd-icon-fill" d="M24 8h2V3c0-.5-.5-1-1-1H3c-.5 0-1 .5-1 1v5h22zM22 12H12v-2h10v2zm0 4v-2H12v2h10zM6 20h4v-2H6v2zm10-2h-4v2h4v-2zM6 16h4v-2H6v2zm0-4h4v-2H6v2zM32 25v-2l-2.5-.6c-.1-.4-.3-.8-.5-1.2l1.5-2.1-1.6-1.6-2.1 1.5c-.4-.2-.8-.4-1.2-.5L25 16h-2l-.6 2.5c-.4.1-.8.3-1.2.5l-2-1.5-1.7 1.7 1.5 2c-.2.4-.4.8-.5 1.2L16 23v2l2.5.6c.1.4.3.8.5 1.2l-1.5 2.1 1.6 1.6 2.1-1.5c.4.2.8.4 1.2.5L23 32h2l.6-2.5c.4-.1.8-.3 1.2-.5l2.1 1.5 1.6-1.6-1.5-2.1c.2-.4.4-.8.5-1.2L32 25zm-8 1c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-propertyexpression":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 12 12" xml:space="preserve"><path class="dxd-icon-fill" d="M4.8 6h-2l.4-2h1.9l.3-1.5c.1-.7.5-1.9 2.5-2.3C9 .1 10.2 0 11 0l-.5 2c-.2 0-1.1 0-1.9.2-.5 0-.6.3-.7.7L7.7 4H10l-.4 2H7.3l-.7 3.5c-.1.7-.5 1.9-2.5 2.3-1.1.1-2.3.2-3.1.2l.5-2c.2 0 1.1 0 1.9-.2.5-.1.6-.4.7-.7L4.8 6z" id="Background"/></svg>',"dxrd-svg-properties-search":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2.6 21.4c.8.8 2 .8 2.8 0l4.6-4.6c1.2.7 2.6 1.1 4.1 1.1 4.4 0 8-3.6 8-8s-3.6-8-8-8-8 3.6-8 8c0 1.5.4 2.9 1.1 4.1l-4.6 4.6c-.8.8-.8 2 0 2.8zM10 10.1c0-2.2 1.8-4 4-4s4 1.8 4 4-1.8 4-4 4-4-1.9-4-4z"/></svg>',"dxrd-svg-properties-sortingbyalphabet":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M3.2 0 1 7h1.6L3 5.3h2L5.4 7H7L4.9 0H3.2zm0 4.2L3.8 2c0-.1.1-.4.2-.8v.1c0 .3.1.6.1.7l.5 2.2H3.2zM1 10h4l-4 5v1h6v-1H3l4-5V9H1zM13 12V0h-2v12H8l4 4 4-4z"/></svg>',"dxrd-svg-properties-sortingbygroups":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="M1 7h7V0H1v7zm1-6h5v5H2V1zM9 1h6v1H9zM9 3h6v1H9zM9 5h6v1H9zM9 10h6v1H9zM9 12h6v1H9zM9 14h6v1H9z"/><path class="dxd-icon-fill" d="M5 2H4v1H3v1h1v1h1V4h1V3H5zM1 16h7V9H1v7zm1-6h5v5H2v-5z"/><path class="dxd-icon-fill" d="M5 11H4v1H3v1h1v1h1v-1h1v-1H5z"/></svg>',"dxrd-svg-properties-tasksmarttag":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" xml:space="preserve"><path class="dxd-icon-fill" d="m14.6 6.9-1.8-.3c-.1-.4-.3-.8-.5-1.1l1.1-1.4c.2-.2.1-.5-.1-.6l-.8-.8c-.2-.2-.5-.2-.7-.1l-1.4 1.1c-.4-.2-.7-.4-1.2-.5l-.1-1.8C9 1.2 8.8 1 8.6 1H7.4c-.2 0-.4.2-.5.4l-.2 1.8c-.4.1-.8.3-1.2.5L4.1 2.6c-.2-.1-.5-.1-.6.1l-.8.8c-.2.1-.2.4-.1.6l1.1 1.4c-.2.4-.4.8-.5 1.2l-1.8.2c-.2.1-.4.3-.4.5v1.1c0 .3.2.5.4.5l1.8.3c.1.4.3.8.5 1.1l-1.1 1.5c-.2.2-.1.5.1.6l.8.8c.2.2.5.2.7 0l1.4-1.1c.4.2.7.4 1.2.5l.3 1.8c-.1.3.1.5.3.5h1.1c.3 0 .5-.2.5-.4l.3-1.8c.4-.1.8-.3 1.2-.5l1.4 1.1c.2.1.5.1.7 0l.8-.8c.2-.2.2-.5.1-.6l-1.1-1.4c.2-.4.4-.7.5-1.1l1.8-.3c.1-.2.3-.4.3-.6V7.4c0-.2-.2-.4-.4-.5zM8 10c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>',"dxrd-svg-properties-textAlignment-bottom":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 18H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-center":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-4 2H8v2h16v-2zm4 4H4v2h24v-2zm0 8H4v2h24v-2zm-4-4H8v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-justify":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-left":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm-8 2H4v2h16v-2zm8 4H4v2h24v-2zm0 8H4v2h24v-2zm-8-4H4v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-middle":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 12H4v-2h24v2zm0 2H4v2h24v-2zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-properties-textAlignment-right":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 8H4V6h24v2zm0 2H12v2h16v-2zm0 4H4v2h24v-2zm0 8H4v2h24v-2zm0-4H12v2h16v-2z"/></svg>',"dxrd-svg-properties-textAlignment-top":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" xml:space="preserve"><path class="dxrd-svg-black" d="M28 6H4V4h24v2zm0 2H4v2h24V8zm0 4H4v2h24v-2z"/></svg>',"dxrd-svg-queryBuilder-aggregate":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 0H3v4l8 8-8 8v4h18v-4H7l8-8-8-8h14z"/></svg>',"dxrd-svg-queryBuilder-data_preview":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m21.7 20.3-2.5-2.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l2.5 2.5c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4zM15 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3z"/><ellipse class="dxd-icon-fill" cx="8" cy="2" rx="6" ry="2"/><path class="dxd-icon-fill" d="M8.7 13s-.1 0 0 0c-.1 0-.1 0 0 0H7.3C4.4 12.8 2 12 2 11v5c0 1 2.6 1.9 5.4 2H9c-.4-.9-.7-1.9-.7-2.9.1-.8.2-1.5.4-2.1zM14 8.2V4c0 1.1-2.9 2-6 2s-6-.9-6-2v5c0 1.1 2.9 2 6 2 .6 0 1.2 0 1.7-.1 1-1.4 2.5-2.4 4.3-2.7z"/></svg>',"dxrd-svg-queryBuilder-group_by":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M2 4h14v6H2zM8 14h14v6H8z"/></svg>',"dxrd-svg-queryBuilder-select_statment":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m18 4-4-4v4zM21.7 22.3l-4.5-4.5c.5-.8.8-1.8.8-2.8 0-2.8-2.2-5-5-5s-5 2.2-5 5 2.2 5 5 5c1 0 2-.3 2.8-.8l4.5 4.5c.4.4 1 .4 1.4 0s.4-1 0-1.4zM13.1 18c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.4 3-3 3z"/><path class="dxd-icon-fill" d="M13 8c2 0 3.7.8 5 2.1V6h-6V0H0v20h8.1C6.8 18.7 6 17 6 15c0-3.9 3.1-7 7-7z"/></svg>',"dxrd-svg-queryBuilder-sorting_asc":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM14 14h6l-6 6v2h8v-2h-6l6-6v-2h-8zM19.4 0 14 10h2l.9-2H20v2h2V0h-2.6zm.6 6h-1.9L20 2v4z"/></svg>',"dxrd-svg-queryBuilder-sorting_desc":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M8 0H4v14H2l4 8 4-8H8zM22 0h-8v2h6l-6 6v2h8V8h-6l6-6zM14 22h2l.9-2H20v2h2V12h-2.6L14 22zm6-4h-1.9l1.9-4v4z"/></svg>',"dxrd-svg-tabs-description_info":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" class="dxd-description_info-icon dxd-icon-highlighted" width="18" height="18" viewBox="0 0 18 18" fill="none"><circle class="dxd-description_info-icon-fill dxd-icon-fill" cx="9" cy="9" r="9"/><path class="dxd-description_info-icon-path-fill" d="m7.573 14 1.182-7.09h1.67L9.246 14H7.572Zm2.262-8.107a.893.893 0 0 1-.665-.267.78.78 0 0 1-.23-.642.94.94 0 0 1 .336-.642c.207-.178.442-.267.707-.267.268 0 .487.089.66.267a.78.78 0 0 1 .23.642.916.916 0 0 1-.336.642 1.032 1.032 0 0 1-.702.267Z"/></svg>',"dxrd-svg-tabs-properties":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m21.6 10.4-2.6-.3c-.2 0-.3-.2-.4-.3-.1-.3-.2-.6-.3-.8-.1-.2-.1-.4 0-.5l1.5-2.1c.1-.2.1-.5 0-.7l-1.5-1.5c-.2-.2-.5-.2-.7 0l-2.1 1.5c-.2.1-.4.1-.5 0-.3-.1-.5-.2-.8-.3-.1-.1-.2-.2-.3-.4l-.4-2.5c0-.2-.2-.4-.5-.4h-2.1c-.2 0-.5.2-.5.4L10.1 5c0 .2-.2.3-.3.4l-.9.3c-.2.1-.4.1-.5 0L6.3 4.1c-.2-.1-.4-.1-.6.1L4.2 5.7c-.2.2-.2.4-.1.6l1.5 2.1c.1.2.1.4 0 .5 0 .3-.1.6-.2.8-.1.2-.2.3-.4.4l-2.5.4c-.2 0-.4.2-.4.5v2.1c0 .2.2.5.4.5l2.5.3c.2 0 .3.2.4.3.1.3.2.6.3.8.1.2.1.4 0 .5l-1.5 2.1c-.1.2-.1.5 0 .7l1.5 1.5c.2.2.5.2.7 0l2.1-1.5c.2-.1.4-.1.5 0 .3.1.5.2.8.3.2.1.3.2.3.4.1.6.3 1.9.4 2.6 0 .2.2.4.5.4h2.1c.2 0 .5-.2.5-.4l.4-2.5c0-.2.2-.3.3-.4.3-.1.6-.2.8-.3.2-.1.4-.1.5 0l2.1 1.5c.2.1.5.1.7 0l1.5-1.5c.2-.2.2-.5 0-.7l-1.5-2.1c-.1-.2-.1-.4 0-.5.1-.3.2-.5.3-.8.1-.2.2-.3.4-.3l2.5-.4c.2 0 .4-.2.4-.5V11c0-.3-.2-.5-.4-.6zM12 17c-2.8 0-5-2.2-5-5s2.2-5 5-5 5 2.2 5 5-2.2 5-5 5zm2-5c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z"/></svg>',"dxrd-svg-toolbar-copy":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M4 14h2v2H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h12c.5 0 1 .5 1 1v3h-2V4H4v10zm18-5v12c0 .5-.5 1-1 1H9c-.5 0-1-.5-1-1V9c0-.5.5-1 1-1h12c.5 0 1 .5 1 1zm-2 1H10v10h10V10z"/></svg>',"dxrd-svg-toolbar-cut":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m20.4 5.6-5 5-2-2 6.4-6.4c.4-.4 1.2-.1 1.2.5v1.5c0 .5-.2 1-.6 1.4zM22 17.5c.3 2.6-1.9 4.9-4.5 4.5-1.6-.2-2.9-1.4-3.3-3-.2-.9-.1-1.8.2-2.6L12 14l-2.4 2.4c.4.7.5 1.6.3 2.6-.4 1.6-1.7 2.8-3.3 3-2.6.3-4.9-1.9-4.5-4.5.2-1.6 1.4-2.9 3-3.3.9-.3 1.8-.2 2.5.2L10 12 3.6 5.6c-.4-.4-.6-.9-.6-1.4V2.7c0-.6.8-.9 1.2-.5l12.1 12.1c.8-.3 1.7-.5 2.6-.2 1.6.4 2.9 1.8 3.1 3.4zM8 18c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2zm12 0c0-1.1-.9-2-2-2s-2 .9-2 2 .9 2 2 2 2-.9 2-2z"/></svg>',"dxrd-svg-toolbar-delete":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m13.4 12 5.3-5.3c.4-.4.4-1 0-1.4-.4-.4-1-.4-1.4 0L12 10.6 6.7 5.3c-.4-.4-1-.4-1.4 0-.4.4-.4 1 0 1.4l5.3 5.3-5.3 5.3c-.4.4-.4 1 0 1.4.4.4 1 .4 1.4 0l5.3-5.3 5.3 5.3c.4.4 1 .4 1.4 0 .4-.4.4-1 0-1.4L13.4 12z"/></svg>',"dxrd-svg-toolbar-paste":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M21 8H9c-.5 0-1 .5-1 1v12c0 .5.5 1 1 1h12c.5 0 1-.5 1-1V9c0-.5-.5-1-1-1zm-1 12H10V10h10v10zM15 2v3H7V2h2V1c0-.6.4-1 1-1h2c.6 0 1 .4 1 1v1h2zm3 4h2V3c0-.5-.5-1-1-1h-3v2h2v2zM6 20H3c-.5 0-1-.5-1-1V3c0-.5.5-1 1-1h3v2H4v14h2v2z"/></svg>',"dxrd-svg-toolbar-redo":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M10 7c2.2 0 4.3.8 5.7 2.3l3.3 3.3V8c0-.6.4-1 1-1s1 .4 1 1v8h-8c-.6 0-1-.4-1-1s.4-1 1-1h4.6l-3.3-3.3C13.2 9.6 11.7 9 10 9c-3.3 0-6 2.7-6 6 0 .6-.4 1-1 1s-1-.4-1-1c0-4.4 3.6-8 8-8z"/></svg>',"dxrd-svg-toolbar-undo":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M14 7c-2.2 0-4.3.8-5.7 2.3L5 12.6V8c0-.6-.4-1-1-1s-1 .4-1 1v8h8c.6 0 1-.4 1-1s-.4-1-1-1H6.4l3.3-3.3C10.8 9.6 12.3 9 14 9c3.3 0 6 2.7 6 6 0 .6.4 1 1 1s1-.4 1-1c0-4.4-3.6-8-8-8z"/></svg>',"dxrd-svg-toolbar-validate":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="M22 6 8 20l-6-6v-4l6 6L22 2v4z"/></svg>',"dxrd-svg-toolbar-zoomin":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path id="ZoomIn" class="dxd-icon-fill" d="M19 11h-6V5c0-.5-.5-1-1-1s-1 .5-1 1v6H5c-.5 0-1 .5-1 1s.5 1 1 1h6v6c0 .5.5 1 1 1s1-.5 1-1v-6h6c.5 0 1-.5 1-1s-.5-1-1-1z"/></svg>',"dxrd-svg-toolbar-zoomout":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path id="ZoomOut" class="dxd-icon-fill" d="M19 13H5c-.5 0-1-.4-1-1 0-.5.4-1 1-1h14c.5 0 1 .4 1 1s-.4 1-1 1z"/></svg>',"dxrd-svg-wizard-Download":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 24 24" xml:space="preserve"><path class="dxd-icon-fill" d="m7 12 5 5 5-5h-4V2h-2v10H7zm8-4v2h4v10H5V10h4V8H3v14h18V8h-6z"/></svg>',"dxrd-svg-wizard-FederationDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="32" cy="11" rx="21" ry="5"/></g><path class="dxrd-svg-blue" d="M63 44H51V32h-6v12H33v6h12v12h6V50h12z"/><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M65 55c-3.6 0-7-.2-10-.6V66H44v18c0 2.8 9.4 5 21 5s21-2.2 21-5V50c0 2.8-9.4 5-21 5z"/></g><g class="dxrd-svg-st1"><path class="dxrd-svg-black" d="M67 43v10c10.7-.2 19-2.4 19-5s-8.3-4.7-19-5z"/></g><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M32 18c-11.6 0-21-2.2-21-5v34c0 2.5 8.9 4.6 19 5V41h12V29h11V13c0 2.8-9.4 5-21 5z"/></g><path class="dxrd-svg-blue" d="M65 43H53V31h-9v12H32v9h12v12h9V52h12z"/></svg>',"dxrd-svg-wizard-JsonDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M63.6 72.5c-.1-.2-.2-.4-.3-.7-.5-1.4-.8-2.9-.9-4.4-.1-2.3.4-4.5 1.5-6.3.7-1.2 1.7-2.4 2.8-3.2.4-.3 1.1-.7 1.1-.7s.5-.3 1.2-.6c.1.1.2.1.3.2 1.7 1.2 3 2.8 3.9 4.6.3.7.6 1.5.8 2.3v2.8c0 2.4-4.1 4.6-10.4 6zm-20.4-2.2c-.3-2.6-.3-5.3.2-7.9.4-2.3 1.2-4.5 2.2-6.5C48.9 49.5 55 44.6 62 42.8c1.4-.4 4.2-.8 5.8-.8 1.4 0 4.4.6 6.2 1.4v-22c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.8 9.5 6.9 21.9 7.5-.3-1.2-.5-2.4-.7-3.6z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-blue" d="M91.8 70.1c-.3 2.4-1 4.8-2 7-1.2 2.5-2.9 4.9-4.9 6.9-2.2 2.1-4.8 4-7.6 5.2-2 .9-5.5 1.9-9.1 1.9-1 0-3.3-.6-4.7-1.1-2.4-1-4.6-2.5-6.3-4.5-1.1-1.3-2-2.8-2.7-4.3-1.1-2.5-1.7-5.3-1.9-8.1-.1-2-.1-4 .2-5.9.5-3.1 1.8-6.2 4.1-8.5.4-.4 1.9-1.6 2.7-2.1.8-.5 3.2-1.3 4.5-1.4 1-.1 2 0 2.9.2-.5.3-1 .6-1.4 1-1.4 1-2.5 2.3-3.3 3.8-1.3 2.2-1.8 4.8-1.7 7.3 0 1.7.4 3.5 1 5.1.5 1.3 1.2 2.5 2.1 3.5.7.8 1.6 1.6 2.5 2.2.5.3 1 .7 1.6.9.5.2 1 .4 1.5.5 3.1.7 6.4-.4 8.9-2.2 1.5-1.1 2.8-2.6 3.8-4.2 1.4-2.2 2.2-4.7 2.5-7.2.2-1.5.2-3 .1-4.5-.1-2-.4-4.1-1-6-.8-3-2.3-5.8-4.4-8.1-.9-1-2-1.9-3.1-2.7-.2-.2-.5-.3-.7-.4-.2-.1-.5-.3-.7-.4 1.5.4 3 1 4.4 1.7 3.9 2 7.3 4.9 9.6 8.6.7 1 1.2 2.1 1.7 3.2.8 1.8 1.3 3.7 1.6 5.6.1 2.3.1 4.7-.2 7zm-40.1 8.6c-.6-2-.9-4.2-1-6.5-.1-1.5-.1-2.9.1-4.3.3-2.8 1.1-5.4 2.4-7.5 1-1.7 2.3-3.2 3.8-4.4 1.1-.8 2.3-1.5 3.5-1.9 1.3-.5 2.6-.7 4-.7.5 0 1.1 0 1.6.1.7.1 1.4.3 2 .5.1.1.7.3.8.4.4.2.9.5 1.5.9 2 1.4 3.5 3.2 4.5 5.4.9 1.9 1.3 4 1.4 6.3 0 2.4-.4 4.7-1.4 6.7-.8 1.7-2 3.3-3.4 4.5 2.2-.2 4.5-1.2 6.4-3 .4-.3.7-.7 1-1.1.5-.6.9-1.1 1.2-1.5.4-.7.8-1.4 1.2-2.2.5-1.1.8-2.1 1-3.1.3-1.7.4-3.5.3-5.8-.3-4.3-1.5-8-3.5-10.9-.4-.6-.7-1-1-1.4-.6-.7-1.3-1.3-2-2-.8-.7-1.1-.9-2.5-1.7S69 44 67.8 44c-1.3 0-4 .3-5.4.6-6.5 1.7-12 6.2-15 12.2-.9 1.9-1.6 3.9-2 6-.5 2.4-.5 4.8-.2 7.2.2 2 .7 3.9 1.5 5.7.4 1 .9 2.1 1.6 3.1 1.8 2.9 4.2 5.3 7.2 7.2-1.7-1.9-3-4.5-3.8-7.3z"/></svg>',"dxrd-svg-wizard-MongodbDataSource":'<svg data-bind="svgAttrs" width="96" height="96" viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg"><path class="dxrd-svg-st2 dxrd-svg-black" clip-rule="evenodd" d="M22 21.4c0 4.2 11.6 7.6 26 7.6s26-3.4 26-7.6v22.695c-.37-.467-.758-.937-1.163-1.41a91.884 91.884 0 0 1-4.761-5.655.111.111 0 0 0-.151 0 91.807 91.807 0 0 1-4.761 5.654c-11.19 13.072-8.912 23.772-4.71 30.68C55.258 73.772 51.722 74 48 74c-14.4 0-26-3.4-26-7.6v-45Z"/><path class="dxrd-svg-st1 dxrd-svg-black" d="M48 27c14.36 0 26-3.358 26-7.5 0-4.142-11.64-7.5-26-7.5s-26 3.358-26 7.5c0 4.142 11.64 7.5 26 7.5Z"/><path class="dxrd-svg-blue" d="M72.093 45.016a80.401 80.401 0 0 1-4.029-4.99.091.091 0 0 0-.128 0 80.442 80.442 0 0 1-4.028 4.99c-16.973 20.674 2.673 34.627 2.673 34.627l.165.105c.147 2.153.513 5.252.513 5.252H68.724s.366-3.081.512-5.252l.165-.122c.018.017 19.665-13.936 2.692-34.61ZM67.99 79.328s-.879-.718-1.117-1.085v-.035l1.062-22.514c0-.07.11-.07.11 0l1.062 22.513v.036c-.238.367-1.117 1.085-1.117 1.085Z"/></svg>',"dxrd-svg-wizard-NoDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M44 68c0-12.2 9.8-22 22-22 1.4 0 2.7.1 4 .4v-24c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6h1.1c-.7-2.2-1.1-4.6-1.1-7z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="20.5" rx="26" ry="7.5"/></g><circle class="dxrd-svg-red" cx="66" cy="68" r="20"/><path class="dxrd-svg-white" d="M53.4 77.8C51.3 75.1 50 71.7 50 68c0-8.8 7.2-16 16-16 3.7 0 7.1 1.3 9.8 3.4L53.4 77.8zm25.2-19.6L56.2 80.6c2.7 2.1 6.1 3.4 9.8 3.4 8.8 0 16-7.2 16-16 0-3.7-1.3-7.1-3.4-9.8z"/></svg>',"dxrd-svg-wizard-ObjectDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M64.7 71H64V59h6v7.4c0 1.8-2 3.3-5.3 4.6zM52 52v7h12v-7H52zm-18 7h12V46h18v-7h6V21.4c0 4.2-11.6 7.6-26 7.6s-26-3.4-26-7.6v45c0 3.1 6.6 5.8 16 7V59z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="44" cy="19.5" rx="26" ry="7.5"/></g><path class="dxrd-svg-blue" d="M82 41H66v7H48v13H36v26h26V75h13V57h7V41zm-9 32H62V61H50V50h16v7h7v16z"/></svg>',"dxrd-svg-wizard-SqlDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96" xml:space="preserve"><g class="dxrd-svg-st2"><path class="dxrd-svg-black" d="M48 29c-14.4 0-26-3.4-26-7.6v45c0 4.2 11.6 7.6 26 7.6s26-3.4 26-7.6v-45c0 4.2-11.6 7.6-26 7.6z"/></g><g class="dxrd-svg-st1"><ellipse class="dxrd-svg-black" cx="48" cy="19.5" rx="26" ry="7.5"/></g></svg>',"dxrd-svg-wizard-expressions":'<svg data-bind="svgAttrs" version="1.1" id="Tabs" xmlns="http://www.w3.org/2000/svg" x="0" y="0" viewBox="0 0 32 32" xml:space="preserve"><path class="dxd-icon-fill" d="M25.6 4.3c-.3-.4-.7-.7-1.2-1-.6-.2-1.3-.3-2.2-.3-1.8 0-3.3.4-4.5 1.3s-1.9 2.1-2.2 3.6l-.3 1.4-.4 1.7h-2.4l-.4 2h2.4L12 24.3c-.2 1.3-.7 1.9-1.3 1.9-.2 0-.3 0-.4-.1l-.4-.4c-.3-.4-.6-.7-.7-.8-.2-.2-.4-.3-.6-.4-.2-.1-.4-.1-.7-.1-.5 0-1 .2-1.3.6-.4.4-.6.9-.6 1.5 0 .7.4 1.3 1.2 1.9.6.4 1.5.6 2.6.6s2.1-.2 2.9-.6 1.5-1.1 2.2-2c.6-.9 1.1-2.1 1.4-3.4l2.3-9.9H21l.5-2H19l.4-1.7.4-1.6c.2-.8.3-1.2.5-1.5.2-.3.5-.5.9-.5.2 0 .3 0 .5.1s.4.3.7.7c.3.3.6.6.9.7s.6.2.9.2c.4 0 .7-.1 1-.2.3-.2.5-.4.7-.7.2-.3.3-.7.3-1-.2-.5-.3-.9-.6-1.3z" id="Expressions"/></svg>'}),Ui.addTemplates({"dxrd-border-editor":"<div class=\"dxrd-border-editor\"> <div class=\"dxrd-border-editor-content\"> <div class=\"dxrd-border-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-none\" data-bind=\"template: 'dxrd-svg-properties-borders-none', css: { 'dxd-state-active': (!bottom && !left && !top && !right), 'dxrd-disabled-button': disabled }, click: function() { setNone() }\"></div> <div class=\"dxrd-border-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-all dxrd-border-editor-right-margin\" data-bind=\"template: 'dxrd-svg-properties-borders-all', css: { 'dxd-state-active': (bottom && left && top && right), 'dxrd-disabled-button': disabled }, click: function() { setAll() }\"></div> <div class=\"dxrd-border-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-left\" data-bind=\"template: 'dxrd-svg-properties-borders-left', css: { 'dxd-state-active': left, 'dxrd-disabled-button': disabled }, click: function() { setValue('left') }\"></div> <div class=\"dxrd-border-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-top\" data-bind=\"template: 'dxrd-svg-properties-borders-top', css: { 'dxd-state-active': top, 'dxrd-disabled-button': disabled }, click: function() { setValue('top') }\"></div> <div class=\"dxrd-border-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-right\" data-bind=\"template: 'dxrd-svg-properties-borders-right', css: { 'dxd-state-active': right, 'dxrd-disabled-button': disabled }, click: function() { setValue('right') }\"></div> <div class=\"dxrd-border-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-borders-bottom\" data-bind=\"template: 'dxrd-svg-properties-borders-bottom', css: { 'dxd-state-active': bottom, 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom') }\"></div> <p></p> </div> </div>","dxd-dimension-notations":'<div class="dxd-dimension-notations-wrapper dxd-dimension-horizontal" data-bind="visible: isHAxisVisible, css: { \'dxd-dimension-notations-inside-elt\' : isLocatedInsideContainer }"> <div class="dxd-dimension-notations-arrowed-line"> <span class="dxd-dimension-notations-text" data-bind="text: width"></span> </div> </div> <div class="dxd-dimension-notations-wrapper dxd-dimension-vertical" data-bind="visible: isVAxisVisible, css: { \'dxd-dimension-notations-inside-elt\' : isLocatedInsideContainer }"> <div class="dxd-dimension-notations-arrowed-line"> <span class="dxd-dimension-notations-text" data-bind="text: height"></span> </div> </div>',"dxrd-colorpicker":"<div data-bind=\"dxColorBox: { value: displayValue, onValueChanged: onValueChanged, placeholder: $root.getLocalization('(Not set)', 'ReportStringId.UD_PropertyGrid_NotSetText'), editAlphaChannel: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flipfit', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } }, inputAttr: { 'aria-label': displayName, id: editorInputId } }\"></div>","dxrd-expressionstring":'\x3c!-- ko if: value --\x3e <div data-bind="dxExpressionEditor: getOptions({ options: valueAccessor, fieldListProvider: fieldListProvider, displayNameProvider: displayNameProvider })"></div> \x3c!-- /ko --\x3e',"dxrd-field":'\x3c!-- ko if: visible --\x3e <div data-bind="dxFieldListPicker: { path: path, onValueChanged: onValueChanged, onInitialized: onInitialized, acceptCustomValue: true, value: value, displayValue: $displayName, itemsProvider: dataBindingsProvider, treeListController: treeListController, disabled: disabled, inputAttr: {id: editorInputId} }"></div> \x3c!-- /ko --\x3e',"dxrd-filterstring":'\x3c!-- ko if: value --\x3e <div data-bind="dxFilterEditor: { options: valueAccessor, fieldListProvider: fieldListProvider, getDisplayNameByPath: getDisplayNameByPath, displayNameProvider: displayNameProvider, aiExpressionGenerator: aiExpressionGenerator }"></div> \x3c!-- /ko --\x3e',"dxrd-formatstring":'<div data-bind="dxFormatEditor: { value: valueAccessor, disabled: disabled, actions: $data.actions, customPatterns: $data.customPatterns }"></div>',"dxrd-guid":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, showClearButton: showClearButton, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: (validationRules || []) }\"></div>","dxrd-emptyHeader":"","dxrd-objectEditorContent":"\x3c!-- ko if: $data.visible && editorCreated --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-commonCollectionItem":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></div>","dxrd-objectVisitor":'\x3c!-- ko if: options --\x3e <div data-bind="treelist: options"></div> \x3c!-- /ko --\x3e',"dxd-snap-lines-holder":'<div class="dxd-snap-lines-holder"> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineTransforms[0] }"></div> <div class="dxd-snap-line dxd-snap-line-horizontal" data-bind="style: { transform: snapLineTransforms[1] }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineTransforms[2] }"></div> <div class="dxd-snap-line dxd-snap-line-vertical" data-bind="style: { transform: snapLineTransforms[3] }"></div> </div>',"dxrd-surface-template-base":'\x3c!-- ko ifnot: isLoading --\x3e \x3c!-- ko with: surface --\x3e <div class="dxrd-surface-wrapper" data-bind="css: { \'dxrd-context-menu-container\': selected }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenusEnabled ? { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }} : null"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isLoading --\x3e <div class="dxrd-surface-wrapper"></div> \x3c!-- /ko --\x3e',"dxrd-designer":'<div tabindex="-1" data-bind="cssArray: [surfaceClass($element), { \'dx-accessibility\': $data.accessibilityCompliant, \'dx-rtl\': $data.rtl } ]"> <div class="dxrd-designer-wrapper dx-editors dxd-surface-back-color dxd-scrollbar-color" data-bind="visible: designMode === undefined || designMode, cssArray: [rootStyle, { \'dx-rtl\' : rtl, \'dx-ltr\': !rtl }]"> \x3c!-- ko foreach: parts --\x3e \x3c!-- ko template: { name: templateName, data: $root.partData($data) }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko if: ($data.addOns) --\x3e \x3c!-- ko foreach: addOns --\x3e \x3c!-- ko template: { name: templateName, data: $root.partData($data) } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div id="dxrd-designer-last-focus-item-blank" class="dxrd-visually-hidden" tabindex=\'-1\'></div> </div>',"dxrd-textalignment-editor":"<div class=\"dxrd-textalignment-editor\"> <div class=\"dxrd-textalignment-editor-content\"> <div> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: verticalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-top\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-top', css: { 'dxd-state-active': top, 'dxrd-disabled-button': disabled }, click: function() { setValue('top', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-middle\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-middle', css: { 'dxd-state-active': middle, 'dxrd-disabled-button': disabled }, click: function() { setValue('middle', 'Vertical') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-bottom\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-bottom', css: { 'dxd-state-active': bottom, 'dxrd-disabled-button': disabled }, click: function() { setValue('bottom', 'Vertical') }\"></div> </div> <div class=\"dxrd-textalignment-margin-top\"> <br/> <div class=\"dxrd-textalignment-editor-label dx-field-label\" data-bind=\"text: horizontalString\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-left\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-left', css: { 'dxd-state-active': left, 'dxrd-disabled-button': disabled }, click: function() { setValue('left', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-center\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-center', css: { 'dxd-state-active': center, 'dxrd-disabled-button': disabled }, click: function() { setValue('center', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-right\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-right', css: { 'dxd-state-active': right, 'dxrd-disabled-button': disabled }, click: function() { setValue('right', 'Horizontal') }\"></div> <div class=\"dxrd-textalignment-editor-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dxrd-image-textAlignment-justify\" data-bind=\"template: 'dxrd-svg-properties-textAlignment-justify', css: { 'dxd-state-active': justify, 'dxrd-disabled-button': disabled }, click: function() { setValue('justify', 'Horizontal') }\"></div> </div> </div> </div>","dxrd-collectionactions-template":'<div class="dxrd-action-items-container"></div> <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: togglePopoverVisible, disabled: disabled, icon: $data.imageTemplateName, iconClass: $data.imageClassName }, attr: { id: id, title: text }"></div> <div data-bind="dxPopup: { width: 235, height: \'auto\', position: { my: $root.rtl ? \'left top\': \'right top\', at: \'bottom\', of: (\'#\' + id) }, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, container: ($data.getContainer || function(_e, selector) { return selector; })($element, \'.dxrd-action-items-container\'), shading: false, visible: popoverVisible, onHidden: closePopover }"> \x3c!-- ko if: $data.contentTemplate--\x3e \x3c!-- ko template: contentTemplate--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.contentTemplate --\x3e \x3c!-- ko foreach: actions --\x3e <div class="dxrd-action-item dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: clickAction, css: { \'dxrd-disabled-button\': disabled }"> <div class="dxrd-action-item-image" data-bind="css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: $data.displayText && $data.displayText() || text }"> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source":'<div class="dxrd-drag-helper-source" data-bind="styleunit: { top: $data.top, left: $data.left, width: $data.width, height: $data.height }, css: { \'dxrd-locked\': $data.isLocked }"> \x3c!-- ko foreach: $data.controls --\x3e <div class="dxrd-drag-helper-control" data-bind="styleunit: { left: $data.left, top: $data.top, width: $data.width, height: $data.height }, css: $data.className"> \x3c!-- ko with: $parent.customData --\x3e <div data-bind="template: { name: $data.template, data: $data.data }"> </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div>',"dxrd-drag-helper-source-reorder-treelist":'<div class="dxrd-drag-helper-source-reorder-treelist dxd-back-primary dxd-text-primary dxd-ghost-border-color dxd-border-accented"> <div class="dxrd-drag-helper-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}"> </div> <div class="dxrd-drag-helper-treelist-text-wrapper"> <div class="dxrd-drag-helper-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div>',"dxrd-menubutton-template-base":'<div class="dxrd-menu-container dxrd-position-relative dxrd-width-0 dxrd-height-100" ></div> <div class="dxrd-menu-button dxd-toolbox-back-color dxd-border-primary dxd-back-primary2"> <div class="dxrd-menu-place dxrd-width-54px" ></div> <div class="dxrd-menu-button-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: \'dxrd-svg-menu-menu\', css: {\'dxd-state-active\': appMenuVisible }"></div> <div data-bind="dxPopup: { width: 250, wrapperAttr: { class: \'dxd-menu-back-color dxd-back-primary2\' }, height: \'100%\' , position: $data.rtl ? { my: \'right top\' , at: \'left top\' , offset: \'-10 0\' } : { my: \'left top\' , at: \'right top\' , offset: \'10 0\' }, showTitle: false, showCloseButton: false, container: getMenuPopupContainer($element), target: getMenuPopupTarget($element), animation: {}, hideOnOutsideClick: function(e) { var buttonClassName = \'dxrd-menu-button-image\'; var parentClassList = e.target.parentNode && e.target.parentNode.parentNode && e.target.parentNode.parentNode.classList; stopPropagation = (e.target.classList && e.target.classList.contains(buttonClassName)) || (parentClassList && parentClassList.contains(buttonClassName)); return true; }, shading: false, focusStateEnabled: false, visible: appMenuVisible, onHiding: onAppMenuHiding }"> <div class="dxrd-menu-break dxd-popup-back-color dxd-back-primary2"></div> \x3c!-- ko foreach: actionLists.menuItems --\x3e <div class="dxrd-menu-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="dxclick: function(e) { if(!disabled) { $root.toggleAppMenu(); clickAction($root.model, e); }}, css: { \'dxrd-disabled-button\': disabled }, visible: visible"> <div class="dxrd-menu-item-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, attr: { title: $data.displayText }"> </div> <div class="dxrd-menu-item-text" data-bind="text: $data.displayText, attr: { title: $data.displayText }"></div> <div class="dxrd-menu-item-separator" data-bind="visible: $data.hasSeparator"></div> </div> \x3c!-- /ko --\x3e </div> </div>',"dxrd-top-grid":'\x3c!-- ko if: $root.popularVisible && isSortingByGroups --\x3e <div class="dx-fieldset"> <div class="dx-accordion" data-bind="dxdAccordion: { collapsed: popularPropertiesCollapsedAccessor }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': popularPropertiesCollapsed }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !popularPropertiesCollapsed }" ></div> <span class="dxrd-group-header-text" data-bind="text: actionsGroupTitle"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-primary"> \x3c!-- ko foreach: ($root.contextActions || []) --\x3e \x3c!-- ko if: $data.templateName && !isContextMenuAction --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName && !isContextMenuAction --\x3e <div class="dxrd-properties-grid-action" data-bind="dxclick: function() { if(!$data.disabled) { clickAction($root.editableObject); } }, css: { \'dxrd-disabled-button\': $data.disabled }, visible: ($data.visible == undefined) || $data.visible"> <div class="dxrd-properties-grid-action-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, attr: { title: $data.displayText }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko with: popularProperties --\x3e <div class="dxrd-position-relative" data-bind="template: { name: \'dx-propertieseditor\', data: $data }"></div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-group-actions":'<div class="dxd-back-primary2 dxrd-property-grid-actions-group"> \x3c!-- ko if: $root.groupActionsVisible --\x3e \x3c!-- ko foreach: ($root.contextGroupActions || []) --\x3e <div class="dxd-border-primary dxrd-properties-grid-actions-group-content" data-bind="visible: items.some(x => x.visible === undefined || x.visible)"> <div class="dxd-text-primary dxrd-properties-grid-action-name" data-bind="text: group"></div> \x3c!-- ko foreach: (items || []) --\x3e \x3c!-- ko template: { name: $data.templateName, if: $data.templateName } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\x3e <div class="dxrd-properties-grid-action" data-bind="dxclick: function() { if(!$data.disabled) { clickAction($root.editableObject); } }, css: { \'dxrd-disabled-button\': $data.disabled }, visible: ($data.visible == undefined) || $data.visible"> <div class="dxrd-properties-grid-action-image dxd-button-back-color dxd-state-normal dxd-back-highlighted" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, attr: { title: $data.displayText }"> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko--\x3e </div>',"dx-propertygrid-searchbox":"<div class=\"dx-property-grid-search-group dx-property-grid-search-collapsed\" data-bind=\"css: { 'dx-property-grid-search-collapsed': !isSearching }\"> <div class=\"dx-property-grid-sorting-action dxd-button-back-color dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text\" data-bind=\"css: { 'dxd-state-active': isSearching }, dxButtonWithTemplate: { onClick: switchSearchBox, icon: 'dxrd-svg-properties-search', iconClass: 'image-search' }, attr: { title: $root.getLocalization('Search', 'ASPxReportsStringId.SearchDialog_Header') }\"> </div> <div class=\"dx-property-grid-search-box no-margin-right\" data-bind=\"dxTextBox: { value: textToSearch, onValueChanged: textToSearchChanged, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }\"></div> </div>","dx-propertygrid-groups":'\x3c!-- ko foreach: groups --\x3e <div class="dx-fieldset" data-bind="visible: visible"> <div class="dx-accordion" data-bind="dxdAccordion: { collapsed: collapsedAccessor }"> <div class="dxrd-group-header dx-accordion-header dxd-border-primary" data-bind="css: { \'dxrd-group-header-collapsed\': collapsed }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }" ></div> <span class="dxrd-group-header-text" data-bind="text: displayName"></span> </div> <div class="dx-accordion-content dxd-back-primary dxd-border-primary"> \x3c!-- ko ifnot: editorsCreated --\x3e <div class="dx-accordion-content-loading-panel"> <div data-bind="dxLoadIndicator: { visible: !editorsCreated }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.editorsRendered --\x3e <div data-bind="visible: editorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: editors --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent.editors.length - 1 && $parent.setEditorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- /ko --\x3e',"dxrd-propertiestab":'<div class="dxrd-properties-wrapper" data-bind="visible: active && visible"> <div class="dxd-text-primary dxrd-properties-sub-wrapper"> <div class="dxrd-right-panel-header"> <span data-bind="text: text"></span> </div> \x3c!-- ko with: model --\x3e \x3c!-- ko if: $root.controlsStore.visible --\x3e <div class="dx-property-grid-header"> <div class="dx-property-grid-header-content"> <div class="dx-property-grid-sorting-actions-group" data-bind="css: { \'dx-property-grid-search-collapsed\': isSearching }"> <div class="dxrd-properties-focused-item" data-bind="dxSelectBox: { dataSource: $root.controlsStore.dataSource, value: focusedItem, onValueChanged: focusedItemChanged, displayExpr: displayExpr, dropDownOptions: { container: $root.getPopupContainer($element) }, useItemTextAsTitle: true }"></div> <div class="dx-property-grid-sorting-actions-container"> <div class="dx-property-grid-sorting-action dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': !isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.setSortingByGroups(false); }, icon: \'dxrd-svg-properties-sortingbyalphabet\', iconClass: \'image-sortingbyalphabet\' }"></div> <div class="dx-property-grid-sorting-action dxd-state-normal dxd-back-highlighted dxd-back-primary2 dx-button-has-text" data-bind="css: { \'dxd-state-active dxd-state-no-hover\': isSortingByGroups }, dxButtonWithTemplate: { onClick: function() { $data.setSortingByGroups(true); }, icon: \'dxrd-svg-properties-sortingbygroups\', iconClass: \'image-sortingbygroups\' }"></div> </div> </div> \x3c!-- ko template: \'dx-propertygrid-searchbox\' --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e <div class="dxrd-properties-grid dxd-border-primary" data-bind="dxScrollView: { showScrollbar: \'onHover\', useNative: false, scrollByThumb: true }"> \x3c!-- ko template: { name: \'dxrd-group-actions\', data: $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: \'dxrd-top-grid\', data: $data } --\x3e \x3c!-- /ko --\x3e <div data-bind="visible: isSortingByGroups"> \x3c!-- ko template: \'dx-propertygrid-groups\' --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-fieldset dxd-back-primary" data-bind="visible: !isSortingByGroups"> <div data-bind="dxLoadIndicator: { visible: !allEditorsCreated }"></div> \x3c!-- ko if: $data.editorsRendered --\x3e <div data-bind="visible: allEditorsCreated"> <div class="dx-editors"> \x3c!-- ko foreach: $data.allEditors --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: ($index() === $parent.allEditors.length - 1 && $parent.setAllEditorsCreated(true)) --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> \x3c!-- /ko --\x3e </div> \x3c!-- ko template: \'dx-propertygrid-popupservice\' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: { name: \'dx-propertygrid-popoverservice\', if: popover, data: popover } --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div> </div>',"dx-propertygrid-popupservice":"<div data-bind=\"dxPopup: { width: 250, height: 'auto', position: $data.rtl ? { my: 'left top', at: 'right top', of: popupService.target, collision: 'flipfit' } : { my: 'right top', at: 'left top', of: popupService.target, collision: 'flipfit' }, container: $root.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }\"> <div data-options=\"dxTemplate: { name: 'content' }\"> <div class=\"dxrd-editor-menu-caption dxd-text-primary\" data-bind=\"text: popupService.title, visible: popupService.title\"></div> <div class=\"dxd-button-back-color\" data-bind=\"dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onItemClick: popupService.onItemClick, onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }\"> <div class=\"dxrd-editor-menu-item dxd-back-highlighted dxd-state-normal\" data-options=\"dxTemplate: { name: 'item' }\"> \x3c!-- ko if: $data.itemTemplate --\x3e \x3c!-- ko template: $data.itemTemplate --\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e \x3c!-- ko ifnot: $data.itemTemplate --\x3e <div> <span class=\"dxd-text-primary dx-menu-item-text\" data-bind=\"attr: { title: title }, text: title\"></span> <div class=\"dx-menu-item-popout-container\" data-bind=\"visible: $data.items && $data.items.length\"> <div class=\"dx-menu-item-popout\"></div> </div> \x3c!--ko if: $data.innerTemplate--\x3e \x3c!--ko template: $data.innerTemplate--\x3e \x3c!--/ko--\x3e \x3c!--/ko--\x3e </div> \x3c!--/ko--\x3e </div> </div> </div> </div>","dx-propertygrid-popoverservice":'<div class="propertygrid-editor-description-announcement dxrd-visually-hidden" role="status" aria-live="polite" aria-atomic="true" data-bind="text: announcement"></div> <div data-bind="dxPopover: { container: getPopupContainer($element), target: target, position: \'bottom\', showCloseButton: false, onHiding: onHiding, onShowing: onShowing, onShown: onShown, hideOnOutsideClick: true, hideOnParentScroll: true, width: \'350px\', visible: visible }"> <div class="propertygrid-editor-description-popover-content"> <span data-bind="text: data"></span> </div> </div>',"dx-right-panel-lightweight":'\x3c!-- ko with: tabPanel --\x3e <div class="dxrd-right-panel dx-shadow dx-shadow-right dxd-border-secondary dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: class, resizable: getResizableOptions($element, 1, $root.calculateWithZoomFactor(325))"> \x3c!-- ko foreach: tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dxrd-right-panel-template-base":'<div class="dx-shadow dx-shadow-right dxd-border-secondary dxrd-tab-panel-wrapper" data-bind="styleunit: { width: width }, css: class, dxMutationObserver: keyboardHelper"> <div class="dxrd-right-tabs dxd-side-panel-tabs-back-color dxd-back-contrast" data-bind="css: tabsElement.class"> <span id="dxrd-tab-item-no-description" class="dxrd-visually-hidden"></span> \x3c!-- ko foreach: $data.tabs --\x3e <div role="button" class="dxrd-tab-item dx-accessibility-rightpanel-button dxd-side-panel-tab-back-color dxd-back-highlighted dx-accessibility-focus-border-accented" data-bind="dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: title, \'aria-label\': text, \'aria-keyshortcuts\': ariaKeyShortcuts || null, \'aria-describedby\': \'dxrd-tab-item-no-description\', \'aria-expanded\': !collapsed && active ? \'true\' : \'false\' }, visible: visible"> <div class="dxrd-image-padding" data-bind="css: image.class, template: {name: image.templateName, if: !!$data.image.templateName}"> </div> </div> \x3c!-- /ko --\x3e </div> <div class="dxrd-right-panel dxd-property-grid-group-header-back-color dxd-back-primary2" data-bind="styleunit: { width: contentElement.width }, css: contentElement.class, resizable: getResizableOptions($element, 50, 396)"> \x3c!-- ko foreach: $data.tabs --\x3e \x3c!-- ko lazy: { template: $data.template } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-right-panel-switcher":'<div class="dx-right-panel-switcher"> <div class="dxrd-collectioneditor-action" data-bind="dxButtonWithTemplate: { icon: \'dxrd-svg-operations-edit\', iconClass: \'dx-image-edit\', disabled: disabled, onClick: toogle, hint: title }"></div> </div>',"dxrd-toolbar-template-base":'<div class="dxrd-toolbar-wrapper dxd-back-secondary-invariant dx-shadow-top"> <div class="dxrd-toolbar" data-bind="template: {name: \'dxrd-toolbar-tmplt\', data: actionLists.toolbarItems }"></div> </div>',"dxrd-toolbar-tmplt":'\x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: templateName --\x3e \x3c!-- ko template: { name: templateName, data: contentData || $data } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !templateName --\x3e <div class="dxrd-toolbar-item" data-bind="visible: visible, css: actionClass"> <div role="button" class="dx-accessibility-toolbar-item dx-accessibility-focus-border-accented" data-bind="attr: block.attr" > <div data-bind="template: { name: image.templateName, if: !!image.templateName }, attr: { class: image.class, title: title || displayText }, dxclick: click"> </div> <div class="dxrd-toolbar-item-separator dxd-toolbar-separator-color dxd-border-secondary" data-bind="visible: hasSeparator"></div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dxrd-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2 dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: toolboxItems --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <div class="dxrd-image-padding dx-fontsize-reestablished" data-bind="template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, css: $data.imageClassName, draggable: $root.toolboxDragHandler"> </div> </div> \x3c!-- /ko --\x3e </div>',"dxrd-grouped-toolbox-template-base":'<div class="dxrd-toolbox-wrapper dxd-toolbox-back-color dxd-back-primary2-invariant toolbox-grouped dx-shadow dx-shadow-left" data-bind="dxScrollView: { showScrollbar: \'onHover\', scrollByContent: false, bounceEnabled: false, useNative: false, scrollByThumb: true }"> \x3c!-- ko foreach: groupedToolboxItems --\x3e <div class="dxrd-toolbox-group dxd-border-primary"> \x3c!-- ko foreach: items --\x3e <div class="dxrd-toolbox-item dxd-icon-highlighted" data-bind="attr: { title: displayName }"> <div class="dxrd-image-padding dx-fontsize-reestablished" data-bind="template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, css: $data.imageClassName, draggable: $root.toolboxDragHandler"> </div> </div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </div>',"dxrd-zoom-select-template":'<div class="dxrd-toolbar-item-zoom" data-bind="visible: visible"> <div class="dxrd-toolbar-item-zoom-editor" data-bind="dxSelectBox: { items: widget.dataSource, value: widget.value, onValueChanged: widget.onValueChanged, displayExpr: widget.displayExpr, displayCustomValue: true, acceptCustomValue: true, onCustomItemCreating: widget.onCustomItemCreating, disabled: disabled, dropDownOptions: { container: getPopupContainer($element) }, useItemTextAsTitle: true }"></div> </div>',"dx-editor-addons":"<div class=\"dxrd-editormenu-boxes\"> \x3c!-- ko foreach: $data --\x3e \x3c!-- ko if: $data.visible --\x3e \x3c!-- ko template: $data.templateName || ($data.imageTemplateName ? 'dx-editor-addon-image' : 'dx-editor-addon-box') --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-editor-addon-box":'<div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxd-back-contrast" data-bind="dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }"> <div class="dxrd-editormenu-box-inside dxd-back-secondary"></div> </div>',"dx-editor-addon-image":'<div class="dxrd-editormenu-box dxd-property-grid-menu-box-color dxrd-editor-box-image" data-bind="dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss"> <div class="dxrd-editor-box-image-content" data-bind="template: { name: $data.imageTemplateName, if: $data.imageTemplateName }"></div> </div>',"dx-collectioneditor":'<div class="dx-collectioneditor"> <div data-bind="dxdAccordion: { collapsed: collapsedAccessor, alwaysShow: alwaysShow }, dxMutationObserver: keyboardHelper"> <div class="dx-collectioneditor-header dx-accordion-header"> <div class="dx-editor-header"> <div role="treeitem" class="dx-field dxrd-complex-editor dx-accessibility-focus-border-accented dxrd-accessibility-accordion-trigger" data-bind="attr: { \'aria-expanded\': alwaysShow || !collapsed ? \'true\' : \'false\', \'aria-owns\': contentId, \'id\': headerId, }"> \x3c!-- ko if: showButtons--\x3e \x3c!-- ko with: buttons --\x3e <div class="dx-collectioneditor-actions-wrapper"> \x3c!-- ko if: up.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: up.action, disabled: up.disabled, icon: \'dxrd-svg-operations-moveup\', template: up.template }, attr: { title: up.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: down.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: down.action, disabled: down.disabled, icon: \'dxrd-svg-operations-movedown\', template: down.template }, attr: { title: down.text }"></div> \x3c!-- /ko --\x3e <div class="dx-collectioneditor-action-separator"></div> \x3c!-- ko if: add.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: add.action, disabled: add.disabled, icon: \'dxrd-svg-operations-add\', template: add.template }, attr: { title: add.text }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: delete.visible --\x3e <div class="dx-collectioneditor-action dx-accessibility-focus-border-accented" data-bind="dxButton: { onClick: delete.action, disabled: delete.disabled, icon: \'dxrd-svg-operations-remove\', template: delete.template }, attr: { title: delete.text }"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: displayName --\x3e <div class="dx-collectioneditor-header-text dxd-text-primary" data-bind="styleunit: { \'paddingLeft\': padding }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> <div class="dx-group-header-font dxd-text-primary dxrd-display-inline-block" data-bind="text: displayName, attr: { title: displayName }"></div> </div> \x3c!-- /ko --\x3e </div> </div> </div> <div role="group" class="dx-accordion-content" data-bind="attr: { \'aria-hidden\': !alwaysShow && collapsed ? \'true\' : \'false\', \'aria-labelledby\': headerId, \'id\': contentId }"> \x3c!-- ko if: hasExpanded --\x3e \x3c!-- ko if: values.length === 0 --\x3e <div class="dx-collectioneditor-empty dxd-empty-area-placeholder-text-color dxd-text-info"> <span class="dx-collectioneditor-empty-text" data-bind="text: emptyAreaText"></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: values.length !== 0 --\x3e <div data-bind="visible: !disabled, dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option(\'useKeyboard\', false); } }"> <div class="dx-collectioneditor-items" data-bind="foreach: values"> <div class="dx-collectioneditor-item-container dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-accessibility-list-item dx-accessibility-focus-border-accented" data-bind="attr: { \'aria-selected\': selected }, dxAction: { model: $data, action: select }, css: { \'dxd-state-selected\' : selected }"> <div class="dx-collection-item"></div> </div> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-boolean":'<div class="propertygrid-editor-checkbox" data-bind="dxCheckBox: getOptions({ value: value, disabled: disabled, elementAttr: { \'aria-label\': displayName } }), dxValidator: { validationRules: validationRules || [] }"></div>',"dx-boolean-select":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: [ { val: true, text: $root.getLocalization('Yes', 'AnalyticsCoreStringId.ParametersPanel_True') }, { val: false, text: $root.getLocalization('No', 'AnalyticsCoreStringId.ParametersPanel_False') }], inputAttr: { 'aria-label': displayName, id: editorInputId }, valueExpr: 'val', displayExpr: 'text', value: value, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) } }, dxValidator: { validationRules: validationRules || [] }\"></div>","dx-commonCollection":'<div class="dx-editor" data-bind="visible: visible"> <div data-bind="dxCollectionEditor: { values: value, displayName: displayName, level: level, info: info }"> </div> </div>',"dx-commonCollectionItem":"<div data-bind=\"template: { name: 'dx-propertieseditor', data: getProperties() }\"></div>","item-with-title":'<div class="dx-listitem-with-title" data-bind="text: $data.display, attr: { title: $data.display }"></div>',"dx-combobox":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-combobox-editable":"<div data-bind=\"dxLocalizedSelectBox: { items: values, value: value, valueExpr: 'value', displayExpr: 'displayValue', disabled: disabled, acceptCustomValue: true, onCustomItemCreating: function(arg) { return { value: arg.text, displayValue: arg.text }; }, dropDownOptions: { container: $root.getPopupContainer($element) }, popupPosition: { boundary: $root.getPopupContainer($element) }, inputAttr: { 'aria-label': displayName, id: editorInputId }, useLocalizedTextAsValue: true }\"> </div>","dx-combobox-undo":"<div data-bind=\"dxLocalizedSelectBox: { dataSource: values, value: undoValue, onValueChanged: onValueChanged, valueExpr: 'value', displayExpr: 'displayValue', displayCustomValue: true, disabled: disabled, dropDownOptions: { container: $root.getPopupContainer($element) }, inputAttr: { id: editorInputId } }, dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-property-editor":"\x3c!-- ko if: hasBeenVisible --\x3e \x3c!-- ko template: isComplexEditor ? 'dx-complex-editor-template' : 'dx-simple-editor-template' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-emptyHeader":"","dx-complex-editor-template":'<div class="dx-editor" data-bind="visible: visible"> <div class="dx-group" data-bind="dxdAccordion: { collapsed: collapsedAccessor }"> <div class="dx-editor-header"> <div class="dx-field dxrd-complex-editor dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented" data-bind="attr: accessibilityAttributes"> <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding, css: { \'dx-accordion-empty\': templateName === \'dx-emptyHeader\' }"> <div data-bind="enable: templateName === \'dx-emptyHeader\'"> \x3c!-- ko ifnot: $data.hideCollapsingButton --\x3e <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> \x3c!-- /ko --\x3e <div class="dx-group-header-font" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { \'title\': displayName }, css: { \'dx-collapsing-image-hidden\': $data.hideCollapsingButton }"></div> </div> </div> \x3c!-- ko template: \'dx-lazy-editor-template\' --\x3e \x3c!-- /ko --\x3e </div> </div> <div class="dx-editor-content dx-accordion-content" role="group" data-bind="attr: { \'aria-labelledby\': headerId, \'id\': contentId, \'aria-hidden\': !alwaysShow && collapsed ? \'true\' : \'false\' }"> \x3c!-- ko if: editorCreated --\x3e \x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-simple-editor-template":'<div class="dx-editor" data-bind="visible: visible"> <div class="dx-editor-header"> <div class="dx-field"> \x3c!-- ko if: visible --\x3e <div class="dx-field-label dx-accordion-header dxd-text-primary" data-bind="styleunit: padding, css: { \'dx-accordion-empty\': templateName === \'dx-emptyHeader\' }"> <label class="propertygrid-editor-displayName" data-bind="searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: labelAttributes, css: { \'dx-field-label-required\': isRequired }, style: { fontWeight: isPropertyModified ? \'Bold\' : \'\'}"></label> \x3c!-- ko if: !$data.editorDescriptionAddon && $data.description --\x3e <div data-bind="service: { name: \'createEditorDescriptionAddOn\' }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.editorDescriptionAddon --\x3e \x3c!-- ko template: { name: $data.editorDescriptionAddon.templateName, data: $data.editorDescriptionAddon.data } --\x3e\x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko template: \'dx-lazy-editor-template\' --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-lazy-editor-template":"<div class=\"dx-field-value\" data-bind=\"css: { 'dxd-border-accented': $data.isPropertyHighlighted }\"> <div data-bind=\"service: { name: 'createEditorAddOn' }\"></div> \x3c!-- ko if: templateName !== 'dx-emptyHeader' --\x3e \x3c!-- ko lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) }, resolver: $parent.resolver, withPriority: true } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-property-grid-editor-description":'<div class="propertygrid-editor-description" data-bind="dxButtonWithTemplate: buttonOptions"></div>',"dx-date":"<div class=\"dx-datebox-container\"> <div data-bind=\" dxDateBox: getOptions({ value: value, closeOnValueChange: true, type: 'datetime', disabled: disabled, showClearButton: showClearButton, inputAttr: { 'aria-label': displayName, id: editorInputId }, dropDownOptions: { container: $root.getPopupContainer($element), position: { at: 'left bottom', collision: 'flipfit flip', my: 'left top', boundary: $root.getPopupContainer($element), of: $element } } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div> </div>","dx-file":"<div data-bind=\"dxFileImagePicker: { value: value, onValueChanged: onValueChanged, inputAttr: { id: editorInputId }, placeholderId: 'File', disabled: disabled }\"></div>","dx-modificators":"<div class=\"dx-font-content\"> <div class=\"dx-field\"> <div class=\"dx-field-label dxd-text-primary\" data-bind=\"styleunit: { 'paddingLeft': padding }\"></div> <div class=\"dx-field-value\"> <div class=\"dx-font-styles-content\"> <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-bold\" data-bind=\"css: { 'dxd-state-active': bold, 'dx-disabled-button': disabled }, click: function() { toggle('bold'); }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-bold'--\x3e\x3c!-- /ko --\x3e</div> <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-italic\" data-bind=\"css: { 'dxd-state-active': italic, 'dx-disabled-button': disabled }, click: function() { toggle('italic'); }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-italic'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- ko ifnot: $parents[1].editorOptions && $parents[1].editorOptions.hideUnderline --\x3e <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-underline\" data-bind=\"css: { 'dxd-state-active': underline, 'dx-disabled-button': disabled }, click: function() { toggle('underline'); }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-underline'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $parents[1].editorOptions && $parents[1].editorOptions.hideStrikeout --\x3e <div class=\"dx-font-style-button dxd-button-back-color dxd-state-normal dxd-back-highlighted dx-image-fontstyle-strikeout\" data-bind=\"css: { 'dxd-state-active': strikeout, 'dx-disabled-button': disabled }, click: function() { toggle('strikeout'); }\">\x3c!-- ko template: 'dxrd-svg-fontstyle-strikeout'--\x3e\x3c!-- /ko --\x3e</div> \x3c!-- /ko --\x3e </div> </div> </div> </div>","dx-image":"<div data-bind=\"dxFileImagePicker: { value: value, onValueChanged: onValueChanged, inputAttr: { id: editorInputId }, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }\"></div>","dx-numeric":"<div data-bind=\"dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div>","dx-number-editor":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, showClearButton: showClearButton, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div>","dx-text":"\x3c!-- ko if: $data.validationRules || $data.validatorOptions --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions ? getValidatorOptions(validatorOptions || { validationRules: validationRules || [] }) : (validatorOptions || { validationRules: validationRules || [] })\"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.validationRules --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }})\"></div> \x3c!-- /ko --\x3e","dx-string-array":'<div class="dx-field" data-bind="css: { \'dxd-border-accented\': $data.isPropertyHighlighted }"> <div class="dx-string-array-container dx-texteditor dx-editor-outlined dx-multiline"> <textarea class="dx-string-array-textarea dx-texteditor-input" data-bind="value: value, disable: disabled, event: { change: function(data, event) { data.onValueChanged({ value: event.target.value }); } }"></textarea> </div> </div>',"dx-propertieseditor":'<div data-bind="css: { \'dx-rtl\' : rtl }"> <div class="dx-editors"> <div class="dx-fieldset"> \x3c!-- ko foreach: editors --\x3e \x3c!-- ko template: editorTemplate --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-objectEditorContent":"\x3c!-- ko if: visible --\x3e <div data-bind=\"template: { name: 'dx-propertieseditor', data: viewmodel }\"></div> \x3c!-- /ko --\x3e","dxrd-federated-manageQueries-editor":'\x3c!-- ko if: $data --\x3e<div> <div data-bind="dxPopup: { showTitle: true, width: \'750px\', height: \'475px\', title: title, rtlEnabled: rtl, visible: popupVisible, onHiding: onHidingHandler, wrapperAttr: { class: className }, toolbarItems: buttonItems, showCloseButton: true, container: $root.getPopupContainer($element), position: { of: $root.getPopupContainer($element) }, }"> <div class="dxrd-federated-manageQueries-grid-wrapper dxrd-cursor-default" > <div class="dxd-border-secondary dxrd-federated-manageQueries-grid" data-bind="dxDataGrid: queriesGrid"></div> </div> </div> </div>\x3c!-- ko template: { name: queriesPopupHelper.template, data: queriesPopupHelper } --\x3e\x3c!-- /ko --\x3e\x3c!-- /ko --\x3e',"dx-querybuilder-federation-popup-templates":"\x3c!-- ko if: $data --\x3e \x3c!-- ko foreach: $data.popupItems --\x3e \x3c!-- ko template: { name: template, data: model } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dxrd-managequeries-selectbox":'\x3c!-- ko with: options --\x3e <div class="dxrd-managequeries-selectbox"> <div data-bind="dxDropDownButton: $data"></div> </div> \x3c!-- /ko --\x3e',"dx-expressioneditor-main":'<div class="dx-expression-tree"> \x3c!-- ko if: $root.aiExpressionGenerator --\x3e \x3c!-- ko template: { name: \'dx-ai-expression-generator\', data: $root.aiExpressionGenerator.initialize($data) } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dxrd-ai-expression-loading-panel-container" data-bind="resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"> \x3c!-- ko if: !aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxTextArea: { value: textAreaValue, onValueChanged: onTextAreaValueChanged, isValid: isValid, spellcheck: false, onKeyUp: function() { setValid(true); } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-expressioneditor-textarea dxd-border-secondary dxd-back-primary2" data-bind="dxAceEditor: { value: textAreaValueSource, editorContainer: setEditorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $root.aiExpressionGenerator --\x3e <div class="dxrd-wizard-load-panel dxd-text-primary" data-bind="dxAILoadingPanel: $root.aiExpressionGenerator.getLoadPanelOptions($element)"></div> \x3c!-- /ko --\x3e </div> <div class="dx-expressioneditor-tools"> \x3c!-- ko with: tools--\x3e <div class="dx-expressioneditor-tools-tabs"> \x3c!-- ko foreach: toolBox--\x3e <div data-bind="visible: visible, attr: { class: \'dx-expressioneditor-tools-tab dxd-back-primary2 \'+ ($data.templateName ? $data.templateName : \'\')}"> \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: { name: $data.templateName }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko--\x3e </div> \x3c!-- /ko--\x3e </div> </div>',"dx-expressioneditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: displayValue, onValueChanged: onDisplayValueChanged, buttonAction: function() { setPopupVisible(true); }, disabled: disabled, isValid: modelValueValid, warningMessage: modelValueWarning, inputAttr: { id: editorInputId } }"></div> \x3c!-- ko template: \'dx-expressioneditor-popup\'--\x3e \x3c!--/ko--\x3e </div>',"dx-expressioneditor-popup":"<div data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-expressioneditor dx-popup-general' }, title: title(), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, fullScreen: false, height: '615px', maxHeight: '90%', maxWidth: '90%', minHeight: 400, minWidth: 500, width: '645px', container: getPopupContainer($element), position: { of: getPopupContainer($element)}, onContentReady: onContentReady, onShowing: onShowing, onHiding: onHiding, onShown: onShown, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() } }\"> \x3c!-- ko if: popupVisible --\x3e \x3c!-- ko template: \"dx-expressioneditor-main\" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-ai-expression-generator":"<div class=\"dx-ai-expression-generator\"> <div data-bind=\"template: { name: 'dxrd-svg-actions-ai_localization_service' }\" class=\"dxd-icon-accented dxrd-ai-expression-generator-editor-icon\"></div> <div data-bind=\"dxTextArea: { value: expressionInNL, onValueChanged: onExpressionInNLChanged, width: '100%', valueChangeEvent: 'keyup', placeholder: promptPlaceholder, autoResizeEnabled: true, maxHeight: '90px', buttons: buttons }\"> </div> </div>","dx-expressioneditor-categories":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }, resizable: $parents[1].resizeHelper.resizable($root.resizeHandler, \'e\')"> \x3c!-- ko foreach: content --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: $data.templateName--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.templateName --\x3e <div class="dx-expressioneditor-tools-tab-category dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': content.isSelected }, text: displayName, dxclick: function() { $parent.click($data.content) }"> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-expressioneditor-category-accordion":'<div class="dx-fieldset dxrd-margin-0" > <div data-bind="dxdAccordion: { collapsed: collapsedAccessor }"> <div class="dx-accordion-header dx-expressioneditor-tools-tab-accordion-header dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': $data.isSelected }, dxclick: function() { $data.selectHeader(); $parent.click($data.content); }"> <div class="dx-collapsing-image dxrd-display-inline-block" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }" ></div> <span class="dx-expressioneditor-tools-tab-header" data-bind="text: displayName"></span> </div> <div class="dx-accordion-content"> \x3c!-- ko foreach: items--\x3e <div class="dx-expressioneditor-tools-tab-item dxd-text-primary dxd-list-item-back-color dxd-back-highlighted" data-bind="css: {\'dxd-state-selected\': isSelected }, text: $data.display, dxclick: function() { $data.select(); $parents[1].click($parent.content); }"></div> \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-description":'<div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-expressioneditor-description-content dxd-text-primary" data-bind="text: content"></div> </div>',"dx-expressioneditor-fields":'<div class="dx-expressioneditor-fields"> <div data-bind="treeListSearchPanel: { controllers: [ $data.parameters ? $data.parameters.treeListController : $data.parameters, $data.fields ? $data.fields.treeListController : $data.fields ] }"> </div> <div class="dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary " data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko if: fields --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: fields"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.parameters --\x3e <div class="dx-treelist-wrapper" data-bind="treelist: parameters"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-ee-treelist-item":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="visible: visible, click: toggleSelected, event: { dblclick: function() { actions[0].clickAction($element); }}, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected\': isSelected }"> <div class="dx-treelist-item-images"> \x3c!-- ko if: hasItems --\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasItems --\x3e <div class="dx-treelist-collapsedbutton"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-image" data-bind="css: $data.imageClassName, template: {name: $data.imageTemplateName, if: !!$data.imageTemplateName}, attr: { title: text }"> </div> </div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent"> \x3c!-- ko template: { name: \'dx-treelist-item-text-content\' } --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-expressioneditor-selectedcontent":"\x3c!-- ko with: content --\x3e \x3c!-- ko template: $data--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-expressioneditor-collection":"<div class=\"dx-expressioneditor-tools-tab-content-wrapper dxd-border-secondary\" data-bind=\"dxScrollView: { showScrollbar: 'onHover' }\"> \x3c!-- ko foreach: items --\x3e <div data-bind=\"attr: { class: 'dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted ' + ($data.class ? $data.class : '') }, text: $data.displayName || $data.text, css: { 'dx-expressioneditor-state-selected dxd-state-selected': $parent.selectedItem === $data }, dxclick: function() { $parent.selectItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }\"></div> \x3c!-- /ko --\x3e </div>","dx-expressioneditor-collection-function":'<div class="dx-expressioneditor-collection-function"> <div class="dx-expressioneditor-collection-function-search"> <div data-bind="dxTextBox: { value: textToSearch, onValueChanged: onTextToSearchChanged, showClearButton: true, valueChangeEvent: \'keyup\', placeholder: $parents[2].searchPlaceholder() }"></div> </div> <div class="dx-expressioneditor-collection-function-items dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> \x3c!-- ko foreach: availableItems --\x3e <div class="dx-expressioneditor-tools-tab-item dxd-list-item-back-color dxd-text-primary dxd-back-highlighted" data-bind="css: { \'dx-expressioneditor-state-selected dxd-state-selected\': $parent.selectedItem === $data }, dxclick: function() { $parent.selectItem($data); $parents[2].click($data); }, event: { dblclick: function() { $parents[2].dblclick($data, $element); } }, searchHighlighting: { text: $data.displayName || $data.text, textToSearch: $parent.textToSearch }"></div> \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-content":'<div class="dx-filtereditor-content"> \x3c!-- ko if: !!aiFilterGenerator --\x3e \x3c!-- ko template: { name: \'dx-ai-expression-generator\', data: aiFilterGenerator } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dxrd-ai-expression-loading-panel-container"> \x3c!-- ko if: !!aiFilterGenerator --\x3e <div class="dxrd-wizard-load-panel dxd-text-primary" data-bind="dxAILoadingPanel: aiFilterGenerator.getLoadPanelOptions($element)"></div> \x3c!-- /ko --\x3e <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }"> \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-filtereditor-text-container" data-bind="css: { \'advanced\': advancedMode }, visible: textVisible"> \x3c!-- ko template: \'dx-filtereditor-content-text\'--\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-filtereditor-plain-content-text":'<div class="dx-filtereditor-text-container" data-bind="css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }"> \x3c!-- ko template: \'dx-filtereditor-content-text\'--\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-content-plain":'<div class="dx-filtereditor-plain-advanced" data-bind="dxCheckBox: { value: advancedModeRequest, text: advancedModeText, onValueChanged: onAdvancedModeRequestChanged }, style: $data.getCheckBoxStyles()"></div> <div class="dx-filtereditor-plain-content dxrd-ai-expression-loading-panel-container" data-bind="style: $data.getContentStyles()"> \x3c!-- ko if: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-tree-container" data-bind="css: { \'advanced\': advancedMode }"> \x3c!-- ko if: !!aiFilterGenerator --\x3e \x3c!-- ko template: { name: \'dx-ai-expression-generator\', data: aiFilterGenerator } --\x3e \x3c!-- /ko --\x3e <div class="dxrd-wizard-load-panel dxd-text-primary" data-bind="dxAILoadingPanel: aiFilterGenerator.getLoadPanelOptions($element)"></div> \x3c!-- /ko --\x3e \x3c!-- ko template: \'dx-filtereditor-content-tree\' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: $data.advancedModeTop() --\x3e \x3c!-- ko template: \'dx-filtereditor-plain-content-text\'--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-filtereditor-plain-disabled" data-bind="visible: $data.disabled"></div> </div>',"dx-filtereditor-content-text":'\x3c!-- ko if: !aceAvailable --\x3e <div class="dx-filtereditor-text dx-default-border-style dxd-border-secondary" data-bind="dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: aceAvailable --\x3e <div class="dx-filtereditor-text dx-default-border-style dxd-border-secondary dx-textarea dx-textbox dx-texteditor dx-editor-filled" data-bind="css: {\'dx-invalid\': !$data.isValid, \'dx-state-focused\': textFocused }"> <div class="dx-texteditor-container"> <div class="dx-filtereditor-ace dxd-back-primary2" data-bind="dxAceEditor: { value: $data.displayValueSource, theme: helper.aceTheme, editorContainer: setEditorContainer, options: aceOptions, additionalOptions: additionalOptions }"></div> <div class="dx-texteditor-buttons-container"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-content-tree":'<div class="dx-filtereditor-tree dxd-border-secondary" data-bind="dxScrollView: { showScrollbar: \'onHover\', direction: \'both\' }"> \x3c!-- ko with: operandSurface --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data, if: $parent.isSurfaceValid }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko ifnot: isSurfaceValid --\x3e <div class="dx-filtereditor-tree-lockscreen" data-bind="dxclick: function() { $data.requestAdvancedMode(); }"> <div class="dx-filtereditor-tree-lockscreen-content"> <div class="dx-filtereditor-tree-lockscreen-content-text" data-bind="text: invalidMessage()"> </div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: modelDisplayValue, onValueChanged: onModelDisplayValueChanged, isValid: modelValueIsValid, disabled: disabled, buttonAction: function() { setPopupVisible(true); }, inputAttr: { id: editorInputId } }"></div> <div data-bind="dxEditorPopupTemplate: { data: $data, templateName: \'dx-filtereditor-popup\' }"></div> </div>',"dx-filtereditor-advanced":"<div class=\"dx-filtereditor dxrd-width-100 dxrd-height-100\" data-bind=\"style: { pointerEvents: $data.disabled ? 'none' : '' }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-plain":"<div class=\"dx-filtereditor dxrd-width-100 dxrd-height-100\"> \x3c!-- ko template: 'dx-filtereditor-content-plain' --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-aggregate-common":'\x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.aggregatedExpression --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">(</div> \x3c!-- ko with: aggregatedExpression--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e',"dx-filtereditor-aggregate":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: \'dx-filtereditor-aggregate-common\' }--\x3e \x3c!-- /ko --\x3e </div> <div class="criteria-operator-content"> \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-between":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: property--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: begin--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-text dxd-filter-editor-text-color">and</div> \x3c!-- ko with: end--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-binary":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: leftOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko with: rightOperand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-common":'\x3c!-- ko template: contentTemplateName --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.leftPart && $data.leftPart.condition --\x3e <div class="criteria-operator-content"> \x3c!-- ko with: leftPart--\x3e \x3c!-- ko with: condition--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e',"dx-filtereditor-function-lightweight":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="text: displayType"></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-function":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko template: { name: $data.leftPart.templateName, data: $data.leftPart }--\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko foreach: rightPart --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-group":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> <div class="criteria-operator-item"> <div data-bind="service: { name: \'createChangeType\' }"></div> </div> <div data-bind="service: { name: \'createAddButton\' }"></div> </div> <div class="criteria-operator-content"> \x3c!-- ko foreach: operands --\x3e \x3c!-- ko template: { name: templateName, data: $data } --\x3e \x3c!-- /ko--\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-filtereditor-in":'<div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: criteriaOperator--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> \x3c!-- ko if: $data.operands.length > 1--\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">(</div> <div class="criteria-operator-item"> \x3c!-- ko foreach: $data.operands --\x3e \x3c!-- ko template: { name: $data.templateName, data: $data }--\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">,</div> \x3c!-- /ko --\x3e </div> <div class="criteria-operator-item criteria-operator-text dxd-filter-editor-text-color">)</div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.operands.length == 1--\x3e \x3c!-- ko template: { name: $data.operands[0].templateName, data: $data.operands[0] }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="criteria-operator-action" data-bind="dxclick: addValue"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div> </div> </div>',"dx-filtereditor-parameter":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeParameter\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-property":'<div class="criteria-operator-text dxd-filter-editor-text-color" data-bind="css: css"> <div data-bind="service: { name: \'createChangeProperty\' }"></div> \x3c!-- ko if: $data.canChange --\x3e <div data-bind="service: { name: \'createChangeValueType\' }"></div> \x3c!-- /ko --\x3e </div>',"dx-filtereditor-unary":'\x3c!-- ko if: $data.operand.reverse --\x3e \x3c!-- ko template: {name: $data.operand.templateName, data: $data.operand }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: $data.operand.reverse --\x3e <div class="criteria-operator-group"> <div class="criteria-operator-group-item"> <div class="criteria-operator-action" data-bind="dxclick: function() { $data.remove && $data.remove(); }"> <div class="criteria-operator-action-image dx-image-filtereditor-remove" data-bind="visible: !!$data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> </div> \x3c!-- ko with: operand--\x3e <div class="criteria-operator-item"> \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div data-bind="service: { name: \'createChangeType\' }"></div> </div> </div> \x3c!-- /ko --\x3e',"dx-filtereditor-not":"\x3c!-- ko with: operand--\x3e \x3c!-- ko template: { name: templateName, data: $data }--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-value":'<div class="criteria-operator-item" data-bind="visible: isEditable"> \x3c!-- ko if: $data.items.length === 0 --\x3e \x3c!-- ko if: $data.specifics === "string" || $data.specifics === "guid" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics === "bool" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxLocalizedSelectBox: getBoolEditorOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics === "date" || $data.specifics === "time" || $data.specifics === "datetime" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: getDateEditorOptions($element, $root, $data.specifics)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics !== "string" && $data.specifics !== "bool" && $data.specifics !== "date" && $data.specifics !== "guid" && $data.specifics !== "time" && $data.specifics !== "datetime" --\x3e <div class="criteria-operator-item-editor" data-bind="dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: $data.items.length > 0 --\x3e \x3c!-- ko if: $data.specifics !== "enum" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getListEditOptions($element, $root, dataSource)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics === "enum" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getEnumEditOptions($element, $root, dataSource)"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <div class="criteria-operator-text dxd-filter-editor-text-color criteria-operator-item-value dxd-filter-editor-value-back-color" data-bind="visible: !isEditable"> <div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: value, click: function() { setEditable(true); }, css: { \'default\': $data.isDefaultDisplay() } "></div> <div data-bind="service: { name: \'createChangeValueType\' }"></div> </div>',"dx-filtereditor-popup":"\x3c!-- ko if: $data --\x3e <div data-bind=\"dxPopup: { animation: { show: { type: 'fadeIn', duration: 700 }, hide: { type: 'fadeOut', duration: 700 } }, showTitle: true, wrapperAttr: { class: 'dx-filtereditor dx-popup-general' }, resizeEnabled: true, onResize: function() { $data.resizeAceEditor() }, width: 700, height: 500, maxHeight: '95%', maxWidth: '95%', minHeight: 300, minWidth: 400, onHiding: onHidingHandler, hideOnParentScroll: false, title: title, visible: popupVisible, onShown: function() { $data.focusText() }, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) } }\"> \x3c!-- ko template: 'dx-filtereditor-content' --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- ko template: 'dx-filtereditor-content-popups' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-filtereditor-create":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image dx-image-filtereditor-add">\x3c!-- ko template: \'dxrd-svg-filtereditor-add\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-change":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayType, dxclick: showPopup, css: target.css"></div>',"dx-filtereditor-changeParameter":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable " data-bind="text: target.parameterName, dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeProperty":'<div class="criteria-operator-text dxd-filter-editor-text-color clickable" data-bind="text: target.displayName, dxclick: showPopup, css: { \'dxd-state-selected\': target.isSelected }"></div>',"dx-filtereditor-changeValueType":'<div class="criteria-operator-action" data-bind="dxclick: showPopup"> <div class="criteria-operator-action-image-edit dx-image-filtereditor-edit">\x3c!-- ko template: \'dxrd-svg-filtereditor-edit\' --\x3e\x3c!-- /ko --\x3e</div> </div>',"dx-filtereditor-content-popups":"<div class=\"dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay\" data-bind=\"dxPopupWithAutoHeight: { minWidth:'170px', maxWidth:'500px', width: 'auto', height: '300px', wrapperAttr: { class: 'dx-selectbox-popup-wrapper dx-dropdownlist-popup-wrapper dx-filtereditor-criteriaoperator-popup dx-dropdowneditor-overlay' }, focusStateEnabled: false, position: $data.rtl ? { my: 'right top', at: 'right bottom', of: popupService.target} : { my: 'left top', at: 'left bottom', of: popupService.target }, container: $data.getPopupContainer($element), target: popupService.target, showTitle: false, showCloseButton: false, animation: {}, hideOnOutsideClick: true, shading: false, visible: popupService.visible }\"> \x3c!-- ko with: popupService--\x3e \x3c!-- ko with: data --\x3e \x3c!-- ko template: template--\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>","dx-filtereditor-search-panel":"<div class=\"dx-filtereditor-popup-item dx-filtereditor-search dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted\"> <div class=\"dx-item-content dxd-border-secondary dxd-text-primary dx-list-item-content\" data-bind=\"dxTextBox: { placeholder: searchPlaceholder(), value: value, onValueChanged: onValueChanged, height: '100%', width: '100%', stylingMode: 'underlined', valueChangeEvent: 'keyup' }\"> </div> </div>","dx-filtereditor-popup-common":'\x3c!-- ko if: $data.isFiltered --\x3e <div data-bind="template: { name: \'dx-filtereditor-search-panel\', data: $data }"></div> \x3c!-- /ko --\x3e <div class="dx-widget" data-bind="dxScrollView: { showScrollbar: \'onHover\' }, css: { \'dx-filtereditor-filtered\': isFiltered }"> \x3c!-- ko foreach: data --\x3e \x3c!-- ko if: !$data.hidden --\x3e \x3c!-- ko ifnot: $parent.isFiltered --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <span class="dx-item-content dx-list-item-content" data-bind="text: $data.displayText || $data.name, click: function() { $parent.click($data); }, attr: {\'title\': $data.displayText || $data.name } "></span> </div> \x3c!-- /ko --\x3e \x3c!-- ko if: $parent.isFiltered --\x3e <div class="dx-filtereditor-popup-item dx-item dx-list-item dxd-list-item-back-color dxd-back-highlighted"> <div class="dx-item-content dx-list-item-content" data-bind="searchHighlighting: { text: $data.displayText || $data.name, textToSearch: $parent.value }, click: function() { $parent.click($data); }, attr: {\'title\': $data.displayText || $data.name } "> </div> </div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-filtereditor-popup-treelist":'<div class="dx-filtereditor-search" data-bind="treeListSearchPanel: { controllers: data.treeListController, template: \'dx-filtereditor-search-panel\' } "></div> <div class="dx-widget dx-filtereditor-filtered" data-bind="dxScrollView: { showScrollbar: \'onHover\' }"> <div class="dx-treelist-wrapper" data-bind="treelist: data"></div> </div>',"dx-format-string-list":'<div class="dx-format-string-list dxd-format-string-editor-border-color dxd-border-secondary"> <div data-bind="dxList: { items: $data.items, selectedItems: $data.selectedItems, onItemClick: $data.action, selectionMode: \'single\', activeStateEnabled: false }"> <div data-options="dxTemplate: { name: \'item\' }" class="dx-theme-border-color"> <div class="dx-image-filtereditor-remove" data-bind="click: $parent.removeItem, visible: $data.canRemove">\x3c!-- ko template: \'dxrd-svg-filtereditor-remove\' --\x3e\x3c!-- /ko --\x3e</div> <div class="dx-format-string-list-item" data-bind="text: $data.displayName"></div> </div> </div> </div>',"dx-format-string-edit-area":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'types\')"></div> <div class="dx-format-string-formats"> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: patternList, action: setFormat, removeItem: removeCustomFormat, selectedItems: selectedFormats } } --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-customization"> <div class="dx-format-string-customization-add" data-bind="dxButton:{ onClick: addCustomFormat, text: getDisplayText(\'add\'), disabled: !canAddCustomFormat }"></div> <div class="dx-format-string-customization-value dx-format-string-value dxd-back-primary" data-bind="dxTextBox: { value: formatResult, onInput: function(e) { updateInputText(\'formatResult\', e.component); } }"></div> </div> </div>',"dx-format-string-edit-area-general":'<div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'prefix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText(\'formatPrefix\', e.component); } }"></div> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'suffix\')"></div> <div class="dx-format-string-customization-general-value dx-format-string-value" data-bind="dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText(\'formatSuffix\', e.component); } }"></div>',"dx-format-string":'<div> <div class="no-margin-right" data-bind="dxEllipsisEditor: { value: value, onValueChanged: onValueChanged, disabled: disabled, buttonAction: function() { setPopupVisible(true); } }"></div> <div data-bind="dxEditorPopupTemplate: { data: $data, templateName: \'dx-formatstring-popup-template\' }"></div> </div>',"dx-formatstring-popup-template":'<div data-bind="dxPopup: { wrapperAttr: { class: \'dx-format-string dx-popup-general\' }, showTitle: true, width: \'95%\', height: \'95%\', minWidth: 650, title: getDisplayText(\'title\'), visible: popupVisible, toolbarItems: buttonItems, showCloseButton: true, container: getPopupContainer($element), position: { of: getPopupContainer($element) }, onHiding: onHidingHandler, hideOnParentScroll: false, }"> <div class="dx-format-string-content"> <div class="dx-format-string-content-area-left"> <div class="dx-format-string-content-area-title dxd-text-primary" data-bind="text: getDisplayText(\'category\')"></div> \x3c!-- ko template: { name: \'dx-format-string-list\', data: { items: types, action: setType, selectedItems: selectedTypes } } --\x3e \x3c!-- /ko --\x3e </div> <div class="dx-format-string-content-area-right"> \x3c!-- ko if: !isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: isGeneralType --\x3e \x3c!-- ko template: \'dx-format-string-edit-area-general\' --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-format-string-preview-area" data-bind="css: { \'dx-format-general\': isGeneralType }"> <div class="dx-format-string-preview-area-caption dxd-text-primary" data-bind="text: getDisplayText(\'preview\')"></div> <div class="dx-format-string-preview-value dxd-format-string-editor-border-color dxd-text-primary dxd-back-primary dxd-border-secondary"> <span class="dx-format-string-preview-value-inner" data-bind="text: previewString"></span> </div> </div> </div> </div> </div>',"dx-treelist-item-actions":'\x3c!-- ko foreach: actions --\x3e \x3c!-- ko if: $data.templateName && ($root.canAddItems || $root.canAddItems === undefined) --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName && ($root.canAddItems || $root.canAddItems === undefined || canAddItems) --\x3e <div class="dx-treelist-action" data-bind="dxButtonWithTemplate: { onClick: function() { clickAction($parent); }, icon: $data.imageTemplateName, iconClass: $data.imageClassName, visible: ($data.visible == undefined) || $data.visible, disabled: $data.disabled }, attr: { title: $data.displayText }"></div> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e',"dx-treelist-edit-action":"<div class=\"dx-treelist-action-edit dx-accordion-button\" data-bind=\"dxButtonWithTemplate: { icon: 'dxrd-svg-operations-edit', iconClass: 'dx-image-edit', onClick: $parent.reverseCollapsed }, visible: $parent.hasContent, attr: { title: $data.displayText }\"></div>","dx-treelist-item-actions-with-edit":"\x3c!-- ko template: { name: 'dx-treelist-edit-action', data: treeListEditAction } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko template: 'dx-treelist-item-actions' --\x3e \x3c!-- /ko --\x3e","dx-treelist-item-ellipsis":'<div class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted" data-bind="styleunit: padding, click: events.click"> <div class="dx-treelist-collapsedbutton"></div> <div class="dx-treelist-caption"> <div class="dx-treelist-selectedcontent"> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-ellipsis-text dxd-text-accented dxd-hyperlink-color" data-bind="text: text"></div> </div> </div> </div> </div>',"dx-treelist-item":"\x3c!-- ko if: visible --\x3e \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: templates.accordionItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: templates.headerItem --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e","dx-treelist-accordion-item":'<div data-bind="dxdAccordionExt: { collapsed: collapsedAccessor, lazyContentRendering: true }"> \x3c!-- ko template: templates.headerItem --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-item-actions-container":'<div class="dx-treelist-action-container" data-bind="visible: isSelected || isHovered, click: function(s, e) { e.stopPropagation(); }"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item":'<div role="treeitem" class="dx-treelist-item dxd-list-item-back-color dxd-back-highlighted dx-accessibility-treelist-item dx-accessibility-focus-border-accented" data-bind="event: events, click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, styleunit: padding, draggable: isDraggable ? dragDropHandler : null, css: cssRules, attr: attr"> \x3c!-- ko if: hasItems--\x3e <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed"></div> \x3c!-- /ko --\x3e <div class="dx-treelist-caption" data-bind="style: { \'padding-left\': hasItems ? \'0px\': \'18px\' }"> \x3c!-- ko if: actions && actions.length > 0 --\x3e \x3c!-- ko template: templates.actionsContainer --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> </div> </div>',"dx-treelist-item-text-content":'<div class="dx-treelist-text-wrapper"> \x3c!--ko if: searchModel.searchEnabled --\x3e <div class="dx-treelist-text dx-highlighted-search-text" data-bind="searchHighlighting: { text: text, textToSearch: searchModel.textToSearch, searchOptions: searchModel.searchOptions }, attr: { title: text }"></div> \x3c!-- /ko --\x3e \x3c!--ko ifnot: searchModel.searchEnabled --\x3e <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> \x3c!-- /ko --\x3e </div>',"dx-treelist-header-item-caption-content":'\x3c!-- ko if: isLoading && data && data.specifics === \'ListSource\' --\x3e <div class="dx-treelist-image dx-treelist-image-loading"> <div data-bind="dxLoadIndicator: { visible: true, width: 16, height: 16 }"></div> </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isLoading && data && data.specifics === \'ListSource\' --\x3e <div class="dx-treelist-image" data-bind="css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> \x3c!-- /ko --\x3e \x3c!-- ko template: templates.itemTextContent --\x3e \x3c!-- /ko --\x3e',"dx-treelist-item-with-hover":'<div data-bind="visible: visible"> \x3c!-- ko if: hasContent --\x3e \x3c!-- ko template: "dx-treelist-accordion-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko ifnot: hasContent --\x3e \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-accordion-item-with-hover":'<div data-bind="dxdAccordionExt: { collapsed: collapsedAccessor, lazyContentRendering: true }"> \x3c!-- ko template: "dx-treelist-header-item-with-hover" --\x3e \x3c!-- /ko --\x3e <div class="dx-fieldset dx-accordion-content dxd-back-primary"> \x3c!-- ko with: data --\x3e \x3c!-- ko template: { name: contenttemplate } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div>',"dx-treelist-header-item-with-hover":'<div class="dx-background-inheritor dxd-back-highlighted dxd-state-selected"> <div class="dx-treelist-item dx-fontsize-reestablished dxd-list-item-back-color" data-bind="event: events, click: toggleSelected, draggable: isDraggable ? dragDropHandler : null, styleunit: padding, css: { \'dx-treelist-item-selected dxd-state-selected dxd-back-secondary\': isSelected || isMultiSelected }"> <div class="dx-treelist-collapsedbutton" data-bind="css: nodeImageClass, template: \'dxrd-svg-collapsed\', click: toggleCollapsed, style: { \'visibility\': hasItems ? \'visible\' : \'hidden\' }"></div> <div class="dx-treelist-caption"> \x3c!-- ko if: actions && actions.length > 0 --\x3e <div class="dx-treelist-action-container" data-bind="visible: isSelected || isHovered, click: function(s, e) { e.stopPropagation(); }"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent"> <div class="dx-treelist-image" data-bind="css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> <div class="dx-treelist-text-wrapper"> <div class="dx-treelist-text" data-bind="text: text, attr: { title: text }"></div> </div> </div> </div> </div> </div>',"dx-treelist":'<div role="group" class="dx-treelist dxd-text-primary"> \x3c!-- ko foreach: items --\x3e \x3c!-- ko lazy: { resolver: resolver, innerBindings: { template: templateName } } --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !collapsed --\x3e \x3c!-- ko template: { name: \'dx-treelist\' } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div>',"dx-treelist-search-panel":"<div class=\"dxrd-treelist-search-panel\" data-bind=\"dxTextBox: { mode: 'search', value: value, onValueChanged: onValueChanged, valueChangeEvent: 'keyup', showClearButton: true, placeholder: searchPlaceholder()}\"></div>"});const $g=DevExpress.events;function Og(e,t){const i=L(e),r=i.find(".dx-accordion-content"),s=i.find(".dx-accordion-header,.dx-accordion-button").get(0);if(!kt(t.collapsed)||!t.collapsed.setValueChangedEvent)throw Error("An accordion needs an accessor over its collapsed state, and the event that says it moved.");const o=()=>t.collapsed.getValue();$g.off(s,"dxclick");const n=function(){const e=!t.alwaysShow&&!o();t.collapsed.setValue(e),i.addClass("dx-transition-style"),o()&&i.addClass("dx-accordion-collapsed"),setTimeout(()=>{i.removeClass("dx-accordion-collapsed"),o()||i.removeClass("dx-transition-style")},500)};$g.on(s,"dxclick",n),o()?r.hide():r.show();const a=t.collapsed.setValueChangedEvent(()=>{o()?r.slideUp(t.timeout,()=>{}):r.slideDown(t.timeout,()=>{})});return()=>{$g.off(s,"dxclick",n),a()}}An("dxPropertyGrid",{init:function(e,t,i,r,s){L(e).empty();const o=zr("dx-propertieseditor"),n=L(e).append(o),a=t(),d=new Fl(a.target,{editorsInfo:a.editorsInfo,level:a.level,rootContext:ze(s.$root)});return e.setAttribute("role","tree"),Xt.cleanNode(n.children()[0]),Xt.applyBindings(s.createChildContext(d.getViewModel()),n.children()[0]),yr(e,function(){d.dispose()}),{controlsDescendantBindings:!0}}}),In("lazy"),An("lazy",{init:function(e,t,i,r,s){let o=t();const n=o.resolver||zl,a=o.withPriority||!1,d=o.isResolved;o.innerBindings&&(o=o.innerBindings);let l=!1,c=[];return Object.keys(o||{}).forEach(t=>{const u=o[t],p=Sn(t),h=()=>{if(!l){let t=!1;const o=()=>{!t&&p.init&&(p.init(e,()=>u,i,r,s),t=!0),p.update&&(r?.visible??1)&&p.update(e,()=>u,i,r,s)};o();const n=gi(()=>[tr(r,"visible")],fi(o,20),!1);d&&d(!0),yr(e,n)}};r?.visible??1?c.push(n.execute(()=>{h()},{timeOut:1,priority:a?Ml.High:Ml.Low})):(d&&d(!0),a?c.push(n.execute(()=>{h()},{timeOut:1,priority:Ml.Low})):h())}),yr(e,function(){l=!0,c.forEach(e=>e.dispose()),c=[]}),{controlsDescendantBindings:!0}}}),An("dxdAccordion",{init:function(e,t){const i=Og(e,t());yr(e,()=>{i&&i(),Xt.cleanNode(e)})}}),An("dxdAccordionExt",{init:function(e,t,i,r,s){const o=t(),n=L(e),a=n.find(".dx-accordion-content").eq(0);let d=null;o.collapsed.getValue()&&!0===o.lazyContentRendering&&(d=a.html(),a.empty());if(!o.collapsed.setValueChangedEvent)throw Error("An accordion needs the event that says its state moved.");const l=o.collapsed.setValueChangedEvent(e=>(e=>{!e&&d&&(a.html(d),Xt.cleanNode(a.get(0)),Xt.applyBindingsToDescendants(s,a.get(0)),d=null),a.slideToggle(o.timeout,()=>{})})(e));yr(e,()=>l()),yr(e,()=>Xt.cleanNode(e)),o.collapsed.getValue()?a.hide():a.show()}}),An("dxLocalizedSelectBox",{init:function(e,t,i,r,s){return Sn("dxSelectBox").init(e,()=>{const e=(e=>{const t=e.displayExpr;return e.placeholder=e.placeholder||Ie(),e.noDataText=e.noDataText||Pe(),e.encodeNoDataText=!0,e.displayExpr=function(e){return e?$i(t?"function"==typeof t?t(e):e[t]:e,e.localizationId):e},e.itemTemplate=function(t,i,r){const o=s.createChildContext({display:e.displayExpr(t)});L(r).empty();const n=zr("item-with-title"),a=L(r).append(n);return Xt.cleanNode(a[0]),Xt.applyBindingsToDescendants(o,a[0]),r},e.useLocalizedTextAsValue&&(e.valueExpr=e.displayExpr),e})(t()||{});return e.displayCustomValue||(e.value=r.value),r.getOptions?r.getOptions(e):e},i,r,s),{controlsDescendantBindings:!0}}}),An("styleunit",{update:function(e,t){const i=t()||{};Object.keys(i).forEach(t=>{e.style[t]=(i[t]||0)+"px"})}}),An("service",{init:function(e,t,i,r,s){const o=(e=>{if(r[e])return r[e];const t=s.$parents.filter(t=>void 0!==t[e])[0];return t?t[e]:null})((t()||{}).name),n=o&&o(r);if(n){const t=s.createChildContext(n.data);Xt.renderTemplate(n.templateName,t,e)}}});const Ng={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:Js.getEditor("combobox"),values:Sc,editorOptions:{searchEnabled:!0}},Bg={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:Js.getEditor("numeric")},Lg={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:Js.getEditor("combobox"),valuesArray:ah},zg=[Ng,Bg,Lg,{propertyName:"modificators",editor:Js.getEditor("modificators")}];class Hg extends Nl{onPropertyChanged(e){super.onPropertyChanged(e),"value"===e.propertyName&&this.editableModel?.updateFont(this.value)}getTargetModel(){return new dh({value:this.value,onValueChanged:e=>{this.setEditorValue(e)}})}getEditorInfo(){return zg}}const Rg=["bold","italic","underline","strikeout"],jg=[...Rg,...Rg.map(e=>`${e}HasExpression`)];class Gg extends _l{constructor(...e){super(...e),jg.forEach(e=>this.assignDerivedProperty(e,()=>!!this.value?.[e],()=>[qt(this,["value"]),this.value&&qt(this.value,[e])]))}createViewModel(){const e=Zi(super.createViewModel()).generateProperty("toggle",e=>{!this.disabled&&this.value&&(this.value[e]=!this.value[e])});return jg.forEach(t=>e.generateProperty(t,this[t])),e.getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=e.propertyName;-1!==jg.indexOf(t)&&(this.getViewModel()[t]=this[t])}}var Wg=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Ug extends _l{constructor(e,t){super(e,t),this.undoValue=this.value}_onUndoValueChanged(e){if(e===this.undoValue)return;const t=this.rootContext?.undoEngine;t?.start(),this.setEditorValue(e),t?.end()}onPropertyChanged(e){super.onPropertyChanged(e),"value"===e.propertyName&&(this.undoValue=this.value)}createViewModel(){return Zi(super.createViewModel()).generateProperty("undoValue",this.undoValue).generateProperty("onValueChanged",e=>this._onUndoValueChanged(e.value)).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"undoValue"===e.propertyName&&(t.undoValue=this.undoValue)}}Wg([rr(void 0)],Ug.prototype,"undoValue",void 0);const qg=new WeakMap;An("focus",{update:function(e,t){const i=t(),r=!!Ft(i&&"object"==typeof i&&"on"in i?i.on:i),s=qg.get(e);qg.set(e,r),r&&!1===s&&setTimeout(()=>{L(e).find(":input").focus()},1)}}),An("svgAttrs",{update:function(e,t,i,r){e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink")}}),An("dxEditorPopupTemplate",{init:function(e,t){const i=t(),r=zr(i.templateName);if(r){const t=document.createElement("div");t.innerHTML=r;(Gd(e)||e.ownerDocument.body).append(t),Xt.applyBindings(i.data,t),yr(e,function(){setTimeout(()=>t.remove(),1)})}}});const Kg=Cr(!0);var Yg=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};function Zg(e,t){let i=0,r=0;const s=t.split("\n");let o=s[1];const n=s[2].length;return 0===o.indexOf("...")&&(o=o.split("...")[1]),i=e.indexOf(o),r=i+n,{start:i,end:r}}class Jg extends Vp{dispose(){super.dispose(),this.editorContainer=null}_getTextArea(e){const t=L(e);return t&&t.parents(".dx-expressioneditor").find(":input")[0]}_createToolsOptions(e,t,i){const r=this,s={get itemsProvider(){return r.fieldListProvider},get path(){return e()},selectedPath:"",templateName:"dx-ee-treelist-item",treeListController:t,rtl:this.rtl,setTreeListChangedEvent:e=>gi(i,()=>e(s),!1)};return s}_parametersCustomFilter(e){return"parameters"===e.specifics||e.specifics===Bu||!jd(e)}_optionsSourceList(e){return[qt(this,["options"]),this.options&&qt(this.options,e)]}_readPath(){return this.options&&this.options.path||""}constructor(e,t,i=!1,r=!1,s,o){super(),this._displayNameProvider=s,this._updateTextAreaValue=(e,t)=>{const i=this._getTextArea(t),r=(this.textAreaValue||"").toString(),s=i&&i.selectionStart||r.length,o=" "==r[s-1]?(e.val||e.text||e)+" ":" "+(e.val||e.text||e)+" ";if(this.textAreaValue=[r.slice(0,s),o,r.slice(s)].join(""),i&&i.setSelectionRange){i.focus();const e=s+(-1!==o.indexOf("(")?o.indexOf("(")+1:o.length);i.setSelectionRange(e,e)}},this._updateAceValue=e=>{const t=this.editorContainer,{row:i,column:r}=t.getCursorPosition();let s=(e.val||e.text||e)+" ";r&&" "!==t.getSession().getValue().split("\n")[i][r-1]&&(s=" "+s),t.insert(s),t.focus(),Rd(e.paramCount,t,s)},this._updateValue=(e,t)=>{this.aceAvailable?this._updateAceValue(e):this._updateTextAreaValue(e,t)},this.patchFieldName=e=>e,this._parametersPutSelectionHandler=(e,t)=>{const i=e.split("."),r="?"+this.patchFieldName(i[i.length-1]);this._updateValue(r,t)},this._fieldsPutSelectionHandler=(e,t)=>{const i=this._readPath(),r=e.substring(i.length+1),s="["+this.patchFieldName(r)+"]";this._displayNameProvider?this.displayExpressionConverter.toDisplayExpression(i,s).done(e=>{this._updateValue(e,t)}).fail(()=>{this._updateValue(s,t)}):this._updateValue(s,t)},this.title=()=>$i("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption"),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>[new zu({editor:e,bindingContext:t,fieldListProvider:ai(()=>this.fieldListProvider,()=>[qt(this,["fieldListProvider"])]),path:ai(()=>this._readPath(),()=>this._optionsSourceList(["path"])),functions:ai(()=>this.options&&this.options.functions||[],()=>this._optionsSourceList(["functions"])),rootItems:this.options&&this.options.rootItems,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||(new z).resolve(t).promise()})]},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},this.additionalOptions={onChange:e=>{const t=e.getValue();try{const i=Fd.parse(t);this.options&&this.options.validate&&(this.isValid=this.options.validate(i)),e.clearAnnotations()}catch(t){const i=t.hash&&t.hash.line||0,r=0,s=t.message.split("\n"),o=s[1]+"\n"+s[2];e.setAnnotations([{row:i,column:r,text:o,type:"error"}])}},setUseWrapMode:Kg()},this.callbacks={focus:()=>{}},this.rtl=!1,this.getPopupContainer=Gd,this._textAreaValueAccessor=ai(()=>this.textAreaValue,()=>[qt(this,["textAreaValue"])]);const n=Nt(e);this.assignDerivedProperty("options",n),this.rtl=r,this.editorInputId=o,this.theme=this.options&&this.options.theme,this.patchFieldName=e=>this.options&&this.options.patchFieldName&&this.options.patchFieldName(e)||e,this._displayNameProvider&&this.options&&void 0!==this.options.path&&(this.displayExpressionConverter=new Zu(this._displayNameProvider)),this.assignDerivedProperty("value",()=>this.options&&(this.options.value||"").toString()||"",()=>this._optionsSourceList(["value"]),e=>{this.options&&(this.options.value=e)}),this.assignProperty("convertedValue",this.value),this.assignDerivedProperty("displayValue",()=>this.displayExpressionConverter?this.convertedValue:this.value,()=>[qt(this,["convertedValue","value"])],e=>{this.displayExpressionConverter?(this.convertedValue=e,this.displayExpressionConverter.toRealExpression(this._readPath(),e).done(e=>{this.value=e}).fail(()=>{this.value=e})):this.value=e}),this.addDisposable(gi(()=>this._optionsSourceList(["value","path","isValid","warningMessage"]),()=>{if(this.modelValueValid=!this.options||void 0===this.options.isValid||!!this.options.isValid,this.modelValueWarning=this.options&&this.options.warningMessage||"",!this.displayExpressionConverter)return;const e=this.value;this.displayExpressionConverter.toDisplayExpression(this._readPath(),e).done(e=>{this.convertedValue=e}).fail(()=>{this.convertedValue=e})})),this.assignDerivedProperty("disabled",Nt(i)),this.validate=(e,t)=>{try{return Fd.parse(e),this.isValid=!0,!0}catch(i){const r=Zg(e,i.message),s=this._getTextArea(t&&t.element);s&&s.setSelectionRange(r.start,r.end),this.isValid=!1}},this.addDisposable(tt(this,"popupVisible",e=>{e?this.initDisplayValue():this.editorContainer=null}));const a=ai(()=>this.options&&this.options.fieldName,()=>this._optionsSourceList(["fieldName"]));this.assignDerivedProperty("fieldListProvider",()=>{const e=Ft(t),i=a.getValue();return i?{getItems:t=>{const r=new z;return e.getItems(t).done(e=>{r.resolve(e.filter(e=>e.name!==i))}).fail(()=>r.reject()),r.promise()},getValues:t=>e.getValues(t)}:e},()=>[$t(t),a]);let d=null;const l=e=>{d&&(d.isSelected=!1),d=e,e.isSelected=!0},c=this._createToolsOptions(()=>this._readPath(),new ph(a,(e,t)=>{this._fieldsPutSelectionHandler(e.path,t)},l),()=>this._optionsSourceList(["path"]).concat([qt(this,["fieldListProvider"])])),u=ai(()=>this._readPath()?c:void 0,()=>this._optionsSourceList(["path"]));this.parametersTreeListController=new hh(this._parametersCustomFilter,this._parametersPutSelectionHandler,l);const p=this._createToolsOptions(()=>"",this.parametersTreeListController,()=>[qt(this,["fieldListProvider"])]);this.tools=new Nu(this._updateValue,p,n,u),this.addDisposable(this.tools),this.resizeHelper=new Fg({onResize:()=>this.resizeAceEditor()})}save(e){const t=this.getValue();this.validate(t,e)&&(this.displayValue=t,this.popupVisible=!1)}onShown(){this.notifyResizeListeners(),this.callbacks.focus()}onHiding(e){const t=this.options;return t&&t.onHiding&&t.onHiding(e)}onShowing(e){const t=this.options;return t&&t.onShowing&&t.onShowing(e)}onContentReady(e){const t=this.options;return t&&t.onContentReady&&t.onContentReady(e)}initDisplayValue(){this.tools.resetCategoriesSelection(),this.setCriteriaValue(this.displayValue)}getValue(){let e=this.textAreaValue;if(this.aceAvailable){const t=this.editorContainer,i=t&&t.getSession();e=i&&i.getValue()}return e}setCriteriaValue(e){this.textAreaValue=e,super.setCriteriaValue(e),this.aceAvailable||this.validate(this.value)}getEditorContext(){const e={isFilter:!1,value:this.getValue()};return this.options?.customizeContext?.(e),e}updateViewModel(e){super.updateViewModel(e),"value"!==e.propertyName&&"convertedValue"!==e.propertyName||(this.getViewModel().displayValue=this.displayValue);const t=this.getViewModel();"textAreaValue"===e.propertyName&&(t.textAreaValue=this.textAreaValue),"isValid"===e.propertyName&&(t.isValid=this.isValid),"modelValueValid"===e.propertyName&&(t.modelValueValid=this.modelValueValid),"modelValueWarning"===e.propertyName&&(t.modelValueWarning=this.modelValueWarning),"disabled"===e.propertyName&&(t.disabled=this.disabled)}createViewModel(){return Zi(super.createViewModel()).generateProperty("title",()=>this.title()).generateProperty("displayValue",this.displayValue).generateProperty("onDisplayValueChanged",e=>{e.value!==this.displayValue&&(this.displayValue=e.value)}).generateProperty("disabled",this.disabled).generateProperty("modelValueValid",this.modelValueValid).generateProperty("modelValueWarning",this.modelValueWarning).generateProperty("editorInputId",this.editorInputId).generateProperty("isValid",this.isValid).generateProperty("setValid",e=>{this.isValid=e}).generateProperty("textAreaValue",this.textAreaValue).generateProperty("onTextAreaValueChanged",e=>{this.textAreaValue=e.value}).generateProperty("textAreaValueSource",this._textAreaValueAccessor).generateProperty("setEditorContainer",e=>{this.editorContainer=e}).generateProperty("theme",this.theme).generateProperty("aceOptions",this.aceOptions).generateProperty("additionalOptions",this.additionalOptions).generateProperty("callbacks",this.callbacks).generateProperty("languageHelper",this.languageHelper).generateProperty("resizeHelper",this.resizeHelper).generateProperty("tools",this.tools.getViewModel()).generateProperty("getPopupContainer",e=>this.getPopupContainer(e)).generateProperty("onShown",()=>this.onShown()).generateProperty("onShowing",e=>this.onShowing(e)).generateProperty("onHiding",e=>{this.onHiding(e),this.popupVisible=!1}).generateProperty("onContentReady",e=>this.onContentReady(e)).generateProperty("setCriteriaValue",e=>this.setCriteriaValue(e)).generateProperty("getEditorContext",()=>this.getEditorContext()).getViewModel()}}function Xg(e,t){const i=$t(e);return!i.setValueChangedEvent&&t.setValueChangedEvent?t:i}Yg([rr("")],Jg.prototype,"value",void 0),Yg([rr("")],Jg.prototype,"textAreaValue",void 0),Yg([rr(!0)],Jg.prototype,"isValid",void 0),Yg([rr(!0)],Jg.prototype,"modelValueValid",void 0),Yg([rr("")],Jg.prototype,"modelValueWarning",void 0),Yg([rr(!1)],Jg.prototype,"disabled",void 0),An("dxExpressionEditor",{init:function(e,t,i,r,s){let o=L(e);o.empty();const n=t();L(e).addClass(n.wrapper?"dx-expressioneditor-content":"dx-popup-general");const a=n.editorTemplateName||"dx-expressioneditor";n.onInitialized?.({element:e});const d=Xg(n.disabled,{getValue:()=>r.getDisabled?r.getDisabled():r.disabled,setValueChangedEvent:r.setDisabledChangedEvent}),l=Xg(n.fieldListProvider,{getValue:()=>r.fieldListProvider,setValueChangedEvent:r.setFieldListProviderChangedEvent}),c=$t(n.options);let u=new Jg(c,l,d,L(e).closest(".dx-rtl").length>0,n.displayNameProvider,r.editorInputId);const p=[];if(void 0!==n.popupVisible){const e=$t(n.popupVisible);u.popupVisible=e.getValue(),p.push(tt(u,"popupVisible",t=>{e.setValue?.(t)})),e.setValueChangedEvent&&p.push(e.setValueChangedEvent(e=>{u.popupVisible=e}))}n.wrapper&&n.wrapper.setEditor(u);const h=s.createChildContext(u.getViewModel()),g=document.createElement("div");o=o.append(g),Xt.renderTemplate(a,h,g);return yr(e,()=>{p.forEach(e=>e()),u.dispose(),u=null,n.wrapper&&n.wrapper.setEditor(null)}),{controlsDescendantBindings:!0}}});var Qg=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class em extends nr{deferredUpdateViewModel(){return!1}constructor(e,t,i){super(),this.getModel=e,this.promptPlaceholder=we("Ask to generate an expression...","StringId.AIInputSuggestExpression"),this.handleUri=t,this.errorCallback=i}isGenerationDisabled(){return this.isLoading||0===this.expressionInNL.length}reset(){this.dxGenerateExpressionDeferred?.resolve({canceled:!0}),this.isLoading=!1,this.generatedExpressionResult=""}initialize(e){return this.reset(),this.expressionInNL="",this.editor=e,this}getLoadPanelOptions(e){const t=this.getLoadingPanelContainer(e);return{visible:zt(this,"isLoading"),position:{of:t},container:t,wrapperAttr:{class:"dxrd-ai-expression-loading-panel"}}}getLoadingPanelContainer(e){return Gd(e,".dxrd-ai-expression-loading-panel-container")}generateAndApplyExpression(){this.generateExpression().then(()=>{this.applyExpression()})}applyExpression(){if(!this.editor)return;const e=this.generatedExpressionResult;this.editor.setCriteriaValue(e),this.reset()}failRequestHandler(e){this.errorCallback?.(e)}generateExpression(){if(this.isGenerationDisabled()||!this.editor)return;this.reset();const e=new z;this.dxGenerateExpressionDeferred=e,this.isLoading=!0;const t=this.getModel?.()?.serialize?.(),i=this.editor.getEditorContext(),r={prompt:this.expressionInNL,reportLayoutJson:JSON.stringify({XtraReportsLayoutSerializer:t}),context:i};return zc(this.handleUri,"generateExpression",Hs(r)).then(t=>e.resolve(t),t=>e.reject(t)).always(()=>{this.isLoading=!1}),e.then(e=>{e.canceled||(e.success?this.generatedExpressionResult=e.text:this.failRequestHandler(e.errorMessage))}).fail(e=>this.failRequestHandler(e))}dispose(){super.dispose(),this.errorCallback=null,this.dxGenerateExpressionDeferred?.reject(),this.dxGenerateExpressionDeferred=null}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"expressionInNL"===e.propertyName?t.expressionInNL=this.expressionInNL:"isLoading"===e.propertyName&&(t.isLoading=this.isLoading),"isLoading"!==e.propertyName&&"expressionInNL"!==e.propertyName||(t.buttons=this.createButtons())}createButtons(){return[{name:"send",location:"after",options:{icon:"send",stylingMode:"text",type:"default",onClick:()=>this.generateAndApplyExpression(),hint:"Generate and Apply",elementAttr:{"aria-label":"Generate and Apply"},disabled:this.isGenerationDisabled(),visible:!this.isLoading}},{name:"stop",location:"after",options:{text:"Stop",stylingMode:"text",type:"danger",onClick:()=>this.reset(),visible:this.isLoading}}]}createViewModel(){return Zi(super.createViewModel()).generateProperty("expressionInNL",this.expressionInNL).generateProperty("onExpressionInNLChanged",e=>{this.expressionInNL=e.value}).generateProperty("promptPlaceholder",this.promptPlaceholder).generateProperty("isLoading",this.isLoading).generateProperty("buttons",this.createButtons()).generateProperty("getLoadPanelOptions",e=>this.getLoadPanelOptions(e)).generateProperty("initialize",e=>this.initialize(e).getViewModel()).getViewModel()}}Qg([rr("")],em.prototype,"expressionInNL",void 0),Qg([rr(!1)],em.prototype,"isLoading",void 0);const tm=DevExpress.ui.dxTextArea;var im=e.n(tm),rm=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class sm extends Vp{_generateOperand(e){return this.options.helper.serializer.deserialize(e)}_generateSurface(e){const t=new(e instanceof wd?this.options.helper.mapper.unary:this.options.helper.mapper.group)(e,this,this.fieldListProvider,zt(this,"path"));if(t instanceof Lh){if(!(t.model.operand instanceof Pd))return this.operand=new Pd(Ad.And,[this.operand]),t.dispose(),this._generateSurface(this.operand);t.operand.canRemove=!1}return t.canRemove=!1,t}_validateValue(e){try{return!(!this.options||!this.options.helper)&&(this.options.helper.serializer.deserialize(e),!0)}catch(e){return!1}}constructor(e,t,i=!1,r,s){super(),this._displayNameProvider=r,this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>[new dg({editor:e,bindingContext:t,fieldListProvider:Ft(this.fieldListProvider),path:zt(this,"path"),getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||(new z).resolve(t).promise()})]},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},this.additionalOptions={onChange:e=>this.onValueChange(e.getValue()),changeTimeout:200,setUseWrapMode:!0,onFocus:e=>this.onFocus(),onBlur:e=>this.onBlur()},this.getPopupContainer=e=>Gd(e,this.options.popupContainer),this.timeout=null,this.animationTimeout=null,this.invalidMessage=()=>$i("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError"),this.advancedModeText=$i("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode"),this.operand=null,this.advancedModeTop=()=>-1!==this.advancedModePosition.indexOf("Top"),this.advancedModeLeft=()=>-1!==this.advancedModePosition.indexOf("Left"),this.advancedModePosition="TopRight",this.assignDerivedProperty("options",Nt(e)),this.assignDerivedProperty("path",()=>this.options?.path,()=>this._optionsSourceList(["path"])),this.popupService=new Ul,this.rtl=i,this.fieldListProvider=t,this.editorInputId=s,this.displayExpressionConverter=r&&new Zu(r),this.assignProperty("convertedValue",""),this.assignProperty("convertedModelValue",""),this.initializeInnerValue(),this.options&&this.options.helper&&(this.options.helper.rtl=i),this.addDisposable(gi(()=>this._optionsSourceList(["value","path","disabled","title"]),()=>{this.disabled=!(!this.options||!this.options.disabled),this.title=this.options&&this.options.title,this.modelValueIsValid=!!this.options&&this._validateValue(this.options.value),this._convertToDisplay(this.options&&this.options.value,e=>{this.convertedModelValue=e})})),this.assignDerivedProperty("displayValue",()=>this.displayExpressionConverter?this.convertedValue:this.value,()=>[qt(this,["convertedValue","value"])]),this.assignDerivedProperty("modelDisplayValue",()=>this.displayExpressionConverter?this.convertedModelValue:this.options&&this.options.value,()=>[qt(this,["convertedModelValue"]),...this._optionsSourceList(["value"])]),this.assignDerivedProperty("helper",()=>this.options&&this.options.helper,()=>[qt(this,["options"])]),this.addDisposable(gi(()=>this._optionsSourceList(["path"]).concat([qt(this,["value"])]),()=>{this.isValid=this._validateValue(this.value),this.isSurfaceValid=this._isSurfaceValid(),this._convertToDisplay(this.value,e=>{this.convertedValue=e})})),this.createAddButton=e=>this.options.helper.handlers.create(e,this.popupService),this.createChangeType=e=>this.options.helper.handlers.change(e,this.popupService),this.createChangeProperty=e=>this.options.helper.handlers.changeProperty(e,this.popupService),this.createChangeParameter=e=>this.options.helper.handlers.changeParameter(e,this.popupService),this.createChangeValueType=e=>this.options.helper.handlers.changeValueType(e,this.popupService)}saveStateSources(){return[qt(this,["isValid"])]}_optionsSourceList(e){return[qt(this,["options"]),this.options&&qt(this.options,e)]}_isSurfaceValid(){try{return this.options&&this.isValid&&this.options.helper.criteriaTreeValidator.validateModel(this.options.helper.serializer.deserialize(this.value))}catch(e){return!1}}_convertToDisplay(e,t){this.displayExpressionConverter&&this.displayExpressionConverter.toDisplayExpression(this.path,e).done(e=>t(e)).fail(()=>t(e))}_onPopupVisibleChanged(e){e?(this.value=this.options.value,this.aiFilterGenerator=this.aiFilterGenerator?.initialize(this),this.isSurfaceValid?(this.operand=this._generateOperand(this.value),this.operandSurface=this._generateSurface(this.operand)):(this.textVisible=!0,this.advancedMode=!0,this.editorContainer&&this.focusText()),this.options.helper.onChange=()=>{this.value=this.options.helper.serializer.serialize(this.operand,!1)}):(this.helper.onClosing(),this.value=null,this.operandSurface&&this.operandSurface.dispose(),this.operandSurface=null,this.operand=null)}canSave(){return this.isValid}initializeInnerValue(){this.assignProperty("value","")}save(){this.helper.onSave(this.value),this.operandSurface&&this.isSurfaceValid?this.options.value=this.options.helper.serializer.serialize(this.operand,!1):this.options.value=this.value,this.popupVisible=!1}change(e,t){this.operand=nd.changeByType(e),this.operand.assignFrom(t.model);const i=new(this.operand instanceof wd?this.options.helper.mapper.unary:this.options.helper.mapper.group)(this.operand,this,this.fieldListProvider,zt(this,"path"));i.canRemove=!1,i instanceof Lh&&(i.operand.canRemove=!1),this.operandSurface=i}setDisplayValue(e){this.displayExpressionConverter?this.convertedValue=e:this.value=e}setModelDisplayValue(e){this.displayExpressionConverter?(this.convertedModelValue=e,this.displayExpressionConverter.toRealExpression(this.path,e).done(e=>{this.options.value=e}).fail(()=>{this.options.value=e})):this.options.value=e}dispose(){super.dispose(),this.editorContainer=null,this.operandSurface&&this.operandSurface.dispose()}onInput(e,t){const i=this;this.timeout&&clearTimeout(this.timeout),this.timeout=setTimeout(()=>{i.onValueChange(e.component.option("text"))},200)}onFocus(){this.textFocused=!0}onBlur(){this.textFocused=!1,this.helper.onEditorFocusOut(this.operand)}cacheElement(e){this.editorContainer=im().getInstance(e)}updateCriteria(){if(this.isSurfaceValid){(this.operand&&this.options.helper.serializer.serialize(this.operand,!1))!==this.value&&(this.operand=this._generateOperand(this.value),this.operandSurface&&this.operandSurface.dispose(),this.operandSurface=this._generateSurface(this.operand))}}onValueChange(e){this.displayValue!==e.trim()&&(this.setDisplayValue(e),this.displayExpressionConverter?this.displayExpressionConverter.toRealExpression(this.path,e).done(e=>{this.value=e,this.updateCriteria()}).fail(()=>{this.value=e,this.updateCriteria()}):this.updateCriteria())}focusText(){this.withEditorContainer(e=>{setTimeout(t=>{e.renderer&&e.renderer.updateText(),e.focus()},1)}),this.notifyResizeListeners()}setCriteriaValue(e){super.setCriteriaValue(e),this.onValueChange(e)}getEditorContext(){return{isFilter:!0,value:this.value}}_applyAdvancedMode(e){e!==this.advancedMode&&(this.timeout&&clearTimeout(this.timeout),this.animationTimeout&&clearTimeout(this.animationTimeout),e?(this.textVisible=!0,this.timeout=setTimeout(()=>{this.advancedMode=!0,this.options.disabled||this.focusText()},1),this.animationTimeout=setTimeout(()=>{this.editorContainer&&this.editorContainer.resize&&this.editorContainer.resize()},210)):(this.advancedMode=!1,this.timeout=setTimeout(()=>{this.textVisible=!1},200)))}onPropertyChanged(e){super.onPropertyChanged(e),"popupVisible"===e.propertyName&&this._onPopupVisibleChanged(e.newValue),"advancedModeRequest"===e.propertyName&&this._applyAdvancedMode(e.newValue),"advancedMode"===e.propertyName&&(this.advancedModeRequest=e.newValue)}getTextCssClasses(){return{advanced:this.getViewModel().advancedMode,"dx-filtereditor-text-container-bottom":!this.advancedModeTop(),"dx-filtereditor-text-container-top":this.advancedModeTop()}}getCheckBoxStyles(){const e={};return this.advancedModeTop()?e.top="0px":e.bottom="0px",this.advancedModeLeft()?e.left="0px":e.right="0px",e}getContentStyles(){const e={pointerEvents:this.getViewModel().disabled?"none":""};return this.advancedModeTop()||(e.top="0px"),e}getButtonItems(){return super.getButtonItems().concat([{toolbar:"bottom",location:"before",widget:"dxCheckBox",options:{value:this.advancedModeRequest,text:this.advancedModeText,onValueChanged:e=>{this.advancedModeRequest=e.value}}}])}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"displayValue"===e.propertyName&&(t.displayValue=this.displayValue),"modelDisplayValue"===e.propertyName&&(t.modelDisplayValue=this.modelDisplayValue),"helper"===e.propertyName&&(t.helper=this.helper),"advancedModeRequest"===e.propertyName&&this.republishButtonItems(),"disabled"===e.propertyName&&(t.disabled=this.disabled),"title"===e.propertyName&&(t.title=this.title),"isValid"===e.propertyName&&(t.isValid=this.isValid),"isSurfaceValid"===e.propertyName&&(t.isSurfaceValid=this.isSurfaceValid),"modelValueIsValid"===e.propertyName&&(t.modelValueIsValid=this.modelValueIsValid),"textFocused"===e.propertyName&&(t.textFocused=this.textFocused),"textVisible"===e.propertyName&&(t.textVisible=this.textVisible),"advancedMode"===e.propertyName&&(t.advancedMode=this.advancedMode),"advancedModeRequest"===e.propertyName&&(t.advancedModeRequest=this.advancedModeRequest),"operandSurface"===e.propertyName&&(t.operandSurface=this.operandSurface&&this.operandSurface.getViewModel()),"aiFilterGenerator"===e.propertyName&&(t.aiFilterGenerator=this.aiFilterGenerator)}createViewModel(){return Zi(super.createViewModel()).generateProperty("disabled",this.disabled).generateProperty("title",this.title).generateProperty("editorInputId",this.editorInputId).generateProperty("rtl",this.rtl).generateProperty("helper",this.helper).generateProperty("popupService",this.popupService.getViewModel()).generateProperty("modelDisplayValue",this.modelDisplayValue).generateProperty("onModelDisplayValueChanged",e=>{this.setModelDisplayValue(e.value)}).generateProperty("modelValueIsValid",this.modelValueIsValid).generateProperty("displayValue",this.displayValue).generateProperty("displayValueSource",zt(this,"displayValue")).generateProperty("isValid",this.isValid).generateProperty("onInput",(e,t)=>this.onInput(e,t)).generateProperty("cacheElement",e=>this.cacheElement(e)).generateProperty("setEditorContainer",e=>{this.editorContainer=e}).generateProperty("textFocused",this.textFocused).generateProperty("textVisible",this.textVisible).generateProperty("aceOptions",this.aceOptions).generateProperty("additionalOptions",this.additionalOptions).generateProperty("languageHelper",this.languageHelper).generateProperty("advancedMode",this.advancedMode).generateProperty("advancedModeRequest",this.advancedModeRequest).generateProperty("onAdvancedModeRequestChanged",e=>{this.advancedModeRequest=e.value}).generateProperty("advancedModeText",this.advancedModeText).generateProperty("requestAdvancedMode",()=>{this.advancedModeRequest=!0}).generateProperty("advancedModeTop",()=>this.advancedModeTop()).generateProperty("getTextCssClasses",()=>this.getTextCssClasses()).generateProperty("getCheckBoxStyles",()=>this.getCheckBoxStyles()).generateProperty("getContentStyles",()=>this.getContentStyles()).generateProperty("operandSurface",this.operandSurface&&this.operandSurface.getViewModel()).generateProperty("isSurfaceValid",this.isSurfaceValid).generateProperty("invalidMessage",()=>this.invalidMessage()).generateProperty("aiFilterGenerator",this.aiFilterGenerator).generateProperty("focusText",()=>this.focusText()).generateProperty("getPopupContainer",e=>this.getPopupContainer(e)).generateProperty("createAddButton",e=>this.createAddButton(e)).generateProperty("createChangeType",e=>this.createChangeType(e)).generateProperty("createChangeProperty",e=>this.createChangeProperty(e)).generateProperty("createChangeParameter",e=>this.createChangeParameter(e)).generateProperty("createChangeValueType",e=>this.createChangeValueType(e)).getViewModel()}}rm([rr(!1)],sm.prototype,"advancedMode",void 0),rm([rr(!1)],sm.prototype,"advancedModeRequest",void 0),rm([rr(!1)],sm.prototype,"disabled",void 0),rm([rr("")],sm.prototype,"title",void 0),rm([rr(!1)],sm.prototype,"modelValueIsValid",void 0),rm([rr(!1)],sm.prototype,"isSurfaceValid",void 0),rm([rr(!1)],sm.prototype,"isValid",void 0),rm([rr(!1)],sm.prototype,"textFocused",void 0),rm([rr(!1)],sm.prototype,"textVisible",void 0),rm([rr(null)],sm.prototype,"aiFilterGenerator",void 0),rm([rr(null)],sm.prototype,"operandSurface",void 0),An("dxFilterEditor",{init:function(e,t,i,r,s){const o=t();o.onInitialized?.({element:e});const n=zr(o.templateName||"dx-filtereditor"),a=L(e).empty().addClass("dx-popup-general").append(n),d=[],l=$t(o.options),c=function(e,t){const i=$t(e.fieldListProvider),r={getValue:()=>t?.fieldListProvider,setValueChangedEvent:t?.setFieldListProviderChangedEvent};return!i.setValueChangedEvent&&r.setValueChangedEvent?r:i}(o,r),u=ai(()=>l.getValue()?.itemsProvider||c.getValue(),()=>[l,c]);d.push(gi(()=>[l,c],()=>{const e=l.getValue();o.getDisplayNameByPath&&e&&e.helper&&!e.helper.getDisplayPropertyName&&(e.helper.getDisplayPropertyName=o.getDisplayNameByPath)}));const p=new sm(l,u,a.closest(".dx-rtl").length>0,o.displayNameProvider,r.editorInputId);if(o.aiExpressionGenerator&&(p.aiFilterGenerator=o.aiExpressionGenerator.initialize(p)),void 0!==o.popupVisible){const e=$t(o.popupVisible);p.popupVisible=e.getValue(),d.push(tt(p,"popupVisible",t=>{e.setValue?.(t)})),e.setValueChangedEvent&&d.push(e.setValueChangedEvent(e=>{p.popupVisible=e}))}return Xt.applyBindingsToDescendants(p.getViewModel(),a.children()[0]),yr(a.children()[0],()=>{d.forEach(e=>e()),p.dispose()}),{controlsDescendantBindings:!0}}});class om extends sm{constructor(e,t,i,r=!1,s){super(t,i,r,s),this.element=e,this.advancedModePosition=this.options.advancedModePosition}get _realTimeUpdate(){return!!this.options?.realTimeUpdate}initializeInnerValue(){this._realTimeUpdate?(this.assignProperty("value",this.options.value),this._updateCriteriaLater=fi(()=>this.updateCriteria(),100),this.addDisposable(gi(()=>[qt(this.options,["value"])],()=>{this.value=this.options.value},!1))):super.initializeInnerValue()}onPropertyChanged(e){super.onPropertyChanged(e),"value"===e.propertyName&&this._realTimeUpdate&&(this.options.value=this.value,this._updateCriteriaLater&&this._updateCriteriaLater())}}function nm(e){const t=e.getViewModel();return t.dispose=()=>e.dispose(),t}En("dx-filtereditor-plain",{viewModel:{createViewModel:(e,t)=>{const i=new om(t.element,$t(e.options),$t(e.fieldListProvider),void 0,e.displayNameProvider);return i.popupVisible=!0,nm(i)}},template:zr("dx-filtereditor-plain")}),En("dx-filtereditor-advanced",{viewModel:{createViewModel:(e,t)=>{const i=$t(e.options),r=new sm(i,$t(e.fieldListProvider),void 0,e.displayNameProvider);return r.advancedModeRequest=!0,r.popupVisible=!0,r.addDisposable(gi(()=>{const e=i.getValue();return[i,e&&qt(e,["value"])]},()=>{r.popupVisible=!1,r.popupVisible=!0},!1)),nm(r)}},template:zr("dx-filtereditor-advanced")}),An("cacheElement",{init:function(e,t,i,r,s){t().action(e)}});class am extends or{constructor(e="",t,i,r){super(),this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=()=>{this.value=""};const s=(e,t)=>{const i=Nt(t);this.assignDerivedProperty(e,()=>i.getValue(),()=>[i],i.setValue&&(e=>i.setValue(e)),{cached:!0})};s("value",e),s("path",t||""),s("disabled",i||!1);const o=ng();this.helper=new o;const n=r||{text:$i("Filter Editor","DataAccessUIStringId.FiltersView")};this.assignProperty("title",$i(n.text,n.localizationId))}setParametersSource(e){this.helper.setParameters(e)}}class dm extends am{constructor(){super(...arguments),this.realTimeUpdate=!0,this.advancedModePosition="TopRight"}}var lm=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class cm extends nr{deferredUpdateViewModel(){return!1}okAction(){const e=this.isGeneralType?this._getGeneralPreview("{0}"):this._wrapFormat();this._value.setValue?.(e),this.popupVisible=!1}_convertArray(e,t){return e.map(e=>({name:e,displayName:$i(e),canRemove:!!t}))}_convertTypes(e){return Object.keys(e).map(t=>({name:t,displayName:$i(t,e[t].localizationId),canRemove:!1}))}_scrollToBottom(){const e=L(".dx-format-string .dx-format-string-formats").find(".dx-scrollview:visible"),t=On().getInstance(e.get(0));t&&t.scrollTo&&t.scrollTo(t.scrollHeight())}_updateFormatList(){this.selectedFormats=[];const e=this._standardPatternSource[this.currentType];this.patternList=this._convertArray(e.patterns).concat(this._convertArray(this.customPatterns,!0))}_updateSelection(e){const t=this.patternList[e||0];t&&(this.selectedFormats=[t],this.formatResult=t.name)}_setPreviewString(e){this.previewString=e,this.isDisabled=!1}_setErrorMessage(e){this.previewString=$i("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"),this.isDisabled=e}_updatePreview(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(()=>{if(this.isGeneralType)return void(this.previewString=this._getGeneralPreview(void 0));const e=this._standardPatternSource[this.currentType],t=this.updatePreview(e.value,e.type,this._wrapFormat());this._lastUpdatePreviewPromise=t,t.done(e=>{this._lastUpdatePreviewPromise===t&&(e.Result?this._setPreviewString(e.Result):this._setErrorMessage(e.IsError))}).fail(e=>{this._lastUpdatePreviewPromise===t&&(this.previewString=$i("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))})},100)}_getGeneralPreview(e="###"){return this.formatPrefix+e+this.formatSuffix}_wrapFormat(e){const t=e||this.formatResult;return t&&-1!==t.indexOf("{0:")?t:t?"{0:"+t+"}":""}_updateCanAddCustomFormat(e){if(!e)return void(this.canAddCustomFormat=!1);let t=!0;Object.keys(this._standardPatternSource).some(i=>(t=-1===this._standardPatternSource[i].patterns.indexOf(e),!t)),this.canAddCustomFormat=t?-1===this.customPatterns.indexOf(e):t}_initEditor(e){if(!e)return void this.setType({itemData:this.types[0]});if(-1!==e.indexOf("{0}"))return this.currentType="General",this.formatPrefix=e.substring(0,e.indexOf("{0}")),void(this.formatSuffix=e.substring(e.indexOf("{0}")+3));const t=e.indexOf("{0:"),i=e.indexOf("}",t),r=e.substring(t+3,i);let s;const o=o=>{this.currentType=o,0===t&&i===e.length-1&&(this.selectedFormats=this.patternList.filter(e=>e.name===r),this.formatResult=r,s=!0)};Object.keys(this._standardPatternSource).some(e=>{if(-1!==this._standardPatternSource[e].patterns.indexOf(r))return o(e),!0;const t=this._customPatternSource[this._standardPatternSource[e].type];return!(!t||-1===t.indexOf(r))&&(o(e),!0)}),s||(this.currentType=this.types[0].name,this.selectedFormats=[],this.formatResult=e)}constructor(e,t,i,r,s,o=".dx-designer-viewport"){super(),this._value=e,this._disabled=t,this.popupContainer=o,this._timeout=null,this.localizationIdMap={title:{text:"FormatString Editor",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Title"},category:{text:"Category",localizationId:"AnalyticsCoreStringId.Category"},preview:{text:"Preview",localizationId:"AnalyticsCoreStringId.TooltipButtons_Preview"},types:{text:"Types",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Types"},add:{text:"Add",localizationId:"DataAccessUIStringId.Button_Add"},prefix:{text:"Prefix",localizationId:"AnalyticsCoreStringId.Prefix"},suffix:{text:"Suffix",localizationId:"AnalyticsCoreStringId.FormatStringEditor_Suffix"}},this.popupService=new Ul,this._standardPatternSource=i||lg,this._customPatternSource=r||{},this.types=this._convertTypes(this._standardPatternSource),this.currentType=this.types[0].name,s&&s.updatePreview&&(this.updatePreview=s.updatePreview),this.setType=e=>{this.currentType=e.itemData.name,this.selectedTypes=this.types.filter(t=>t.name===e.itemData.name),this._updateSelection()},this.setFormat=e=>{this.formatResult=e.itemData.name,this.selectedFormats=this.patternList.filter(t=>t.name===e.itemData.name)},this.addCustomFormat=()=>{this.formatResult&&this.canAddCustomFormat&&(this.customPatterns.push(this.formatResult),this._updateFormatList(),this._scrollToBottom(),s&&s.saveCustomPattern(this.currentType,this.formatResult),this._updateSelection(this.patternList.length-1),this.canAddCustomFormat=!1)},this.removeCustomFormat=e=>{const t=this.selectedFormats[0],i=this.patternList,r=i.map(e=>e.name).indexOf(e.name);this.customPatterns.splice(this.customPatterns.indexOf(e.name),1),this._updateFormatList(),s&&s.removeCustomPattern(this.currentType,e.name),t.name===e.name?this._updateSelection(r===i.length-1?this.patternList.length-1:r):this.selectedFormats=this.patternList.filter(e=>e.name===t.name)},this.addDisposable(this._value.setValueChangedEvent?.(()=>this._publish("value"))||(()=>{}),this._disabled?.setValueChangedEvent?.(()=>this._publish("disabled"))||(()=>{}))}get value(){return this._value.getValue()}get disabled(){return!!this._disabled?.getValue()}onPropertyChanged(e){switch(e.propertyName){case"currentType":this.isGeneralType?(this.formatResult="",this.selectedFormats=[]):this._updateFormatList();break;case"formatResult":this._updateCanAddCustomFormat(e.newValue),this._updatePreview();break;case"formatPrefix":case"formatSuffix":this._updatePreview();break;case"popupVisible":if(!e.newValue)return;this._initEditor(this.value),this.selectedTypes=this.types.filter(e=>e.name===this.currentType)}}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();switch(e.propertyName){case"currentType":t.isGeneralType=this.isGeneralType;break;case"isDisabled":return void(t.buttonItems=this.buttonItems)}e.propertyName in t&&(t[e.propertyName]=this[e.propertyName])}_publish(e){this.isViewModelReady()&&(this.getViewModel()[e]=this[e])}createViewModel(){return Zi(super.createViewModel()).generateProperty("value",this.value).generateProperty("onValueChanged",e=>this._value.setValue?.(e.value)).generateProperty("disabled",this.disabled).generateProperty("popupVisible",this.popupVisible).generateProperty("setPopupVisible",e=>{this.popupVisible=e}).generateProperty("onHidingHandler",()=>{this.popupVisible=!1}).generateProperty("buttonItems",this.buttonItems).generateProperty("types",this.types).generateProperty("selectedTypes",this.selectedTypes).generateProperty("setType",this.setType).generateProperty("patternList",this.patternList).generateProperty("selectedFormats",this.selectedFormats).generateProperty("setFormat",this.setFormat).generateProperty("addCustomFormat",this.addCustomFormat).generateProperty("removeCustomFormat",this.removeCustomFormat).generateProperty("canAddCustomFormat",this.canAddCustomFormat).generateProperty("formatResult",this.formatResult).generateProperty("formatPrefix",this.formatPrefix).generateProperty("formatSuffix",this.formatSuffix).generateProperty("updateInputText",(e,t)=>this.updateInputText(e,t)).generateProperty("previewString",this.previewString).generateProperty("isGeneralType",this.isGeneralType).generateProperty("getDisplayText",e=>this.getDisplayText(e)).generateProperty("getPopupContainer",e=>this.getPopupContainer(e)).getViewModel()}updateInputText(e,t){this[e]=t.option("text")}updatePreview(e,t,i){return(new z).resolve({Result:e||"preview string"}).promise()}get buttonItems(){return[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:$i("OK",_u.DataAccessBtnOK),type:"default",stylingMode:"contained",disabled:this.isDisabled,onClick:()=>this.okAction()}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:$i("Cancel",_u.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:()=>{this.popupVisible=!1}}}]}get customPatterns(){const e=this._standardPatternSource[this.currentType];return this._customPatternSource[e.type]=this._customPatternSource[e.type]||[]}get isGeneralType(){return"General"===this.currentType}getDisplayText(e){return $i(this.localizationIdMap[e].text,this.localizationIdMap[e].localizationId)}getPopupContainer(e){return L(e).closest(this.popupContainer)[0]}}lm([rr()],cm.prototype,"currentType",void 0),lm([rr(!1)],cm.prototype,"isDisabled",void 0),lm([sr(()=>[])],cm.prototype,"patternList",void 0),lm([rr(!1)],cm.prototype,"canAddCustomFormat",void 0),lm([rr("")],cm.prototype,"formatPrefix",void 0),lm([rr("")],cm.prototype,"formatSuffix",void 0),lm([rr("Preview string")],cm.prototype,"previewString",void 0),lm([rr("")],cm.prototype,"formatResult",void 0),lm([sr(()=>[])],cm.prototype,"selectedFormats",void 0),lm([sr(()=>[])],cm.prototype,"selectedTypes",void 0),lm([rr(!1)],cm.prototype,"popupVisible",void 0),An("dxFormatEditor",{init:function(e,t,i,r){L(e).empty(),L(e).addClass("dx-popup-general");const s=zr("dx-format-string"),o=L(e).append(s),n=t(),a=new cm($t(n.value),function(e,t){return kt(e)?e:t?.setDisabledChangedEvent?{getValue:()=>t.getDisabled?t.getDisabled():t.disabled,setValueChangedEvent:t.setDisabledChangedEvent}:$t(!!e)}(n.disabled,r),n.standardPatterns,n.customPatterns,n.actions,n.popupContainer);return Xt.applyBindings(a.getViewModel(),o.children()[0]),yr(e,function(){a.dispose()}),{controlsDescendantBindings:!0}}});class um extends _l{_checkBoxInitializedHandler(e){const t=e.jquery||e.dxRenderer?e[0]:e,i=t?.closest(".dx-field")?.getElementsByTagName("label"),r=Array.from(i).filter(e=>e.getAttribute("data-dx-for")===this.editorInputId)[0];if(r){this._disposeLabelSubscription&&this._disposeLabelSubscription();const e="click",i=()=>t.dispatchEvent(new Event(e));r.addEventListener(e,i),this._disposeLabelSubscription=()=>{r.removeEventListener(e,i),this._disposeLabelSubscription=void 0},yr(r,()=>this._disposeLabelSubscription&&this._disposeLabelSubscription())}}onInitialized(e){super.onInitialized(e),this._checkBoxInitializedHandler(this.element)}}class pm extends _l{getDisplayValue(){const e=this.value;if(!e)return;if(e&&"transparent"===e.toLowerCase())return"rgba(0,0,0,0)";if(/^rgba\s*\((\s*[a-f\d]+\s*,){3}\s*[a-f\d]+\s*\)$/i.test(e))return e;const t=document.createElement("div");return t.style.backgroundColor=e,t.style.backgroundColor||"rgba(0,0,0,1)"}constructor(...e){super(...e),this.assignDerivedProperty("displayValue",()=>this.getDisplayValue(),()=>[qt(this,["value"])],e=>this.setEditorValue(e))}setEditorValue(e){e!==this.getDisplayValue()&&super.setEditorValue(e)}createViewModel(){return Zi(super.createViewModel()).generateProperty("displayValue",this.displayValue).getViewModel()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"displayValue"===e.propertyName&&(t.displayValue=this.displayValue)}}class hm extends _l{getFieldListProviderSource(){return zt(this.rootContext,"dataBindingsProvider")}getDisplayNameProviderSource(){return zt(this.rootContext,"displayNameProvider")}getFieldListProvider(){return this.getFieldListProviderSource().getValue()}getDisplayNameProvider(){return this.getDisplayNameProviderSource().getValue()}createViewModel(){const e=Zi(super.createViewModel()).generateProperty("fieldListProvider",this.getFieldListProvider()).generateProperty("setFieldListProviderChangedEvent",e=>this.subscribeSource(this.getFieldListProviderSource(),()=>e(this.getFieldListProvider()))).generateProperty("displayNameProvider",this.getDisplayNameProvider()).getViewModel();return this.addDisposable(this.subscribeSource(this.getFieldListProviderSource(),()=>{e.fieldListProvider=this.getFieldListProvider()}),this.subscribeSource(this.getDisplayNameProviderSource(),()=>{e.displayNameProvider=this.getDisplayNameProvider()})),e}subscribeSource(e,t){return e.setValueChangedEvent?.(t)||(()=>{})}}class gm extends hm{}class mm extends hm{createViewModel(){return Zi(super.createViewModel()).generateProperty("getDisplayNameByPath",this.rootContext.getDisplayNameByPath).generateProperty("aiExpressionGenerator",this.rootContext.aiExpressionGenerator?.getViewModel()).getViewModel()}}class fm extends mm{getFieldListProviderSource(){return zt(this.rootContext,"dataBindingsGroupProvider")}}var xm=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class vm extends _l{updateDisplayNameWithProvider(){const e=this.value;e&&"string"!=typeof e||this.getDisplayName(e||"").done(e=>this.$displayName=e)}getDisplayName(e,t){return Bp(this.rootContext?.displayNameProvider,this.path,e,t)}createViewModel(){return Zi(super.createViewModel()).generateProperty("path",this.path).generateProperty("treeListController",this.treeListController).generateProperty("$displayName",this.$displayName).generateProperty("dataBindingsProvider",this.dataBindingsProvider).getViewModel()}onPropertyChanged(e){super.onPropertyChanged(e),this.isViewModelReady()||"path"!==e.propertyName&&"value"!==e.propertyName||this.updateDisplayNameWithProvider()}updateViewModel(e){super.updateViewModel(e);const t=this.getViewModel();"path"===e.propertyName&&(t.path=this.path),"$displayName"===e.propertyName&&(t.$displayName=this.$displayName),"dataBindingsProvider"===e.propertyName&&(t.dataBindingsProvider=this.dataBindingsProvider),"path"!==e.propertyName&&"value"!==e.propertyName||this.updateDisplayNameWithProvider()}onInitialized(e){if(super.onInitialized(e),!e)return;const t=zt(this.rootContext,"dataBindingsProvider");this.dataBindingsProvider=t.getValue(),this.addDisposable(t.setValueChangedEvent(e=>{this.dataBindingsProvider=e}))}constructor(e,t){super(e,t),this.assignDerivedProperty("path",()=>this._model?.getPath?.(this.name)||"",()=>[qt(this,["_model"]),...this._model?.getPathPropertyDependencies?.(this.name)||[]]),this.addDisposable(this.treeListController=this.getTreeListController())}getTreeListController(){return new uh}}xm([rr("")],vm.prototype,"$displayName",void 0),xm([rr(()=>null)],vm.prototype,"dataBindingsProvider",void 0);class ym extends vm{constructor(e,t){super(e,t),this._disposables.push(this.treeListController)}getTreeListController(){return new Mp}}const bm=Ys(()=>{Js.registerEditors({guid:{header:"dxrd-guid",editorType:Hp},date:Gp(J.SystemDateTime),dateOnly:Gp(J.SystemDateOnly),timeOnly:Gp(J.SystemTimeOnly),nullableDate:{header:"dx-date"},customColorEditor:{header:"dxrd-colorpicker",editorType:pm},sbyte:jp(J.SystemSByte,"integer"),decimal:jp(J.SystemDecimal,"float"),int64:jp(J.SystemInt64,"integer"),int32:jp(J.SystemInt32,"integer"),int16:jp(J.SystemInt16,"integer"),single:jp(J.SystemSingle,"float"),double:jp(J.SystemDouble,"float"),byte:jp(J.SystemByte,"integer"),uint16:jp(J.SystemUInt16,"integer"),uint32:jp(J.SystemUInt32,"integer"),uint64:jp(J.SystemUInt64,"integer")})}),Cm=Ys(()=>{bm(),Js.registerEditors({borders:{header:"dxrd-border-editor",editorType:su},textAlignment:{header:"dxrd-textalignment-editor",editorType:Ap},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:$l},field:{header:"dxrd-field",editorType:vm},dataMember:{header:"dxrd-field",editorType:ym},filterEditor:{header:"dxrd-filterstring",editorType:mm},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring",editorType:gm}})}),wm=Ys(()=>{Js.registerEditors({bool:{header:"dx-boolean",editorType:um},boolSelect:{header:"dx-boolean-select"},numeric:{header:"dx-numeric"},modificators:{custom:"dx-modificators",editorType:Gg},combobox:{header:"dx-combobox"},text:{header:"dx-text"},commonCollection:{custom:"dx-commonCollection"},objecteditor:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:$l}})});Ys(()=>{wm(),Js.registerEditors({comboboxEditable:{header:"dx-combobox-editable"},image:{header:"dx-image"},file:{header:"dx-file"},stringArray:{header:"dx-emptyHeader",content:"dx-string-array"},font:{header:"dx-emptyHeader",content:"dx-objectEditorContent",editorType:Hg},inplaceObjectEditor:{custom:"dx-objectEditorContent",editorType:Ol}})})(),Cm();var _m=function(e,t,i,r){var s,o=arguments.length,n=o<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,i):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};class Am extends or{constructor(e=1){super(),this.assignProperty("zoom",e)}}class Em extends nr{deferredUpdateViewModel(){return!1}unitPropertySources(e){return[]}containerSources(){return[qt(this._control,["parentModel"])]}installUnitProperty(e,t,i,r,s){let o=0;const n=i(e),a=()=>{const e=so(n.getValue(),Ft(r),s.getValue());return Math.abs(e-o)>.2?e:o};this.unitPixels[t]=a;this.assignDerivedProperty(t,()=>(o=a(),o),()=>[n,s,...this.unitPropertySources(t)],e=>{const t=e;Math.abs(t-o)<=.2||(o=t,n.setValue?.(oo(t,Ft(r),s.getValue())))},{cached:!0})}peekUnitValue(e){const t=this.unitPixels[e];return t?t():this[e]}_getX(){return this.rtlLayout()&&this.container?this.container.rect.width-this.peekUnitValue("_x")-this.peekUnitValue("_width"):this.peekUnitValue("_x")}_setX(e,t){t=t||this.peekUnitValue("_width"),this.rtlLayout()&&this.container?this._x=this.container.rect.width-e-t:this._x=e}getRoot(){return this._context}preInitProperties(e,t,i){}constructor(e,t,i){if(super(),this._createSurface=e=>e.surface||new(e.getControlFactory().controlsMap[e.controlType].surfaceType)(e,this._context),this.unitPixels={},this.preInitProperties(e,t,i),this._control=e,this._context=t,e.surface=this,this._context){const t=this._context.measureUnitAccessor??this._context.measureUnit,r=this._context.zoomAccessor??$t(this._context.zoom??1);Object.keys(i||{}).forEach(s=>this.installUnitProperty(e,s,i[s],t,r))}["_x","_y","_width","_height"].forEach(e=>{Object.prototype.hasOwnProperty.call(this,e)||this.assignProperty(e,0)}),this.assignDerivedProperty("rect",()=>this._rect,()=>[qt(this,["_rect"])],e=>this.writeRect(e)),this.assignProperty("container",this.readContainer()),this.addDisposable(gi(()=>[qt(this,["_x","_y","_width","_height","container"]),qt(e,["update"]),this._context&&qt(this._context,["rtl"]),this.container&&this.rtlLayout()?qt(this.container,["rect"]):void 0],()=>this.updateGeometry()),gi(()=>this.containerSources(),()=>{const e=this.readContainer();if(this.container!==e&&this.rtlLayout()){const t=this._getX();this.container=e,this._setX(t)}else this.container=e},!1))}updateGeometry(){const e=this._getX(),t=this.peekUnitValue("_y"),i=this.peekUnitValue("_width"),r=this.peekUnitValue("_height"),s={top:t,left:e,width:i,height:r,lineHeight:r},o=this.position;if(o&&!Object.keys(s).some(e=>o[e]!==s[e])||(this.position=s),this._control.update)return;const n={top:t,left:e,right:e+i,bottom:t+r,width:i,height:r},a=this._rect;a&&!Object.keys(n).some(e=>a[e]!==n[e])||(this._rect=n)}writeRect(e){e=this.beforeRectUpdated(e),this._control.update=!0;try{const t=this._getX();void 0!==e.left?this._setX(e.left,e.width):void 0!==e.width&&this._setX(t,e.width),void 0!==e.top&&(this._y=e.top),void 0!==e.right&&void 0===e.left&&void 0===e.width&&(this._width=e.right-t),void 0!==e.bottom&&void 0===e.top&&(this._height=e.bottom-this._y),void 0!==e.right&&void 0!==e.left&&void 0===e.width&&(this._width=e.right-e.left),void 0!==e.bottom&&void 0!==e.top&&(this._height=e.bottom-e.top),void 0!==e.width&&(this._width=e.width),void 0!==e.height&&(this._height=e.height)}finally{this._control.update=!1}}createViewModel(){const e=Zi(super.createViewModel()).generateProperty("position",this.position).generateProperty("template",this.template).generateProperty("selectiontemplate",this.selectiontemplate).generateProperty("templateName",this.templateName).generateProperty("selected",!!this.selected).generateProperty("clickHandler",(e,t)=>this.clickHandler?.(e,t)).generateProperty("reportContextMenuHandler",this.reportContextMenuHandler?(e,t)=>this.reportContextMenuHandler(e,t):void 0).generateProperty("selectionTemplate",this.selectionTemplate).generateProperty("vrulerTemplate",this.vrulerTemplate).generateProperty("leftMarginTemplate",this.leftMarginTemplate).generateProperty("leftMarginSelectionTemplate",this.leftMarginSelectionTemplate).getViewModel();return this.addDisposable(tt(this,"position",()=>e.position=this.position)),e}readContainer(){return this.parent}beforeRectUpdated(e){return e.left=e.left<0?0:e.left,e.top=e.top<0?0:e.top,e}rtlLayout(){return!!this._context?.rtl}getControlModel(){return this._control}}_m([rr()],Em.prototype,"position",void 0),_m([rr()],Em.prototype,"_rect",void 0);class Sm extends Em{constructor(e,t,i){super(e,t,i),this.underCursor=new jo,this.allowMultiselect=!0,this.childrenCollectionChanged=e=>{const t=this.getChildrenCollectionSource(),i=this.childrenCollectionName(t);return i?st(this.childrenCollectionOwner(t),i,e):()=>{}},this.absolutePosition=new Pa(0,0),this.childrenGeometryChanged=di(()=>this.childrenGeometrySources()),this.getControlModel=()=>e,this.cssCalculator=new No(e,()=>!!this._context.rtl);const r=this._getChildrenHolderName();if(r&&e[r]){this.assignArrayProperty(r,[]);const t=r,i="controls"===r?ga:fa;this._disposables.push(i(e,t,this[r],this._createSurface)),this.selectionChildrenName=r}this.assignDerivedProperty("isSelected",()=>this.readIsSelected(),()=>this.isSelectedSources()),this.assignDerivedProperty("css",hi(()=>this.readCss()),()=>this.cssSources(),void 0,{lazy:!0,cached:!0}),this.assignDerivedProperty("contentCss",hi(()=>this.readContentCss()),()=>this.cssSources(),void 0,{lazy:!0,cached:!0}),this.assignDerivedProperty("absoluteRect",()=>this.readAbsoluteRect(),()=>[qt(this,["rect"]),qt(this.absolutePosition,["x","y"])]),this.addDisposable(gi(()=>this.absolutePositionSources(),()=>{this.updateAbsolutePosition()})),this.locked="lockedInUserDesigner"in e&&!!e.lockedInUserDesigner,this.layoutDirectionChanged=di(()=>{const t=[];for(let i=e;i;i=i.parentModel)t.push(qt(i,["rightToLeft"])),t.push(qt(i,["parentModel"]));return t})}createViewModel(){const e=Zi(super.createViewModel()).generateProperty("css",this.css).generateProperty("contentCss",this.contentCss).generateProperty("selected",this.selected).generateProperty("focused",this.focused).generateProperty("isSelected",this.isSelected).generateProperty("locked",this.locked).generateProperty("underCursor",this.underCursor).getViewModel();return this.addDisposable(tt(this,"css",()=>e.css=this.css),tt(this,"contentCss",()=>e.contentCss=this.contentCss),tt(this,"selected",()=>e.selected=this.selected),tt(this,"focused",()=>e.focused=this.focused),tt(this,"isSelected",()=>e.isSelected=this.isSelected)),e}readSelectionChildren(){return this.selectionChildrenName&&this[this.selectionChildrenName]}readIsSelected(){if(this.focused||this.selected)return!0;const e=this.readSelectionChildren();return!!e&&e.some(e=>e.isSelected)}isSelectedSources(){const e=qt(this,["focused","selected"]);if(this.focused||this.selected)return[e];const t=this.selectionChildrenName,i=[e,t?qt(this,[t]):void 0];for(const e of this.readSelectionChildren()||[])if(i.push(qt(e,["isSelected"])),e.isSelected)break;return i}_getParent(){return this.getControlModel().parentModel&&this.getControlModel().parentModel.surface}get parent(){return this._getParent()}checkParent(e){return this.parent===e}readCss(){return xe({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.backGroundCss(),this.cssCalculator.textAlignmentCss())}readContentCss(){return xe({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss(),this.cssCalculator.angle(),this.cssCalculator.wordWrapCss(),this.cssCalculator.lineSpacingCss(),this.cssCalculator.paddingsCss())}cssSources(){const e=this.getControlModel(),t=e.paddingObj||e.padding;return[qt(e,["font","foreColor","backColor","textAlignment","angle","wordWrap","multiline","lineSpacing"]),qt(e,["paddingObj","padding"]),t&&t.events?qt(t,["left","top","right","bottom"]):void 0,this._context?qt(this._context,["rtl"]):void 0,this.layoutDirectionChanged]}_getChildrenHolderName(){return"controls"}getChildrenCollectionSource(){const e=this._getChildrenHolderName();return e?qt(this,[e]):void 0}childrenCollectionName(e){return e&&"*"!==e.properties?e.properties[0]:void 0}childrenCollectionOwner(e){return e?.model}getChildrenCollection(){const e=this.getChildrenCollectionSource(),t=this.childrenCollectionName(e);return t&&this.childrenCollectionOwner(e)[t]||[]}absolutePositionSources(){const e=this.parent;return[qt(this,["rect"]),qt(this.getControlModel(),["parentModel"]),e&&e.absolutePosition?qt(e.absolutePosition,["x","y"]):void 0]}readAbsoluteRect(){const e=this.rect||{},t=this.absolutePosition.y,i=this.absolutePosition.x;return{top:t,left:i,right:i+e.width,bottom:t+e.height,width:e.width,height:e.height}}updateAbsolutePosition(){if(this.parent&&this.parent.absolutePosition){const e=this.parent.absolutePosition.x,t=this.parent.absolutePosition.y,i=e+this.rect.left,r=t+this.rect.top;this.absolutePosition.x=i,this.absolutePosition.y=r}else this.absolutePosition.x=0,this.absolutePosition.y=0;this.afterUpdateAbsolutePosition()}canDrop(){return!this.locked&&this._control.getMetaData().isContainer}canDropSources(){return[qt(this,["locked"])]}afterUpdateAbsolutePosition(){}findNextSelection(){const e=this.parent;let t=e;if(e){const i=e.getChildrenCollection(),r=i.indexOf(this);-1===r&&i.length>0?t=i[i.length-1]:i.length>1&&r===i.length-1?t=i[r-1]:i.length>1&&0===r||i.length>1?t=i[i.length-1]:-1===r&&t.parent&&-1===t.parent.getChildrenCollection().indexOf(t)&&(t=t.findNextSelection())}return t}childrenGeometrySources(){const e=[this.childrenCollectionChanged];return(this.getChildrenCollection()||[]).forEach(t=>e.push(...Im(t&&t.getControlModel()))),e}}function Im(e){return[qt(e,["size"]),qt(e,["location"]),qt(e,["parentModel"]),e.size&&qt(e.size,["width","height"]),e.location&&qt(e.location,["x","y"])]}_m([rr(!1)],Sm.prototype,"focused",void 0),_m([rr(!1)],Sm.prototype,"selected",void 0);class Pm extends eo{getInfo(){return Vo}constructor(e,t,i,r){super(),this.assignProperty("bottom",r),this.assignProperty("left",e),this.assignProperty("right",t),this.assignProperty("top",i)}static fromString(e=Pm.defaultVal){const t=e.split(",");return new Pm(parseFloat(t[0]),parseFloat(t[1]),parseFloat(t[2]),parseFloat(t[3]))}toString(){return this.left+", "+this.right+", "+this.top+", "+this.bottom}}Pm.defaultVal="100, 100, 100, 100",Pm.unitProperties=["left","right"];class Dm extends eo{preInitProperties(e,t,i){}constructor(e,t,i){super(),this.preInitProperties(e,t,i),i&&(this.getInfo=()=>i),t=this.modelSerializer=this.resolveSerializer(t),this.deserialize(e,t)}getInfo(){return null}}function Tm(e,t){return e.height===t.height&&e.width===t.width}function Vm(e){be(e)}function Mm(e,t){return Object.keys(e||{}).map(i=>t(e[i]))}function km(e){e.define("ace/theme/dreamweaver",["require","exports","module"],function(e,t,i){return i.isDark=!1,i.cssClass="ace-dreamweaver",i}),e.define("ace/theme/ambiance",["require","exports","module"],function(e,t,i){return i.isDark=!0,i.cssClass="ace-ambiance",i})}function Fm(e){return e&&-1!==e.indexOf("/")?e.split("/").pop():zd()?"ambiance":"dreamweaver"}function $m(e){e.define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],function(t,i,r){const s=e.require("ace/lib/oop"),o=e.require("ace/mode/text").Mode,n=e.require("ace/mode/criteria_highlight_rules").CriteriaHighlightRules,a=function(){this.HighlightRules=n};s.inherits(a,o),i.Mode=a}),e.define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,i,r){const s=e.require("ace/lib/oop"),o=e.require("ace/mode/text_highlight_rules").TextHighlightRules,n=e.require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules,a=function(){this.$rules={start:[{token:"comment",start:"/\\*",end:"\\*/"},{token:"constant.other",regex:/(?:#(?:[^\\\#]|(?:\\.))*#?)|(?:\{[-0-9A-Fa-f]*\}?)/},{token:"string.quoted.single",regex:/N?'(?:\\.|[^'\\])*'?/},{token:"constant.numeric",regex:/[+\-]?\.?\d[\d.]*/i},{token:"support.other.aggregate",regex:/\.([a-zA-Z_]\w*)/},{token:"keyword.operator",regex:/[+\-*/%|&^<>]|==|!=|<=|>=|In|Like|Between|And|Or|Not/i},{token:"constant.language",regex:/True|False/i},{token:"support.context.start",regex:/\[(?:[^\]\)])*\]\[/},{token:"support.variable.other",regex:/\[(?:[^\]\,])*\]?/},{token:"support.variable.parameter",regex:/\?\w+/},{token:"support.context.end",regex:/\]/},{token:"support.function",regex:/[_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC][\d_\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376-\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E-\u066F\u0671-\u06D3\u06D5\u06E5-\u06E6\u06EE-\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4-\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F-\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC-\u09DD\u09DF-\u09E1\u09F0-\u09F1\u0A05-\u0A0A\u0A0F-\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32-\u0A33\u0A35-\u0A36\u0A38-\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2-\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0-\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F-\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32-\u0B33\u0B35-\u0B39\u0B3D\u0B5C-\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99-\u0B9A\u0B9C\u0B9E-\u0B9F\u0BA3-\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60-\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0-\u0CE1\u0CF1-\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32-\u0E33\u0E40-\u0E46\u0E81-\u0E82\u0E84\u0E87-\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA-\u0EAB\u0EAD-\u0EB0\u0EB2-\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065-\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE-\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5-\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*/}],comment:[{token:"comment",regex:"\\*\\/",next:"no_regex"},{defaultToken:"comment"}]},this.embedRules(n,"doc-",[n.getEndRule("start")]),this.normalizeRules()};s.inherits(a,o),i.CriteriaHighlightRules=a})}function Om(e){e.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(t,i,r){const s=e.require("ace/lib/oop"),o=e.require("ace/mode/text_highlight_rules").TextHighlightRules,n=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},n.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};s.inherits(n,o),n.getTagRule=function(){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},n.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},n.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},i.DocCommentHighlightRules=n})}let Nm=!1;function Bm(e){if(!Nm){Om(e),$m(e),km(e);try{e.config.set("useStrictCSP",!0)}catch{console.warn("Update 'ace' version to 1.4.13")}"setModuleLoader"in e.config&&(e.config.setModuleLoader("./theme/textmate",async()=>e.require("./theme/textmate")),e.config.setModuleLoader("ace/mode/criteria",async()=>e.require("ace/mode/criteria")),e.config.setModuleLoader("ace/mode/sql",async()=>e.require("ace/mode/sql")),e.config.setModuleLoader("ace/mode/text",async()=>e.require("ace/mode/text")),e.config.setModuleLoader("ace/mode/json",async()=>e.require("ace/mode/json")))}Nm=!0}An("dxAceEditor",{init:function(e,t,i,r,s){const o=Sp()||window.ace;Bm(o);const n=t(),a=n.value,d=n.editorContainer;let l,c=!0;const u=(e,t)=>{c=!1,e.getSession().setValue(t&&t.toString()||""),e.clearSelection(),e.getSession().getUndoManager().reset(),c=!0};if(o){const t=null==n.options.showGutter||n.options.showGutter,i=n.additionalOptions,d=o.require("ace/ext/language_tools"),p="ace/theme/"+Fm(n.theme);l=o.edit(e,{theme:p}),l.$blockScrolling=1/0;const h=r.languageHelper.getLanguageMode(),g=l.getSession();g.gutterRenderer={getWidth:(e,t,i)=>t.toString().length*i.characterWidth,getText:(e,t)=>t+1},g.setMode(h);let m,f,x,v=()=>{l.completer&&l.completer.popup&&l.completer.popup.hide()};if(i){if(i.onChange){let e=null;m=t=>{null!==e&&clearTimeout(e),c&&(e=setTimeout(()=>{(Ft(a)!==g.getValue()||(g.getAnnotations()||[]).some(e=>"error"===e.type))&&i.onChange(g)},i&&i.changeTimeout||1e3))},g.on("change",m)}i.overrideEditorFocus&&(l.focus=function(e,t){l.textInput.getElement().focus()}),i.onFocus&&(f=()=>{i.onFocus(g)},l.on("focus",f)),i.onBlur&&(v=()=>(l.completer&&l.completer.popup&&l.completer.popup.hide(),i.onBlur(g))),i.onChangeAnnotation&&(x=(e,t)=>{i.onChangeAnnotation(t)},g.on("changeAnnotation",x))}l.on("blur",v);const y=r.languageHelper.createCompleters(l,s,r);if(d.setCompleters(y),l.setOptions({autoScrollEditorIntoView:!1,...n.options}),i&&"setUseWrapMode"in i&&l.getSession().setUseWrapMode(i.setUseWrapMode),t||l.renderer.setShowGutter(t),l.renderer.$gutter){const e=l.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary";l.renderer.$gutter.className=e}const b=l._defaultHandlers.guttermousemove;b&&(l._defaultHandlers.guttermousemove=function(t){const i=e.getBoundingClientRect();t.x=t.x-i.left,t.y=t.y-i.top,b(t)});const C=e=>{e!==g.getValue()&&u(l,e),i&&i.onValueChange&&i.onValueChange(l)},w=kt(a)?a:r?.valueAccessor,_=w?.setValueChangedEvent?.(C);u(l,Ft(a)),n.callbacks&&(n.callbacks.focus=()=>{setTimeout(()=>{l.textInput.getElement().focus()},10)}),yr(e,function(){l.completers&&l.completers.splice(0),l._defaultHandlers.guttermousemove=b,_?.(),n.callbacks&&(n.callbacks.focus=()=>{}),y.forEach(e=>e.dispose&&e.dispose()),v&&l.off("blur",v),f&&l.off("focus",f),m&&g.off("change",m),x&&g.off("changeAnnotation",x),l.destroy()})}fe(d)&&d(l)}}),function(){const e=window.ko;let t=!1;window.DevExpress&&window.DevExpress.ui&&window.DevExpress.ui.dxTextBox?t=!0:console.error("The DevExtreme library is missing. Check whether a script is included on the page."),e?!e.bindingHandlers.dxPopup&&t&&console.error("The DevExtreme library is included before the Knockout library. Check the order in which the scripts appear on the page."):console.error("The Knockout library is missing. Check whether a script is included on the page."),window.$||window.jQuery||console.error("The jQuery library is missing. Check whether a script is included on the page.")}(),Pn();const Lm=window.DevExpress||{};var zm;(zm=Lm).Analytics=zm.Analytics||{},zm.Analytics.Internal=t,zm.Analytics.Serializer=zm.Analytics.Serializer||{},zm.Analytics.Serializer.Native=g,zm.Analytics.Utils=i,zm.Analytics.Widgets=s,zm.Analytics.Widgets.Ace=m,zm.Analytics.Widgets.Metadata=o,zm.Analytics.Widgets.Internal=r,zm.Analytics.Widgets.Filtering=n,zm.Analytics.Widgets.TreeList=l,zm.Analytics.Criteria=a,zm.Analytics.Criteria.Utils=d,zm.Analytics.Elements=c,zm.Analytics.Elements.Metadata=u,zm.Analytics.Tools=p,zm.Analytics.Localization=h,zm.Analytics.VERSION=yo,function(){const e=window.DevExpress,t=e.Analytics.VERSION,i=e.VERSION;i!=t&&console.warn(`Analytics-Core (v${t}) and DevExtreme (v${i}) versions do not match.`)}();Lm.Analytics})();