@devexpress/analytics-core 23.2.1-alpha-23254-1700 → 23.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 (1167) hide show
  1. package/accessibility/_accordionKeyboardHelper.d.ts +2 -2
  2. package/accessibility/_accordionKeyboardHelper.js +2 -2
  3. package/accessibility/_controlElementBase.d.ts +2 -2
  4. package/accessibility/_controlElementBase.js +2 -2
  5. package/accessibility/_controlElementWithParentHighlight.d.ts +4 -4
  6. package/accessibility/_controlElementWithParentHighlight.js +2 -2
  7. package/accessibility/_dxMutationObserver.d.ts +2 -2
  8. package/accessibility/_dxMutationObserver.js +2 -2
  9. package/accessibility/_internal.d.ts +2 -2
  10. package/accessibility/_internal.js +2 -2
  11. package/accessibility/_keyboardHelperBase.d.ts +2 -2
  12. package/accessibility/_keyboardHelperBase.js +2 -2
  13. package/accessibility/_keyboardHelperWithArrowButtonBase.d.ts +2 -2
  14. package/accessibility/_keyboardHelperWithArrowButtonBase.js +2 -2
  15. package/accessibility/_listKeyboardHelper.d.ts +2 -2
  16. package/accessibility/_listKeyboardHelper.js +2 -2
  17. package/accessibility/_rightPanelKeyboardHelperNative.d.ts +2 -2
  18. package/accessibility/_rightPanelKeyboardHelperNative.js +2 -2
  19. package/accessibility/_toolbarKeyboardHelper.d.ts +2 -2
  20. package/accessibility/_toolbarKeyboardHelper.js +2 -2
  21. package/accessibility/_treeListKeyboardHelper.d.ts +2 -2
  22. package/accessibility/_treeListKeyboardHelper.js +2 -2
  23. package/analytics-criteria-utils.d.ts +2 -2
  24. package/analytics-criteria-utils.js +2 -2
  25. package/analytics-criteria.d.ts +2 -2
  26. package/analytics-criteria.js +2 -2
  27. package/analytics-data-internal.d.ts +2 -2
  28. package/analytics-data-internal.js +2 -2
  29. package/analytics-data-metadata.d.ts +2 -2
  30. package/analytics-data-metadata.js +2 -2
  31. package/analytics-data-utils.d.ts +2 -2
  32. package/analytics-data-utils.js +2 -2
  33. package/analytics-data.d.ts +2 -2
  34. package/analytics-data.js +2 -2
  35. package/analytics-diagram.d.ts +2 -2
  36. package/analytics-diagram.js +2 -2
  37. package/analytics-elements-metadata.d.ts +2 -2
  38. package/analytics-elements-metadata.js +2 -2
  39. package/analytics-elements-native.d.ts +2 -2
  40. package/analytics-elements-native.js +2 -2
  41. package/analytics-elements.d.ts +2 -2
  42. package/analytics-elements.js +2 -2
  43. package/analytics-internal-native.d.ts +2 -2
  44. package/analytics-internal-native.js +2 -2
  45. package/analytics-internal.d.ts +2 -2
  46. package/analytics-internal.js +2 -2
  47. package/analytics-localization-native.d.ts +2 -2
  48. package/analytics-localization-native.js +2 -2
  49. package/analytics-localization.d.ts +2 -2
  50. package/analytics-localization.js +2 -2
  51. package/analytics-resources.d.ts +2 -2
  52. package/analytics-resources.js +2 -2
  53. package/analytics-serializer-native.d.ts +2 -2
  54. package/analytics-serializer-native.js +2 -2
  55. package/analytics-tools.d.ts +2 -2
  56. package/analytics-tools.js +2 -2
  57. package/analytics-utils-native.d.ts +2 -2
  58. package/analytics-utils-native.js +2 -2
  59. package/analytics-utils.d.ts +2 -2
  60. package/analytics-utils.js +2 -2
  61. package/analytics-version.d.ts +2 -2
  62. package/analytics-version.js +3 -3
  63. package/analytics-widgets-ace.d.ts +2 -2
  64. package/analytics-widgets-ace.js +2 -2
  65. package/analytics-widgets-filtering.d.ts +2 -2
  66. package/analytics-widgets-filtering.js +2 -2
  67. package/analytics-widgets-internal-native.d.ts +2 -2
  68. package/analytics-widgets-internal-native.js +2 -2
  69. package/analytics-widgets-internal.d.ts +2 -2
  70. package/analytics-widgets-internal.js +2 -2
  71. package/analytics-widgets-metadata.d.ts +2 -2
  72. package/analytics-widgets-metadata.js +2 -2
  73. package/analytics-widgets-native.d.ts +2 -2
  74. package/analytics-widgets-native.js +2 -2
  75. package/analytics-widgets-treeList.d.ts +2 -2
  76. package/analytics-widgets-treeList.js +2 -2
  77. package/analytics-widgets.d.ts +2 -2
  78. package/analytics-widgets.js +2 -2
  79. package/analytics-wizard-internal.d.ts +2 -2
  80. package/analytics-wizard-internal.js +2 -2
  81. package/analytics-wizard.d.ts +2 -2
  82. package/analytics-wizard.js +2 -2
  83. package/bundle/_add-analytics-to-bundle.d.ts +2 -2
  84. package/bundle/_add-analytics-to-bundle.js +2 -2
  85. package/bundle/_add-devextreme-to-bundle.d.ts +2 -2
  86. package/bundle/_add-devextreme-to-bundle.js +2 -2
  87. package/bundle/_add-querybuilder-to-bundle.d.ts +2 -2
  88. package/bundle/_add-querybuilder-to-bundle.js +2 -2
  89. package/bundle/_add-to-context.d.ts +2 -2
  90. package/bundle/_add-to-context.js +2 -2
  91. package/bundle/_validator.d.ts +2 -2
  92. package/bundle/_validator.js +2 -2
  93. package/bundle/analytic-core-bundle.d.ts +2 -2
  94. package/bundle/analytic-core-bundle.js +2 -2
  95. package/bundle/query-builder-bundle.d.ts +2 -2
  96. package/bundle/query-builder-bundle.js +2 -2
  97. package/core/_actionProvider.d.ts +2 -2
  98. package/core/_actionProvider.js +2 -2
  99. package/core/_actionsProvider.interface.d.ts +2 -2
  100. package/core/_actionsProvider.interface.js +2 -2
  101. package/core/_bindings.d.ts +2 -2
  102. package/core/_bindings.js +4 -15
  103. package/core/_legacy.d.ts +2 -2
  104. package/core/_legacy.js +2 -2
  105. package/core/_metadata.d.ts +2 -2
  106. package/core/_metadata.js +2 -2
  107. package/core/_updateZoomBinding.d.ts +2 -2
  108. package/core/_updateZoomBinding.js +2 -2
  109. package/core/binding/_jsDesignerBindingCommon.d.ts +8 -8
  110. package/core/binding/_jsDesignerBindingCommon.js +2 -2
  111. package/core/binding/_jsDesignerBindingCommonOptions.d.ts +2 -2
  112. package/core/binding/_jsDesignerBindingCommonOptions.js +2 -2
  113. package/core/binding/_requestHelper.d.ts +2 -2
  114. package/core/binding/_requestHelper.js +2 -2
  115. package/core/dragDrop/_dragDropHandler.d.ts +3 -2
  116. package/core/dragDrop/_dragDropHandler.js +2 -2
  117. package/core/dragDrop/_dragHelperContent.d.ts +2 -2
  118. package/core/dragDrop/_dragHelperContent.js +2 -2
  119. package/core/dragDrop/_selectionDragDropHandler.d.ts +2 -2
  120. package/core/dragDrop/_selectionDragDropHandler.js +2 -2
  121. package/core/dragDrop/_toolboxDragDropHandler.d.ts +2 -2
  122. package/core/dragDrop/_toolboxDragDropHandler.js +2 -2
  123. package/core/dragDrop/_wizardDragDropHandler.d.ts +2 -2
  124. package/core/dragDrop/_wizardDragDropHandler.js +2 -2
  125. package/core/elements/area.d.ts +2 -2
  126. package/core/elements/area.js +2 -2
  127. package/core/elements/baseSurface.d.ts +2 -2
  128. package/core/elements/baseSurface.js +2 -2
  129. package/core/elements/elementViewModel.d.ts +2 -2
  130. package/core/elements/elementViewModel.js +2 -2
  131. package/core/elements/margins.d.ts +2 -2
  132. package/core/elements/margins.js +2 -2
  133. package/core/elements/paddingModel.d.ts +2 -2
  134. package/core/elements/paddingModel.js +2 -2
  135. package/core/elements/paddingModelMetaData.d.ts +2 -2
  136. package/core/elements/paddingModelMetaData.js +2 -2
  137. package/core/elements/point.d.ts +2 -2
  138. package/core/elements/point.js +2 -2
  139. package/core/elements/rectangle.d.ts +2 -2
  140. package/core/elements/rectangle.js +2 -2
  141. package/core/elements/serializableModel.d.ts +2 -2
  142. package/core/elements/serializableModel.js +2 -2
  143. package/core/elements/size.d.ts +2 -2
  144. package/core/elements/size.js +2 -2
  145. package/core/elements/size.native.d.ts +2 -2
  146. package/core/elements/size.native.js +2 -2
  147. package/core/internal/_ajaxRequestManager.d.ts +2 -2
  148. package/core/internal/_ajaxRequestManager.js +2 -2
  149. package/core/internal/_ajaxSetup.d.ts +2 -2
  150. package/core/internal/_ajaxSetup.js +2 -2
  151. package/core/internal/_arrayStores.d.ts +2 -3
  152. package/core/internal/_arrayStores.js +2 -2
  153. package/core/internal/_controlsHelper.d.ts +2 -2
  154. package/core/internal/_controlsHelper.js +2 -2
  155. package/core/internal/_cssCalculator.d.ts +2 -2
  156. package/core/internal/_cssCalculator.js +2 -2
  157. package/core/internal/_draggable.d.ts +2 -2
  158. package/core/internal/_draggable.js +2 -2
  159. package/core/internal/_editorTypeMapper.d.ts +2 -2
  160. package/core/internal/_editorTypeMapper.js +2 -2
  161. package/core/internal/_fetchRequestManager.d.ts +3 -2
  162. package/core/internal/_fetchRequestManager.js +4 -3
  163. package/core/internal/_fetchSetup.d.ts +2 -2
  164. package/core/internal/_fetchSetup.js +2 -2
  165. package/core/internal/_getNameHelpers.d.ts +2 -2
  166. package/core/internal/_getNameHelpers.js +2 -2
  167. package/core/internal/_globalize.d.ts +2 -2
  168. package/core/internal/_globalize.js +2 -2
  169. package/core/internal/_hoverInfo.d.ts +2 -2
  170. package/core/internal/_hoverInfo.js +2 -2
  171. package/core/internal/_inlineTextEdit.d.ts +2 -2
  172. package/core/internal/_inlineTextEdit.js +2 -2
  173. package/core/internal/_isDefined.d.ts +2 -2
  174. package/core/internal/_isDefined.js +2 -2
  175. package/core/internal/_ko_integration.d.ts +2 -2
  176. package/core/internal/_ko_integration.js +2 -2
  177. package/core/internal/_objectStructureControllers.d.ts +2 -2
  178. package/core/internal/_objectStructureControllers.js +2 -2
  179. package/core/internal/_objectStructureProviders.d.ts +2 -2
  180. package/core/internal/_objectStructureProviders.js +2 -2
  181. package/core/internal/_papperKindMapper.d.ts +2 -2
  182. package/core/internal/_papperKindMapper.js +2 -2
  183. package/core/internal/_processError.d.ts +2 -2
  184. package/core/internal/_processError.js +2 -2
  185. package/core/internal/_processTextEditorHotKeys.d.ts +2 -2
  186. package/core/internal/_processTextEditorHotKeys.js +2 -2
  187. package/core/internal/_requestManager.d.ts +3 -2
  188. package/core/internal/_requestManager.js +2 -2
  189. package/core/internal/_resizable.d.ts +2 -2
  190. package/core/internal/_resizable.js +2 -2
  191. package/core/internal/_resizableBinding.d.ts +2 -2
  192. package/core/internal/_resizableBinding.js +2 -2
  193. package/core/internal/_scrollProcessor.d.ts +2 -2
  194. package/core/internal/_scrollProcessor.js +2 -2
  195. package/core/internal/_stores.d.ts +2 -2
  196. package/core/internal/_stores.js +2 -2
  197. package/core/internal/_surfaceHelpers.d.ts +2 -2
  198. package/core/internal/_surfaceHelpers.js +2 -2
  199. package/core/internal/_utils.d.ts +2 -2
  200. package/core/internal/_utils.js +2 -2
  201. package/core/internal/_utils.unitsConvertation.d.ts +2 -2
  202. package/core/internal/_utils.unitsConvertation.js +2 -2
  203. package/core/internal/_validation.d.ts +10 -8
  204. package/core/internal/_validation.js +4 -6
  205. package/core/internal/ajaxSetup.d.ts +2 -2
  206. package/core/internal/ajaxSetup.js +2 -2
  207. package/core/internal/dx-versions.d.ts +2 -2
  208. package/core/internal/dx-versions.js +2 -2
  209. package/core/internal/fetchSetup.d.ts +2 -2
  210. package/core/internal/fetchSetup.js +2 -2
  211. package/core/internal/requestManager.d.ts +2 -3
  212. package/core/internal/requestManager.js +3 -3
  213. package/core/internal/selectable.d.ts +2 -2
  214. package/core/internal/selectable.js +2 -2
  215. package/core/native/tabInfo.d.ts +2 -2
  216. package/core/native/tabInfo.js +6 -6
  217. package/core/native/tabPanel.d.ts +2 -2
  218. package/core/native/tabPanel.js +2 -2
  219. package/core/native/templatesEngineTyping.d.ts +2 -2
  220. package/core/native/templatesEngineTyping.js +2 -2
  221. package/core/selection/_combinedObj.d.ts +2 -2
  222. package/core/selection/_combinedObj.js +2 -2
  223. package/core/selection/_selection.d.ts +2 -2
  224. package/core/selection/_selection.js +2 -2
  225. package/core/selection/_selectionHelpers.d.ts +2 -2
  226. package/core/selection/_selectionHelpers.js +2 -2
  227. package/core/snapLines/_snapLineSurface.d.ts +2 -2
  228. package/core/snapLines/_snapLineSurface.js +2 -2
  229. package/core/snapLines/_snapLinesCollector.d.ts +2 -2
  230. package/core/snapLines/_snapLinesCollector.js +2 -2
  231. package/core/snapLines/_snapLinesHelper.d.ts +2 -2
  232. package/core/snapLines/_snapLinesHelper.js +2 -2
  233. package/core/tools/_actionList.d.ts +2 -2
  234. package/core/tools/_actionList.js +5 -2
  235. package/core/tools/_actionListBase.d.ts +2 -2
  236. package/core/tools/_actionListBase.js +2 -2
  237. package/core/tools/_actionListBase.viewModel.d.ts +4 -3
  238. package/core/tools/_actionListBase.viewModel.js +3 -3
  239. package/core/tools/_copyPaste.d.ts +2 -2
  240. package/core/tools/_copyPaste.js +2 -2
  241. package/core/tools/_keyboardHelper.d.ts +2 -2
  242. package/core/tools/_keyboardHelper.js +2 -2
  243. package/core/tools/_tabInfoWithPropertyGrid.d.ts +2 -2
  244. package/core/tools/_tabInfoWithPropertyGrid.js +2 -2
  245. package/core/tools/actionId.d.ts +2 -2
  246. package/core/tools/actionId.js +2 -2
  247. package/core/tools/contextMenuProvider.d.ts +6 -4
  248. package/core/tools/contextMenuProvider.js +15 -5
  249. package/core/tools/toolbox.d.ts +2 -2
  250. package/core/tools/toolbox.js +2 -2
  251. package/core/utils/_arrayutils.compareArrays.d.ts +2 -2
  252. package/core/utils/_arrayutils.compareArrays.js +2 -2
  253. package/core/utils/_arrayutils.d.ts +2 -2
  254. package/core/utils/_arrayutils.js +2 -2
  255. package/core/utils/_debug.d.ts +2 -2
  256. package/core/utils/_debug.js +2 -2
  257. package/core/utils/_designerCreator.d.ts +4 -2
  258. package/core/utils/_designerCreator.js +5 -3
  259. package/core/utils/_designerInitializer.d.ts +2 -2
  260. package/core/utils/_designerInitializer.js +2 -2
  261. package/core/utils/_fieldListProvider.d.ts +3 -2
  262. package/core/utils/_fieldListProvider.js +2 -2
  263. package/core/utils/_infoMessageHelpers.d.ts +2 -2
  264. package/core/utils/_infoMessageHelpers.js +2 -2
  265. package/core/utils/_jqueryUtils.d.ts +2 -2
  266. package/core/utils/_jqueryUtils.js +2 -2
  267. package/core/utils/_koUtils.d.ts +2 -2
  268. package/core/utils/_koUtils.js +2 -2
  269. package/core/utils/_troubleshootingHelpers.d.ts +2 -4
  270. package/core/utils/_troubleshootingHelpers.js +2 -2
  271. package/core/utils/_units.d.ts +2 -2
  272. package/core/utils/_units.js +2 -2
  273. package/core/utils/_units.roundingXDecimals.d.ts +2 -2
  274. package/core/utils/_units.roundingXDecimals.js +2 -2
  275. package/core/utils/_units.unitsToPixel.d.ts +2 -2
  276. package/core/utils/_units.unitsToPixel.js +2 -2
  277. package/core/utils/_utils.ajax.d.ts +2 -2
  278. package/core/utils/_utils.ajax.js +2 -2
  279. package/core/utils/_utils.createPasswordSerializationInfo.d.ts +2 -2
  280. package/core/utils/_utils.createPasswordSerializationInfo.js +2 -2
  281. package/core/utils/_utils.d.ts +2 -2
  282. package/core/utils/_utils.designerPart.d.ts +2 -2
  283. package/core/utils/_utils.designerPart.js +2 -2
  284. package/core/utils/_utils.getResizableOptions.d.ts +2 -2
  285. package/core/utils/_utils.getResizableOptions.js +2 -2
  286. package/core/utils/_utils.js +2 -2
  287. package/core/utils/_utils.parseZoom.d.ts +2 -2
  288. package/core/utils/_utils.parseZoom.js +2 -2
  289. package/core/utils/_utils.sizeFactorType.d.ts +2 -2
  290. package/core/utils/_utils.sizeFactorType.js +2 -2
  291. package/core/utils/_utils.staticContext.d.ts +2 -2
  292. package/core/utils/_utils.staticContext.js +2 -2
  293. package/core/utils/_utils.typings.d.ts +2 -2
  294. package/core/utils/_utils.typings.js +2 -2
  295. package/core/utils/_utils.wrapModelInObservable.d.ts +2 -2
  296. package/core/utils/_utils.wrapModelInObservable.js +2 -2
  297. package/core/utils/_visitors.d.ts +2 -2
  298. package/core/utils/_visitors.js +2 -2
  299. package/core/utils/controlsFactory.d.ts +2 -2
  300. package/core/utils/controlsFactory.js +2 -2
  301. package/core/utils/parsers.d.ts +2 -2
  302. package/core/utils/parsers.js +2 -2
  303. package/core/widgets/_buttonInlineEditor.d.ts +2 -2
  304. package/core/widgets/_buttonInlineEditor.js +2 -2
  305. package/core/widgets/_dataMemberEditor.d.ts +2 -2
  306. package/core/widgets/_dataMemberEditor.js +2 -2
  307. package/core/widgets/_fieldlistpicker.d.ts +3 -2
  308. package/core/widgets/_fieldlistpicker.js +2 -2
  309. package/core/widgets/_generateIconTemplate.d.ts +2 -2
  310. package/core/widgets/_generateIconTemplate.js +2 -2
  311. package/core/widgets/_popupEditorBase.d.ts +2 -2
  312. package/core/widgets/_popupEditorBase.js +2 -2
  313. package/core/widgets/_requiredNullableEditor.d.ts +2 -2
  314. package/core/widgets/_requiredNullableEditor.js +2 -2
  315. package/core/widgets/booleanEditor.d.ts +2 -2
  316. package/core/widgets/booleanEditor.js +2 -2
  317. package/core/widgets/bordereditor/_binding.d.ts +2 -2
  318. package/core/widgets/bordereditor/_binding.js +2 -2
  319. package/core/widgets/bordereditor/_bordereditor.d.ts +2 -2
  320. package/core/widgets/bordereditor/_bordereditor.js +2 -2
  321. package/core/widgets/colorPickerEditor.d.ts +2 -2
  322. package/core/widgets/colorPickerEditor.js +2 -2
  323. package/core/widgets/dataMemberEditor.d.ts +2 -2
  324. package/core/widgets/dataMemberEditor.js +2 -2
  325. package/core/widgets/fieldListEditor.d.ts +2 -2
  326. package/core/widgets/fieldListEditor.js +2 -2
  327. package/core/widgets/propertygrid/_controlProperties.d.ts +2 -2
  328. package/core/widgets/propertygrid/_controlProperties.js +2 -2
  329. package/core/widgets/propertygrid/_group.d.ts +2 -2
  330. package/core/widgets/propertygrid/_group.js +2 -2
  331. package/core/widgets/registerDesignerEditors.d.ts +2 -2
  332. package/core/widgets/registerDesignerEditors.js +2 -2
  333. package/core/widgets/registerDesignerEditors.native.d.ts +2 -2
  334. package/core/widgets/registerDesignerEditors.native.js +2 -2
  335. package/core/widgets/textAlignmentEditor/_binding.d.ts +2 -2
  336. package/core/widgets/textAlignmentEditor/_binding.js +2 -2
  337. package/core/widgets/textAlignmentEditor/_textAlignmentEditor.d.ts +2 -2
  338. package/core/widgets/textAlignmentEditor/_textAlignmentEditor.js +2 -2
  339. package/diagram/_legacy.d.ts +2 -2
  340. package/diagram/_legacy.js +2 -2
  341. package/diagram/bindings.d.ts +2 -2
  342. package/diagram/bindings.js +2 -2
  343. package/diagram/controlRegistrator.d.ts +2 -2
  344. package/diagram/controlRegistrator.js +2 -2
  345. package/diagram/controlsFactory.d.ts +2 -2
  346. package/diagram/controlsFactory.js +2 -2
  347. package/diagram/dragDrop/connectingPointDragHandler.d.ts +2 -2
  348. package/diagram/dragDrop/connectingPointDragHandler.js +2 -2
  349. package/diagram/dragDrop/connectionPointDragHandler.d.ts +2 -2
  350. package/diagram/dragDrop/connectionPointDragHandler.js +2 -2
  351. package/diagram/elements/connectingPointModel.d.ts +2 -2
  352. package/diagram/elements/connectingPointModel.js +2 -2
  353. package/diagram/elements/connectingPointSurface.d.ts +2 -2
  354. package/diagram/elements/connectingPointSurface.js +2 -2
  355. package/diagram/elements/connectors/connectionPointModel.d.ts +2 -2
  356. package/diagram/elements/connectors/connectionPointModel.js +2 -2
  357. package/diagram/elements/connectors/connectionPointSurface.d.ts +2 -2
  358. package/diagram/elements/connectors/connectionPointSurface.js +2 -2
  359. package/diagram/elements/connectors/connectorModel.d.ts +2 -2
  360. package/diagram/elements/connectors/connectorModel.js +2 -2
  361. package/diagram/elements/connectors/connectorSurface.d.ts +2 -2
  362. package/diagram/elements/connectors/connectorSurface.js +2 -2
  363. package/diagram/elements/connectors/routedConnectorModel.d.ts +2 -2
  364. package/diagram/elements/connectors/routedConnectorModel.js +2 -2
  365. package/diagram/elements/connectors/routedConnectorSurface.d.ts +2 -2
  366. package/diagram/elements/connectors/routedConnectorSurface.js +2 -2
  367. package/diagram/elements/diagramElementBaseSurface.d.ts +2 -2
  368. package/diagram/elements/diagramElementBaseSurface.js +2 -2
  369. package/diagram/elements/diagramElementBaseViewModel.d.ts +2 -2
  370. package/diagram/elements/diagramElementBaseViewModel.js +2 -2
  371. package/diagram/elements/diagramElementSurface.d.ts +2 -2
  372. package/diagram/elements/diagramElementSurface.js +2 -2
  373. package/diagram/elements/diagramElementViewModel.d.ts +2 -2
  374. package/diagram/elements/diagramElementViewModel.js +2 -2
  375. package/diagram/elements/diagramModel.d.ts +2 -2
  376. package/diagram/elements/diagramModel.js +2 -2
  377. package/diagram/elements/diagramSurface.d.ts +2 -2
  378. package/diagram/elements/diagramSurface.js +2 -2
  379. package/diagram/initializer.d.ts +2 -2
  380. package/diagram/initializer.js +2 -2
  381. package/diagram/metadata.d.ts +2 -2
  382. package/diagram/metadata.js +2 -2
  383. package/diagram/utils.d.ts +2 -2
  384. package/diagram/utils.js +2 -2
  385. package/dist/css/dx-analytics.carmine.compact.css +17 -3
  386. package/dist/css/dx-analytics.carmine.css +17 -3
  387. package/dist/css/dx-analytics.common.css +26 -9
  388. package/dist/css/dx-analytics.contrast.compact.css +17 -3
  389. package/dist/css/dx-analytics.contrast.css +17 -3
  390. package/dist/css/dx-analytics.dark.compact.css +17 -3
  391. package/dist/css/dx-analytics.dark.css +17 -3
  392. package/dist/css/dx-analytics.darkmoon.compact.css +17 -3
  393. package/dist/css/dx-analytics.darkmoon.css +17 -3
  394. package/dist/css/dx-analytics.darkviolet.compact.css +17 -3
  395. package/dist/css/dx-analytics.darkviolet.css +17 -3
  396. package/dist/css/dx-analytics.greenmist.compact.css +17 -3
  397. package/dist/css/dx-analytics.greenmist.css +17 -3
  398. package/dist/css/dx-analytics.light.compact.css +17 -3
  399. package/dist/css/dx-analytics.light.css +17 -3
  400. package/dist/css/dx-analytics.material.blue.dark.compact.css +34 -4
  401. package/dist/css/dx-analytics.material.blue.dark.css +34 -4
  402. package/dist/css/dx-analytics.material.blue.light.compact.css +35 -5
  403. package/dist/css/dx-analytics.material.blue.light.css +35 -5
  404. package/dist/css/dx-analytics.material.lime.dark.compact.css +34 -4
  405. package/dist/css/dx-analytics.material.lime.dark.css +34 -4
  406. package/dist/css/dx-analytics.material.lime.light.compact.css +35 -5
  407. package/dist/css/dx-analytics.material.lime.light.css +35 -5
  408. package/dist/css/dx-analytics.material.orange.dark.compact.css +34 -4
  409. package/dist/css/dx-analytics.material.orange.dark.css +34 -4
  410. package/dist/css/dx-analytics.material.orange.light.compact.css +35 -5
  411. package/dist/css/dx-analytics.material.orange.light.css +35 -5
  412. package/dist/css/dx-analytics.material.purple.dark.compact.css +34 -4
  413. package/dist/css/dx-analytics.material.purple.dark.css +34 -4
  414. package/dist/css/dx-analytics.material.purple.light.compact.css +35 -5
  415. package/dist/css/dx-analytics.material.purple.light.css +35 -5
  416. package/dist/css/dx-analytics.material.teal.dark.compact.css +34 -4
  417. package/dist/css/dx-analytics.material.teal.dark.css +34 -4
  418. package/dist/css/dx-analytics.material.teal.light.compact.css +35 -5
  419. package/dist/css/dx-analytics.material.teal.light.css +35 -5
  420. package/dist/css/dx-analytics.softblue.compact.css +17 -3
  421. package/dist/css/dx-analytics.softblue.css +17 -3
  422. package/dist/css/dx-querybuilder.css +6 -19
  423. package/dist/js/dx-analytics-core.d.ts +118 -100
  424. package/dist/js/dx-analytics-core.js +89 -55
  425. package/dist/js/dx-analytics-core.min.js +3 -3
  426. package/dist/js/dx-querybuilder.js +20 -17
  427. package/dist/js/dx-querybuilder.min.js +3 -3
  428. package/dx-analytics-core-bindings.d.ts +2 -2
  429. package/dx-analytics-core-bindings.js +20 -12
  430. package/dx-analytics-core-imports.d.ts +2 -2
  431. package/dx-analytics-core-imports.js +2 -2
  432. package/dx-analytics-core-svg-bindings.d.ts +2 -2
  433. package/dx-analytics-core-svg-bindings.js +3 -2
  434. package/dx-analytics-core-svg-templates.d.ts +2 -2
  435. package/dx-analytics-core-svg-templates.js +3 -2
  436. package/dx-analytics-core-templates.d.ts +2 -2
  437. package/dx-analytics-core-templates.js +8 -7
  438. package/dx-analytics-core.d.ts +2 -2
  439. package/dx-analytics-core.js +2 -2
  440. package/dx-query-builder-bindings.d.ts +2 -2
  441. package/dx-query-builder-bindings.js +5 -8
  442. package/dx-query-builder-templates.d.ts +2 -2
  443. package/dx-query-builder-templates.js +5 -6
  444. package/dx-querybuilder-imports.d.ts +2 -2
  445. package/dx-querybuilder-imports.js +2 -2
  446. package/dx-querybuilder.d.ts +2 -2
  447. package/dx-querybuilder.js +2 -2
  448. package/index.d.ts +2 -2
  449. package/index.js +2 -2
  450. package/less/colors/material.light-colors.less +1 -2
  451. package/less/dx-material.fix-style.less +18 -1
  452. package/less/dx-variable-style.less +20 -1
  453. package/package.json +2 -5
  454. package/property-grid/_legacy.d.ts +2 -2
  455. package/property-grid/_legacy.js +2 -2
  456. package/property-grid/_propertiesAccessibilityProvider.d.ts +2 -2
  457. package/property-grid/_propertiesAccessibilityProvider.js +2 -2
  458. package/property-grid/bindings.accordion.d.ts +2 -2
  459. package/property-grid/bindings.accordion.js +2 -2
  460. package/property-grid/bindings.d.ts +2 -2
  461. package/property-grid/bindings.js +2 -2
  462. package/property-grid/internal/_addon.d.ts +2 -2
  463. package/property-grid/internal/_addon.js +2 -2
  464. package/property-grid/internal/_codeResolver.d.ts +2 -2
  465. package/property-grid/internal/_codeResolver.js +2 -2
  466. package/property-grid/internal/_popupService.d.ts +2 -2
  467. package/property-grid/internal/_popupService.js +2 -2
  468. package/property-grid/localization/_localization.d.ts +2 -2
  469. package/property-grid/localization/_localization.js +2 -2
  470. package/property-grid/localization/_localizationStringIds.d.ts +2 -2
  471. package/property-grid/localization/_localizationStringIds.js +2 -2
  472. package/property-grid/localization/localization.d.ts +2 -2
  473. package/property-grid/localization/localization.js +2 -2
  474. package/property-grid/localization/localization_utils.d.ts +2 -2
  475. package/property-grid/localization/localization_utils.js +2 -2
  476. package/property-grid/propertygrid.d.ts +2 -2
  477. package/property-grid/propertygrid.js +2 -2
  478. package/property-grid/widgets/bindingsCacheUtils.d.ts +2 -2
  479. package/property-grid/widgets/bindingsCacheUtils.js +2 -2
  480. package/property-grid/widgets/collectioneditor/_bindings.d.ts +2 -2
  481. package/property-grid/widgets/collectioneditor/_bindings.js +3 -3
  482. package/property-grid/widgets/collectioneditor/_editor.d.ts +2 -2
  483. package/property-grid/widgets/collectioneditor/_editor.js +2 -2
  484. package/property-grid/widgets/collectioneditor/_ko_model.d.ts +2 -2
  485. package/property-grid/widgets/collectioneditor/_ko_model.js +2 -2
  486. package/property-grid/widgets/editor.d.ts +4 -2
  487. package/property-grid/widgets/editor.js +11 -2
  488. package/property-grid/widgets/editor.viewmodel.d.ts +2 -2
  489. package/property-grid/widgets/editor.viewmodel.js +3 -2
  490. package/property-grid/widgets/editorValidator.d.ts +2 -2
  491. package/property-grid/widgets/editorValidator.js +2 -2
  492. package/property-grid/widgets/editorsInfo.d.ts +2 -2
  493. package/property-grid/widgets/editorsInfo.js +2 -2
  494. package/property-grid/widgets/ellipsiseditor/_editor.d.ts +3 -2
  495. package/property-grid/widgets/ellipsiseditor/_editor.js +2 -2
  496. package/property-grid/widgets/fileimageeditor/_editor.d.ts +2 -2
  497. package/property-grid/widgets/fileimageeditor/_editor.js +2 -2
  498. package/property-grid/widgets/fonteditor/_fonts.d.ts +2 -2
  499. package/property-grid/widgets/fonteditor/_fonts.js +2 -2
  500. package/property-grid/widgets/fonteditor/_model.d.ts +2 -2
  501. package/property-grid/widgets/fonteditor/_model.js +2 -2
  502. package/property-grid/widgets/fonteditor/editor.d.ts +2 -2
  503. package/property-grid/widgets/fonteditor/editor.js +2 -2
  504. package/property-grid/widgets/fonteditor/metadata.d.ts +2 -2
  505. package/property-grid/widgets/fonteditor/metadata.js +2 -2
  506. package/property-grid/widgets/guideditor.d.ts +2 -2
  507. package/property-grid/widgets/guideditor.js +2 -2
  508. package/property-grid/widgets/internal/_bindingsCache.d.ts +2 -2
  509. package/property-grid/widgets/internal/_bindingsCache.js +2 -2
  510. package/property-grid/widgets/internal/_bindingsCache.ko.d.ts +2 -2
  511. package/property-grid/widgets/internal/_bindingsCache.ko.js +2 -2
  512. package/property-grid/widgets/internal/_extendedSvgTemplates.d.ts +2 -2
  513. package/property-grid/widgets/internal/_extendedSvgTemplates.js +2 -2
  514. package/property-grid/widgets/internal/_internal.d.ts +2 -2
  515. package/property-grid/widgets/internal/_internal.js +2 -2
  516. package/property-grid/widgets/internal/_svgTemplateEngine.d.ts +2 -2
  517. package/property-grid/widgets/internal/_svgTemplateEngine.js +2 -2
  518. package/property-grid/widgets/internal/_svgTemplateEngine.ko.d.ts +2 -2
  519. package/property-grid/widgets/internal/_svgTemplateEngine.ko.js +2 -2
  520. package/property-grid/widgets/internal/_utils.d.ts +2 -3
  521. package/property-grid/widgets/internal/_utils.js +2 -2
  522. package/property-grid/widgets/registerBaseEdtior.d.ts +2 -2
  523. package/property-grid/widgets/registerBaseEdtior.js +2 -2
  524. package/property-grid/widgets/registerBaseEdtior.native.d.ts +2 -2
  525. package/property-grid/widgets/registerBaseEdtior.native.js +2 -2
  526. package/property-grid/widgets/templateUtils.d.ts +2 -2
  527. package/property-grid/widgets/templateUtils.js +2 -2
  528. package/query-builder/_accordionTabInfo.d.ts +2 -2
  529. package/query-builder/_accordionTabInfo.js +2 -2
  530. package/query-builder/_bindings.d.ts +2 -2
  531. package/query-builder/_bindings.js +2 -2
  532. package/query-builder/_initializer.d.ts +4 -2
  533. package/query-builder/_initializer.js +2 -2
  534. package/query-builder/_legacy.d.ts +2 -2
  535. package/query-builder/_legacy.js +2 -2
  536. package/query-builder/_queryBuilderModel.d.ts +2 -2
  537. package/query-builder/_queryBuilderModel.js +2 -2
  538. package/query-builder/binding/eventGenerator.d.ts +2 -2
  539. package/query-builder/binding/eventGenerator.js +2 -2
  540. package/query-builder/binding/jsQueryBuilder.d.ts +2 -2
  541. package/query-builder/binding/jsQueryBuilder.js +2 -2
  542. package/query-builder/binding/jsQueryBuilderBinding.d.ts +2 -2
  543. package/query-builder/binding/jsQueryBuilderBinding.js +2 -2
  544. package/query-builder/binding/jsQueryBuilderBindingOptions.d.ts +2 -2
  545. package/query-builder/binding/jsQueryBuilderBindingOptions.js +2 -2
  546. package/query-builder/dataSource/_dbSchema.d.ts +2 -2
  547. package/query-builder/dataSource/_dbSchema.js +2 -2
  548. package/query-builder/dataSource/_dbSchemaProvider.d.ts +2 -2
  549. package/query-builder/dataSource/_dbSchemaProvider.js +2 -2
  550. package/query-builder/dataSource/_utils.d.ts +2 -2
  551. package/query-builder/dataSource/_utils.js +2 -2
  552. package/query-builder/dataSource/dataSourceParameter.d.ts +2 -2
  553. package/query-builder/dataSource/dataSourceParameter.js +2 -2
  554. package/query-builder/dataSource/dataSourceParameterMeta.d.ts +2 -2
  555. package/query-builder/dataSource/dataSourceParameterMeta.js +2 -2
  556. package/query-builder/dataSource/dbColumn.d.ts +2 -2
  557. package/query-builder/dataSource/dbColumn.js +2 -2
  558. package/query-builder/dataSource/dbForeignKey.d.ts +2 -2
  559. package/query-builder/dataSource/dbForeignKey.js +2 -2
  560. package/query-builder/dataSource/dbSchema.d.ts +2 -2
  561. package/query-builder/dataSource/dbSchema.js +2 -2
  562. package/query-builder/dataSource/dbSchemaProvider.d.ts +2 -2
  563. package/query-builder/dataSource/dbSchemaProvider.js +2 -2
  564. package/query-builder/dataSource/dbStoredProcedure.d.ts +2 -2
  565. package/query-builder/dataSource/dbStoredProcedure.js +2 -2
  566. package/query-builder/dataSource/dbTable.d.ts +2 -2
  567. package/query-builder/dataSource/dbTable.js +2 -2
  568. package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.d.ts +3 -2
  569. package/query-builder/dataSource/federation/_dbSchemaFederationDataSourceProvider.js +3 -3
  570. package/query-builder/dataSource/federation/federatedQueries/selectQuery.d.ts +2 -2
  571. package/query-builder/dataSource/federation/federatedQueries/selectQuery.js +2 -2
  572. package/query-builder/dataSource/federation/federatedQueries/sourceQuery.d.ts +2 -2
  573. package/query-builder/dataSource/federation/federatedQueries/sourceQuery.js +2 -2
  574. package/query-builder/dataSource/federation/federatedQueries/subNode.d.ts +2 -2
  575. package/query-builder/dataSource/federation/federatedQueries/subNode.js +2 -2
  576. package/query-builder/dataSource/federation/federatedQueries/transformQuery.d.ts +2 -2
  577. package/query-builder/dataSource/federation/federatedQueries/transformQuery.js +2 -2
  578. package/query-builder/dataSource/federation/federatedQueries/unionQuery.d.ts +2 -2
  579. package/query-builder/dataSource/federation/federatedQueries/unionQuery.js +2 -2
  580. package/query-builder/dataSource/federation/federatedQueriesContainer.d.ts +2 -2
  581. package/query-builder/dataSource/federation/federatedQueriesContainer.js +2 -2
  582. package/query-builder/dataSource/federation/federatedQueryExpression.d.ts +2 -2
  583. package/query-builder/dataSource/federation/federatedQueryExpression.js +2 -2
  584. package/query-builder/dataSource/federation/federationDataSource.d.ts +2 -2
  585. package/query-builder/dataSource/federation/federationDataSource.js +2 -2
  586. package/query-builder/dataSource/federation/federationDataSourceMeta.d.ts +2 -2
  587. package/query-builder/dataSource/federation/federationDataSourceMeta.js +2 -2
  588. package/query-builder/dataSource/federation/federationMasterDetailRelation.d.ts +2 -2
  589. package/query-builder/dataSource/federation/federationMasterDetailRelation.js +2 -2
  590. package/query-builder/dataSource/federation/federationSerializableModel.d.ts +2 -2
  591. package/query-builder/dataSource/federation/federationSerializableModel.js +2 -2
  592. package/query-builder/dataSource/federation/federationSource.d.ts +2 -2
  593. package/query-builder/dataSource/federation/federationSource.js +2 -2
  594. package/query-builder/dataSource/json/_jsonSchemaProvider.d.ts +2 -3
  595. package/query-builder/dataSource/json/_jsonSchemaProvider.js +2 -2
  596. package/query-builder/dataSource/json/jsonAuthenticationInfo.d.ts +2 -2
  597. package/query-builder/dataSource/json/jsonAuthenticationInfo.js +2 -2
  598. package/query-builder/dataSource/json/jsonDataSource.d.ts +2 -2
  599. package/query-builder/dataSource/json/jsonDataSource.js +2 -2
  600. package/query-builder/dataSource/json/jsonParameter.d.ts +4 -4
  601. package/query-builder/dataSource/json/jsonParameter.js +2 -2
  602. package/query-builder/dataSource/json/jsonSchemaNode.d.ts +2 -2
  603. package/query-builder/dataSource/json/jsonSchemaNode.js +2 -2
  604. package/query-builder/dataSource/json/jsonSchemaProvider.d.ts +2 -2
  605. package/query-builder/dataSource/json/jsonSchemaProvider.js +2 -2
  606. package/query-builder/dataSource/json/jsonSource.d.ts +2 -2
  607. package/query-builder/dataSource/json/jsonSource.js +2 -2
  608. package/query-builder/dataSource/object/objectDataSource.d.ts +2 -2
  609. package/query-builder/dataSource/object/objectDataSource.js +2 -2
  610. package/query-builder/dataSource/object/objectSchema.d.ts +2 -2
  611. package/query-builder/dataSource/object/objectSchema.js +2 -2
  612. package/query-builder/dataSource/resultSet.d.ts +2 -2
  613. package/query-builder/dataSource/resultSet.js +2 -2
  614. package/query-builder/dataSource/resultTable.d.ts +2 -2
  615. package/query-builder/dataSource/resultTable.js +2 -2
  616. package/query-builder/dataSource/sql/connectionOptions.d.ts +2 -2
  617. package/query-builder/dataSource/sql/connectionOptions.js +2 -2
  618. package/query-builder/dataSource/sql/customSqlQuery.d.ts +2 -2
  619. package/query-builder/dataSource/sql/customSqlQuery.js +2 -2
  620. package/query-builder/dataSource/sql/customSqlQueryMeta.d.ts +2 -2
  621. package/query-builder/dataSource/sql/customSqlQueryMeta.js +2 -2
  622. package/query-builder/dataSource/sql/masterDetailRelation.d.ts +2 -2
  623. package/query-builder/dataSource/sql/masterDetailRelation.js +2 -2
  624. package/query-builder/dataSource/sql/masterDetailRelationMeta.d.ts +2 -2
  625. package/query-builder/dataSource/sql/masterDetailRelationMeta.js +2 -2
  626. package/query-builder/dataSource/sql/sqlDataConnection.d.ts +2 -2
  627. package/query-builder/dataSource/sql/sqlDataConnection.js +2 -2
  628. package/query-builder/dataSource/sql/sqlDataSource.d.ts +2 -2
  629. package/query-builder/dataSource/sql/sqlDataSource.js +2 -2
  630. package/query-builder/dataSource/sql/storedProcQuery.d.ts +2 -2
  631. package/query-builder/dataSource/sql/storedProcQuery.js +2 -2
  632. package/query-builder/dataSource/sql/storedProcQueryMeta.d.ts +2 -2
  633. package/query-builder/dataSource/sql/storedProcQueryMeta.js +2 -2
  634. package/query-builder/dataSource/sql/tableQuery.d.ts +2 -2
  635. package/query-builder/dataSource/sql/tableQuery.js +2 -2
  636. package/query-builder/dataSource/sql/tableQueryMeta.d.ts +2 -2
  637. package/query-builder/dataSource/sql/tableQueryMeta.js +2 -2
  638. package/query-builder/dataSource/utils.d.ts +2 -2
  639. package/query-builder/dataSource/utils.js +2 -2
  640. package/query-builder/dragDrop/_columnDragHandler.d.ts +2 -2
  641. package/query-builder/dragDrop/_columnDragHandler.js +2 -2
  642. package/query-builder/dragDrop/_dbObjectDragDropHandler.d.ts +2 -2
  643. package/query-builder/dragDrop/_dbObjectDragDropHandler.js +2 -2
  644. package/query-builder/elements/_federationColumnModel.d.ts +2 -2
  645. package/query-builder/elements/_federationColumnModel.js +2 -2
  646. package/query-builder/elements/_federationQueryModel.d.ts +2 -2
  647. package/query-builder/elements/_federationQueryModel.js +2 -2
  648. package/query-builder/elements/allColumnsModel.d.ts +2 -2
  649. package/query-builder/elements/allColumnsModel.js +2 -2
  650. package/query-builder/elements/allColumnsModelMeta.d.ts +2 -2
  651. package/query-builder/elements/allColumnsModelMeta.js +2 -2
  652. package/query-builder/elements/allColumnsSurface.d.ts +2 -2
  653. package/query-builder/elements/allColumnsSurface.js +2 -2
  654. package/query-builder/elements/columnExpression.d.ts +2 -2
  655. package/query-builder/elements/columnExpression.js +2 -2
  656. package/query-builder/elements/columnExpressionMeta.d.ts +2 -2
  657. package/query-builder/elements/columnExpressionMeta.js +2 -2
  658. package/query-builder/elements/columnModel.d.ts +2 -2
  659. package/query-builder/elements/columnModel.js +2 -2
  660. package/query-builder/elements/columnModelMeta.d.ts +2 -2
  661. package/query-builder/elements/columnModelMeta.js +2 -2
  662. package/query-builder/elements/columnSurface.d.ts +2 -2
  663. package/query-builder/elements/columnSurface.js +2 -2
  664. package/query-builder/elements/joinConditionModel.d.ts +2 -2
  665. package/query-builder/elements/joinConditionModel.js +2 -2
  666. package/query-builder/elements/joinConditionModelMeta.d.ts +2 -2
  667. package/query-builder/elements/joinConditionModelMeta.js +2 -2
  668. package/query-builder/elements/joinConditionSurface.d.ts +2 -2
  669. package/query-builder/elements/joinConditionSurface.js +2 -2
  670. package/query-builder/elements/parameterModel.d.ts +2 -2
  671. package/query-builder/elements/parameterModel.js +2 -2
  672. package/query-builder/elements/parameterModelMeta.d.ts +2 -2
  673. package/query-builder/elements/parameterModelMeta.js +2 -2
  674. package/query-builder/elements/queryElementModel.d.ts +2 -2
  675. package/query-builder/elements/queryElementModel.js +2 -2
  676. package/query-builder/elements/queryElementSurface.d.ts +2 -2
  677. package/query-builder/elements/queryElementSurface.js +2 -2
  678. package/query-builder/elements/queryModel.d.ts +2 -2
  679. package/query-builder/elements/queryModel.js +2 -2
  680. package/query-builder/elements/queryModelMeta.d.ts +2 -2
  681. package/query-builder/elements/queryModelMeta.js +2 -2
  682. package/query-builder/elements/querySurface.d.ts +2 -2
  683. package/query-builder/elements/querySurface.js +2 -2
  684. package/query-builder/elements/relationModel.d.ts +2 -2
  685. package/query-builder/elements/relationModel.js +2 -2
  686. package/query-builder/elements/relationModelMeta.d.ts +2 -2
  687. package/query-builder/elements/relationModelMeta.js +2 -2
  688. package/query-builder/elements/relationSurface.d.ts +2 -2
  689. package/query-builder/elements/relationSurface.js +2 -2
  690. package/query-builder/elements/tableModel.d.ts +2 -2
  691. package/query-builder/elements/tableModel.js +2 -2
  692. package/query-builder/elements/tableModelMeta.d.ts +2 -2
  693. package/query-builder/elements/tableModelMeta.js +2 -2
  694. package/query-builder/elements/tableSurface.d.ts +2 -2
  695. package/query-builder/elements/tableSurface.js +2 -2
  696. package/query-builder/initializer.d.ts +2 -2
  697. package/query-builder/initializer.js +2 -2
  698. package/query-builder/metadata.d.ts +2 -2
  699. package/query-builder/metadata.js +2 -2
  700. package/query-builder/utils/_callbacks.d.ts +2 -2
  701. package/query-builder/utils/_callbacks.js +2 -2
  702. package/query-builder/utils/_columnExpressionCollectionHelper.d.ts +2 -2
  703. package/query-builder/utils/_columnExpressionCollectionHelper.js +2 -2
  704. package/query-builder/utils/_controlsFactory.d.ts +2 -2
  705. package/query-builder/utils/_controlsFactory.js +2 -2
  706. package/query-builder/utils/_dataConnection.d.ts +2 -2
  707. package/query-builder/utils/_dataConnection.js +2 -2
  708. package/query-builder/utils/_federationUnionQueryBuilderTreeListController.d.ts +2 -2
  709. package/query-builder/utils/_federationUnionQueryBuilderTreeListController.js +2 -2
  710. package/query-builder/utils/_queryBuilderTreeListController.d.ts +2 -2
  711. package/query-builder/utils/_queryBuilderTreeListController.js +2 -2
  712. package/query-builder/utils/_requestwrapper.d.ts +2 -2
  713. package/query-builder/utils/_requestwrapper.js +2 -2
  714. package/query-builder/utils/controlsFactory.d.ts +2 -2
  715. package/query-builder/utils/controlsFactory.js +2 -2
  716. package/query-builder/utils/publicCallbacks.d.ts +2 -2
  717. package/query-builder/utils/publicCallbacks.js +2 -2
  718. package/query-builder/utils/requestwrapper.d.ts +2 -2
  719. package/query-builder/utils/requestwrapper.js +2 -2
  720. package/query-builder/widgets/_federatedQueriesHelper.d.ts +2 -2
  721. package/query-builder/widgets/_federatedQueriesHelper.js +2 -2
  722. package/query-builder/widgets/_manageFederatedQueriesEditor.d.ts +2 -2
  723. package/query-builder/widgets/_manageFederatedQueriesEditor.js +2 -2
  724. package/query-builder/widgets/_rightPanelSwitcher.d.ts +2 -2
  725. package/query-builder/widgets/_rightPanelSwitcher.js +2 -2
  726. package/query-builder/widgets/_undoEditor.d.ts +2 -2
  727. package/query-builder/widgets/_undoEditor.js +2 -2
  728. package/query-builder/widgets/ace/_ace-mode-sql.d.ts +2 -2
  729. package/query-builder/widgets/ace/_ace-mode-sql.js +2 -2
  730. package/query-builder/widgets/ace/_options.d.ts +2 -2
  731. package/query-builder/widgets/ace/_options.js +2 -2
  732. package/query-builder/widgets/editorTemplates.d.ts +2 -2
  733. package/query-builder/widgets/editorTemplates.js +2 -2
  734. package/query-builder/widgets/expressionFunctions.d.ts +2 -2
  735. package/query-builder/widgets/expressionFunctions.js +2 -2
  736. package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.d.ts +2 -2
  737. package/query-builder/widgets/filterEditor/_groupFilterEditorSerializer.js +2 -2
  738. package/query-builder/widgets/filterEditor/_operandParameterQBSurface.d.ts +2 -2
  739. package/query-builder/widgets/filterEditor/_operandParameterQBSurface.js +2 -2
  740. package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.d.ts +2 -2
  741. package/query-builder/widgets/filterEditor/_operandPropertyQBSurface.js +2 -2
  742. package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.d.ts +2 -2
  743. package/query-builder/widgets/filterEditor/_qbFilterEditorHelper.js +2 -2
  744. package/query-builder/widgets/filterEditor/_qbFilterStringOptions.d.ts +2 -2
  745. package/query-builder/widgets/filterEditor/_qbFilterStringOptions.js +2 -2
  746. package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.d.ts +2 -2
  747. package/query-builder/widgets/filterEditor/_queryBuilderObjectsProvider.js +2 -2
  748. package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.d.ts +2 -2
  749. package/query-builder/widgets/masterdetaileditor/_keyColumnSurface.js +2 -2
  750. package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.d.ts +2 -2
  751. package/query-builder/widgets/masterdetaileditor/_masterDetailEditor.js +2 -2
  752. package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.d.ts +2 -2
  753. package/query-builder/widgets/masterdetaileditor/_masterDetailEditorPopupManager.js +2 -2
  754. package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.d.ts +2 -2
  755. package/query-builder/widgets/masterdetaileditor/_masterDetailRelationSurface.js +2 -2
  756. package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.d.ts +2 -2
  757. package/query-builder/widgets/masterdetaileditor/_masterQuerySurface.js +2 -2
  758. package/query-builder/widgets/registerEditorTemplates.d.ts +2 -2
  759. package/query-builder/widgets/registerEditorTemplates.js +2 -2
  760. package/query-builder/wizard/chooseAvailableDataSourcePage.d.ts +2 -2
  761. package/query-builder/wizard/chooseAvailableDataSourcePage.js +2 -2
  762. package/query-builder/wizard/chooseAvailablePage.d.ts +2 -2
  763. package/query-builder/wizard/chooseAvailablePage.js +2 -2
  764. package/query-builder/wizard/dataSourceWizard.d.ts +2 -2
  765. package/query-builder/wizard/dataSourceWizard.js +2 -2
  766. package/query-builder/wizard/dataSourceWizardState.d.ts +2 -2
  767. package/query-builder/wizard/dataSourceWizardState.js +2 -2
  768. package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.d.ts +2 -2
  769. package/query-builder/wizard/fullscreen/fullscreenMultiQueryDataSourceWizard.js +2 -2
  770. package/query-builder/wizard/fullscreen/fullscreenWizard.d.ts +2 -2
  771. package/query-builder/wizard/fullscreen/fullscreenWizard.js +2 -2
  772. package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.d.ts +2 -2
  773. package/query-builder/wizard/fullscreen/fullscreenWizardNavigation.js +2 -2
  774. package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.d.ts +2 -2
  775. package/query-builder/wizard/fullscreen/fullscreenWizardPageFactory.js +2 -2
  776. package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.d.ts +2 -2
  777. package/query-builder/wizard/fullscreen/pages/fullscreenWizardPage.js +2 -2
  778. package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.d.ts +2 -2
  779. package/query-builder/wizard/fullscreen/pages/selectDataSourcePage.js +2 -2
  780. package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.d.ts +2 -2
  781. package/query-builder/wizard/fullscreen/pages/specifyFederationDataSourceSettingsPage.js +2 -2
  782. package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.d.ts +2 -2
  783. package/query-builder/wizard/fullscreen/pages/specifyJsonDataSourceSettingsPage.js +2 -2
  784. package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.d.ts +2 -2
  785. package/query-builder/wizard/fullscreen/pages/specifyObjectDataSourceSettingsPage.js +2 -2
  786. package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.d.ts +2 -2
  787. package/query-builder/wizard/fullscreen/pages/specifySqlDataSourceSettingsPage.js +2 -2
  788. package/query-builder/wizard/internal/_configureParametersUtils.d.ts +2 -2
  789. package/query-builder/wizard/internal/_configureParametersUtils.js +2 -2
  790. package/query-builder/wizard/internal/_constants.d.ts +2 -2
  791. package/query-builder/wizard/internal/_constants.js +2 -2
  792. package/query-builder/wizard/internal/_dbSchemaItemsProvider.d.ts +2 -2
  793. package/query-builder/wizard/internal/_dbSchemaItemsProvider.js +2 -2
  794. package/query-builder/wizard/internal/_dbSchemaTreeListController.d.ts +2 -2
  795. package/query-builder/wizard/internal/_dbSchemaTreeListController.js +2 -2
  796. package/query-builder/wizard/internal/_jsonDataSourceWidgets.d.ts +3 -2
  797. package/query-builder/wizard/internal/_jsonDataSourceWidgets.js +13 -6
  798. package/query-builder/wizard/internal/_jsonSourceSettings.d.ts +2 -2
  799. package/query-builder/wizard/internal/_jsonSourceSettings.js +2 -2
  800. package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.d.ts +2 -2
  801. package/query-builder/wizard/internal/_jsonTreeNodeItemsProvider.js +2 -2
  802. package/query-builder/wizard/internal/_queryBuilderPopup.d.ts +2 -2
  803. package/query-builder/wizard/internal/_queryBuilderPopup.js +2 -2
  804. package/query-builder/wizard/internal/_selectQuerySqlTextProvider.d.ts +2 -2
  805. package/query-builder/wizard/internal/_selectQuerySqlTextProvider.js +2 -2
  806. package/query-builder/wizard/internal/_selectStatementQueryControl.d.ts +2 -2
  807. package/query-builder/wizard/internal/_selectStatementQueryControl.js +2 -2
  808. package/query-builder/wizard/internal/_storedProceduresQueryControl.d.ts +2 -2
  809. package/query-builder/wizard/internal/_storedProceduresQueryControl.js +2 -2
  810. package/query-builder/wizard/internal/_treeListNode.d.ts +2 -3
  811. package/query-builder/wizard/internal/_treeListNode.js +2 -2
  812. package/query-builder/wizard/internal/_treeNodeItemsProvider.d.ts +3 -2
  813. package/query-builder/wizard/internal/_treeNodeItemsProvider.js +2 -2
  814. package/query-builder/wizard/internal/_utils.d.ts +2 -2
  815. package/query-builder/wizard/internal/_utils.js +2 -2
  816. package/query-builder/wizard/internal/_wizardAction.d.ts +2 -2
  817. package/query-builder/wizard/internal/_wizardAction.js +2 -2
  818. package/query-builder/wizard/internal/_wizardPageProcessor.d.ts +2 -2
  819. package/query-builder/wizard/internal/_wizardPageProcessor.js +2 -2
  820. package/query-builder/wizard/internal/_wizardPageSectionFactory.d.ts +2 -2
  821. package/query-builder/wizard/internal/_wizardPageSectionFactory.js +2 -2
  822. package/query-builder/wizard/internal/_wizardPageSectionIterator.d.ts +2 -2
  823. package/query-builder/wizard/internal/_wizardPageSectionIterator.js +2 -2
  824. package/query-builder/wizard/internal/_wrappedWizardPageSection.d.ts +2 -2
  825. package/query-builder/wizard/internal/_wrappedWizardPageSection.js +2 -2
  826. package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.d.ts +2 -2
  827. package/query-builder/wizard/internal/federationDataSource/_federatedQueriesTreeNode.js +2 -2
  828. package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.d.ts +2 -2
  829. package/query-builder/wizard/internal/federationDataSource/_federationDataSourceItemsExtender.js +2 -2
  830. package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.d.ts +2 -2
  831. package/query-builder/wizard/internal/federationDataSource/_federationQueryBuilderPopupBase.js +2 -2
  832. package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.d.ts +2 -2
  833. package/query-builder/wizard/internal/federationDataSource/_federationSelectQueryBuilderPopup.js +2 -2
  834. package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.d.ts +2 -2
  835. package/query-builder/wizard/internal/federationDataSource/_federationTablesExpressionFieldListProvider.js +2 -2
  836. package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.d.ts +2 -2
  837. package/query-builder/wizard/internal/federationDataSource/_federationTransformQueryBuilderPopup.js +2 -2
  838. package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.d.ts +2 -2
  839. package/query-builder/wizard/internal/federationDataSource/_federationTransformResultSchemaProvider.js +2 -2
  840. package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.d.ts +2 -2
  841. package/query-builder/wizard/internal/federationDataSource/_federationTreeNodeProvider.js +2 -2
  842. package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.d.ts +2 -2
  843. package/query-builder/wizard/internal/federationDataSource/_federationUnionQueryBuilderPopup.js +2 -2
  844. package/query-builder/wizard/internal/initializer.d.ts +2 -2
  845. package/query-builder/wizard/internal/initializer.js +2 -2
  846. package/query-builder/wizard/internal/jsonSourceSettings.d.ts +2 -2
  847. package/query-builder/wizard/internal/jsonSourceSettings.js +2 -2
  848. package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.d.ts +2 -2
  849. package/query-builder/wizard/internal/objectDataSource/_chooseObjectDataMembers.js +2 -2
  850. package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.d.ts +2 -2
  851. package/query-builder/wizard/internal/objectDataSource/_chooseObjectParameters.js +2 -2
  852. package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.d.ts +2 -2
  853. package/query-builder/wizard/internal/objectDataSource/_chooseObjectTypes.js +2 -2
  854. package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.d.ts +2 -2
  855. package/query-builder/wizard/internal/objectDataSource/_objectSchemaProvider.js +2 -2
  856. package/query-builder/wizard/internal/wizardPageSectionMetadata.d.ts +2 -2
  857. package/query-builder/wizard/internal/wizardPageSectionMetadata.js +2 -2
  858. package/query-builder/wizard/multiQueryDataSourceWizard.d.ts +2 -2
  859. package/query-builder/wizard/multiQueryDataSourceWizard.js +2 -2
  860. package/query-builder/wizard/pageFactory.d.ts +2 -2
  861. package/query-builder/wizard/pageFactory.js +2 -2
  862. package/query-builder/wizard/pageId.d.ts +2 -2
  863. package/query-builder/wizard/pageId.js +2 -2
  864. package/query-builder/wizard/pageIterator.d.ts +2 -2
  865. package/query-builder/wizard/pageIterator.js +2 -2
  866. package/query-builder/wizard/pages/IWizardPage.d.ts +2 -2
  867. package/query-builder/wizard/pages/IWizardPage.js +2 -2
  868. package/query-builder/wizard/pages/__wrappedWizardPage.d.ts +2 -2
  869. package/query-builder/wizard/pages/__wrappedWizardPage.js +2 -2
  870. package/query-builder/wizard/pages/chooseDataSourceTypePage.d.ts +2 -2
  871. package/query-builder/wizard/pages/chooseDataSourceTypePage.js +2 -2
  872. package/query-builder/wizard/pages/chooseSqlConnectionPage.d.ts +2 -2
  873. package/query-builder/wizard/pages/chooseSqlConnectionPage.js +2 -2
  874. package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.d.ts +3 -2
  875. package/query-builder/wizard/pages/federationDataSourceWizard/federatedMasterDetailRelationshipsPage.js +2 -2
  876. package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.d.ts +2 -2
  877. package/query-builder/wizard/pages/federationDataSourceWizard/federatedQueryConfigurePage.js +2 -2
  878. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.d.ts +2 -2
  879. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonConnectionPage.js +2 -2
  880. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.d.ts +2 -2
  881. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSchemaPage.js +2 -2
  882. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.d.ts +2 -2
  883. package/query-builder/wizard/pages/jsonDataSourceWizard/chooseJsonSourcePage.js +2 -2
  884. package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.d.ts +3 -2
  885. package/query-builder/wizard/pages/jsonDataSourceWizard/specifyJsonConnectionPage.js +2 -2
  886. package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.d.ts +2 -2
  887. package/query-builder/wizard/pages/multiQueryWizard/configureMasterDetailRelationshipsPage.js +2 -2
  888. package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.d.ts +2 -2
  889. package/query-builder/wizard/pages/multiQueryWizard/masterDetailRelationshipsPageBase.js +2 -2
  890. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.d.ts +2 -3
  891. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigurePage.js +2 -2
  892. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.d.ts +2 -2
  893. package/query-builder/wizard/pages/multiQueryWizard/multiQueryConfigureParametersPage.js +2 -2
  894. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.d.ts +2 -2
  895. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceDataMembersPage.js +2 -2
  896. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.d.ts +2 -2
  897. package/query-builder/wizard/pages/objectDataSourceWizard/chooseObjectDataSourceTypesPage.js +2 -2
  898. package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.d.ts +2 -2
  899. package/query-builder/wizard/pages/objectDataSourceWizard/configureObjectDataSourceParametersPage.js +2 -2
  900. package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.d.ts +2 -2
  901. package/query-builder/wizard/pages/sqlDataSourceWizard/_sqlDataSourceWrapper.js +2 -2
  902. package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.d.ts +3 -2
  903. package/query-builder/wizard/pages/sqlDataSourceWizard/configureParametersPage.js +2 -2
  904. package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.d.ts +2 -2
  905. package/query-builder/wizard/pages/sqlDataSourceWizard/configureQueryPage.js +2 -2
  906. package/query-builder/wizard/pages/wizardPageBase.d.ts +2 -2
  907. package/query-builder/wizard/pages/wizardPageBase.js +2 -2
  908. package/query-builder/wizard/pages/wizardPageMetadata.d.ts +2 -2
  909. package/query-builder/wizard/pages/wizardPageMetadata.js +2 -2
  910. package/query-builder/wizard/popupWizard.d.ts +3 -2
  911. package/query-builder/wizard/popupWizard.js +2 -2
  912. package/query-builder/wizard/settings.d.ts +2 -2
  913. package/query-builder/wizard/settings.js +2 -2
  914. package/query-builder/wizard/stateManager.d.ts +2 -2
  915. package/query-builder/wizard/stateManager.js +2 -2
  916. package/query-builder/wizard/wizard.d.ts +2 -2
  917. package/query-builder/wizard/wizard.js +2 -2
  918. package/query-builder/wizard/wizardEventManager.d.ts +2 -2
  919. package/query-builder/wizard/wizardEventManager.js +2 -2
  920. package/queryBuilder-elements-metadata.d.ts +2 -2
  921. package/queryBuilder-elements-metadata.js +2 -2
  922. package/queryBuilder-elements.d.ts +2 -2
  923. package/queryBuilder-elements.js +2 -2
  924. package/queryBuilder-internal.d.ts +2 -2
  925. package/queryBuilder-internal.js +2 -2
  926. package/queryBuilder-metadata.d.ts +2 -2
  927. package/queryBuilder-metadata.js +2 -2
  928. package/queryBuilder-utils.d.ts +2 -2
  929. package/queryBuilder-utils.js +2 -2
  930. package/queryBuilder-widgets-internal.d.ts +2 -2
  931. package/queryBuilder-widgets-internal.js +2 -2
  932. package/queryBuilder-widgets.d.ts +2 -2
  933. package/queryBuilder-widgets.js +2 -2
  934. package/querybuilder.d.ts +2 -2
  935. package/querybuilder.js +2 -2
  936. package/serializer/_date.utiles.d.ts +2 -2
  937. package/serializer/_date.utiles.js +2 -2
  938. package/serializer/_internal.d.ts +2 -2
  939. package/serializer/_internal.js +3 -3
  940. package/serializer/_legacy.d.ts +2 -2
  941. package/serializer/_legacy.js +2 -2
  942. package/serializer/_utils.d.ts +2 -2
  943. package/serializer/_utils.js +2 -2
  944. package/serializer/disposable.d.ts +2 -2
  945. package/serializer/disposable.js +2 -2
  946. package/serializer/eventManager.d.ts +2 -2
  947. package/serializer/eventManager.js +3 -4
  948. package/serializer/native/deserialization.utils.d.ts +2 -2
  949. package/serializer/native/deserialization.utils.js +2 -2
  950. package/serializer/native/deserializationEngine.d.ts +2 -2
  951. package/serializer/native/deserializationEngine.js +2 -2
  952. package/serializer/native/deserializationEngine.updateViewModel.d.ts +2 -2
  953. package/serializer/native/deserializationEngine.updateViewModel.js +3 -3
  954. package/serializer/native/models/base.model.d.ts +2 -2
  955. package/serializer/native/models/base.model.js +2 -2
  956. package/serializer/native/models/interfaces.model.d.ts +2 -2
  957. package/serializer/native/models/interfaces.model.js +2 -2
  958. package/serializer/native/models/modelAccessor.d.ts +2 -2
  959. package/serializer/native/models/modelAccessor.js +2 -2
  960. package/serializer/native/multiplatformEngine.d.ts +2 -2
  961. package/serializer/native/multiplatformEngine.js +13 -3
  962. package/serializer/native/serializer.d.ts +2 -2
  963. package/serializer/native/serializer.js +2 -2
  964. package/serializer/native/viewModels/viewModelGenerator.d.ts +2 -2
  965. package/serializer/native/viewModels/viewModelGenerator.js +2 -2
  966. package/serializer/propertyChangedEvents.d.ts +2 -2
  967. package/serializer/propertyChangedEvents.js +2 -2
  968. package/serializer/serializationInfo.d.ts +3 -2
  969. package/serializer/serializationInfo.js +2 -2
  970. package/serializer/serializer.d.ts +2 -2
  971. package/serializer/serializer.js +4 -3
  972. package/serializer/utils.d.ts +2 -2
  973. package/serializer/utils.js +2 -2
  974. package/undo-engine/_legacy.d.ts +2 -2
  975. package/undo-engine/_legacy.js +2 -2
  976. package/undo-engine/_propertiesVisitor.d.ts +2 -2
  977. package/undo-engine/_propertiesVisitor.js +2 -2
  978. package/undo-engine/_utils.d.ts +2 -2
  979. package/undo-engine/_utils.js +2 -2
  980. package/undo-engine/undoengine.d.ts +2 -2
  981. package/undo-engine/undoengine.js +3 -4
  982. package/widgets/_legacy.d.ts +2 -2
  983. package/widgets/_legacy.js +2 -2
  984. package/widgets/_searchHighlighting.binding.d.ts +2 -2
  985. package/widgets/_searchHighlighting.binding.js +2 -2
  986. package/widgets/_searchHighlighting.d.ts +2 -2
  987. package/widgets/_searchHighlighting.js +2 -2
  988. package/widgets/_utils.d.ts +2 -2
  989. package/widgets/_utils.js +2 -2
  990. package/widgets/ace/_ace-available.d.ts +2 -2
  991. package/widgets/ace/_ace-available.js +2 -2
  992. package/widgets/ace/_ace-mode-criteria.d.ts +2 -2
  993. package/widgets/ace/_ace-mode-criteria.js +2 -2
  994. package/widgets/ace/_ace-mode-doc-comment.d.ts +2 -2
  995. package/widgets/ace/_ace-mode-doc-comment.js +2 -2
  996. package/widgets/ace/_ace_theme.d.ts +2 -2
  997. package/widgets/ace/_ace_theme.js +2 -2
  998. package/widgets/ace/_binding.d.ts +2 -2
  999. package/widgets/ace/_binding.js +2 -2
  1000. package/widgets/bindings.d.ts +2 -2
  1001. package/widgets/bindings.js +2 -2
  1002. package/widgets/common/_codeCompletor.d.ts +3 -2
  1003. package/widgets/common/_codeCompletor.js +2 -2
  1004. package/widgets/common/_displayNameProvider.d.ts +3 -2
  1005. package/widgets/common/_displayNameProvider.js +2 -2
  1006. package/widgets/common/displayNameProvider.d.ts +2 -2
  1007. package/widgets/common/displayNameProvider.js +2 -2
  1008. package/widgets/common/pathRequest.d.ts +2 -2
  1009. package/widgets/common/pathRequest.js +2 -2
  1010. package/widgets/criteria/operators/aggregate.d.ts +2 -2
  1011. package/widgets/criteria/operators/aggregate.js +2 -2
  1012. package/widgets/criteria/operators/between.d.ts +2 -2
  1013. package/widgets/criteria/operators/between.js +2 -2
  1014. package/widgets/criteria/operators/binary.d.ts +2 -2
  1015. package/widgets/criteria/operators/binary.js +2 -2
  1016. package/widgets/criteria/operators/constant.d.ts +2 -2
  1017. package/widgets/criteria/operators/constant.js +2 -2
  1018. package/widgets/criteria/operators/criteriaOperator.d.ts +2 -2
  1019. package/widgets/criteria/operators/criteriaOperator.js +2 -2
  1020. package/widgets/criteria/operators/function.d.ts +2 -2
  1021. package/widgets/criteria/operators/function.js +2 -2
  1022. package/widgets/criteria/operators/group.d.ts +2 -2
  1023. package/widgets/criteria/operators/group.js +2 -2
  1024. package/widgets/criteria/operators/in.d.ts +2 -2
  1025. package/widgets/criteria/operators/in.js +2 -2
  1026. package/widgets/criteria/operators/join.d.ts +2 -2
  1027. package/widgets/criteria/operators/join.js +2 -2
  1028. package/widgets/criteria/operators/options/aggregate.d.ts +2 -2
  1029. package/widgets/criteria/operators/options/aggregate.js +2 -2
  1030. package/widgets/criteria/operators/options/between.d.ts +2 -2
  1031. package/widgets/criteria/operators/options/between.js +2 -2
  1032. package/widgets/criteria/operators/options/binary.d.ts +2 -2
  1033. package/widgets/criteria/operators/options/binary.js +2 -2
  1034. package/widgets/criteria/operators/options/function.d.ts +2 -2
  1035. package/widgets/criteria/operators/options/function.js +2 -2
  1036. package/widgets/criteria/operators/options/group.d.ts +2 -2
  1037. package/widgets/criteria/operators/options/group.js +2 -2
  1038. package/widgets/criteria/operators/options/in.d.ts +2 -2
  1039. package/widgets/criteria/operators/options/in.js +2 -2
  1040. package/widgets/criteria/operators/options/join.d.ts +2 -2
  1041. package/widgets/criteria/operators/options/join.js +2 -2
  1042. package/widgets/criteria/operators/options/parameter.d.ts +2 -2
  1043. package/widgets/criteria/operators/options/parameter.js +2 -2
  1044. package/widgets/criteria/operators/options/property.d.ts +2 -2
  1045. package/widgets/criteria/operators/options/property.js +2 -2
  1046. package/widgets/criteria/operators/options/unary.d.ts +2 -2
  1047. package/widgets/criteria/operators/options/unary.js +2 -2
  1048. package/widgets/criteria/operators/options/value.d.ts +2 -2
  1049. package/widgets/criteria/operators/options/value.js +2 -2
  1050. package/widgets/criteria/operators/parameter.d.ts +2 -2
  1051. package/widgets/criteria/operators/parameter.js +2 -2
  1052. package/widgets/criteria/operators/property.d.ts +2 -2
  1053. package/widgets/criteria/operators/property.js +2 -2
  1054. package/widgets/criteria/operators/unary.d.ts +2 -2
  1055. package/widgets/criteria/operators/unary.js +2 -2
  1056. package/widgets/criteria/operators/value.d.ts +2 -2
  1057. package/widgets/criteria/operators/value.js +2 -2
  1058. package/widgets/criteria/parser/criteriaparser.d.ts +2 -2
  1059. package/widgets/criteria/parser/criteriaparser.js +2 -2
  1060. package/widgets/criteria/utils/criteriaChangeOperator.d.ts +2 -2
  1061. package/widgets/criteria/utils/criteriaChangeOperator.js +2 -2
  1062. package/widgets/criteria/utils/criteriaEnumeration.d.ts +2 -2
  1063. package/widgets/criteria/utils/criteriaEnumeration.js +2 -2
  1064. package/widgets/criteria/utils/criteriaOperatorPreprocessor.d.ts +2 -2
  1065. package/widgets/criteria/utils/criteriaOperatorPreprocessor.js +2 -2
  1066. package/widgets/criteria/utils/criteriaOperatorStateMachine.d.ts +2 -2
  1067. package/widgets/criteria/utils/criteriaOperatorStateMachine.js +2 -2
  1068. package/widgets/criteria/utils/criteriaOperatorVisitor.d.ts +2 -2
  1069. package/widgets/criteria/utils/criteriaOperatorVisitor.js +2 -2
  1070. package/widgets/criteria/utils/criteriaProcessType.d.ts +2 -2
  1071. package/widgets/criteria/utils/criteriaProcessType.js +2 -2
  1072. package/widgets/criteria/utils/operatorTokens.d.ts +2 -2
  1073. package/widgets/criteria/utils/operatorTokens.js +2 -2
  1074. package/widgets/criteria/utils/propertyLocation.d.ts +2 -2
  1075. package/widgets/criteria/utils/propertyLocation.js +2 -2
  1076. package/widgets/expressioneditor/_expressioneditor.d.ts +2 -2
  1077. package/widgets/expressioneditor/_expressioneditor.js +2 -2
  1078. package/widgets/expressioneditor/bindings.d.ts +2 -2
  1079. package/widgets/expressioneditor/bindings.js +2 -2
  1080. package/widgets/expressioneditor/expressioneditor.d.ts +2 -2
  1081. package/widgets/expressioneditor/expressioneditor.js +2 -2
  1082. package/widgets/expressioneditor/tools/_functions.d.ts +2 -2
  1083. package/widgets/expressioneditor/tools/_functions.js +3 -2
  1084. package/widgets/expressioneditor/tools/_operatorNames.d.ts +2 -2
  1085. package/widgets/expressioneditor/tools/_operatorNames.js +2 -2
  1086. package/widgets/expressioneditor/tools/_tools.d.ts +2 -2
  1087. package/widgets/expressioneditor/tools/_tools.js +2 -2
  1088. package/widgets/expressioneditor/tools/_treeListControllers.d.ts +2 -2
  1089. package/widgets/expressioneditor/tools/_treeListControllers.js +2 -2
  1090. package/widgets/filtereditor/filtereditor.d.ts +3 -2
  1091. package/widgets/filtereditor/filtereditor.js +2 -2
  1092. package/widgets/filtereditor/filtereditoroptions.d.ts +2 -2
  1093. package/widgets/filtereditor/filtereditoroptions.js +2 -2
  1094. package/widgets/filtereditor/helpers/_addon.d.ts +2 -2
  1095. package/widgets/filtereditor/helpers/_addon.js +2 -2
  1096. package/widgets/filtereditor/helpers/_codeCompletor.d.ts +2 -2
  1097. package/widgets/filtereditor/helpers/_codeCompletor.js +2 -2
  1098. package/widgets/filtereditor/helpers/_helper.d.ts +2 -2
  1099. package/widgets/filtereditor/helpers/_helper.js +2 -2
  1100. package/widgets/filtereditor/helpers/_serializer.d.ts +2 -2
  1101. package/widgets/filtereditor/helpers/_serializer.js +2 -2
  1102. package/widgets/filtereditor/helpers/_treelistController.d.ts +2 -2
  1103. package/widgets/filtereditor/helpers/_treelistController.js +2 -2
  1104. package/widgets/filtereditor/helpers/_validator.d.ts +2 -2
  1105. package/widgets/filtereditor/helpers/_validator.js +2 -2
  1106. package/widgets/filtereditor/helpers/helper.d.ts +2 -2
  1107. package/widgets/filtereditor/helpers/helper.js +2 -2
  1108. package/widgets/filtereditor/operators/aggregateOperandSurface.d.ts +2 -2
  1109. package/widgets/filtereditor/operators/aggregateOperandSurface.js +2 -2
  1110. package/widgets/filtereditor/operators/betweenOperandSurface.d.ts +2 -2
  1111. package/widgets/filtereditor/operators/betweenOperandSurface.js +2 -2
  1112. package/widgets/filtereditor/operators/binaryOperandSurface.d.ts +2 -2
  1113. package/widgets/filtereditor/operators/binaryOperandSurface.js +2 -2
  1114. package/widgets/filtereditor/operators/criteriaOperatorSurface.d.ts +2 -2
  1115. package/widgets/filtereditor/operators/criteriaOperatorSurface.js +2 -2
  1116. package/widgets/filtereditor/operators/functionOperandSurface.d.ts +2 -2
  1117. package/widgets/filtereditor/operators/functionOperandSurface.js +2 -2
  1118. package/widgets/filtereditor/operators/groupOperandSurface.d.ts +2 -2
  1119. package/widgets/filtereditor/operators/groupOperandSurface.js +2 -2
  1120. package/widgets/filtereditor/operators/inOperandSurface.d.ts +2 -2
  1121. package/widgets/filtereditor/operators/inOperandSurface.js +2 -2
  1122. package/widgets/filtereditor/operators/operandParameterSurface.d.ts +2 -2
  1123. package/widgets/filtereditor/operators/operandParameterSurface.js +2 -2
  1124. package/widgets/filtereditor/operators/operandPropertySurface.d.ts +2 -2
  1125. package/widgets/filtereditor/operators/operandPropertySurface.js +2 -2
  1126. package/widgets/filtereditor/operators/operandSurfaceBase.d.ts +2 -2
  1127. package/widgets/filtereditor/operators/operandSurfaceBase.js +2 -2
  1128. package/widgets/filtereditor/operators/operandValueSurface.d.ts +2 -2
  1129. package/widgets/filtereditor/operators/operandValueSurface.js +2 -2
  1130. package/widgets/filtereditor/operators/unaryOperandSurface.d.ts +2 -2
  1131. package/widgets/filtereditor/operators/unaryOperandSurface.js +2 -2
  1132. package/widgets/formatstring/_patterns.d.ts +2 -2
  1133. package/widgets/formatstring/_patterns.js +2 -2
  1134. package/widgets/formatstring/binding.d.ts +2 -2
  1135. package/widgets/formatstring/binding.js +2 -2
  1136. package/widgets/formatstring/formatstringeditor.d.ts +2 -2
  1137. package/widgets/formatstring/formatstringeditor.js +2 -2
  1138. package/widgets/internal/_popupComponentBase.d.ts +2 -2
  1139. package/widgets/internal/_popupComponentBase.js +2 -2
  1140. package/widgets/internal/_popupwithautoheight.d.ts +2 -2
  1141. package/widgets/internal/_popupwithautoheight.js +2 -2
  1142. package/widgets/internal/_resizeHelper.d.ts +2 -2
  1143. package/widgets/internal/_resizeHelper.js +2 -2
  1144. package/widgets/internal/_valueEditorHelper.d.ts +2 -2
  1145. package/widgets/internal/_valueEditorHelper.js +2 -2
  1146. package/widgets/treelist/_binding.d.ts +2 -2
  1147. package/widgets/treelist/_binding.js +2 -2
  1148. package/widgets/treelist/_ko_binging.d.ts +2 -2
  1149. package/widgets/treelist/_ko_binging.js +2 -2
  1150. package/widgets/treelist/_ko_treelistUtils.d.ts +2 -2
  1151. package/widgets/treelist/_ko_treelistUtils.js +2 -2
  1152. package/widgets/treelist/_reorderTreeListDragDropHelper.d.ts +2 -2
  1153. package/widgets/treelist/_reorderTreeListDragDropHelper.js +2 -2
  1154. package/widgets/treelist/_treeListSearchOptions.d.ts +2 -2
  1155. package/widgets/treelist/_treeListSearchOptions.js +2 -2
  1156. package/widgets/treelist/_treeListSearchViewModel.d.ts +2 -2
  1157. package/widgets/treelist/_treeListSearchViewModel.js +2 -2
  1158. package/widgets/treelist/_treelistController.d.ts +2 -2
  1159. package/widgets/treelist/_treelistController.js +2 -2
  1160. package/widgets/treelist/_treelistItem.d.ts +2 -2
  1161. package/widgets/treelist/_treelistItem.js +2 -2
  1162. package/widgets/treelist/_treelistItem.viewModel.d.ts +2 -2
  1163. package/widgets/treelist/_treelistItem.viewModel.js +2 -2
  1164. package/widgets/treelist/options.d.ts +2 -2
  1165. package/widgets/treelist/options.js +2 -2
  1166. package/widgets/utils.d.ts +5 -4
  1167. package/widgets/utils.js +2 -2
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * DevExpress Analytics (dist\js\dx-analytics-core.min.js)
3
- * Version: 23.2.1-alpha-23254-1700
4
- * Build date: Sep 11, 2023
3
+ * Version: 23.2.2-beta
4
+ * Build date: Nov 13, 2023
5
5
  * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
6
6
  * License: https://www.devexpress.com/Support/EULAs/universal.xml
7
7
  */
8
- !function(i){var r={};function s(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,s),t.l=!0,t)).exports}s.m=i,s.c=r,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)s.d(i,r,function(e){return t[e]}.bind(null,r));return i},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=66)}([function(e,t){e.exports=ko},function(e,t){e.exports=jQuery},function(e,t,i){"use strict";i.d(t,"h",function(){return a}),i.d(t,"a",function(){return n}),i.d(t,"e",function(){return o}),i.d(t,"d",function(){return d}),i.d(t,"b",function(){return u}),i.d(t,"c",function(){return c}),i.d(t,"g",function(){return p}),i.d(t,"f",function(){return h});var s=i(18),l=i(22),r=i(30);function a(e,t){return{model:e,properties:t}}class n{cleanNode(e){}addDisposeCallback(e,t){}removeDisposeCallback(e,t){}peek(e){return e}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){e[t]=i}generateProperty(e,t,i,r){s.c.generateProperty(e,t,i,r)}generateArrayProperty(e,t,i,r){s.c.generateArrayProperty(e,t,i,r)}createComputedProperty(t,i,r,e,s,a=0){const n=()=>{var e={propertyName:i,newValue:t[i]};t.onPropertyChanged&&t.onPropertyChanged(e),Object(l.b)(t,e),t.events&&t.events.call("propertyChanged",e)};function o(r,e){var t;let s={};const a=[];return"*"===e?a.push(null==(t=null==r?void 0:r.events)?void 0:t.on("propertyChanged",()=>{n()})):e.forEach(i=>{var e,t;"object"==typeof(t=i)&&"subscribables"in t?(t=i.propertyName+"Changed",a.push(null==(e=null==r?void 0:r.events)?void 0:e.on(t,({propertyName:e})=>{if(s[e]&&s[e](),Array.isArray(r[e])){const t=r[e].map(e=>o(e,i.subscribables));s[e]=()=>t.forEach(e=>e())}else s[e]=o(r[e],i.subscribables);n()}))):"string"==typeof i&&(e=i+"Changed",a.push(null==(t=null==r?void 0:r.events)?void 0:t.on(e,()=>n())))}),()=>{for(var e in s)s[e]();a.forEach(e=>e&&e())}}"function"==typeof r?(Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:()=>r()}),r()):Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:()=>r.read(),set:e=>r.write(e)});const d=e.map(e=>e.model?o(e.model,e.properties):()=>{});return()=>{d.forEach(e=>e())}}subscribeValue(e,t){return()=>{}}subscribeOnPropertyChanged(e,t,i,r){if(e&&e.events){const s=e.events.on(t+"Changed",({newValue:e})=>{i(e)});return()=>{s(),r&&r()}}return()=>{}}unwrap(e){return e}wrap(e){return e}applyBindings(e,t){}}const o=new n,d=e=>new r.a(e);let u=d,c=o;function p(e){c=e}function h(e){u=e}},function(e,t,i){"use strict";i.d(t,"b",function(){return a}),i.d(t,"c",function(){return n}),i.d(t,"a",function(){return o}),i.d(t,"d",function(){return d});var r=i(7),s=i(9);function a(e){Object(r.b)(s.i,e.messages)}function n(e,t,i){return Object(s.d)(e,t,s.l)}function o(e,t){return-1!==e.indexOf(t,e.length-t.length)}function d(t){Object(r.b)(s.b,t);const i={};Object.keys(t).forEach(e=>{i[e]=t[e]}),a({messages:i})}},function(e,t,i){"use strict";i.d(t,"a",function(){return r});class r{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})))}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]})}}},function(e,t,i){"use strict";i.r(t),i.d(t,"CriteriaOperatorPreprocessor",function(){return s}),i.d(t,"criteriaCreator",function(){return a});var r=i(11);class s{constructor(){this._func=[],this._factory={},this._changeTypeFactory={}}addListener(e){-1===this._func.indexOf(e)&&this._func.push(e)}removeListener(e){e=this._func.indexOf(e);-1!==e&&this._func.splice(e,1)}register(e,t,i){this._factory[e]=t,i&&(this._changeTypeFactory[e]=e=>{let t=i(e);return t=e.reverse?this.process("unary",{operator:t,operatorType:r.UnaryOperatorType.Not}):t})}process(t,i={}){let r=t in this._factory?this._factory[t](i):this._factory.default();return this._func.forEach(e=>{r=e(r,{operatorType:t,options:i||{}})}),r}changeByType(e){return this._changeTypeFactory[e._type]?this._changeTypeFactory[e._type](e):null}}const a=new s},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"FunctionOperatorType",function(){return r}),(i=r=r||{})[i.None=0]="None",i[i.Custom=1]="Custom",i[i.CustomNonDeterministic=2]="CustomNonDeterministic",i[i.Iif=3]="Iif",i[i.InRange=4]="InRange",i[i.IsNull=5]="IsNull",i[i.IsNullOrEmpty=6]="IsNullOrEmpty",i[i.Trim=7]="Trim",i[i.Len=8]="Len",i[i.Substring=9]="Substring",i[i.Upper=10]="Upper",i[i.Lower=11]="Lower",i[i.Concat=12]="Concat",i[i.Ascii=13]="Ascii",i[i.Char=14]="Char",i[i.ToStr=15]="ToStr",i[i.Replace=16]="Replace",i[i.Reverse=17]="Reverse",i[i.Insert=18]="Insert",i[i.CharIndex=19]="CharIndex",i[i.Remove=20]="Remove",i[i.Abs=21]="Abs",i[i.Sqr=22]="Sqr",i[i.Cos=23]="Cos",i[i.Sin=24]="Sin",i[i.Atn=25]="Atn",i[i.Exp=26]="Exp",i[i.Log=27]="Log",i[i.Rnd=28]="Rnd",i[i.Tan=29]="Tan",i[i.Power=30]="Power",i[i.Sign=31]="Sign",i[i.Round=32]="Round",i[i.Ceiling=33]="Ceiling",i[i.Floor=34]="Floor",i[i.Max=35]="Max",i[i.Min=36]="Min",i[i.Acos=37]="Acos",i[i.Asin=38]="Asin",i[i.Atn2=39]="Atn2",i[i.BigMul=40]="BigMul",i[i.Cosh=41]="Cosh",i[i.Log10=42]="Log10",i[i.Sinh=43]="Sinh",i[i.Tanh=44]="Tanh",i[i.PadLeft=45]="PadLeft",i[i.PadRight=46]="PadRight",i[i.StartsWith=47]="StartsWith",i[i.EndsWith=48]="EndsWith",i[i.Contains=49]="Contains",i[i.ToInt=50]="ToInt",i[i.ToLong=51]="ToLong",i[i.ToFloat=52]="ToFloat",i[i.ToDouble=53]="ToDouble",i[i.ToDecimal=54]="ToDecimal",i[i.LocalDateTimeThisYear=55]="LocalDateTimeThisYear",i[i.LocalDateTimeThisMonth=56]="LocalDateTimeThisMonth",i[i.LocalDateTimeLastWeek=57]="LocalDateTimeLastWeek",i[i.LocalDateTimeThisWeek=58]="LocalDateTimeThisWeek",i[i.LocalDateTimeYesterday=59]="LocalDateTimeYesterday",i[i.LocalDateTimeToday=60]="LocalDateTimeToday",i[i.LocalDateTimeNow=61]="LocalDateTimeNow",i[i.LocalDateTimeTomorrow=62]="LocalDateTimeTomorrow",i[i.LocalDateTimeDayAfterTomorrow=63]="LocalDateTimeDayAfterTomorrow",i[i.LocalDateTimeNextWeek=64]="LocalDateTimeNextWeek",i[i.LocalDateTimeTwoWeeksAway=65]="LocalDateTimeTwoWeeksAway",i[i.LocalDateTimeNextMonth=66]="LocalDateTimeNextMonth",i[i.LocalDateTimeNextYear=67]="LocalDateTimeNextYear",i[i.InDateRange=68]="InDateRange",i[i.IsOutlookIntervalBeyondThisYear=69]="IsOutlookIntervalBeyondThisYear",i[i.IsOutlookIntervalLaterThisYear=70]="IsOutlookIntervalLaterThisYear",i[i.IsOutlookIntervalLaterThisMonth=71]="IsOutlookIntervalLaterThisMonth",i[i.IsOutlookIntervalNextWeek=72]="IsOutlookIntervalNextWeek",i[i.IsOutlookIntervalLaterThisWeek=73]="IsOutlookIntervalLaterThisWeek",i[i.IsOutlookIntervalTomorrow=74]="IsOutlookIntervalTomorrow",i[i.IsOutlookIntervalToday=75]="IsOutlookIntervalToday",i[i.IsOutlookIntervalYesterday=76]="IsOutlookIntervalYesterday",i[i.IsOutlookIntervalEarlierThisWeek=77]="IsOutlookIntervalEarlierThisWeek",i[i.IsOutlookIntervalLastWeek=78]="IsOutlookIntervalLastWeek",i[i.IsOutlookIntervalEarlierThisMonth=79]="IsOutlookIntervalEarlierThisMonth",i[i.IsOutlookIntervalEarlierThisYear=80]="IsOutlookIntervalEarlierThisYear",i[i.IsOutlookIntervalPriorThisYear=81]="IsOutlookIntervalPriorThisYear",i[i.IsLastMonth=82]="IsLastMonth",i[i.IsLastYear=83]="IsLastYear",i[i.IsNextMonth=84]="IsNextMonth",i[i.IsNextYear=85]="IsNextYear",i[i.IsThisWeek=86]="IsThisWeek",i[i.IsThisMonth=87]="IsThisMonth",i[i.IsThisYear=88]="IsThisYear",i[i.IsJanuary=89]="IsJanuary",i[i.IsFebruary=90]="IsFebruary",i[i.IsMarch=91]="IsMarch",i[i.IsApril=92]="IsApril",i[i.IsMay=93]="IsMay",i[i.IsJune=94]="IsJune",i[i.IsJuly=95]="IsJuly",i[i.IsAugust=96]="IsAugust",i[i.IsSeptember=97]="IsSeptember",i[i.IsOctober=98]="IsOctober",i[i.IsNovember=99]="IsNovember",i[i.IsDecember=100]="IsDecember",i[i.IsSameDay=101]="IsSameDay",i[i.IsYearToDate=102]="IsYearToDate",i[i.DateDiffTick=103]="DateDiffTick",i[i.DateDiffSecond=104]="DateDiffSecond",i[i.DateDiffMilliSecond=105]="DateDiffMilliSecond",i[i.DateDiffMinute=106]="DateDiffMinute",i[i.DateDiffHour=107]="DateDiffHour",i[i.DateDiffDay=108]="DateDiffDay",i[i.DateDiffMonth=109]="DateDiffMonth",i[i.DateDiffYear=110]="DateDiffYear",i[i.DateTimeFromParts=111]="DateTimeFromParts",i[i.GetDate=112]="GetDate",i[i.GetMilliSecond=113]="GetMilliSecond",i[i.GetSecond=114]="GetSecond",i[i.GetMinute=115]="GetMinute",i[i.GetHour=116]="GetHour",i[i.GetDay=117]="GetDay",i[i.GetMonth=118]="GetMonth",i[i.GetYear=119]="GetYear",i[i.GetDayOfWeek=120]="GetDayOfWeek",i[i.GetDayOfYear=121]="GetDayOfYear",i[i.GetTimeOfDay=122]="GetTimeOfDay",i[i.Now=123]="Now",i[i.UtcNow=124]="UtcNow",i[i.Today=125]="Today",i[i.AddTimeSpan=126]="AddTimeSpan",i[i.AddTicks=127]="AddTicks",i[i.AddMilliSeconds=128]="AddMilliSeconds",i[i.AddSeconds=129]="AddSeconds",i[i.AddMinutes=130]="AddMinutes",i[i.AddHours=131]="AddHours",i[i.AddDays=132]="AddDays",i[i.AddMonths=133]="AddMonths",i[i.AddYears=134]="AddYears",i[i.OrderDescToken=135]="OrderDescToken"},function(e,t,i){"use strict";i.d(t,"e",function(){return p}),i.d(t,"c",function(){return n}),i.d(t,"d",function(){return h}),i.d(t,"b",function(){return g}),i.d(t,"a",function(){return o});const r={},s=r.hasOwnProperty;function a(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[r.toString.call(e)]||"object":typeof e}function p(e){var t;return!("object"!==a(e)||e.nodeType||null!=(t=e)&&t===t.window||e.constructor&&!s.call(e.constructor.prototype,"isPrototypeOf"))}function n(e){return"string"!=typeof e&&null!==e&&"object"==typeof e&&0===Object.keys(e).length}function h(e){return"function"===a(e)}function g(e,t){let i,r,s,a,n,o,d=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof d&&(c=d,d=arguments[l]||{},l++),"object"==typeof d||h(d)||(d={}),l===u&&(d=this,l--);l<u;l++)if(null!=(i=arguments[l]))for(r in i)s=d[r],a=i[r],d!==a&&(c&&a&&(p(a)||(n=Array.isArray(a)))?(o=n?(n=!1,s&&Array.isArray(s)?s:[]):s&&p(s)?s:{},d[r]=g(c,o,a)):void 0!==a&&(d[r]=a));return d}function o(e,t){return Object.assign(Object.create(Object.getPrototypeOf(e)),t||e)}["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach(e=>r["[object "+e+"]"]=e.toLowerCase())},function(e,t,i){"use strict";i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a}),i.d(t,"c",function(){return n}),i.d(t,"d",function(){return o});var r=i(2);function s(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 a(s,...t){var i=(e,t=!0)=>{var i=e.split(".");let r=s;for(let e=0;e<i.length-1;e++)!r[i[e]]&&t&&(r[i[e]]={}),r=r[i[e]];return{object:r,propertyName:i[i.length-1]}};const r=t[t.length-1],a=i(t[t.length-1]);for(let e=0;e<t.length-1;e++)((t,e)=>{Object.defineProperty(e.object,e.propertyName,{get:()=>(console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),a.object[a.propertyName]),set:e=>{console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),a.object[a.propertyName]=e},configurable:!0})})(t[e],i(t[e]))}function n(e,t){let i=()=>{r.c.removeDisposeCallback(e,i),t&&t(),i=null,t=null};r.c.addDisposeCallback(e,i)}function o(e,i){let r=e;const s=[];return Object.assign(t=>(void 0!==t&&(r!==t&&(i&&i(t),s.forEach(e=>e(t))),r=t),r),{subscribe:e=>(s.push(e),()=>s.splice(s.indexOf(e),1)),notifySubscribers:t=>{r!==t&&(r=t,s.forEach(e=>e(t)))}})}},function(e,t,i){"use strict";i.d(t,"f",function(){return o}),i.d(t,"d",function(){return l}),i.d(t,"l",function(){return u}),i.d(t,"a",function(){return c}),i.d(t,"i",function(){return p}),i.d(t,"b",function(){return h}),i.d(t,"o",function(){return g}),i.d(t,"j",function(){return m}),i.d(t,"n",function(){return f}),i.d(t,"m",function(){return v}),i.d(t,"e",function(){return x}),i.d(t,"h",function(){return b}),i.d(t,"g",function(){return y}),i.d(t,"c",function(){return _}),i.d(t,"k",function(){return C});var r=i(33),s=i(1),a=i(26),n=i(7);function o(e){Object(n.b)(p,e)}function d(e){return y(e)||e}function l(e,t=null,i=u){var r=t&&y(t)||d(e);return x(r=t&&function(e,t=u){var i=y(e);if(i&&t&&(-1!==i.indexOf("&")||-1!==i.indexOf("<u>")||-1!==i.indexOf("</u>")))return(t={})[e]=i.replace("&","").replace("<u>","").replace("</u>",""),o(t),t[e]}(t,i)||r)&&(e=r),x(e)?d(e):r}const u=!0;var c=c||window.Globalize;const p={},h={};function g(){return l("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")}function m(){return l("No data to display","AnalyticsCoreStringId.DataPreview_Empty")}function f(){return l("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")}function v(e,t){const i=s.Deferred();return 0<e.length?s.when(...e).done((...e)=>{e.forEach(e=>o(e[0]))}).always(()=>i.resolve(t())):i.resolve(t()),i}function x(e){return!!h[e]}function b(e){return!!x(e)&&l(e)}function y(e){return p[e]}function _(e){return r.formatDate(e,"shortDate")}function C(e,t=!0,i){return t?e?e instanceof Date?e:Object(a.a)(e):null:i?r.parseDate(e,i):r.parseDate(e,void 0)}},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"BinaryOperatorType",function(){return r}),(i=r=r||{})[i.Equal=0]="Equal",i[i.NotEqual=1]="NotEqual",i[i.Greater=2]="Greater",i[i.Less=3]="Less",i[i.LessOrEqual=4]="LessOrEqual",i[i.GreaterOrEqual=5]="GreaterOrEqual",i[i.Like=6]="Like",i[i.BitwiseAnd=7]="BitwiseAnd",i[i.BitwiseOr=8]="BitwiseOr",i[i.BitwiseXor=9]="BitwiseXor",i[i.Divide=10]="Divide",i[i.Modulo=11]="Modulo",i[i.Multiply=12]="Multiply",i[i.Plus=13]="Plus",i[i.Minus=14]="Minus"},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"UnaryOperatorType",function(){return r}),(i=r=r||{})[i.Minus=0]="Minus",i[i.Plus=1]="Plus",i[i.BitwiseNot=2]="BitwiseNot",i[i.Not=3]="Not",i[i.IsNull=4]="IsNull"},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"GroupOperatorType",function(){return r}),(i=r=r||{})[i.And=0]="And",i[i.Or=1]="Or"},function(e,t,i){"use strict";i.d(t,"a",function(){return a});var r=i(5),s=i(11);class a{constructor(){this.type="default",this.operands=null,this.changeValue=(e,t,i)=>{t=t?r.criteriaCreator.process("unary",{operatorType:s.UnaryOperatorType.Minus,operator:e}):e;return null!==i.index?this[i.name][i.index]=t:this[i.name]=t,t},this.changeValueType=(e,t)=>{e=new e;return null!==t.index?this[t.name][t.index]=e:this[t.name]=e,e},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(){var 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"}}r.criteriaCreator.register("default",e=>new a)},function(e,t,i){"use strict";i.d(t,"a",function(){return s});var t=i(13),r=i(5);class s extends t.a{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):r.criteriaCreator.process("property",{propertyName:this.propertyName})}}r.criteriaCreator.register("property",e=>new s(e.propertyName,e.startColumn,e.startLine,e.originalPropertyLength,e.circumflex))},function(e,t,i){"use strict";i.d(t,"a",function(){return d});var t=i(13),s=i(19),r=i(10),a=i(11),n=i(12),o=i(5);class d extends t.a{constructor(e,t,i,r){super(),this.change=(e,t)=>{let i=null;return e.type===n.GroupOperatorType&&(i=o.criteriaCreator.changeByType(e),(e.type!==i.enumType?i.leftPart:i).assignFrom(t),this.condition=i),i},this.assignLeftPart=e=>{e.leftPart instanceof d?this.assignFrom(e.leftPart):e instanceof d?(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 s.a&&r.operatorType===a.UnaryOperatorType.Not?"group"===r.operand.type?this.condition=o.criteriaCreator.process("unary",{operator:r.operand,operatorType:a.UnaryOperatorType.Not}):this.condition=o.criteriaCreator.process("unary",{operator:o.criteriaCreator.process("group",{operation:n.GroupOperatorType.And,operands:r.operand?[r.operand]:[]}),operatorType:a.UnaryOperatorType.Not}):this.condition=o.criteriaCreator.process("group",{operation:n.GroupOperatorType.And,operands:r?[r]:[]}),this.operatorType=i,t&&(1<t.length?this.customAggregatedExpression=t:this.aggregatedExpression=t[0]||null)}get displayType(){return this.operatorType}get enumType(){return d}get leftPart(){return this.property}children(){const t=[];return this.condition&&t.push(this.condition),this.aggregatedExpression?t.push(this.aggregatedExpression):this.customAggregatedExpression&&this.customAggregatedExpression.forEach(e=>t.push(e)),t}accept(t){if(t.visitAggregateOperand)return t.visitAggregateOperand(this);let e=null;return this.aggregatedExpression?e=[this.aggregatedExpression]:this.customAggregatedExpression&&(e=this.customAggregatedExpression.map(e=>e.accept(t))),o.criteriaCreator.process("aggregate",{aggregateType:this.operatorType,aggregatedExpression:e,condition:this.condition&&this.condition.accept(t),property:this.property&&this.property.accept(t)})}}o.criteriaCreator.register("aggregate",e=>new d(e.property,e.aggregatedExpression,e.aggregateType,e.condition),e=>{var t={property:o.criteriaCreator.process("property"),aggregateType:e.value,aggregatedExpression:null,condition:o.criteriaCreator.process("group",{operation:n.GroupOperatorType.And,operands:[]})};return"Exists"===e.value?o.criteriaCreator.process("aggregate",t):("Count"!==e.value&&(t.aggregatedExpression=[o.criteriaCreator.process("property")]),o.criteriaCreator.process("binary",{left:o.criteriaCreator.process("aggregate",t),right:o.criteriaCreator.process("value",{value:void 0}),operatorType:r.BinaryOperatorType.Equal}))})},function(e,t,i){"use strict";i.d(t,"d",function(){return s}),i.d(t,"a",function(){return a}),i.d(t,"f",function(){return o}),i.d(t,"g",function(){return d}),i.d(t,"c",function(){return u}),i.d(t,"b",function(){return c}),i.d(t,"e",function(){return p});var t=i(8),r=i(3);const s=Object(t.d)(19),a=Object(t.d)("Times New Roman, 9.75pt");function n(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 o(e){return e&&n(e)}function d(e){return!e||n(e)}const l=()=>Object(r.c)("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error"),u=[{type:"custom",validationCallback:e=>d(e.value),get message(){return l()}}],c=[{type:"required",get message(){return l()}}],p=[{type:"required",get message(){return Object(r.c)("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}}]},function(e,t,i){"use strict";i.r(t),i.d(t,"GroupOperator",function(){return r});var t=i(13),a=i(5),s=i(12),n=i(10);class r extends t.a{constructor(e,t){super(),this.create=(e,t,i)=>{let r=a.criteriaCreator.process("binary",{left:t,right:a.criteriaCreator.process("value",{value:""}),operatorType:n.BinaryOperatorType.Equal});return e?r=a.criteriaCreator.process("group",{operation:s.GroupOperatorType.And,operands:[]}):i&&"list"===i&&(r=a.criteriaCreator.process("aggregate",{aggregateType:"Exisits",property:t,aggregatedExpression:null,condition:a.criteriaCreator.process("group",{operands:[],operation:s.GroupOperatorType.And})})),this.operands.push(r),this.operands[this.operands.indexOf(r)]},this.change=(e,t,i=!1)=>{var r=this.operands.indexOf(t);if(-1===r)throw Error("dont have this element in operands collection");var s=a.criteriaCreator.changeByType(e);return(e.type===s.enumType||Array.isArray(s.leftPart)?s:s.leftPart).assignFrom(t,i,!e.emptyRightPart),this.operands[r]=s,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||[a.criteriaCreator.process("default"),a.criteriaCreator.process("default")]).forEach(e=>this.operands.push(e))}static combine(t,e){const i=[];return(e||[]).forEach(e=>{"group"===e.type&&e.operatorType===t?i.push.apply(i,e.operands):i.push(e)}),1===i.length?i[0]:a.criteriaCreator.process("group",{operands:i,operation:t})}children(){return this.operands}get displayType(){return s.GroupOperatorType[this.operatorType]}get enumType(){return s.GroupOperatorType}accept(t){return t.visitGroupOperator?t.visitGroupOperator(this):new r(this.operatorType,this.operands&&this.operands.map(e=>e.accept(t)))}}a.criteriaCreator.register("group",e=>new r(e.operation,e.operands),e=>a.criteriaCreator.process("group",{operation:e.value,operands:[]}))},function(e,t,i){"use strict";i.d(t,"b",function(){return s}),i.d(t,"a",function(){return r}),i.d(t,"c",function(){return a});var u=i(22);const s={push:(r,s)=>{Object.defineProperty(r,"push",{enumerable:!1,configurable:!0,get:()=>(...e)=>{const i=r.length;var t=Array.prototype.push.call(r,...e);return s({operation:"push",added:e.map((e,t)=>({item:e,index:i+t})),removed:[],newValue:r}),t}})},splice:(r,s)=>{Object.defineProperty(r,"splice",{enumerable:!1,configurable:!0,get:()=>(i,e,...t)=>{e=Array.prototype.splice.call(r,i,e,...t);return s({operation:"splice",added:t.map((e,t)=>({item:e,index:i+t})),removed:e&&e.map((e,t)=>({item:e,index:i+t})),newValue:r}),e}})},pop:(i,r)=>{Object.defineProperty(i,"pop",{enumerable:!1,configurable:!0,get:()=>()=>{var e=i.length,t=Array.prototype.pop.call(i);return r({operation:"pop",added:[],removed:[{item:t,index:e-1}],newValue:i}),t}})}};class r{_defineProperty(r,s,e,a=()=>{},n){let o=e(),d=null,l=null;a&&a(o),Object.defineProperty(r,s,{configurable:!0,enumerable:!0,get:()=>o,set:e=>{const t=o,i=(o=e,()=>{var e;r.isDisposing||t===o&&"always"!==(null==n?void 0:n.notify)||(e={propertyName:s,oldValue:t,newValue:o},a&&a(o),r.onPropertyChanged&&r.onPropertyChanged(e),Object(u.b)(r,e),r.events&&r.events.call("propertyChanged",e))});if(null!=n&&n.deferred)d=d||Promise.resolve().then(()=>{i(),d=null});else if(null!=n&&n.rateLimit){if("notifyWhenChangesStop"===n.rateLimit.method)l&&clearTimeout(l);else if(null!==l)return;l=setTimeout(()=>{i(),l=null},n.rateLimit.timeout)}else i()}})}generateArrayProperty(i,r,e,t){this._defineProperty(i,r,()=>e,e=>{if(Array.isArray(e))for(const t in s)s[t](e,e=>{e=Object.assign({propertyName:r},e);i.onPropertyChanged&&i.onPropertyChanged(e),Object(u.b)(i,e),i.events.call("propertyChanged",e)})},t)}generateProperty(e,t,i,r){this._defineProperty(e,t,()=>i,null,r)}}let a=new r},function(e,t,i){"use strict";i.d(t,"a",function(){return a});var t=i(13),r=i(11),s=i(5);class a extends t.a{constructor(e,t){super(),this.type="unary",this.operand=t||s.criteriaCreator.process("default"),this.operatorType=e}get leftPart(){return this.operand}assignFrom(e){this.operatorType===r.UnaryOperatorType.Not?e instanceof a?this.operand.assignFrom(e.operand):this.operand.assignFrom(e):e instanceof a?this.operand=e.operand.leftPart:this.operand=e.leftPart||e}get displayType(){return r.UnaryOperatorType[this.operatorType]}get enumType(){return r.UnaryOperatorType}accept(e){return e.visitUnaryOperator?e.visitUnaryOperator(this):new a(this.operatorType,this.operand&&this.operand.accept(e))}}s.criteriaCreator.register("unary",e=>new a(e.operatorType,e.operator),e=>s.criteriaCreator.process("unary",{operatorType:e.value,operator:s.criteriaCreator.process("property")}))},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var t=i(13),s=i(16),a=i(9),i=i(5);class r extends t.a{constructor(e,t){super(),this.type="value";let i=null!=e?e:"";var r=Object(s.f)(e);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)):e&&e.length&&"#"===e[0]&&"#"===e[e.length-1]&&!t?(i=e.slice(1,e.length-1),i=(i=Object(a.k)(i))||Object(a.k)(e.slice(1,e.length-1))):"true"===String(e).toLowerCase()||"false"===String(e).toLowerCase()?i="true"===String(e).toLowerCase()?"True":"False":t&&(this.specifics=e.match(/\#\w+\#/g)[0].replace(/\#/g,"").toLowerCase()),this.value=i}_processStringValue(e){let t=e.slice(1,e.length-1);return t=t.replace(/''/g,"'")}get displayType(){return this.value||"?"}}i.criteriaCreator.register("value",e=>new r(null==e?void 0:e.value,null==e?void 0:e.isSomeType))},function(e,t,i){"use strict";i.d(t,"a",function(){return s});var t=i(13),r=i(5);class s extends t.a{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||r.criteriaCreator.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 s}accept(t){return t.visitInOperator?t.visitInOperator(this):new s(this.criteriaOperator&&this.criteriaOperator.accept(t),this.operands&&this.operands.map(e=>e.accept(t)))}}r.criteriaCreator.register("in",e=>new s(e.criteriaOperator,e.operands),e=>r.criteriaCreator.process("in",{criteriaOperator:r.criteriaCreator.process("property"),operands:[r.criteriaCreator.process("value")]}))},function(e,t,i){"use strict";i.d(t,"b",function(){return a}),i.d(t,"a",function(){return n});const r="__viewModel__timeout",s="__viewModel__chunks";function a(e,t){e.__viewModel&&e.updateViewModel&&(e.deferredUpdateViewModel()?n(e,t):e.updateViewModel(t))}function n(t,e){var i;t.__viewModel&&t.updateViewModel&&(t[r]&&clearTimeout(t[r]),t[s]||(t[s]={}),"added"in e||"removed"in e?(i=Array.isArray(t[s][e.propertyName])?t[s][e.propertyName]:[],t[s][e.propertyName]=[...i,e]):t[s][e.propertyName]=e,t[r]=setTimeout(()=>{Object.keys(t[s]).forEach(e=>{e=t[s][e];Array.isArray(e)?e.forEach(e=>t.updateViewModel(e)):t.updateViewModel(e)}),t[s]={}}))}},function(e,t){e.exports=DevExpress.ui.dxScrollView},function(e,t,i){"use strict";i.d(t,"a",function(){return r});t=i(20),i=i(5);class r extends t.a{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 r(this.parameterName,this.value)}}i.criteriaCreator.register("parameter",e=>new r(e.parameterName,e.value))},function(e,t){e.exports=DevExpress.registerComponent},function(e,t,i){"use strict";function r(e,t){return(e||[]).map(e=>{let t=null!=e?e.toString():"00";return t=1===t.length?"0"+t:t}).join(t)}function s(e,t){var i=[e.getMonth()+1,e.getDate(),e.getFullYear()],e=r([e.getHours(),e.getMinutes(),e.getSeconds()],":");return"-"===t||"00:00:00"===e?(t=r([i[2],i[0],i[1]],"-"),"00:00:00"===e?t:t+" "+e):"00:00:00"===e?r([i[2],i[0],i[1]],"-"):r(i,"/")+" "+e}function a(e){e=e.split(" ");let t=e[0].split("-"),i=[0,0,0];return 1<e.length&&(3!==t.length&&(t=e[0].split("/")).splice(0,0,t.splice(2,1)[0]),3!==(i=e[1].split(":").map(e=>parseInt(e))).length)||3!==t.length?null:(t=t.map(e=>parseInt(e)),new Date(t[0],t[1]-1,t[2],i[0],i[1],i[2]))}i.d(t,"b",function(){return s}),i.d(t,"a",function(){return a})},function(e,t,i){"use strict";i.d(t,"a",function(){return r});const r={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">=",Divide:"/",BitwiseAnd:"&",BitwiseOr:"|",BitwiseXor:"^",Modulo:"%",Multiply:"*"}},function(e,t,i){"use strict";i.d(t,"a",function(){return s});var t=i(13),r=i(5);class s extends t.a{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=1<e.rightPart.length?e.rightPart[1]:r.criteriaCreator.process("value")):(this.begin=r.criteriaCreator.process("value"),this.end=r.criteriaCreator.process("value")):(this.begin=e.rightPart,this.end=r.criteriaCreator.process("value"))},this.operatorType="Between",this.type="between",this.property=e,this.begin=t||r.criteriaCreator.process("value"),this.end=i||r.criteriaCreator.process("value")}get leftPart(){return this.property}get rightPart(){return[this.begin,this.end]}get displayType(){return"Between"}get enumType(){return s}accept(e){return e.visitBetweenOperator?e.visitBetweenOperator(this):new s(this.property&&this.property.accept(e),this.begin&&this.begin.accept(e),this.end&&this.end.accept(e))}}r.criteriaCreator.register("between",e=>new s(e.property,e.begin,e.end),e=>r.criteriaCreator.process("between",{property:r.criteriaCreator.process("property"),begin:r.criteriaCreator.process("value"),end:r.criteriaCreator.process("value")}))},function(e,t,i){"use strict";i.d(t,"a",function(){return r}),i.d(t,"b",function(){return s});class r extends i(4).a{constructor(){super(...arguments),this._handlers={}}dispose(){super.dispose(),this._handlers={}}call(e,t){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){t=this._handlers[e].indexOf(t);-1!==t&&this._handlers[e].splice(t,1)}on(e,t){return this.addHandler(e,t),()=>{this._handlers[e]&&this.removeHandler(e,t)}}}class s extends r{call(e,t){var i,r;t&&"propertyChanged"===e||e===`${null==(i=t)?void 0:i.propertyName}Changed`?(r=(i=t).propertyName+"Changed",super.call(r,i),super.call("propertyChanged",i)):super.call(e,t)}}},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var l=i(7),r=i(29),s=i(26),a=i(18);class n{constructor(e){this.engineType="native",this._options={useRefs:!0,serializeDate:s.b},this._refTable={},this._linkTable={},this._options=Object(l.b)(this._options,e)}createObjectByInfo(e){return{getInfo:()=>e||[],events:new r.b,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){e=e[r].slice("#Ref-".length);let s=void 0;this._linkTable[e]=this._linkTable[e]||[],this._linkTable[e].push(e=>s=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:()=>s}})}_enumRefs(e,i,r){e._refs||(e._refs=[]),e._refs.push((e,t)=>{this._getModel(e,i)[r]=t})}_collectLinksAndEnumRefs(t,i=null,r=[]){const s=null===i;i=i||t,Object.keys(t).forEach(e=>{t[e]instanceof Object?this._collectLinksAndEnumRefs(t[e],i,[].concat(r,[e])):t[e].indexOf&&0===t[e].indexOf("#Ref-")?this._collectLinks(t,i,r,e):s||"@Ref"!==e||this._enumRefs(i,r,e)}),s&&this.linkObjects()}setLinks(i){i.linkObjTable.forEach(e=>{var t=i.objects.indexOf(e.obj());e.setRef(t)})}deserializeProperty(e,t){var i=e.modelName;if(i)return t=void 0!==t[i]?t[i]:e.defaultVal,this.deserializePropertyValue(e,t)}deserializeDefaultValue(e){return this.deserializePropertyValue(e,e.defaultVal,!1)||e.defaultVal}deserializePropertyValue(i,r,e=!0){if("string"==typeof i)return this.wrapPropertyValue(r);if(i.array)return i.from?i.from(r,this):i.info?this.wrapPropertyArrayValue(Object.keys(r||{}).map(e=>{var t=this.createObjectByInfo(i.info||[]);return this.deserialize(t,r[e]||{}),t})):void 0;if(i.from)return i.from(r,this);var t;if(i.type)return(t=new i.type(r,this,i.info))._model||this.deserialize(t,r||{},i.info),t;if(i.info)return t=this.createObjectByInfo(i.info),this.deserialize(t,r||{}),t;if(i.modelName)return this.wrapPropertyValue(r);if(e)throw new Error("Invalid info '"+JSON.stringify(i)+"'")}setLinkProperty(e,t,i){return e[t]=i,e[t]}getLinkProperty(e,t){return e[t]}generateProperty(e,t,i){a.c.generateProperty(e,t,i)}generateArrayProperty(e,t,i){a.c.generateArrayProperty(e,t,i)}deserialize(n,o,e=[]){if(o){n._model=Object(l.b)({},o),n.events||(n.events=new r.b),n.getInfo||(n.getInfo=()=>e),e=n.getInfo();var t=o["@Ref"];const d=Object.getPrototypeOf(n);e.forEach(e=>{const t=e.propertyName,i=e.modelName;void 0!==o[i]&&delete n._model[i];let r=void 0;if(e.link){r=this.wrapPropertyValue(null);var s=o[e.modelName];if(s){s=s&&s.slice("#Ref-".length);this._linkTable[s]=this._linkTable[s]||[];const a=this;this._linkTable[s].push(function(e){return 0===arguments.length?a.getLinkProperty(n,t):a.setLinkProperty(n,t,e)})}}else r=this.deserializeProperty(e,o);s=Object.getOwnPropertyDescriptor(d,t);void 0===r||s&&!s.set||this.generateProperty(n,t,r),t in n||void 0!==r||!e.array||this.generateArrayProperty(n,t,[])}),t&&(this._refTable[t]=n),this.linkObjects()}}serialize(e,t,i=null){return t||i?this._serialize(e,t||[],i):this._serialize(e,[],null)}_isSerializableValue(e){return Object(l.e)(e)&&!Object(l.c)(e)||Array.isArray(e)&&0<e.length||!Array.isArray(e)&&!Object(l.e)(e)}serializeProperty(r,e,t,s,i){let a=r.propertyName,n=this.unwrapPropertyValue("_"+a in e?e["_"+a]:e[a]),o=r.defaultVal,d=(r.beforeSerialize&&(n=r.beforeSerialize(n)),r.from&&(o=this.unwrapPropertyValue(r.from(o,this))),{});if(r.modelName&&(r.alwaysSerialize||void 0!==n&&null!==n&&(Object(l.e)(n)||!Object(l.c)(n)||Array.isArray(n)&&0<n.length||!Array.isArray(n)&&!Object(l.e)(n))&&n!==o)){if(r.link)s.linkObjTable.push({obj:()=>n,setRef:e=>{e<0?delete i[r.modelName]:i[r.modelName]="#Ref-"+e}}),d=void 0;else if(r.array){d={};let i=1;n.forEach(e=>{var t=r.info||null,t=this._serialize(e,t,s);(this._isSerializableValue(t)||r.alwaysSerialize)&&(d["Item"+i]=t,this._options.useRefs&&(t["@Ref"]=(s.objects.push(e)-1).toString()),i++)})}else if(r.from)d=n.isEmpty&&n.isEmpty()?{}:r.toJsonObject?r.toJsonObject(n,this,s):n.toString();else if(r.info||n.getInfo)d=this._serialize(n,r.info,s);else{if(!r.modelName)throw new Error("Invalid info '"+t.stringify()+"'");d=n instanceof Date?this._options&&this._options.serializeDate(n):n}(r.alwaysSerialize||this._isSerializableValue(d))&&(r.asRef&&(d["@Ref"]=(s.objects.push(n)-1).toString()),i[r.modelName]=d)}}_serialize(t,i,r){const s=Object(l.b)(!0,{},t._model),e=null===r;return r=r||{linkObjTable:[],objects:[]},s._restoreLinks&&(r.linkObjTable.push.apply(r.linkObjTable,s._restoreLinks.map(e=>e(s))),delete s._restoreLinks),s._refs&&(s._refs.forEach(e=>e(s,(r.objects.push("0")-1).toString())),delete s._refs),i=t.getInfo?t.getInfo():i,delete s["@Ref"],t.isEmpty&&t.isEmpty()?{}:(i.forEach(e=>{this.serializeProperty(e,t,i,r,s)}),e&&this.setLinks(r),s)}}},function(e,t,i){"use strict";i.d(t,"a",function(){return r});t=i(5);class r extends i(20).a{constructor(e,t){super(e),this.type="value",t&&!this.specifics&&(this.specifics=t)}accept(e){return e.visitConstantValue?e.visitConstantValue(this):new r(this.value,this.specifics)}}t.criteriaCreator.register("const",e=>new r((null==e?void 0:e.value)||null))},function(e,t){e.exports=DevExpress.config},function(e,t){e.exports=DevExpress.localization},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var t=i(13),r=i(27),s=i(6),a=i(5);class n extends t.a{constructor(e,t){super(),this.toString=e=>{var t=(r.a[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(a.criteriaCreator.process("value")):this.operands.push(e.rightPart)},this.operands=[],this.type="function",this.operatorType=e,(t=t||[a.criteriaCreator.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 s.FunctionOperatorType[this.operatorType]||this.operatorType.toString()}get enumType(){return s.FunctionOperatorType}accept(t){return t.visitFunctionOperator?t.visitFunctionOperator(this):new n(this.operatorType,this.operands&&this.operands.map(e=>e.accept(t)))}}a.criteriaCreator.register("function",e=>new n(e.operatorType,e.operands),e=>new n(e.value,[a.criteriaCreator.process("property")]))},function(M,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var t,i,r,s,a,n,o,d,l,u,c,p,h,g,m,f,v,x,b,y,_,C,w,A,E,I,V,z,S,T,P,L,H,R,j,W,G,$,k,D,U,q,K,Y,J,X,Z,Q,ee,te,F=e(5).criteriaCreator,O=e(10).BinaryOperatorType,ie=e(11).UnaryOperatorType,re=e(17).GroupOperator,se=e(12).GroupOperatorType,ae=e(6).FunctionOperatorType,ne=e(40).JoinOperand,oe=(e=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,45,46,47,51,52,53],U=[1,54],q=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],K=[5,28,29,31,37,46],Y=[1,93],J=[1,94],X=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],Z=[5,20,21,26,27,28,29,31,32,37,46],Q=[5,20,21,22,23,24,25,26,27,28,29,31,32,37,46],ee=[31,37],te=[1,105],(X={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,"(":30,")":31,IS:32,NULL:33,OP_IN:34,arguments:35,OP_BETWEEN:36,",":37,NAME_SOFT:38,STRING:39,NUMBER:40,OBJECT:41,BOOLEAN:42,GUID:43,property:44,"[":45,"]":46,".":47,agg:48,Count:49,Exists:50,FIELD_END:51,CH:52,ESC_CH:53,FIELD_START:54,"?":55,commaseparated:56,$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:"(",31:")",32:"IS",33:"NULL",34:"OP_IN",36:"OP_BETWEEN",37:",",38:"NAME_SOFT",39:"STRING",40:"NUMBER",41:"OBJECT",42:"BOOLEAN",43:"GUID",45:"[",46:"]",47:".",49:"Count",50:"Exists",51:"FIELD_END",52:"CH",53:"ESC_CH",54:"FIELD_START",55:"?"},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,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],[48,1],[48,1],[48,2],[44,2],[44,2],[44,2],[44,3],[44,3],[44,1],[44,1],[44,1],[9,2],[9,1],[35,2],[35,3],[56,1],[56,3]],performAction:function(e,t,i,r,s,a,n){var o=a.length-1;switch(s){case 1:return a[o-1];case 2:this.$=F.process("const",{value:a[o]});break;case 3:case 5:case 35:case 36:case 37:case 38:case 39:this.$=a[o];break;case 4:this.$=F.process("value",{value:a[o],isSomeType:!0});break;case 6:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Multiply});break;case 7:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Divide});break;case 8:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Plus});break;case 9:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Minus});break;case 10:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Modulo});break;case 11:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.BitwiseOr});break;case 12:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.BitwiseAnd});break;case 13:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.BitwiseXor});break;case 14:this.$=F.process("unary",{operatorType:ie.Minus,operator:a[o]});break;case 15:this.$=F.process("unary",{operatorType:ie.Plus,operator:a[o]});break;case 16:case 26:this.$=F.process("unary",{operatorType:ie.Not,operator:a[o]});break;case 17:this.$=F.process("unary",{operatorType:ie.BitwiseNot,operator:a[o]});break;case 18:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Equal});break;case 19:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.NotEqual});break;case 20:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Greater});break;case 21:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Less});break;case 22:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.GreaterOrEqual});break;case 23:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.LessOrEqual});break;case 24:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Like});break;case 25:this.$=F.process("unary",{operatorType:ie.Not,operator:F.process("binary",{left:a[o-3],right:a[o],operatorType:O.Like})});break;case 27:this.$=re.combine(se.And,[a[o-2],a[o]]);break;case 28:this.$=re.combine(se.Or,[a[o-2],a[o]]);break;case 29:case 51:case 62:this.$=a[o-1];break;case 30:this.$=F.process("unary",{operatorType:ie.IsNull,operator:a[o-2]});break;case 31:this.$=F.process("unary",{operatorType:ie.Not,operator:F.process("unary",{operatorType:ie.IsNull,operator:a[o-3]})});break;case 32:this.$=F.process("in",{criteriaOperator:a[o-2],operands:a[o]});break;case 33:this.$=F.process("between",{property:a[o-6],begin:a[o-3],end:a[o-1]});break;case 34:this.$=F.process("function",{operatorType:ae[a[o-1]]||a[o-1],operands:a[o]});break;case 40:this.$=null;break;case 41:this.$=ne.joinOrAggregate(F.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 42:this.$=ne.joinOrAggregate(F.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 43:this.$=ne.joinOrAggregate(F.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 44:this.$=ne.joinOrAggregate(F.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 45:this.$=ne.joinOrAggregate(F.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 46:this.$=F.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 47:this.$=ne.joinOrAggregate(F.process("property",{}),null,a[o].type,a[o].expr);break;case 48:this.$={type:"Count"};break;case 49:this.$={type:"Exists"};break;case 50:this.$={type:a[o-1],expr:a[o]};break;case 52: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 53: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 54: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 55: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 56:this.$={name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 57:this.$={name:a[o],line:n[o].first_line-1,col:n[o].first_column};break;case 58:this.$={circumflex:!0,started:!0,name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 59:this.$=F.process("parameter",{parameterName:a[o]});break;case 60:this.$=F.process("value",{});break;case 61:this.$=[];break;case 63:this.$=[a[o]];break;case 64:this.$=a[o-2].concat(a[o])}},table:[{3:1,4:2,6:3,7:4,8:t=[1,5],9:6,12:i=[1,8],13:r=[1,7],17:s=[1,24],18:a=[1,9],19:n=[1,10],27:o=[1,11],30:d=[1,12],33:l=[1,19],38:u=[1,13],39:c=[1,14],40:p=[1,15],41:h=[1,16],42:g=[1,17],43:m=[1,18],44:20,45:f=[1,21],54:v=[1,23],55:x=[1,22]},{1:[3]},{5:[1,25],10:b=[1,26],11:y=[1,27],12:_=[1,28],13:C=[1,29],14:w=[1,30],15:A=[1,31],16:E=[1,32],17:I=[1,33],20:V=[1,34],21:z=[1,35],22:S=[1,36],23:T=[1,37],24:P=[1,38],25:L=[1,39],26:H=[1,40],27:R=[1,41],28:j=[1,42],29:W=[1,43],32:G=[1,44],34:$=[1,45],36:k=[1,46]},B(D=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,2]),B(D,[2,3]),B(D,[2,4]),B(D,[2,5]),{4:47,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:48,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:49,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:50,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:51,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:52,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(e,[2,57],{35:53,30:U}),B(D,[2,35]),B(D,[2,36]),B(D,[2,37]),B(D,[2,38]),B(D,[2,39]),B(D,[2,40]),B(D,[2,46],{45:[1,55],47:[1,56],51:[1,57],52:[1,58],53:[1,59]}),{46:[1,60]},B(D,[2,60],{38:[1,61]}),B(e,[2,56]),B(e,[2,58]),{1:[2,1]},{4:62,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:63,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:64,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:65,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:66,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:67,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:68,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:69,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:70,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:71,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:72,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:73,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:74,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:75,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:76,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{26:[1,77]},{4:78,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:79,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{27:[1,81],33:[1,80]},{30:U,35:82},{30:[1,83]},B(D,[2,14]),B(D,[2,15]),B(D,[2,16]),B(q,[2,17],{10:b,11:y,12:_,13:C,14:w}),B(K,[2,26],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,32:G,34:$,36:k}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,28:j,29:W,31:[1,84],32:G,34:$,36:k},B(D,[2,34]),{4:87,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,31:[1,85],33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x,56:86},{4:88,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,46:[1,89],54:v,55:x},{38:[1,92],48:90,49:Y,50:J,54:[1,91]},B(e,[2,51]),B(e,[2,52]),B(e,[2,53]),{47:[1,95]},B(D,[2,59]),B(D,[2,6]),B(D,[2,7]),B(X,[2,8],{10:b,11:y,14:w}),B(X,[2,9],{10:b,11:y,14:w}),B(D,[2,10]),B([5,15,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,11],{10:b,11:y,12:_,13:C,14:w,16:E,17:I}),B(q,[2,12],{10:b,11:y,12:_,13:C,14:w}),B([5,15,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,13],{10:b,11:y,12:_,13:C,14:w,16:E}),B(Z,[2,18],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:P,25:L,34:$,36:k}),B(Z,[2,19],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:P,25:L,34:$,36:k}),B(Q,[2,20],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:$,36:k}),B(Q,[2,21],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:$,36:k}),B(Q,[2,22],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:$,36:k}),B(Q,[2,23],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:$,36:k}),B(Z,[2,24],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:P,25:L,34:$,36:k}),{4:96,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(K,[2,27],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,32:G,34:$,36:k}),B([5,29,31,37,46],[2,28],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,28:j,32:G,34:$,36:k}),B(D,[2,30]),{33:[1,97]},B(D,[2,32]),{4:98,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(D,[2,29]),B(D,[2,61]),{31:[1,99],37:[1,100]},B(ee,[2,63],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,28:j,29:W,32:G,34:$,36:k}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,28:j,29:W,32:G,34:$,36:k,46:[1,101]},B(D,[2,45],{47:[1,102]}),B(D,[2,43]),B(e,[2,54]),B(e,[2,55],{35:103,30:U}),B(D,[2,48]),B(D,[2,49]),{38:te,48:104,49:Y,50:J},B(Z,[2,25],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:P,25:L,34:$,36:k}),B(D,[2,31]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,28:j,29:W,32:G,34:$,36:k,37:[1,106]},B(D,[2,62]),{4:107,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(D,[2,44],{47:[1,108]}),{38:te,48:109,49:Y,50:J},B(D,[2,50]),B(D,[2,47]),{30:U,35:103},{4:110,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(ee,[2,64],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,28:j,29:W,32:G,34:$,36:k}),{38:te,48:111,49:Y,50:J},B(D,[2,42]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:P,25:L,26:H,27:R,28:j,29:W,31:[1,112],32:G,34:$,36:k},B(D,[2,41]),B(D,[2,33])],defaultActions:{25:[2,1]},parseError:function(e,t){var i;if(!t.recoverable)throw(i=new Error(e)).hash=t,i;this.trace(e)},parse:function(e){var t,i=this,r=[0],s=[null],a=[],n=this.table,o="",d=0,l=0,u=0,c=1,p=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,t)&&(g.yy[t]=this.yy[t]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var m=h.yylloc,f=(a.push(m),h.options&&h.options.ranges);"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,x,b,y,_,C,w,A=function(){var e=h.lex()||c;return e="number"!=typeof e?i.symbols_[e]||e:e},E={};;){if(b=r[r.length-1],void 0===(y=this.defaultActions[b]||(null==v&&(v=A()),n[b]&&n[b][v]))||!y.length||!y[0]){var I="",S=[];for(_ in n[b])this.terminals_[_]&&2<_&&S.push("'"+this.terminals_[_]+"'");I=h.showPosition?"Parse error on line "+(d+1)+":\n"+h.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(d+1)+": Unexpected "+(v==c?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(I,{text:h.match,token:this.terminals_[v]||v,line:h.yylineno,loc:m,expected:S})}if(y[0]instanceof Array&&1<y.length)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+v);switch(y[0]){case 1:r.push(v),s.push(h.yytext),a.push(h.yylloc),r.push(y[1]),v=null,x?(v=x,x=null):(l=h.yyleng,o=h.yytext,d=h.yylineno,m=h.yylloc,0<u&&u--);break;case 2:if(C=this.productions_[y[1]][1],E.$=s[s.length-C],E._$={first_line:a[a.length-(C||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(C||1)].first_column,last_column:a[a.length-1].last_column},f&&(E._$.range=[a[a.length-(C||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(E,[o,l,d,g.yy,y[1],s,a].concat(p))))return w;C&&(r=r.slice(0,-1*C*2),s=s.slice(0,-1*C),a=a.slice(0,-1*C)),r.push(this.productions_[y[1]][0]),s.push(E.$),a.push(E._$),w=n[r[r.length-2]][r[r.length-1]],r.push(w);break;case 3:return!0}}return!0}}).lexer={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),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),r=(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),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===e.length?this.yylloc.first_column:0)+e[e.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(20<e.length?"...":"")+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)+(20<e.length?"...":"")).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;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)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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 s in r)this[s]=r[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,i,r,s=this._currentRules(),a=0;a<s.length;a++)if((i=this._input.match(this.rules[s[a]]))&&(!t||i[0].length>t[0].length))if(t=i,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[a])))return e;if(!this._backtrack)return!1;t=!1}else 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 0<this.conditionStack.length-1?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]]:this.conditions.INITIAL).rules},topState:function(e){return 0<=(e=this.conditionStack.length-1-Math.abs(e||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"),45;case 1:return this.begin("INITIAL"),51;case 2:return 53;case 3:return 52;case 4:return"INVALID";case 5:return 39;case 6:return 43;case 7:return 8;case 8:return 41;case 9:return 40;case 10:case 11:return 42;case 12:break;case 13:return 36;case 14:return 34;case 15:return 27;case 16:return 32;case 17:return 33;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:return 21;case 25:return 18;case 26:return 14;case 27:return 21;case 28:return 24;case 29:return 25;case 30:return 22;case 31:return 23;case 32:return 29;case 33:return 28;case 34:case 35:return 20;case 36:return 26;case 37:return 28;case 38:return 29;case 39:return 16;case 40:return 15;case 41:return this.begin("fieldname"),54;case 42:return 46;case 43:return 30;case 44:return 31;case 45:return 47;case 46:return 37;case 47:return 55;case 48:return 38;case 49:return"INVALID";case 50: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})?)/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,/^(?: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],inclusive:!0}}},new((de.prototype=X).Parser=de));function B(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i}function de(){this.yy={}}N.criteriaparser=oe,N.parse=function(e){return oe.parse(e)}},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var t=i(13),r=i(27),s=i(10),a=i(5);class n extends t.a{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||a.criteriaCreator.process("default"),this.rightOperand=t||a.criteriaCreator.process("default"),this.operatorType=i}get leftPart(){return this.leftOperand}get rightPart(){return this.rightOperand}get displayType(){return r.a[s.BinaryOperatorType[this.operatorType]]||s.BinaryOperatorType[this.operatorType]}get enumType(){return s.BinaryOperatorType}accept(e){return e.visitBinaryOperator?e.visitBinaryOperator(this):new n(this.leftOperand&&this.leftOperand.accept(e),this.rightOperand&&this.rightOperand.accept(e),this.operatorType)}}a.criteriaCreator.register("binary",e=>new n(e.left,e.right,e.operatorType),e=>a.criteriaCreator.process("binary",{left:a.criteriaCreator.process("property"),right:a.criteriaCreator.process("value"),operatorType:e.value}))},function(e,t){e.exports=DevExpress.ui.dxTextBox},function(e,t){e.exports=DevExpress.ui.dxPopup},function(e,t){e.exports=DevExpress.events},function(e,t,i){"use strict";i.r(t),i.d(t,"JoinOperand",function(){return r});var t=i(13),s=i(5);class r extends t.a{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]?s.criteriaCreator.process("aggregate",{property:e,aggregatedExpression:r,aggregateType:i,condition:t}):s.criteriaCreator.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 r(this.joinTypeName,this.condition&&this.condition.accept(e),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(e))}}},function(e,t){e.exports=DevExpress.data.DataSource},function(e,t){e.exports=window.ace},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t){e.exports=DevExpress.ui.dxButton},function(e,t){e.exports=DevExpress.ui.dxDropDownBox},function(e,t){e.exports=DevExpress.VERSION},function(e,t){e.exports=DevExpress.ui.dxSelectBox},function(e,t){e.exports=DevExpress.ui.dxMenu},function(e,t){e.exports=DevExpress.ui.notify},function(e,t){e.exports=DevExpress.data.ArrayStore},function(e,t){e.exports=DevExpress.data.CustomStore},function(e,t){e.exports=DevExpress.ui.themes},function(e,t){e.exports=DevExpress.validationEngine},function(e,t){e.exports=DevExpress.ui.dxTextArea},function(e,t,i){"use strict";i.r(t);var r,s=i(35),a=i(5),n=i(13),o=i(14),d=i(15),l=i(28),u=i(36),c=i(20),p=i(31),h=i(34),g=i(17),m=i(21),f=i(40),v=i(24),x=i(19),b=(i(43),i(44),i(45),i(10)),y=(i(46),i(6)),_=i(12),C=(i(47),i(48),i(49),i(11));for(r in s)"default"!==r&&!function(e){i.d(t,e,function(){return s[e]})}(r);i.d(t,"CriteriaOperatorPreprocessor",function(){return a.CriteriaOperatorPreprocessor}),i.d(t,"criteriaCreator",function(){return a.criteriaCreator}),i.d(t,"CriteriaOperator",function(){return n.a}),i.d(t,"OperandProperty",function(){return o.a}),i.d(t,"AggregateOperand",function(){return d.a}),i.d(t,"BetweenOperator",function(){return l.a}),i.d(t,"BinaryOperator",function(){return u.a}),i.d(t,"OperandValue",function(){return c.a}),i.d(t,"ConstantValue",function(){return p.a}),i.d(t,"FunctionOperator",function(){return h.a}),i.d(t,"GroupOperator",function(){return g.GroupOperator}),i.d(t,"InOperator",function(){return m.a}),i.d(t,"JoinOperand",function(){return f.JoinOperand}),i.d(t,"OperandParameter",function(){return v.a}),i.d(t,"UnaryOperator",function(){return x.a}),i.d(t,"BinaryOperatorType",function(){return b.BinaryOperatorType}),i.d(t,"FunctionOperatorType",function(){return y.FunctionOperatorType}),i.d(t,"GroupOperatorType",function(){return _.GroupOperatorType}),i.d(t,"UnaryOperatorType",function(){return C.UnaryOperatorType})},function(e,t){e.exports=""},function(e,t){e.exports="/mode-json"},function(e,t){e.exports="/mode-sql"},function(e,t){e.exports="/mode-text"},function(N,V,t){"use strict";t.r(V);var z,L,H,e={},i=(t.r(e),t.d(e,"AccordionKeyboardHelper",function(){return pe}),t.d(e,"PropertyGridKeyboardHelper",function(){return he}),t.d(e,"AccessibilityControlElementBase",function(){return ue}),t.d(e,"ControlElementWithParentHighlight",function(){return ge}),t.d(e,"accessibilityFontSizeZoomFactor",function(){return me}),t.d(e,"calculateWithZoomFactor",function(){return fe}),t.d(e,"initializeMutationObserver",function(){return ve}),t.d(e,"AccessibilityKeyboardHelperBase",function(){return ce}),t.d(e,"KeyboardHelperWithArrowButtonBase",function(){return xe}),t.d(e,"ListKeyboardHelper",function(){return be}),t.d(e,"RightPanelKeyboardHelperNative",function(){return ye}),t.d(e,"ToolbarKeyboardHelper",function(){return we}),t.d(e,"TreeListKeyboardHelper",function(){return Ee}),t.d(e,"JSDesignerBindingCommon",function(){return rt}),t.d(e,"DxAnalyticsComponentCommon",function(){return st}),t.d(e,"RequestHelper",function(){return Xe}),t.d(e,"DragDropHandler",function(){return gt}),t.d(e,"DragHelperControlRectangle",function(){return ft}),t.d(e,"DragHelperContent",function(){return vt}),t.d(e,"SelectionDragDropHandler",function(){return xt}),t.d(e,"ToolboxDragDropHandler",function(){return bt}),t.d(e,"WizardDragDropHandler",function(){return yt}),t.d(e,"dxversions",function(){return _t}),t.d(e,"AjaxRequestManager",function(){return Ct}),t.d(e,"FetchRequestManager",function(){return At}),t.d(e,"DesignControlsHelper",function(){return Ot}),t.d(e,"patchPositionByRTL",function(){return Xt}),t.d(e,"CssCalculator",function(){return Zt}),t.d(e,"ExpressionType",function(){return Qt}),t.d(e,"IsDataAccessExpression",function(){return ei}),t.d(e,"editorTypeMapper",function(){return ti}),t.d(e,"getEditorType",function(){return ii}),t.d(e,"getTypeNameFromFullName",function(){return Et}),t.d(e,"getShortTypeName",function(){return It}),t.d(e,"getControlTypeName",function(){return St}),t.d(e,"getControlFullName",function(){return Tt}),t.d(e,"getImageClassName",function(){return Pt}),t.d(e,"getUniqueNameForNamedObjectsArray",function(){return $t}),t.d(e,"getUniqueName",function(){return kt}),t.d(e,"initGlobalize",function(){return si}),t.d(e,"HoverInfo",function(){return ai}),t.d(e,"InlineTextEdit",function(){return oi}),t.d(e,"processTextEditorHotKeys",function(){return ni}),t.d(e,"ObjectStructureTreeListController",function(){return di}),t.d(e,"ObjectStructureProviderBase",function(){return li}),t.d(e,"ObjectExplorerProvider",function(){return ui}),t.d(e,"ObjectStructureProvider",function(){return ci}),t.d(e,"getPaperSize",function(){return gi}),t.d(e,"_addErrorPrefix",function(){return qe}),t.d(e,"_processError",function(){return Ke}),t.d(e,"_errorProcessor",function(){return Ye}),t.d(e,"processErrorEvent",function(){return Je}),t.d(e,"initializeBaseResizableOptions",function(){return mi}),t.d(e,"initializeResize",function(){return fi}),t.d(e,"Resizable",function(){return vi}),t.d(e,"getResizeDirection",function(){return xi}),t.d(e,"KoEngine",function(){return ur}),t.d(e,"useKoIntegration",function(){return cr}),t.d(e,"Draggable",function(){return bi}),t.d(e,"SelectableElement",function(){return _i}),t.d(e,"Selectable",function(){return Ci}),t.d(e,"dxScrollProcessor",function(){return Si}),t.d(e,"ControlsStore",function(){return ki}),t.d(e,"CustomSortedArrayStore",function(){return Pi}),t.d(e,"SortedArrayStore",function(){return $i}),t.d(e,"findSurface",function(){return $e}),t.d(e,"getControlNewAbsolutePositionOnResize",function(){return ke}),t.d(e,"getControlRect",function(){return Fe}),t.d(e,"minHeightWithoutScroll",function(){return Oe}),t.d(e,"chooseBetterPositionOf",function(){return Be}),t.d(e,"updateSurfaceContentSize",function(){return Me}),t.d(e,"getToolboxItems",function(){return Fi}),t.d(e,"blur",function(){return Oi}),t.d(e,"isDefined",function(){return Bi}),t.d(e,"convertToCssPixelUnits",function(){return x}),t.d(e,"convertFromCssPixelUnits",function(){return b}),t.d(e,"validateName",function(){return Ni}),t.d(e,"replaceInvalidSymbols",function(){return Vi}),t.d(e,"nameValidationRules",function(){return zi}),t.d(e,"CombinedObject",function(){return pr}),t.d(e,"SurfaceSelection",function(){return hr}),t.d(e,"deleteSelection",function(){return xr}),t.d(e,"SnapLinesCollector",function(){return Sr}),t.d(e,"SnapLinesHelper",function(){return Pr}),t.d(e,"SnapLineSurface",function(){return Tr}),t.d(e,"ActionLists",function(){return is}),t.d(e,"ActionListsBase",function(){return ts}),t.d(e,"createActionListBaseViewModel",function(){return Qr}),t.d(e,"createBaseActionViewModel",function(){return es}),t.d(e,"copyPasteStrategy",function(){return kr}),t.d(e,"CopyPasteHandler",function(){return Dr}),t.d(e,"KeyboardHelperBase",function(){return oe}),t.d(e,"KeyboardHelper",function(){return de}),t.d(e,"KeyDownHandlersManager",function(){return le}),t.d(e,"ContextMenuProvider",function(){return ss}),t.d(e,"createObservableReverseArrayMapCollection",function(){return br}),t.d(e,"createObservableArrayMapCollection",function(){return yr}),t.d(e,"knockoutArrayWrapper",function(){return _r}),t.d(e,"deserializeChildArray",function(){return Cr}),t.d(e,"getFirstItemByPropertyValue",function(){return wr}),t.d(e,"findFirstItemMatchesCondition",function(){return Ar}),t.d(e,"find",function(){return Er}),t.d(e,"binaryIndexOf",function(){return Ir}),t.d(e,"compareArrays",function(){return as}),t.d(e,"DEBUG",function(){return Ne}),t.d(e,"DebugMode",function(){return Ve}),t.d(e,"DesignerContextGeneratorInternal",function(){return Ds}),t.d(e,"DesignerContextGenerator",function(){return Fs}),t.d(e,"ResizeSettings",function(){return Os}),t.d(e,"ContextActionsSettings",function(){return Bs}),t.d(e,"DragDropSettings",function(){return Ms}),t.d(e,"ControlsHelperSettings",function(){return Ns}),t.d(e,"MenuSettings",function(){return Vs}),t.d(e,"SelectionSettings",function(){return zs}),t.d(e,"CommonDesignerGenerator",function(){return Ls}),t.d(e,"createDesigner",function(){return js}),t.d(e,"FieldListProvider",function(){return Ws}),t.d(e,"NotifyType",function(){return ze}),t.d(e,"NotifyAboutWarning",function(){return He}),t.d(e,"getErrorMessage",function(){return Re}),t.d(e,"ShowMessage",function(){return We}),t.d(e,"_setShowMessageFunc",function(){return Ge}),t.d(e,"_resetShowMessageFunc",function(){return Ue}),t.d(e,"createUnitProperty",function(){return Gs}),t.d(e,"createUnitProperties",function(){return Us}),t.d(e,"unitsToPixel",function(){return ut}),t.d(e,"pixelToUnits",function(){return ct}),t.d(e,"roundingXDecimals",function(){return lt}),t.d(e,"copyObservables",function(){return _s}),t.d(e,"collectGroupsFromFlatList",function(){return Cs}),t.d(e,"compareObjects",function(){return ws}),t.d(e,"getFullPath",function(){return As}),t.d(e,"loadTemplates",function(){return Es}),t.d(e,"cutRefs",function(){return Is}),t.d(e,"DesignerBaseElements",function(){return Ss}),t.d(e,"generateDefaultParts",function(){return Ts}),t.d(e,"createActionWrappingFunction",function(){return Ps}),t.d(e,"localizeNoneString",function(){return $s}),t.d(e,"setAjax",function(){return Zs}),t.d(e,"_ajax",function(){return Qs}),t.d(e,"_ajaxWithOptions",function(){return ea}),t.d(e,"ajax",function(){return ta}),t.d(e,"createPasswordSerializationInfo",function(){return ia}),t.d(e,"parseZoom",function(){return Or}),t.d(e,"getSizeFactor",function(){return ra}),t.d(e,"staticContext",function(){return sa}),t.d(e,"_defaultStaticContext",function(){return aa}),t.d(e,"appendStaticContextToRootViewModel",function(){return na}),t.d(e,"getResizableOptions",function(){return ks}),t.d(e,"_wrapModelInObservable",function(){return oa}),t.d(e,"$unwrap",function(){return rs}),t.d(e,"$dx",function(){return T}),t.d(e,"koUtils",function(){return f}),t.d(e,"showTroubleshootingMessage",function(){return Qe}),t.d(e,"assignTroubleshootingPage",function(){return et}),t.d(e,"troubleshootingPageWrapper",function(){return tt}),t.d(e,"getTroubleshootingPage",function(){return it}),t.d(e,"objectsVisitor",function(){return Dt}),t.d(e,"collectionsVisitor",function(){return Ft}),t.d(e,"BordersModel",function(){return da}),t.d(e,"ControlProperties",function(){return ys}),t.d(e,"Group",function(){return vs}),t.d(e,"dxButtonWithTemplate",function(){return ca}),t.d(e,"generateIconTemplate",function(){return la}),t.d(e,"editor_template",function(){return ua}),t.d(e,"BaseActionsProvider",function(){return pa}),t.d(e,"cssTransform",function(){return ha}),t.d(e,"updateZoomBinding",function(){return ga}),t.d(e,"sizeFake",function(){return nt}),t.d(e,"locationFake",function(){return ot}),t.d(e,"EditorAddOn",function(){return hs}),t.d(e,"CodeResolver",function(){return Ri}),t.d(e,"globalResolver",function(){return ji}),t.d(e,"PopupService",function(){return xs}),t.d(e,"loadMessages",function(){return u.f}),t.d(e,"getLocalization",function(){return u.d}),t.d(e,"removeWinSymbols",function(){return u.l}),t.d(e,"Globalize",function(){return u.a}),t.d(e,"messages",function(){return u.i}),t.d(e,"custom_localization_values",function(){return u.b}),t.d(e,"selectPlaceholder",function(){return u.o}),t.d(e,"noDataText",function(){return u.j}),t.d(e,"searchPlaceholder",function(){return u.n}),t.d(e,"resolveFromPromises",function(){return u.m}),t.d(e,"isCustomizedWithUpdateLocalizationMethod",function(){return u.e}),t.d(e,"localizeWithUpdateLocalizationMethod",function(){return u.h}),t.d(e,"localize",function(){return u.g}),t.d(e,"formatDate",function(){return u.c}),t.d(e,"parseDate",function(){return u.k}),t.d(e,"StringId",function(){return va}),t.d(e,"SearchMode",function(){return z}),t.d(e,"_getFileContent",function(){return Y}),t.d(e,"uploadFile",function(){return X}),t.d(e,"_replaceUploadFile",function(){return Z}),t.d(e,"setUploadFile",function(){return Q}),t.d(e,"compareEditorInfo",function(){return ee}),t.d(e,"findMatchesInString",function(){return te}),t.d(e,"escapeToRegExp",function(){return ie}),t.d(e,"stringRemove",function(){return re}),t.d(e,"stringReplace",function(){return se}),t.d(e,"stringInsert",function(){return ae}),t.d(e,"formatUnicorn",function(){return ne}),t.d(e,"KeyboardEnum",function(){return L}),t.d(e,"KeyboardCodesEnum",function(){return H}),t.d(e,"PropertiesAccessibilityProvider",function(){return ns}),t.d(e,"defaultAccessibilityProvider",function(){return os}),t.d(e,"_defineProperty",function(){return C.a}),t.d(e,"_definePropertyByString",function(){return C.b}),t.d(e,"addDisposeCallback",function(){return C.c}),t.d(e,"createGlobalModuleVariableFunc",function(){return C.d}),t.d(e,"isPlainObject",function(){return v.e}),t.d(e,"isEmptyObject",function(){return v.c}),t.d(e,"isFunction",function(){return v.d}),t.d(e,"extend",function(){return v.b}),t.d(e,"assignObj",function(){return v.a}),t.d(e,"propertiesVisitor",function(){return gr}),t.d(e,"checkModelReady",function(){return Li}),t.d(e,"guid",function(){return Hi}),t.d(e,"DisplayExpressionConverter",function(){return Ra}),t.d(e,"HighlightEngine",function(){return ja}),t.d(e,"cloneHtmlBinding",function(){return Wa}),t.d(e,"integerValueConverter",function(){return jr}),t.d(e,"enumValueConverter",function(){return Wr}),t.d(e,"validateExpression",function(){return Gr}),t.d(e,"floatValueConverter",function(){return Ur}),t.d(e,"isDarkTheme",function(){return qr}),t.d(e,"_setIsDarkTheme",function(){return Kr}),t.d(e,"setCursorInFunctionParameter",function(){return Yr}),t.d(e,"isList",function(){return Jr}),t.d(e,"getParentContainer",function(){return Xr}),t.d(e,"isNullOrEmptyString",function(){return Zr}),{}),r=(t.r(i),t.d(i,"ajaxSetup",function(){return Xs}),t.d(i,"fetchSetup",function(){return Js}),t.d(i,"requestManager",function(){return Ks}),t.d(i,"_isFetchConfigured",function(){return Ys}),t.d(i,"TabInfo",function(){return Rs}),t.d(i,"TabPanel",function(){return D}),t.d(i,"ToolboxItem",function(){return Di}),t.d(i,"TabInfoWithPropertyGrid",function(){return Ga}),t.d(i,"ControlsFactory",function(){return qa}),t.d(i,"floatFromModel",function(){return Ka}),t.d(i,"fromEnum",function(){return Ya}),t.d(i,"parseBool",function(){return Ja}),t.d(i,"colorFromString",function(){return Xa}),t.d(i,"saveAsInt",function(){return Za}),t.d(i,"colorToInt",function(){return Qa}),t.d(i,"colorToString",function(){return en}),t.d(i,"addCultureInfo",function(){return m.b}),t.d(i,"getLocalization",function(){return m.c}),t.d(i,"_stringEndsWith",function(){return m.a}),t.d(i,"updateLocalization",function(){return m.d}),t.d(i,"registerBaseBinding",function(){return an}),t.d(i,"addToBindingsCache",function(){return nn}),t.d(i,"addTemplate",function(){return Se}),t.d(i,"getTemplate",function(){return g}),t.d(i,"EventManager",function(){return Ht.a}),t.d(i,"EventPropertyManager",function(){return Ht.b}),t.d(i,"ModelSerializer",function(){return or}),t.d(i,"deserializeArray",function(){return dn}),t.d(i,"serializeDate",function(){return Da.b}),t.d(i,"deserializeDate",function(){return Da.a}),t.d(i,"Disposable",function(){return d.a}),t.d(i,"_LatestChangeSet",function(){return mr}),t.d(i,"UndoEngine",function(){return vr}),t.d(i,"PathRequest",function(){return Wi}),{}),s=(t.r(r),t.d(r,"TextAlignmentModel",function(){return ln}),t.d(r,"DataMemberTreeListController",function(){return un}),t.d(r,"dxFieldListPicker",function(){return cn}),t.d(r,"PopupEditorBase",function(){return pn}),t.d(r,"RequiredNullableEditor",function(){return hn}),t.d(r,"createNumericEditor",function(){return gn}),t.d(r,"wrapOptions",function(){return mn}),t.d(r,"CollectionEditorViewModel",function(){return vn}),t.d(r,"wrapModelWithKo",function(){return xn}),t.d(r,"dxEllipsisEditor",function(){return yn}),t.d(r,"dxFileImagePicker",function(){return _n}),t.d(r,"availableFonts",function(){return Hs}),t.d(r,"availableUnits",function(){return Cn}),t.d(r,"FontModel",function(){return wn}),t.d(r,"registerBaseBinding",function(){return rn}),t.d(r,"addToBindingsCache",function(){return B}),t.d(r,"getFromCache",function(){return sn}),t.d(r,"propertiesGridEditorsPaddingLeft",function(){return P.d}),t.d(r,"defaultFontSerialization",function(){return P.a}),t.d(r,"validateGuid",function(){return P.f}),t.d(r,"validateNullableGuid",function(){return P.g}),t.d(r,"guidValidationRules",function(){return P.c}),t.d(r,"guidRequiredValidationRules",function(){return P.b}),t.d(r,"requiredValidationRules",function(){return P.e}),t.d(r,"SvgTemplateSource",function(){return Ie}),t.d(r,"SvgTemplatesEngine",function(){return c}),t.d(r,"aceAvailable",function(){return Tn}),t.d(r,"CodeCompletor",function(){return Ta}),t.d(r,"createFunctionCompletion",function(){return Pa}),t.d(r,"trimBrackets",function(){return $a}),t.d(r,"insertOrUpdateFunctions",function(){return ya}),t.d(r,"functionDisplay",function(){return _a}),t.d(r,"resetFunctionDisplay",function(){return Ca}),t.d(r,"combineFunctionDisplay",function(){return wa}),t.d(r,"operatorNames",function(){return Sa}),t.d(r,"Tools",function(){return Pn}),t.d(r,"ExpressionEditorTreeListController",function(){return kn}),t.d(r,"ExpressionEditorParametersTreeListController",function(){return Dn}),t.d(r,"RangeSpecific",function(){return Aa}),t.d(r,"createExpressionEditorCollectionToolOptions",function(){return Ea}),t.d(r,"wrapExpressionValue",function(){return Ia}),t.d(r,"FilterEditorAddOn",function(){return Fn}),t.d(r,"FilterEditorCodeCompletor",function(){return Qn}),t.d(r,"initDisplayText",function(){return Ln}),t.d(r,"FilterEditorSerializer",function(){return Ha}),t.d(r,"FilterEditorTreeListController",function(){return Kn}),t.d(r,"CriteriaSurfaceValidatorState",function(){return On}),t.d(r,"CriteriaSurfaceValidator",function(){return Yn}),t.d(r,"formatStringStandardPatterns",function(){return eo}),t.d(r,"PopupComponentBase",function(){return to}),t.d(r,"dxPopupWithAutoHeight",function(){return io}),t.d(r,"ResizeHelper",function(){return ro}),t.d(r,"ValueEditorHelper",function(){return S}),t.d(r,"initTreeListBinding",function(){return ao}),t.d(r,"wrapTreeListOptionsWithKo",function(){return sr}),t.d(r,"KoTreeListItemFactory",function(){return ar}),t.d(r,"ReorderTreeListDragDropHelper",function(){return oo}),t.d(r,"TreeListController",function(){return $n}),t.d(r,"maxSearchLevel",function(){return Ji}),t.d(r,"TreeListItemStore",function(){return Xi}),t.d(r,"TreeListItemFactory",function(){return Zi}),t.d(r,"DefaultTreeListItemFactory",function(){return Qi}),t.d(r,"setDefaultTreeListItemFactory",function(){return er}),t.d(r,"TreeListEllipsisButton",function(){return tr}),t.d(r,"TreeListItemViewModel",function(){return I}),t.d(r,"TreeListRootItemViewModel",function(){return ir}),t.d(r,"treeListEditAction",function(){return Ui}),t.d(r,"updateTreeListItemViewModel",function(){return qi}),t.d(r,"createTreeListItemViewModel",function(){return Ki}),t.d(r,"createTreeListEllipsisButtonViewModel",function(){return Yi}),t.d(r,"TreeListSearchOptions",function(){return so}),t.d(r,"TreeListSearchViewModel",function(){return no}),{}),R=(t.r(s),t.d(s,"EditorTemplates",function(){return at}),t.d(s,"editorTemplates",function(){return h}),t.d(s,"unwrapEditor",function(){return ps}),t.d(s,"Editor",function(){return k}),t.d(s,"createViewModel",function(){return cs}),t.d(s,"EditorValidator",function(){return ls}),t.d(s,"ObjectProperties",function(){return gs}),t.d(s,"PropertyGridEditor",function(){return ms}),t.d(s,"PropertyGridEditorFlat",function(){return fs}),t.d(s,"InitAccordion",function(){return uo}),t.d(s,"GuidEditor",function(){return co}),t.d(s,"FontEditor",function(){return fo}),t.d(s,"getNotValidRange",function(){return vo}),t.d(s,"ExpressionEditor",function(){return xo}),t.d(s,"FilterEditorHelper",function(){return Jn}),t.d(s,"DefaultFilterEditorHelper",function(){return Xn}),t.d(s,"_setDefaultFilterEditorHelper",function(){return Zn}),t.d(s,"FilterEditor",function(){return _o}),t.d(s,"FilterEditorPlain",function(){return Co}),t.d(s,"FilterStringOptions",function(){return wo}),t.d(s,"FilterStringPlainOptions",function(){return Ao}),t.d(s,"FormatStringEditor",function(){return Eo}),t.d(s,"BooleanEditor",function(){return Io}),t.d(s,"ColorPickerEditor",function(){return So}),t.d(s,"FieldListEditor",function(){return To}),t.d(s,"DataMemberEditor",function(){return Po}),t.d(s,"addTemplate",function(){return Se}),t.d(s,"getTemplate",function(){return g}),{}),a=(t.r(R),t.d(R,"fontName",function(){return po}),t.d(R,"fontSize",function(){return ho}),t.d(R,"fontSizeUnit",function(){return go}),t.d(R,"fontInfo",function(){return mo}),{}),j=(t.r(a),t.d(a,"CriteriaOperatorSurface",function(){return Bn}),t.d(a,"AggregateOperandSurface",function(){return Nn}),t.d(a,"BetweenOperandSurface",function(){return Vn}),t.d(a,"BinaryOperandSurface",function(){return zn}),t.d(a,"OperandSurfaceBase",function(){return Hn}),t.d(a,"FunctionOperandSurface",function(){return Rn}),t.d(a,"GroupOperandSurface",function(){return jn}),t.d(a,"InOperandSurface",function(){return Wn}),t.d(a,"OperandParameterSurface",function(){return Gn}),t.d(a,"OperandPropertySurface",function(){return Un}),t.d(a,"OperandValueSurface",function(){return qn}),t.d(a,"UnaryOperandSurface",function(){return Mn}),{}),W=(t.r(j),t.d(j,"criteriaForEach",function(){return zr}),t.d(j,"CriteriaOperatorPreprocessor",function(){return yo.CriteriaOperatorPreprocessor}),t.d(j,"criteriaCreator",function(){return yo.criteriaCreator}),t.d(j,"operatorTokens",function(){return Va.a}),t.d(j,"MachineState",function(){return Hr}),t.d(j,"CriteriaOperatorStateMachine",function(){return Rr}),{}),n=(t.r(W),t.d(W,"LoadChildItemsForCollapsedNodes",function(){return Gi}),{}),G=(t.r(n),t.d(n,"Rectangle",function(){return mt}),t.d(n,"SurfaceElementArea",function(){return Do}),t.d(n,"SurfaceElementBase",function(){return Fo}),t.d(n,"ElementViewModel",function(){return Ua}),t.d(n,"Margins",function(){return Oo}),t.d(n,"PaddingModel",function(){return Jt}),t.d(n,"Point",function(){return $r}),t.d(n,"SerializableModel",function(){return Bo}),t.d(n,"Size",function(){return dt}),t.d(n,"compareSizes",function(){return Mo}),{}),U=(t.r(G),t.d(G,"left",function(){return Bt}),t.d(G,"right",function(){return Mt}),t.d(G,"top",function(){return Nt}),t.d(G,"bottom",function(){return Vt}),t.d(G,"all",function(){return zt}),t.d(G,"paddingSerializationsInfo",function(){return Lt}),{}),q=(t.r(U),t.d(U,"ActionId",function(){return Fr}),{}),o=(t.r(q),t.d(q,"loadMessages",function(){return No}),{}),K=(t.r(o),t.d(o,"arrayModificationMapper",function(){return Rt.b}),t.d(o,"PropertyDeserializationEngine",function(){return Rt.a}),t.d(o,"defaultPropertyDeserializatonEngine",function(){return Rt.c}),t.d(o,"updateViewModel",function(){return Wt.b}),t.d(o,"_updateViewModelWithChunks",function(){return Wt.a}),t.d(o,"BaseModel",function(){return Gt}),t.d(o,"mutable",function(){return A}),t.d(o,"mutableArray",function(){return Ut}),t.d(o,"BaseEmptyModel",function(){return qt}),t.d(o,"BaseRenderingModel",function(){return Kt}),t.d(o,"BaseRenderingMultiplatformModel",function(){return Yt}),t.d(o,"modelAccessor",function(){return pt}),t.d(o,"setDefautModelAccessor",function(){return ht}),t.d(o,"NativeModelSerializer",function(){return nr.a}),t.d(o,"createViewModelGenerator",function(){return y}),t.d(o,"setDefaultViewModelGenerator",function(){return jt}),t.d(o,"subscribableProperty",function(){return p.h}),t.d(o,"MultiplatformEngine",function(){return p.a}),t.d(o,"nativeMultiPlatformEngine",function(){return p.e}),t.d(o,"nativeModelSerializer",function(){return p.d}),t.d(o,"currentModelSerializer",function(){return p.b}),t.d(o,"currentMultiPlatformEngine",function(){return p.c}),t.d(o,"setCurrentMultiplatfromEngine",function(){return p.g}),t.d(o,"setCurrentModelSerializer",function(){return p.f}),t.d(o,"deserializeArray",function(){return on}),{}),_=(t.r(K),t.d(K,"defineAceThemes",function(){return zo}),t.d(K,"getAceThemeName",function(){return Lo}),t.d(K,"defineAceDocComments",function(){return Vo}),t.d(K,"defineAceCriteria",function(){return Ho}),t.d(K,"defineAce",function(){return Ko}),t(1)),C=t(8),d=t(4),u=t(9);function Y(e,t){return"text"!==t?e.replace(/(^data:[^,]+,)|(^data:)/,""):e}(l=z=z||{})[l.contains=0]="contains",l[l.startWith=1]="startWith";const J="dxd-fileuploader-input";let X=d=>{const l=_.Deferred();let u=document.getElementById(J);var e;return(u=u||((e=document.createElement("input")).type="file",e.id=J,e.style.width="0px",e.style.height="0px",e.style.display="none",document.body.appendChild(e),e)).accept=d.accept,u.onchange=()=>{var e=u,t=l,i=d;try{var r=e.files;for(let e=0;e<r.length;e++){var s=r[e];if("img"===i.type){var a=/image.*/;if(!s.type.match(a))continue}const n=new FileReader,o=s.name.split(".").pop();n.onload=()=>{try{t.resolve({format:o,content:Y(n.result,i.readMode)})}catch(e){t.reject()}},"text"===i.readMode||"html"===o||"htm"===o?n.readAsText(s):n.readAsDataURL(s)}}catch(e){t.reject()}u.value=""},u.click(),l.promise()};const Z=e=>X=e;function Q(e){X=e}function ee(e,t){return!!e&&!!t&&e.header===t.header&&e.content===t.content&&e.editorType===t.editorType}function te(e,t,i){if(!i){const r=ie(t);return!!e&&e.match(new RegExp(r,"gi"))}let r=i.canUseRegex?t:ie(t),s=(i.searchMode!=z.startWith||i.canUseRegex||(r="^"+r),"");return i.caseSensitive||(s+="i"),i.globalMatch&&(s+="g"),!!e&&e.match(new RegExp(r,s))}function ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t,i){return i=i||e.length-t,e.slice(0,t)+e.slice(t+i,e.length)}function se(e,t,i,r=""){return ae(re(e,t,i),t,Array(i+1).join(r))}function ae(e,t,i){return e.substring(0,t)+i+e.substring(t)}function ne(e,...r){return e.replace(/{(\d+)(:[^}]+)?}/g,(e,t,i)=>{t=r[parseInt(t)];return null!=t?i&&"d"===i.substring(1)?Object(u.c)(new Date(t)):t.toString():e})}(l=L=L||{}).Plus="+",l.Minus="-",l.Equal="=",l.Tab="Tab",l.Delete="Delete",l.Enter="Enter",l.Esc="Escape",l.Space=" ",l.End="End",l.Home="Home",l.PageUp="PageUp",l.PageDown="PageDown",l.ArrowLeft="ArrowLeft",l.ArrowUp="ArrowUp",l.ArrowRight="ArrowRight",l.ArrowDown="ArrowDown",(l=H=H||{})[l.Tab=9]="Tab",l[l.Enter=13]="Enter",l[l.Esc=27]="Esc",l[l.Space=32]="Space",l[l.End=35]="End",l[l.Home=36]="Home",l[l.Left=37]="Left",l[l.Up=38]="Up",l[l.Right=39]="Right",l[l.Down=40]="Down";class oe extends d.a{_processShortcut(e,t,i){e=e[H[t.keyCode]];return!!e&&e(t,i)}processShortcut(e,t){return this._processShortcut(this.shortcutMap,e,t)}processChildrenShortcut(e,t){return this._processShortcut(this.childrenShortcutMap,e,t)}}class de extends oe{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(){var e=this._selection.focused()&&this._selection.focused().parent;e&&this._selection.focused(e)}moveSelectedControls(n,e,o){var r=this._selection.focused();if(r&&!r.getControlModel().getMetaData().isCopyDeny){this._undoEngine&&this._undoEngine().start();const d=e?"left":"top",l=e?"width":"height";let t,i,a;r.rect&&(t=r.rect()[d],i=r.rect()[d]+r.rect()[l],this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e=e.rect()[d];e<t&&(t=e)}),this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e=e.rect()[d]+e.rect()[l];e>i&&(i=e)}),n&&t<=0||!r.parent.rect||!n&&i.toFixed(5)>=r.parent.rect()[l]||(this._selection.selectedItems.filter(e=>!e.locked).filter(e=>!!e.rect).forEach(e=>{var t={},i=e.rect()[d],r=e.rect()[l],s=e.parent.rect()[l];a=i+ +o,(n&&0<=a||!n&&a+r<=s)&&(t[d]=a),!n&&a+r>s&&(t[d]=s-r),n&&a<0&&0<i&&(t[d]=0),e.rect(t)}),this._undoEngine&&this._undoEngine().end()))}}}class le{constructor(e){this._handlers=[],this._targetElement=e}get _activeHandler(){return 0<this._handlers.length?this._handlers[this._handlers.length-1]:null}_removeHandler(e,t){var 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))}bindHandler(e,t,i="keydown"){this._activeHandler&&this._targetElement.removeEventListener(i,this._activeHandler);const r=e=>{(0<_.fn.constructor(this._targetElement).closest(".dx-designer").length||0<_.fn.constructor(e.target).closest(".dx-designer").length||e.target===document.body)&&t(e)};this._handlers.push(r),this._targetElement.addEventListener(i,r),Object(C.c)(e,()=>{this._removeHandler(r,i)})}}class ue extends d.a{constructor(e){super(),this.element=e,this._eventListeners=[]}dispose(){super.dispose(),this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.element=null}addListener(e,t,i){const r=e=>{i.call(this,e)};e.addEventListener(t,r),Object(C.c)(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 ce extends oe{constructor(){super(),this.childrenInitialized=!1,this.accessibilityCompliantEnabled=!1,this.focusFirstFocusableDescendant=!1,this.controlElements=[],this._eventListeners=[],this.setTabIndexes=t=>{this.controlElements.forEach(e=>e.setTabIndex(t))},this.liveRegion=()=>this.liveRegionId?(this._liveRegion&&this._liveRegion.element||(this._liveRegion={element:document.getElementById(this.liveRegionId),changeText:(e,t=200)=>setTimeout(()=>{this._liveRegion.element&&(this._liveRegion.element.textContent=e)},t)}),this._liveRegion):null,this.onInitialized=(e,t)=>{t&&(this.accessibilityCompliantEnabled=!0),this.accessibilityCompliantEnabled&&this.bindHandler(e)},this.onDomUpdated=()=>{if(this.accessibilityCompliantEnabled&&!this.isDisposing){var i=this.getElements()||[];let t=i.length!==this.controlElements.length;if(!t)for(let e=0;e<i.length;e++)if(i[e]!==this.controlElements[e].element){t=!0;break}t&&(this.initialize(void 0,i),this._handlersManager.bindHandler(this._elementContainer,e=>this._keyDownHandler(e)))}},this.onDispose=()=>{this.dispose()},this.shortcutMap={Esc:e=>this.handleEscKey(e),Tab:e=>{return!(!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)=>{return!(!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)}}_disposeItems(){this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.disposeArray(this.controlElements),this.controlElements.length=0}getElements(t){if(this._elementContainer){let e=Array.prototype.slice.call(this._elementContainer.querySelectorAll("."+this.controlElementClassName));if(e.length)return e=t?e.filter(t):e}}initialize(e,t){this._disposeItems();t=t||this.getElements(e);t&&(t.forEach((e,t)=>{e=this.createControlElement(e,t);e&&this.controlElements.push(e)}),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 ue(e)}getContainer(){return this._elementContainer}changeFocus(e,t=!0){var i=this.controlElements.length-1;return this.controlElements[e=i<(e=e<0?t?i:0:e)?t?0:i:e].setFocus(),e}bindHandler(e){this._elementContainer=e,this.initialize(),this._handlersManager=new le(this._elementContainer),this._handlersManager.bindHandler(this._elementContainer,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._disposeItems(),this._elementContainer=null,this._prevActiveElement=null}addListener(e,t,i,r){const s=e=>{r.call(this,e,t)};e.addEventListener(i,s),Object(C.c)(e,function(){e.removeEventListener(i,s)}),this._eventListeners.push({element:e,eventType:i,listener:s})}focus(e){if(this.childrenInitialized||this._elementContainer)if(this._prevActiveElement=e||document.activeElement,this.childrenInitialized&&!this.focusFirstFocusableDescendant)this.changeFocus(this.startIndex||0);else{const t=this._elementContainer.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');setTimeout(()=>t.length&&t[0].focus())}}lastFocusItem(){return document.getElementById("dxrd-designer-last-focus-item-blank")}_keyDownHandler(e){var t=e.target;(t.classList.contains(this.controlElementClassName)&&this.processChildrenShortcut(e,this.getIndexByElement(t))||this.processShortcut(e))&&(e.stopPropagation(),e.preventDefault())}}class pe extends ce{constructor(e,t=()=>{}){super(),this._editorViewModelsAccessor=e,this._onToggleCollapsed=t,this.controlElementClassName="dxrd-accessibility-accordion-trigger"}_collapseItem(e){var t,i,r=this._editorViewModelsAccessor();r&&(t=r.getCollapsed(),i=r.alwaysShow,r.setCollapsed(!i&&!t),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 he extends ce{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(){var e={};const i=(e,t)=>{e&&e.filter(e=>e.isComplexEditor).forEach(e=>{t[e.headerId]={editor:e,isInitialized:!1},i(e.viewmodel.editors,t)})};return i(this._editorsViewModelsAccessor(),e),e}_getComplexEditorsHierarchy(){const t={},r=(t,i)=>{t.viewmodel.editors.filter(e=>e.isComplexEditor).forEach(e=>{i[e.headerId]=t.headerId,r(e,i)})};return this._editorsViewModelsAccessor().filter(e=>e.isComplexEditor).forEach(e=>{r(e,t)}),t}_filterPredicate(e){var t;let i=e.id;for(;this._triggersParentToChildMap&&this._triggersParentToChildMap[i];){if(null!=(t=null==(t=this._complexEditorMap[this._triggersParentToChildMap[i]])?void 0:t.editor)&&t.getCollapsed())return!1;i=this._triggersParentToChildMap[i]}return!0}initialize(){Object.keys(this._complexEditorMap).length||(this._complexEditorMap=this._getComplexEditors()),Object.keys(this._triggersParentToChildMap).length||(this._triggersParentToChildMap=this._getComplexEditorsHierarchy()),Object.keys(this._complexEditorMap).forEach(e=>{var t,i;this._complexEditorMap[e].isInitialized||(t=document.getElementById(e))&&((i=new pe(()=>this._complexEditorMap[e].editor,()=>this._defferedInit())).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 ge extends ue{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)}dispose(){this.element.removeEventListener("focus",this.toolbarItemHandleFocus),this.element.removeEventListener("blur",this.toolbarItemHandleBlur),super.dispose()}}const me=Object(C.d)(1),fe=function(e){return e*me()};function ve(e,t,i){const{onInitialized:r,onDomUpdated:s,onDispose:a,controlElementClassName:n}=t,o=new MutationObserver(e=>{var t;e=e,t=n,e.some(e=>e.target.querySelector("."+t))&&s()});return o.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]}),r(e,i),()=>{o.disconnect(),a()}}class xe extends ce{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();e=super.changeFocus(e,t);return this.controlElements[e].setTabIndex("0"),this.controlElements[e].setFocus(),this.startIndex=e}}class be extends xe{constructor(){super(...arguments),this.controlElementClassName="dx-accessibility-list-item"}createControlElement(e,t){return new ge(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 ye extends ce{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 ue(e)}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t,!0),!0}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t,!0),!0}}var l=t(53),_e=t.n(l),l=t(54),Ce=t.n(l),m=t(3);const f={isSubscribable:e=>"function"==typeof e&&"subscribe"in e,isComputed:e=>f.isSubscribable(e)&&"dispose"in e,unwrap:e=>f.isSubscribable(e)?e():e};class we extends xe{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),f.isSubscribable(this._buttonModels)&&this.addDisposable(this._buttonModels.subscribe(e=>{this._buttonsSubscriptions.forEach(e=>e.dispose()),this._buttonsSubscriptions=[],this._subscribeButtonsAndInitialize(e)}))}_subscribeButtonsAndInitialize(e){e.forEach(e=>{f.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){t=this.buttonModels[t];if(t.getVisible&&t.getVisible()||f.unwrap(t.visible))return new Ae(e,this.getContainer(),t,this.liveRegion.bind(this))}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}get buttonModels(){return f.unwrap(this._buttonModels)}}class Ae extends ge{constructor(e,t,i,r){super(e,t),this.element=e,this._toolbarItemModel=i,this._liveRegion=r,this._selectBox=_e.a.getInstance(e.children[0]),this._menu=Ce.a.getInstance(e.children[0])}_complexItem(){return!(!this._selectBox&&!this._menu)}dispose(){super.dispose(),this._menu=null,this._selectBox=null}setFocus(){return this._complexItem()&&"true"!==this.element.getAttribute("aria-disabled")?this._liveRegion().changeText(Object(m.c)("press Enter or Space to activate the editor","ASPxReportsStringId.WebDocumentViewer_AriaActivateEditor"),200):this._liveRegion().changeText(""),super.setFocus()}actionExecute(){this._complexItem()&&this._liveRegion().changeText(Object(m.c)("Press Alt ↓ or Alt ↑ to navigate the editor. Press Shift Tab to exit navigation mode.","ASPxReportsStringId.WebDocumentViewer_AriaEditorKeyboardNavigation"),500),this._selectBox?this._selectBox.focus():this._menu?this._menu.focus():f.unwrap(this._toolbarItemModel.disabled)||this._toolbarItemModel.clickAction()}}class Ee extends be{constructor(e){super(),this._rootHolder=e,this.controlElementClassName="dx-accessibility-treelist-item"}_setFocusToParentNode(e,t){let i=1;var r=e.parent.items,s=r.indexOf(e);const a=(e,t)=>(e.hasItems&&!e.collapsed&&e.items.forEach(e=>{t+=a(e,0)}),t+=1);for(let e=0;e<s;e++)i+=a(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 ue(e)}itemHandleLeftArrowKey(e,t){var i=this._getItemModel(e.target);return i.hasItems&&!i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this._setFocusToParentNode(i,t),!0}itemHandleRightArrowKey(e,t){var 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}}var v=t(7);class Ie{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 c{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 c.Instance._templates}static addTemplate(e,t){c.templates[e]=t}static addTemplates(e){Object(v.b)(c.templates,e)}static extendTemplates(i){for(let e in i){let t=void 0;Object.defineProperty(c.templates,e,{configurable:!0,enumerable:!0,get:()=>t||c.templates[i[e]],set:e=>{t=e}})}}static getExistingTemplate(e,t=!0){return c.Instance._hasTemplate(e,t)?e:void 0}}function Se(e,t){c.addTemplate(e,t)}function g(e){var e="#"===e[0]?e.substr(1):e,t=document.querySelector("#"+e);return t&&t.innerHTML||c.templates[e]}var Te,l=t(55),Pe=t.n(l);function $e(e){return e?e.surface:null}function ke(e,t,i,r){var 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 De(e){return parseInt(e,10)||0}function Fe(e,t,i){let r=De(e.css("left"));var s=De(e.css("top")),i=(i.rtl()&&(i=i.pageWidth()-i.margins.left()-e.width(),r>i)&&(r=i),e[0].getBoundingClientRect());return{top:s,left:r,width:i.width,height:i.height}}function Oe(e){return Math.min(e.scrollHeight,e.offsetHeight,e.clientHeight)+e.offsetTop}function Be(e,t){return t&&(Oe(e)<Oe(t)?window:t)||window}function Me(s,a,n=!1){return()=>{var e=_.fn.constructor(a).find(".dxrd-designer").eq(0),t=e.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,i=(e.find(".dxrd-right-panel:visible").outerWidth()||0)+(e.find(".dxrd-right-tabs:visible").outerWidth()||0),r=i+t,r=e.width()-r;e.find(".dxrd-surface-wrapper").eq(0).css({left:n?i:t,right:n?t:i,width:r,bottom:e.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}),s(r)}}let Ne=!1;function Ve(e){Ne=e}const ze={info:"info",warning:"warning",error:"error",success:"success"},Le=(Te=window.console,{info:(l=e=>function(){Te&&_.isFunction(Te[e])&&Te[e].apply(Te,arguments)})("info"),warn:l("warn"),error:l("error")});function He(e,t=!1){if(t&&We(e),Ne)throw new Error(e);Le.warn(e)}function Re(e){return e&&e.responseJSON&&e.responseJSON.error?e.responseJSON.error:""}const je=(e,t="error",i,r,s,a)=>{a=a||_.fn.constructor(".dx-designer-viewport")[0],Pe()({message:e,type:t,maxWidth:a?a.clientWidth:void 0,position:{boundary:a,collision:"fit",of:Be(document.documentElement,a),my:"bottom",at:"bottom",offset:"0 -10"},container:a,hideOnOutsideClick:!0,closeOnSwipe:!1,displayTime:i||("error"===t?6e4:3e3),contentTemplate:s})};let We=je;const Ge=e=>We=e,Ue=()=>We=je,qe=!0;function Ke(e,t,i,r,s){let a=e;var n=Re(i);n&&n!==a&&(qe?a+=": "+n:a=n);try{s?s(a,i,r):He(a)}finally{t.reject(i,r,e)}}const Ye={handlers:[],call:t=>{for(let e=0;e<Ye.handlers.length;e++)Ye.handlers[e](t)}};function Je(t){return t&&Ye.handlers.push(t),{dispose:()=>{var e;t&&(e=t,Ye.handlers.splice(Ye.handlers.indexOf(e),1))}}}class Xe{static generateUri(e,t){return(e=e||"")&&"/"===e[e.length-1]&&t&&"/"===t[0]?e+t.substring(1):e+t}}const Ze="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx",Qe=()=>{Ze;Ze;We("","error",null,null,function(){return'<div><span>Open the browser developer console to investigate the issue. Review the following help topic: </span><a href="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx" target="_blank" rel="noopener noreferrer">Reporting Application Diagnostics</a></div>'}),console.log("Review the following help topic to diagnose a problem: https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx")},et=e=>{var t=it();(e instanceof Element?e:e[0]).innerHTML=t},tt=(e,t,i)=>{try{return e()}catch(e){if(!t||!i)throw e;et(i),console.error(e)}},it=()=>{Ze;var e=g("dxrd-svg-error");return`<div class="dxrd-error-page">${e?`<div class="dxrd-error-page-icon">${e}</div>`:""}<div class="dxrd-error-page-title">Something went wrong</div><div class="dxrd-error-page-content">Review the <a href="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx" target="_blank" rel="noopener noreferrer">following help topic</a> to diagnose a problem.</div></div>`};var p=t(2);class rt extends d.a{constructor(e,t){super(),this._options=e,this._customEventRaiser=t,this._templateHtml=g("dxrd-designer"),this.developmentMode=e.developmentMode}dispose(){super.dispose(),this.sender&&this.sender instanceof d.a&&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){console.warn('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 Xe.generateUri(e,t)}_generateCallbackDictionary(e,t){const i=rt.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 r=_.Deferred();var e=this._options.requestOptions;return e.getLocalizationAction?(e=this._getServerActionUrl(e.host,e.getLocalizationAction),_.getJSON(e).fail(function(e,t,i){try{Ke(i.message,_.Deferred(),e,t)}finally{r.reject()}}).done(e=>{r.resolve(e)})):r.resolve(),r.promise()}_createDisposeFunction(e){Object(C.c)(e,()=>{this.dispose()})}static convertCallbackArrayToDictionary(e){const t={};return e.forEach(e=>{t[e.privateName]=e.callback}),t}}class st{constructor(e,t){this._element=e,this._options=t}getBindingName(){return""}render(){p.c.cleanNode(this._element),this._element.setAttribute("data-bind",this.getBindingName()+": $data"),tt(()=>p.c.applyBindings(this._options,this._element),this._options.developmentMode,this._element)}dispose(){p.c.cleanNode(this._element)}}var w=t(0);class at{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,Object(v.b)(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 h=new at,nt=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:h.getEditor("numeric"),editorOptions:{min:2}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:h.getEditor("numeric"),editorOptions:{min:2}}],ot=[{propertyName:"x",displayName:"X",editor:h.getEditor("numeric")},{propertyName:"y",displayName:"Y",editor:h.getEditor("numeric")}];class dt{constructor(e,t){this.isPropertyDisabled=e=>{},this.height=w.observable(t).extend({dxdnum:{min:2}}),this.width=w.observable(e).extend({dxdnum:{min:2}})}getInfo(){return nt}static fromString(e="0, 0"){e=e.split(",");return new dt(parseFloat(e[0]),parseFloat(e[1]))}toString(){return this.width()+", "+this.height()}}function lt(e,t=!1,i=3){return(t?Math.floor:Math.round)(e*Math.pow(10,i))/Math.pow(10,i)}function ut(e,t,i=1){let r;return r="Pixels"===t?+e:"TenthsOfAMillimeter"===t?3.78*e/10:96*e/100,lt(r*=i,!0)}function ct(e,t,i){let r;return r="Pixels"===t?+e:"TenthsOfAMillimeter"===t?e/3.78*10:e/96*100,lt(r/=i)}dt.unitProperties=["width","height"];const x=e=>e+"px",b=e=>parseFloat(e.replace("px",""));let pt=e=>{throw new Error("Model Accessor is not implemented")};function ht(e){pt=e}class gt extends d.a{constructor(e,t,r,s,i){super(),this._snapDisabled=!1,this._size=new dt(0,0),this.alwaysAlt=!1,this.surface=e,this.selection=t,this.snapHelper=s,this.dragHelperContent=i,this.stopDrag=(e,t,i)=>{r()&&r().start(),this.doStopDrag(e,t,i),r()&&r().end(),s&&s.deactivateSnapLines()}}dispose(){super.dispose(),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null}getTarget(e){return e.toElement||pt(e.relatedTarget)&&e.relatedTarget||e&&e.target||null}_getAbsoluteSurfacePosition(e){return{left:b(e.dataset.leftPosition)-e.delta.left,top:b(e.dataset.topPosition)-e.delta.top}}addControl(e,t,i){var r=t.width&&t.width()||t._width&&t._width(),s=t.underCursor();s.x<r&&(t.getControlModel().addChild(e),t=$e(e))&&(e=i.width(),i=i.height(),r=s.x+e>r?r-e-1:s.x,t.rect({left:r,top:Math.max(s.y,0),width:e,height:i}),this.selection.initialize(t))}recalculateSize(e){var t=w.unwrap(this.surface);this._size.width(ut(w.unwrap(e.width)*t.dpi()/100,t.measureUnit(),t.zoom())),this._size.height(ut(w.unwrap(e.height)*t.dpi()/100,t.measureUnit(),t.zoom()))}helper(e,t){this.snapHelper&&this.snapHelper.updateSnapLines(e||null)}canDrop(e,t,i){let r=e.locked;return!(r=i&&i.canDrop?r||!i.canDrop(e,t):r)}startDrag(e){}drag(e,t,i){let r=!this._snapDisabled&&!0!==e.altKey;var s;this.selection.dropTarget&&(e=!this.selection.dropTarget.getControlModel().getMetaData().isContainer&&this.selection.dropTarget.parent||this.selection.dropTarget,i=(s=i.getControlModel&&i.getControlModel())&&s.getMetaData()||i.info,this.canDrop(e,s,i)?this.dragHelperContent&&this.dragHelperContent.isLocked(!1):(this.snapHelper&&this.snapHelper.deactivateSnapLines(),r=!1,this.dragHelperContent&&this.dragHelperContent.isLocked(!0))),r&&(e=this._getAbsoluteSurfacePosition(t),s=this.snapHelper&&this.snapHelper.activateSnapLines({left:e.left,top:e.top,right:e.left+this._size.width(),bottom:e.top+this._size.height()}))&&(0<s.left||0<s.top)&&(t.dataset.leftPosition=x(b(t.dataset.leftPosition)-s.left),t.dataset.topPosition=x(b(t.dataset.topPosition)-s.top),t.ghostContainer.style.left=t.dataset.leftPosition,t.ghostContainer.style.top=t.dataset.topPosition)}doStopDrag(e,t,i){}}gt.started=w.observable(!1);class mt{constructor(e=0,t=0,i=0,r=0){this.left=w.observable(0),this.top=w.observable(0),this.width=w.observable(0),this.height=w.observable(0),this.className="dxrd-drag-helper-item",this.left(e),this.top(t),this.width(i),this.height(r)}}class ft extends mt{constructor(e,t,i,r,s){super(t,i,r,s),this.position=e}}class vt extends mt{constructor(e){super(),this.controls=w.observableArray([]),this.customData=w.observable({}),this.template="dxrd-drag-helper-source",this.isLocked=w.observable(!1),this._selectionProvider=e}get _isEmpty(){return 0===this.controls().length}reset(){this.controls([]),this.customData({})}update(i){if(this.left(i.absolutePosition.x()),this.top(i.absolutePosition.y()),this.width(i.rect().width),this.height(i.rect().height),this._isEmpty){const r=[];this._selectionProvider.selectedItems.forEach((e,t)=>{e.locked||e.parent!==i.parent||r.push(new ft(t))}),this.controls(r)}this.controls().forEach(e=>{var 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 xt extends gt{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,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=x(b(t.dataset.leftPosition)+t.scroll.left),t.dataset.topPosition=x(b(t.dataset.topPosition)+t.scroll.top),super.drag(e,t,i)}getLocation(e,t){var i=e.underCursor().x+t.underCursor().offsetX,e=e.underCursor().y+t.underCursor().offsetY;return{left:0<i?i:0,top:0<e?e:0}}ajustLocation(e,t){t.rect(this.getLocation(e,t))}doStopDrag(r,e){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){var s=this.selection.dropTarget.getControlModel(),s=s.getNearestParent(s).surface;const n=this.selection.focused();let t=this.adjustDropTarget(s),e=n.getControlModel(),i=e.getNearestParent(t.getControlModel());s=(t=i&&$e(i))!==n.parent;if(t&&t.canDrop()){var r=this._getAbsoluteSurfacePosition(r),a=(t.underCursor().x=r.left-(t.absolutePosition&&t.absolutePosition.x()||0)-n.underCursor().offsetX,t.underCursor().y=r.top-(t.absolutePosition&&t.absolutePosition.y()||0)-n.underCursor().offsetY,this.selection.selectedItems.filter(e=>!e.locked&&e.parent===n.parent).map(e=>e.getControlModel()).filter(e=>e.getMetaData().canDrop(t,e)));if(s){for(let e=0;e<a.length;e++)a[e].surface.rect({top:0,left:0});e.parentModel().removeChilds(a),i.addChilds(a);for(let e=0;e<a.length;e++)this.ajustLocation(t,a[e].surface);this.selection.focused(n),this.selection.selectItems(a.map(e=>e.surface))}else for(let e=0;e<a.length;e++)this.ajustLocation(t,a[e].surface);this.selection.expectClick=!s}}}}class bt extends gt{constructor(e,t,i,r,s,a){super(e,t,i,r,s),this.cursor="arrow",this._controlsFactory=a,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0}}helper(e){super.helper(e);e=dt.fromString(e.info["@SizeF"]||e.info.size||"100,23");this.recalculateSize(e),this.dragHelperContent.setContent(new mt(0,0,this._size.width(),this._size.height()))}doStopDrag(e,t){var i;this.dragHelperContent.reset(),this.dragHelperContent.isLocked()||this.selection.dropTarget&&(t=t,i=$e((t=this._controlsFactory.createControl(Object(v.b)({},t.info),null)).getNearestParent(this.selection.dropTarget.getControlModel())))&&i.canDrop()&&(e=this._getAbsoluteSurfacePosition(e),i.underCursor().x=e.left-(i.absolutePosition&&i.absolutePosition.x()||0),i.underCursor().y=e.top-(i.absolutePosition&&i.absolutePosition.y()||0),this.surface().isFit&&this.surface().isFit(i)||i.underCursor().isOver)&&this.addControl(t,i,this._size)}}class yt extends gt{constructor(e){super(null,null,w.observable(null),null,e.dragHelperContent),this.parent=()=>_.fn.constructor(e.parent),this.containment=e.containment,this._target=e.target,this._addHandler=e.addHandler}helper(e,t){this._dropTarget=null;t=_.fn.constructor(t.target).closest(".ui-draggable"),t=new mt(6,6,t.width(),t.height()),t.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(t,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:e.imageClassName,imageTemplateName:e.imageTemplateName,text:e.text}}),t=g(this.dragHelperContent.template),e=_.fn.constructor(t).css({display:"block"});return e.prependTo(this.parent()),w.applyBindingsToDescendants(this.dragHelperContent,e[0]),e}doStopDrag(e,t){this.dragHelperContent.reset(),this._dropTarget&&this._addHandler(this._dropTarget,pt(e),this._getAbsoluteSurfacePosition(e))}drag(e,t){var e=_.fn.constructor(this.getTarget(e)),i=e.closest(this._target);this._dropTarget=null,!i.length||this._target&&!e.closest(this._target)[0]||(this._dropTarget=pt(i.get(0)))}}l=t(52);const _t={analytics:"23.2.0",devextreme:l.version||l};class Ct{constructor(e){this.getAjaxSettings=e}sendRequest(e){e=this._prepareRequestSettings(e);return _.ajax(e)}_prepareRequestSettings(e){return Object(v.b)({},this.getAjaxSettings(),e)}}var wt=function(e,n,o,d){return new(o=o||Promise)(function(i,t){function r(e){try{a(d.next(e))}catch(e){t(e)}}function s(e){try{a(d.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(r,s)}a((d=d.apply(e,n||[])).next())})};class At{constructor(e){this._executeRequest=(e,t,i,r,s)=>{const a=_.Deferred();return this._fetch(e,t,i,r,s).then(i=>wt(this,void 0,void 0,function*(){var e=null==(e=i.headers.get("content-type"))?void 0:e.split(";")[0];if("application/json"===e)try{var t=yield i.json();i.ok?a.resolve(t,"success",Object.assign(Object.assign({},a.promise()),{responseJSON:t})):a.reject(Object.assign(Object.assign({},a.promise()),{responseJSON:t,statusText:t.statusText,status:i.status}),t.statusText)}catch(e){a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.message,status:i.status}),e.message,e)}else i.ok&&e?a.resolve({result:i,success:!0}):a.reject(Object.assign(Object.assign({},a.promise()),{statusText:i.statusText,status:i.status}),i.statusText)}),e=>{a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.message,status:0}),e.message)}),a.promise()},this._fetch=(e,t,i,r,s)=>{e={method:e,cache:null==r?void 0:r.cache,headers:null==r?void 0:r.headers,body:i,signal:null==s?void 0:s.signal},r=this.getFetchSettings();return r&&r.beforeSend&&r.beforeSend(e),fetch(t,e)},this.getFetchSettings=e||(()=>({}))}sendRequest(e){var{method:t,preparedUrl:i,body:r,params:s}=this._prepareParams(e);return this._executeRequest(t,i,r,s,e.abortController)}_prepareParams(e){var t=e.type,i=e.data;let r=e.url,s=null;var i=_.param(i),e=(i&&("GET"===e.type?r+="?"+i:"POST"===e.type&&(s=new URLSearchParams(i))),{cache:"default",headers:Object.assign(Object.assign({},e.headers),null==(i=this.getFetchSettings())?void 0:i.headers)});return{method:t,preparedUrl:r,body:s,params:e}}}function Et(e){return e.split(",")[0].trim()}function It(e){e=Et(e).split(".");return e[e.length-1]}function St(e){let t=e.displayType&&e.displayType()||e.controlType;return(t=e.getControlFactory&&(e=e.getControlFactory().getControlInfo(t)).displayName?e.displayName:t)&&Object(m.c)(It(t))}function Tt(e){return e?(f.unwrap(e.name)||f.unwrap(e.displayName))+((e=St(e))?" ("+e+")":""):""}function Pt(e,t=!1){e=Et(e||"").split(".").join("_");let i;return 0===e.indexOf("XR")?i=e.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===e&&(i="master_report"),(t?"dxrd-svg-toolbox-":"dxrd-image-")+(i||e.toLowerCase())}function $t(e,t,i){var r;return 0===t.indexOf("XR")?t=t[2].toLowerCase()+t.slice(3):-1!==(r=t.indexOf("Band"))&&"SubBand"!==t&&(t=t.slice(0,r)+t.slice(r+4)),kt(i||e.map(e=>f.unwrap(e.name)),t)}function kt(e,t,i=!0){let r=i?1:0,s=i?t+r:t;for(;0<e.filter(e=>e===s).length;)r++,s=t+r;return s}function Dt(t,i,r=[],s=["surface","reportSource"]){if(-1===r.indexOf(t)&&t&&void 0!==t){const a=[];Object.keys(t).forEach(e=>{-1===r.indexOf(t[e])&&0!==e.indexOf("_")&&-1===s.indexOf(e)&&a.push(t[e])}),i(t),r.push(t);for(let e=0;e<a.length;e++)a[e]=w.unwrap(a[e]),"object"==typeof a[e]&&Dt(a[e],i,r,s)}}function Ft(i,r,s=["controls","bands","subBands","crossBandControls","rows","cells","fields"],a=[]){if(i&&void 0!==i){a.push(i);for(let e=0,t=s.length;e<t;e++)i[s[e]]&&(r(i[s[e]],i),(i[s[e]]()||[]).forEach(e=>Ft(e,r,s,a)))}}class Ot extends d.a{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();var i=t.indexOf(e);t.splice(i,1),Ft(e,e=>{e().forEach(e=>{t.splice(t.indexOf(e),1)})}),this.allControls.valueHasMutated()},this.allControls=w.observableArray();let r=e;w.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)})),r=e.peek()),this._disposables.push(this.allControls.subscribe(e=>{var t=e.filter(e=>"added"===e.status);for(let e=0;e<t.length;e++)this._setName(t[e].value)},null,"arrayChange")),r&&this._collectControls(r),this._handlers.push.apply(this._handlers,t)}getNameProperty(e){return e.name}getControlByName(t){let i=null;return this.allControls().some(e=>w.unwrap(e.name)==t&&(i=e,!0)),i}_setName(t){var e=this.allControls().map(e=>w.unwrap(this.getNameProperty(e)));(!this.getNameProperty(t)()||1<e.filter(e=>e===this.getNameProperty(t)()).length)&&(e=$t(this.allControls(),this._getNamePrefix(t),e),this.getNameProperty(t)(e),this._setText)&&this._setDefaultText(t)}_setDefaultText(e){var 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];Ft(e,(i,r)=>{if(-1===this._visitedCollections.indexOf(i)){this._visitedCollections.push(i);let e=this._subscriptions,t=(r instanceof d.a&&(e=r._disposables),i.subscribe(e=>{e.forEach(t=>{null==t.moved&&(this[t.status]&&this[t.status](t.value),this._handlers.forEach(e=>{e[t.status]&&e[t.status](t.value)}))})},null,"arrayChange"));e.push({dispose:()=>{t.dispose(),t=null,this._visitedCollections.splice(this._visitedCollections.indexOf(i),1)}})}this.processCollection(i()),t.push.apply(t,i())},this.collectionNames),this.allControls.push.apply(this.allControls,t)}getControls(e){const t=w.observableArray();return Ft(e,e=>{t.push.apply(t,e())}),t}}const Bt={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:h.getEditor("numeric")},Mt={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:h.getEditor("numeric")},Nt={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:h.getEditor("numeric")},Vt={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:h.getEditor("numeric")},zt={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:h.getEditor("numeric")},Lt=[zt,Bt,Mt,Nt,Vt];var Ht=t(29),Rt=t(18);let y=function(s={}){const t={createDefaultModel:e=>(s={getModel(){return e}},t),generateProperty(e,t,i){var r=s;return r[e]=t,i&&(r["set_"+e]=e=>i(e)),this},configureProperty(e,t){return e in s&&t(s[e]),this},getViewModel(){return s}};return t};function jt(e){y=e}var Wt=t(22);class Gt extends d.a{constructor(e={},t=Object(p.b)()){super(),this.events=new Ht.b,this._needInitializeModel()&&(this.deserialize(e,t),this.__decorators)&&this.__decorators.forEach(e=>e(this))}deferredUpdateViewModel(){return!0}assignProperty(e,t,i){Rt.c.generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){Rt.c.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))}}function A(s,a){return(i,r)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push(e=>{var t;i.isPrototypeOf(e)&&(t="function"==typeof s?s():s,e.assignProperty(r,t,a))})}}function Ut(r,s){return(t,i)=>{t.__decorators||(t.__decorators=[]),t.__decorators.push(e=>{t.isPrototypeOf(e)&&e.assignArrayProperty(i,[...r()],s)})}}class qt extends Gt{onPropertyChanged(e){}}class Kt extends Gt{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 y().createDefaultModel(this).getViewModel()}}class Yt extends Kt{constructor(e={},t,i="multiplatform"){super(e,t),this._engineType=i,this._propertiesSubscriptions={},t=t||("multiplatform"===this._engineType?Object(p.b):Object(p.d))(),this._engineType=t.engineType,this._initializeModel(e,t)}_needInitializeModel(){return!1}_getEngine(){return"native"===this._engineType?p.e:p.c}onPropertyChanged(e){}subscribeOnChanges(r,e){e.forEach(i=>{this._propertiesSubscriptions[i]&&this._propertiesSubscriptions[i](),this._propertiesSubscriptions[i]=this.subscribeProperty(i,e=>{var t;r&&(t=r[i],r[i]=e,Object(Wt.b)(this,{propertyName:i,oldValue:t,newValue:e}))})})}_get(e,t="unwrap"){e=this._getEngine().getPropertyValue(this,e);return"unwrap"===t?this.unwrap(e):"peek"===t?this.peek(e):e}_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,r,s=!1){return this._getEngine().createComputedProperty(this,e,t,i,r,s)}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={}}}l=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class Jt extends Yt{constructor(e=p.c.wrap(null),t=p.c.wrap(null),i=p.c.wrap(null),r=p.c.wrap(null),s=p.c.wrap(100)){super(),this.left=e,this.right=t,this.top=i,this.bottom=r,this.dpi=s,["left","right","top","bottom"].forEach(e=>{const t="_"+e;this.assignProperty(t,this._get(e)),this.addDisposable(this.createComputedProperty(e,{read:()=>this._get(t)||0,write:e=>{this._set(t,e)}},[Object(p.h)(this,[t])]))});let a=null;this.addDisposable(this.createComputedProperty("all",{read:()=>a=this._get("_isUpdating")?a:["right","top","bottom"].every(e=>this._get(e)===this._get("left"))?this._get("left"):null,write:t=>{this._set("_isUpdating",!0),["left","right","top","bottom"].forEach(e=>this[e](t)),this._set("_isUpdating",!1)}},[Object(p.h)(this,["_isUpdating","right","left","top","bottom"])]))}getInfo(){return Lt}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){return e&&(e=(e||"").split(","),this._set("left",parseInt(e[0])||0),this._set("right",parseInt(e[1])||0),this._set("top",parseInt(e[2])||0),this._set("bottom",parseInt(e[3])||0)),this}static from(e){return(new Jt).applyFromString(e)}toString(){if(!this.isEmpty())return this._toString()}_toString(e=0){return["left","right","top","bottom"].map(e=>parseInt(this._get(e))).concat(this._get("dpi")).join(", ")}}function Xt(e,t){if(t){if("Left"===e)return"Right";if("Right"===e)return"Left"}return e}Jt.defaultVal="0, 0, 0, 0, 100",l([A(!(Jt.unitProperties=["left","right","top","bottom"]))],Jt.prototype,"_isUpdating",void 0);class Zt{constructor(a,e){this._rtlLayout=e,this._control=a,this.borderCss=e=>{var e=this._getBorderWidth(a,e),t=p.c.unwrap(a.borderDefault),i=p.c.unwrap(a.borderColor)||"",r=p.c.unwrap(a.borders)||"",s=p.c.unwrap(a.borderDashStyle)||"";return t?this.createBorders(s,e,i,r,t):this.createBorders(s,e,i,r)},this.backGroundCss=()=>({backgroundColor:p.c.unwrap(a.backColor)||"transparent"}),this.foreColorCss=()=>{return{color:"transparent"===(p.c.unwrap(a.foreColor)||"transparent")?"black":p.c.unwrap(a.foreColor)}},this.fontCss=()=>this.createFont(p.c.unwrap(a.font)||""),this.wordWrapCss=()=>this.createWordWrap(p.c.unwrap(a.wordWrap),p.c.unwrap(a.multiline)),this.paddingsCss=()=>{var e=p.c.unwrap(a.paddingObj||a.padding)||Jt.from(Jt.defaultVal);return{paddingLeft:this._getPixelValueFromUnit(e._get("left"),a)+"px",paddingTop:this._getPixelValueFromUnit(e._get("top"),a)+"px",paddingRight:this._getPixelValueFromUnit(e._get("right"),a)+"px",paddingBottom:this._getPixelValueFromUnit(e._get("bottom"),a)+"px"}},this.textAlignmentCss=()=>{var e=p.c.unwrap(a.textAlignment)||"";return Object(v.b)(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))},this.stroke=()=>{return{stroke:"transparent"===(p.c.unwrap(a.foreColor)||"transparent")?"black":p.c.unwrap(a.foreColor)}},this.strokeWidth=()=>{return{strokeWidth:p.c.unwrap(a.lineWidth)||""}},this.strokeWidthWithWidth=()=>{return{strokeWidth:p.c.unwrap(a.width)||""}},this.strokeDashArray=()=>{return{strokeDasharray:this.createStrokeDashArray(p.c.unwrap(a.lineStyle)||"",p.c.unwrap(a.lineWidth)||"")}},this.strokeDashArrayWithWidth=()=>{return{strokeDasharray:this.createStrokeDashArray(p.c.unwrap(a.lineStyle)||"",p.c.unwrap(a.width)||"")}},this.crossBandBorder=e=>this.createBorder(p.c.unwrap(a.borderDashStyleCrossband)||"solid",this._getBorderWidth(a),p.c.unwrap(a.borderColor)||"",p.c.unwrap(a.borders)||"",e),this.angle=()=>this.createAngle(p.c.unwrap(a.angle)||0),this.cellBorder=(e,t)=>this.createControlBorder(p.c.unwrap(a.borderDashStyle)||"solid",this._getBorderWidth(a,t),p.c.unwrap(a.borderColor)||"",p.c.unwrap(a.borders)||"",e),this.zipCodeFontCss=e=>this.createZipCodeFont(e||p.c.unwrap(a.size.height)),this.zipCodeAlignment=()=>{var e="TopLeft";return Object(v.b)(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))}}_getPixelValueFromUnit(e,t){return t.root&&t.root.measureUnit?ut(e,t.root.measureUnit()):e}_patchPosition(e){return Xt(e,p.c.unwrap(this._rtlLayout))}_getBorderWidth(e,t){var i=p.c.unwrap(e.borderWidth);return e.borderWidth&&"number"==typeof i?Math.floor(i*(t||1)):""}createBorder(e,t,i,r,s){var a={},e=(r=r||"All",a={stroke:"Silver",strokeWidth:2},this.createStrokeDashArray(e,t));return-1===r.indexOf(s)&&-1===r.indexOf("All")||(a.stroke=i,a.strokeWidth=t,a.strokeDasharray=e),a}createControlBorder(e,t,i,r,s,a="solid 1px Silver"){var 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)]=a,n}createBorders(e,t,i,r,s=Zt.DEFAULT_BORDER){var a=this.createControlBorder(e,t,i,r,"Left",s),n=this.createControlBorder(e,t,i,r,"Right",s),o=this.createControlBorder(e,t,i,r,"Top",s),e=this.createControlBorder(e,t,i,r,"Bottom",s);return Object(v.b)({},a,n,o,e)}createZipCodeFont(e){var t={fontFamily:"Impact"};return t.fontSize=e+"px",t}createFont(e){var t={},i=(e=e||"").split(",");if(t.fontFamily=i[0]?'"'+i[0]+'"':"",t.fontSize=i[1],2<i.length)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){var 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){var t={};return-1!==e.indexOf("Left")&&(t.textAlign=Xt("Left",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Right")&&(t.textAlign=Xt("Right",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Center")&&(t.textAlign="center"),-1!==e.indexOf("Justify")&&(t.textAlign="justify"),t}createStrokeDashArray(e,t){return"Solid"===e?"":"Dot"===e?[t,2*t].join("px, ")+"px":"Dash"===e?[4*t,4*t].join("px, ")+"px":"DashDot"===e?[4*t,2*t,t,2*t].join("px, ")+"px":"DashDotDot"===e?[4*t,2*t,t,2*t,t,2*t].join("px, ")+"px":""}createWordWrap(e,t){var 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)"}}contentSizeCss(e,t,i,r,s){const a={top:1,left:1,right:1,bottom:1,width:1,height:1},n=(r=r||p.c.unwrap(this._control.borders)||"",this._getBorderWidth(this._control,i));return["Left","Top","Right","Bottom"].forEach(e=>{let t=0;""==n||-1===r.indexOf(e)&&-1===r.indexOf("All")||(t+=n),s&&(t+=this._getPixelValueFromUnit(s._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}}Zt.DEFAULT_BORDER="none";const Qt="DevExpress.DataAccess.Expression";function ei(e){return e===Qt}const ti={Enum:h.getEditor("combobox"),"System.String":h.getEditor("text"),"System.Guid":h.getEditor("guid"),"System.SByte":h.getEditor("sbyte"),"System.Decimal":h.getEditor("decimal"),"System.Int64":h.getEditor("int64"),"System.Int32":h.getEditor("int32"),"System.Int16":h.getEditor("int16"),"System.Single":h.getEditor("single"),"System.Double":h.getEditor("double"),"System.Byte":h.getEditor("byte"),"System.UInt16":h.getEditor("uint16"),"System.UInt32":h.getEditor("uint32"),"System.UInt64":h.getEditor("uint64"),"System.Boolean":h.getEditor("boolSelect"),"System.DateTime":h.getEditor("date"),"DevExpress.DataAccess.Expression":h.getEditor("expressionEditor")};function ii(e){return ti[e]||h.getEditor("text")}var ri=t(33);function si(e){var t=u.a;t&&e&&(e.cldrSupplemental&&t.load(e.cldrSupplemental),e.cldrData&&t.load(e.cldrData),e.currentCulture)&&(t.locale(e.currentCulture),ri.locale)&&ri.locale(e.currentCulture)}class ai{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 ni(e,t){e&&t&&(e.key===L.Esc&&t.esc&&t.esc(),e.key===L.Enter)&&e.ctrlKey&&t.ctrlEnter&&t.ctrlEnter()}class oi extends d.a{constructor(t){super(),this._showInline=w.observable(!1),this.text=w.observable();let i;this._disposables.push(t.focused.subscribe(()=>{this._showInline()&&i&&(i(this.text()),this._showInline(!1));var e=t.focused()&&t.focused().getControlModel();i=e&&(e.textEditableProperty||e.text||e.alias)})),this._disposables.push(this.visible=w.pureComputed({read:()=>this._showInline(),write:e=>{this._showInline(e)}})),this.show=e=>{this._showInline()||((t.selectedItems?1===t.selectedItems.length:!!t.focused())&&i&&!t.focused().locked?(this.text(i()),this._showInline(!0),e&&(e=_.fn.constructor(e).find("textarea")[0])&&e.select()):this._showInline(!1))},this.keypressAction=e=>{ni(e.event,{esc:()=>{this._showInline(!1)},ctrlEnter:()=>{i(this.text()),this._showInline(!1)}})}}}class di extends d.a{constructor(i,r){super(),this.selectedItem=null,this.itemsFilter=(e,t)=>{e=e.name.split(".")[0];return!i||-1!==i.indexOf(e)||_.isNumeric(e)},this.hasItems=e=>{var t=e.name.split(".")[0];return e.isList||!!r&&-1!==r.indexOf(t)},this.getActions=e=>e.data&&e.data.innerActions||[],this.select=e=>{this.selectedItem&&(this.selectedItem.isSelected=!1),(this.selectedItem=e).isSelected=!0},this.showIconsForChildItems=()=>!0}dispose(){this.selectedItem=null}canSelect(e){return!0}}class li extends d.a{constructor(){super(...arguments),this.selectedPath=w.observable(""),this.selectedMember=w.observable()}getClassName(e){return e.className&&e.className()?e.className():(e=/function (.{1,})\(/.exec(e.constructor.toString()))&&1<e.length?e[1]:""}createItem(e,t,i,r){e=e.getInfo&&e.getInfo(),e=e&&e.filter(e=>e.propertyName===t)[0],i=w.unwrap(i);e&&null!==i&&"object"==typeof i&&r.push({name:t,displayName:Object(m.c)(e.displayName,e.localizationId),specifics:t,innerActions:i.innerActions,isList:!!i.push})}getMemberByPath(e,t){t=t.split(".");let i=e;return t.splice(0,1),t.forEach(e=>{i&&i[e]&&(i=w.unwrap(i[e]))}),i}getObjectPropertiesForPath(e,t,i){var r=this.getMemberByPath(e,t),s=[];if(r)if(r.push)this.createArrayItem(r,s,i);else for(const a in r)this.createItem(r,a,r[a],s);return s}createArrayItem(t,i,r){for(let e=0;e<t.length;e++){var s=w.unwrap(t[e]);i.push({name:r?r+"."+e.toString():e.toString(),displayName:w.unwrap(s.displayName||s.name),specifics:this.getClassName(s),innerActions:s.innerActions,isList:!!s.push})}}}class ui extends li{constructor(s,e,r,t){super(),this.path=w.observable(""),this.getPathByMember=t,this.listPropertyNames=e||[],this.getItems=t=>{var e=_.Deferred();if(t.fullPath){const r=s.filter(e=>e.name===t.fullPath.split(".")[0])[0];var i=(i=this.getObjectPropertiesForPath(w.unwrap(r.model),t.fullPath,r.name)).map(e=>(e.cssRule={"dxrd-context-menu-container":!!r.hasContextMenu},e));e.resolve(i)}else e.resolve((s||[]).map(e=>({name:e.name,displayName:Object(m.c)(e.displayName)||e.name,isList:!0,specifics:e.className,dragData:{noDragable:!0},data:w.unwrap(e.data),cssRule:{"dxrd-context-menu-container":e.hasContextMenu}})));return e.promise()},this._disposables.push(this.selectedPath=w.computed({read:()=>r()?this.path.peek()?this.getPathByMember&&this.getPathByMember(r()).substr(this.path.peek().length+1):this.getPathByMember&&this.getPathByMember(r()):null,write:e=>{if(e){const i=(this.path()?this.path():e).split(".")[0];var t=s.filter(e=>e.name===i)[0];t&&r(this.getMemberByPath(w.unwrap(t.model),this.path()?[this.path(),e].join("."):e))}else r(null)}}))}createArrayItem(i,r,s){for(let e=0;e<i.length;e++){const n=w.unwrap(i[e]);let t=!1;this.listPropertyNames.forEach(e=>{!t&&n[e]&&0<w.unwrap(n[e]).length&&(t=!0)});var a=this.getClassName(n);r.push({name:s?s+"."+e.toString():e.toString(),displayName:w.unwrap(n.displayName||n.name),specifics:a,isList:t,data:n,dragData:{noDragable:!("bands"===s&&("groupheaderband"===a||"groupfooterband"===a||"detailreportband"===a||"subband"===a)||"controls"===s||"rows"===s||"cells"===s&&"xrcrosstabcell"!==a||"subBands"===s||"Styles"===s||"Formatting Rules"===s)}})}}createItem(e,t,i,r){(!(0<this.listPropertyNames.length)||-1<this.listPropertyNames.indexOf(t))&&i&&i.push&&this.createArrayItem(w.unwrap(i),r,t)}}class ci extends li{constructor(i,r,s){super(),this.getItems=e=>{var t=_.Deferred();return e.fullPath?t.resolve(this.getObjectPropertiesForPath(w.unwrap(i),e.fullPath)):t.resolve([{name:r||w.unwrap(i.name),displayName:Object(m.c)(r||w.unwrap(i.name),s),isList:!0,specifics:i.className&&i.className(),dragData:{noDragable:!0}}]),t.promise()},this._disposables.push(this.selectedPath.subscribe(e=>{this.selectedMember(w.unwrap(this.getMemberByPath(w.unwrap(i),e)))}))}}const pi={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"}};function hi(e,t,i){t="HundredthsOfAnInch"===t?e:e/2.54;return void 0!==i?lt(t,!1,i):t}function gi(e,t){e=pi[e];return{width:hi(e.width,e.unit,t),height:hi(e.height,e.unit,t)}}function mi(e){return Object(v.b)({handles:f.isSubscribable(e.handles)?e.handles:e.handles||"all",ghost:!1,start:()=>{},stop:()=>{},resize:()=>{}},e)}function fi(e,t){const i=new vi(e,t).initialize();return()=>{i.dispose()}}class vi extends d.a{constructor(e,t){super(),this._element=e,this._options=t,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"]}_initResize(e){this._startResizeMousePosition={left:e.pageX,top:e.pageY},this._resizeDirection=xi(e.target.classList),this._addClassToElement("ui-resizable-resizing");var t=this._element.getBoundingClientRect(),i=_.fn.constructor(this._element);this._element.dataset.originalLeftPosition=i.css("left"),this._element.dataset.originalTopPosition=i.css("top"),this._element.dataset.originalWidth=x(t.width),this._element.dataset.originalHeight=x(t.height),this._element.dataset.originalLeftMousePosition=x(e.pageX),this._element.dataset.originalTopMousePosition=x(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){var t;1===e.which&&(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(),vi.inProcess=!1,this._removeClassFromElement("ui-resizable-resizing"),this._startResizeMousePosition=null,this._resizeDirection=null}_mouseDown(e){vi.inProcess=!0,this._initResize(e),this._options.start(e,this._element)}_initResizeHandle(e,t){var 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(r){let s=0,a=0,n=0,o=0;const d=b(this._element.dataset.originalHeight),l=b(this._element.dataset.originalWidth);var e=e=>{var t=this._element.style.minHeight?b(this._element.style.minHeight):this._defaultMinSize,i=(this._startResizeMousePosition.top-r.pageY)*(e?1:-1);t>d+i?(t=d-t,e&&(o=t),a=-t):(a=i,e&&(o=-a))},t=e=>{var t=this._element.style.minWidth?b(this._element.style.minWidth):this._defaultMinSize,i=(this._startResizeMousePosition.left-r.pageX)*(e?1:-1);t>l+i?(t=l-t,e&&(n=t),s=-t):(s=i,e&&(n=-s))},i=this._resizeDirection&&/sw|se|nw|ne|s|n/.test(this._resizeDirection),u=this._resizeDirection&&/sw|se|nw|ne|e|w/.test(this._resizeDirection),i=(i&&e(/nw|ne|n/.test(this._resizeDirection)),u&&t(/sw|nw|w/.test(this._resizeDirection)),{width:s,height:a,left:n,top:o});return i}initialize(){let t=e=>this._mouseDown(e),i=e=>{e&&(this._addClassToElement(this.resizableElementClass),_.fn.constructor(this._element).children(this.handleClassSelector).remove(),("all"===e?this._resizeHandles:e.split(",")).forEach(e=>{this._initResizeHandle("ui-resizable-"+e,t)}))};var e;return i(f.unwrap(this._options.handles)),f.isSubscribable(this._options.handles)&&(e=this._options.handles.subscribe(e=>{this._removeClassFromElement(this.resizableElementClass),this._element.querySelectorAll(this.handleClassSelector).forEach(e=>e.removeEventListener("mousedown",t)),_.fn.constructor(this._element).children(this.handleClassSelector).remove(),i(e)}),this._disposables.push(e)),this._disposables.push({dispose:()=>{i=null,this._element.querySelectorAll(this.handleClass).forEach(e=>e.removeEventListener("mousedown",t)),this._element.removeEventListener("mousedown",t),t=null,this._element=null,this._options=null}}),this}}function xi(t){for(let e=0;e<t.length;e++)if("ui-resizable-handle"!==t[e]&&0===t[e].indexOf("ui-resizable-"))return t[e].slice("ui-resizable-".length,t[e].length)}vi.inProcess=!1;class bi extends d.a{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._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}})}_initScrollContainer(){var 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._mouseMove(e),this._windowEvents.up=e=>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-((null==(e=this._scrollableContainer)?void 0:e.scrollLeft)||0),r=this._originalElementPosition.top-t-((null==(e=this._scrollableContainer)?void 0:e.scrollTop)||0);t=this._options.boundary;return t&&(i=i<t.left?t.left:i>t.right?t.right:i,r=r<t.top?t.top:r>t.bottom?t.bottom:r),{left:i,top:r}}_mouseMove(e){var t,i;!vi.inProcess&&this._startRect&&1===e.which&&this.shouldStartDrag(e)&&(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?b(this._ghostContainer[0].dataset.startLeftPosition):e.pageX,top:this._ghostContainer?b(this._ghostContainer[0].dataset.startTopPosition):e.pageY},this._element.dataset.leftPosition=x(this._originalElementPosition.left),this._element.dataset.topPosition=x(this._originalElementPosition.top),this._options.start(e,this._element)),i=this._originalDragStartCoordinates.left-e.pageX,t=this._originalDragStartCoordinates.top-e.pageY,i=this._calculateElementPosition(i,t),this._element.dataset.leftPosition=x(i.left),this._element.dataset.topPosition=x(i.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){vi.inProcess||(bi.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(),vi.inProcess||(bi.inProcess=!0,this._initDrag(e))}}bi.inProcess=!1;var l=t(38),yi=t.n(l);class _i extends d.a{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}})}updateSelection(e,t){i=this.bounds;var i,e=!((e=e).left>i.right||e.right<i.left||e.top>i.bottom||e.bottom<i.top);e!=this.isSelected&&(e?this._options.selecting(t,this._element):this._options.unselecting(t,this._element),this.isSelected=e)}}class Ci extends d.a{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=_.fn.constructor(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}})}_clearElements(){this._elements.forEach(e=>e.dispose()),this._elements=[]}_collectElements(){this._clearElements();var t=document.getElementsByClassName(this._options.filter.substr(1));for(let e=0;e<t.length;e++)this._elements.push(new _i(t[e],this._options))}_updateSelectionContent(t){this._startRect.left>=t.pageX?(this._$selectionContent.css("left",t.pageX),this._$selectionContent.css("right",this._startRect.right)):(this._$selectionContent.css("left",this._startRect.left),this._$selectionContent.css("right",this._$window.width()-t.pageX)),this._startRect.top>=t.pageY?(this._$selectionContent.css("top",t.pageY),this._$selectionContent.css("bottom",this._startRect.bottom)):(this._$selectionContent.css("top",this._startRect.top),this._$selectionContent.css("bottom",this._$window.height()-t.pageY));var i=this._$selectionContent[0].getBoundingClientRect();for(let e=0;e<this._elements.length;e++)this._elements[e].updateSelection(i,t)}_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(()=>{gt.started()||Ci.disabled||vi.inProcess||!this._startRect||1===e.which&&(this._$selectionContent?this._updateSelectionContent(e):this.shouldStartSelect(e)&&(this._options.start(e),Ci.inProcess=!0,this._$selectionContent=_.fn.constructor("<div />").appendTo(document.body),this._$selectionContent.addClass("dxrd-selection-content ui-selectable-helper"),yi.a.prototype._zIndexInitValue&&this._$selectionContent.css("z-index",yi.a.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){Ci.disabled||vi.inProcess||bi.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(),Ci.inProcess=!1)}_mouseDown(e){Ci.disabled||vi.inProcess||bi.inProcess||(this._initStartRect(e),this._collectElements())}}function wi(e){return{left:b(e.dataset.originalLeftPosition),top:b(e.dataset.originalTopPosition)}}function Ai(e){return{width:b(e.dataset.originalWidth),height:b(e.dataset.originalHeight)}}function Ei(e,t,i){return{left:e.left+i.left,top:e.top+i.top,width:t.width+i.width,height:t.height+i.height}}Ci.inProcess=!1,Ci.disabled=!1,w.bindingHandlers.resizable={init:function(e,t,i,r,s){const u=t();let c=_.fn.constructor(e),a=c.closest(".dx-designer"),d=null,p=null,l={north:"n",east:"e",south:"s",west:"w"},h=[],g=null;t=Object(v.b)(mi(t()),{stop:function(e){p.each((e,t)=>{const i=w.contextFor(t),r=i.$data,s=i.$root.surface(),a=_.fn.constructor(t),n=r.rect();let o=Fe(a,r,s);o={top:(-1!==d.indexOf(l.north)?o:n).top,left:(-1!==d.indexOf(l.west)?o:n).left,width:(-1!==d.indexOf(l.east)||-1!==d.indexOf(l.west)?o:n).width,height:(-1!==d.indexOf(l.south)||-1!==d.indexOf(l.north)?o:n).height},h.push(()=>{r.canSetRect&&!r.canSetRect(o)?(t.dataset.originalLeftPosition&&t.dataset.originalTopPosition&&(a.css("top",t.dataset.originalTopPosition),a.css("left",t.dataset.originalLeftPosition)),t.dataset.originalWidth&&t.dataset.originalHeight&&(a.css("width",t.dataset.originalWidth),a.css("height",t.dataset.originalHeight))):(r.rect(o),JSON.stringify(n)===JSON.stringify(o)&&a.css({left:n.left,top:n.top,width:n.width,height:n.height})),t.dataset.originalLeftPosition=void 0,t.dataset.originalTopPosition=void 0,t.dataset.originalWidth=void 0,t.dataset.originalHeight=void 0})}),h.forEach(e=>e()),h=[],d=null,u.stopped(),u.started=!1,u.snapHelper&&u.snapHelper.deactivateSnapLines()},start:e=>{d=xi(e.target.classList),u.started=!0,u.starting(e),(p=u.$selectedNodes||_.fn.constructor(".dxrd-viewport .dxrd-selected").filter(":visible")).each((e,t)=>{var i=_.fn.constructor(t),r=t.getBoundingClientRect();t.dataset.originalLeftPosition=i.css("left"),t.dataset.originalTopPosition=i.css("top"),t.dataset.originalWidth=x(r.width),t.dataset.originalHeight=x(r.height)});var e=c.offset(),t=a.find(".dxrd-ghost-container").offset();g=t?{top:e.top-t.top,left:e.left-t.left}:e,u.snapHelper&&u.snapHelper.updateSnapLines(r)},resize:(r,e,s)=>{r.stopPropagation();var t=s.width,i=s.height,a=s.left,n=s.top;if(u.forceResize)u.forceResize({size:new dt(e.offsetWidth,e.offsetHeight),delta:{dx:a,dy:n,dw:t,dh:i},element:e});else if(e.dataset.originalLeftPosition&&e.dataset.originalTopPosition&&e.dataset.originalWidth&&e.dataset.originalHeight){var o=Ai(e),e=wi(e);if(r.altKey)u.snapHelper&&u.snapHelper.deactivateSnapLines();else if(u.snapHelper&&1===p.length){var d=o.width+t,l=o.height+i,d={originalSize:{width:o.width,height:o.height},size:{width:d,height:l}},l=ke(u.snapHelper,g,d,{x:a,y:n,width:t,height:i}),d=(u.snapHelper.activateSnapLines(l),Ei(e,o,s)),a={left:e.left+l.left-g.left,top:e.top+l.top-g.top,width:l.right-l.left,height:l.bottom-l.top};if((n=a).left!==(t=d).left||n.top!==t.top||n.width!==t.width||n.height!==t.height)return void c.css(a)}p.each(function(e,t){var i;t!==r.target&&(i=Ei(wi(t),Ai(t),s),t.style.left=x(i.left),t.style.top=x(i.top),t.style.width=x(i.width),t.style.height=x(i.height))})}}},w.unwrap(u));u.disabled;const n=fi(e,t);Object(C.c)(e,()=>{n(),e=null})},update:function(e,t,i,r,s){var a=w.unwrap(t().minimumWidth),a=(a&&(e.style.minWidth=x(a)),w.unwrap(t().minimumHeight)),a=(a&&(e.style.minHeight=x(a)),e=>Array.from(e.children).filter(function(e){return e.classList.contains("ui-resizable-handle")})),n=w.unwrap(t().maximumWidth);n&&(e.style.maxWidth=x(n));const o=t().handleClassName,d=(o&&a(e).forEach(e=>e.classList.add(o)),!(!w.unwrap(t().disabled)&&!w.unwrap(r.locked)));a(e).forEach(e=>e.style.display=d?"none":"block")}},w.bindingHandlers.resizableReportMargins={init:function(e,t){t()}};var l=t(23),Ii=t.n(l);class Si extends d.a{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=Ii.a.getInstance(this._container)}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){return e[i]>t[i]+t["y"===i?"height":"width"]-50?5:e[i]<t[i]+50?-5:0}getScrollOffset(){return this._scroll.scrollOffset()}processOffset(e){var 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)}}var l=t(41),Ti=t.n(l),l=t(56),l=t.n(l),E=t(57);class Pi extends t.n(E).a{static _sortItems(e,s){return e.sort((e,t)=>{let i=f.unwrap(e[s]),r=f.unwrap(t[s]);if(i&&r)return e=i-r,isNaN(e)?(i=i.toLowerCase?i.toLowerCase():i,r=r.toLowerCase?r.toLowerCase():r,i<r?-1:i>r?1:0):e})}static _createOptions(i,e){return i=this._sortItems(i,e),{load:e=>{let t=[].concat(i);return e.take&&(t=t.splice(e.skip,e.take)),_.Deferred().resolve(t).promise()},byKey:t=>{if(i.some(e=>e===t))return t}}}constructor(e,t="name"){super(Pi._createOptions(e,t))}}class $i extends l.a{constructor(e,t="name"){e instanceof Array&&Pi._sortItems(e,t),super(e)}}class ki extends d.a{constructor(t){super(),this._filter=w.observable(null);let i=null;this._disposables.push(this.dataSource=w.computed(()=>{i&&i.dispose();var e=this._filter()?t().filter(this._filter()):t();return i=new Ti.a({store:new Pi(e),paginate:!0,pageSize:100})})),this._disposables.push(this.visible=w.computed(()=>0<t().length))}getFilter(){return this._filter()}setFilter(e){this._filter(e)}resetFilter(){this._filter(null)}}class Di{constructor(e){this.disabled=w.observable(!1),this.info=e}get type(){return Et(this.info["@ControlType"])}get imageClassName(){return[Pt(this.type),this.disabled()?"dxrd-disabled-button":""].join(" ")}get imageTemplateName(){var e=Pt(this.type,!0);return null!=(e=c.getExistingTemplate(e))?e:c.getExistingTemplate("dxrd-svg-toolbox-unknown")}get index(){return this.info.index}get displayName(){return this.info.displayName||this.type}}function Fi(r,e=""){const s=[];return Object.keys(r).forEach(t=>{if(!r[t].nonToolboxItem){const i={"@ControlType":t,displayName:r[t].displayName,index:r[t].toolboxIndex||0,canDrop:r[t].canDrop,group:r[t].group||e};r[t].size&&(i.size=r[t].size),r[t].defaultVal&&Object.keys(r[t].defaultVal).forEach(e=>{i[e]=r[t].defaultVal[e]}),s.push(new Di(i))}}),s.sort((e,t)=>e.index-t.index)}function Oi(e){try{e.blur&&e.blur()}catch(e){document.body.blur()}}function Bi(e){return null!=e&&0<Object.keys(e).length}const Mi=["Name","Version"];function Ni(t){var e;return!!t&&(e="\\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",new RegExp("^["+e+"_]["+e+"_\\d]*$").test(t))&&Mi.every(e=>t!=e)}function Vi(e){return e.replace(/[\W_]+/g,"_")}const zi=[{type:"custom",validationCallback:e=>Ni(e.value),get message(){return Object(m.c)("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}}];function Li(e){return!e.isModelReady||e.isModelReady()}function Hi(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}class Ri{constructor(){this._queue=[],this._queueObj={},this._done=[],this._doneOnce=[]}clear(){this._queue=[],this._queueObj={}}done(e){this._done.push(e)}doneOnce(e){this._doneOnce.push(e)}_executeNext(e=this._queue[0]){for(delete this._queueObj[e];0<this._queue.length&&!this._queueObj[this._queue[0]];)this._queue.splice(0,1);if(0!==this._queue.length)this._queueObj[this._queue[0]]();else{for(let e=0;e<this._done.length;e++)this._done[e]();do{var t=this._doneOnce.pop();t&&t()}while(this._doneOnce.length)}}execute(e,t=0){const i=Hi(),r=_.Deferred();return t?(this._queue.push(i),this._queueObj[i]=()=>{if(!this._queueObj[i])return this._executeNext(i);setTimeout(()=>{this._queueObj[i]&&r.resolve(e()),this._executeNext(i)},t)},1===this._queue.length&&this._queueObj[this._queue[0]]()):r.resolve(e()),{dispose:()=>(delete this._queueObj[i],r.reject()),force:()=>(delete this._queueObj[i],r.resolve(e())),doNext:()=>this._queue.splice(0,0,i),$promise:r.promise()}}}const ji=new Ri;class Wi{constructor(e,t=[]){this.pathParts=t,this.path="",(this.fullPath=e)&&(-1!==e.indexOf(".")?(t=e.split("."),this.id=this.ref=t[0],t.splice(0,1),this.path=t.join(".")):this.id=this.ref=e)}}const Gi=Object(C.d)(!0),Ui={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:()=>{},displayText:()=>Object(u.d)("Edit","AnalyticsCoreStringId.Group_Edit")};function qi(e){var t;let i=this.getViewModel();i.nodeImageClass=this._getNodeImageClassName(),i.hasItems=this.hasItems,i.visible=this._isVisible(),i.imageClassName=this.imageClassName,i.imageTemplateName=this.imageTemplateName,i.name=this.name,i.path=this.path,i.text=this.text,i.templateName=this.templateName,i.actionsTemplate=this.actionsTemplate,i.hasContent=this.hasContent,i.collapsed=this.collapsed,i.showIcon=this.showIcon,i.isHovered=this.isHovered,i.isSelected=this.isSelected,i.isMultiSelected=this.isMultiSelected,"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName||(i.cssRules=this._getCssRules()),"actions"===e.propertyName&&(i.actions=this.actions),"items"!==e.propertyName&&"maxItemsCount"!==e.propertyName||("added"in e&&!this.visibleItems?(null!=(t=e.added)&&t.forEach(e=>i.items.splice(e.index,0,e.item.getViewModel())),null!=(t=e.removed)&&t.forEach(e=>i.items.splice(e.index,1))):i.items=this._getChildViewModels()),"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName&&"collapsed"!==e.propertyName&&"hasItems"!==e.propertyName&&"level"!==e.propertyName&&"data"!==e.propertyName||(i.attr=this._getAttributes()),"data"===e.propertyName&&(i.data=this.data,i.isDraggable=this._isDraggable())}function Ki(e){return y(e).generateProperty("events",{mouseenter:()=>this.isHovered=!0,mouseleave:()=>this.isHovered=!1,dblclick:()=>this.treeListController.dblClickHandler?this.treeListController.dblClickHandler(this):this.toggleCollapsed()}).generateProperty("toggleCollapsed",()=>this.toggleCollapsed()).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).generateProperty("items",this._getChildViewModels()).generateProperty("data",this.data).generateProperty("visible",this._isVisible()).generateProperty("collapsed",this.collapsed).generateProperty("searchModel",y().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("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("treeListEditAction",Ui).generateProperty("resolver",this.resolver).getViewModel()}function Yi(e){return y(e).generateProperty("templateName","dx-treelist-item-ellipsis").generateProperty("collapsed",!0).generateProperty("items",[]).generateProperty("padding",this.padding).generateProperty("text",Object(u.d)("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")).generateProperty("events",{click:()=>this.renderNext()}).getViewModel()}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};const Ji=Object(C.d)(5);class Xi{constructor(){this._itemStore={}}storeItem(e){var t=Hi();return this._itemStore[t]=e,t}getItem(e){return this._itemStore[e]}removeItem(e){delete this._itemStore[e]}}class Zi extends Gt{onPropertyChanged(e){}createRootItem(e,t,i,r){return new ir(e,t,i,r)}createItem(e,t,i,r,s){return new I(e,t,i,r,s)}}let Qi=Zi;function er(e){Qi=e}class tr extends Kt{constructor(e,t,i,r){super(),this.setMaxItemsCount=e,this.getMaxItemsCount=t,this.padding=i,this.pageSize=r}createViewModel(){return Yi.call(this,super.createViewModel())}renderNext(){this.setMaxItemsCount(this.getMaxItemsCount()+this.pageSize)}}class I extends Kt{constructor(t,e=[],i=()=>{},r=!1,s=new Ri){if(super(),this.resolver=s,this._rtl=!1,this._pageSize=-1,this._walkCallback=null,this._dataSubscriptionsDispose=[],this._subscriptions=[],this._collapsedChangedEvent=null,this._getIconName=()=>(f.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=t.itemsProvider,this.maxItemsCount=t.pageSize||-1,this._pageSize=this.maxItemsCount,this.store=t.store,this.id=null==(s=this.store)?void 0:s.storeItem(this),f.isSubscribable(e)){const a=e.subscribe(e=>{this._path=e,this._updatePath()});this._pathSubscriptionDispose=()=>{a.dispose(),f.isComputed(e)&&e.dispose()}}this._path=f.unwrap(e),this._updatePath(),this._rtl=r,"loadChildItemsForCollapsedNodes"in t&&(this._loadChildItemsForCollapsedNodes=t.loadChildItemsForCollapsedNodes),this._factory=t.factory||new Qi,this._treeListController=t.treeListController,this._templateName=t.templateName,this._onItemsVisibilityChanged=i,this.dragDropHandler=t.treeListController.dragDropHandler,this._onItemsChangedCallback=t.onItemsChanged,this.getItems=()=>0<this.items.length?_.Deferred().resolve(this.items).promise():this._loadItems(t),this._setSelectedPath=e=>{t.setSelectedPath?t.setSelectedPath(e):f.isSubscribable(t.selectedPath)&&t.selectedPath(e)},this._subscribeOnDataProperty=t.subscribeOnDataPropertyChanged||((e,t,i)=>(i(),()=>{})),this.toggleCollapsed=()=>{this.hasItems&&(this._reverseCollapsed(),this.collapsed||0!==this.items.length?this._getLoadChildItemsForCollapsedNodes()&&(this.items.forEach(e=>{e._treeListController.hasItems(e.data)&&0===e.items.length&&e._loadItems(t)}),i()):this._loadItems(t,this._getLoadChildItemsForCollapsedNodes()).always(()=>{i()}))},this.toggleSelected=(e,t)=>{t&&(t.shiftKey||t.ctrlKey||t.metaKey)&&0<this._getSelectedItems().length&&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()}_equal(t,i){const r=["innerActions","noDragable","dragData"];return i===t||Object.keys(i).filter(e=>-1===r.indexOf(e)).every(e=>i[e]===t[e])}_getImageClassName(){return"dx-image-fieldlist-"+this._getIconName()+(this._showIcon?"":" dx-treelist-image-empty")}_getImageTemplateName(){var e="dxrd-svg-fieldlist-"+this._getIconName();return c.getExistingTemplate(e)}_getNodeImageClassName(){let e="dx-collapsing-image";return this.hasItems?(this.collapsed||(e+=" dx-image-expanded"),e):"dx-image-leaf-node"}_hasItems(){var e;return!this.data||(e=this._treeListController.hasItems(this.data),null!=this._loadChildItemsForCollapsedNodes?this.isLoaded?e&&0<this.visibleItemsCount:e:Gi()?e&&0<this.visibleItemsCount: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(){var e,t={"dx-treelist-item-selected dxd-state-selected dxrd-fieldslist-context-menu-container":this.isSelected||this.isMultiSelected};return t=null!=(e=this.data)&&e.cssRule?Object.assign(Object.assign({},t),this.data.cssRule):t}_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(t){var i={};for(let e=0;e<t.length;e++)i[t[e].name]={item:t[e],index:e};return i}_loadItems(p,h=!1){const g=_.Deferred();this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._disposables.reverse().forEach(e=>e.dispose&&e.dispose()),this._disposables.splice(0);var e=e=>{e&&e.done(e=>{if(this.isDisposing)g.reject();else{this.isLoaded=!0;e=e||[];const d=this.items;let r=this._createItemsObj(e),s=!1,t=0;var i,o=[].concat.apply([],d);for(let e=0;e<o.length;e++)r[o[e].data.name]||(o[e].dispose(),d.splice(e-t,1),t++,s=!0);this.visibleItemsCount=this.visibleItemsCount-t;let a=this._createItemsObj(d),n=!1;const l=!this._treeListController.showIconsForChildItems||this._treeListController.showIconsForChildItems(this),u=this._treeListController.showIconsForChildItems&&this._treeListController.showIconsForChildItems(this);if(e.forEach((e,t)=>{var i=a[e.name];i?(this._equal(e,i.item.data)?i.item._updateVisualProperties():i.item.data=e,n=n||i.index!==t):(s=!0,(i=this._factory.createItem(p,this.pathParts,this._onItemsVisibilityChanged,this._rtl,this.resolver))._showIcon=l,i.data=e,i.level=this.level+1,i.parent=this,i.parentViewModel=this.getViewModel(),i.visible&&(this.visibleItemsCount+=1),i.imageTemplateName=i._getImageTemplateName(),i.showIcon=u,d.splice(t,0,i),a[e.name]={item:i,index:t},this._walkCallback&&this._walkCallback(i))}),this._walkCallback=null,n&&(e=d.reduce((e,t,i)=>{t=Math.abs(i-(r[t.data.name]?r[t.data.name].index:-1));return!e||e.max<t?{max:t,index:i}:e},null).index,i=d[e],e!==(r[i.data.name]?r[i.data.name].index:-1))&&(d.splice(e,1),d.splice(r[i.data.name]?r[i.data.name].index:-1,0,i),s=!0),r=null,a=null,s&&this._onItemsChanged(),!this.collapsed||h){let t=e=>e._treeListController.hasItems(e.data);void 0!==this._loadChildItemsForCollapsedNodes&&(t=e=>(!e.collapsed||h)&&e._treeListController.hasItems(e.data)),this.items.forEach(e=>{t(e)&&e._loadItems(p)})}g.resolve(this.items);const c=p.getSelectedPath?p.getSelectedPath():f.isSubscribable(p.selectedPath)&&p.selectedPath.peek();c&&(e=this.items.filter(e=>0===c.indexOf(e.path))[0])&&this._selectItem(e.name+c.substring(e.path.length))}})},t=()=>new Wi(this.path,this.pathParts);return this.itemsProvider.subscribeOnItemsChanged?this._itemsSubscriptionDispose=this.itemsProvider.subscribeOnItemsChanged(this,e):e(this.itemsProvider.getItems(t())),g.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){const t=()=>{this._find(e),this.collapsed&&this.toggleCollapsed()};0===this.items.length?this.getItems().done(e=>{t()}):t()}}_find(t){var e=t&&this.items.filter(e=>t===e.name||0===t.indexOf(e.name)&&"."===t[e.name.length])[0];e&&(t.length>e.name.length?e._selectItem(t.substr(e.name.length+1)):this._treeListController.select(e))}_getItemsWithLock(){const t=_.Deferred();return(this._nodeIsLocked?t.reject():(this._nodeIsLocked=!0,this.getItems().done(e=>{this._nodeIsLocked=!1,t.resolve(e)}).fail(()=>{this._nodeIsLocked=!1,t.reject()}),t)).promise()}_getPadding(e){var t={};return t["padding-"+(this._rtl?"right":"left")]=20*e+12,t}_getLoadChildItemsForCollapsedNodes(){return void 0!==this._loadChildItemsForCollapsedNodes?this._loadChildItemsForCollapsedNodes:Gi()}_getSelectedItems(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]}_getVisibleItems(){if(-1!==this._pageSize){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)).push(new tr(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(){var e;this._dataSubscriptionsDispose.forEach(e=>e&&e()),this._dataSubscriptionsDispose=[this._subscribeOnDataProperty(this,"name",()=>this._updatePath()),this._subscribeOnDataProperty(this,"displayName",()=>{var e;return this.text=f.unwrap(null==(e=this.data)?void 0:e.displayName)}),this._subscribeOnDataProperty(this,"specifics",()=>{this.imageClassName=this._getImageClassName(),this.imageTemplateName=this._getImageTemplateName()})].filter(e=>!!e),this.templateName=this._getTemplateName(),this.actionsTemplate=(null==(e=this.data)?void 0:e.actionsTemplate)||"dx-treelist-item-actions-with-edit",this.hasContent=!(null==(e=this.data)||!e.contenttemplate)}_updatePath(){this.pathParts=this.name?(this._path||[]).concat([this.name]):this._path,this.path=this.pathParts.join(".")}_getChildViewModels(){var e=this.visibleItems||this.items;return null==e?void 0:e.map(e=>e.getViewModel())}_reverseCollapsed(){this.collapsed=!this.collapsed}itemsCollectionHasMutated(){var e={propertyName:"items"};this.onPropertyChanged(e),this.events.call("propertyChanged",e)}onPropertyChanged(e){var t;"visibleItemsCount"!==e.propertyName&&"isLoaded"!==e.propertyName&&"data"!==e.propertyName||(this.hasItems=this._hasItems()),"visibleItemsCount"!==e.propertyName&&"data"!==e.propertyName||(this._updateVisualProperties(),null!=(t=this.treeListController)&&t.subscribeOnActionsChanged?(this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._actionsSubscriptionDispose=this.treeListController.subscribeOnActionsChanged(this,e=>this.actions=e)):this.actions=null!=(t=this.treeListController)&&t.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&&(null==(t=this.treeListController)?void 0:t.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){qi.call(this,e)}createViewModel(){return Ki.call(this,super.createViewModel())}get name(){var e;return f.unwrap(null==(e=this.data)?void 0:e.name)}get treeListController(){return this._treeListController}dispose(){var e;super.dispose(),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)!=(e=this.store)&&e.removeItem(this.id)}}E([A("")],I.prototype,"imageTemplateName",void 0),E([Ut(()=>[])],I.prototype,"items",void 0),E([Ut(()=>[])],I.prototype,"actions",void 0),E([A(-1)],I.prototype,"maxItemsCount",void 0),E([A(0)],I.prototype,"visibleItemsCount",void 0),E([A(!0)],I.prototype,"collapsed",void 0),E([A(!1)],I.prototype,"isLoaded",void 0),E([A(!0)],I.prototype,"hasItems",void 0),E([A(!1)],I.prototype,"isSelected",void 0),E([A(!1)],I.prototype,"isMultiSelected",void 0),E([A(!1)],I.prototype,"isHovered",void 0),E([A(null)],I.prototype,"data",void 0),E([A(!0)],I.prototype,"visible",void 0),E([A(!1)],I.prototype,"isFiltred",void 0),E([A("")],I.prototype,"path",void 0),E([A(-1)],I.prototype,"level",void 0),E([A("")],I.prototype,"text",void 0);class ir extends I{constructor(e,t=[],i=()=>{},r=!1){super(e,t,i,r),this._options=e,this._resolver=new Ri,this._selectedPathSubscription=null,this.resolver.done(()=>{i()});const s=e=>{this._selectItem(this.path?e.substr(this.path.length+1):e)};f.isSubscribable(e.selectedPath)?this._selectedPathSubscription=e.selectedPath.subscribe(e=>s(e)):e.setSelectedPathChangedEvent&&(this._selectedPathSubscription={dispose:e.setSelectedPathChangedEvent(e=>s(e))}),this._selectItem(this.path?this.path+"."+f.unwrap(e.selectedPath):f.unwrap(e.selectedPath))}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(t,i=e=>{}){var r;if(t.data&&!t.data.specifics)throw new Error("Specific should be set");if(!(t.level>=Ji())){let e=null;0<t.items.length?e=()=>t.items.forEach(e=>{i(e),this._visitNextNode(e,i)}):t.data&&!t.treeListController.hasItems(t.data)||(null!=(r=t.treeListController.searchOptions)&&r.autoLoadItems?e=()=>t._getItemsWithLock().done(e=>{e.forEach(e=>{i(e),this._visitNextNode(e,i)})}):t._walkCallback=e=>{i(e),this._visitNextNode(e,i)}),e&&this._resolver.execute(e,1)}}_onItemsChanged(){this._options.expandRootItems&&this.items.forEach(e=>{e.collapsed=!1}),super._onItemsChanged()}}function rr(t,i){const r=w.observable(),e=r.subscribe(e=>t(e)),s=w.computed(()=>{var e=i();r(e)});return()=>{s.dispose(),e.dispose()}}function sr(i){var e;return null!=(e=i.treeListController)&&e.itemsFilter&&!i.treeListController.subscribeOnVisibleChanged&&(i.treeListController.subscribeOnVisibleChanged=(e,t)=>rr(t,()=>e.data&&!e.treeListController.itemsFilter(e.data,e.path,e))),null!=(e=i.treeListController)&&e.getActions&&!i.treeListController.subscribeOnActionsChanged&&(i.treeListController.subscribeOnActionsChanged=(e,t)=>rr(t,()=>e.treeListController.getActions(e))),i.subscribeOnDataPropertyChanged||(i.subscribeOnDataPropertyChanged=(e,t,i)=>rr(i,()=>w.unwrap(e.data&&e.data[t]))),null!=(e=i.itemsProvider)&&e.getItems&&!i.itemsProvider.subscribeOnItemsChanged&&(i.itemsProvider.subscribeOnItemsChanged=(e,t)=>rr(t,()=>i.itemsProvider.getItems(new Wi(e.path,e.pathParts)))),i}class ar extends Qi{createRootItem(e,t,i,r){var s=w.computed(()=>{var e=w.unwrap(t);return Array.isArray(e)?e:e?e.split("."):[]});return super.createRootItem(sr(e),s,i,r)}createItem(e,t,i,r,s){return super.createItem(sr(e),t,i,r,s)}}var nr=t(30);class or extends nr.a{constructor(e){super(e),this.engineType="multiplatform"}wrapPropertyArrayValue(e){return w.observableArray(e)}wrapPropertyValue(e){return w.observable(e)}unwrapPropertyValue(e){return w.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 r=w.observable(void 0);Object.defineProperty(e,t,{get:()=>r(),set:e=>{r(e)},enumerable:!0})}}const dr=e=>w.dataFor(e),lr=function(n={}){const t={createDefaultModel:e=>(n={getModel:()=>e,_____test:!0},t),generateProperty(e,t,i){var r=n;n._____test||Object.defineProperty(n,"_____test",{get:()=>!0,enumerable:!1});let s=w.observable(t);if(Array.isArray(t)){s=w.observableArray(t);let i=!1;for(const a in Rt.b)Rt.b[a](s(),e=>{i||(i=!0,s.valueHasMutated(),i=!1)});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s(),set:e=>{if(s(e),Array.isArray(e))for(const t in Rt.b)Rt.b[t](s(),e=>{i||(i=!0,s.valueHasMutated(),i=!1)})}})}else"function"==typeof t?r[e]=t:Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s(),set:e=>{s(e)}});return this},configureProperty(e,t){return e in n&&t(n[e]),this},getViewModel(){return n}};return t};class ur extends p.a{_notifyModel(e,t){t={propertyName:t,newValue:e[t]()};e.onPropertyChanged&&e.onPropertyChanged(t),Object(Wt.b)(e,t),e.events&&e.events.call("propertyChanged",t)}addDisposeCallback(e,t){w.utils.domNodeDisposal.addDisposeCallback(e,t)}removeDisposeCallback(e,t){w.utils.domNodeDisposal.removeDisposeCallback(e,t)}peek(e){return e.peek()}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){w.isObservable(e[t])?e[t](i):e[t]=i}generateProperty(t,i,e,r){t[i]=w.observable(e).extend(r),t.addDisposable(t[i].subscribe(e=>{this._notifyModel(t,i)}))}generateArrayProperty(t,i,e,r){t[i]=w.observableArray(e).extend(r),t.addDisposable(t[i].subscribe(e=>{this._notifyModel(t,i)}))}createComputedProperty(e,t,i,r,s,a=!1){return e[t]=(a?w.pureComputed:w.computed)("function"==typeof i?()=>i():{read:()=>i.read(),write:e=>i.write(e)}).extend(s),()=>e[t].dispose()}subscribeOnPropertyChanged(e,t,i){if(w.isSubscribable(e[t])){const r=e[t].subscribe(e=>i(e));return()=>r.dispose()}return()=>{}}subscribeValue(e,t){if(w.isSubscribable(e)){const i=e.subscribe(e=>t(e));return()=>i.dispose()}return()=>{}}unwrap(e){return w.unwrap(e)}wrap(e){return w.observable(e)}applyBindings(e,t){w.applyBindings(e,t)}cleanNode(e){w.cleanNode(e)}}function cr(){jt(lr),ht(dr),er(ar),Object(p.g)(new ur),Object(p.f)(e=>new or(e))}class pr{static getInfo(e){const i=e.map(e=>e.getInfo());return()=>{var e=[];for(let t=0;t<i[0].length;t++)i.filter(e=>0<e.filter(e=>e.propertyName===i[0][t].propertyName).length).length===i.length&&e.push(i[0][t]);return e}}static isPropertyDisabled(i){return t=>{for(let e=0;e<i.length;e++)if(i[e].isPropertyDisabled(t))return!0;return!1}}static getPath(s){return t=>{let i="";for(let e=0;e<s.length;e++){var r=s[e].getPath(t);if(0===e)i=r;else if(i!==r){i="";break}}return i}}static isPropertyVisible(i){return t=>{for(let e=0;e<i.length;e++)if(!i[e].isPropertyVisible(t))return!1;return!0}}static mergeProperty(i,r,e,t){var s=i[0][r];let a=null;if(i.filter(e=>!!e[r]).length===i.length&&!(a=t&&t(r,i,e)))if(w.isObservable(s)&&!s.push){if(!i.every(e=>w.isObservable(e[r])))return a;var n=w.observable(i.every(e=>i[0][r].peek()===e[r].peek())?i[0][r].peek():null);a={result:n,subscriptions:[n.subscribe(t=>{e&&e().start(),i.forEach(e=>{e[r](t)}),e&&e().end()})]}}else"object"!=typeof s||_.isArray(s)||(a=this._merge(i.map(e=>e[r]),e,t));return a}static _createProperty(e,t,i){!i||"object"==typeof i&&Object(v.c)(i)||(e[t]=i)}static _merge(i,r,s,t){const a={};let n=[];if(["getInfo","isPropertyVisible","isPropertyDisabled","getPath"].forEach(e=>{i[0][e]&&this._createProperty(a,e,this[e](i))}),t){const o=a.isPropertyDisabled;a.isPropertyDisabled=e=>o&&o(e)||-1!==t.indexOf(e)}return a&&a.getInfo?a.getInfo().map(e=>e.propertyName).forEach(e=>{var t=this.mergeProperty(i,e,r,s);t&&(n=[].concat.apply(n,t.subscriptions),this._createProperty(a,e,t.result))}):Object.keys(i[0]).forEach(e=>{var t=this.mergeProperty(i,e,r,s);t&&(n=[].concat.apply(n,t.subscriptions),this._createProperty(a,e,t.result))}),{result:a,subscriptions:n}}static mergeControls(e,t,i,r){e=this._merge(e,t,i,r);return{result:Object(v.b)(e.result,{controlType:"multiselect",displayName:w.observable("")}),subscriptions:e.subscriptions}}static getEditableObject(t,i,r){const s=w.observable(null);let a=[];var e=t.focused.subscribe(e=>{s(e&&e.getControlModel())});return t._disposables&&(t._disposables.push(e),t._disposables.push({dispose:()=>{a.forEach(e=>e.dispose()),a.splice(0)}})),w.pureComputed({read:()=>{var e;return a.forEach(e=>e.dispose()),a=[],1<t.selectedItems.length?(e=this.mergeControls(t.selectedItems.map(e=>e.getControlModel()),i,r,t.ignoreMultiSelectProperties),a=e.subscriptions,e.result):s()},write:e=>{e&&e.surface?t.focused(e.surface):(t.updateSelection(null),s(e))}}).extend({deferred:!0})}}class hr extends d.a{constructor(e=["name"]){super(),this.ignoreMultiSelectProperties=e,this._focused=w.observable(null),this._selectedControls=w.observableArray(),this._selectedControlsInner=[],this.focused=w.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=w.observable(!1),this._disposables.push(this.focused)}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(){document.activeElement&&0===_.fn.constructor(document.activeElement).closest(".dxrd-surface").length&&Oi(document.activeElement)}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()):1<this._selectedControlsInner.length&&-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){var t;e&&e.allowMultiselect&&(0===(t=this._selectedControlsInner).length||1===t.length&&!t[0].allowMultiselect?this.initialize(e):-1===this._selectedControlsInner.indexOf(e)?(e.selected(!0),this._selectedControlsInner.push(e)):1<this._selectedControlsInner.length&&this.unselecting(e))}}function gr(i,t,r=[],s=["surface"]){if(i&&void 0!==i){const a=[];Object.keys(i).forEach(t=>{if(0!==t.indexOf("_")&&-1===s.indexOf(t)){let e=t;w.isComputed(i[t])&&w.isWritableObservable(i["_"+t])&&(e="_"+e),-1!==r.indexOf(i[e])||w.isComputed(i[e])||a.push(i[e])}}),t(a),r.push.apply(r,a),a.forEach(e=>{"object"==typeof(e=w.unwrap(e))&&gr(e,t,r,s)})}}class mr{constructor(e,t){this.changes=e,this.position=t}static Empty(){return new mr(null,null)}equal(e){return this.changes===e.changes&&this.position===e.position}}const fr=[];class vr extends d.a{constructor(r,e=["surface"],t,i=[]){if(super(),this._ignoredProperties=e,this._getInfoMethodName=t,this._alwaysSubscribeProperties=i,this._groupObservers=[],this._groupPosition=-1,this._observers=[],this._subscriptions=[],this._visited=[],this._position=w.observable(-1),this._lockedPosition=w.observable(-1),this._inUndoRedo=!1,this._currentEngineName=vr._disposeUndoEngineSubscriptionsName+Hi(),this.redoEnabled=w.observable(!1),this.undoEnabled=w.observable(!1),this.isIngroup=-1,this.isDirty=w.computed({read:()=>this._position()!==this._lockedPosition(),write:e=>{e?this._lockedPosition("forcibly marked as dirty"):this._lockedPosition(this._position())}}),fr.push(this._currentEngineName),this._model=w.unwrap(r),this._getInfoMethodName)w.isSubscribable(r)?this._targetSubscription=this.subscribeProperty(r,!0):this._createDisposeFunction(r);else{let i=this.subscribe(this._model);if(w.isSubscribable(r)){let t=r();this._targetSubscription=r.subscribe(e=>{this._removePropertiesSubscriptions(),this._inUndoRedo||(this.properyChanged({observable:r,propertyChanged:{oldVal:t,val:e}}),t=e),this._cleanSubscribtions(i),this._model=e,i=this.subscribe(this._model)})}}this._disposables.push(this.isDirty)}static tryGetUndoEngine(t){let i=null;return fr.some(e=>!!(i=t[e]&&t[e].instance)),i}get _modelReady(){return Li(this._model)}_disposeObserver(e){var t;e.propertyChanged?(t=e.propertyChanged.val)&&!t[this._currentEngineName]&&t.dispose&&t.dispose():e.arrayChanges&&e.arrayChanges.forEach(e=>{"added"===e.status&&(e=e.value)&&!e[this._currentEngineName]&&e.dispose&&e.dispose()})}_disposeRemovedRecord(e){e.arrayChanges&&e.arrayChanges.forEach(e=>{var t;"deleted"===e.status&&null!=(t=e.value)&&t.dispose&&null!=(t=e.value)&&t.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){var t,i;this._inUndoRedo||((t=this._position()+1)<this._observers.length&&(i=this._observers.splice(t,this._observers.length),this._disposeObservers(i,!1)),this._observers.push(e),this._position(t),this.undoEnabled(!0),this.redoEnabled(!1))}visitProperties(e,i){var r=[];if(e&&i)for(let t=0;t<i.length;t++){var s=this._alwaysSubscribeProperties.some(e=>e===i[t].propertyName);(i[t].modelName||i[t].editor||i[t].info||s)&&(s=s?i[t].propertyName:this.validatePropertyName(e,i[t].propertyName))&&!w.isComputed(e[s])&&(w.isObservable(e[s])?r.push(this.subscribeProperty(e[s],!i[t].link)):r.push.apply([],this._createDisposeFunction(e[s],i[t].info)))}return r}undoChangeSet(t){if(t.propertyChanged)t.observable(t.propertyChanged.oldVal);else{var i,r=t.observable();for(let e=0;e<t.arrayChanges.length;e++)"added"===t.arrayChanges[e].status&&-1!=(i=r.indexOf(t.arrayChanges[e].value))&&r.splice(i,1);for(let e=0;e<t.arrayChanges.length;e++)"deleted"===t.arrayChanges[e].status&&r.splice(t.arrayChanges[e].index,0,t.arrayChanges[e].value);w.isObservable(t.observable)&&t.observable.valueHasMutated()}}redoChangeSet(t){if(t.propertyChanged)t.observable(t.propertyChanged.val);else{var i=t.observable();for(let e=0;e<t.arrayChanges.length;e++)"deleted"===t.arrayChanges[e].status&&i.splice(i.indexOf(t.arrayChanges[e].value),1);for(let e=0;e<t.arrayChanges.length;e++)"added"===t.arrayChanges[e].status&&i.splice(t.arrayChanges[e].index,0,t.arrayChanges[e].value);w.isObservable(t.observable)&&t.observable.valueHasMutated()}}_disposeChilds(i,r){if(i&&r)for(let t=0;t<r.length;t++)if(r[t].modelName||r[t].editor||r[t].info){var s=r[t].propertyName;if(0!==s.indexOf("_")){let e=s;w.isWritableObservable(i["_"+s])&&(e="_"+e),w.isComputed(i[e])||!(s=w.unwrap(i[e]))||"object"!=typeof s||r[t].link||this._callDisposeFunction(s)}}}_createDisposeFunction(e,t){let i=[];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(t){if(t)if(Array.isArray(t))for(let e=0;e<t.length;e++)t[e][this._currentEngineName]&&t[e][this._currentEngineName].func();else t[this._currentEngineName]&&t[this._currentEngineName].func()}_cleanSubscribtions(t){if(t)if(t.length)for(let e=0;e<t.length;e++)this._cleanSubscribtions(t[e]);else t.dispose&&t.dispose()}validatePropertyName(e,t){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every(e=>e!==t))&&"_"!==t[0]?w.isWritableObservable(e["_"+t])?"_"+t:t:null}subscribeProperty(r,i){if(w.isObservable(r)){let t=r();if(Array.isArray(t)){for(let e=0;e<r().length;e++)this._createDisposeFunction(r()[e]);return r.subscribe(e=>{if(this._modelReady){var t=e.filter(e=>"added"===e.status),i=e.filter(e=>"deleted"===e.status);for(let e=0;e<i.length;e++)this._callDisposeFunction(i[e].value);for(let e=0;e<t.length;e++)this._createDisposeFunction(t[e].value);this.properyChanged({observable:r,arrayChanges:e})}},null,"arrayChange")}if(w.isWritableObservable(r))return i&&this._createDisposeFunction(r()),r.subscribe(e=>{this._modelReady&&(i&&this._callDisposeFunction(t),this.properyChanged({observable:r,propertyChanged:{oldVal:t,val:e}}),t=e,i)&&this._createDisposeFunction(e)})}}subscribeProperties(e){e.forEach(i=>{if(w.isObservable(i)){let t=i();i.push?this._subscriptions.push(i.subscribe(e=>{!this._modelReady||this._inUndoRedo||(this.properyChanged({observable:i,arrayChanges:e}),this.subscribe(e.map(e=>e.value)))},null,"arrayChange")):w.isWritableObservable(i)&&this._subscriptions.push(i.subscribe(e=>{this._modelReady&&(this.properyChanged({observable:i,propertyChanged:{oldVal:t,val:e}}),t=i())}))}})}subscribe(e,t){if(this._getInfoMethodName)return this.visitProperties(e,t||e&&e[this._getInfoMethodName]&&e[this._getInfoMethodName]());gr(e,e=>{this.subscribeProperties(e)},this._visited,this._ignoredProperties)}getCurrentChangeSet(){return new mr(this._observers[this._position()],this._position())}_removePropertiesSubscriptions(){this._subscriptions.forEach(e=>e.dispose()),this._subscriptions=[],this._visited=[]}dispose(){super.dispose(),this._disposeObservers(this._observers.splice(0,this._observers.length),!0),this.removeTargetSubscription();let i=0;fr.some((e,t)=>e===this._currentEngineName&&(i=t,!0)),fr.splice(i,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{var t;this._inUndoRedo=!0,this.undoEnabled()&&(t=this._observers[this._position()])&&(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&&0<=this._position()),this.redoEnabled(this._position()<this._observers.length-1))}finally{this._inUndoRedo=!1}}redo(){try{var e;this._inUndoRedo=!0,this.redoEnabled()&&(e=this._observers[this._position()+1])&&(Array.isArray(e)?e.reverse().forEach(e=>this.redoChangeSet(e)):this.redoChangeSet(e),this._position(this._position()+1),this.undoEnabled(0!==this._observers.length&&0<=this._position()),this.redoEnabled(this._position()+1<this._observers.length))}finally{this._inUndoRedo=!1}}_hasSessionChanges(){return 0===this.isIngroup&&0<this._observers.length}start(){this.isIngroup++,0===this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._position(),this._position(-1),this._lockedPosition(this._position()))}end(){var e;this.isIngroup--,-1===this.isIngroup&&(0<this._observers.length?(this._position(this._groupPosition+1),e=this._groupObservers.splice(this._position(),this._groupObservers.length-this._position(),this._observers),this._disposeObservers(e,!1)):this._position(this._groupPosition),this._observers=this._groupObservers)}}function xr(e,t){const r=e.focused();t||(t=r.getControlModel(),e.selectedItems.forEach(e=>{var t=e.getControlModel(),i=t.parentModel();!e.getControlModel().getMetaData().isDeleteDeny&&i&&e!==r&&i.removeChild(t)}));var i=vr.tryGetUndoEngine(t.parentModel());i&&i.start(),t.parentModel().removeChild(t),i&&i.end(),e.focused(r.findNextSelection())}function br(e,r,s){const t=r();return e.peek().forEach(e=>{e=s(e);t.splice(0,0,e)}),r.valueHasMutated(),e.subscribe(e=>{const t=r();let i=t.length;e.forEach(e=>{"deleted"===e.status&&(t.splice(t.indexOf(e.value.surface),1),i--)}),e.forEach(e=>{"added"===e.status&&(t.splice(i-e.index,0,s(e.value)),i++)}),r.valueHasMutated()},null,"arrayChange")}function yr(e,s,a){const t=s();return e.peek().forEach(e=>{e=a(e);t.push(e)}),s.valueHasMutated(),e.subscribe(e=>{let t=s().length,i=0,r=[];e.forEach(e=>{"deleted"===e.status&&(i++,e.index<t)&&(t=e.index)}),e.forEach(e=>{"added"===e.status&&(e.index<t&&(t=e.index),r.push(a(e.value)))}),s.splice.apply(s,[t,i].concat(r))},null,"arrayChange")}function _r(e,...s){const t=w.observableArray(e),a=t.notifySubscribers;return t.notifySubscribers=(i,r)=>{if(s)for(let e=0,t=s.length;e<t;e++)s[e](i,r);return a.call(t,i,r)},t}function Cr(t,i,r){return _r(Object.keys(t||{}).map(e=>r(t[e])),(t,e)=>{if("beforeChange"!==e)if("arrayChange"===e)for(let e=0;e<t.length;e++)i!==t[e].value.parentModel()&&t[e].value.parentModel(i);else for(let e=0;e<t.length;e++)i!==t[e].parentModel()&&t[e].parentModel(i)})}function wr(t,i,r,s){for(let e=s||0;e<t.length;e++)if((w.isObservable(t[e][i])?t[e][i].peek():t[e][i])===r)return t[e];return null}function Ar(t,i){for(let e=0;e<t.length;e++)if(i(t[e]))return t[e];return null}vr._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___";const Er=Ar;function Ir(e,t,i){let r=0,s=e.length-1;for(;r<=s;){var a=s+r>>1,n=i(t,e[a]);if(0<n)r=1+a;else{if(!(n<0))return a;s=a-1}}return~r}class Sr{constructor(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}_appendSnapLine(e,t,i,r){var e={position:e,limitInf:t,limSup:i},s=Ir(r,e,(e,t)=>e.position-t.position);-1<s?(r[s].limitInf=Math.min(r[s].limitInf,t),r[s].limSup=Math.max(r[s].limSup,i)):r.splice(~s,0,e)}_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){var r=this._getCollection(e);if(r)for(let e=0;e<r.length;e++){var s=r[e].rect&&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 Tr{constructor(){this._position=w.observable(Tr._blankPosition)}transform(){var e=this._position();return"matrix("+e.width+", 0, 0, "+e.height+", "+e.left+", "+e.top+")"}updatePosition(e){this._position(e)}reset(){this.updatePosition(Tr._blankPosition)}}Tr._blankPosition={top:0,left:0,width:0,height:0};class Pr{constructor(e=null,t=Pr.snapTolerance,i=new Sr){this.snapLineSurfaces=[new Tr,new Tr,new Tr,new Tr],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=e,this._snapTolerance=t,this._snapLinesCollector=i}_findClosestSnapLine(e,t){var i,r=Ir(t,{position:e,limitInf:0,limSup:0},(e,t)=>e.position-t.position);let s;return s=-1<r?{snapLine:t[r],distance:e-t[r].position}:(i=t[r=~r]?e-t[r].position:Number.MAX_VALUE,e=t[r-1]?e-t[r-1].position:Number.MAX_VALUE,Math.abs(i)>Math.abs(e)?{snapLine:t[r-1],distance:e}:{snapLine:t[r],distance:i})}_getActiveSnapLines(e,t,i){var r,e=this._findClosestSnapLine(e,i),t=this._findClosestSnapLine(t,i),i={lines:[],distance:0};return 1<=Math.abs(e.distance-t.distance)?(r=Math.abs(e.distance)<Math.abs(t.distance)?e:t,Math.abs(r.distance)<=this._snapTolerance&&(i.lines=[r],i.distance=r.distance)):Math.abs(e.distance)<=this._snapTolerance&&(i.lines=[e,t],i.distance=e.distance),i}updateSnapLines(e=null){this.verticalSnapLines.splice(0),this.horizontalSnapLines.splice(0);e=this._snapLinesCollector.collectSnaplines(this._surfaceContext(),e);this.verticalSnapLines.push.apply(this.verticalSnapLines,e.vertical),this.horizontalSnapLines.push.apply(this.horizontalSnapLines,e.horizontal)}deactivateSnapLines(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset()}activateSnapLines(r){var s=this._getActiveSnapLines(r.left,r.right,this.verticalSnapLines),a=this._getActiveSnapLines(r.top,r.bottom,this.horizontalSnapLines);for(let i=0;i<2;i++){var n=s.lines[i];if(n){let e=Math.min(n.snapLine.limitInf,r.top),t=Math.max(n.snapLine.limSup,r.bottom);r.top<n.snapLine.limitInf&&(e-=a.distance),r.bottom>n.snapLine.limSup&&(t-=a.distance),this.snapLineSurfaces[i].updatePosition({top:e,left:n.snapLine.position,height:t-e,width:1})}else this.snapLineSurfaces[i].reset()}for(let i=0;i<2;i++){var o=a.lines[i];if(o){let e=Math.min(o.snapLine.limitInf,r.left),t=Math.max(o.snapLine.limSup,r.right);r.left<o.snapLine.limitInf&&(e-=s.distance),r.right>o.snapLine.limSup&&(t-=s.distance),this.snapLineSurfaces[i+2].updatePosition({top:o.snapLine.position,left:e,width:t-e,height:1})}else this.snapLineSurfaces[i+2].reset()}return{left:s.distance,top:a.distance}}snapPosition(e,t){t=this._findClosestSnapLine(e,t?this.horizontalSnapLines:this.verticalSnapLines);return t&&Math.abs(t.distance)<=this._snapTolerance?t.snapLine.position:e}}Pr.snapTolerance=10;class $r{constructor(e,t){this.x=w.observable(e).extend({dxdnum:{}}),this.y=w.observable(t).extend({dxdnum:{}})}getInfo(){return ot}static fromString(e="0, 0"){e=e.split(",");return new $r(parseFloat(e[0]),parseFloat(e[1]))}toString(){return this.x()+", "+this.y()}}$r.unitProperties=["x","y"];const kr={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 Dr{constructor(e,t=kr){this._copyPasteStrategy=t,this._copyInfo=w.observable(null),this.hasPasteInfo=w.pureComputed(()=>null!==this._copyInfo()),this._selectionProvider=e}canCopy(){return null!==this._selectionProvider.focused()&&!this._selectionProvider.focused().getControlModel().getMetaData().isCopyDeny}canPaste(){var 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 t=new or,e={focused:this._selectionProvider.focused(),objects:_.map(this._selectionProvider.selectedItems,e=>t.serialize(e.getControlModel()))};this._copyInfo(e)}}cut(){const t=new or,e=this._selectionProvider.focused(),i=[];this._selectionProvider.selectedItems.forEach(e=>{e=e.getControlModel();e.parentModel().removeChild(e),i.push(t.serialize(e)),this._copyPasteStrategy.createSelfRestoringItems&&i.push(...this._copyPasteStrategy.createSelfRestoringItems(e,t))});var r={focused:e,objects:i};this._copyInfo(r)}paste(){if(this.canPaste()){let t=this._selectionProvider.focused(),i=t.getControlModel();var r=[],s=(t===this._copyInfo().focused&&(t=t.parent,i=t.getControlModel()),i.getMetaData().isContainer||(t=t.parent,i=t.getControlModel()),new $r(Number.MAX_VALUE,Number.MAX_VALUE)),a=new $r(-1,-1);for(let e=0;e<this._copyInfo().objects.length;e++){var n,o,d=$e(this._copyPasteStrategy.createChild(i,this._copyInfo().objects[e]));d&&(n=new $r(d.rect().left,d.rect().top),o=new $r(d.rect().left+d.rect().width,d.rect().top+d.rect().height),s.x()>=n.x()&&s.x(n.x()),a.x()<=o.x()&&a.x(o.x()),s.y()>=n.y()&&s.y(n.y()),a.y()<=o.y()&&a.y(o.y()),r.push(d))}var l=new $r((t.rect().width-t._context.margins.right())/2-(a.x()-s.x())/2+(t.rtlLayout()?t._context.margins.right():0),t.rect().height/2-(a.y()-s.y())/2);for(let e=0;e<r.length;e++){var u=this._copyPasteStrategy.calculateDelta(r[e],t,s);r[e].rect({left:l.x()+u.x,top:l.y()+u.y})}this._selectionProvider.initialize(),r.forEach(e=>{this._selectionProvider.selecting({control:e,cancel:!1})})}}}const Fr={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 Or(e){e=Math.round(parseInt(e.replace("%","")))/100;return e?5<=e?5:e<=.1?.1:e:1}var l=t(58),Br=t.n(l),Mr=t(24),Nr=t(14),Vr=t(15);function zr(e,t,i=""){t(e,i),e instanceof Vr.a&&(e.leftPart&&zr(e.leftPart,t,i),e.leftPart)&&e.leftPart.propertyName&&(i=i?[i,e.leftPart.propertyName].join("."):e.leftPart.propertyName),e.children().forEach(e=>zr(e,t,i))}var Lr=t(35);class Hr{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(t,i){let r=t+i.length-1<this.alphabet.length;for(let e=t;e<t+i.length&&r;e++)r=this.alphabet[e]==i[e-t];return r}_getToken(e){e={type:this.tokenName,start:e-this.tokenLength+1,end:e+this.endTerm.length};return e.val=this.alphabet.substring(e.start,e.end),e}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 Rr{constructor(e){this.stringCriteria=e,this.machineStates=[],this.machineStates.push(new Hr("field",e,"[","]")),this.machineStates.push(new Hr("value",e,"'","'")),this.machineStates.push(new Hr("comment",e,"/*","*/")),this._inputStringCriteria=e}static parse(e,t=!1){return e&&""!==e?(t?new Rr(e).replaceCommentsToChar(" "):new Rr(e).replaceCommentsToChar()).getCriteria():null}_tokenize(){for(let i=0;i<this.stringCriteria.length;i++){let e=0;this.machineStates.forEach(t=>{e||this.machineStates.filter(e=>e!=t&&e.isActiveState).length||(e=t.processTransitionFunction(i))}),i+=e}let t=[];return this.machineStates.forEach(e=>{t=t.concat(e.tokens),e.tokens=[]}),t}_replaceTokenToAnotherToken(e,s,t){let a=this.stringCriteria;return(e=e.filter(e=>e.type==t).sort(e=>e.start).reverse()).forEach(t=>{var e=t.val.split("\n");let i=t.start,r=t.end;e.forEach(e=>{r=e.length+i!==t.end?i+e.length:t.end,a=se(a,i,r-i,s),i=e.length*s.length+1})}),a}replaceCommentsToChar(e=""){return this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),e,"comment"),this}getCriteria(){return Object(Lr.parse)(this._inputStringCriteria)}}class S{static _getCharFromKeyCode(e){return!1===e.ctrlKey&&1===e.key.length?e.key:null}static _getCaretPosition(e){let t=-1,i=-1,r,s,a,n,o;try{"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(t=e.selectionStart,i=e.selectionEnd):document.selection&&(s=document.selection.createRange())&&s.parentElement()==e&&(n=e.value.length,r=e.value.replace(/\r\n/g,"\n"),(a=e.createTextRange()).moveToBookmark(s.getBookmark()),(o=e.createTextRange()).collapse(!1),-1<a.compareEndPoints("StartToEnd",o)?t=i=n:(t=-a.moveStart("character",-n),t+=r.slice(0,t).split("\n").length-1,-1<a.compareEndPoints("EndToEnd",o)?i=n:(i=-a.moveEnd("character",-n),i+=r.slice(0,i).split("\n").length-1)))}catch(e){}return{start:t,end:i}}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;var r="-"===e[0],e=r?e.substring(1):e;if(r&&!t)return!1;var r=r?t.substring(1):i;[t,i]=e.toLowerCase().split("e"),[e,r]=r.toLowerCase().split("e");let s,a,n,o,d=([s,a]=t.split("."),[n,o]=e.split("."),s=(s||"").replace(/^0+/,""),n=(n||"").replace(/^0+/,""),s.length),l=(i&&(d+=parseInt(i)),n.length);return r&&(l+=parseInt(r)),d<l||!(d>l||s+(a=a||"0")>n+(o=o||"0"))}static validateWidgetValue(e,t,i){t(e.component.option("value"))||e.component.option("value",i)}static getNumberEditorOptions(e,t,i={}){const r=S.editors[e]||S.editors[t];return r?S.getValueEditorOptions(r.regExpEditing,e=>S._validate(e,r.minValue,r.maxValue),"",i):i}static getValueEditorOptions(a,t,i,n={}){var e={onFocusIn:e=>{S.validateWidgetValue(e,t,i),S._invokeStandardHandler(n,"onFocusIn",e)},onKeyDown:i=>{var r=S._getCharFromKeyCode(i.event);if(r){let e=_.fn.constructor(i.element).find("input").eq(0),t=S._getCaretPosition(e.get(0));var s=e.val(),r=(t.start<0&&(t=s?s.length:0),[s.slice(0,t.start),r,s.slice(t.end)].join(""));a.test(r)||i.event.preventDefault(),e=null,S._invokeStandardHandler(n,"onKeyDown",i)}},onPaste:t=>{var i=t.event.originalEvent.clipboardData||window.clipboardData||{},i=i.getData&&i.getData("Text");if("string"==typeof i){let e=_.fn.constructor(t.element).find("input").eq(0);var r=S._getCaretPosition(e.get(0)),s=e.val(),i=(r.start<0&&(r.end=r.start=s?s.length:0),[s.slice(0,r.start),i,s.slice(r.end)].join(""));a.test(i)||t.event.preventDefault(),e=null,S._invokeStandardHandler(n,"onPaste",t)}},onValueChanged:e=>{e.value!==i&&this.validateWidgetValue(e,t,e.previousValue),S._invokeStandardHandler(n,"onValueChanged",e)}};return Object(v.b)({},n,e)}static isValid(e,t,i){e=S.editors[e]||S.editors[t];return e.regExpEditing.test(i)&&S._validate(i,e.minValue,e.maxValue)}static _invokeStandardHandler(e,t,i){_.isFunction(e[t])&&e[t](i)}}function jr(e,t,i){e=""+e;return S.isValid(i,"integer",e)?e:t}function Wr(t,e,i){return i.filter(e=>t===e.value)[0]?t:(i=i.filter(e=>t===e.displayName||t===e.name)[0])?i.value:e}function Gr(a){const t=_.Deferred();try{const n=[],s=(t,i,e=!1)=>{const r=ne(Object(m.c)("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),e?"?"+i:"["+i+"]"),s=_.Deferred();a.fieldListProvider.getItemByPath(new Wi(t)).done(e=>s.resolve({success:!0})).fail(e=>{t===i?s.resolve({success:!1,message:r}):a.fieldListProvider.getItemByPath(new Wi([t.split(".")[0],i].join("."))).done(e=>s.resolve({success:!0})).fail(e=>s.resolve({success:!1,message:r}))}),n.push(s)};zr(Rr.parse(a.expression),(t,i)=>{if(t instanceof Nr.a){var r=0===t.propertyName.indexOf("^.")?t.propertyName.substring(2):t.propertyName;let e=r;-1===(a.rootItems||[]).indexOf(r.split(".")[0])&&i&&(e=r?[i,r].join("."):i),s(e,r)}else t instanceof Mr.a&&(r="Parameters."+(i=t.parameterName),s(r,i,!0))},a.path),_.when.apply(_,n).done((...e)=>t.resolve(e.reduce((e,t)=>e=t.success?e:e?[e,t.message].join("\n"):t.message,"")))}catch(e){t.reject()}return t.promise()}function Ur(e,t,i){e=""+e;return S.isValid(i,"float",e)?e:t}S.editors={integer:{regExpEditing:/^-?\d*$/},float:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d+)?$/},"System.Byte":{regExpEditing:/^\d*$/,minValue:null,maxValue:"255"},"System.SByte":{regExpEditing:/^-?\d*$/,minValue:"-128",maxValue:"127"},"System.Int16":{regExpEditing:/^-?\d*$/,minValue:"-32768",maxValue:"32767"},"System.UInt16":{regExpEditing:/^\d*$/,minValue:null,maxValue:"65535"},"System.Int32":{regExpEditing:/^-?\d*$/,minValue:"-2147483648",maxValue:"2147483647"},"System.UInt32":{regExpEditing:/^\d*$/,minValue:null,maxValue:"4294967295"},"System.Int64":{regExpEditing:/^-?\d*$/,minValue:"-9223372036854775808",maxValue:"9223372036854775807"},"System.UInt64":{regExpEditing:/^\d*$/,minValue:null,maxValue:"18446744073709551615"},"System.Single":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-3.40282347e+38",maxValue:"3.40282347e+38"},"System.Double":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-1.7976931348623157e+308",maxValue:"1.7976931348623157e+308"},"System.Decimal":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-79228162514264337593543950335",maxValue:"79228162514264337593543950335"}};let qr=t=>(t=t||Br.a.current())&&["dark","contrast"].some(e=>-1!==t.indexOf(e));function Kr(e){qr=e}function Yr(t,i,r){if(t&&!(t<=0)){t=i.getCursorPosition();let e=r.lastIndexOf("(");"'"===r.charAt(e+1)&&e++,i.gotoLine(t.row+1,t.column-(r.length-1-e))}}function Jr(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics}function Xr(e,t=".dx-designer-viewport"){return _.fn.constructor(e).closest(t)}function Zr(e){return null==e||""===e}function Qr(e){return y(e).generateProperty("enabled",this.enabled()).generateProperty("toolbarItems",this.mapActionToViewModels(f.unwrap(this.toolbarItems))).getViewModel()}function es(t,e){var i=t.displayText&&t.displayText()||t.text;let r=this._isActionDisabled(t),s=f.unwrap(t.selected),a=f.unwrap(t.imageClassName);const n=()=>{var e=["dxrd-toolbar-item-image","dxd-state-normal","dxd-icon-highlighted"];return a&&e.push(f.unwrap(t.imageClassName)),r&&e.push("dxrd-disabled-button"),s&&e.push("dxd-button-back-color dxd-back-highlighted dxd-state-active"),e.join(" ")},o=e=>e?"true":"false";var d=y().generateProperty("aria-disabled",o(this._isActionDisabled(t))).generateProperty("aria-label",i);void 0!==t.selected&&d.generateProperty("aria-pressed",o(f.unwrap(t.selected)));const l=y().createDefaultModel(t).generateProperty("ref",Hi()).generateProperty("disabled",this._isActionDisabled(t)).generateProperty("displayText",i).generateProperty("selected",f.unwrap(t.selected)).generateProperty("visible",this._isActionVisible(t)).generateProperty("templateName",t.templateName).generateProperty("hasSeparator",t.hasSeparator).generateProperty("click",e=>{this._isActionDisabled(t)||t.clickAction(e)}).generateProperty("actionClass",`dxrd-toolbar-item-${e} `+(t.hasSeparator?"dxrd-toolbar-item-with-separator dxd-border-primary":"")).generateProperty("block",y().generateProperty("attr",d.getViewModel()).getViewModel()).generateProperty("image",y().generateProperty("templateName",f.unwrap(t.imageTemplateName)).generateProperty("class",n()).getViewModel()).getViewModel();if(this.subscribe(t.imageTemplateName,e=>{l.image.templateName=e},t.setImageTemplateNameChangedEvent),this.subscribe(t.imageClassName,e=>{a=e,l.image.class=n()},t.setImageClassNameChangedEvent),this.subscribe(t.disabled,e=>{r=e,l.disabled=e,l.block.attr["aria-disabled"]=o(e),l.image.class=n()},t.setDisabledChangedEvent),this.subscribe(t.visible,e=>{l.visible=e},t.setVisibleChangedEvent),this.subscribe(t.selected,e=>{s=e,l.image.class=n(),l.block.attr["aria-pressed"]=o(e)},t.setSelectedChangedEvent),this.subscribeOnChanges(t,l,["disabled","visible","selected"]),"contentData"in t)return y(l).generateProperty("contentData",t.contentData).getViewModel();if("zoom"in t){const u=y(l).generateProperty("templateName",t.templateName).generateProperty("getPopupContainer",Xr).generateProperty("widget",y().generateProperty("dataSource",f.unwrap(t.zoomLevels)).generateProperty("displayExpr",t.displayExpr).generateProperty("value",f.unwrap(t.zoom)).generateProperty("onCustomItemCreating",t.onCustomItemCreating).generateProperty("onValueChanged",e=>{f.isSubscribable(t.zoom)?t.zoom(e.value):t.setZoom(e.value)}).getViewModel()).getViewModel();return this.subscribe(t.zoomLevels,e=>{u.widget.dataSource=e},t.setZoomLevelsChangedEvent),this.subscribe(t.zoom,e=>{u.widget.value=e},t.setZoomChangedEvent),u}return l}class ts extends Kt{constructor(e){super(),this.toolbarItems=[],this.enabled=e||(()=>!0)}createViewModel(){return Qr.call(this,super.createViewModel())}subscribeOnChanges(t,i,e){e.forEach(e=>{f.isSubscribable(t[e])&&this.subscribe(t[e],()=>{i[e]=f.unwrap(t[e])})})}subscribe(e,t,i){f.isSubscribable(e)?this._disposables.push(e.subscribe(e=>{t(e),this.events.call("propertyChanged")})):i&&this._disposables.push({dispose:i(e=>t(e))})}_isActionDisabled(e){return e.getDisabled?e.getDisabled():f.unwrap(e.disabled)}_isActionVisible(e){return e.getVisible?e.getVisible():f.unwrap(e.visible)}createActionViewModel(e,t){return es.call(this,e,t)}onPropertyChanged(e){}updateViewModel(e){"toolbarItems"===e.propertyName&&(this.getViewModel().toolbarItems=this.mapActionToViewModels(f.unwrap(this.toolbarItems)))}mapActionToViewModels(e){return e.map((e,t)=>this.createActionViewModel(e,t))}processShortcut(t,i){for(let e=0;e<t.length;e++){var r,s,a=t[e];a.hotKey&&a.hotKey.ctrlKey===i.ctrlKey&&a.hotKey.keyCode===i.keyCode&&(r=!this._isActionDisabled(a),s=this._isActionVisible(a),r)&&s&&(a.clickAction(),i.preventDefault())}}shouldIgnoreProcessing(e){return!(!e.altKey&&this.enabled()&&!((e=_.fn.constructor(document.activeElement)).is("textarea")||e.is(":input")&&-1!=["password","text","number"].indexOf(e.attr("type"))))}}(function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([A(()=>[])],ts.prototype,"toolbarItems",void 0);class is extends ts{constructor(t,e,i,r,s,a,n=w.observable(.01),o=e=>!1){super(s),this.menuItems=[];const d=new Dr(e,a),l=[];if(e){const u=w.computed(()=>e.selectedItems.some(e=>e.locked||o(e)));this._disposables.push(u),this._keyboardHelper=new de(e,i),l.push({id:Fr.Cut,text:"Cut",displayText:()=>Object(m.c)("Cut","AnalyticsCoreStringId.EditCut"),imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:w.pureComputed(()=>!t()||!d.canCopy()||u()),visible:!0,clickAction:()=>{i().start(),d.cut(),i().end()},hasSeparator:!0,hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),l.push({id:Fr.Copy,text:"Copy",displayText:()=>Object(m.c)("Copy","AnalyticsCoreStringId.Cmd_Copy"),imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:w.pureComputed(()=>!t()||!d.canCopy()||u()),visible:!0,clickAction:()=>{d.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),l.push({id:Fr.Paste,text:"Paste",displayText:()=>Object(m.c)("Paste","AnalyticsCoreStringId.Cmd_Paste"),imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:w.pureComputed(()=>!t()||!d.canPaste()||u()),visible:!0,clickAction:()=>{i().start(),d.paste(),i().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),l.push({id:Fr.Delete,text:"Delete",displayText:()=>Object(m.c)("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:w.pureComputed(()=>!e.focused()||e.focused().getControlModel().getMetaData().isDeleteDeny||u()),visible:!0,hotKey:{ctrlKey:!1,keyCode:46},hasSeparator:!0,clickAction:()=>{i().start(),xr(e),i().end()}})}l.push({id:Fr.Undo,text:"Undo",displayText:()=>Object(m.c)("Undo","AnalyticsCoreStringId.Undo"),imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:w.pureComputed(()=>!t()||!i()||i()&&!i().undoEnabled()),visible:!0,clickAction:()=>{i().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),l.push({id:Fr.Redo,text:"Redo",displayText:()=>Object(m.c)("Redo","AnalyticsCoreStringId.Redo"),imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:w.pureComputed(()=>!t()||!i()||i()&&!i().redoEnabled()),visible:!0,clickAction:()=>{i().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),l.push({id:Fr.ZoomOut,text:"Zoom Out",displayText:()=>Object(m.c)("Zoom Out","AnalyticsCoreStringId.ZoomOut"),imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",disabled:w.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:109},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{t().zoom(Math.max(t().zoom()-n(),.01))},hasSeparator:!0}),l.push({id:Fr.ZoomSelector,text:"Zoom 100%",displayText:()=>Object(m.c)("Zoom 100%"),imageClassName:"dxrd-image-zoom",disabled:w.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:187},displayExpr:function(e){return Math.round(100*(e||this.option("value")))+"%"},templateName:"dxrd-zoom-select-template",zoomLevels:w.observableArray([5,2,1.5,1,.75,.5,.25]),zoom:w.pureComputed({read:()=>t()&&t().zoom(),write:e=>{t()&&t().zoom(e)}}),isContextMenuAction:!1,onCustomItemCreating:e=>{e.customItem=Or(e.text)}}),l.push({id:Fr.ZoomIn,text:"Zoom In",displayText:()=>Object(m.c)("Zoom In","AnalyticsCoreStringId.ZoomIn"),imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",disabled:w.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:107},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{t().zoom(t().zoom()+n())}}),r&&r(l),l.forEach(t=>{Object.keys(t).forEach(e=>{w.isComputed(t[e])&&this._disposables.push(t[e])}),this._registerAction("menu"===t.container?this.menuItems:w.unwrap(this.toolbarItems),t)})}createViewModel(){return y(super.createViewModel()).generateProperty("menuItems",this.mapActionToViewModels(w.unwrap(this.menuItems))).getViewModel()}_registerAction(e,t){t.index?e.splice(t.index,0,t):e.push(t)}processShortcut(e,t){this.shouldIgnoreProcessing(t)||(this._keyboardHelper.processShortcut(t)?t.preventDefault():super.processShortcut(e,t))}}function rs(e){return e&&"length"in e?e[0]:e}const T=e=>{let t=e,s=(Array.isArray(t)||"string"==typeof e||(t=rs(e)),null),i=0;const r={};return"string"==typeof t?(s=document.querySelector(t),i=document.querySelectorAll(t).length):Array.isArray(t)?(s=t[0],t.forEach((e,t)=>r[t]=e),i=t.length):t&&"object"==typeof t&&(s=t,r[0]=s,i=1),Object.assign(Object.assign({},r),{length:i,element:s,isVisible:()=>{var e;if(s)return"none"!==(e=getComputedStyle(s)).display&&"hidden"!==e.visibility},is:e=>"string"==typeof e?null===s||void 0===s?void 0:s.matches(e):s===e,has:e=>null===s||void 0===s?void 0:s.contains(e),hasClass:e=>{if(s)return s.classList.contains(e)},width:()=>null===s||void 0===s?void 0:s.getBoundingClientRect().width,height:()=>null===s||void 0===s?void 0:s.getBoundingClientRect().height,outerWidth:()=>{if(s)return s.offsetWidth+(parseFloat(getComputedStyle(s).paddingLeft)+parseFloat(getComputedStyle(s).paddingRight))+(parseFloat(getComputedStyle(s).borderLeftWidth)+parseFloat(getComputedStyle(s).borderRightWidth))},outerHeight:()=>{if(s)return s.offsetHeight+(parseFloat(getComputedStyle(s).paddingTop)+parseFloat(getComputedStyle(s).paddingBottom))+(parseFloat(getComputedStyle(s).borderTopWidth)+parseFloat(getComputedStyle(s).borderBottomWidth))},empty:()=>{for(;null!==s&&void 0!==s&&s.firstChild;)s.removeChild(s.firstChild);return T(s)},hide:()=>(s&&(s.style.display="none"),T(s)),show:()=>(s&&(s.style.display="block"),T(s)),find:(e,t=!1)=>{if(!s)return T(void 0);-1!==e.indexOf(":visible")&&(t=!0,e=e.split(":visible")[0]);let i=Array.from(s.querySelectorAll(e)).map(e=>T(e));return(i=t?i.filter(e=>e.isVisible()):i)[0]||T(void 0)},closest:e=>T(null===s||void 0===s?void 0:s.closest(e)),css:(e,t)=>{if(s){if("string"==typeof e)return t&&s.style.setProperty(e,t),getComputedStyle(s)[e]||"";if("object"==typeof e)for(const i in e)e.hasOwnProperty(i)&&s.style.setProperty(i,e[i])}},children:t=>{var e;return s&&(e=s.children,Array.from(e).filter(e=>e.matches(t)).map(e=>T(e))[0])||T(void 0)},addClass:e=>(s&&s.classList.add(e),T(s)),removeClass:e=>(s&&s.classList.remove(e),T(s)),parentElement:()=>s?T(s.parentElement):T(s),offset:()=>{var e;if(s)return{left:(e=s.getBoundingClientRect()).left+window.scrollX,top:e.top+window.scrollY}},position:()=>{var e,t,i,r;if(s)return e=s.getBoundingClientRect(),t=s.offsetParent,i=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop,{left:e.left+i-(t?t.offsetLeft:0),top:e.top+r-(t?t.offsetTop:0)}},get:e=>r[e],append:e=>{if(s){var t=document.createElement("div");for(t.innerHTML=e.trim();t.firstChild;)s.appendChild(t.firstChild)}},prepend:e=>{s&&s.prepend(e)}})};class ss extends d.a{constructor({actions:e,target:t,cssClass:i,getClickAtionParams:r}){super(),this.hideOnOutsideClick=!0,this.actions=e,this.target=t,i&&(this.cssClass=i);const s=()=>this.actions().reduce((e,t)=>{var i;return t.group?[...e,{text:t.group,items:t.items.filter(e=>{return null==(e=e.isContextMenuAction)||e})}]:null==(i=t.isContextMenuAction)||i?[...e,t]:e},[]);this.dataSource=w.observable(s()),this.addDisposable(this.actions.subscribe(e=>{this.dataSource(s())})),this.itemTemplate=(e,t,i)=>{return e.hasSeparator&&((e=document.createElement("div")).style.borderBottomWidth="1px",e.style.borderBottomStyle="solid",e.style.color="#E6E6E6",e.style.width="100%",T(i).parentElement().prepend(e)),T(i).css({padding:"3px 5px 5px"}),g("dxrd-context-menu-item")},this.onItemClick=e=>{var t;"disabled"in e.itemData&&w.unwrap(e.itemData.disabled)||!e.itemData.clickAction||(t=r&&r(),e.itemData.clickAction(t&&t.getViewModel()),e.component.hide())},this.onInitialized=e=>{this.component=e.component}}hide(){this.component&&this.component.hide()}}function as(t,i){if(!t||!i)return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==i[e])return!1;return!0}class ns{isPropertyVisible(e){if(!e._get("_model"))return!1;var t=e._get("_model");let i=!t.isPropertyVisible||t.isPropertyVisible(e.name);return i=i&&this._calculateAccessibilityByPropertyInfo(t,e._get("info").visible,!0)}isPropertyDisabled(e){var t;return!e._get("_model")||(t=e._get("_model")).isPropertyDisabled&&t.isPropertyDisabled(e.name)||this._calculateAccessibilityByPropertyInfo(t,e._get("info").disabled,!1)}_calculateAccessibilityByPropertyInfo(e,t,i){let r;return r=f.isSubscribable(t)?t():"function"==typeof t?t(e):void 0!==t?t:i}}const os=new ns;var E=t(59),ds=t.n(E);class ls extends d.a{constructor(e){super(),this._editor=e,this._lastValidatorOptions=null,this._lastModelOverridableRules=null,this._onValidatedHandler=void 0}dispose(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,super.dispose()}_isValid(e,t){return this.onValidatedHandler=void 0,this.validatorInstance?((e||[]).forEach(e=>e&&(e.validator=this.validatorInstance)),this.validatorInstance.validate()):ds.a.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)&&this.validatorInstance.on("validated",this._onValidatedHandler)}getValidationRules(){var e=(this.getValidatorOptions()||{}).validationRules;return e||(null===e?null:[])}getValidatorOptions(e={}){var t,i,r,s=this._editor.peek(this._editor._get("info","wrapped"));if(s)return r=this._lastValidatorOptions,t=this._editor._getEditorValidationRules(),r&&!this.areRulesChanged(t)||(this._lastModelOverridableRules=t,t=this._concatValidationRules(s.validatorOptions,t),i=null==(i="function"==typeof s.editor.extendedOptions?s.editor.extendedOptions():s.editor.extendedOptions)?void 0:i.validatorOptions,r=Object(v.b)({},e,s.validatorOptions,{validationRules:t},i),this._wrapValidatorEvents(r),this._lastValidatorOptions=r),r}areRulesChanged(e){return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!e||!e.length||!e.every(t=>this._lastModelOverridableRules.some(e=>t.message===e.message&&t.validationCallback===e.validationCallback&&t.type===e.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){var i=this.getValidationRules(),r=!i||i.some(e=>e.assignValueFirst),i=(r&&t(),this._isValid(i,e));i.isValid?r||t():i.brokenRule&&i.brokenRule.isDeferred&&(this.onValidatedHandler=e=>{this.onValidatedHandler=void 0,e.isValid&&t()})}}var P=t(16),l=t(32),us=t.n(l);function cs(e){let t=void 0;e=y(e).generateProperty("getOptions",e=>this.getOptions(Object.assign({onValueChanged:e=>{this._set("value",e.value)}},e))).generateProperty("onValueChanged",e=>{this._set("value",e.value)}).generateProperty("getPopupContainer",Xr).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",u.d).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("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)).getViewModel();return this.subscribeOnChanges(e,["value","disabled","displayName","validationRules","validatorOptions","level","padding","values","info","templateName","isPropertyHighlighted","textToSearch","collapsed","alwaysShow","isPropertyModified","editorOptions","editorCreated","visible"]),this.addDisposable(this.subscribeProperty("collapsed",e=>{t&&t()})),e}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};function ps(e){return e instanceof k?e:e.getModel()}class k extends Yt{constructor(e,t,i,r=void 0,s,a="multiplatform"){super(void 0,void 0,a),this.rtl=us()().rtlEnabled,this._validator=new ls(this),this._cachedValue=void 0,this.isRequired=!1,i=i||this._getEngine().wrap(!1),this.assignProperty("info",e),this.addDisposable(this.createComputedProperty("displayName",{read:()=>{var e=this._get("info");return e&&Object(m.c)(e.displayName,e.localizationId)},write:e=>{}},[Object(p.h)(this,["info"])])),r&&(this.textToSearch=r,this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>this._get("isParentSearched")||!!te(this._get("displayName"),r()),[Object(p.h)(this,["isParentSearched","displayName"])])),this.padding=this._setPadding(this.rtl?"right":"left",t*Object(P.d)()),this.assignProperty("defaultValue",null);a=e.propertyName;this.addDisposable(this.createComputedProperty("_editorOptions",()=>this._get("info").editorOptions,[Object(p.h)(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?Object(p.b):Object(p.d))())),e.array&&this.assignArrayProperty("defaultValue",[]),this.addDisposable(this.createComputedProperty("values",()=>{var e=this._get("info");let t=e.valueStore||e.valuesArray;return t||((t=this.unwrap(e.values))?Object.keys(t).map(e=>({value:e,displayValue:t[e]})):void 0)},[Object(p.h)(this,[{propertyName:"info",subscribables:["values","valuesStore","valuesArray"]}])])),this.level=t,this._init(e.editor,a),this.addDisposable(this.createComputedProperty("disabled",()=>{var e=this._get("_accessibilityProvider"),t=this._get("_parent");return t&&t._get("disabled")||e&&e.isPropertyDisabled(this)},[Object(p.h)(this,["_accessibilityProvider",{propertyName:"_parent",subscribables:["disabled"]},{propertyName:"_model",subscribables:"*"}]),Object(p.h)(this._get("_model"),"*")])),this.addDisposable(this.createComputedProperty("visible",()=>{var e=this._get("_accessibilityProvider");return this._get("isSearchedProperty")&&e&&e.isPropertyVisible(this)},[Object(p.h)(this,["_accessibilityProvider",{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyModified",()=>{var e=this._get("_model");return!!(e&&e.isPropertyModified&&e.isPropertyModified(this.name))},[Object(p.h)(this,[{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyHighlighted",()=>{var e;return!this._shouldSkipHighlighting(this.name)&&!!((e=this._get("_model"))&&e.isPropertyHighlighted&&e.isPropertyHighlighted(this.name))},this._shouldSkipHighlighting(this.name)?[]:[Object(p.h)(this,[{propertyName:"_model",subscribables:"*"}])])),this.headerId="dxrd-accordion-trigger-"+Hi(),this.contentId="dxrd-accordion-pannel-"+Hi(),this.editorInputId="dxrd-editor-"+Hi()}createViewModel(){return cs.call(this,super.createViewModel())}_setPadding(e,t){var 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)}_shouldSkipHighlighting(e){return this.isComplexEditor}_assignValue(e,t,i,r){p.c.setPropertyValue(t,r,i,e)}_roundTwoDesemialsForUnitProperties(e,t,i){t=t&&t.constructor&&t.constructor.unitProperties;return t&&-1!==t.indexOf(i)?lt(e):e}_init(e,r){e=e||h.getEditor("text"),this.templateName=e.header,this.contentTemplateName=e.content,this._cachedValue=void 0,this.addDisposable(this.createComputedProperty("value",{read:()=>{var e,t,i=this._get("_model");return!i&&this._cachedValue||((e=i&&void 0!==i[r]?i[r]:this._get("defaultValue","wrapped"))&&"object"!=typeof e&&!e.push?(t=this.unwrap(e),this._cachedValue=null!=t?this._roundTwoDesemialsForUnitProperties(t,i,r):void 0):this._cachedValue=e),this._cachedValue},write:e=>{const t=this._get("_model");if(t){const i=t[r];this._validator.assignWithValidation(e,()=>{this._assignValue(i,t,e,r)})}}},[Object(p.h)(this,["defaultValue",{propertyName:"_model",subscribables:[r]}])])),this.name=r,this.editorTemplate=e&&e.custom||"dx-property-editor"}_getInfoFromModel(e){return(e=e&&e.getInfo&&e.getInfo())?e.filter(e=>e.propertyName===this.name)[0]:null}update(e){var t,i;e?((i=(t=this._getInfoFromModel(e))&&ee(t.editor,this._get("info").editor))&&this._get("info")!==t&&this._set("info",t),this._set("_model",this.name in e&&(i||!t)?e:null)):this._set("_model",null)}getOptions(e){return Object(v.b)(!0,{},e,this.editorOptions,this._getExtendedOptions())}_getExtendedOptions(){var 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(){var e=this.unwrap(this.info);if(e)return(e=e.validationRules)||(null===e?null:[])}getValidationRules(){return this._validator&&this._validator.getValidationRules()}setIsRendered(e){this._set("isRendered",e)}get validationRules(){return this.getValidationRules()}get fullDisplayName(){var e;return this._get("displayName")+(null!=(e=this.parentName)?e:"")}getPopupServiceActions(){var e=this._get("_model");if(e){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}}E([A()],k.prototype,"_model",void 0),E([A(null)],k.prototype,"_parent",void 0),E([A(!0)],k.prototype,"isSearchedProperty",void 0),E([A(!1)],k.prototype,"isParentSearched",void 0),E([A(()=>os)],k.prototype,"_accessibilityProvider",void 0),E([A(!1)],k.prototype,"isEditorSelected",void 0),E([A(!1)],k.prototype,"isRendered",void 0),E([A(!0)],k.prototype,"editorCreated",void 0),E([A(!0)],k.prototype,"collapsed",void 0),E([A(!1)],k.prototype,"alwaysShow",void 0);class hs extends Yt{constructor(t,e,i){super(void 0,void 0,i),this.templateName=null,this._editor=t,this._popupService=e,this.addDisposable(this.createComputedProperty("_actions",()=>(t.getPopupServiceActions()||[]).filter(e=>this.actionFilter(e)),[],void 0,!0),this.createComputedProperty("visible",()=>0<this._get("_actions").length,[],void 0,!0),this.createComputedProperty("hint",()=>{const t=[];return this._get("_actions").forEach(e=>this._getTitles(e,[],t)),t.join("\n")},[],void 0,!0),this.createComputedProperty("editorMenuButtonCss",()=>{var e=t._get("_model");return e&&e.getActionClassName&&e.getActionClassName(t.name)||""},[],void 0,!0),this.createComputedProperty("imageTemplateName",{read:()=>{var e;return void 0!==this._imageTemplateName?this._imageTemplateName:(e=t._get("_model"))&&e.getMenuBoxTemplate&&e.getMenuBoxTemplate(t.name)||""},write:e=>{this._imageTemplateName=e}},[],void 0,!0))}_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,i=[],r=[]){const s=f.unwrap(e.title);(e.items||[]).forEach(e=>{var t=s?i.concat([s]):i;this._getTitles(e,t,r)});var t,e=f.unwrap(e.hint);if(e&&s)return t=i.concat([s]).join(". "),r.push(t+":\n"+e+"\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}showPopup(e,t){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 gs extends Yt{constructor(e,t,i=0,r=p.c.wrap(!1),s=!1,a,n,o="multiplatform"){super(void 0,void 0,o),this.recreateEditors=s,this._viewModelSubscription=null,this._infoSubscription=null,this._getInfoComputed=null,this._accessibilityProvider=os,this.level=0,this.rtl=us()().rtlEnabled,n&&(this.createEditorAddOn=e=>{var e=ps(e),t=new hs(e,this.popupService,o);return e._disposables.push(t),{templateName:"dx-editor-addons",data:[t]}},this.popupService=n),this.assignArrayProperty("_editors",[],{deferred:!0}),this.level=i,this._parentDisabled=r,this._textToSearch=a,this.addDisposable(this.createComputedProperty("visible",()=>this._get("_editors").some(e=>e._get("visible")),[Object(p.h)(this,[{propertyName:"_editors",subscribables:["visible"]}])])),this.updateModel=e=>{this._infoSubscription&&this._infoSubscription(),this._update(e,t,s)},this._viewModelSubscription=p.c.subscribeValue(e,e=>{this.updateModel(e)}),this.updateModel(this.unwrap(e))}createViewModel(){const t=()=>this.editors.map(e=>{e=e.getViewModel();return this.createEditorAddOn&&(e.createEditorAddOn=e=>this.createEditorAddOn&&this.createEditorAddOn(e.getModel())),e}),i=y(super.createViewModel()).generateProperty("editors",t()).generateProperty("rtl",this.rtl).getViewModel();return this.addDisposable(this.subscribeProperty("_editors",e=>{i.editors=t()})),i}update(t){t&&this._get("_editors").forEach(e=>{e.update(t)})}_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&&this._infoSubscription(),this._viewModelSubscription&&this._viewModelSubscription(),this._cleanEditorsSubscriptions()}cleanEditors(){this._cleanEditorsSubscriptions(),this._set("_editors",[])}findEditorByInfo(t){return this._get("_editors").filter(e=>e.name===t.propertyName&&ee(e._get("info").editor,t.editor))[0]}createEditor(e){e=new(e.editor&&e.editor.editorType||k)(e,this.level,this._parentDisabled,this._textToSearch,this.popupService,this._engineType);return e.assignParent(this._parent),e.registerAccessibilityProvider(this._accessibilityProvider),e}createEditors(e){return(e||[]).filter(e=>!!e.editor&&!this.findEditorByInfo(e)).map(e=>this.createEditor(e))}registerAccessibilityProvider(t){this._accessibilityProvider=t,this._get("_editors").forEach(e=>{e.registerAccessibilityProvider(t)})}assignParent(t){this._parent=t,this._get("_editors").forEach(e=>{e.assignParent(t)})}_createEditors(e){if(!e||0===e.length)return!1;e=this.createEditors(e);if(e.length){let i=this._get("_editors");0===i.length?i=e:e.forEach(e=>{var 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(t,e,i){i&&this.cleanEditors();const r=this.createComputedProperty("_getInfoComputed",()=>e&&e.editors&&this.unwrap(e.editors)||t&&t.getInfo&&t.getInfo(),[Object(p.h)(t,["getInfo"])]),s=e=>{i&&this.cleanEditors(),this._recreateEditors(t,e)},a=this.subscribeProperty("_getInfoComputed",e=>{s(e)});this._infoSubscription=()=>{r(),a()},this._recreateEditors(t,this._get("_getInfoComputed"))}_recreateEditors(e,t){this._createEditors(t),this.update(e)}getEditors(){return this._get("_editors")}get editors(){return this.getEditors()}}class ms extends k{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a),this._popupService=s,this.addDisposable(this.createComputedProperty("_editorInfo",()=>{var e=this._get("value");return e&&e.getInfo&&e.getInfo()||this._get("info").info},[Object(p.h)(this,[{propertyName:"value",subscribables:["getInfo"]},"info"])])),this._set("editorCreated",!1),this.viewmodel=this.createObjectProperties(),Object(v.c)(this.viewmodel)||this.viewmodel.assignParent(this),this._disposables.push(this.viewmodel);const n=this.subscribeProperty("collapsed",e=>{e||(n(),this._set("editorCreated",!0))});this.addDisposable(n),r&&(this.addDisposable(this.createComputedProperty("visibleByName",()=>{const t=!!te(this._get("displayName"),r());return Object(v.c)(this.viewmodel)||this.viewmodel._get("_editors").forEach(e=>e._set("isParentSearched",t)),t},[Object(p.h)(this,["displayName",{propertyName:"viewModel",subscribables:["_editors"]}])])),this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>{var e;return!!this._get("visibleByName")||((e=this.viewmodel._get("visible"))&&this._set("collapsed",!1),e)},[Object(p.h)(this,["visibleByName",{propertyName:"viewmodel",subscribables:["visible"]}])]))}createViewModel(){return y(super.createViewModel()).generateProperty("viewmodel",this.viewmodel&&this.viewmodel.getViewModel()).getViewModel()}createObjectProperties(){return this.addDisposable(this.subscribeProperty("value",()=>{this.viewmodel.updateModel(this._get("value"))})),new gs(this._get("value"),{editors:this._get("_editorInfo","wrapped")},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch,this._popupService,this._engineType)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.viewmodel.registerAccessibilityProvider(e)}}class fs extends ms{createObjectProperties(){return this._set("collapsed",!1),this._set("editorCreated",!0),this.level=-1,super.createObjectProperties()}}class vs extends d.a{constructor(e,t,i,r=!0,s){if(super(),this.editors=w.observableArray([]).extend({deferred:!0}),this.editorsCreated=w.observable(!1),this.editorsRendered=w.observable(!1),this._displayName=e,this.displayName=s||(()=>Object(m.c)(e)),this._serializationsInfo=t,this.collapsed=w.observable(r),r){const a=this.collapsed.subscribe(e=>{a.dispose(),this.editorsRendered(!0)});this._disposables.push(a)}this.recreate=()=>{this.editors(i(t)),this._accessibilityProvider&&this.editors().forEach(e=>{e.registerAccessibilityProvider(this._accessibilityProvider)})},this.editors(i(t)),this.visible=w.computed(()=>this.editors().some(e=>e._get("visible"))),this._disposables.push(this.visible)}resetEditors(){this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}dispose(){super.dispose(),this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}update(e){this._viewModel=e,this.editors().forEach(e=>{e.update(this._viewModel)})}registerAccessibilityProvider(t){this._accessibilityProvider=t,this.editors().forEach(e=>{e.registerAccessibilityProvider(t)})}}class xs{constructor(){this.data=w.observable(),this.title=w.observable(),this.visible=w.observable(!1),this.disabled=w.observable(!1),this.actions=w.observableArray([]),this.target=w.observable()}}var l=t(37),bs=t.n(l);class ys extends gs{constructor(e,t,i=0,r=!0){super(e,t,i,void 0,void 0,w.observable(""),r&&new xs),this.focusedItem=w.observable(),this.editorsRendered=w.observable(!1),this.isSortingByGroups=w.observable(!0),this.isSearching=w.observable(!1),this.allEditorsCreated=w.observable(!1),this.textToSearch=w.observable(""),this._searchBox=null,this.searchPlaceholder=()=>Object(u.n)(),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=w.pureComputed(()=>Pt(e()&&e().controlType)));const s=this.isSortingByGroups.subscribe(e=>{e||(this.editorsRendered(!0),s.dispose())});this._disposables.push(s),this.focusedItem=e,this._disposables.push(e.subscribe(e=>{this.isSearching()&&!this.textToSearch()&&this.switchSearchBox()})),this.displayExpr=e=>Tt(e);let a=null;this._disposables.push(this.textToSearch.subscribe(e=>{a&&clearTimeout(a),a=setTimeout(()=>{this._textToSearch(e),e&&this.groups.forEach(e=>e.collapsed()&&e.editors().some(e=>e._get("isSearchedProperty"))&&e.collapsed(!1))},200)}))}getEditors(){var e=super.getEditors();const i=e.map(e=>e._get("displayName")).sort();return e.sort((e,t)=>i.indexOf(e._get("displayName"))-i.indexOf(t._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(t){this.groups=Object.keys(t).map(e=>new vs(e,t[e].info,e=>e.filter(e=>!!e.editor).map(e=>{var t=this.findEditorByInfo(e);return t||(t=this.createEditor(e),this._get("_editors","wrapped").push(t)),t}),!0,t[e].displayName)),this._disposables.push.apply(this._disposables,this.groups)}registerAccessibilityProvider(t){super.registerAccessibilityProvider(t),this.groups.forEach(e=>{e.registerAccessibilityProvider(t)})}searchBox(e){this._searchBox=bs.a.getInstance(e.get(0))}}function _s(t,i){Object.keys(t||{}).forEach(e=>{w.isObservable(t[e])?i[e](t[e]()):_.isFunction(t[e])||_s(t[e],i[e])})}function Cs(e,r){const s={};return e.reduce((e,t)=>{var i=r(t);return i&&(s[i]?s[i].push(t):(e.push(t={group:i,items:[t]}),s[i]=t.items)),e},[])}function ws(i,r){let s=i&&r&&!(i instanceof Array)&&!(r instanceof Array);return(s=s&&Object.getOwnPropertyNames(i).length===Object.getOwnPropertyNames(r).length)&&Object.keys(i||{}).some(t=>{if(0!==t.indexOf("_")&&("function"!=typeof i[t]||w.isObservable(i[t]))){if(w.isObservable(i[t]))s=w.unwrap(i[t])===w.unwrap(r[t]);else if(i[t]instanceof Array)if(r[t]instanceof Array&&i[t].length===r[t].length)for(let e=0;e<i[t].length&&!1!==(s=ws(i[t][e],r[t][e]));e++);else s=!1;else s=i[t]instanceof Object?ws(i[t],r[t]):i[t]===r[t];return!s}}),s}function As(e,t){return e+(t?"."+t:"")}function Es(){var e=_.fn.constructor("script[type='text/html']").map(function(e,t){if(t.src){const r=_.Deferred();return _.get(t.src).done(function(e){-1===(t.text=e).indexOf('type="text/html"')&&-1===e.indexOf("type='text/html'")||_.fn.constructor(document.body).append(e),r.resolve()}).fail(function(e,t,i){r.reject()}),r.promise()}});return _.when.apply(_.when,e)}function Is(e){return Dt(e,e=>{delete e["@Ref"]}),e}const Ss={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 Ts(e){return[{id:Ss.MenuButton,templateName:Ss.MenuButton,model:e},{id:Ss.Toolbar,templateName:Ss.Toolbar,model:e},{id:Ss.Toolbox,templateName:Ss.Toolbox,model:e},{id:Ss.Surface,templateName:Ss.Surface,model:e},{id:Ss.RightPanel,templateName:Ss.RightPanel,model:e,viewModel:null==(e=e.tabPanel)?void 0:e.getViewModel()}]}function Ps(i,r){return e=>{e.forEach(e=>{if(!e.wrappedWith||-1===e.wrappedWith.indexOf(i)){const t=e.clickAction;e.clickAction=e=>r(e,t),e.wrappedWith=e.wrappedWith||[],e.wrappedWith.push(i)}})}}function $s(e){e=w.unwrap(e);return"none"===e?Object(m.c)("none","DataAccessStringId.ParameterListEmpty"):"(none)"===e?"(none)"!==Object(m.c)("(none)","DxDesignerStringId.None")?Object(m.c)("(none)","DxDesignerStringId.None"):"("+Object(m.c)("none","DataAccessStringId.ParameterListEmpty")+")":e}function ks(r,s,e,a,n,o,t){const i=p.c.wrap(f.unwrap(t)),d=f.unwrap(e);return f.isSubscribable(t)&&t.subscribe(e=>{"function"==typeof i&&i(e)}),{starting:function(e){_.fn.constructor(r).css(a===n?"right":"left","")},handles:p.c.wrap(a===n?"e":"w"),stopped:_.noop,stop:_.noop,resize:function(e,t){var i=b(t.dataset.originalLeftMousePosition),t=b(t.dataset.originalWidth),e=e.x-i,i=(_.fn.constructor(r).css({left:a===n?s+"px":"",right:a===n?"":s+"px"}),Math.min(Math.max(d,a===n?t+e:t-e),1e3));o&&o(i)},disabled:i,zoom:1,minimumWidth:p.c.wrap(f.unwrap(i)?0:d),maximumWidth:1e3,$element:r}}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class D extends Kt{constructor(e){super(),this.cssClasses=(e="")=>{e=[e];return this.position===D.Position.Left&&e.push("dxrd-tab-panel-left"),this.position===D.Position.Right&&e.push("dxrd-tab-panel-right"),this.isEmpty&&e.push("dxrd-tab-panel-empty"),e.join(" ")};var t=e.tabs;this._autoSelectTab=e.autoSelectTab;let i=D.Position.Right;e.rtl&&(i=D.Position.Left),this.position=i;const r=me(),s=(this.zoomFactor=r,this);this.tabs=t,this.toggleTabVisibility=e=>{e.model===this.tabs.filter(e=>e.active)[0]?this.collapsed=!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,this.getResizableOptions=(e,t,i)=>{return this._resizableOptions&&this._resizableOptions.$element===e||(this._resizableOptions=ks(e,r*t,i,s.position,D.Position.Left,function(e){if(0===arguments.length)return s.width;s.width=e},s.collapsed),s.addDisposable(s.events.on("positionChanged",e=>{this._resizableOptions.handles(s.position===D.Position.Left?"e":"w")}),s.events.on("collapsedChanged",e=>{"function"==typeof this._resizableOptions.minimumWidth?this._resizableOptions.minimumWidth(s.collapsed?0:i):this._resizableOptions.minimumWidth=s.collapsed?0:i,"function"==typeof this._resizableOptions.disabled?this._resizableOptions.disabled(this.collapsed):this._resizableOptions.disabled=this.collapsed}))),this._resizableOptions},this._disposables.push({dispose:()=>{this._resizableOptions=null,this.getResizableOptions=null}});t=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+t,template:"dxrd-svg-tabs"+t},this.toggleCollapsedText=(e=this.collapsed?"Open":"Collapse",Object(m.c)(e,"ASPxReportsStringId.SidePanel_"+e)),this.keyboardHelper=new ye(this),this._disposables.push(this.keyboardHelper)}mapToTabsCollection(){return this.tabs.map(e=>{var t=e.getViewModel();return t.click=()=>this.toggleTabVisibility({model:e}),t})}createViewModel(){return y(super.createViewModel()).generateProperty("width",this.headerWidth).generateProperty("class",this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")).generateProperty("tabs",this.mapToTabsCollection()).generateProperty("tabsElement",y().generateProperty("class",this.cssClasses()).getViewModel()).generateProperty("contentElement",y().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){var 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){var t;"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}),t=this.collapsed?"-expand":"-collapse",this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+t,template:"dxrd-svg-tabs"+t},t=this.collapsed?"Open":"Collapse",this.toggleCollapsedText=Object(m.c)(t,"ASPxReportsStringId.SidePanel_"+t)),"width"===e.propertyName&&this.width&&(this._width=this.width,this.collapsed)&&(this.width=0)}_onDisabledChanged(){var e=this.tabs.filter(e=>e.disabled);0!==e.length&&0!==e.filter(e=>e.active).length&&(e.forEach(e=>e.active=!1),e=this.tabs.filter(e=>!e.disabled&&e.visible)[0])&&this.selectTab({model:e})}_onVisibilityChanged(){var 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)}_subscribeTab(t){const e=[t.events.on("visibleChanged",e=>{this._onVisibilityChanged()}),t.events.on("disabledChanged",e=>{this._onDisabledChanged()}),t.events.on("activeChanged",e=>{this._autoSelectTab&&t.active&&this.selectTab({model:t})}),t.events.on("collapsedChanged",e=>{this.collapsed=t.collapsed})];return()=>e.forEach(e=>e())}getTabByName(t){return this.tabs.filter(e=>e.name===t)[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))}}D.Position={Left:"Left",Right:"Right"},E([Ut(()=>[])],D.prototype,"tabs",void 0),E([A(!0)],D.prototype,"isEmpty",void 0),E([A(!1)],D.prototype,"collapsed",void 0),E([A(0)],D.prototype,"width",void 0),E([A(0)],D.prototype,"headerWidth",void 0),E([A(D.Position.Right)],D.prototype,"position",void 0),E([A(null)],D.prototype,"toggleCollapsedImage",void 0),E([A("")],D.prototype,"toggleCollapsedText",void 0);class Ds{constructor(e,t){this._context=e,this._rtl=t}addElement(e,t){return this._context[e]=t,this}addUndoEngine(e=w.observable(new vr(this._context.model))){return this._context.undoEngine=e,this}addSurface(e){return this._context.surface=e,this}getContext(){return this._context}}class Fs{constructor(e){this._rtl=e}addModel(e){return new Ds({model:e},this._rtl)}}class Os extends d.a{get handler(){return this._handler}set handler(e){this._disposables.push(e),this._handler=e}generate(){var e={};return this.handler&&(e.resizeHandler=this.handler),e}}class Bs extends d.a{_actionUndoEngineWrappingFunction(e,i){return Ps("WrapWithUndoEngine",(e,t)=>{i().start(),t(e),i().end()})(e)}_collectActions(e,t,i){const r=e(),s=[];return this.actionProviders.forEach(e=>{e=e.getActions(r);i&&(e=e.filter(e=>i(e))),s.push.apply(s,e)}),this._actionUndoEngineWrappingFunction(s,t),s}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=w.computed(()=>this._collectActions(e,t,e=>!(e.isContextMenuAction||e.group)))}createDefaultGroupAction(e,t){this.groupActions=w.computed(()=>Cs(this._collectActions(e,t),e=>e.group&&e.group()))}createDefaultContextMenuActions(e,t){this.actions=w.computed(()=>this._collectActions(e,t,e=>e.isContextMenuAction&&!e.group))}generate(){var e={};return this.actionProviders&&(e.contextActionProviders=this.actionProviders),this.actions&&(e.contextActions=this.actions),this.groupActions&&(e.contextGroupActions=this.groupActions),e}generateContextMenu(t){var i=t,r={text:Object(u.d)("Properties","AnalyticsCoreStringId.Cmd_Properties"),clickAction:()=>{var e=i.tabPanel.getTabByName("Properties");t.tabPanel.selectTab({model:e})},imageTemplateName:"dxrd-svg-properties-propertiesmenu",disabled:w.observable(!1),visible:!0,hasSeparator:!0},s=()=>{var e;return[...null!=(e=this.groupActions&&this.groupActions())?e:[],...null!=(e=this.actions&&this.actions())?e:[],...w.unwrap(null!=(e=null==(e=i.actionLists)?void 0:e.toolbarItems)?e:[]),r]},a=w.observable(s()),e=(this.groupActions&&this.addDisposable(this.groupActions.subscribe(e=>{a(s())})),this.actions&&this.addDisposable(this.actions.subscribe(e=>{a(s())})),new ss({actions:a,target:"."+i.containerClass+" .dxrd-context-menu-container",cssClass:"dx-designer-viewport"}));return this._disposables.push(e),{contextMenu:e}}}class Ms extends d.a{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(){var e=this._model;return this.dragHelperContent&&(e.dragHelperContent=this.dragHelperContent),this.dragDropStarted&&(e.dragDropStarted=this.dragDropStarted),e}}class Ns extends d.a{constructor(e,t){super(),this._selection=e,this._context=t,this._model={}}generate(){var e=this._model;return this.controlsHelper&&(e.controlsHelper=this.controlsHelper),e}addControlsHelper(e){return this.controlsHelper=e||new Ot(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 ki(this.controlsHelper.allControls),this._disposables.push(e),this._model.controlsStore=e,this}}class Vs extends d.a{constructor(){super(...arguments),this.stopPropagation=!1}generate(){var 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 zs extends d.a{constructor(){super(...arguments),this._dragDropSettings=new Ms,this._resizeSettings=new Os}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(){var e={};return this.selection&&(e.selection=this.selection),this.snapHelper&&(e.snapHelper=this.snapHelper),this.editableObject&&(e.editableObject=this.editableObject),Object(v.b)(e,this._dragDropSettings.generate(),this._resizeSettings.generate())}}class Ls extends d.a{constructor(e,t){super(),this._context=e,this._rtl=t,this._model={},this._selectionSettings=new zs,this._model.rtl=this._rtl,this._model.dispose=()=>{this.dispose()}}_createPopularProperties(i,e){const r=[];return e.forEach(t=>{var e=i.filter(e=>e.propertyName===t)[0];e&&r.push(e)}),r}_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()}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),Object(v.b)(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 d.a,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){t=new ys(this._model.editableObject,{groups:t,editors:e},null);return i&&t.registerAccessibilityProvider(i),t}addPopularProperties(s,t){return this.addPropertyGrid(()=>{var e=new gs(w.pureComputed(()=>{const t={getInfo:()=>[]},i=this._model.editableObject();if(i){const e=s.controlsMap[i.controlType],r=this._createPopularProperties(e&&e.info||[],e&&e.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=t=>r.some(e=>e.propertyName===t)&&(!i.isPropertyVisible||i.isPropertyVisible(t,!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&&e.registerAccessibilityProvider(t),e},"popularProperties")}addToolboxItems(e){return this._model.toolboxItems=e&&e(),this}addGroupedToolboxItems(){return this._model.groupedToolboxItems=Cs(this._model.toolboxItems,e=>e.info.group),this}addTabPanel(e,t=()=>[]){e=e&&e()||new D({tabs:t(),rtl:this._rtl,width:396});return this._model.tabPanel=e,this._disposables.push(e),this}addIsLoading(e=()=>w.observable(!0)){return this._model.isLoading=e(),this._disposables.push(this._model.isLoading),this}addControlsHelper(e){var t=new Ns(this._selectionSettings.selection,this._context);return e(t),this._disposables.push(t),Object(v.b)(this._model,t.generate()),this}addMenu(e){var t=new Vs;return e(t),this._disposables.push(t),Object(v.b)(this._model,t.generate()),this}addContextActions(e){var t=new Bs,e=(e(t),this._disposables.push(t),Object(v.b)(this._model,t.generate()),t.generateContextMenu(this._model));return Object(v.b)(this._model,e),this.addContextMenu(e.contextMenu),this.addElement("hideContextMenu",()=>()=>this._model.contextMenus.forEach(e=>e.hide())),this}addParts(e=e=>e,t=!0){let i=[];return t&&(i=Ts(this._model)),this._model.parts=e(i),this}getModel(){return this._model}addActionList(e){e=e&&e()||new is(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,()=>{});return this._disposables.push(e),this._model.actionLists=e,this}}const Hs=w.observable({});l=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class Rs extends Kt{constructor(e){super(),this.visible=!("visible"in e)||e.visible,this.disabled="disabled"in e&&e.disabled;var 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||c.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}updateViewModel(e){var 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)}onPropertyChanged(e){"visible"!==e.propertyName||e.newValue||(this.active=!1),!this.keyboardHelper||"active"!==e.propertyName&&"collapsed"!==e.propertyName||this.active&&!this.collapsed&&void 0!==e.oldValue&&setTimeout(()=>this.focus())}createViewModel(){return y(super.createViewModel()).generateProperty("text",this.text).generateProperty("image",y().generateProperty("class",this.imageClassName).generateProperty("templateName",this.imageTemplateName).getViewModel()).generateProperty("click",()=>{}).generateProperty("css",y().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("template",this.template).generateProperty("model",this.model).generateProperty("keyboardHelper",this.keyboardHelper).getViewModel()}focus(){this.keyboardHelper&&this.keyboardHelper.focus(document.getElementsByClassName("dxrd-tab-item dxd-state-active")[0])}get text(){return Object(u.d)(this._text,this._localizationId)}}function js(e,i,r,t={},s=[],a,n,o,d,l,u,c,p){const h=new Fs(n).addModel(e).addSurface(i).addUndoEngine(l).getContext(),g=new Ls(h,n);return g.addDisposableContainer().mapOnContext().addSelection(t=>{t.selection=o||new hr,t.snapHelper=new Pr(i,Pr.snapTolerance,c||new Sr),t.editableObject=pr.getEditableObject(t.selection,h.undoEngine,u).extend({throttle:1}),t.addDragDrop(e=>{e.dragHelperContent=new vt(t.selection),e.dragDropStarted=gt.started,e.addDragDropHandler("dragHandler",new xt(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent)),e.addDragDropHandler("toolboxDragHandler",new bt(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent,r))}),t.addResize(e=>{e.handler={starting:()=>{o.expectClick=!0,h.undoEngine().start()},stopped:()=>{h.undoEngine().end(),setTimeout(()=>{o.expectClick=!1},100)},disabled:gt.started,snapHelper:t.snapHelper}})}).addToolboxItems(()=>Fi(r.controlsMap)).addIsLoading().addControlProperties(s,t).addPopularProperties(r).addControlsHelper(e=>{e.addControlsHelper(d).addControlsStore()}).addTabPanel(void 0,()=>{const t=new Rs({text:"Properties",template:"dxrd-propertiestab",model:g.getModel().propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:!!e(),disabled:g.getModel().propertyGrid.focusedItem()instanceof Array});return g._disposables.push(g.getModel().propertyGrid.focusedItem.subscribe(e=>{t.disabled=g.getModel().propertyGrid.focusedItem()instanceof Array})),g._disposables.push(e.subscribe(e=>{t.visible=!!e})),[t]}).addContextActions(e=>{e.actionProviders=[],e.createDefaultActions(g.getModel().editableObject,g.getModel().undoEngine)}).addMenu(e=>{e.appMenuVisible=w.observable(!1),e.toggleAppMenu=function(){e.appMenuVisible(!e.appMenuVisible())},e.getMenuPopupContainer=e=>$.fn.constructor(e).closest(".dxrd-menu-button").prev(".dxrd-menu-container"),e.getMenuPopupTarget=e=>$.fn.constructor(e).closest(".dxrd-menu-button").find(".dxrd-menu-place")}).addElement("inlineTextEdit",()=>new oi(g.getModel().selection)).addElement("actionsGroupTitle",()=>()=>Object(m.c)("Actions","AnalyticsCoreStringId.Actions")).addElement("updateFont",()=>e=>{Hs(Object.assign(Object.assign({},Hs()),e))}).addElement("sortFont",()=>()=>{const t={},i=Hs.peek();Object.keys(i).sort((e,t)=>e.localeCompare(t)).forEach(e=>t[e]=i[e]),Hs(t)}).addElement("surfaceSize",()=>w.observable(0)).addElement("popularVisible",()=>w.pureComputed(()=>g.getModel().popularProperties._get("_editors").some(e=>e._get("visible"))||g.getModel().contextActions&&0<g.getModel().contextActions().length)).addActionList().addParts().getModel()}l([A(!1)],Rs.prototype,"active",void 0),l([A(!0)],Rs.prototype,"visible",void 0),l([A(!1)],Rs.prototype,"disabled",void 0),l([A(null)],Rs.prototype,"model",void 0),l([A(void 0)],Rs.prototype,"collapsed",void 0);class Ws{constructor(e,s,t,a=!1){this.deferreds=[],this._extenders=t,this.getItems=t=>{const i=_.Deferred(),r=[];return this._beforeFieldListCallback(t,r)?i.resolve(r):s&&!t.fullPath?(r.push.apply(r,_.map(s(),e=>{e={name:e.id||e.ref,displayName:e.name,isList:!0,specifics:e.specifics||"ListSource",dragData:{noDragable:!1}};return a&&delete e.dragData,e})),this._afterFieldListCallBack(t,r),i.resolve(r)):(this._patchRequest(t,s),this.deferreds.push(i),e(t).done(e=>{r.push.apply(r,e),this._afterFieldListCallBack(t,r),i.resolve(r)}).fail(e=>i.reject(e)).always(()=>this.deferreds.splice(this.deferreds.indexOf(i),1))),i.promise()},this.dispose=()=>{this.getItems=null,e=null,this.deferreds.forEach(e=>e.reject())}}_patchRequest(t,e){if(e){var i=e.peek();for(let e=0;e<i.length;e++){if(i[e].id===t.id&&t.id)return void(t.ref=void 0);if(i[e].ref===t.ref&&t.ref)return void(t.id=void 0)}}}_beforeFieldListCallback(t,i){return!!this._extenders&&this._extenders.some(e=>e.beforeItemsFilled(t,i))}_afterFieldListCallBack(t,i){this._extenders&&this._extenders.forEach(e=>{e.afterItemsFilled&&e.afterItemsFilled(t,i)})}}function Gs(t,e,i,r,s,a,n){let o=0;e[i]=w.pureComputed({read:()=>{var e=ut(r(t)(),s.peek(),a());return.2<Math.abs(e-o)?o=e:o},write:e=>{Math.abs(e-o)<=.2||(e=ct(o=e,s.peek(),a()),r(t)(e))}}),n(e[i])}function Us(t,i,r,s,a,n){r&&Object.keys(r).forEach(e=>{Gs(t,i,e,r[e],s,a,n)})}let qs=null;const Ks={getInstance:function(e){return qs||this._initialize(e),qs},_initialize:function(e){const{ajaxSetup:t,fetchSetup:i}=null!=e?e:{};if(Bi(null===t||void 0===t?void 0:t.ajaxSettings)&&Bi(null===i||void 0===i?void 0: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.");Bi(null===t||void 0===t?void 0:t.ajaxSettings)?Ks.initialize(new Ct(()=>t.ajaxSettings)):Ks.initialize(new At(()=>null===i||void 0===i?void 0:i.fetchSettings))},initialize:function(e){qs=e}};function Ys(){return qs instanceof At}const Js={fetchSettings:{}},Xs={ajaxSettings:{},sendRequest:function(e){if(Ys())throw new Error("The request manager is currently configured as Fetch. Use either ajaxSetup or fetchSetup for configuration, but not both.");return Ks.getInstance().sendRequest(Object(_.extend)({},this.ajaxSettings,e))}};function Zs(e){ta=e}function Qs(r,e,t,s,a,i,n=e=>!e.success,o=Re,d="POST"){const l=_.Deferred();let u;void 0!==e&&void 0!==t&&(u={actionKey:e,arg:t,dxversions:JSON.stringify(_t)});e={ajaxSetup:Xs,fetchSetup:Js};return Ks.getInstance(e).sendRequest(Object(v.b)({},{type:d,data:u,url:r},i)).fail((e,t,i)=>{a&&a()?l.reject():(Ye.call({jqXHR:e,textStatus:t,errorThrown:i,getRequestDetails:()=>u||r}),Ke(i,l,e,t,s))}).done((e,t,i)=>{e?n(e)?a&&a()?l.reject():(Ye.call({jqXHR:i,textStatus:t,data:e,errorThrown:o(i),getRequestDetails:()=>u||r}),Ke("Internal Server Error",l,i,t,s)):l.resolve(e.result):l.reject()}),l.promise()}function ea(e){return Qs(e.uri,e.action,e.arg,e.processErrorCallback,e.ignoreError,e.customOptions,e.isError,e.getErrorMessage,e.method)}let ta=(...e)=>1<e.length?Qs.apply(void 0,e):ea(e[0]);function ia(e,t=!0){return e.editor=h.getEditor("text"),e.editorOptions={mode:"password"},t&&(e.editorOptions.inputAttr={autocomplete:"new-password"}),e}function ra(e){return e<768?"xs":e<992?"sm":e<1200?"md":e<1380?"lg":"xl"}const sa={_static:{searchPlaceholder:()=>Object(u.n)(),selectPlaceholder:()=>Object(u.o)(),noDataText:()=>Object(u.j)(),ajaxSetup:Xs}},aa=Object(C.d)({});function na(t,e=sa,i){e&&(t.dx=Object.assign(Object.assign({},e),aa())),t.getLocalization=function(){return m.c.apply(t,arguments)},t.getPopupContainer=Xr,t.calculateWithZoomFactor=fe,t.containerClass="dx-designer-"+Hi(),t.surfaceClass=e=>"dx-designer-viewport dx-designer-viewport-"+ra(e.clientWidth)+" "+(Xr(e,".dx-theme-generic").length?"":" dx-theme-generic")+" "+t.containerClass+(i?" "+i:"")}function oa(e){return f.isSubscribable(e)?e:p.c.wrap(null)}class da extends d.a{constructor(e){super(),this.left=w.observable(!1),this.right=w.observable(!1),this.top=w.observable(!1),this.bottom=w.observable(!1),this.disabled=e.disabled||w.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe(e=>{this.updateModel(e)}))}_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){e=e||"None";-1!==e.indexOf("All")?this._setAllValues(!0):-1!==e.indexOf("None")?this._setAllValues(!1):(this.left(-1!==e.indexOf("Left")),this.top(-1!==e.indexOf("Top")),this.right(-1!==e.indexOf("Right")),this.bottom(-1!==e.indexOf("Bottom")))}updateValue(){var 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(","))}}w.bindingHandlers.dxBorderEditor={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=g("dxrd-bordereditor"),a=_.fn.constructor(e).append(a);const n=new da(t());return w.applyBindings({value:n},a.children()[0]),Object(C.c)(e,()=>n.dispose()),{controlsDescendantBindings:!0}}};E=t(25),l=t.n(E),E=t(50);const la=i=>({render:function(e){var t=_.fn.constructor("<i />").addClass("dx-icon"),t=(i?(t.addClass(i),t.addClass("dx-icon-"+i),t.addClass("dx-icon-dxrd")):e.model.icon&&t.addClass(e.model.icon),e.model.icon&&t.html(g(e.model.icon)),t.get(0));_.fn.constructor(e.container).append(t),e.model.text&&((t=_.fn.constructor("<span />").addClass("dx-button-text")).text(e.model.text),_.fn.constructor(e.container).append(t))}}),ua={render:function(e){la(e.model.iconClass).render(e)}};class ca extends t.n(E).a{constructor(e,t){t.template=ua,super(e,t)}_patchOptionValues(e){var t=super._patchOptionValues.call(this,e),e={iconClass:e.iconClass};return w.utils.extend(t.templateData,e),t}}l()("dxButtonWithTemplate",ca);class pa extends d.a{initActions(e){this.actions=e,this.actions.forEach(e=>{e.disabled||(e.disabled=w.observable(!1))})}getActions(e){return this.condition(e)?(this.setDisabled&&this.setDisabled(e),this.actions):[]}condition(e){return!0}}const ha=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"];function ga(t,i){for(let e=0;e<ha.length;e++)t.style[ha[e]]="scale("+i+")";T(t).addClass("dxrd-transform-origin-left-top")}function ma(e,t){return"parent"===t||t===e?e:e.find(t)}w.bindingHandlers.cssArray={update:function(t,e,i,r,s){const a=w.utils.unwrapObservable(e());for(let e=0;e<a.length;e++)w.bindingHandlers.css.update(t,()=>a[e])}},w.bindingHandlers.selectable={init:function(e,t,i,r,s){t=t();const a=w.unwrap(t.selection),n=Object(v.b)({filter:".dxd-selectable",distance:1},w.unwrap(t),{selecting:function(e,t){e={control:pt(t),cancel:!1,ctrlKey:e.ctrlKey};a.selecting(e),e.cancel&&_.fn.constructor(t).removeClass("ui-selecting")},start:(e,t)=>{a.clickHandler(null,e),a.expectClick=!0,a.started=!0},stop:()=>{a.started=!1,setTimeout(()=>{a.expectClick=!1},100),a.applySelection()},unselecting:function(e,t){a.unselecting(pt(t))}}),o=new Ci(e,n),d=[];a.disabled&&w.isSubscribable(a.disabled)&&d.push(a.disabled.subscribe(e=>Ci.disabled=e)),Object(C.c)(e,()=>{o.dispose(),e=null,d.forEach(e=>e.dispose())})}},w.bindingHandlers.updateTop={init:function(i,e,t,r,s){e=e();const a=_.fn.constructor(i),n=e=>{var t=i.getBoundingClientRect().height/i.offsetHeight,e=0===e||e?e:a.prev().position().top/t+a.prev().outerHeight();a.css("top",e+"px")},o=e.subscribe(e=>{n(e)});n(e()),Object(C.c)(i,function(){o.dispose()})}},w.bindingHandlers.draggable={init:function(e,t,i,r,a){const n=t();if(n){const o=_.fn.constructor(e),d=n.parent&&n.parent()||o.closest(".dx-designer-viewport"),l=n.containment||".dxrd-ghost-container";let i,r,s;const u={left:0,top:0},c=e=>{e.delta={left:(r&&r.left||0)-s.left,top:(r&&r.top||0)-s.top},e.scroll={left:i.scrollLeft()-u.left,top:i.scrollTop()-u.top}},p=Object(v.b)({},w.unwrap(n),{start:function(e,t){gt.started(!0),i=d.find(".dxrd-viewport"),r=d.find(".dxrd-ghost-container").offset(),s=ma(d,l).offset(),u.left=i.scrollLeft(),u.top=i.scrollTop(),n.startDrag&&n.startDrag(pt(t))},stop:function(e,t){c(t),n.stopDrag(t,pt(t),e),gt.started(!1)},drag:function(e,t){c(t),n.drag&&n.drag(e,t,pt(t))},helper:function(e,t){let i;r=d,s=p.containment;var r,s=r?{top:(r=ma(r,s)).offset().top,left:r.offset().left}:{top:0,left:0};return n.helper&&(i=n.helper(pt(t),e))?(i.css({position:"absolute"}),i[0].dataset.startLeftPosition=x(e.pageX-s.left),i[0].dataset.startTopPosition=x(e.pageY-s.top)):(r=g(a.$root.dragHelperContent.template),t=pt(t),(i=_.fn.constructor(r).css({display:n.helper?"block":"none",position:"absolute"}))[0].dataset.startLeftPosition=x(t.absolutePosition?t.absolutePosition.x():e.pageX-s.left),i[0].dataset.startTopPosition=x(t.absolutePosition?t.absolutePosition.y():e.pageY-s.top),i.prependTo(ma(d,p.containment)),w.applyBindingsToDescendants(a.$root.dragHelperContent,i[0])),i}});p.containment=ma(d,p.containment),(t=e).parentElement.classList.contains("dxrd-toolbox-item")&&(t.dataset.startDragWithOffset="true");const h=new bi(e,p);Object(C.c)(e,()=>{h.dispose(),e=null})}}};const fa="dxd-track-cursor";fa;w.bindingHandlers.trackCursor={init:function(a,e,t,i,n){const r=_.fn.constructor(a);r.addClass(fa);let o=e(),d=!1,l=(o.recalculateBounds&&(d=o.recalculateBounds,o=o.underCursor),a.getBoundingClientRect());const u=document.body,c=document.documentElement,s=e=>{n.$root.selection.started&&n.$root.resizeHandler.started||o().isNotDropTarget||(n.$root.selection.dropTarget=n.$data,e.stopPropagation())},p=e=>{o(Object(v.b)(o(),{isOver:!0})),n.$root.selection.started&&n.$root.resizeHandler.started||(l=a.getBoundingClientRect())},h=e=>{o(Object(v.b)(o(),{isOver:!1}))},g=e=>{var t,i,r,s;d&&(l=a.getBoundingClientRect()),n.$root.selection.started&&n.$root.resizeHandler.started||(r=window.pageYOffset||c.scrollTop||u.scrollTop,t=window.pageXOffset||c.scrollLeft||u.scrollLeft,s=c.clientTop||u.clientTop||0,i=c.clientLeft||u.clientLeft||0,r=e.pageY-(l.top+r-s),s=e.pageX-(l.left+t-i),o(Object(v.b)(o(),{x:s,y:r})))};a.addEventListener("mousemove",g),d||a.addEventListener("mouseenter",p),a.addEventListener("mouseover",s),a.addEventListener("mouseleave",h),a.addEventListener("dragover",g),Object(C.c)(a,function(){a.removeEventListener("dragover",g),a.removeEventListener("mousemove",g),a.removeEventListener("mouseover",s),a.removeEventListener("mouseleave",h),d||a.removeEventListener("mouseenter",p),r.removeClass(fa)})}},w.bindingHandlers.templates={init:function(e,t){t=_.fn.constructor(t()).text(),t=_.fn.constructor(t);return _.fn.constructor(e).append(t),{controlsDescendantBindings:!0}}},w.bindingHandlers.zoom={update:(e,t)=>ga(e,w.unwrap(t()))},w.bindingHandlers.keyDownActions=(()=>{const a=new le(window);return{init:function(t,e){const i=e(),r=e=>{i.processShortcut(w.unwrap(i.toolbarItems),e)};if(w.isSubscribable(i.enabled)){const s=i.enabled.subscribe(e=>{e&&a.bindHandler(t,r)});Object(C.c)(t,()=>s.dispose()),i.enabled()&&a.bindHandler(t,r)}else"function"!=typeof i.enabled&&!i.enabled||a.bindHandler(t,r)}}})(),w.bindingHandlers.dxMutationObserver={init:function(e,t,i,r,s){if(t()){const a=w.bindingEvent.subscribe(e,"childrenComplete",()=>{Object(C.c)(e,ve(e,t(),s.$root.accessibilityCompliant))});Object(C.c)(e,()=>a.dispose())}}},w.bindingHandlers.dxAction={init:(e,t)=>{function i(e){s.action.call(s.model,s.model,e)}function r(e){e.key!=L.Enter&&e.key!=L.Space||s.action.call(s.model,s.model,e)}const s=t();e.addEventListener("click",i),e.addEventListener("keydown",r),Object(C.c)(e,function(){e.removeEventListener("click",i),e.removeEventListener("keydown",r)})}},w.extenders.dxdnum=function(t,i){return t.subscribe(e=>{e=e||0,isNaN(i.max)?isNaN(i.min)?t(e):t(Math.max(e,i.min)):t(Math.min(e,i.max))}),t};const va={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"};var xa=t(17);const ba=[{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:{LocalDateTimeThisYear:[{paramCount:0,text:"LocalDateTimeThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisYear"}],LocalDateTimeThisMonth:[{paramCount:0,text:"LocalDateTimeThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisMonth"}],LocalDateTimeLastMonth:[{paramCount:0,text:"LocalDateTimeLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastMonth"}],LocalDateTimeLastWeek:[{paramCount:0,text:"LocalDateTimeLastWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastWeek"}],LocalDateTimeLastYear:[{paramCount:0,text:"LocalDateTimeLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastYear"}],LocalDateTimeThisWeek:[{paramCount:0,text:"LocalDateTimeThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisWeek"}],LocalDateTimeYesterday:[{paramCount:0,text:"LocalDateTimeYesterday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYesterday"}],LocalDateTimeToday:[{paramCount:0,text:"LocalDateTimeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeToday"}],LocalDateTimeNow:[{paramCount:0,text:"LocalDateTimeNow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNow"}],LocalDateTimeTomorrow:[{paramCount:0,text:"LocalDateTimeTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTomorrow"}],LocalDateTimeDayAfterTomorrow:[{paramCount:0,text:"LocalDateTimeDayAfterTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeDayAfterTomorrow"}],LocalDateTimeNextWeek:[{paramCount:0,text:"LocalDateTimeNextWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextWeek"}],LocalDateTimeTwoMonthsAway:[{paramCount:0,text:"LocalDateTimeTwoMonthsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoMonthsAway"}],LocalDateTimeTwoYearsAway:[{paramCount:0,text:"LocalDateTimeTwoYearsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoYearsAway"}],LocalDateTimeTwoWeeksAway:[{paramCount:0,text:"LocalDateTimeTwoWeeksAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoWeeksAway"}],LocalDateTimeNextMonth:[{paramCount:0,text:"LocalDateTimeNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextMonth"}],LocalDateTimeNextYear:[{paramCount:0,text:"LocalDateTimeNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextYear"}],LocalDateTimeYearBeforeToday:[{paramCount:0,text:"LocalDateTimeYearBeforeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYearBeforeToday"}],InDateRange:[{paramCount:3,text:"InDateRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InDateRange"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalLastWeek:null,IsOutlookIntervalPriorThisYear:null,IsLastMonth:[{paramCount:1,text:"IsLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastMonth"}],IsLastYear:[{paramCount:1,text:"IsLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastYear"}],IsNextMonth:[{paramCount:1,text:"IsNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextMonth"}],IsNextYear:[{paramCount:1,text:"IsNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextYear"}],IsThisWeek:[{paramCount:1,text:"IsThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisWeek"}],IsThisMonth:[{paramCount:1,text:"IsThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisMonth"}],IsThisYear:[{paramCount:1,text:"IsThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisYear"}],IsJanuary:[{paramCount:1,text:"IsJanuary()",descriptionStringId:"ExpressionEditorStringId.Function_IsJanuary"}],IsFebruary:[{paramCount:1,text:"IsFebruary()",descriptionStringId:"ExpressionEditorStringId.Function_IsFebruary"}],IsMarch:[{paramCount:1,text:"IsMarch()",descriptionStringId:"ExpressionEditorStringId.Function_IsMarch"}],IsApril:[{paramCount:1,text:"IsApril()",descriptionStringId:"ExpressionEditorStringId.Function_IsApril"}],IsMay:[{paramCount:1,text:"IsMay()",descriptionStringId:"ExpressionEditorStringId.Function_IsMay"}],IsJune:[{paramCount:1,text:"IsJune()",descriptionStringId:"ExpressionEditorStringId.Function_IsJune"}],IsJuly:[{paramCount:1,text:"IsJuly()",descriptionStringId:"ExpressionEditorStringId.Function_IsJuly"}],IsAugust:[{paramCount:1,text:"IsAugust()",descriptionStringId:"ExpressionEditorStringId.Function_IsAugust"}],IsSeptember:[{paramCount:1,text:"IsSeptember()",descriptionStringId:"ExpressionEditorStringId.Function_IsSeptember"}],IsOctober:[{paramCount:1,text:"IsOctober()",descriptionStringId:"ExpressionEditorStringId.Function_IsOctober"}],IsNovember:[{paramCount:1,text:"IsNovember()",descriptionStringId:"ExpressionEditorStringId.Function_IsNovember"}],IsDecember:[{paramCount:1,text:"IsDecember()",descriptionStringId:"ExpressionEditorStringId.Function_IsDecember"}],IsSameDay:[{paramCount:2,text:"IsSameDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_IsSameDay"}],IsYearToDate:[{paramCount:1,text:"IsYearToDate()",descriptionStringId:"ExpressionEditorStringId.Function_IsYearToDate"}],DateDiffTick:[{paramCount:2,text:"DateDiffTick(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffTick"}],DateDiffSecond:[{paramCount:2,text:"DateDiffSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffSecond"}],DateDiffMilliSecond:[{paramCount:2,text:"DateDiffMilliSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMilliSecond"}],DateDiffMinute:[{paramCount:2,text:"DateDiffMinute(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMinute"}],DateDiffHour:[{paramCount:2,text:"DateDiffHour(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffHour"}],DateDiffDay:[{paramCount:2,text:"DateDiffDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffDay"}],DateDiffMonth:[{paramCount:2,text:"DateDiffMonth(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMonth"}],DateDiffYear:[{paramCount:2,text:"DateDiffYear(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffYear"}],DateTimeFromParts:[{paramCount:3,text:"DateTimeFromParts(, , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts3"},{paramCount:4,text:"DateTimeFromParts(, , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts4"},{paramCount:5,text:"DateTimeFromParts(, , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts5"},{paramCount:6,text:"DateTimeFromParts(, , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts6"}],GetDate:[{paramCount:1,text:"GetDate()",descriptionStringId:"ExpressionEditorStringId.Function_GetDate"}],GetMilliSecond:[{paramCount:1,text:"GetMilliSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetMilliSecond"}],GetSecond:[{paramCount:1,text:"GetSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetSecond"}],GetMinute:[{paramCount:1,text:"GetMinute()",descriptionStringId:"ExpressionEditorStringId.Function_GetMinute"}],GetHour:[{paramCount:1,text:"GetHour()",descriptionStringId:"ExpressionEditorStringId.Function_GetHour"}],GetDay:[{paramCount:1,text:"GetDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetDay"}],GetMonth:[{paramCount:1,text:"GetMonth()",descriptionStringId:"ExpressionEditorStringId.Function_GetMonth"}],GetYear:[{paramCount:1,text:"GetYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetYear"}],GetDayOfWeek:[{paramCount:1,text:"GetDayOfWeek()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfWeek"}],GetDayOfYear:[{paramCount:1,text:"GetDayOfYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfYear"}],GetTimeOfDay:[{paramCount:1,text:"GetTimeOfDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetTimeOfDay"}],Now:[{paramCount:0,text:"Now()",descriptionStringId:"ExpressionEditorStringId.Function_Now"}],UtcNow:[{paramCount:0,text:"UtcNow()",descriptionStringId:"ExpressionEditorStringId.Function_UtcNow"}],Today:[{paramCount:0,text:"Today()",descriptionStringId:"ExpressionEditorStringId.Function_Today"}],AddTimeSpan:[{paramCount:2,text:"AddTimeSpan(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTimeSpan"}],AddTicks:[{paramCount:2,text:"AddTicks(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTicks"}],AddMilliSeconds:[{paramCount:2,text:"AddMilliSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMilliSeconds"}],AddSeconds:[{paramCount:2,text:"AddSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddSeconds"}],AddMinutes:[{paramCount:2,text:"AddMinutes(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMinutes"}],AddHours:[{paramCount:2,text:"AddHours(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddHours"}],AddDays:[{paramCount:2,text:"AddDays(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddDays"}],AddMonths:[{paramCount:2,text:"AddMonths(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMonths"}],AddYears:[{paramCount:2,text:"AddYears(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddYears"}]}},{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"}]}}],ya=(i,r)=>{if(Array.isArray(r))return r.forEach(t=>{var e=i.find(e=>e.display===t.display);e?e.items=Object.assign(Object.assign({},e.items),t.items):i.push(t)}),i;const s=[];return i.forEach(e=>{var t=r[e.display],i=Object(v.b)({},e.items,t);Object.keys(i).length&&s.push(t?{display:e.display,category:e.category,localizationId:e.localizationId,items:i}:e)}),s},_a=Object(C.d)(ba),Ca=()=>_a(ba);function wa(e){var t=Object(v.b)(!0,[],_a());return ya(t,e)}const Aa="range";function Ea(e,t,i,r){return{displayName:Object(m.c)(t,i),content:{showDescription:r,isSelected:w.observable(!1),data:{items:e,selectedItem:w.observable(null)},name:"dx-expressioneditor-collection"},dispose:()=>{}}}function Ia(t,i,r,s){if(!r||!t)return i;const a=w.observable(i());r.toDisplayExpression(t(),i()).done(e=>{a(e)}).fail(()=>{a(i())});var e=i.subscribe(e=>{r.toDisplayExpression(t(),e).done(e=>{a(e)}).fail(()=>{a(e)})}),n=t.subscribe(e=>{r.toDisplayExpression(e,i()).done(e=>{a(e)}).fail(e=>{a(i())})}),o=w.pureComputed({read:()=>a(),write:e=>{a(e),r.toRealExpression(t(),e).done(e=>{i(e)}).fail(()=>{i(e)})}});return s&&[o,e,n].forEach(e=>s.push(e)),o}const Sa=[{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 Ta extends d.a{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=w.computed(()=>w.unwrap(e.functions)||_a()),this._rootItems=e.rootItems||[{name:"Parameters",needPrefix:!0}],this._disposables.push(this._functions)}_previousSymbol(){var e=this._editor.getCursorPosition();return this._editor.session.getLine(e.row)[e.column-1]}beforeInsertMatch(t,i,e){var r=t.getCursorPosition();if("Parameters."===e)(i=i||!this._isInContext()&&t.session.getTokenAt(r.row,r.column))&&("support.variable.other"===i.type||"support.function"===i.type?t.session.remove({start:{column:i.start-1||0,row:r.row},end:{column:Math.max(i.start+i.value.length||0,r.column),row:r.row}}):"support.variable.parameter"===i.type?t.session.remove({start:{column:i.start||0,row:r.row},end:{column:Math.max(i.start+i.value.length+1||0,r.column),row:r.row}}):"text"===i.type&&"?"===i.value[i.value.length-1]&&t.session.remove({start:{column:i.start+i.value.length-1||0,row:r.row},end:{column:i.start+i.value.length||0,row:r.row}}));else if(i=i||t.session.getTokenAt(r.row,r.column)){let e=null;"support.variable.other"===i.type||"support.function"===i.type?e=Math.max(i.start+i.value.length||0,r.column):"support.context.start"===i.type&&r.column<i.start+i.value.length&&(e=i.start+i.value.length-1||0),null!==e&&t.session.remove({start:{column:i.start||0,row:r.row},end:{column:e,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,r,s=""){return(e||[]).map(i=>{var e=this.generateFieldDisplayName(s,i.displayName);return{caption:i.displayName||i.name,snippet:e,meta:Jr(i)&&Object(m.c)("list","DxDesignerStringId.CodeCompletion_List")||Object(m.c)("field","DxDesignerStringId.CodeCompletion_Field"),score:Jr(i)?200:100,completer:{insertMatch:(e,t)=>{this.beforeInsertMatch(e,r(),s),this.insertMatch(e,s,this._options.getRealExpression&&i.displayName||i.name)}}}})}_combinePath(t){let e=this._getPath();var i;return t&&(i=this._rootItems.filter(e=>0===t.indexOf(e.name))[0],e=(i&&i.rootPath?[i.rootPath,t]:[e,t]).join(".")),e}_getParentPrefix(e){var t=this._editor.getCursorPosition().column-e.start-1,i=e.value.lastIndexOf(".",t),t=e.value.lastIndexOf("]",t),i=Math.max(t,i),t="support.variable.other"===e.type||"support.context.start"===e.type?1:0;let r=e.value.substring(t,i);return r="]"===(r="["===r[0]?r.substr(1):r)[r.length-1]?r.substring(0,r.length-1):r}_getRealPath(e){const t=e.split("."),i=_.Deferred();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(a=()=>null,n=[],t=!1){const i=_.Deferred();let o=void 0;var e=a();return!e||"support.variable.other"!==e.type&&"support.function"!==e.type&&"support.context.start"!==e.type||(o=this._getParentPrefix(e)),this._getRealPath(this._combinePath(o)).done(e=>{const r=[w.unwrap(this._fieldListProvider).getItems(new Wi(e)).done(e=>{n.push.apply(n,this._convertDataMemberInfoToCompletions(Ta._cleanupFields(e),a,t?null:o&&o+"."))})],s=[];o||this._rootItems.forEach(t=>{const i=t.rootPath||t.name;-1===s.indexOf(i)&&(s.push(i),r.push(w.unwrap(this._fieldListProvider).getItems(new Wi(i)).done(e=>{this._processFields(r,e,n,i,a,t.needPrefix?t.name+".":"",!0)})))}),_.when(r).always(()=>{i.resolve(n)})}),i.promise()}static _cleanupFields(e=[]){return e.filter(e=>"parameters"!==e.specifics&&"none"!==e.specifics)}_processFields(t,e,i,r,s,a="",n=!1){const o=e=>{i.push.apply(i,this._convertDataMemberInfoToCompletions(n?Ta._cleanupFields(e):e,s,a))};e.forEach(e=>{e.specifics===Aa&&Jr(e)?t.push(w.unwrap(this._fieldListProvider).getItems(new Wi(r+"."+e.name)).done(e=>{o(e)}).fail(()=>{o([e])})):o([e])})}getFunctionsCompletions(){const i=[];return w.unwrap(this._functions).filter(e=>"Aggregate"!==e.category).forEach(t=>{Object.keys(t.items).forEach(e=>{t.items[e]&&i.push(Pa(t.items[e][0],e))})}),i}getAggregateCompletions(){const t=[],i=w.unwrap(this._functions).filter(e=>"Aggregate"===e.category)[0];return i&&Object.keys(i.items).forEach(e=>{i.items[e]&&t.push(Pa(i.items[e][0],e,e+"()"))}),t}getOperatorCompletions(t){return Sa.map(e=>({caption:e.text,snippet:t+e.text,meta:Object(m.c)("operator","DxDesignerStringId.CodeCompletion_Operator")}))}_addFunctions(e){e.push.apply(e,this.getFunctionsCompletions())}_addAggregates(e){e.push.apply(e,this.getAggregateCompletions())}_addOperators(e,t){t=/\s/.test(t[t.length-1])?"":" ";e.push.apply(e,this.getOperatorCompletions(t))}_addParameterOperators(t,i){const e=_.Deferred(),r=[],s="Parameters";return r.push(w.unwrap(this._fieldListProvider).getItems(new Wi(s)).done(e=>{this._processFields(r,e,t,s,i,s+".")})),_.when(r).always(()=>{e.resolve(t)}),e.promise()}_getOperands(e=()=>null){var t=[];return this._addFunctions(t),this._getFields(e,t)}_getOperandsOrOperators(e,t,i){let r;try{Rr.parse(t)}catch(e){r=e.hash}var s=t.trim(),a=s[s.length-1];if("?"===a&&" "!==t[t.length-1])this._addParameterOperators(i,e);else{if((r||!s)&&"]"!==a&&")"!==a)return this._getOperands();this._addOperators(i,t)}}_findStartContextTokenPosition(t,i){let r=0;for(let e=i;-1<e;e--)if("support.context.end"===t[e].type)r++;else if("support.context.start"===t[e].type){if(!(0<r))return e;r--}}_findOpenedStartContext(t,i){var r=[],s=t.filter((e,t)=>("support.context.start"===e.type||"support.context.end"===e.type)&&t<i);for(let e=0;e<s.length;e++)"support.context.start"===s[e].type?r.push(t.indexOf(s[e])):r.pop();return r}_findOpenedAggregates(s,a){var n=[],o=s.filter((e,t)=>"support.other.aggregate"===e.type&&t<a);if(0<o.length){var e=s[a],d=this._editor.getCursorPosition().column-(e&&e.start||0);for(let e=o.length-1;-1<e;e--){var l=s.indexOf(o[e]);let t=0,i=0,r=!1;if(l+1===a&&-1!==s[l+1].value.substr(0,d).indexOf("()")||l+1<a&&-1!==s[l+1].value.indexOf("()"))r=!0;else{for(let e=l;e<a;e++)if("("===s[e].value.trim()?t++:")"===s[e].value.trim()&&i++,t===i&&0!==t){r=!0;break}r||n.splice(0,0,l)}a=l}}return n}_getContextPath(t,e){var i,r=[],s=this._findOpenedAggregates(t,e),a=this._findOpenedStartContext(t,e).concat(...s).sort((e,t)=>e-t);if(0<a.length)for(let e=0;e<a.length;e++)"support.other.aggregate"===t[a[e]].type?"support.context.end"===t[a[e]-1].type?(i=$a(t[this._findStartContextTokenPosition(t,a[e]-2)].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(i)):"support.variable.other"===t[a[e]-1].type&&r.push($a(t[a[e]-1].value)):(i=$a(t[a[e]].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(i));return r.filter(e=>!!e).join(".")}_getCompletions(e,t,i,r){let s;var a=[],n=()=>t.getTokenAt(i.row,i.column);const o=n();var e=e.session.getLine(i.row).substring(0,i.column),d=t.getTokens(i.row),l=o?o.index:-1;if(this._contextPath=this._getContextPath(d,l),o){if("support.context.start"===o.type){var u=this._editor.getCursorPosition().column-o.start===o.value.length;let e;u&&(e=[],this._addFunctions(e)),s=this._getFields(n,e,u)}else if("string.quoted.single"!==o.type)if(0===o.type.indexOf("support.variable"))s=this._getFields(n);else if("support.function"===o.type)s=this.defaultProcess(n,e.substring(0,o.start),a);else if("support.other.aggregate"===o.type){const c=d[l-1];this._addAggregates(a),c&&$a(c.value).trim()&&(s=this._getFields(()=>({start:o.start-(c.value||"").length||0,value:c.value+o.value,type:"support.function"}),a))}else 0!==o.type.indexOf("comment")&&(s=this.defaultProcess(n,e,a))}else s=this._getOperands();return(s||_.Deferred().resolve(a)).promise()}defaultProcess(e,t,i){return this._getOperandsOrOperators(e,t,i)}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 Pa(t,e,i=null){let n=i||t.text;return{caption:e,snippet:n,meta:Object(m.c)("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:t.description||Object(m.c)(t.text,t.descriptionStringId)||null,score:10,completer:{insertMatch:(i,e)=>{var r=i.completer.completions;if(r.filterText){var s=i.selection.getAllRanges();for(let e=0,t;t=s[e];e++)t.start.column-=r.filterText.length,i.session.remove(t)}if("[]."===n.substr(0,3)){var a=i.selection.getAllRanges();for(let e=0,t;t=a[e];e++)t.start.column-=2,"]."===i.session.getTextRange(t)&&(n=n.substr(3))}i.insert(n),Yr(t.paramCount,i,n)}}}}function $a(e){return e.substring("["===e[0]?1:0,"]"===e[e.length-1]?e.length-1:e.length)}var ka=t(20),Da=t(26),Fa=t(28),Oa=t(21),Ba=t(36),Ma=t(19),Na=t(34),Va=t(27),za=t(31),F=t(10),O=t(11),La=t(12);class Ha{constructor(e=Va.a,t){this.operatorTokens=e,this.custom=t}serializeGroupOperand(e,t){e=e.operands.map(e=>e instanceof xa.GroupOperator?"("+this.serialize(e)+")":this.serialize(e)).filter(e=>""!==e&&"()"!==e).join(" "+(this.operatorTokens[e.displayType]||e.displayType)+" ");return t&&e?"Not("+e+")":e}serializeAggregateOperand(t,e){var i="Exists"===t.operatorType?"":"."+t.operatorType,r=t.condition?this.serialize(t.condition):"",s=this.serialize(t.property),a="["+r+"]";let n="";if("Exists"!==t.operatorType){let e="";t.aggregatedExpression?e=this.serialize(t.aggregatedExpression):t.customAggregatedExpression&&(e=t.customAggregatedExpression.map(e=>this.serialize(e)).join(", ")),n=`(${e})`}let o=s;return(r||n)&&!r||(o+=a),o+i+n}serializeOperandProperty(e){if(!e.propertyName)return e.circumflex?"^":"[]";let t=e.displayType;return t.length-$a(t).length==2&&(t="["+$a(t).replace(/\\/g,"\\\\").replace(/\]/g,"\\]")+"]"),e.circumflex?"^."+t:t}serializeOperandValue(e){let t=e.value;return null===t||void 0===t||!_.isNumeric(t)&&"true"!==String(t).toLowerCase()&&"false"!==String(t).toLowerCase()?t&&e.value instanceof Date?"#"+Object(Da.b)(t,"-")+"#":"integer"===e.specifics||"integer"===e.specifics?t||"?":"guid"===e.specifics&&Object(P.f)(t)?"{"+t+"}":"string"===e.specifics?(t=t.replace(/'/g,"''"))?"'"+t+"'":"?":t||"?":"string"===e.specifics?"'"+t+"'":"guid"===e.specifics&&Object(P.f)(t)?"{"+t+"}":t}serializeOperandParameter(e){return e.displayType}serializeBetweenOperator(e,t){e=this.serialize(e.property)+" "+e.displayType+"("+this.serialize(e.begin)+", "+this.serialize(e.end)+")";return t?"Not "+e:e}serializeInOperator(e,t){e=this.serialize(e.criteriaOperator)+" "+e.displayType+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+e:e}serializeBinaryOperator(e,t){var i;return e.operatorType===F.BinaryOperatorType.Like?(i=t?" Not ":" ",this.serialize(e.leftOperand)+i+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)):(t?"Not ":"")+this.serialize(e.leftOperand)+" "+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}serializeUnaryOperator(e,t){var i;return e.operatorType===O.UnaryOperatorType.IsNull?(i=t?" Not ":" ",this.serialize(e.operand)+" Is"+i+"Null"):e.operatorType===O.UnaryOperatorType.Not?this.serialize(e.operand,!0):(i=(this.operatorTokens[e.displayType]||e.displayType)+this.serialize(e.operand),t?"Not "+i:i)}serializeFunctionOperator(e,t){e=(this.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+e:e}serialize(e,t=!1){if(e instanceof Vr.a)return this.serializeAggregateOperand(e,t);if(e instanceof Fa.a)return this.serializeBetweenOperator(e,t);if(e instanceof Ba.a)return this.serializeBinaryOperator(e,t);if(e instanceof za.a)return this.serializeOperandValue(e);if(e instanceof Na.a)return this.serializeFunctionOperator(e,t);if(e instanceof xa.GroupOperator)return this.serializeGroupOperand(e,t);if(e instanceof Oa.a)return this.serializeInOperator(e,t);if(e instanceof Mr.a)return this.serializeOperandParameter(e);if(e instanceof Nr.a)return this.serializeOperandProperty(e);if(e instanceof ka.a)return this.serializeOperandValue(e);if(e instanceof Ma.a)return this.serializeUnaryOperator(e,t);if(this.custom)return this.custom(e,t);throw Error("Undefined type criteria operator")}deserialize(e){return this.deserializeOperand(Rr.parse(e))}deserializeOperand(e){var t;return e instanceof xa.GroupOperator?e:e instanceof Ma.a&&e.operatorType===O.UnaryOperatorType.Not?(t=e.operand)instanceof xa.GroupOperator||t instanceof Na.a||t instanceof Fa.a||t instanceof Oa.a?e:t instanceof Ma.a&&e.operatorType===O.UnaryOperatorType.Not&&!(t.operand instanceof Nr.a)?this.deserializeOperand(t.operand):new Ma.a(O.UnaryOperatorType.Not,new xa.GroupOperator(La.GroupOperatorType.And,t?[t]:[])):new xa.GroupOperator(La.GroupOperatorType.And,e?[e]:[])}}class Ra{constructor(e){this.displayNameProvider=e}_replaceNames(a,t,n){const i=_.Deferred();let e;if(!t)return i.resolve("").promise();try{e=Rr.parse(t,!0)}catch(e){return i.reject().promise()}const l=[],u=[],c=new Ha;if(zr(e,(i,r)=>{if(i instanceof Nr.a){const s=0===i.propertyName.indexOf("^.");let e=s?i.propertyName.substring(2):i.propertyName;e=r?[r,e].join("."):e;var t=n?this.displayNameProvider.getDisplayNameByPath(a,e):this.displayNameProvider.getRealName(a,e);l.push(t.done(e=>{let t=s?"^."+e:e;t=r?t.split(".").slice(r.split(".").length).join("."):t,u.push({operand:i,convertedName:t})}))}}),0===l.length)i.resolve(t);else{let e=0;const r=()=>{if(!(++e<l.length)){var s=t.split("\n");for(let r=0;r<s.length;r++){var a=u.filter(e=>e.operand.startPosition.line===r).sort((e,t)=>e.operand.startPosition.column-t.operand.startPosition.column);for(let t=0,i=0;t<a.length;t++){var n=a[t].operand.startPosition.column,o=a[t].operand.propertyName;let e=0;a[t].operand.originalPropertyLength!==o.length&&(e=Math.max(0,a[t].operand.originalPropertyLength-c.serialize(a[t].operand,!1).length));var d=a[t].convertedName;!o||n<0||(s[r]=s[r].substring(0,n+i)+d+s[r].substring(n+o.length+e+i),i+=d.length-o.length-e)}}i.resolve(s.join("\n"))}};l.forEach(e=>e.always(r))}return i.promise()}toDisplayExpression(e,t){return this._replaceNames(e,t,!0)}toRealExpression(e,t){return this._replaceNames(e,t,!1)}}class ja extends d.a{constructor(e){super(),this._$spanProtect=_.fn.constructor("<span>"),this._$spanSearch=_.fn.constructor("<span>").addClass("dx-datagrid-search-text"),this._options=e,["text","textToSearch"].forEach(e=>{f.isSubscribable(this._options[e])&&this._disposables.push(this._options[e].subscribe(()=>{this._update()}))}),this._update()}_update(){this.content=this._getHighlightContent(f.unwrap(this._options.text),f.unwrap(this._options.textToSearch),f.unwrap(this._options.searchOptions))}update(e){this._options=e,this._update()}_getHighlightContent(e,t,i){let o=e;if(t){const d=te(o,t,i);if(d){let s="",a=0,n=o;return d.forEach((e,t)=>{var i=n.indexOf(e),r=o.substr(a,i);n=n.substr(i+e.length),r&&(this._$spanProtect.text(r),s+=this._$spanProtect[0].outerHTML),this._$spanSearch.text(e),s+=this._$spanSearch[0].outerHTML,a=o.length-n.length,t===d.length-1&&n&&(this._$spanProtect.text(n),s+=this._$spanProtect[0].outerHTML)}),s}}return this._$spanProtect.text(o),o=this._$spanProtect[0].outerHTML}}function Wa(t,i,r,s,a,n){Object(C.c)(i,function(){t.dispose()}),setTimeout(()=>{let e=!1;w.computed({read:()=>{!e&&w.bindingHandlers.html.init&&(w.bindingHandlers.html.init(i,()=>t.content,s,a,n),e=!0),w.bindingHandlers.html.update&&w.bindingHandlers.html.update(i,()=>(t.update(r()),t.content),s,a,n)},disposeWhenNodeIsRemoved:i})},1)}w.bindingHandlers.searchHighlighting={init:function(e,t,i,r,s){Wa(new ja(t()),e,t,i,r,s)}};class Ga extends Rs{constructor(e){super(e),this.propertyGridModel=e.propertyGridModel,this.propertyGrid=new gs(this.propertyGridModel,void 0,void 0,void 0,!0,void 0,void 0,e.engineType),this.addDisposable(this.propertyGrid.createComputedProperty("___"+Hi(),()=>{this.propertyGrid.getEditors().some(e=>e.visible&&e._get("isRendered"))&&(this.keyboardHelper&&this.keyboardHelper.initialize(),this.focus())},[Object(p.h)(this.propertyGrid,[{propertyName:"_editors",subscribables:["visible","isRendered"]}])])),this._disposables.push(this.propertyGrid)}createViewModel(){return y(super.createViewModel()).generateProperty("propertyGrid",this.propertyGrid.getViewModel()).generateProperty("propertyGridModel",this.propertyGridModel).getViewModel()}updateViewModel(e){super.updateViewModel(e),"propertyGridModel"===e.propertyName&&(this.propertyGrid.updateEditorsInfo(this.propertyGridModel,this.propertyGridModel.getInfo()),this.getViewModel().propertyGridModel=this.propertyGridModel)}}(function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([A(void 0)],Ga.prototype,"propertyGridModel",void 0);class Ua extends d.a{constructor(e,t,i){super(),this.actions=[],this.actionProviders=[],this.update=w.observable(!1),this.controlType=this.controlType||this.getControlFactory().getControlType(e),this.preInitProperties(e,t,i),this.parentModel=w.observable(t),(i=i||new or).deserialize(this,e),this._disposables.push(this.displayName=w.pureComputed(()=>{let e=this.name&&this.name();return e=e||"unnamed "+this.controlType})),this.resetValue=e=>{this._resetProperty(e)},this.actions.push({action:this.resetValue,id:"dxd-reset",title:Object(m.c)("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:this.isResettableProperty,weight:1e3})}_resetProperty(e){var t;this[e].resetValue?this[e].resetValue():(t=this.getPropertyDefaultValue(e),w.isObservable(this[e])?this[e](t):_s(t,this[e]))}getPropertyDefaultValue(e){e=this.getPropertyInfo(e);return w.unwrap(e&&(new or).deserializeDefaultValue(e))}getPropertyInfo(t){return this.getInfo().filter(e=>e.propertyName===t)[0]}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()}preInitProperties(e,t,i){}getNearestParent(e){return e.getMetaData().isContainer?e:e.getNearestParent(e.parentModel())}getControlInfo(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]}getMetaData(){var e=this.controlType||"Unknown",e=this.getControlFactory().controlsMap[e];return{isContainer:e.isContainer||!1,isCopyDeny:e.isCopyDeny||!1,isDeleteDeny:e.isDeleteDeny||!1,canDrop:e.canDrop||(()=>!0),isPasteDeny:e.isPasteDeny||!e.isContainer}}_hasModifiedValue(e){return this["_"+e]&&this["_"+e]()&&this.isPropertyModified(e)}createChild(e){e=this.getControlFactory().createControl(e,this);return this.addChild(e),e}removeChilds(t){if(this.controls){var i=this.controls();for(let e=0;e<t.length;e++)i.splice(i.indexOf(t[e]),1);this.controls.valueHasMutated()}}addChilds(t){if(this.controls){var i=this.controls();for(let e=0;e<t.length;e++)i.splice(0,0,t[e]);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))}isPropertyVisible(e){return!0}isPropertyDisabled(e){return!1}isPropertyModified(e){var t=this["_"+e]?"_"+e:e;return this[t].isPropertyModified?this[t].isPropertyModified():this[t].isEmpty?!this[t].isEmpty():(e=this.getPropertyDefaultValue(e),t=w.unwrap(this[t]),e instanceof Object?!ws(e,t):e!==t)}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(){}}class qa{constructor(){this.controlsMap={}}getControlInfo(e){return this.controlsMap[e]||null}getControlType(e){e=Et(e["@ControlType"]||"");return this.controlsMap[e]?e:"Unknown"}createControl(e,t,i){var r=this.getControlType(e);return new(this.controlsMap[r]&&this.controlsMap[r].type||Ua)(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=Object(v.b)(!0,[],t.info)}_getPropertyInfoByDisplayName(e,t,i){return e.filter(e=>Object(u.d)(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(t,i,r){t=this._getPropertyInfoByDisplayName(t,i,r)||this._getPropertyInfoByName(t,i,r);if(r===i.length-1)return t||null;if(t.info)return this._getPropertyInfo(t.info,i,r+1);if(t.from){let e=null;try{e=t.from({})}catch(e){return null}t=e.getInfo&&e.getInfo();if(t)return this._getPropertyInfo(t,i,r+1)}return null}getPropertyInfo(e,t){let i=t;return _.isArray(t)||(i=t.split(".")),this._getPropertyInfo(this.controlsMap[e].info,i,0)}}function Ka(e,t){return("native"===(null==t?void 0:t.engineType)?p.e:p.c).wrap(null==e?null:parseFloat(e))}function Ya(e,t){t="native"===(null==t?void 0:t.engineType)?p.e:p.c;const i=It(e);var r=this.valuesArray&&this.valuesArray.filter(e=>e.value==i)[0];return t.wrap(this.values&&void 0!==this.values[i]||r?i:e)}function Ja(e,t){return("native"===(null==t?void 0:t.engineType)?p.e:p.c).wrap(void 0!==e?"true"===String(e).toLowerCase():e)}function Xa(e,t){var t="native"===(null==t?void 0:t.engineType)?p.e:p.c,i=(e||"").split(",");let r=t.wrap(e);return 3===i.length?r=t.wrap("rgb("+i.join(", ")+")"):4===i.length&&(e=Math.round(parseFloat(i[0])/255*100)/100,i.shift(),i.push(e.toString()),r=t.wrap("rgba("+i.join(", ")+")")),r}function Za(e){return Math.round(e).toString()}function Qa(e){e=en(e).split(",");return(parseInt(e[0])<<24)+(parseInt(e[1])<<16)+(parseInt(e[2])<<8)+parseInt(e[3])}function en(e){var t=(e||"").split(", ");let i=e;return 3===t.length?(t[0]=t[0].split("(")[1],t[2]=t[2].split(")")[0],i=t.join(",")):4===t.length&&(e=Math.round(255*parseFloat(t[3])),t.pop(),t[0]=t[0].split("(")[1],i=e.toString()+","+t.join(",")),i}const tn={};function rn(e,t){var r,s;B(t?e+": "+t:e,(r=e,s=t,function(e,t){var i={};return i[r]=function(){return"$data"===s?e.$data:void 0===s?void 0:e.$data[s]},i}))}function B(e,t){tn[e]=t}function sn(e){return tn[e]}function an(e,t){rn(e,t)}function nn(e,t){B(e,t)}function on(t,i){return Object.keys(t||{}).map(e=>i(t[e]))}function dn(e,t){return w.observableArray(on(e,t))}rn("svgAttrs"),rn("dxButtonWithTemplate","options"),rn("dxButton","options"),rn("dxCheckBox","options"),rn("dxToolbarBase","options"),rn("dxToolbar","options"),rn("treelist","options"),B("template: 'dxrd-designer'",function(e,t){return{template:function(){return"dxrd-designer"}}});class ln extends d.a{constructor(e){super(),this.top=w.observable(!1),this.middle=w.observable(!1),this.bottom=w.observable(!1),this.left=w.observable(!1),this.right=w.observable(!1),this.center=w.observable(!1),this.justify=w.observable(!1),this.horizontalString=w.observable(Object(u.d)("Horizontal","ASPxReportsStringId.ReportDesigner_TextAlignment_Horizontal")),this.verticalString=w.observable(Object(u.d)("Vertical","ASPxReportsStringId.ReportDesigner_TextAlignment_Vertical")),this.disabled=e.disabled||w.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe(e=>{this.updateModel(e)}))}_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){e=e||"TopLeft";this.top(-1!==e.indexOf("Top")),this.middle(-1!==e.indexOf("Middle")),this.bottom(-1!==e.indexOf("Bottom")),this.left(-1!==e.indexOf("Left")),this.right(-1!==e.indexOf("Right")),this.center(-1!==e.indexOf("Center")),this.justify(-1!==e.indexOf("Justify"))}updateValue(){var 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(""))}}w.bindingHandlers.dxTextAlignmentEditor={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=g("dxrd-textalignment-editor"),a=_.fn.constructor(e).append(a);const n=new ln(t());return w.applyBindings({value:n},a.children()[0]),Object(C.c)(e,()=>n.dispose()),{controlsDescendantBindings:!0}}};class un{constructor(){this.selectedItem=null,this.suppressActions=!0}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).isSelected=!0)}isDraggable(e){return!1}}E=t(51);class cn extends t.n(E).a{constructor(e,t){super(e,Object(v.b)(t,{showClearButton:!0})),this._path=w.observable(""),this._value=w.observable(""),this._parentViewport=null,this._itemsProvider=w.observable(null),this._hasDisplayNameOption=!1,this._defaultPosition=null;var i,e=_.fn.constructor(e);e.addClass("dx-fieldlistpicker"),this.option("path")&&this._path(null==(i=this.option("path"))?void 0:i.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=e.parents(".dx-designer-viewport"),"displayValue"in t&&(this._hasDisplayNameOption=!0,this.option("displayValue",t.displayValue),this._setTitle(null==(i=this.option("displayValue"))?void 0:i.toString()))}updateOptions(e){e.showClearButton=!0}_showDropDown(){var e;this._popup&&(e=_.fn.constructor(this.element()),this._popup.option("width",e.width()),e=Object(v.b)(!0,{},this._defaultPosition,{boundary:this._parentViewport[0],boundaryOffset:"0 20",collision:"none flip"}),this._popup.option("position",e),this._popup.option("height","auto"),this._popup.option("maxHeight",this._getMaxHeight()),this._popup.repaint(),_.fn.constructor(this._popup.content())[0].style.height="auto",this._popup._renderPosition())}_getMaxHeight(){var e=_.fn.constructor(this.element()),t=e.offset(),i=_.fn.constructor(window).height(),t=Math.max(t.top,i-t.top-e.outerHeight());return Math.min(.5*i,t)}_closeOutsideDropDownHandler(e,t){super._closeOutsideDropDownHandler.apply(this,[e,!0])}_hideOnBlur(){return!1}_popupConfig(){var e=this.option("integrationOptions").templates["dx-polymorph-widget"],t=super._popupConfig.apply(this);return this._defaultPosition=t.position,Object(v.b)(t,{container:this._parentViewport,contentTemplate:e&&e._template,hideOnOutsideClick:!0})}_setTitle(e){this.option("openOnFieldClick")&&_.fn.constructor(this.element()).attr("title",e)}_renderDisplayText(e){super._renderDisplayText.apply(this,[e])}_optionChanged(e){var t=e.name,i=e.value;switch(t){case"value":this._value(i),this._hasDisplayNameOption||this._renderDisplayText(i),setTimeout(_.proxy(()=>{this.option("opened",!1)},this),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()}}_clearValueHandler(){_.fn.constructor(this._input()).val(null),super._clearValueHandler.apply(this,arguments)}_renderPopupContent(){super._renderPopupContent.apply(this,arguments);const e=w.pureComputed({read:()=>this._path()?this._path()+"."+this._value():this._value(),write:e=>{this._path()&&0<this._path().length?this._value(e.substr(this._path().length+1)):this._value(e),this.option("value",this._value())}});var t=_.fn.constructor("<div>").addClass("dx-treelist-wrapper").get(0),i=this._createComponent(t,"dxScrollView",{scrollByThumb:!0});const r=this;var i=_.fn.constructor(i.content()),s=_.fn.constructor(this.element()),s=(i.append(_.fn.constructor('<div data-bind="treelist: options"></div>')[0]),w.contextFor(s.get(0)));const a=this.option("treeListController");var n=w.computed(()=>({itemsProvider:this._itemsProvider(),onItemsVisibilityChanged:()=>{r._popup&&r._popup._renderPosition()},selectedPath:e,treeListController:a,path:this._path})),s=s.createChildContext({options:n});w.applyBindingsToDescendants(s,i.get(0)),_.fn.constructor(this._popup.content()).append(t)}}l()("dxFieldListPicker",cn);class pn extends d.a{constructor(){super(),this.popupVisible=w.observable(!1),this.buttonItems=[],this._createMainPopupButtons()}_createMainPopupButtons(){const t=this;this._disposables.push(this._disableSaveButton=w.pureComputed(()=>!t.canSave())),this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.saveLocalization,type:"default",stylingMode:"contained",onClick:function(e){t.save(e)},disabled:this._disableSaveButton}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.cancelLocalization,type:"normal",stylingMode:"contained",onClick:function(){t.close()}}}],this._disposables.push(this._disableSaveButton)}canSave(){return!0}save(e){this.popupVisible(!1)}close(){this.popupVisible(!1)}get cancelLocalization(){return Object(u.d)("Cancel",va.DataAccessBtnCancel)}get saveLocalization(){return Object(u.d)("OK",va.DataAccessBtnOK)}}class hn extends k{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(f.unwrap(null==(e=this.editorOptions)?void 0:e.showClearButton)?[]:P.e)}}function gn(t,i){class e extends hn{getOptions(e){e=super.getOptions(e);return S.getNumberEditorOptions(t,i,e)}}return{header:"dx-number-editor",editorType:e}}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};function mn(t){const i=t.getModel(),e=e=>e?t.info&&t.info[e]:t.info,r=()=>e("addHandler").call(this);return{values:[...i.value],addHandler:()=>r(),onValueChanged:(e,t)=>{i._set("value",[...e])},info:t.info,level:t.level,displayName:Object(m.c)(t.displayName)}}function fn(i,e,r){let t=void 0;const s=p.c.wrap(r.disabled);let a=null;new gs(i,void 0,r.level+1,s);const n=y().createDefaultModel({disabled:s}).generateProperty("index",e).generateProperty("disabled",r.disabled).generateProperty("level",r.level).generateProperty("name",r.displayPropertyName&&i[r.displayPropertyName]?f.unwrap(i[r.displayPropertyName]):e).generateProperty("select",(e,t)=>r.select(e,t)).generateProperty("padding",r.padding).generateProperty("selected",e===r.selectedIndex).generateProperty("collapsed",!0).generateProperty("setCollapsed",e=>{n.collapsed=e,t()}).generateProperty("getProperties",e=>{var t;return a||(a=new gs(i,null!=(t=null==e?void 0:e.editorsInfo)?t:void 0,null!=(t=null==e?void 0:e.level)?t:r.level+1,null!=(t=null==e?void 0:e.disabled)?t:s),r._disposables.push(a)),a.getViewModel()}).generateProperty("getCollapsed",()=>n.collapsed).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("value",i).getViewModel();return f.isSubscribable(i[r.displayPropertyName])?r._disposables.push(i[r.displayPropertyName].subscribe(()=>{n.name=f.unwrap(i[r.displayPropertyName])})):"object"==typeof i&&"events"in i&&r.addDisposable(i.events.on(r.displayPropertyName+"Changed",e=>{e.propertyName===r.displayPropertyName&&(n.name=i[r.displayPropertyName])})),n}class vn extends Kt{constructor(i,e=!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 t=e=>e?i.info&&i.info[e]:i.info;var r=t();this.collapsed=!1!==i.collapsed,this.addHandler=()=>(i.addHandler||t("addHandler")).call(this),this.removeHandler=(e,t)=>{i.removeHandler?i.removeHandler(e,t):this.values.splice(t,1)},this.values=i.values,this.hideButtons=i.hideButtons||t("hideButtons"),this.showButtons=!f.unwrap(this.hideButtons)&&!this.collapsed,f.isSubscribable(this.hideButtons)&&this._disposables.push(this.hideButtons.subscribe(e=>{this.showButtons=!f.unwrap(this.hideButtons)&&!this.collapsed})),this._textEmptyArray=i.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},this.displayPropertyName=t("displayPropertyName"),this.showScroll=!!i.showScroll;const s=(e,t)=>i.isDisabledButton?i.isDisabledButton(e,t):"delete"===t?null===e:"add"!==t&&("up"===t?null===e||0===e:"down"===t?null===e||e===this.values.length-1:void 0);this.isDisabledButton=e=>this.disabled||s(this.selectedIndex,e),this.isVisibleButton=e=>!!this.showButtons&&(!i.isVisibleButton||i.isVisibleButton(this.selectedIndex,e)),this.padding=void 0!==i.level?i.level*Object(P.d)():0,this.displayName=r?Object(m.c)(r.displayName,r.localizationId):i.displayName,(this.options=i).displayName||(this.collapsed=!1,this.alwaysShow=!0),i.alwaysShow&&(this.alwaysShow=!0);r=f.unwrap(i.selectedItem);r&&(this._setSelectedIndex(r),this._disposables.push(i.selectedItem.subscribe(e=>{this._setSelectedIndex(e)}))),this.disabled=e,this.listKeyboardHelper=new be,this.keyboardHelper=new pe(()=>this.getViewModel()),this.headerId="dxrd-ce-trigger-"+Hi(),this.contentId="dxrd-ce-pannel-"+Hi()}deferredUpdateViewModel(){return!1}createViewModel(){let t=void 0;var e=t=>y().generateProperty("action",e=>this[t](e)).generateProperty("disabled",this.isDisabledButton(t)).generateProperty("text",this.getDisplayTextButton(t)).generateProperty("visible",this.isVisibleButton(t)).generateProperty("template",la(this.buttonMap[t].iconClass)).getViewModel(),e=y(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",y().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("getCollapsed",()=>this.collapsed).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("contentId",this.contentId).generateProperty("headerId",this.headerId).generateProperty("displayName",this.displayName).generateProperty("padding",this.padding).generateProperty("showScroll",this.showScroll).generateProperty("values",this.values.map((e,t)=>fn(e,t,this))).getViewModel();return this.addDisposable(this.events.on("collapsedChanged",e=>{t&&t()})),e}updateViewModel(e){const i=this.getViewModel();var t,r;i.collapsed=this.collapsed,i.alwaysShow=this.alwaysShow,i.showButtons=this.showButtons,"selectedIndex"===e.propertyName&&(r=e.oldValue,t=e.newValue,i.values[r]&&(i.values[r].selected=!1),i.values[t])&&(i.values[t].selected=!0),"values"===e.propertyName&&("added"in e?((r=e).added.forEach(t=>{for(let e=t.index;e<i.values.length;e++)i.values[e].index++;i.values.splice(t.index,0,fn(t.item,t.index,this))}),r.removed.forEach(t=>{for(let e=t.index;e<i.values.length;e++)i.values[e].index--;i.values.splice(t.index,1)}),this._timeoutItemRendered&&clearTimeout(this._timeoutItemRendered),this._timeoutItemRendered=setTimeout(()=>{this.listKeyboardHelper&&this.listKeyboardHelper.initialize()},100)):i.values=this.values.map((e,t)=>fn(e,t,this))),"values"!==e.propertyName&&"selectedIndex"!==e.propertyName&&"disabled"!==e.propertyName||Object.keys(i.buttons).forEach(e=>{i.buttons[e].disabled=this.isDisabledButton(e)}),"disabled"===e.propertyName&&(i.disabled=this.disabled,i.values.forEach(e=>{e.disabled=this.disabled,e.getModel().disabled(this.disabled)})),"showButtons"===e.propertyName&&Object.keys(i.buttons).forEach(e=>{i.buttons[e].visible=this.isVisibleButton(e)})}dispose(){super.dispose(),this.removeProperties()}_move(e,t){var i;0<=this.selectedIndex&&((t=(i=this.selectedIndex)+t)>=e.length||t<0||(this.values.splice(t,0,this.values.splice(i,1)[0]),this.selectedIndex=t))}_setSelectedIndex(e){e=this.values.indexOf(e);this.selectedIndex=-1===e?null:e}onPropertyChanged(e){var t;"collapsed"===e.propertyName?this.showButtons=!f.unwrap(this.hideButtons)&&!this.collapsed:"values"===e.propertyName&&null!=(t=this.options)&&t.onValueChanged(this.values,e)}getDisplayTextButton(e){return Object(m.c)(this.buttonMap[e].text,this.buttonMap[e].localizationId)}getDisplayTextEmptyArray(){return Object(m.c)(this._textEmptyArray.text,this._textEmptyArray.localizationId)}add(e){e.event.stopPropagation(),this.options.undoEngine&&this.options.undoEngine.start();var e=this.addHandler();e&&(e=this.values.push(e),this.options.undoEngine&&this.options.undoEngine.end(),this.options.selectedItem)&&this.select(this.getViewModel().values[e-1])}up(e){this._move(this.values,-1),e.event.stopPropagation()}down(e){this._move(this.values,1),e.event.stopPropagation()}delete(e){e.event.stopPropagation(),this.selectedIndex<0||(this.options.undoEngine&&this.options.undoEngine.start(),e=this.values[this.selectedIndex],this.removeHandler(e,this.selectedIndex),this.options.undoEngine&&this.options.undoEngine.end(),0<(e=this.values.length)?this.select(this.selectedIndex>=e?this.getViewModel().values[e-1]:this.getViewModel().values[this.selectedIndex],!0):this.select({index:null,value:null},!0))}select(e,t=!1){(this.selectedIndex!==e.index||t)&&(t&&this.selectedIndex===e.index&&(t={propertyName:"selectedIndex",newValue:this.selectedIndex,oldValue:this.selectedIndex},this.onPropertyChanged(t),this.updateViewModel(t)),this.selectedIndex=e.index,this.options.selectedItem)&&this.options.selectedItem(e.value)}}E([A(null)],vn.prototype,"selectedIndex",void 0),E([A(!0)],vn.prototype,"collapsed",void 0),E([A(!1)],vn.prototype,"alwaysShow",void 0),E([Ut(()=>[])],vn.prototype,"values",void 0),E([A(!1)],vn.prototype,"showButtons",void 0),E([A(()=>!1)],vn.prototype,"disabled",void 0);const xn=(t,i)=>{const r=w.computed(()=>w.isObservableArray(t.values)?t.values:w.unwrap(t.values)),s=t.addHandler,e=()=>{return(s||((e="addHandler")?w.unwrap(t.info)&&w.unwrap(t.info)[e]:w.unwrap(t.info))).call(void 0);var e};let a=!(t.addHandler=()=>e());const n=e=>{a||(a=!0,e(),a=!1)},o=(t.onValueChanged=(e,t)=>{n(()=>{var e;null!=(e=t.added)&&e.forEach(e=>r().splice(e.index,0,e.item)),null!=(e=t.removed)&&e.sort((e,t)=>t.index-e.index).forEach(e=>r().splice(e.index,1))})},new vn(Object.assign(Object.assign({},t),{values:[...r()()],undoEngine:w.unwrap(t.undoEngine),info:w.unwrap(t.info)}),w.unwrap(null==i?void 0:i.disabled))),d=(w.isSubscribable(null==i?void 0:i.disabled)&&o._disposables.push(i.disabled.subscribe(e=>{o.disabled=e})),o._disposables.push(r),()=>r().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(r.subscribe(e=>{n(()=>{l.dispose(),o.values=[...w.unwrap(e)],l=d(),o._disposables.push(l)})})),i&&w.isSubscribable(i.disabled)&&o._disposables.push(i.disabled.subscribe(e=>{o.disabled=w.unwrap(i.disabled)})),o},bn=(w.bindingHandlers.dxCollectionEditor={init:function(e,t,i,r,s){var a=t();let n="multiplatform";const o="multiplatform"===(n=!r||r instanceof k?n:r.getModel()._engineType)?xn(t(),r):new vn(mn(r)),d=g(a.editorTemplate||"#dx-collectioneditor"),l=_.fn.constructor(d),u=w.unwrap(a.info),c=u&&u.template||a.template;c?(t=g(c),l.find(".dx-collection-item").append(_.fn.constructor(t))):l.find(".dx-collection-item").append(_.fn.constructor(e).children());r=_.fn.constructor(e).append(l),a=s.createChildContext(o.getViewModel());return w.applyBindings(a,r.children()[0]),Object(C.c)(e,()=>{o.dispose()}),{controlsDescendantBindings:!0}}},"dx-ellipsiseditor-warning");class yn extends bs.a{constructor(e,t){super(e,t)}_init(){super._init.apply(this),this._$element||(this._$element=_.fn.constructor(this.element())),this._$element.addClass("dx-ellipsiseditor dx-dropdowneditor"),this._koContext=w.contextFor(this._$element.get(0))}_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(bn)):(this._$element.removeAttr("title"),this._$element.removeClass(bn))}_renderButton(){this._$button=_.fn.constructor("<div />").addClass("dx-ellipsiseditor-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button"),this._attachButtonEvents(),this._$buttonIcon=_.fn.constructor("<div />").addClass("dx-ellipsiseditor-icon dx-ellipsis-image dx-dropdowneditor-icon").height("100%").append(c.templates["dxrd-svg-ellipsis"]).appendTo(this._$button),w.applyBindingsToDescendants(this._koContext,this._$buttonIcon[0]);var e=this._buttonsContainer();this._$button.appendTo(e)}_updateButtonSize(){this._$buttonIcon.height(_.fn.constructor(this.element()).height())}_attachButtonEvents(){var e=[];this._$input||(this._$input=_.fn.constructor(this._input())),this._$button.off("click"),this._$input.off("click"),this.option("disabled")||e.push(this._$button),this.option("openOnFieldClick")&&e.push(this._$input),e.forEach(e=>{e.on("click",this.buttonAction.bind(this))})}_attachInputEvents(){const e=this._input()[0];if(e){const t=e=>{(e.key==L.Enter||e.key==L.ArrowDown&&e.altKey)&&this.buttonAction(e)};e.addEventListener("keydown",t),Object(C.c)(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())}}l()("dxEllipsisEditor",yn);class _n extends yn{constructor(e,t){t.placeholder=t.placeholder||Object(m.c)("(none)","DxDesignerStringId.None"),super(e,t)}_getDisplayValue(){var e=this.option("placeholderId");return this.option("value")&&e?Object(m.c)(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){var t=e&&_.fn.constructor(e)||_.fn.constructor("<div />");t.addClass("dx-fileimage-input-wrapper"),this._inputContainer=t.get(0),_.fn.constructor(this.element()).append(this._inputContainer),super._renderInput.apply(this,[e])}_attachButtonEvents(){this._$button.off("click"),this.option("disabled")||this._$button.on("click",e=>{e.stopPropagation(),e.preventDefault(),X({accept:(null==(e=this.option("accept"))?void 0:e.toString())||"image/*",readMode:null==(e=this.option("readMode"))?void 0:e.toString()}).done(e=>{this._handleResult(e)})})}_renderValue(){this.option("text",this._getDisplayValue()),super._renderValue.apply(this)}}l()("dxFileImagePicker",_n);const Cn=[{value:"pt",displayValue:"Point",localizationId:"DevExpress.ReportDesigner_FontOptions_Unit_Point"},{value:"world",displayValue:"World",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_World"},{value:"px",displayValue:"Pixel",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_Pixel"},{value:"in",displayValue:"Inch",localizationId:"AnalyticsCoreStringId.Wizard_Inch"},{value:"doc",displayValue:"Document",localizationId:"PreviewStringId.ReportDesigner_FontOptions_Unit_Document"},{value:"mm",displayValue:"Millimetr",localizationId:"AnalyticsCoreStringId.Wizard_Millimeter"}];class wn extends d.a{constructor(t){super(),this.family=w.observable(null),this.unit=w.observable(null),this.isUpdateModel=!1,this.size=w.observable(null),this.modificators={bold:w.observable(!1),italic:w.observable(!1),strikeout:w.observable(!1),underline:w.observable(!1)},this.updateModel(t()),this._disposables.push(t.subscribe(e=>{this.isUpdateModel=!0,this.updateModel(e),this.isUpdateModel=!1})),this._disposables.push(this.modificators.bold.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.italic.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.strikeout.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.underline.subscribe(e=>this.updateValue(t))),this._disposables.push(this.family.subscribe(e=>this.updateValue(t))),this._disposables.push(this.size.subscribe(e=>this.updateValue(t))),this._disposables.push(this.unit.subscribe(e=>this.updateValue(t)))}_toString(){var e=[this.family(),this.size()+this.unit()].join(", "),t=[],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"),t.join(", "));return t?[e,t].join(", style="):e}updateModel(e){const t=(e=e||Object(P.a)()).split(","),i=(this.family(t[0]),this);Cn.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())}}const An=w.bindingProvider.prototype.parseBindingsString,En=(w.utils.extend(w.bindingProvider.prototype,{parseBindingsString:function(t,e,i,r){try{var s=sn(t.trim());return s?s(e,i):An.call(w.bindingProvider.instance,t,e,i,r)}catch(e){throw e.message="Unable to parse bindings.\nBindings value: "+t+"\nMessage: "+e.message,e}}}),us()().optionsParser),In=(us()({optionsParser:function(e){var t=sn(e.trim());return t?t():En(e)}}),c.extendTemplates({"dxrd-svg-fieldlist-list":"dxrd-svg-fieldlist-table","dxrd-svg-fieldlist-default":"dxrd-svg-fieldlist-column"}),w.templateEngine.prototype.makeTemplateSource);w.templateEngine.prototype.makeTemplateSource=function(e,t){return"string"==typeof e&&c.getExistingTemplate(e,!1)&&!document.getElementById(e)?new Ie(e,c._instance._data,c.templates):In.apply(this,[e,t])};var E=t(42),Sn=t.n(E);const Tn=function(){let t;return e=>void 0===(t=void 0!==e?e:t)?!!Sn.a:t}();class Pn extends d.a{constructor(i,e,t,r){super(),this.searchPlaceholder=()=>Object(u.n)(),this._categories=w.observableArray([]),this.toolBox=[],this.description=w.observable(),this._defaultClick=i,Sa.filter(e=>!!e.descriptionStringId).forEach(e=>this._initDescription(e));const s=w.computed(()=>t()&&w.unwrap(t().functions)||_a()),a=w.computed(()=>s().map(e=>this._createFunctionsCategoryItem(e.items,Object(m.c)(e.display,e.localizationId)))),n=()=>[this._createFieldsCategory(r,e),this._createConstantCategory(),this._createFunctionsCategory(a),this._createOperatorsCategory(Sa)],o=w.observable(null),d=()=>{var e=this._categories()[0].content;o()&&o().isSelected(!1),o(e),e.isSelected(!0)},l=e=>{this._disposeCategories();var t=n();e&&e.customizeCategories&&e.customizeCategories(this,t,i),this._categories(t),d()};this.resetCategoriesSelection=d,[s,a].forEach(e=>this._disposables.push(e)),this._disposables.push(t.subscribe(e=>{l(e)})),l(t()),this._disposables.push(this.showDescription=w.computed(()=>o()&&o().showDescription)),this.toolBox=[this._generateTab(this._categories,"dx-expressioneditor-categories",e=>{var t;e.data&&e.data.selectedItem&&e.data.selectedItem()&&-1!==e.data.items.indexOf(e.data.selectedItem())?(t=e.data.selectedItem(),this.description(this._localizedExpressionEditorItem(t))):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)]}_generateTab(e,t=null,i,r,s){return{templateName:t,content:e,click:i,dblclick:r,visible:s||!0}}_localizedExpressionEditorItem(e){return e.descriptionStringId?Object(m.c)(e.text,e.descriptionStringId):e.description||e.text}_initDescription(e){e.description=this._localizedExpressionEditorItem(e)}_createFieldsCategory(e,t){return{displayName:Object(m.c)("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:{showDescription:!1,isSelected:w.observable(!1),data:{fields:e,parameters:t},name:"dx-expressioneditor-fields"},dispose:()=>{}}}_createConstantCategory(){return Ea([{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 Ea(e,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)}_createFunctionsCategoryContent(e,t,i){return{showDescription:!0,isSelected:t,data:{textToSearch:e,items:i,availableItems:w.observableArray(i),selectedItem:w.observable(null)},name:"dx-expressioneditor-collection-function"}}_createFunctionsCategoryItem(e,t){const i={display:t,isSelected:w.observable(!1),data:[],name:"dx-expressioneditor-collection-function"};return _.map(e,e=>{e&&e.forEach(e=>{this._initDescription(e),i.data.push(e)})}),i}_createFunctionsCategory(e){let i=null;const r=w.observable(""),t=[],s=w.observable(!1),a=w.computed(()=>[].concat(...e().map(e=>e.data))),n=this._createFunctionsCategoryContent(r,s,a()),o={displayName:Object(m.c)("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),items:e,allItems:a,isSelected:s,content:n,collapsed:w.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=>!!te(e.text,r())))},templateName:"dx-expressioneditor-category-accordion",dispose:()=>{t.forEach(e=>e.dispose()),t.splice(0,t.length)}};return t.push(a),t.push(r.subscribe(t=>{i&&clearTimeout(i),i=setTimeout(()=>{o.content.data.availableItems(o.content.data.items.filter(e=>!!te(e.text,t)))},150)})),o}_disposeCategories(){this._categories().forEach(e=>e.dispose&&e.dispose())}dispose(){super.dispose(),this._disposeCategories()}}class $n{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).isSelected=!0)}isDraggable(e){return!1}}class kn extends $n{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(t){return[{clickAction:e=>this.putSelectionHandler(t,_.fn.constructor(e))}]}canSelect(e){return!0}}class Dn extends $n{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(t){return[{clickAction:e=>{t&&!t.hasItems&&this.putSelectionHandler(t.path,_.fn.constructor(e))}}]}canSelect(e){return!0}}class Fn extends d.a{constructor(e,t,i,r,s){super(),this._filterPlaceHolder=Object(u.n)(),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=w.observable(""),this.isFiltered=w.observable(!1),this.target=e,this._action=i,this.propertyName=r,this._popupService=t,this.popupContentTemplate=s||this.popupContentTemplate}_updateActions(t){if(this._popupService.data(null),t){this._disposables.push(this._popupService.visible.subscribe(e=>{this.target.isSelected(e),this.filterString("")}));let e=(this._popupService.viewModel=t)[this.propertyName];this.isFiltered(!1),e&&10<e.length&&(this.isFiltered(!0),this._disposables.push(e=w.pureComputed(()=>this.filterString()?t[this.propertyName].filter(e=>-1!=(e.displayText||e.name).toLocaleLowerCase().indexOf(this.filterString().toLocaleLowerCase())):t[this.propertyName]))),this._popupService.data({data:e,template:this.popupContentTemplate,click:e=>{t[this._action](e),this._popupService.visible(!1)},isFiltered:this.isFiltered,filterString:this.filterString,searchPlaceholder:()=>Object(u.n)()})}}}var On,M=t(6);class Bn extends d.a{constructor(e,t,i,r){super(),this.isUpdated=w.observable(!1),this.canRemove=!0,this.operatorType=w.observable(null),this.templateName="dx-filtereditor-common",this.isSelected=w.observable(!1),this.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",this.popupService=t.popupService||{visible:w.observable(!1)},this.model=e,this.helper=t.helper,this.fieldListProvider=i,this.path=r,this.parent=t,this.operatorType(e.operatorType),this._disposables.push(this.operatorType.subscribe(e=>{this.model.assignType(e)}))}_createLeftPartProperty(e){let t;return e instanceof Nr.a?t=this.createChildSurface(e):(t=this.createChildSurface(e),e=Object.keys(this.helper.filterEditorOperators).reduce((e,t)=>e="_common"!==t&&"integer"===e&&this.helper._getFilterEditorOperator(this.model,this.helper.filterEditorOperators[t],this.reverse)?t:e,"integer"),t.specifics=t.specifics||w.observable(e)),t.canChange=!1,t.canRemove=!1,t&&"aggregate"===t.model.type?(this.specifics=w.computed(()=>t.aggregatedExpression()&&t.aggregatedExpression().specifics()||"integer"),this.dataType=w.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(){var e=this.operatorType&&this.operatorType()||"",t=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return t&&t.name&&(t.displayText||Object(m.c)(t.name,t.localizationId))||this.model.displayType||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!==M.FunctionOperatorType?this.operatorType(e.value):this.parent.change(e,this),this.helper.onChange()}remove(e){this.parent.remove(this),this.helper.onChange()}}class Mn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-unary",this.operand=w.observable(null);let s=this.createChildSurface(e.operand);e.operatorType===O.UnaryOperatorType.Not?(this.templateName="dx-filtereditor-not",s.reverse=!0,this.specifics=s.specifics):(s.dispose(),s=this._createLeftPartProperty(e.operand)),this.operand(s)}get leftPart(){let e=this.operand();return e=this.operand()&&this.operand().reverse&&this.operand().leftPart?this.operand().leftPart:e}get rightPart(){return this.operand()&&this.operand().reverse?this.operand().rightPart:null}createChildSurface(e,t,i){return this.operatorType()!==O.UnaryOperatorType.Not||this.helper._getFilterEditorOperator(e,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new xa.GroupOperator(La.GroupOperatorType.And,[e])),super.createChildSurface(this.model.operand,t,i)}dispose(){this.operand().dispose(),super.dispose()}}class Nn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-aggregate",this.property=w.observable(null),this.aggregatedExpression=w.observable(null),this.condition=w.observable(null),this.property(this._createLeftPartProperty(e.property));const s=w.computed(()=>this.path()+"."+this.property().propertyName());this._disposables.push(s),e.aggregatedExpression&&(this.aggregatedExpression(this.createChildSurface(e.aggregatedExpression,s)),this.templateName="dx-filtereditor-aggregate-common"),"Count"===e.operatorType&&(this.templateName="dx-filtereditor-aggregate-common");t=this.createChildSurface(e.condition,s);t.canRemove=!1,t instanceof Mn&&(t.operand().canRemove=!1),this.condition(t),this.change=(e,t)=>{var i;t?(i=this.model.change(e,t.model),(i=this.createChildSurface(i,s)).canRemove=!1,i instanceof Mn&&(i.operand().canRemove=!1),this.condition(i)):"Exists"!==this.operatorType()&&"Count"!==this.operatorType()&&(!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 Vn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.property=w.observable(null),this.end=w.observable(null),this.begin=w.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 zn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-binary",this.leftOperand=w.observable(null),this.rightOperand=w.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 Ln(e){e.displayText=Object(m.c)(e.name,e.localizationId)}class Hn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.canChange=!0,this.canRemove=!1,this.changeValueType=e=>{var t=this.getRealParent(this.parent),i=this.getRealProperty(this),i=this.getPropertyName(t,i),e=t.model.changeValueType(e.instance,i);null!==i.index?(t[i.name]()[i.index].dispose(),t[i.name].splice(i.index,1,t.createChildSurface(e))):(t[i.name]().dispose(),t[i.name](t.createChildSurface(e))),this.helper.onChange()}}getRealParent(e){return e instanceof Mn?this.getRealParent(e.parent):e}getRealProperty(e){return e.parent instanceof Mn?this.getRealProperty(e.parent):e}getPropertyName(e,r){let s=null,a=null;return _.each(e,(e,t)=>{var i;Array.isArray(w.unwrap(t))&&w.isObservable(t)?-1<(i=w.unwrap(t).indexOf(r))&&(s=i,a=e):r===w.unwrap(t)&&w.isObservable(t)&&(a=e)}),{index:s,name:a}}getConvertableParameters(t){return this.helper.parameters()?this.helper.parameters().filter(e=>{e=e.specifics&&e.specifics.toLowerCase();return!(null==e||null==t||e!==t&&"default"!==t&&"string"!==t&&("float"===t?"integer"!==e:"enum"!==t||"integer"!==e&&"string"!==e))}):[]}get changeTypeItems(){var e=[{name:"Value",instance:ka.a,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&e.push({name:"Property",instance:Nr.a,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(0<this.getConvertableParameters(this.parent.specifics()).length||this.helper.canCreateParameters)&&e.push({name:"Parameter",instance:Mr.a,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),e.forEach(Ln),e}}class Rn extends Hn{constructor(t,e,i,r){if(super(t,e,i,r),this.canRemove=!0,this.contentTemplateName="dx-filtereditor-function",this.operands=w.observableArray([]),0===t.operands.length)e instanceof Mn?this.specifics=e.parent.specifics:this.specifics=e.specifics,this.contentTemplateName="dx-filtereditor-function-lightweight",this.canRemove=!1;else{this.operands.push(this._createLeftPartProperty(t.operands[0]));for(let e=1;e<t.operands.length;e++)this.operands.push(this.createChildSurface(t.operands[e]))}}get leftPart(){return this.operands&&this.operands()[0]}get rightPart(){return this.operands&&this.operands().filter((e,t)=>0!==t)}get displayType(){var 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||Object(m.c)(e.name,e.localizationId):isNaN(parseInt(this.operatorType()))?this.operatorType()||"":M.FunctionOperatorType[this.operatorType()]}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class jn extends Bn{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.operands=w.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(Ln),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.specifics=w.observable("group")}change(e,t){var i,r;t?(r=t.specifics()||"integer",r=this.helper.filterEditorOperators[r]||this.helper.filterEditorOperators._common,e||(e=r.filter(e=>t.operatorType()===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type)[0]||r[0]),r=this.model.change(e,t.model,t.leftPart instanceof Nn&&"list"!==t.leftPart.leftPart.specifics()),i=this.operands().indexOf(t),r=this.createChildSurface(r),this.operands()[i].dispose(),this.operands.splice(i,1,r)):super.change(e,t),this.helper.onChange()}remove(e){(e?(this.model.remove(e.model),this.operands.remove(e),e):(this.parent.remove(this),this)).dispose(),this.helper.onChange()}create(e){e=this.model.create(e.value,new Nr.a);this.operands.push(this.createChildSurface(e)),this.helper.onChange()}get rightPart(){return this.operands()}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class Wn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-in",this.operands=w.observableArray([]),this.criteriaOperator=w.observable(null),this.criteriaOperator(this._createLeftPartProperty(e.criteriaOperator)),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.addValue=()=>{var e=new ka.a(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 Gn extends Hn{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.parameterName=w.observable(""),this.templateName="dx-filtereditor-parameter",this.specifics=t.specifics,this.parameterName(e.parameterName),!this.parameterName()&&0<this.items.length&&this.changeParameter(this.items[0]),this.specifics&&this._disposables.push(this.specifics.subscribe(e=>{0==this.items.filter(e=>w.unwrap(e.name)==this.parameterName()).length&&(0<this.items.length?this.changeParameter(this.items[0]):this.changeParameter({name:""}))}))}get items(){return this.getConvertableParameters(this.specifics())}get displayType(){return null}}class Un extends Hn{constructor(e,t,i,r){super(e,t,i,r),this._displayName=w.observable(""),this.propertyName=w.observable(""),this.specifics=w.observable("integer"),this.dataType=w.observable(""),this.valueType=w.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);t=this.helper.generateTreelistOptions(i,r);t.options&&t.subscription?(this.fieldsOptions=t.options,this._disposables.push(t.subscription)):this.fieldsOptions=t,this._disposables.push(this.fieldsOptions().selectedPath.subscribe(e=>{var t=this.fieldsOptions().selectedPath().substr(this.path&&0<this.path().length?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(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()})),this.fieldsOptions().selectedPath(this.path&&w.unwrap(this.path)?[w.unwrap(this.path),this.propertyName()].join("."):this.propertyName()),this._updateSpecifics(),this._disposables.push(this.displayName=w.computed(()=>this._displayName()||this.propertyName()))}_updateDisplayName(e,t,i){this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(w.unwrap(e),t).done(e=>{this._displayName(e)}):this._displayName(i)}_updateSpecifics(){var e=this.propertyName().split(".");let i=e.pop();w.unwrap(this.fieldsOptions).itemsProvider&&(this.isUpdated(!0),w.unwrap(this.fieldsOptions).itemsProvider.getItems(new Wi([this.path()].concat(e).join("."))).done(e=>{var t=e.filter(e=>"List"!==e.specifics&&!e.isList),t=(!this.propertyName()&&0<t.length&&(this.model.propertyName=t[0].name,this.propertyName(t[0].name),i=t[0].name),e.filter(e=>e.name===i)[0]);if(t){let e=t.specifics.toLowerCase();0===e.indexOf("calc")&&(e=e.split("calc")[1]),this.specifics(e),this.dataType(t.dataType),this._updateDisplayName(this.path,this.propertyName(),t.displayName)}}).always(()=>{this.isUpdated(!1)}))}get items(){return this.fieldsOptions}get displayType(){return null}}class qn extends Hn{constructor(t,e,i,r){super(t,e,i,r),this._value=w.observable(null),this._scroll=null,this._updateDate=function(e){"date"===e?this._value()instanceof Date||this._value(new Date((new Date).setHours(0,0,0,0))):this._value("")},this.changeValue=()=>{var e=this.getRealParent(this.parent),t=this.getRealProperty(this),t=this.getPropertyName(e,t),i=e.model.changeValue(this.model,this.reverse,t);null!==t.index?(e[t.name]()[t.index].dispose(),e[t.name].splice(t.index,1,e.createChildSurface(i))):(e[t.name]().dispose(),e[t.name](e.createChildSurface(i)))},this.dataType=w.observable(""),this.values=w.observable([]),this.isEditable=w.observable(!1),this.templateName="dx-filtereditor-value",this._getBaseOptions=e=>({value:this._value,onFocusOut:()=>this.isEditable(!1),onFocusIn:()=>this.scrollTo(e)}),this.getNumberEditorOptions=e=>S.getNumberEditorOptions(this.dataType(),this.specifics(),this._getBaseOptions(e)),this.getStringEditorOptions=e=>this._getBaseOptions(e),this.getBoolEditorOptions=(e,t)=>Object.assign({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)}},this._getBaseOptions(e)),this.getDateEditorOptions=(e,t)=>Object.assign({closeOnValueChange:!0,type:"date",dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e)),this.getListEditOptions=(e,t)=>{var i="object"!=typeof this.items[0];return Object.assign({dataSource:this.dataSource,acceptCustomValue:i,valueExpr:i?void 0:"value",displayExpr:i?void 0:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e))};let s=null;this._disposables.push(this.dataSource=w.computed(()=>(s&&s.dispose(),s=new Ti.a({store:this.values(),paginate:200<this.values().length,pageSize:100})))),e instanceof Mn?(this.specifics=e.parent.specifics,this.isUpdated=e.parent.isUpdated,this.dataType=e.parent.dataType,e.model.operatorType===O.UnaryOperatorType.Minus&&(this.reverse=!0)):(this.specifics=e.specifics,this.isUpdated=e.isUpdated,this.dataType=e.dataType),t.specifics&&w.isWritableObservable(this.specifics)&&this.specifics(t.specifics),this._disposables.push(this.specifics.subscribe(e=>{this.isUpdated&&this.isUpdated()||(t.specifics=e,this._updateDate(e))})),this._value(t.value),this._disposables.push(this._value.subscribe(e=>{this.model.value=e,this.helper.onChange()})),Zr(this._value())&&this._updateDate(this.specifics()),this._disposables.push(this.value=w.computed({read:()=>{let t=this._value();if(t instanceof Date&&(t=Object(u.c)(t)),0<this.items.length){var e=this.items.filter(e=>String(e.value)===String(t))[0];if(e)return e.display}return null!==(t=this.reverse?"-"+t:t)&&void 0!==t&&""!==t?t:this.getDefaultValue()},write:e=>{0<e&&!this.reverse||e<0&&this.reverse?this._value(e):(0<e&&this.reverse||e<0&&!this.reverse)&&(this.reverse=!this.reverse,this._value(e<0?(""+e).substring(1):e),this.changeValue())}})),this._disposables.push(w.computed(()=>{var e=w.unwrap(i);e&&e.getValues&&this.parent.leftPart instanceof Un&&this.parent.leftPart.propertyName()&&e.getValues(new Wi(w.unwrap(this.path)+"."+this.parent.leftPart.propertyName())).done(e=>{this.values(e)})})),t.specifics=this.specifics()}get items(){return this.values()}get displayType(){return null}isDefaultDisplay(){return this.value()===this.getDefaultValue()}getDefaultValue(){return qn._defaultValue||(qn._defaultValue=Object(m.c)("Enter a value","StringId.FilterEmptyEnter"))}scrollTo(e){var t;this._scroll||(t=e.closest(".dx-filtereditor-tree"),this._scroll=Ii.a.getInstance(t)),this._scroll.scrollToElement(e)}}class Kn{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}}(E=On=On||{})[E.Left=0]="Left",E[E.Right=1]="Right",E[E.Unary=2]="Unary";class Yn{customValidate(e,t){return!1}checkLeftPart(e){return e instanceof Nr.a||this.customValidate(e,On.Left)}_checkRightPart(e){return e instanceof Nr.a||e instanceof Mr.a||e instanceof ka.a||e instanceof za.a||e instanceof Ma.a&&this._checkRightPart(e.operand)||this.customValidate(e,On.Right)}checkRightPart(t){if(Array.isArray(t)){for(let e=0;e<t.length;e++)if(!this._checkRightPart(t[e]))return!1;return!0}return this._checkRightPart(t)}aggregateIsValid(e){return this.checkLeftPart(e.leftPart)&&this.validateModel(e.condition)&&(!e.aggregatedExpression||e.aggregatedExpression instanceof Nr.a||this.validateModel(e.aggregatedExpression))}commonOperandValid(e){return e.leftPart instanceof Vr.a?this.validateModel(e.leftPart):this.checkLeftPart(e.leftPart)&&this.checkRightPart(e.rightPart)}groupIsValid(t){for(let e=0;e<t.operands.length;e++)if(!this.validateModel(t.operands[e]))return!1;return!0}unaryIsValid(e){return e.operand instanceof Nr.a||this.validateModel(e.operand)||this.customValidate(e.operand,On.Unary)}validateModel(e){return e instanceof Vr.a?this.aggregateIsValid(e):e instanceof xa.GroupOperator?this.groupIsValid(e):e instanceof Ma.a?this.unaryIsValid(e):this.commonOperandValid(e)}}class Jn{constructor(e){this.rtl=!1,this.parameters=w.observable([]),this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new Yn,this.filterEditorOperators={_common:[{name:"Equals",_type:"binary",insertVal:"==",value:F.BinaryOperatorType.Equal,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Does not equal",_type:"binary",hidden:!0,reverse:!0,value:F.BinaryOperatorType.Equal,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Does not equal",_type:"binary",insertVal:"!=",value:F.BinaryOperatorType.NotEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Equals",_type:"binary",reverse:!0,hidden:!0,value:F.BinaryOperatorType.NotEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Is greater than",_type:"binary",insertVal:">",value:F.BinaryOperatorType.Greater,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is less than or equal to",_type:"binary",hidden:!0,reverse:!0,value:F.BinaryOperatorType.Greater,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is greater than or equal to",_type:"binary",insertVal:">=",value:F.BinaryOperatorType.GreaterOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than",_type:"binary",hidden:!0,reverse:!0,value:F.BinaryOperatorType.GreaterOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is less than",_type:"binary",insertVal:"<",value:F.BinaryOperatorType.Less,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is greater than or equal to",_type:"binary",reverse:!0,hidden:!0,value:F.BinaryOperatorType.Less,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than or equal to",_type:"binary",insertVal:"<=",value:F.BinaryOperatorType.LessOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLessOrEqual"},{name:"Is greater than",_type:"binary",reverse:!0,hidden:!0,value:F.BinaryOperatorType.LessOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:Fa.a,localizationId:"StringId.FilterClauseBetween"},{name:"Is not between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:Fa.a,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"}],string:[],guid:[],integer:[],float:[],date:[],list:[],group:[],bool:[]},this.onChange=()=>{},this.onEditorFocusOut=e=>{},this.onSave=e=>{},this.onClosing=()=>{},this.handlers={create:(e,t)=>({data:new Fn(e,t,"create","createItems"),templateName:"dx-filtereditor-create"}),change:(e,t)=>({data:new Fn(e,t,"change","items"),templateName:"dx-filtereditor-change"}),changeProperty:(e,t)=>({data:new Fn(e,t,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}),changeValueType:(e,t)=>({data:new Fn(e,t,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}),changeParameter:(e,t)=>({data:new Fn(e,t,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"})},this.mapper={aggregate:Nn,property:Un,parameter:Gn,value:qn,group:jn,between:Vn,binary:zn,function:Rn,in:Wn,unary:Mn,default:Bn},this.serializer=e||new Ha,this.filterEditorOperators.string=[].concat(this.filterEditorOperators._common,[{name:"Contains",_type:"function",insertVal:"Contains(, )",value:M.FunctionOperatorType.Contains,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseContains"},{name:"Does not contain",_type:"function",value:M.FunctionOperatorType.Contains,type:M.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},{name:"Begins with",_type:"function",insertVal:"StartsWith(, )",value:M.FunctionOperatorType.StartsWith,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseBeginsWith"},{name:"Ends with",_type:"function",insertVal:"StartsWith(, )",value:M.FunctionOperatorType.EndsWith,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseEndsWith"},{name:"Is like",_type:"binary",insertVal:"Like",value:F.BinaryOperatorType.Like,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLike"},{name:"Is not like",_type:"binary",insertVal:"Not Like",value:F.BinaryOperatorType.Like,type:F.BinaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:Oa.a,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:Oa.a,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is blank",_type:"function",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNullOrEmpty,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseIsNullOrEmpty"},{name:"Is not blank",_type:"function",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNullOrEmpty,type:M.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"}]),this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:Oa.a,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:Oa.a,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"}]),this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.bool=this.filterEditorOperators.integer,this.filterEditorOperators.date=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",type:Oa.a,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:Oa.a,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is beyond this year",_type:"function",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalBeyondThisYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},{name:"Is next week",_type:"function",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalNextWeek,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},{name:"Is tomorrow",_type:"function",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalTomorrow,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},{name:"Is today",_type:"function",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalToday,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},{name:"Is yesterday",_type:"function",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalYesterday,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},{name:"Is last week",_type:"function",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalLastWeek,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},{name:"Is prior this year",_type:"function",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalPriorThisYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},{name:"Is same day",_type:"function",insertVal:"IsSameDay(, )",value:M.FunctionOperatorType.IsSameDay,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},{name:"Is this month",_type:"function",insertVal:"IsThisMonth()",emptyRightPart:!0,value:M.FunctionOperatorType.IsThisMonth,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},{name:"Is this week",_type:"function",insertVal:"IsThisWeek()",emptyRightPart:!0,value:M.FunctionOperatorType.IsThisWeek,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},{name:"Is this year",_type:"function",insertVal:"IsThisYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsThisYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},{name:"Is next month",_type:"function",insertVal:"IsNextMonth",emptyRightPart:!0,value:M.FunctionOperatorType.IsNextMonth,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},{name:"Is next year",_type:"function",insertVal:"IsNextYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNextYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},{name:"Is last month",_type:"function",insertVal:"IsLastMonth()",emptyRightPart:!0,value:M.FunctionOperatorType.IsLastMonth,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},{name:"Is last year",_type:"function",insertVal:"IsLastYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsLastYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},{name:"Is the year-to-date period",_type:"function",insertVal:"IsYearToDate()",emptyRightPart:!0,value:M.FunctionOperatorType.IsYearToDate,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},{name:"Is January",_type:"function",insertVal:"IsJanuary()",emptyRightPart:!0,value:M.FunctionOperatorType.IsJanuary,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},{name:"Is February",_type:"function",insertVal:"IsFebruary()",emptyRightPart:!0,value:M.FunctionOperatorType.IsFebruary,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},{name:"Is March",_type:"function",insertVal:"IsMarch()",emptyRightPart:!0,value:M.FunctionOperatorType.IsMarch,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},{name:"Is April",_type:"function",insertVal:"IsApril()",emptyRightPart:!0,value:M.FunctionOperatorType.IsApril,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},{name:"Is May",_type:"function",insertVal:"IsMay()",emptyRightPart:!0,value:M.FunctionOperatorType.IsMay,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},{name:"Is June",_type:"function",insertVal:"IsJune()",emptyRightPart:!0,value:M.FunctionOperatorType.IsJune,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},{name:"Is July",_type:"function",insertVal:"IsJuly()",emptyRightPart:!0,value:M.FunctionOperatorType.IsJuly,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},{name:"Is August",_type:"function",insertVal:"IsAugust()",emptyRightPart:!0,value:M.FunctionOperatorType.IsAugust,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},{name:"Is September",_type:"function",insertVal:"IsSeptember()",emptyRightPart:!0,value:M.FunctionOperatorType.IsSeptember,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},{name:"Is October",_type:"function",insertVal:"IsOctober()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOctober,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},{name:"Is November",_type:"function",insertVal:"IsNovember()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNovember,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},{name:"Is December",_type:"function",insertVal:"IsDecember()",emptyRightPart:!0,value:M.FunctionOperatorType.IsDecember,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"}]),this.filterEditorOperators.list=[{name:"Exists",_type:"aggregate",value:"Exists",insertVal:"Exists()",type:Vr.a,localizationId:"StringId.FilterAggregateExists"},{name:"Count",_type:"aggregate",value:"Count",insertVal:"Count()",type:Vr.a,localizationId:"StringId.FilterAggregateCount"},{name:"Max",_type:"aggregate",value:"Max",insertVal:"Max()",type:Vr.a,localizationId:"StringId.FilterAggregateMax"},{name:"Min",_type:"aggregate",value:"Min",insertVal:"Min()",type:Vr.a,localizationId:"StringId.FilterAggregateMin"},{name:"Sum",_type:"aggregate",value:"Sum",insertVal:"Sum()",type:Vr.a,localizationId:"StringId.FilterAggregateSum"},{name:"Avg",_type:"aggregate",value:"Avg",insertVal:"Avg()",type:Vr.a,localizationId:"StringId.FilterAggregateAvg"}],this.filterEditorOperators.group=[{name:"And",_type:"group",insertVal:"And",value:La.GroupOperatorType.And,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupAnd"},{name:"Or",_type:"group",insertVal:"Or",value:La.GroupOperatorType.Or,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupOr"},{name:"Not And",_type:"group",value:La.GroupOperatorType.And,reverse:!0,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupNotAnd"},{name:"Not Or",_type:"group",value:La.GroupOperatorType.Or,reverse:!0,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupNotOr"}],this._initDisplayText()}get _allFilterEditorOperators(){const t=[];return Object.keys(this.filterEditorOperators).forEach(e=>{t.push(...this.filterEditorOperators[e])}),t}_getFilterEditorOperator(t,e,i){return e.filter(e=>e.value===t.operatorType&&e.type===t.enumType&&e.reverse===i)[0]}_initDisplayText(){Object.keys(this.filterEditorOperators).forEach(e=>{this.filterEditorOperators[e].forEach(Ln)})}registrateOperator(e,t,s,i,r="function",a=!1,n){if(this.filterEditorOperators[e]){if(!t[s]){let i=0,r;_.each(t,(e,t)=>{r=parseInt(e),!isNaN(r)&&i<r&&(i=r)}),t[++i]=s,t[s]=i}s={name:i,value:t[s],type:t,_type:r,reverse:a,displayText:Object(m.c)(i,n)};this.filterEditorOperators[e].push(s)}}generateTreelistOptions(e,t){const i=w.observable(null),r=w.observable(null);return{subscription:w.computed(()=>{i({itemsProvider:w.unwrap(e),selectedPath:w.observable(""),selected:r,path:w.unwrap(t),treeListController:new Kn(r),rtl:this.rtl})}),options:i}}}const Xn=Object(C.d)(Jn);function Zn(e){Xn(e)}class Qn extends Ta{constructor(e){super(e);const t=new Jn,s=[],a=[],n=[];Object.keys(t.filterEditorOperators).forEach(e=>{t.filterEditorOperators[e].forEach(e=>{if(e.insertVal){const t=e.name,i=e.insertVal,r=e.paramCount;e.type===M.FunctionOperatorType&&0===s.filter(e=>e.name===t).length?s.push({name:t,insertVal:i}):e.type===Vr.a&&0===a.filter(e=>e.name===t).length?a.push({name:t,insertVal:i}):e.type!==Vr.a&&e.type!==M.FunctionOperatorType&&0===n.filter(e=>e.name===t).length&&n.push({name:t,insertVal:i,paramCount:r})}})}),this.filterEditorAvailable={operators:n,aggregate:a,functions:s}}getFunctionsCompletions(){const t=[];return this.filterEditorAvailable.functions.forEach(e=>{t.push(Pa({text:e.name,paramCount:e.insertVal.split(",").length},e.insertVal,e.insertVal))}),t}getAggregateCompletions(){const t=[];return this.filterEditorAvailable.aggregate.forEach(e=>{t.push(Pa({text:e.name,paramCount:0},e.insertVal,e.insertVal))}),t}getOperatorCompletions(t){const i=[];return this.filterEditorAvailable.operators.forEach(e=>{i.push(e.insertVal.match(new RegExp("\\([^\\(\\)]*\\)","g"))?Pa({text:e.name,paramCount:e.paramCount||e.insertVal.split(",").length},e.insertVal,e.insertVal):{caption:e.insertVal,snippet:t+e.insertVal,meta:"operator"})}),i}}const eo={DateTime:{type:"System.DateTime",value:new Date(Date.now()),patterns:[]},Number:{type:"System.Int32",value:"123456789",patterns:["#.00","#,#","0.E+0.0","0.e+0.0","n","n1","n2","e","e1","f","f1"]},Percent:{type:"System.Int32",value:"100",patterns:["0.00%","0%"]},Currency:{type:"System.Int32",value:"100",patterns:["$0.00","$0","c","c1","c2"]},Special:{type:"System.Int32",value:"123456789",patterns:["(###) ### - ####","### - ## - ####"]},General:{type:"System.String",value:"",patterns:["General format have no specific number format"]}};class to extends Gt{constructor(){super(...arguments),this.onContentReady=e=>{this._component=e.component},this.hideOnOutsideClick=e=>{var t=this.getComponent(),t=t&&T(t.content());return!t||!(t.has(e.target)||t.is(e.target))}}onPropertyChanged(e){}getComponent(){return this._component}dispose(){super.dispose();var e=this._component;e&&e.dispose(),this._component=null}}(function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([A(void 0)],to.prototype,"_component",void 0);class io extends yi.a{_setContentHeight(){this._$popupContent.css({height:"100%"})}}l()("dxPopupWithAutoHeight",io);class ro{constructor(e={}){this.options=e,this._resize=(e,t,i,r)=>{var s;return this.options.resultSize?this.options.resultSize(this.options.resultSize()-(e||t)+i):r&&(e?(s=r.offsetWidth-e+i,r.style.width=s+"px"):t&&(s=r.offsetHeight+t-i,r.style.height=s+"px")),e||t}}resizable(e,t){e=e||{starting:()=>{},stopped:()=>{}};let r=0;return Object(v.b)({},e,{handles:t,$selectedNodes:_.fn.constructor(),stopped:()=>{r=0},resize:(e,t,i)=>{r=this._resize(-i.width,i.height,r,t),this.options.onResize&&this.options.onResize()},handleClassName:"dxd-back-secondary",disabled:this.options.disabled||w.observable(!1)})}}class so{constructor(){this.globalMatch=!0,this.autoLoadItems=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=z.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"}}function ao(i){const r=i.values;i.element;var e=f.unwrap(r);let s=null;const a=()=>{var e=f.unwrap(r),t=i.element.closest(".dx-scrollview"),t=t&&Ii.a.getInstance(t);t&&t.update(),e.onItemsVisibilityChanged&&e.onItemsVisibilityChanged()},t=e=>{var t=e.treeListController||new $n;(e.treeListController=t).dragDropHandler=t.dragDropHandler||i.dragDropHandler,e.factory=e.factory||new Qi,e.store=new Xi,e.itemsProvider=f.unwrap(e.itemsProvider),e.pageSize=e.pageSize||-1,e&&e.itemsProvider&&(e.rtl||(e.rtl=!!i.element.closest(".dx-rtl")),s&&s.dispose(),s=e.factory.createRootItem(e,e.path,a,e.rtl),f.isSubscribable(t.root)?(t.searchEnabled=!0,t.searchOptions=t.searchOptions||new so,t.root(s)):t.root=s,i.createChildContext(s.getViewModel()))};t(Object(v.b)({},e));let n=null;const o=e=>{e&&t(Object(v.b)({},e))};return f.isSubscribable(r)?n=r.subscribe(e=>o(e)):f.isSubscribable(r.itemsProvider)?n=r.itemsProvider.subscribe(e=>e&&o(r)):r.setTreeListChangedEvent&&(n={dispose:r.setTreeListChangedEvent(o)}),()=>{s&&s.dispose(),s=null,n&&n.dispose()}}class no extends d.a{constructor(){super(),this._processedNodes=[],this._currentProcess=[],this.searchTimeout=500,this._roots=[],this.searchPlaceholder=()=>Object(u.n)();const t=w.observable("");let i=null;this._disposables.push(this.value=w.computed({read:()=>t(),write:e=>{clearTimeout(i),i=setTimeout(()=>{t(e)},this.searchTimeout)}})),this._disposables.push(this.value.subscribe(e=>this.valueChanged(e)))}static createController(e,t,i=no,r="dx-treelist-search-panel"){const s=new i;i=_.fn.constructor(e);const a=[];t.forEach(e=>{e&&(e.root=e.root||w.observable(),a.push(e.root.subscribe(e=>{s.addController(e),s.valueChanged("")})))}),s._disposables.push({dispose:()=>{t.forEach(e=>{e&&w.isSubscribable(e.root)&&(e.root(null),delete e.root)})}});r=g(r);i.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),i.children().remove(),i.append(r),w.cleanNode(i.children()[0]),w.applyBindings(s,i.children()[0]);const n=()=>{a.forEach(e=>e.dispose()),s&&s.dispose(),w.utils.domNodeDisposal.removeDisposeCallback(e,n)};w.utils.domNodeDisposal.addDisposeCallback(e,n)}dispose(){super.dispose(),this.clearProcess()}clearProcess(){this._currentProcess.forEach(e=>e.stop&&e.stop()),this._currentProcess=[],this._processedNodes=[]}valueChanged(r){r||this._processedNodes.forEach(e=>e.visible=!0),this.clearProcess(),this._roots.forEach(i=>{i.treeListController.textToSearch(r),r?this._currentProcess.push(i.walkOnTree(e=>{var t=te(e.data[i.treeListController.searchOptions.searchExpr],r,i.treeListController.searchOptions);this._processedNodes.push(e),e.visible=!!t,t&&this._collapseTreeBranch(e)})):i.itemsCollectionHasMutated()})}_collapseTreeBranch(e){e.parent&&(e.parent.collapsed&&e.parent.toggleCollapsed(),this._collapseTreeBranch(e.parent))}addController(e){this._roots=this._roots.filter(e=>!e.isDisposing),e.treeListController.textToSearch=e.treeListController.textToSearch||w.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}}w.bindingHandlers.treelist={init:function(i,e,t,r,s){const a=w.unwrap(e());e=ao({element:i,values:e(),createChildContext:e=>{var t=a.templateHtml||g("dx-treelist"),t=_.fn.constructor(i).html(t),e=s.createChildContext(e);w.applyBindings(e,t.children()[0])},dragDropHandler:s.$root.fieldDragHandler});return Object(C.c)(i,e),{controlsDescendantBindings:!0}}},w.bindingHandlers.treeListSearchPanel={init:function(e,t,i,r,s){var t=t(),a=w.unwrap(t.template),n=w.unwrap(t.modelType);let o=w.unwrap(t.controllers);return Array.isArray(o)||(o=[o]),no.createController(e,o,n,a),{controlsDescendantBindings:!0}}};class oo extends d.a{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}_getElementViewModel(e){return e&&e.data&&e.data.data}dispose(){super.dispose(),this._targetElement=null,this._target=null,this._draggable=null}isDragToBottom(){return Er(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()){var t,i,r=this.getSiblings();r&&(-1<(i=(t=r.peek()).indexOf(this._draggableModel))&&t.splice(i,1),t.splice(t.indexOf(this._targetModel)+(e?1:0),0,this._draggableModel),r.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=_.fn.constructor(t).closest(".dx-treelist-item").get(0),this._targetModel=this._getElementViewModel(this._target)}stop(){this.clearDroppableClasses(),this.started=!1}helper(e,t){t=_.fn.constructor(t.target).closest(".ui-draggable"),t=new mt(6,6,null,t.height());t.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(t,{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()),_.fn.constructor(this._targetElement).addClass(e)}_removeClass(e){_.fn.constructor(e).removeClass(this.droppableClassName+" "+this.approveClassName+" "+this.classDropBefore+" "+this.classDropAfter)}}var lo=t(39);function uo(e,t){function i(){var e=!f.unwrap(t.alwaysShow)&&!f.unwrap(o());t.setCollapsed?t.setCollapsed(e):f.isSubscribable(t.collapsed)&&t.collapsed(e),r.addClass("dx-transition-style"),o()&&r.addClass("dx-accordion-collapsed"),setTimeout(()=>{r.removeClass("dx-accordion-collapsed"),o()||r.removeClass("dx-transition-style")},500)}const r=_.fn.constructor(e),s=r.find(".dx-accordion-content").first(),a=()=>{var e=r.parents(".dx-scrollview");0<e.length&&(e=Ii.a.getInstance(e.get(0)))&&e.update()},n=r.find(".dx-accordion-header,.dx-accordion-button").get(0),o=()=>t.getCollapsed?t.getCollapsed():f.unwrap(t.collapsed);lo.off(n,"dxclick");if(lo.on(n,"dxclick",i),o()?s.hide():s.show(),f.isSubscribable(t.collapsed)){const d=t.collapsed.subscribe(e=>{s.slideToggle(t.timeout,()=>a())});return()=>{lo.off(n,"dxclick",i),d.dispose()}}if(t.setCollapsedChangedEvent){const l=t.setCollapsedChangedEvent(()=>s.slideToggle(t.timeout,()=>a()));return()=>{lo.off(n,"dxclick",i),l()}}throw Error("Not working!")}w.bindingHandlers.dxPropertyGrid={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=g("dx-propertieseditor"),a=_.fn.constructor(e).append(a),t=t();const n=new gs(t.target,t.editorsInfo,t.level,t.parentDisabled,t.recreateEditors,t.textToSearch);return e.setAttribute("role","tree"),w.applyBindings(s.createChildContext(n.getViewModel()),a.children()[0]),Object(C.c)(e,function(){n.dispose()}),{controlsDescendantBindings:!0}}},w.virtualElements.allowedBindings.lazy=!0,w.bindingHandlers.lazy={init:function(r,e,s,a,n){let t=e();const o=t.resolver||ji,d=t.isResolved;t.innerBindings&&(t=t.innerBindings);let l=!1,u=[];return _.each(t,(e,t)=>{const i=w.bindingHandlers[e];u.push(o.execute(()=>{if(!l){let e=!1;w.computed({read:()=>{!e&&i.init&&(i.init(r,()=>t,s,a,n),e=!0),i.update&&i.update(r,()=>t,s,a,n)},disposeWhenNodeIsRemoved:r}),d&&d(!0)}},1))}),Object(C.c)(r,function(){l=!0,u.forEach(e=>e.dispose()),u=[]}),{controlsDescendantBindings:!0}}},w.bindingHandlers.dxdAccordion={init:function(e,t){t=uo(e,t());Object(C.c)(e,t)}},w.bindingHandlers.dxdAccordionExt={init:function(e,t,i,r,s){const a=t(),n=_.fn.constructor(e),o=()=>{var e=n.parents(".dx-scrollview");0<e.length&&(e=Ii.a.getInstance(e.get(0)))&&e.update()},d=n.find(".dx-accordion-content").first();let l=null;a.collapsed&&!0===a.lazyContentRendering&&(l=d.html(),d.empty());const u=e=>{e?d.slideUp(a.timeout,()=>{o()}):(l&&(d.html(l),w.applyBindingsToDescendants(s,d.get(0)),l=null),d.slideDown(a.timeout,()=>{o()}))};if(w.isSubscribable(a.collapsed)){const c=a.collapsed.subscribe(e=>u(e));Object(C.c)(e,()=>c.dispose())}else{if(!a.setCollapsedChangedEvent)throw Error("Not working!");{const p=a.setCollapsedChangedEvent(e=>u(e));Object(C.c)(e,()=>p())}}a.collapsed?d.hide():d.show()}},w.bindingHandlers.dxLocalizedSelectBox={init:function(e,t,i,r,s){const a=t(),n=a.displayExpr,o=(a.placeholder=a.placeholder||Object(u.o)(),a.noDataText=a.noDataText||Object(u.j)(),a.encodeNoDataText=!0,a.displayExpr=function(e){return e&&(n?Object(m.c)(_.isFunction(n)?n(e):e[n],e.localizationId):Object(m.c)(e,e.localizationId))},a.itemTemplate=function(e,t,i){var e=s.createChildContext({display:a.displayExpr(e)}),r=(_.fn.constructor(i).children().remove(),g("item-with-title")),r=_.fn.constructor(i).append(r);return w.applyBindingsToDescendants(e,r[0]),i},a.useLocalizedTextAsValue&&(a.valueExpr=a.displayExpr),r.getOptions?r.getOptions(a):a);return w.bindingHandlers.dxSelectBox.init(e,()=>o,i,r,s),{controlsDescendantBindings:!0}}},w.bindingHandlers.styleunit={update:function(i,e){e=w.utils.unwrapObservable(e()||{});_.each(e,(e,t)=>{t=w.utils.unwrapObservable(t)||0,i.style[e]=t+"px"})}},w.bindingHandlers.service={init:function(e,t,i,r,s){var a,t=w.unwrap(t()||{}),t=(a=t.name,r[a]||((t=s.$parents.filter(e=>void 0!==e[a])[0])?t[a]:null)),t=t&&t(r);t&&(r=s.createChildContext(t.data),w.renderTemplate(t.templateName,r,{},e,"replaceNode"))}};class co extends k{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(P.c).concat(null!=(e=this.editorOptions)&&e.isNullable?[]:P.b)}}const po={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:h.getEditor("combobox"),values:Hs,editorOptions:{searchEnabled:!0}},ho={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:h.getEditor("numeric")},go={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:h.getEditor("combobox"),valuesArray:Cn},mo=[po,ho,go,{propertyName:"modificators",editor:h.getEditor("modificators")}];class fo extends ms{constructor(e,t,i,r){super(e,t,i,r)}createObjectProperties(){var e=new wn(this.value);return this._disposables.push(e),new gs(w.observable(e),{editors:mo},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}function vo(e,t){t=t.split("\n");let i=t[1];t=t[2].length;return 0===i.indexOf("...")&&(i=i.split("...")[1]),{start:e=e.indexOf(i),end:e+t}}w.bindingHandlers.focus={init:function(t,e){const i=(e().on||e()).subscribe(e=>{e&&setTimeout(()=>{_.fn.constructor(t).find(":input").focus()},1)});Object(C.c)(t,function(){i.dispose()})}},w.bindingHandlers.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")}};class xo extends d.a{constructor(e,t,i=w.observable(!1),r=!1,s,a=w.observable(!1),n){var o,d;super(),this.options=e,this._displayNameProvider=s,this.popupVisible=a,this._updateTextAreaValue=(e,t)=>{var t=this._getTextArea(t),i=this.textAreaValue().toString(),r=t&&t.selectionStart||i.length,e=" "==i[r-1]?(e.val||e.text||e)+" ":" "+(e.val||e.text||e)+" ";this.textAreaValue([i.slice(0,r),e,i.slice(r)].join("")),t&&t.setSelectionRange&&(t.focus(),i=r+(-1!==e.indexOf("(")?e.indexOf("(")+1:e.length),t.setSelectionRange(i,i))},this._updateAceValue=(e,t)=>{var i=this.editorContainer(),{row:r,column:s}=i.getCursorPosition();let a=(e.val||e.text||e)+" ";s&&" "!==i.getSession().getValue().split("\n")[r][s-1]&&(a=" "+a),i.insert(a),i.focus(),Yr(e.paramCount,i,a)},this._updateValue=(e,t)=>{this.aceAvailable?this._updateAceValue(e,_.fn.constructor(t)):this._updateTextAreaValue(e,_.fn.constructor(t))},this.patchFieldName=e=>e,this._parametersPutSelectionHandler=(e,t)=>{e=e.split("."),e="?"+this.patchFieldName(e[e.length-1]);this._updateValue(e,t)},this._fieldsPutSelectionHandler=(e,t)=>{var i=this.koOptions.peek().path.peek(),e=e.substring(i.length+1);const r="["+this.patchFieldName(e)+"]";this._displayNameProvider?this.displayExpressionConverter.toDisplayExpression(i,r).done(e=>{this._updateValue(e,t)}).fail(()=>{this._updateValue(r,t)}):this._updateValue(r,t)},this.aceAvailable=Tn(),this.title=()=>Object(m.c)("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption"),this.value=w.observable(""),this.textAreaValue=w.observable(""),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{const r=w.computed(()=>i.koOptions()&&w.unwrap(i.koOptions().path)||""),s=w.computed(()=>i.koOptions()&&w.unwrap(i.koOptions().functions)||[]),a=new Ta({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider,path:r,functions:s,rootItems:i.options.rootItems,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||_.Deferred().resolve(t).promise()});return[r,s].forEach(e=>a._disposables.push(e)),[a]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},this.additionalOptions={onChange:t=>{var i=t.getValue();try{var r=Rr.parse(i);this.koOptions().validate&&this.isValid(this.koOptions().validate(r)),t.clearAnnotations()}catch(e){i=e.hash&&e.hash.line||0,r=e.message.split("\n"),r=r[1]+"\n"+r[2];t.setAnnotations([{row:i,column:0,text:r,type:"error"}])}}},this.callbacks={focus:_.noop},this.koOptions=w.observable(null),this.editorContainer=w.observable(),this.isValid=w.observable(!0),this.buttonItems=[],this.rtl=!1,this.modelValueValid=w.computed(()=>{var e=this.koOptions();return!e||!w.isObservable(e.isValid)||e.isValid()}),this.modelValueWarning=w.computed(()=>{var e=this.koOptions();return e&&w.unwrap(e.warningMessage)||""}),this.getPopupContainer=Xr,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=w.computed({read:()=>{var e=this.koOptions()&&w.unwrap(this.koOptions().value);return e&&e.toString()||""},write:e=>this.koOptions()&&this.koOptions().value(e)})),s&&e.path?(this.displayExpressionConverter=new Ra(s),a=w.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()),this.displayValue=Ia(a,this.value,this.displayExpressionConverter,this._disposables),this._disposables.push(a)):this.displayValue=this.value,this.rtl=r,this.validate=(t,i)=>{try{return Rr.parse(t),this.isValid(!0),!0}catch(e){t=vo(t,e.message),i=this._getTextArea(i&&i.element);i&&i.setSelectionRange(t.start,t.end),this.isValid(!1)}},this._disposables.push(this.popupVisible.subscribe(e=>{e?this.initDisplayValue():this.editorContainer(null)}));const l=w.computed(()=>this.koOptions()&&this.koOptions().fieldName&&this.koOptions().fieldName());this._disposables.push(this.fieldListProvider=(o=t,d=l,w.computed(()=>{const i=w.unwrap(o),r=w.unwrap(d);return r?{getItems:e=>{const t=_.Deferred();return i.getItems(e).done(e=>{t.resolve(e.filter(e=>e.name!==r))}).fail(()=>t.reject()),t.promise()},getValues:e=>i.getValues(e)}:i}))),this.disabled=i;this.save=e=>{var t=this.getValue();this.validate(t,e)&&(this.displayValue(t),this.popupVisible(!1))};let u=null;const c=e=>{w.unwrap(e.data.type);u&&(u.isSelected=!1),(u=e).isSelected=!0};e=w.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()&&this._createToolsOptions(this.koOptions().path(),this.fieldListProvider(),new kn(l,(e,t)=>{this._fieldsPutSelectionHandler(e.path,t)},c))),this.parametersTreeListController=new Dn(this._parametersCustomFilter,this._parametersPutSelectionHandler,c),s=w.pureComputed(()=>this._createToolsOptions("",this.fieldListProvider(),this.parametersTreeListController));this._disposables.push(this.tools=new Pn(this._updateValue,s,this.koOptions,e)),this._disposables.push(this.modelValueValid,this.modelValueWarning),this._createMainPopupButtons(),[l,e,s].forEach(e=>this._disposables.push(e)),this.resizeHelper=new ro({onResize:()=>this.resizeAceEditor()}),this.editorInputId=n}dispose(){super.dispose(),this.koOptions(null),this.editorContainer(null),this.options=null}_createMainPopupButtons(){const t=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Object(m.c)("OK",va.DataAccessBtnOK),type:"default",stylingMode:"contained",onClick:function(e){t.save(e)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Object(m.c)("Cancel",va.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){t.popupVisible(!1)}}}]}_getTextArea(e){e=_.fn.constructor(e);return e&&e.parents(".dx-expressioneditor").find(":input")[0]}_createToolsOptions(e,t,i){return{itemsProvider:t,selectedPath:w.observable(""),path:w.observable(e),templateName:"dx-ee-treelist-item",treeListController:i,rtl:this.rtl}}_parametersCustomFilter(e){return"parameters"===e.specifics||e.specifics===Aa||!Jr(e)}onShown(){this.callbacks.focus()}onHiding(e){var t=this.koOptions();return t&&t.onHiding&&t.onHiding(e)}onShowing(e){var t=this.koOptions();return t&&t.onShowing&&t.onShowing(e)}onContentReady(e){var t=this.koOptions();return t&&t.onContentReady&&t.onContentReady(e)}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}initDisplayValue(){var e;this.tools.resetCategoriesSelection&&this.tools.resetCategoriesSelection(),this.textAreaValue(this.displayValue()),this.aceAvailable?(e=(e=this.editorContainer())&&e.getSession())&&e.setValue(this.textAreaValue()):this.validate(this.value())}getValue(){let e=this.textAreaValue();var t;return this.aceAvailable&&(t=(t=this.editorContainer())&&t.getSession(),e=t&&t.getValue()),e}}w.bindingHandlers.dxExpressionEditor={init:function(e,t,i,r,s){let a=_.fn.constructor(e);a.children().remove();const n=t();_.fn.constructor(e).addClass(n.wrapper?"dx-expressioneditor-content":"dx-popup-general");t=n.editorTemplateName||"dx-expressioneditor";let o=null,d=new xo(w.unwrap(n.options),n.fieldListProvider,r.disabled,0<_.fn.constructor(e).closest(".dx-rtl").length,n.displayNameProvider,n.popupVisible,r.editorInputId);w.isSubscribable(n.options)&&(o=n.options.subscribe(e=>{e&&d.koOptions(e)})),n.wrapper&&n.wrapper.editor(d);r=s.createChildContext(d),s=document.createElement("div");a=a.append(s),w.renderTemplate(t,r,{},s,"replaceNode");return Object(C.c)(e,()=>{d.dispose(),d=null,n.wrapper&&n.wrapper.editor(null),o&&o.dispose()}),{controlsDescendantBindings:!0}}};var E=t(60),bo=t.n(E),yo=t(5);class _o extends pn{constructor(t,e,i=!1,r,s){super(),this.options=t,this._displayNameProvider=r,this._advancedMode=w.observable(!1),this.textFocused=w.observable(!1),this.aceAvailable=Tn(),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{var r=w.computed(()=>this.path&&this.path()),e=new Qn({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider(),path:r,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||_.Deferred().resolve(t).promise()});return e._disposables.push(r),[e]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},this.additionalOptions={onChange:e=>this.onValueChange(e.getValue()),changeTimeout:200,onFocus:e=>this.onFocus(),onBlur:e=>this.onBlur()},this.editorContainer=w.observable(),this.textVisible=w.observable(!1),this.getPopupContainer=e=>Xr(e,this.options().popupContainer),this.timeout=null,this.animationTimeout=null,this.advancedMode=w.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=()=>Object(m.c)("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError"),this.advancedModeText=w.observable(Object(m.c)("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode")),this.operandSurface=w.observable(null),this.operand=null,this.popupService=new xs,this.rtl=i,this.initializeInnerValue(),t()&&t().helper&&(t().helper.rtl=i),this._disposables.push(this.disabled=w.computed(()=>w.unwrap(this.options()&&this.options().disabled()))),this.displayExpressionConverter=r&&new Ra(r),this.save=()=>{var e;this.helper.onSave(this.value()),this.operandSurface()&&this.isSurfaceValid()?(e=t().helper.serializer.serialize(this.operand,!1),this.options().value(e)):this.options().value(this.value()),this.popupVisible(!1)},this.displayValue=Ia(this.path,this.value,this.displayExpressionConverter,this._disposables);i=w.computed({read:()=>{var e=this.options();return e&&e.value()},write:e=>{var t=this.options();t&&t.value(e)}});this.modelDisplayValue=Ia(this.path,i,this.displayExpressionConverter,this._disposables),this.fieldListProvider=e,this.modelValueIsValid=w.computed(()=>t()&&this._validateValue(t().value())),this.isValid=w.computed(()=>this._validateValue(this.value())),this.isSurfaceValid=w.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(i),this._disposables.push(this.modelValueIsValid),this._disposables.push(this.isValid),this._disposables.push(this.isSurfaceValid),this._disposables.push(this.popupVisible.subscribe(e=>{e?(this.value(this.options().value()),this.isSurfaceValid()?(this.operand=this._generateOperand(this.value()),this.operandSurface(this._generateSurface(this.operand))):(this.textVisible(!0),this._advancedMode(!0),this.editorContainer()&&this.focusText()),t().helper.onChange=()=>{this.value(t().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=e=>t().helper.handlers.create(e,this.popupService),this.createChangeType=e=>t().helper.handlers.change(e,this.popupService),this.createChangeProperty=e=>t().helper.handlers.changeProperty(e,this.popupService),this.createChangeParameter=e=>t().helper.handlers.changeParameter(e,this.popupService),this.createChangeValueType=e=>t().helper.handlers.changeValueType(e,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=s}_generateOperand(e){return this.options().helper.serializer.deserialize(e)}_generateSurface(e){let t=null;e=new(t=e instanceof Ma.a?this.options().helper.mapper.unary:this.options().helper.mapper.group)(e,this,this.fieldListProvider,this.path);if(e instanceof Mn){if(!(e.model.operand instanceof xa.GroupOperator))return this.operand=new xa.GroupOperator(La.GroupOperatorType.And,[this.operand]),e.dispose(),this._generateSurface(this.operand);e.operand().canRemove=!1}return e.canRemove=!1,e}_validateValue(e){try{return!(!this.options()||!this.options().helper||(this.options().helper.serializer.deserialize(e),0))}catch(e){return!1}}canSave(){return this.isValid()}initializeInnerValue(){this.value=w.observable("")}change(e,t){this.operand=yo.criteriaCreator.changeByType(e),this.operand.assignFrom(t.model);let i=null;e=new(i=this.operand instanceof Ma.a?this.options().helper.mapper.unary:this.options().helper.mapper.group)(this.operand,this,this.fieldListProvider,this.path);e.canRemove=!1,e instanceof Mn&&(e.operand().canRemove=!1),this.operandSurface(e)}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(bo.a.getInstance(e.get(0)))}updateCriteria(){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 t=t=>{setTimeout(e=>{t.renderer&&t.renderer.updateText(),t.focus()},1)};if(this.editorContainer())t(this.editorContainer());else{const i=this.editorContainer.subscribe(e=>{i.dispose(),t(e)})}}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}get cancelLocalization(){return Object(m.c)("Cancel","StringId.Cancel")}get saveLocalization(){return Object(m.c)("OK","StringId.OK")}}w.bindingHandlers.dxFilterEditor={init:function(e,t,i,r){_.fn.constructor(e).children().remove(),_.fn.constructor(e).addClass("dx-popup-general");const s=g("dx-filtereditor"),a=_.fn.constructor(e).append(s),n=t(),o=w.observable(w.unwrap(n.fieldListProvider)),d=[],l=w.computed(()=>w.unwrap(n.options)),u=(d.push(w.computed(()=>{l()&&l().itemsProvider?o(w.unwrap(l().itemsProvider)):o(w.unwrap(n.fieldListProvider))})),d.push(w.computed(()=>{n.getDisplayNameByPath&&l()&&l().helper&&!l().helper.getDisplayPropertyName&&(l().helper.getDisplayPropertyName=n.getDisplayNameByPath)})),new _o(l,o,0<_.fn.constructor(e).closest(".dx-rtl").length,n.displayNameProvider,r.editorInputId));return w.applyBindingsToDescendants(u,a.children()[0]),Object(C.c)(a.children()[0],()=>{d.forEach(e=>e.dispose()),l.dispose(),u.dispose()}),{controlsDescendantBindings:!0}}};class Co extends _o{constructor(e,t,i,r=!1,s){super(t,i,r,s),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(){var e={};return this.advancedModeTop()?e.top="0px":e.bottom="0px",this.advancedModeLeft()?e.left="0px":e.right="0px",e}getContentStyles(){var 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()}}}w.components.register("dx-filtereditor-plain",{viewModel:{createViewModel:(e,t)=>{t=new Co(t.element,e.options,w.observable(e.fieldListProvider),void 0,e.displayNameProvider);return t.popupVisible(!0),t}},template:g("dx-filtereditor-plain")}),w.components.register("dx-filtereditor-advanced",{viewModel:{createViewModel:(e,t)=>{const i=new _o(e.options,w.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:g("dx-filtereditor-advanced")}),w.bindingHandlers.cacheElement={init:function(e,t,i,r,s){t().action(_.fn.constructor(e))}};class wo{constructor(e,t,i,r){this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=()=>{this.value("")},this.title=w.pureComputed({read:()=>{var e=this._title();return Object(m.c)(e.text,e.localizationId)},write:e=>{this._title({text:e})}}),this.value=e,this.path=t||w.observable(""),this.disabled=i||w.observable(!1);e=Xn();this.helper=new e,this._title=w.observable(r||{text:Object(m.c)("Filter Editor","DataAccessUIStringId.FiltersView")})}}class Ao extends wo{constructor(){super(...arguments),this.realTimeUpdate=!0,this.advancedModePosition="TopRight"}}class Eo extends d.a{constructor(t,e,i,r,s,a,n){super(),this._isDisabled=w.observable(!1),this._timeout=null,this.currentType=w.observable(),this.patternList=w.observableArray([]),this.canAddCustomFormat=w.observable(!1),this.formatPrefix=w.observable(""),this.formatSuffix=w.observable(""),this.previewString=w.observable("Preview string"),this.formatResult=w.observable(""),this.selectedFormats=w.observable([]),this.selectedTypes=w.observable([]),this.popupVisible=w.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",t),this.option("disabled",e||!1),this.option("rtl",a||!1),this.option("popupContainer",n||".dx-designer-viewport");const o=this;this.popupService=new xs,this._standardPatternSource=i||eo,this._customPatternSource=r||{},this.types=this._convertArray(Object.keys(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(e=>{e&&(o._initEditor(t()),o.selectedTypes(o.types.filter(e=>e.name===o.currentType())))})),this._createMainPopupButtons(),s&&s.updatePreview&&(this.updatePreview=s.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(),s&&s.saveCustomPattern(o.currentType(),o.formatResult()),o._updateSelection(o.patternList().length-1),o.canAddCustomFormat(!1))},this.removeCustomFormat=e=>{const t=o.selectedFormats()[0];var i=o.patternList(),r=i.map(e=>e.name).indexOf(e.name);o.customPatterns.splice(o.customPatterns.indexOf(e.name),1),o._updateFormatList(),s&&s.removeCustomPattern(o.currentType(),e.name),t.name===e.name?o._updateSelection(r===i.length-1?o.patternList().length-1:r):o.selectedFormats(o.patternList().filter(e=>e.name===t.name))}}okAction(){var 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:Object(m.c)("OK",va.DataAccessBtnOK),type:"default",stylingMode:"contained",disabled:this._isDisabled,onClick:function(){e.okAction()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Object(m.c)("Cancel",va.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){e.popupVisible(!1)}}}]}_convertArray(e,t){return e.map(e=>({name:e,displayName:Object(m.c)(e),canRemove:!!t}))}_scrollToBottom(){var e=_.fn.constructor(".dx-format-string .dx-format-string-formats").find(".dx-scrollview").filter(":visible"),e=Ii.a.getInstance(e.get(0));e&&e.scrollTo&&e.scrollTo(e.scrollHeight())}_updateFormatList(){this.selectedFormats([]);var e=this._standardPatternSource[this.currentType()];this.patternList(this._convertArray(e.patterns).concat(this._convertArray(this.customPatterns,!0)))}_updateSelection(e){e=this.patternList()[e||0];e&&(this.selectedFormats([e]),this.formatResult(e.name))}_setPreviewString(e){this.previewString(e),this._isDisabled(!1)}_setErrorMessage(e){this.previewString(Object(m.c)("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text")),this._isDisabled(e)}_updatePreview(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(()=>{if(this.isGeneralType)this.previewString(this._getGeneralPreview(void 0));else{var e=this._standardPatternSource[this.currentType()];const t=this.updatePreview(e.value,e.type,this._wrapFormat());(this._lastUpdatePreviewPromise=t).done(e=>{this._lastUpdatePreviewPromise===t&&(e.Result?this._setPreviewString(e.Result):this._setErrorMessage(e.IsError))}).fail(e=>{this._lastUpdatePreviewPromise===t&&this.previewString(Object(m.c)("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))})}},100)}_getGeneralPreview(e="###"){return this.formatPrefix()+e+this.formatSuffix()}_wrapFormat(e){e=e||this.formatResult();return e&&-1!==e.indexOf("{0:")?e:e?"{0:"+e+"}":""}_updateCanAddCustomFormat(i){if(i){let t=!0;Object.keys(this._standardPatternSource).some(e=>!(t=-1===this._standardPatternSource[e].patterns.indexOf(i))),this.canAddCustomFormat(t&&-1===this.customPatterns.indexOf(i))}else this.canAddCustomFormat(!1)}_initEditor(i){if(i)if(-1!==i.indexOf("{0}"))this.currentType("General"),this.formatPrefix(i.substring(0,i.indexOf("{0}"))),this.formatSuffix(i.substring(i.indexOf("{0}")+3));else{const r=i.indexOf("{0:"),s=i.indexOf("}",r),a=i.substring(r+3,s);let t;const n=e=>{this.currentType(e),0===r&&s===i.length-1&&(this.selectedFormats(this.patternList().filter(e=>e.name===a)),this.formatResult(a),t=!0)};Object.keys(this._standardPatternSource).some(e=>{var t;return-1!==this._standardPatternSource[e].patterns.indexOf(a)?(n(e),!0):!(!(t=this._customPatternSource[this._standardPatternSource[e].type])||-1===t.indexOf(a)||(n(e),0))}),t||(this.currentType(this.types[0].name),this.selectedFormats([]),this.formatResult(i))}else this.setType({itemData:this.types[0]})}updateInputText(e,t){this[e](t.option("text"))}option(e,t){return void 0!==t&&(w.isObservable(this[e])?this[e](t):this[e]=t),w.unwrap(this[e])}updatePreview(e,t,i){return _.Deferred().resolve({Result:e||"preview string"}).promise()}get customPatterns(){var e=this._standardPatternSource[this.currentType()];return this._customPatternSource[e.type]=this._customPatternSource[e.type]||[]}get isGeneralType(){return"General"===this.currentType()}getDisplayText(e){return Object(m.c)(this.localizationIdMap[e].text,this.localizationIdMap[e].localizationId)}getPopupContainer(e){return _.fn.constructor(e).closest(this.option("popupContainer"))}}w.bindingHandlers.dxFormatEditor={init:function(e,t){_.fn.constructor(e).children().remove(),_.fn.constructor(e).addClass("dx-popup-general");var i=g("dx-format-string"),i=_.fn.constructor(e).append(i),t=t();const r=new Eo(t.value,t.disabled,t.standardPatterns,t.customPatterns,t.actions,t.rtl,t.popupContainer);return w.applyBindings(r,i.children()[0]),Object(C.c)(e,function(){r.dispose()}),{controlsDescendantBindings:!0}}};class Io extends k{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a)}_checkBoxInitializedHandler(e){const t=e.jquery||e.dxRenderer?e[0]:e;e=null==(e=null===t||void 0===t?void 0:t.closest(".dx-field"))?void 0:e.getElementsByTagName("label");const i=Array.from(e).filter(e=>e.getAttribute("for")===this.editorInputId)[0];if(i){const r="click",s=()=>t.dispatchEvent(new Event(r));i.addEventListener(r,s),Object(C.c)(i,()=>i.removeEventListener(r,s))}}getOptions(e){var t=this._get("info","peek").editor.extendedOptions,i={onInitialized:e=>this._checkBoxInitializedHandler(e.element)};return Object(_.extend)(!0,{},e,this.editorOptions,t,i)}}class So extends k{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a),this.addDisposable(this.createComputedProperty("displayValue",{read:()=>{var e,t=this._get("value");if(t)return t&&"transparent"===t.toLowerCase()?"rgba(0,0,0,0)":/^rgba\s*\((\s*[a-f\d]+\s*,){3}\s*[a-f\d]+\s*\)$/i.test(t)?t:((e=document.createElement("div")).style.backgroundColor=t,e.style.backgroundColor||"rgba(0,0,0,1)")},write:e=>{this._set("value",e)}},[Object(p.h)(this,["value"])]))}createViewModel(){var e=y(super.createViewModel()).generateProperty("displayValue",this.unwrap(this.displayValue)).getViewModel();return this.subscribeOnChanges(e,["displayValue"]),e}}class To extends k{constructor(e,t,i,r){super(e,t,i,r),this.path=w.pureComputed(()=>{var e=this._get("_model");return e&&e.getPath&&e.getPath(this.name)||""}),this.treeListController=new $n,this._disposables.push(this.path),this._disposables.push(this.treeListController)}createViewModel(){var e=y(super.createViewModel()).generateProperty("path",w.unwrap(this.path)).generateProperty("treeListController",this.treeListController).generateProperty("getPath",()=>w.unwrap(this.path)).generateProperty("getDataMember",()=>w.unwrap(this.value)).getViewModel();return this.subscribeOnChanges(e,["path"]),e}}class Po extends To{constructor(e,t,i,r){super(e,t,i,r),this.treeListController=new un,this._disposables.push(this.treeListController)}}let $o=!1;let ko=!1;ko||(ko=!0,h.registerEditors({bool:{header:"dx-boolean",editorType:Io},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:ms}})),h.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:fo},inplaceObjectEditor:{custom:"dx-objectEditorContent",editorType:fs}}),$o||($o=!0,h.registerEditors({guid:{header:"dxrd-guid",editorType:co},date:{header:"dx-date",editorType:hn},customColorEditor:{header:"dxrd-colorpicker",editorType:So},sbyte:gn("System.SByte","integer"),decimal:gn("System.Decimal","float"),int64:gn("System.Int64","integer"),int32:gn("System.Int32","integer"),int16:gn("System.Int16","integer"),single:gn("System.Single","float"),double:gn("System.Double","float"),byte:gn("System.Byte","integer"),uint16:gn("System.UInt16","integer"),uint32:gn("System.UInt32","integer"),uint64:gn("System.UInt64","integer")})),h.registerEditors({borders:{header:"dxrd-borders"},textAlignment:{header:"dxrd-textalignment"},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:ms},field:{header:"dxrd-field",editorType:To},dataMember:{header:"dxrd-field",editorType:Po},filterEditor:{header:"dxrd-filterstring"},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring"}});l=t(61);class Do extends d.a{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)._context&&Us(e,this,i,this._context.measureUnit,this._context.zoom,e=>{this._disposables.push(e)}),this._x=this._x||w.observable(0),this._y=this._y||w.observable(0),this._width=this._width||w.observable(0),this._height=this._height||w.observable(0);t=w.pureComputed(()=>this.container());this._disposables.push(t),this._container=t(),this._disposables.push(t.subscribe(e=>{var t;this._container!==e&&this.rtlLayout()?(t=this._getX(),this._container=e,this._setX(t)):this._container=e}));const r=w.computed({read:()=>this._getX(),write:e=>{this._setX(e)}}),s=this._y,a=this._width,n=this._height,o=(this.position={top:s,left:r,width:a,height:n,lineHeight:n},this._disposables.push(r),w.observable());this._disposables.push(w.computed(()=>{this._control.update()||o({top:s(),left:r(),right:r()+a(),bottom:s()+n(),width:a(),height:n()})})),this._disposables.push(this.rect=w.pureComputed({read:()=>o(),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&&s(e.top),void 0!==e.right&&void 0===e.left&&void 0===e.width&&a(e.right-r()),void 0!==e.bottom&&void 0===e.top&&n(e.bottom-s()),void 0!==e.right&&void 0!==e.left&&void 0===e.width&&a(e.right-e.left),void 0!==e.bottom&&void 0!==e.top&&n(e.bottom-e.top),void 0!==e.width&&a(e.width),void 0!==e.height&&n(e.height)}finally{this._control.update(!1)}}}))}_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){}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!!w.unwrap(this._context.rtl)}getControlModel(){return this._control}}class Fo extends Do{constructor(e,t,i){if(super(e,t,i),this._countSelectedChildren=w.observable(0),this.focused=w.observable(!1),this.selected=w.observable(!1),this.underCursor=w.observable(new ai),this.allowMultiselect=!0,this.absolutePosition=new $r(0,0),this.getControlModel=()=>e,this.cssCalculator=new Zt(e,t.rtl),this._getChildrenHolderName()&&e[this._getChildrenHolderName()]){const r=w.observableArray();"controls"===this._getChildrenHolderName()?this._disposables.push(br(e[this._getChildrenHolderName()],r,this._createSurface)):this._disposables.push(yr(e[this._getChildrenHolderName()],r,this._createSurface)),this[this._getChildrenHolderName()]=r,this._disposables.push(this.isSelected=w.pureComputed(()=>!(!this.focused()&&!this.selected())||r().some(e=>e.isSelected())))}else this._disposables.push(this.isSelected=w.pureComputed(()=>this.focused()||this.selected()));this._disposables.push(this.css=w.pureComputed(()=>Object(v.b)({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.backGroundCss(),this.cssCalculator.textAlignmentCss()))),this._disposables.push(this.contentCss=w.pureComputed(()=>Object(v.b)({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss(),this.cssCalculator.angle(),this.cssCalculator.wordWrapCss(),this.cssCalculator.paddingsCss()))),this._disposables.push(w.computed(()=>{this.updateAbsolutePosition()})),this._disposables.push(this.absoluteRect=w.pureComputed(()=>{var 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()]||w.observableArray([])}updateAbsolutePosition(){var e,t;this.parent&&this.parent.absolutePosition?(e=this.parent.absolutePosition.x(),t=this.parent.absolutePosition.y(),e=e+this.rect().left,t=t+this.rect().top,this.absolutePosition.x(e),this.absolutePosition.y(t)):(this.absolutePosition.x(0),this.absolutePosition.y(0)),this.afterUpdateAbsolutePosition()}canDrop(){return!this.locked&&this._control.getMetaData().isContainer}afterUpdateAbsolutePosition(){}findNextSelection(){var e,t=this.parent;let i=t;return t&&(-1===(e=(t=t.getChildrenCollection()()).indexOf(this))&&0<t.length?i=t[t.length-1]:1<t.length&&e===t.length-1?i=t[e-1]:1<t.length&&0===e||1<t.length?i=t[t.length-1]:-1===e&&i.parent&&-1===i.parent.getChildrenCollection()().indexOf(i)&&(i=i.findNextSelection())),i}}class Oo{constructor(e,t,i,r){this.bottom=w.observable(r),this.left=w.observable(e),this.right=w.observable(t),this.top=w.observable(i)}getInfo(){return Lt}isEmpty(){return this.toString()===Oo.defaultVal}static fromString(e=Oo.defaultVal){e=e.split(",");return new Oo(parseFloat(e[0]),parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]))}toString(){return this.left()+", "+this.right()+", "+this.top()+", "+this.bottom()}}Oo.defaultVal="100, 100, 100, 100",Oo.unitProperties=["left","right"];class Bo extends d.a{preInitProperties(e,t,i){}constructor(e,t,i){super(),this.preInitProperties(e,t,i),i&&(this.getInfo=()=>i),(t=t||new or).deserialize(this,e,i)}getInfo(){return null}}function Mo(e,t){return e.height===t.height&&e.width===t.width}function No(e){Object(u.f)(e)}function Vo(n){n.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){var r=n.require("ace/lib/oop"),s=n.require("ace/mode/text_highlight_rules").TextHighlightRules;let a=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},a.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(a,s),a.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},a.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},a.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=a})}function zo(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 Lo(e){return e&&-1!==e.indexOf("/")?e.split("/").pop():qr()?"ambiance":"dreamweaver"}function Ho(o){o.define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],function(e,t,i){var r=o.require("ace/lib/oop"),s=o.require("ace/mode/text").Mode;const a=o.require("ace/mode/criteria_highlight_rules").CriteriaHighlightRules;function n(){this.HighlightRules=a}r.inherits(n,s),t.Mode=n}),o.define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){var r=o.require("ace/lib/oop"),s=o.require("ace/mode/text_highlight_rules").TextHighlightRules;const a=o.require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules;function n(){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(a,"doc-",[a.getEndRule("start")]),this.normalizeRules()}r.inherits(n,s),t.CriteriaHighlightRules=n})}var E=t(62),Ro=t.n(E),E=t(63),jo=t.n(E),E=t(64),Wo=t.n(E),E=t(65),Go=t.n(E),Uo=function(e,n,o,d){return new(o=o||Promise)(function(i,t){function r(e){try{a(d.next(e))}catch(e){t(e)}}function s(e){try{a(d.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(r,s)}a((d=d.apply(e,n||[])).next())})};let qo=!1;function Ko(e){if(!qo){Vo(e),Ho(e),zo(e);try{e.config.set("useStrictCSP",!0)}catch(e){console.warn("Update 'ace' version to 1.4.13")}"setModuleLoader"in e.config&&(e.config.setModuleLoader("./theme/textmate",()=>Uo(this,void 0,void 0,function*(){return e.require("./theme/textmate")})),e.config.setModuleLoader("ace/mode/criteria",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/criteria")})),e.config.setModuleLoader("ace/mode/sql",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/sql")})),e.config.setModuleLoader("ace/mode/text",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/text")})),e.config.setModuleLoader("ace/mode/json",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/json")}))),!window.ace&&Tn()&&(e.config.setModuleUrl("ace/ext/language_tools",Ro.a),e.config.setModuleUrl("ace/mode/sql",Wo.a),e.config.setModuleUrl("ace/mode/text",Go.a),e.config.setModuleUrl("ace/mode/json",jo.a))}qo=!0}w.bindingHandlers.dxAceEditor={init:function(a,n,e,o,d){var l=Sn.a||window.ace;Ko(l);const u=n(),c=u.value,t=u.editorContainer;let p,h=!0;const g=(e,t)=>{h=!1,e.getSession().setValue(t&&t.toString()||""),e.clearSelection(),e.getSession().getUndoManager().reset(),h=!0};if(l){n=null==u.options.showGutter||u.options.showGutter;const v=u.additionalOptions;var m=l.require("ace/ext/language_tools"),f="ace/theme/"+Lo(u.theme),l=((p=l.edit(a,{theme:f})).$blockScrolling=1/0,o.languageHelper.getLanguageMode());const x=p.getSession();x.gutterRenderer={getWidth:(e,t,i)=>t.toString().length*i.characterWidth,getText:(e,t)=>t+1},x.setMode(l);let e=()=>{p.completer&&p.completer.popup&&p.completer.popup.hide()},i,t,r;if(v){if(v.onChange){let t=null;i=e=>{null!==t&&clearTimeout(t),h&&(t=setTimeout(()=>{c()===x.getValue()&&!(x.getAnnotations()||[]).some(e=>"error"===e.type)||v.onChange(x)},v&&v.changeTimeout||1e3))},x.on("change",i)}v.overrideEditorFocus&&(p.focus=function(e,t){p.textInput.getElement().focus()}),v.onFocus&&(t=()=>{v.onFocus(x)},p.on("focus",t)),v.onBlur&&(e=()=>(p.completer&&p.completer.popup&&p.completer.popup.hide(),v.onBlur(x))),v.onChangeAnnotation&&(r=(e,t)=>{v.onChangeAnnotation(t)},x.on("changeAnnotation",r))}p.on("blur",e);const b=o.languageHelper.createCompleters(p,d,o),y=(m.setCompleters(b),p.setOptions(Object.assign({autoScrollEditorIntoView:!1},u.options)),v&&"setUseWrapMode"in v&&p.getSession().setUseWrapMode(v.setUseWrapMode),n||p.renderer.setShowGutter(n),p.renderer.$gutter&&(f=p.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary",p.renderer.$gutter.className=f),p._defaultHandlers.guttermousemove);p._defaultHandlers.guttermousemove=function(e){var t=a.getBoundingClientRect();e.x=e.x-t.left,e.y=e.y-t.top,y(e)};let s;w.isSubscribable(c)&&(s=c.subscribe(e=>{e!==x.getValue()&&g(p,e),v&&v.onValueChange&&v.onValueChange(p)})),g(p,w.unwrap(c)),u.callbacks&&(u.callbacks.focus=()=>{setTimeout(()=>{p.textInput.getElement().focus()},10)}),Object(C.c)(a,function(){p.completers&&p.completers.splice(0),p._defaultHandlers.guttermousemove=y,s.dispose(),u.callbacks&&(u.callbacks.focus=_.noop),b.forEach(e=>e.dispose&&e.dispose()),e&&p.off("blur",e),t&&p.off("focus",t),i&&x.off("change",i),r&&x.off("changeAnnotation",r),p.destroy()})}w.isObservable(t)&&t(p)}},B("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()}}}}),B("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()}}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("with: value",function(e,t){return{with:function(){return e.$data.value}}}),B("dxBorderEditor: { value: value, disabled: disabled }",function(e,t){return{dxBorderEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}}),B("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}}}}}),B("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()})}}}),B("if: value",function(e,t){return{if:function(){return e.$data.value}}}),B("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}}}}}),B("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}}}}),B("if: visible",function(e,t){return{if:function(){return e.$data.visible}}}),B("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",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()}}}}),B("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",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()}}}}),B("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}}}}),B("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||[]}}}}),B("template: { name: 'dx-propertieseditor', data: viewmodel }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.viewmodel}}}}),B("template: { name: 'dx-propertieseditor', data: getProperties() }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties()}}}}),B("if: $data.visible() && editorCreated",function(e,t){return{if:function(){return e.$data.visible()&&e.$data.editorCreated}}}),B("dxTextAlignmentEditor: { value: value, disabled: disabled }",function(e,t){return{dxTextAlignmentEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}}),B("treelist: options",function(e,t){return{treelist:function(){return e.$data.options}}}),B("if: options",function(e,t){return{if:function(){return e.$data.options}}}),B("style: { transform: snapLineSurfaces[0].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[0].transform()}}}}),B("style: { transform: snapLineSurfaces[1].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[1].transform()}}}}),B("style: { transform: snapLineSurfaces[2].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[2].transform()}}}}),B("style: { transform: snapLineSurfaces[3].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[3].transform()}}}}),B("css: { 'dxrd-context-menu-container': selected() }, template: templateName, click: function(_, e) { $data.clickHandler($root.selection, e); }, event: $root.ContextMenuDisabled && $root.ContextMenuDisabled() ? null : { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }}",function(i,e){return{css:function(){return{"dxrd-context-menu-container":i.$data.selected()}},template:function(){return i.$data.templateName},click:function(){return function(e,t){i.$data.clickHandler(i.$root.selection,t)}},event:function(){return i.$root.ContextMenuDisabled&&i.$root.ContextMenuDisabled()?null:{contextmenu:function(e,t){i.$data.reportContextMenuHandler&&i.$data.reportContextMenuHandler(i.$root.selection,t)}}}}}),B("cssArray: [surfaceClass($element), { 'dx-accessibility': $data.accessibilityCompliant } ]",function(e,t){return{cssArray:function(){return[e.$data.surfaceClass(t),{"dx-accessibility":e.$data.accessibilityCompliant}]}}}),B("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}]}}}),B("ifnot: isLoading",function(e,t){return{ifnot:function(){return e.$data.isLoading}}}),B("with: surface",function(e,t){return{with:function(){return e.$data.surface}}}),B("if: isLoading",function(e,t){return{if:function(){return e.$data.isLoading}}}),B("foreach: parts",function(e,t){return{foreach:function(){return e.$data.parts}}}),B("template: { name: templateName, data: viewModel || model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.viewModel||e.$data.model}}}}),B("if: ($data.addOns)",function(e,t){return{if:function(){return e.$data.addOns}}}),B("foreach: addOns",function(e,t){return{foreach:function(){return e.$data.addOns}}}),B("template: { name: templateName, data: model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.model}}}}),B("text: verticalString",function(e,t){return{text:function(){return e.$data.verticalString}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("text: horizontalString",function(e,t){return{text:function(){return e.$data.horizontalString}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("if: $data.contentTemplate",function(e,t){return{if:function(){return e.$data.contentTemplate}}}),B("template: contentTemplate",function(e,t){return{template:function(){return e.$data.contentTemplate}}}),B("if: !$data.contentTemplate",function(e,t){return{if:function(){return!e.$data.contentTemplate}}}),B("foreach: actions",function(e,t){return{foreach:function(){return e.$data.actions}}}),B("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}}}}),B("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}}}),B("template: { name: $data.template, data: $data.data }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.data}}}}),B("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)}}}}),B("text: text, attr: { title: text }",function(e,t){return{text:function(){return e.$data.text},attr:function(){return{title:e.$data.text}}}}),B("foreach: $data.controls()",function(e,t){return{foreach:function(){return e.$data.controls()}}}),B("with: $parent.customData()",function(e,t){return{with:function(){return e.$parent.customData()}}}),B("dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: 'dxrd-svg-menu-menu', css: {'dxd-state-active': appMenuVisible }",function(t,e){return{dxclick:function(){return function(e){t.$data.stopPropagation?t.$data.stopPropagation=!1:t.$data.toggleAppMenu()}},template:function(){return"dxrd-svg-menu-menu"},css:function(){return{"dxd-state-active":t.$data.appMenuVisible}}}}),B("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(r,e){return{dxPopup:function(){return{width:250,wrapperAttr:{class:"dxd-menu-back-color dxd-back-primary2"},height:"100%",position:r.$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:r.$data.getMenuPopupContainer(e),target:r.$data.getMenuPopupTarget(e),animation:{},hideOnOutsideClick:function(e){var t="dxrd-menu-button-image",i=e.target.parentNode&&e.target.parentNode.parentNode&&e.target.parentNode.parentNode.classList;return r.$data.stopPropagation=e.target.classList&&e.target.classList.contains(t)||i&&i.contains(t),!0},shading:!1,focusStateEnabled:!1,visible:r.$data.appMenuVisible}}}}),B("dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { 'dxrd-disabled-button': disabled }, visible: visible",function(t,e){return{dxclick:function(){return function(e){(!t.$data.disabled||t.$data.disabled())&&t.$data.disabled||(t.$root.toggleAppMenu(),t.$data.clickAction(t.$root.model(),e))}},css:function(){return{"dxrd-disabled-button":t.$data.disabled}},visible:function(){return t.$data.visible}}}),B("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}}}}),B("visible: $data.hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),B("foreach: actionLists.menuItems",function(e,t){return{foreach:function(){return e.$data.actionLists.menuItems}}}),B("dxdAccordion: { collapsed: collapsed }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed}}}}),B("css: { 'dxrd-group-header-collapsed': collapsed() }",function(e,t){return{css:function(){return{"dxrd-group-header-collapsed":e.$data.collapsed()}}}}),B("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()}}}}),B("text: $root.actionsGroupTitle()",function(e,t){return{text:function(){return e.$root.actionsGroupTitle()}}}),B("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)}}}),B("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}}}}),B("template: { name: 'dx-propertieseditor', data: { editors: $root.popularVisibleEditors(), rtl: rtl } }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:{editors:e.$root.popularVisibleEditors(),rtl:e.$data.rtl}}}}}),B("visible: items.some(x => !x.visible || ko.unwrap(x.visible))",function(t,e){return{visible:function(){return t.$data.items.some(e=>!e.visible||t.ko.unwrap(e.visible))}}}),B("text: group",function(e,t){return{text:function(){return e.$data.group}}}),B("if: popularVisible",function(e,t){return{if:function(){return e.$data.popularVisible}}}),B("foreach: (contextActions || [])",function(e,t){return{foreach:function(){return e.$data.contextActions||[]}}}),B("if: $data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return e.$data.templateName&&!e.$data.isContextMenuAction}}}),B("template: templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),B("if: !$data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return!e.$data.templateName&&!e.$data.isContextMenuAction}}}),B("with: popularProperties",function(e,t){return{with:function(){return e.$data.popularProperties}}}),B("if: $root.ShowPopularControlActions()",function(e,t){return{if:function(){return e.$root.ShowPopularControlActions()}}}),B("foreach: (groupActions || [])",function(e,t){return{foreach:function(){return e.$data.groupActions||[]}}}),B("foreach: (items || [])",function(e,t){return{foreach:function(){return e.$data.items||[]}}}),B("template: { name: $data.templateName, if: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName,if:e.$data.templateName}}}}),B("if: !$data.templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),B("css: { 'dx-property-grid-search-collapsed': !isSearching() }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":!e.$data.isSearching()}}}}),B("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")}}}}),B("dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.textToSearch,valueChangeEvent:"keyup",placeholder:t.$data.searchPlaceholder(),showClearButton:!0}},cacheElement:function(){return{action:function(e){t.$data.searchBox(e)}}}}}),B("visible: active && visible",function(e,t){return{visible:function(){return e.$data.active&&e.$data.visible}}}),B("text: text",function(e,t){return{text:function(){return e.$data.text}}}),B("css: { 'dx-property-grid-search-collapsed': isSearching }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":e.$data.isSearching}}}}),B("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}}}}),B("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"}}}}),B("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"}}}}),B("dxScrollView: { showScrollbar: 'onHover', useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",useNative:!1,scrollByThumb:!0}}}}),B("visible: isSortingByGroups",function(e,t){return{visible:function(){return e.$data.isSortingByGroups}}}),B("visible: visible",function(e,t){return{visible:function(){return e.$data.visible}}}),B("text: displayName()",function(e,t){return{text:function(){return e.$data.displayName()}}}),B("dxLoadIndicator: { visible: !editorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.editorsCreated()}}}}),B("visible: editorsCreated",function(e,t){return{visible:function(){return e.$data.editorsCreated}}}),B("visible: !isSortingByGroups()",function(e,t){return{visible:function(){return!e.$data.isSortingByGroups()}}}),B("dxLoadIndicator: { visible: !allEditorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.allEditorsCreated()}}}}),B("visible: allEditorsCreated",function(e,t){return{visible:function(){return e.$data.allEditorsCreated}}}),B("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}}}}),B("text: popupService.title, visible: popupService.title",function(e,t){return{text:function(){return e.$data.popupService.title},visible:function(){return e.$data.popupService.title}}}),B("dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }",function(t,i){return{dxMenu:function(){return{wrapperAttr:{class:"dxd-button-back-color"},disabled:t.$data.popupService.disabled,dataSource:t.$data.popupService.actions,displayExpr:"title",cssClass:"dxrd-editor-menu",orientation:"vertical",showFirstSubmenuMode:"onHover",onSubmenuShowing:function(e){e.submenu._overlay.option("container",t.$root.getPopupContainer(i))}}}}}),B("dxclick: action",function(e,t){return{dxclick:function(){return e.$data.action}}}),B("attr: { title: title }, text: title",function(e,t){return{attr:function(){return{title:e.$data.title}},text:function(){return e.$data.title}}}),B("visible: $data.items && $data.items.length",function(e,t){return{visible:function(){return e.$data.items&&e.$data.items.length}}}),B("if: $data.innerTemplate",function(e,t){return{if:function(){return e.$data.innerTemplate}}}),B("template: $data.innerTemplate",function(e,t){return{template:function(){return e.$data.innerTemplate}}}),B("with: model",function(e,t){return{with:function(){return e.$data.model}}}),B("if: $root.controlsStore.visible()",function(e,t){return{if:function(){return e.$root.controlsStore.visible()}}}),B("template: 'dx-propertygrid-searchbox'",function(e,t){return{template:function(){return"dx-propertygrid-searchbox"}}}),B("template: { name: 'dxrd-group-actions', data: { groupActions: $root.contextGroupActions } }",function(e,t){return{template:function(){return{name:"dxrd-group-actions",data:{groupActions:e.$root.contextGroupActions}}}}}),B("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}}}}}),B("foreach: groups",function(e,t){return{foreach:function(){return e.$data.groups}}}),B("ifnot: editorsCreated",function(e,t){return{ifnot:function(){return e.$data.editorsCreated}}}),B("if: $data.editorsRendered()",function(e,t){return{if:function(){return e.$data.editorsRendered()}}}),B("foreach: editors",function(e,t){return{foreach:function(){return e.$data.editors}}}),B("template: editorTemplate",function(e,t){return{template:function(){return e.$data.editorTemplate}}}),B("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)}}}),B("foreach: $data.getEditors()",function(e,t){return{foreach:function(){return e.$data.getEditors()}}}),B("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)}}}),B("template: 'dx-propertygrid-popupservice'",function(e,t){return{template:function(){return"dx-propertygrid-popupservice"}}}),B("if: $data.itemTemplate",function(e,t){return{if:function(){return e.$data.itemTemplate}}}),B("template: $data.itemTemplate",function(e,t){return{template:function(){return e.$data.itemTemplate}}}),B("ifnot: $data.itemTemplate",function(e,t){return{ifnot:function(){return e.$data.itemTemplate}}}),B("dxTemplate: { name: 'content' }",function(){return{dxTemplate:{name:"content"}}}),B("dxTemplate: { name: 'item' }",function(){return{dxTemplate:{name:"item"}}}),B("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))}}}),B("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}}}),B("css: tabsElement.class",function(e,t){return{css:function(){return e.$data.tabsElement.class}}}),B("dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, 'aria-label': text, 'aria-expanded': active }, visible: visible",function(t,e){return{dxAction:function(){return{action:function(e){t.$data.click()}}},css:function(){return t.$data.css.class},attr:function(){return{title:t.$data.text,"aria-label":t.$data.text,"aria-expanded":t.$data.active}},visible:function(){return t.$data.visible}}}),B("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)}}}}),B("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)}}}),B("with: tabPanel.getViewModel()",function(e,t){return{with:function(){return e.$data.tabPanel.getViewModel()}}}),B("foreach: tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),B("lazy: { template: $data.template }",function(e,t){return{lazy:function(){return{template:e.$data.template}}}}),B("foreach: $data.tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),B("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}}}}),B("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}}}}),B("visible: visible, css: actionClass",function(e,t){return{visible:function(){return e.$data.visible},css:function(){return e.$data.actionClass}}}),B("attr: block.attr",function(e,t){return{attr:function(){return e.$data.block.attr}}}),B("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}}}),B("visible: hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),B("foreach: $data",function(e,t){return{foreach:function(){return e.$data}}}),B("if: templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),B("template: { name: templateName, data: contentData || $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.contentData||e.$data}}}}),B("if: !templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),B("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}}}}),B("attr: { title: displayName }",function(e,t){return{attr:function(){return{title:e.$data.displayName}}}}),B("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}}}),B("foreach: toolboxItems",function(e,t){return{foreach:function(){return e.$data.toolboxItems}}}),B("foreach: groupedToolboxItems",function(e,t){return{foreach:function(){return e.$data.groupedToolboxItems}}}),B("foreach: items",function(e,t){return{foreach:function(){return e.$data.items}}}),B("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}}}}),B("dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }",function(i,e){return{dxclick:function(){return function(e,t){i.$data.showPopup(e,t)}},css:function(){return i.$data.editorMenuButtonCss},attr:function(){return{title:i.$data.hint}}}}),B("dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss",function(i,e){return{dxclick:function(){return function(e,t){i.$data.showPopup(e,t)}},attr:function(){return{title:i.$data.hint}},css:function(){return i.$data.editorMenuButtonCss}}}),B("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)}}}}),B("if: $data.visible",function(e,t){return{if:function(){return e.$data.visible}}}),B("if: $data.templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),B("template: $data.templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),B("ifnot: $data.templateName",function(e,t){return{ifnot:function(){return e.$data.templateName}}}),B("if: !ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return!e.ko.unwrap(e.$data.imageTemplateName)}}}),B("if: ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return e.ko.unwrap(e.$data.imageTemplateName)}}}),B("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}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("styleunit: { 'paddingLeft': padding }",function(e,t){return{styleunit:function(){return{paddingLeft:e.$data.padding}}}}),B("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}}}}),B("text: displayName, attr: { title: displayName }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}}),B("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}}}}),B("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)}}}}}),B("text: emptyAreaText",function(e,t){return{text:function(){return e.$data.emptyAreaText}}}),B("foreach: values",function(e,t){return{foreach:function(){return e.$data.values}}}),B("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}}}}),B("if: showButtons",function(e,t){return{if:function(){return e.$data.showButtons}}}),B("with: buttons",function(e,t){return{with:function(){return e.$data.buttons}}}),B("if: up.visible",function(e,t){return{if:function(){return e.$data.up.visible}}}),B("if: down.visible",function(e,t){return{if:function(){return e.$data.down.visible}}}),B("if: add.visible",function(e,t){return{if:function(){return e.$data.add.visible}}}),B("if: delete.visible",function(e,t){return{if:function(){return e.$data.delete.visible}}}),B("if: displayName",function(e,t){return{if:function(){return e.$data.displayName}}}),B("if: values.length === 0",function(e,t){return{if:function(){return 0===e.$data.values.length}}}),B("if: values.length !== 0",function(e,t){return{if:function(){return 0!==e.$data.values.length}}}),B("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||[]}}}}),B("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||[]}}}}),B("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}}}}),B("text: $data.display, attr: { title: $data.display }",function(e,t){return{text:function(){return e.$data.display},attr:function(){return{title:e.$data.display}}}}),B("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($data.validatorOptions || { validationRules: $data.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.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),B("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}}}}),B("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($data.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.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),B("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}}}}),B("attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}",function(e,t){return{attr:function(){return{role:"treeitem",id:e.$data.isComplexEditor&&e.$data.headerId,"aria-owns":e.$data.isComplexEditor&&e.$data.contentId,"aria-expanded":e.$data.isComplexEditor&&(e.$data.alwaysShow||!e.$data.collapsed?"true":"false")}},css:function(){return{"dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented":e.$data.isComplexEditor}}}}),B("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}}}}),B("enable: templateName === 'dx-emptyHeader'",function(e,t){return{enable:function(){return"dx-emptyHeader"===e.$data.templateName}}}),B("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }",function(e,t){return{searchHighlighting:function(){return{text:e.$data.displayName,textToSearch:e.$data.textToSearch}},attr:function(){return{title:e.$data.displayName}}}}),B("text: displayName, attr: { 'title': displayName }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}}),B("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, 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{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-field-label-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),B("text: displayName, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-property-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),B("css: { 'dxd-border-accented': $data.isPropertyHighlighted }",function(e,t){return{css:function(){return{"dxd-border-accented":e.$data.isPropertyHighlighted}}}}),B("service: { name: 'createEditorAddOn' }",function(e,t){return{service:function(){return{name:"createEditorAddOn"}}}}),B("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"}}}}),B("if: isComplexEditor",function(e,t){return{if:function(){return e.$data.isComplexEditor}}}),B("if: !!$data.textToSearch",function(e,t){return{if:function(){return!!e.$data.textToSearch}}}),B("ifnot: !!$data.textToSearch",function(e,t){return{ifnot:function(){return!!e.$data.textToSearch}}}),B("if: !isComplexEditor",function(e,t){return{if:function(){return!e.$data.isComplexEditor}}}),B("if: templateName !== 'dx-emptyHeader'",function(e,t){return{if:function(){return"dx-emptyHeader"!==e.$data.templateName}}}),B("lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) } }",function(t,e){return{lazy:function(){return{innerBindings:{template:t.$data.templateName},isResolved:function(e){t.$data.setIsRendered(e)}}}}}),B("if: editorCreated",function(e,t){return{if:function(){return e.$data.editorCreated}}}),B("template: contentTemplateName",function(e,t){return{template:function(){return e.$data.contentTemplateName}}}),B("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: { 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{validationRules:e.$data.validationRules||[]}}}}),B("dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"File",disabled:e.$data.disabled}}}}),B("css: { 'dxd-state-active': bold(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled()||e.$data.bold(!e.$data.bold())}}}}),B("css: { 'dxd-state-active': italic(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled()||e.$data.italic(!e.$data.italic())}}}}),B("css: { 'dxd-state-active': underline(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled()||e.$data.underline(!e.$data.underline())}}}}),B("css: { 'dxd-state-active': strikeout(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled()||e.$data.strikeout(!e.$data.strikeout())}}}}),B("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),B("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),B("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),B("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),B("dxFileImagePicker: { value: value, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"Image",accept:"image/*",type:"img",disabled:e.$data.disabled}}}}),B("dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { 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{validationRules:e.$data.validationRules||[]}}}}),B("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||[]}}}}),B("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions($data.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.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),B("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}})}}}),B("value: value, disable: disabled",function(t,e){return{value:function(){return t.$data.value},disable:function(){return t.$data.disabled},_ko_property_writers:function(){return{value:function(e){t.$data.value=e}}}}}),B("if: $data.validationRules",function(e,t){return{if:function(){return e.$data.validationRules}}}),B("if: !$data.validationRules",function(e,t){return{if:function(){return!e.$data.validationRules}}}),B("css: { 'dx-rtl' : rtl }",function(e,t){return{css:function(){return{"dx-rtl":e.$data.rtl}}}}),B("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)}}}}}),B("dxDataGrid: queriesGrid",function(e,t){return{dxDataGrid:function(){return e.$data.queriesGrid}}}),B("dxDropDownButton: $data",function(e,t){return{dxDropDownButton:function(){return e.$data}}}),B("if: $data",function(e,t){return{if:function(){return e.$data}}}),B("template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper }",function(e,t){return{template:function(){return{name:e.$data._queriesPopupHelper.template,data:e.$data._queriesPopupHelper}}}}),B("foreach: $data.popupItems",function(e,t){return{foreach:function(){return e.$data.popupItems}}}),B("template: { name: template, data: model }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.model}}}}),B("with: options",function(e,t){return{with:function(){return e.$data.options}}}),B("dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",function(e,t){return{dxTextArea:function(){return{value:e.$data.textAreaValue,isValid:e.$data.isValid,spellcheck:!1,onKeyUp:function(){e.$data.isValid(!0)}}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),B("dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",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}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),B("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||"")}}}}),B("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}}}}}),B("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()}}}}}),B("if: !aceAvailable",function(e,t){return{if:function(){return!e.$data.aceAvailable}}}),B("if: aceAvailable",function(e,t){return{if:function(){return e.$data.aceAvailable}}}),B("with: tools",function(e,t){return{with:function(){return e.$data.tools}}}),B("foreach: toolBox",function(e,t){return{foreach:function(){return e.$data.toolBox}}}),B("template: { name: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName}}}}),B("template: 'dx-expressioneditor-popup'",function(e,t){return{template:function(){return"dx-expressioneditor-popup"}}}),B("if: popupVisible",function(e,t){return{if:function(){return e.$data.popupVisible}}}),B('template: "dx-expressioneditor-main"',function(e,t){return{template:function(){return"dx-expressioneditor-main"}}}),B("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")}}}),B("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)}}}}),B("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)}}}}),B("text: displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),B("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)}}}}),B("foreach: content",function(e,t){return{foreach:function(){return e.$data.content}}}),B("dxScrollView: { showScrollbar: 'onHover' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}}}}),B("text: content",function(e,t){return{text:function(){return e.$data.content}}}),B("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)]}}}}),B("treelist: fields",function(e,t){return{treelist:function(){return e.$data.fields}}}),B("treelist: parameters",function(e,t){return{treelist:function(){return e.$data.parameters}}}),B("visible: visible, 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},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}}}}),B("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}}}),B("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}}}}),B("click: toggleSelected",function(e,t){return{click:function(){return e.$data.toggleSelected}}}),B("if: fields",function(e,t){return{if:function(){return e.$data.fields}}}),B("if: $data.parameters",function(e,t){return{if:function(){return e.$data.parameters}}}),B("if: hasItems",function(e,t){return{if:function(){return e.$data.hasItems}}}),B("ifnot: hasItems",function(e,t){return{ifnot:function(){return e.$data.hasItems}}}),B("template: { name: 'dx-treelist-item-text-content' }",function(e,t){return{template:function(){return{name:"dx-treelist-item-text-content"}}}}),B("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||"")}},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)}}}}}),B("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()}}}}),B("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}}}}),B("with: content",function(e,t){return{with:function(){return e.$data.content}}}),B("template: $data",function(e,t){return{template:function(){return e.$data}}}),B("foreach: availableItems",function(e,t){return{foreach:function(){return e.$data.availableItems}}}),B("css: { 'advanced': advancedMode }",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}}}}),B("css: { 'advanced': advancedMode }, visible: textVisible",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}},visible:function(){return e.$data.textVisible}}}),B("css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }",function(e,t){return{css:function(){return e.$data.getTextCssClasses()},style:function(){return{height:e.$data.textContentHeightPerc}}}}),B("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()}}}),B("style: $data.getContentStyles()",function(e,t){return{style:function(){return e.$data.getContentStyles()}}}),B("visible: $data.options().disabled()",function(e,t){return{visible:function(){return e.$data.options().disabled()}}}),B("dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }",function(t,e){return{dxTextArea:function(){return{value:t.$data.displayValue,isValid:t.$data.isValid,onInput:t.$data.onInput,spellcheck:!1}},cacheElement:function(){return{action:function(e){t.$data.cacheElement(e)}}}}}),B("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}}}}),B("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}}}}),B("dxScrollView: { showScrollbar: 'onHover', direction: 'both' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",direction:"both"}}}}),B("dxclick: function() { $data.advancedMode(true); }",function(e,t){return{dxclick:function(){return function(){e.$data.advancedMode(!0)}}}}),B("text: invalidMessage()",function(e,t){return{text:function(){return e.$data.invalidMessage()}}}),B("template: 'dx-filtereditor-content-tree'",function(e,t){return{template:function(){return"dx-filtereditor-content-tree"}}}),B("template: 'dx-filtereditor-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-content-text"}}}),B("if: $data.advancedModeTop()",function(e,t){return{if:function(){return e.$data.advancedModeTop()}}}),B("template: 'dx-filtereditor-plain-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-plain-content-text"}}}),B("ifnot: $data.advancedModeTop()",function(e,t){return{ifnot:function(){return e.$data.advancedModeTop()}}}),B("with: operandSurface",function(e,t){return{with:function(){return e.$data.operandSurface}}}),B("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}}}}),B("ifnot: isSurfaceValid",function(e,t){return{ifnot:function(){return e.$data.isSurfaceValid}}}),B("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}}}}}),B("style: { pointerEvents: $data.options().disabled() ? 'none' : '' }",function(e,t){return{style:function(){return{pointerEvents:e.$data.options().disabled()?"none":""}}}}),B("template: 'dx-filtereditor-popup'",function(e,t){return{template:function(){return"dx-filtereditor-popup"}}}),B("template: 'dx-filtereditor-content'",function(e,t){return{template:function(){return"dx-filtereditor-content"}}}),B("template: 'dx-filtereditor-content-popups'",function(e,t){return{template:function(){return"dx-filtereditor-content-popups"}}}),B("template: 'dx-filtereditor-content-plain'",function(e,t){return{template:function(){return"dx-filtereditor-content-plain"}}}),B("service: { name: 'createChangeType' }",function(e,t){return{service:function(){return{name:"createChangeType"}}}}),B("dxclick: function() { $data.remove && $data.remove(); }",function(e,t){return{dxclick:function(){return function(){e.$data.remove&&e.$data.remove()}}}}),B("visible: !!$data.canRemove",function(e,t){return{visible:function(){return!!e.$data.canRemove}}}),B("with: property",function(e,t){return{with:function(){return e.$data.property}}}),B("template: { name: templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),B("if: $data.aggregatedExpression()",function(e,t){return{if:function(){return e.$data.aggregatedExpression()}}}),B("with: aggregatedExpression",function(e,t){return{with:function(){return e.$data.aggregatedExpression}}}),B("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),B("template: { name: 'dx-filtereditor-aggregate-common' }",function(e,t){return{template:function(){return{name:"dx-filtereditor-aggregate-common"}}}}),B("with: condition",function(e,t){return{with:function(){return e.$data.condition}}}),B("with: begin",function(e,t){return{with:function(){return e.$data.begin}}}),B("with: end",function(e,t){return{with:function(){return e.$data.end}}}),B("with: leftOperand",function(e,t){return{with:function(){return e.$data.leftOperand}}}),B("with: rightOperand",function(e,t){return{with:function(){return e.$data.rightOperand}}}),B("if: $data.leftPart && $data.leftPart.condition",function(e,t){return{if:function(){return e.$data.leftPart&&e.$data.leftPart.condition}}}),B("with: leftPart",function(e,t){return{with:function(){return e.$data.leftPart}}}),B("css: css",function(e,t){return{css:function(){return e.$data.css}}}),B("text: displayType",function(e,t){return{text:function(){return e.$data.displayType}}}),B("service: { name: 'createChangeValueType' }",function(e,t){return{service:function(){return{name:"createChangeValueType"}}}}),B("template: { name: $data.leftPart.templateName, data: $data.leftPart }",function(e,t){return{template:function(){return{name:e.$data.leftPart.templateName,data:e.$data.leftPart}}}}),B("foreach: rightPart",function(e,t){return{foreach:function(){return e.$data.rightPart}}}),B("template: { name: $data.templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),B("service: { name: 'createAddButton' }",function(e,t){return{service:function(){return{name:"createAddButton"}}}}),B("foreach: operands",function(e,t){return{foreach:function(){return e.$data.operands}}}),B("dxclick: addValue",function(e,t){return{dxclick:function(){return e.$data.addValue}}}),B("with: criteriaOperator",function(e,t){return{with:function(){return e.$data.criteriaOperator}}}),B("if: $data.operands().length > 1",function(e,t){return{if:function(){return 1<e.$data.operands().length}}}),B("foreach: $data.operands()",function(e,t){return{foreach:function(){return e.$data.operands()}}}),B("if: $data.operands().length == 1",function(e,t){return{if:function(){return 1==e.$data.operands().length}}}),B("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]}}}}),B("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),B("service: { name: 'createChangeParameter' }",function(e,t){return{service:function(){return{name:"createChangeParameter"}}}}),B("if: $data.canChange",function(e,t){return{if:function(){return e.$data.canChange}}}),B("service: { name: 'createChangeProperty' }",function(e,t){return{service:function(){return{name:"createChangeProperty"}}}}),B("if: $data.operand().reverse",function(e,t){return{if:function(){return e.$data.operand().reverse}}}),B("template: {name: $data.operand().templateName, data: $data.operand() }",function(e,t){return{template:function(){return{name:e.$data.operand().templateName,data:e.$data.operand()}}}}),B("ifnot: $data.operand().reverse",function(e,t){return{ifnot:function(){return e.$data.operand().reverse}}}),B("with: operand",function(e,t){return{with:function(){return e.$data.operand}}}),B("visible: isEditable",function(e,t){return{visible:function(){return e.$data.isEditable}}}),B("dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getStringEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),B("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)}}}),B("focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxDateBox:function(){return e.$data.getDateEditorOptions(t,e.$root)}}}),B("dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getNumberEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),B("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)}}}),B("visible: !isEditable()",function(e,t){return{visible:function(){return!e.$data.isEditable()}}}),B("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()}}}}),B("if: $data.items.length === 0",function(e,t){return{if:function(){return 0===e.$data.items.length}}}),B('if: $data.specifics() === "string" || $data.specifics() === "guid"',function(e,t){return{if:function(){return"string"===e.$data.specifics()||"guid"===e.$data.specifics()}}}),B('if: $data.specifics() === "bool"',function(e,t){return{if:function(){return"bool"===e.$data.specifics()}}}),B('if: $data.specifics() === "date"',function(e,t){return{if:function(){return"date"===e.$data.specifics()}}}),B('if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid"',function(e,t){return{if:function(){return"string"!==e.$data.specifics()&&"bool"!==e.$data.specifics()&&"date"!==e.$data.specifics()&&"guid"!==e.$data.specifics()}}}),B("if: $data.items.length > 0",function(e,t){return{if:function(){return 0<e.$data.items.length}}}),B("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, 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,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)}}}}}),B("dxclick: showPopup",function(e,t){return{dxclick:function(){return e.$data.showPopup}}}),B("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}}}),B("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}}}}),B("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}}}}),B("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),B("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}}}}),B("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"}}}}),B("template: { name: 'dx-filtereditor-search-panel', data: $data }",function(e,t){return{template:function(){return{name:"dx-filtereditor-search-panel",data:e.$data}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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"}}}}),B("treelist: data",function(e,t){return{treelist:function(){return e.$data.data}}}),B("with: popupService",function(e,t){return{with:function(){return e.$data.popupService}}}),B("with: data",function(e,t){return{with:function(){return e.$data.data}}}),B("template: template",function(e,t){return{template:function(){return e.$data.template}}}),B("if: $data.isFiltered",function(e,t){return{if:function(){return e.$data.isFiltered}}}),B("foreach: data",function(e,t){return{foreach:function(){return e.$data.data}}}),B("if: !$data.hidden",function(e,t){return{if:function(){return!e.$data.hidden}}}),B("ifnot: $parent.isFiltered",function(e,t){return{ifnot:function(){return e.$parent.isFiltered}}}),B("if: $parent.isFiltered",function(e,t){return{if:function(){return e.$parent.isFiltered}}}),B("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}}}}),B("click: $parent.removeItem, visible: $data.canRemove",function(e,t){return{click:function(){return e.$parent.removeItem},visible:function(){return e.$data.canRemove}}}),B("text: $data.displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),B("text: getDisplayText('types')",function(e,t){return{text:function(){return e.$data.getDisplayText("types")}}}),B("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()}}}}),B("dxTextBox: { value: formatResult, onInput: function(e) { updateInputText('formatResult', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatResult,onInput:function(e){t.$data.updateInputText("formatResult",e.component)}}}}}),B("text: getDisplayText('prefix')",function(e,t){return{text:function(){return e.$data.getDisplayText("prefix")}}}),B("dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText('formatPrefix', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatPrefix,onInput:function(e){t.$data.updateInputText("formatPrefix",e.component)}}}}}),B("text: getDisplayText('suffix')",function(e,t){return{text:function(){return e.$data.getDisplayText("suffix")}}}),B("dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText('formatSuffix', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatSuffix,onInput:function(e){t.$data.updateInputText("formatSuffix",e.component)}}}}}),B("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}}}}}),B("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)}}}}}),B("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) } }",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)}}}}}),B("text: getDisplayText('category')",function(e,t){return{text:function(){return e.$data.getDisplayText("category")}}}),B("css: { 'dx-format-general': isGeneralType }",function(e,t){return{css:function(){return{"dx-format-general":e.$data.isGeneralType}}}}),B("text: getDisplayText('preview')",function(e,t){return{text:function(){return e.$data.getDisplayText("preview")}}}),B("text: previewString",function(e,t){return{text:function(){return e.$data.previewString}}}),B("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}}}}}),B("if: !isGeneralType",function(e,t){return{if:function(){return!e.$data.isGeneralType}}}),B("template: 'dx-format-string-edit-area'",function(e,t){return{template:function(){return"dx-format-string-edit-area"}}}),B("if: isGeneralType",function(e,t){return{if:function(){return e.$data.isGeneralType}}}),B("template: 'dx-format-string-edit-area-general'",function(e,t){return{template:function(){return"dx-format-string-edit-area-general"}}}),B("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}}}}),B("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()}}}}),B("template: { name: 'dx-treelist-edit-action', data: treeListEditAction }",function(e,t){return{template:function(){return{name:"dx-treelist-edit-action",data:e.$data.treeListEditAction}}}}),B("template: 'dx-treelist-item-actions'",function(e,t){return{template:function(){return"dx-treelist-item-actions"}}}),B("styleunit: padding, click: events.click",function(e,t){return{styleunit:function(){return e.$data.padding},click:function(){return e.$data.events.click}}}),B("dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }",function(e,t){return{dxdAccordionExt:function(){return{collapsed:e.$data.collapsed,lazyContentRendering:!0,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}}),B("visible: isSelected || isHovered",function(e,t){return{visible:function(){return e.$data.isSelected||e.$data.isHovered}}}),B("event: events, styleunit: padding, css: cssRules, attr: attr",function(e,t){return{event:function(){return e.$data.events},styleunit:function(){return e.$data.padding},css:function(){return e.$data.cssRules},attr:function(){return e.$data.attr}}}),B("style: { 'padding-left': hasItems ? '0px': '18px' }",function(e,t){return{style:function(){return{"padding-left":e.$data.hasItems?"0px":"18px"}}}}),B("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenuDisabled && $root.ContextMenuDisabled() ? null : { contextmenu: toggleSelected }, draggable: dragDropHandler",function(i,e){return{click:function(){return function(e,t){i.$root.hideContextMenu&&i.$root.hideContextMenu(),i.$data.toggleSelected(e,t)}},event:function(){return i.$root.ContextMenuDisabled&&i.$root.ContextMenuDisabled()?null:{contextmenu:i.$data.toggleSelected}},draggable:function(){return i.$data.dragDropHandler}}}),B("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenuDisabled && $root.ContextMenuDisabled() ? null : { contextmenu: toggleSelected }",function(i,e){return{click:function(){return function(e,t){i.$root.hideContextMenu&&i.$root.hideContextMenu(),i.$data.toggleSelected(e,t)}},event:function(){return i.$root.ContextMenuDisabled&&i.$root.ContextMenuDisabled()?null:{contextmenu:i.$data.toggleSelected}}}}),B("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}}}}),B("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}}}}),B("if: searchModel.searchEnabled",function(e,t){return{if:function(){return e.$data.searchModel.searchEnabled}}}),B("ifnot: searchModel.searchEnabled",function(e,t){return{ifnot:function(){return e.$data.searchModel.searchEnabled}}}),B("if: hasContent",function(e,t){return{if:function(){return e.$data.hasContent}}}),B("template: templates.accordionItem",function(e,t){return{template:function(){return e.$data.templates.accordionItem}}}),B("ifnot: hasContent",function(e,t){return{ifnot:function(){return e.$data.hasContent}}}),B("template: templates.headerItem",function(e,t){return{template:function(){return e.$data.templates.headerItem}}}),B("template: { name: contenttemplate }",function(e,t){return{template:function(){return{name:e.$data.contenttemplate}}}}),B("template: actionsTemplate",function(e,t){return{template:function(){return e.$data.actionsTemplate}}}),B("if: actions && actions.length > 0",function(e,t){return{if:function(){return e.$data.actions&&0<e.$data.actions.length}}}),B("template: templates.actionsContainer",function(e,t){return{template:function(){return e.$data.templates.actionsContainer}}}),B("if: isDraggable",function(e,t){return{if:function(){return e.$data.isDraggable}}}),B("template: templates.headerItemContent",function(e,t){return{template:function(){return e.$data.templates.headerItemContent}}}),B("ifnot: isDraggable",function(e,t){return{ifnot:function(){return e.$data.isDraggable}}}),B("template: templates.itemTextContent",function(e,t){return{template:function(){return e.$data.templates.itemTextContent}}}),B("event: events, 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},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}}}}),B("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"}}}}),B("click: toggleSelected, draggable: isDraggable ? dragDropHandler : null",function(e,t){return{click:function(){return e.$data.toggleSelected},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null}}}),B('template: "dx-treelist-accordion-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-accordion-item-with-hover"}}}),B('template: "dx-treelist-header-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-header-item-with-hover"}}}),B("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()}}}}),B("lazy: { resolver: resolver, innerBindings: { template: templateName } }",function(e,t){return{lazy:function(){return{resolver:e.$data.resolver,innerBindings:{template:e.$data.templateName}}}}}),B("if: !collapsed",function(e,t){return{if:function(){return!e.$data.collapsed}}}),B("template: { name: 'dx-treelist' }",function(e,t){return{template:function(){return{name:"dx-treelist"}}}}),B("template: 'dxrd-svg-collapsed'",function(e,t){return{template:function(){return"dxrd-svg-collapsed"}}}),B("template: 'dxrd-svg-ellipsis'",function(e,t){return{template:function(){return"dxrd-svg-ellipsis"}}}),B("template: 'dxrd-svg-error'",function(e,t){return{template:function(){return"dxrd-svg-error"}}}),B("template: 'dxrd-svg-expressioneditor-addition'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-addition"}}}),B("template: 'dxrd-svg-expressioneditor-and'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-and"}}}),B("template: 'dxrd-svg-expressioneditor-division'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-division"}}}),B("template: 'dxrd-svg-expressioneditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-edit"}}}),B("template: 'dxrd-svg-expressioneditor-equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-equal"}}}),B("template: 'dxrd-svg-expressioneditor-greater'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater"}}}),B("template: 'dxrd-svg-expressioneditor-greater_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater_or_equal"}}}),B("template: 'dxrd-svg-expressioneditor-less'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less"}}}),B("template: 'dxrd-svg-expressioneditor-less_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less_or_equal"}}}),B("template: 'dxrd-svg-expressioneditor-modulus'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-modulus"}}}),B("template: 'dxrd-svg-expressioneditor-multiplication'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-multiplication"}}}),B("template: 'dxrd-svg-expressioneditor-not'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not"}}}),B("template: 'dxrd-svg-expressioneditor-not_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not_equal"}}}),B("template: 'dxrd-svg-expressioneditor-or'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-or"}}}),B("template: 'dxrd-svg-expressioneditor-parenthesis'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-parenthesis"}}}),B("template: 'dxrd-svg-expressioneditor-subtraction'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-subtraction"}}}),B("template: 'dxrd-svg-fieldlist-array'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-array"}}}),B("template: 'dxrd-svg-fieldlist-bitearray'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bitearray"}}}),B("template: 'dxrd-svg-fieldlist-bool'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bool"}}}),B("template: 'dxrd-svg-fieldlist-booleanfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-booleanfield"}}}),B("template: 'dxrd-svg-fieldlist-column'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-column"}}}),B("template: 'dxrd-svg-fieldlist-datasource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datasource"}}}),B("template: 'dxrd-svg-fieldlist-date'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-date"}}}),B("template: 'dxrd-svg-fieldlist-datetimefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetimefield"}}}),B("template: 'dxrd-svg-fieldlist-doublefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-doublefield"}}}),B("template: 'dxrd-svg-fieldlist-enum'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-enum"}}}),B("template: 'dxrd-svg-fieldlist-float'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-float"}}}),B("template: 'dxrd-svg-fieldlist-guid'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-guid"}}}),B("template: 'dxrd-svg-fieldlist-integer'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integer"}}}),B("template: 'dxrd-svg-fieldlist-integerfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integerfield"}}}),B("template: 'dxrd-svg-fieldlist-listsource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-listsource"}}}),B("template: 'dxrd-svg-fieldlist-none'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-none"}}}),B("template: 'dxrd-svg-fieldlist-parameters'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-parameters"}}}),B("template: 'dxrd-svg-fieldlist-range'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-range"}}}),B("template: 'dxrd-svg-fieldlist-string'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-string"}}}),B("template: 'dxrd-svg-fieldlist-stringfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-stringfield"}}}),B("template: 'dxrd-svg-fieldlist-table'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-table"}}}),B("template: 'dxrd-svg-fieldlist-view'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-view"}}}),B("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),B("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),B("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),B("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),B("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),B("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),B("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),B("template: 'dxrd-svg-menu-menu'",function(e,t){return{template:function(){return"dxrd-svg-menu-menu"}}}),B("template: 'dxrd-svg-menu-open'",function(e,t){return{template:function(){return"dxrd-svg-menu-open"}}}),B("template: 'dxrd-svg-menu-save'",function(e,t){return{template:function(){return"dxrd-svg-menu-save"}}}),B("template: 'dxrd-svg-menu-saveas'",function(e,t){return{template:function(){return"dxrd-svg-menu-saveas"}}}),B("template: 'dxrd-svg-operations-add'",function(e,t){return{template:function(){return"dxrd-svg-operations-add"}}}),B("template: 'dxrd-svg-operations-add_calcfield'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_calcfield"}}}),B("template: 'dxrd-svg-operations-add_datasource'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_datasource"}}}),B("template: 'dxrd-svg-operations-add_query'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_query"}}}),B("template: 'dxrd-svg-operations-arrowdown'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowdown"}}}),B("template: 'dxrd-svg-operations-arrowup'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowup"}}}),B("template: 'dxrd-svg-operations-ascending'",function(e,t){return{template:function(){return"dxrd-svg-operations-ascending"}}}),B("template: 'dxrd-svg-operations-descending'",function(e,t){return{template:function(){return"dxrd-svg-operations-descending"}}}),B("template: 'dxrd-svg-operations-edit'",function(e,t){return{template:function(){return"dxrd-svg-operations-edit"}}}),B("template: 'dxrd-svg-operations-movedown'",function(e,t){return{template:function(){return"dxrd-svg-operations-movedown"}}}),B("template: 'dxrd-svg-operations-moveleft'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft"}}}),B("template: 'dxrd-svg-operations-moveleft_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft_all"}}}),B("template: 'dxrd-svg-operations-moveright'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright"}}}),B("template: 'dxrd-svg-operations-moveright_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright_all"}}}),B("template: 'dxrd-svg-operations-moveup'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveup"}}}),B("template: 'dxrd-svg-operations-rebuild_schema'",function(e,t){return{template:function(){return"dxrd-svg-operations-rebuild_schema"}}}),B("template: 'dxrd-svg-operations-recycle_bin'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin"}}}),B("template: 'dxrd-svg-operations-recycle_bin_xl'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin_xl"}}}),B("template: 'dxrd-svg-operations-remove'",function(e,t){return{template:function(){return"dxrd-svg-operations-remove"}}}),B("template: 'dxrd-svg-operations-rename'",function(e,t){return{template:function(){return"dxrd-svg-operations-rename"}}}),B("template: 'dxrd-svg-operations-unsorted'",function(e,t){return{template:function(){return"dxrd-svg-operations-unsorted"}}}),B("template: 'dxrd-svg-properties-borders-all'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"}}}),B("template: 'dxrd-svg-properties-borders-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"}}}),B("template: 'dxrd-svg-properties-borders-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"}}}),B("template: 'dxrd-svg-properties-borders-none'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"}}}),B("template: 'dxrd-svg-properties-borders-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"}}}),B("template: 'dxrd-svg-properties-borders-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"}}}),B("template: 'dxrd-svg-properties-propertiesmenu'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertiesmenu"}}}),B("template: 'dxrd-svg-properties-propertyexpression'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertyexpression"}}}),B("template: 'dxrd-svg-properties-search'",function(e,t){return{template:function(){return"dxrd-svg-properties-search"}}}),B("template: 'dxrd-svg-properties-sortingbyalphabet'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbyalphabet"}}}),B("template: 'dxrd-svg-properties-sortingbygroups'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbygroups"}}}),B("template: 'dxrd-svg-properties-tasksmarttag'",function(e,t){return{template:function(){return"dxrd-svg-properties-tasksmarttag"}}}),B("template: 'dxrd-svg-properties-textAlignment-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"}}}),B("template: 'dxrd-svg-properties-textAlignment-center'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"}}}),B("template: 'dxrd-svg-properties-textAlignment-justify'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"}}}),B("template: 'dxrd-svg-properties-textAlignment-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"}}}),B("template: 'dxrd-svg-properties-textAlignment-middle'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"}}}),B("template: 'dxrd-svg-properties-textAlignment-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"}}}),B("template: 'dxrd-svg-properties-textAlignment-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"}}}),B("template: 'dxrd-svg-queryBuilder-aggregate'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-aggregate"}}}),B("template: 'dxrd-svg-queryBuilder-data_preview'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-data_preview"}}}),B("template: 'dxrd-svg-queryBuilder-group_by'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-group_by"}}}),B("template: 'dxrd-svg-queryBuilder-select_statment'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-select_statment"}}}),B("template: 'dxrd-svg-queryBuilder-sorting_asc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_asc"}}}),B("template: 'dxrd-svg-queryBuilder-sorting_desc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_desc"}}}),B("template: 'dxrd-svg-tabs-properties'",function(e,t){return{template:function(){return"dxrd-svg-tabs-properties"}}}),B("template: 'dxrd-svg-toolbar-copy'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-copy"}}}),B("template: 'dxrd-svg-toolbar-cut'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-cut"}}}),B("template: 'dxrd-svg-toolbar-delete'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-delete"}}}),B("template: 'dxrd-svg-toolbar-paste'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-paste"}}}),B("template: 'dxrd-svg-toolbar-redo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-redo"}}}),B("template: 'dxrd-svg-toolbar-undo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-undo"}}}),B("template: 'dxrd-svg-toolbar-validate'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-validate"}}}),B("template: 'dxrd-svg-toolbar-zoomin'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomin"}}}),B("template: 'dxrd-svg-toolbar-zoomout'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomout"}}}),B("template: 'dxrd-svg-wizard-Download'",function(e,t){return{template:function(){return"dxrd-svg-wizard-Download"}}}),B("template: 'dxrd-svg-wizard-expressions'",function(e,t){return{template:function(){return"dxrd-svg-wizard-expressions"}}}),B("template: 'dxrd-svg-wizard-FederationDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-FederationDataSource"}}}),B("template: 'dxrd-svg-wizard-JsonDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-JsonDataSource"}}}),B("template: 'dxrd-svg-wizard-NoDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-NoDataSource"}}}),B("template: 'dxrd-svg-wizard-ObjectDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-ObjectDataSource"}}}),B("template: 'dxrd-svg-wizard-SqlDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-SqlDataSource"}}}),c.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 2l5 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 013.538-3.537l22.996 22.996a2.502 2.502 0 01-3.538 3.538L18.733 22.271z"/><path fill="#FFF0F0" d="M41.73 18.733a2.502 2.502 0 013.537 3.538L22.271 45.267a2.502 2.502 0 01-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 8l-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 22L4 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 4L2 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 6l-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.6L6 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.6L6 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" 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-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 8l3.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-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.3l-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"><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 6l-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.5l-.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-arrowdown":'<svg data-bind="svgAttrs" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M.23.226a.75.75 0 011.058.02l3.704 3.927L8.696.245a.749.749 0 111.079 1.038L5.53 5.77a.749.749 0 01-1.078 0L.209 1.283A.748.748 0 01.23.226z" fill="#606060"/></svg>',"dxrd-svg-operations-arrowup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.77 5.774a.75.75 0 01-1.058-.02L5.008 1.828 1.304 5.755A.749.749 0 11.225 4.717L4.47.23a.749.749 0 011.078 0l4.244 4.488a.748.748 0 01-.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 0L6 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 22l6-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-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 10l6 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 6l-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 18l6-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 12l-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 0L12 5h-1.5v2.36c0 2.489-2.382 4.285-4.775 3.601l.55-1.923A1.746 1.746 0 008.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 003.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 01-1 1H3a1 1 0 01-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 7L4.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 20l6-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"><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 0L1 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"><path class="dxd-icon-fill" d="M14.6 6.9l-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"><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"><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"><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"><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"><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"><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"><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.3l-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 4l-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 0L14 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-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.4l-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.6l-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 12l5.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 6L8 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 12l5 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"><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"><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-NoDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><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"><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"><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>'}),c.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>","dxrd-borders":'<div class="dxrd-bordereditor" data-bind="dxBorderEditor: { value: value, disabled: disabled }"></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() }"></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() }"></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: { value: value, disabled: disabled }"></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.ContextMenuDisabled && $root.ContextMenuDisabled() ? null : { contextmenu: function(_, e) { $data.reportContextMenuHandler && $data.reportContextMenuHandler($root.selection, e); }}"> </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 } ]"> <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: { editors: $root.popularVisibleEditors(), rtl: rtl } }"></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.ShowPopularControlActions() --\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 } } --\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 </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', 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 data-bind=\"dxclick: action\"> <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-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\': active }, 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 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="propertygrid-editor-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> <div class="dx-group-header-font dxd-text-primary" 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 }"> <div data-bind="visible: !disabled, dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option(\'useKeyboard\', false); } }"> \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 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> \x3c!-- /ko --\x3e </div> </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($data.validatorOptions || { validationRules: $data.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($data.validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-property-editor":"<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\" data-bind=\"attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}\"> <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: isComplexEditor --\x3e <div data-bind=\"enable: templateName === 'dx-emptyHeader'\"> <div class=\"propertygrid-editor-collapsed dx-collapsing-image\" data-bind=\"template: 'dxrd-svg-collapsed', css: { 'dx-image-expanded': !collapsed }\"></div> \x3c!-- ko if: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName }\"></div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: !!$data.textToSearch --\x3e <div class=\"dx-group-header-font\" data-bind=\"text: displayName, attr: { 'title': displayName }\"></div> \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko if: !isComplexEditor --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <label class=\"propertygrid-editor-displayName\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, 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: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}\"></label> \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <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) } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- ko if: isComplexEditor --\x3e <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> \x3c!-- /ko --\x3e </div> </div>","dx-emptyHeader":"","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: { validationRules: validationRules || [] }\"></div> </div>","dx-file":"<div data-bind=\"dxFileImagePicker: { value: value, 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(!$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(!$parent.disabled()) { italic(!italic()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-italic\'--\x3e\x3c!-- /ko --\x3e</div> <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(!$parent.disabled()) { underline(!underline()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-underline\'--\x3e\x3c!-- /ko --\x3e</div> <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(!$parent.disabled()) { strikeout(!strikeout()); } }">\x3c!-- ko template: \'dxrd-svg-fontstyle-strikeout\'--\x3e\x3c!-- /ko --\x3e</div> </div> </div> \x3c!-- /ko --\x3e </div> </div>',"dx-image":"<div data-bind=\"dxFileImagePicker: { value: value, 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: { validationRules: validationRules || [] }\"></div>","dx-number-editor":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }\"></div>","dx-text":"\x3c!-- ko if: $data.validationRules --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions($data.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: !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); } }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></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 }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></div> \x3c!-- /ko --\x3e <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-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, 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" data-bind="click: toggleSelected"> \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-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>","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" 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 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> \x3c!-- ko template: \'dx-filtereditor-popup\' --\x3e \x3c!-- /ko --\x3e </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" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" --\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 <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getListEditOptions($element, $root)"></div> \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":"<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, 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","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="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) } }"> <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> </div>',"dx-treelist-item-actions":'\x3c!-- ko foreach: actions --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\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"> \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, styleunit: padding, 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 \x3c!-- ko if: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenuDisabled && $root.ContextMenuDisabled() ? null : { contextmenu: toggleSelected }, draggable: dragDropHandler"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenuDisabled && $root.ContextMenuDisabled() ? null : { contextmenu: toggleSelected }"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </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":'<div class="dx-treelist-image" data-bind="css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> \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, 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"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected, draggable: isDraggable ? dragDropHandler : null"> <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>"});{t=window.ko;let e=!1;window.DevExpress&&window.DevExpress.ui&&window.DevExpress.ui.dxTextBox?e=!0:console.error("The DevExtreme library is missing. Check whether a script is included on the page."),t?!t.bindingHandlers.dxPopup&&e&&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.")}cr();E=window.DevExpress||{};(t=E).Analytics=t.Analytics||{},t.Analytics.Internal=e,t.Analytics.Serializer=t.Analytics.Serializer||{},t.Analytics.Serializer.Native=o,t.Analytics.Utils=i,t.Analytics.Widgets=s,t.Analytics.Widgets.Ace=K,t.Analytics.Widgets.Metadata=R,t.Analytics.Widgets.Internal=r,t.Analytics.Widgets.Filtering=a,t.Analytics.Widgets.TreeList=W,t.Analytics.Criteria=l,t.Analytics.Criteria.Utils=j,t.Analytics.Elements=n,t.Analytics.Elements.Metadata=G,t.Analytics.Tools=U,t.Analytics.Localization=q,t.Analytics.VERSION="23.2.0",e=window.DevExpress,o=e.Analytics.VERSION,(e=e.VERSION)!=o&&console.warn(`Analytics-Core (v${o}) and DevExtreme (v${e}) versions do not match.`),V.default=E.Analytics}]);
8
+ !function(i){var r={};function s(e){var t;return(r[e]||(t=r[e]={i:e,l:!1,exports:{}},i[e].call(t.exports,t,t.exports,s),t.l=!0,t)).exports}s.m=i,s.c=r,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)s.d(i,r,function(e){return t[e]}.bind(null,r));return i},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s(s.s=66)}([function(e,t){e.exports=ko},function(e,t){e.exports=jQuery},function(e,t,i){"use strict";i.d(t,"h",function(){return a}),i.d(t,"a",function(){return n}),i.d(t,"e",function(){return o}),i.d(t,"d",function(){return d}),i.d(t,"b",function(){return l}),i.d(t,"c",function(){return c}),i.d(t,"g",function(){return p}),i.d(t,"f",function(){return h});var s=i(18),u=i(22),r=i(30);function a(e,t){return{model:e,properties:t}}class n{cleanNode(e){}addDisposeCallback(e,t){}removeDisposeCallback(e,t){}peek(e){return e}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){e[t]=i}generateProperty(e,t,i,r){s.c.generateProperty(e,t,i,r)}generateArrayProperty(e,t,i,r){s.c.generateArrayProperty(e,t,i,r)}createComputedProperty(t,i,r,e,s,a=0){const n={prevValue:void 0,value:void 0},o=()=>{var e=t[i];n.prevValue=n.value,"object"!=typeof(n.value=e)&&n.prevValue===n.value||(e={propertyName:i,newValue:e},t.onPropertyChanged&&t.onPropertyChanged(e),Object(u.b)(t,e),t.events&&t.events.call("propertyChanged",e))};function d(r,e){var t;let s={};const a=[];return"*"===e?a.push(null==(t=null==r?void 0:r.events)?void 0:t.on("propertyChanged",()=>{o()})):e.forEach(i=>{var e,t;"object"==typeof(t=i)&&"subscribables"in t?(t=i.propertyName+"Changed",a.push(null==(e=null==r?void 0:r.events)?void 0:e.on(t,({propertyName:e})=>{if(s[e]&&s[e](),Array.isArray(r[e])){const t=r[e].map(e=>d(e,i.subscribables));s[e]=()=>t.forEach(e=>e())}else s[e]=d(r[e],i.subscribables);o()}))):"string"==typeof i&&(e=i+"Changed",a.push(null==(t=null==r?void 0:r.events)?void 0:t.on(e,()=>o())))}),()=>{for(var e in s)s[e]();a.forEach(e=>e&&e())}}"function"==typeof r?(Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:()=>r()}),r()):Object.defineProperty(t,i,{configurable:!0,enumerable:!0,get:()=>r.read(),set:e=>r.write(e)});const l=e.map(e=>e.model?d(e.model,e.properties):()=>{});return()=>{l.forEach(e=>e())}}subscribeValue(e,t){return()=>{}}subscribeOnPropertyChanged(e,t,i,r){if(e&&e.events){const s=e.events.on(t+"Changed",({newValue:e})=>{i(e)});return()=>{s(),r&&r()}}return()=>{}}unwrap(e){return e}wrap(e){return e}applyBindings(e,t){}}const o=new n,d=e=>new r.a(e);let l=d,c=o;function p(e){c=e}function h(e){l=e}},function(e,t,i){"use strict";i.d(t,"b",function(){return a}),i.d(t,"c",function(){return n}),i.d(t,"a",function(){return o}),i.d(t,"d",function(){return d});var r=i(7),s=i(9);function a(e){Object(r.b)(s.i,e.messages)}function n(e,t,i){return Object(s.d)(e,t,s.l)}function o(e,t){return-1!==e.indexOf(t,e.length-t.length)}function d(t){Object(r.b)(s.b,t);const i={};Object.keys(t).forEach(e=>{i[e]=t[e]}),a({messages:i})}},function(e,t,i){"use strict";i.d(t,"a",function(){return r});class r{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})))}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]})}}},function(e,t,i){"use strict";i.r(t),i.d(t,"CriteriaOperatorPreprocessor",function(){return s}),i.d(t,"criteriaCreator",function(){return a});var r=i(11);class s{constructor(){this._func=[],this._factory={},this._changeTypeFactory={}}addListener(e){-1===this._func.indexOf(e)&&this._func.push(e)}removeListener(e){e=this._func.indexOf(e);-1!==e&&this._func.splice(e,1)}register(e,t,i){this._factory[e]=t,i&&(this._changeTypeFactory[e]=e=>{let t=i(e);return t=e.reverse?this.process("unary",{operator:t,operatorType:r.UnaryOperatorType.Not}):t})}process(t,i={}){let r=t in this._factory?this._factory[t](i):this._factory.default();return this._func.forEach(e=>{r=e(r,{operatorType:t,options:i||{}})}),r}changeByType(e){return this._changeTypeFactory[e._type]?this._changeTypeFactory[e._type](e):null}}const a=new s},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"FunctionOperatorType",function(){return r}),(i=r=r||{})[i.None=0]="None",i[i.Custom=1]="Custom",i[i.CustomNonDeterministic=2]="CustomNonDeterministic",i[i.Iif=3]="Iif",i[i.InRange=4]="InRange",i[i.IsNull=5]="IsNull",i[i.IsNullOrEmpty=6]="IsNullOrEmpty",i[i.Trim=7]="Trim",i[i.Len=8]="Len",i[i.Substring=9]="Substring",i[i.Upper=10]="Upper",i[i.Lower=11]="Lower",i[i.Concat=12]="Concat",i[i.Ascii=13]="Ascii",i[i.Char=14]="Char",i[i.ToStr=15]="ToStr",i[i.Replace=16]="Replace",i[i.Reverse=17]="Reverse",i[i.Insert=18]="Insert",i[i.CharIndex=19]="CharIndex",i[i.Remove=20]="Remove",i[i.Abs=21]="Abs",i[i.Sqr=22]="Sqr",i[i.Cos=23]="Cos",i[i.Sin=24]="Sin",i[i.Atn=25]="Atn",i[i.Exp=26]="Exp",i[i.Log=27]="Log",i[i.Rnd=28]="Rnd",i[i.Tan=29]="Tan",i[i.Power=30]="Power",i[i.Sign=31]="Sign",i[i.Round=32]="Round",i[i.Ceiling=33]="Ceiling",i[i.Floor=34]="Floor",i[i.Max=35]="Max",i[i.Min=36]="Min",i[i.Acos=37]="Acos",i[i.Asin=38]="Asin",i[i.Atn2=39]="Atn2",i[i.BigMul=40]="BigMul",i[i.Cosh=41]="Cosh",i[i.Log10=42]="Log10",i[i.Sinh=43]="Sinh",i[i.Tanh=44]="Tanh",i[i.PadLeft=45]="PadLeft",i[i.PadRight=46]="PadRight",i[i.StartsWith=47]="StartsWith",i[i.EndsWith=48]="EndsWith",i[i.Contains=49]="Contains",i[i.ToInt=50]="ToInt",i[i.ToLong=51]="ToLong",i[i.ToFloat=52]="ToFloat",i[i.ToDouble=53]="ToDouble",i[i.ToDecimal=54]="ToDecimal",i[i.LocalDateTimeThisYear=55]="LocalDateTimeThisYear",i[i.LocalDateTimeThisMonth=56]="LocalDateTimeThisMonth",i[i.LocalDateTimeLastWeek=57]="LocalDateTimeLastWeek",i[i.LocalDateTimeThisWeek=58]="LocalDateTimeThisWeek",i[i.LocalDateTimeYesterday=59]="LocalDateTimeYesterday",i[i.LocalDateTimeToday=60]="LocalDateTimeToday",i[i.LocalDateTimeNow=61]="LocalDateTimeNow",i[i.LocalDateTimeTomorrow=62]="LocalDateTimeTomorrow",i[i.LocalDateTimeDayAfterTomorrow=63]="LocalDateTimeDayAfterTomorrow",i[i.LocalDateTimeNextWeek=64]="LocalDateTimeNextWeek",i[i.LocalDateTimeTwoWeeksAway=65]="LocalDateTimeTwoWeeksAway",i[i.LocalDateTimeNextMonth=66]="LocalDateTimeNextMonth",i[i.LocalDateTimeNextYear=67]="LocalDateTimeNextYear",i[i.InDateRange=68]="InDateRange",i[i.IsOutlookIntervalBeyondThisYear=69]="IsOutlookIntervalBeyondThisYear",i[i.IsOutlookIntervalLaterThisYear=70]="IsOutlookIntervalLaterThisYear",i[i.IsOutlookIntervalLaterThisMonth=71]="IsOutlookIntervalLaterThisMonth",i[i.IsOutlookIntervalNextWeek=72]="IsOutlookIntervalNextWeek",i[i.IsOutlookIntervalLaterThisWeek=73]="IsOutlookIntervalLaterThisWeek",i[i.IsOutlookIntervalTomorrow=74]="IsOutlookIntervalTomorrow",i[i.IsOutlookIntervalToday=75]="IsOutlookIntervalToday",i[i.IsOutlookIntervalYesterday=76]="IsOutlookIntervalYesterday",i[i.IsOutlookIntervalEarlierThisWeek=77]="IsOutlookIntervalEarlierThisWeek",i[i.IsOutlookIntervalLastWeek=78]="IsOutlookIntervalLastWeek",i[i.IsOutlookIntervalEarlierThisMonth=79]="IsOutlookIntervalEarlierThisMonth",i[i.IsOutlookIntervalEarlierThisYear=80]="IsOutlookIntervalEarlierThisYear",i[i.IsOutlookIntervalPriorThisYear=81]="IsOutlookIntervalPriorThisYear",i[i.IsLastMonth=82]="IsLastMonth",i[i.IsLastYear=83]="IsLastYear",i[i.IsNextMonth=84]="IsNextMonth",i[i.IsNextYear=85]="IsNextYear",i[i.IsThisWeek=86]="IsThisWeek",i[i.IsThisMonth=87]="IsThisMonth",i[i.IsThisYear=88]="IsThisYear",i[i.IsJanuary=89]="IsJanuary",i[i.IsFebruary=90]="IsFebruary",i[i.IsMarch=91]="IsMarch",i[i.IsApril=92]="IsApril",i[i.IsMay=93]="IsMay",i[i.IsJune=94]="IsJune",i[i.IsJuly=95]="IsJuly",i[i.IsAugust=96]="IsAugust",i[i.IsSeptember=97]="IsSeptember",i[i.IsOctober=98]="IsOctober",i[i.IsNovember=99]="IsNovember",i[i.IsDecember=100]="IsDecember",i[i.IsSameDay=101]="IsSameDay",i[i.IsYearToDate=102]="IsYearToDate",i[i.DateDiffTick=103]="DateDiffTick",i[i.DateDiffSecond=104]="DateDiffSecond",i[i.DateDiffMilliSecond=105]="DateDiffMilliSecond",i[i.DateDiffMinute=106]="DateDiffMinute",i[i.DateDiffHour=107]="DateDiffHour",i[i.DateDiffDay=108]="DateDiffDay",i[i.DateDiffMonth=109]="DateDiffMonth",i[i.DateDiffYear=110]="DateDiffYear",i[i.DateTimeFromParts=111]="DateTimeFromParts",i[i.GetDate=112]="GetDate",i[i.GetMilliSecond=113]="GetMilliSecond",i[i.GetSecond=114]="GetSecond",i[i.GetMinute=115]="GetMinute",i[i.GetHour=116]="GetHour",i[i.GetDay=117]="GetDay",i[i.GetMonth=118]="GetMonth",i[i.GetYear=119]="GetYear",i[i.GetDayOfWeek=120]="GetDayOfWeek",i[i.GetDayOfYear=121]="GetDayOfYear",i[i.GetTimeOfDay=122]="GetTimeOfDay",i[i.Now=123]="Now",i[i.UtcNow=124]="UtcNow",i[i.Today=125]="Today",i[i.AddTimeSpan=126]="AddTimeSpan",i[i.AddTicks=127]="AddTicks",i[i.AddMilliSeconds=128]="AddMilliSeconds",i[i.AddSeconds=129]="AddSeconds",i[i.AddMinutes=130]="AddMinutes",i[i.AddHours=131]="AddHours",i[i.AddDays=132]="AddDays",i[i.AddMonths=133]="AddMonths",i[i.AddYears=134]="AddYears",i[i.OrderDescToken=135]="OrderDescToken"},function(e,t,i){"use strict";i.d(t,"e",function(){return p}),i.d(t,"c",function(){return n}),i.d(t,"d",function(){return h}),i.d(t,"b",function(){return g}),i.d(t,"a",function(){return o});const r={},s=r.hasOwnProperty;function a(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[r.toString.call(e)]||"object":typeof e}function p(e){var t;return!("object"!==a(e)||e.nodeType||null!=(t=e)&&t===t.window||e.constructor&&!s.call(e.constructor.prototype,"isPrototypeOf"))}function n(e){return"string"!=typeof e&&null!==e&&"object"==typeof e&&0===Object.keys(e).length}function h(e){return"function"===a(e)}function g(e,t){let i,r,s,a,n,o,d=e||{},l=1,u=arguments.length,c=!1;for("boolean"==typeof d&&(c=d,d=arguments[l]||{},l++),"object"==typeof d||h(d)||(d={}),l===u&&(d=this,l--);l<u;l++)if(null!=(i=arguments[l]))for(r in i)s=d[r],a=i[r],d!==a&&(c&&a&&(p(a)||(n=Array.isArray(a)))?(o=n?(n=!1,s&&Array.isArray(s)?s:[]):s&&p(s)?s:{},d[r]=g(c,o,a)):void 0!==a&&(d[r]=a));return d}function o(e,t){return Object.assign(Object.create(Object.getPrototypeOf(e)),t||e)}["Boolean","Number","String","Function","Array","Date","RegExp","Object","Error"].forEach(e=>r["[object "+e+"]"]=e.toLowerCase())},function(e,t,i){"use strict";i.d(t,"a",function(){return s}),i.d(t,"b",function(){return a}),i.d(t,"c",function(){return n}),i.d(t,"d",function(){return o});var r=i(2);function s(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 a(s,...t){var i=(e,t=!0)=>{var i=e.split(".");let r=s;for(let e=0;e<i.length-1;e++)!r[i[e]]&&t&&(r[i[e]]={}),r=r[i[e]];return{object:r,propertyName:i[i.length-1]}};const r=t[t.length-1],a=i(t[t.length-1]);for(let e=0;e<t.length-1;e++)((t,e)=>{Object.defineProperty(e.object,e.propertyName,{get:()=>(console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),a.object[a.propertyName]),set:e=>{console.warn("DevExpress."+t+" is now deprecated and will be removed in future versions. Use DevExpress."+r+" instead."),a.object[a.propertyName]=e},configurable:!0})})(t[e],i(t[e]))}function n(e,t){let i=()=>{r.c.removeDisposeCallback(e,i),t&&t(),i=null,t=null};r.c.addDisposeCallback(e,i)}function o(e,i){let r=e;const s=[];return Object.assign(t=>(void 0!==t&&r!==t&&(r=t,i&&i(t),s.forEach(e=>e(t))),r),{subscribe:e=>(s.push(e),()=>s.splice(s.indexOf(e),1)),notifySubscribers:t=>{r!==t&&(r=t,s.forEach(e=>e(t)))}})}},function(e,t,i){"use strict";i.d(t,"f",function(){return o}),i.d(t,"d",function(){return l}),i.d(t,"l",function(){return u}),i.d(t,"a",function(){return c}),i.d(t,"i",function(){return p}),i.d(t,"b",function(){return h}),i.d(t,"o",function(){return g}),i.d(t,"j",function(){return m}),i.d(t,"n",function(){return f}),i.d(t,"m",function(){return v}),i.d(t,"e",function(){return x}),i.d(t,"h",function(){return b}),i.d(t,"g",function(){return y}),i.d(t,"c",function(){return _}),i.d(t,"k",function(){return C});var r=i(33),s=i(1),a=i(26),n=i(7);function o(e){Object(n.b)(p,e)}function d(e){return y(e)||e}function l(e,t=null,i=u){var r=t&&y(t)||d(e);return x(r=t&&function(e,t=u){var i=y(e);if(i&&t&&(-1!==i.indexOf("&")||-1!==i.indexOf("<u>")||-1!==i.indexOf("</u>")))return(t={})[e]=i.replace("&","").replace("<u>","").replace("</u>",""),o(t),t[e]}(t,i)||r)&&(e=r),x(e)?d(e):r}const u=!0;var c=c||window.Globalize;const p={},h={};function g(){return l("Select...","AnalyticsCoreStringId.PropertyGrid_Editor_EmptyText")}function m(){return l("No data to display","AnalyticsCoreStringId.DataPreview_Empty")}function f(){return l("Enter text to search...","AnalyticsCoreStringId.QueryBuilder_SearchBox_EmptyText")}function v(e,t){const i=s.Deferred();return 0<e.length?s.when(...e).done((...e)=>{e.forEach(e=>o(e[0]))}).always(()=>i.resolve(t())):i.resolve(t()),i}function x(e){return!!h[e]}function b(e){return!!x(e)&&l(e)}function y(e){return p[e]}function _(e){return r.formatDate(e,"shortDate")}function C(e,t=!0,i){return t?e?e instanceof Date?e:Object(a.a)(e):null:i?r.parseDate(e,i):r.parseDate(e,void 0)}},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"BinaryOperatorType",function(){return r}),(i=r=r||{})[i.Equal=0]="Equal",i[i.NotEqual=1]="NotEqual",i[i.Greater=2]="Greater",i[i.Less=3]="Less",i[i.LessOrEqual=4]="LessOrEqual",i[i.GreaterOrEqual=5]="GreaterOrEqual",i[i.Like=6]="Like",i[i.BitwiseAnd=7]="BitwiseAnd",i[i.BitwiseOr=8]="BitwiseOr",i[i.BitwiseXor=9]="BitwiseXor",i[i.Divide=10]="Divide",i[i.Modulo=11]="Modulo",i[i.Multiply=12]="Multiply",i[i.Plus=13]="Plus",i[i.Minus=14]="Minus"},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"UnaryOperatorType",function(){return r}),(i=r=r||{})[i.Minus=0]="Minus",i[i.Plus=1]="Plus",i[i.BitwiseNot=2]="BitwiseNot",i[i.Not=3]="Not",i[i.IsNull=4]="IsNull"},function(e,t,i){"use strict";var r;i.r(t),i.d(t,"GroupOperatorType",function(){return r}),(i=r=r||{})[i.And=0]="And",i[i.Or=1]="Or"},function(e,t,i){"use strict";i.d(t,"a",function(){return a});var r=i(5),s=i(11);class a{constructor(){this.type="default",this.operands=null,this.changeValue=(e,t,i)=>{t=t?r.criteriaCreator.process("unary",{operatorType:s.UnaryOperatorType.Minus,operator:e}):e;return null!==i.index?this[i.name][i.index]=t:this[i.name]=t,t},this.changeValueType=(e,t)=>{e=new e;return null!==t.index?this[t.name][t.index]=e:this[t.name]=e,e},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(){var 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"}}r.criteriaCreator.register("default",e=>new a)},function(e,t,i){"use strict";i.d(t,"a",function(){return s});var t=i(13),r=i(5);class s extends t.a{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):r.criteriaCreator.process("property",{propertyName:this.propertyName})}}r.criteriaCreator.register("property",e=>new s(e.propertyName,e.startColumn,e.startLine,e.originalPropertyLength,e.circumflex))},function(e,t,i){"use strict";i.d(t,"a",function(){return d});var t=i(13),s=i(19),r=i(10),a=i(11),n=i(12),o=i(5);class d extends t.a{constructor(e,t,i,r){super(),this.change=(e,t)=>{let i=null;return e.type===n.GroupOperatorType&&(i=o.criteriaCreator.changeByType(e),(e.type!==i.enumType?i.leftPart:i).assignFrom(t),this.condition=i),i},this.assignLeftPart=e=>{e.leftPart instanceof d?this.assignFrom(e.leftPart):e instanceof d?(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 s.a&&r.operatorType===a.UnaryOperatorType.Not?"group"===r.operand.type?this.condition=o.criteriaCreator.process("unary",{operator:r.operand,operatorType:a.UnaryOperatorType.Not}):this.condition=o.criteriaCreator.process("unary",{operator:o.criteriaCreator.process("group",{operation:n.GroupOperatorType.And,operands:r.operand?[r.operand]:[]}),operatorType:a.UnaryOperatorType.Not}):this.condition=o.criteriaCreator.process("group",{operation:n.GroupOperatorType.And,operands:r?[r]:[]}),this.operatorType=i,t&&(1<t.length?this.customAggregatedExpression=t:this.aggregatedExpression=t[0]||null)}get displayType(){return this.operatorType}get enumType(){return d}get leftPart(){return this.property}children(){const t=[];return this.condition&&t.push(this.condition),this.aggregatedExpression?t.push(this.aggregatedExpression):this.customAggregatedExpression&&this.customAggregatedExpression.forEach(e=>t.push(e)),t}accept(t){if(t.visitAggregateOperand)return t.visitAggregateOperand(this);let e=null;return this.aggregatedExpression?e=[this.aggregatedExpression]:this.customAggregatedExpression&&(e=this.customAggregatedExpression.map(e=>e.accept(t))),o.criteriaCreator.process("aggregate",{aggregateType:this.operatorType,aggregatedExpression:e,condition:this.condition&&this.condition.accept(t),property:this.property&&this.property.accept(t)})}}o.criteriaCreator.register("aggregate",e=>new d(e.property,e.aggregatedExpression,e.aggregateType,e.condition),e=>{var t={property:o.criteriaCreator.process("property"),aggregateType:e.value,aggregatedExpression:null,condition:o.criteriaCreator.process("group",{operation:n.GroupOperatorType.And,operands:[]})};return"Exists"===e.value?o.criteriaCreator.process("aggregate",t):("Count"!==e.value&&(t.aggregatedExpression=[o.criteriaCreator.process("property")]),o.criteriaCreator.process("binary",{left:o.criteriaCreator.process("aggregate",t),right:o.criteriaCreator.process("value",{value:void 0}),operatorType:r.BinaryOperatorType.Equal}))})},function(e,t,i){"use strict";i.d(t,"d",function(){return s}),i.d(t,"a",function(){return a}),i.d(t,"f",function(){return o}),i.d(t,"g",function(){return d}),i.d(t,"c",function(){return u}),i.d(t,"b",function(){return c}),i.d(t,"e",function(){return p});var t=i(8),r=i(3);const s=Object(t.d)(19),a=Object(t.d)("Times New Roman, 9.75pt");function n(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 o(e){return e&&n(e)}function d(e){return!e||n(e)}const l=()=>Object(r.c)("Guid is required and should have a valid format.","AnalyticsCoreStringId.GuidIsRequired_Error"),u=[{type:"custom",validationCallback:e=>d(e.value),get message(){return l()}}],c=[{type:"required",get message(){return l()}}],p=[{type:"required",get message(){return Object(r.c)("The value cannot be empty","AnalyticsCoreStringId.ParametersPanel_DateTimeValueValidationError")}}]},function(e,t,i){"use strict";i.r(t),i.d(t,"GroupOperator",function(){return r});var t=i(13),a=i(5),s=i(12),n=i(10);class r extends t.a{constructor(e,t){super(),this.create=(e,t,i)=>{let r=a.criteriaCreator.process("binary",{left:t,right:a.criteriaCreator.process("value",{value:""}),operatorType:n.BinaryOperatorType.Equal});return e?r=a.criteriaCreator.process("group",{operation:s.GroupOperatorType.And,operands:[]}):i&&"list"===i&&(r=a.criteriaCreator.process("aggregate",{aggregateType:"Exisits",property:t,aggregatedExpression:null,condition:a.criteriaCreator.process("group",{operands:[],operation:s.GroupOperatorType.And})})),this.operands.push(r),this.operands[this.operands.indexOf(r)]},this.change=(e,t,i=!1)=>{var r=this.operands.indexOf(t);if(-1===r)throw Error("dont have this element in operands collection");var s=a.criteriaCreator.changeByType(e);return(e.type===s.enumType||Array.isArray(s.leftPart)?s:s.leftPart).assignFrom(t,i,!e.emptyRightPart),this.operands[r]=s,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||[a.criteriaCreator.process("default"),a.criteriaCreator.process("default")]).forEach(e=>this.operands.push(e))}static combine(t,e){const i=[];return(e||[]).forEach(e=>{"group"===e.type&&e.operatorType===t?i.push.apply(i,e.operands):i.push(e)}),1===i.length?i[0]:a.criteriaCreator.process("group",{operands:i,operation:t})}children(){return this.operands}get displayType(){return s.GroupOperatorType[this.operatorType]}get enumType(){return s.GroupOperatorType}accept(t){return t.visitGroupOperator?t.visitGroupOperator(this):new r(this.operatorType,this.operands&&this.operands.map(e=>e.accept(t)))}}a.criteriaCreator.register("group",e=>new r(e.operation,e.operands),e=>a.criteriaCreator.process("group",{operation:e.value,operands:[]}))},function(e,t,i){"use strict";i.d(t,"b",function(){return s}),i.d(t,"a",function(){return r}),i.d(t,"c",function(){return a});var u=i(22);const s={push:(r,s)=>{Object.defineProperty(r,"push",{enumerable:!1,configurable:!0,get:()=>(...e)=>{const i=r.length;var t=Array.prototype.push.call(r,...e);return s({operation:"push",added:e.map((e,t)=>({item:e,index:i+t})),removed:[],newValue:r}),t}})},splice:(r,s)=>{Object.defineProperty(r,"splice",{enumerable:!1,configurable:!0,get:()=>(i,e,...t)=>{e=Array.prototype.splice.call(r,i,e,...t);return s({operation:"splice",added:t.map((e,t)=>({item:e,index:i+t})),removed:e&&e.map((e,t)=>({item:e,index:i+t})),newValue:r}),e}})},pop:(i,r)=>{Object.defineProperty(i,"pop",{enumerable:!1,configurable:!0,get:()=>()=>{var e=i.length,t=Array.prototype.pop.call(i);return r({operation:"pop",added:[],removed:[{item:t,index:e-1}],newValue:i}),t}})}};class r{_defineProperty(r,s,e,a=()=>{},n){let o=e(),d=null,l=null;a&&a(o),Object.defineProperty(r,s,{configurable:!0,enumerable:!0,get:()=>o,set:e=>{const t=o,i=(o=e,()=>{var e;r.isDisposing||t===o&&"always"!==(null==n?void 0:n.notify)||(e={propertyName:s,oldValue:t,newValue:o},a&&a(o),r.onPropertyChanged&&r.onPropertyChanged(e),Object(u.b)(r,e),r.events&&r.events.call("propertyChanged",e))});if(null!=n&&n.deferred)d=d||Promise.resolve().then(()=>{i(),d=null});else if(null!=n&&n.rateLimit){if("notifyWhenChangesStop"===n.rateLimit.method)l&&clearTimeout(l);else if(null!==l)return;l=setTimeout(()=>{i(),l=null},n.rateLimit.timeout)}else i()}})}generateArrayProperty(i,r,e,t){this._defineProperty(i,r,()=>e,e=>{if(Array.isArray(e))for(const t in s)s[t](e,e=>{e=Object.assign({propertyName:r},e);i.onPropertyChanged&&i.onPropertyChanged(e),Object(u.b)(i,e),i.events.call("propertyChanged",e)})},t)}generateProperty(e,t,i,r){this._defineProperty(e,t,()=>i,null,r)}}let a=new r},function(e,t,i){"use strict";i.d(t,"a",function(){return a});var t=i(13),r=i(11),s=i(5);class a extends t.a{constructor(e,t){super(),this.type="unary",this.operand=t||s.criteriaCreator.process("default"),this.operatorType=e}get leftPart(){return this.operand}assignFrom(e){this.operatorType===r.UnaryOperatorType.Not?e instanceof a?this.operand.assignFrom(e.operand):this.operand.assignFrom(e):e instanceof a?this.operand=e.operand.leftPart:this.operand=e.leftPart||e}get displayType(){return r.UnaryOperatorType[this.operatorType]}get enumType(){return r.UnaryOperatorType}accept(e){return e.visitUnaryOperator?e.visitUnaryOperator(this):new a(this.operatorType,this.operand&&this.operand.accept(e))}}s.criteriaCreator.register("unary",e=>new a(e.operatorType,e.operator),e=>s.criteriaCreator.process("unary",{operatorType:e.value,operator:s.criteriaCreator.process("property")}))},function(e,t,i){"use strict";i.d(t,"a",function(){return r});var t=i(13),s=i(16),a=i(9),i=i(5);class r extends t.a{constructor(e,t){super(),this.type="value";let i=null!=e?e:"";var r=Object(s.f)(e);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)):e&&e.length&&"#"===e[0]&&"#"===e[e.length-1]&&!t?(i=e.slice(1,e.length-1),i=(i=Object(a.k)(i))||Object(a.k)(e.slice(1,e.length-1))):"true"===String(e).toLowerCase()||"false"===String(e).toLowerCase()?i="true"===String(e).toLowerCase()?"True":"False":t&&(this.specifics=e.match(/\#\w+\#/g)[0].replace(/\#/g,"").toLowerCase()),this.value=i}_processStringValue(e){let t=e.slice(1,e.length-1);return t=t.replace(/''/g,"'")}get displayType(){return this.value||"?"}}i.criteriaCreator.register("value",e=>new r(null==e?void 0:e.value,null==e?void 0:e.isSomeType))},function(e,t,i){"use strict";i.d(t,"a",function(){return s});var t=i(13),r=i(5);class s extends t.a{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||r.criteriaCreator.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 s}accept(t){return t.visitInOperator?t.visitInOperator(this):new s(this.criteriaOperator&&this.criteriaOperator.accept(t),this.operands&&this.operands.map(e=>e.accept(t)))}}r.criteriaCreator.register("in",e=>new s(e.criteriaOperator,e.operands),e=>r.criteriaCreator.process("in",{criteriaOperator:r.criteriaCreator.process("property"),operands:[r.criteriaCreator.process("value")]}))},function(e,t,i){"use strict";i.d(t,"b",function(){return a}),i.d(t,"a",function(){return n});const r="__viewModel__timeout",s="__viewModel__chunks";function a(e,t){e.__viewModel&&e.updateViewModel&&(e.deferredUpdateViewModel()?n(e,t):e.updateViewModel(t))}function n(t,e){var i;t.__viewModel&&t.updateViewModel&&(t[r]&&clearTimeout(t[r]),t[s]||(t[s]={}),"added"in e||"removed"in e?(i=Array.isArray(t[s][e.propertyName])?t[s][e.propertyName]:[],t[s][e.propertyName]=[...i,e]):t[s][e.propertyName]=e,t[r]=setTimeout(()=>{t[s]&&Object.keys(t[s]).forEach(e=>{e=t[s][e];Array.isArray(e)?e.forEach(e=>t.updateViewModel(e)):t.updateViewModel(e)}),t[s]={}}))}},function(e,t){e.exports=DevExpress.ui.dxScrollView},function(e,t,i){"use strict";i.d(t,"a",function(){return r});t=i(20),i=i(5);class r extends t.a{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 r(this.parameterName,this.value)}}i.criteriaCreator.register("parameter",e=>new r(e.parameterName,e.value))},function(e,t){e.exports=DevExpress.registerComponent},function(e,t,i){"use strict";function r(e,t){return(e||[]).map(e=>{let t=null!=e?e.toString():"00";return t=1===t.length?"0"+t:t}).join(t)}function s(e,t){var i=[e.getMonth()+1,e.getDate(),e.getFullYear()],e=r([e.getHours(),e.getMinutes(),e.getSeconds()],":");return"-"===t||"00:00:00"===e?(t=r([i[2],i[0],i[1]],"-"),"00:00:00"===e?t:t+" "+e):"00:00:00"===e?r([i[2],i[0],i[1]],"-"):r(i,"/")+" "+e}function a(e){e=e.split(" ");let t=e[0].split("-"),i=[0,0,0];return 1<e.length&&(3!==t.length&&(t=e[0].split("/")).splice(0,0,t.splice(2,1)[0]),3!==(i=e[1].split(":").map(e=>parseInt(e))).length)||3!==t.length?null:(t=t.map(e=>parseInt(e)),new Date(t[0],t[1]-1,t[2],i[0],i[1],i[2]))}i.d(t,"b",function(){return s}),i.d(t,"a",function(){return a})},function(e,t,i){"use strict";i.d(t,"a",function(){return r});const r={Plus:"+",Minus:"-",Equal:"=",NotEqual:"<>",Greater:">",Less:"<",LessOrEqual:"<=",GreaterOrEqual:">=",Divide:"/",BitwiseAnd:"&",BitwiseOr:"|",BitwiseXor:"^",Modulo:"%",Multiply:"*"}},function(e,t,i){"use strict";i.d(t,"a",function(){return s});var t=i(13),r=i(5);class s extends t.a{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=1<e.rightPart.length?e.rightPart[1]:r.criteriaCreator.process("value")):(this.begin=r.criteriaCreator.process("value"),this.end=r.criteriaCreator.process("value")):(this.begin=e.rightPart,this.end=r.criteriaCreator.process("value"))},this.operatorType="Between",this.type="between",this.property=e,this.begin=t||r.criteriaCreator.process("value"),this.end=i||r.criteriaCreator.process("value")}get leftPart(){return this.property}get rightPart(){return[this.begin,this.end]}get displayType(){return"Between"}get enumType(){return s}accept(e){return e.visitBetweenOperator?e.visitBetweenOperator(this):new s(this.property&&this.property.accept(e),this.begin&&this.begin.accept(e),this.end&&this.end.accept(e))}}r.criteriaCreator.register("between",e=>new s(e.property,e.begin,e.end),e=>r.criteriaCreator.process("between",{property:r.criteriaCreator.process("property"),begin:r.criteriaCreator.process("value"),end:r.criteriaCreator.process("value")}))},function(e,t,i){"use strict";i.d(t,"a",function(){return r}),i.d(t,"b",function(){return s});class r extends i(4).a{constructor(){super(...arguments),this._handlers={}}dispose(){super.dispose(),this._handlers={}}call(e,t){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){t=this._handlers[e].indexOf(t);-1!==t&&this._handlers[e].splice(t,1)}on(e,t){return this.addHandler(e,t),()=>{this._handlers[e]&&this.removeHandler(e,t)}}}class s extends r{call(e,t){var i,r;t&&"propertyChanged"===e||e===`${null==t?void 0:t.propertyName}Changed`?(r=(i=t).propertyName+"Changed",super.call(r,i),super.call("propertyChanged",i)):super.call(e,t)}}},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var l=i(7),r=i(29),s=i(26),a=i(18);class n{constructor(e){this.engineType="native",this._options={useRefs:!0,serializeDate:s.b},this._refTable={},this._linkTable={},this._options=Object(l.b)(this._options,e)}createObjectByInfo(e){return{getInfo:()=>e||[],events:new r.b,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){e=e[r].slice("#Ref-".length);let s=void 0;this._linkTable[e]=this._linkTable[e]||[],this._linkTable[e].push(e=>s=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:()=>s}})}_enumRefs(e,i,r){e._refs||(e._refs=[]),e._refs.push((e,t)=>{this._getModel(e,i)[r]=t})}_collectLinksAndEnumRefs(t,i=null,r=[]){const s=null===i;i=i||t,Object.keys(t).forEach(e=>{t[e]instanceof Object?this._collectLinksAndEnumRefs(t[e],i,[].concat(r,[e])):t[e].indexOf&&0===t[e].indexOf("#Ref-")?this._collectLinks(t,i,r,e):s||"@Ref"!==e||this._enumRefs(i,r,e)}),s&&this.linkObjects()}setLinks(i){i.linkObjTable.forEach(e=>{var t=i.objects.indexOf(e.obj());e.setRef(t)})}deserializeProperty(e,t){var i=e.modelName;if(i)return t=void 0!==t[i]?t[i]:e.defaultVal,this.deserializePropertyValue(e,t)}deserializeDefaultValue(e){return this.deserializePropertyValue(e,e.defaultVal,!1)||e.defaultVal}deserializePropertyValue(i,r,e=!0){if("string"==typeof i)return this.wrapPropertyValue(r);if(i.array)return i.from?i.from(r,this):i.info?this.wrapPropertyArrayValue(Object.keys(r||{}).map(e=>{var t=this.createObjectByInfo(i.info||[]);return this.deserialize(t,r[e]||{}),t})):void 0;if(i.from)return i.from(r,this);var t;if(i.type)return(t=new i.type(r,this,i.info))._model||this.deserialize(t,r||{},i.info),t;if(i.info)return t=this.createObjectByInfo(i.info),this.deserialize(t,r||{}),t;if(i.modelName)return this.wrapPropertyValue(r);if(e)throw new Error("Invalid info '"+JSON.stringify(i)+"'")}setLinkProperty(e,t,i){return e[t]=i,e[t]}getLinkProperty(e,t){return e[t]}generateProperty(e,t,i){a.c.generateProperty(e,t,i)}generateArrayProperty(e,t,i){a.c.generateArrayProperty(e,t,i)}deserialize(n,o,e=[]){if(o){n._model=Object(l.b)({},o),n.events||(n.events=new r.b),n.getInfo||(n.getInfo=()=>e),e=n.getInfo();var t=o["@Ref"];const d=Object.getPrototypeOf(n);e.forEach(e=>{const t=e.propertyName,i=e.modelName;void 0!==o[i]&&delete n._model[i];let r=void 0;if(e.link){r=this.wrapPropertyValue(null);var s=o[e.modelName];if(s){s=s&&s.slice("#Ref-".length);this._linkTable[s]=this._linkTable[s]||[];const a=this;this._linkTable[s].push(function(e){return 0===arguments.length?a.getLinkProperty(n,t):a.setLinkProperty(n,t,e)})}}else r=this.deserializeProperty(e,o);s=Object.getOwnPropertyDescriptor(d,t);void 0===r||s&&!s.set||this.generateProperty(n,t,r),t in n||void 0!==r||!e.array||this.generateArrayProperty(n,t,[])}),t&&(this._refTable[t]=n),this.linkObjects()}}serialize(e,t,i=null){return t||i?this._serialize(e,t||[],i):this._serialize(e,[],null)}_isSerializableValue(e){return Object(l.e)(e)&&!Object(l.c)(e)||Array.isArray(e)&&0<e.length||!Array.isArray(e)&&!Object(l.e)(e)}serializeProperty(r,e,t,s,i){let a=r.propertyName,n=this.unwrapPropertyValue("_"+a in e?e["_"+a]:e[a]),o=r.defaultVal,d=(r.beforeSerialize&&(n=r.beforeSerialize(n)),r.from&&(o=this.unwrapPropertyValue(r.from(o,this))),{});if(r.modelName&&(r.alwaysSerialize||void 0!==n&&null!==n&&(Object(l.e)(n)||!Object(l.c)(n)||Array.isArray(n)&&0<n.length||!Array.isArray(n)&&!Object(l.e)(n))&&n!==o)){if(r.link)s.linkObjTable.push({obj:()=>n,setRef:e=>{e<0?delete i[r.modelName]:i[r.modelName]="#Ref-"+e}}),d=void 0;else if(r.array){d={};let i=1;n.forEach(e=>{var t=r.info||null,t=this._serialize(e,t,s);(this._isSerializableValue(t)||r.alwaysSerialize)&&(d["Item"+i]=t,this._options.useRefs&&(t["@Ref"]=(s.objects.push(e)-1).toString()),i++)})}else if(r.from)d=n.isEmpty&&n.isEmpty()?{}:r.toJsonObject?r.toJsonObject(n,this,s):n.toString();else if(r.info||n.getInfo)d=this._serialize(n,r.info,s);else{if(!r.modelName)throw new Error("Invalid info '"+t.stringify()+"'");d=n instanceof Date?this._options&&this._options.serializeDate(n):n}(r.alwaysSerialize||this._isSerializableValue(d))&&(r.asRef&&(d["@Ref"]=(s.objects.push(n)-1).toString()),i[r.modelName]=d)}}_serialize(t,i,r){const s=Object(l.b)(!0,{},t._model),e=null===r;return r=r||{linkObjTable:[],objects:[]},s._restoreLinks&&(r.linkObjTable.push.apply(r.linkObjTable,s._restoreLinks.map(e=>e(s))),delete s._restoreLinks),s._refs&&(s._refs.forEach(e=>e(s,(r.objects.push("0")-1).toString())),delete s._refs),i=t.getInfo?t.getInfo():i,delete s["@Ref"],t.isEmpty&&t.isEmpty()?{}:(i.forEach(e=>{this.serializeProperty(e,t,i,r,s)}),e&&this.setLinks(r),s)}}},function(e,t,i){"use strict";i.d(t,"a",function(){return r});t=i(5);class r extends i(20).a{constructor(e,t){super(e),this.type="value",t&&!this.specifics&&(this.specifics=t)}accept(e){return e.visitConstantValue?e.visitConstantValue(this):new r(this.value,this.specifics)}}t.criteriaCreator.register("const",e=>new r((null==e?void 0:e.value)||null))},function(e,t){e.exports=DevExpress.config},function(e,t){e.exports=DevExpress.localization},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var t=i(13),r=i(27),s=i(6),a=i(5);class n extends t.a{constructor(e,t){super(),this.toString=e=>{var t=(r.a[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(a.criteriaCreator.process("value")):this.operands.push(e.rightPart)},this.operands=[],this.type="function",this.operatorType=e,(t=t||[a.criteriaCreator.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 s.FunctionOperatorType[this.operatorType]||this.operatorType.toString()}get enumType(){return s.FunctionOperatorType}accept(t){return t.visitFunctionOperator?t.visitFunctionOperator(this):new n(this.operatorType,this.operands&&this.operands.map(e=>e.accept(t)))}}a.criteriaCreator.register("function",e=>new n(e.operatorType,e.operands),e=>new n(e.value,[a.criteriaCreator.process("property")]))},function(M,N,e){"use strict";Object.defineProperty(N,"__esModule",{value:!0});var t,i,r,s,a,n,o,d,l,u,c,p,h,g,m,f,v,x,b,y,_,C,w,A,E,I,V,z,S,T,$,L,H,R,j,W,G,P,k,D,U,q,K,Y,J,X,Z,Q,ee,te,F=e(5).criteriaCreator,O=e(10).BinaryOperatorType,ie=e(11).UnaryOperatorType,re=e(17).GroupOperator,se=e(12).GroupOperatorType,ae=e(6).FunctionOperatorType,ne=e(40).JoinOperand,oe=(e=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,45,46,47,51,52,53],U=[1,54],q=[5,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],K=[5,28,29,31,37,46],Y=[1,93],J=[1,94],X=[5,12,13,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],Z=[5,20,21,26,27,28,29,31,32,37,46],Q=[5,20,21,22,23,24,25,26,27,28,29,31,32,37,46],ee=[31,37],te=[1,105],(X={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,"(":30,")":31,IS:32,NULL:33,OP_IN:34,arguments:35,OP_BETWEEN:36,",":37,NAME_SOFT:38,STRING:39,NUMBER:40,OBJECT:41,BOOLEAN:42,GUID:43,property:44,"[":45,"]":46,".":47,agg:48,Count:49,Exists:50,FIELD_END:51,CH:52,ESC_CH:53,FIELD_START:54,"?":55,commaseparated:56,$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:"(",31:")",32:"IS",33:"NULL",34:"OP_IN",36:"OP_BETWEEN",37:",",38:"NAME_SOFT",39:"STRING",40:"NUMBER",41:"OBJECT",42:"BOOLEAN",43:"GUID",45:"[",46:"]",47:".",49:"Count",50:"Exists",51:"FIELD_END",52:"CH",53:"ESC_CH",54:"FIELD_START",55:"?"},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,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],[48,1],[48,1],[48,2],[44,2],[44,2],[44,2],[44,3],[44,3],[44,1],[44,1],[44,1],[9,2],[9,1],[35,2],[35,3],[56,1],[56,3]],performAction:function(e,t,i,r,s,a,n){var o=a.length-1;switch(s){case 1:return a[o-1];case 2:this.$=F.process("const",{value:a[o]});break;case 3:case 5:case 35:case 36:case 37:case 38:case 39:this.$=a[o];break;case 4:this.$=F.process("value",{value:a[o],isSomeType:!0});break;case 6:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Multiply});break;case 7:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Divide});break;case 8:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Plus});break;case 9:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Minus});break;case 10:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Modulo});break;case 11:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.BitwiseOr});break;case 12:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.BitwiseAnd});break;case 13:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.BitwiseXor});break;case 14:this.$=F.process("unary",{operatorType:ie.Minus,operator:a[o]});break;case 15:this.$=F.process("unary",{operatorType:ie.Plus,operator:a[o]});break;case 16:case 26:this.$=F.process("unary",{operatorType:ie.Not,operator:a[o]});break;case 17:this.$=F.process("unary",{operatorType:ie.BitwiseNot,operator:a[o]});break;case 18:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Equal});break;case 19:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.NotEqual});break;case 20:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Greater});break;case 21:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Less});break;case 22:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.GreaterOrEqual});break;case 23:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.LessOrEqual});break;case 24:this.$=F.process("binary",{left:a[o-2],right:a[o],operatorType:O.Like});break;case 25:this.$=F.process("unary",{operatorType:ie.Not,operator:F.process("binary",{left:a[o-3],right:a[o],operatorType:O.Like})});break;case 27:this.$=re.combine(se.And,[a[o-2],a[o]]);break;case 28:this.$=re.combine(se.Or,[a[o-2],a[o]]);break;case 29:case 51:case 62:this.$=a[o-1];break;case 30:this.$=F.process("unary",{operatorType:ie.IsNull,operator:a[o-2]});break;case 31:this.$=F.process("unary",{operatorType:ie.Not,operator:F.process("unary",{operatorType:ie.IsNull,operator:a[o-3]})});break;case 32:this.$=F.process("in",{criteriaOperator:a[o-2],operands:a[o]});break;case 33:this.$=F.process("between",{property:a[o-6],begin:a[o-3],end:a[o-1]});break;case 34:this.$=F.process("function",{operatorType:ae[a[o-1]]||a[o-1],operands:a[o]});break;case 40:this.$=null;break;case 41:this.$=ne.joinOrAggregate(F.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 42:this.$=ne.joinOrAggregate(F.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 43:this.$=ne.joinOrAggregate(F.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 44:this.$=ne.joinOrAggregate(F.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 45:this.$=ne.joinOrAggregate(F.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 46:this.$=F.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 47:this.$=ne.joinOrAggregate(F.process("property",{}),null,a[o].type,a[o].expr);break;case 48:this.$={type:"Count"};break;case 49:this.$={type:"Exists"};break;case 50:this.$={type:a[o-1],expr:a[o]};break;case 52: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 53: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 54: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 55: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 56:this.$={name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 57:this.$={name:a[o],line:n[o].first_line-1,col:n[o].first_column};break;case 58:this.$={circumflex:!0,started:!0,name:"",line:n[o].first_line-1,col:n[o].first_column+1};break;case 59:this.$=F.process("parameter",{parameterName:a[o]});break;case 60:this.$=F.process("value",{});break;case 61:this.$=[];break;case 63:this.$=[a[o]];break;case 64:this.$=a[o-2].concat(a[o])}},table:[{3:1,4:2,6:3,7:4,8:t=[1,5],9:6,12:i=[1,8],13:r=[1,7],17:s=[1,24],18:a=[1,9],19:n=[1,10],27:o=[1,11],30:d=[1,12],33:l=[1,19],38:u=[1,13],39:c=[1,14],40:p=[1,15],41:h=[1,16],42:g=[1,17],43:m=[1,18],44:20,45:f=[1,21],54:v=[1,23],55:x=[1,22]},{1:[3]},{5:[1,25],10:b=[1,26],11:y=[1,27],12:_=[1,28],13:C=[1,29],14:w=[1,30],15:A=[1,31],16:E=[1,32],17:I=[1,33],20:V=[1,34],21:z=[1,35],22:S=[1,36],23:T=[1,37],24:$=[1,38],25:L=[1,39],26:H=[1,40],27:R=[1,41],28:j=[1,42],29:W=[1,43],32:G=[1,44],34:P=[1,45],36:k=[1,46]},B(D=[5,10,11,12,13,14,15,16,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,2]),B(D,[2,3]),B(D,[2,4]),B(D,[2,5]),{4:47,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:48,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:49,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:50,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:51,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:52,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(e,[2,57],{35:53,30:U}),B(D,[2,35]),B(D,[2,36]),B(D,[2,37]),B(D,[2,38]),B(D,[2,39]),B(D,[2,40]),B(D,[2,46],{45:[1,55],47:[1,56],51:[1,57],52:[1,58],53:[1,59]}),{46:[1,60]},B(D,[2,60],{38:[1,61]}),B(e,[2,56]),B(e,[2,58]),{1:[2,1]},{4:62,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:63,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:64,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:65,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:66,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:67,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:68,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:69,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:70,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:71,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:72,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:73,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:74,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:75,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:76,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{26:[1,77]},{4:78,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{4:79,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},{27:[1,81],33:[1,80]},{30:U,35:82},{30:[1,83]},B(D,[2,14]),B(D,[2,15]),B(D,[2,16]),B(q,[2,17],{10:b,11:y,12:_,13:C,14:w}),B(K,[2,26],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,32:G,34:P,36:k}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,28:j,29:W,31:[1,84],32:G,34:P,36:k},B(D,[2,34]),{4:87,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,31:[1,85],33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x,56:86},{4:88,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,46:[1,89],54:v,55:x},{38:[1,92],48:90,49:Y,50:J,54:[1,91]},B(e,[2,51]),B(e,[2,52]),B(e,[2,53]),{47:[1,95]},B(D,[2,59]),B(D,[2,6]),B(D,[2,7]),B(X,[2,8],{10:b,11:y,14:w}),B(X,[2,9],{10:b,11:y,14:w}),B(D,[2,10]),B([5,15,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,11],{10:b,11:y,12:_,13:C,14:w,16:E,17:I}),B(q,[2,12],{10:b,11:y,12:_,13:C,14:w}),B([5,15,17,20,21,22,23,24,25,26,27,28,29,31,32,34,36,37,46],[2,13],{10:b,11:y,12:_,13:C,14:w,16:E}),B(Z,[2,18],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:$,25:L,34:P,36:k}),B(Z,[2,19],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:$,25:L,34:P,36:k}),B(Q,[2,20],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:P,36:k}),B(Q,[2,21],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:P,36:k}),B(Q,[2,22],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:P,36:k}),B(Q,[2,23],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,34:P,36:k}),B(Z,[2,24],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:$,25:L,34:P,36:k}),{4:96,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(K,[2,27],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,32:G,34:P,36:k}),B([5,29,31,37,46],[2,28],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,28:j,32:G,34:P,36:k}),B(D,[2,30]),{33:[1,97]},B(D,[2,32]),{4:98,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(D,[2,29]),B(D,[2,61]),{31:[1,99],37:[1,100]},B(ee,[2,63],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,28:j,29:W,32:G,34:P,36:k}),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,28:j,29:W,32:G,34:P,36:k,46:[1,101]},B(D,[2,45],{47:[1,102]}),B(D,[2,43]),B(e,[2,54]),B(e,[2,55],{35:103,30:U}),B(D,[2,48]),B(D,[2,49]),{38:te,48:104,49:Y,50:J},B(Z,[2,25],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,22:S,23:T,24:$,25:L,34:P,36:k}),B(D,[2,31]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,28:j,29:W,32:G,34:P,36:k,37:[1,106]},B(D,[2,62]),{4:107,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(D,[2,44],{47:[1,108]}),{38:te,48:109,49:Y,50:J},B(D,[2,50]),B(D,[2,47]),{30:U,35:103},{4:110,6:3,7:4,8:t,9:6,12:i,13:r,17:s,18:a,19:n,27:o,30:d,33:l,38:u,39:c,40:p,41:h,42:g,43:m,44:20,45:f,54:v,55:x},B(ee,[2,64],{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,28:j,29:W,32:G,34:P,36:k}),{38:te,48:111,49:Y,50:J},B(D,[2,42]),{10:b,11:y,12:_,13:C,14:w,15:A,16:E,17:I,20:V,21:z,22:S,23:T,24:$,25:L,26:H,27:R,28:j,29:W,31:[1,112],32:G,34:P,36:k},B(D,[2,41]),B(D,[2,33])],defaultActions:{25:[2,1]},parseError:function(e,t){var i;if(!t.recoverable)throw(i=new Error(e)).hash=t,i;this.trace(e)},parse:function(e){var t,i=this,r=[0],s=[null],a=[],n=this.table,o="",d=0,l=0,u=0,c=1,p=a.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,t)&&(g.yy[t]=this.yy[t]);h.setInput(e,g.yy),g.yy.lexer=h,g.yy.parser=this,void 0===h.yylloc&&(h.yylloc={});var m=h.yylloc,f=(a.push(m),h.options&&h.options.ranges);"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var v,x,b,y,_,C,w,A=function(){var e=h.lex()||c;return e="number"!=typeof e?i.symbols_[e]||e:e},E={};;){if(b=r[r.length-1],void 0===(y=this.defaultActions[b]||(null==v&&(v=A()),n[b]&&n[b][v]))||!y.length||!y[0]){var I="",S=[];for(_ in n[b])this.terminals_[_]&&2<_&&S.push("'"+this.terminals_[_]+"'");I=h.showPosition?"Parse error on line "+(d+1)+":\n"+h.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[v]||v)+"'":"Parse error on line "+(d+1)+": Unexpected "+(v==c?"end of input":"'"+(this.terminals_[v]||v)+"'"),this.parseError(I,{text:h.match,token:this.terminals_[v]||v,line:h.yylineno,loc:m,expected:S})}if(y[0]instanceof Array&&1<y.length)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+v);switch(y[0]){case 1:r.push(v),s.push(h.yytext),a.push(h.yylloc),r.push(y[1]),v=null,x?(v=x,x=null):(l=h.yyleng,o=h.yytext,d=h.yylineno,m=h.yylloc,0<u&&u--);break;case 2:if(C=this.productions_[y[1]][1],E.$=s[s.length-C],E._$={first_line:a[a.length-(C||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(C||1)].first_column,last_column:a[a.length-1].last_column},f&&(E._$.range=[a[a.length-(C||1)].range[0],a[a.length-1].range[1]]),void 0!==(w=this.performAction.apply(E,[o,l,d,g.yy,y[1],s,a].concat(p))))return w;C&&(r=r.slice(0,-1*C*2),s=s.slice(0,-1*C),a=a.slice(0,-1*C)),r.push(this.productions_[y[1]][0]),s.push(E.$),a.push(E._$),w=n[r[r.length-2]][r[r.length-1]],r.push(w);break;case 3:return!0}}return!0}}).lexer={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),e=(this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t,this.match.split(/(?:\r\n?|\n)/g)),r=(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),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===e.length?this.yylloc.first_column:0)+e[e.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(20<e.length?"...":"")+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)+(20<e.length?"...":"")).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;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)),(i=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.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 s in r)this[s]=r[s];return!1},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,i,r,s=this._currentRules(),a=0;a<s.length;a++)if((i=this._input.match(this.rules[s[a]]))&&(!t||i[0].length>t[0].length))if(t=i,r=a,this.options.backtrack_lexer){if(!1!==(e=this.test_match(i,s[a])))return e;if(!this._backtrack)return!1;t=!1}else 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 0<this.conditionStack.length-1?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]]:this.conditions.INITIAL).rules},topState:function(e){return 0<=(e=this.conditionStack.length-1-Math.abs(e||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"),45;case 1:return this.begin("INITIAL"),51;case 2:return 53;case 3:return 52;case 4:return"INVALID";case 5:return 39;case 6:return 43;case 7:return 8;case 8:return 41;case 9:return 40;case 10:case 11:return 42;case 12:break;case 13:return 36;case 14:return 34;case 15:return 27;case 16:return 32;case 17:return 33;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:return 21;case 25:return 18;case 26:return 14;case 27:return 21;case 28:return 24;case 29:return 25;case 30:return 22;case 31:return 23;case 32:return 29;case 33:return 28;case 34:case 35:return 20;case 36:return 26;case 37:return 28;case 38:return 29;case 39:return 16;case 40:return 15;case 41:return this.begin("fieldname"),54;case 42:return 46;case 43:return 30;case 44:return 31;case 45:return 47;case 46:return 37;case 47:return 55;case 48:return 38;case 49:return"INVALID";case 50: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})?)/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,/^(?: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],inclusive:!0}}},new((de.prototype=X).Parser=de));function B(e,t,i,r){for(i=i||{},r=e.length;r--;i[e[r]]=t);return i}function de(){this.yy={}}N.criteriaparser=oe,N.parse=function(e){return oe.parse(e)}},function(e,t,i){"use strict";i.d(t,"a",function(){return n});var t=i(13),r=i(27),s=i(10),a=i(5);class n extends t.a{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||a.criteriaCreator.process("default"),this.rightOperand=t||a.criteriaCreator.process("default"),this.operatorType=i}get leftPart(){return this.leftOperand}get rightPart(){return this.rightOperand}get displayType(){return r.a[s.BinaryOperatorType[this.operatorType]]||s.BinaryOperatorType[this.operatorType]}get enumType(){return s.BinaryOperatorType}accept(e){return e.visitBinaryOperator?e.visitBinaryOperator(this):new n(this.leftOperand&&this.leftOperand.accept(e),this.rightOperand&&this.rightOperand.accept(e),this.operatorType)}}a.criteriaCreator.register("binary",e=>new n(e.left,e.right,e.operatorType),e=>a.criteriaCreator.process("binary",{left:a.criteriaCreator.process("property"),right:a.criteriaCreator.process("value"),operatorType:e.value}))},function(e,t){e.exports=DevExpress.ui.dxTextBox},function(e,t){e.exports=DevExpress.ui.dxPopup},function(e,t){e.exports=DevExpress.events},function(e,t,i){"use strict";i.r(t),i.d(t,"JoinOperand",function(){return r});var t=i(13),s=i(5);class r extends t.a{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]?s.criteriaCreator.process("aggregate",{property:e,aggregatedExpression:r,aggregateType:i,condition:t}):s.criteriaCreator.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 r(this.joinTypeName,this.condition&&this.condition.accept(e),this.operatorType,this.aggregatedExpression&&this.aggregatedExpression.accept(e))}}},function(e,t){e.exports=DevExpress.data.DataSource},function(e,t){e.exports=window.ace},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t,i){},function(e,t){e.exports=DevExpress.ui.dxButton},function(e,t){e.exports=DevExpress.ui.dxDropDownBox},function(e,t){e.exports=DevExpress.VERSION},function(e,t){e.exports=DevExpress.ui.dxSelectBox},function(e,t){e.exports=DevExpress.ui.dxMenu},function(e,t){e.exports=DevExpress.ui.notify},function(e,t){e.exports=DevExpress.data.ArrayStore},function(e,t){e.exports=DevExpress.data.CustomStore},function(e,t){e.exports=DevExpress.ui.themes},function(e,t){e.exports=DevExpress.validationEngine},function(e,t){e.exports=DevExpress.ui.dxTextArea},function(e,t,i){"use strict";i.r(t);var r,s=i(35),a=i(5),n=i(13),o=i(14),d=i(15),l=i(28),u=i(36),c=i(20),p=i(31),h=i(34),g=i(17),m=i(21),f=i(40),v=i(24),x=i(19),b=(i(43),i(44),i(45),i(10)),y=(i(46),i(6)),_=i(12),C=(i(47),i(48),i(49),i(11));for(r in s)"default"!==r&&!function(e){i.d(t,e,function(){return s[e]})}(r);i.d(t,"CriteriaOperatorPreprocessor",function(){return a.CriteriaOperatorPreprocessor}),i.d(t,"criteriaCreator",function(){return a.criteriaCreator}),i.d(t,"CriteriaOperator",function(){return n.a}),i.d(t,"OperandProperty",function(){return o.a}),i.d(t,"AggregateOperand",function(){return d.a}),i.d(t,"BetweenOperator",function(){return l.a}),i.d(t,"BinaryOperator",function(){return u.a}),i.d(t,"OperandValue",function(){return c.a}),i.d(t,"ConstantValue",function(){return p.a}),i.d(t,"FunctionOperator",function(){return h.a}),i.d(t,"GroupOperator",function(){return g.GroupOperator}),i.d(t,"InOperator",function(){return m.a}),i.d(t,"JoinOperand",function(){return f.JoinOperand}),i.d(t,"OperandParameter",function(){return v.a}),i.d(t,"UnaryOperator",function(){return x.a}),i.d(t,"BinaryOperatorType",function(){return b.BinaryOperatorType}),i.d(t,"FunctionOperatorType",function(){return y.FunctionOperatorType}),i.d(t,"GroupOperatorType",function(){return _.GroupOperatorType}),i.d(t,"UnaryOperatorType",function(){return C.UnaryOperatorType})},function(e,t){e.exports=""},function(e,t){e.exports="/mode-json"},function(e,t){e.exports="/mode-sql"},function(e,t){e.exports="/mode-text"},function(N,V,t){"use strict";t.r(V);var z,L,H,e={},i=(t.r(e),t.d(e,"AccordionKeyboardHelper",function(){return pe}),t.d(e,"PropertyGridKeyboardHelper",function(){return he}),t.d(e,"AccessibilityControlElementBase",function(){return ue}),t.d(e,"ControlElementWithParentHighlight",function(){return ge}),t.d(e,"accessibilityFontSizeZoomFactor",function(){return me}),t.d(e,"calculateWithZoomFactor",function(){return fe}),t.d(e,"initializeMutationObserver",function(){return ve}),t.d(e,"AccessibilityKeyboardHelperBase",function(){return ce}),t.d(e,"KeyboardHelperWithArrowButtonBase",function(){return xe}),t.d(e,"ListKeyboardHelper",function(){return be}),t.d(e,"RightPanelKeyboardHelperNative",function(){return ye}),t.d(e,"ToolbarKeyboardHelper",function(){return we}),t.d(e,"TreeListKeyboardHelper",function(){return Ee}),t.d(e,"JSDesignerBindingCommon",function(){return rt}),t.d(e,"DxAnalyticsComponentCommon",function(){return st}),t.d(e,"RequestHelper",function(){return Xe}),t.d(e,"DragDropHandler",function(){return gt}),t.d(e,"DragHelperControlRectangle",function(){return ft}),t.d(e,"DragHelperContent",function(){return vt}),t.d(e,"SelectionDragDropHandler",function(){return xt}),t.d(e,"ToolboxDragDropHandler",function(){return bt}),t.d(e,"WizardDragDropHandler",function(){return yt}),t.d(e,"dxversions",function(){return _t}),t.d(e,"AjaxRequestManager",function(){return Ct}),t.d(e,"FetchRequestManager",function(){return At}),t.d(e,"DesignControlsHelper",function(){return Ot}),t.d(e,"patchPositionByRTL",function(){return Xt}),t.d(e,"CssCalculator",function(){return Zt}),t.d(e,"ExpressionType",function(){return Qt}),t.d(e,"IsDataAccessExpression",function(){return ei}),t.d(e,"editorTypeMapper",function(){return ti}),t.d(e,"getEditorType",function(){return ii}),t.d(e,"getTypeNameFromFullName",function(){return Et}),t.d(e,"getShortTypeName",function(){return It}),t.d(e,"getControlTypeName",function(){return St}),t.d(e,"getControlFullName",function(){return Tt}),t.d(e,"getImageClassName",function(){return $t}),t.d(e,"getUniqueNameForNamedObjectsArray",function(){return Pt}),t.d(e,"getUniqueName",function(){return kt}),t.d(e,"initGlobalize",function(){return si}),t.d(e,"HoverInfo",function(){return ai}),t.d(e,"InlineTextEdit",function(){return oi}),t.d(e,"processTextEditorHotKeys",function(){return ni}),t.d(e,"ObjectStructureTreeListController",function(){return di}),t.d(e,"ObjectStructureProviderBase",function(){return li}),t.d(e,"ObjectExplorerProvider",function(){return ui}),t.d(e,"ObjectStructureProvider",function(){return ci}),t.d(e,"getPaperSize",function(){return gi}),t.d(e,"_addErrorPrefix",function(){return qe}),t.d(e,"_processError",function(){return Ke}),t.d(e,"_errorProcessor",function(){return Ye}),t.d(e,"processErrorEvent",function(){return Je}),t.d(e,"initializeBaseResizableOptions",function(){return mi}),t.d(e,"initializeResize",function(){return fi}),t.d(e,"Resizable",function(){return vi}),t.d(e,"getResizeDirection",function(){return xi}),t.d(e,"KoEngine",function(){return ur}),t.d(e,"useKoIntegration",function(){return cr}),t.d(e,"Draggable",function(){return bi}),t.d(e,"SelectableElement",function(){return _i}),t.d(e,"Selectable",function(){return Ci}),t.d(e,"dxScrollProcessor",function(){return Si}),t.d(e,"ControlsStore",function(){return ki}),t.d(e,"CustomSortedArrayStore",function(){return $i}),t.d(e,"SortedArrayStore",function(){return Pi}),t.d(e,"findSurface",function(){return Pe}),t.d(e,"getControlNewAbsolutePositionOnResize",function(){return ke}),t.d(e,"getControlRect",function(){return Fe}),t.d(e,"minHeightWithoutScroll",function(){return Oe}),t.d(e,"chooseBetterPositionOf",function(){return Be}),t.d(e,"updateSurfaceContentSize",function(){return Me}),t.d(e,"getToolboxItems",function(){return Fi}),t.d(e,"blur",function(){return Oi}),t.d(e,"isDefined",function(){return Bi}),t.d(e,"convertToCssPixelUnits",function(){return x}),t.d(e,"convertFromCssPixelUnits",function(){return b}),t.d(e,"validateName",function(){return Ni}),t.d(e,"replaceInvalidSymbols",function(){return Vi}),t.d(e,"nameValidationRules",function(){return zi}),t.d(e,"CombinedObject",function(){return pr}),t.d(e,"SurfaceSelection",function(){return hr}),t.d(e,"deleteSelection",function(){return xr}),t.d(e,"SnapLinesCollector",function(){return Sr}),t.d(e,"SnapLinesHelper",function(){return $r}),t.d(e,"SnapLineSurface",function(){return Tr}),t.d(e,"ActionLists",function(){return is}),t.d(e,"ActionListsBase",function(){return ts}),t.d(e,"createActionListBaseViewModel",function(){return Qr}),t.d(e,"createBaseActionViewModel",function(){return es}),t.d(e,"copyPasteStrategy",function(){return kr}),t.d(e,"CopyPasteHandler",function(){return Dr}),t.d(e,"KeyboardHelperBase",function(){return oe}),t.d(e,"KeyboardHelper",function(){return de}),t.d(e,"KeyDownHandlersManager",function(){return le}),t.d(e,"ContextMenuProvider",function(){return ss}),t.d(e,"createObservableReverseArrayMapCollection",function(){return br}),t.d(e,"createObservableArrayMapCollection",function(){return yr}),t.d(e,"knockoutArrayWrapper",function(){return _r}),t.d(e,"deserializeChildArray",function(){return Cr}),t.d(e,"getFirstItemByPropertyValue",function(){return wr}),t.d(e,"findFirstItemMatchesCondition",function(){return Ar}),t.d(e,"find",function(){return Er}),t.d(e,"binaryIndexOf",function(){return Ir}),t.d(e,"compareArrays",function(){return as}),t.d(e,"DEBUG",function(){return Ne}),t.d(e,"DebugMode",function(){return Ve}),t.d(e,"DesignerContextGeneratorInternal",function(){return Ds}),t.d(e,"DesignerContextGenerator",function(){return Fs}),t.d(e,"ResizeSettings",function(){return Os}),t.d(e,"ContextActionsSettings",function(){return Bs}),t.d(e,"DragDropSettings",function(){return Ms}),t.d(e,"ControlsHelperSettings",function(){return Ns}),t.d(e,"MenuSettings",function(){return Vs}),t.d(e,"SelectionSettings",function(){return zs}),t.d(e,"CommonDesignerGenerator",function(){return Ls}),t.d(e,"createDesigner",function(){return js}),t.d(e,"FieldListProvider",function(){return Ws}),t.d(e,"NotifyType",function(){return ze}),t.d(e,"NotifyAboutWarning",function(){return He}),t.d(e,"getErrorMessage",function(){return Re}),t.d(e,"ShowMessage",function(){return We}),t.d(e,"_setShowMessageFunc",function(){return Ge}),t.d(e,"_resetShowMessageFunc",function(){return Ue}),t.d(e,"createUnitProperty",function(){return Gs}),t.d(e,"createUnitProperties",function(){return Us}),t.d(e,"unitsToPixel",function(){return ut}),t.d(e,"pixelToUnits",function(){return ct}),t.d(e,"roundingXDecimals",function(){return lt}),t.d(e,"copyObservables",function(){return _s}),t.d(e,"collectGroupsFromFlatList",function(){return Cs}),t.d(e,"compareObjects",function(){return ws}),t.d(e,"getFullPath",function(){return As}),t.d(e,"loadTemplates",function(){return Es}),t.d(e,"cutRefs",function(){return Is}),t.d(e,"DesignerBaseElements",function(){return Ss}),t.d(e,"generateDefaultParts",function(){return Ts}),t.d(e,"createActionWrappingFunction",function(){return $s}),t.d(e,"localizeNoneString",function(){return Ps}),t.d(e,"setAjax",function(){return Zs}),t.d(e,"_ajax",function(){return Qs}),t.d(e,"_ajaxWithOptions",function(){return ea}),t.d(e,"ajax",function(){return ta}),t.d(e,"createPasswordSerializationInfo",function(){return ia}),t.d(e,"parseZoom",function(){return Or}),t.d(e,"getSizeFactor",function(){return ra}),t.d(e,"staticContext",function(){return sa}),t.d(e,"_defaultStaticContext",function(){return aa}),t.d(e,"appendStaticContextToRootViewModel",function(){return na}),t.d(e,"getResizableOptions",function(){return ks}),t.d(e,"_wrapModelInObservable",function(){return oa}),t.d(e,"$unwrap",function(){return rs}),t.d(e,"$dx",function(){return T}),t.d(e,"koUtils",function(){return f}),t.d(e,"showTroubleshootingMessage",function(){return Qe}),t.d(e,"assignTroubleshootingPage",function(){return et}),t.d(e,"troubleshootingPageWrapper",function(){return tt}),t.d(e,"getTroubleshootingPage",function(){return it}),t.d(e,"objectsVisitor",function(){return Dt}),t.d(e,"collectionsVisitor",function(){return Ft}),t.d(e,"BordersModel",function(){return da}),t.d(e,"ControlProperties",function(){return ys}),t.d(e,"Group",function(){return vs}),t.d(e,"dxButtonWithTemplate",function(){return ca}),t.d(e,"generateIconTemplate",function(){return la}),t.d(e,"editor_template",function(){return ua}),t.d(e,"BaseActionsProvider",function(){return pa}),t.d(e,"cssTransform",function(){return ha}),t.d(e,"updateZoomBinding",function(){return ga}),t.d(e,"sizeFake",function(){return nt}),t.d(e,"locationFake",function(){return ot}),t.d(e,"EditorAddOn",function(){return hs}),t.d(e,"CodeResolver",function(){return Ri}),t.d(e,"globalResolver",function(){return ji}),t.d(e,"PopupService",function(){return xs}),t.d(e,"loadMessages",function(){return u.f}),t.d(e,"getLocalization",function(){return u.d}),t.d(e,"removeWinSymbols",function(){return u.l}),t.d(e,"Globalize",function(){return u.a}),t.d(e,"messages",function(){return u.i}),t.d(e,"custom_localization_values",function(){return u.b}),t.d(e,"selectPlaceholder",function(){return u.o}),t.d(e,"noDataText",function(){return u.j}),t.d(e,"searchPlaceholder",function(){return u.n}),t.d(e,"resolveFromPromises",function(){return u.m}),t.d(e,"isCustomizedWithUpdateLocalizationMethod",function(){return u.e}),t.d(e,"localizeWithUpdateLocalizationMethod",function(){return u.h}),t.d(e,"localize",function(){return u.g}),t.d(e,"formatDate",function(){return u.c}),t.d(e,"parseDate",function(){return u.k}),t.d(e,"StringId",function(){return va}),t.d(e,"SearchMode",function(){return z}),t.d(e,"_getFileContent",function(){return Y}),t.d(e,"uploadFile",function(){return X}),t.d(e,"_replaceUploadFile",function(){return Z}),t.d(e,"setUploadFile",function(){return Q}),t.d(e,"compareEditorInfo",function(){return ee}),t.d(e,"findMatchesInString",function(){return te}),t.d(e,"escapeToRegExp",function(){return ie}),t.d(e,"stringRemove",function(){return re}),t.d(e,"stringReplace",function(){return se}),t.d(e,"stringInsert",function(){return ae}),t.d(e,"formatUnicorn",function(){return ne}),t.d(e,"KeyboardEnum",function(){return L}),t.d(e,"KeyboardCodesEnum",function(){return H}),t.d(e,"PropertiesAccessibilityProvider",function(){return ns}),t.d(e,"defaultAccessibilityProvider",function(){return os}),t.d(e,"_defineProperty",function(){return C.a}),t.d(e,"_definePropertyByString",function(){return C.b}),t.d(e,"addDisposeCallback",function(){return C.c}),t.d(e,"createGlobalModuleVariableFunc",function(){return C.d}),t.d(e,"isPlainObject",function(){return v.e}),t.d(e,"isEmptyObject",function(){return v.c}),t.d(e,"isFunction",function(){return v.d}),t.d(e,"extend",function(){return v.b}),t.d(e,"assignObj",function(){return v.a}),t.d(e,"propertiesVisitor",function(){return gr}),t.d(e,"checkModelReady",function(){return Li}),t.d(e,"guid",function(){return Hi}),t.d(e,"DisplayExpressionConverter",function(){return Ra}),t.d(e,"HighlightEngine",function(){return ja}),t.d(e,"cloneHtmlBinding",function(){return Wa}),t.d(e,"integerValueConverter",function(){return jr}),t.d(e,"enumValueConverter",function(){return Wr}),t.d(e,"validateExpression",function(){return Gr}),t.d(e,"floatValueConverter",function(){return Ur}),t.d(e,"isDarkTheme",function(){return qr}),t.d(e,"_setIsDarkTheme",function(){return Kr}),t.d(e,"setCursorInFunctionParameter",function(){return Yr}),t.d(e,"isList",function(){return Jr}),t.d(e,"getParentContainer",function(){return Xr}),t.d(e,"isNullOrEmptyString",function(){return Zr}),{}),r=(t.r(i),t.d(i,"ajaxSetup",function(){return Xs}),t.d(i,"fetchSetup",function(){return Js}),t.d(i,"requestManager",function(){return Ks}),t.d(i,"_isFetchConfigured",function(){return Ys}),t.d(i,"TabInfo",function(){return Rs}),t.d(i,"TabPanel",function(){return D}),t.d(i,"ToolboxItem",function(){return Di}),t.d(i,"TabInfoWithPropertyGrid",function(){return Ga}),t.d(i,"ControlsFactory",function(){return qa}),t.d(i,"floatFromModel",function(){return Ka}),t.d(i,"fromEnum",function(){return Ya}),t.d(i,"parseBool",function(){return Ja}),t.d(i,"colorFromString",function(){return Xa}),t.d(i,"saveAsInt",function(){return Za}),t.d(i,"colorToInt",function(){return Qa}),t.d(i,"colorToString",function(){return en}),t.d(i,"addCultureInfo",function(){return m.b}),t.d(i,"getLocalization",function(){return m.c}),t.d(i,"_stringEndsWith",function(){return m.a}),t.d(i,"updateLocalization",function(){return m.d}),t.d(i,"registerBaseBinding",function(){return an}),t.d(i,"addToBindingsCache",function(){return nn}),t.d(i,"addTemplate",function(){return Se}),t.d(i,"getTemplate",function(){return g}),t.d(i,"EventManager",function(){return Ht.a}),t.d(i,"EventPropertyManager",function(){return Ht.b}),t.d(i,"ModelSerializer",function(){return or}),t.d(i,"deserializeArray",function(){return dn}),t.d(i,"serializeDate",function(){return Da.b}),t.d(i,"deserializeDate",function(){return Da.a}),t.d(i,"Disposable",function(){return d.a}),t.d(i,"_LatestChangeSet",function(){return mr}),t.d(i,"UndoEngine",function(){return vr}),t.d(i,"PathRequest",function(){return Wi}),{}),s=(t.r(r),t.d(r,"TextAlignmentModel",function(){return ln}),t.d(r,"DataMemberTreeListController",function(){return un}),t.d(r,"dxFieldListPicker",function(){return cn}),t.d(r,"PopupEditorBase",function(){return pn}),t.d(r,"RequiredNullableEditor",function(){return hn}),t.d(r,"createNumericEditor",function(){return gn}),t.d(r,"wrapOptions",function(){return mn}),t.d(r,"CollectionEditorViewModel",function(){return vn}),t.d(r,"wrapModelWithKo",function(){return xn}),t.d(r,"dxEllipsisEditor",function(){return yn}),t.d(r,"dxFileImagePicker",function(){return _n}),t.d(r,"availableFonts",function(){return Hs}),t.d(r,"availableUnits",function(){return Cn}),t.d(r,"FontModel",function(){return wn}),t.d(r,"registerBaseBinding",function(){return rn}),t.d(r,"addToBindingsCache",function(){return B}),t.d(r,"getFromCache",function(){return sn}),t.d(r,"propertiesGridEditorsPaddingLeft",function(){return P.d}),t.d(r,"defaultFontSerialization",function(){return P.a}),t.d(r,"validateGuid",function(){return P.f}),t.d(r,"validateNullableGuid",function(){return P.g}),t.d(r,"guidValidationRules",function(){return P.c}),t.d(r,"guidRequiredValidationRules",function(){return P.b}),t.d(r,"requiredValidationRules",function(){return P.e}),t.d(r,"SvgTemplateSource",function(){return Ie}),t.d(r,"SvgTemplatesEngine",function(){return c}),t.d(r,"aceAvailable",function(){return Tn}),t.d(r,"CodeCompletor",function(){return Ta}),t.d(r,"createFunctionCompletion",function(){return $a}),t.d(r,"trimBrackets",function(){return Pa}),t.d(r,"insertOrUpdateFunctions",function(){return ya}),t.d(r,"functionDisplay",function(){return _a}),t.d(r,"resetFunctionDisplay",function(){return Ca}),t.d(r,"combineFunctionDisplay",function(){return wa}),t.d(r,"operatorNames",function(){return Sa}),t.d(r,"Tools",function(){return $n}),t.d(r,"ExpressionEditorTreeListController",function(){return kn}),t.d(r,"ExpressionEditorParametersTreeListController",function(){return Dn}),t.d(r,"RangeSpecific",function(){return Aa}),t.d(r,"createExpressionEditorCollectionToolOptions",function(){return Ea}),t.d(r,"wrapExpressionValue",function(){return Ia}),t.d(r,"FilterEditorAddOn",function(){return Fn}),t.d(r,"FilterEditorCodeCompletor",function(){return Qn}),t.d(r,"initDisplayText",function(){return Ln}),t.d(r,"FilterEditorSerializer",function(){return Ha}),t.d(r,"FilterEditorTreeListController",function(){return Kn}),t.d(r,"CriteriaSurfaceValidatorState",function(){return On}),t.d(r,"CriteriaSurfaceValidator",function(){return Yn}),t.d(r,"formatStringStandardPatterns",function(){return eo}),t.d(r,"PopupComponentBase",function(){return to}),t.d(r,"dxPopupWithAutoHeight",function(){return io}),t.d(r,"ResizeHelper",function(){return ro}),t.d(r,"ValueEditorHelper",function(){return S}),t.d(r,"initTreeListBinding",function(){return ao}),t.d(r,"wrapTreeListOptionsWithKo",function(){return sr}),t.d(r,"KoTreeListItemFactory",function(){return ar}),t.d(r,"ReorderTreeListDragDropHelper",function(){return oo}),t.d(r,"TreeListController",function(){return Pn}),t.d(r,"maxSearchLevel",function(){return Ji}),t.d(r,"TreeListItemStore",function(){return Xi}),t.d(r,"TreeListItemFactory",function(){return Zi}),t.d(r,"DefaultTreeListItemFactory",function(){return Qi}),t.d(r,"setDefaultTreeListItemFactory",function(){return er}),t.d(r,"TreeListEllipsisButton",function(){return tr}),t.d(r,"TreeListItemViewModel",function(){return I}),t.d(r,"TreeListRootItemViewModel",function(){return ir}),t.d(r,"treeListEditAction",function(){return Ui}),t.d(r,"updateTreeListItemViewModel",function(){return qi}),t.d(r,"createTreeListItemViewModel",function(){return Ki}),t.d(r,"createTreeListEllipsisButtonViewModel",function(){return Yi}),t.d(r,"TreeListSearchOptions",function(){return so}),t.d(r,"TreeListSearchViewModel",function(){return no}),{}),R=(t.r(s),t.d(s,"EditorTemplates",function(){return at}),t.d(s,"editorTemplates",function(){return h}),t.d(s,"unwrapEditor",function(){return ps}),t.d(s,"Editor",function(){return k}),t.d(s,"createViewModel",function(){return cs}),t.d(s,"EditorValidator",function(){return ls}),t.d(s,"ObjectProperties",function(){return gs}),t.d(s,"PropertyGridEditor",function(){return ms}),t.d(s,"PropertyGridEditorFlat",function(){return fs}),t.d(s,"InitAccordion",function(){return uo}),t.d(s,"GuidEditor",function(){return co}),t.d(s,"FontEditor",function(){return fo}),t.d(s,"getNotValidRange",function(){return vo}),t.d(s,"ExpressionEditor",function(){return xo}),t.d(s,"FilterEditorHelper",function(){return Jn}),t.d(s,"DefaultFilterEditorHelper",function(){return Xn}),t.d(s,"_setDefaultFilterEditorHelper",function(){return Zn}),t.d(s,"FilterEditor",function(){return _o}),t.d(s,"FilterEditorPlain",function(){return Co}),t.d(s,"FilterStringOptions",function(){return wo}),t.d(s,"FilterStringPlainOptions",function(){return Ao}),t.d(s,"FormatStringEditor",function(){return Eo}),t.d(s,"BooleanEditor",function(){return Io}),t.d(s,"ColorPickerEditor",function(){return So}),t.d(s,"FieldListEditor",function(){return To}),t.d(s,"DataMemberEditor",function(){return $o}),t.d(s,"addTemplate",function(){return Se}),t.d(s,"getTemplate",function(){return g}),{}),a=(t.r(R),t.d(R,"fontName",function(){return po}),t.d(R,"fontSize",function(){return ho}),t.d(R,"fontSizeUnit",function(){return go}),t.d(R,"fontInfo",function(){return mo}),{}),j=(t.r(a),t.d(a,"CriteriaOperatorSurface",function(){return Bn}),t.d(a,"AggregateOperandSurface",function(){return Nn}),t.d(a,"BetweenOperandSurface",function(){return Vn}),t.d(a,"BinaryOperandSurface",function(){return zn}),t.d(a,"OperandSurfaceBase",function(){return Hn}),t.d(a,"FunctionOperandSurface",function(){return Rn}),t.d(a,"GroupOperandSurface",function(){return jn}),t.d(a,"InOperandSurface",function(){return Wn}),t.d(a,"OperandParameterSurface",function(){return Gn}),t.d(a,"OperandPropertySurface",function(){return Un}),t.d(a,"OperandValueSurface",function(){return qn}),t.d(a,"UnaryOperandSurface",function(){return Mn}),{}),W=(t.r(j),t.d(j,"criteriaForEach",function(){return zr}),t.d(j,"CriteriaOperatorPreprocessor",function(){return yo.CriteriaOperatorPreprocessor}),t.d(j,"criteriaCreator",function(){return yo.criteriaCreator}),t.d(j,"operatorTokens",function(){return Va.a}),t.d(j,"MachineState",function(){return Hr}),t.d(j,"CriteriaOperatorStateMachine",function(){return Rr}),{}),n=(t.r(W),t.d(W,"LoadChildItemsForCollapsedNodes",function(){return Gi}),{}),G=(t.r(n),t.d(n,"Rectangle",function(){return mt}),t.d(n,"SurfaceElementArea",function(){return Do}),t.d(n,"SurfaceElementBase",function(){return Fo}),t.d(n,"ElementViewModel",function(){return Ua}),t.d(n,"Margins",function(){return Oo}),t.d(n,"PaddingModel",function(){return Jt}),t.d(n,"Point",function(){return Pr}),t.d(n,"SerializableModel",function(){return Bo}),t.d(n,"Size",function(){return dt}),t.d(n,"compareSizes",function(){return Mo}),{}),U=(t.r(G),t.d(G,"left",function(){return Bt}),t.d(G,"right",function(){return Mt}),t.d(G,"top",function(){return Nt}),t.d(G,"bottom",function(){return Vt}),t.d(G,"all",function(){return zt}),t.d(G,"paddingSerializationsInfo",function(){return Lt}),{}),q=(t.r(U),t.d(U,"ActionId",function(){return Fr}),{}),o=(t.r(q),t.d(q,"loadMessages",function(){return No}),{}),K=(t.r(o),t.d(o,"arrayModificationMapper",function(){return Rt.b}),t.d(o,"PropertyDeserializationEngine",function(){return Rt.a}),t.d(o,"defaultPropertyDeserializatonEngine",function(){return Rt.c}),t.d(o,"updateViewModel",function(){return Wt.b}),t.d(o,"_updateViewModelWithChunks",function(){return Wt.a}),t.d(o,"BaseModel",function(){return Gt}),t.d(o,"mutable",function(){return A}),t.d(o,"mutableArray",function(){return Ut}),t.d(o,"BaseEmptyModel",function(){return qt}),t.d(o,"BaseRenderingModel",function(){return Kt}),t.d(o,"BaseRenderingMultiplatformModel",function(){return Yt}),t.d(o,"modelAccessor",function(){return pt}),t.d(o,"setDefautModelAccessor",function(){return ht}),t.d(o,"NativeModelSerializer",function(){return nr.a}),t.d(o,"createViewModelGenerator",function(){return y}),t.d(o,"setDefaultViewModelGenerator",function(){return jt}),t.d(o,"subscribableProperty",function(){return p.h}),t.d(o,"MultiplatformEngine",function(){return p.a}),t.d(o,"nativeMultiPlatformEngine",function(){return p.e}),t.d(o,"nativeModelSerializer",function(){return p.d}),t.d(o,"currentModelSerializer",function(){return p.b}),t.d(o,"currentMultiPlatformEngine",function(){return p.c}),t.d(o,"setCurrentMultiplatfromEngine",function(){return p.g}),t.d(o,"setCurrentModelSerializer",function(){return p.f}),t.d(o,"deserializeArray",function(){return on}),{}),_=(t.r(K),t.d(K,"defineAceThemes",function(){return zo}),t.d(K,"getAceThemeName",function(){return Lo}),t.d(K,"defineAceDocComments",function(){return Vo}),t.d(K,"defineAceCriteria",function(){return Ho}),t.d(K,"defineAce",function(){return Ko}),t(1)),C=t(8),d=t(4),u=t(9);function Y(e,t){return"text"!==t?e.replace(/(^data:[^,]+,)|(^data:)/,""):e}(l=z=z||{})[l.contains=0]="contains",l[l.startWith=1]="startWith";const J="dxd-fileuploader-input";let X=d=>{const l=_.Deferred();let u=document.getElementById(J);var e;return(u=u||((e=document.createElement("input")).type="file",e.id=J,e.style.width="0px",e.style.height="0px",e.style.display="none",document.body.appendChild(e),e)).accept=d.accept,u.onchange=()=>{var e=u,t=l,i=d;try{var r=e.files;for(let e=0;e<r.length;e++){var s=r[e];if("img"===i.type){var a=/image.*/;if(!s.type.match(a))continue}const n=new FileReader,o=s.name.split(".").pop();n.onload=()=>{try{t.resolve({format:o,content:Y(n.result,i.readMode)})}catch(e){t.reject()}},"text"===i.readMode||"html"===o||"htm"===o?n.readAsText(s):n.readAsDataURL(s)}}catch(e){t.reject()}u.value=""},u.click(),l.promise()};const Z=e=>X=e;function Q(e){X=e}function ee(e,t){return!!e&&!!t&&e.header===t.header&&e.content===t.content&&e.editorType===t.editorType}function te(e,t,i){if(!i){const r=ie(t);return!!e&&e.match(new RegExp(r,"gi"))}let r=i.canUseRegex?t:ie(t),s=(i.searchMode!=z.startWith||i.canUseRegex||(r="^"+r),"");return i.caseSensitive||(s+="i"),i.globalMatch&&(s+="g"),!!e&&e.match(new RegExp(r,s))}function ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t,i){return i=i||e.length-t,e.slice(0,t)+e.slice(t+i,e.length)}function se(e,t,i,r=""){return ae(re(e,t,i),t,Array(i+1).join(r))}function ae(e,t,i){return e.substring(0,t)+i+e.substring(t)}function ne(e,...r){return e.replace(/{(\d+)(:[^}]+)?}/g,(e,t,i)=>{t=r[parseInt(t)];return null!=t?i&&"d"===i.substring(1)?Object(u.c)(new Date(t)):t.toString():e})}(l=L=L||{}).Plus="+",l.Minus="-",l.Equal="=",l.Tab="Tab",l.Delete="Delete",l.Enter="Enter",l.Esc="Escape",l.Space=" ",l.End="End",l.Home="Home",l.PageUp="PageUp",l.PageDown="PageDown",l.ArrowLeft="ArrowLeft",l.ArrowUp="ArrowUp",l.ArrowRight="ArrowRight",l.ArrowDown="ArrowDown",(l=H=H||{})[l.Tab=9]="Tab",l[l.Enter=13]="Enter",l[l.Esc=27]="Esc",l[l.Space=32]="Space",l[l.End=35]="End",l[l.Home=36]="Home",l[l.Left=37]="Left",l[l.Up=38]="Up",l[l.Right=39]="Right",l[l.Down=40]="Down";class oe extends d.a{_processShortcut(e,t,i){e=e[H[t.keyCode]];return!!e&&e(t,i)}processShortcut(e,t){return this._processShortcut(this.shortcutMap,e,t)}processChildrenShortcut(e,t){return this._processShortcut(this.childrenShortcutMap,e,t)}}class de extends oe{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(){var e=this._selection.focused()&&this._selection.focused().parent;e&&this._selection.focused(e)}moveSelectedControls(n,e,o){var r=this._selection.focused();if(r&&!r.getControlModel().getMetaData().isCopyDeny){this._undoEngine&&this._undoEngine().start();const d=e?"left":"top",l=e?"width":"height";let t,i,a;r.rect&&(t=r.rect()[d],i=r.rect()[d]+r.rect()[l],this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e=e.rect()[d];e<t&&(t=e)}),this._selection.selectedItems.filter(e=>!e.locked).forEach(e=>{e=e.rect()[d]+e.rect()[l];e>i&&(i=e)}),n&&t<=0||!r.parent.rect||!n&&i.toFixed(5)>=r.parent.rect()[l]||(this._selection.selectedItems.filter(e=>!e.locked).filter(e=>!!e.rect).forEach(e=>{var t={},i=e.rect()[d],r=e.rect()[l],s=e.parent.rect()[l];a=i+ +o,(n&&0<=a||!n&&a+r<=s)&&(t[d]=a),!n&&a+r>s&&(t[d]=s-r),n&&a<0&&0<i&&(t[d]=0),e.rect(t)}),this._undoEngine&&this._undoEngine().end()))}}}class le{constructor(e){this._handlers=[],this._targetElement=e}get _activeHandler(){return 0<this._handlers.length?this._handlers[this._handlers.length-1]:null}_removeHandler(e,t){var 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))}bindHandler(e,t,i="keydown"){this._activeHandler&&this._targetElement.removeEventListener(i,this._activeHandler);const r=e=>{(0<_.fn.constructor(this._targetElement).closest(".dx-designer").length||0<_.fn.constructor(e.target).closest(".dx-designer").length||e.target===document.body)&&t(e)};this._handlers.push(r),this._targetElement.addEventListener(i,r),Object(C.c)(e,()=>{this._removeHandler(r,i)})}}class ue extends d.a{constructor(e){super(),this.element=e,this._eventListeners=[]}dispose(){super.dispose(),this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.element=null}addListener(e,t,i){const r=e=>{i.call(this,e)};e.addEventListener(t,r),Object(C.c)(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 ce extends oe{constructor(){super(),this.childrenInitialized=!1,this.accessibilityCompliantEnabled=!1,this.focusFirstFocusableDescendant=!1,this.controlElements=[],this._eventListeners=[],this.setTabIndexes=t=>{this.controlElements.forEach(e=>e.setTabIndex(t))},this.liveRegion=()=>this.liveRegionId?(this._liveRegion&&this._liveRegion.element||(this._liveRegion={element:document.getElementById(this.liveRegionId),changeText:(e,t=200)=>setTimeout(()=>{this._liveRegion.element&&(this._liveRegion.element.textContent=e)},t)}),this._liveRegion):null,this.onInitialized=(e,t)=>{t&&(this.accessibilityCompliantEnabled=!0),this.accessibilityCompliantEnabled&&this.bindHandler(e)},this.onDomUpdated=()=>{if(this.accessibilityCompliantEnabled&&!this.isDisposing){var i=this.getElements()||[];let t=i.length!==this.controlElements.length;if(!t)for(let e=0;e<i.length;e++)if(i[e]!==this.controlElements[e].element){t=!0;break}t&&(this.initialize(void 0,i),this._handlersManager.bindHandler(this._elementContainer,e=>this._keyDownHandler(e)))}},this.onDispose=()=>{this.dispose()},this.shortcutMap={Esc:e=>this.handleEscKey(e),Tab:e=>{return!(!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)=>{return!(!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)}}_disposeItems(){this._eventListeners.forEach(e=>{e.element.removeEventListener(e.eventType,e.listener)}),this._eventListeners.length=0,this.disposeArray(this.controlElements),this.controlElements.length=0}getElements(t){if(this._elementContainer){let e=Array.prototype.slice.call(this._elementContainer.querySelectorAll("."+this.controlElementClassName));if(e.length)return e=t?e.filter(t):e}}initialize(e,t){this._disposeItems();t=t||this.getElements(e);t&&(t.forEach((e,t)=>{e=this.createControlElement(e,t);e&&this.controlElements.push(e)}),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 ue(e)}getContainer(){return this._elementContainer}changeFocus(e,t=!0){var i=this.controlElements.length-1;return this.controlElements[e=i<(e=e<0?t?i:0:e)?t?0:i:e].setFocus(),e}bindHandler(e){this._elementContainer=e,this.initialize(),this._handlersManager=new le(this._elementContainer),this._handlersManager.bindHandler(this._elementContainer,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._disposeItems(),this._elementContainer=null,this._prevActiveElement=null}addListener(e,t,i,r){const s=e=>{r.call(this,e,t)};e.addEventListener(i,s),Object(C.c)(e,function(){e.removeEventListener(i,s)}),this._eventListeners.push({element:e,eventType:i,listener:s})}focus(e){if(this.childrenInitialized||this._elementContainer)if(this._prevActiveElement=e||document.activeElement,this.childrenInitialized&&!this.focusFirstFocusableDescendant)this.changeFocus(this.startIndex||0);else{const t=this._elementContainer.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');setTimeout(()=>t.length&&t[0].focus())}}lastFocusItem(){return document.getElementById("dxrd-designer-last-focus-item-blank")}_keyDownHandler(e){var t=e.target;(t.classList.contains(this.controlElementClassName)&&this.processChildrenShortcut(e,this.getIndexByElement(t))||this.processShortcut(e))&&(e.stopPropagation(),e.preventDefault())}}class pe extends ce{constructor(e,t=()=>{}){super(),this._editorViewModelsAccessor=e,this._onToggleCollapsed=t,this.controlElementClassName="dxrd-accessibility-accordion-trigger"}_collapseItem(e){var t,i,r=this._editorViewModelsAccessor();r&&(t=r.getCollapsed(),i=r.alwaysShow,r.setCollapsed(!i&&!t),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 he extends ce{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(){var e={};const i=(e,t)=>{e&&e.filter(e=>e.isComplexEditor).forEach(e=>{t[e.headerId]={editor:e,isInitialized:!1},i(e.viewmodel.editors,t)})};return i(this._editorsViewModelsAccessor(),e),e}_getComplexEditorsHierarchy(){const t={},r=(t,i)=>{t.viewmodel.editors.filter(e=>e.isComplexEditor).forEach(e=>{i[e.headerId]=t.headerId,r(e,i)})};return this._editorsViewModelsAccessor().filter(e=>e.isComplexEditor).forEach(e=>{r(e,t)}),t}_filterPredicate(e){var t;let i=e.id;for(;this._triggersParentToChildMap&&this._triggersParentToChildMap[i];){if(null!=(t=null==(t=this._complexEditorMap[this._triggersParentToChildMap[i]])?void 0:t.editor)&&t.getCollapsed())return!1;i=this._triggersParentToChildMap[i]}return!0}initialize(){Object.keys(this._complexEditorMap).length||(this._complexEditorMap=this._getComplexEditors()),Object.keys(this._triggersParentToChildMap).length||(this._triggersParentToChildMap=this._getComplexEditorsHierarchy()),Object.keys(this._complexEditorMap).forEach(e=>{var t,i;this._complexEditorMap[e].isInitialized||(t=document.getElementById(e))&&((i=new pe(()=>this._complexEditorMap[e].editor,()=>this._defferedInit())).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 ge extends ue{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)}dispose(){this.element.removeEventListener("focus",this.toolbarItemHandleFocus),this.element.removeEventListener("blur",this.toolbarItemHandleBlur),super.dispose()}}const me=Object(C.d)(1),fe=function(e){return e*me()};function ve(e,t,i){const{onInitialized:r,onDomUpdated:s,onDispose:a,controlElementClassName:n}=t,o=new MutationObserver(e=>{var t;e=e,t=n,e.some(e=>e.target.querySelector("."+t))&&s()});return o.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style"]}),r(e,i),()=>{o.disconnect(),a()}}class xe extends ce{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();e=super.changeFocus(e,t);return this.controlElements[e].setTabIndex("0"),this.controlElements[e].setFocus(),this.startIndex=e}}class be extends xe{constructor(){super(...arguments),this.controlElementClassName="dx-accessibility-list-item"}createControlElement(e,t){return new ge(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 ye extends ce{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 ue(e)}itemHandleDownArrowKey(e,t){return this.setFocusToNext(t,!0),!0}itemHandleUpArrowKey(e,t){return this.setFocusToPrevious(t,!0),!0}}var l=t(53),_e=t.n(l),l=t(54),Ce=t.n(l),m=t(3);const f={isSubscribable:e=>"function"==typeof e&&"subscribe"in e,isComputed:e=>f.isSubscribable(e)&&"dispose"in e,unwrap:e=>f.isSubscribable(e)?e():e};class we extends xe{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),f.isSubscribable(this._buttonModels)&&this.addDisposable(this._buttonModels.subscribe(e=>{this._buttonsSubscriptions.forEach(e=>e.dispose()),this._buttonsSubscriptions=[],this._subscribeButtonsAndInitialize(e)}))}_subscribeButtonsAndInitialize(e){e.forEach(e=>{f.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){t=this.buttonModels[t];if(t.getVisible&&t.getVisible()||f.unwrap(t.visible))return new Ae(e,this.getContainer(),t,this.liveRegion.bind(this))}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}get buttonModels(){return f.unwrap(this._buttonModels)}}class Ae extends ge{constructor(e,t,i,r){super(e,t),this.element=e,this._toolbarItemModel=i,this._liveRegion=r,this._selectBox=_e.a.getInstance(e.children[0]),this._menu=Ce.a.getInstance(e.children[0])}_complexItem(){return!(!this._selectBox&&!this._menu)}dispose(){super.dispose(),this._menu=null,this._selectBox=null}setFocus(){return this._complexItem()&&"true"!==this.element.getAttribute("aria-disabled")?this._liveRegion().changeText(Object(m.c)("press Enter or Space to activate the editor","ASPxReportsStringId.WebDocumentViewer_AriaActivateEditor"),200):this._liveRegion().changeText(""),super.setFocus()}actionExecute(){this._complexItem()&&this._liveRegion().changeText(Object(m.c)("Press Alt ↓ or Alt ↑ to navigate the editor. Press Shift Tab to exit navigation mode.","ASPxReportsStringId.WebDocumentViewer_AriaEditorKeyboardNavigation"),500),this._selectBox?this._selectBox.focus():this._menu?this._menu.focus():f.unwrap(this._toolbarItemModel.disabled)||this._toolbarItemModel.clickAction()}}class Ee extends be{constructor(e){super(),this._rootHolder=e,this.controlElementClassName="dx-accessibility-treelist-item"}_setFocusToParentNode(e,t){let i=1;var r=e.parent.items,s=r.indexOf(e);const a=(e,t)=>(e.hasItems&&!e.collapsed&&e.items.forEach(e=>{t+=a(e,0)}),t+=1);for(let e=0;e<s;e++)i+=a(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 ue(e)}itemHandleLeftArrowKey(e,t){var i=this._getItemModel(e.target);return i.hasItems&&!i.collapsed?this._toggleCollapsed(e.target,i.getViewModel()):this._setFocusToParentNode(i,t),!0}itemHandleRightArrowKey(e,t){var 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}}var v=t(7);class Ie{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 c{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 c.Instance._templates}static addTemplate(e,t){c.templates[e]=t}static addTemplates(e){Object(v.b)(c.templates,e)}static extendTemplates(i){for(let e in i){let t=void 0;Object.defineProperty(c.templates,e,{configurable:!0,enumerable:!0,get:()=>t||c.templates[i[e]],set:e=>{t=e}})}}static getExistingTemplate(e,t=!0){return c.Instance._hasTemplate(e,t)?e:void 0}}function Se(e,t){c.addTemplate(e,t)}function g(e){var e="#"===e[0]?e.substr(1):e,t=document.querySelector("#"+e);return t&&t.innerHTML||c.templates[e]}var Te,l=t(55),$e=t.n(l);function Pe(e){return e?e.surface:null}function ke(e,t,i,r){var 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 De(e){return parseInt(e,10)||0}function Fe(e,t,i){let r=De(e.css("left"));var s=De(e.css("top")),i=(i.rtl()&&(i=i.pageWidth()-i.margins.left()-e.width(),r>i)&&(r=i),e[0].getBoundingClientRect());return{top:s,left:r,width:i.width,height:i.height}}function Oe(e){return Math.min(e.scrollHeight,e.offsetHeight,e.clientHeight)+e.offsetTop}function Be(e,t){return t&&(Oe(e)<Oe(t)?window:t)||window}function Me(s,a,n=!1){return()=>{var e=_.fn.constructor(a).find(".dxrd-designer").eq(0),t=e.find(".dxrd-toolbox-wrapper:visible").outerWidth()||0,i=(e.find(".dxrd-right-panel:visible").outerWidth()||0)+(e.find(".dxrd-right-tabs:visible").outerWidth()||0),r=i+t,r=e.width()-r;e.find(".dxrd-surface-wrapper").eq(0).css({left:n?i:t,right:n?t:i,width:r,bottom:e.find(".dxrd-navigation-panel-wrapper:visible").outerHeight()||0}),s(r)}}let Ne=!1;function Ve(e){Ne=e}const ze={info:"info",warning:"warning",error:"error",success:"success"},Le=(Te=window.console,{info:(l=e=>function(){Te&&_.isFunction(Te[e])&&Te[e].apply(Te,arguments)})("info"),warn:l("warn"),error:l("error")});function He(e,t=!1){if(t&&We(e),Ne)throw new Error(e);Le.warn(e)}function Re(e){return e&&e.responseJSON&&e.responseJSON.error?e.responseJSON.error:""}const je=(e,t="error",i,r,s,a)=>{a=a||_.fn.constructor(".dx-designer-viewport")[0],$e()({message:e,type:t,maxWidth:a?a.clientWidth:void 0,position:{boundary:a,collision:"fit",of:Be(document.documentElement,a),my:"bottom",at:"bottom",offset:"0 -10"},container:a,hideOnOutsideClick:!0,closeOnSwipe:!1,displayTime:i||("error"===t?6e4:3e3),contentTemplate:s})};let We=je;const Ge=e=>We=e,Ue=()=>We=je,qe=!0;function Ke(e,t,i,r,s){let a=e;var n=Re(i);n&&n!==a&&(qe?a+=": "+n:a=n);try{s?s(a,i,r):He(a)}finally{t.reject(i,r,e)}}const Ye={handlers:[],call:t=>{for(let e=0;e<Ye.handlers.length;e++)Ye.handlers[e](t)}};function Je(t){return t&&Ye.handlers.push(t),{dispose:()=>{var e;t&&(e=t,Ye.handlers.splice(Ye.handlers.indexOf(e),1))}}}class Xe{static generateUri(e,t){return(e=e||"")&&"/"===e[e.length-1]&&t&&"/"===t[0]?e+t.substring(1):e+t}}const Ze="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx",Qe=()=>{Ze;Ze;We("","error",null,null,function(){return'<div><span>Open the browser developer console to investigate the issue. Review the following help topic: </span><a href="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx" target="_blank" rel="noopener noreferrer">Reporting Application Diagnostics</a></div>'}),console.log("Review the following help topic to diagnose a problem: https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx")},et=e=>{var t=it();(e instanceof Element?e:e[0]).innerHTML=t},tt=(e,t,i)=>{try{return e()}catch(e){if(!t||!i)throw e;et(i),console.error(e)}},it=()=>{Ze;var e=g("dxrd-svg-error");return`<div class="dxrd-error-page">${e?`<div class="dxrd-error-page-icon">${e}</div>`:""}<div class="dxrd-error-page-title">Something went wrong</div><div class="dxrd-error-page-content">Review the <a href="https://go.devexpress.com/Web_Reporting_Diagnostics_Tips.aspx" target="_blank" rel="noopener noreferrer">following help topic</a> to diagnose a problem.</div></div>`};var p=t(2);class rt extends d.a{constructor(e,t){super(),this._options=e,this._customEventRaiser=t,this._templateHtml=g("dxrd-designer"),this.developmentMode=e.developmentMode}dispose(){super.dispose(),this.sender&&this.sender instanceof d.a&&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){console.warn('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 Xe.generateUri(e,t)}_generateCallbackDictionary(e,t){const i=rt.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 r=_.Deferred();var e=this._options.requestOptions;return e.getLocalizationAction?(e=this._getServerActionUrl(e.host,e.getLocalizationAction),_.getJSON(e).fail(function(e,t,i){try{Ke(i.message,_.Deferred(),e,t)}finally{r.reject()}}).done(e=>{r.resolve(e)})):r.resolve(),r.promise()}_createDisposeFunction(e){Object(C.c)(e,()=>{this.dispose()})}static convertCallbackArrayToDictionary(e){const t={};return e.forEach(e=>{t[e.privateName]=e.callback}),t}}class st{constructor(e,t){this._element=e,this._options=t}getBindingName(){return""}render(){p.c.cleanNode(this._element),this._element.setAttribute("data-bind",this.getBindingName()+": $data"),tt(()=>p.c.applyBindings(this._options,this._element),this._options.developmentMode,this._element)}dispose(){p.c.cleanNode(this._element)}}var w=t(0);class at{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,Object(v.b)(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 h=new at,nt=[{propertyName:"height",displayName:"Height",localizationId:"AnalyticsCoreStringId.SizeF.Height",editor:h.getEditor("numeric"),editorOptions:{min:2}},{propertyName:"width",displayName:"Width",localizationId:"AnalyticsCoreStringId.SizeF.Width",editor:h.getEditor("numeric"),editorOptions:{min:2}}],ot=[{propertyName:"x",displayName:"X",editor:h.getEditor("numeric")},{propertyName:"y",displayName:"Y",editor:h.getEditor("numeric")}];class dt{constructor(e,t){this.isPropertyDisabled=e=>{},this.height=w.observable(t).extend({dxdnum:{min:2}}),this.width=w.observable(e).extend({dxdnum:{min:2}})}getInfo(){return nt}static fromString(e="0, 0"){e=e.split(",");return new dt(parseFloat(e[0]),parseFloat(e[1]))}toString(){return this.width()+", "+this.height()}}function lt(e,t=!1,i=3){return(t?Math.floor:Math.round)(e*Math.pow(10,i))/Math.pow(10,i)}function ut(e,t,i=1){let r;return r="Pixels"===t?+e:"TenthsOfAMillimeter"===t?3.78*e/10:96*e/100,lt(r*=i,!0)}function ct(e,t,i){let r;return r="Pixels"===t?+e:"TenthsOfAMillimeter"===t?e/3.78*10:e/96*100,lt(r/=i)}dt.unitProperties=["width","height"];const x=e=>e+"px",b=e=>parseFloat(e.replace("px",""));let pt=e=>{throw new Error("Model Accessor is not implemented")};function ht(e){pt=e}class gt extends d.a{constructor(e,t,r,s,i){super(),this._snapDisabled=!1,this._size=new dt(0,0),this.alwaysAlt=!1,this.surface=e,this.selection=t,this.snapHelper=s,this.dragHelperContent=i,this.stopDrag=(e,t,i)=>{r()&&r().start(),this.doStopDrag(e,t,i),r()&&r().end(),s&&s.deactivateSnapLines()}}dispose(){super.dispose(),this.surface=null,this.selection=null,this.snapHelper=null,this.dragHelperContent=null}getTarget(e){return e.toElement||pt(e.relatedTarget)&&e.relatedTarget||e&&e.target||null}_getAbsoluteSurfacePosition(e){return{left:b(e.dataset.leftPosition)-e.delta.left,top:b(e.dataset.topPosition)-e.delta.top}}addControl(e,t,i){var r=t.width&&t.width()||t._width&&t._width(),s=t.underCursor();s.x<r&&(t.getControlModel().addChild(e),t=Pe(e))&&(e=i.width(),i=i.height(),r=s.x+e>r?r-e-1:s.x,t.rect({left:r,top:Math.max(s.y,0),width:e,height:i}),this.selection.initialize(t))}recalculateSize(e){var t=w.unwrap(this.surface);this._size.width(ut(w.unwrap(e.width)*t.dpi()/100,t.measureUnit(),t.zoom())),this._size.height(ut(w.unwrap(e.height)*t.dpi()/100,t.measureUnit(),t.zoom()))}helper(e,t){this.snapHelper&&this.snapHelper.updateSnapLines(e||null)}canDrop(e,t,i){let r=e.locked;return!(r=i&&i.canDrop?r||!i.canDrop(e,t):r)}startDrag(e){}drag(e,t,i){let r=!this._snapDisabled&&!0!==e.altKey;var s;this.selection.dropTarget&&(e=!this.selection.dropTarget.getControlModel().getMetaData().isContainer&&this.selection.dropTarget.parent||this.selection.dropTarget,i=(s=i.getControlModel&&i.getControlModel())&&s.getMetaData()||i.info,this.canDrop(e,s,i)?this.dragHelperContent&&this.dragHelperContent.isLocked(!1):(this.snapHelper&&this.snapHelper.deactivateSnapLines(),r=!1,this.dragHelperContent&&this.dragHelperContent.isLocked(!0))),r&&(e=this._getAbsoluteSurfacePosition(t),s=this.snapHelper&&this.snapHelper.activateSnapLines({left:e.left,top:e.top,right:e.left+this._size.width(),bottom:e.top+this._size.height()}))&&(0<s.left||0<s.top)&&(t.dataset.leftPosition=x(b(t.dataset.leftPosition)-s.left),t.dataset.topPosition=x(b(t.dataset.topPosition)-s.top),t.ghostContainer.style.left=t.dataset.leftPosition,t.ghostContainer.style.top=t.dataset.topPosition)}doStopDrag(e,t,i){}}gt.started=w.observable(!1);class mt{constructor(e=0,t=0,i=0,r=0){this.left=w.observable(0),this.top=w.observable(0),this.width=w.observable(0),this.height=w.observable(0),this.className="dxrd-drag-helper-item",this.left(e),this.top(t),this.width(i),this.height(r)}}class ft extends mt{constructor(e,t,i,r,s){super(t,i,r,s),this.position=e}}class vt extends mt{constructor(e){super(),this.controls=w.observableArray([]),this.customData=w.observable({}),this.template="dxrd-drag-helper-source",this.isLocked=w.observable(!1),this._selectionProvider=e}get _isEmpty(){return 0===this.controls().length}reset(){this.controls([]),this.customData({})}update(i){if(this.left(i.absolutePosition.x()),this.top(i.absolutePosition.y()),this.width(i.rect().width),this.height(i.rect().height),this._isEmpty){const r=[];this._selectionProvider.selectedItems.forEach((e,t)=>{e.locked||e.parent!==i.parent||r.push(new ft(t))}),this.controls(r)}this.controls().forEach(e=>{var 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 xt extends gt{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,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=x(b(t.dataset.leftPosition)+t.scroll.left),t.dataset.topPosition=x(b(t.dataset.topPosition)+t.scroll.top),super.drag(e,t,i)}getLocation(e,t){var i=e.underCursor().x+t.underCursor().offsetX,e=e.underCursor().y+t.underCursor().offsetY;return{left:0<i?i:0,top:0<e?e:0}}ajustLocation(e,t){t.rect(this.getLocation(e,t))}doStopDrag(r,e){if(this.dragHelperContent.reset(),!this.dragHelperContent.isLocked()&&this.selection.dropTarget){var s=this.selection.dropTarget.getControlModel(),s=s.getNearestParent(s).surface;const n=this.selection.focused();let t=this.adjustDropTarget(s),e=n.getControlModel(),i=e.getNearestParent(t.getControlModel());s=(t=i&&Pe(i))!==n.parent;if(t&&t.canDrop()){var r=this._getAbsoluteSurfacePosition(r),a=(t.underCursor().x=r.left-(t.absolutePosition&&t.absolutePosition.x()||0)-n.underCursor().offsetX,t.underCursor().y=r.top-(t.absolutePosition&&t.absolutePosition.y()||0)-n.underCursor().offsetY,this.selection.selectedItems.filter(e=>!e.locked&&e.parent===n.parent).map(e=>e.getControlModel()).filter(e=>e.getMetaData().canDrop(t,e)));if(s){for(let e=0;e<a.length;e++)a[e].surface.rect({top:0,left:0});e.parentModel().removeChilds(a),i.addChilds(a);for(let e=0;e<a.length;e++)this.ajustLocation(t,a[e].surface);this.selection.focused(n),this.selection.selectItems(a.map(e=>e.surface))}else for(let e=0;e<a.length;e++)this.ajustLocation(t,a[e].surface);this.selection.expectClick=!s}}}}class bt extends gt{constructor(e,t,i,r,s,a){super(e,t,i,r,s),this.cursor="arrow",this._controlsFactory=a,this.containment=".dxrd-designer",this.cursorAt={top:0,left:0}}helper(e){super.helper(e);e=dt.fromString(e.info["@SizeF"]||e.info.size||"100,23");this.recalculateSize(e),this.dragHelperContent.setContent(new mt(0,0,this._size.width(),this._size.height()))}doStopDrag(e,t){var i;this.dragHelperContent.reset(),this.dragHelperContent.isLocked()||this.selection.dropTarget&&(t=t,i=Pe((t=this._controlsFactory.createControl(Object(v.b)({},t.info),null)).getNearestParent(this.selection.dropTarget.getControlModel())))&&i.canDrop()&&(e=this._getAbsoluteSurfacePosition(e),i.underCursor().x=e.left-(i.absolutePosition&&i.absolutePosition.x()||0),i.underCursor().y=e.top-(i.absolutePosition&&i.absolutePosition.y()||0),this.surface().isFit&&this.surface().isFit(i)||i.underCursor().isOver)&&this.addControl(t,i,this._size)}}class yt extends gt{constructor(e){super(null,null,w.observable(null),null,e.dragHelperContent),this.parent=()=>_.fn.constructor(e.parent),this.containment=e.containment,this._target=e.target,this._addHandler=e.addHandler}helper(e,t){this._dropTarget=null;t=_.fn.constructor(t.target).closest(".ui-draggable"),t=new mt(6,6,t.width(),t.height()),t.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(t,{template:"dxrd-drag-helper-source-reorder-treelist",data:{imageClassName:e.imageClassName,imageTemplateName:e.imageTemplateName,text:e.text}}),t=g(this.dragHelperContent.template),e=_.fn.constructor(t).css({display:"block"});return e.prependTo(this.parent()),w.applyBindingsToDescendants(this.dragHelperContent,e[0]),e}doStopDrag(e,t){this.dragHelperContent.reset(),this._dropTarget&&this._addHandler(this._dropTarget,pt(e),this._getAbsoluteSurfacePosition(e))}drag(e,t){var e=_.fn.constructor(this.getTarget(e)),i=e.closest(this._target);this._dropTarget=null,!i.length||this._target&&!e.closest(this._target)[0]||(this._dropTarget=pt(i.get(0)))}}l=t(52);const _t={analytics:"23.2.2",devextreme:l.version||l};class Ct{constructor(e){this.getAjaxSettings=e}sendRequest(e){e=this._prepareRequestSettings(e);return _.ajax(e)}_prepareRequestSettings(e){return Object(v.b)({},this.getAjaxSettings(),e)}}var wt=function(e,n,o,d){return new(o=o||Promise)(function(i,t){function r(e){try{a(d.next(e))}catch(e){t(e)}}function s(e){try{a(d.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(r,s)}a((d=d.apply(e,n||[])).next())})};class At{constructor(e){this._executeRequest=(e,t,i,r,s)=>{const a=_.Deferred();return this._fetch(e,t,i,r,s).then(i=>wt(this,void 0,void 0,function*(){var e=null==(e=i.headers.get("content-type"))?void 0:e.split(";")[0];if("application/json"===e)try{var t=yield i.json();i.ok?a.resolve(t,"success",Object.assign(Object.assign({},a.promise()),{responseJSON:t})):a.reject(Object.assign(Object.assign({},a.promise()),{responseJSON:t,statusText:t.statusText,status:i.status}),t.statusText)}catch(e){a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.message,status:i.status}),e.message,e)}else i.ok&&e?a.resolve({result:i,success:!0}):a.reject(Object.assign(Object.assign({},a.promise()),{statusText:i.statusText,status:i.status}),i.statusText)}),e=>{a.reject(Object.assign(Object.assign({},a.promise()),{statusText:e.message,status:0}),e.message)}),a.promise()},this._fetch=(e,t,i,r,s)=>{e={method:e,cache:null==r?void 0:r.cache,headers:null==r?void 0:r.headers,body:i,signal:null==s?void 0:s.signal},r=this.getFetchSettings();return r&&r.beforeSend&&r.beforeSend(e),fetch(t,e)},this.useFetch=!0,this.getFetchSettings=e||(()=>({}))}sendRequest(e){var{method:t,preparedUrl:i,body:r,params:s}=this._prepareParams(e);return this._executeRequest(t,i,r,s,e.abortController)}_prepareParams(e){var t=e.type,i=e.data;let r=e.url,s=null;var i=_.param(i),e=(i&&("GET"===e.type?r.includes("?")?r+="&"+i:r+="?"+i:"POST"===e.type&&(s=new URLSearchParams(i))),{cache:"default",headers:Object.assign(Object.assign({},e.headers),null==(i=this.getFetchSettings())?void 0:i.headers)});return{method:t,preparedUrl:r,body:s,params:e}}}function Et(e){return e.split(",")[0].trim()}function It(e){e=Et(e).split(".");return e[e.length-1]}function St(e){let t=e.displayType&&e.displayType()||e.controlType;return(t=e.getControlFactory&&(e=e.getControlFactory().getControlInfo(t)).displayName?e.displayName:t)&&Object(m.c)(It(t))}function Tt(e){return e?(f.unwrap(e.name)||f.unwrap(e.displayName))+((e=St(e))?" ("+e+")":""):""}function $t(e,t=!1){e=Et(e||"").split(".").join("_");let i;return 0===e.indexOf("XR")?i=e.slice(2).toLowerCase():"DevExpress_XtraReports_UI_XtraReport"===e&&(i="master_report"),(t?"dxrd-svg-toolbox-":"dxrd-image-")+(i||e.toLowerCase())}function Pt(e,t,i){var r;return 0===t.indexOf("XR")?t=t[2].toLowerCase()+t.slice(3):-1!==(r=t.indexOf("Band"))&&"SubBand"!==t&&(t=t.slice(0,r)+t.slice(r+4)),kt(i||e.map(e=>f.unwrap(e.name)),t)}function kt(e,t,i=!0){let r=i?1:0,s=i?t+r:t;for(;0<e.filter(e=>e===s).length;)r++,s=t+r;return s}function Dt(t,i,r=[],s=["surface","reportSource"]){if(-1===r.indexOf(t)&&t&&void 0!==t){const a=[];Object.keys(t).forEach(e=>{-1===r.indexOf(t[e])&&0!==e.indexOf("_")&&-1===s.indexOf(e)&&a.push(t[e])}),i(t),r.push(t);for(let e=0;e<a.length;e++)a[e]=w.unwrap(a[e]),"object"==typeof a[e]&&Dt(a[e],i,r,s)}}function Ft(i,r,s=["controls","bands","subBands","crossBandControls","rows","cells","fields"],a=[]){if(i&&void 0!==i){a.push(i);for(let e=0,t=s.length;e<t;e++)i[s[e]]&&(r(i[s[e]],i),(i[s[e]]()||[]).forEach(e=>Ft(e,r,s,a)))}}class Ot extends d.a{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();var i=t.indexOf(e);t.splice(i,1),Ft(e,e=>{e().forEach(e=>{t.splice(t.indexOf(e),1)})}),this.allControls.valueHasMutated()},this.allControls=w.observableArray();let r=e;w.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)})),r=e.peek()),this._disposables.push(this.allControls.subscribe(e=>{var t=e.filter(e=>"added"===e.status);for(let e=0;e<t.length;e++)this._setName(t[e].value)},null,"arrayChange")),r&&this._collectControls(r),this._handlers.push.apply(this._handlers,t)}getNameProperty(e){return e.name}getControlByName(t){let i=null;return this.allControls().some(e=>w.unwrap(e.name)==t&&(i=e,!0)),i}_setName(t){var e=this.allControls().map(e=>w.unwrap(this.getNameProperty(e)));(!this.getNameProperty(t)()||1<e.filter(e=>e===this.getNameProperty(t)()).length)&&(e=Pt(this.allControls(),this._getNamePrefix(t),e),this.getNameProperty(t)(e),this._setText)&&this._setDefaultText(t)}_setDefaultText(e){var 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];Ft(e,(i,r)=>{if(-1===this._visitedCollections.indexOf(i)){this._visitedCollections.push(i);let e=this._subscriptions,t=(r instanceof d.a&&(e=r._disposables),i.subscribe(e=>{e.forEach(t=>{null==t.moved&&(this[t.status]&&this[t.status](t.value),this._handlers.forEach(e=>{e[t.status]&&e[t.status](t.value)}))})},null,"arrayChange"));e.push({dispose:()=>{t.dispose(),t=null,this._visitedCollections.splice(this._visitedCollections.indexOf(i),1)}})}this.processCollection(i()),t.push.apply(t,i())},this.collectionNames),this.allControls.push.apply(this.allControls,t)}getControls(e){const t=w.observableArray();return Ft(e,e=>{t.push.apply(t,e())}),t}}const Bt={propertyName:"left",modelName:"@Left",localizationId:"AnalyticsCoreStringId.PaddingInfo.Left",displayName:"Left",editor:h.getEditor("numeric")},Mt={propertyName:"right",localizationId:"AnalyticsCoreStringId.PaddingInfo.Right",modelName:"@Right",displayName:"Right",editor:h.getEditor("numeric")},Nt={propertyName:"top",localizationId:"AnalyticsCoreStringId.PaddingInfo.Top",modelName:"@Top",displayName:"Top",editor:h.getEditor("numeric")},Vt={propertyName:"bottom",localizationId:"AnalyticsCoreStringId.PaddingInfo.Bottom",modelName:"@Bottom",displayName:"Bottom",editor:h.getEditor("numeric")},zt={propertyName:"all",localizationId:"AnalyticsCoreStringId.PaddingInfo.All",displayName:"All",editor:h.getEditor("numeric")},Lt=[zt,Bt,Mt,Nt,Vt];var Ht=t(29),Rt=t(18);let y=function(s={}){const t={createDefaultModel:e=>(s={getModel(){return e}},t),generateProperty(e,t,i){var r=s;return r[e]=t,i&&(r["set_"+e]=e=>i(e)),this},configureProperty(e,t){return e in s&&t(s[e]),this},getViewModel(){return s}};return t};function jt(e){y=e}var Wt=t(22);class Gt extends d.a{constructor(e={},t=Object(p.b)()){super(),this.events=new Ht.b,this._needInitializeModel()&&(this.deserialize(e,t),this.__decorators)&&this.__decorators.forEach(e=>e(this))}deferredUpdateViewModel(){return!0}assignProperty(e,t,i){Rt.c.generateProperty(this,e,t,i)}assignArrayProperty(e,t,i){Rt.c.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))}}function A(s,a){return(i,r)=>{i.__decorators||(i.__decorators=[]),i.__decorators.push(e=>{var t;i.isPrototypeOf(e)&&(t="function"==typeof s?s():s,e.assignProperty(r,t,a))})}}function Ut(r,s){return(t,i)=>{t.__decorators||(t.__decorators=[]),t.__decorators.push(e=>{t.isPrototypeOf(e)&&e.assignArrayProperty(i,[...r()],s)})}}class qt extends Gt{onPropertyChanged(e){}}class Kt extends Gt{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 y().createDefaultModel(this).getViewModel()}}class Yt extends Kt{constructor(e={},t,i="multiplatform"){super(e,t),this._engineType=i,this._propertiesSubscriptions={},t=t||("multiplatform"===this._engineType?Object(p.b):Object(p.d))(),this._engineType=t.engineType,this._initializeModel(e,t)}_needInitializeModel(){return!1}_getEngine(){return"native"===this._engineType?p.e:p.c}onPropertyChanged(e){}subscribeOnChanges(r,e){e.forEach(i=>{this._propertiesSubscriptions[i]&&this._propertiesSubscriptions[i](),this._propertiesSubscriptions[i]=this.subscribeProperty(i,e=>{var t;r&&(t=r[i],r[i]=e,Object(Wt.b)(this,{propertyName:i,oldValue:t,newValue:e}))})})}_get(e,t="unwrap"){e=this._getEngine().getPropertyValue(this,e);return"unwrap"===t?this.unwrap(e):"peek"===t?this.peek(e):e}_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,r,s=!1){return this._getEngine().createComputedProperty(this,e,t,i,r,s)}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={}}}l=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class Jt extends Yt{constructor(e=p.c.wrap(null),t=p.c.wrap(null),i=p.c.wrap(null),r=p.c.wrap(null),s=p.c.wrap(100)){super(),this.left=e,this.right=t,this.top=i,this.bottom=r,this.dpi=s,["left","right","top","bottom"].forEach(e=>{const t="_"+e;this.assignProperty(t,this._get(e)),this.addDisposable(this.createComputedProperty(e,{read:()=>this._get(t)||0,write:e=>{this._set(t,e)}},[Object(p.h)(this,[t])]))});let a=null;this.addDisposable(this.createComputedProperty("all",{read:()=>a=this._get("_isUpdating")?a:["right","top","bottom"].every(e=>this._get(e)===this._get("left"))?this._get("left"):null,write:t=>{this._set("_isUpdating",!0),["left","right","top","bottom"].forEach(e=>this[e](t)),this._set("_isUpdating",!1)}},[Object(p.h)(this,["_isUpdating","right","left","top","bottom"])]))}getInfo(){return Lt}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){return e&&(e=(e||"").split(","),this._set("left",parseInt(e[0])||0),this._set("right",parseInt(e[1])||0),this._set("top",parseInt(e[2])||0),this._set("bottom",parseInt(e[3])||0)),this}static from(e){return(new Jt).applyFromString(e)}toString(){if(!this.isEmpty())return this._toString()}_toString(e=0){return["left","right","top","bottom"].map(e=>parseInt(this._get(e))).concat(this._get("dpi")).join(", ")}}function Xt(e,t){if(t){if("Left"===e)return"Right";if("Right"===e)return"Left"}return e}Jt.defaultVal="0, 0, 0, 0, 100",l([A(!(Jt.unitProperties=["left","right","top","bottom"]))],Jt.prototype,"_isUpdating",void 0);class Zt{constructor(a,e){this._rtlLayout=e,this._control=a,this.borderCss=e=>{var e=this._getBorderWidth(a,e),t=p.c.unwrap(a.borderDefault),i=p.c.unwrap(a.borderColor)||"",r=p.c.unwrap(a.borders)||"",s=p.c.unwrap(a.borderDashStyle)||"";return t?this.createBorders(s,e,i,r,t):this.createBorders(s,e,i,r)},this.backGroundCss=()=>({backgroundColor:p.c.unwrap(a.backColor)||"transparent"}),this.foreColorCss=()=>{return{color:"transparent"===(p.c.unwrap(a.foreColor)||"transparent")?"black":p.c.unwrap(a.foreColor)}},this.fontCss=()=>this.createFont(p.c.unwrap(a.font)||""),this.wordWrapCss=()=>this.createWordWrap(p.c.unwrap(a.wordWrap),p.c.unwrap(a.multiline)),this.paddingsCss=()=>{var e=p.c.unwrap(a.paddingObj||a.padding)||Jt.from(Jt.defaultVal);return{paddingLeft:this._getPixelValueFromUnit(e._get("left"),a)+"px",paddingTop:this._getPixelValueFromUnit(e._get("top"),a)+"px",paddingRight:this._getPixelValueFromUnit(e._get("right"),a)+"px",paddingBottom:this._getPixelValueFromUnit(e._get("bottom"),a)+"px"}},this.textAlignmentCss=()=>{var e=p.c.unwrap(a.textAlignment)||"";return Object(v.b)(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))},this.stroke=()=>{return{stroke:"transparent"===(p.c.unwrap(a.foreColor)||"transparent")?"black":p.c.unwrap(a.foreColor)}},this.strokeWidth=()=>{return{strokeWidth:p.c.unwrap(a.lineWidth)||""}},this.strokeWidthWithWidth=()=>{return{strokeWidth:p.c.unwrap(a.width)||""}},this.strokeDashArray=()=>{return{strokeDasharray:this.createStrokeDashArray(p.c.unwrap(a.lineStyle)||"",p.c.unwrap(a.lineWidth)||"")}},this.strokeDashArrayWithWidth=()=>{return{strokeDasharray:this.createStrokeDashArray(p.c.unwrap(a.lineStyle)||"",p.c.unwrap(a.width)||"")}},this.crossBandBorder=e=>this.createBorder(p.c.unwrap(a.borderDashStyleCrossband)||"solid",this._getBorderWidth(a),p.c.unwrap(a.borderColor)||"",p.c.unwrap(a.borders)||"",e),this.angle=()=>this.createAngle(p.c.unwrap(a.angle)||0),this.cellBorder=(e,t)=>this.createControlBorder(p.c.unwrap(a.borderDashStyle)||"solid",this._getBorderWidth(a,t),p.c.unwrap(a.borderColor)||"",p.c.unwrap(a.borders)||"",e),this.zipCodeFontCss=e=>this.createZipCodeFont(e||p.c.unwrap(a.size.height)),this.zipCodeAlignment=()=>{var e="TopLeft";return Object(v.b)(this.createVerticalAlignment(e),this.createHorizontalAlignment(e))}}_getPixelValueFromUnit(e,t){return t.root&&t.root.measureUnit?ut(e,t.root.measureUnit()):e}_patchPosition(e){return Xt(e,p.c.unwrap(this._rtlLayout))}_getBorderWidth(e,t){var i=p.c.unwrap(e.borderWidth);return e.borderWidth&&"number"==typeof i?Math.floor(i*(t||1)):""}createBorder(e,t,i,r,s){var a={},e=(r=r||"All",a={stroke:"Silver",strokeWidth:2},this.createStrokeDashArray(e,t));return-1===r.indexOf(s)&&-1===r.indexOf("All")||(a.stroke=i,a.strokeWidth=t,a.strokeDasharray=e),a}createControlBorder(e,t,i,r,s,a="solid 1px Silver"){var 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)]=a,n}createBorders(e,t,i,r,s=Zt.DEFAULT_BORDER){var a=this.createControlBorder(e,t,i,r,"Left",s),n=this.createControlBorder(e,t,i,r,"Right",s),o=this.createControlBorder(e,t,i,r,"Top",s),e=this.createControlBorder(e,t,i,r,"Bottom",s);return Object(v.b)({},a,n,o,e)}createZipCodeFont(e){var t={fontFamily:"Impact"};return t.fontSize=e+"px",t}createFont(e){var t={},i=(e=e||"").split(",");if(t.fontFamily=i[0]?'"'+i[0]+'"':"",t.fontSize=i[1],2<i.length)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){var 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){var t={};return-1!==e.indexOf("Left")&&(t.textAlign=Xt("Left",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Right")&&(t.textAlign=Xt("Right",this._control.rtl()).toLowerCase()),-1!==e.indexOf("Center")&&(t.textAlign="center"),-1!==e.indexOf("Justify")&&(t.textAlign="justify"),t}createStrokeDashArray(e,t){return"Solid"===e?"":"Dot"===e?[t,2*t].join("px, ")+"px":"Dash"===e?[4*t,4*t].join("px, ")+"px":"DashDot"===e?[4*t,2*t,t,2*t].join("px, ")+"px":"DashDotDot"===e?[4*t,2*t,t,2*t,t,2*t].join("px, ")+"px":""}createWordWrap(e,t){var 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)"}}contentSizeCss(e,t,i,r,s){const a={top:1,left:1,right:1,bottom:1,width:1,height:1},n=(r=r||p.c.unwrap(this._control.borders)||"",this._getBorderWidth(this._control,i));return["Left","Top","Right","Bottom"].forEach(e=>{let t=0;""==n||-1===r.indexOf(e)&&-1===r.indexOf("All")||(t+=n),s&&(t+=this._getPixelValueFromUnit(s._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}}Zt.DEFAULT_BORDER="none";const Qt="DevExpress.DataAccess.Expression";function ei(e){return e===Qt}const ti={Enum:h.getEditor("combobox"),"System.String":h.getEditor("text"),"System.Guid":h.getEditor("guid"),"System.SByte":h.getEditor("sbyte"),"System.Decimal":h.getEditor("decimal"),"System.Int64":h.getEditor("int64"),"System.Int32":h.getEditor("int32"),"System.Int16":h.getEditor("int16"),"System.Single":h.getEditor("single"),"System.Double":h.getEditor("double"),"System.Byte":h.getEditor("byte"),"System.UInt16":h.getEditor("uint16"),"System.UInt32":h.getEditor("uint32"),"System.UInt64":h.getEditor("uint64"),"System.Boolean":h.getEditor("boolSelect"),"System.DateTime":h.getEditor("date"),"DevExpress.DataAccess.Expression":h.getEditor("expressionEditor")};function ii(e){return ti[e]||h.getEditor("text")}var ri=t(33);function si(e){var t=u.a;t&&e&&(e.cldrSupplemental&&t.load(e.cldrSupplemental),e.cldrData&&t.load(e.cldrData),e.currentCulture)&&(t.locale(e.currentCulture),ri.locale)&&ri.locale(e.currentCulture)}class ai{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 ni(e,t){e&&t&&(e.key===L.Esc&&t.esc&&t.esc(),e.key===L.Enter)&&e.ctrlKey&&t.ctrlEnter&&t.ctrlEnter()}class oi extends d.a{constructor(t){super(),this._showInline=w.observable(!1),this.text=w.observable();let i;this._disposables.push(t.focused.subscribe(()=>{this._showInline()&&i&&(i(this.text()),this._showInline(!1));var e=t.focused()&&t.focused().getControlModel();i=e&&(e.textEditableProperty||e.text||e.alias)})),this._disposables.push(this.visible=w.pureComputed({read:()=>this._showInline(),write:e=>{this._showInline(e)}})),this.show=e=>{this._showInline()||((t.selectedItems?1===t.selectedItems.length:!!t.focused())&&i&&!t.focused().locked?(this.text(i()),this._showInline(!0),e&&(e=_.fn.constructor(e).find("textarea")[0])&&e.select()):this._showInline(!1))},this.keypressAction=e=>{ni(e.event,{esc:()=>{this._showInline(!1)},ctrlEnter:()=>{i(this.text()),this._showInline(!1)}})}}}class di extends d.a{constructor(i,r){super(),this.selectedItem=null,this.itemsFilter=(e,t)=>{e=e.name.split(".")[0];return!i||-1!==i.indexOf(e)||_.isNumeric(e)},this.hasItems=e=>{var t=e.name.split(".")[0];return e.isList||!!r&&-1!==r.indexOf(t)},this.getActions=e=>e.data&&e.data.innerActions||[],this.select=e=>{this.selectedItem&&(this.selectedItem.isSelected=!1),(this.selectedItem=e).isSelected=!0},this.showIconsForChildItems=()=>!0}dispose(){this.selectedItem=null}canSelect(e){return!0}}class li extends d.a{constructor(){super(...arguments),this.selectedPath=w.observable(""),this.selectedMember=w.observable()}getClassName(e){return e.className&&e.className()?e.className():(e=/function (.{1,})\(/.exec(e.constructor.toString()))&&1<e.length?e[1]:""}createItem(e,t,i,r){e=e.getInfo&&e.getInfo(),e=e&&e.filter(e=>e.propertyName===t)[0],i=w.unwrap(i);e&&null!==i&&"object"==typeof i&&r.push({name:t,displayName:Object(m.c)(e.displayName,e.localizationId),specifics:t,innerActions:i.innerActions,isList:!!i.push})}getMemberByPath(e,t){t=t.split(".");let i=e;return t.splice(0,1),t.forEach(e=>{i&&i[e]&&(i=w.unwrap(i[e]))}),i}getObjectPropertiesForPath(e,t,i){var r=this.getMemberByPath(e,t),s=[];if(r)if(r.push)this.createArrayItem(r,s,i);else for(const a in r)this.createItem(r,a,r[a],s);return s}createArrayItem(t,i,r){for(let e=0;e<t.length;e++){var s=w.unwrap(t[e]);i.push({name:r?r+"."+e.toString():e.toString(),displayName:w.unwrap(s.displayName||s.name),specifics:this.getClassName(s),innerActions:s.innerActions,isList:!!s.push})}}}class ui extends li{constructor(s,e,r,t){super(),this.path=w.observable(""),this.getPathByMember=t,this.listPropertyNames=e||[],this.getItems=t=>{var e=_.Deferred();if(t.fullPath){const r=s.filter(e=>e.name===t.fullPath.split(".")[0])[0];var i=(i=this.getObjectPropertiesForPath(w.unwrap(r.model),t.fullPath,r.name)).map(e=>(e.cssRule={"dxrd-context-menu-container":!!r.hasContextMenu},e));e.resolve(i)}else e.resolve((s||[]).map(e=>({name:e.name,displayName:Object(m.c)(e.displayName)||e.name,isList:!0,specifics:e.className,dragData:{noDragable:!0},data:w.unwrap(e.data),cssRule:{"dxrd-context-menu-container":e.hasContextMenu}})));return e.promise()},this._disposables.push(this.selectedPath=w.computed({read:()=>r()?this.path.peek()?this.getPathByMember&&this.getPathByMember(r()).substr(this.path.peek().length+1):this.getPathByMember&&this.getPathByMember(r()):null,write:e=>{if(e){const i=(this.path()?this.path():e).split(".")[0];var t=s.filter(e=>e.name===i)[0];t&&r(this.getMemberByPath(w.unwrap(t.model),this.path()?[this.path(),e].join("."):e))}else r(null)}}))}createArrayItem(i,r,s){for(let e=0;e<i.length;e++){const n=w.unwrap(i[e]);let t=!1;this.listPropertyNames.forEach(e=>{!t&&n[e]&&0<w.unwrap(n[e]).length&&(t=!0)});var a=this.getClassName(n);r.push({name:s?s+"."+e.toString():e.toString(),displayName:w.unwrap(n.displayName||n.name),specifics:a,isList:t,data:n,dragData:{noDragable:!("bands"===s&&("groupheaderband"===a||"groupfooterband"===a||"detailreportband"===a||"subband"===a)||"controls"===s||"rows"===s||"cells"===s&&"xrcrosstabcell"!==a||"subBands"===s||"Styles"===s||"Formatting Rules"===s)}})}}createItem(e,t,i,r){(!(0<this.listPropertyNames.length)||-1<this.listPropertyNames.indexOf(t))&&i&&i.push&&this.createArrayItem(w.unwrap(i),r,t)}}class ci extends li{constructor(i,r,s){super(),this.getItems=e=>{var t=_.Deferred();return e.fullPath?t.resolve(this.getObjectPropertiesForPath(w.unwrap(i),e.fullPath)):t.resolve([{name:r||w.unwrap(i.name),displayName:Object(m.c)(r||w.unwrap(i.name),s),isList:!0,specifics:i.className&&i.className(),dragData:{noDragable:!0}}]),t.promise()},this._disposables.push(this.selectedPath.subscribe(e=>{this.selectedMember(w.unwrap(this.getMemberByPath(w.unwrap(i),e)))}))}}const pi={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"}};function hi(e,t,i){t="HundredthsOfAnInch"===t?e:e/2.54;return void 0!==i?lt(t,!1,i):t}function gi(e,t){e=pi[e];return{width:hi(e.width,e.unit,t),height:hi(e.height,e.unit,t)}}function mi(e){return Object(v.b)({handles:f.isSubscribable(e.handles)?e.handles:e.handles||"all",ghost:!1,start:()=>{},stop:()=>{},resize:()=>{}},e)}function fi(e,t){const i=new vi(e,t).initialize();return()=>{i.dispose()}}class vi extends d.a{constructor(e,t){super(),this._element=e,this._options=t,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"]}_initResize(e){this._startResizeMousePosition={left:e.pageX,top:e.pageY},this._resizeDirection=xi(e.target.classList),this._addClassToElement("ui-resizable-resizing");var t=this._element.getBoundingClientRect(),i=_.fn.constructor(this._element);this._element.dataset.originalLeftPosition=i.css("left"),this._element.dataset.originalTopPosition=i.css("top"),this._element.dataset.originalWidth=x(t.width),this._element.dataset.originalHeight=x(t.height),this._element.dataset.originalLeftMousePosition=x(e.pageX),this._element.dataset.originalTopMousePosition=x(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){var t;1===e.which&&(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(),vi.inProcess=!1,this._removeClassFromElement("ui-resizable-resizing"),this._startResizeMousePosition=null,this._resizeDirection=null}_mouseDown(e){vi.inProcess=!0,this._initResize(e),this._options.start(e,this._element)}_initResizeHandle(e,t){var 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(r){let s=0,a=0,n=0,o=0;const d=b(this._element.dataset.originalHeight),l=b(this._element.dataset.originalWidth);var e=e=>{var t=this._element.style.minHeight?b(this._element.style.minHeight):this._defaultMinSize,i=(this._startResizeMousePosition.top-r.pageY)*(e?1:-1);t>d+i?(t=d-t,e&&(o=t),a=-t):(a=i,e&&(o=-a))},t=e=>{var t=this._element.style.minWidth?b(this._element.style.minWidth):this._defaultMinSize,i=(this._startResizeMousePosition.left-r.pageX)*(e?1:-1);t>l+i?(t=l-t,e&&(n=t),s=-t):(s=i,e&&(n=-s))},i=this._resizeDirection&&/sw|se|nw|ne|s|n/.test(this._resizeDirection),u=this._resizeDirection&&/sw|se|nw|ne|e|w/.test(this._resizeDirection),i=(i&&e(/nw|ne|n/.test(this._resizeDirection)),u&&t(/sw|nw|w/.test(this._resizeDirection)),{width:s,height:a,left:n,top:o});return i}initialize(){let t=e=>this._mouseDown(e),i=e=>{e&&(this._addClassToElement(this.resizableElementClass),_.fn.constructor(this._element).children(this.handleClassSelector).remove(),("all"===e?this._resizeHandles:e.split(",")).forEach(e=>{this._initResizeHandle("ui-resizable-"+e,t)}))};var e;return i(f.unwrap(this._options.handles)),f.isSubscribable(this._options.handles)&&(e=this._options.handles.subscribe(e=>{this._removeClassFromElement(this.resizableElementClass),this._element.querySelectorAll(this.handleClassSelector).forEach(e=>e.removeEventListener("mousedown",t)),_.fn.constructor(this._element).children(this.handleClassSelector).remove(),i(e)}),this._disposables.push(e)),this._disposables.push({dispose:()=>{i=null,this._element.querySelectorAll(this.handleClass).forEach(e=>e.removeEventListener("mousedown",t)),this._element.removeEventListener("mousedown",t),t=null,this._element=null,this._options=null}}),this}}function xi(t){for(let e=0;e<t.length;e++)if("ui-resizable-handle"!==t[e]&&0===t[e].indexOf("ui-resizable-"))return t[e].slice("ui-resizable-".length,t[e].length)}vi.inProcess=!1;class bi extends d.a{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._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}})}_initScrollContainer(){var 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._mouseMove(e),this._windowEvents.up=e=>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-((null==(e=this._scrollableContainer)?void 0:e.scrollLeft)||0),r=this._originalElementPosition.top-t-((null==(e=this._scrollableContainer)?void 0:e.scrollTop)||0);t=this._options.boundary;return t&&(i=i<t.left?t.left:i>t.right?t.right:i,r=r<t.top?t.top:r>t.bottom?t.bottom:r),{left:i,top:r}}_mouseMove(e){var t,i;!vi.inProcess&&this._startRect&&1===e.which&&this.shouldStartDrag(e)&&(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?b(this._ghostContainer[0].dataset.startLeftPosition):e.pageX,top:this._ghostContainer?b(this._ghostContainer[0].dataset.startTopPosition):e.pageY},this._element.dataset.leftPosition=x(this._originalElementPosition.left),this._element.dataset.topPosition=x(this._originalElementPosition.top),this._options.start(e,this._element)),i=this._originalDragStartCoordinates.left-e.pageX,t=this._originalDragStartCoordinates.top-e.pageY,i=this._calculateElementPosition(i,t),this._element.dataset.leftPosition=x(i.left),this._element.dataset.topPosition=x(i.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){vi.inProcess||(bi.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(),vi.inProcess||(bi.inProcess=!0,this._initDrag(e))}}bi.inProcess=!1;var l=t(38),yi=t.n(l);class _i extends d.a{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}})}updateSelection(e,t){i=this.bounds;var i,e=!((e=e).left>i.right||e.right<i.left||e.top>i.bottom||e.bottom<i.top);e!=this.isSelected&&(e?this._options.selecting(t,this._element):this._options.unselecting(t,this._element),this.isSelected=e)}}class Ci extends d.a{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=_.fn.constructor(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}})}_clearElements(){this._elements.forEach(e=>e.dispose()),this._elements=[]}_collectElements(){this._clearElements();var t=document.getElementsByClassName(this._options.filter.substr(1));for(let e=0;e<t.length;e++)this._elements.push(new _i(t[e],this._options))}_updateSelectionContent(t){this._startRect.left>=t.pageX?(this._$selectionContent.css("left",t.pageX),this._$selectionContent.css("right",this._startRect.right)):(this._$selectionContent.css("left",this._startRect.left),this._$selectionContent.css("right",this._$window.width()-t.pageX)),this._startRect.top>=t.pageY?(this._$selectionContent.css("top",t.pageY),this._$selectionContent.css("bottom",this._startRect.bottom)):(this._$selectionContent.css("top",this._startRect.top),this._$selectionContent.css("bottom",this._$window.height()-t.pageY));var i=this._$selectionContent[0].getBoundingClientRect();for(let e=0;e<this._elements.length;e++)this._elements[e].updateSelection(i,t)}_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(()=>{gt.started()||Ci.disabled||vi.inProcess||!this._startRect||1===e.which&&(this._$selectionContent?this._updateSelectionContent(e):this.shouldStartSelect(e)&&(this._options.start(e),Ci.inProcess=!0,this._$selectionContent=_.fn.constructor("<div />").appendTo(document.body),this._$selectionContent.addClass("dxrd-selection-content ui-selectable-helper"),yi.a.prototype._zIndexInitValue&&this._$selectionContent.css("z-index",yi.a.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){Ci.disabled||vi.inProcess||bi.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(),Ci.inProcess=!1)}_mouseDown(e){Ci.disabled||vi.inProcess||bi.inProcess||(this._initStartRect(e),this._collectElements())}}function wi(e){return{left:b(e.dataset.originalLeftPosition),top:b(e.dataset.originalTopPosition)}}function Ai(e){return{width:b(e.dataset.originalWidth),height:b(e.dataset.originalHeight)}}function Ei(e,t,i){return{left:e.left+i.left,top:e.top+i.top,width:t.width+i.width,height:t.height+i.height}}Ci.inProcess=!1,Ci.disabled=!1,w.bindingHandlers.resizable={init:function(e,t,i,r,s){const u=t();let c=_.fn.constructor(e),a=c.closest(".dx-designer"),d=null,p=null,l={north:"n",east:"e",south:"s",west:"w"},h=[],g=null;t=Object(v.b)(mi(t()),{stop:function(e){p.each((e,t)=>{const i=w.contextFor(t),r=i.$data,s=i.$root.surface(),a=_.fn.constructor(t),n=r.rect();let o=Fe(a,r,s);o={top:(-1!==d.indexOf(l.north)?o:n).top,left:(-1!==d.indexOf(l.west)?o:n).left,width:(-1!==d.indexOf(l.east)||-1!==d.indexOf(l.west)?o:n).width,height:(-1!==d.indexOf(l.south)||-1!==d.indexOf(l.north)?o:n).height},h.push(()=>{r.canSetRect&&!r.canSetRect(o)?(t.dataset.originalLeftPosition&&t.dataset.originalTopPosition&&(a.css("top",t.dataset.originalTopPosition),a.css("left",t.dataset.originalLeftPosition)),t.dataset.originalWidth&&t.dataset.originalHeight&&(a.css("width",t.dataset.originalWidth),a.css("height",t.dataset.originalHeight))):(r.rect(o),JSON.stringify(n)===JSON.stringify(o)&&a.css({left:n.left,top:n.top,width:n.width,height:n.height})),t.dataset.originalLeftPosition=void 0,t.dataset.originalTopPosition=void 0,t.dataset.originalWidth=void 0,t.dataset.originalHeight=void 0})}),h.forEach(e=>e()),h=[],d=null,u.stopped(),u.started=!1,u.snapHelper&&u.snapHelper.deactivateSnapLines()},start:e=>{d=xi(e.target.classList),u.started=!0,u.starting(e),(p=u.$selectedNodes||_.fn.constructor(".dxrd-viewport .dxrd-selected").filter(":visible")).each((e,t)=>{var i=_.fn.constructor(t),r=t.getBoundingClientRect();t.dataset.originalLeftPosition=i.css("left"),t.dataset.originalTopPosition=i.css("top"),t.dataset.originalWidth=x(r.width),t.dataset.originalHeight=x(r.height)});var e=c.offset(),t=a.find(".dxrd-ghost-container").offset();g=t?{top:e.top-t.top,left:e.left-t.left}:e,u.snapHelper&&u.snapHelper.updateSnapLines(r)},resize:(r,e,s)=>{r.stopPropagation();var t=s.width,i=s.height,a=s.left,n=s.top;if(u.forceResize)u.forceResize({size:new dt(e.offsetWidth,e.offsetHeight),delta:{dx:a,dy:n,dw:t,dh:i},element:e});else if(e.dataset.originalLeftPosition&&e.dataset.originalTopPosition&&e.dataset.originalWidth&&e.dataset.originalHeight){var o=Ai(e),e=wi(e);if(r.altKey)u.snapHelper&&u.snapHelper.deactivateSnapLines();else if(u.snapHelper&&1===p.length){var d=o.width+t,l=o.height+i,d={originalSize:{width:o.width,height:o.height},size:{width:d,height:l}},l=ke(u.snapHelper,g,d,{x:a,y:n,width:t,height:i}),d=(u.snapHelper.activateSnapLines(l),Ei(e,o,s)),a={left:e.left+l.left-g.left,top:e.top+l.top-g.top,width:l.right-l.left,height:l.bottom-l.top};if((n=a).left!==(t=d).left||n.top!==t.top||n.width!==t.width||n.height!==t.height)return void c.css(a)}p.each(function(e,t){var i;t!==r.target&&(i=Ei(wi(t),Ai(t),s),t.style.left=x(i.left),t.style.top=x(i.top),t.style.width=x(i.width),t.style.height=x(i.height))})}}},w.unwrap(u));u.disabled;const n=fi(e,t);Object(C.c)(e,()=>{n(),e=null})},update:function(e,t,i,r,s){var a=w.unwrap(t().minimumWidth),a=(a&&(e.style.minWidth=x(a)),w.unwrap(t().minimumHeight)),a=(a&&(e.style.minHeight=x(a)),e=>Array.from(e.children).filter(function(e){return e.classList.contains("ui-resizable-handle")})),n=w.unwrap(t().maximumWidth);n&&(e.style.maxWidth=x(n));const o=t().handleClassName,d=(o&&a(e).forEach(e=>e.classList.add(o)),!(!w.unwrap(t().disabled)&&!w.unwrap(r.locked)));a(e).forEach(e=>e.style.display=d?"none":"block")}},w.bindingHandlers.resizableReportMargins={init:function(e,t){t()}};var l=t(23),Ii=t.n(l);class Si extends d.a{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=Ii.a.getInstance(this._container)}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){return e[i]>t[i]+t["y"===i?"height":"width"]-50?5:e[i]<t[i]+50?-5:0}getScrollOffset(){return this._scroll.scrollOffset()}processOffset(e){var 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)}}var l=t(41),Ti=t.n(l),l=t(56),l=t.n(l),E=t(57);class $i extends t.n(E).a{static _sortItems(e,s){return e.sort((e,t)=>{let i=f.unwrap(e[s]),r=f.unwrap(t[s]);if(i&&r)return e=i-r,isNaN(e)?(i=i.toLowerCase?i.toLowerCase():i,r=r.toLowerCase?r.toLowerCase():r,i<r?-1:i>r?1:0):e})}static _createOptions(i,e){return i=this._sortItems(i,e),{load:e=>{let t=[].concat(i);return e.take&&(t=t.splice(e.skip,e.take)),_.Deferred().resolve(t).promise()},byKey:t=>{if(i.some(e=>e===t))return t}}}constructor(e,t="name"){super($i._createOptions(e,t))}}class Pi extends l.a{constructor(e,t="name"){e instanceof Array&&$i._sortItems(e,t),super(e)}}class ki extends d.a{constructor(t){super(),this._filter=w.observable(null);let i=null;this._disposables.push(this.dataSource=w.computed(()=>{i&&i.dispose();var e=this._filter()?t().filter(this._filter()):t();return i=new Ti.a({store:new $i(e),paginate:!0,pageSize:100})})),this._disposables.push(this.visible=w.computed(()=>0<t().length))}getFilter(){return this._filter()}setFilter(e){this._filter(e)}resetFilter(){this._filter(null)}}class Di{constructor(e){this.disabled=w.observable(!1),this.info=e}get type(){return Et(this.info["@ControlType"])}get imageClassName(){return[$t(this.type),this.disabled()?"dxrd-disabled-button":""].join(" ")}get imageTemplateName(){var e=$t(this.type,!0);return null!=(e=c.getExistingTemplate(e))?e:c.getExistingTemplate("dxrd-svg-toolbox-unknown")}get index(){return this.info.index}get displayName(){return this.info.displayName||this.type}}function Fi(r,e=""){const s=[];return Object.keys(r).forEach(t=>{if(!r[t].nonToolboxItem){const i={"@ControlType":t,displayName:r[t].displayName,index:r[t].toolboxIndex||0,canDrop:r[t].canDrop,group:r[t].group||e};r[t].size&&(i.size=r[t].size),r[t].defaultVal&&Object.keys(r[t].defaultVal).forEach(e=>{i[e]=r[t].defaultVal[e]}),s.push(new Di(i))}}),s.sort((e,t)=>e.index-t.index)}function Oi(e){try{e.blur&&e.blur()}catch(e){document.body.blur()}}function Bi(e){return null!=e&&0<Object.keys(e).length}const Mi=["Name","Version"];function Ni(t){var e;return!!t&&(e="\\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",new RegExp("^["+e+"_]["+e+"_\\d]*$").test(t))&&Mi.every(e=>t!=e)}function Vi(e){return e.replace(/[\W_]+/g,"_")}const zi=[{type:"custom",validationCallback:e=>Ni(e.value),get message(){return Object(m.c)("Name is required and should be a valid identifier.","AnalyticsCoreStringId.NameIsRequired_Error")}}];function Li(e){return!e.isModelReady||e.isModelReady()}function Hi(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}class Ri{constructor(){this._queue=[],this._queueObj={},this._done=[],this._doneOnce=[]}clear(){this._queue=[],this._queueObj={}}done(e){this._done.push(e)}doneOnce(e){this._doneOnce.push(e)}_executeNext(e=this._queue[0]){for(delete this._queueObj[e];0<this._queue.length&&!this._queueObj[this._queue[0]];)this._queue.splice(0,1);if(0!==this._queue.length)this._queueObj[this._queue[0]]();else{for(let e=0;e<this._done.length;e++)this._done[e]();do{var t=this._doneOnce.pop();t&&t()}while(this._doneOnce.length)}}execute(e,t=0){const i=Hi(),r=_.Deferred();return t?(this._queue.push(i),this._queueObj[i]=()=>{if(!this._queueObj[i])return this._executeNext(i);setTimeout(()=>{this._queueObj[i]&&r.resolve(e()),this._executeNext(i)},t)},1===this._queue.length&&this._queueObj[this._queue[0]]()):r.resolve(e()),{dispose:()=>(delete this._queueObj[i],r.reject()),force:()=>(delete this._queueObj[i],r.resolve(e())),doNext:()=>this._queue.splice(0,0,i),$promise:r.promise()}}}const ji=new Ri;class Wi{constructor(e,t=[]){this.pathParts=t,this.path="",(this.fullPath=e)&&(-1!==e.indexOf(".")?(t=e.split("."),this.id=this.ref=t[0],t.splice(0,1),this.path=t.join(".")):this.id=this.ref=e)}}const Gi=Object(C.d)(!0),Ui={templateName:"dx-treelist-edit-action",imageClassName:"",text:"Edit",clickAction:()=>{},displayText:()=>Object(u.d)("Edit","AnalyticsCoreStringId.Group_Edit")};function qi(e){var t;let i=this.getViewModel();i.nodeImageClass=this._getNodeImageClassName(),i.hasItems=this.hasItems,i.visible=this._isVisible(),i.imageClassName=this.imageClassName,i.imageTemplateName=this.imageTemplateName,i.name=this.name,i.path=this.path,i.text=this.text,i.templateName=this.templateName,i.actionsTemplate=this.actionsTemplate,i.hasContent=this.hasContent,i.collapsed=this.collapsed,i.showIcon=this.showIcon,i.isHovered=this.isHovered,i.isSelected=this.isSelected,i.isMultiSelected=this.isMultiSelected,"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName||(i.cssRules=this._getCssRules()),"actions"===e.propertyName&&(i.actions=this.actions),"items"!==e.propertyName&&"maxItemsCount"!==e.propertyName||("added"in e&&!this.visibleItems?(null!=(t=e.added)&&t.forEach(e=>i.items.splice(e.index,0,e.item.getViewModel())),null!=(t=e.removed)&&t.forEach(e=>i.items.splice(e.index,1))):i.items=this._getChildViewModels()),"isSelected"!==e.propertyName&&"isMultiSelected"!==e.propertyName&&"collapsed"!==e.propertyName&&"hasItems"!==e.propertyName&&"level"!==e.propertyName&&"data"!==e.propertyName||(i.attr=this._getAttributes()),"data"===e.propertyName&&(i.data=this.data,i.isDraggable=this._isDraggable())}function Ki(e){return y(e).generateProperty("events",{mouseenter:()=>this.isHovered=!0,mouseleave:()=>this.isHovered=!1,dblclick:()=>this.treeListController.dblClickHandler?this.treeListController.dblClickHandler(this):this.toggleCollapsed()}).generateProperty("toggleCollapsed",()=>this.toggleCollapsed()).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).generateProperty("items",this._getChildViewModels()).generateProperty("data",this.data).generateProperty("visible",this._isVisible()).generateProperty("collapsed",this.collapsed).generateProperty("searchModel",y().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("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("treeListEditAction",Ui).generateProperty("resolver",this.resolver).getViewModel()}function Yi(e){return y(e).generateProperty("templateName","dx-treelist-item-ellipsis").generateProperty("collapsed",!0).generateProperty("items",[]).generateProperty("padding",this.padding).generateProperty("text",Object(u.d)("Show more...","AnalyticsCoreStringId.QueryBuilder_Tables_ShowMore")).generateProperty("events",{click:()=>this.renderNext()}).getViewModel()}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};const Ji=Object(C.d)(5);class Xi{constructor(){this._itemStore={}}storeItem(e){var t=Hi();return this._itemStore[t]=e,t}getItem(e){return this._itemStore[e]}removeItem(e){delete this._itemStore[e]}}class Zi extends Gt{onPropertyChanged(e){}createRootItem(e,t,i,r){return new ir(e,t,i,r)}createItem(e,t,i,r,s){return new I(e,t,i,r,s)}}let Qi=Zi;function er(e){Qi=e}class tr extends Kt{constructor(e,t,i,r){super(),this.setMaxItemsCount=e,this.getMaxItemsCount=t,this.padding=i,this.pageSize=r}createViewModel(){return Yi.call(this,super.createViewModel())}renderNext(){this.setMaxItemsCount(this.getMaxItemsCount()+this.pageSize)}}class I extends Kt{constructor(t,e=[],i=()=>{},r=!1,s=new Ri){if(super(),this.resolver=s,this._rtl=!1,this._pageSize=-1,this._walkCallback=null,this._dataSubscriptionsDispose=[],this._subscriptions=[],this._collapsedChangedEvent=null,this._getIconName=()=>(f.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=t.itemsProvider,this.maxItemsCount=t.pageSize||-1,this._pageSize=this.maxItemsCount,this.store=t.store,this.id=null==(s=this.store)?void 0:s.storeItem(this),f.isSubscribable(e)){const a=e.subscribe(e=>{this._path=e,this._updatePath()});this._pathSubscriptionDispose=()=>{a.dispose(),f.isComputed(e)&&e.dispose()}}this._path=f.unwrap(e),this._updatePath(),this._rtl=r,"loadChildItemsForCollapsedNodes"in t&&(this._loadChildItemsForCollapsedNodes=t.loadChildItemsForCollapsedNodes),this._factory=t.factory||new Qi,this._treeListController=t.treeListController,this._templateName=t.templateName,this._onItemsVisibilityChanged=i,this.dragDropHandler=t.treeListController.dragDropHandler,this._onItemsChangedCallback=t.onItemsChanged,this.getItems=()=>0<this.items.length?_.Deferred().resolve(this.items).promise():this._loadItems(t),this._setSelectedPath=e=>{t.setSelectedPath?t.setSelectedPath(e):f.isSubscribable(t.selectedPath)&&t.selectedPath(e)},this._subscribeOnDataProperty=t.subscribeOnDataPropertyChanged||((e,t,i)=>(i(),()=>{})),this.toggleCollapsed=()=>{this.hasItems&&(this._reverseCollapsed(),this.collapsed||0!==this.items.length?this._getLoadChildItemsForCollapsedNodes()&&(this.items.forEach(e=>{e._treeListController.hasItems(e.data)&&0===e.items.length&&e._loadItems(t)}),i()):this._loadItems(t,this._getLoadChildItemsForCollapsedNodes()).always(()=>{i()}))},this.toggleSelected=(e,t)=>{t&&(t.shiftKey||t.ctrlKey||t.metaKey)&&0<this._getSelectedItems().length&&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()}_equal(t,i){const r=["innerActions","noDragable","dragData"];return i===t||Object.keys(i).filter(e=>-1===r.indexOf(e)).every(e=>i[e]===t[e])}_getImageClassName(){return"dx-image-fieldlist-"+this._getIconName()+(this._showIcon?"":" dx-treelist-image-empty")}_getImageTemplateName(){var e="dxrd-svg-fieldlist-"+this._getIconName();return c.getExistingTemplate(e)}_getNodeImageClassName(){let e="dx-collapsing-image";return this.hasItems?(this.collapsed||(e+=" dx-image-expanded"),e):"dx-image-leaf-node"}_hasItems(){var e;return!this.data||(e=this._treeListController.hasItems(this.data),null!=this._loadChildItemsForCollapsedNodes?this.isLoaded?e&&0<this.visibleItemsCount:e:Gi()?e&&0<this.visibleItemsCount: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(){var e,t={"dx-treelist-item-selected dxd-state-selected dxrd-fieldslist-context-menu-container":this.isSelected||this.isMultiSelected};return t=null!=(e=this.data)&&e.cssRule?Object.assign(Object.assign({},t),this.data.cssRule):t}_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(t){var i={};for(let e=0;e<t.length;e++)i[t[e].name]={item:t[e],index:e};return i}_loadItems(p,h=!1){const g=_.Deferred();this._itemsSubscriptionDispose&&this._itemsSubscriptionDispose(),this._disposables.reverse().forEach(e=>e.dispose&&e.dispose()),this._disposables.splice(0);var e=e=>{e&&e.done(e=>{if(this.isDisposing)g.reject();else{this.isLoaded=!0;e=e||[];const d=this.items;let r=this._createItemsObj(e),s=!1,t=0;var i,o=[].concat.apply([],d);for(let e=0;e<o.length;e++)r[o[e].data.name]||(o[e].dispose(),d.splice(e-t,1),t++,s=!0);this.visibleItemsCount=this.visibleItemsCount-t;let a=this._createItemsObj(d),n=!1;const l=!this._treeListController.showIconsForChildItems||this._treeListController.showIconsForChildItems(this),u=this._treeListController.showIconsForChildItems&&this._treeListController.showIconsForChildItems(this);if(e.forEach((e,t)=>{var i=a[e.name];i?(this._equal(e,i.item.data)?i.item._updateVisualProperties():i.item.data=e,n=n||i.index!==t):(s=!0,(i=this._factory.createItem(p,this.pathParts,this._onItemsVisibilityChanged,this._rtl,this.resolver))._showIcon=l,i.data=e,i.level=this.level+1,i.parent=this,i.parentViewModel=this.getViewModel(),i.visible&&(this.visibleItemsCount+=1),i.imageTemplateName=i._getImageTemplateName(),i.showIcon=u,d.splice(t,0,i),a[e.name]={item:i,index:t},this._walkCallback&&this._walkCallback(i))}),this._walkCallback=null,n&&(e=d.reduce((e,t,i)=>{t=Math.abs(i-(r[t.data.name]?r[t.data.name].index:-1));return!e||e.max<t?{max:t,index:i}:e},null).index,i=d[e],e!==(r[i.data.name]?r[i.data.name].index:-1))&&(d.splice(e,1),d.splice(r[i.data.name]?r[i.data.name].index:-1,0,i),s=!0),r=null,a=null,s&&this._onItemsChanged(),!this.collapsed||h){let t=e=>e._treeListController.hasItems(e.data);void 0!==this._loadChildItemsForCollapsedNodes&&(t=e=>(!e.collapsed||h)&&e._treeListController.hasItems(e.data)),this.items.forEach(e=>{t(e)&&e._loadItems(p)})}g.resolve(this.items);const c=p.getSelectedPath?p.getSelectedPath():f.isSubscribable(p.selectedPath)&&p.selectedPath.peek();c&&(e=this.items.filter(e=>0===c.indexOf(e.path))[0])&&this._selectItem(e.name+c.substring(e.path.length))}})},t=()=>new Wi(this.path,this.pathParts);return this.itemsProvider.subscribeOnItemsChanged?this._itemsSubscriptionDispose=this.itemsProvider.subscribeOnItemsChanged(this,e):e(this.itemsProvider.getItems(t())),g.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){const t=()=>{this._find(e),this.collapsed&&this.toggleCollapsed()};0===this.items.length?this.getItems().done(e=>{t()}):t()}}_find(t){var e=t&&this.items.filter(e=>t===e.name||0===t.indexOf(e.name)&&"."===t[e.name.length])[0];e&&(t.length>e.name.length?e._selectItem(t.substr(e.name.length+1)):this._treeListController.select(e))}_getItemsWithLock(){const t=_.Deferred();return(this._nodeIsLocked?t.reject():(this._nodeIsLocked=!0,this.getItems().done(e=>{this._nodeIsLocked=!1,t.resolve(e)}).fail(()=>{this._nodeIsLocked=!1,t.reject()}),t)).promise()}_getPadding(e){var t={};return t["padding-"+(this._rtl?"right":"left")]=20*e+12,t}_getLoadChildItemsForCollapsedNodes(){return void 0!==this._loadChildItemsForCollapsedNodes?this._loadChildItemsForCollapsedNodes:Gi()}_getSelectedItems(){return this._treeListController.selectedItems&&this._treeListController.selectedItems()||[]}_getVisibleItems(){if(-1!==this._pageSize){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)).push(new tr(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(){var e;this._dataSubscriptionsDispose.forEach(e=>e&&e()),this._dataSubscriptionsDispose=[this._subscribeOnDataProperty(this,"name",()=>this._updatePath()),this._subscribeOnDataProperty(this,"displayName",()=>{var e;return this.text=f.unwrap(null==(e=this.data)?void 0:e.displayName)}),this._subscribeOnDataProperty(this,"specifics",()=>{this.imageClassName=this._getImageClassName(),this.imageTemplateName=this._getImageTemplateName()})].filter(e=>!!e),this.templateName=this._getTemplateName(),this.actionsTemplate=(null==(e=this.data)?void 0:e.actionsTemplate)||"dx-treelist-item-actions-with-edit",this.hasContent=!(null==(e=this.data)||!e.contenttemplate)}_updatePath(){this.pathParts=this.name?(this._path||[]).concat([this.name]):this._path,this.path=this.pathParts.join(".")}_getChildViewModels(){var e=this.visibleItems||this.items;return null==e?void 0:e.map(e=>e.getViewModel())}_reverseCollapsed(){this.collapsed=!this.collapsed}itemsCollectionHasMutated(){var e={propertyName:"items"};this.onPropertyChanged(e),this.events.call("propertyChanged",e)}onPropertyChanged(e){var t;"visibleItemsCount"!==e.propertyName&&"isLoaded"!==e.propertyName&&"data"!==e.propertyName||(this.hasItems=this._hasItems()),"visibleItemsCount"!==e.propertyName&&"data"!==e.propertyName||(this._updateVisualProperties(),null!=(t=this.treeListController)&&t.subscribeOnActionsChanged?(this._actionsSubscriptionDispose&&this._actionsSubscriptionDispose(),this._actionsSubscriptionDispose=this.treeListController.subscribeOnActionsChanged(this,e=>this.actions=e)):this.actions=null!=(t=this.treeListController)&&t.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&&(null==(t=this.treeListController)?void 0:t.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){qi.call(this,e)}createViewModel(){return Ki.call(this,super.createViewModel())}get name(){var e;return f.unwrap(null==(e=this.data)?void 0:e.name)}get treeListController(){return this._treeListController}dispose(){var e;super.dispose(),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)!=(e=this.store)&&e.removeItem(this.id)}}E([A("")],I.prototype,"imageTemplateName",void 0),E([Ut(()=>[])],I.prototype,"items",void 0),E([Ut(()=>[])],I.prototype,"actions",void 0),E([A(-1)],I.prototype,"maxItemsCount",void 0),E([A(0)],I.prototype,"visibleItemsCount",void 0),E([A(!0)],I.prototype,"collapsed",void 0),E([A(!1)],I.prototype,"isLoaded",void 0),E([A(!0)],I.prototype,"hasItems",void 0),E([A(!1)],I.prototype,"isSelected",void 0),E([A(!1)],I.prototype,"isMultiSelected",void 0),E([A(!1)],I.prototype,"isHovered",void 0),E([A(null)],I.prototype,"data",void 0),E([A(!0)],I.prototype,"visible",void 0),E([A(!1)],I.prototype,"isFiltred",void 0),E([A("")],I.prototype,"path",void 0),E([A(-1)],I.prototype,"level",void 0),E([A("")],I.prototype,"text",void 0);class ir extends I{constructor(e,t=[],i=()=>{},r=!1){super(e,t,i,r),this._options=e,this._resolver=new Ri,this._selectedPathSubscription=null,this.resolver.done(()=>{i()});const s=e=>{this._selectItem(this.path?e.substr(this.path.length+1):e)};f.isSubscribable(e.selectedPath)?this._selectedPathSubscription=e.selectedPath.subscribe(e=>s(e)):e.setSelectedPathChangedEvent&&(this._selectedPathSubscription={dispose:e.setSelectedPathChangedEvent(e=>s(e))}),this._selectItem(this.path?this.path+"."+f.unwrap(e.selectedPath):f.unwrap(e.selectedPath))}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(t,i=e=>{}){var r;if(t.data&&!t.data.specifics)throw new Error("Specific should be set");if(!(t.level>=Ji())){let e=null;0<t.items.length?e=()=>t.items.forEach(e=>{i(e),this._visitNextNode(e,i)}):t.data&&!t.treeListController.hasItems(t.data)||(null!=(r=t.treeListController.searchOptions)&&r.autoLoadItems?e=()=>t._getItemsWithLock().done(e=>{e.forEach(e=>{i(e),this._visitNextNode(e,i)})}):t._walkCallback=e=>{i(e),this._visitNextNode(e,i)}),e&&this._resolver.execute(e,1)}}_onItemsChanged(){this._options.expandRootItems&&this.items.forEach(e=>{e.collapsed=!1}),super._onItemsChanged()}}function rr(t,i){const r=w.observable(),e=r.subscribe(e=>t(e)),s=w.computed(()=>{var e=i();r(e)});return()=>{s.dispose(),e.dispose()}}function sr(i){var e;return null!=(e=i.treeListController)&&e.itemsFilter&&!i.treeListController.subscribeOnVisibleChanged&&(i.treeListController.subscribeOnVisibleChanged=(e,t)=>rr(t,()=>e.data&&!e.treeListController.itemsFilter(e.data,e.path,e))),null!=(e=i.treeListController)&&e.getActions&&!i.treeListController.subscribeOnActionsChanged&&(i.treeListController.subscribeOnActionsChanged=(e,t)=>rr(t,()=>e.treeListController.getActions(e))),i.subscribeOnDataPropertyChanged||(i.subscribeOnDataPropertyChanged=(e,t,i)=>rr(i,()=>w.unwrap(e.data&&e.data[t]))),null!=(e=i.itemsProvider)&&e.getItems&&!i.itemsProvider.subscribeOnItemsChanged&&(i.itemsProvider.subscribeOnItemsChanged=(e,t)=>rr(t,()=>i.itemsProvider.getItems(new Wi(e.path,e.pathParts)))),i}class ar extends Qi{createRootItem(e,t,i,r){var s=w.computed(()=>{var e=w.unwrap(t);return Array.isArray(e)?e:e?e.split("."):[]});return super.createRootItem(sr(e),s,i,r)}createItem(e,t,i,r,s){return super.createItem(sr(e),t,i,r,s)}}var nr=t(30);class or extends nr.a{constructor(e){super(e),this.engineType="multiplatform"}wrapPropertyArrayValue(e){return w.observableArray(e)}wrapPropertyValue(e){return w.observable(e)}unwrapPropertyValue(e){return w.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 r=w.observable(void 0);Object.defineProperty(e,t,{get:()=>r(),set:e=>{r(e)},enumerable:!0,configurable:!0})}}const dr=e=>w.dataFor(e),lr=function(n={}){const t={createDefaultModel:e=>(n={getModel:()=>e,_____test:!0},t),generateProperty(e,t,i){var r=n;n._____test||Object.defineProperty(n,"_____test",{get:()=>!0,enumerable:!1});let s=w.observable(t);if(Array.isArray(t)){s=w.observableArray(t);let i=!1;for(const a in Rt.b)Rt.b[a](s(),e=>{i||(i=!0,s.valueHasMutated(),i=!1)});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s(),set:e=>{if(s(e),Array.isArray(e))for(const t in Rt.b)Rt.b[t](s(),e=>{i||(i=!0,s.valueHasMutated(),i=!1)})}})}else"function"==typeof t?r[e]=t:Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s(),set:e=>{s(e)}});return this},configureProperty(e,t){return e in n&&t(n[e]),this},getViewModel(){return n}};return t};class ur extends p.a{_notifyModel(e,t){t={propertyName:t,newValue:e[t]()};e.onPropertyChanged&&e.onPropertyChanged(t),Object(Wt.b)(e,t),e.events&&e.events.call("propertyChanged",t)}addDisposeCallback(e,t){w.utils.domNodeDisposal.addDisposeCallback(e,t)}removeDisposeCallback(e,t){w.utils.domNodeDisposal.removeDisposeCallback(e,t)}peek(e){return e.peek()}getPropertyValue(e,t){return e[t]}setPropertyValue(e,t,i,r){w.isObservable(e[t])?e[t](i):e[t]=i}generateProperty(t,i,e,r){t[i]=w.observable(e).extend(r),t.addDisposable(t[i].subscribe(e=>{this._notifyModel(t,i)}))}generateArrayProperty(t,i,e,r){t[i]=w.observableArray(e).extend(r),t.addDisposable(t[i].subscribe(e=>{this._notifyModel(t,i)}))}createComputedProperty(e,t,i,r,s,a=!1){return e[t]=(a?w.pureComputed:w.computed)("function"==typeof i?()=>i():{read:()=>i.read(),write:e=>i.write(e)}).extend(s),()=>e[t].dispose()}subscribeOnPropertyChanged(e,t,i){if(w.isSubscribable(e[t])){const r=e[t].subscribe(e=>i(e));return()=>r.dispose()}return()=>{}}subscribeValue(e,t){if(w.isSubscribable(e)){const i=e.subscribe(e=>t(e));return()=>i.dispose()}return()=>{}}unwrap(e){return w.unwrap(e)}wrap(e){return w.observable(e)}applyBindings(e,t){w.applyBindings(e,t)}cleanNode(e){w.cleanNode(e)}}function cr(){jt(lr),ht(dr),er(ar),Object(p.g)(new ur),Object(p.f)(e=>new or(e))}class pr{static getInfo(e){const i=e.map(e=>e.getInfo());return()=>{var e=[];for(let t=0;t<i[0].length;t++)i.filter(e=>0<e.filter(e=>e.propertyName===i[0][t].propertyName).length).length===i.length&&e.push(i[0][t]);return e}}static isPropertyDisabled(i){return t=>{for(let e=0;e<i.length;e++)if(i[e].isPropertyDisabled(t))return!0;return!1}}static getPath(s){return t=>{let i="";for(let e=0;e<s.length;e++){var r=s[e].getPath(t);if(0===e)i=r;else if(i!==r){i="";break}}return i}}static isPropertyVisible(i){return t=>{for(let e=0;e<i.length;e++)if(!i[e].isPropertyVisible(t))return!1;return!0}}static mergeProperty(i,r,e,t){var s=i[0][r];let a=null;if(i.filter(e=>!!e[r]).length===i.length&&!(a=t&&t(r,i,e)))if(w.isObservable(s)&&!s.push){if(!i.every(e=>w.isObservable(e[r])))return a;var n=w.observable(i.every(e=>i[0][r].peek()===e[r].peek())?i[0][r].peek():null);a={result:n,subscriptions:[n.subscribe(t=>{e&&e().start(),i.forEach(e=>{e[r](t)}),e&&e().end()})]}}else"object"!=typeof s||_.isArray(s)||(a=this._merge(i.map(e=>e[r]),e,t));return a}static _createProperty(e,t,i){!i||"object"==typeof i&&Object(v.c)(i)||(e[t]=i)}static _merge(i,r,s,t){const a={};let n=[];if(["getInfo","isPropertyVisible","isPropertyDisabled","getPath"].forEach(e=>{i[0][e]&&this._createProperty(a,e,this[e](i))}),t){const o=a.isPropertyDisabled;a.isPropertyDisabled=e=>o&&o(e)||-1!==t.indexOf(e)}return a&&a.getInfo?a.getInfo().map(e=>e.propertyName).forEach(e=>{var t=this.mergeProperty(i,e,r,s);t&&(n=[].concat.apply(n,t.subscriptions),this._createProperty(a,e,t.result))}):Object.keys(i[0]).forEach(e=>{var t=this.mergeProperty(i,e,r,s);t&&(n=[].concat.apply(n,t.subscriptions),this._createProperty(a,e,t.result))}),{result:a,subscriptions:n}}static mergeControls(e,t,i,r){e=this._merge(e,t,i,r);return{result:Object(v.b)(e.result,{controlType:"multiselect",displayName:w.observable("")}),subscriptions:e.subscriptions}}static getEditableObject(t,i,r){const s=w.observable(null);let a=[];var e=t.focused.subscribe(e=>{s(e&&e.getControlModel())});return t._disposables&&(t._disposables.push(e),t._disposables.push({dispose:()=>{a.forEach(e=>e.dispose()),a.splice(0)}})),w.pureComputed({read:()=>{var e;return a.forEach(e=>e.dispose()),a=[],1<t.selectedItems.length?(e=this.mergeControls(t.selectedItems.map(e=>e.getControlModel()),i,r,t.ignoreMultiSelectProperties),a=e.subscriptions,e.result):s()},write:e=>{e&&e.surface?t.focused(e.surface):(t.updateSelection(null),s(e))}}).extend({deferred:!0})}}class hr extends d.a{constructor(e=["name"]){super(),this.ignoreMultiSelectProperties=e,this._focused=w.observable(null),this._selectedControls=w.observableArray(),this._selectedControlsInner=[],this.focused=w.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=w.observable(!1),this._disposables.push(this.focused)}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(){document.activeElement&&0===_.fn.constructor(document.activeElement).closest(".dxrd-surface").length&&Oi(document.activeElement)}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()):1<this._selectedControlsInner.length&&-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){var t;e&&e.allowMultiselect&&(0===(t=this._selectedControlsInner).length||1===t.length&&!t[0].allowMultiselect?this.initialize(e):-1===this._selectedControlsInner.indexOf(e)?(e.selected(!0),this._selectedControlsInner.push(e)):1<this._selectedControlsInner.length&&this.unselecting(e))}}function gr(i,t,r=[],s=["surface"]){if(i&&void 0!==i){const a=[];Object.keys(i).forEach(t=>{if(0!==t.indexOf("_")&&-1===s.indexOf(t)){let e=t;w.isComputed(i[t])&&w.isWritableObservable(i["_"+t])&&(e="_"+e),-1!==r.indexOf(i[e])||w.isComputed(i[e])||a.push(i[e])}}),t(a),r.push.apply(r,a),a.forEach(e=>{"object"==typeof(e=w.unwrap(e))&&gr(e,t,r,s)})}}class mr{constructor(e,t){this.changes=e,this.position=t}static Empty(){return new mr(null,null)}equal(e){return this.changes===e.changes&&this.position===e.position}}const fr=[];class vr extends d.a{constructor(r,e=["surface"],t,i=[]){if(super(),this._ignoredProperties=e,this._getInfoMethodName=t,this._alwaysSubscribeProperties=i,this._groupObservers=[],this._groupPosition=-1,this._observers=[],this._subscriptions=[],this._visited=[],this._position=w.observable(-1),this._lockedPosition=w.observable(-1),this._inUndoRedo=!1,this._currentEngineName=vr._disposeUndoEngineSubscriptionsName+Hi(),this.redoEnabled=w.observable(!1),this.undoEnabled=w.observable(!1),this.isIngroup=-1,this.isDirty=w.computed({read:()=>this._position()!==this._lockedPosition(),write:e=>{e?this._lockedPosition("forcibly marked as dirty"):this._lockedPosition(this._position())}}),fr.push(this._currentEngineName),this._model=w.unwrap(r),this._getInfoMethodName)w.isSubscribable(r)?this._targetSubscription=this.subscribeProperty(r,!0):this._createDisposeFunction(r);else{let i=this.subscribe(this._model);if(w.isSubscribable(r)){let t=r();this._targetSubscription=r.subscribe(e=>{this._removePropertiesSubscriptions(),this._inUndoRedo||(this.properyChanged({observable:r,propertyChanged:{oldVal:t,val:e}}),t=e),this._cleanSubscribtions(i),this._model=e,i=this.subscribe(this._model)})}}this._disposables.push(this.isDirty)}static tryGetUndoEngine(t){let i=null;return fr.some(e=>!!(i=t[e]&&t[e].instance)),i}get _modelReady(){return Li(this._model)}_disposeObserver(e){var t;e.propertyChanged?(t=e.propertyChanged.val)&&!t[this._currentEngineName]&&t.dispose&&t.dispose():e.arrayChanges&&e.arrayChanges.forEach(e=>{"added"===e.status&&(e=e.value)&&!e[this._currentEngineName]&&e.dispose&&e.dispose()})}_disposeRemovedRecord(e){e.arrayChanges&&e.arrayChanges.forEach(e=>{var t;"deleted"===e.status&&null!=(t=e.value)&&t.dispose&&null!=(t=e.value)&&t.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){var t,i;this._inUndoRedo||((t=this._position()+1)<this._observers.length&&(i=this._observers.splice(t,this._observers.length),this._disposeObservers(i,!1)),this._observers.push(e),this._position(t),this.undoEnabled(!0),this.redoEnabled(!1))}visitProperties(e,i){var r=[];if(e&&i)for(let t=0;t<i.length;t++){var s=this._alwaysSubscribeProperties.some(e=>e===i[t].propertyName);(i[t].modelName||i[t].editor||i[t].info||s)&&(s=s?i[t].propertyName:this.validatePropertyName(e,i[t].propertyName))&&!w.isComputed(e[s])&&(w.isObservable(e[s])?r.push(this.subscribeProperty(e[s],!i[t].link)):r.push.apply([],this._createDisposeFunction(e[s],i[t].info)))}return r}undoChangeSet(t){if(t.propertyChanged)t.observable(t.propertyChanged.oldVal);else{var i,r=t.observable();for(let e=0;e<t.arrayChanges.length;e++)"added"===t.arrayChanges[e].status&&-1!=(i=r.indexOf(t.arrayChanges[e].value))&&r.splice(i,1);for(let e=0;e<t.arrayChanges.length;e++)"deleted"===t.arrayChanges[e].status&&r.splice(t.arrayChanges[e].index,0,t.arrayChanges[e].value);w.isObservable(t.observable)&&t.observable.valueHasMutated()}}redoChangeSet(t){if(t.propertyChanged)t.observable(t.propertyChanged.val);else{var i=t.observable();for(let e=0;e<t.arrayChanges.length;e++)"deleted"===t.arrayChanges[e].status&&i.splice(i.indexOf(t.arrayChanges[e].value),1);for(let e=0;e<t.arrayChanges.length;e++)"added"===t.arrayChanges[e].status&&i.splice(t.arrayChanges[e].index,0,t.arrayChanges[e].value);w.isObservable(t.observable)&&t.observable.valueHasMutated()}}_disposeChilds(i,r){if(i&&r)for(let t=0;t<r.length;t++)if(r[t].modelName||r[t].editor||r[t].info){var s=r[t].propertyName;if(0!==s.indexOf("_")){let e=s;w.isWritableObservable(i["_"+s])&&(e="_"+e),w.isComputed(i[e])||!(s=w.unwrap(i[e]))||"object"!=typeof s||r[t].link||this._callDisposeFunction(s)}}}_createDisposeFunction(e,t){let i=[];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(t){if(t)if(Array.isArray(t))for(let e=0;e<t.length;e++)t[e][this._currentEngineName]&&t[e][this._currentEngineName].func();else t[this._currentEngineName]&&t[this._currentEngineName].func()}_cleanSubscribtions(t){if(t)if(t.length)for(let e=0;e<t.length;e++)this._cleanSubscribtions(t[e]);else t.dispose&&t.dispose()}validatePropertyName(e,t){return(!this._ignoredProperties||this._ignoredProperties&&this._ignoredProperties.every(e=>e!==t))&&"_"!==t[0]?w.isWritableObservable(e["_"+t])?"_"+t:t:null}subscribeProperty(r,i){if(w.isObservable(r)){let t=r();if(Array.isArray(t)){for(let e=0;e<r().length;e++)this._createDisposeFunction(r()[e]);return r.subscribe(e=>{if(this._modelReady){var t=e.filter(e=>"added"===e.status),i=e.filter(e=>"deleted"===e.status);for(let e=0;e<i.length;e++)this._callDisposeFunction(i[e].value);for(let e=0;e<t.length;e++)this._createDisposeFunction(t[e].value);this.properyChanged({observable:r,arrayChanges:e})}},null,"arrayChange")}if(w.isWritableObservable(r))return i&&this._createDisposeFunction(r()),r.subscribe(e=>{this._modelReady&&(i&&this._callDisposeFunction(t),this.properyChanged({observable:r,propertyChanged:{oldVal:t,val:e}}),t=e,i)&&this._createDisposeFunction(e)})}}subscribeProperties(e){e.forEach(i=>{if(w.isObservable(i)){let t=i();i.push?this._subscriptions.push(i.subscribe(e=>{!this._modelReady||this._inUndoRedo||(this.properyChanged({observable:i,arrayChanges:e}),this.subscribe(e.map(e=>e.value)))},null,"arrayChange")):w.isWritableObservable(i)&&this._subscriptions.push(i.subscribe(e=>{this._modelReady&&(this.properyChanged({observable:i,propertyChanged:{oldVal:t,val:e}}),t=i())}))}})}subscribe(e,t){if(this._getInfoMethodName)return this.visitProperties(e,t||e&&e[this._getInfoMethodName]&&e[this._getInfoMethodName]());gr(e,e=>{this.subscribeProperties(e)},this._visited,this._ignoredProperties)}getCurrentChangeSet(){return new mr(this._observers[this._position()],this._position())}_removePropertiesSubscriptions(){this._subscriptions.forEach(e=>e.dispose()),this._subscriptions=[],this._visited=[]}dispose(){super.dispose(),this._disposeObservers(this._observers.splice(0,this._observers.length),!0),this.removeTargetSubscription();let i=0;fr.some((e,t)=>e===this._currentEngineName&&(i=t,!0)),fr.splice(i,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{var t;this._inUndoRedo=!0,this.undoEnabled()&&(t=this._observers[this._position()])&&(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&&0<=this._position()),this.redoEnabled(this._position()<this._observers.length-1))}finally{this._inUndoRedo=!1}}redo(){try{var e;this._inUndoRedo=!0,this.redoEnabled()&&(e=this._observers[this._position()+1])&&(Array.isArray(e)?e.reverse().forEach(e=>this.redoChangeSet(e)):this.redoChangeSet(e),this._position(this._position()+1),this.undoEnabled(0!==this._observers.length&&0<=this._position()),this.redoEnabled(this._position()+1<this._observers.length))}finally{this._inUndoRedo=!1}}_hasSessionChanges(){return 0===this.isIngroup&&0<this._observers.length}start(){this.isIngroup++,0===this.isIngroup&&(this._groupObservers=this._observers,this._observers=[],this._groupPosition=this._position(),this._position(-1),this._lockedPosition(this._position()))}end(){var e;this.isIngroup--,-1===this.isIngroup&&(0<this._observers.length?(this._position(this._groupPosition+1),e=this._groupObservers.splice(this._position(),this._groupObservers.length-this._position(),this._observers),this._disposeObservers(e,!1)):this._position(this._groupPosition),this._observers=this._groupObservers)}}function xr(e,t){const r=e.focused();t||(t=r.getControlModel(),e.selectedItems.forEach(e=>{var t=e.getControlModel(),i=t.parentModel();!e.getControlModel().getMetaData().isDeleteDeny&&i&&e!==r&&i.removeChild(t)}));var i=vr.tryGetUndoEngine(t.parentModel());i&&i.start(),t.parentModel().removeChild(t),i&&i.end(),e.focused(r.findNextSelection())}function br(e,r,s){const t=r();return e.peek().forEach(e=>{e=s(e);t.splice(0,0,e)}),r.valueHasMutated(),e.subscribe(e=>{const t=r();let i=t.length;e.forEach(e=>{"deleted"===e.status&&(t.splice(t.indexOf(e.value.surface),1),i--)}),e.forEach(e=>{"added"===e.status&&(t.splice(i-e.index,0,s(e.value)),i++)}),r.valueHasMutated()},null,"arrayChange")}function yr(e,s,a){const t=s();return e.peek().forEach(e=>{e=a(e);t.push(e)}),s.valueHasMutated(),e.subscribe(e=>{let t=s().length,i=0,r=[];e.forEach(e=>{"deleted"===e.status&&(i++,e.index<t)&&(t=e.index)}),e.forEach(e=>{"added"===e.status&&(e.index<t&&(t=e.index),r.push(a(e.value)))}),s.splice.apply(s,[t,i].concat(r))},null,"arrayChange")}function _r(e,...s){const t=w.observableArray(e),a=t.notifySubscribers;return t.notifySubscribers=(i,r)=>{if(s)for(let e=0,t=s.length;e<t;e++)s[e](i,r);return a.call(t,i,r)},t}function Cr(t,i,r){return _r(Object.keys(t||{}).map(e=>r(t[e])),(t,e)=>{if("beforeChange"!==e)if("arrayChange"===e)for(let e=0;e<t.length;e++)i!==t[e].value.parentModel()&&t[e].value.parentModel(i);else for(let e=0;e<t.length;e++)i!==t[e].parentModel()&&t[e].parentModel(i)})}function wr(t,i,r,s){for(let e=s||0;e<t.length;e++)if((w.isObservable(t[e][i])?t[e][i].peek():t[e][i])===r)return t[e];return null}function Ar(t,i){for(let e=0;e<t.length;e++)if(i(t[e]))return t[e];return null}vr._disposeUndoEngineSubscriptionsName="___dispose___UndoEngine___Subscriptions___";const Er=Ar;function Ir(e,t,i){let r=0,s=e.length-1;for(;r<=s;){var a=s+r>>1,n=i(t,e[a]);if(0<n)r=1+a;else{if(!(n<0))return a;s=a-1}}return~r}class Sr{constructor(){this._verticalSnapLines=[],this._horizontalSnapLines=[],this._snapTargetToIgnore=null}_appendSnapLine(e,t,i,r){var e={position:e,limitInf:t,limSup:i},s=Ir(r,e,(e,t)=>e.position-t.position);-1<s?(r[s].limitInf=Math.min(r[s].limitInf,t),r[s].limSup=Math.max(r[s].limSup,i)):r.splice(~s,0,e)}_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){var r=this._getCollection(e);if(r)for(let e=0;e<r.length;e++){var s=r[e].rect&&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 Tr{constructor(){this._position=w.observable(Tr._blankPosition)}transform(){var e=this._position();return"matrix("+e.width+", 0, 0, "+e.height+", "+e.left+", "+e.top+")"}updatePosition(e){this._position(e)}reset(){this.updatePosition(Tr._blankPosition)}}Tr._blankPosition={top:0,left:0,width:0,height:0};class $r{constructor(e=null,t=$r.snapTolerance,i=new Sr){this.snapLineSurfaces=[new Tr,new Tr,new Tr,new Tr],this.verticalSnapLines=[],this.horizontalSnapLines=[],this._surfaceContext=e,this._snapTolerance=t,this._snapLinesCollector=i}_findClosestSnapLine(e,t){var i,r=Ir(t,{position:e,limitInf:0,limSup:0},(e,t)=>e.position-t.position);let s;return s=-1<r?{snapLine:t[r],distance:e-t[r].position}:(i=t[r=~r]?e-t[r].position:Number.MAX_VALUE,e=t[r-1]?e-t[r-1].position:Number.MAX_VALUE,Math.abs(i)>Math.abs(e)?{snapLine:t[r-1],distance:e}:{snapLine:t[r],distance:i})}_getActiveSnapLines(e,t,i){var r,e=this._findClosestSnapLine(e,i),t=this._findClosestSnapLine(t,i),i={lines:[],distance:0};return 1<=Math.abs(e.distance-t.distance)?(r=Math.abs(e.distance)<Math.abs(t.distance)?e:t,Math.abs(r.distance)<=this._snapTolerance&&(i.lines=[r],i.distance=r.distance)):Math.abs(e.distance)<=this._snapTolerance&&(i.lines=[e,t],i.distance=e.distance),i}updateSnapLines(e=null){this.verticalSnapLines.splice(0),this.horizontalSnapLines.splice(0);e=this._snapLinesCollector.collectSnaplines(this._surfaceContext(),e);this.verticalSnapLines.push.apply(this.verticalSnapLines,e.vertical),this.horizontalSnapLines.push.apply(this.horizontalSnapLines,e.horizontal)}deactivateSnapLines(){this.snapLineSurfaces[0].reset(),this.snapLineSurfaces[1].reset(),this.snapLineSurfaces[2].reset(),this.snapLineSurfaces[3].reset()}activateSnapLines(r){var s=this._getActiveSnapLines(r.left,r.right,this.verticalSnapLines),a=this._getActiveSnapLines(r.top,r.bottom,this.horizontalSnapLines);for(let i=0;i<2;i++){var n=s.lines[i];if(n){let e=Math.min(n.snapLine.limitInf,r.top),t=Math.max(n.snapLine.limSup,r.bottom);r.top<n.snapLine.limitInf&&(e-=a.distance),r.bottom>n.snapLine.limSup&&(t-=a.distance),this.snapLineSurfaces[i].updatePosition({top:e,left:n.snapLine.position,height:t-e,width:1})}else this.snapLineSurfaces[i].reset()}for(let i=0;i<2;i++){var o=a.lines[i];if(o){let e=Math.min(o.snapLine.limitInf,r.left),t=Math.max(o.snapLine.limSup,r.right);r.left<o.snapLine.limitInf&&(e-=s.distance),r.right>o.snapLine.limSup&&(t-=s.distance),this.snapLineSurfaces[i+2].updatePosition({top:o.snapLine.position,left:e,width:t-e,height:1})}else this.snapLineSurfaces[i+2].reset()}return{left:s.distance,top:a.distance}}snapPosition(e,t){t=this._findClosestSnapLine(e,t?this.horizontalSnapLines:this.verticalSnapLines);return t&&Math.abs(t.distance)<=this._snapTolerance?t.snapLine.position:e}}$r.snapTolerance=10;class Pr{constructor(e,t){this.x=w.observable(e).extend({dxdnum:{}}),this.y=w.observable(t).extend({dxdnum:{}})}getInfo(){return ot}static fromString(e="0, 0"){e=e.split(",");return new Pr(parseFloat(e[0]),parseFloat(e[1]))}toString(){return this.x()+", "+this.y()}}Pr.unitProperties=["x","y"];const kr={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 Dr{constructor(e,t=kr){this._copyPasteStrategy=t,this._copyInfo=w.observable(null),this.hasPasteInfo=w.pureComputed(()=>null!==this._copyInfo()),this._selectionProvider=e}canCopy(){return null!==this._selectionProvider.focused()&&!this._selectionProvider.focused().getControlModel().getMetaData().isCopyDeny}canPaste(){var 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 t=new or,e={focused:this._selectionProvider.focused(),objects:_.map(this._selectionProvider.selectedItems,e=>t.serialize(e.getControlModel()))};this._copyInfo(e)}}cut(){const t=new or,e=this._selectionProvider.focused(),i=[];this._selectionProvider.selectedItems.forEach(e=>{e=e.getControlModel();e.parentModel().removeChild(e),i.push(t.serialize(e)),this._copyPasteStrategy.createSelfRestoringItems&&i.push(...this._copyPasteStrategy.createSelfRestoringItems(e,t))});var r={focused:e,objects:i};this._copyInfo(r)}paste(){if(this.canPaste()){let t=this._selectionProvider.focused(),i=t.getControlModel();var r=[],s=(t===this._copyInfo().focused&&(t=t.parent,i=t.getControlModel()),i.getMetaData().isContainer||(t=t.parent,i=t.getControlModel()),new Pr(Number.MAX_VALUE,Number.MAX_VALUE)),a=new Pr(-1,-1);for(let e=0;e<this._copyInfo().objects.length;e++){var n,o,d=Pe(this._copyPasteStrategy.createChild(i,this._copyInfo().objects[e]));d&&(n=new Pr(d.rect().left,d.rect().top),o=new Pr(d.rect().left+d.rect().width,d.rect().top+d.rect().height),s.x()>=n.x()&&s.x(n.x()),a.x()<=o.x()&&a.x(o.x()),s.y()>=n.y()&&s.y(n.y()),a.y()<=o.y()&&a.y(o.y()),r.push(d))}var l=new Pr((t.rect().width-t._context.margins.right())/2-(a.x()-s.x())/2+(t.rtlLayout()?t._context.margins.right():0),t.rect().height/2-(a.y()-s.y())/2);for(let e=0;e<r.length;e++){var u=this._copyPasteStrategy.calculateDelta(r[e],t,s);r[e].rect({left:l.x()+u.x,top:l.y()+u.y})}this._selectionProvider.initialize(),r.forEach(e=>{this._selectionProvider.selecting({control:e,cancel:!1})})}}}const Fr={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 Or(e){e=Math.round(parseInt(e.replace("%","")))/100;return e?5<=e?5:e<=.1?.1:e:1}var l=t(58),Br=t.n(l),Mr=t(24),Nr=t(14),Vr=t(15);function zr(e,t,i=""){t(e,i),e instanceof Vr.a&&(e.leftPart&&zr(e.leftPart,t,i),e.leftPart)&&e.leftPart.propertyName&&(i=i?[i,e.leftPart.propertyName].join("."):e.leftPart.propertyName),e.children().forEach(e=>zr(e,t,i))}var Lr=t(35);class Hr{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(t,i){let r=t+i.length-1<this.alphabet.length;for(let e=t;e<t+i.length&&r;e++)r=this.alphabet[e]==i[e-t];return r}_getToken(e){e={type:this.tokenName,start:e-this.tokenLength+1,end:e+this.endTerm.length};return e.val=this.alphabet.substring(e.start,e.end),e}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 Rr{constructor(e){this.stringCriteria=e,this.machineStates=[],this.machineStates.push(new Hr("field",e,"[","]")),this.machineStates.push(new Hr("value",e,"'","'")),this.machineStates.push(new Hr("comment",e,"/*","*/")),this._inputStringCriteria=e}static parse(e,t=!1){return e&&""!==e?(t?new Rr(e).replaceCommentsToChar(" "):new Rr(e).replaceCommentsToChar()).getCriteria():null}_tokenize(){for(let i=0;i<this.stringCriteria.length;i++){let e=0;this.machineStates.forEach(t=>{e||this.machineStates.filter(e=>e!=t&&e.isActiveState).length||(e=t.processTransitionFunction(i))}),i+=e}let t=[];return this.machineStates.forEach(e=>{t=t.concat(e.tokens),e.tokens=[]}),t}_replaceTokenToAnotherToken(e,s,t){let a=this.stringCriteria;return(e=e.filter(e=>e.type==t).sort(e=>e.start).reverse()).forEach(t=>{var e=t.val.split("\n");let i=t.start,r=t.end;e.forEach(e=>{r=e.length+i!==t.end?i+e.length:t.end,a=se(a,i,r-i,s),i=e.length*s.length+1})}),a}replaceCommentsToChar(e=""){return this._inputStringCriteria=this._replaceTokenToAnotherToken(this._tokenize(),e,"comment"),this}getCriteria(){return Object(Lr.parse)(this._inputStringCriteria)}}class S{static _getCharFromKeyCode(e){return!1===e.ctrlKey&&1===e.key.length?e.key:null}static _getCaretPosition(e){let t=-1,i=-1,r,s,a,n,o;try{"number"==typeof e.selectionStart&&"number"==typeof e.selectionEnd?(t=e.selectionStart,i=e.selectionEnd):document.selection&&(s=document.selection.createRange())&&s.parentElement()==e&&(n=e.value.length,r=e.value.replace(/\r\n/g,"\n"),(a=e.createTextRange()).moveToBookmark(s.getBookmark()),(o=e.createTextRange()).collapse(!1),-1<a.compareEndPoints("StartToEnd",o)?t=i=n:(t=-a.moveStart("character",-n),t+=r.slice(0,t).split("\n").length-1,-1<a.compareEndPoints("EndToEnd",o)?i=n:(i=-a.moveEnd("character",-n),i+=r.slice(0,i).split("\n").length-1)))}catch(e){}return{start:t,end:i}}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;var r="-"===e[0],e=r?e.substring(1):e;if(r&&!t)return!1;var r=r?t.substring(1):i;[t,i]=e.toLowerCase().split("e"),[e,r]=r.toLowerCase().split("e");let s,a,n,o,d=([s,a]=t.split("."),[n,o]=e.split("."),s=(s||"").replace(/^0+/,""),n=(n||"").replace(/^0+/,""),s.length),l=(i&&(d+=parseInt(i)),n.length);return r&&(l+=parseInt(r)),d<l||!(d>l||s+(a=a||"0")>n+(o=o||"0"))}static validateWidgetValue(e,t,i){t(e.component.option("value"))||e.component.option("value",i)}static getNumberEditorOptions(e,t,i={}){const r=S.editors[e]||S.editors[t];return r?S.getValueEditorOptions(r.regExpEditing,e=>S._validate(e,r.minValue,r.maxValue),"",i):i}static getValueEditorOptions(a,t,i,n={}){var e={onFocusIn:e=>{S.validateWidgetValue(e,t,i),S._invokeStandardHandler(n,"onFocusIn",e)},onKeyDown:i=>{var r=S._getCharFromKeyCode(i.event);if(r){let e=_.fn.constructor(i.element).find("input").eq(0),t=S._getCaretPosition(e.get(0));var s=e.val(),r=(t.start<0&&(t=s?s.length:0),[s.slice(0,t.start),r,s.slice(t.end)].join(""));a.test(r)||i.event.preventDefault(),e=null,S._invokeStandardHandler(n,"onKeyDown",i)}},onPaste:t=>{var i=t.event.originalEvent.clipboardData||window.clipboardData||{},i=i.getData&&i.getData("Text");if("string"==typeof i){let e=_.fn.constructor(t.element).find("input").eq(0);var r=S._getCaretPosition(e.get(0)),s=e.val(),i=(r.start<0&&(r.end=r.start=s?s.length:0),[s.slice(0,r.start),i,s.slice(r.end)].join(""));a.test(i)||t.event.preventDefault(),e=null,S._invokeStandardHandler(n,"onPaste",t)}},onValueChanged:e=>{e.value!==i&&this.validateWidgetValue(e,t,e.previousValue),S._invokeStandardHandler(n,"onValueChanged",e)}};return Object(v.b)({},n,e)}static isValid(e,t,i){e=S.editors[e]||S.editors[t];return e.regExpEditing.test(i)&&S._validate(i,e.minValue,e.maxValue)}static _invokeStandardHandler(e,t,i){_.isFunction(e[t])&&e[t](i)}}function jr(e,t,i){e=""+e;return S.isValid(i,"integer",e)?e:t}function Wr(t,e,i){return i.filter(e=>t===e.value)[0]?t:(i=i.filter(e=>t===e.displayName||t===e.name)[0])?i.value:e}function Gr(a){const t=_.Deferred();try{const n=[],s=(t,i,e=!1)=>{const r=ne(Object(m.c)("{0} is not found","AnalyticsCoreStringId.WarningMessage_FieldNotFound"),e?"?"+i:"["+i+"]"),s=_.Deferred();a.fieldListProvider.getItemByPath(new Wi(t)).done(e=>s.resolve({success:!0})).fail(e=>{t===i?s.resolve({success:!1,message:r}):a.fieldListProvider.getItemByPath(new Wi([t.split(".")[0],i].join("."))).done(e=>s.resolve({success:!0})).fail(e=>s.resolve({success:!1,message:r}))}),n.push(s)};zr(Rr.parse(a.expression),(t,i)=>{if(t instanceof Nr.a){var r=0===t.propertyName.indexOf("^.")?t.propertyName.substring(2):t.propertyName;let e=r;-1===(a.rootItems||[]).indexOf(r.split(".")[0])&&i&&(e=r?[i,r].join("."):i),s(e,r)}else t instanceof Mr.a&&(r="Parameters."+(i=t.parameterName),s(r,i,!0))},a.path),_.when.apply(_,n).done((...e)=>t.resolve(e.reduce((e,t)=>e=t.success?e:e?[e,t.message].join("\n"):t.message,"")))}catch(e){t.reject()}return t.promise()}function Ur(e,t,i){e=""+e;return S.isValid(i,"float",e)?e:t}S.editors={integer:{regExpEditing:/^-?\d*$/},float:{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d+)?$/},"System.Byte":{regExpEditing:/^\d*$/,minValue:null,maxValue:"255"},"System.SByte":{regExpEditing:/^-?\d*$/,minValue:"-128",maxValue:"127"},"System.Int16":{regExpEditing:/^-?\d*$/,minValue:"-32768",maxValue:"32767"},"System.UInt16":{regExpEditing:/^\d*$/,minValue:null,maxValue:"65535"},"System.Int32":{regExpEditing:/^-?\d*$/,minValue:"-2147483648",maxValue:"2147483647"},"System.UInt32":{regExpEditing:/^\d*$/,minValue:null,maxValue:"4294967295"},"System.Int64":{regExpEditing:/^-?\d*$/,minValue:"-9223372036854775808",maxValue:"9223372036854775807"},"System.UInt64":{regExpEditing:/^\d*$/,minValue:null,maxValue:"18446744073709551615"},"System.Single":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-3.40282347e+38",maxValue:"3.40282347e+38"},"System.Double":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-1.7976931348623157e+308",maxValue:"1.7976931348623157e+308"},"System.Decimal":{regExpEditing:/^-?(\d+\.?\d*)?([eE][+\-]?\d*)?$/,minValue:"-79228162514264337593543950335",maxValue:"79228162514264337593543950335"}};let qr=t=>(t=t||Br.a.current())&&["dark","contrast"].some(e=>-1!==t.indexOf(e));function Kr(e){qr=e}function Yr(t,i,r){if(t&&!(t<=0)){t=i.getCursorPosition();let e=r.lastIndexOf("(");"'"===r.charAt(e+1)&&e++,i.gotoLine(t.row+1,t.column-(r.length-1-e))}}function Jr(e){return!0===e.isList||"List"===e.specifics||"ListSource"===e.specifics}function Xr(e,t=".dx-designer-viewport"){return _.fn.constructor(e).closest(t)}function Zr(e){return null==e||""===e}function Qr(e){return y(e).generateProperty("toolbarItems",this.mapActionToViewModels(f.unwrap(this.toolbarItems))).generateProperty("processShortcut",e=>this.processShortcut(f.unwrap(this.toolbarItems),e)).getViewModel()}function es(t,e){var i=t.displayText&&t.displayText()||t.text;let r=this._isActionDisabled(t),s=f.unwrap(t.selected),a=f.unwrap(t.imageClassName);const n=()=>{var e=["dxrd-toolbar-item-image","dxd-state-normal","dxd-icon-highlighted"];return a&&e.push(f.unwrap(t.imageClassName)),r&&e.push("dxrd-disabled-button"),s&&e.push("dxd-button-back-color dxd-back-highlighted dxd-state-active"),e.join(" ")},o=e=>e?"true":"false";var d=y().generateProperty("aria-disabled",o(this._isActionDisabled(t))).generateProperty("aria-label",i);void 0!==t.selected&&d.generateProperty("aria-pressed",o(f.unwrap(t.selected)));const l=y().createDefaultModel(t).generateProperty("ref",Hi()).generateProperty("disabled",this._isActionDisabled(t)).generateProperty("displayText",i).generateProperty("selected",f.unwrap(t.selected)).generateProperty("visible",this._isActionVisible(t)).generateProperty("templateName",t.templateName).generateProperty("hasSeparator",t.hasSeparator).generateProperty("click",e=>{this._isActionDisabled(t)||t.clickAction(e)}).generateProperty("actionClass",`dxrd-toolbar-item-${e} `+(t.hasSeparator?"dxrd-toolbar-item-with-separator dxd-border-primary":"")).generateProperty("block",y().generateProperty("attr",d.getViewModel()).getViewModel()).generateProperty("image",y().generateProperty("templateName",f.unwrap(t.imageTemplateName)).generateProperty("class",n()).getViewModel()).getViewModel();if(this.subscribe(t.imageTemplateName,e=>{l.image.templateName=e},t.setImageTemplateNameChangedEvent),this.subscribe(t.imageClassName,e=>{a=e,l.image.class=n()},t.setImageClassNameChangedEvent),this.subscribe(t.disabled,e=>{r=e,l.disabled=e,l.block.attr["aria-disabled"]=o(e),l.image.class=n()},t.setDisabledChangedEvent),this.subscribe(t.visible,e=>{l.visible=e},t.setVisibleChangedEvent),this.subscribe(t.selected,e=>{s=e,l.image.class=n(),l.block.attr["aria-pressed"]=o(e)},t.setSelectedChangedEvent),this.subscribeOnChanges(t,l,["disabled","visible","selected"]),"contentData"in t)return y(l).generateProperty("contentData",t.contentData).getViewModel();if("zoom"in t){const u=y(l).generateProperty("templateName",t.templateName).generateProperty("getPopupContainer",Xr).generateProperty("widget",y().generateProperty("dataSource",f.unwrap(t.zoomLevels)).generateProperty("displayExpr",t.displayExpr).generateProperty("value",f.unwrap(t.zoom)).generateProperty("onCustomItemCreating",t.onCustomItemCreating).generateProperty("onValueChanged",e=>{f.isSubscribable(t.zoom)?t.zoom(e.value):t.setZoom(e.value)}).getViewModel()).getViewModel();return this.subscribe(t.zoomLevels,e=>{u.widget.dataSource=e},t.setZoomLevelsChangedEvent),this.subscribe(t.zoom,e=>{u.widget.value=e},t.setZoomChangedEvent),u}return l}class ts extends Kt{constructor(e){super(),this.toolbarItems=[],this.enabled=e||(()=>!0)}createViewModel(){return Qr.call(this,super.createViewModel())}subscribeOnChanges(t,i,e){e.forEach(e=>{f.isSubscribable(t[e])&&this.subscribe(t[e],()=>{i[e]=f.unwrap(t[e])})})}subscribe(e,t,i){f.isSubscribable(e)?this._disposables.push(e.subscribe(e=>{t(e),this.events.call("propertyChanged")})):i&&this._disposables.push({dispose:i(e=>t(e))})}_isActionDisabled(e){return e.getDisabled?e.getDisabled():f.unwrap(e.disabled)}_isActionVisible(e){return e.getVisible?e.getVisible():f.unwrap(e.visible)}createActionViewModel(e,t){return es.call(this,e,t)}onPropertyChanged(e){}updateViewModel(e){"toolbarItems"===e.propertyName&&(this.getViewModel().toolbarItems=this.mapActionToViewModels(f.unwrap(this.toolbarItems)))}mapActionToViewModels(e){return e.map((e,t)=>this.createActionViewModel(e,t))}processShortcut(t,i){for(let e=0;e<t.length;e++){var r,s,a=t[e];a.hotKey&&a.hotKey.ctrlKey===i.ctrlKey&&a.hotKey.keyCode===i.keyCode&&(r=!this._isActionDisabled(a),s=this._isActionVisible(a),r)&&s&&(a.clickAction(),i.preventDefault())}}shouldIgnoreProcessing(e){return!(!e.altKey&&this.enabled()&&!((e=_.fn.constructor(document.activeElement)).is("textarea")||e.is(":input")&&-1!=["password","text","number"].indexOf(e.attr("type"))))}}(function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([A(()=>[])],ts.prototype,"toolbarItems",void 0);class is extends ts{constructor(t,e,i,r,s,a,n=w.observable(.01),o=e=>!1){super(s),this.menuItems=[];const d=new Dr(e,a),l=[];if(e){const u=w.computed(()=>e.selectedItems.some(e=>e.locked||o(e)));this._disposables.push(u),this._keyboardHelper=new de(e,i),l.push({id:Fr.Cut,text:"Cut",displayText:()=>Object(m.c)("Cut","AnalyticsCoreStringId.EditCut"),imageClassName:"dxrd-image-cut",imageTemplateName:"dxrd-svg-toolbar-cut",disabled:w.pureComputed(()=>!t()||!d.canCopy()||u()),visible:!0,clickAction:()=>{i().start(),d.cut(),i().end()},hasSeparator:!0,hotKey:{ctrlKey:!0,keyCode:"X".charCodeAt(0)}}),l.push({id:Fr.Copy,text:"Copy",displayText:()=>Object(m.c)("Copy","AnalyticsCoreStringId.Cmd_Copy"),imageClassName:"dxrd-image-copy",imageTemplateName:"dxrd-svg-toolbar-copy",disabled:w.pureComputed(()=>!t()||!d.canCopy()||u()),visible:!0,clickAction:()=>{d.copy()},hotKey:{ctrlKey:!0,keyCode:"C".charCodeAt(0)}}),l.push({id:Fr.Paste,text:"Paste",displayText:()=>Object(m.c)("Paste","AnalyticsCoreStringId.Cmd_Paste"),imageClassName:"dxrd-image-paste",imageTemplateName:"dxrd-svg-toolbar-paste",disabled:w.pureComputed(()=>!t()||!d.canPaste()||u()),visible:!0,clickAction:()=>{i().start(),d.paste(),i().end()},hotKey:{ctrlKey:!0,keyCode:"V".charCodeAt(0)}}),l.push({id:Fr.Delete,text:"Delete",displayText:()=>Object(m.c)("Delete","AnalyticsCoreStringId.Cmd_Delete"),imageClassName:"dxrd-image-delete",imageTemplateName:"dxrd-svg-toolbar-delete",disabled:w.pureComputed(()=>!e.focused()||e.focused().getControlModel().getMetaData().isDeleteDeny||u()),visible:!0,hotKey:{ctrlKey:!1,keyCode:46},hasSeparator:!0,clickAction:()=>{i().start(),xr(e),i().end()}})}l.push({id:Fr.Undo,text:"Undo",displayText:()=>Object(m.c)("Undo","AnalyticsCoreStringId.Undo"),imageClassName:"dxrd-image-undo",imageTemplateName:"dxrd-svg-toolbar-undo",disabled:w.pureComputed(()=>!t()||!i()||i()&&!i().undoEnabled()),visible:!0,clickAction:()=>{i().undo()},hotKey:{ctrlKey:!0,keyCode:"Z".charCodeAt(0)},hasSeparator:!0}),l.push({id:Fr.Redo,text:"Redo",displayText:()=>Object(m.c)("Redo","AnalyticsCoreStringId.Redo"),imageClassName:"dxrd-image-redo",imageTemplateName:"dxrd-svg-toolbar-redo",disabled:w.pureComputed(()=>!t()||!i()||i()&&!i().redoEnabled()),visible:!0,clickAction:()=>{i().redo()},hotKey:{ctrlKey:!0,keyCode:"Y".charCodeAt(0)}}),l.push({id:Fr.ZoomOut,text:"Zoom Out",displayText:()=>Object(m.c)("Zoom Out","AnalyticsCoreStringId.ZoomOut"),imageClassName:"dxrd-image-zoomout",imageTemplateName:"dxrd-svg-toolbar-zoomout",disabled:w.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:109},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{t().zoom(Math.max(t().zoom()-n(),.01))},hasSeparator:!0}),l.push({id:Fr.ZoomSelector,text:"Zoom 100%",displayText:()=>Object(m.c)("Zoom 100%"),imageClassName:"dxrd-image-zoom",disabled:w.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:187},displayExpr:function(e){return Math.round(100*(e||this.option("value")))+"%"},templateName:"dxrd-zoom-select-template",zoomLevels:w.observableArray([5,2,1.5,1,.75,.5,.25]),zoom:w.pureComputed({read:()=>t()&&t().zoom(),write:e=>{t()&&t().zoom(e)}}),isContextMenuAction:!1,onCustomItemCreating:e=>{e.customItem=Or(e.text)}}),l.push({id:Fr.ZoomIn,text:"Zoom In",displayText:()=>Object(m.c)("Zoom In","AnalyticsCoreStringId.ZoomIn"),imageClassName:"dxrd-image-zoomin",imageTemplateName:"dxrd-svg-toolbar-zoomin",disabled:w.pureComputed(()=>!t()),visible:!0,hotKey:{ctrlKey:!0,keyCode:107},zoomStep:n,isContextMenuAction:!1,clickAction:()=>{t().zoom(t().zoom()+n())}}),r&&r(l),l.forEach(t=>{Object.keys(t).forEach(e=>{w.isComputed(t[e])&&this._disposables.push(t[e])}),this._registerAction("menu"===t.container?this.menuItems:w.unwrap(this.toolbarItems),t)})}createViewModel(){return y(super.createViewModel()).generateProperty("menuItems",this.mapActionToViewModels(w.unwrap(this.menuItems))).generateProperty("toolbarItems",this.mapActionToViewModels(f.unwrap(this.toolbarItems))).generateProperty("processShortcut",e=>this.processShortcut(f.unwrap(this.toolbarItems),e)).getViewModel()}_registerAction(e,t){t.index?e.splice(t.index,0,t):e.push(t)}processShortcut(e,t){this.shouldIgnoreProcessing(t)||(this._keyboardHelper.processShortcut(t)?t.preventDefault():super.processShortcut(e,t))}}function rs(e){return e&&"length"in e?e[0]:e}const T=e=>{let t=e,s=(Array.isArray(t)||"string"==typeof e||(t=rs(e)),null),i=0;const r={};return"string"==typeof t?(s=document.querySelector(t),i=document.querySelectorAll(t).length):Array.isArray(t)?(s=t[0],t.forEach((e,t)=>r[t]=e),i=t.length):t&&"object"==typeof t&&(s=t,r[0]=s,i=1),Object.assign(Object.assign({},r),{length:i,element:s,isVisible:()=>{var e;if(s)return"none"!==(e=getComputedStyle(s)).display&&"hidden"!==e.visibility},is:e=>"string"==typeof e?null===s||void 0===s?void 0:s.matches(e):s===e,has:e=>null===s||void 0===s?void 0:s.contains(e),hasClass:e=>{if(s)return s.classList.contains(e)},width:()=>null===s||void 0===s?void 0:s.getBoundingClientRect().width,height:()=>null===s||void 0===s?void 0:s.getBoundingClientRect().height,outerWidth:()=>{if(s)return s.offsetWidth+(parseFloat(getComputedStyle(s).paddingLeft)+parseFloat(getComputedStyle(s).paddingRight))+(parseFloat(getComputedStyle(s).borderLeftWidth)+parseFloat(getComputedStyle(s).borderRightWidth))},outerHeight:()=>{if(s)return s.offsetHeight+(parseFloat(getComputedStyle(s).paddingTop)+parseFloat(getComputedStyle(s).paddingBottom))+(parseFloat(getComputedStyle(s).borderTopWidth)+parseFloat(getComputedStyle(s).borderBottomWidth))},empty:()=>{for(;null!==s&&void 0!==s&&s.firstChild;)s.removeChild(s.firstChild);return T(s)},hide:()=>(s&&(s.style.display="none"),T(s)),show:()=>(s&&(s.style.display="block"),T(s)),find:(e,t=!1)=>{if(!s)return T(void 0);-1!==e.indexOf(":visible")&&(t=!0,e=e.split(":visible")[0]);let i=Array.from(s.querySelectorAll(e)).map(e=>T(e));return(i=t?i.filter(e=>e.isVisible()):i)[0]||T(void 0)},closest:e=>T(null===s||void 0===s?void 0:s.closest(e)),css:(e,t)=>{if(s){if("string"==typeof e)return t&&s.style.setProperty(e,t),getComputedStyle(s)[e]||"";if("object"==typeof e)for(const i in e)e.hasOwnProperty(i)&&s.style.setProperty(i,e[i])}},children:t=>{var e;return s&&(e=s.children,Array.from(e).filter(e=>e.matches(t)).map(e=>T(e))[0])||T(void 0)},addClass:e=>(s&&s.classList.add(e),T(s)),removeClass:e=>(s&&s.classList.remove(e),T(s)),parentElement:()=>s?T(s.parentElement):T(s),offset:()=>{var e;if(s)return{left:(e=s.getBoundingClientRect()).left+window.scrollX,top:e.top+window.scrollY}},position:()=>{var e,t,i,r;if(s)return e=s.getBoundingClientRect(),t=s.offsetParent,i=window.pageXOffset||document.documentElement.scrollLeft,r=window.pageYOffset||document.documentElement.scrollTop,{left:e.left+i-(t?t.offsetLeft:0),top:e.top+r-(t?t.offsetTop:0)}},get:e=>r[e],append:e=>{if(s){var t=document.createElement("div");for(t.innerHTML=e.trim();t.firstChild;)s.appendChild(t.firstChild)}},prepend:e=>{s&&s.prepend(e)}})};class ss extends d.a{constructor({actions:e,target:t,getClickAtionParams:i,contextMenusEnabled:r}){super(),this.hideOnOutsideClick=!0,this.actions=e,this.target=t;const s=()=>this.actions().reduce((e,t)=>{var i;return t.group?[...e,{text:t.group,items:t.items.filter(e=>{return null==(e=e.isContextMenuAction)||e})}]:null==(i=t.isContextMenuAction)||i?[...e,t]:e},[]);this.dataSource=w.observable(s()),this.addDisposable(this.actions.subscribe(e=>{this.dataSource(s())})),this.itemTemplate=(e,t,i)=>{return e.hasSeparator&&((e=document.createElement("div")).style.borderBottomWidth="1px",e.style.borderBottomStyle="solid",e.style.color="#E6E6E6",e.style.width="100%",T(i).parentElement().prepend(e)),T(i).css({padding:"3px 5px 5px"}),g("dxrd-context-menu-item")},this.onItemClick=e=>{var t;"disabled"in e.itemData&&w.unwrap(e.itemData.disabled)||!e.itemData.clickAction||(t=i&&i(),e.itemData.clickAction(t&&t.getViewModel()),e.component.hide())},this.onInitialized=e=>{this.component=e.component},this.onOptionChanged=e=>{var t;"visible"===e.name&&e.value&&null!=(t=null==(t=e.component._overlay)?void 0:t._positionController)&&t.$container[0]&&(t=document.getElementsByClassName("dx-designer-viewport")[0],e.component._overlay._positionController.$container[0]=t)},this.disabled=w.observable(!r()),this._disposables.push(r.subscribe(e=>{this.disabled(!e)}))}hide(){this.component&&this.component.hide()}}function as(t,i){if(!t||!i)return!1;if(t.length!==i.length)return!1;for(let e=0;e<t.length;e++)if(t[e]!==i[e])return!1;return!0}class ns{isPropertyVisible(e){if(!e._get("_model"))return!1;var t=e._get("_model");let i=!t.isPropertyVisible||t.isPropertyVisible(e.name);return i=i&&this._calculateAccessibilityByPropertyInfo(t,e._get("info").visible,!0)}isPropertyDisabled(e){var t;return!e._get("_model")||(t=e._get("_model")).isPropertyDisabled&&t.isPropertyDisabled(e.name)||this._calculateAccessibilityByPropertyInfo(t,e._get("info").disabled,!1)}_calculateAccessibilityByPropertyInfo(e,t,i){let r;return r=f.isSubscribable(t)?t():"function"==typeof t?t(e):void 0!==t?t:i}}const os=new ns;var E=t(59),ds=t.n(E);class ls extends d.a{constructor(e){super(),this._editor=e,this._lastValidatorOptions=null,this._lastModelOverridableRules=null,this._onValidatedHandler=void 0}dispose(){this.onValidatedHandler=null,this.validatorInstance&&this.validatorInstance.dispose(),this.validatorInstance=null,super.dispose()}_isValid(e,t){return this.onValidatedHandler=void 0,this.validatorInstance?((e||[]).forEach(e=>e&&(e.validator=this.validatorInstance)),this.validatorInstance.validate()):ds.a.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)&&this.validatorInstance.on("validated",this._onValidatedHandler)}getValidationRules(){var e=(this.getValidatorOptions()||{}).validationRules;return e||(null===e?null:[])}getValidatorOptions(e={}){var t,i,r,s=this._editor.peek(this._editor._get("info","wrapped"));if(s)return r=this._lastValidatorOptions,t=this._editor._getEditorValidationRules(),r&&!this.areRulesChanged(t)||(this._lastModelOverridableRules=t,t=this._concatValidationRules(s.validatorOptions,t),i=null==(i="function"==typeof s.editor.extendedOptions?s.editor.extendedOptions():s.editor.extendedOptions)?void 0:i.validatorOptions,r=Object(v.b)({},e,s.validatorOptions,{validationRules:t},i),this._wrapValidatorEvents(r),this._lastValidatorOptions=r),r}areRulesChanged(e){return this._lastModelOverridableRules&&this._lastModelOverridableRules.length?!e||!e.length||!e.every(t=>this._lastModelOverridableRules.some(e=>t.message===e.message&&t.validationCallback===e.validationCallback&&t.type===e.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){var i=this.getValidationRules(),r=!i||i.some(e=>e.assignValueFirst),i=(r&&t(),this._isValid(i,e));i.isValid?r||t():i.brokenRule&&i.brokenRule.isDeferred&&(this.onValidatedHandler=e=>{this.onValidatedHandler=void 0,e.isValid&&t()})}}var P=t(16),l=t(32),us=t.n(l);function cs(e){let t=void 0;e=y(e).generateProperty("getOptions",e=>this.getOptions(Object.assign({onValueChanged:e=>{this._set("value",e.value)}},e))).generateProperty("onValueChanged",e=>{this._set("value",e.value)}).generateProperty("getPopupContainer",Xr).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",u.d).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("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)).getViewModel();return this.subscribeOnChanges(e,["value","disabled","displayName","validationRules","validatorOptions","level","padding","values","info","templateName","isPropertyHighlighted","textToSearch","collapsed","alwaysShow","isPropertyModified","editorOptions","editorCreated","visible"]),this.addDisposable(this.subscribeProperty("collapsed",e=>{t&&t()})),e}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};function ps(e){return e instanceof k?e:e.getModel()}class k extends Yt{constructor(e,t,i,r=void 0,s,a="multiplatform"){super(void 0,void 0,a),this.rtl=us()().rtlEnabled,this._validator=new ls(this),this._cachedValue=void 0,this.isRequired=!1,i=i||this._getEngine().wrap(!1),this.assignProperty("info",e),this.addDisposable(this.createComputedProperty("displayName",{read:()=>{var e=this._get("info");return e&&Object(m.c)(e.displayName,e.localizationId)},write:e=>{}},[Object(p.h)(this,["info"])])),this.addDisposable(this.createComputedProperty("description",{read:()=>{var e=this._get("info");return e&&Object(m.c)("",e.descriptionLocalizationId||e.localizationId+".Description")},write:e=>{}},[Object(p.h)(this,["info"])])),r&&(this.textToSearch=r,this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>this._get("isParentSearched")||!!te(this._get("displayName"),r()),[Object(p.h)(this,["isParentSearched","displayName"])])),this.padding=this._setPadding(this.rtl?"right":"left",t*Object(P.d)()),this.assignProperty("defaultValue",null);a=e.propertyName;this.addDisposable(this.createComputedProperty("_editorOptions",()=>this._get("info").editorOptions,[Object(p.h)(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?Object(p.b):Object(p.d))())),e.array&&this.assignArrayProperty("defaultValue",[]),this.addDisposable(this.createComputedProperty("values",()=>{var e=this._get("info");let t=e.valueStore||e.valuesArray;return t||((t=this.unwrap(e.values))?Object.keys(t).map(e=>({value:e,displayValue:t[e]})):void 0)},[Object(p.h)(this,[{propertyName:"info",subscribables:["values","valuesStore","valuesArray"]}])])),this.level=t,this._init(e.editor,a),this.addDisposable(this.createComputedProperty("disabled",()=>{var e=this._get("_accessibilityProvider"),t=this._get("_parent");return t&&t._get("disabled")||e&&e.isPropertyDisabled(this)},[Object(p.h)(this,["_accessibilityProvider",{propertyName:"_parent",subscribables:["disabled"]},{propertyName:"_model",subscribables:"*"}]),Object(p.h)(this._get("_model"),"*")])),this.addDisposable(this.createComputedProperty("visible",()=>{var e=this._get("_accessibilityProvider");return this._get("isSearchedProperty")&&e&&e.isPropertyVisible(this)},[Object(p.h)(this,["_accessibilityProvider",{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyModified",()=>{var e=this._get("_model");return!!(e&&e.isPropertyModified&&e.isPropertyModified(this.name))},[Object(p.h)(this,[{propertyName:"_model",subscribables:"*"}])])),this.addDisposable(this.createComputedProperty("isPropertyHighlighted",()=>{var e;return!this._shouldSkipHighlighting(this.name)&&!!((e=this._get("_model"))&&e.isPropertyHighlighted&&e.isPropertyHighlighted(this.name))},this._shouldSkipHighlighting(this.name)?[]:[Object(p.h)(this,[{propertyName:"_model",subscribables:"*"}])])),this.headerId="dxrd-accordion-trigger-"+Hi(),this.contentId="dxrd-accordion-pannel-"+Hi(),this.editorInputId="dxrd-editor-"+Hi()}createViewModel(){return cs.call(this,super.createViewModel())}_setPadding(e,t){var 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)}_shouldSkipHighlighting(e){return this.isComplexEditor}_assignValue(e,t,i,r){p.c.setPropertyValue(t,r,i,e)}_roundTwoDesemialsForUnitProperties(e,t,i){t=t&&t.constructor&&t.constructor.unitProperties;return t&&-1!==t.indexOf(i)?lt(e):e}_init(e,r){e=e||h.getEditor("text"),this.templateName=e.header,this.contentTemplateName=e.content,this._cachedValue=void 0,this.addDisposable(this.createComputedProperty("value",{read:()=>{var e,t,i=this._get("_model");return!i&&this._cachedValue||((e=i&&void 0!==i[r]?i[r]:this._get("defaultValue","wrapped"))&&"object"!=typeof e&&!e.push?(t=this.unwrap(e),this._cachedValue=null!=t?this._roundTwoDesemialsForUnitProperties(t,i,r):void 0):this._cachedValue=e),this._cachedValue},write:e=>{const t=this._get("_model");if(t){const i=t[r];this._validator.assignWithValidation(e,()=>{this._assignValue(i,t,e,r)})}}},[Object(p.h)(this,["defaultValue",{propertyName:"_model",subscribables:[r]}])])),this.name=r,this.editorTemplate=e&&e.custom||"dx-property-editor"}_getInfoFromModel(e){return(e=e&&e.getInfo&&e.getInfo())?e.filter(e=>e.propertyName===this.name)[0]:null}update(e){var t,i;e?((i=(t=this._getInfoFromModel(e))&&ee(t.editor,this._get("info").editor))&&this._get("info")!==t&&this._set("info",t),this._set("_model",this.name in e&&(i||!t)?e:null)):this._set("_model",null)}getOptions(e){return Object(v.b)(!0,{},e,this.editorOptions,this._getExtendedOptions())}_getExtendedOptions(){var 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(){var e=this.unwrap(this.info);if(e)return(e=e.validationRules)||(null===e?null:[])}getValidationRules(){return this._validator&&this._validator.getValidationRules()}setIsRendered(e){this._set("isRendered",e)}get validationRules(){return this.getValidationRules()}get fullDisplayName(){var e;return this._get("displayName")+(null!=(e=this.parentName)?e:"")}getPopupServiceActions(){var e=this._get("_model");if(e){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}}E([A()],k.prototype,"_model",void 0),E([A(null)],k.prototype,"_parent",void 0),E([A(!0)],k.prototype,"isSearchedProperty",void 0),E([A(!1)],k.prototype,"isParentSearched",void 0),E([A(()=>os)],k.prototype,"_accessibilityProvider",void 0),E([A(!1)],k.prototype,"isEditorSelected",void 0),E([A(!1)],k.prototype,"isRendered",void 0),E([A(!0)],k.prototype,"editorCreated",void 0),E([A(!0)],k.prototype,"collapsed",void 0),E([A(!1)],k.prototype,"alwaysShow",void 0);class hs extends Yt{constructor(t,e,i){super(void 0,void 0,i),this.templateName=null,this._editor=t,this._popupService=e,this.addDisposable(this.createComputedProperty("_actions",()=>(t.getPopupServiceActions()||[]).filter(e=>this.actionFilter(e)),[],void 0,!0),this.createComputedProperty("visible",()=>0<this._get("_actions").length,[],void 0,!0),this.createComputedProperty("hint",()=>{const t=[];return this._get("_actions").forEach(e=>this._getTitles(e,[],t)),t.join("\n")},[],void 0,!0),this.createComputedProperty("editorMenuButtonCss",()=>{var e=t._get("_model");return e&&e.getActionClassName&&e.getActionClassName(t.name)||""},[],void 0,!0),this.createComputedProperty("imageTemplateName",{read:()=>{var e;return void 0!==this._imageTemplateName?this._imageTemplateName:(e=t._get("_model"))&&e.getMenuBoxTemplate&&e.getMenuBoxTemplate(t.name)||""},write:e=>{this._imageTemplateName=e}},[],void 0,!0))}_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,i=[],r=[]){const s=f.unwrap(e.title);(e.items||[]).forEach(e=>{var t=s?i.concat([s]):i;this._getTitles(e,t,r)});var t,e=f.unwrap(e.hint);if(e&&s)return t=i.concat([s]).join(". "),r.push(t+":\n"+e+"\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}showPopup(e,t){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 gs extends Yt{constructor(e,t,i=0,r=p.c.wrap(!1),s=!1,a,n,o="multiplatform"){super(void 0,void 0,o),this.recreateEditors=s,this._viewModelSubscription=null,this._infoSubscription=null,this._getInfoComputed=null,this._accessibilityProvider=os,this.level=0,this.rtl=us()().rtlEnabled,n&&(this.createEditorAddOn=e=>{var e=ps(e),t=new hs(e,this.popupService,o);return e._disposables.push(t),{templateName:"dx-editor-addons",data:[t]}},this.popupService=n),this.assignArrayProperty("_editors",[],{deferred:!0}),this.level=i,this._parentDisabled=r,this._textToSearch=a,this.addDisposable(this.createComputedProperty("visible",()=>this._get("_editors").some(e=>e._get("visible")),[Object(p.h)(this,[{propertyName:"_editors",subscribables:["visible"]}])])),this.updateModel=e=>{this._infoSubscription&&this._infoSubscription(),this._update(e,t,s)},this._viewModelSubscription=p.c.subscribeValue(e,e=>{this.updateModel(e)}),this.updateModel(this.unwrap(e))}createViewModel(){const t=()=>this.editors.map(e=>{e=e.getViewModel();return this.createEditorAddOn&&(e.createEditorAddOn=e=>this.createEditorAddOn&&this.createEditorAddOn(e.getModel())),e}),i=y(super.createViewModel()).generateProperty("editors",t()).generateProperty("rtl",this.rtl).getViewModel();return this.addDisposable(this.subscribeProperty("_editors",e=>{i.editors=t()})),i}update(t){t&&this._get("_editors").forEach(e=>{e.update(t)})}_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&&this._infoSubscription(),this._viewModelSubscription&&this._viewModelSubscription(),this._cleanEditorsSubscriptions()}cleanEditors(){this._cleanEditorsSubscriptions(),this._set("_editors",[])}findEditorByInfo(t){return this._get("_editors").filter(e=>e.name===t.propertyName&&ee(e._get("info").editor,t.editor))[0]}createEditor(e){e=new(e.editor&&e.editor.editorType||k)(e,this.level,this._parentDisabled,this._textToSearch,this.popupService,this._engineType);return e.assignParent(this._parent),e.registerAccessibilityProvider(this._accessibilityProvider),e}createEditors(e){return(e||[]).filter(e=>!!e.editor&&!this.findEditorByInfo(e)).map(e=>this.createEditor(e))}registerAccessibilityProvider(t){this._accessibilityProvider=t,this._get("_editors").forEach(e=>{e.registerAccessibilityProvider(t)})}assignParent(t){this._parent=t,this._get("_editors").forEach(e=>{e.assignParent(t)})}_createEditors(e){if(!e||0===e.length)return!1;e=this.createEditors(e);if(e.length){let i=this._get("_editors");0===i.length?i=e:e.forEach(e=>{var 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(t,e,i){i&&this.cleanEditors();const r=this.createComputedProperty("_getInfoComputed",()=>e&&e.editors&&this.unwrap(e.editors)||t&&t.getInfo&&t.getInfo(),[Object(p.h)(t,["getInfo"])]),s=e=>{i&&this.cleanEditors(),this._recreateEditors(t,e)},a=this.subscribeProperty("_getInfoComputed",e=>{s(e)});this._infoSubscription=()=>{r(),a()},this._recreateEditors(t,this._get("_getInfoComputed"))}_recreateEditors(e,t){this._createEditors(t),this.update(e)}getEditors(){return this._get("_editors")}get editors(){return this.getEditors()}}class ms extends k{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a),this._popupService=s,this.addDisposable(this.createComputedProperty("_editorInfo",()=>{var e=this._get("value");return e&&e.getInfo&&e.getInfo()||this._get("info").info},[Object(p.h)(this,[{propertyName:"value",subscribables:["getInfo"]},"info"])])),this._set("editorCreated",!1),this.viewmodel=this.createObjectProperties(),Object(v.c)(this.viewmodel)||this.viewmodel.assignParent(this),this._disposables.push(this.viewmodel);const n=this.subscribeProperty("collapsed",e=>{e||(n(),this._set("editorCreated",!0))});this.addDisposable(n),r&&(this.addDisposable(this.createComputedProperty("visibleByName",()=>{const t=!!te(this._get("displayName"),r());return Object(v.c)(this.viewmodel)||this.viewmodel._get("_editors").forEach(e=>e._set("isParentSearched",t)),t},[Object(p.h)(this,["displayName",{propertyName:"viewModel",subscribables:["_editors"]}])])),this._isSearchedPropertySubscription&&this._isSearchedPropertySubscription(),this._isSearchedPropertySubscription=this.createComputedProperty("isSearchedProperty",()=>{var e;return!!this._get("visibleByName")||((e=this.viewmodel._get("visible"))&&this._set("collapsed",!1),e)},[Object(p.h)(this,["visibleByName",{propertyName:"viewmodel",subscribables:["visible"]}])]))}createViewModel(){return y(super.createViewModel()).generateProperty("viewmodel",this.viewmodel&&this.viewmodel.getViewModel()).getViewModel()}createObjectProperties(){return this.addDisposable(this.subscribeProperty("value",()=>{this.viewmodel.updateModel(this._get("value"))})),new gs(this._get("value"),{editors:this._get("_editorInfo","wrapped")},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch,this._popupService,this._engineType)}registerAccessibilityProvider(e){super.registerAccessibilityProvider(e),this.viewmodel.registerAccessibilityProvider(e)}}class fs extends ms{createObjectProperties(){return this._set("collapsed",!1),this._set("editorCreated",!0),this.level=-1,super.createObjectProperties()}}class vs extends d.a{constructor(e,t,i,r=!0,s){if(super(),this.editors=w.observableArray([]).extend({deferred:!0}),this.editorsCreated=w.observable(!1),this.editorsRendered=w.observable(!1),this._displayName=e,this.displayName=s||(()=>Object(m.c)(e)),this._serializationsInfo=t,this.collapsed=w.observable(r),r){const a=this.collapsed.subscribe(e=>{a.dispose(),this.editorsRendered(!0)});this._disposables.push(a)}this.recreate=()=>{this.editors(i(t)),this._accessibilityProvider&&this.editors().forEach(e=>{e.registerAccessibilityProvider(this._accessibilityProvider)})},this.editors(i(t)),this.visible=w.computed(()=>this.editors().some(e=>e._get("visible"))),this._disposables.push(this.visible)}resetEditors(){this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}dispose(){super.dispose(),this.disposeObservableArray(this.editors),this.resetObservableArray(this.editors)}update(e){this._viewModel=e,this.editors().forEach(e=>{e.update(this._viewModel)})}registerAccessibilityProvider(t){this._accessibilityProvider=t,this.editors().forEach(e=>{e.registerAccessibilityProvider(t)})}}class xs{constructor(){this.data=w.observable(),this.title=w.observable(),this.visible=w.observable(!1),this.disabled=w.observable(!1),this.actions=w.observableArray([]),this.target=w.observable()}}var l=t(37),bs=t.n(l);class ys extends gs{constructor(e,t,i=0,r=!0){super(e,t,i,void 0,void 0,w.observable(""),r&&new xs),this.focusedItem=w.observable(),this.editorsRendered=w.observable(!1),this.isSortingByGroups=w.observable(!0),this.isSearching=w.observable(!1),this.allEditorsCreated=w.observable(!1),this.textToSearch=w.observable(""),this._searchBox=null,this.searchPlaceholder=()=>Object(u.n)(),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=w.pureComputed(()=>$t(e()&&e().controlType)));const s=this.isSortingByGroups.subscribe(e=>{e||(this.editorsRendered(!0),s.dispose())});this._disposables.push(s),this.focusedItem=e,this._disposables.push(e.subscribe(e=>{this.isSearching()&&!this.textToSearch()&&this.switchSearchBox()})),this.displayExpr=e=>Tt(e);let a=null;this._disposables.push(this.textToSearch.subscribe(e=>{a&&clearTimeout(a),a=setTimeout(()=>{this._textToSearch(e),e&&this.groups.forEach(e=>e.collapsed()&&e.editors().some(e=>e._get("isSearchedProperty"))&&e.collapsed(!1))},200)}))}getEditors(){var e=super.getEditors();const i=e.map(e=>e._get("displayName")).sort();return e.sort((e,t)=>i.indexOf(e._get("displayName"))-i.indexOf(t._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(t){this.groups=Object.keys(t).map(e=>new vs(e,t[e].info,e=>e.filter(e=>!!e.editor).map(e=>{var t=this.findEditorByInfo(e);return t||(t=this.createEditor(e),this._get("_editors","wrapped").push(t)),t}),!0,t[e].displayName)),this._disposables.push.apply(this._disposables,this.groups)}registerAccessibilityProvider(t){super.registerAccessibilityProvider(t),this.groups.forEach(e=>{e.registerAccessibilityProvider(t)})}searchBox(e){this._searchBox=bs.a.getInstance(e.get(0))}}function _s(t,i){Object.keys(t||{}).forEach(e=>{w.isObservable(t[e])?i[e](t[e]()):_.isFunction(t[e])||_s(t[e],i[e])})}function Cs(e,r){const s={};return e.reduce((e,t)=>{var i=r(t);return i&&(s[i]?s[i].push(t):(e.push(t={group:i,items:[t]}),s[i]=t.items)),e},[])}function ws(i,r){let s=i&&r&&!(i instanceof Array)&&!(r instanceof Array);return(s=s&&Object.getOwnPropertyNames(i).length===Object.getOwnPropertyNames(r).length)&&Object.keys(i||{}).some(t=>{if(0!==t.indexOf("_")&&("function"!=typeof i[t]||w.isObservable(i[t]))){if(w.isObservable(i[t]))s=w.unwrap(i[t])===w.unwrap(r[t]);else if(i[t]instanceof Array)if(r[t]instanceof Array&&i[t].length===r[t].length)for(let e=0;e<i[t].length&&!1!==(s=ws(i[t][e],r[t][e]));e++);else s=!1;else s=i[t]instanceof Object?ws(i[t],r[t]):i[t]===r[t];return!s}}),s}function As(e,t){return e+(t?"."+t:"")}function Es(){var e=_.fn.constructor("script[type='text/html']").map(function(e,t){if(t.src){const r=_.Deferred();return _.get(t.src).done(function(e){-1===(t.text=e).indexOf('type="text/html"')&&-1===e.indexOf("type='text/html'")||_.fn.constructor(document.body).append(e),r.resolve()}).fail(function(e,t,i){r.reject()}),r.promise()}});return _.when.apply(_.when,e)}function Is(e){return Dt(e,e=>{delete e["@Ref"]}),e}const Ss={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 Ts(e){return[{id:Ss.MenuButton,templateName:Ss.MenuButton,model:e},{id:Ss.Toolbar,templateName:Ss.Toolbar,model:e},{id:Ss.Toolbox,templateName:Ss.Toolbox,model:e},{id:Ss.Surface,templateName:Ss.Surface,model:e},{id:Ss.RightPanel,templateName:Ss.RightPanel,model:e,viewModel:null==(e=e.tabPanel)?void 0:e.getViewModel()}]}function $s(i,r){return e=>{e.forEach(e=>{if(!e.wrappedWith||-1===e.wrappedWith.indexOf(i)){const t=e.clickAction;e.clickAction=e=>r(e,t),e.wrappedWith=e.wrappedWith||[],e.wrappedWith.push(i)}})}}function Ps(e){e=w.unwrap(e);return"none"===e?Object(m.c)("none","DataAccessStringId.ParameterListEmpty"):"(none)"===e?"(none)"!==Object(m.c)("(none)","DxDesignerStringId.None")?Object(m.c)("(none)","DxDesignerStringId.None"):"("+Object(m.c)("none","DataAccessStringId.ParameterListEmpty")+")":e}function ks(r,s,e,a,n,o,t){const i=p.c.wrap(f.unwrap(t)),d=f.unwrap(e);return f.isSubscribable(t)&&t.subscribe(e=>{"function"==typeof i&&i(e)}),{starting:function(e){_.fn.constructor(r).css(a===n?"right":"left","")},handles:p.c.wrap(a===n?"e":"w"),stopped:_.noop,stop:_.noop,resize:function(e,t){var i=b(t.dataset.originalLeftMousePosition),t=b(t.dataset.originalWidth),e=e.x-i,i=(_.fn.constructor(r).css({left:a===n?s+"px":"",right:a===n?"":s+"px"}),Math.min(Math.max(d,a===n?t+e:t-e),1e3));o&&o(i)},disabled:i,zoom:1,minimumWidth:p.c.wrap(f.unwrap(i)?0:d),maximumWidth:1e3,$element:r}}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class D extends Kt{constructor(e){super(),this.cssClasses=(e="")=>{e=[e];return this.position===D.Position.Left&&e.push("dxrd-tab-panel-left"),this.position===D.Position.Right&&e.push("dxrd-tab-panel-right"),this.isEmpty&&e.push("dxrd-tab-panel-empty"),e.join(" ")};var t=e.tabs;this._autoSelectTab=e.autoSelectTab;let i=D.Position.Right;e.rtl&&(i=D.Position.Left),this.position=i;const r=me(),s=(this.zoomFactor=r,this);this.tabs=t,this.toggleTabVisibility=e=>{e.model===this.tabs.filter(e=>e.active)[0]?this.collapsed=!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,this.getResizableOptions=(e,t,i)=>{return this._resizableOptions&&this._resizableOptions.$element===e||(this._resizableOptions=ks(e,r*t,i,s.position,D.Position.Left,function(e){if(0===arguments.length)return s.width;s.width=e},s.collapsed),s.addDisposable(s.events.on("positionChanged",e=>{this._resizableOptions.handles(s.position===D.Position.Left?"e":"w")}),s.events.on("collapsedChanged",e=>{"function"==typeof this._resizableOptions.minimumWidth?this._resizableOptions.minimumWidth(s.collapsed?0:i):this._resizableOptions.minimumWidth=s.collapsed?0:i,"function"==typeof this._resizableOptions.disabled?this._resizableOptions.disabled(this.collapsed):this._resizableOptions.disabled=this.collapsed}))),this._resizableOptions},this._disposables.push({dispose:()=>{this._resizableOptions=null,this.getResizableOptions=null}});t=this.collapsed?"-expand":"-collapse";this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+t,template:"dxrd-svg-tabs"+t},this.toggleCollapsedText=(e=this.collapsed?"Open":"Collapse",Object(m.c)(e,"ASPxReportsStringId.SidePanel_"+e)),this.keyboardHelper=new ye(this),this._disposables.push(this.keyboardHelper)}mapToTabsCollection(){return this.tabs.map(e=>{var t=e.getViewModel();return t.click=()=>this.toggleTabVisibility({model:e}),t})}createViewModel(){return y(super.createViewModel()).generateProperty("width",this.headerWidth).generateProperty("class",this.cssClasses(this.collapsed?"dx-tab-panel-collapsed":"")).generateProperty("tabs",this.mapToTabsCollection()).generateProperty("tabsElement",y().generateProperty("class",this.cssClasses()).getViewModel()).generateProperty("contentElement",y().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){var 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){var t;"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}),t=this.collapsed?"-expand":"-collapse",this.toggleCollapsedImage={class:"dxrd-image-propertygrid"+t,template:"dxrd-svg-tabs"+t},t=this.collapsed?"Open":"Collapse",this.toggleCollapsedText=Object(m.c)(t,"ASPxReportsStringId.SidePanel_"+t)),"width"===e.propertyName&&this.width&&(this._width=this.width,this.collapsed)&&(this.width=0)}_onDisabledChanged(){var e=this.tabs.filter(e=>e.disabled);0!==e.length&&0!==e.filter(e=>e.active).length&&(e.forEach(e=>e.active=!1),e=this.tabs.filter(e=>!e.disabled&&e.visible)[0])&&this.selectTab({model:e})}_onVisibilityChanged(){var 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)}_subscribeTab(t){const e=[t.events.on("visibleChanged",e=>{this._onVisibilityChanged()}),t.events.on("disabledChanged",e=>{this._onDisabledChanged()}),t.events.on("activeChanged",e=>{this._autoSelectTab&&t.active&&this.selectTab({model:t})}),t.events.on("collapsedChanged",e=>{this.collapsed=t.collapsed})];return()=>e.forEach(e=>e())}getTabByName(t){return this.tabs.filter(e=>e.name===t)[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))}}D.Position={Left:"Left",Right:"Right"},E([Ut(()=>[])],D.prototype,"tabs",void 0),E([A(!0)],D.prototype,"isEmpty",void 0),E([A(!1)],D.prototype,"collapsed",void 0),E([A(0)],D.prototype,"width",void 0),E([A(0)],D.prototype,"headerWidth",void 0),E([A(D.Position.Right)],D.prototype,"position",void 0),E([A(null)],D.prototype,"toggleCollapsedImage",void 0),E([A("")],D.prototype,"toggleCollapsedText",void 0);class Ds{constructor(e,t){this._context=e,this._rtl=t}addElement(e,t){return this._context[e]=t,this}addUndoEngine(e=w.observable(new vr(this._context.model))){return this._context.undoEngine=e,this}addSurface(e){return this._context.surface=e,this}getContext(){return this._context}}class Fs{constructor(e){this._rtl=e}addModel(e){return new Ds({model:e},this._rtl)}}class Os extends d.a{get handler(){return this._handler}set handler(e){this._disposables.push(e),this._handler=e}generate(){var e={};return this.handler&&(e.resizeHandler=this.handler),e}}class Bs extends d.a{_actionUndoEngineWrappingFunction(e,i){return $s("WrapWithUndoEngine",(e,t)=>{i().start(),t(e),i().end()})(e)}_collectActions(e,t,i){const r=e(),s=[];return this.actionProviders.forEach(e=>{e=e.getActions(r);i&&(e=e.filter(e=>i(e))),s.push.apply(s,e)}),this._actionUndoEngineWrappingFunction(s,t),s}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=w.computed(()=>this._collectActions(e,t,e=>!(e.isContextMenuAction||e.group)))}createDefaultGroupAction(e,t){this.groupActions=w.computed(()=>Cs(this._collectActions(e,t),e=>e.group&&e.group()))}createDefaultContextMenuActions(e,t){this.actions=w.computed(()=>this._collectActions(e,t,e=>e.isContextMenuAction&&!e.group))}generate(){var e={};return this.actionProviders&&(e.contextActionProviders=this.actionProviders),this.actions&&(e.contextActions=this.actions),this.groupActions&&(e.contextGroupActions=this.groupActions),e}generateContextMenu(t){var i=t,r={text:Object(u.d)("Properties","AnalyticsCoreStringId.Cmd_Properties"),clickAction:()=>{var e=i.tabPanel.getTabByName("Properties");t.tabPanel.selectTab({model:e})},imageTemplateName:"dxrd-svg-properties-propertiesmenu",disabled:w.observable(!1),visible:!0,hasSeparator:!0},s=()=>{var e;return[...null!=(e=this.groupActions&&this.groupActions())?e:[],...null!=(e=this.actions&&this.actions())?e:[],...w.unwrap(null!=(e=null==(e=i.actionLists)?void 0:e.toolbarItems)?e:[]),r]},a=w.observable(s()),e=(this.groupActions&&this.addDisposable(this.groupActions.subscribe(e=>{a(s())})),this.actions&&this.addDisposable(this.actions.subscribe(e=>{a(s())})),t.ContextMenusEnabled||(t.ContextMenusEnabled=w.observable(!0)),new ss({actions:a,target:"."+i.containerClass+" .dxrd-context-menu-container",contextMenusEnabled:t.ContextMenusEnabled}));return this._disposables.push(e),{contextMenu:e}}}class Ms extends d.a{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(){var e=this._model;return this.dragHelperContent&&(e.dragHelperContent=this.dragHelperContent),this.dragDropStarted&&(e.dragDropStarted=this.dragDropStarted),e}}class Ns extends d.a{constructor(e,t){super(),this._selection=e,this._context=t,this._model={}}generate(){var e=this._model;return this.controlsHelper&&(e.controlsHelper=this.controlsHelper),e}addControlsHelper(e){return this.controlsHelper=e||new Ot(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 ki(this.controlsHelper.allControls),this._disposables.push(e),this._model.controlsStore=e,this}}class Vs extends d.a{constructor(){super(...arguments),this.stopPropagation=!1}generate(){var 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 zs extends d.a{constructor(){super(...arguments),this._dragDropSettings=new Ms,this._resizeSettings=new Os}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(){var e={};return this.selection&&(e.selection=this.selection),this.snapHelper&&(e.snapHelper=this.snapHelper),this.editableObject&&(e.editableObject=this.editableObject),Object(v.b)(e,this._dragDropSettings.generate(),this._resizeSettings.generate())}}class Ls extends d.a{constructor(e,t){super(),this._context=e,this._rtl=t,this._model={},this._selectionSettings=new zs,this._model.rtl=this._rtl,this._model.dispose=()=>{this.dispose()}}_createPopularProperties(i,e){const r=[];return e.forEach(t=>{var e=i.filter(e=>e.propertyName===t)[0];e&&r.push(e)}),r}_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()}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),Object(v.b)(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 d.a,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){t=new ys(this._model.editableObject,{groups:t,editors:e},null);return i&&t.registerAccessibilityProvider(i),t}addPopularProperties(s,t){return this.addPropertyGrid(()=>{var e=new gs(w.pureComputed(()=>{const t={getInfo:()=>[]},i=this._model.editableObject();if(i){const e=s.controlsMap[i.controlType],r=this._createPopularProperties(e&&e.info||[],e&&e.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=t=>r.some(e=>e.propertyName===t)&&(!i.isPropertyVisible||i.isPropertyVisible(t,!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&&e.registerAccessibilityProvider(t),e},"popularProperties")}addToolboxItems(e){return this._model.toolboxItems=e&&e(),this}addGroupedToolboxItems(){return this._model.groupedToolboxItems=Cs(this._model.toolboxItems,e=>e.info.group),this}addTabPanel(e,t=()=>[]){e=e&&e()||new D({tabs:t(),rtl:this._rtl,width:396});return this._model.tabPanel=e,this._disposables.push(e),this}addIsLoading(e=()=>w.observable(!0)){return this._model.isLoading=e(),this._disposables.push(this._model.isLoading),this}addControlsHelper(e){var t=new Ns(this._selectionSettings.selection,this._context);return e(t),this._disposables.push(t),Object(v.b)(this._model,t.generate()),this}addMenu(e){var t=new Vs;return e(t),this._disposables.push(t),Object(v.b)(this._model,t.generate()),this}addContextActions(e){var t=new Bs,e=(e(t),this._disposables.push(t),Object(v.b)(this._model,t.generate()),t.generateContextMenu(this._model));return Object(v.b)(this._model,e),this.addContextMenu(e.contextMenu),this.addElement("hideContextMenu",()=>()=>this._model.contextMenus.forEach(e=>e.hide())),this}addParts(e=e=>e,t=!0){let i=[];return t&&(i=Ts(this._model)),this._model.parts=e(i),this}getModel(){return this._model}addActionList(e){e=e&&e()||new is(this._context.surface,this._selectionSettings.selection,this._context.undoEngine,()=>{});return this._disposables.push(e),this._model.actionLists=e,this}}const Hs=w.observable({});l=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};class Rs extends Kt{constructor(e){super(),this.visible=!("visible"in e)||e.visible,this.disabled="disabled"in e&&e.disabled;var 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||c.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}updateViewModel(e){var 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),!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 y(super.createViewModel()).generateProperty("text",this.text).generateProperty("image",y().generateProperty("class",this.imageClassName).generateProperty("templateName",this.imageTemplateName).getViewModel()).generateProperty("click",()=>{}).generateProperty("css",y().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("template",this.template).generateProperty("model",this.model).generateProperty("keyboardHelper",this.keyboardHelper).getViewModel()}focus(){this.keyboardHelper&&this.keyboardHelper.focus(document.getElementsByClassName("dxrd-tab-item dxd-state-active")[0])}get text(){return Object(u.d)(this._text,this._localizationId)}}function js(e,i,r,t={},s=[],a,n,o,d,l,u,c,p){const h=new Fs(n).addModel(e).addSurface(i).addUndoEngine(l).getContext(),g=new Ls(h,n);return g.addDisposableContainer().mapOnContext().addSelection(t=>{t.selection=o||new hr,t.snapHelper=new $r(i,$r.snapTolerance,c||new Sr),t.editableObject=pr.getEditableObject(t.selection,h.undoEngine,u).extend({throttle:1}),t.addDragDrop(e=>{e.dragHelperContent=new vt(t.selection),e.dragDropStarted=gt.started,e.addDragDropHandler("dragHandler",new xt(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent)),e.addDragDropHandler("toolboxDragHandler",new bt(h.surface,t.selection,h.undoEngine,t.snapHelper,e.dragHelperContent,r))}),t.addResize(e=>{e.handler={starting:()=>{o.expectClick=!0,h.undoEngine().start()},stopped:()=>{h.undoEngine().end(),setTimeout(()=>{o.expectClick=!1},100)},disabled:gt.started,snapHelper:t.snapHelper}})}).addToolboxItems(()=>Fi(r.controlsMap)).addIsLoading().addControlProperties(s,t).addPopularProperties(r).addControlsHelper(e=>{e.addControlsHelper(d).addControlsStore()}).addTabPanel(void 0,()=>{const t=new Rs({text:"Properties",template:"dxrd-propertiestab",model:g.getModel().propertyGrid,localizationId:"AnalyticsCoreStringId.Cmd_Properties",visible:!!e(),disabled:g.getModel().propertyGrid.focusedItem()instanceof Array});return g._disposables.push(g.getModel().propertyGrid.focusedItem.subscribe(e=>{t.disabled=g.getModel().propertyGrid.focusedItem()instanceof Array})),g._disposables.push(e.subscribe(e=>{t.visible=!!e})),[t]}).addContextActions(e=>{e.actionProviders=[],e.createDefaultActions(g.getModel().editableObject,g.getModel().undoEngine)}).addMenu(e=>{e.appMenuVisible=w.observable(!1),e.toggleAppMenu=function(){e.appMenuVisible(!e.appMenuVisible())},e.getMenuPopupContainer=e=>$.fn.constructor(e).closest(".dxrd-menu-button").prev(".dxrd-menu-container"),e.getMenuPopupTarget=e=>$.fn.constructor(e).closest(".dxrd-menu-button").find(".dxrd-menu-place")}).addElement("inlineTextEdit",()=>new oi(g.getModel().selection)).addElement("actionsGroupTitle",()=>()=>Object(m.c)("Actions","AnalyticsCoreStringId.Actions")).addElement("updateFont",()=>e=>{Hs(Object.assign(Object.assign({},Hs()),e))}).addElement("sortFont",()=>()=>{const t={},i=Hs.peek();Object.keys(i).sort((e,t)=>e.localeCompare(t)).forEach(e=>t[e]=i[e]),Hs(t)}).addElement("surfaceSize",()=>w.observable(0)).addElement("popularVisible",()=>w.pureComputed(()=>g.getModel().popularProperties._get("_editors").some(e=>e._get("visible"))||g.getModel().contextActions&&0<g.getModel().contextActions().length)).addActionList().addParts().getModel()}l([A(!1)],Rs.prototype,"active",void 0),l([A(!0)],Rs.prototype,"visible",void 0),l([A(!1)],Rs.prototype,"disabled",void 0),l([A(null)],Rs.prototype,"model",void 0),l([A(void 0)],Rs.prototype,"collapsed",void 0);class Ws{constructor(e,s,t,a=!1){this.deferreds=[],this._extenders=t,this.getItems=t=>{const i=_.Deferred(),r=[];return this._beforeFieldListCallback(t,r)?i.resolve(r):s&&!t.fullPath?(r.push.apply(r,_.map(s(),e=>{e={name:e.id||e.ref,displayName:e.name,isList:!0,specifics:e.specifics||"ListSource",dragData:{noDragable:!1}};return a&&delete e.dragData,e})),this._afterFieldListCallBack(t,r),i.resolve(r)):(this._patchRequest(t,s),this.deferreds.push(i),e(t).done(e=>{r.push.apply(r,e),this._afterFieldListCallBack(t,r),i.resolve(r)}).fail(e=>i.reject(e)).always(()=>this.deferreds.splice(this.deferreds.indexOf(i),1))),i.promise()},this.dispose=()=>{this.getItems=null,e=null,this.deferreds.forEach(e=>e.reject())}}_patchRequest(t,e){if(e){var i=e.peek();for(let e=0;e<i.length;e++){if(i[e].id===t.id&&t.id)return void(t.ref=void 0);if(i[e].ref===t.ref&&t.ref)return void(t.id=void 0)}}}_beforeFieldListCallback(t,i){return!!this._extenders&&this._extenders.some(e=>e.beforeItemsFilled(t,i))}_afterFieldListCallBack(t,i){this._extenders&&this._extenders.forEach(e=>{e.afterItemsFilled&&e.afterItemsFilled(t,i)})}}function Gs(t,e,i,r,s,a,n){let o=0;e[i]=w.pureComputed({read:()=>{var e=ut(r(t)(),s.peek(),a());return.2<Math.abs(e-o)?o=e:o},write:e=>{Math.abs(e-o)<=.2||(e=ct(o=e,s.peek(),a()),r(t)(e))}}),n(e[i])}function Us(t,i,r,s,a,n){r&&Object.keys(r).forEach(e=>{Gs(t,i,e,r[e],s,a,n)})}let qs=null;const Ks={getInstance:function(e){return qs||this._initialize(e),qs},_initialize:function(e){const{ajaxSetup:t,fetchSetup:i}=null!=e?e:{};if(Bi(null===t||void 0===t?void 0:t.ajaxSettings)&&Bi(null===i||void 0===i?void 0: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.");Bi(null===t||void 0===t?void 0:t.ajaxSettings)?Ks.initialize(new Ct(()=>t.ajaxSettings)):Ks.initialize(new At(()=>null===i||void 0===i?void 0:i.fetchSettings))},initialize:function(e){qs=e}};function Ys(){return qs.useFetch}const Js={fetchSettings:{}},Xs={ajaxSettings:{},sendRequest:function(e){if(Ys())throw new Error("The request manager is currently configured as Fetch. Use either ajaxSetup or fetchSetup for configuration, but not both.");return Ks.getInstance().sendRequest(Object(_.extend)({},this.ajaxSettings,e))}};function Zs(e){ta=e}function Qs(r,e,t,s,a,i,n=e=>!e.success,o=Re,d="POST"){const l=_.Deferred();let u;void 0!==e&&void 0!==t&&(u={actionKey:e,arg:t,dxversions:JSON.stringify(_t)});e={ajaxSetup:Xs,fetchSetup:Js};return Ks.getInstance(e).sendRequest(Object(v.b)({},{type:d,data:u,url:r},i)).fail((e,t,i)=>{a&&a()?l.reject():(Ye.call({jqXHR:e,textStatus:t,errorThrown:i,getRequestDetails:()=>u||r}),Ke(i,l,e,t,s))}).done((e,t,i)=>{e?n(e)?a&&a()?l.reject():(Ye.call({jqXHR:i,textStatus:t,data:e,errorThrown:o(i),getRequestDetails:()=>u||r}),Ke("Internal Server Error",l,i,t,s)):l.resolve(e.result):l.reject()}),l.promise()}function ea(e){return Qs(e.uri,e.action,e.arg,e.processErrorCallback,e.ignoreError,e.customOptions,e.isError,e.getErrorMessage,e.method)}let ta=(...e)=>1<e.length?Qs.apply(void 0,e):ea(e[0]);function ia(e,t=!0){return e.editor=h.getEditor("text"),e.editorOptions={mode:"password"},t&&(e.editorOptions.inputAttr={autocomplete:"new-password"}),e}function ra(e){return e<768?"xs":e<992?"sm":e<1200?"md":e<1380?"lg":"xl"}const sa={_static:{searchPlaceholder:()=>Object(u.n)(),selectPlaceholder:()=>Object(u.o)(),noDataText:()=>Object(u.j)(),ajaxSetup:Xs}},aa=Object(C.d)({});function na(t,e=sa,i){e&&(t.dx=Object.assign(Object.assign({},e),aa())),t.getLocalization=function(){return m.c.apply(t,arguments)},t.getPopupContainer=Xr,t.calculateWithZoomFactor=fe,t.containerClass="dx-designer-"+Hi(),t.surfaceClass=e=>"dx-designer-viewport dx-designer-viewport-"+ra(e.clientWidth)+" "+(Xr(e,".dx-theme-generic").length?"":" dx-theme-generic")+" "+t.containerClass+(i?" "+i:"")}function oa(e){return f.isSubscribable(e)?e:p.c.wrap(null)}class da extends d.a{constructor(e){super(),this.left=w.observable(!1),this.right=w.observable(!1),this.top=w.observable(!1),this.bottom=w.observable(!1),this.disabled=e.disabled||w.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe(e=>{this.updateModel(e)}))}_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){e=e||"None";-1!==e.indexOf("All")?this._setAllValues(!0):-1!==e.indexOf("None")?this._setAllValues(!1):(this.left(-1!==e.indexOf("Left")),this.top(-1!==e.indexOf("Top")),this.right(-1!==e.indexOf("Right")),this.bottom(-1!==e.indexOf("Bottom")))}updateValue(){var 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(","))}}w.bindingHandlers.dxBorderEditor={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=g("dxrd-bordereditor"),a=_.fn.constructor(e).append(a);const n=new da(t());return w.applyBindings({value:n},a.children()[0]),Object(C.c)(e,()=>n.dispose()),{controlsDescendantBindings:!0}}};E=t(25),l=t.n(E),E=t(50);const la=i=>({render:function(e){var t=_.fn.constructor("<i />").addClass("dx-icon"),t=(i?(t.addClass(i),t.addClass("dx-icon-"+i),t.addClass("dx-icon-dxrd")):e.model.icon&&t.addClass(e.model.icon),e.model.icon&&t.html(g(e.model.icon)),t.get(0));_.fn.constructor(e.container).append(t),e.model.text&&((t=_.fn.constructor("<span />").addClass("dx-button-text")).text(e.model.text),_.fn.constructor(e.container).append(t))}}),ua={render:function(e){la(e.model.iconClass).render(e)}};class ca extends t.n(E).a{constructor(e,t){t.template=ua,super(e,t)}_patchOptionValues(e){var t=super._patchOptionValues.call(this,e),e={iconClass:e.iconClass};return w.utils.extend(t.templateData,e),t}}l()("dxButtonWithTemplate",ca);class pa extends d.a{initActions(e){this.actions=e,this.actions.forEach(e=>{e.disabled||(e.disabled=w.observable(!1))})}getActions(e){return this.condition(e)?(this.setDisabled&&this.setDisabled(e),this.actions):[]}condition(e){return!0}}const ha=["-webkit-transform","-moz-transform","-ms-transform","-o-transform","transform"];function ga(t,i){for(let e=0;e<ha.length;e++)t.style[ha[e]]="scale("+i+")";T(t).addClass("dxrd-transform-origin-left-top")}function ma(e,t){return"parent"===t||t===e?e:e.find(t)}w.bindingHandlers.cssArray={update:function(t,e,i,r,s){const a=w.utils.unwrapObservable(e());for(let e=0;e<a.length;e++)w.bindingHandlers.css.update(t,()=>a[e])}},w.bindingHandlers.selectable={init:function(e,t,i,r,s){t=t();const a=w.unwrap(t.selection),n=Object(v.b)({filter:".dxd-selectable",distance:1},w.unwrap(t),{selecting:function(e,t){e={control:pt(t),cancel:!1,ctrlKey:e.ctrlKey};a.selecting(e),e.cancel&&_.fn.constructor(t).removeClass("ui-selecting")},start:(e,t)=>{a.clickHandler(null,e),a.expectClick=!0,a.started=!0},stop:()=>{a.started=!1,setTimeout(()=>{a.expectClick=!1},100),a.applySelection()},unselecting:function(e,t){a.unselecting(pt(t))}}),o=new Ci(e,n),d=[];a.disabled&&w.isSubscribable(a.disabled)&&d.push(a.disabled.subscribe(e=>Ci.disabled=e)),Object(C.c)(e,()=>{o.dispose(),e=null,d.forEach(e=>e.dispose())})}},w.bindingHandlers.updateTop={init:function(i,e,t,r,s){e=e();const a=_.fn.constructor(i),n=e=>{var t=i.getBoundingClientRect().height/i.offsetHeight,e=0===e||e?e:a.prev().position().top/t+a.prev().outerHeight();a.css("top",e+"px")},o=e.subscribe(e=>{n(e)});n(e()),Object(C.c)(i,function(){o.dispose()})}},w.bindingHandlers.draggable={init:function(e,t,i,r,a){const n=t();if(n){const o=_.fn.constructor(e),d=n.parent&&n.parent()||o.closest(".dx-designer-viewport"),l=n.containment||".dxrd-ghost-container";let i,r,s;const u={left:0,top:0},c=e=>{e.delta={left:(r&&r.left||0)-s.left,top:(r&&r.top||0)-s.top},e.scroll={left:i.scrollLeft()-u.left,top:i.scrollTop()-u.top}},p=Object(v.b)({},w.unwrap(n),{start:function(e,t){gt.started(!0),i=d.find(".dxrd-viewport"),r=d.find(".dxrd-ghost-container").offset(),s=ma(d,l).offset(),u.left=i.scrollLeft(),u.top=i.scrollTop(),n.startDrag&&n.startDrag(pt(t))},stop:function(e,t){c(t),n.stopDrag(t,pt(t),e),gt.started(!1)},drag:function(e,t){c(t),n.drag&&n.drag(e,t,pt(t))},helper:function(e,t){let i;r=d,s=p.containment;var r,s=r?{top:(r=ma(r,s)).offset().top,left:r.offset().left}:{top:0,left:0};return n.helper&&(i=n.helper(pt(t),e))?(i.css({position:"absolute"}),i[0].dataset.startLeftPosition=x(e.pageX-s.left),i[0].dataset.startTopPosition=x(e.pageY-s.top)):(r=g(a.$root.dragHelperContent.template),t=pt(t),(i=_.fn.constructor(r).css({display:n.helper?"block":"none",position:"absolute"}))[0].dataset.startLeftPosition=x(t.absolutePosition?t.absolutePosition.x():e.pageX-s.left),i[0].dataset.startTopPosition=x(t.absolutePosition?t.absolutePosition.y():e.pageY-s.top),i.prependTo(ma(d,p.containment)),w.applyBindingsToDescendants(a.$root.dragHelperContent,i[0])),i}});p.containment=ma(d,p.containment),(t=e).parentElement.classList.contains("dxrd-toolbox-item")&&(t.dataset.startDragWithOffset="true");const h=new bi(e,p);Object(C.c)(e,()=>{h.dispose(),e=null})}}};const fa="dxd-track-cursor";fa;w.bindingHandlers.trackCursor={init:function(a,e,t,i,n){const r=_.fn.constructor(a);r.addClass(fa);let o=e(),d=!1,l=(o.recalculateBounds&&(d=o.recalculateBounds,o=o.underCursor),a.getBoundingClientRect());const u=document.body,c=document.documentElement,s=e=>{n.$root.selection.started&&n.$root.resizeHandler.started||o().isNotDropTarget||(n.$root.selection.dropTarget=n.$data,e.stopPropagation())},p=e=>{o(Object(v.b)(o(),{isOver:!0})),n.$root.selection.started&&n.$root.resizeHandler.started||(l=a.getBoundingClientRect())},h=e=>{o(Object(v.b)(o(),{isOver:!1}))},g=e=>{var t,i,r,s;d&&(l=a.getBoundingClientRect()),n.$root.selection.started&&n.$root.resizeHandler.started||(r=window.pageYOffset||c.scrollTop||u.scrollTop,t=window.pageXOffset||c.scrollLeft||u.scrollLeft,s=c.clientTop||u.clientTop||0,i=c.clientLeft||u.clientLeft||0,r=e.pageY-(l.top+r-s),s=e.pageX-(l.left+t-i),o(Object(v.b)(o(),{x:s,y:r})))};a.addEventListener("mousemove",g),d||a.addEventListener("mouseenter",p),a.addEventListener("mouseover",s),a.addEventListener("mouseleave",h),a.addEventListener("dragover",g),Object(C.c)(a,function(){a.removeEventListener("dragover",g),a.removeEventListener("mousemove",g),a.removeEventListener("mouseover",s),a.removeEventListener("mouseleave",h),d||a.removeEventListener("mouseenter",p),r.removeClass(fa)})}},w.bindingHandlers.templates={init:function(e,t){t=_.fn.constructor(t()).text(),t=_.fn.constructor(t);return _.fn.constructor(e).append(t),{controlsDescendantBindings:!0}}},w.bindingHandlers.zoom={update:(e,t)=>ga(e,w.unwrap(t()))},w.bindingHandlers.keyDownActions=(()=>{const r=new le(window);return{init:function(e,t){const i=t();r.bindHandler(e,e=>i.processShortcut(e))}}})(),w.bindingHandlers.dxMutationObserver={init:function(e,t,i,r,s){if(t()){const a=w.bindingEvent.subscribe(e,"childrenComplete",()=>{Object(C.c)(e,ve(e,t(),s.$root.accessibilityCompliant))});Object(C.c)(e,()=>a.dispose())}}},w.bindingHandlers.dxAction={init:(e,t)=>{function i(e){s.action.call(s.model,s.model,e)}function r(e){e.key!=L.Enter&&e.key!=L.Space||s.action.call(s.model,s.model,e)}const s=t();e.addEventListener("click",i),e.addEventListener("keydown",r),Object(C.c)(e,function(){e.removeEventListener("click",i),e.removeEventListener("keydown",r)})}},w.extenders.dxdnum=function(t,i){return t.subscribe(e=>{e=e||0,isNaN(i.max)?isNaN(i.min)?t(e):t(Math.max(e,i.min)):t(Math.min(e,i.max))}),t};const va={MasterDetailRelationsEditor:"DataAccessUIStringId.MasterDetailEditorForm_Title",DataAccessBtnOK:"DataAccessUIStringId.Button_OK",DataAccessBtnCancel:"DataAccessUIStringId.Button_Cancel",DataSourceWizardTitle:"DataAccessUIStringId.WizardTitleDatasource",WizardPageConfigureQuery:"DataAccessUIStringId.WizardPageConfigureQuery"};var xa=t(17);const ba=[{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"}],Join:[{paramCount:1,text:"[].Join()",displayName:"Join()",descriptionStringId:"ExpressionEditorStringId.Function_JoinAggregate"}],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:{LocalDateTimeThisYear:[{paramCount:0,text:"LocalDateTimeThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisYear"}],LocalDateTimeThisMonth:[{paramCount:0,text:"LocalDateTimeThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisMonth"}],LocalDateTimeLastMonth:[{paramCount:0,text:"LocalDateTimeLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastMonth"}],LocalDateTimeLastWeek:[{paramCount:0,text:"LocalDateTimeLastWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastWeek"}],LocalDateTimeLastYear:[{paramCount:0,text:"LocalDateTimeLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeLastYear"}],LocalDateTimeThisWeek:[{paramCount:0,text:"LocalDateTimeThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeThisWeek"}],LocalDateTimeYesterday:[{paramCount:0,text:"LocalDateTimeYesterday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYesterday"}],LocalDateTimeToday:[{paramCount:0,text:"LocalDateTimeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeToday"}],LocalDateTimeNow:[{paramCount:0,text:"LocalDateTimeNow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNow"}],LocalDateTimeTomorrow:[{paramCount:0,text:"LocalDateTimeTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTomorrow"}],LocalDateTimeDayAfterTomorrow:[{paramCount:0,text:"LocalDateTimeDayAfterTomorrow()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeDayAfterTomorrow"}],LocalDateTimeNextWeek:[{paramCount:0,text:"LocalDateTimeNextWeek()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextWeek"}],LocalDateTimeTwoMonthsAway:[{paramCount:0,text:"LocalDateTimeTwoMonthsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoMonthsAway"}],LocalDateTimeTwoYearsAway:[{paramCount:0,text:"LocalDateTimeTwoYearsAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoYearsAway"}],LocalDateTimeTwoWeeksAway:[{paramCount:0,text:"LocalDateTimeTwoWeeksAway()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeTwoWeeksAway"}],LocalDateTimeNextMonth:[{paramCount:0,text:"LocalDateTimeNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextMonth"}],LocalDateTimeNextYear:[{paramCount:0,text:"LocalDateTimeNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeNextYear"}],LocalDateTimeYearBeforeToday:[{paramCount:0,text:"LocalDateTimeYearBeforeToday()",descriptionStringId:"ExpressionEditorStringId.Function_LocalDateTimeYearBeforeToday"}],InDateRange:[{paramCount:3,text:"InDateRange(, , )",descriptionStringId:"ExpressionEditorStringId.Function_InDateRange"}],IsOutlookIntervalBeyondThisYear:null,IsOutlookIntervalNextWeek:null,IsOutlookIntervalTomorrow:null,IsOutlookIntervalToday:null,IsOutlookIntervalYesterday:null,IsOutlookIntervalLastWeek:null,IsOutlookIntervalPriorThisYear:null,IsLastMonth:[{paramCount:1,text:"IsLastMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastMonth"}],IsLastYear:[{paramCount:1,text:"IsLastYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsLastYear"}],IsNextMonth:[{paramCount:1,text:"IsNextMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextMonth"}],IsNextYear:[{paramCount:1,text:"IsNextYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsNextYear"}],IsThisWeek:[{paramCount:1,text:"IsThisWeek()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisWeek"}],IsThisMonth:[{paramCount:1,text:"IsThisMonth()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisMonth"}],IsThisYear:[{paramCount:1,text:"IsThisYear()",descriptionStringId:"ExpressionEditorStringId.Function_IsThisYear"}],IsJanuary:[{paramCount:1,text:"IsJanuary()",descriptionStringId:"ExpressionEditorStringId.Function_IsJanuary"}],IsFebruary:[{paramCount:1,text:"IsFebruary()",descriptionStringId:"ExpressionEditorStringId.Function_IsFebruary"}],IsMarch:[{paramCount:1,text:"IsMarch()",descriptionStringId:"ExpressionEditorStringId.Function_IsMarch"}],IsApril:[{paramCount:1,text:"IsApril()",descriptionStringId:"ExpressionEditorStringId.Function_IsApril"}],IsMay:[{paramCount:1,text:"IsMay()",descriptionStringId:"ExpressionEditorStringId.Function_IsMay"}],IsJune:[{paramCount:1,text:"IsJune()",descriptionStringId:"ExpressionEditorStringId.Function_IsJune"}],IsJuly:[{paramCount:1,text:"IsJuly()",descriptionStringId:"ExpressionEditorStringId.Function_IsJuly"}],IsAugust:[{paramCount:1,text:"IsAugust()",descriptionStringId:"ExpressionEditorStringId.Function_IsAugust"}],IsSeptember:[{paramCount:1,text:"IsSeptember()",descriptionStringId:"ExpressionEditorStringId.Function_IsSeptember"}],IsOctober:[{paramCount:1,text:"IsOctober()",descriptionStringId:"ExpressionEditorStringId.Function_IsOctober"}],IsNovember:[{paramCount:1,text:"IsNovember()",descriptionStringId:"ExpressionEditorStringId.Function_IsNovember"}],IsDecember:[{paramCount:1,text:"IsDecember()",descriptionStringId:"ExpressionEditorStringId.Function_IsDecember"}],IsSameDay:[{paramCount:2,text:"IsSameDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_IsSameDay"}],IsYearToDate:[{paramCount:1,text:"IsYearToDate()",descriptionStringId:"ExpressionEditorStringId.Function_IsYearToDate"}],DateDiffTick:[{paramCount:2,text:"DateDiffTick(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffTick"}],DateDiffSecond:[{paramCount:2,text:"DateDiffSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffSecond"}],DateDiffMilliSecond:[{paramCount:2,text:"DateDiffMilliSecond(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMilliSecond"}],DateDiffMinute:[{paramCount:2,text:"DateDiffMinute(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMinute"}],DateDiffHour:[{paramCount:2,text:"DateDiffHour(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffHour"}],DateDiffDay:[{paramCount:2,text:"DateDiffDay(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffDay"}],DateDiffMonth:[{paramCount:2,text:"DateDiffMonth(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffMonth"}],DateDiffYear:[{paramCount:2,text:"DateDiffYear(, )",descriptionStringId:"ExpressionEditorStringId.Function_DateDiffYear"}],DateTimeFromParts:[{paramCount:3,text:"DateTimeFromParts(, , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts3"},{paramCount:4,text:"DateTimeFromParts(, , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts4"},{paramCount:5,text:"DateTimeFromParts(, , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts5"},{paramCount:6,text:"DateTimeFromParts(, , , , , )",descriptionStringId:"ExpressionEditorStringId.Function_DateTimeFromParts6"}],GetDate:[{paramCount:1,text:"GetDate()",descriptionStringId:"ExpressionEditorStringId.Function_GetDate"}],GetMilliSecond:[{paramCount:1,text:"GetMilliSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetMilliSecond"}],GetSecond:[{paramCount:1,text:"GetSecond()",descriptionStringId:"ExpressionEditorStringId.Function_GetSecond"}],GetMinute:[{paramCount:1,text:"GetMinute()",descriptionStringId:"ExpressionEditorStringId.Function_GetMinute"}],GetHour:[{paramCount:1,text:"GetHour()",descriptionStringId:"ExpressionEditorStringId.Function_GetHour"}],GetDay:[{paramCount:1,text:"GetDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetDay"}],GetMonth:[{paramCount:1,text:"GetMonth()",descriptionStringId:"ExpressionEditorStringId.Function_GetMonth"}],GetYear:[{paramCount:1,text:"GetYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetYear"}],GetDayOfWeek:[{paramCount:1,text:"GetDayOfWeek()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfWeek"}],GetDayOfYear:[{paramCount:1,text:"GetDayOfYear()",descriptionStringId:"ExpressionEditorStringId.Function_GetDayOfYear"}],GetTimeOfDay:[{paramCount:1,text:"GetTimeOfDay()",descriptionStringId:"ExpressionEditorStringId.Function_GetTimeOfDay"}],Now:[{paramCount:0,text:"Now()",descriptionStringId:"ExpressionEditorStringId.Function_Now"}],UtcNow:[{paramCount:0,text:"UtcNow()",descriptionStringId:"ExpressionEditorStringId.Function_UtcNow"}],Today:[{paramCount:0,text:"Today()",descriptionStringId:"ExpressionEditorStringId.Function_Today"}],AddTimeSpan:[{paramCount:2,text:"AddTimeSpan(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTimeSpan"}],AddTicks:[{paramCount:2,text:"AddTicks(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddTicks"}],AddMilliSeconds:[{paramCount:2,text:"AddMilliSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMilliSeconds"}],AddSeconds:[{paramCount:2,text:"AddSeconds(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddSeconds"}],AddMinutes:[{paramCount:2,text:"AddMinutes(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMinutes"}],AddHours:[{paramCount:2,text:"AddHours(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddHours"}],AddDays:[{paramCount:2,text:"AddDays(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddDays"}],AddMonths:[{paramCount:2,text:"AddMonths(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddMonths"}],AddYears:[{paramCount:2,text:"AddYears(, )",descriptionStringId:"ExpressionEditorStringId.Function_AddYears"}]}},{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"}]}}],ya=(i,r)=>{if(Array.isArray(r))return r.forEach(t=>{var e=i.find(e=>e.display===t.display);e?e.items=Object.assign(Object.assign({},e.items),t.items):i.push(t)}),i;const s=[];return i.forEach(e=>{var t=r[e.display],i=Object(v.b)({},e.items,t);Object.keys(i).length&&s.push(t?{display:e.display,category:e.category,localizationId:e.localizationId,items:i}:e)}),s},_a=Object(C.d)(ba),Ca=()=>_a(ba);function wa(e){var t=Object(v.b)(!0,[],_a());return ya(t,e)}const Aa="range";function Ea(e,t,i,r){return{displayName:Object(m.c)(t,i),content:{showDescription:r,isSelected:w.observable(!1),data:{items:e,selectedItem:w.observable(null)},name:"dx-expressioneditor-collection"},dispose:()=>{}}}function Ia(t,i,r,s){if(!r||!t)return i;const a=w.observable(i());r.toDisplayExpression(t(),i()).done(e=>{a(e)}).fail(()=>{a(i())});var e=i.subscribe(e=>{r.toDisplayExpression(t(),e).done(e=>{a(e)}).fail(()=>{a(e)})}),n=t.subscribe(e=>{r.toDisplayExpression(e,i()).done(e=>{a(e)}).fail(e=>{a(i())})}),o=w.pureComputed({read:()=>a(),write:e=>{a(e),r.toRealExpression(t(),e).done(e=>{i(e)}).fail(()=>{i(e)})}});return s&&[o,e,n].forEach(e=>s.push(e)),o}const Sa=[{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 Ta extends d.a{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=w.computed(()=>w.unwrap(e.functions)||_a()),this._rootItems=e.rootItems||[{name:"Parameters",needPrefix:!0}],this._disposables.push(this._functions)}_previousSymbol(){var e=this._editor.getCursorPosition();return this._editor.session.getLine(e.row)[e.column-1]}beforeInsertMatch(t,i,e){var r=t.getCursorPosition();if("Parameters."===e)(i=i||!this._isInContext()&&t.session.getTokenAt(r.row,r.column))&&("support.variable.other"===i.type||"support.function"===i.type?t.session.remove({start:{column:i.start-1||0,row:r.row},end:{column:Math.max(i.start+i.value.length||0,r.column),row:r.row}}):"support.variable.parameter"===i.type?t.session.remove({start:{column:i.start||0,row:r.row},end:{column:Math.max(i.start+i.value.length+1||0,r.column),row:r.row}}):"text"===i.type&&"?"===i.value[i.value.length-1]&&t.session.remove({start:{column:i.start+i.value.length-1||0,row:r.row},end:{column:i.start+i.value.length||0,row:r.row}}));else if(i=i||t.session.getTokenAt(r.row,r.column)){let e=null;"support.variable.other"===i.type||"support.function"===i.type?e=Math.max(i.start+i.value.length||0,r.column):"support.context.start"===i.type&&r.column<i.start+i.value.length&&(e=i.start+i.value.length-1||0),null!==e&&t.session.remove({start:{column:i.start||0,row:r.row},end:{column:e,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,r,s=""){return(e||[]).map(i=>{var e=this.generateFieldDisplayName(s,i.displayName);return{caption:i.displayName||i.name,snippet:e,meta:Jr(i)&&Object(m.c)("list","DxDesignerStringId.CodeCompletion_List")||Object(m.c)("field","DxDesignerStringId.CodeCompletion_Field"),score:Jr(i)?200:100,completer:{insertMatch:(e,t)=>{this.beforeInsertMatch(e,r(),s),this.insertMatch(e,s,this._options.getRealExpression&&i.displayName||i.name)}}}})}_combinePath(t){let e=this._getPath();var i;return t&&(i=this._rootItems.filter(e=>0===t.indexOf(e.name))[0],e=(i&&i.rootPath?[i.rootPath,t]:[e,t]).join(".")),e}_getParentPrefix(e){var t=this._editor.getCursorPosition().column-e.start-1,i=e.value.lastIndexOf(".",t),t=e.value.lastIndexOf("]",t),i=Math.max(t,i),t="support.variable.other"===e.type||"support.context.start"===e.type?1:0;let r=e.value.substring(t,i);return r="]"===(r="["===r[0]?r.substr(1):r)[r.length-1]?r.substring(0,r.length-1):r}_getRealPath(e){const t=e.split("."),i=_.Deferred();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(a=()=>null,n=[],t=!1){const i=_.Deferred();let o=void 0;var e=a();return!e||"support.variable.other"!==e.type&&"support.function"!==e.type&&"support.context.start"!==e.type||(o=this._getParentPrefix(e)),this._getRealPath(this._combinePath(o)).done(e=>{const r=[w.unwrap(this._fieldListProvider).getItems(new Wi(e)).done(e=>{n.push.apply(n,this._convertDataMemberInfoToCompletions(Ta._cleanupFields(e),a,t?null:o&&o+"."))})],s=[];o||this._rootItems.forEach(t=>{const i=t.rootPath||t.name;-1===s.indexOf(i)&&(s.push(i),r.push(w.unwrap(this._fieldListProvider).getItems(new Wi(i)).done(e=>{this._processFields(r,e,n,i,a,t.needPrefix?t.name+".":"",!0)})))}),_.when(r).always(()=>{i.resolve(n)})}),i.promise()}static _cleanupFields(e=[]){return e.filter(e=>"parameters"!==e.specifics&&"none"!==e.specifics)}_processFields(t,e,i,r,s,a="",n=!1){const o=e=>{i.push.apply(i,this._convertDataMemberInfoToCompletions(n?Ta._cleanupFields(e):e,s,a))};e.forEach(e=>{e.specifics===Aa&&Jr(e)?t.push(w.unwrap(this._fieldListProvider).getItems(new Wi(r+"."+e.name)).done(e=>{o(e)}).fail(()=>{o([e])})):o([e])})}getFunctionsCompletions(){const i=[];return w.unwrap(this._functions).filter(e=>"Aggregate"!==e.category).forEach(t=>{Object.keys(t.items).forEach(e=>{t.items[e]&&i.push($a(t.items[e][0],e))})}),i}getAggregateCompletions(){const t=[],i=w.unwrap(this._functions).filter(e=>"Aggregate"===e.category)[0];return i&&Object.keys(i.items).forEach(e=>{i.items[e]&&t.push($a(i.items[e][0],e,e+"()"))}),t}getOperatorCompletions(t){return Sa.map(e=>({caption:e.text,snippet:t+e.text,meta:Object(m.c)("operator","DxDesignerStringId.CodeCompletion_Operator")}))}_addFunctions(e){e.push.apply(e,this.getFunctionsCompletions())}_addAggregates(e){e.push.apply(e,this.getAggregateCompletions())}_addOperators(e,t){t=/\s/.test(t[t.length-1])?"":" ";e.push.apply(e,this.getOperatorCompletions(t))}_addParameterOperators(t,i){const e=_.Deferred(),r=[],s="Parameters";return r.push(w.unwrap(this._fieldListProvider).getItems(new Wi(s)).done(e=>{this._processFields(r,e,t,s,i,s+".")})),_.when(r).always(()=>{e.resolve(t)}),e.promise()}_getOperands(e=()=>null){var t=[];return this._addFunctions(t),this._getFields(e,t)}_getOperandsOrOperators(e,t,i){let r;try{Rr.parse(t)}catch(e){r=e.hash}var s=t.trim(),a=s[s.length-1];if("?"===a&&" "!==t[t.length-1])this._addParameterOperators(i,e);else{if((r||!s)&&"]"!==a&&")"!==a)return this._getOperands();this._addOperators(i,t)}}_findStartContextTokenPosition(t,i){let r=0;for(let e=i;-1<e;e--)if("support.context.end"===t[e].type)r++;else if("support.context.start"===t[e].type){if(!(0<r))return e;r--}}_findOpenedStartContext(t,i){var r=[],s=t.filter((e,t)=>("support.context.start"===e.type||"support.context.end"===e.type)&&t<i);for(let e=0;e<s.length;e++)"support.context.start"===s[e].type?r.push(t.indexOf(s[e])):r.pop();return r}_findOpenedAggregates(s,a){var n=[],o=s.filter((e,t)=>"support.other.aggregate"===e.type&&t<a);if(0<o.length){var e=s[a],d=this._editor.getCursorPosition().column-(e&&e.start||0);for(let e=o.length-1;-1<e;e--){var l=s.indexOf(o[e]);let t=0,i=0,r=!1;if(l+1===a&&-1!==s[l+1].value.substr(0,d).indexOf("()")||l+1<a&&-1!==s[l+1].value.indexOf("()"))r=!0;else{for(let e=l;e<a;e++)if("("===s[e].value.trim()?t++:")"===s[e].value.trim()&&i++,t===i&&0!==t){r=!0;break}r||n.splice(0,0,l)}a=l}}return n}_getContextPath(t,e){var i,r=[],s=this._findOpenedAggregates(t,e),a=this._findOpenedStartContext(t,e).concat(...s).sort((e,t)=>e-t);if(0<a.length)for(let e=0;e<a.length;e++)"support.other.aggregate"===t[a[e]].type?"support.context.end"===t[a[e]-1].type?(i=Pa(t[this._findStartContextTokenPosition(t,a[e]-2)].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(i)):"support.variable.other"===t[a[e]-1].type&&r.push(Pa(t[a[e]-1].value)):(i=Pa(t[a[e]].value.match(/^\[(?:[^\]\)])*\]/)[0]),r.push(i));return r.filter(e=>!!e).join(".")}_getCompletions(e,t,i,r){let s;var a=[],n=()=>t.getTokenAt(i.row,i.column);const o=n();var e=e.session.getLine(i.row).substring(0,i.column),d=t.getTokens(i.row),l=o?o.index:-1;if(this._contextPath=this._getContextPath(d,l),o){if("support.context.start"===o.type){var u=this._editor.getCursorPosition().column-o.start===o.value.length;let e;u&&(e=[],this._addFunctions(e)),s=this._getFields(n,e,u)}else if("string.quoted.single"!==o.type)if(0===o.type.indexOf("support.variable"))s=this._getFields(n);else if("support.function"===o.type)s=this.defaultProcess(n,e.substring(0,o.start),a);else if("support.other.aggregate"===o.type){const c=d[l-1];this._addAggregates(a),c&&Pa(c.value).trim()&&(s=this._getFields(()=>({start:o.start-(c.value||"").length||0,value:c.value+o.value,type:"support.function"}),a))}else 0!==o.type.indexOf("comment")&&(s=this.defaultProcess(n,e,a))}else s=this._getOperands();return(s||_.Deferred().resolve(a)).promise()}defaultProcess(e,t,i){return this._getOperandsOrOperators(e,t,i)}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 $a(t,e,i=null){let n=i||t.text;return{caption:e,snippet:n,meta:Object(m.c)("function","DxDesignerStringId.CodeCompletion_Function"),tooltip:t.description||Object(m.c)(t.text,t.descriptionStringId)||null,score:10,completer:{insertMatch:(i,e)=>{var r=i.completer.completions;if(r.filterText){var s=i.selection.getAllRanges();for(let e=0,t;t=s[e];e++)t.start.column-=r.filterText.length,i.session.remove(t)}if("[]."===n.substr(0,3)){var a=i.selection.getAllRanges();for(let e=0,t;t=a[e];e++)t.start.column-=2,"]."===i.session.getTextRange(t)&&(n=n.substr(3))}i.insert(n),Yr(t.paramCount,i,n)}}}}function Pa(e){return e.substring("["===e[0]?1:0,"]"===e[e.length-1]?e.length-1:e.length)}var ka=t(20),Da=t(26),Fa=t(28),Oa=t(21),Ba=t(36),Ma=t(19),Na=t(34),Va=t(27),za=t(31),F=t(10),O=t(11),La=t(12);class Ha{constructor(e=Va.a,t){this.operatorTokens=e,this.custom=t}serializeGroupOperand(e,t){e=e.operands.map(e=>e instanceof xa.GroupOperator?"("+this.serialize(e)+")":this.serialize(e)).filter(e=>""!==e&&"()"!==e).join(" "+(this.operatorTokens[e.displayType]||e.displayType)+" ");return t&&e?"Not("+e+")":e}serializeAggregateOperand(t,e){var i="Exists"===t.operatorType?"":"."+t.operatorType,r=t.condition?this.serialize(t.condition):"",s=this.serialize(t.property),a="["+r+"]";let n="";if("Exists"!==t.operatorType){let e="";t.aggregatedExpression?e=this.serialize(t.aggregatedExpression):t.customAggregatedExpression&&(e=t.customAggregatedExpression.map(e=>this.serialize(e)).join(", ")),n=`(${e})`}let o=s;return(r||n)&&!r||(o+=a),o+i+n}serializeOperandProperty(e){if(!e.propertyName)return e.circumflex?"^":"[]";let t=e.displayType;return t.length-Pa(t).length==2&&(t="["+Pa(t).replace(/\\/g,"\\\\").replace(/\]/g,"\\]")+"]"),e.circumflex?"^."+t:t}serializeOperandValue(e){let t=e.value;return null===t||void 0===t||!_.isNumeric(t)&&"true"!==String(t).toLowerCase()&&"false"!==String(t).toLowerCase()?t&&e.value instanceof Date?"#"+Object(Da.b)(t,"-")+"#":"integer"===e.specifics||"integer"===e.specifics?t||"?":"guid"===e.specifics&&Object(P.f)(t)?"{"+t+"}":"string"===e.specifics?(t=t.replace(/'/g,"''"))?"'"+t+"'":"?":t||"?":"string"===e.specifics?"'"+t+"'":"guid"===e.specifics&&Object(P.f)(t)?"{"+t+"}":t}serializeOperandParameter(e){return e.displayType}serializeBetweenOperator(e,t){e=this.serialize(e.property)+" "+e.displayType+"("+this.serialize(e.begin)+", "+this.serialize(e.end)+")";return t?"Not "+e:e}serializeInOperator(e,t){e=this.serialize(e.criteriaOperator)+" "+e.displayType+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+e:e}serializeBinaryOperator(e,t){var i;return e.operatorType===F.BinaryOperatorType.Like?(i=t?" Not ":" ",this.serialize(e.leftOperand)+i+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)):(t?"Not ":"")+this.serialize(e.leftOperand)+" "+(this.operatorTokens[e.displayType]||e.displayType)+" "+this.serialize(e.rightOperand)}serializeUnaryOperator(e,t){var i;return e.operatorType===O.UnaryOperatorType.IsNull?(i=t?" Not ":" ",this.serialize(e.operand)+" Is"+i+"Null"):e.operatorType===O.UnaryOperatorType.Not?this.serialize(e.operand,!0):(i=(this.operatorTokens[e.displayType]||e.displayType)+this.serialize(e.operand),t?"Not "+i:i)}serializeFunctionOperator(e,t){e=(this.operatorTokens[e.displayType]||e.displayType)+"("+e.operands.map(e=>this.serialize(e)).join(", ")+")";return t?"Not "+e:e}serialize(e,t=!1){if(e instanceof Vr.a)return this.serializeAggregateOperand(e,t);if(e instanceof Fa.a)return this.serializeBetweenOperator(e,t);if(e instanceof Ba.a)return this.serializeBinaryOperator(e,t);if(e instanceof za.a)return this.serializeOperandValue(e);if(e instanceof Na.a)return this.serializeFunctionOperator(e,t);if(e instanceof xa.GroupOperator)return this.serializeGroupOperand(e,t);if(e instanceof Oa.a)return this.serializeInOperator(e,t);if(e instanceof Mr.a)return this.serializeOperandParameter(e);if(e instanceof Nr.a)return this.serializeOperandProperty(e);if(e instanceof ka.a)return this.serializeOperandValue(e);if(e instanceof Ma.a)return this.serializeUnaryOperator(e,t);if(this.custom)return this.custom(e,t);throw Error("Undefined type criteria operator")}deserialize(e){return this.deserializeOperand(Rr.parse(e))}deserializeOperand(e){var t;return e instanceof xa.GroupOperator?e:e instanceof Ma.a&&e.operatorType===O.UnaryOperatorType.Not?(t=e.operand)instanceof xa.GroupOperator||t instanceof Na.a||t instanceof Fa.a||t instanceof Oa.a?e:t instanceof Ma.a&&e.operatorType===O.UnaryOperatorType.Not&&!(t.operand instanceof Nr.a)?this.deserializeOperand(t.operand):new Ma.a(O.UnaryOperatorType.Not,new xa.GroupOperator(La.GroupOperatorType.And,t?[t]:[])):new xa.GroupOperator(La.GroupOperatorType.And,e?[e]:[])}}class Ra{constructor(e){this.displayNameProvider=e}_replaceNames(a,t,n){const i=_.Deferred();let e;if(!t)return i.resolve("").promise();try{e=Rr.parse(t,!0)}catch(e){return i.reject().promise()}const l=[],u=[],c=new Ha;if(zr(e,(i,r)=>{if(i instanceof Nr.a){const s=0===i.propertyName.indexOf("^.");let e=s?i.propertyName.substring(2):i.propertyName;e=r?[r,e].join("."):e;var t=n?this.displayNameProvider.getDisplayNameByPath(a,e):this.displayNameProvider.getRealName(a,e);l.push(t.done(e=>{let t=s?"^."+e:e;t=r?t.split(".").slice(r.split(".").length).join("."):t,u.push({operand:i,convertedName:t})}))}}),0===l.length)i.resolve(t);else{let e=0;const r=()=>{if(!(++e<l.length)){var s=t.split("\n");for(let r=0;r<s.length;r++){var a=u.filter(e=>e.operand.startPosition.line===r).sort((e,t)=>e.operand.startPosition.column-t.operand.startPosition.column);for(let t=0,i=0;t<a.length;t++){var n=a[t].operand.startPosition.column,o=a[t].operand.propertyName;let e=0;a[t].operand.originalPropertyLength!==o.length&&(e=Math.max(0,a[t].operand.originalPropertyLength-c.serialize(a[t].operand,!1).length));var d=a[t].convertedName;!o||n<0||(s[r]=s[r].substring(0,n+i)+d+s[r].substring(n+o.length+e+i),i+=d.length-o.length-e)}}i.resolve(s.join("\n"))}};l.forEach(e=>e.always(r))}return i.promise()}toDisplayExpression(e,t){return this._replaceNames(e,t,!0)}toRealExpression(e,t){return this._replaceNames(e,t,!1)}}class ja extends d.a{constructor(e){super(),this._$spanProtect=_.fn.constructor("<span>"),this._$spanSearch=_.fn.constructor("<span>").addClass("dx-datagrid-search-text"),this._options=e,["text","textToSearch"].forEach(e=>{f.isSubscribable(this._options[e])&&this._disposables.push(this._options[e].subscribe(()=>{this._update()}))}),this._update()}_update(){this.content=this._getHighlightContent(f.unwrap(this._options.text),f.unwrap(this._options.textToSearch),f.unwrap(this._options.searchOptions))}update(e){this._options=e,this._update()}_getHighlightContent(e,t,i){let o=e;if(t){const d=te(o,t,i);if(d){let s="",a=0,n=o;return d.forEach((e,t)=>{var i=n.indexOf(e),r=o.substr(a,i);n=n.substr(i+e.length),r&&(this._$spanProtect.text(r),s+=this._$spanProtect[0].outerHTML),this._$spanSearch.text(e),s+=this._$spanSearch[0].outerHTML,a=o.length-n.length,t===d.length-1&&n&&(this._$spanProtect.text(n),s+=this._$spanProtect[0].outerHTML)}),s}}return this._$spanProtect.text(o),o=this._$spanProtect[0].outerHTML}}function Wa(t,i,r,s,a,n){Object(C.c)(i,function(){t.dispose()}),setTimeout(()=>{let e=!1;w.computed({read:()=>{!e&&w.bindingHandlers.html.init&&(w.bindingHandlers.html.init(i,()=>t.content,s,a,n),e=!0),w.bindingHandlers.html.update&&w.bindingHandlers.html.update(i,()=>(t.update(r()),t.content),s,a,n)},disposeWhenNodeIsRemoved:i})},1)}w.bindingHandlers.searchHighlighting={init:function(e,t,i,r,s){Wa(new ja(t()),e,t,i,r,s)}};class Ga extends Rs{constructor(e){super(e),this.propertyGridModel=e.propertyGridModel,this.propertyGrid=new gs(this.propertyGridModel,void 0,void 0,void 0,!0,void 0,void 0,e.engineType),this.addDisposable(this.propertyGrid.createComputedProperty("___"+Hi(),()=>{this.propertyGrid.getEditors().some(e=>e.visible&&e._get("isRendered"))&&(this.keyboardHelper&&this.keyboardHelper.initialize(),this.focus())},[Object(p.h)(this.propertyGrid,[{propertyName:"_editors",subscribables:["visible","isRendered"]}])])),this._disposables.push(this.propertyGrid)}createViewModel(){return y(super.createViewModel()).generateProperty("propertyGrid",this.propertyGrid.getViewModel()).generateProperty("propertyGridModel",this.propertyGridModel).getViewModel()}updateViewModel(e){super.updateViewModel(e),"propertyGridModel"===e.propertyName&&(this.propertyGrid.updateEditorsInfo(this.propertyGridModel,this.propertyGridModel.getInfo()),this.getViewModel().propertyGridModel=this.propertyGridModel)}}(function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([A(void 0)],Ga.prototype,"propertyGridModel",void 0);class Ua extends d.a{constructor(e,t,i){super(),this.actions=[],this.actionProviders=[],this.update=w.observable(!1),this.controlType=this.controlType||this.getControlFactory().getControlType(e),this.preInitProperties(e,t,i),this.parentModel=w.observable(t),(i=i||new or).deserialize(this,e),this._disposables.push(this.displayName=w.pureComputed(()=>{let e=this.name&&this.name();return e=e||"unnamed "+this.controlType})),this.resetValue=e=>{this._resetProperty(e)},this.actions.push({action:this.resetValue,id:"dxd-reset",title:Object(m.c)("Reset","AnalyticsCoreStringId.PropertyGrid_PopupMenu_Reset"),visible:this.isResettableProperty,weight:1e3})}_resetProperty(e){var t;this[e].resetValue?this[e].resetValue():(t=this.getPropertyDefaultValue(e),w.isObservable(this[e])?this[e](t):_s(t,this[e]))}getPropertyDefaultValue(e){e=this.getPropertyInfo(e);return w.unwrap(e&&(new or).deserializeDefaultValue(e))}getPropertyInfo(t){return this.getInfo().filter(e=>e.propertyName===t)[0]}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()}preInitProperties(e,t,i){}getNearestParent(e){return e.getMetaData().isContainer?e:e.getNearestParent(e.parentModel())}getControlInfo(){return this.getControlFactory().controlsMap[this.controlType||"Unknown"]}getMetaData(){var e=this.controlType||"Unknown",e=this.getControlFactory().controlsMap[e];return{isContainer:e.isContainer||!1,isCopyDeny:e.isCopyDeny||!1,isDeleteDeny:e.isDeleteDeny||!1,canDrop:e.canDrop||(()=>!0),isPasteDeny:e.isPasteDeny||!e.isContainer}}_hasModifiedValue(e){return this["_"+e]&&this["_"+e]()&&this.isPropertyModified(e)}createChild(e){e=this.getControlFactory().createControl(e,this);return this.addChild(e),e}removeChilds(t){if(this.controls){var i=this.controls();for(let e=0;e<t.length;e++)i.splice(i.indexOf(t[e]),1);this.controls.valueHasMutated()}}addChilds(t){if(this.controls){var i=this.controls();for(let e=0;e<t.length;e++)i.splice(0,0,t[e]);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))}isPropertyVisible(e){return!0}isPropertyDisabled(e){return!1}isPropertyModified(e){var t=this["_"+e]?"_"+e:e;return this[t].isPropertyModified?this[t].isPropertyModified():this[t].isEmpty?!this[t].isEmpty():(e=this.getPropertyDefaultValue(e),t=w.unwrap(this[t]),e instanceof Object?!ws(e,t):e!==t)}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(){}}class qa{constructor(){this.controlsMap={}}getControlInfo(e){return this.controlsMap[e]||null}getControlType(e){e=Et(e["@ControlType"]||"");return this.controlsMap[e]?e:"Unknown"}createControl(e,t,i){var r=this.getControlType(e);return new(this.controlsMap[r]&&this.controlsMap[r].type||Ua)(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=Object(v.b)(!0,[],t.info)}_getPropertyInfoByDisplayName(e,t,i){return e.filter(e=>Object(u.d)(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(t,i,r){t=this._getPropertyInfoByDisplayName(t,i,r)||this._getPropertyInfoByName(t,i,r);if(r===i.length-1)return t||null;if(t.info)return this._getPropertyInfo(t.info,i,r+1);if(t.from){let e=null;try{e=t.from({})}catch(e){return null}t=e.getInfo&&e.getInfo();if(t)return this._getPropertyInfo(t,i,r+1)}return null}getPropertyInfo(e,t){let i=t;return _.isArray(t)||(i=t.split(".")),this._getPropertyInfo(this.controlsMap[e].info,i,0)}}function Ka(e,t){return("native"===(null==t?void 0:t.engineType)?p.e:p.c).wrap(null==e?null:parseFloat(e))}function Ya(e,t){t="native"===(null==t?void 0:t.engineType)?p.e:p.c;const i=It(e);var r=this.valuesArray&&this.valuesArray.filter(e=>e.value==i)[0];return t.wrap(this.values&&void 0!==this.values[i]||r?i:e)}function Ja(e,t){return("native"===(null==t?void 0:t.engineType)?p.e:p.c).wrap(void 0!==e?"true"===String(e).toLowerCase():e)}function Xa(e,t){var t="native"===(null==t?void 0:t.engineType)?p.e:p.c,i=(e||"").split(",");let r=t.wrap(e);return 3===i.length?r=t.wrap("rgb("+i.join(", ")+")"):4===i.length&&(e=Math.round(parseFloat(i[0])/255*100)/100,i.shift(),i.push(e.toString()),r=t.wrap("rgba("+i.join(", ")+")")),r}function Za(e){return Math.round(e).toString()}function Qa(e){e=en(e).split(",");return(parseInt(e[0])<<24)+(parseInt(e[1])<<16)+(parseInt(e[2])<<8)+parseInt(e[3])}function en(e){var t=(e||"").split(", ");let i=e;return 3===t.length?(t[0]=t[0].split("(")[1],t[2]=t[2].split(")")[0],i=t.join(",")):4===t.length&&(e=Math.round(255*parseFloat(t[3])),t.pop(),t[0]=t[0].split("(")[1],i=e.toString()+","+t.join(",")),i}const tn={};function rn(e,t){var r,s;B(t?e+": "+t:e,(r=e,s=t,function(e,t){var i={};return i[r]=function(){return"$data"===s?e.$data:void 0===s?void 0:e.$data[s]},i}))}function B(e,t){tn[e]=t}function sn(e){return tn[e]}function an(e,t){rn(e,t)}function nn(e,t){B(e,t)}function on(t,i){return Object.keys(t||{}).map(e=>i(t[e]))}function dn(e,t){return w.observableArray(on(e,t))}rn("svgAttrs"),rn("dxButtonWithTemplate","options"),rn("dxButton","options"),rn("dxCheckBox","options"),rn("dxToolbarBase","options"),rn("dxToolbar","options"),rn("treelist","options"),B("template: 'dxrd-designer'",function(e,t){return{template:function(){return"dxrd-designer"}}});class ln extends d.a{constructor(e){super(),this.top=w.observable(!1),this.middle=w.observable(!1),this.bottom=w.observable(!1),this.left=w.observable(!1),this.right=w.observable(!1),this.center=w.observable(!1),this.justify=w.observable(!1),this.horizontalString=w.observable(Object(u.d)("Horizontal","ASPxReportsStringId.ReportDesigner_TextAlignment_Horizontal")),this.verticalString=w.observable(Object(u.d)("Vertical","ASPxReportsStringId.ReportDesigner_TextAlignment_Vertical")),this.disabled=e.disabled||w.observable(!1),this.value=e.value,this.updateModel(e.value()),this._disposables.push(e.value.subscribe(e=>{this.updateModel(e)}))}_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){e=e||"TopLeft";this.top(-1!==e.indexOf("Top")),this.middle(-1!==e.indexOf("Middle")),this.bottom(-1!==e.indexOf("Bottom")),this.left(-1!==e.indexOf("Left")),this.right(-1!==e.indexOf("Right")),this.center(-1!==e.indexOf("Center")),this.justify(-1!==e.indexOf("Justify"))}updateValue(){var 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(""))}}w.bindingHandlers.dxTextAlignmentEditor={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=g("dxrd-textalignment-editor"),a=_.fn.constructor(e).append(a);const n=new ln(t());return w.applyBindings({value:n},a.children()[0]),Object(C.c)(e,()=>n.dispose()),{controlsDescendantBindings:!0}}};class un{constructor(){this.selectedItem=null,this.suppressActions=!0}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).isSelected=!0)}isDraggable(e){return!1}}E=t(51);class cn extends t.n(E).a{constructor(e,t){super(e,Object(v.b)(t,{showClearButton:!0})),this._path=w.observable(""),this._value=w.observable(""),this._parentViewport=null,this._itemsProvider=w.observable(null),this._hasDisplayNameOption=!1,this._defaultPosition=null;var i,e=_.fn.constructor(e);e.addClass("dx-fieldlistpicker"),this.option("path")&&this._path(null==(i=this.option("path"))?void 0:i.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=e.parents(".dx-designer-viewport"),"displayValue"in t&&(this._hasDisplayNameOption=!0,this.option("displayValue",t.displayValue),this._setTitle(null==(i=this.option("displayValue"))?void 0:i.toString()))}updateOptions(e){e.showClearButton=!0}_showDropDown(){var e;this._popup&&(e=_.fn.constructor(this.element()),this._popup.option("width",e.width()),e=Object(v.b)(!0,{},this._defaultPosition,{boundary:this._parentViewport[0],boundaryOffset:"0 20",collision:"none flip"}),this._popup.option("position",e),this._popup.option("height","auto"),this._popup.option("maxHeight",this._getMaxHeight()),this._popup.repaint(),_.fn.constructor(this._popup.content())[0].style.height="auto",this._popup._renderPosition())}_getMaxHeight(){var e=_.fn.constructor(this.element()),t=e.offset(),i=_.fn.constructor(window).height(),t=Math.max(t.top,i-t.top-e.outerHeight());return Math.min(.5*i,t)}_closeOutsideDropDownHandler(e,t){super._closeOutsideDropDownHandler.apply(this,[e,!0])}_hideOnBlur(){return!1}_popupConfig(){var e=this.option("integrationOptions").templates["dx-polymorph-widget"],t=super._popupConfig.apply(this);return this._defaultPosition=t.position,Object(v.b)(t,{container:this._parentViewport,contentTemplate:e&&e._template,hideOnOutsideClick:!0})}_setTitle(e){this.option("openOnFieldClick")&&_.fn.constructor(this.element()).attr("title",e)}_renderDisplayText(e){super._renderDisplayText.apply(this,[e])}_optionChanged(e){var t=e.name,i=e.value;switch(t){case"value":this._value(i),this._hasDisplayNameOption||this._renderDisplayText(i),setTimeout(_.proxy(()=>{this.option("opened",!1)},this),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()}}_clearValueHandler(){_.fn.constructor(this._input()).val(null),super._clearValueHandler.apply(this,arguments)}_renderPopupContent(){super._renderPopupContent.apply(this,arguments);const e=w.pureComputed({read:()=>this._path()?this._path()+"."+this._value():this._value(),write:e=>{this._path()&&0<this._path().length?this._value(e.substr(this._path().length+1)):this._value(e),this.option("value",this._value())}});var t=_.fn.constructor("<div>").addClass("dx-treelist-wrapper").get(0),i=this._createComponent(t,"dxScrollView",{scrollByThumb:!0});const r=this;var i=_.fn.constructor(i.content()),s=_.fn.constructor(this.element()),s=(i.append(_.fn.constructor('<div data-bind="treelist: options"></div>')[0]),w.contextFor(s.get(0)));const a=this.option("treeListController");var n=w.computed(()=>({itemsProvider:this._itemsProvider(),onItemsVisibilityChanged:()=>{r._popup&&r._popup._renderPosition()},selectedPath:e,treeListController:a,path:this._path})),s=s.createChildContext({options:n});w.applyBindingsToDescendants(s,i.get(0)),_.fn.constructor(this._popup.content()).append(t)}}l()("dxFieldListPicker",cn);class pn extends d.a{constructor(){super(),this.popupVisible=w.observable(!1),this.buttonItems=[],this._createMainPopupButtons()}_createMainPopupButtons(){const t=this;this._disposables.push(this._disableSaveButton=w.pureComputed(()=>!t.canSave())),this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.saveLocalization,type:"default",stylingMode:"contained",onClick:function(e){t.save(e)},disabled:this._disableSaveButton}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:this.cancelLocalization,type:"normal",stylingMode:"contained",onClick:function(){t.close()}}}],this._disposables.push(this._disableSaveButton)}canSave(){return!0}save(e){this.popupVisible(!1)}close(){this.popupVisible(!1)}get cancelLocalization(){return Object(u.d)("Cancel",va.DataAccessBtnCancel)}get saveLocalization(){return Object(u.d)("OK",va.DataAccessBtnOK)}}class hn extends k{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(f.unwrap(null==(e=this.editorOptions)?void 0:e.showClearButton)?[]:P.e)}}function gn(t,i){class e extends hn{getOptions(e){e=super.getOptions(e);return S.getNumberEditorOptions(t,i,e)}}return{header:"dx-number-editor",editorType:e}}E=function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);return 3<a&&n&&Object.defineProperty(t,i,n),n};function mn(t){const i=t.getModel(),e=e=>e?t.info&&t.info[e]:t.info,r=()=>e("addHandler").call(this);return{values:[...i.value],addHandler:()=>r(),onValueChanged:(e,t)=>{i._set("value",[...e])},info:t.info,level:t.level,displayName:Object(m.c)(t.displayName)}}function fn(i,e,r){let t=void 0;const s=p.c.wrap(r.disabled);let a=null;new gs(i,void 0,r.level+1,s);const n=y().createDefaultModel({disabled:s}).generateProperty("index",e).generateProperty("disabled",r.disabled).generateProperty("level",r.level).generateProperty("name",r.displayPropertyName&&i[r.displayPropertyName]?f.unwrap(i[r.displayPropertyName]):e).generateProperty("select",(e,t)=>r.select(e,t)).generateProperty("padding",r.padding).generateProperty("selected",e===r.selectedIndex).generateProperty("collapsed",!0).generateProperty("setCollapsed",e=>{n.collapsed=e,t()}).generateProperty("getProperties",e=>{var t;return a||(a=new gs(i,null!=(t=null==e?void 0:e.editorsInfo)?t:void 0,null!=(t=null==e?void 0:e.level)?t:r.level+1,null!=(t=null==e?void 0:e.disabled)?t:s),r._disposables.push(a)),a.getViewModel()}).generateProperty("getCollapsed",()=>n.collapsed).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("value",i).getViewModel();return f.isSubscribable(i[r.displayPropertyName])?r._disposables.push(i[r.displayPropertyName].subscribe(()=>{n.name=f.unwrap(i[r.displayPropertyName])})):"object"==typeof i&&"events"in i&&r.addDisposable(i.events.on(r.displayPropertyName+"Changed",e=>{e.propertyName===r.displayPropertyName&&(n.name=i[r.displayPropertyName])})),n}class vn extends Kt{constructor(i,e=!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 t=e=>e?i.info&&i.info[e]:i.info;var r=t();this.collapsed=!1!==i.collapsed,this.addHandler=()=>(i.addHandler||t("addHandler")).call(this),this.removeHandler=(e,t)=>{i.removeHandler?i.removeHandler(e,t):this.values.splice(t,1)},this.values=i.values,this.hideButtons=i.hideButtons||t("hideButtons"),this.showButtons=!f.unwrap(this.hideButtons)&&!this.collapsed,f.isSubscribable(this.hideButtons)&&this._disposables.push(this.hideButtons.subscribe(e=>{this.showButtons=!f.unwrap(this.hideButtons)&&!this.collapsed})),this._textEmptyArray=i.textEmptyArray||{text:"To create an item click the Add button.",localizationId:"AnalyticsCoreStringId.SqlDSWizard_PageConfigureParametersEmpty"},this.displayPropertyName=t("displayPropertyName"),this.showScroll=!!i.showScroll;const s=(e,t)=>i.isDisabledButton?i.isDisabledButton(e,t):"delete"===t?null===e:"add"!==t&&("up"===t?null===e||0===e:"down"===t?null===e||e===this.values.length-1:void 0);this.isDisabledButton=e=>this.disabled||s(this.selectedIndex,e),this.isVisibleButton=e=>!!this.showButtons&&(!i.isVisibleButton||i.isVisibleButton(this.selectedIndex,e)),this.padding=void 0!==i.level?i.level*Object(P.d)():0,this.displayName=r?Object(m.c)(r.displayName,r.localizationId):i.displayName,(this.options=i).displayName||(this.collapsed=!1,this.alwaysShow=!0),i.alwaysShow&&(this.alwaysShow=!0);r=f.unwrap(i.selectedItem);r&&(this._setSelectedIndex(r),this._disposables.push(i.selectedItem.subscribe(e=>{this._setSelectedIndex(e)}))),this.disabled=e,this.listKeyboardHelper=new be,this.keyboardHelper=new pe(()=>this.getViewModel()),this.headerId="dxrd-ce-trigger-"+Hi(),this.contentId="dxrd-ce-pannel-"+Hi()}deferredUpdateViewModel(){return!1}createViewModel(){let t=void 0;var e=t=>y().generateProperty("action",e=>this[t](e)).generateProperty("disabled",this.isDisabledButton(t)).generateProperty("text",this.getDisplayTextButton(t)).generateProperty("visible",this.isVisibleButton(t)).generateProperty("template",la(this.buttonMap[t].iconClass)).getViewModel(),e=y(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",y().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("getCollapsed",()=>this.collapsed).generateProperty("setCollapsedChangedEvent",e=>(t=e,()=>t=void 0)).generateProperty("contentId",this.contentId).generateProperty("headerId",this.headerId).generateProperty("displayName",this.displayName).generateProperty("padding",this.padding).generateProperty("showScroll",this.showScroll).generateProperty("values",this.values.map((e,t)=>fn(e,t,this))).getViewModel();return this.addDisposable(this.events.on("collapsedChanged",e=>{t&&t()})),e}updateViewModel(e){const i=this.getViewModel();var t,r;i.collapsed=this.collapsed,i.alwaysShow=this.alwaysShow,i.showButtons=this.showButtons,"selectedIndex"===e.propertyName&&(r=e.oldValue,t=e.newValue,i.values[r]&&(i.values[r].selected=!1),i.values[t])&&(i.values[t].selected=!0),"values"===e.propertyName&&("added"in e?((r=e).added.forEach(t=>{for(let e=t.index;e<i.values.length;e++)i.values[e].index++;i.values.splice(t.index,0,fn(t.item,t.index,this))}),r.removed.forEach(t=>{for(let e=t.index;e<i.values.length;e++)i.values[e].index--;i.values.splice(t.index,1)}),this._timeoutItemRendered&&clearTimeout(this._timeoutItemRendered),this._timeoutItemRendered=setTimeout(()=>{this.listKeyboardHelper&&this.listKeyboardHelper.initialize()},100)):i.values=this.values.map((e,t)=>fn(e,t,this))),"values"!==e.propertyName&&"selectedIndex"!==e.propertyName&&"disabled"!==e.propertyName||Object.keys(i.buttons).forEach(e=>{i.buttons[e].disabled=this.isDisabledButton(e)}),"disabled"===e.propertyName&&(i.disabled=this.disabled,i.values.forEach(e=>{e.disabled=this.disabled,e.getModel().disabled(this.disabled)})),"showButtons"===e.propertyName&&Object.keys(i.buttons).forEach(e=>{i.buttons[e].visible=this.isVisibleButton(e)})}dispose(){super.dispose(),this.removeProperties()}_move(e,t){var i;0<=this.selectedIndex&&((t=(i=this.selectedIndex)+t)>=e.length||t<0||(this.values.splice(t,0,this.values.splice(i,1)[0]),this.selectedIndex=t))}_setSelectedIndex(e){e=this.values.indexOf(e);this.selectedIndex=-1===e?null:e}onPropertyChanged(e){var t;"collapsed"===e.propertyName?this.showButtons=!f.unwrap(this.hideButtons)&&!this.collapsed:"values"===e.propertyName&&null!=(t=this.options)&&t.onValueChanged(this.values,e)}getDisplayTextButton(e){return Object(m.c)(this.buttonMap[e].text,this.buttonMap[e].localizationId)}getDisplayTextEmptyArray(){return Object(m.c)(this._textEmptyArray.text,this._textEmptyArray.localizationId)}add(e){e.event.stopPropagation(),this.options.undoEngine&&this.options.undoEngine.start();var e=this.addHandler();e&&(e=this.values.push(e),this.options.undoEngine&&this.options.undoEngine.end(),this.options.selectedItem)&&this.select(this.getViewModel().values[e-1])}up(e){this._move(this.values,-1),e.event.stopPropagation()}down(e){this._move(this.values,1),e.event.stopPropagation()}delete(e){e.event.stopPropagation(),this.selectedIndex<0||(this.options.undoEngine&&this.options.undoEngine.start(),e=this.values[this.selectedIndex],this.removeHandler(e,this.selectedIndex),this.options.undoEngine&&this.options.undoEngine.end(),0<(e=this.values.length)?this.select(this.selectedIndex>=e?this.getViewModel().values[e-1]:this.getViewModel().values[this.selectedIndex],!0):this.select({index:null,value:null},!0))}select(e,t=!1){(this.selectedIndex!==e.index||t)&&(t&&this.selectedIndex===e.index&&(t={propertyName:"selectedIndex",newValue:this.selectedIndex,oldValue:this.selectedIndex},this.onPropertyChanged(t),this.updateViewModel(t)),this.selectedIndex=e.index,this.options.selectedItem)&&this.options.selectedItem(e.value)}}E([A(null)],vn.prototype,"selectedIndex",void 0),E([A(!0)],vn.prototype,"collapsed",void 0),E([A(!1)],vn.prototype,"alwaysShow",void 0),E([Ut(()=>[])],vn.prototype,"values",void 0),E([A(!1)],vn.prototype,"showButtons",void 0),E([A(()=>!1)],vn.prototype,"disabled",void 0);const xn=(t,i)=>{const r=w.computed(()=>w.isObservableArray(t.values)?t.values:w.unwrap(t.values)),s=t.addHandler,e=()=>{return(s||((e="addHandler")?w.unwrap(t.info)&&w.unwrap(t.info)[e]:w.unwrap(t.info))).call(void 0);var e};let a=!(t.addHandler=()=>e());const n=e=>{a||(a=!0,e(),a=!1)},o=(t.onValueChanged=(e,t)=>{n(()=>{var e;null!=(e=t.added)&&e.forEach(e=>r().splice(e.index,0,e.item)),null!=(e=t.removed)&&e.sort((e,t)=>t.index-e.index).forEach(e=>r().splice(e.index,1))})},new vn(Object.assign(Object.assign({},t),{values:[...r()()],undoEngine:w.unwrap(t.undoEngine),info:w.unwrap(t.info)}),w.unwrap(null==i?void 0:i.disabled))),d=(w.isSubscribable(null==i?void 0:i.disabled)&&o._disposables.push(i.disabled.subscribe(e=>{o.disabled=e})),o._disposables.push(r),()=>r().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(r.subscribe(e=>{n(()=>{l.dispose(),o.values=[...w.unwrap(e)],l=d(),o._disposables.push(l)})})),i&&w.isSubscribable(i.disabled)&&o._disposables.push(i.disabled.subscribe(e=>{o.disabled=w.unwrap(i.disabled)})),o},bn=(w.bindingHandlers.dxCollectionEditor={init:function(e,t,i,r,s){var a=t();let n="multiplatform";const o="multiplatform"===(n=!r||r instanceof k||!r.getModel?n:r.getModel()._engineType)?xn(t(),r):new vn(mn(r)),d=g(a.editorTemplate||"#dx-collectioneditor"),l=_.fn.constructor(d),u=w.unwrap(a.info),c=u&&u.template||a.template;c?(t=g(c),l.find(".dx-collection-item").append(_.fn.constructor(t))):l.find(".dx-collection-item").append(_.fn.constructor(e).children());r=_.fn.constructor(e).append(l),a=s.createChildContext(o.getViewModel());return w.applyBindings(a,r.children()[0]),Object(C.c)(e,()=>{o.dispose()}),{controlsDescendantBindings:!0}}},"dx-ellipsiseditor-warning");class yn extends bs.a{constructor(e,t){super(e,t)}_init(){super._init.apply(this),this._$element||(this._$element=_.fn.constructor(this.element())),this._$element.addClass("dx-ellipsiseditor dx-dropdowneditor"),this._koContext=w.contextFor(this._$element.get(0))}_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(bn)):(this._$element.removeAttr("title"),this._$element.removeClass(bn))}_renderButton(){this._$button=_.fn.constructor("<div />").addClass("dx-ellipsiseditor-button dx-widget dx-button-normal dx-dropdowneditor-button dx-ellipsis-button"),this._attachButtonEvents(),this._$buttonIcon=_.fn.constructor("<div />").addClass("dx-ellipsiseditor-icon dx-ellipsis-image dx-dropdowneditor-icon").height("100%").append(c.templates["dxrd-svg-ellipsis"]).appendTo(this._$button),w.applyBindingsToDescendants(this._koContext,this._$buttonIcon[0]);var e=this._buttonsContainer();this._$button.appendTo(e)}_updateButtonSize(){this._$buttonIcon.height(_.fn.constructor(this.element()).height())}_attachButtonEvents(){var e=[];this._$input||(this._$input=_.fn.constructor(this._input())),this._$button.off("click"),this._$input.off("click"),this.option("disabled")||e.push(this._$button),this.option("openOnFieldClick")&&e.push(this._$input),e.forEach(e=>{e.on("click",this.buttonAction.bind(this))})}_attachInputEvents(){const e=this._input()[0];if(e){const t=e=>{(e.key==L.Enter||e.key==L.ArrowDown&&e.altKey)&&this.buttonAction(e)};e.addEventListener("keydown",t),Object(C.c)(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())}}l()("dxEllipsisEditor",yn);class _n extends yn{constructor(e,t){t.placeholder=t.placeholder||Object(m.c)("(none)","DxDesignerStringId.None"),super(e,t)}_getDisplayValue(){var e=this.option("placeholderId");return this.option("value")&&e?Object(m.c)(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){var t=e&&_.fn.constructor(e)||_.fn.constructor("<div />");t.addClass("dx-fileimage-input-wrapper"),this._inputContainer=t.get(0),_.fn.constructor(this.element()).append(this._inputContainer),super._renderInput.apply(this,[e])}_attachButtonEvents(){this._$button.off("click"),this.option("disabled")||this._$button.on("click",e=>{e.stopPropagation(),e.preventDefault(),X({accept:(null==(e=this.option("accept"))?void 0:e.toString())||"image/*",readMode:null==(e=this.option("readMode"))?void 0:e.toString()}).done(e=>{this._handleResult(e)})})}_renderValue(){this.option("text",this._getDisplayValue()),super._renderValue.apply(this)}}l()("dxFileImagePicker",_n);const Cn=[{value:"pt",displayValue:"Point",localizationId:"DevExpress.ReportDesigner_FontOptions_Unit_Point"},{value:"world",displayValue:"World",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_World"},{value:"px",displayValue:"Pixel",localizationId:"AnalyticsCoreStringId.FontOptions_Unit_Pixel"},{value:"in",displayValue:"Inch",localizationId:"AnalyticsCoreStringId.Wizard_Inch"},{value:"doc",displayValue:"Document",localizationId:"PreviewStringId.ReportDesigner_FontOptions_Unit_Document"},{value:"mm",displayValue:"Millimetr",localizationId:"AnalyticsCoreStringId.Wizard_Millimeter"}];class wn extends d.a{constructor(t){super(),this.family=w.observable(null),this.unit=w.observable(null),this.isUpdateModel=!1,this.size=w.observable(null),this.modificators={bold:w.observable(!1),italic:w.observable(!1),strikeout:w.observable(!1),underline:w.observable(!1)},this.updateModel(t()),this._disposables.push(t.subscribe(e=>{this.isUpdateModel=!0,this.updateModel(e),this.isUpdateModel=!1})),this._disposables.push(this.modificators.bold.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.italic.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.strikeout.subscribe(e=>this.updateValue(t))),this._disposables.push(this.modificators.underline.subscribe(e=>this.updateValue(t))),this._disposables.push(this.family.subscribe(e=>this.updateValue(t))),this._disposables.push(this.size.subscribe(e=>this.updateValue(t))),this._disposables.push(this.unit.subscribe(e=>this.updateValue(t)))}_toString(){var e=[this.family(),this.size()+this.unit()].join(", "),t=[],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"),t.join(", "));return t?[e,t].join(", style="):e}updateModel(e){const t=(e=e||Object(P.a)()).split(","),i=(this.family(t[0]),this);Cn.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())}}const An=w.bindingProvider.prototype.parseBindingsString,En=(w.utils.extend(w.bindingProvider.prototype,{parseBindingsString:function(t,e,i,r){try{var s=sn(t.trim());return s?s(e,i):An.call(w.bindingProvider.instance,t,e,i,r)}catch(e){throw e.message="Unable to parse bindings.\nBindings value: "+t+"\nMessage: "+e.message,e}}}),us()().optionsParser),In=(us()({optionsParser:function(e){var t=sn(e.trim());return t?t():En(e)}}),c.extendTemplates({"dxrd-svg-fieldlist-list":"dxrd-svg-fieldlist-table","dxrd-svg-fieldlist-default":"dxrd-svg-fieldlist-column"}),w.templateEngine.prototype.makeTemplateSource);w.templateEngine.prototype.makeTemplateSource=function(e,t){return"string"==typeof e&&c.getExistingTemplate(e,!1)&&!document.getElementById(e)?new Ie(e,c._instance._data,c.templates):In.apply(this,[e,t])};var E=t(42),Sn=t.n(E);const Tn=function(){let t;return e=>void 0===(t=void 0!==e?e:t)?!!Sn.a:t}();class $n extends d.a{constructor(i,e,t,r){super(),this.searchPlaceholder=()=>Object(u.n)(),this._categories=w.observableArray([]),this.toolBox=[],this.description=w.observable(),this._defaultClick=i,Sa.filter(e=>!!e.descriptionStringId).forEach(e=>this._initDescription(e));const s=w.computed(()=>t()&&w.unwrap(t().functions)||_a()),a=w.computed(()=>s().map(e=>this._createFunctionsCategoryItem(e.items,Object(m.c)(e.display,e.localizationId)))),n=()=>[this._createFieldsCategory(r,e),this._createConstantCategory(),this._createFunctionsCategory(a),this._createOperatorsCategory(Sa)],o=w.observable(null),d=()=>{var e=this._categories()[0].content;o()&&o().isSelected(!1),o(e),e.isSelected(!0)},l=e=>{this._disposeCategories();var t=n();e&&e.customizeCategories&&e.customizeCategories(this,t,i),this._categories(t),d()};this.resetCategoriesSelection=d,[s,a].forEach(e=>this._disposables.push(e)),this._disposables.push(t.subscribe(e=>{l(e)})),l(t()),this._disposables.push(this.showDescription=w.computed(()=>o()&&o().showDescription)),this.toolBox=[this._generateTab(this._categories,"dx-expressioneditor-categories",e=>{var t;e.data&&e.data.selectedItem&&e.data.selectedItem()&&-1!==e.data.items.indexOf(e.data.selectedItem())?(t=e.data.selectedItem(),this.description(this._localizedExpressionEditorItem(t))):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)]}_generateTab(e,t=null,i,r,s){return{templateName:t,content:e,click:i,dblclick:r,visible:s||!0}}_localizedExpressionEditorItem(e){return e.descriptionStringId?Object(m.c)(e.text,e.descriptionStringId):e.description||e.text}_initDescription(e){e.description=this._localizedExpressionEditorItem(e)}_createFieldsCategory(e,t){return{displayName:Object(m.c)("Fields","AnalyticsCoreStringId.ExpressionEditor_ItemInfo_Fields"),content:{showDescription:!1,isSelected:w.observable(!1),data:{fields:e,parameters:t},name:"dx-expressioneditor-fields"},dispose:()=>{}}}_createConstantCategory(){return Ea([{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 Ea(e,"Operators","DataAccessStringId.ExpressionEditor_DocumentationCategory_Operators",!0)}_createFunctionsCategoryContent(e,t,i){return{showDescription:!0,isSelected:t,data:{textToSearch:e,items:i,availableItems:w.observableArray(i),selectedItem:w.observable(null)},name:"dx-expressioneditor-collection-function"}}_createFunctionsCategoryItem(e,t){const i={display:t,isSelected:w.observable(!1),data:[],name:"dx-expressioneditor-collection-function"};return _.map(e,e=>{e&&e.forEach(e=>{this._initDescription(e),i.data.push(e)})}),i}_createFunctionsCategory(e){let i=null;const r=w.observable(""),t=[],s=w.observable(!1),a=w.computed(()=>[].concat(...e().map(e=>e.data))),n=this._createFunctionsCategoryContent(r,s,a()),o={displayName:Object(m.c)("Functions","DataAccessStringId.ExpressionEditor_DocumentationCategory_Functions"),items:e,allItems:a,isSelected:s,content:n,collapsed:w.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=>!!te(e.text,r())))},templateName:"dx-expressioneditor-category-accordion",dispose:()=>{t.forEach(e=>e.dispose()),t.splice(0,t.length)}};return t.push(a),t.push(r.subscribe(t=>{i&&clearTimeout(i),i=setTimeout(()=>{o.content.data.availableItems(o.content.data.items.filter(e=>!!te(e.text,t)))},150)})),o}_disposeCategories(){this._categories().forEach(e=>e.dispose&&e.dispose())}dispose(){super.dispose(),this._disposeCategories()}}class Pn{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).isSelected=!0)}isDraggable(e){return!1}}class kn extends Pn{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(t){return[{clickAction:e=>this.putSelectionHandler(t,_.fn.constructor(e))}]}canSelect(e){return!0}}class Dn extends Pn{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(t){return[{clickAction:e=>{t&&!t.hasItems&&this.putSelectionHandler(t.path,_.fn.constructor(e))}}]}canSelect(e){return!0}}class Fn extends d.a{constructor(e,t,i,r,s){super(),this._filterPlaceHolder=Object(u.n)(),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=w.observable(""),this.isFiltered=w.observable(!1),this.target=e,this._action=i,this.propertyName=r,this._popupService=t,this.popupContentTemplate=s||this.popupContentTemplate}_updateActions(t){if(this._popupService.data(null),t){this._disposables.push(this._popupService.visible.subscribe(e=>{this.target.isSelected(e),this.filterString("")}));let e=(this._popupService.viewModel=t)[this.propertyName];this.isFiltered(!1),e&&10<e.length&&(this.isFiltered(!0),this._disposables.push(e=w.pureComputed(()=>this.filterString()?t[this.propertyName].filter(e=>-1!=(e.displayText||e.name).toLocaleLowerCase().indexOf(this.filterString().toLocaleLowerCase())):t[this.propertyName]))),this._popupService.data({data:e,template:this.popupContentTemplate,click:e=>{t[this._action](e),this._popupService.visible(!1)},isFiltered:this.isFiltered,filterString:this.filterString,searchPlaceholder:()=>Object(u.n)()})}}}var On,M=t(6);class Bn extends d.a{constructor(e,t,i,r){super(),this.isUpdated=w.observable(!1),this.canRemove=!0,this.operatorType=w.observable(null),this.templateName="dx-filtereditor-common",this.isSelected=w.observable(!1),this.operatorClass="criteria-operator-item-operator dxd-filter-editor-operator-back-color dxd-filter-editor-text-color",this.popupService=t.popupService||{visible:w.observable(!1)},this.model=e,this.helper=t.helper,this.fieldListProvider=i,this.path=r,this.parent=t,this.operatorType(e.operatorType),this._disposables.push(this.operatorType.subscribe(e=>{this.model.assignType(e)}))}_createLeftPartProperty(e){let t;return e instanceof Nr.a?t=this.createChildSurface(e):(t=this.createChildSurface(e),e=Object.keys(this.helper.filterEditorOperators).reduce((e,t)=>e="_common"!==t&&"integer"===e&&this.helper._getFilterEditorOperator(this.model,this.helper.filterEditorOperators[t],this.reverse)?t:e,"integer"),t.specifics=t.specifics||w.observable(e)),t.canChange=!1,t.canRemove=!1,t&&"aggregate"===t.model.type?(this.specifics=w.computed(()=>t.aggregatedExpression()&&t.aggregatedExpression().specifics()||"integer"),this.dataType=w.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(){var e=this.operatorType&&this.operatorType()||"",t=this.helper._getFilterEditorOperator(this.model,this.items,this.reverse);return t&&t.name&&(t.displayText||Object(m.c)(t.name,t.localizationId))||this.model.displayType||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!==M.FunctionOperatorType?this.operatorType(e.value):this.parent.change(e,this),this.helper.onChange()}remove(e){this.parent.remove(this),this.helper.onChange()}}class Mn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-unary",this.operand=w.observable(null);let s=this.createChildSurface(e.operand);e.operatorType===O.UnaryOperatorType.Not?(this.templateName="dx-filtereditor-not",s.reverse=!0,this.specifics=s.specifics):(s.dispose(),s=this._createLeftPartProperty(e.operand)),this.operand(s)}get leftPart(){let e=this.operand();return e=this.operand()&&this.operand().reverse&&this.operand().leftPart?this.operand().leftPart:e}get rightPart(){return this.operand()&&this.operand().reverse?this.operand().rightPart:null}createChildSurface(e,t,i){return this.operatorType()!==O.UnaryOperatorType.Not||this.helper._getFilterEditorOperator(e,this.helper._allFilterEditorOperators,!0)||(this.model.operand=new xa.GroupOperator(La.GroupOperatorType.And,[e])),super.createChildSurface(this.model.operand,t,i)}dispose(){this.operand().dispose(),super.dispose()}}class Nn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-aggregate",this.property=w.observable(null),this.aggregatedExpression=w.observable(null),this.condition=w.observable(null),this.property(this._createLeftPartProperty(e.property));const s=w.computed(()=>this.path()+"."+this.property().propertyName());this._disposables.push(s),e.aggregatedExpression&&(this.aggregatedExpression(this.createChildSurface(e.aggregatedExpression,s)),this.templateName="dx-filtereditor-aggregate-common"),"Count"===e.operatorType&&(this.templateName="dx-filtereditor-aggregate-common");t=this.createChildSurface(e.condition,s);t.canRemove=!1,t instanceof Mn&&(t.operand().canRemove=!1),this.condition(t),this.change=(e,t)=>{var i;t?(i=this.model.change(e,t.model),(i=this.createChildSurface(i,s)).canRemove=!1,i instanceof Mn&&(i.operand().canRemove=!1),this.condition(i)):"Exists"!==this.operatorType()&&"Count"!==this.operatorType()&&(!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 Vn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.property=w.observable(null),this.end=w.observable(null),this.begin=w.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 zn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-binary",this.leftOperand=w.observable(null),this.rightOperand=w.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 Ln(e){e.displayText=Object(m.c)(e.name,e.localizationId)}class Hn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.canChange=!0,this.canRemove=!1,this.changeValueType=e=>{var t=this.getRealParent(this.parent),i=this.getRealProperty(this),i=this.getPropertyName(t,i),e=t.model.changeValueType(e.instance,i);null!==i.index?(t[i.name]()[i.index].dispose(),t[i.name].splice(i.index,1,t.createChildSurface(e))):(t[i.name]().dispose(),t[i.name](t.createChildSurface(e))),this.helper.onChange()}}getRealParent(e){return e instanceof Mn?this.getRealParent(e.parent):e}getRealProperty(e){return e.parent instanceof Mn?this.getRealProperty(e.parent):e}getPropertyName(e,r){let s=null,a=null;return _.each(e,(e,t)=>{var i;Array.isArray(w.unwrap(t))&&w.isObservable(t)?-1<(i=w.unwrap(t).indexOf(r))&&(s=i,a=e):r===w.unwrap(t)&&w.isObservable(t)&&(a=e)}),{index:s,name:a}}getConvertableParameters(t){return this.helper.parameters()?this.helper.parameters().filter(e=>{e=e.specifics&&e.specifics.toLowerCase();return!(null==e||null==t||e!==t&&"default"!==t&&"string"!==t&&("float"===t?"integer"!==e:"enum"!==t||"integer"!==e&&"string"!==e))}):[]}get changeTypeItems(){var e=[{name:"Value",instance:ka.a,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Value"}];return this.helper.canChoiceProperty&&e.push({name:"Property",instance:Nr.a,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Property"}),this.helper.canChoiceParameters&&(0<this.getConvertableParameters(this.parent.specifics()).length||this.helper.canCreateParameters)&&e.push({name:"Parameter",instance:Mr.a,localizationId:"AnalyticsCoreStringId.FilterEditor_Operand_Type_Parameter"}),e.forEach(Ln),e}}class Rn extends Hn{constructor(t,e,i,r){if(super(t,e,i,r),this.canRemove=!0,this.contentTemplateName="dx-filtereditor-function",this.operands=w.observableArray([]),0===t.operands.length)e instanceof Mn?this.specifics=e.parent.specifics:this.specifics=e.specifics,this.contentTemplateName="dx-filtereditor-function-lightweight",this.canRemove=!1;else{this.operands.push(this._createLeftPartProperty(t.operands[0]));for(let e=1;e<t.operands.length;e++)this.operands.push(this.createChildSurface(t.operands[e]))}}get leftPart(){return this.operands&&this.operands()[0]}get rightPart(){return this.operands&&this.operands().filter((e,t)=>0!==t)}get displayType(){var 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||Object(m.c)(e.name,e.localizationId):isNaN(parseInt(this.operatorType()))?this.operatorType()||"":M.FunctionOperatorType[this.operatorType()]}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class jn extends Bn{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.operands=w.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(Ln),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.specifics=w.observable("group")}change(e,t){var i,r;t?(r=t.specifics()||"integer",r=this.helper.filterEditorOperators[r]||this.helper.filterEditorOperators._common,e||(e=r.filter(e=>t.operatorType()===e.value&&t.reverse===e.reverse&&t.model.enumType===e.type)[0]||r[0]),r=this.model.change(e,t.model,t.leftPart instanceof Nn&&"list"!==t.leftPart.leftPart.specifics()),i=this.operands().indexOf(t),r=this.createChildSurface(r),this.operands()[i].dispose(),this.operands.splice(i,1,r)):super.change(e,t),this.helper.onChange()}remove(e){(e?(this.model.remove(e.model),this.operands.remove(e),e):(this.parent.remove(this),this)).dispose(),this.helper.onChange()}create(e){e=this.model.create(e.value,new Nr.a);this.operands.push(this.createChildSurface(e)),this.helper.onChange()}get rightPart(){return this.operands()}dispose(){this.operands().forEach(e=>e.dispose()),super.dispose()}}class Wn extends Bn{constructor(e,t,i,r){super(e,t,i,r),this.contentTemplateName="dx-filtereditor-in",this.operands=w.observableArray([]),this.criteriaOperator=w.observable(null),this.criteriaOperator(this._createLeftPartProperty(e.criteriaOperator)),this.operands((e.operands||[]).map(e=>this.createChildSurface(e))),this.addValue=()=>{var e=new ka.a(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 Gn extends Hn{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.parameterName=w.observable(""),this.templateName="dx-filtereditor-parameter",this.specifics=t.specifics,this.parameterName(e.parameterName),!this.parameterName()&&0<this.items.length&&this.changeParameter(this.items[0]),this.specifics&&this._disposables.push(this.specifics.subscribe(e=>{0==this.items.filter(e=>w.unwrap(e.name)==this.parameterName()).length&&(0<this.items.length?this.changeParameter(this.items[0]):this.changeParameter({name:""}))}))}get items(){return this.getConvertableParameters(this.specifics())}get displayType(){return null}}class Un extends Hn{constructor(e,t,i,r){super(e,t,i,r),this._displayName=w.observable(""),this.propertyName=w.observable(""),this.specifics=w.observable("integer"),this.dataType=w.observable(""),this.valueType=w.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);t=this.helper.generateTreelistOptions(i,r);t.options&&t.subscription?(this.fieldsOptions=t.options,this._disposables.push(t.subscription)):this.fieldsOptions=t,this._disposables.push(this.fieldsOptions().selectedPath.subscribe(e=>{var t=this.fieldsOptions().selectedPath().substr(this.path&&0<this.path().length?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(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()})),this.fieldsOptions().selectedPath(this.path&&w.unwrap(this.path)?[w.unwrap(this.path),this.propertyName()].join("."):this.propertyName()),this._updateSpecifics(),this._disposables.push(this.displayName=w.computed(()=>this._displayName()||this.propertyName()))}_updateDisplayName(e,t,i){this.helper.getDisplayPropertyName?this.helper.getDisplayPropertyName(w.unwrap(e),t).done(e=>{this._displayName(e)}):this._displayName(i)}_updateSpecifics(){var e=this.propertyName().split(".");let i=e.pop();w.unwrap(this.fieldsOptions).itemsProvider&&(this.isUpdated(!0),w.unwrap(this.fieldsOptions).itemsProvider.getItems(new Wi([this.path()].concat(e).join("."))).done(e=>{var t=e.filter(e=>"List"!==e.specifics&&!e.isList),t=(!this.propertyName()&&0<t.length&&(this.model.propertyName=t[0].name,this.propertyName(t[0].name),i=t[0].name),e.filter(e=>e.name===i)[0]);if(t){let e=t.specifics.toLowerCase();0===e.indexOf("calc")&&(e=e.split("calc")[1]),this.specifics(e),this.dataType(t.dataType),this._updateDisplayName(this.path,this.propertyName(),t.displayName)}}).always(()=>{this.isUpdated(!1)}))}get items(){return this.fieldsOptions}get displayType(){return null}}class qn extends Hn{constructor(t,e,i,r){super(t,e,i,r),this._value=w.observable(null),this._scroll=null,this._updateDate=function(e){"date"===e?this._value()instanceof Date||this._value(new Date((new Date).setHours(0,0,0,0))):this._value("")},this.changeValue=()=>{var e=this.getRealParent(this.parent),t=this.getRealProperty(this),t=this.getPropertyName(e,t),i=e.model.changeValue(this.model,this.reverse,t);null!==t.index?(e[t.name]()[t.index].dispose(),e[t.name].splice(t.index,1,e.createChildSurface(i))):(e[t.name]().dispose(),e[t.name](e.createChildSurface(i)))},this.dataType=w.observable(""),this.values=w.observable([]),this.isEditable=w.observable(!1),this.templateName="dx-filtereditor-value",this._getBaseOptions=e=>({value:this._value,onFocusOut:()=>this.isEditable(!1),onFocusIn:()=>this.scrollTo(e)}),this.getNumberEditorOptions=e=>S.getNumberEditorOptions(this.dataType(),this.specifics(),this._getBaseOptions(e)),this.getStringEditorOptions=e=>this._getBaseOptions(e),this.getBoolEditorOptions=(e,t)=>Object.assign({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)}},this._getBaseOptions(e)),this.getDateEditorOptions=(e,t)=>Object.assign({closeOnValueChange:!0,type:"date",dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e)),this.getListEditOptions=(e,t)=>{var i="object"!=typeof this.items[0];return Object.assign({dataSource:this.dataSource,acceptCustomValue:i,valueExpr:i?void 0:"value",displayExpr:i?void 0:"display",useItemTextAsTitle:!0,searchEnabled:!0,dropDownOptions:{container:t.getPopupContainer(e)}},this._getBaseOptions(e))};let s=null;this._disposables.push(this.dataSource=w.computed(()=>(s&&s.dispose(),s=new Ti.a({store:this.values(),paginate:200<this.values().length,pageSize:100})))),e instanceof Mn?(this.specifics=e.parent.specifics,this.isUpdated=e.parent.isUpdated,this.dataType=e.parent.dataType,e.model.operatorType===O.UnaryOperatorType.Minus&&(this.reverse=!0)):(this.specifics=e.specifics,this.isUpdated=e.isUpdated,this.dataType=e.dataType),t.specifics&&w.isWritableObservable(this.specifics)&&this.specifics(t.specifics),this._disposables.push(this.specifics.subscribe(e=>{this.isUpdated&&this.isUpdated()||(t.specifics=e,this._updateDate(e))})),this._value(t.value),this._disposables.push(this._value.subscribe(e=>{this.model.value=e,this.helper.onChange()})),Zr(this._value())&&this._updateDate(this.specifics()),this._disposables.push(this.value=w.computed({read:()=>{let t=this._value();if(t instanceof Date&&(t=Object(u.c)(t)),0<this.items.length){var e=this.items.filter(e=>String(e.value)===String(t))[0];if(e)return e.display}return null!==(t=this.reverse?"-"+t:t)&&void 0!==t&&""!==t?t:this.getDefaultValue()},write:e=>{0<e&&!this.reverse||e<0&&this.reverse?this._value(e):(0<e&&this.reverse||e<0&&!this.reverse)&&(this.reverse=!this.reverse,this._value(e<0?(""+e).substring(1):e),this.changeValue())}})),this._disposables.push(w.computed(()=>{var e=w.unwrap(i);e&&e.getValues&&this.parent.leftPart instanceof Un&&this.parent.leftPart.propertyName()&&e.getValues(new Wi(w.unwrap(this.path)+"."+this.parent.leftPart.propertyName())).done(e=>{this.values(e)})})),t.specifics=this.specifics()}get items(){return this.values()}get displayType(){return null}isDefaultDisplay(){return this.value()===this.getDefaultValue()}getDefaultValue(){return qn._defaultValue||(qn._defaultValue=Object(m.c)("Enter a value","StringId.FilterEmptyEnter"))}scrollTo(e){var t;this._scroll||(t=e.closest(".dx-filtereditor-tree"),this._scroll=Ii.a.getInstance(t)),this._scroll.scrollToElement(e)}}class Kn{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}}(E=On=On||{})[E.Left=0]="Left",E[E.Right=1]="Right",E[E.Unary=2]="Unary";class Yn{customValidate(e,t){return!1}checkLeftPart(e){return e instanceof Nr.a||this.customValidate(e,On.Left)}_checkRightPart(e){return e instanceof Nr.a||e instanceof Mr.a||e instanceof ka.a||e instanceof za.a||e instanceof Ma.a&&this._checkRightPart(e.operand)||this.customValidate(e,On.Right)}checkRightPart(t){if(Array.isArray(t)){for(let e=0;e<t.length;e++)if(!this._checkRightPart(t[e]))return!1;return!0}return this._checkRightPart(t)}aggregateIsValid(e){return this.checkLeftPart(e.leftPart)&&this.validateModel(e.condition)&&(!e.aggregatedExpression||e.aggregatedExpression instanceof Nr.a||this.validateModel(e.aggregatedExpression))}commonOperandValid(e){return e.leftPart instanceof Vr.a?this.validateModel(e.leftPart):this.checkLeftPart(e.leftPart)&&this.checkRightPart(e.rightPart)}groupIsValid(t){for(let e=0;e<t.operands.length;e++)if(!this.validateModel(t.operands[e]))return!1;return!0}unaryIsValid(e){return e.operand instanceof Nr.a||this.validateModel(e.operand)||this.customValidate(e.operand,On.Unary)}validateModel(e){return e instanceof Vr.a?this.aggregateIsValid(e):e instanceof xa.GroupOperator?this.groupIsValid(e):e instanceof Ma.a?this.unaryIsValid(e):this.commonOperandValid(e)}}class Jn{constructor(e){this.rtl=!1,this.parameters=w.observable([]),this.canSelectLists=!0,this.canCreateParameters=!1,this.canChoiceParameters=!0,this.canChoiceProperty=!0,this.criteriaTreeValidator=new Yn,this.filterEditorOperators={_common:[{name:"Equals",_type:"binary",insertVal:"==",value:F.BinaryOperatorType.Equal,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Does not equal",_type:"binary",hidden:!0,reverse:!0,value:F.BinaryOperatorType.Equal,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Does not equal",_type:"binary",insertVal:"!=",value:F.BinaryOperatorType.NotEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseDoesNotEqual"},{name:"Equals",_type:"binary",reverse:!0,hidden:!0,value:F.BinaryOperatorType.NotEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseEquals"},{name:"Is greater than",_type:"binary",insertVal:">",value:F.BinaryOperatorType.Greater,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is less than or equal to",_type:"binary",hidden:!0,reverse:!0,value:F.BinaryOperatorType.Greater,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is greater than or equal to",_type:"binary",insertVal:">=",value:F.BinaryOperatorType.GreaterOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than",_type:"binary",hidden:!0,reverse:!0,value:F.BinaryOperatorType.GreaterOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is less than",_type:"binary",insertVal:"<",value:F.BinaryOperatorType.Less,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLess"},{name:"Is greater than or equal to",_type:"binary",reverse:!0,hidden:!0,value:F.BinaryOperatorType.Less,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreaterOrEqual"},{name:"Is less than or equal to",_type:"binary",insertVal:"<=",value:F.BinaryOperatorType.LessOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLessOrEqual"},{name:"Is greater than",_type:"binary",reverse:!0,hidden:!0,value:F.BinaryOperatorType.LessOrEqual,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseGreater"},{name:"Is between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:Fa.a,localizationId:"StringId.FilterClauseBetween"},{name:"Is not between",_type:"between",value:"Between",insertVal:"Between(, )",paramCount:1,type:Fa.a,reverse:!0,localizationId:"StringId.FilterClauseNotBetween"}],string:[],guid:[],integer:[],float:[],date:[],list:[],group:[],bool:[]},this.onChange=()=>{},this.onEditorFocusOut=e=>{},this.onSave=e=>{},this.onClosing=()=>{},this.handlers={create:(e,t)=>({data:new Fn(e,t,"create","createItems"),templateName:"dx-filtereditor-create"}),change:(e,t)=>({data:new Fn(e,t,"change","items"),templateName:"dx-filtereditor-change"}),changeProperty:(e,t)=>({data:new Fn(e,t,"changeProperty","items","dx-filtereditor-popup-treelist"),templateName:"dx-filtereditor-changeProperty"}),changeValueType:(e,t)=>({data:new Fn(e,t,"changeValueType","changeTypeItems"),templateName:"dx-filtereditor-changeValueType"}),changeParameter:(e,t)=>({data:new Fn(e,t,"changeParameter","items"),templateName:"dx-filtereditor-changeParameter"})},this.mapper={aggregate:Nn,property:Un,parameter:Gn,value:qn,group:jn,between:Vn,binary:zn,function:Rn,in:Wn,unary:Mn,default:Bn},this.serializer=e||new Ha,this.filterEditorOperators.string=[].concat(this.filterEditorOperators._common,[{name:"Contains",_type:"function",insertVal:"Contains(, )",value:M.FunctionOperatorType.Contains,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseContains"},{name:"Does not contain",_type:"function",value:M.FunctionOperatorType.Contains,type:M.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseDoesNotContain"},{name:"Begins with",_type:"function",insertVal:"StartsWith(, )",value:M.FunctionOperatorType.StartsWith,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseBeginsWith"},{name:"Ends with",_type:"function",insertVal:"StartsWith(, )",value:M.FunctionOperatorType.EndsWith,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseEndsWith"},{name:"Is like",_type:"binary",insertVal:"Like",value:F.BinaryOperatorType.Like,type:F.BinaryOperatorType,localizationId:"StringId.FilterClauseLike"},{name:"Is not like",_type:"binary",insertVal:"Not Like",value:F.BinaryOperatorType.Like,type:F.BinaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseNotLike"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:Oa.a,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:Oa.a,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is blank",_type:"function",insertVal:"IsNullOrEmpty()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNullOrEmpty,type:M.FunctionOperatorType,localizationId:"StringId.FilterClauseIsNullOrEmpty"},{name:"Is not blank",_type:"function",insertVal:"Not IsNullOrEmpty()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNullOrEmpty,type:M.FunctionOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNullOrEmpty"}]),this.filterEditorOperators.guid=this.filterEditorOperators.string,this.filterEditorOperators.integer=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",paramCount:1,type:Oa.a,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:Oa.a,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"}]),this.filterEditorOperators.float=this.filterEditorOperators.integer,this.filterEditorOperators.bool=this.filterEditorOperators.integer,this.filterEditorOperators.date=[].concat(this.filterEditorOperators._common,[{name:"Is null",_type:"unary",insertVal:"Is Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,localizationId:"StringId.FilterClauseIsNull"},{name:"Is not null",_type:"unary",insertVal:"Is Not Null",value:O.UnaryOperatorType.IsNull,type:O.UnaryOperatorType,reverse:!0,localizationId:"StringId.FilterClauseIsNotNull"},{name:"Is any of",_type:"in",value:"In",insertVal:"In()",type:Oa.a,localizationId:"StringId.FilterClauseAnyOf"},{name:"Is none of",_type:"in",value:"In",type:Oa.a,reverse:!0,localizationId:"StringId.FilterClauseNoneOf"},{name:"Is beyond this year",_type:"function",insertVal:"IsOutlookIntervalBeyondThisYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalBeyondThisYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalBeyondThisYear"},{name:"Is next week",_type:"function",insertVal:"IsOutlookIntervalNextWeek()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalNextWeek,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalNextWeek"},{name:"Is tomorrow",_type:"function",insertVal:"IsOutlookIntervalTomorrow()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalTomorrow,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalTomorrow"},{name:"Is today",_type:"function",insertVal:"IsOutlookIntervalToday()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalToday,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalToday"},{name:"Is yesterday",_type:"function",insertVal:"IsOutlookIntervalYesterday()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalYesterday,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalYesterday"},{name:"Is last week",_type:"function",insertVal:"IsOutlookIntervalLastWeek()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalLastWeek,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalLastWeek"},{name:"Is prior this year",_type:"function",insertVal:"IsOutlookIntervalPriorThisYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOutlookIntervalPriorThisYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOutlookIntervalPriorThisYear"},{name:"Is same day",_type:"function",insertVal:"IsSameDay(, )",value:M.FunctionOperatorType.IsSameDay,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSameDay"},{name:"Is this month",_type:"function",insertVal:"IsThisMonth()",emptyRightPart:!0,value:M.FunctionOperatorType.IsThisMonth,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisMonth"},{name:"Is this week",_type:"function",insertVal:"IsThisWeek()",emptyRightPart:!0,value:M.FunctionOperatorType.IsThisWeek,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisWeek"},{name:"Is this year",_type:"function",insertVal:"IsThisYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsThisYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsThisYear"},{name:"Is next month",_type:"function",insertVal:"IsNextMonth",emptyRightPart:!0,value:M.FunctionOperatorType.IsNextMonth,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextMonth"},{name:"Is next year",_type:"function",insertVal:"IsNextYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNextYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNextYear"},{name:"Is last month",_type:"function",insertVal:"IsLastMonth()",emptyRightPart:!0,value:M.FunctionOperatorType.IsLastMonth,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastMonth"},{name:"Is last year",_type:"function",insertVal:"IsLastYear()",emptyRightPart:!0,value:M.FunctionOperatorType.IsLastYear,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsLastYear"},{name:"Is the year-to-date period",_type:"function",insertVal:"IsYearToDate()",emptyRightPart:!0,value:M.FunctionOperatorType.IsYearToDate,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsYearToDate"},{name:"Is January",_type:"function",insertVal:"IsJanuary()",emptyRightPart:!0,value:M.FunctionOperatorType.IsJanuary,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJanuary"},{name:"Is February",_type:"function",insertVal:"IsFebruary()",emptyRightPart:!0,value:M.FunctionOperatorType.IsFebruary,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsFebruary"},{name:"Is March",_type:"function",insertVal:"IsMarch()",emptyRightPart:!0,value:M.FunctionOperatorType.IsMarch,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMarch"},{name:"Is April",_type:"function",insertVal:"IsApril()",emptyRightPart:!0,value:M.FunctionOperatorType.IsApril,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsApril"},{name:"Is May",_type:"function",insertVal:"IsMay()",emptyRightPart:!0,value:M.FunctionOperatorType.IsMay,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsMay"},{name:"Is June",_type:"function",insertVal:"IsJune()",emptyRightPart:!0,value:M.FunctionOperatorType.IsJune,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJune"},{name:"Is July",_type:"function",insertVal:"IsJuly()",emptyRightPart:!0,value:M.FunctionOperatorType.IsJuly,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsJuly"},{name:"Is August",_type:"function",insertVal:"IsAugust()",emptyRightPart:!0,value:M.FunctionOperatorType.IsAugust,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsAugust"},{name:"Is September",_type:"function",insertVal:"IsSeptember()",emptyRightPart:!0,value:M.FunctionOperatorType.IsSeptember,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsSeptember"},{name:"Is October",_type:"function",insertVal:"IsOctober()",emptyRightPart:!0,value:M.FunctionOperatorType.IsOctober,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsOctober"},{name:"Is November",_type:"function",insertVal:"IsNovember()",emptyRightPart:!0,value:M.FunctionOperatorType.IsNovember,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsNovember"},{name:"Is December",_type:"function",insertVal:"IsDecember()",emptyRightPart:!0,value:M.FunctionOperatorType.IsDecember,type:M.FunctionOperatorType,localizationId:"StringId.FilterCriteriaToStringFunctionIsDecember"}]),this.filterEditorOperators.list=[{name:"Exists",_type:"aggregate",value:"Exists",insertVal:"Exists()",type:Vr.a,localizationId:"StringId.FilterAggregateExists"},{name:"Count",_type:"aggregate",value:"Count",insertVal:"Count()",type:Vr.a,localizationId:"StringId.FilterAggregateCount"},{name:"Max",_type:"aggregate",value:"Max",insertVal:"Max()",type:Vr.a,localizationId:"StringId.FilterAggregateMax"},{name:"Min",_type:"aggregate",value:"Min",insertVal:"Min()",type:Vr.a,localizationId:"StringId.FilterAggregateMin"},{name:"Sum",_type:"aggregate",value:"Sum",insertVal:"Sum()",type:Vr.a,localizationId:"StringId.FilterAggregateSum"},{name:"Avg",_type:"aggregate",value:"Avg",insertVal:"Avg()",type:Vr.a,localizationId:"StringId.FilterAggregateAvg"}],this.filterEditorOperators.group=[{name:"And",_type:"group",insertVal:"And",value:La.GroupOperatorType.And,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupAnd"},{name:"Or",_type:"group",insertVal:"Or",value:La.GroupOperatorType.Or,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupOr"},{name:"Not And",_type:"group",value:La.GroupOperatorType.And,reverse:!0,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupNotAnd"},{name:"Not Or",_type:"group",value:La.GroupOperatorType.Or,reverse:!0,type:La.GroupOperatorType,localizationId:"StringId.FilterGroupNotOr"}],this._initDisplayText()}get _allFilterEditorOperators(){const t=[];return Object.keys(this.filterEditorOperators).forEach(e=>{t.push(...this.filterEditorOperators[e])}),t}_getFilterEditorOperator(t,e,i){return e.filter(e=>e.value===t.operatorType&&e.type===t.enumType&&e.reverse===i)[0]}_initDisplayText(){Object.keys(this.filterEditorOperators).forEach(e=>{this.filterEditorOperators[e].forEach(Ln)})}registrateOperator(e,t,s,i,r="function",a=!1,n){if(this.filterEditorOperators[e]){if(!t[s]){let i=0,r;_.each(t,(e,t)=>{r=parseInt(e),!isNaN(r)&&i<r&&(i=r)}),t[++i]=s,t[s]=i}s={name:i,value:t[s],type:t,_type:r,reverse:a,displayText:Object(m.c)(i,n)};this.filterEditorOperators[e].push(s)}}generateTreelistOptions(e,t){const i=w.observable(null),r=w.observable(null);return{subscription:w.computed(()=>{i({itemsProvider:w.unwrap(e),selectedPath:w.observable(""),selected:r,path:w.unwrap(t),treeListController:new Kn(r),rtl:this.rtl})}),options:i}}}const Xn=Object(C.d)(Jn);function Zn(e){Xn(e)}class Qn extends Ta{constructor(e){super(e);const t=new Jn,s=[],a=[],n=[];Object.keys(t.filterEditorOperators).forEach(e=>{t.filterEditorOperators[e].forEach(e=>{if(e.insertVal){const t=e.name,i=e.insertVal,r=e.paramCount;e.type===M.FunctionOperatorType&&0===s.filter(e=>e.name===t).length?s.push({name:t,insertVal:i}):e.type===Vr.a&&0===a.filter(e=>e.name===t).length?a.push({name:t,insertVal:i}):e.type!==Vr.a&&e.type!==M.FunctionOperatorType&&0===n.filter(e=>e.name===t).length&&n.push({name:t,insertVal:i,paramCount:r})}})}),this.filterEditorAvailable={operators:n,aggregate:a,functions:s}}getFunctionsCompletions(){const t=[];return this.filterEditorAvailable.functions.forEach(e=>{t.push($a({text:e.name,paramCount:e.insertVal.split(",").length},e.insertVal,e.insertVal))}),t}getAggregateCompletions(){const t=[];return this.filterEditorAvailable.aggregate.forEach(e=>{t.push($a({text:e.name,paramCount:0},e.insertVal,e.insertVal))}),t}getOperatorCompletions(t){const i=[];return this.filterEditorAvailable.operators.forEach(e=>{i.push(e.insertVal.match(new RegExp("\\([^\\(\\)]*\\)","g"))?$a({text:e.name,paramCount:e.paramCount||e.insertVal.split(",").length},e.insertVal,e.insertVal):{caption:e.insertVal,snippet:t+e.insertVal,meta:"operator"})}),i}}const eo={DateTime:{type:"System.DateTime",value:new Date(Date.now()),patterns:[]},Number:{type:"System.Int32",value:"123456789",patterns:["#.00","#,#","0.E+0.0","0.e+0.0","n","n1","n2","e","e1","f","f1"]},Percent:{type:"System.Int32",value:"100",patterns:["0.00%","0%"]},Currency:{type:"System.Int32",value:"100",patterns:["$0.00","$0","c","c1","c2"]},Special:{type:"System.Int32",value:"123456789",patterns:["(###) ### - ####","### - ## - ####"]},General:{type:"System.String",value:"",patterns:["General format have no specific number format"]}};class to extends Gt{constructor(){super(...arguments),this.onContentReady=e=>{this._component=e.component},this.hideOnOutsideClick=e=>{var t=this.getComponent(),t=t&&T(t.content());return!t||!(t.has(e.target)||t.is(e.target))}}onPropertyChanged(e){}getComponent(){return this._component}dispose(){super.dispose();var e=this._component;e&&e.dispose(),this._component=null}}(function(e,t,i,r){var s,a=arguments.length,n=a<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 o=e.length-1;0<=o;o--)(s=e[o])&&(n=(a<3?s(n):3<a?s(t,i,n):s(t,i))||n);3<a&&n&&Object.defineProperty(t,i,n)})([A(void 0)],to.prototype,"_component",void 0);class io extends yi.a{_setContentHeight(){this._$popupContent.css({height:"100%"})}}l()("dxPopupWithAutoHeight",io);class ro{constructor(e={}){this.options=e,this._resize=(e,t,i,r)=>{var s;return this.options.resultSize?this.options.resultSize(this.options.resultSize()-(e||t)+i):r&&(e?(s=r.offsetWidth-e+i,r.style.width=s+"px"):t&&(s=r.offsetHeight+t-i,r.style.height=s+"px")),e||t}}resizable(e,t){e=e||{starting:()=>{},stopped:()=>{}};let r=0;return Object(v.b)({},e,{handles:t,$selectedNodes:_.fn.constructor(),stopped:()=>{r=0},resize:(e,t,i)=>{r=this._resize(-i.width,i.height,r,t),this.options.onResize&&this.options.onResize()},handleClassName:"dxd-back-secondary",disabled:this.options.disabled||w.observable(!1)})}}class so{constructor(){this.globalMatch=!0,this.autoLoadItems=!0,this.canUseRegex=!1,this.caseSensitive=!1,this.searchMode=z.contains,this.searchTimeout=500,this.searchExpr="displayName",this.searchBoxTemplate="dx-treelist-searchbox"}}function ao(i){const r=i.values;i.element;var e=f.unwrap(r);let s=null;const a=()=>{var e=f.unwrap(r),t=i.element.closest(".dx-scrollview"),t=t&&Ii.a.getInstance(t);t&&t.update(),e.onItemsVisibilityChanged&&e.onItemsVisibilityChanged()},t=e=>{var t=e.treeListController||new Pn;(e.treeListController=t).dragDropHandler=t.dragDropHandler||i.dragDropHandler,e.factory=e.factory||new Qi,e.store=new Xi,e.itemsProvider=f.unwrap(e.itemsProvider),e.pageSize=e.pageSize||-1,e&&e.itemsProvider&&(e.rtl||(e.rtl=!!i.element.closest(".dx-rtl")),s&&s.dispose(),s=e.factory.createRootItem(e,e.path,a,e.rtl),f.isSubscribable(t.root)?(t.searchEnabled=!0,t.searchOptions=t.searchOptions||new so,t.root(s)):t.root=s,i.createChildContext(s.getViewModel()))};t(Object(v.b)({},e));let n=null;const o=e=>{e&&t(Object(v.b)({},e))};return f.isSubscribable(r)?n=r.subscribe(e=>o(e)):f.isSubscribable(r.itemsProvider)?n=r.itemsProvider.subscribe(e=>e&&o(r)):r.setTreeListChangedEvent&&(n={dispose:r.setTreeListChangedEvent(o)}),()=>{s&&s.dispose(),s=null,n&&n.dispose()}}class no extends d.a{constructor(){super(),this._processedNodes=[],this._currentProcess=[],this.searchTimeout=500,this._roots=[],this.searchPlaceholder=()=>Object(u.n)();const t=w.observable("");let i=null;this._disposables.push(this.value=w.computed({read:()=>t(),write:e=>{clearTimeout(i),i=setTimeout(()=>{t(e)},this.searchTimeout)}})),this._disposables.push(this.value.subscribe(e=>this.valueChanged(e)))}static createController(e,t,i=no,r="dx-treelist-search-panel"){const s=new i;i=_.fn.constructor(e);const a=[];t.forEach(e=>{e&&(e.root=e.root||w.observable(),a.push(e.root.subscribe(e=>{s.addController(e),s.valueChanged("")})))}),s._disposables.push({dispose:()=>{t.forEach(e=>{e&&w.isSubscribable(e.root)&&(e.root(null),delete e.root)})}});r=g(r);i.addClass("dxrd-treelist-search-panel-container").addClass("dxd-border-primary"),i.children().remove(),i.append(r),w.cleanNode(i.children()[0]),w.applyBindings(s,i.children()[0]);const n=()=>{a.forEach(e=>e.dispose()),s&&s.dispose(),w.utils.domNodeDisposal.removeDisposeCallback(e,n)};w.utils.domNodeDisposal.addDisposeCallback(e,n)}dispose(){super.dispose(),this.clearProcess()}clearProcess(){this._currentProcess.forEach(e=>e.stop&&e.stop()),this._currentProcess=[],this._processedNodes=[]}valueChanged(r){r||this._processedNodes.forEach(e=>e.visible=!0),this.clearProcess(),this._roots.forEach(i=>{i.treeListController.textToSearch(r),r?this._currentProcess.push(i.walkOnTree(e=>{var t=te(e.data[i.treeListController.searchOptions.searchExpr],r,i.treeListController.searchOptions);this._processedNodes.push(e),e.visible=!!t,t&&this._collapseTreeBranch(e)})):i.itemsCollectionHasMutated()})}_collapseTreeBranch(e){e.parent&&(e.parent.collapsed&&e.parent.toggleCollapsed(),this._collapseTreeBranch(e.parent))}addController(e){this._roots=this._roots.filter(e=>!e.isDisposing),e.treeListController.textToSearch=e.treeListController.textToSearch||w.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}}w.bindingHandlers.treelist={init:function(i,e,t,r,s){const a=w.unwrap(e());e=ao({element:i,values:e(),createChildContext:e=>{var t=a.templateHtml||g("dx-treelist"),t=_.fn.constructor(i).html(t),e=s.createChildContext(e);w.applyBindings(e,t.children()[0])},dragDropHandler:s.$root.fieldDragHandler});return Object(C.c)(i,e),{controlsDescendantBindings:!0}}},w.bindingHandlers.treeListSearchPanel={init:function(e,t,i,r,s){var t=t(),a=w.unwrap(t.template),n=w.unwrap(t.modelType);let o=w.unwrap(t.controllers);return Array.isArray(o)||(o=[o]),no.createController(e,o,n,a),{controlsDescendantBindings:!0}}};class oo extends d.a{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}_getElementViewModel(e){return e&&e.data&&e.data.data}dispose(){super.dispose(),this._targetElement=null,this._target=null,this._draggable=null}isDragToBottom(){return Er(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()){var t,i,r=this.getSiblings();r&&(-1<(i=(t=r.peek()).indexOf(this._draggableModel))&&t.splice(i,1),t.splice(t.indexOf(this._targetModel)+(e?1:0),0,this._draggableModel),r.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=_.fn.constructor(t).closest(".dx-treelist-item").get(0),this._targetModel=this._getElementViewModel(this._target)}stop(){this.clearDroppableClasses(),this.started=!1}helper(e,t){t=_.fn.constructor(t.target).closest(".ui-draggable"),t=new mt(6,6,null,t.height());t.className="dxrd-image-ghost-report",this.dragHelperContent.reset(),this.dragHelperContent.setContent(t,{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()),_.fn.constructor(this._targetElement).addClass(e)}_removeClass(e){_.fn.constructor(e).removeClass(this.droppableClassName+" "+this.approveClassName+" "+this.classDropBefore+" "+this.classDropAfter)}}var lo=t(39);function uo(e,t){function i(){var e=!f.unwrap(t.alwaysShow)&&!f.unwrap(o());t.setCollapsed?t.setCollapsed(e):f.isSubscribable(t.collapsed)&&t.collapsed(e),r.addClass("dx-transition-style"),o()&&r.addClass("dx-accordion-collapsed"),setTimeout(()=>{r.removeClass("dx-accordion-collapsed"),o()||r.removeClass("dx-transition-style")},500)}const r=_.fn.constructor(e),s=r.find(".dx-accordion-content").first(),a=()=>{var e=r.parents(".dx-scrollview");0<e.length&&(e=Ii.a.getInstance(e.get(0)))&&e.update()},n=r.find(".dx-accordion-header,.dx-accordion-button").get(0),o=()=>t.getCollapsed?t.getCollapsed():f.unwrap(t.collapsed);lo.off(n,"dxclick");if(lo.on(n,"dxclick",i),o()?s.hide():s.show(),f.isSubscribable(t.collapsed)){const d=t.collapsed.subscribe(e=>{s.slideToggle(t.timeout,()=>a())});return()=>{lo.off(n,"dxclick",i),d.dispose()}}if(t.setCollapsedChangedEvent){const l=t.setCollapsedChangedEvent(()=>s.slideToggle(t.timeout,()=>a()));return()=>{lo.off(n,"dxclick",i),l()}}throw Error("Not working!")}w.bindingHandlers.dxPropertyGrid={init:function(e,t,i,r,s){_.fn.constructor(e).children().remove();var a=g("dx-propertieseditor"),a=_.fn.constructor(e).append(a),t=t();const n=new gs(t.target,t.editorsInfo,t.level,t.parentDisabled,t.recreateEditors,t.textToSearch);return e.setAttribute("role","tree"),w.applyBindings(s.createChildContext(n.getViewModel()),a.children()[0]),Object(C.c)(e,function(){n.dispose()}),{controlsDescendantBindings:!0}}},w.virtualElements.allowedBindings.lazy=!0,w.bindingHandlers.lazy={init:function(r,e,s,a,n){let t=e();const o=t.resolver||ji,d=t.isResolved;t.innerBindings&&(t=t.innerBindings);let l=!1,u=[];return _.each(t,(e,t)=>{const i=w.bindingHandlers[e];u.push(o.execute(()=>{if(!l){let e=!1;w.computed({read:()=>{!e&&i.init&&(i.init(r,()=>t,s,a,n),e=!0),i.update&&i.update(r,()=>t,s,a,n)},disposeWhenNodeIsRemoved:r}),d&&d(!0)}},1))}),Object(C.c)(r,function(){l=!0,u.forEach(e=>e.dispose()),u=[]}),{controlsDescendantBindings:!0}}},w.bindingHandlers.dxdAccordion={init:function(e,t){t=uo(e,t());Object(C.c)(e,t)}},w.bindingHandlers.dxdAccordionExt={init:function(e,t,i,r,s){const a=t(),n=_.fn.constructor(e),o=()=>{var e=n.parents(".dx-scrollview");0<e.length&&(e=Ii.a.getInstance(e.get(0)))&&e.update()},d=n.find(".dx-accordion-content").first();let l=null;a.collapsed&&!0===a.lazyContentRendering&&(l=d.html(),d.empty());const u=e=>{e?d.slideUp(a.timeout,()=>{o()}):(l&&(d.html(l),w.applyBindingsToDescendants(s,d.get(0)),l=null),d.slideDown(a.timeout,()=>{o()}))};if(w.isSubscribable(a.collapsed)){const c=a.collapsed.subscribe(e=>u(e));Object(C.c)(e,()=>c.dispose())}else{if(!a.setCollapsedChangedEvent)throw Error("Not working!");{const p=a.setCollapsedChangedEvent(e=>u(e));Object(C.c)(e,()=>p())}}a.collapsed?d.hide():d.show()}},w.bindingHandlers.dxLocalizedSelectBox={init:function(e,t,i,r,s){const a=t(),n=a.displayExpr,o=(a.placeholder=a.placeholder||Object(u.o)(),a.noDataText=a.noDataText||Object(u.j)(),a.encodeNoDataText=!0,a.displayExpr=function(e){return e&&(n?Object(m.c)(_.isFunction(n)?n(e):e[n],e.localizationId):Object(m.c)(e,e.localizationId))},a.itemTemplate=function(e,t,i){var e=s.createChildContext({display:a.displayExpr(e)}),r=(_.fn.constructor(i).children().remove(),g("item-with-title")),r=_.fn.constructor(i).append(r);return w.applyBindingsToDescendants(e,r[0]),i},a.useLocalizedTextAsValue&&(a.valueExpr=a.displayExpr),r.getOptions?r.getOptions(a):a);return w.bindingHandlers.dxSelectBox.init(e,()=>o,i,r,s),{controlsDescendantBindings:!0}}},w.bindingHandlers.styleunit={update:function(i,e){e=w.utils.unwrapObservable(e()||{});_.each(e,(e,t)=>{t=w.utils.unwrapObservable(t)||0,i.style[e]=t+"px"})}},w.bindingHandlers.service={init:function(e,t,i,r,s){var a,t=w.unwrap(t()||{}),t=(a=t.name,r[a]||((t=s.$parents.filter(e=>void 0!==e[a])[0])?t[a]:null)),t=t&&t(r);t&&(r=s.createChildContext(t.data),w.renderTemplate(t.templateName,r,{},e,"replaceNode"))}};class co extends k{_getEditorValidationRules(){var e;return(super._getEditorValidationRules()||[]).concat(P.c).concat(null!=(e=this.editorOptions)&&e.isNullable?[]:P.b)}}const po={propertyName:"family",displayName:"Font Name",localizationId:"AnalyticsCoreStringId.FormatFontName",editor:h.getEditor("combobox"),values:Hs,editorOptions:{searchEnabled:!0}},ho={propertyName:"size",displayName:"Size",localizationId:"AnalyticsCoreStringId.Font.Size",editor:h.getEditor("numeric")},go={propertyName:"unit",displayName:"Unit",localizationId:"AnalyticsCoreStringId.Font.Unit",editor:h.getEditor("combobox"),valuesArray:Cn},mo=[po,ho,go,{propertyName:"modificators",editor:h.getEditor("modificators")}];class fo extends ms{constructor(e,t,i,r){super(e,t,i,r)}createObjectProperties(){var e=new wn(this.value);return this._disposables.push(e),new gs(w.observable(e),{editors:mo},this.level+1,this._get("disabled","wrapped"),void 0,this.textToSearch)}}function vo(e,t){t=t.split("\n");let i=t[1];t=t[2].length;return 0===i.indexOf("...")&&(i=i.split("...")[1]),{start:e=e.indexOf(i),end:e+t}}w.bindingHandlers.focus={init:function(t,e){const i=(e().on||e()).subscribe(e=>{e&&setTimeout(()=>{_.fn.constructor(t).find(":input").focus()},1)});Object(C.c)(t,function(){i.dispose()})}},w.bindingHandlers.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")}};class xo extends d.a{constructor(e,t,i=w.observable(!1),r=!1,s,a=w.observable(!1),n){var o,d;super(),this.options=e,this._displayNameProvider=s,this.popupVisible=a,this._updateTextAreaValue=(e,t)=>{var t=this._getTextArea(t),i=this.textAreaValue().toString(),r=t&&t.selectionStart||i.length,e=" "==i[r-1]?(e.val||e.text||e)+" ":" "+(e.val||e.text||e)+" ";this.textAreaValue([i.slice(0,r),e,i.slice(r)].join("")),t&&t.setSelectionRange&&(t.focus(),i=r+(-1!==e.indexOf("(")?e.indexOf("(")+1:e.length),t.setSelectionRange(i,i))},this._updateAceValue=(e,t)=>{var i=this.editorContainer(),{row:r,column:s}=i.getCursorPosition();let a=(e.val||e.text||e)+" ";s&&" "!==i.getSession().getValue().split("\n")[r][s-1]&&(a=" "+a),i.insert(a),i.focus(),Yr(e.paramCount,i,a)},this._updateValue=(e,t)=>{this.aceAvailable?this._updateAceValue(e,_.fn.constructor(t)):this._updateTextAreaValue(e,_.fn.constructor(t))},this.patchFieldName=e=>e,this._parametersPutSelectionHandler=(e,t)=>{e=e.split("."),e="?"+this.patchFieldName(e[e.length-1]);this._updateValue(e,t)},this._fieldsPutSelectionHandler=(e,t)=>{var i=this.koOptions.peek().path.peek(),e=e.substring(i.length+1);const r="["+this.patchFieldName(e)+"]";this._displayNameProvider?this.displayExpressionConverter.toDisplayExpression(i,r).done(e=>{this._updateValue(e,t)}).fail(()=>{this._updateValue(r,t)}):this._updateValue(r,t)},this.aceAvailable=Tn(),this.title=()=>Object(m.c)("Expression Editor","AnalyticsCoreStringId.ExpressionEditor_ExpressionCaption"),this.value=w.observable(""),this.textAreaValue=w.observable(""),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{const r=w.computed(()=>i.koOptions()&&w.unwrap(i.koOptions().path)||""),s=w.computed(()=>i.koOptions()&&w.unwrap(i.koOptions().functions)||[]),a=new Ta({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider,path:r,functions:s,rootItems:i.options.rootItems,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||_.Deferred().resolve(t).promise()});return[r,s].forEach(e=>a._disposables.push(e)),[a]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showFoldWidgets:!1,highlightActiveLine:!1},this.additionalOptions={onChange:t=>{var i=t.getValue();try{var r=Rr.parse(i);this.koOptions().validate&&this.isValid(this.koOptions().validate(r)),t.clearAnnotations()}catch(e){i=e.hash&&e.hash.line||0,r=e.message.split("\n"),r=r[1]+"\n"+r[2];t.setAnnotations([{row:i,column:0,text:r,type:"error"}])}}},this.callbacks={focus:_.noop},this.koOptions=w.observable(null),this.editorContainer=w.observable(),this.isValid=w.observable(!0),this.buttonItems=[],this.rtl=!1,this.modelValueValid=w.computed(()=>{var e=this.koOptions();return!e||!w.isObservable(e.isValid)||e.isValid()}),this.modelValueWarning=w.computed(()=>{var e=this.koOptions();return e&&w.unwrap(e.warningMessage)||""}),this.getPopupContainer=Xr,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=w.computed({read:()=>{var e=this.koOptions()&&w.unwrap(this.koOptions().value);return e&&e.toString()||""},write:e=>this.koOptions()&&this.koOptions().value(e)})),s&&e.path?(this.displayExpressionConverter=new Ra(s),a=w.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()),this.displayValue=Ia(a,this.value,this.displayExpressionConverter,this._disposables),this._disposables.push(a)):this.displayValue=this.value,this.rtl=r,this.validate=(t,i)=>{try{return Rr.parse(t),this.isValid(!0),!0}catch(e){t=vo(t,e.message),i=this._getTextArea(i&&i.element);i&&i.setSelectionRange(t.start,t.end),this.isValid(!1)}},this._disposables.push(this.popupVisible.subscribe(e=>{e?this.initDisplayValue():this.editorContainer(null)}));const l=w.computed(()=>this.koOptions()&&this.koOptions().fieldName&&this.koOptions().fieldName());this._disposables.push(this.fieldListProvider=(o=t,d=l,w.computed(()=>{const i=w.unwrap(o),r=w.unwrap(d);return r?{getItems:e=>{const t=_.Deferred();return i.getItems(e).done(e=>{t.resolve(e.filter(e=>e.name!==r))}).fail(()=>t.reject()),t.promise()},getValues:e=>i.getValues(e)}:i}))),this.disabled=i;this.save=e=>{var t=this.getValue();this.validate(t,e)&&(this.displayValue(t),this.popupVisible(!1))};let u=null;const c=e=>{w.unwrap(e.data.type);u&&(u.isSelected=!1),(u=e).isSelected=!0};e=w.pureComputed(()=>this.koOptions()&&this.koOptions().path&&this.koOptions().path()&&this._createToolsOptions(this.koOptions().path(),this.fieldListProvider(),new kn(l,(e,t)=>{this._fieldsPutSelectionHandler(e.path,t)},c))),this.parametersTreeListController=new Dn(this._parametersCustomFilter,this._parametersPutSelectionHandler,c),s=w.pureComputed(()=>this._createToolsOptions("",this.fieldListProvider(),this.parametersTreeListController));this._disposables.push(this.tools=new $n(this._updateValue,s,this.koOptions,e)),this._disposables.push(this.modelValueValid,this.modelValueWarning),this._createMainPopupButtons(),[l,e,s].forEach(e=>this._disposables.push(e)),this.resizeHelper=new ro({onResize:()=>this.resizeAceEditor()}),this.editorInputId=n}dispose(){super.dispose(),this.koOptions(null),this.editorContainer(null),this.options=null}_createMainPopupButtons(){const t=this;this.buttonItems=[{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Object(m.c)("OK",va.DataAccessBtnOK),type:"default",stylingMode:"contained",onClick:function(e){t.save(e)}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Object(m.c)("Cancel",va.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){t.popupVisible(!1)}}}]}_getTextArea(e){e=_.fn.constructor(e);return e&&e.parents(".dx-expressioneditor").find(":input")[0]}_createToolsOptions(e,t,i){return{itemsProvider:t,selectedPath:w.observable(""),path:w.observable(e),templateName:"dx-ee-treelist-item",treeListController:i,rtl:this.rtl}}_parametersCustomFilter(e){return"parameters"===e.specifics||e.specifics===Aa||!Jr(e)}onShown(){this.callbacks.focus()}onHiding(e){var t=this.koOptions();return t&&t.onHiding&&t.onHiding(e)}onShowing(e){var t=this.koOptions();return t&&t.onShowing&&t.onShowing(e)}onContentReady(e){var t=this.koOptions();return t&&t.onContentReady&&t.onContentReady(e)}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}initDisplayValue(){var e;this.tools.resetCategoriesSelection&&this.tools.resetCategoriesSelection(),this.textAreaValue(this.displayValue()),this.aceAvailable?(e=(e=this.editorContainer())&&e.getSession())&&e.setValue(this.textAreaValue()):this.validate(this.value())}getValue(){let e=this.textAreaValue();var t;return this.aceAvailable&&(t=(t=this.editorContainer())&&t.getSession(),e=t&&t.getValue()),e}}w.bindingHandlers.dxExpressionEditor={init:function(e,t,i,r,s){let a=_.fn.constructor(e);a.children().remove();const n=t();_.fn.constructor(e).addClass(n.wrapper?"dx-expressioneditor-content":"dx-popup-general");t=n.editorTemplateName||"dx-expressioneditor";let o=null,d=new xo(w.unwrap(n.options),n.fieldListProvider,r.disabled,0<_.fn.constructor(e).closest(".dx-rtl").length,n.displayNameProvider,n.popupVisible,r.editorInputId);w.isSubscribable(n.options)&&(o=n.options.subscribe(e=>{e&&d.koOptions(e)})),n.wrapper&&n.wrapper.editor(d);r=s.createChildContext(d),s=document.createElement("div");a=a.append(s),w.renderTemplate(t,r,{},s,"replaceNode");return Object(C.c)(e,()=>{d.dispose(),d=null,n.wrapper&&n.wrapper.editor(null),o&&o.dispose()}),{controlsDescendantBindings:!0}}};var E=t(60),bo=t.n(E),yo=t(5);class _o extends pn{constructor(t,e,i=!1,r,s){super(),this.options=t,this._displayNameProvider=r,this._advancedMode=w.observable(!1),this.textFocused=w.observable(!1),this.aceAvailable=Tn(),this.languageHelper={getLanguageMode:()=>"ace/mode/criteria",createCompleters:(e,t,i)=>{var r=w.computed(()=>this.path&&this.path()),e=new Qn({editor:e,bindingContext:t,fieldListProvider:i.fieldListProvider(),path:r,getRealExpression:(e,t)=>this.displayExpressionConverter&&this.displayExpressionConverter.toRealExpression(e,t)||_.Deferred().resolve(t).promise()});return e._disposables.push(r),[e]}},this.aceOptions={showLineNumbers:!1,showPrintMargin:!1,enableBasicAutocompletion:!0,enableLiveAutocompletion:!0,showGutter:!1},this.additionalOptions={onChange:e=>this.onValueChange(e.getValue()),changeTimeout:200,onFocus:e=>this.onFocus(),onBlur:e=>this.onBlur()},this.editorContainer=w.observable(),this.textVisible=w.observable(!1),this.getPopupContainer=e=>Xr(e,this.options().popupContainer),this.timeout=null,this.animationTimeout=null,this.advancedMode=w.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=()=>Object(m.c)("Cannot create a tree for this expression","AnalyticsCoreStringId.FilterEditor_TreeCreationError"),this.advancedModeText=w.observable(Object(m.c)("Advanced Mode","AnalyticsCoreStringId.FilterEditor_AdvancedMode")),this.operandSurface=w.observable(null),this.operand=null,this.popupService=new xs,this.rtl=i,this.initializeInnerValue(),t()&&t().helper&&(t().helper.rtl=i),this._disposables.push(this.disabled=w.computed(()=>w.unwrap(this.options()&&this.options().disabled()))),this.displayExpressionConverter=r&&new Ra(r),this.save=()=>{var e;this.helper.onSave(this.value()),this.operandSurface()&&this.isSurfaceValid()?(e=t().helper.serializer.serialize(this.operand,!1),this.options().value(e)):this.options().value(this.value()),this.popupVisible(!1)},this.displayValue=Ia(this.path,this.value,this.displayExpressionConverter,this._disposables);i=w.computed({read:()=>{var e=this.options();return e&&e.value()},write:e=>{var t=this.options();t&&t.value(e)}});this.modelDisplayValue=Ia(this.path,i,this.displayExpressionConverter,this._disposables),this.fieldListProvider=e,this.modelValueIsValid=w.computed(()=>t()&&this._validateValue(t().value())),this.isValid=w.computed(()=>this._validateValue(this.value())),this.isSurfaceValid=w.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(i),this._disposables.push(this.modelValueIsValid),this._disposables.push(this.isValid),this._disposables.push(this.isSurfaceValid),this._disposables.push(this.popupVisible.subscribe(e=>{e?(this.value(this.options().value()),this.isSurfaceValid()?(this.operand=this._generateOperand(this.value()),this.operandSurface(this._generateSurface(this.operand))):(this.textVisible(!0),this._advancedMode(!0),this.editorContainer()&&this.focusText()),t().helper.onChange=()=>{this.value(t().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=e=>t().helper.handlers.create(e,this.popupService),this.createChangeType=e=>t().helper.handlers.change(e,this.popupService),this.createChangeProperty=e=>t().helper.handlers.changeProperty(e,this.popupService),this.createChangeParameter=e=>t().helper.handlers.changeParameter(e,this.popupService),this.createChangeValueType=e=>t().helper.handlers.changeValueType(e,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=s}_generateOperand(e){return this.options().helper.serializer.deserialize(e)}_generateSurface(e){let t=null;e=new(t=e instanceof Ma.a?this.options().helper.mapper.unary:this.options().helper.mapper.group)(e,this,this.fieldListProvider,this.path);if(e instanceof Mn){if(!(e.model.operand instanceof xa.GroupOperator))return this.operand=new xa.GroupOperator(La.GroupOperatorType.And,[this.operand]),e.dispose(),this._generateSurface(this.operand);e.operand().canRemove=!1}return e.canRemove=!1,e}_validateValue(e){try{return!(!this.options()||!this.options().helper||(this.options().helper.serializer.deserialize(e),0))}catch(e){return!1}}canSave(){return this.isValid()}initializeInnerValue(){this.value=w.observable("")}change(e,t){this.operand=yo.criteriaCreator.changeByType(e),this.operand.assignFrom(t.model);let i=null;e=new(i=this.operand instanceof Ma.a?this.options().helper.mapper.unary:this.options().helper.mapper.group)(this.operand,this,this.fieldListProvider,this.path);e.canRemove=!1,e instanceof Mn&&(e.operand().canRemove=!1),this.operandSurface(e)}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(bo.a.getInstance(e.get(0)))}updateCriteria(){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 t=t=>{setTimeout(e=>{t.renderer&&t.renderer.updateText(),t.focus()},1)};if(this.editorContainer())t(this.editorContainer());else{const i=this.editorContainer.subscribe(e=>{i.dispose(),t(e)})}}resizeAceEditor(){this.aceAvailable&&this.editorContainer()&&this.editorContainer().resize()}get cancelLocalization(){return Object(m.c)("Cancel","StringId.Cancel")}get saveLocalization(){return Object(m.c)("OK","StringId.OK")}}w.bindingHandlers.dxFilterEditor={init:function(e,t,i,r){_.fn.constructor(e).children().remove(),_.fn.constructor(e).addClass("dx-popup-general");const s=g("dx-filtereditor"),a=_.fn.constructor(e).append(s),n=t(),o=w.observable(w.unwrap(n.fieldListProvider)),d=[],l=w.computed(()=>w.unwrap(n.options)),u=(d.push(w.computed(()=>{l()&&l().itemsProvider?o(w.unwrap(l().itemsProvider)):o(w.unwrap(n.fieldListProvider))})),d.push(w.computed(()=>{n.getDisplayNameByPath&&l()&&l().helper&&!l().helper.getDisplayPropertyName&&(l().helper.getDisplayPropertyName=n.getDisplayNameByPath)})),new _o(l,o,0<_.fn.constructor(e).closest(".dx-rtl").length,n.displayNameProvider,r.editorInputId));return w.applyBindingsToDescendants(u,a.children()[0]),Object(C.c)(a.children()[0],()=>{d.forEach(e=>e.dispose()),l.dispose(),u.dispose()}),{controlsDescendantBindings:!0}}};class Co extends _o{constructor(e,t,i,r=!1,s){super(t,i,r,s),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(){var e={};return this.advancedModeTop()?e.top="0px":e.bottom="0px",this.advancedModeLeft()?e.left="0px":e.right="0px",e}getContentStyles(){var 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()}}}w.components.register("dx-filtereditor-plain",{viewModel:{createViewModel:(e,t)=>{t=new Co(t.element,e.options,w.observable(e.fieldListProvider),void 0,e.displayNameProvider);return t.popupVisible(!0),t}},template:g("dx-filtereditor-plain")}),w.components.register("dx-filtereditor-advanced",{viewModel:{createViewModel:(e,t)=>{const i=new _o(e.options,w.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:g("dx-filtereditor-advanced")}),w.bindingHandlers.cacheElement={init:function(e,t,i,r,s){t().action(_.fn.constructor(e))}};class wo{constructor(e,t,i,r){this.popupContainer=".dx-designer-viewport",this.itemsProvider=null,this.resetValue=()=>{this.value("")},this.title=w.pureComputed({read:()=>{var e=this._title();return Object(m.c)(e.text,e.localizationId)},write:e=>{this._title({text:e})}}),this.value=e,this.path=t||w.observable(""),this.disabled=i||w.observable(!1);e=Xn();this.helper=new e,this._title=w.observable(r||{text:Object(m.c)("Filter Editor","DataAccessUIStringId.FiltersView")})}}class Ao extends wo{constructor(){super(...arguments),this.realTimeUpdate=!0,this.advancedModePosition="TopRight"}}class Eo extends d.a{constructor(t,e,i,r,s,a,n){super(),this._isDisabled=w.observable(!1),this._timeout=null,this.currentType=w.observable(),this.patternList=w.observableArray([]),this.canAddCustomFormat=w.observable(!1),this.formatPrefix=w.observable(""),this.formatSuffix=w.observable(""),this.previewString=w.observable("Preview string"),this.formatResult=w.observable(""),this.selectedFormats=w.observable([]),this.selectedTypes=w.observable([]),this.popupVisible=w.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",t),this.option("disabled",e||!1),this.option("rtl",a||!1),this.option("popupContainer",n||".dx-designer-viewport");const o=this;this.popupService=new xs,this._standardPatternSource=i||eo,this._customPatternSource=r||{},this.types=this._convertArray(Object.keys(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(e=>{e&&(o._initEditor(t()),o.selectedTypes(o.types.filter(e=>e.name===o.currentType())))})),this._createMainPopupButtons(),s&&s.updatePreview&&(this.updatePreview=s.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(),s&&s.saveCustomPattern(o.currentType(),o.formatResult()),o._updateSelection(o.patternList().length-1),o.canAddCustomFormat(!1))},this.removeCustomFormat=e=>{const t=o.selectedFormats()[0];var i=o.patternList(),r=i.map(e=>e.name).indexOf(e.name);o.customPatterns.splice(o.customPatterns.indexOf(e.name),1),o._updateFormatList(),s&&s.removeCustomPattern(o.currentType(),e.name),t.name===e.name?o._updateSelection(r===i.length-1?o.patternList().length-1:r):o.selectedFormats(o.patternList().filter(e=>e.name===t.name))}}okAction(){var 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:Object(m.c)("OK",va.DataAccessBtnOK),type:"default",stylingMode:"contained",disabled:this._isDisabled,onClick:function(){e.okAction()}}},{toolbar:"bottom",location:"after",widget:"dxButton",options:{text:Object(m.c)("Cancel",va.DataAccessBtnCancel),type:"normal",stylingMode:"contained",onClick:function(){e.popupVisible(!1)}}}]}_convertArray(e,t){return e.map(e=>({name:e,displayName:Object(m.c)(e),canRemove:!!t}))}_scrollToBottom(){var e=_.fn.constructor(".dx-format-string .dx-format-string-formats").find(".dx-scrollview").filter(":visible"),e=Ii.a.getInstance(e.get(0));e&&e.scrollTo&&e.scrollTo(e.scrollHeight())}_updateFormatList(){this.selectedFormats([]);var e=this._standardPatternSource[this.currentType()];this.patternList(this._convertArray(e.patterns).concat(this._convertArray(this.customPatterns,!0)))}_updateSelection(e){e=this.patternList()[e||0];e&&(this.selectedFormats([e]),this.formatResult(e.name))}_setPreviewString(e){this.previewString(e),this._isDisabled(!1)}_setErrorMessage(e){this.previewString(Object(m.c)("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text")),this._isDisabled(e)}_updatePreview(){this._timeout&&clearTimeout(this._timeout),this._timeout=setTimeout(()=>{if(this.isGeneralType)this.previewString(this._getGeneralPreview(void 0));else{var e=this._standardPatternSource[this.currentType()];const t=this.updatePreview(e.value,e.type,this._wrapFormat());(this._lastUpdatePreviewPromise=t).done(e=>{this._lastUpdatePreviewPromise===t&&(e.Result?this._setPreviewString(e.Result):this._setErrorMessage(e.IsError))}).fail(e=>{this._lastUpdatePreviewPromise===t&&this.previewString(Object(m.c)("Preview string is not available","AnalyticsCoreStringId.FormatStringEditor_PreviewNotAvailable_Text"))})}},100)}_getGeneralPreview(e="###"){return this.formatPrefix()+e+this.formatSuffix()}_wrapFormat(e){e=e||this.formatResult();return e&&-1!==e.indexOf("{0:")?e:e?"{0:"+e+"}":""}_updateCanAddCustomFormat(i){if(i){let t=!0;Object.keys(this._standardPatternSource).some(e=>!(t=-1===this._standardPatternSource[e].patterns.indexOf(i))),this.canAddCustomFormat(t&&-1===this.customPatterns.indexOf(i))}else this.canAddCustomFormat(!1)}_initEditor(i){if(i)if(-1!==i.indexOf("{0}"))this.currentType("General"),this.formatPrefix(i.substring(0,i.indexOf("{0}"))),this.formatSuffix(i.substring(i.indexOf("{0}")+3));else{const r=i.indexOf("{0:"),s=i.indexOf("}",r),a=i.substring(r+3,s);let t;const n=e=>{this.currentType(e),0===r&&s===i.length-1&&(this.selectedFormats(this.patternList().filter(e=>e.name===a)),this.formatResult(a),t=!0)};Object.keys(this._standardPatternSource).some(e=>{var t;return-1!==this._standardPatternSource[e].patterns.indexOf(a)?(n(e),!0):!(!(t=this._customPatternSource[this._standardPatternSource[e].type])||-1===t.indexOf(a)||(n(e),0))}),t||(this.currentType(this.types[0].name),this.selectedFormats([]),this.formatResult(i))}else this.setType({itemData:this.types[0]})}updateInputText(e,t){this[e](t.option("text"))}option(e,t){return void 0!==t&&(w.isObservable(this[e])?this[e](t):this[e]=t),w.unwrap(this[e])}updatePreview(e,t,i){return _.Deferred().resolve({Result:e||"preview string"}).promise()}get customPatterns(){var e=this._standardPatternSource[this.currentType()];return this._customPatternSource[e.type]=this._customPatternSource[e.type]||[]}get isGeneralType(){return"General"===this.currentType()}getDisplayText(e){return Object(m.c)(this.localizationIdMap[e].text,this.localizationIdMap[e].localizationId)}getPopupContainer(e){return _.fn.constructor(e).closest(this.option("popupContainer"))}}w.bindingHandlers.dxFormatEditor={init:function(e,t){_.fn.constructor(e).children().remove(),_.fn.constructor(e).addClass("dx-popup-general");var i=g("dx-format-string"),i=_.fn.constructor(e).append(i),t=t();const r=new Eo(t.value,t.disabled,t.standardPatterns,t.customPatterns,t.actions,t.rtl,t.popupContainer);return w.applyBindings(r,i.children()[0]),Object(C.c)(e,function(){r.dispose()}),{controlsDescendantBindings:!0}}};class Io extends k{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a)}_checkBoxInitializedHandler(e){const t=e.jquery||e.dxRenderer?e[0]:e;e=null==(e=null===t||void 0===t?void 0:t.closest(".dx-field"))?void 0:e.getElementsByTagName("label");const i=Array.from(e).filter(e=>e.getAttribute("for")===this.editorInputId)[0];if(i){const r="click",s=()=>t.dispatchEvent(new Event(r));i.addEventListener(r,s),Object(C.c)(i,()=>i.removeEventListener(r,s))}}getOptions(e){var t=this._get("info","peek").editor.extendedOptions,i={onInitialized:e=>this._checkBoxInitializedHandler(e.element)};return Object(_.extend)(!0,{},e,this.editorOptions,t,i)}}class So extends k{constructor(e,t,i,r,s,a){super(e,t,i,r,s,a),this.addDisposable(this.createComputedProperty("displayValue",{read:()=>{var e,t=this._get("value");if(t)return t&&"transparent"===t.toLowerCase()?"rgba(0,0,0,0)":/^rgba\s*\((\s*[a-f\d]+\s*,){3}\s*[a-f\d]+\s*\)$/i.test(t)?t:((e=document.createElement("div")).style.backgroundColor=t,e.style.backgroundColor||"rgba(0,0,0,1)")},write:e=>{this._set("value",e)}},[Object(p.h)(this,["value"])]))}createViewModel(){var e=y(super.createViewModel()).generateProperty("displayValue",this.unwrap(this.displayValue)).getViewModel();return this.subscribeOnChanges(e,["displayValue"]),e}}class To extends k{constructor(e,t,i,r){super(e,t,i,r),this.path=w.pureComputed(()=>{var e=this._get("_model");return e&&e.getPath&&e.getPath(this.name)||""}),this.treeListController=new Pn,this._disposables.push(this.path),this._disposables.push(this.treeListController)}createViewModel(){var e=y(super.createViewModel()).generateProperty("path",w.unwrap(this.path)).generateProperty("treeListController",this.treeListController).generateProperty("getPath",()=>w.unwrap(this.path)).generateProperty("getDataMember",()=>w.unwrap(this.value)).getViewModel();return this.subscribeOnChanges(e,["path"]),e}}class $o extends To{constructor(e,t,i,r){super(e,t,i,r),this.treeListController=new un,this._disposables.push(this.treeListController)}}let Po=!1;let ko=!1;ko||(ko=!0,h.registerEditors({bool:{header:"dx-boolean",editorType:Io},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:ms}})),h.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:fo},inplaceObjectEditor:{custom:"dx-objectEditorContent",editorType:fs}}),Po||(Po=!0,h.registerEditors({guid:{header:"dxrd-guid",editorType:co},date:{header:"dx-date",editorType:hn},customColorEditor:{header:"dxrd-colorpicker",editorType:So},sbyte:gn("System.SByte","integer"),decimal:gn("System.Decimal","float"),int64:gn("System.Int64","integer"),int32:gn("System.Int32","integer"),int16:gn("System.Int16","integer"),single:gn("System.Single","float"),double:gn("System.Double","float"),byte:gn("System.Byte","integer"),uint16:gn("System.UInt16","integer"),uint32:gn("System.UInt32","integer"),uint64:gn("System.UInt64","integer")})),h.registerEditors({borders:{header:"dxrd-borders"},textAlignment:{header:"dxrd-textalignment"},objecteditorCustom:{custom:"dxrd-objectEditorContent",editorType:ms},field:{header:"dxrd-field",editorType:To},dataMember:{header:"dxrd-field",editorType:$o},filterEditor:{header:"dxrd-filterstring"},formatEditor:{header:"dxrd-formatstring"},expressionEditor:{header:"dxrd-expressionstring"}});l=t(61);class Do extends d.a{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)._context&&Us(e,this,i,this._context.measureUnit,this._context.zoom,e=>{this._disposables.push(e)}),this._x=this._x||w.observable(0),this._y=this._y||w.observable(0),this._width=this._width||w.observable(0),this._height=this._height||w.observable(0);t=w.pureComputed(()=>this.container());this._disposables.push(t),this._container=t(),this._disposables.push(t.subscribe(e=>{var t;this._container!==e&&this.rtlLayout()?(t=this._getX(),this._container=e,this._setX(t)):this._container=e}));const r=w.computed({read:()=>this._getX(),write:e=>{this._setX(e)}}),s=this._y,a=this._width,n=this._height,o=(this.position={top:s,left:r,width:a,height:n,lineHeight:n},this._disposables.push(r),w.observable());this._disposables.push(w.computed(()=>{this._control.update()||o({top:s(),left:r(),right:r()+a(),bottom:s()+n(),width:a(),height:n()})})),this._disposables.push(this.rect=w.pureComputed({read:()=>o(),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&&s(e.top),void 0!==e.right&&void 0===e.left&&void 0===e.width&&a(e.right-r()),void 0!==e.bottom&&void 0===e.top&&n(e.bottom-s()),void 0!==e.right&&void 0!==e.left&&void 0===e.width&&a(e.right-e.left),void 0!==e.bottom&&void 0!==e.top&&n(e.bottom-e.top),void 0!==e.width&&a(e.width),void 0!==e.height&&n(e.height)}finally{this._control.update(!1)}}}))}_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){}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!!w.unwrap(this._context.rtl)}getControlModel(){return this._control}}class Fo extends Do{constructor(e,t,i){if(super(e,t,i),this._countSelectedChildren=w.observable(0),this.focused=w.observable(!1),this.selected=w.observable(!1),this.underCursor=w.observable(new ai),this.allowMultiselect=!0,this.absolutePosition=new Pr(0,0),this.getControlModel=()=>e,this.cssCalculator=new Zt(e,t.rtl),this._getChildrenHolderName()&&e[this._getChildrenHolderName()]){const r=w.observableArray();"controls"===this._getChildrenHolderName()?this._disposables.push(br(e[this._getChildrenHolderName()],r,this._createSurface)):this._disposables.push(yr(e[this._getChildrenHolderName()],r,this._createSurface)),this[this._getChildrenHolderName()]=r,this._disposables.push(this.isSelected=w.pureComputed(()=>!(!this.focused()&&!this.selected())||r().some(e=>e.isSelected())))}else this._disposables.push(this.isSelected=w.pureComputed(()=>this.focused()||this.selected()));this._disposables.push(this.css=w.pureComputed(()=>Object(v.b)({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.backGroundCss(),this.cssCalculator.textAlignmentCss()))),this._disposables.push(this.contentCss=w.pureComputed(()=>Object(v.b)({},this.cssCalculator.fontCss(),this.cssCalculator.foreColorCss(),this.cssCalculator.textAlignmentCss(),this.cssCalculator.angle(),this.cssCalculator.wordWrapCss(),this.cssCalculator.paddingsCss()))),this._disposables.push(w.computed(()=>{this.updateAbsolutePosition()})),this._disposables.push(this.absoluteRect=w.pureComputed(()=>{var 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()]||w.observableArray([])}updateAbsolutePosition(){var e,t;this.parent&&this.parent.absolutePosition?(e=this.parent.absolutePosition.x(),t=this.parent.absolutePosition.y(),e=e+this.rect().left,t=t+this.rect().top,this.absolutePosition.x(e),this.absolutePosition.y(t)):(this.absolutePosition.x(0),this.absolutePosition.y(0)),this.afterUpdateAbsolutePosition()}canDrop(){return!this.locked&&this._control.getMetaData().isContainer}afterUpdateAbsolutePosition(){}findNextSelection(){var e,t=this.parent;let i=t;return t&&(-1===(e=(t=t.getChildrenCollection()()).indexOf(this))&&0<t.length?i=t[t.length-1]:1<t.length&&e===t.length-1?i=t[e-1]:1<t.length&&0===e||1<t.length?i=t[t.length-1]:-1===e&&i.parent&&-1===i.parent.getChildrenCollection()().indexOf(i)&&(i=i.findNextSelection())),i}}class Oo{constructor(e,t,i,r){this.bottom=w.observable(r),this.left=w.observable(e),this.right=w.observable(t),this.top=w.observable(i)}getInfo(){return Lt}isEmpty(){return this.toString()===Oo.defaultVal}static fromString(e=Oo.defaultVal){e=e.split(",");return new Oo(parseFloat(e[0]),parseFloat(e[1]),parseFloat(e[2]),parseFloat(e[3]))}toString(){return this.left()+", "+this.right()+", "+this.top()+", "+this.bottom()}}Oo.defaultVal="100, 100, 100, 100",Oo.unitProperties=["left","right"];class Bo extends d.a{preInitProperties(e,t,i){}constructor(e,t,i){super(),this.preInitProperties(e,t,i),i&&(this.getInfo=()=>i),(t=t||new or).deserialize(this,e,i)}getInfo(){return null}}function Mo(e,t){return e.height===t.height&&e.width===t.width}function No(e){Object(u.f)(e)}function Vo(n){n.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){var r=n.require("ace/lib/oop"),s=n.require("ace/mode/text_highlight_rules").TextHighlightRules;let a=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},a.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};r.inherits(a,s),a.getTagRule=function(e){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},a.getStartRule=function(e){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:e}},a.getEndRule=function(e){return{token:"comment.doc",regex:"\\*\\/",next:e}},t.DocCommentHighlightRules=a})}function zo(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 Lo(e){return e&&-1!==e.indexOf("/")?e.split("/").pop():qr()?"ambiance":"dreamweaver"}function Ho(o){o.define("ace/mode/criteria",["require","exports","module","ace/lib/oop","ace/mode/text"],function(e,t,i){var r=o.require("ace/lib/oop"),s=o.require("ace/mode/text").Mode;const a=o.require("ace/mode/criteria_highlight_rules").CriteriaHighlightRules;function n(){this.HighlightRules=a}r.inherits(n,s),t.Mode=n}),o.define("ace/mode/criteria_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,i){var r=o.require("ace/lib/oop"),s=o.require("ace/mode/text_highlight_rules").TextHighlightRules;const a=o.require("ace/mode/doc_comment_highlight_rules").DocCommentHighlightRules;function n(){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(a,"doc-",[a.getEndRule("start")]),this.normalizeRules()}r.inherits(n,s),t.CriteriaHighlightRules=n})}var E=t(62),Ro=t.n(E),E=t(63),jo=t.n(E),E=t(64),Wo=t.n(E),E=t(65),Go=t.n(E),Uo=function(e,n,o,d){return new(o=o||Promise)(function(i,t){function r(e){try{a(d.next(e))}catch(e){t(e)}}function s(e){try{a(d.throw(e))}catch(e){t(e)}}function a(e){var t;e.done?i(e.value):((t=e.value)instanceof o?t:new o(function(e){e(t)})).then(r,s)}a((d=d.apply(e,n||[])).next())})};let qo=!1;function Ko(e){if(!qo){Vo(e),Ho(e),zo(e);try{e.config.set("useStrictCSP",!0)}catch(e){console.warn("Update 'ace' version to 1.4.13")}"setModuleLoader"in e.config&&(e.config.setModuleLoader("./theme/textmate",()=>Uo(this,void 0,void 0,function*(){return e.require("./theme/textmate")})),e.config.setModuleLoader("ace/mode/criteria",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/criteria")})),e.config.setModuleLoader("ace/mode/sql",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/sql")})),e.config.setModuleLoader("ace/mode/text",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/text")})),e.config.setModuleLoader("ace/mode/json",()=>Uo(this,void 0,void 0,function*(){return e.require("ace/mode/json")}))),!window.ace&&Tn()&&(e.config.setModuleUrl("ace/ext/language_tools",Ro.a),e.config.setModuleUrl("ace/mode/sql",Wo.a),e.config.setModuleUrl("ace/mode/text",Go.a),e.config.setModuleUrl("ace/mode/json",jo.a))}qo=!0}w.bindingHandlers.dxAceEditor={init:function(a,n,e,o,d){var l=Sn.a||window.ace;Ko(l);const u=n(),c=u.value,t=u.editorContainer;let p,h=!0;const g=(e,t)=>{h=!1,e.getSession().setValue(t&&t.toString()||""),e.clearSelection(),e.getSession().getUndoManager().reset(),h=!0};if(l){n=null==u.options.showGutter||u.options.showGutter;const v=u.additionalOptions;var m=l.require("ace/ext/language_tools"),f="ace/theme/"+Lo(u.theme),l=((p=l.edit(a,{theme:f})).$blockScrolling=1/0,o.languageHelper.getLanguageMode());const x=p.getSession();x.gutterRenderer={getWidth:(e,t,i)=>t.toString().length*i.characterWidth,getText:(e,t)=>t+1},x.setMode(l);let e=()=>{p.completer&&p.completer.popup&&p.completer.popup.hide()},i,t,r;if(v){if(v.onChange){let t=null;i=e=>{null!==t&&clearTimeout(t),h&&(t=setTimeout(()=>{c()===x.getValue()&&!(x.getAnnotations()||[]).some(e=>"error"===e.type)||v.onChange(x)},v&&v.changeTimeout||1e3))},x.on("change",i)}v.overrideEditorFocus&&(p.focus=function(e,t){p.textInput.getElement().focus()}),v.onFocus&&(t=()=>{v.onFocus(x)},p.on("focus",t)),v.onBlur&&(e=()=>(p.completer&&p.completer.popup&&p.completer.popup.hide(),v.onBlur(x))),v.onChangeAnnotation&&(r=(e,t)=>{v.onChangeAnnotation(t)},x.on("changeAnnotation",r))}p.on("blur",e);const b=o.languageHelper.createCompleters(p,d,o),y=(m.setCompleters(b),p.setOptions(Object.assign({autoScrollEditorIntoView:!1},u.options)),v&&"setUseWrapMode"in v&&p.getSession().setUseWrapMode(v.setUseWrapMode),n||p.renderer.setShowGutter(n),p.renderer.$gutter&&(f=p.renderer.$gutter.className+" dxd-border-primary dxd-text-primary dxd-back-primary",p.renderer.$gutter.className=f),p._defaultHandlers.guttermousemove);p._defaultHandlers.guttermousemove=function(e){var t=a.getBoundingClientRect();e.x=e.x-t.left,e.y=e.y-t.top,y(e)};let s;w.isSubscribable(c)&&(s=c.subscribe(e=>{e!==x.getValue()&&g(p,e),v&&v.onValueChange&&v.onValueChange(p)})),g(p,w.unwrap(c)),u.callbacks&&(u.callbacks.focus=()=>{setTimeout(()=>{p.textInput.getElement().focus()},10)}),Object(C.c)(a,function(){p.completers&&p.completers.splice(0),p._defaultHandlers.guttermousemove=y,s.dispose(),u.callbacks&&(u.callbacks.focus=_.noop),b.forEach(e=>e.dispose&&e.dispose()),e&&p.off("blur",e),t&&p.off("focus",t),i&&x.off("change",i),r&&x.off("changeAnnotation",r),p.destroy()})}w.isObservable(t)&&t(p)}},B("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()}}}}),B("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()}}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("with: value",function(e,t){return{with:function(){return e.$data.value}}}),B("dxBorderEditor: { value: value, disabled: disabled }",function(e,t){return{dxBorderEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}}),B("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}}}}}),B("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()})}}}),B("if: value",function(e,t){return{if:function(){return e.$data.value}}}),B("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}}}}}),B("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}}}}),B("if: visible",function(e,t){return{if:function(){return e.$data.visible}}}),B("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",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()}}}}),B("dxFilterEditor: { options: value, fieldListProvider: $root.dataBindingsGroupProvider, getDisplayNameByPath: $root.getDisplayNameByPath, displayNameProvider: $root.displayNameProvider && $root.displayNameProvider() }",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()}}}}),B("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}}}}),B("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||[]}}}}),B("template: { name: 'dx-propertieseditor', data: viewmodel }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.viewmodel}}}}),B("template: { name: 'dx-propertieseditor', data: getProperties() }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:e.$data.getProperties()}}}}),B("if: $data.visible() && editorCreated",function(e,t){return{if:function(){return e.$data.visible()&&e.$data.editorCreated}}}),B("dxTextAlignmentEditor: { value: value, disabled: disabled }",function(e,t){return{dxTextAlignmentEditor:function(){return{value:e.$data.value,disabled:e.$data.disabled}}}}),B("treelist: options",function(e,t){return{treelist:function(){return e.$data.options}}}),B("if: options",function(e,t){return{if:function(){return e.$data.options}}}),B("style: { transform: snapLineSurfaces[0].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[0].transform()}}}}),B("style: { transform: snapLineSurfaces[1].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[1].transform()}}}}),B("style: { transform: snapLineSurfaces[2].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[2].transform()}}}}),B("style: { transform: snapLineSurfaces[3].transform() }",function(e,t){return{style:function(){return{transform:e.$data.snapLineSurfaces[3].transform()}}}}),B("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(i,e){return{css:function(){return{"dxrd-context-menu-container":i.$data.selected()}},template:function(){return i.$data.templateName},click:function(){return function(e,t){i.$data.clickHandler(i.$root.selection,t)}},event:function(){return i.$root.ContextMenusEnabled&&i.$root.ContextMenusEnabled()?{contextmenu:function(e,t){i.$data.reportContextMenuHandler&&i.$data.reportContextMenuHandler(i.$root.selection,t)}}:null}}}),B("cssArray: [surfaceClass($element), { 'dx-accessibility': $data.accessibilityCompliant } ]",function(e,t){return{cssArray:function(){return[e.$data.surfaceClass(t),{"dx-accessibility":e.$data.accessibilityCompliant}]}}}),B("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}]}}}),B("ifnot: isLoading",function(e,t){return{ifnot:function(){return e.$data.isLoading}}}),B("with: surface",function(e,t){return{with:function(){return e.$data.surface}}}),B("if: isLoading",function(e,t){return{if:function(){return e.$data.isLoading}}}),B("foreach: parts",function(e,t){return{foreach:function(){return e.$data.parts}}}),B("template: { name: templateName, data: viewModel || model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.viewModel||e.$data.model}}}}),B("if: ($data.addOns)",function(e,t){return{if:function(){return e.$data.addOns}}}),B("foreach: addOns",function(e,t){return{foreach:function(){return e.$data.addOns}}}),B("template: { name: templateName, data: model }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.model}}}}),B("text: verticalString",function(e,t){return{text:function(){return e.$data.verticalString}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("text: horizontalString",function(e,t){return{text:function(){return e.$data.horizontalString}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("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")}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("if: $data.contentTemplate",function(e,t){return{if:function(){return e.$data.contentTemplate}}}),B("template: contentTemplate",function(e,t){return{template:function(){return e.$data.contentTemplate}}}),B("if: !$data.contentTemplate",function(e,t){return{if:function(){return!e.$data.contentTemplate}}}),B("foreach: actions",function(e,t){return{foreach:function(){return e.$data.actions}}}),B("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}}}}),B("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}}}),B("template: { name: $data.template, data: $data.data }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.data}}}}),B("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)}}}}),B("text: text, attr: { title: text }",function(e,t){return{text:function(){return e.$data.text},attr:function(){return{title:e.$data.text}}}}),B("foreach: $data.controls()",function(e,t){return{foreach:function(){return e.$data.controls()}}}),B("with: $parent.customData()",function(e,t){return{with:function(){return e.$parent.customData()}}}),B("dxclick: function(e) { if(stopPropagation) { stopPropagation = false; } else { toggleAppMenu() } }, template: 'dxrd-svg-menu-menu', css: {'dxd-state-active': appMenuVisible }",function(t,e){return{dxclick:function(){return function(e){t.$data.stopPropagation?t.$data.stopPropagation=!1:t.$data.toggleAppMenu()}},template:function(){return"dxrd-svg-menu-menu"},css:function(){return{"dxd-state-active":t.$data.appMenuVisible}}}}),B("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(r,e){return{dxPopup:function(){return{width:250,wrapperAttr:{class:"dxd-menu-back-color dxd-back-primary2"},height:"100%",position:r.$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:r.$data.getMenuPopupContainer(e),target:r.$data.getMenuPopupTarget(e),animation:{},hideOnOutsideClick:function(e){var t="dxrd-menu-button-image",i=e.target.parentNode&&e.target.parentNode.parentNode&&e.target.parentNode.parentNode.classList;return r.$data.stopPropagation=e.target.classList&&e.target.classList.contains(t)||i&&i.contains(t),!0},shading:!1,focusStateEnabled:!1,visible:r.$data.appMenuVisible}}}}),B("dxclick: function(e) { if(disabled && !disabled() || !disabled) { $root.toggleAppMenu(); clickAction($root.model(), e); }}, css: { 'dxrd-disabled-button': disabled }, visible: visible",function(t,e){return{dxclick:function(){return function(e){(!t.$data.disabled||t.$data.disabled())&&t.$data.disabled||(t.$root.toggleAppMenu(),t.$data.clickAction(t.$root.model(),e))}},css:function(){return{"dxrd-disabled-button":t.$data.disabled}},visible:function(){return t.$data.visible}}}),B("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}}}}),B("visible: $data.hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),B("foreach: actionLists.menuItems",function(e,t){return{foreach:function(){return e.$data.actionLists.menuItems}}}),B("dxdAccordion: { collapsed: collapsed }",function(e,t){return{dxdAccordion:function(){return{collapsed:e.$data.collapsed}}}}),B("css: { 'dxrd-group-header-collapsed': collapsed() }",function(e,t){return{css:function(){return{"dxrd-group-header-collapsed":e.$data.collapsed()}}}}),B("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()}}}}),B("text: $root.actionsGroupTitle()",function(e,t){return{text:function(){return e.$root.actionsGroupTitle()}}}),B("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)}}}),B("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}}}}),B("template: { name: 'dx-propertieseditor', data: { editors: $root.popularVisibleEditors(), rtl: rtl } }",function(e,t){return{template:function(){return{name:"dx-propertieseditor",data:{editors:e.$root.popularVisibleEditors(),rtl:e.$data.rtl}}}}}),B("visible: items.some(x => !x.visible || ko.unwrap(x.visible))",function(t,e){return{visible:function(){return t.$data.items.some(e=>!e.visible||t.ko.unwrap(e.visible))}}}),B("text: group",function(e,t){return{text:function(){return e.$data.group}}}),B("if: popularVisible",function(e,t){return{if:function(){return e.$data.popularVisible}}}),B("foreach: (contextActions || [])",function(e,t){return{foreach:function(){return e.$data.contextActions||[]}}}),B("if: $data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return e.$data.templateName&&!e.$data.isContextMenuAction}}}),B("template: templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),B("if: !$data.templateName && !isContextMenuAction",function(e,t){return{if:function(){return!e.$data.templateName&&!e.$data.isContextMenuAction}}}),B("with: popularProperties",function(e,t){return{with:function(){return e.$data.popularProperties}}}),B("if: $root.ShowControlActions()",function(e,t){return{if:function(){return e.$root.ShowControlActions()}}}),B("foreach: (groupActions || [])",function(e,t){return{foreach:function(){return e.$data.groupActions||[]}}}),B("foreach: (items || [])",function(e,t){return{foreach:function(){return e.$data.items||[]}}}),B("template: { name: $data.templateName, if: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName,if:e.$data.templateName}}}}),B("if: !$data.templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),B("css: { 'dx-property-grid-search-collapsed': !isSearching() }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":!e.$data.isSearching()}}}}),B("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")}}}}),B("dxTextBox: { value: textToSearch, valueChangeEvent: 'keyup', placeholder: searchPlaceholder(), showClearButton: true }, cacheElement: { action: function(element) { searchBox(element); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.textToSearch,valueChangeEvent:"keyup",placeholder:t.$data.searchPlaceholder(),showClearButton:!0}},cacheElement:function(){return{action:function(e){t.$data.searchBox(e)}}}}}),B("visible: active && visible",function(e,t){return{visible:function(){return e.$data.active&&e.$data.visible}}}),B("text: text",function(e,t){return{text:function(){return e.$data.text}}}),B("css: { 'dx-property-grid-search-collapsed': isSearching }",function(e,t){return{css:function(){return{"dx-property-grid-search-collapsed":e.$data.isSearching}}}}),B("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}}}}),B("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"}}}}),B("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"}}}}),B("dxScrollView: { showScrollbar: 'onHover', useNative: false, scrollByThumb: true }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",useNative:!1,scrollByThumb:!0}}}}),B("visible: isSortingByGroups",function(e,t){return{visible:function(){return e.$data.isSortingByGroups}}}),B("visible: visible",function(e,t){return{visible:function(){return e.$data.visible}}}),B("text: displayName()",function(e,t){return{text:function(){return e.$data.displayName()}}}),B("dxLoadIndicator: { visible: !editorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.editorsCreated()}}}}),B("visible: editorsCreated",function(e,t){return{visible:function(){return e.$data.editorsCreated}}}),B("visible: !isSortingByGroups()",function(e,t){return{visible:function(){return!e.$data.isSortingByGroups()}}}),B("dxLoadIndicator: { visible: !allEditorsCreated() }",function(e,t){return{dxLoadIndicator:function(){return{visible:!e.$data.allEditorsCreated()}}}}),B("visible: allEditorsCreated",function(e,t){return{visible:function(){return e.$data.allEditorsCreated}}}),B("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}}}}),B("text: popupService.title, visible: popupService.title",function(e,t){return{text:function(){return e.$data.popupService.title},visible:function(){return e.$data.popupService.title}}}),B("dxMenu: { wrapperAttr: { class: 'dxd-button-back-color' }, disabled: popupService.disabled, dataSource: popupService.actions, displayExpr: 'title', cssClass: 'dxrd-editor-menu', orientation: 'vertical', showFirstSubmenuMode: 'onHover', onSubmenuShowing: function(e) { e.submenu._overlay.option('container', $root.getPopupContainer($element)) } }",function(t,i){return{dxMenu:function(){return{wrapperAttr:{class:"dxd-button-back-color"},disabled:t.$data.popupService.disabled,dataSource:t.$data.popupService.actions,displayExpr:"title",cssClass:"dxrd-editor-menu",orientation:"vertical",showFirstSubmenuMode:"onHover",onSubmenuShowing:function(e){e.submenu._overlay.option("container",t.$root.getPopupContainer(i))}}}}}),B("dxclick: action",function(e,t){return{dxclick:function(){return e.$data.action}}}),B("attr: { title: title }, text: title",function(e,t){return{attr:function(){return{title:e.$data.title}},text:function(){return e.$data.title}}}),B("visible: $data.items && $data.items.length",function(e,t){return{visible:function(){return e.$data.items&&e.$data.items.length}}}),B("if: $data.innerTemplate",function(e,t){return{if:function(){return e.$data.innerTemplate}}}),B("template: $data.innerTemplate",function(e,t){return{template:function(){return e.$data.innerTemplate}}}),B("with: model",function(e,t){return{with:function(){return e.$data.model}}}),B("if: $root.controlsStore.visible()",function(e,t){return{if:function(){return e.$root.controlsStore.visible()}}}),B("template: 'dx-propertygrid-searchbox'",function(e,t){return{template:function(){return"dx-propertygrid-searchbox"}}}),B("template: { name: 'dxrd-group-actions', data: { groupActions: $root.contextGroupActions } }",function(e,t){return{template:function(){return{name:"dxrd-group-actions",data:{groupActions:e.$root.contextGroupActions}}}}}),B("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}}}}}),B("foreach: groups",function(e,t){return{foreach:function(){return e.$data.groups}}}),B("ifnot: editorsCreated",function(e,t){return{ifnot:function(){return e.$data.editorsCreated}}}),B("if: $data.editorsRendered()",function(e,t){return{if:function(){return e.$data.editorsRendered()}}}),B("foreach: editors",function(e,t){return{foreach:function(){return e.$data.editors}}}),B("template: editorTemplate",function(e,t){return{template:function(){return e.$data.editorTemplate}}}),B("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)}}}),B("foreach: $data.getEditors()",function(e,t){return{foreach:function(){return e.$data.getEditors()}}}),B("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)}}}),B("template: 'dx-propertygrid-popupservice'",function(e,t){return{template:function(){return"dx-propertygrid-popupservice"}}}),B("if: $data.itemTemplate",function(e,t){return{if:function(){return e.$data.itemTemplate}}}),B("template: $data.itemTemplate",function(e,t){return{template:function(){return e.$data.itemTemplate}}}),B("ifnot: $data.itemTemplate",function(e,t){return{ifnot:function(){return e.$data.itemTemplate}}}),B("dxTemplate: { name: 'content' }",function(){return{dxTemplate:{name:"content"}}}),B("dxTemplate: { name: 'item' }",function(){return{dxTemplate:{name:"item"}}}),B("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))}}}),B("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}}}),B("css: tabsElement.class",function(e,t){return{css:function(){return e.$data.tabsElement.class}}}),B("dxAction: { action: function(s) { $data.click(); }}, css: css.class, attr: { title: text, 'aria-label': text, 'aria-expanded': active }, visible: visible",function(t,e){return{dxAction:function(){return{action:function(e){t.$data.click()}}},css:function(){return t.$data.css.class},attr:function(){return{title:t.$data.text,"aria-label":t.$data.text,"aria-expanded":t.$data.active}},visible:function(){return t.$data.visible}}}),B("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)}}}}),B("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)}}}),B("with: tabPanel.getViewModel()",function(e,t){return{with:function(){return e.$data.tabPanel.getViewModel()}}}),B("foreach: tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),B("lazy: { template: $data.template }",function(e,t){return{lazy:function(){return{template:e.$data.template}}}}),B("foreach: $data.tabs",function(e,t){return{foreach:function(){return e.$data.tabs}}}),B("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}}}}),B("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}}}}),B("visible: visible, css: actionClass",function(e,t){return{visible:function(){return e.$data.visible},css:function(){return e.$data.actionClass}}}),B("attr: block.attr",function(e,t){return{attr:function(){return e.$data.block.attr}}}),B("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}}}),B("visible: hasSeparator",function(e,t){return{visible:function(){return e.$data.hasSeparator}}}),B("foreach: $data",function(e,t){return{foreach:function(){return e.$data}}}),B("if: templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),B("template: { name: templateName, data: contentData || $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data.contentData||e.$data}}}}),B("if: !templateName",function(e,t){return{if:function(){return!e.$data.templateName}}}),B("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}}}}),B("attr: { title: displayName }",function(e,t){return{attr:function(){return{title:e.$data.displayName}}}}),B("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}}}),B("foreach: toolboxItems",function(e,t){return{foreach:function(){return e.$data.toolboxItems}}}),B("foreach: groupedToolboxItems",function(e,t){return{foreach:function(){return e.$data.groupedToolboxItems}}}),B("foreach: items",function(e,t){return{foreach:function(){return e.$data.items}}}),B("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}}}}),B("dxclick: function(_, element) { showPopup(_, element) }, css: editorMenuButtonCss, attr: { title: hint }",function(i,e){return{dxclick:function(){return function(e,t){i.$data.showPopup(e,t)}},css:function(){return i.$data.editorMenuButtonCss},attr:function(){return{title:i.$data.hint}}}}),B("dxclick: function(_, element) { showPopup(_, element) }, attr: { title: hint }, css: editorMenuButtonCss",function(i,e){return{dxclick:function(){return function(e,t){i.$data.showPopup(e,t)}},attr:function(){return{title:i.$data.hint}},css:function(){return i.$data.editorMenuButtonCss}}}),B("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)}}}}),B("if: $data.visible",function(e,t){return{if:function(){return e.$data.visible}}}),B("if: $data.templateName",function(e,t){return{if:function(){return e.$data.templateName}}}),B("template: $data.templateName",function(e,t){return{template:function(){return e.$data.templateName}}}),B("ifnot: $data.templateName",function(e,t){return{ifnot:function(){return e.$data.templateName}}}),B("if: !ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return!e.ko.unwrap(e.$data.imageTemplateName)}}}),B("if: ko.unwrap($data.imageTemplateName)",function(e,t){return{if:function(){return e.ko.unwrap(e.$data.imageTemplateName)}}}),B("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}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("styleunit: { 'paddingLeft': padding }",function(e,t){return{styleunit:function(){return{paddingLeft:e.$data.padding}}}}),B("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}}}}),B("text: displayName, attr: { title: displayName }",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName}}}}),B("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}}}}),B("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)}}}}}),B("text: emptyAreaText",function(e,t){return{text:function(){return e.$data.emptyAreaText}}}),B("foreach: values",function(e,t){return{foreach:function(){return e.$data.values}}}),B("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}}}}),B("if: showButtons",function(e,t){return{if:function(){return e.$data.showButtons}}}),B("with: buttons",function(e,t){return{with:function(){return e.$data.buttons}}}),B("if: up.visible",function(e,t){return{if:function(){return e.$data.up.visible}}}),B("if: down.visible",function(e,t){return{if:function(){return e.$data.down.visible}}}),B("if: add.visible",function(e,t){return{if:function(){return e.$data.add.visible}}}),B("if: delete.visible",function(e,t){return{if:function(){return e.$data.delete.visible}}}),B("if: displayName",function(e,t){return{if:function(){return e.$data.displayName}}}),B("if: values.length === 0",function(e,t){return{if:function(){return 0===e.$data.values.length}}}),B("if: values.length !== 0",function(e,t){return{if:function(){return 0!==e.$data.values.length}}}),B("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||[]}}}}),B("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||[]}}}}),B("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}}}}),B("text: $data.display, attr: { title: $data.display }",function(e,t){return{text:function(){return e.$data.display},attr:function(){return{title:e.$data.display}}}}),B("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($data.validatorOptions || { validationRules: $data.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.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),B("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}}}}),B("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($data.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.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),B("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}}}}),B("attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}",function(e,t){return{attr:function(){return{role:"treeitem",id:e.$data.isComplexEditor&&e.$data.headerId,"aria-owns":e.$data.isComplexEditor&&e.$data.contentId,"aria-expanded":e.$data.isComplexEditor&&(e.$data.alwaysShow||!e.$data.collapsed?"true":"false")}},css:function(){return{"dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented":e.$data.isComplexEditor}}}}),B("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}}}}),B("enable: templateName === 'dx-emptyHeader'",function(e,t){return{enable:function(){return"dx-emptyHeader"===e.$data.templateName}}}),B("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)}}}}),B("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}}}}),B("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}}}}),B("searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, 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{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-field-label-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),B("text: displayName, attr: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}",function(e,t){return{text:function(){return e.$data.displayName},attr:function(){return{title:e.$data.displayName,for:e.$data.editorInputId}},css:function(){return{"dx-property-required":e.$data.isRequired}},style:function(){return{fontWeight:e.ko.unwrap(e.$data.isPropertyModified)?"Bold":""}}}}),B("css: { 'dxd-border-accented': $data.isPropertyHighlighted }",function(e,t){return{css:function(){return{"dxd-border-accented":e.$data.isPropertyHighlighted}}}}),B("service: { name: 'createEditorAddOn' }",function(e,t){return{service:function(){return{name:"createEditorAddOn"}}}}),B("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"}}}}),B("if: isComplexEditor",function(e,t){return{if:function(){return e.$data.isComplexEditor}}}),B("ifnot: $data.hideCollapsingButton",function(e,t){return{ifnot:function(){return e.$data.hideCollapsingButton}}}),B("if: !!$data.textToSearch",function(e,t){return{if:function(){return!!e.$data.textToSearch}}}),B("ifnot: !!$data.textToSearch",function(e,t){return{ifnot:function(){return!!e.$data.textToSearch}}}),B("if: !isComplexEditor",function(e,t){return{if:function(){return!e.$data.isComplexEditor}}}),B("template: { name: 'dx-property-grid-editor-description', data: $data, if: ko.unwrap($data.description) }",function(e,t){return{template:function(){return{name:"dx-property-grid-editor-description",data:e.$data,if:e.ko.unwrap(e.$data.description)}}}}),B("if: templateName !== 'dx-emptyHeader'",function(e,t){return{if:function(){return"dx-emptyHeader"!==e.$data.templateName}}}),B("lazy: { innerBindings: { template: templateName }, isResolved: function(val) { $data.setIsRendered(val) } }",function(t,e){return{lazy:function(){return{innerBindings:{template:t.$data.templateName},isResolved:function(e){t.$data.setIsRendered(e)}}}}}),B("if: editorCreated",function(e,t){return{if:function(){return e.$data.editorCreated}}}),B("template: contentTemplateName",function(e,t){return{template:function(){return e.$data.contentTemplateName}}}),B("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: { 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{validationRules:e.$data.validationRules||[]}}}}),B("dxFileImagePicker: { value: value, placeholderId: 'File', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"File",disabled:e.$data.disabled}}}}),B("css: { 'dxd-state-active': bold(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled||e.$data.bold(!e.$data.bold())}}}}),B("css: { 'dxd-state-active': italic(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled||e.$data.italic(!e.$data.italic())}}}}),B("css: { 'dxd-state-active': underline(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled||e.$data.underline(!e.$data.underline())}}}}),B("css: { 'dxd-state-active': strikeout(), 'dx-disabled-button': $parent.disabled }, click: function() { if(!$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.$parent.disabled||e.$data.strikeout(!e.$data.strikeout())}}}}),B("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),B("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),B("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideUnderline",function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideUnderline}}}),B("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),B("ifnot: $parents[2].editorOptions && $parents[2].editorOptions.hideStrikeout",function(e,t){return{ifnot:function(){return e.$parents[2].editorOptions&&e.$parents[2].editorOptions.hideStrikeout}}}),B("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),B("dxFileImagePicker: { value: value, placeholderId: 'Image', accept: 'image/*', type: 'img', disabled: disabled }",function(e,t){return{dxFileImagePicker:function(){return{value:e.$data.value,placeholderId:"Image",accept:"image/*",type:"img",disabled:e.$data.disabled}}}}),B("dxNumberBox: getOptions({ value:value, showSpinButtons:true, disabled:disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { 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{validationRules:e.$data.validationRules||[]}}}}),B("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||[]}}}}),B("dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions($data.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.validatorOptions||{validationRules:e.$data.validationRules||[]})}}}),B("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}})}}}),B("value: value, disable: disabled",function(t,e){return{value:function(){return t.$data.value},disable:function(){return t.$data.disabled},_ko_property_writers:function(){return{value:function(e){t.$data.value=e}}}}}),B("if: $data.validationRules",function(e,t){return{if:function(){return e.$data.validationRules}}}),B("if: !$data.validationRules",function(e,t){return{if:function(){return!e.$data.validationRules}}}),B("css: { 'dx-rtl' : rtl }",function(e,t){return{css:function(){return{"dx-rtl":e.$data.rtl}}}}),B("template: {name: 'dxrd-svg-tabs-description_info' }, attr: { id: $data.contentId + '-description' }",function(e,t){return{template:function(){return{name:"dxrd-svg-tabs-description_info"}},attr:function(){return{id:e.$data.contentId+"-description"}}}}),B("dxPopover: { target: '#' + $data.contentId + '-description', container: $root.getPopupContainer($element), position: 'bottom', showCloseButton: false, showEvent: 'click', hideEvent: 'mouseleave', width: '350px' }",function(e,t){return{dxPopover:function(){return{target:"#"+e.$data.contentId+"-description",container:e.$root.getPopupContainer(t),position:"bottom",showCloseButton:!1,showEvent:"click",hideEvent:"mouseleave",width:"350px"}}}}),B("text: ko.unwrap($data.description)",function(e,t){return{text:function(){return e.ko.unwrap(e.$data.description)}}}),B("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)}}}}}),B("dxDataGrid: queriesGrid",function(e,t){return{dxDataGrid:function(){return e.$data.queriesGrid}}}),B("dxDropDownButton: $data",function(e,t){return{dxDropDownButton:function(){return e.$data}}}),B("if: $data",function(e,t){return{if:function(){return e.$data}}}),B("template: { name: $data._queriesPopupHelper.template, data: _queriesPopupHelper }",function(e,t){return{template:function(){return{name:e.$data._queriesPopupHelper.template,data:e.$data._queriesPopupHelper}}}}),B("foreach: $data.popupItems",function(e,t){return{foreach:function(){return e.$data.popupItems}}}),B("template: { name: template, data: model }",function(e,t){return{template:function(){return{name:e.$data.template,data:e.$data.model}}}}),B("with: options",function(e,t){return{with:function(){return e.$data.options}}}),B("dxTextArea: { value: textAreaValue, isValid: isValid, spellcheck: false, onKeyUp: function() { isValid(true); } }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",function(e,t){return{dxTextArea:function(){return{value:e.$data.textAreaValue,isValid:e.$data.isValid,spellcheck:!1,onKeyUp:function(){e.$data.isValid(!0)}}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),B("dxAceEditor: { value: textAreaValue, editorContainer: editorContainer, theme: theme, options: aceOptions, additionalOptions: additionalOptions, callbacks: callbacks }, resizable: resizeHelper.resizable($root.resizeHandler, 's', $element)",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}},resizable:function(){return e.$data.resizeHelper.resizable(e.$root.resizeHandler,"s",t)}}}),B("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||"")}}}}),B("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}}}}}),B("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()}}}}}),B("if: !aceAvailable",function(e,t){return{if:function(){return!e.$data.aceAvailable}}}),B("if: aceAvailable",function(e,t){return{if:function(){return e.$data.aceAvailable}}}),B("with: tools",function(e,t){return{with:function(){return e.$data.tools}}}),B("foreach: toolBox",function(e,t){return{foreach:function(){return e.$data.toolBox}}}),B("template: { name: $data.templateName }",function(e,t){return{template:function(){return{name:e.$data.templateName}}}}),B("template: 'dx-expressioneditor-popup'",function(e,t){return{template:function(){return"dx-expressioneditor-popup"}}}),B("if: popupVisible",function(e,t){return{if:function(){return e.$data.popupVisible}}}),B('template: "dx-expressioneditor-main"',function(e,t){return{template:function(){return"dx-expressioneditor-main"}}}),B("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")}}}),B("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)}}}}),B("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)}}}}),B("text: displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),B("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)}}}}),B("foreach: content",function(e,t){return{foreach:function(){return e.$data.content}}}),B("dxScrollView: { showScrollbar: 'onHover' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover"}}}}),B("text: content",function(e,t){return{text:function(){return e.$data.content}}}),B("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)]}}}}),B("treelist: fields",function(e,t){return{treelist:function(){return e.$data.fields}}}),B("treelist: parameters",function(e,t){return{treelist:function(){return e.$data.parameters}}}),B("visible: visible, 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},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}}}}),B("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}}}),B("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}}}}),B("click: toggleSelected",function(e,t){return{click:function(){return e.$data.toggleSelected}}}),B("if: fields",function(e,t){return{if:function(){return e.$data.fields}}}),B("if: $data.parameters",function(e,t){return{if:function(){return e.$data.parameters}}}),B("if: hasItems",function(e,t){return{if:function(){return e.$data.hasItems}}}),B("ifnot: hasItems",function(e,t){return{ifnot:function(){return e.$data.hasItems}}}),B("template: { name: 'dx-treelist-item-text-content' }",function(e,t){return{template:function(){return{name:"dx-treelist-item-text-content"}}}}),B("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||"")}},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)}}}}}),B("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()}}}}),B("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}}}}),B("with: content",function(e,t){return{with:function(){return e.$data.content}}}),B("template: $data",function(e,t){return{template:function(){return e.$data}}}),B("foreach: availableItems",function(e,t){return{foreach:function(){return e.$data.availableItems}}}),B("css: { 'advanced': advancedMode }",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}}}}),B("css: { 'advanced': advancedMode }, visible: textVisible",function(e,t){return{css:function(){return{advanced:e.$data.advancedMode}},visible:function(){return e.$data.textVisible}}}),B("css: $data.getTextCssClasses(), style: { height: textContentHeightPerc }",function(e,t){return{css:function(){return e.$data.getTextCssClasses()},style:function(){return{height:e.$data.textContentHeightPerc}}}}),B("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()}}}),B("style: $data.getContentStyles()",function(e,t){return{style:function(){return e.$data.getContentStyles()}}}),B("visible: $data.options().disabled()",function(e,t){return{visible:function(){return e.$data.options().disabled()}}}),B("dxTextArea: { value: displayValue, isValid: isValid, onInput: onInput, spellcheck: false }, cacheElement: { action: function(element) { cacheElement(element) } }",function(t,e){return{dxTextArea:function(){return{value:t.$data.displayValue,isValid:t.$data.isValid,onInput:t.$data.onInput,spellcheck:!1}},cacheElement:function(){return{action:function(e){t.$data.cacheElement(e)}}}}}),B("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}}}}),B("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}}}}),B("dxScrollView: { showScrollbar: 'onHover', direction: 'both' }",function(e,t){return{dxScrollView:function(){return{showScrollbar:"onHover",direction:"both"}}}}),B("dxclick: function() { $data.advancedMode(true); }",function(e,t){return{dxclick:function(){return function(){e.$data.advancedMode(!0)}}}}),B("text: invalidMessage()",function(e,t){return{text:function(){return e.$data.invalidMessage()}}}),B("template: 'dx-filtereditor-content-tree'",function(e,t){return{template:function(){return"dx-filtereditor-content-tree"}}}),B("template: 'dx-filtereditor-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-content-text"}}}),B("if: $data.advancedModeTop()",function(e,t){return{if:function(){return e.$data.advancedModeTop()}}}),B("template: 'dx-filtereditor-plain-content-text'",function(e,t){return{template:function(){return"dx-filtereditor-plain-content-text"}}}),B("ifnot: $data.advancedModeTop()",function(e,t){return{ifnot:function(){return e.$data.advancedModeTop()}}}),B("with: operandSurface",function(e,t){return{with:function(){return e.$data.operandSurface}}}),B("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}}}}),B("ifnot: isSurfaceValid",function(e,t){return{ifnot:function(){return e.$data.isSurfaceValid}}}),B("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}}}}}),B("style: { pointerEvents: $data.options().disabled() ? 'none' : '' }",function(e,t){return{style:function(){return{pointerEvents:e.$data.options().disabled()?"none":""}}}}),B("template: 'dx-filtereditor-popup'",function(e,t){return{template:function(){return"dx-filtereditor-popup"}}}),B("template: 'dx-filtereditor-content'",function(e,t){return{template:function(){return"dx-filtereditor-content"}}}),B("template: 'dx-filtereditor-content-popups'",function(e,t){return{template:function(){return"dx-filtereditor-content-popups"}}}),B("template: 'dx-filtereditor-content-plain'",function(e,t){return{template:function(){return"dx-filtereditor-content-plain"}}}),B("service: { name: 'createChangeType' }",function(e,t){return{service:function(){return{name:"createChangeType"}}}}),B("dxclick: function() { $data.remove && $data.remove(); }",function(e,t){return{dxclick:function(){return function(){e.$data.remove&&e.$data.remove()}}}}),B("visible: !!$data.canRemove",function(e,t){return{visible:function(){return!!e.$data.canRemove}}}),B("with: property",function(e,t){return{with:function(){return e.$data.property}}}),B("template: { name: templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),B("if: $data.aggregatedExpression()",function(e,t){return{if:function(){return e.$data.aggregatedExpression()}}}),B("with: aggregatedExpression",function(e,t){return{with:function(){return e.$data.aggregatedExpression}}}),B("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),B("template: { name: 'dx-filtereditor-aggregate-common' }",function(e,t){return{template:function(){return{name:"dx-filtereditor-aggregate-common"}}}}),B("with: condition",function(e,t){return{with:function(){return e.$data.condition}}}),B("with: begin",function(e,t){return{with:function(){return e.$data.begin}}}),B("with: end",function(e,t){return{with:function(){return e.$data.end}}}),B("with: leftOperand",function(e,t){return{with:function(){return e.$data.leftOperand}}}),B("with: rightOperand",function(e,t){return{with:function(){return e.$data.rightOperand}}}),B("if: $data.leftPart && $data.leftPart.condition",function(e,t){return{if:function(){return e.$data.leftPart&&e.$data.leftPart.condition}}}),B("with: leftPart",function(e,t){return{with:function(){return e.$data.leftPart}}}),B("css: css",function(e,t){return{css:function(){return e.$data.css}}}),B("text: displayType",function(e,t){return{text:function(){return e.$data.displayType}}}),B("service: { name: 'createChangeValueType' }",function(e,t){return{service:function(){return{name:"createChangeValueType"}}}}),B("template: { name: $data.leftPart.templateName, data: $data.leftPart }",function(e,t){return{template:function(){return{name:e.$data.leftPart.templateName,data:e.$data.leftPart}}}}),B("foreach: rightPart",function(e,t){return{foreach:function(){return e.$data.rightPart}}}),B("template: { name: $data.templateName, data: $data }",function(e,t){return{template:function(){return{name:e.$data.templateName,data:e.$data}}}}),B("service: { name: 'createAddButton' }",function(e,t){return{service:function(){return{name:"createAddButton"}}}}),B("foreach: operands",function(e,t){return{foreach:function(){return e.$data.operands}}}),B("dxclick: addValue",function(e,t){return{dxclick:function(){return e.$data.addValue}}}),B("with: criteriaOperator",function(e,t){return{with:function(){return e.$data.criteriaOperator}}}),B("if: $data.operands().length > 1",function(e,t){return{if:function(){return 1<e.$data.operands().length}}}),B("foreach: $data.operands()",function(e,t){return{foreach:function(){return e.$data.operands()}}}),B("if: $data.operands().length == 1",function(e,t){return{if:function(){return 1==e.$data.operands().length}}}),B("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]}}}}),B("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),B("service: { name: 'createChangeParameter' }",function(e,t){return{service:function(){return{name:"createChangeParameter"}}}}),B("if: $data.canChange",function(e,t){return{if:function(){return e.$data.canChange}}}),B("service: { name: 'createChangeProperty' }",function(e,t){return{service:function(){return{name:"createChangeProperty"}}}}),B("if: $data.operand().reverse",function(e,t){return{if:function(){return e.$data.operand().reverse}}}),B("template: {name: $data.operand().templateName, data: $data.operand() }",function(e,t){return{template:function(){return{name:e.$data.operand().templateName,data:e.$data.operand()}}}}),B("ifnot: $data.operand().reverse",function(e,t){return{ifnot:function(){return e.$data.operand().reverse}}}),B("with: operand",function(e,t){return{with:function(){return e.$data.operand}}}),B("visible: isEditable",function(e,t){return{visible:function(){return e.$data.isEditable}}}),B("dxTextBox: getStringEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getStringEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),B("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)}}}),B("focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)",function(e,t){return{focus:function(){return e.$data.isEditable},dxDateBox:function(){return e.$data.getDateEditorOptions(t,e.$root)}}}),B("dxTextBox: getNumberEditorOptions($element), focus: { on: isEditable }",function(e,t){return{dxTextBox:function(){return e.$data.getNumberEditorOptions(t)},focus:function(){return{on:e.$data.isEditable}}}}),B("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)}}}),B("visible: !isEditable()",function(e,t){return{visible:function(){return!e.$data.isEditable()}}}),B("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()}}}}),B("if: $data.items.length === 0",function(e,t){return{if:function(){return 0===e.$data.items.length}}}),B('if: $data.specifics() === "string" || $data.specifics() === "guid"',function(e,t){return{if:function(){return"string"===e.$data.specifics()||"guid"===e.$data.specifics()}}}),B('if: $data.specifics() === "bool"',function(e,t){return{if:function(){return"bool"===e.$data.specifics()}}}),B('if: $data.specifics() === "date"',function(e,t){return{if:function(){return"date"===e.$data.specifics()}}}),B('if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid"',function(e,t){return{if:function(){return"string"!==e.$data.specifics()&&"bool"!==e.$data.specifics()&&"date"!==e.$data.specifics()&&"guid"!==e.$data.specifics()}}}),B("if: $data.items.length > 0",function(e,t){return{if:function(){return 0<e.$data.items.length}}}),B("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, 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,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)}}}}}),B("dxclick: showPopup",function(e,t){return{dxclick:function(){return e.$data.showPopup}}}),B("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}}}),B("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}}}}),B("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}}}}),B("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),B("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}}}}),B("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"}}}}),B("template: { name: 'dx-filtereditor-search-panel', data: $data }",function(e,t){return{template:function(){return{name:"dx-filtereditor-search-panel",data:e.$data}}}}),B("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}}}}),B("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}}}}),B("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}}}}),B("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"}}}}),B("treelist: data",function(e,t){return{treelist:function(){return e.$data.data}}}),B("with: popupService",function(e,t){return{with:function(){return e.$data.popupService}}}),B("with: data",function(e,t){return{with:function(){return e.$data.data}}}),B("template: template",function(e,t){return{template:function(){return e.$data.template}}}),B("if: $data.isFiltered",function(e,t){return{if:function(){return e.$data.isFiltered}}}),B("foreach: data",function(e,t){return{foreach:function(){return e.$data.data}}}),B("if: !$data.hidden",function(e,t){return{if:function(){return!e.$data.hidden}}}),B("ifnot: $parent.isFiltered",function(e,t){return{ifnot:function(){return e.$parent.isFiltered}}}),B("if: $parent.isFiltered",function(e,t){return{if:function(){return e.$parent.isFiltered}}}),B("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}}}}),B("click: $parent.removeItem, visible: $data.canRemove",function(e,t){return{click:function(){return e.$parent.removeItem},visible:function(){return e.$data.canRemove}}}),B("text: $data.displayName",function(e,t){return{text:function(){return e.$data.displayName}}}),B("text: getDisplayText('types')",function(e,t){return{text:function(){return e.$data.getDisplayText("types")}}}),B("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()}}}}),B("dxTextBox: { value: formatResult, onInput: function(e) { updateInputText('formatResult', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatResult,onInput:function(e){t.$data.updateInputText("formatResult",e.component)}}}}}),B("text: getDisplayText('prefix')",function(e,t){return{text:function(){return e.$data.getDisplayText("prefix")}}}),B("dxTextBox: { value: formatPrefix, onInput: function(e) { updateInputText('formatPrefix', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatPrefix,onInput:function(e){t.$data.updateInputText("formatPrefix",e.component)}}}}}),B("text: getDisplayText('suffix')",function(e,t){return{text:function(){return e.$data.getDisplayText("suffix")}}}),B("dxTextBox: { value: formatSuffix, onInput: function(e) { updateInputText('formatSuffix', e.component); } }",function(t,e){return{dxTextBox:function(){return{value:t.$data.formatSuffix,onInput:function(e){t.$data.updateInputText("formatSuffix",e.component)}}}}}),B("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}}}}}),B("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)}}}}}),B("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) } }",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)}}}}}),B("text: getDisplayText('category')",function(e,t){return{text:function(){return e.$data.getDisplayText("category")}}}),B("css: { 'dx-format-general': isGeneralType }",function(e,t){return{css:function(){return{"dx-format-general":e.$data.isGeneralType}}}}),B("text: getDisplayText('preview')",function(e,t){return{text:function(){return e.$data.getDisplayText("preview")}}}),B("text: previewString",function(e,t){return{text:function(){return e.$data.previewString}}}),B("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}}}}}),B("if: !isGeneralType",function(e,t){return{if:function(){return!e.$data.isGeneralType}}}),B("template: 'dx-format-string-edit-area'",function(e,t){return{template:function(){return"dx-format-string-edit-area"}}}),B("if: isGeneralType",function(e,t){return{if:function(){return e.$data.isGeneralType}}}),B("template: 'dx-format-string-edit-area-general'",function(e,t){return{template:function(){return"dx-format-string-edit-area-general"}}}),B("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}}}}),B("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()}}}}),B("template: { name: 'dx-treelist-edit-action', data: treeListEditAction }",function(e,t){return{template:function(){return{name:"dx-treelist-edit-action",data:e.$data.treeListEditAction}}}}),B("template: 'dx-treelist-item-actions'",function(e,t){return{template:function(){return"dx-treelist-item-actions"}}}),B("styleunit: padding, click: events.click",function(e,t){return{styleunit:function(){return e.$data.padding},click:function(){return e.$data.events.click}}}),B("dxdAccordionExt: { collapsed: collapsed, lazyContentRendering: true, setCollapsedChangedEvent: setCollapsedChangedEvent }",function(e,t){return{dxdAccordionExt:function(){return{collapsed:e.$data.collapsed,lazyContentRendering:!0,setCollapsedChangedEvent:e.$data.setCollapsedChangedEvent}}}}),B("visible: isSelected || isHovered",function(e,t){return{visible:function(){return e.$data.isSelected||e.$data.isHovered}}}),B("event: events, styleunit: padding, css: cssRules, attr: attr",function(e,t){return{event:function(){return e.$data.events},styleunit:function(){return e.$data.padding},css:function(){return e.$data.cssRules},attr:function(){return e.$data.attr}}}),B("style: { 'padding-left': hasItems ? '0px': '18px' }",function(e,t){return{style:function(){return{"padding-left":e.$data.hasItems?"0px":"18px"}}}}),B("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null, draggable: dragDropHandler",function(i,e){return{click:function(){return function(e,t){i.$root.hideContextMenu&&i.$root.hideContextMenu(),i.$data.toggleSelected(e,t)}},event:function(){return i.$root.ContextMenusEnabled&&i.$root.ContextMenusEnabled()?{contextmenu:i.$data.toggleSelected}:null},draggable:function(){return i.$data.dragDropHandler}}}),B("click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null",function(i,e){return{click:function(){return function(e,t){i.$root.hideContextMenu&&i.$root.hideContextMenu(),i.$data.toggleSelected(e,t)}},event:function(){return i.$root.ContextMenusEnabled&&i.$root.ContextMenusEnabled()?{contextmenu:i.$data.toggleSelected}:null}}}),B("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}}}}),B("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}}}}),B("if: searchModel.searchEnabled",function(e,t){return{if:function(){return e.$data.searchModel.searchEnabled}}}),B("ifnot: searchModel.searchEnabled",function(e,t){return{ifnot:function(){return e.$data.searchModel.searchEnabled}}}),B("if: hasContent",function(e,t){return{if:function(){return e.$data.hasContent}}}),B("template: templates.accordionItem",function(e,t){return{template:function(){return e.$data.templates.accordionItem}}}),B("ifnot: hasContent",function(e,t){return{ifnot:function(){return e.$data.hasContent}}}),B("template: templates.headerItem",function(e,t){return{template:function(){return e.$data.templates.headerItem}}}),B("template: { name: contenttemplate }",function(e,t){return{template:function(){return{name:e.$data.contenttemplate}}}}),B("template: actionsTemplate",function(e,t){return{template:function(){return e.$data.actionsTemplate}}}),B("if: actions && actions.length > 0",function(e,t){return{if:function(){return e.$data.actions&&0<e.$data.actions.length}}}),B("template: templates.actionsContainer",function(e,t){return{template:function(){return e.$data.templates.actionsContainer}}}),B("if: isDraggable",function(e,t){return{if:function(){return e.$data.isDraggable}}}),B("template: templates.headerItemContent",function(e,t){return{template:function(){return e.$data.templates.headerItemContent}}}),B("ifnot: isDraggable",function(e,t){return{ifnot:function(){return e.$data.isDraggable}}}),B("template: templates.itemTextContent",function(e,t){return{template:function(){return e.$data.templates.itemTextContent}}}),B("event: events, 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},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}}}}),B("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"}}}}),B("click: toggleSelected, draggable: isDraggable ? dragDropHandler : null",function(e,t){return{click:function(){return e.$data.toggleSelected},draggable:function(){return e.$data.isDraggable?e.$data.dragDropHandler:null}}}),B('template: "dx-treelist-accordion-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-accordion-item-with-hover"}}}),B('template: "dx-treelist-header-item-with-hover"',function(e,t){return{template:function(){return"dx-treelist-header-item-with-hover"}}}),B("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()}}}}),B("lazy: { resolver: resolver, innerBindings: { template: templateName } }",function(e,t){return{lazy:function(){return{resolver:e.$data.resolver,innerBindings:{template:e.$data.templateName}}}}}),B("if: !collapsed",function(e,t){return{if:function(){return!e.$data.collapsed}}}),B("template: { name: 'dx-treelist' }",function(e,t){return{template:function(){return{name:"dx-treelist"}}}}),B("template: 'dxrd-svg-collapsed'",function(e,t){return{template:function(){return"dxrd-svg-collapsed"}}}),B("template: 'dxrd-svg-ellipsis'",function(e,t){return{template:function(){return"dxrd-svg-ellipsis"}}}),B("template: 'dxrd-svg-error'",function(e,t){return{template:function(){return"dxrd-svg-error"}}}),B("template: 'dxrd-svg-expressioneditor-addition'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-addition"}}}),B("template: 'dxrd-svg-expressioneditor-and'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-and"}}}),B("template: 'dxrd-svg-expressioneditor-division'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-division"}}}),B("template: 'dxrd-svg-expressioneditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-edit"}}}),B("template: 'dxrd-svg-expressioneditor-equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-equal"}}}),B("template: 'dxrd-svg-expressioneditor-greater'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater"}}}),B("template: 'dxrd-svg-expressioneditor-greater_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-greater_or_equal"}}}),B("template: 'dxrd-svg-expressioneditor-less'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less"}}}),B("template: 'dxrd-svg-expressioneditor-less_or_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-less_or_equal"}}}),B("template: 'dxrd-svg-expressioneditor-modulus'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-modulus"}}}),B("template: 'dxrd-svg-expressioneditor-multiplication'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-multiplication"}}}),B("template: 'dxrd-svg-expressioneditor-not'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not"}}}),B("template: 'dxrd-svg-expressioneditor-not_equal'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-not_equal"}}}),B("template: 'dxrd-svg-expressioneditor-or'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-or"}}}),B("template: 'dxrd-svg-expressioneditor-parenthesis'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-parenthesis"}}}),B("template: 'dxrd-svg-expressioneditor-subtraction'",function(e,t){return{template:function(){return"dxrd-svg-expressioneditor-subtraction"}}}),B("template: 'dxrd-svg-fieldlist-array'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-array"}}}),B("template: 'dxrd-svg-fieldlist-bitearray'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bitearray"}}}),B("template: 'dxrd-svg-fieldlist-bool'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-bool"}}}),B("template: 'dxrd-svg-fieldlist-booleanfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-booleanfield"}}}),B("template: 'dxrd-svg-fieldlist-column'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-column"}}}),B("template: 'dxrd-svg-fieldlist-datasource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datasource"}}}),B("template: 'dxrd-svg-fieldlist-date'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-date"}}}),B("template: 'dxrd-svg-fieldlist-datetimefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-datetimefield"}}}),B("template: 'dxrd-svg-fieldlist-doublefield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-doublefield"}}}),B("template: 'dxrd-svg-fieldlist-enum'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-enum"}}}),B("template: 'dxrd-svg-fieldlist-float'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-float"}}}),B("template: 'dxrd-svg-fieldlist-guid'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-guid"}}}),B("template: 'dxrd-svg-fieldlist-integer'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integer"}}}),B("template: 'dxrd-svg-fieldlist-integerfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-integerfield"}}}),B("template: 'dxrd-svg-fieldlist-listsource'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-listsource"}}}),B("template: 'dxrd-svg-fieldlist-none'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-none"}}}),B("template: 'dxrd-svg-fieldlist-parameters'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-parameters"}}}),B("template: 'dxrd-svg-fieldlist-range'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-range"}}}),B("template: 'dxrd-svg-fieldlist-string'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-string"}}}),B("template: 'dxrd-svg-fieldlist-stringfield'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-stringfield"}}}),B("template: 'dxrd-svg-fieldlist-table'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-table"}}}),B("template: 'dxrd-svg-fieldlist-view'",function(e,t){return{template:function(){return"dxrd-svg-fieldlist-view"}}}),B("template: 'dxrd-svg-filtereditor-add'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-add"}}}),B("template: 'dxrd-svg-filtereditor-edit'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-edit"}}}),B("template: 'dxrd-svg-filtereditor-remove'",function(e,t){return{template:function(){return"dxrd-svg-filtereditor-remove"}}}),B("template: 'dxrd-svg-fontstyle-bold'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-bold"}}}),B("template: 'dxrd-svg-fontstyle-italic'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-italic"}}}),B("template: 'dxrd-svg-fontstyle-strikeout'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-strikeout"}}}),B("template: 'dxrd-svg-fontstyle-underline'",function(e,t){return{template:function(){return"dxrd-svg-fontstyle-underline"}}}),B("template: 'dxrd-svg-menu-menu'",function(e,t){return{template:function(){return"dxrd-svg-menu-menu"}}}),B("template: 'dxrd-svg-menu-open'",function(e,t){return{template:function(){return"dxrd-svg-menu-open"}}}),B("template: 'dxrd-svg-menu-save'",function(e,t){return{template:function(){return"dxrd-svg-menu-save"}}}),B("template: 'dxrd-svg-menu-saveas'",function(e,t){return{template:function(){return"dxrd-svg-menu-saveas"}}}),B("template: 'dxrd-svg-operations-add'",function(e,t){return{template:function(){return"dxrd-svg-operations-add"}}}),B("template: 'dxrd-svg-operations-add_calcfield'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_calcfield"}}}),B("template: 'dxrd-svg-operations-add_datasource'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_datasource"}}}),B("template: 'dxrd-svg-operations-add_query'",function(e,t){return{template:function(){return"dxrd-svg-operations-add_query"}}}),B("template: 'dxrd-svg-operations-arrowdown'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowdown"}}}),B("template: 'dxrd-svg-operations-arrowup'",function(e,t){return{template:function(){return"dxrd-svg-operations-arrowup"}}}),B("template: 'dxrd-svg-operations-ascending'",function(e,t){return{template:function(){return"dxrd-svg-operations-ascending"}}}),B("template: 'dxrd-svg-operations-descending'",function(e,t){return{template:function(){return"dxrd-svg-operations-descending"}}}),B("template: 'dxrd-svg-operations-edit'",function(e,t){return{template:function(){return"dxrd-svg-operations-edit"}}}),B("template: 'dxrd-svg-operations-movedown'",function(e,t){return{template:function(){return"dxrd-svg-operations-movedown"}}}),B("template: 'dxrd-svg-operations-moveleft'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft"}}}),B("template: 'dxrd-svg-operations-moveleft_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveleft_all"}}}),B("template: 'dxrd-svg-operations-moveright'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright"}}}),B("template: 'dxrd-svg-operations-moveright_all'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveright_all"}}}),B("template: 'dxrd-svg-operations-moveup'",function(e,t){return{template:function(){return"dxrd-svg-operations-moveup"}}}),B("template: 'dxrd-svg-operations-rebuild_schema'",function(e,t){return{template:function(){return"dxrd-svg-operations-rebuild_schema"}}}),B("template: 'dxrd-svg-operations-recycle_bin'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin"}}}),B("template: 'dxrd-svg-operations-recycle_bin_xl'",function(e,t){return{template:function(){return"dxrd-svg-operations-recycle_bin_xl"}}}),B("template: 'dxrd-svg-operations-remove'",function(e,t){return{template:function(){return"dxrd-svg-operations-remove"}}}),B("template: 'dxrd-svg-operations-rename'",function(e,t){return{template:function(){return"dxrd-svg-operations-rename"}}}),B("template: 'dxrd-svg-operations-unsorted'",function(e,t){return{template:function(){return"dxrd-svg-operations-unsorted"}}}),B("template: 'dxrd-svg-properties-borders-all'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-all"}}}),B("template: 'dxrd-svg-properties-borders-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-bottom"}}}),B("template: 'dxrd-svg-properties-borders-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-left"}}}),B("template: 'dxrd-svg-properties-borders-none'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-none"}}}),B("template: 'dxrd-svg-properties-borders-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-right"}}}),B("template: 'dxrd-svg-properties-borders-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-borders-top"}}}),B("template: 'dxrd-svg-properties-propertiesmenu'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertiesmenu"}}}),B("template: 'dxrd-svg-properties-propertyexpression'",function(e,t){return{template:function(){return"dxrd-svg-properties-propertyexpression"}}}),B("template: 'dxrd-svg-properties-search'",function(e,t){return{template:function(){return"dxrd-svg-properties-search"}}}),B("template: 'dxrd-svg-properties-sortingbyalphabet'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbyalphabet"}}}),B("template: 'dxrd-svg-properties-sortingbygroups'",function(e,t){return{template:function(){return"dxrd-svg-properties-sortingbygroups"}}}),B("template: 'dxrd-svg-properties-tasksmarttag'",function(e,t){return{template:function(){return"dxrd-svg-properties-tasksmarttag"}}}),B("template: 'dxrd-svg-properties-textAlignment-bottom'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-bottom"}}}),B("template: 'dxrd-svg-properties-textAlignment-center'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-center"}}}),B("template: 'dxrd-svg-properties-textAlignment-justify'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-justify"}}}),B("template: 'dxrd-svg-properties-textAlignment-left'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-left"}}}),B("template: 'dxrd-svg-properties-textAlignment-middle'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-middle"}}}),B("template: 'dxrd-svg-properties-textAlignment-right'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-right"}}}),B("template: 'dxrd-svg-properties-textAlignment-top'",function(e,t){return{template:function(){return"dxrd-svg-properties-textAlignment-top"}}}),B("template: 'dxrd-svg-queryBuilder-aggregate'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-aggregate"}}}),B("template: 'dxrd-svg-queryBuilder-data_preview'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-data_preview"}}}),B("template: 'dxrd-svg-queryBuilder-group_by'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-group_by"}}}),B("template: 'dxrd-svg-queryBuilder-select_statment'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-select_statment"}}}),B("template: 'dxrd-svg-queryBuilder-sorting_asc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_asc"}}}),B("template: 'dxrd-svg-queryBuilder-sorting_desc'",function(e,t){return{template:function(){return"dxrd-svg-queryBuilder-sorting_desc"}}}),B("template: 'dxrd-svg-tabs-description_info'",function(e,t){return{template:function(){return"dxrd-svg-tabs-description_info"}}}),B("template: 'dxrd-svg-tabs-properties'",function(e,t){return{template:function(){return"dxrd-svg-tabs-properties"}}}),B("template: 'dxrd-svg-toolbar-copy'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-copy"}}}),B("template: 'dxrd-svg-toolbar-cut'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-cut"}}}),B("template: 'dxrd-svg-toolbar-delete'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-delete"}}}),B("template: 'dxrd-svg-toolbar-paste'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-paste"}}}),B("template: 'dxrd-svg-toolbar-redo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-redo"}}}),B("template: 'dxrd-svg-toolbar-undo'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-undo"}}}),B("template: 'dxrd-svg-toolbar-validate'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-validate"}}}),B("template: 'dxrd-svg-toolbar-zoomin'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomin"}}}),B("template: 'dxrd-svg-toolbar-zoomout'",function(e,t){return{template:function(){return"dxrd-svg-toolbar-zoomout"}}}),B("template: 'dxrd-svg-wizard-Download'",function(e,t){return{template:function(){return"dxrd-svg-wizard-Download"}}}),B("template: 'dxrd-svg-wizard-expressions'",function(e,t){return{template:function(){return"dxrd-svg-wizard-expressions"}}}),B("template: 'dxrd-svg-wizard-FederationDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-FederationDataSource"}}}),B("template: 'dxrd-svg-wizard-JsonDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-JsonDataSource"}}}),B("template: 'dxrd-svg-wizard-NoDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-NoDataSource"}}}),B("template: 'dxrd-svg-wizard-ObjectDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-ObjectDataSource"}}}),B("template: 'dxrd-svg-wizard-SqlDataSource'",function(e,t){return{template:function(){return"dxrd-svg-wizard-SqlDataSource"}}}),c.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 2l5 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 013.538-3.537l22.996 22.996a2.502 2.502 0 01-3.538 3.538L18.733 22.271z"/><path fill="#FFF0F0" d="M41.73 18.733a2.502 2.502 0 013.537 3.538L22.271 45.267a2.502 2.502 0 01-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 8l-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 22L4 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 4L2 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 6l-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.6L6 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.6L6 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" 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-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 8l3.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-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.3l-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"><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 6l-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.5l-.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-arrowdown":'<svg data-bind="svgAttrs" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M.23.226a.75.75 0 011.058.02l3.704 3.927L8.696.245a.749.749 0 111.079 1.038L5.53 5.77a.749.749 0 01-1.078 0L.209 1.283A.748.748 0 01.23.226z" fill="#606060"/></svg>',"dxrd-svg-operations-arrowup":'<svg data-bind="svgAttrs" version="1.1" id="Layer_1" width="10" height="6" xmlns="http://www.w3.org/2000/svg"><path class="dxd-icon-fill" d="M9.77 5.774a.75.75 0 01-1.058-.02L5.008 1.828 1.304 5.755A.749.749 0 11.225 4.717L4.47.23a.749.749 0 011.078 0l4.244 4.488a.748.748 0 01-.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 0L6 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 22l6-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-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 10l6 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 6l-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 18l6-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 12l-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 0L12 5h-1.5v2.36c0 2.489-2.382 4.285-4.775 3.601l.55-1.923A1.746 1.746 0 008.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 003.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 01-1 1H3a1 1 0 01-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 7L4.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 20l6-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"><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 0L1 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"><path class="dxd-icon-fill" d="M14.6 6.9l-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"><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"><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"><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"><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"><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"><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"><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.3l-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 4l-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 0L14 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-icon-highlighted" width="18" height="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 14l1.182-7.09h1.67L9.246 14H7.572zm2.262-8.107a.893.893 0 01-.665-.267.78.78 0 01-.23-.642.94.94 0 01.336-.642c.207-.178.442-.267.707-.267.268 0 .487.089.66.267a.78.78 0 01.23.642.916.916 0 01-.336.642 1.032 1.032 0 01-.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.4l-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.6l-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 12l5.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 6L8 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 12l5 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"><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"><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-NoDataSource":'<svg data-bind="svgAttrs" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 96 96"><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"><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"><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>'}),c.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>","dxrd-borders":'<div class="dxrd-bordereditor" data-bind="dxBorderEditor: { value: value, disabled: disabled }"></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() }"></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() }"></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: { value: value, disabled: disabled }"></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 } ]"> <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: { editors: $root.popularVisibleEditors(), rtl: rtl } }"></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.ShowControlActions() --\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 } } --\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 </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', 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 data-bind=\"dxclick: action\"> <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-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\': active }, 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 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="propertygrid-editor-collapsed dx-collapsing-image" data-bind="template: \'dxrd-svg-collapsed\', css: { \'dx-image-expanded\': !collapsed }"></div> <div class="dx-group-header-font dxd-text-primary" 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 }"> <div data-bind="visible: !disabled, dxScrollView: { showScrollbar: \'onHover\', disabled: !showScroll, useNative: false, scrollByThumb: true, onInitialized: function(e) { e.component.option(\'useKeyboard\', false); } }"> \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 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> \x3c!-- /ko --\x3e </div> </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($data.validatorOptions || { validationRules: $data.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($data.validatorOptions || { validationRules: validationRules || [] })\"> </div>","dx-property-editor":"<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\" data-bind=\"attr: { role: 'treeitem', 'id': isComplexEditor && headerId, 'aria-owns': isComplexEditor && contentId, 'aria-expanded': isComplexEditor && (alwaysShow || !collapsed ? 'true' : 'false') }, css: {'dxrd-accessibility-accordion-trigger dx-accessibility-focus-border-accented': isComplexEditor}\"> <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: isComplexEditor --\x3e <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> \x3c!-- /ko --\x3e \x3c!-- ko if: !isComplexEditor --\x3e \x3c!-- ko if: !!$data.textToSearch --\x3e <label class=\"propertygrid-editor-displayName\" data-bind=\"searchHighlighting: { text: displayName, textToSearch: textToSearch }, attr: { 'title': displayName, 'for': editorInputId }, 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: { 'title': displayName, 'for': editorInputId }, css: { 'dx-property-required': isRequired }, style: { fontWeight: ko.unwrap(isPropertyModified) ? 'Bold' : ''}\"></label> \x3c!-- /ko --\x3e \x3c!-- ko template: { name: 'dx-property-grid-editor-description', data: $data, if: ko.unwrap($data.description) }--\x3e\x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> <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) } } --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e </div> </div> </div> \x3c!-- ko if: isComplexEditor --\x3e <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> \x3c!-- /ko --\x3e </div> </div>","dx-emptyHeader":"","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: { validationRules: validationRules || [] }\"></div> </div>","dx-file":"<div data-bind=\"dxFileImagePicker: { value: value, 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(!$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(!$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(!$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(!$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, 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: { validationRules: validationRules || [] }\"></div>","dx-number-editor":"<div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, id: editorInputId } }), dxValidator: { validationRules: validationRules || [] }\"></div>","dx-text":"\x3c!-- ko if: $data.validationRules --\x3e <div data-bind=\"dxTextBox: getOptions({ value: value, disabled: disabled, inputAttr: { 'aria-label': displayName, 'id': editorInputId }}), dxValidator: getValidatorOptions($data.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","dx-property-grid-editor-description":"<div role=\"button\" class=\"propertygrid-editor-description\" data-bind=\"template: {name: 'dxrd-svg-tabs-description_info' }, attr: { id: $data.contentId + '-description' }\"> </div> <div class=\"\" data-bind=\"dxPopover: { target: '#' + $data.contentId + '-description', container: $root.getPopupContainer($element), position: 'bottom', showCloseButton: false, showEvent: 'click', hideEvent: 'mouseleave', width: '350px' }\"> <div class=\"propertygrid-editor-description-popover-content\"> <span data-bind=\"text: ko.unwrap($data.description)\"></span> </div> </div>","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: !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); } }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></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 }, resizable: resizeHelper.resizable($root.resizeHandler, \'s\', $element)"></div> \x3c!-- /ko --\x3e <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-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, 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" data-bind="click: toggleSelected"> \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-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>","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" 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 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> \x3c!-- ko template: \'dx-filtereditor-popup\' --\x3e \x3c!-- /ko --\x3e </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" --\x3e <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxDateBox: getDateEditorOptions($element, $root)"></div> \x3c!-- /ko --\x3e \x3c!-- ko if: $data.specifics() !== "string" && $data.specifics() !== "bool" && $data.specifics() !== "date" && $data.specifics() !== "guid" --\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 <div class="criteria-operator-item-editor" data-bind="focus: isEditable, dxSelectBox: getListEditOptions($element, $root)"></div> \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":"<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, 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","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="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) } }"> <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> </div>',"dx-treelist-item-actions":'\x3c!-- ko foreach: actions --\x3e \x3c!-- ko if: $data.templateName --\x3e \x3c!-- ko template: templateName --\x3e \x3c!-- /ko --\x3e \x3c!-- /ko --\x3e \x3c!-- ko if: !$data.templateName --\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"> \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, styleunit: padding, 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 \x3c!-- ko if: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null, draggable: dragDropHandler"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e \x3c!-- ko ifnot: isDraggable --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: function(s, e) { $root.hideContextMenu && $root.hideContextMenu(); toggleSelected(s, e); }, event: $root.ContextMenusEnabled && $root.ContextMenusEnabled() ? { contextmenu: toggleSelected } : null"> \x3c!-- ko template: templates.headerItemContent --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e </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":'<div class="dx-treelist-image" data-bind="css: imageClassName, template: { name: imageTemplateName, if: !!imageTemplateName }, attr: { title: text }"> </div> \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, 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"> \x3c!-- ko template: actionsTemplate --\x3e \x3c!-- /ko --\x3e </div> \x3c!-- /ko --\x3e <div class="dx-treelist-selectedcontent" data-bind="click: toggleSelected, draggable: isDraggable ? dragDropHandler : null"> <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>"});{t=window.ko;let e=!1;window.DevExpress&&window.DevExpress.ui&&window.DevExpress.ui.dxTextBox?e=!0:console.error("The DevExtreme library is missing. Check whether a script is included on the page."),t?!t.bindingHandlers.dxPopup&&e&&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.")}cr();E=window.DevExpress||{};(t=E).Analytics=t.Analytics||{},t.Analytics.Internal=e,t.Analytics.Serializer=t.Analytics.Serializer||{},t.Analytics.Serializer.Native=o,t.Analytics.Utils=i,t.Analytics.Widgets=s,t.Analytics.Widgets.Ace=K,t.Analytics.Widgets.Metadata=R,t.Analytics.Widgets.Internal=r,t.Analytics.Widgets.Filtering=a,t.Analytics.Widgets.TreeList=W,t.Analytics.Criteria=l,t.Analytics.Criteria.Utils=j,t.Analytics.Elements=n,t.Analytics.Elements.Metadata=G,t.Analytics.Tools=U,t.Analytics.Localization=q,t.Analytics.VERSION="23.2.2",e=window.DevExpress,o=e.Analytics.VERSION,(e=e.VERSION)!=o&&console.warn(`Analytics-Core (v${o}) and DevExtreme (v${e}) versions do not match.`),V.default=E.Analytics}]);