igniteui-webcomponents-layouts 5.3.0 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +11266 -8364
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/ComboEditorBridge.js +8 -8
  4. package/esm2015/lib/ComboEditorView_combined.js +27 -26
  5. package/esm2015/lib/ListPanelScrollerKeyboardListener.js +1 -1
  6. package/esm2015/lib/ListPanelView_combined.js +595 -577
  7. package/esm2015/lib/NativeUILayoutFactory_combined.js +6734 -5325
  8. package/esm2015/lib/PropertyEditorPanelView_combined.js +24 -24
  9. package/esm2015/lib/PropertyEditorTreeTransformer.js +1 -1
  10. package/esm2015/lib/ToolActionFieldSelector.js +7 -0
  11. package/esm2015/lib/ToolActionFieldSelectorAggregation.js +40 -0
  12. package/esm2015/lib/ToolActionFieldSelectorAggregationsCollection.js +160 -0
  13. package/esm2015/lib/ToolActionFieldSelectorEventType.js +16 -0
  14. package/esm2015/lib/ToolActionFieldSelectorSelectedAggregation.js +40 -0
  15. package/esm2015/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +160 -0
  16. package/esm2015/lib/ToolActionFieldSelectorType.js +16 -0
  17. package/esm2015/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +26 -0
  18. package/esm2015/lib/ToolActionIconMenuVisualData.js +3 -3
  19. package/esm2015/lib/ToolActionVisualData.js +17 -13
  20. package/esm2015/lib/ToolPanelContext.js +4 -1
  21. package/esm2015/lib/igc-list-panel-component.js +64 -54
  22. package/esm2015/lib/igc-tool-action-button-component.js +6 -6
  23. package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
  24. package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
  25. package/esm2015/lib/igc-tool-action-checkbox-list-component.js +16 -16
  26. package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
  27. package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
  28. package/esm2015/lib/igc-tool-action-component.js +191 -180
  29. package/esm2015/lib/igc-tool-action-field-selector-aggregation-module.js +15 -0
  30. package/esm2015/lib/igc-tool-action-field-selector-aggregation.js +58 -0
  31. package/esm2015/lib/igc-tool-action-field-selector-aggregations-collection.js +53 -0
  32. package/esm2015/lib/igc-tool-action-field-selector-component.js +261 -0
  33. package/esm2015/lib/igc-tool-action-field-selector-module.js +16 -0
  34. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation-module.js +15 -0
  35. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregation.js +58 -0
  36. package/esm2015/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +53 -0
  37. package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
  38. package/esm2015/lib/igc-tool-action-icon-button-component.js +34 -34
  39. package/esm2015/lib/igc-tool-action-icon-menu-component.js +10 -10
  40. package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
  41. package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
  42. package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
  43. package/esm2015/lib/igc-tool-action-sub-panel-component.js +10 -0
  44. package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
  45. package/esm2015/lib/igc-tool-panel-component.js +275 -250
  46. package/esm2015/lib/igc-tool-panel-module.js +2 -0
  47. package/esm2015/lib/igc-toolbar-component.js +171 -156
  48. package/esm2015/public_api.js +16 -0
  49. package/esm5/lib/ComboEditorBridge.js +8 -8
  50. package/esm5/lib/ComboEditorView_combined.js +27 -26
  51. package/esm5/lib/ListPanelScrollerKeyboardListener.js +1 -1
  52. package/esm5/lib/ListPanelView_combined.js +592 -570
  53. package/esm5/lib/NativeUILayoutFactory_combined.js +6684 -5125
  54. package/esm5/lib/PropertyEditorPanelView_combined.js +24 -24
  55. package/esm5/lib/PropertyEditorTreeTransformer.js +1 -1
  56. package/esm5/lib/ToolActionFieldSelector.js +7 -0
  57. package/esm5/lib/ToolActionFieldSelectorAggregation.js +54 -0
  58. package/esm5/lib/ToolActionFieldSelectorAggregationsCollection.js +220 -0
  59. package/esm5/lib/ToolActionFieldSelectorEventType.js +16 -0
  60. package/esm5/lib/ToolActionFieldSelectorSelectedAggregation.js +54 -0
  61. package/esm5/lib/ToolActionFieldSelectorSelectedAggregationsCollection.js +220 -0
  62. package/esm5/lib/ToolActionFieldSelectorType.js +16 -0
  63. package/esm5/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.js +28 -0
  64. package/esm5/lib/ToolActionIconMenuVisualData.js +3 -3
  65. package/esm5/lib/ToolActionVisualData.js +17 -13
  66. package/esm5/lib/ToolPanelContext.js +4 -1
  67. package/esm5/lib/igc-list-panel-component.js +68 -54
  68. package/esm5/lib/igc-tool-action-button-component.js +6 -6
  69. package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
  70. package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
  71. package/esm5/lib/igc-tool-action-checkbox-list-component.js +16 -16
  72. package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
  73. package/esm5/lib/igc-tool-action-combo-component.js +8 -8
  74. package/esm5/lib/igc-tool-action-component.js +195 -180
  75. package/esm5/lib/igc-tool-action-field-selector-aggregation-module.js +19 -0
  76. package/esm5/lib/igc-tool-action-field-selector-aggregation.js +76 -0
  77. package/esm5/lib/igc-tool-action-field-selector-aggregations-collection.js +58 -0
  78. package/esm5/lib/igc-tool-action-field-selector-component.js +331 -0
  79. package/esm5/lib/igc-tool-action-field-selector-module.js +20 -0
  80. package/esm5/lib/igc-tool-action-field-selector-selected-aggregation-module.js +19 -0
  81. package/esm5/lib/igc-tool-action-field-selector-selected-aggregation.js +76 -0
  82. package/esm5/lib/igc-tool-action-field-selector-selected-aggregations-collection.js +58 -0
  83. package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
  84. package/esm5/lib/igc-tool-action-icon-button-component.js +34 -34
  85. package/esm5/lib/igc-tool-action-icon-menu-component.js +10 -10
  86. package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
  87. package/esm5/lib/igc-tool-action-radio-component.js +32 -32
  88. package/esm5/lib/igc-tool-action-separator-component.js +6 -6
  89. package/esm5/lib/igc-tool-action-sub-panel-component.js +14 -0
  90. package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
  91. package/esm5/lib/igc-tool-panel-component.js +283 -250
  92. package/esm5/lib/igc-tool-panel-module.js +2 -0
  93. package/esm5/lib/igc-toolbar-component.js +175 -156
  94. package/esm5/public_api.js +16 -0
  95. package/fesm2015/igniteui-webcomponents-layouts.js +10397 -7947
  96. package/fesm5/igniteui-webcomponents-layouts.js +11250 -8366
  97. package/lib/ListPanelView_combined.d.ts +147 -144
  98. package/lib/NativeUILayoutFactory_combined.d.ts +1393 -1262
  99. package/lib/ToolActionFieldSelector.d.ts +1 -0
  100. package/lib/ToolActionFieldSelectorAggregation.d.ts +17 -0
  101. package/lib/ToolActionFieldSelectorAggregationsCollection.d.ts +31 -0
  102. package/lib/ToolActionFieldSelectorEventType.d.ts +9 -0
  103. package/lib/ToolActionFieldSelectorSelectedAggregation.d.ts +17 -0
  104. package/lib/ToolActionFieldSelectorSelectedAggregationsCollection.d.ts +31 -0
  105. package/lib/ToolActionFieldSelectorType.d.ts +9 -0
  106. package/lib/ToolActionFieldSelector_ToolActionFieldSelectorItem.d.ts +16 -0
  107. package/lib/ToolActionIconMenuVisualData.d.ts +2 -2
  108. package/lib/ToolActionVisualData.d.ts +6 -5
  109. package/lib/igc-list-panel-component.d.ts +5 -0
  110. package/lib/igc-tool-action-component.d.ts +6 -0
  111. package/lib/igc-tool-action-field-selector-aggregation-module.d.ts +3 -0
  112. package/lib/igc-tool-action-field-selector-aggregation.d.ts +20 -0
  113. package/lib/igc-tool-action-field-selector-aggregations-collection.d.ts +8 -0
  114. package/lib/igc-tool-action-field-selector-component.d.ts +73 -0
  115. package/lib/igc-tool-action-field-selector-module.d.ts +3 -0
  116. package/lib/igc-tool-action-field-selector-selected-aggregation-module.d.ts +3 -0
  117. package/lib/igc-tool-action-field-selector-selected-aggregation.d.ts +20 -0
  118. package/lib/igc-tool-action-field-selector-selected-aggregations-collection.d.ts +8 -0
  119. package/lib/igc-tool-action-sub-panel-component.d.ts +5 -0
  120. package/lib/igc-tool-panel-component.d.ts +10 -0
  121. package/lib/igc-toolbar-component.d.ts +5 -0
  122. package/package.json +3 -3
  123. package/public_api.d.ts +16 -0
@@ -4,4 +4,4 @@
4
4
  https://www.infragistics.com/legal/license/igultimate-eula
5
5
  GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
6
6
  */
7
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,i,n){"use strict";var r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return t.getNativeElement().checked},n.b=function(t,e){t.getNativeElement().checked=e},n.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},n.$t=i.markType(n,"ExpansionPanelUtilities"),n}(i.Base),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnCollapsedEventArgs",i.EventArgs.$),n}(i.EventArgs),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnExpandedEventArgs",i.EventArgs.$),n}(i.EventArgs),a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},n.prototype.y=function(t){this.q=t,this.ab()},n.prototype.z=function(t){this.g=t},n.prototype.aa=function(){},n.prototype.af=function(t){var e=this.k;this.p=t;var n=e.createElement("div");this.p.append(n),this.v(n);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var s=e.createElement("div");r.append(s),this.o=e.createElement("label"),s.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),n.setStyleProperty("display","flex"),n.setStyleProperty("justify-content","center"),n.setStyleProperty("flex-direction","column"),n.setStyleProperty("margin","0px 10px 0px 10px"),n.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",i.runOn(this,this.w)),this.p.listen("keydown",i.runOn(this,this.x))},n.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var i=t.componentRef;e.f=i.i,e.f.fill=n.al,e.ag()}),!1)},n.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},n.prototype.ad=function(t){this.k;this.m=t},n.prototype.w=function(t){t.originalEvent.target;this.h.a2()},n.prototype.x=function(t){var e=i.BaseDOMEventProxy.c0(t),n=r.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==n&&(this.h.au(),t.preventDefault());break;case 15:1==n&&(this.h.ar(),t.preventDefault())}},n.$t=i.markType(n,"ExpansionPanelView"),n.al=i.BrushUtil.h(255,33,150,243),n.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",n.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",n}(i.Base),h=function(t){function n(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.ag=i.stringEmpty(),e.be=null,e.a5=n.bt,e.bc=null,e.bd=null,e.p=-1,e.o=n.r,e.m=!0,e.bf=null,e.a6=n.bu,e.bg=null,e.bh=null,e.a8=n.bw,e.a7=n.bv,e.a3=n.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(n,t),n.prototype.aw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},Object.defineProperty(n.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var i=this.m;this.m=t;var n=this.h(this.m),r=this.i(this.m),a=this.j(this.m),h=this.k(this.m),u=this.l(this.m);n.play(),r.play(),a.play(),h.play(),u.play(),n.finished.f((function(t){return n.commitStyles()})),r.finished.f((function(t){return r.commitStyles()})),a.finished.f((function(t){return a.commitStyles()})),h.finished.f((function(t){return h.commitStyles()})),u.finished.f((function(t){u.commitStyles(),e.aw("Expanded",i,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new s):null!=e.onCollapsed&&e.onCollapsed(e,new o))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.aw("HeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.aw("ActualHeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.aw("HeaderCollapsedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.aw("HeaderExpandedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.aw("ActualUmbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.aw("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.aw("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.f=function(){return new a},n.prototype.ax=function(t,e,i){switch(t){case"CaptionTextColor":case"CaptionExpandedTextColor":case"CaptionCollapsedTextColor":case"DescriptionTextColor":case"DescriptionExpandedTextColor":case"DescriptionCollapsedTextColor":case"HeaderBackgroundColor":case"HeaderCollapsedBackgroundColor":case"HeaderExpandedBackgroundColor":case"Expanded":var r=this.bl,o=this.b4(),s=this.bj,a=this.b0(),h=this.bk,u=this.b2();r!=o||s!=a||h!=u?(this.bl=o,this.bj=a,this.bk=u):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?n.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},n.prototype.h=function(t){var n=this.bj,r=this.b1(t),o=t?this.b():this.a(),s=this.g.a(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.i=function(t){var n=this.bk,r=this.b3(t),o=t?this.b():this.a(),s=this.g.b(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.j=function(t){var n=this.bl,r=this.b5(t),o=t?this.b():this.a(),s=this.g.c(o),a=[new i.AnimationKeyFrameProperty(2,n)],h=[new i.AnimationKeyFrameProperty(2,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.k=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?-n:0,o=t?0:-n,s=t?0:1,a=t?1:0,h=t?this.b():this.a(),u=new i.TranslateTransform;u.k=r;var l=new i.TranslateTransform;l.k=o;var c=this.g.d(h),p=[new i.AnimationKeyFrameProperty(14,u),new i.AnimationKeyFrameProperty(1,s)],f=[new i.AnimationKeyFrameProperty(14,l),new i.AnimationKeyFrameProperty(1,a)];return c.m.apply(c,e.__spreadArray([],e.__read(p),!1)),c.m.apply(c,e.__spreadArray([],e.__read(f),!1)),i.KeyFrameAnimationFactory.f.c(c)},n.prototype.l=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?0:n,o=t?n:0,s=t?this.b():this.a(),a=this.g.e(s),h=[new i.AnimationKeyFrameProperty(10,r)],u=[new i.AnimationKeyFrameProperty(10,o)];return a.m.apply(a,e.__spreadArray([],e.__read(h),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.a=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.b=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.at=function(){this.g.u()},n.prototype.b0=function(){return this.b1(this.n)},n.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:n.bs},n.prototype.b2=function(){return this.b3(this.n)},n.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:n.bt},n.prototype.b4=function(){return this.b5(this.n)},n.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:n.bu},n.prototype.ar=function(){this.n=!1},n.prototype.destroy=function(){this.provideRenderer(null)},n.prototype.au=function(){this.n=!0},n.prototype.notifySizeChanged=function(){},n.prototype.provideHeader=function(t){this.g.af(t)},n.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},n.prototype.provideContentAreaInner=function(t){this.g.ad(t)},n.prototype.provideRenderer=function(t){this.g.ac(t)},n.prototype.a2=function(){this.n=!this.n},n.$t=i.markType(n,"XExpansionPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.bs=i.BrushUtil.h(188,0,0,0),n.bt=i.BrushUtil.h(188,0,0,0),n.r=2,n.bu=i.BrushUtil.h(255,245,245,245),n.bw=i.BrushUtil.h(66,0,0,0),n.bv=i.BrushUtil.h(30,0,0,0),n.br=i.BrushUtil.h(20,0,0,0),n}(i.Base),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new s},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),l=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),c=function(t){function n(){var n=t.call(this)||this;n._implementation=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCollapsed=null,n._onCollapsed_wrapped=null,n._onExpanded=null,n._onExpanded_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._portalManager=new i.PortalManager("iconContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._mainDiv=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._mainDiv);var r=n._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=n._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var s=n._webComponentRenderer.createElement("div");return s.setAttribute("key","expansionPanelContentAreaInner"),o.append(s),n._mainDiv.append(r),n._mainDiv.append(o),new MutationObserver((function(t){var i,a;try{for(var h=e.__values(t),u=h.next();!u.done;u=h.next()){if("childList"==u.value.type)for(var l=0;l<n.childNodes.length;l++){var c=n.childNodes[l];c!=n._mainDiv.getNativeElement()&&c!==r.getNativeElement()&&c!==o.getNativeElement()&&c!==s.getNativeElement()&&(c.remove(),s.append(n._webComponentRenderer.getWrapper(c)))}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n.i.provideRenderer(n._webComponentRenderer),n.i.provideHeader(n._webComponentRenderer.getWrapper(r)),n.i.provideContentAreaOuter(n._webComponentRenderer.getWrapper(o)),n.i.provideContentAreaInner(n._webComponentRenderer.getWrapper(s)),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new h},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},n.prototype.afterContentInit=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXExpansionPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXExpansionPanelComponent=t}return n._observedAttributesIgcXExpansionPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionTextColor",{get:function(){return i.brushToString(this.i.bq)},set:function(t){this.i.bq=i.stringToBrush(t),this._a("captionTextColor",i.brushToString(this.i.bq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCaptionTextColor",{get:function(){return i.brushToString(this.i.bj)},set:function(t){this.i.bj=i.stringToBrush(t),this._a("actualCaptionTextColor",i.brushToString(this.i.bj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bo)},set:function(t){this.i.bo=i.stringToBrush(t),this._a("captionCollapsedTextColor",i.brushToString(this.i.bo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionExpandedTextColor",{get:function(){return i.brushToString(this.i.bp)},set:function(t){this.i.bp=i.stringToBrush(t),this._a("captionExpandedTextColor",i.brushToString(this.i.bp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionTextColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("descriptionTextColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionTextColor",{get:function(){return i.brushToString(this.i.bk)},set:function(t){this.i.bk=i.stringToBrush(t),this._a("actualDescriptionTextColor",i.brushToString(this.i.bk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bx)},set:function(t){this.i.bx=i.stringToBrush(t),this._a("descriptionCollapsedTextColor",i.brushToString(this.i.bx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionExpandedTextColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("descriptionExpandedTextColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerBackgroundColor",{get:function(){return i.brushToString(this.i.b6)},set:function(t){this.i.b6=i.stringToBrush(t),this._a("headerBackgroundColor",i.brushToString(this.i.b6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.bl)},set:function(t){this.i.bl=i.stringToBrush(t),this._a("actualHeaderBackgroundColor",i.brushToString(this.i.bl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerCollapsedBackgroundColor",{get:function(){return i.brushToString(this.i.b7)},set:function(t){this.i.b7=i.stringToBrush(t),this._a("headerCollapsedBackgroundColor",i.brushToString(this.i.b7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerExpandedBackgroundColor",{get:function(){return i.brushToString(this.i.b8)},set:function(t){this.i.b8=i.stringToBrush(t),this._a("headerExpandedBackgroundColor",i.brushToString(this.i.b8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.bn)},set:function(t){this.i.bn=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.bn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.bm)},set:function(t){this.i.bm=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.bm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.bi)},set:function(t){this.i.bi=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.bi))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("XExpansionPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.collapse=function(){this.i.ar()},n.prototype.expand=function(){this.i.au()},n.prototype.toggle=function(){this.i.a2()},Object.defineProperty(n.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=i.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,i){var n=new l;n._provideImplementation(i),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,n),e._onCollapsed&&e._onCollapsed(e,n)},this.i.onCollapsed=i.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=i.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,i){var n=new u;n._provideImplementation(i),e.beforeOnExpanded&&e.beforeOnExpanded(e,n),e._onExpanded&&e._onExpanded(e,n)},this.i.onExpanded=i.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXExpansionPanelComponent=null,n.htmlTagName="igc-x-expansion-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),p=function(){function t(){}return t.register=function(){c.register(),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.register("XExpansionPanel",h.$type)},t}(),f=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldText",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newText",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorTextChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),d=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newValue",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),b=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.i=0,e.b=null,e.n=0,e.as=null,e.ar=null,e.j=0,e._dropDownButtonVisible=!1,e.o=0,e.y=null,e.c=null,e.ab=null,e.ac=null,e.ad=null,e.t=0,e.z=null,e.aa=null,e._actualLabelVisible=!1,e._actualNoMatchesFoundLabel=null,e.d=null,e.e=null,e.ag=null,e.ah=null,e.ai=null,e.u=0,e.ae=null,e.af=null,e.aj=null,e._rowSeparatorsVisible=!1,e.f=null,e.ao=null,e.ap=null,e.aq=null,e.v=0,e.am=null,e.an=null,e.g=null,e.p=0,e.h=null,e.q=0,e.r=0,e.s=0,e.al=null,e.w=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"dropDownButtonVisible",{get:function(){return this._dropDownButtonVisible},set:function(t){this._dropDownButtonVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLabelVisible",{get:function(){return this._actualLabelVisible},set:function(t){this._actualLabelVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualNoMatchesFoundLabel",{get:function(){return this._actualNoMatchesFoundLabel},set:function(t){this._actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowSeparatorsVisible",{get:function(){return this._rowSeparatorsVisible},set:function(t){this._rowSeparatorsVisible=t},enumerable:!1,configurable:!0}),n.prototype.ak=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualBaseTheme : "+this.i+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.n+", "),t.l("actualContentPadding : { left: "+this.as.left+",top: "+this.as.top+",right: "+this.as.right+",bottom: "+this.as.bottom+"},"),t.l("actualDensity : "+this.j+", "),t.l("dropDownButtonVisible : "+this.dropDownButtonVisible+", "),t.l("actualFocusUnderlineOpacity : "+this.o+", "),t.l('label : "'+this.y+'", '),t.l("actualLabelTextColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.ab)||t.l('labelFontStyle : "'+this.ab+'", '),i.stringIsNullOrEmpty(this.ac)||t.l('labelFontVariant : "'+this.ac+'", '),i.stringIsNullOrEmpty(this.ad)||t.l('labelFontWeight : "'+this.ad+'", '),i.stringIsNullOrEmpty(this.z)||t.l('labelFontFamily : "'+this.z+'", '),i.stringIsNullOrEmpty(this.aa)||t.l('labelFontStretch : "'+this.aa+'", '),i.isNaN_(this.t)||t.l("labelFontSize : "+this.t+", "),t.l("actualLabelVisible : "+this.actualLabelVisible+", "),t.l('actualNoMatchesFoundLabel :"'+this.actualNoMatchesFoundLabel+'", '),t.l("actualNoMatchesFoundLabelBackgroundColor : "+this.d.serialize()+", "),t.l("actualNoMatchesFoundLabelTextColor : "+this.e.serialize()+", "),i.stringIsNullOrEmpty(this.ag)||t.l('noMatchesFoundLabelFontStyle : "'+this.ag+'", '),i.stringIsNullOrEmpty(this.ah)||t.l('noMatchesFoundLabelFontVariant : "'+this.ah+'", '),i.stringIsNullOrEmpty(this.ai)||t.l('noMatchesFoundLabelFontWeight : "'+this.ai+'", '),i.stringIsNullOrEmpty(this.ae)||t.l('noMatchesFoundLabelFontFamily : "'+this.ae+'", '),i.stringIsNullOrEmpty(this.af)||t.l('noMatchesFoundLabelFontStretch : "'+this.af+'", '),i.isNaN_(this.u)||t.l("noMatchesFoundLabelFontSize : "+this.u+", "),t.l('placeholder : "'+this.aj+'", '),t.l("rowSeparatorsVisible : "+this.rowSeparatorsVisible+", "),t.l("actualTextColor : "+this.f.serialize()+", "),i.stringIsNullOrEmpty(this.ao)||t.l('textStyleFontStyle : "'+this.ao+'", '),i.stringIsNullOrEmpty(this.ap)||t.l('textStyleFontVariant : "'+this.ap+'", '),i.stringIsNullOrEmpty(this.aq)||t.l('textStyleFontWeight : "'+this.aq+'", '),i.stringIsNullOrEmpty(this.am)||t.l('textStyleFontFamily : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||t.l('textStyleFontStretch : "'+this.an+'", '),i.isNaN_(this.v)||t.l("textStyleFontSize : "+this.v+", "),t.l("actualUnderlineColor : "+this.g.serialize()+", "),t.l("actualUnderlineOpacity : "+this.p+", "),t.l("actualUnderlineRippleColor : "+this.h.serialize()+", "),t.l("actualUnderlineRippleOpacity : "+this.q+", "),t.l("actualUnderlineRippleWidth : "+this.r+", "),t.l("actualUnderlineWidth : "+this.s+", "),t.l('text : "'+this.al+'", '),null!=this.w&&t.l('value : "'+this.w.toString()+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"ComboEditorVisualModelExport"),n}(i.Base),g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorGotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorLostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),m=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,e=null==e?0:e){case 0:break;case 1:var o=i[0];r.b.o(o)}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return null==this.a&&(this.a=new i.List$1(i.IDataSourceUpdateNotifier_$type,0)),this.a},enumerable:!1,configurable:!0}),n.prototype.c=function(t){this.b.add(t)},n.prototype.d=function(t){for(var e=0;e<this.b.count;e++)t(this.b._inner[e])},n.prototype.notifyClearItems=function(){this.d((function(t){return t.notifyClearItems()}))},n.prototype.notifyInsertItem=function(t,e){this.d((function(i){return i.notifyInsertItem(t,e)}))},n.prototype.notifyRemoveItem=function(t,e){this.d((function(i){return i.notifyRemoveItem(t,e)}))},n.prototype.notifySetItem=function(t,e,i){this.d((function(n){return n.notifySetItem(t,e,i)}))},n.prototype.rangeActualized=function(t,e){this.d((function(i){return i.rangeActualized(t,e)}))},n.$t=i.markType(n,"ComboEditorMultipleDataSourceNotifier",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),_=function(t){function r(e){var i=t.call(this)||this;return i.b=!1,i.a=null,i.c=null,i.a=e,i}return e.__extends(r,t),r.prototype.g=function(){},r.prototype.r=function(){var t=this.c.rootWrapper.getNativeElement().getBoundingClientRect();return new i.Rect(0,t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height)},r.prototype.f=function(t,e){this.c.getPortal(t.an,"ListPanel",(function(t){var i=t.componentRef.i;e(i)}),!1)},r.prototype.i=function(){this.b&&(this.b=!1,window.addEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.h=function(){this.b||(this.b=!0,window.removeEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.q=function(t){var e=this.a.bh;if(null!=e&&0!=e.b6){var i=this.r();this.a.bh.cd(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.an);if(null!=u){u.oi=h.k3,u.ks=h.jf,u.no=h.j6,u.eg=h.cx,u.np=h.j7,u.eh=h.cy,u.ei=h.cz,u.nq=h.j8,u.ej=h.c0,u.ek=h.c1,u.n6=h.kd,u.e5=h.c2,u.n7=h.ke,u.e6=h.c3,u.e7=h.c4,u.e8=h.c5;try{for(var l=e.__values(i.fromEnum(u.inputs)),c=l.next();!c.done;c=l.next()){var p=c.value;null!=p&&null!==i.typeCast(n.XInput.$,p)&&(p.cg=h.gb)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u.inputs)),d=f.next();!d.done;d=f.next()){var b=d.value;if(null!=b&&null!==i.typeCast(n.XLabel.$,b)){b.di=h.j9;var g=b;null!=h.av&&(g.y=h.av)}}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},r.prototype.l=function(t){if(null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].e=t)},r.prototype.o=function(){if(this.a.disallowTabFocus){var t=this.a.bb.an;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].be=-1)}else{var o=this.a.bb.an;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.an,a=0;a<s.inputs.count;a++)null!==i.typeCast(n.XInput.$,s.inputs._inner[a])&&s.inputs._inner[a].cu()}},r.prototype.n=function(){null!=this.a.bh&&(this.a.bh.an.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.an.ay=this.a.cb)},r.prototype.j=function(t){var e=this;if(null==t)return this.i(),void(this.c=null);this.c=t,i.NativeUIComponent.au(this.c,7,(function(t){e.c.append(t.an),e.a.id(t)})),this.h()},r.prototype.d=function(){return this.c},r.prototype.m=function(t,e){},r.prototype.e=function(t,e){var i=t.an;i.remove(),i.append(e.view.j.rootWrapper)},r.$t=i.markType(r,"ComboEditorView"),r}(i.Base),v=function(t){function r(){var e=t.call(this)||this;e.d0=null,e.kk=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.kl=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.c8=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k5=n.XInputGroup.m.ai(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.jh=n.XInputGroup.m.y(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.km=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.c9=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.kn=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.da=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.db=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.ko=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.dc=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.dd=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.kp=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.de=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.kq=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.df=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.dg=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.dh=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.bi=null,e.a0=null,e.ab=null,e.bl=!1,e.c=null,e.jt=null,e.ji=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.af=0,e.ae=1,e.ju=null,e.jj=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.cm=NaN,e.cc=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k2=new i.Thickness(1,NaN,NaN,NaN,NaN),e.k1=n.ThemeResolver.ak(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.je=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.jd=n.ThemeResolver.aa(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.b=null,e.al=0,e.ak=0,e.bw=!0,e.jv=null,e.jk=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.cn=NaN,e.cd=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.jw=null,e.jl=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.co=NaN,e.ce=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.cp=NaN,e.cf=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.jx=null,e.jm=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.cq=NaN,e.cg=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.cr=NaN,e.ch=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.du=null,e.f1=null,e.jy=null,e.jn=r.kh,e.as=null,e.ap=null,e.bs=!1,e.f4=null,e.er="No Matches Found",e.jz=null,e.jo=r.ki,e.j0=null,e.jp=r.kj,e.at=null,e.aq=null,e.gc="",e.j1=r.kr,e.jq=r.kr,e.au=null,e.ar=null,e.j2=null,e.jr=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.cs=NaN,e.ci=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.j3=null,e.js=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.ct=NaN,e.cj=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleOpacity"),e.cu=NaN,e.ck=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.cv=NaN,e.cl=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineWidth"),e.bk=!0,e.d6=null,e.d5=null,e.d=null,e.a=null,e.dv=null,e.q=0,e.b2=!1,e.bn=!1,e.bq=!1,e.br=!1,e.gotFocus=null,e.lostFocus=null,e.textValueChanged=null,e.selectedValueChanged=null,e.keyDown=null,e.change=null,e.changing=null,e.propertyChanged=null,e.a6=null,e.a9=null,e.a7=null,e.bd=null,e.bg=null,e.ac=null,e.d7=null,e.ca=!0,e.dt=0,e.b6=!1,e.l=null,e.v=0,e.b5=!1,e.b1=!1,e.b0=!1,e.by=!1,e.ba=null,e.a5=null,e.n=null,e.ds=-1,e.bo=!1,e.b8=!1,e.bp=!1,e.bm=!1,e.a8=null,e.bf=null;var o=e.aa();return e.ab=o,e}return e.__extends(r,t),r.prototype.gy=function(){this.ad.dt=-1},Object.defineProperty(r.prototype,"bj",{get:function(){return null==this.bi&&(this.bi=new i.SRProvider(this.ab.c),this.bi.cb("ComboEditor")),this.bi},enumerable:!1,configurable:!0}),r.prototype.aa=function(){return new _(this)},r.prototype.ip=function(t,e,o){switch(t){case"BackgroundColor":this.j4=null!=this.kf?this.kf:this.kk;break;case"BorderColor":this.j5=null!=this.kg?this.kg:this.kl;break;case"BorderWidth":this.cw=i.isNaN_(this.c6)?this.c8:this.c6;break;case"ContentPadding":this.k3=n.XInputGroup.oh(this.k4,this.k5);break;case"CornerRadius":this.jf=n.XInputGroup.kr(this.jg,this.jh);break;case"FocusBorderColor":this.j6=null!=this.ks?this.ks:this.km;break;case"FocusBorderWidth":this.cx=i.isNaN_(this.di)?this.c9:this.di;break;case"FocusUnderlineColor":this.j7=null!=this.kt?this.kt:this.kn;break;case"FocusUnderlineOpacity":this.cy=i.isNaN_(this.dj)?this.da:this.dj;break;case"FocusUnderlineRippleOpacity":this.cz=i.isNaN_(this.dk)?this.db:this.dk;break;case"HoverUnderlineColor":this.j8=null!=this.ku?this.ku:this.ko;break;case"HoverUnderlineOpacity":this.c0=i.isNaN_(this.dl)?this.dc:this.dl;break;case"HoverUnderlineWidth":this.c1=i.isNaN_(this.dm)?this.dd:this.dm;break;case"ItemsSource":case"ValueField":case"DataSourceDesiredProperties":case"Fields":this.ja();break;case"LabelTextColor":this.j9=null!=this.kv?this.kv:r.kh;break;case"LabelTextStyle":this.av=null!=this.a2?this.a2:r.ay;break;case"NoMatchesFoundLabelTextColor":this.kb=null!=this.kx?this.kx:r.kj;break;case"NoMatchesFoundLabelBackgroundColor":this.ka=null!=this.kw?this.kw:r.ki;break;case"NoMatchesFoundLabelTextStyle":this.aw=null!=this.a3?this.a3:r.az;break;case"UnderlineColor":this.kd=null!=this.kz?this.kz:this.kp;break;case"UnderlineOpacity":this.c2=i.isNaN_(this.dn)?this.de:this.dn;break;case"UnderlineRippleColor":this.ke=null!=this.k0?this.k0:this.kq;break;case"UnderlineRippleOpacity":this.c3=i.isNaN_(this.dp)?this.df:this.dp;break;case"UnderlineRippleWidth":this.c4=i.isNaN_(this.dq)?this.dg:this.dq;break;case"UnderlineWidth":this.c5=i.isNaN_(this.dr)?this.dh:this.dr;break;case"BaseTheme":this.ah=0==this.ai?1:this.ai;break;case"Density":this.am=0==this.density?0:this.density;break;case"TextColor":this.kc=null!=this.ky?this.ky:r.kr;break;case"TextStyle":this.ax=null!=this.a4?this.a4:null;break;case"ActualDensity":case"ActualBaseTheme":case"ActualTextColor":case"ActualTextStyle":case"DisplayType":case"ActualBackgroundColor":case"ActualBorderColor":case"ActualBorderWidth":case"ActualContentPadding":case"ActualCornerRadius":case"ActualFocusBorderColor":case"ActualFocusBorderWidth":case"ActualFocusUnderlineColor":case"ActualFocusUnderlineOpacity":case"ActualFocusUnderlineRippleOpacity":case"ActualHoverUnderlineColor":case"ActualHoverUnderlineOpacity":case"ActualHoverUnderlineWidth":case"ActualLabelTextColor":case"ActualLabelTextStyle":case"ActualUnderlineColor":case"ActualUnderlineOpacity":case"ActualUnderlineRippleColor":case"ActualUnderlineRippleOpacity":case"ActualUnderlineRippleWidth":case"ActualUnderlineWidth":case"DropDownButtonVisible":case"ActualNoMatchesFoundLabel":case"ActualNoMatchesFoundLabelTextColor":case"ActualNoMatchesFoundLabelTextStyle":case r.et:this.i1();break;case"NoMatchesFoundLabel":this.actualNoMatchesFoundLabel=i.stringIsNullOrEmpty(this.f5)?"No Matches Found":this.f5;break;case"Label":case"PlaceholderText":this.i1(),this.actualLabelVisible=!i.stringIsNullOrEmpty(this.f1);break;case"Text":this.i5();var s=null!=e?e.toString():null,a=null!=o?o.toString():null;this.ic(new f(s,a)),this.io(1,a);break;case"Value":this.h9(new d(e,o)),this.io(0,o);break;case"AllowFilter":this.g6(this.bu);break;case"DisallowTabFocus":this.ab.o();break;case"IsFixed":this.ab.n();break;case"UseTopLayer":this.ab.p()}},Object.defineProperty(r.prototype,"a1",{get:function(){return null==this.a0&&(this.a0=new i.FontInfo,this.a0.q="Verdana",this.a0.f=i.DeviceUtils.f(16)),this.a0},enumerable:!1,configurable:!0}),r.prototype.focus=function(t){this.g8(t)},r.prototype.setName=function(t){this.ab.l(t)},Object.defineProperty(r.prototype,"disallowTabFocus",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.h6("DisallowTabFocus",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.h6("Fields",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kf",{get:function(){return this.jt},set:function(t){var e=this.jt;this.jt=t,e!=this.jt&&this.h6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j4",{get:function(){return this.ji},set:function(t){var e=this.ji;this.ji=t,e!=this.ji&&this.h6("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ai",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.h6("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ah",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.h6("ActualBaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kg",{get:function(){return this.ju},set:function(t){var e=this.ju;this.ju=t,e!=this.ju&&this.h6("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j5",{get:function(){return this.jj},set:function(t){var e=this.jj;this.jj=t,e!=this.jj&&this.h6("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c6",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.h6("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cw",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.h6("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k4",{get:function(){return this.k2},set:function(t){var e=this.k2;this.k2=t,e!=this.k2&&this.h6("ContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k3",{get:function(){return this.k1},set:function(t){var e=this.k1;this.k1=t,e!=this.k1&&this.h6("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.je},set:function(t){var e=this.je;this.je=t,e!=this.je&&this.h6("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.jd},set:function(t){var e=this.jd;this.jd=t,e!=this.jd&&this.h6("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.h6("DataSourceDesiredProperties",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.h6("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"am",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.h6("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.h6("DropDownButtonVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ks",{get:function(){return this.jv},set:function(t){var e=this.jv;this.jv=t,e!=this.jv&&this.h6("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j6",{get:function(){return this.jk},set:function(t){var e=this.jk;this.jk=t,e!=this.jk&&this.h6("ActualFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"di",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.h6("FocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cx",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.h6("ActualFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kt",{get:function(){return this.jw},set:function(t){var e=this.jw;this.jw=t,e!=this.jw&&this.h6("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.jl},set:function(t){var e=this.jl;this.jw=t,e!=this.jl&&this.h6("ActualFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dj",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.h6("FocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cy",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.h6("ActualFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dk",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.h6("FocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.h6("ActualFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ku",{get:function(){return this.jx},set:function(t){var e=this.jx;this.jx=t,e!=this.jx&&this.h6("HoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.jm},set:function(t){var e=this.jm;this.jm=t,e!=this.jm&&this.h6("ActualHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dl",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.h6("HoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cg},set:function(t){var e=this.cg;this.cg=t,e!=this.cg&&this.h6("ActualHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dm",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.h6("HoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.ch},set:function(t){var e=this.ch;this.ch=t,e!=this.ch&&this.h6("ActualHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"itemsSource",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.h6("ItemsSource",e,this.du)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.m()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.f1},set:function(t){var e=this.fz;0!=i.StringComparer.b.compare(t,e)&&(this.f1=t,this.h6("Label",e,this.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kv",{get:function(){return this.jy},set:function(t){var e=this.jy;this.jy=t,e!=this.jy&&this.h6("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j9",{get:function(){return this.jn},set:function(t){var e=this.jn;this.jn=t,e!=this.jn&&this.h6("ActualLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.h6("LabelTextStyle",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"av",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,this.ap!=e&&this.h6("ActualLabelTextStyle",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.h6("ActualLabelVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.f4},set:function(t){var e=this.f4;0!=i.StringComparer.b.compare(t,e)&&(this.f4=t,this.h6("NoMatchesFoundLabel",e,this.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.h6("ActualNoMatchesFoundLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kw",{get:function(){return this.jz},set:function(t){var e=this.jz;this.jz=t,e!=this.jz&&this.h6("NoMatchesFoundLabelBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ka",{get:function(){return this.jo},set:function(t){var e=this.jo;this.jo=t,e!=this.jo&&this.h6(r.et,e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kx",{get:function(){return this.j0},set:function(t){var e=this.j0;this.j0=t,e!=this.j0&&this.h6("NoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kb",{get:function(){return this.jp},set:function(t){var e=this.jp;this.jp=t,e!=this.jp&&this.h6("ActualNoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.h6("NoMatchesFoundLabelTextStyle",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,this.aq!=e&&this.h6("ActualNoMatchesFoundLabelTextStyle",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gb",{get:function(){return this.gc},set:function(t){var e=this.gb;0!=i.StringComparer.b.compare(t,e)&&(this.gc=t,this.h6("PlaceholderText",e,this.gc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ky",{get:function(){return this.j1},set:function(t){var e=this.j1;this.j1=t,e!=this.j1&&this.h6("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kc",{get:function(){return this.jq},set:function(t){var e=this.jq;this.jq=t,e!=this.jq&&this.h6("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a4",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.h6("TextStyle",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.ar!=e&&this.h6("ActualTextStyle",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kz",{get:function(){return this.j2},set:function(t){var e=this.j2;this.j2=t,e!=this.j2&&this.h6("UnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kd",{get:function(){return this.jr},set:function(t){var e=this.jr;this.jr=t,e!=this.jr&&this.h6("ActualUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dn",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.h6("UnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.ci},set:function(t){var e=this.ci;this.ci=t,e!=this.ci&&this.h6("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k0",{get:function(){return this.j3},set:function(t){var e=this.j3;this.j3=t,e!=this.j3&&this.h6("UnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ke",{get:function(){return this.js},set:function(t){var e=this.js;this.js=t,e!=this.js&&this.h6("ActualUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dp",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.h6("UnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c3",{get:function(){return this.cj},set:function(t){var e=this.cj;this.cj=t,e!=this.cj&&this.h6("ActualUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dq",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.h6("UnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c4",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.h6("ActualUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dr",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.h6("UnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c5",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.h6("ActualUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.h6("AllowFilter",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gg",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.h6("TextField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.h6("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.h6("ValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.h6("ActualValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.h6("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.h6("DisplayType",i.enumGetBox(n.InputGroupDisplayType_$type,e),i.enumGetBox(n.InputGroupDisplayType_$type,t))},enumerable:!1,configurable:!0}),r.prototype.dx=function(t,e){return new i.FastReflectionHelper(!1,e).getPropertyValue(t)},r.prototype.ft=function(){return this.fs(this.gg)},r.prototype.dy=function(t){var e=this.i();if(null==e||0==e.length)return null;for(var n=new i.List$1(i.Base.$,0),r=0;r<e.length;r++){var o=e[r],s=this.dx(t,o);n.add1(s)}return 1==n.count?n._inner[0]:n.toArray()},r.prototype.fr=function(t){var e,i=this.ft();if(null!=i){var n=this.dx(t,i);e=null!=n?n.toString():null}else e=null;return e},r.prototype.fs=function(t){if(i.stringIsNullOrEmpty(t)){var e=this.actualDataSource;if(null==e)return null;var n=e.actualSchema;if(null==n)return null;var r=n.propertyNames;return 0==r.length?null:r[0]}return t},r.prototype.h=function(t){var e=new i.List$1(i.String_$type,0);if(null==t||0==t.length){var n=this.fs(null);return i.stringIsNullOrEmpty(n)?null:(e.add(n),e.toArray())}for(var r=0;r<t.length;r++){var o=t[r],s=this.fs(o);null!=s&&e.add(s)}return e.count>0?e.toArray():null},r.prototype.i=function(){var t=this.j;return this.h(t)},r.prototype.h8=function(t){this.io(2,t)},r.prototype.io=function(t,e){if(!this.b2){this.b2=!0;try{switch(t){case 2:var n=e,r=void 0,o=void 0;null!=n?(r=this.fr(n),o=this.dy(n)):(r=i.stringEmpty(),o=null),this.text!=r&&(this.text=r),this.value!=o&&(this.value=o);break;case 1:this.i0(e.toString());break;case 0:this.iz(e)}}finally{this.b2=!1}}},r.prototype.iy=function(t){this.text=t},r.prototype.jc=function(){this.ax=null==this.a4?this.a1:this.a4,this.av=null==this.a2?this.a1:this.a2},r.prototype.i3=function(){},r.prototype.closeUp=function(){this.g0()},r.prototype.destroy=function(){this.provideRenderer(null)},r.prototype.dropDown=function(){this.g5()},r.prototype.select=function(){this.iu()},r.prototype.notifySizeChanged=function(){this.ab.g()},r.prototype.provideRenderer=function(t){this.ab.j(t),this.actualNoMatchesFoundLabel=i.stringIsNullOrWhiteSpace(this.bj.b1("NoMatches"))?"No Matches Found":this.bj.b1("NoMatches")},r.prototype.dw=function(){return this.u()},r.prototype.fk=function(){return this.u().ak()},r.prototype.u=function(){var t=new b;if(t.a=i.AppearanceHelper.a(this.j4),t.i=this.ah,t.b=i.AppearanceHelper.a(this.j5),t.n=this.cw,t.as=this.k3,t.ar=this.jf,t.j=this.am,t.dropDownButtonVisible=this.dropDownButtonVisible,t.o=this.cy,t.y=this.fz,t.c=i.AppearanceHelper.a(this.j9),t.actualLabelVisible=this.actualLabelVisible,t.actualNoMatchesFoundLabel=this.actualNoMatchesFoundLabel,t.d=i.AppearanceHelper.a(this.ka),t.e=i.AppearanceHelper.a(this.kb),t.aj=this.gb,t.f=i.AppearanceHelper.a(this.kc),t.g=i.AppearanceHelper.a(this.kd),t.p=this.c2,t.h=i.AppearanceHelper.a(this.ke),t.q=this.c3,t.r=this.c4,t.s=this.c5,t.al=this.text,t.w=this.value,null!=this.av){var e=this.av;if(null!=this.ab&&null==e.q){var n=this.ab.c,r=i.FontUtil.getFontInfoFromString(n,e.fontString);e.q=r.q,e.f=r.f,e.r=r.r,e.t=r.t,e.u=r.u,e.v=r.v}null!=e.q&&(t.z=e.q),i.isNaN_(e.f)||(t.t=e.f),null!=e.v&&(t.ad=e.v),null!=e.t&&(t.ab=e.t),null!=e.r&&(t.aa=e.t)}if(null!=this.aw){var o=this.aw;if(null!=this.ab&&null==o.q){var s=this.ab.c,a=i.FontUtil.getFontInfoFromString(s,o.fontString);o.q=a.q,o.f=a.f,o.r=a.r,o.t=a.t,o.u=a.u,o.v=a.v}null!=o.q&&(t.ae=o.q),i.isNaN_(o.f)||(t.u=o.f),null!=o.v&&(t.ai=o.v),null!=o.t&&(t.ag=o.t),null!=o.r&&(t.af=o.t)}if(null!=this.ax){var h=this.ax;if(null!=this.ab&&null==h.q){var u=this.ab.c,l=i.FontUtil.getFontInfoFromString(u,h.fontString);h.q=l.q,h.f=l.f,h.r=l.r,h.t=l.t,h.u=l.u,h.v=l.v}null!=h.q&&(t.am=h.q),i.isNaN_(h.f)||(t.v=h.f),null!=h.v&&(t.aq=h.v),null!=h.t&&(t.ao=h.t),null!=h.r&&(t.an=h.t)}return t},Object.defineProperty(r.prototype,"b4",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.h6("IsFixed",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.h6("OpenAsChild",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cb",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.h6("UseTopLayer",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.h1=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},r.prototype.h4=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},r.prototype.ic=function(t){null!=this.textValueChanged&&this.textValueChanged(this,t)},r.prototype.h9=function(t){null!=this.selectedValueChanged&&this.selectedValueChanged(this,t)},r.prototype.h6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ip(t,e,n)},r.prototype.h3=function(t){if(null!=this.keyDown){var e=new i.KeyEventArgs(1,t.g,t.a,t.e,t.b,t.h);this.keyDown(this,e)}},r.prototype.hq=function(t){var e=new n.InputChangeEventArgs;e.isCompositionInProgress=t.a,e.value=t.b,null!=this.changing&&this.changing(this,e)},Object.defineProperty(r.prototype,"ad",{get:function(){return this.ac},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b7",{get:function(){return 46==this.dt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.bg},enumerable:!1,configurable:!0}),r.prototype.id=function(t){this.a9=t,this.h5()},r.prototype.h0=function(){this.ab.i()},r.prototype.hp=function(){this.ab.h()},r.prototype.h5=function(){this.g2(),this.i8(),this.g1(),this.bc.bn(this.a7),this.i1(),this.i2(),this.ab.h()},r.prototype.gv=function(t){var e=this.m();null!=this.n&&null!=e&&e.filterExpressions.k.contains(this.n)&&e.filterExpressions.remove(this.n),this.n=t,this.by=!1,null==t||null==e||e.filterExpressions.k.contains(t)?this.dropDown():(e.filterExpressions.add(t),this.by=!0)},r.prototype.gw=function(){var t=this.m();null!=t&&t.filterExpressions.k.contains(this.n)&&t.filterExpressions.remove(this.n),this.n=null},r.prototype.g0=function(){var t=this.bh;null!=t&&t.cb(),this.i2(),this.gw()},Object.defineProperty(r.prototype,"bb",{get:function(){return this.a7},enumerable:!1,configurable:!0}),r.prototype.b3=function(t){if(null==t)return!1;this.a7,this.ac,this.a5;return this.bh.t(t)||this.bc.t(t)},r.prototype.g1=function(){var t=this,e=this.ab.d();i.NativeUIContent.av(e,[7,2],[2,2],(function(e){t.a7=e[0],t.a7.h=3,t.a7.n=i.runOn(t,t.hk),t.a7.o=i.runOn(t,t.hl),t.bd=e[1],t.a7.bn(t.bd),t.bd.b7=t.text,t.bd.bs=i.runOn(t,t.hf),t.bd.bt=i.runOn(t,t.hg),t.bd.bx=i.runOn(t,t.hi),t.bd.n=i.runOn(t,t.hh),t.bd.bz=i.runOn(t,t.hj),t.g6(t.bu),t.bd.b6=r.d2,t.bd.bn=i.runOn(t,t.ib)}))},Object.defineProperty(r.prototype,"be",{get:function(){return this.bd},enumerable:!1,configurable:!0}),r.prototype.g2=function(){var t=this;i.NativeUIContent.av(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.a5=e[2],t.a5.bi=new i.Thickness(0,4),t.ba=e[0],t.ba.bn(t.a5),t.a8=e[4],t.ba.bn(t.a8),t.a9.bn(t.bg),t.bf=e[3],t.bg.bn(t.ba),t.bg.bw=i.runOn(t,t.ig)}))},r.prototype.ig=function(t,e){null!=this.ad&&0==this.a8.bj&&this.ad.notifySizeChanged()},r.prototype.ht=function(t,e){},r.prototype.hw=function(t,e,i){},r.prototype.hs=function(){switch(this.v){case 2:case 1:null==this.l&&(this.v=0)}var t=null;switch(this.v){case 2:var e=this.l.actualCount;if(0==e)this.value=null;else{t=this.l.getItemAtIndex(0);for(var n=this.i(),r=new i.List$1(i.Base.$,0),o=0;o<n.length;o++){var s=n[o],a=this.l.getItemProperty(t,s);r.add1(a)}this.value=1==r.count?r._inner[0]:r.toArray()}break;case 1:var h=this.l.actualCount;if(0==h)this.text=i.stringEmpty();else{var u=this.ft();t=this.l.getItemAtIndex(0);var l=this.l.getItemProperty(t,u).toString();this.text=l}var c=this.m().indexOfItem(t);this.iw(c);break;case 0:default:return}if(null!=t){var p=this.m().indexOfItem(t);this.iw(p)}else this.iw(-1);null!=this.l&&(this.l.updateNotifier=null,this.l=null),this.v=0},r.prototype.hu=function(t,e){},r.prototype.hv=function(t,e){},r.prototype.hz=function(t,e){var i=this.ad;if(null!=i){var n=i.dt;-1!=n&&n>=t&&n<=e&&(this.it(n),this.i9())}},r.prototype.ia=function(t,e,i){},r.prototype.hr=function(){if(this.ii(),this.b5){var t=this.m().actualCount;this.ca&&t>0?this.ik():this.il()}else this.i7()},r.prototype.h2=function(t,e){},r.prototype.h7=function(t,e){},r.prototype.g5=function(){this.jb(),this.hm();var t=this.bh;if(!t.b6){var e=this.ab.r();t.b0=!this.b5,t.ce(e,1,1),this.i2()}},r.prototype.m=function(){var t=this.ad;return null!=t?t.actualDataSource:null},r.prototype.bz=function(t){var e=this.ac.ai,i=e.count;return 0==i?{ret:!0,p0:t=null}:{ret:null!=(t=e._inner[0]),p0:t}},r.prototype.ha=function(t){var e=-1!=t?t:-1;this.it(e)},r.prototype.hc=function(){var t,e,i=this;this.bo||(e=i.bz(t),t=e.p0,e.ret)&&null!=t&&this.h8(t)},r.prototype.hm=function(){this.bh.cc()},r.prototype.ho=function(){if(this.bh.b6){this.closeUp();var t=this.bd;t.az();var e=null!=t.b7?t.b7.length:0;t.ca(e,e)}},r.prototype.hx=function(){this.bd.b1=!0,this.bd.b9();var t=new g;this.h1(t)},r.prototype.hy=function(){this.closeUp(),this.bd.b8();var t=new y;this.h4(t)},r.prototype.il=function(){var t=this.ac;t.selectedItemsChanged=i.delegateRemove(t.selectedItemsChanged,i.runOn(this,this.hd)),this.bo=!0;try{this.iy(this.d7)}finally{this.bo=!1;var e=this.ac;e.selectedItemsChanged=i.delegateCombine(e.selectedItemsChanged,i.runOn(this,this.hd))}this.b5=!1},r.prototype.im=function(){if(this.b5=!0,i.stringIsNullOrEmpty(this.d7))null!=this.n?this.gv(null):this.il();else{var t=i.FilterFactory.instance.property(this.ft()).toLower().startsWith(this.d7.toLowerCase());this.gv(t)}},r.prototype.ir=function(){this.dt=0,this.b6=!1},r.prototype.it=function(t){var e=this.m();if(e.isPlaceholderItem(t));else{var n=this.ad;if(t<0)return this.b1=!1,n.ai.clear(),void(this.b1||this.hc());n.selectedItemsChanged=i.delegateRemove(n.selectedItemsChanged,i.runOn(this,this.hd));try{n.ai.clear()}finally{n.selectedItemsChanged=i.delegateCombine(n.selectedItemsChanged,i.runOn(this,this.hd))}if(t>=0){var r=e.getItemAtIndex(t);this.b1=!1,n.ai.add1(r),this.b1||this.hc()}}},r.prototype.iw=function(t){var e=this.ad;if(-1!=t){var i;e.dt;this.ds=t,i=t,this.b0=!1,e.dt=i,this.b0||this.ha(e.dt),this.i9()}else e.dt=-1},r.prototype.i0=function(t){this.ie(2,t)},r.prototype.iz=function(t){this.ie(1,t)},r.prototype.i1=function(){var t=this;if(null!=this.bd&&(this.bd.bp=t.density,this.bd.c=t.ah,this.bd.bu=t.s,this.bd.a8=t.j4,this.bd.a9=t.j5,this.bd.bg=new i.Thickness(0,t.cw),this.bd.bp=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.ce=t.kc,this.bd.bk=t.ax),null!=this.bd&&(this.bd.b5=t.fz),null!=this.a5){if(this.a5.ba=t.kb,this.a5.a8=t.ka,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bs=this.bf,this.bf.bm=this.actualNoMatchesFoundLabel,this.hm()}this.ad},r.prototype.i5=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b7=t}},r.prototype.i2=function(){var t=this.bh,e=null!=t&&t.b6;this.bd.b6=e?r.d3:r.d4},r.prototype.i4=function(){this.jc();var t=this.ac.h4(),e=Math.min(t.height,320);this.a8.y=e;var i=t.width;i=Math.max(i,150),this.a8.ae=i},r.prototype.i6=function(){this.b5||(this.d7=null,null!=this.n?this.gw():this.i7())},r.prototype.i7=function(){if(null!=this.value){var t=this.value,e=null!==i.typeCast(i.Array_$type,t)?t:[t],n=this.m().indexOfKey(e);-1!=n&&this.iw(n)}},r.prototype.i8=function(){var t=this;null==this.ad&&(this.jc(),this.ab.f(this.a8,(function(e){var n=e;t.ac=n;var r=t.ac;r.rowUpdating=i.delegateCombine(r.rowUpdating,i.runOn(t,t.gt)),t.ja(),t.ad.as=1,t.ad.an=0,t.ad.r=1,t.a8.a8=i.BrushUtil.h(255,255,255,255),t.ac.h2=i.BrushUtil.h(255,200,200,200),t.ac.hw=i.BrushUtil.h(255,100,100,100),t.ac.ec=32,t.ad.h0=i.BrushUtil.h(0,0,0,0),t.ad.bx=!1,t.ad.bs=!1;var o=t.ad;o.activeRowChanged=i.delegateCombine(o.activeRowChanged,i.runOn(t,t.g9));var s=t.ad;s.selectedItemsChanged=i.delegateCombine(s.selectedItemsChanged,i.runOn(t,t.hd));var a=t.ad;a.itemClicked=i.delegateCombine(a.itemClicked,i.runOn(t,t.hb)),t.ad.a9=i.runOn(t,t.he),t.i1()})))},r.prototype.gt=function(t,e){var n=this;if(null!=e.b){if("comboItem"!=e.b.ao)i.NativeUIComponent.au(this.ab.d(),3,(function(t){var r=t;r.bk=n.ax,e.b.bs=r,e.b.ao="comboItem",r.f=0,r.h=1,r.bh=new i.Thickness(0,5),r.bm=null!=n.ft()?n.actualDataSource.getItemProperty(e.a.x,n.ft()).toString():""}));else e.b.bs.bm=null!=this.ft()?this.actualDataSource.getItemProperty(e.a.x,this.ft()).toString():""}},r.prototype.ie=function(t,e){var n=this.m();if(null!=n){null!=this.l&&(this.v,this.l.updateNotifier=null,this.l=null),this.v=t;var r=new i.FilterFactory,o=null,s=null;switch(t){case 2:var a=this.ft();if(i.stringIsNullOrEmpty(a))return;o=e.toString(),s=r.property(a).isEqualTo(o);break;case 1:var h=this.i();if(null==h||h.length<1)return;var u=null!==i.typeCast(i.Array_$type,e)?e:[e];if(h.length!=u.length)return;for(var l=0;l<h.length;l++){var c=h[l];o=u[l];var p=r.property(c).isEqualTo(o);null==s?s=p:s.and(p)}break;case 0:default:return}this.l=n.clone(),this.l.filterExpressions.clear(),this.l.updateNotifier=new C(this,!0),this.l.filterExpressions.add(s),this.l.isVirtual||this.l.flushAutoRefresh()}},r.prototype.ih=function(){this.i5();var t=this.text,e=this.d7.length,n=i.stringIsNullOrEmpty(t)?0:t.length;this.b6&&!i.stringIsNullOrEmpty(this.d7)&&e>0&&e--,this.bd.ca(e,n)},r.prototype.ii=function(){this.by&&(this.by=!1,this.dropDown())},r.prototype.ij=function(t){this.d7=t,this.ca=!this.b7,this.im()},r.prototype.ik=function(){i.stringIsNullOrEmpty(this.d7)?this.gx():this.iw(0),this.ih(),this.b5=!1},r.prototype.gx=function(){this.ad.dt=-1},r.prototype.g6=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.i9=function(){if(this.bp){var t=this.ad,e=t.dt;if(-1!=e){var i=this.m();if(null!=i){var n=e<i.actualCount?i.getItemAtIndex(e):0;if(null==n)return;t.ck(n)}}else t.hd(0)}},r.prototype.ja=function(){if(null!=this.ad){var t=this.itemsSource;if(this.ad.ai.clear(),null!=this.ad.actualDataSource){var e=this.ad.actualDataSource;e.schemaChanged=i.delegateRemove(e.schemaChanged,i.runOn(this,this.gu))}this.ad.g=null,this.ad.itemsSource=t,this.ad.f=this.i(),this.ds=-1;var n=this.m();if(null!=n){var r=n.updateNotifier,o=new C(this,!1),s=new m(1,[r,o]);n.updateNotifier=s,n.propertiesRequested=this.f,n.schemaChanged=i.delegateCombine(n.schemaChanged,i.runOn(this,this.gu)),null!=this.value&&this.ie(1,this.value)}this.l=null}},r.prototype.gu=function(t,e){-1!=this.ds&&(this.iw(this.ds),this.ds=-1)},r.prototype.iv=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.jb=function(){if(this.i4(),this.b5){var t=this.m();this.b8=0==t.actualCount}else this.b8=!1;this.a5.bj=this.b8?0:1;this.a8.bj;this.a8.bj=this.b8?1:0},r.prototype.g8=function(t){null!=this.bd&&(t?this.bd.a0():this.bd.az())},r.prototype.iu=function(){null!=this.bd&&this.bd.b9()},Object.defineProperty(r.prototype,"bc",{get:function(){return this.a9},enumerable:!1,configurable:!0}),r.prototype.ib=function(t,e){e.a=!0,this.bh.b6?this.closeUp():this.gv(null),null!=this.bd&&(this.bd.az(),this.bd.b9())},r.prototype.g9=function(t,e){var i=e.newActiveRow;this.ha(i),this.b0=!0},r.prototype.hb=function(t,e){this.ho()},r.prototype.hd=function(t,e){this.hc(),this.b1=!0},r.prototype.he=function(){this.bp=this.ad.ay.a,this.i9()},r.prototype.hf=function(t,e){if(!e.a){this.hq(e);var i=e.b;this.ij(i)}},r.prototype.hg=function(t,e){var i=this.bd.b7;this.ij(i)},r.prototype.hh=function(t,e){this.ir()},r.prototype.hi=function(t,e){if(this.h3(e),!e.c){var n=e.g;switch(this.dt=n,this.b6=!1,n){case 8:var r=this.bd.b4;if(0==r)break;var o=this.bd.b7;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b3,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.i6(),e.d=!0;else{var u=this.ad;if(null==u)return;this.ad.dt;if(-1!=u.dt)this.ad.b3(!1,!1),e.d=!0;else{var l=this.m();if(null!=l)l.actualCount>0&&(this.iw(0),e.d=!0)}}break;case 38:if(e.a)this.closeUp(),e.d=!0;else{var c=this.ad;if(null==c)return;this.ad.dt;if(null!=c.dt)this.ac.cg(!1,!1),e.d=!0;else{var p=this.m();if(null!=p){var f=p.actualCount;f>0&&(this.iw(f-1),e.d=!0)}}}break;case 13:this.bh.b6&&(e.f=!0),this.ho();break;case 27:this.closeUp()}}},r.prototype.hj=function(t,e){},r.prototype.hk=function(t,e){if(!this.bm){this.bm=!0,this.bd.az(),this.bm=!1;var i=e.b;this.b3(i)||this.hx()}},r.prototype.hl=function(t,e){var i=e.b;this.b3(i)||this.hy()},r.$t=i.markType(r,"ComboEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),r.ag=1,r.kh=n.ThemeResolver.ah(r.ag,n.XLabel.dd,n.XLabel.c6),r.kj=n.ThemeResolver.ah(r.ag,n.XLabel.dd,n.XLabel.c6),r.ki=i.BrushUtil.h(255,255,255,255),r.ay=null,r.et="ActualNoMatchesFoundLabelBackgroundColor",r.az=null,r.kr=i.BrushUtil.h(221,0,0,0),r.d2="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",r.d4="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",r.d3="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",r}(i.Base),C=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.b?this.a.ht(t,e):this.a.hz(t,e)},n.prototype.notifySetItem=function(t,e,i){this.b?this.a.hw(t,e,i):this.a.ia(t,e,i)},n.prototype.notifyClearItems=function(){this.b?this.a.hs():this.a.hr()},n.prototype.notifyInsertItem=function(t,e){this.b?this.a.hu(t,e):this.a.h2(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.b?this.a.hv(t,e):this.a.h7(t,e)},n.$t=i.markType(n,"ComboEditorDataSourceNotificationHandler",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),j=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldText",{get:function(){return this.i.oldText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newText",{get:function(){return this.i.newText},enumerable:!1,configurable:!0}),t}(),P=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.oldValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},enumerable:!1,configurable:!0}),t}(),w=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new g},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),O=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),T=function(t){function r(){var e=t.call(this)||this;return e._implementation=null,e._disconnected=!1,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._gotFocus=null,e._gotFocus_wrapped=null,e._lostFocus=null,e._lostFocus_wrapped=null,e._textValueChanged=null,e._textValueChanged_wrapped=null,e._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._keyDown=null,e._keyDown_wrapped=null,e._change=null,e._change_wrapped=null,e._changing=null,e._changing_wrapped=null,e._textChange=null,e._textChange_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._portalManager=new i.PortalManager("ComboEditorContent"),e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{},e._portalManager),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.provideRenderer(e._webComponentRenderer),e.i.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.i.notifySizeChanged()})),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),r.prototype.updateStyle=function(){this._styling(this,this)},r.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},r.prototype.createImplementation=function(){return new v},Object.defineProperty(r.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),r.prototype.disconnectedCallback=function(){this._disconnected=!0},r.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-combo-editor"),this.classList.add("igc-combo-editor");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},r.prototype.afterContentInit=function(){this.i.notifySizeChanged()},r.prototype.attributeSynced=function(t,e){"name"===t&&this.i.setName(e)},r.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},r.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},r.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(r,"observedAttributes",{get:function(){if(null==r._observedAttributesIgcComboEditorComponent){for(var t=i.getAllPropertyNames(r),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);r._observedAttributesIgcComboEditorComponent=t}return r._observedAttributesIgcComboEditorComponent},enumerable:!1,configurable:!0}),r.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},r.register=function(){r._isElementRegistered||(r._isElementRegistered=!0,i.RegisterElementHelper.registerElement(r.htmlTagName,r))},Object.defineProperty(r.prototype,"fields",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baseTheme",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ai))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBaseTheme",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("actualBaseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ah))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderColor",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderWidth",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("borderWidth",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderWidth",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("actualBorderWidth",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingBottom",{get:function(){return this.i.k4?this.i.k4.bottom:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.bottom=+t,this._a("contentPaddingBottom",this.i.k4.bottom),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingLeft",{get:function(){return this.i.k4?this.i.k4.left:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.left=+t,this._a("contentPaddingLeft",this.i.k4.left),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingRight",{get:function(){return this.i.k4?this.i.k4.right:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.right=+t,this._a("contentPaddingRight",this.i.k4.right),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingTop",{get:function(){return this.i.k4?this.i.k4.top:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.top=+t,this._a("contentPaddingTop",this.i.k4.top),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),r.prototype.ensureContentPadding=function(){this.i.k4||(this.i.k4=new i.Thickness(2))},Object.defineProperty(r.prototype,"actualContentPaddingBottom",{get:function(){return this.i.k3?this.i.k3.bottom:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.bottom=+t,this._a("actualContentPaddingBottom",this.i.k3.bottom),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingLeft",{get:function(){return this.i.k3?this.i.k3.left:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.left=+t,this._a("actualContentPaddingLeft",this.i.k3.left),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingRight",{get:function(){return this.i.k3?this.i.k3.right:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.right=+t,this._a("actualContentPaddingRight",this.i.k3.right),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingTop",{get:function(){return this.i.k3?this.i.k3.top:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.top=+t,this._a("actualContentPaddingTop",this.i.k3.top),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),r.prototype.ensureActualContentPadding=function(){this.i.k3||(this.i.k3=new i.Thickness(2))},Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.jg?this.i.jg.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.c=+t,this._a("cornerRadiusBottomRight",this.i.jg.c),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.jg?this.i.jg.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.b=+t,this._a("cornerRadiusBottomLeft",this.i.jg.b),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.jg?this.i.jg.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.d=+t,this._a("cornerRadiusTopLeft",this.i.jg.d),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.i.jg?this.i.jg.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.e=+t,this._a("cornerRadiusTopRight",this.i.jg.e),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),r.prototype.ensureCornerRadius=function(){this.i.jg||(this.i.jg=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.jf?this.i.jf.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.c=+t,this._a("actualCornerRadiusBottomRight",this.i.jf.c),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.jf?this.i.jf.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.jf.b),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.jf?this.i.jf.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.d=+t,this._a("actualCornerRadiusTopLeft",this.i.jf.d),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.jf?this.i.jf.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.e=+t,this._a("actualCornerRadiusTopRight",this.i.jf.e),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),r.prototype.ensureActualCornerRadius=function(){this.i.jf||(this.i.jf=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"dataSourceDesiredProperties",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.i.density},set:function(t){this.i.density=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.density))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDensity",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.am))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.i.dropDownButtonVisible},set:function(t){this.i.dropDownButtonVisible=i.ensureBool(t),this._a("dropDownButtonVisible",this.i.dropDownButtonVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderColor",{get:function(){return i.brushToString(this.i.ks)},set:function(t){this.i.ks=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.ks))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderWidth",{get:function(){return this.i.di},set:function(t){this.i.di=+t,this._a("focusBorderWidth",this.i.di)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderWidth",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("actualFocusBorderWidth",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineColor",{get:function(){return i.brushToString(this.i.kt)},set:function(t){this.i.kt=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.kt))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineOpacity",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("focusUnderlineOpacity",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineOpacity",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("actualFocusUnderlineOpacity",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineRippleOpacity",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("focusUnderlineRippleOpacity",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineRippleOpacity",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("actualFocusUnderlineRippleOpacity",this.i.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineColor",{get:function(){return i.brushToString(this.i.ku)},set:function(t){this.i.ku=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.ku))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineOpacity",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("hoverUnderlineOpacity",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineOpacity",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("actualHoverUnderlineOpacity",this.i.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineWidth",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("hoverUnderlineWidth",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineWidth",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("actualHoverUnderlineWidth",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.i.actualDataSource},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this.i.fz},set:function(t){this.i.fz=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.kv)},set:function(t){this.i.kv=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.kv))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelTextColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("actualLabelTextColor",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextStyle",{get:function(){return null==this.i.a2?null:this.i.a2.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a2=e,this._a("labelTextStyle",null!=this.i.a2?this.i.a2.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.i.actualLabelVisible},set:function(t){this.i.actualLabelVisible=i.ensureBool(t),this._a("actualLabelVisible",this.i.actualLabelVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabel",{get:function(){return this.i.f5},set:function(t){this.i.f5=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.i.actualNoMatchesFoundLabel},set:function(t){this.i.actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.kw)},set:function(t){this.i.kw=i.stringToBrush(t),this._a("noMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kw))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelBackgroundColor",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kx)},set:function(t){this.i.kx=i.stringToBrush(t),this._a("noMatchesFoundLabelTextColor",i.brushToString(this.i.kx))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelTextColor",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextStyle",{get:function(){return null==this.i.a3?null:this.i.a3.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a3=e,this._a("noMatchesFoundLabelTextStyle",null!=this.i.a3?this.i.a3.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"placeholder",{get:function(){return this.i.gb},set:function(t){this.i.gb=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return i.brushToString(this.i.ky)},set:function(t){this.i.ky=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.ky))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textStyle",{get:function(){return null==this.i.a4?null:this.i.a4.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a4=e,this._a("textStyle",null!=this.i.a4?this.i.a4.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineColor",{get:function(){return i.brushToString(this.i.kz)},set:function(t){this.i.kz=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.kz))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineOpacity",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("underlineOpacity",this.i.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineOpacity",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("actualUnderlineOpacity",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleColor",{get:function(){return i.brushToString(this.i.k0)},set:function(t){this.i.k0=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.k0))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleOpacity",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("underlineRippleOpacity",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleOpacity",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("actualUnderlineRippleOpacity",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleWidth",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("underlineRippleWidth",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleWidth",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("actualUnderlineRippleWidth",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineWidth",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("underlineWidth",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineWidth",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t,this._a("actualUnderlineWidth",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"allowFilter",{get:function(){return this.i.bu},set:function(t){this.i.bu=i.ensureBool(t),this._a("allowFilter",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textField",{get:function(){return this.i.gg},set:function(t){this.i.gg=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.i.text},set:function(t){this.i.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueField",{get:function(){return this.i.j},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualValueField",{get:function(){return this.i.e},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isFixed",{get:function(){return this.i.b4},set:function(t){this.i.b4=i.ensureBool(t),this._a("isFixed",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"openAsChild",{get:function(){return this.i.b9},set:function(t){this.i.b9=i.ensureBool(t),this._a("openAsChild",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"useTopLayer",{get:function(){return this.i.cb},set:function(t){this.i.cb=i.ensureBool(t),this._a("useTopLayer",this.i.cb)},enumerable:!1,configurable:!0}),r.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(r.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),r.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},r.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ComboEditorComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},r.prototype.closeUp=function(){this.i.closeUp()},r.prototype.dropDown=function(){this.i.dropDown()},r.prototype.select=function(){this.i.select()},r.prototype.exportVisualModel=function(){return this.i.dw()},r.prototype.exportSerializedVisualModel=function(){return this.i.fk()},r.prototype.selectGridRow=function(t){this.i.it(t)},r.prototype.verifyDisplayText=function(){this.i.i5()},r.prototype.enableDisableFiltering=function(t){this.i.g6(t)},Object.defineProperty(r.prototype,"gotFocus",{get:function(){return this._gotFocus},set:function(t){var e=this;null!==this._gotFocus_wrapped&&(this.i.gotFocus=i.delegateRemove(this.i.gotFocus,this._gotFocus_wrapped),this._gotFocus_wrapped=null,this._gotFocus=null),this._gotFocus=t,this._gotFocus_wrapped=function(t,i){var n=new w;n._provideImplementation(i),e.beforeGotFocus&&e.beforeGotFocus(e,n),e._gotFocus&&e._gotFocus(e,n)},this.i.gotFocus=i.delegateCombine(this.i.gotFocus,this._gotFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lostFocus",{get:function(){return this._lostFocus},set:function(t){var e=this;null!==this._lostFocus_wrapped&&(this.i.lostFocus=i.delegateRemove(this.i.lostFocus,this._lostFocus_wrapped),this._lostFocus_wrapped=null,this._lostFocus=null),this._lostFocus=t,this._lostFocus_wrapped=function(t,i){var n=new O;n._provideImplementation(i),e.beforeLostFocus&&e.beforeLostFocus(e,n),e._lostFocus&&e._lostFocus(e,n)},this.i.lostFocus=i.delegateCombine(this.i.lostFocus,this._lostFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textValueChanged",{get:function(){return this._textValueChanged},set:function(t){var e=this;null!==this._textValueChanged_wrapped&&(this.i.textValueChanged=i.delegateRemove(this.i.textValueChanged,this._textValueChanged_wrapped),this._textValueChanged_wrapped=null,this._textValueChanged=null),this._textValueChanged=t,this._textValueChanged_wrapped=function(t,i){var n=new j;n._provideImplementation(i),e.beforeTextValueChanged&&e.beforeTextValueChanged(e,n),e._textValueChanged&&e._textValueChanged(e,n)},this.i.textValueChanged=i.delegateCombine(this.i.textValueChanged,this._textValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectedValueChanged",{get:function(){return this._selectedValueChanged},set:function(t){var e=this;null!==this._selectedValueChanged_wrapped&&(this.i.selectedValueChanged=i.delegateRemove(this.i.selectedValueChanged,this._selectedValueChanged_wrapped),this._selectedValueChanged_wrapped=null,this._selectedValueChanged=null),this._selectedValueChanged=t,this._selectedValueChanged_wrapped=function(t,i){var n=new P;n._provideImplementation(i),e.beforeSelectedValueChanged&&e.beforeSelectedValueChanged(e,n),e._selectedValueChanged&&e._selectedValueChanged(e,n)},this.i.selectedValueChanged=i.delegateCombine(this.i.selectedValueChanged,this._selectedValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"keyDown",{get:function(){return this._keyDown},set:function(t){var e=this;null!==this._keyDown_wrapped&&(this.i.keyDown=i.delegateRemove(this.i.keyDown,this._keyDown_wrapped),this._keyDown_wrapped=null,this._keyDown=null),this._keyDown=t,this._keyDown_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyDown&&e.beforeKeyDown(e,r),e._keyDown&&e._keyDown(e,r)},this.i.keyDown=i.delegateCombine(this.i.keyDown,this._keyDown_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"change",{get:function(){return this._change},set:function(t){var e=this;null!==this._change_wrapped&&(this.i.change=i.delegateRemove(this.i.change,this._change_wrapped),this._change_wrapped=null,this._change=null),this._change=t,this._change_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChange&&e.beforeChange(e,r),e._change&&e._change(e,r)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"changing",{get:function(){return this._changing},set:function(t){var e=this;null!==this._changing_wrapped&&(this.i.changing=i.delegateRemove(this.i.changing,this._changing_wrapped),this._changing_wrapped=null,this._changing=null),this._changing=t,this._changing_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,r),e._changing&&e._changing(e,r)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textChange",{get:function(){return this._textChange},set:function(t){var e=this;null!==this._textChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._textChange_wrapped),this._textChange_wrapped=null,this._textChange=null),this._textChange=t,this._textChange_wrapped=function(t,i){var n=e.text;"Text"==i.propertyName&&(e.beforeTextChange&&e.beforeTextChange(e,n),e._textChange&&e._textChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._textChange_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueChange",{get:function(){return this._valueChange},set:function(t){var e=this;null!==this._valueChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._valueChange_wrapped),this._valueChange_wrapped=null,this._valueChange=null),this._valueChange=t,this._valueChange_wrapped=function(t,i){var n=e.value;"Value"==i.propertyName&&(e.beforeValueChange&&e.beforeValueChange(e,n),e._valueChange&&e._valueChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._valueChange_wrapped)},enumerable:!1,configurable:!0}),r._observedAttributesIgcComboEditorComponent=null,r.htmlTagName="igc-combo-editor",r._isElementRegistered=!1,r}(i.IgcHTMLElement),I=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.c=0,e.b=0,e.d=i.Rect.empty,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a",{get:function(){return-1!=this.c&&-1!=this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelVisualModel"),n}(i.Base),x=function(t){return t[t.None=0]="None",t[t.SingleRow=1]="SingleRow",t[t.MultipleRow=2]="MultipleRow",t}({}),k=i.markEnum("ListPanelSelectionMode","None,0|SingleRow,1|MultipleRow,2"),S=function(t){return t[t.None=0]="None",t[t.Cell=1]="Cell",t}({}),A=i.markEnum("ListPanelActivationMode","None,0|Cell,1"),N=function(t){return t[t.Toggle=0]="Toggle",t[t.ModifierBased=1]="ModifierBased",t}({}),B=i.markEnum("ListPanelSelectionBehavior","Toggle,0|ModifierBased,1"),R=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.af=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.ag=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.u=function(t){var e=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.af||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,e,t))},n.$t=i.markType(n,"ListPanelSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),E=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=null,n.a=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"ListPanelPrimaryKeyValue"),n}(i.Base),$=function(t){function n(){var e=t.call(this,E.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(E.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,E.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ListPanelSelectedKeysCollection",i.ObservableCollection$1.$.specialize(E.$)),n}(i.ObservableCollection$1),q=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),D=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=0,e.d=0,e.h=0,e.e=0,e.f=0,e.c=0,e.a=0,e.b=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelViewportChangedEventArgs"),n}(i.Base),V=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRecycledEventArgs",i.EventArgs.$),n}(i.EventArgs),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRebindEventArgs",i.EventArgs.$),n}(i.EventArgs),L=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentItems=null,e._addedItems=null,e._removedItems=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentItems",{get:function(){return this._currentItems},set:function(t){this._currentItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedItems",{get:function(){return this._addedItems},set:function(t){this._addedItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedItems",{get:function(){return this._removedItems},set:function(t){this._removedItems=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedItemsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),M=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentKeys=null,e._addedKeys=null,e._removedKeys=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentKeys",{get:function(){return this._currentKeys},set:function(t){this._currentKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedKeys",{get:function(){return this._addedKeys},set:function(t){this._addedKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedKeys",{get:function(){return this._removedKeys},set:function(t){this._removedKeys=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedKeysChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),F=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newActiveRow=0,e._oldActiveRow=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newActiveRow",{get:function(){return this._newActiveRow},set:function(t){this._newActiveRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldActiveRow",{get:function(){return this._oldActiveRow},set:function(t){this._oldActiveRow=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelActiveRowChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),G=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelItemPresenter"),n}(i.Base),K=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateWidthRequestedEventArgs"),n}(i.Base),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateHeightRequestedEventArgs"),n}(i.Base),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelColumnDefinition"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.l("{ "),t.l("left: "+this.b+", "),t.l("top: "+this.c+", "),t.l("width: "+this.d+", "),t.l("height: "+this.a+" "),t.l("}"),t.toString()},n.$t=i.markType(n,"ListPanelItemVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),J=function(t){function n(){var e=t.call(this)||this;return e.c=0,e.d=0,e.e=0,e.b=0,e.a=null,e.a=new i.List$1(Y.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("left: "+this.c+","),t.u("top: "+this.d+","),t.u("width: "+this.e+","),t.u("height: "+this.b+","),t.l("items: ["),this.a.count>0){t.u("");for(var e=0;e<this.a.count;e++){var n=this.a._inner[e].serialize();t=e<this.a.count-1?t.u(n+", "):t.l(n)}t.u("")}return t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ListPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.d=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d-this.f+1},enumerable:!1,configurable:!0}),n.prototype.c=function(t){return t.f>=this.f&&t.f<=this.d||t.d>=this.f&&t.d<=this.d},n.prototype.b=function(t){return t>=this.f&&t<=this.d},n.a=function(t,e){for(var i=0;i<t.count;i++)if(t._inner[i].b(e))return t._inner[i];return null},n.$t=i.markType(n,"ListPanelRowRange"),n}(i.Base),tt=function(t){function n(){var e,n=t.call(this)||this;return n.p=null,n.o=null,n.a=null,n.j=null,n.n=null,n.e=null,n.m=null,n.g=new i.List$1(i.Delegate_$type,0),n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ag=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.l=null,n.k=null,n}return e.__extends(n,t),n.prototype.s=function(){return this.j},n.prototype.ab=function(){},n.prototype.z=function(t){var n,r,o=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.j=t,this.n=this.j.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.j.get2DCanvasContext(this.n)),this.m=this.j.createElement("div"),this.ae(),i.NativeUIComponent.au(this.s(),9,(function(t){var e=t;o.a.f0(e),o.k=e.an}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative"),this.g.add(t.rootWrapper.listen("mousedown",i.runOn(this,this.t))),this.g.add(t.rootWrapper.listen("mouseup",i.runOn(this,this.u)))}else{try{for(var s=e.__values(i.fromEnum(this.g)),a=s.next();!a.done;a=s.next()){(0,a.value)()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}this.j=null}},n.prototype.t=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gj(e,0==t.button,t.shiftKey,t.ctrlKey)},n.prototype.u=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gk(e,0==t.button,t.shiftKey,t.ctrlKey)},Object.defineProperty(n.prototype,"contentGrid",{get:function(){return this.k},enumerable:!1,configurable:!0}),n.prototype.ae=function(){},n.prototype.ad=function(){this.j},n.prototype.y=function(){if(null!=this.j){var t=this.j.rootWrapper.width(),e=this.j.rootWrapper.height();this.k.setRawStyleProperty("width",""),this.k.setRawStyleProperty("height","");var n=this.k.outerWidth(),r=this.k.outerHeight();0!=t&&0!=e&&(n=t,r=e),this.ag=new i.Size(1,n,r),this.a.onSizeChanged(this.ag.width,this.ag.height),this.a.ay.d.isEmpty||t==this.a.ay.d.width&&e==this.a.ay.d.height||this.a.setViewport(this.a.ay.d.left,this.a.ay.d.top,this.a.ay.d.left+t,this.a.ay.d.top+e),this.a.ay.d.isEmpty&&t>0&&e>0&&this.a.setViewport(0,0,t,e)}},n.prototype.af=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.h3),i.NativeUI.m(e,this.a.hx))}},n.prototype.d=function(){return this.b},n.prototype.aa=function(){},n.prototype.ac=function(){},n.prototype.x=function(t,e){this.k.setStyleProperty("min-width",t+"px"),this.k.setStyleProperty("min-height",e+"px"),this.a.externalListPanel.onContentSizeChanged()},n.prototype.h=function(){return this.ag.width},n.prototype.i=function(t){return this.c=this.a.a5(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.w=function(t,e){null==this.l&&(this.l=this.j.createElement("div")),e(this.l.getNativeElement())},n.prototype.v=function(){this.a.externalObject.ensureStretch()},n.$t=i.markType(n,"ListPanelView"),n}(i.Base),et=function(t){function n(){var e=t.call(this)||this;e._view=null,e.a6=null,e.be=!1,e.a7=null,e.aa=null,e.propertyChanged=null,e.ed=null,e.viewportChanged=null,e.ay=null,e.dh=-1,e.di=-1,e.ar=0,e.bh=!0,e.hu=null,e.ba=!0,e.hs=null,e.hq=null,e.da=i.truncate(i.DeviceUtils.g(1)),e.dc=i.truncate(i.DeviceUtils.g(1)),e.db=i.truncate(i.DeviceUtils.g(1)),e.c9=i.truncate(i.DeviceUtils.g(1)),e.q=0,e.am=1,e.b=null,e.a=null,e.ap=null,e.o=null,e.itemRecycled=null,e.itemRebind=null,e.selectedItemsChanged=null,e.selectedKeysChanged=null,e.selectionChanged=null,e.activeRowChanged=null,e.ah=new R,e.ak=new $,e.i=null,e.c=new Array(0),e.bu=!1,e.dk=-1,e.c0=i.DeviceUtils.g(42),e.a3=null,e.bd=!0,e.ee=null,e.c1=0,e.cz=NaN,e.cy=0,e.bn=!1,e.bg=!1,e.bm=!1,e.dj=-1,e.contentRefreshed=null,e.rowUpdating=null,e.a2=new i.FastIterationDictionary$2(i.Number_$type,ot.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.a1=new i.FastIterationDictionary$2(ot.$,ot.$,0),e.cx=new i.Queue$1(ot.$),e.cr=new i.List$1(i.Number_$type,0),e.cq=new i.List$1(i.Number_$type,0),e.cv=new i.List$1(i.Number_$type,0),e.cu=new i.List$1(i.Number_$type,0),e.dn=-1,e.cw=null,e.az=1,e.ht=null,e.br=!0,e.bk=!0,e.de=-1,e.df=-1,e.l=null,e.by=!1,e.k=null,e.hr=n.hy,e.ab=n.ac,e.bi=n.bt,e.hv=n.hz,e.dl=-1,e.dm=-1,e.bj=!0,e.dd=0,e._viewportManager=null,e.cs=new i.List$1(i.Number_$type,0),e.ct=new i.List$1(i.Number_$type,0),e.cm=new i.List$1(i.Base.$,0),e.cn=new i.List$1(E.$,0),e.co=new i.List$1(i.Base.$,0),e.cp=new i.List$1(E.$,0),e.bc=!1,e.bb=!1,e.bf=!1,e.bl=!1,e.bp=!1,e.bo=!1,e.cl=!1,e.dg=-1,e.bq=!1,e.a9=null,e.x=null,e.itemClicked=null,e.aq=new at(e),e.p=new ht(e),i.NativeUIInputsFactory.n(),e.ay=new I;var r=new tt;return r.a=e,e.view=r,e.view.ab(),e.ah.ag(i.runOn(e,e.hg)),e.ak.an(i.runOn(e,e.hh)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return null==this.a7&&(this.a7=new i.SRProvider(this.view.j),this.a7.cb("Layouts")),this.a7},enumerable:!1,configurable:!0}),n.prototype.f0=function(t){this.aa=new rt(t)},n.prototype.onSizeChanged=function(t,e){var n=this.cz,r=this.cy;this.cz=this.view.h(),1!=this.ad&&(r==this.cy&&n==(i.isNaN_(this.cz)?0:this.cz)||this.view.x(this.cz,this.cy)),this.g6()},n.prototype.setViewport=function(t,e,n,r){this.dh=-1,this.di=-1;var o,s=new i.Rect(0,t,e,n-t,r-e);if(s.x!=this.ay.d.x||s.y!=this.ay.d.y||s.width!=this.ay.d.width||s.height!=this.ay.d.height){var a=this.ay.d;this.ay.d=s,this.g7(),null!=this.viewportChanged&&this.viewportChanged(this,((o=new z).g=s.x,o.d=a.x,o.h=s.y,o.e=a.y,o.f=s.width,o.c=a.width,o.a=s.height,o.b=a.height,o))}},n.prototype.af=function(t,e){if(null==this.actualDataSource)return null;if(e<0||e>this.actualDataSource.actualCount-1)return null;var i=this.actualDataSource.getItemAtIndex(e);return null==i?null:this.ae(t,i)},n.prototype.ae=function(t,e){var i=null!=e&&void 0!==e.$$isSpecialRow;if(null==t)return null==e?null:E.createIdentityKey(e);if(i){var n=e;if(this.actualDataSource.isSectionContentVisible||!this.actualDataSource.isSectionHeaderNormalRow||1!=n.rowType)return E.createIdentityKey(e);if(1==n.rowType)for(var r=n.getSectionKeys(),o=0;o<r.length;o++)for(var s=0;s<t.length;s++)if(t[s]!=r[o])return E.createIdentityKey(e)}for(var a=new Array(t.length),h=0;h<t.length;h++)a[h]=this.actualDataSource.getItemProperty(e,t[h]);return new E(t,a)},n.prototype.d8=function(t){return null==this.actualDataSource?-1:null!=this.actualDataSource.actualPrimaryKey&&this.actualDataSource.isKeyIndexLookupSupported?this.actualDataSource.indexOfKey(t.value):-1},n.prototype.eg=function(t){var e=this.d8(t);return-1==e?null!=t.value&&1==t.value.length?t.value[0]:null:this.actualDataSource.getItemAtIndex(e)},n.prototype.e=function(){return null!=this.actualDataSource?this.actualDataSource.actualPrimaryKey:this.d},Object.defineProperty(n.prototype,"as",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.gl("SelectionMode",i.enumGetBox(k,e),i.enumGetBox(k,this.ar))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,this.bh!=e&&this.gl("IsActiveRowStyleEnabled",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,this.hu!=e&&this.gl("SelectedBackground",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.ba},set:function(t){this.ba=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,this.hs!=e&&this.gl("NormalBackground",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,this.hq!=e&&this.gl("ActivationBorder",e,this.hq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dq",{get:function(){return this.da},set:function(t){var e=this.da;this.da=t,this.da!=e&&this.gl("ActivationBorderLeftWidth",e,this.da)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ds",{get:function(){return this.dc},set:function(t){var e=this.dc;this.dc=t,this.dc!=e&&this.gl("ActivationBorderTopWidth",e,this.dc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dr",{get:function(){return this.db},set:function(t){var e=this.db;this.db=t,this.db!=e&&this.gl("ActivationBorderRightWidth",e,this.db)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.c9},set:function(t){var e=this.c9;this.c9=t,this.c9!=e&&this.gl("ActivationBorderBottomWidth",e,this.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.gl("ActivationMode",i.enumGetBox(A,e),i.enumGetBox(A,this.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.gl("SelectionBehavior",i.enumGetBox(B,e),i.enumGetBox(B,this.am))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.gl("PrimaryKey",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.gl("ActualPrimaryKey",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},set:function(t){this.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.o},set:function(t){this.o=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ah},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ak},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.gl("ItemsSource",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,this.c!=e&&this.gl("SchemaIncludedProperties",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDataSource",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.i!=e&&this.gl("ActualDataSource",e,this.i)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.view.y()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.view.z(t)},Object.defineProperty(n.prototype,"ec",{get:function(){return this.dk},set:function(t){var e=this.dk;this.dk=t,e!=this.dk&&this.gl("RowHeight",e,this.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c4",{get:function(){return this.c0},set:function(t){var e=this.c0;this.c0=t,e!=this.c0&&this.gl("ActualRowHeight",e,this.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.gl("CellTextStyle",e,this.a3)},enumerable:!1,configurable:!0}),n.prototype.a5=function(){return null==this.a4?this.view.d():this.a4},Object.defineProperty(n.prototype,"bv",{get:function(){return 1==this.ad},enumerable:!1,configurable:!0}),n.prototype.gl=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gy(t,e,n)},n.prototype.fl=function(t,e){this.gh()},n.prototype.g1=function(){this.bm||(this.bm=!0,this.k.enqueueAction(i.runOn(this,this.fp)))},n.prototype.fp=function(){this.bm&&(this.bm=!1,this.fx(),this.br&&this.fj(),this.g2(),this.g5(),null!=this.contentRefreshed&&this.contentRefreshed(this,new G))},n.prototype.fx=function(){this.bk&&(this.fi(),this.bk=!1,1==this.ad&&this.aa.g(new i.Size(1,this.cz,this.cy)))},n.prototype.g5=function(){if(null!=this.actualDataSource){this.dj=this.actualDataSource.actualCount;for(var t=0;t<this.a1.o.count;t++)if(!this.a1.p._inner[t]){this.a1.o._inner[t];var e=this.a1.q._inner[t];this.aa.f(e)}this.r;for(var i=0;i<this.a2.o.count;i++)if(!this.a2.p._inner[i]){this.a2.o._inner[i];var n=this.a2.q._inner[i];this.ft(n),this.fv(n),this.fr(n),this.aa.d(this,n)}}},n.prototype.fv=function(t){t.p&&(t.k?t.b.a.bg=new i.Thickness(1,this.dq,this.ds,this.dr,this.dp):t.b.a.bg=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.a9=this.hw:t.b.a.a9=null,t.n?t.b.a.a8=this.h2:t.b.a.a8=this.h0)},n.prototype.fr=function(t){t.m&&(t.m=!1,this.fw(t))},n.prototype.fw=function(t){if(null!=this.rowUpdating){var e=this.c6(t.v);this.rowUpdating(this,((i=new it).a=t,i.b=t.b.a.bl(0),i.d=t.b.a.an,i.c=e,i))}var i},n.prototype.ft=function(t){var e=this;null==t.b&&(t.b=new W,i.NativeUIComponent.av(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bn(r),0==e.ad?n.f=3:n.f=0,t.b.a=n,null!=e.h0&&(t.b.a.a8=e.h0)})))},n.prototype.fj=function(){if(this.br&&(this.br=!1,this.fz(),this.de=this.ea(),this.df=this.eb(),this.ay.c=this.de,this.ay.b=this.df,-1!=this.de&&-1!=this.df)){for(var t=new i.List$1(i.Number_$type,0),e=0;e<this.a2.o.count;e++)if(!this.a2.p._inner[e]){var n=this.a2.o._inner[e];this.a2.q._inner[e];(n<this.de||n>this.df)&&t.add(n)}for(var r=0;r<t.count;r++)this.g8(t._inner[r]);for(var o=this.de;o<=this.df;o++){this.fs(o);var s=this.a2.item(o);s.u=this.c8(o),s.s=this.c7(o)}}},n.prototype.c7=function(t){if(0==this.ad)return 0;if(2==this.ad){var e=this.d6(t);return this.cv._inner[e]}return this.cv._inner[t]},n.prototype.d6=function(t){return t%this.cw.count},n.prototype.d7=function(t){var e=Math.floor(t/this.cw.count);return i.truncate(e)},n.prototype.c8=function(t){if(1==this.ad)return 0;if(2==this.ad){var e=this.d7(t);return this.bz?this.cr._inner[e]:e*this.c4}return this.bz?this.cr._inner[t]:t*this.c4},n.prototype.fs=function(t){if(!this.a2.d(t)){var e=this.z(t);e.i&&(this.a1.f(e),e.i=!1,e.o=!0),this.a2.s(t,e)}},n.prototype.z=function(t){var e=this.cx.count>0?this.cx.b():new ot;return e.v=t,e.t=this.c4,e},n.prototype.g8=function(t){var e=this.a2.item(t);this.g4(e),this.a2.f(t),e.i=!0,e.x=null,this.a1.s(e,e)},n.prototype.g4=function(t){var e;this.cx.g(t),null!=this.itemRecycled&&this.itemRecycled(this,((e=new V).rowObject=t.x,e))},n.prototype.eb=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.ay.d.isEmpty){if(0==this.ad){if(this.bz){this.fx();var t=this.ay.d.bottom,e=this.dy(t);return this.cr._inner[e]+this.cq._inner[e]<t&&(e+=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.ay.d.bottom,r=i.truncate(Math.ceil(n/this.c4));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.bz){this.fx();var o=this.ay.d.bottom,s=this.dy(o);return this.cr._inner[s]+this.cq._inner[s]<o&&(s+=1),s*=this.cw.count,s+=this.cw.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.bottom,h=i.truncate(Math.floor(a/this.c4));return h*=this.cw.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.fx();var u=this.ay.d.right,l=this.dz(u);return this.cv._inner[l]+this.cu._inner[l]<u&&(l+=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return this.actualDataSource.actualCount-1},n.prototype.dy=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cr,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cr.count-1&&(e=this.cr.count-1),e},n.prototype.dz=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cv,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cv.count-1&&(e=this.cv.count-1),e},n.prototype.ea=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.ay.d.isEmpty){if(0==this.ad){if(this.bz){this.fx();var t=this.ay.d.top,e=this.dy(t);return this.cr._inner[e]>t&&(e-=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.ay.d.top,r=i.truncate(Math.floor(n/this.c4));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.bz){this.fx();var o=this.ay.d.top,s=this.dy(o);return this.cr._inner[s]>o&&(s-=1),s*=this.cw.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.top,h=i.truncate(Math.floor(a/this.c4));return h*=this.cw.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.fx();var u=this.ay.d.left,l=this.dz(u);return this.cv._inner[l]>u&&(l-=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return 0},n.prototype.c6=function(t){return 2==this.ad&&(t=this.d6(t)),this.cu.count>0&&t<this.cu.count?this.cu._inner[t]:0},n.prototype.c5=function(t){return 2==this.ad&&(t=this.d7(t)),this.cq.count>0&&t<this.cq.count?this.cq._inner[t]:this.c4},n.prototype.fi=function(){var t=this;this.cq.clear(),this.cr.clear(),this.cu.clear(),this.cv.clear();var e=0!=this.r,n=this.ds+this.dp,r=this.dq+this.dr;if(null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var o=this.cy,s=i.isNaN_(this.cz)?0:this.cz;if(0==this.ad)if(this.bz){for(var a=0,h=function(i){u.cr.add(a);var r,o=u.c4;if(null!=u.itemHeightRequested){var s=((r=new X).b=i,r.c=t.actualDataSource.getItemAtIndex(i),r.a=o,r);u.itemHeightRequested(u,s),o=s.a,e&&(o+=n),a+=o}u.cq.add(o)},u=this,l=0;l<this.actualDataSource.actualCount;l++)h(l);this.cy=a}else this.cy=this.c4*this.actualDataSource.actualCount;else if(2==this.ad){var c=new i.List$1(Q.$,0),p=this.du(c,2147483647);if(this.bz){for(var f=0,d=function(i){b.cr.add(f);for(var r=b.c4,o=0,s=i*c.count,a=function(i){var a,h=i+s;if(h>b.actualDataSource.actualCount-1)return"continue";if(null!=b.itemHeightRequested){var u=((a=new X).b=h,a.c=t.actualDataSource.getItemAtIndex(h),a.a=r,a);b.itemHeightRequested(b,u);var l=u.a;e&&(l+=n),o=Math.max(o,l)}},h=0;h<c.count;h++)a(h);f+=r=o,b.cq.add(r)},b=this,g=0;g<p;g++)d(g);this.cy=f}else this.cy=this.c4*p;this.cw=c,this.dn=p;for(var y=0,m=0;m<this.cw.count;m++)this.cv.add(y),this.cu.add(this.cw._inner[m].a),y+=this.cw._inner[m].a}else{this.cy=this.c4;for(var _=0,v=function(i){C.cv.add(_);var n,o=0;if(null!=C.itemWidthRequested){var s=((n=new K).b=i,n.c=t.actualDataSource.getItemAtIndex(i),n.a=o,n);C.itemWidthRequested(C,s),o=s.a,e&&(o+=r),_+=o}C.cu.add(o)},C=this,j=0;j<this.actualDataSource.actualCount;j++)v(j);this.cz=_}o==this.cy&&s==(i.isNaN_(this.cz)?0:this.cz)||this.view.x(this.cz,this.cy)}},n.prototype.du=function(t,e){for(var i=this,n=0,r=0,o=this.view.h(),s=0,a=o-=5,h=this.actualDataSource.actualCount,u=function(h){var u,c=0;if(null!=l.itemWidthRequested){var p=((u=new K).b=h,u.c=i.actualDataSource.getItemAtIndex(h),u.a=c,u);l.itemWidthRequested(l,p),c=p.a}if(s+c>o&&r>0||r>=e){if(0!=n&&r<e&&e>1)return t._inner[r].a=c,l.ha(o,t),0==t.count?{value:0}:{value:l.du(t,t.count)};e=Math.max(Math.min(e,r),1),n++;var f=o-s;f<a&&(a=f),s=0,r=0}if(t.count<=r){var d=new Q;d.a=c,t.add(d),r++}else{var b=t._inner[r];if(c>b.a){var g=c-b.a;if(b.a=c,g>a&&e>1)return l.ha(o,t),0==t.count?{value:0}:{value:l.du(t,t.count)};(a-=g)<0&&(a=0),r++}else c=b.a,r++}s+=c},l=this,c=0;c<h;c++){var p=u(c);if("object"==typeof p)return p.value}return n+1},n.prototype.ha=function(t,n){var r,o,s=0;try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){s+=h.value.a}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}for(;s>t;){if(n.count<1)return;s-=n._inner[n.count-1].a,n.removeAt(n.count-1)}},n.prototype.fy=function(){this.bm&&this.fp()},Object.defineProperty(n.prototype,"a0",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.gl("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.az))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.gl("ScrollbarBackground",e,this.ht)},enumerable:!1,configurable:!0}),n.prototype.g6=function(){var t=i.isNaN_(this.cz)?0:this.cz,e=this.cy;this.bn=!0,this.f4(this.c1),t==(i.isNaN_(this.cz)?0:this.cz)&&e==this.cy||this.externalListPanel.onContentSizeChanged(),this.bn=!1,this.f5(),this.g1()},n.prototype.f5=function(){this.br=!0,this.de=-1,this.df=-1},n.prototype.f4=function(t){this.bk=!0,this.c1=t},n.prototype.fz=function(){this.bg&&(this.bg=!1,this.g6(),this.f3())},n.prototype.g7=function(){this.bg?this.fz():(this.f5(),this.g1(),this.fy())},n.prototype.d2=function(){return this.br&&this.fj(),this.df},n.prototype.d0=function(){return this.br&&this.fj(),this.de},n.prototype.cj=function(){return this.de>=0&&this.df>=0},n.prototype.f3=function(){if(this.cj()){var t=this.d0(),e=this.d2();this.f2(t,e)}},n.prototype.f2=function(t,e){var i=this.d0(),n=this.d2();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.g2(),this.g7())},n.prototype.g2=function(){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount)for(var t=0!=this.r,e=0!=this.as,i=function(i){if(n.a2.p._inner[i])return"continue";var r,o=n.a2.q._inner[i],s=o.x,a=n.actualDataSource.getItemAtIndex(o.v);null!=s&&s!=a&&null!=n.itemRebind&&n.itemRebind(n,((r=new U).rowObject=s,r)),o.x=a,o.t=n.c4,t&&(n.p.c(o)?o.j=!0:o.j=!1,o.k=!0),e&&(n.aq.j(o)?o.n=!0:o.n=!1,o.k=!1)},n=this,r=0;r<this.a2.q.count;r++)i(r)},n.prototype.g3=function(t){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount&&this.a2.d(t)){var e=this.a2.item(t);e.x=this.actualDataSource.getItemAtIndex(e.v),e.t=this.c4}},n.prototype.g0=function(){this.bg||(this.bg=!0,this.f5(),this.g1())},n.prototype.f1=function(t){this.g3(t)},n.prototype.gh=function(){this.bg?this.fz():(this.g6(),this.f3())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.l},set:function(t){this.l=t},enumerable:!1,configurable:!0}),n.prototype.ci=function(){return 0!=this.as||0!=this.r},n.prototype.gy=function(t,e,n){var r=this;switch(t){case"SchemaIncludedProperties":null!=this.i&&(this.i.schemaIncludedProperties=this.g);break;case"ItemsSource":if(null!=this.i){var o=this.i;o.schemaChanged=i.delegateRemove(o.schemaChanged,i.runOn(this,this.fl)),this.i.updateNotifier=null}if(null!==i.typeCast(i.IDataSource_$type,this.itemsSource))this.actualDataSource=this.itemsSource;else{var s=this.externalListPanel.createLocalDataSource(this.itemsSource,this.g);this.actualDataSource=s}if(null!=this.i){var a=this.i;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.fl)),this.i.updateNotifier=new nt(this),null!=this.i.actualSchema&&(this.g0(),this.k.enqueueAction((function(){return r.gh()})))}break;case"RowHeight":this.c4=this.ec;break;case"CellTextStyle":case"BackgroundColor":case"TextColor":this.f3();break;case"Orientation":case"ActualRowHeight":this.g6();break;case"ScrollbarStyle":this.externalListPanel.setScrollbarStyle(this.a0);break;case"ScrollbarBackground":this.externalListPanel.setScrollbarColor(this.h1);break;case"ActiveRow":this.dg=i.typeGetValue(e),this.bq=!0,-1!=this.dt&&this.dt>=0?this.p.k(this.dt):this.p.o(),this.bq=!1;break;case"SelectedBackground":case"ActivationBorder":case"ActivationBorderLeftWidth":case"ActivationBorderRightWidth":case"ActivationBorderBottomWidth":case"ActivationBorderTopWidth":this.g0();break;case"ActivationMode":this.by=this.ci();break;case"SelectionMode":switch(this.by=this.ci(),this.as){case 1:if(this.al.count>1){var h=this.al._inner[this.al.count-1];this.al.clear(),this.al.add(h)}break;case 2:break;case 0:this.al.count>0&&this.al.clear()}}},n.prototype.h4=function(){var t=this.cy,e=0;!i.isNaN_(t)&&t>=0&&(e=t);var n=0;if(1==this.ad)for(var r=0;r<this.cu.count;r++){var o=this.cu._inner[r];!i.isNaN_(o)&&o>=0&&(n+=o)}else if(2==this.ad)for(var s=0;s<this.cu.count;s++){var a=this.cu._inner[s];!i.isNaN_(a)&&a>=0&&(n+=a)}else!i.isNaN_(this.cz)&&this.cz>=0&&(n=this.cz);return new i.Size(1,n,e)},n.prototype.gg=function(t,e){if(1==this.r&&-1!=this.dt&&this.dt>=t&&this.dt<=e&&null!=this.activeRowChanged){var i=new H;i.newActiveRow=this.dt,i.oldActiveRow=this.dt,this.activeRowChanged(this,i)}var n=this.d0(),r=this.d2();e<n||t>r||(t<n&&(t=n),e>r&&(e=r),this.cj()&&(this.d4()!=this.dj?this.g6():this.g7(),this.fk()))},n.prototype.fk=function(){if(!this.ay.d.isEmpty){if(1==this.ad){if(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth){var t=this.d4()-1;t<0&&(t=0),this.hd(t)}}else if(this.ay.d.bottom>this.absoluteHeight||this.ay.d.top>this.absoluteHeight){var e=this.d4()-1;e<0&&(e=0),this.hd(e)}2==this.ad&&(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth)&&this.hc(this.cw.count-1)}},n.prototype.gv=function(t,e,i){if(0==this.ad){if(this.bz){var n=this.c4;if(null!=this.itemHeightRequested){var r=new X;r.c=i,r.b=t,r.a=n,this.itemHeightRequested(this,r),n=r.a}var o=this.cq._inner[t];this.cq._inner[t]=n;for(var s=n-o,a=t;a<this.actualDataSource.actualCount;a++)this.cr._inner[a]+=s}}else{if(2==this.ad)return void this.g6();var h=0;if(null!=this.itemWidthRequested){var u=new K;u.c=i,u.b=t,u.a=h,this.itemWidthRequested(this,u),h=u.a}var l=this.cu._inner[t];this.cu._inner[t]=h;for(var c=h-l,p=t;p<this.actualDataSource.actualCount;p++)this.cv._inner[p]+=c}this.f1(t)},n.prototype.gf=function(){this.g6()},n.prototype.gi=function(t,e){if(0==this.ad){if(this.bz){var i=this.c4;if(null!=this.itemHeightRequested){var n=new X;n.c=e,n.b=t,n.a=i,this.itemHeightRequested(this,n),i=n.a}this.cq.insert(t,i);var r=0;if(t>0)r=this.cr._inner[t-1]+this.cq._inner[t-1];this.cr.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.cr._inner[o]+=i}}else{if(2==this.ad)return void this.g6();var s=0;if(null!=this.itemWidthRequested){var a=new K;a.c=e,a.b=t,a.a=s,this.itemWidthRequested(this,a),s=a.a}this.cu.insert(t,s);var h=0;t>0&&(h=this.cv._inner[t-1]+this.cu._inner[t-1]);this.cv.insert(t,h);for(var u=t;u<this.actualDataSource.actualCount;u++)this.cv._inner[u]+=s}this.g0()},n.prototype.gm=function(t,e){if(0==this.ad){for(var i=this.cq._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.cr._inner[n]-=i;this.cq.removeAt(t),this.cr.removeAt(t)}else{if(2==this.ad)return void this.g6();for(var r=this.cu._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.cv._inner[o]-=r;this.cu.removeAt(t),this.cv.removeAt(t)}this.g0()},n.prototype.f9=function(t,e,i){null!=this.i&&this.i.notifySetItem(t,e,i)},n.prototype.f6=function(){null!=this.i&&this.i.notifyClearItems()},n.prototype.f7=function(t,e){null!=this.i&&this.i.notifyInsertItem(t,e)},n.prototype.f8=function(t,e){null!=this.i&&this.i.notifyRemoveItem(t,e)},n.prototype.dv=function(t){return null==this.i?-1:this.i.indexOfItem(t)},n.prototype.dw=function(t){return null==this.i?-1:this.i.indexOfKey(t)},Object.defineProperty(n.prototype,"hx",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.gl("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.gl("Orientation",i.enumGetBox(D,e),i.enumGetBox(D,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.gl("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.gl("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteWidth",{get:function(){return this.cz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteHeight",{get:function(){return this.cy},enumerable:!1,configurable:!0}),n.prototype.ef=function(){var t,n,r=this,o=new J,s=this.aa.h();o.c=s.left,o.d=s.top,o.e=s.width,o.b=s.height;try{for(var a=e.__values(i.fromEnum(this.a2.n)),h=a.next();!h.done;h=a.next()){var u=h.value;o.a.add(u.a(this.aa))}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o.a.aa((function(t,e){return 0==r.ad?t.c<e.c?-1:t.c==e.c?0:1:2==r.ad?t.c==e.c?t.b<e.b?-1:t.b==e.b?0:1:t.c<e.c?-1:t.c==e.c?0:1:t.b<e.b?-1:t.b==e.b?0:1})),o},n.prototype.ex=function(){return this.ef().serialize()},Object.defineProperty(n.prototype,"b0",{get:function(){return this.bj},set:function(t){this.bj=t},enumerable:!1,configurable:!0}),n.prototype.hf=function(){2==this.as&&this.aq.v()},n.prototype.b9=function(t,e,i){if(this.b0)switch(t){case 30:if(i)return this.hf(),!0;break;case 32:return!1}return!1},n.prototype.b1=function(){return-1==this.dd},Object.defineProperty(n.prototype,"dt",{get:function(){return this.dd},set:function(t){var e=this.dd;this.dd=t,e!=this.dd&&this.gl("ActiveRow",e,this.dd)},enumerable:!1,configurable:!0}),n.prototype.fh=function(t,e,i){if(void 0===i&&(i=!1),this.ay.a&&(i||(t<=this.d0()?this.hd(t):t>=this.d2()&&(e?this.hd(t):this.hb(t))),2==this.ad)){var n=this.d1(),r=this.d3(),o=this.d5(t);o<=n?this.he(o):o>=r&&this.hc(o)}},n.prototype.hc=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.di&&(e=this.di),2==this.ad){var n=0,r=0;for(r=0;r<this.cw.count&&(n+=this.cw._inner[r].a,t!=r);r++);(n-=this.ay.d.width)<0&&(n=0),this.di=e,this.dh=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.he=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.di&&(e=this.di),2==this.ad){var n=0,r=0;for(r=0;r<this.cw.count&&t!=r;r++)n+=this.cw._inner[r].a;this.di=e,this.dh=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.d5=function(t){return 2==this.ad?this.d6(t):-1},n.prototype.d3=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cw.count;e++)if((t+=this.cw._inner[e].a)>this.ay.d.right)return Math.min(Math.max(e-1,0),this.cw.count-1);return Math.min(e,this.cw.count-1)}return-1},n.prototype.d1=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cw.count;e++)if((t+=this.cw._inner[e].a)>this.ay.d.left)return Math.min(Math.max(e,0),this.cw.count-1);return e}return-1},n.prototype.hd=function(t){if(!this.ay.d.isEmpty){var e=i.truncate(this.ay.d.left);-1!=this.dh&&(e=this.dh);var n=0;t<0&&(t=0),t>=this.d4()&&(t=this.d4()-1);var r=0;if(r=i.truncate(Math.floor(t)),2==this.ad&&(r=i.truncate(Math.floor(r/this.cw.count))),n=this.cr.count>0?i.truncate(Math.floor(this.cr._inner[r])):i.truncate(Math.floor(this.c4*r)),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cq._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cy>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cy&&(n=i.truncate(Math.round(this.cy-this.ay.d.height))),n<0&&(n=0),this.di=n,this.dh=e,this.viewportManager.moveViewportTo(e,n)}},n.prototype.hb=function(t){var e=i.truncate(this.ay.d.left);-1!=this.dh&&(e=this.dh);var n=0;t<0&&(t=0),t>=this.d4()&&(t=this.d4()-1);var r=i.truncate(Math.floor(t));if(2==this.ad&&(r=i.truncate(Math.floor(r/this.cw.count))),n=0==this.cr.count?i.truncate(Math.round(this.c4*t+this.c4)):i.truncate(Math.floor(this.cr._inner[r]+this.cq._inner[r])),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cq._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cy>0&&this.ay.d.height>0&&(n-=i.truncate(Math.round(this.ay.d.height))),this.cy>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cy&&(n=i.truncate(Math.round(this.cy-this.ay.d.height))),n<0&&(n=0),this.di=n,this.dh=e,this.viewportManager.moveViewportTo(e,n)},Object.defineProperty(n.prototype,"viewportManager",{get:function(){return this._viewportManager},set:function(t){this._viewportManager=t},enumerable:!1,configurable:!0}),n.prototype.b3=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i>this.d4()-1)return!1;var n=i+1;if(2==this.ad&&(n=i+this.cw.count),e&&(n=this.d4()-1),n>this.d4()-1&&(n=this.d4()-1),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.gu=function(){this.bo&&null!=this.selectionChanged&&(this.selectionChanged(this,new F),this.bo=!1)},n.prototype.hi=function(t,e){for(var i=t;i<=e;i++)if(!this.cs.contains(i)&&!this.ct.contains(i)){var n=this.af(this.e(),i);if(null!=n){if(this.aq.h(n)){this.cs.add(i);continue}this.ct.add(i),this.al.add(n),this.aq.z(i)}}for(var r=0;r<this.ct.count;r++)if(this.ct._inner[r]<t||this.ct._inner[r]>e){var o=this.af(this.e(),this.ct._inner[r]);if(null!=o){this.ct.removeAt(r),r--;var s=this.al.indexOf(o),a=this.ai._inner[s];this.al.remove(o),this.cn.remove(o),this.cp.remove(o),this.cm.remove1(a),this.co.remove1(a)}}},n.prototype.b4=function(t,e){if(0==this.r||this.b1())return!1;var i=this.dt,n=this.dt;if(e){if(n>=this.d4()-1)return!1;n=this.d4()-1}else if(2==this.ad&&this.d5(n)==this.cw.count-1)return!1;if(2==this.ad){var r=n-this.d5(n)+this.cw.count;r>this.d4()-1&&(r=this.d4()-1),n=r}return n!=i&&(this.dt=n,this.fh(n,!1),!0)},n.prototype.b8=function(t,e){var i=this.dd,n=this.dd;if(e){if(n<=0)return!1;n=0}else if(2==this.ad&&0==this.d5(n))return!1;if(2==this.ad){var r=n-this.d5(n);r<0&&(r=0),n=r}return n!=i&&(this.dt=n,this.fh(n,!1),!0)},n.prototype.ca=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i<=0)return!1;var n=i-1;if(e&&(n=0),e&&2==this.ad&&(n=i-this.d5(i))<0&&(n=0),n<0&&(n=0),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.cb=function(t,e){if(0==this.r||this.b1())return!1;this.d0();var i=this.d2(),n=Math.min(i+1,this.d4()-1);return this.dt=n,this.fh(n,!0),!0},n.prototype.cc=function(t,e){if(0==this.r||this.b1())return!1;var i=this.d0(),n=this.d2()-i,r=Math.max(i-n-1,0);return this.dt=r,this.fh(r,!1),!0},n.prototype.cd=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i<=0)return!1;var n=i-1;if(e&&(n=this.d4()-1),e&&2==this.ad&&(n=i-this.d5(i)+this.cw.count)>this.d4()-1&&(n=this.d4()-1),n>this.d4()-1&&(n=this.d4()-1),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.cf=function(t,e){return 0!=this.r&&!this.b1()&&(0==this.ad?this.b3(t,e):this.cd(t,e))},n.prototype.gx=function(){},n.prototype.cg=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dt;if(i<=0)return!1;var n=i-1;if(2==this.ad&&(n=i-this.cw.count)<0&&(n=0),e&&(n=0),n<=0&&(n=0),n==i)return!1;if(this.dt=n,this.ay.a&&this.fh(n,!1),this.bo=!1,2==this.as&&t){-1==this.dm&&(this.dm=i);var r=Math.min(this.dm,n),o=Math.max(this.dm,n);this.hi(r,o)}else this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear();return this.gu(),!0},n.prototype.b5=function(t,e){return!1},n.prototype.b6=function(){return!1},n.prototype.b7=function(){return!1},n.prototype.ce=function(t,e){return!1},n.prototype.fu=function(){this.view.v()},Object.defineProperty(n.prototype,"bw",{get:function(){return this.bf},set:function(t){this.bf=t},enumerable:!1,configurable:!0}),n.prototype.fg=function(t){void 0===t&&(t=!1),this.cm.clear(),this.cn.clear(),this.co.clear(),this.cp.clear(),this.bb=!0,this.bc=t},n.prototype.fq=function(){this.bb&&(this.bw=!0,this.hp(this.cm,this.cn,this.co,this.cp),this.bw=!1),this.bb=!1},Object.defineProperty(n.prototype,"b2",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.gl("NotifyOnAllSelectionChanges",e,this.bl)},enumerable:!1,configurable:!0}),n.prototype.hp=function(t,e,i,n){if(0!=t.count||0!=e.count||0!=i.count||0!=n.count){var r=this.b2;if(this.b2=!1,!this.bp&&!this.bc&&(t.count>0&&(this.ai.o(t),this.al.o(e),this.bo=!0),i.count>0)){this.al.ah=!0,this.ai.af=!0;for(var o=i.count-1;o>=0;o--){var s=this.al.al(n._inner[o]);s>=0&&(this.ai.removeAt(s),this.al.removeAt(s))}this.ai.af=!1,this.al.ah=!1,this.bo=!0}this.b2=r,this.gp(i,t),this.gs(n,e)}},n.prototype.hg=function(t,n){var r,o,s,a,h,u,l,c=this;if(this.bo=!0,!this.bw&&null!=this.actualDataSource&&!this.bp){switch(this.bp=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ae(this.e(),n.newItems.item(p));this.al.ae.insert(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.al.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.al.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.ae(this.e(),n.newItems.item(g));this.al.ae.insert(g+n.newStartingIndex,y)}break;case 4:this.al.clear();try{for(var m=e.__values(i.fromEnum(this.ai.ae)),_=m.next();!_.done;_=m.next()){var v=_.value,C=this.ae(this.e(),v);this.al.add(C)}}catch(t){r={error:t}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.aq.af(),this.bp=!1}if(this.b2&&null!=this.selectedItemsChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){j=new R;try{for(var P=e.__values(i.fromEn(n.newItems)),w=P.next();!w.done;w=P.next()){var O=w.value;j.add1(O)}}catch(t){s={error:t}}finally{try{w&&!w.done&&(a=P.return)&&a.call(P)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){T=new R;try{for(var I=e.__values(i.fromEn(n.oldItems)),x=I.next();!x.done;x=I.next()){var k=x.value;T.add1(k)}}catch(t){h={error:t}}finally{try{x&&!x.done&&(u=I.return)&&u.call(I)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new L).addedItems=j,l.removedItems=T,l.currentItems=c.ai,l))}},n.prototype.hh=function(t,n){var r,o,s,a,h,u,l,c=this;if(!this.bw&&null!=this.actualDataSource&&!this.bp){switch(this.bp=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.eg(n.newItems.item(p));this.ai.ae.insert1(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.ai.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.ai.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.eg(n.newItems.item(g));this.ai.ae.insert1(g+n.newStartingIndex,y)}break;case 4:this.ai.clear();try{for(var m=e.__values(i.fromEnum(this.al.ae)),_=m.next();!_.done;_=m.next()){var v=_.value,C=this.eg(v);this.ai.add1(C)}}catch(t){r={error:t}}finally{try{_&&!_.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.aq.af(),this.bp=!1}if(this.b2&&null!=this.selectedKeysChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){(j=new $).ag=!1;try{for(var P=e.__values(i.fromEn(n.newItems)),w=P.next();!w.done;w=P.next()){var O=w.value;j.add(O)}}catch(t){s={error:t}}finally{try{w&&!w.done&&(a=P.return)&&a.call(P)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){(T=new $).ag=!1;try{for(var I=e.__values(i.fromEn(n.oldItems)),x=I.next();!x.done;x=I.next()){var k=x.value;T.add(k)}}catch(t){h={error:t}}finally{try{x&&!x.done&&(u=I.return)&&u.call(I)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new M).addedKeys=j,l.removedKeys=T,l.currentKeys=c.al,l))}},n.prototype.hm=function(t,e){this.g0()},n.prototype.gn=function(t,e){if(null==t){var i=this.al.ae.indexOf(e);i>-1&&this.ai.ae.count>0&&(t=this.ai.ae._inner[i])}null!=t&&(this.bw=!0,this.bb?(this.cm.add1(t),this.cn.add(e),this.bc&&this.ff(t,e,!1)):this.ff(t,e,!0),this.bw=!1)},n.prototype.hn=function(t,e){this.g0()},n.prototype.go=function(t,e){if(null==t){var i=this.al.ae.indexOf(e);i>-1&&this.ai.ae.count>0&&(t=this.ai.ae._inner[i])}null!=t&&(this.bw=!0,this.bb?(this.co.add1(t),this.cp.add(e),this.bc&&this.g9(t,e,!1)):this.g9(t,e,!0),this.bw=!1)},n.prototype.ff=function(t,e,i){var n=this.b2;this.b2=!1,this.bp||(this.ai.add1(t),this.al.add(e)),this.b2=n,i&&(this.gq(null,t),this.gr(null,e))},n.prototype.ho=function(t,e,i){var n=this.b2;this.b2=!1;this.ai.ae._inner[t];this.bp||(this.ai.ae._inner[t]=e),this.b2=n,this.gq(e,e)},n.prototype.g9=function(t,e,i){var n=this.b2;this.b2=!1,this.bp||(this.ai.remove1(t),this.al.remove(e)),this.b2=n,i&&(this.gq(t,null),this.gr(e,null))},n.prototype.gq=function(t,e){if(!this.cl&&null!=this.selectedItemsChanged){var i=new L;if(i.currentItems=this.ai,null!=t){var n=new R;n.add1(t),i.removedItems=n}if(null!=e){var r=new R;r.add1(e),i.addedItems=r}this.selectedItemsChanged(this,i)}},n.prototype.gr=function(t,e){if(!this.cl&&null!=this.selectedKeysChanged){var i=new M;i.currentKeys=this.al,null!=t&&(i.removedKeys=new $,i.removedKeys.ag=!1,i.removedKeys.add(t)),null!=e&&(i.addedKeys=new $,i.addedKeys.ag=!1,i.addedKeys.add(e)),this.selectedKeysChanged(this,i)}},n.prototype.gp=function(t,e){if(!this.cl&&null!=this.selectedItemsChanged){var i=new L;i.currentItems=this.ai,null!=t&&(i.removedItems=new R,i.removedItems.o(t)),null!=e&&(i.addedItems=new R,i.addedItems.o(e)),this.selectedItemsChanged(this,i)}},n.prototype.gs=function(t,e){if(!this.cl&&null!=this.selectedKeysChanged){var i=new M;i.currentKeys=this.al,null!=t&&(i.removedKeys=new $,i.removedKeys.ag=!1,i.removedKeys.o(t)),null!=e&&(i.addedKeys=new $,i.addedKeys.ag=!1,i.addedKeys.o(e)),this.selectedKeysChanged(this,i)}},n.prototype.fm=function(){if((1==this.as||2==this.as)&&this.ai.ae.count>0){for(var t=new i.List$1(i.Base.$,0),e=new i.List$1(E.$,0),n=0;n<this.ai.ae.count;n++)t.add1(this.ai.ae._inner[n]),e.add(this.al.ae._inner[n]);this.bw=!0,this.ai.clear(),this.al.clear(),this.cl=!0,this.aq.af(),this.cl=!1,this.bw=!1,this.gp(t,null),this.gs(e,null),this.aq.z(-1)}},n.prototype.h=function(t){return null==this.actualDataSource||t<0||t>=this.d4()?0:this.actualDataSource.getRowType(t)},n.prototype.d9=function(t,e,n,r){if(null==this.actualDataSource||n<0)return-1;for(var o=n;o<=r&&!(o>this.actualDataSource.actualCount-1);o++){var s=this.actualDataSource.getItemAtIndex(o);if(null!=s){var a=this.ae(t,s);if(null!=a){if(null!=a.value&&1==a.value.length&&null!=a.value[0]&&i.getInstanceType(a.value[0])==i.DataSourceSpecialRow.$&&null!=e.value&&1==e.value.length&&null!=e.value[0]&&i.getInstanceType(e.value[0])==i.DataSourceSpecialRow.$){var h=i.typeCast(i.DataSourceSpecialRow.$,a.value[0]),u=i.typeCast(i.DataSourceSpecialRow.$,e.value[0]);if(h.rowType==u.rowType&&3==h.rowType&&h.targetRow==u.targetRow)return o}if(a.equals(e))return o}}}return-1},n.prototype.ei=function(t){return t<0||t>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(t)},n.prototype.dx=function(t,e,i,n){var r=this.d9(t,e,i,n);return r>=0?r:this.d8(e)},n.prototype.d4=function(){return null==this.actualDataSource?0:this.actualDataSource.actualCount},n.prototype.ej=function(t){var e=t.v;return e<0||e>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(e)},n.prototype.gt=function(t,e,i){this.bw=!0,this.ho(t,e,i),this.bw=!1},n.prototype.hk=function(t,e){this.g0()},n.prototype.gb=function(t){if(this.bq||(this.dt=t),null!=this.activeRowChanged){var e=new H;e.newActiveRow=this.dt,e.oldActiveRow=this.dg,this.activeRowChanged(this,e)}this.gc()},n.prototype.hl=function(t,e){this.g0()},n.prototype.ge=function(t){var e=this.dt;if(this.bq||(this.dt=t),null!=this.activeRowChanged){var i=new H;i.newActiveRow=this.dt,i.oldActiveRow=e,this.activeRowChanged(this,i)}this.gc()},n.prototype.gc=function(){},n.prototype.ck=function(t){var e=this.dv(t);return-1!=e&&(this.hd(e),!0)},n.prototype.gj=function(t,e,i,n){if(this.by){var r=this.y(t);this.x=r}},n.prototype.y=function(t){for(var e=0;e<this.a2.o.count;e++)if(!this.a2.p._inner[e]){this.a2.o._inner[e];var i=this.a2.q._inner[e];if(this.ch(i,t))return i}return null},n.prototype.ch=function(t,e){var i=e.y+this.ay.d.top,n=e.x+this.ay.d.left,r=this.cz,o=this.c4,s=t.v,a=-1;return 2==this.ad&&(s=this.d7(s),a=this.d6(s),r=this.cw._inner[a].a),this.bz&&(o=this.cq._inner[s]),1==this.ad&&(r=this.cu._inner[s]),n>=t.s&&n<=t.s+r&&i>=t.u&&i<=t.u+o},n.prototype.gk=function(t,e,i,n){if(this.by){var r=this.y(t);null!=r&&r==this.x&&this.gd(r,e,i,n)}},n.prototype.gd=function(t,e,i,n){var r,o=this;e&&(this.dm=-1,this.dl=-1,this.cs.clear(),this.ct.clear(),this.bo=!1,this.aq.o(t,i,n,0==this.an),this.gu(),1==this.r&&this.p.n(t)),null!=this.itemClicked&&this.itemClicked(t,((r=new st).itemInfo=t,r.listPanel=o,r.isLeftButton=e,r.isDoubleClick=!1,r))},n.prototype.fo=function(t){for(var e=0;e<this.a2.o.count;e++)this.a2.p._inner[e]||this.a2.q._inner[e].x==t&&(this.a2.q._inner[e].m=!0)},n.$t=i.markType(n,"ListPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.hy=null,n.ac=0,n.bt=!1,n.hz=i.BrushUtil.h(255,24,29,31),n}(i.Base),it=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.d=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateItemUpdatingEventArgs"),n}(i.Base),nt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.a.gg(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.gv(t,e,i)},n.prototype.notifyClearItems=function(){this.a.gf()},n.prototype.notifyInsertItem=function(t,e){this.a.gi(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.gm(t,e)},n.$t=i.markType(n,"ListPanelDataSourceNotificationBridge",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),rt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.g=function(t){this.a.ae=t.width,this.a.y=t.height},n.prototype.h=function(){return this.a.be()},n.prototype.b=function(t){return this.a.bs(t)},n.prototype.c=function(t){return this.a.bt(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bn(e.b.a)),0==t.ad?(i.isNaN_(t.absoluteWidth)||(e.b.a.ae=t.absoluteWidth),e.b.a.y=t.c5(e.v)):2==t.ad?(e.b.a.ae=t.c6(e.v),e.b.a.y=t.c5(e.v)):(e.b.a.ae=t.c6(e.v),e.b.a.y=t.absoluteHeight),e.o&&(e.o=!1,this.a.bu(e.b.a,e.s),this.a.bv(e.b.a,e.u))},n.prototype.e=function(t){this.a.bv(t,-1e3),this.a.bu(t,-1e3)},n.prototype.f=function(t){t.s=-1e3,t.u=-1e3,null!=t.b&&this.e(t.b.a)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),ot=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=!1,e.v=0,e.t=0,e.w=null,e.b=null,e.e=!1,e.l=!1,e.g=!0,e.h=!0,e.q=0,e.r=0,e.c=!1,e.d=!1,e.f=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){this.w!=t&&(this.m=!0),this.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.e},set:function(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.g},set:function(t){this.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.h},set:function(t){this.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&(this.p=!0)},enumerable:!1,configurable:!0}),n.prototype.a=function(t){var e=new Y;e.b=t.b(this.b.a),e.c=t.c(this.b.a);var i=this.b.a.be();return e.d=i.width,e.a=i.height,e},n.$t=i.markType(n,"ListPanelItemModel"),n}(i.Base),st=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._itemInfo=null,e._listPanel=null,e._isLeftButton=!1,e._isDoubleClick=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"itemInfo",{get:function(){return this._itemInfo},set:function(t){this._itemInfo=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"listPanel",{get:function(){return this._listPanel},set:function(t){this._listPanel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isLeftButton",{get:function(){return this._isLeftButton},set:function(t){this._isLeftButton=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDoubleClick",{get:function(){return this._isDoubleClick},set:function(t){this._isDoubleClick=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelItemEventArgs",i.EventArgs.$),n}(i.EventArgs),at=function(t){function n(e){var n=t.call(this)||this;return n.a=null,n.d=new i.FastIterationDictionary$2(E.$,i.Number_$type,0),n.c=new i.FastIterationDictionary$2(E.$,i.FastIterationDictionary$2.$.specialize(i.Number_$type,i.Number_$type),0),n.e=!1,n.m=-1,n.b=null,n.a=e,n}return e.__extends(n,t),n.prototype.ab=function(t){this.f(t)&&(this.j(t)?this.ac(t):this.w(t))},n.prototype.f=function(t){return!0},n.prototype.aa=function(t){this.f(t)&&(this.e=!0,this.w(t),this.e=!1)},n.prototype.n=function(t){return t.v},n.prototype.j=function(t){var e=this.n(t);if(-1==e)return!1;if(this.g(e))return!1;var i=this.a.af(this.a.e(),e);if(null==i)return!1;var n=this.d.d(i);if(n){if(-1==this.d.item(i))this.d.item(i,e);else if(this.d.item(i)!=e)return!1;var r=this.a.al.al(i);if(r>=0&&null==this.a.ai.ae._inner[r]){var o=this.a.ej(t);this.a.gt(r,o,i)}}return n},n.prototype.g=function(t){return!1},n.prototype.h=function(t){return this.d.d(t)},n.prototype.i=function(){return 1==this.a.as||2==this.a.as},n.prototype.ac=function(t){var e=this.n(t);if(-1!=e&&!this.g(e)){var i=this.a.af(this.a.e(),e);this.h(i)&&this.ad(i,e,!1)}},n.prototype.w=function(t){if(0!=this.a.as){var e=!1,n=null,r=this.n(t);if(r>-1&&(this.g(r)||(n=this.a.af(this.a.e(),r))),1==this.a.as||this.e){for(var o=this.d.o,s=this.d.p,a=new i.List$1(E.$,0),h=new i.List$1(i.Number_$type,0),u=0;u<o.count;u++)s._inner[u]||(o._inner[u].equals(n)?e=!0:(a.add(o._inner[u]),h.add(this.d.q._inner[u])));this.a.fg(),this.d.g=!0;for(var l=0;l<a.count;l++)this.ad(a._inner[l],h._inner[l],!1);this.d.g=!1,this.a.fq()}null==n||e||this.i()&&this.x(n,r,!1)}},n.prototype.x=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ae(this.a.e(),s.targetRow),h=this.a.d9(this.a.e(),a,this.a.d0(),this.a.d2());this.y(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.ei(e)),this.y(t,e,u,r)},n.prototype.y=function(t,e,i,n){if(!this.d.d(t)&&(this.d.s(t,e),null!=this.a.ay.c&&null!=this.a.ay.b)){var r=e>=this.a.ay.c&&e<=this.a.ay.b;null==i&&(r=!0),r&&this.a.hm(this.a,e)}n&&this.a.gn(i,t)},n.prototype.ae=function(t,e,i,n){if(this.d.d(t)&&(this.d.f(t),-1!=this.a.ay.c&&-1!=this.a.ay.b)){var r=e>=this.a.ay.c&&e<=this.a.ay.b;if(null==i&&(r=!0),r){var o=this.a.af(this.a.e(),e);null!=o&&o.equals(t)&&e>=0&&this.a.hn(this.a,e)}}n&&this.a.go(i,t)},n.prototype.ad=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ae(this.a.e(),s.targetRow),h=this.a.d9(this.a.e(),a,this.a.d0(),this.a.d2());this.ae(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.ei(e)),this.ae(t,e,u,r)},n.prototype.af=function(){for(var t=this.l(),e=new i.Dictionary$2(E.$,i.Number_$type,0),n=0;n<t.count;n++){var r=t.item(n),o=-1;this.d.d(r)&&(o=this.d.item(r)),-1==o&&(o=this.a.d9(this.a.e(),r,this.a.d0(),this.a.d2())),e.containsKey(r)||e.addItem(r,o),this.h(r)||this.x(r,o,!0)}for(var s=this.d.o,a=this.d.p,h=new i.List$1(E.$,0),u=new i.List$1(i.Number_$type,0),l=0;l<s.count;l++)if(!a._inner[l]){var c=s._inner[l];e.containsKey(c)||(h.add(c),u.add(this.d.q._inner[l]))}for(var p=0;p<u.count;p++)this.ad(h._inner[p],u._inner[p],!1);for(var f=0;f<this.a.ai.ae.count;f++){var d=this.a.ae(this.a.e(),this.a.ai.ae._inner[f]);if(null!=d&&!e.containsKey(d)){var b=-1;this.d.d(d)&&(b=this.d.item(d)),-1==b&&(b=this.a.dx(this.a.e(),d,this.a.d0(),this.a.d2())),this.ad(d,b,!1)}}},n.prototype.l=function(){return this.a.al.ae},n.prototype.q=function(){this.p()},n.prototype.r=function(t){for(var e=0;e<this.d.o.count;e++)if(!this.d.p._inner[e]){var i=this.d.o._inner[e],n=this.d.q._inner[e];n>=t&&this.d.item(i,n+1)}for(var r=0;r<this.c.o.count;r++)if(!this.c.p._inner[r])for(var o=this.c.o._inner[r],s=this.c.q._inner[r],a=0;a<s.o.count;a++)if(!this.c.item(o).p._inner[a]){var h=s.o._inner[a],u=this.c.item(o).item(h);u>=t&&this.c.item(o).item(h,u+1)}},n.prototype.u=function(t,e,i){this.ae(t,e,i,!0)},n.prototype.s=function(t,e){for(var n=new i.List$1(E.$,0),r=new i.List$1(i.Number_$type,0),o=0;o<this.d.o.count;o++)if(!this.d.p._inner[o]){var s=this.d.o._inner[o],a=this.d.q._inner[o];a==t&&(n.add(s),r.add(a)),a>t&&this.d.item(s,a-1)}for(var h=0;h<n.count;h++)this.u(n._inner[h],r._inner[h],e);for(var u=0;u<this.c.o.count;u++)if(!this.c.p._inner[u])for(var l=this.c.o._inner[u],c=this.c.q._inner[u],p=0;p<c.o.count;p++)if(!this.c.item(l).p._inner[p]){var f=c.o._inner[p],d=this.c.item(l).item(f);d==t&&this.c.item(l).item(f,-1),d>t&&this.c.item(l).item(f,d-1)}},n.prototype.t=function(t){for(var e=new i.List$1(E.$,0),n=new i.List$1(i.Number_$type,0),r=0;r<this.d.o.count;r++)if(!this.d.p._inner[r]){var o=this.d.o._inner[r],s=this.d.q._inner[r];s==t&&(e.add(o),n.add(s))}for(var a=0;a<e.count;a++)this.ad(e._inner[a],n._inner[a],!0)},n.prototype.p=function(){for(var t=new i.List$1(i.Number_$type,0),e=new i.HashSet$1(i.Number_$type,0),n=0;n<this.d.o.count;n++)if(!this.d.p._inner[n]){var r=this.d.o._inner[n];t.add(this.d.item(r));var o=this.a.d9(this.a.e(),r,this.a.d0(),this.a.d2());e.add_1(o),this.d.item(r,-1)}for(var s=0;s<t.count;s++)e.contains(t._inner[s])||this.a.hn(this.a,t._inner[s])},n.prototype.k=function(t){return 2==this.a.as},n.prototype.z=function(t){this.m=t},n.prototype.o=function(t,e,i,n){var r,o=this;if(void 0===n&&(n=!1),this.f(t))if((e=!!this.k(this.a.as)&&e)&&-1!=this.m){var s=((r=new Z).f=Math.min(o.m,t.v),r.d=Math.max(o.m,t.v),r);if(this.a.fg(),null!=this.b)for(var a=this.b.f;a<=this.b.d;a++)if(!s.b(a)){var h=this.a.af(this.a.e(),a);null!=h&&this.d.d(h)&&this.ad(h,a,!1)}for(var u=s.f;u<=s.d;u++){var l=this.a.af(this.a.e(),u);null==l||this.d.d(l)||this.x(l,u,!1)}this.a.fq(),this.b=s}else i||n?this.ab(t):this.aa(t),this.b=null,this.j(t)?this.m=t.v:this.m=-1},n.prototype.v=function(){if(null!=this.a.actualDataSource){this.a.fg();for(var t=this.a.d4(),e=0;e<t;e++){var n=this.a.actualDataSource.getItemAtIndex(e);if(null===i.typeCast(i.DataSourceSpecialRow.$,n)){var r=this.a.af(this.a.e(),e);null==r||this.d.d(r)||this.x(r,e,!1)}}this.a.fq()}},n.$t=i.markType(n,"ListPanelSelectionManager"),n}(i.Base),ht=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.b=!1,i.g=-1,i.h=-1,i.j=null,i.a=e,i}return e.__extends(n,t),n.prototype.v=function(t){this.f(t)&&(this.c(t)?this.q(t):this.n(t))},n.prototype.f=function(t){return!0},n.prototype.c=function(t){var e=this.i(t);return-1!=e&&(!(this.g<0)&&(e==this.g&&this.d(e)))},n.prototype.i=function(t){return t.v},n.prototype.d=function(t){return this.g==t},n.prototype.e=function(){return 1==this.a.r},n.prototype.o=function(){this.g>=0&&this.p(this.g,!0)},n.prototype.q=function(t){var e=this.i(t);-1!=e&&this.d(e)&&this.p(e,!0)},n.prototype.n=function(t){this.m(t)},n.prototype.m=function(t){if(this.f(t)&&this.e()){this.g>=0&&this.p(this.g,!1);var e=this.i(t);-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.k=function(t){if(this.e()&&t!=this.g){this.g>=0&&this.p(this.g,!1);var e=t;-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.l=function(t,e){t!=this.g&&(this.g=t,t>=0&&(t>=0&&this.a.d4(),this.a.hk(this.a,t)),e&&this.a.gb(t))},n.prototype.p=function(t,e){this.d(t)&&(this.g=-1,t>=0&&(t>=0&&this.a.d4(),this.a.hl(this.a,t)),e&&this.a.ge(t))},n.prototype.r=function(){this.g=-1},n.prototype.s=function(t){},n.prototype.t=function(t){},n.prototype.u=function(t){},n.$t=i.markType(n,"ListPanelActivationManager"),n}(i.Base),ut=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ot},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.v},set:function(t){this.i.v=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.t},set:function(t){this.i.t=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.x},set:function(t){this.i.x=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.i.s},set:function(t){this.i.s=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.i.u},set:function(t){this.i.u=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivationSupported",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t)},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new it},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableWidth",{get:function(){return this.i.c},set:function(t){this.i.c=+t},enumerable:!1,configurable:!0}),t}(),ct=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new G},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),pt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new K},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new X},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),dt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.onDownArrow=function(t,e){return this.a.b3(t,e)},n.prototype.onEnd=function(t,e){return this.a.b4(t,e)},n.prototype.onHome=function(t,e){return this.a.b8(t,e)},n.prototype.onLeftArrow=function(t,e){return this.a.ca(t,e)},n.prototype.onPageDown=function(t,e){return this.a.cb(t,e)},n.prototype.onPageUp=function(t,e){return this.a.cc(t,e)},n.prototype.onRightArrow=function(t,e){return this.a.cd(t,e)},n.prototype.onTab=function(t,e){return this.a.cf(t,e)},n.prototype.onUpArrow=function(t,e){return this.a.cg(t,e)},n.prototype.onWheel=function(){this.a.gx()},n.prototype.onEnter=function(t,e){return this.a.b5(t,e)},n.prototype.onEscape=function(){return this.a.b6()},n.prototype.onF2=function(){return this.a.b7()},n.prototype.onSpace=function(t,e){return this.a.ce(t,e)},n.prototype.onKeyDown=function(t,e,i){return this.a.b9(t,e,i)},n.$t=i.markType(n,"ListPanelScrollerKeyboardListener",i.Base.$,[i.IScrollerKeyboardListener_$type]),n}(i.Base),bt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new st},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"itemInfo",{get:function(){var t=this.i.itemInfo;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.itemInfo=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listPanel",{get:function(){var t=this.i.listPanel;return null==t?null:t.externalObject},set:function(t){this.i.listPanel=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLeftButton",{get:function(){return this.i.isLeftButton},set:function(t){this.i.isLeftButton=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDoubleClick",{get:function(){return this.i.isDoubleClick},set:function(t){this.i.isDoubleClick=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),gt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new H},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newActiveRow",{get:function(){return this.i.newActiveRow},set:function(t){this.i.newActiveRow=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldActiveRow",{get:function(){return this.i.oldActiveRow},set:function(t){this.i.oldActiveRow=+t},enumerable:!1,configurable:!0}),t}(),yt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new F},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),mt=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),_t=function(t){function n(e){var n=t.call(this)||this;if(mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(mt.$type,E.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new mt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),vt=function(){function t(){this._currentKeys=null,this._addedKeys=null,this._removedKeys=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentKeys",{get:function(){if(null===this._currentKeys){var t=new _t,e=this.i.currentKeys;e||(e=new $),this._currentKeys=t._fromInner(e),this.i.currentKeys=e}return this._currentKeys},set:function(t){null!==this._currentKeys&&(this._currentKeys._setSyncTarget(null),this._currentKeys=null);var e=new _t;this._currentKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.currentKeys;r||(r=new $),n._inner=r,n.clear(),this._currentKeys._setSyncTarget(n),this.i.currentKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedKeys",{get:function(){if(null===this._addedKeys){var t=new _t,e=this.i.addedKeys;e||(e=new $),this._addedKeys=t._fromInner(e),this.i.addedKeys=e}return this._addedKeys},set:function(t){null!==this._addedKeys&&(this._addedKeys._setSyncTarget(null),this._addedKeys=null);var e=new _t;this._addedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.addedKeys;r||(r=new $),n._inner=r,n.clear(),this._addedKeys._setSyncTarget(n),this.i.addedKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedKeys",{get:function(){if(null===this._removedKeys){var t=new _t,e=this.i.removedKeys;e||(e=new $),this._removedKeys=t._fromInner(e),this.i.removedKeys=e}return this._removedKeys},set:function(t){null!==this._removedKeys&&(this._removedKeys._setSyncTarget(null),this._removedKeys=null);var e=new _t;this._removedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.removedKeys;r||(r=new $),n._inner=r,n.clear(),this._removedKeys._setSyncTarget(n),this.i.removedKeys=r},enumerable:!1,configurable:!0}),t}(),Ct=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),jt=function(){function t(){this._currentItems=null,this._addedItems=null,this._removedItems=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new L},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentItems",{get:function(){if(null===this._currentItems){var t=new Ct,e=this.i.currentItems;e||(e=new R),this._currentItems=t._fromInner(e),this.i.currentItems=e}return this._currentItems},set:function(t){null!==this._currentItems&&(this._currentItems._setSyncTarget(null),this._currentItems=null);var e=new Ct;this._currentItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.currentItems;r||(r=new R),n._inner=r,n.clear(),this._currentItems._setSyncTarget(n),this.i.currentItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedItems",{get:function(){if(null===this._addedItems){var t=new Ct,e=this.i.addedItems;e||(e=new R),this._addedItems=t._fromInner(e),this.i.addedItems=e}return this._addedItems},set:function(t){null!==this._addedItems&&(this._addedItems._setSyncTarget(null),this._addedItems=null);var e=new Ct;this._addedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.addedItems;r||(r=new R),n._inner=r,n.clear(),this._addedItems._setSyncTarget(n),this.i.addedItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedItems",{get:function(){if(null===this._removedItems){var t=new Ct,e=this.i.removedItems;e||(e=new R),this._removedItems=t._fromInner(e),this.i.removedItems=e}return this._removedItems},set:function(t){null!==this._removedItems&&(this._removedItems._setSyncTarget(null),this._removedItems=null);var e=new Ct;this._removedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.removedItems;r||(r=new R),n._inner=r,n.clear(),this._removedItems._setSyncTarget(n),this.i.removedItems=r},enumerable:!1,configurable:!0}),t}(),Pt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new V},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.rowObject},set:function(t){this.i.rowObject=t},enumerable:!1,configurable:!0}),t}(),wt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new U},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.rowObject},set:function(t){this.i.rowObject=t},enumerable:!1,configurable:!0}),t}(),Ot=function(t){function n(){var e=t.call(this)||this;e._implementation=null,e._scroller=null,e._disconnected=!1,e._dataSource=null,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._selectedItems=null,e._selectedKeys=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._itemRecycled=null,e._itemRecycled_wrapped=null,e._itemRebind=null,e._itemRebind_wrapped=null,e._selectedItemsChanged=null,e._selectedItemsChanged_wrapped=null,e._selectedKeysChanged=null,e._selectedKeysChanged_wrapped=null,e._selectionChanged=null,e._selectionChanged_wrapped=null,e._activeRowChanged=null,e._activeRowChanged_wrapped=null,e._contentRefreshed=null,e._contentRefreshed_wrapped=null,e._rowUpdating=null,e._rowUpdating_wrapped=null,e._itemWidthRequested=null,e._itemWidthRequested_wrapped=null,e._itemHeightRequested=null,e._itemHeightRequested_wrapped=null,e._itemClicked=null,e._itemClicked_wrapped=null,e._actualPrimaryKeyChange=null,e._actualPrimaryKeyChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{}),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.externalListPanel=e,e.i.provideContainer(e._webComponentRenderer),e.i.viewportManager=e;var n=new i.Scroller;return n.scrollbarStyle=e.scrollbarStyle,e._scroller=n,e._scroller.keyboardListener=new dt(e.i),n.provideContainer(e._webComponentRenderer),e._content=e.i.view.contentGrid,n.provideContent(new i.WebComponentWrapper(e._content,e._webComponentRenderer)),n.onScrolling=function(){return e.onScroll()},n.onScrollStart=function(){return e.onScrollStart()},n.onScrollStop=function(){return e.onScrollStop()},n.viewportWidth=e._webComponentRenderer.rootWrapper.width(),n.viewportHeight=e._webComponentRenderer.rootWrapper.height(),e.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.notifySizeChanged()})),e}return e.__extends(n,t),n.prototype.setScrollbarStyle=function(t){this._scroller&&(this._scroller.scrollbarStyle=t)},n.prototype.setScrollbarColor=function(t){this._scroller&&(this._scroller.scrollbarBrush=t)},Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},n.prototype.createLocalDataSource=function(t,e){var n=new i.LocalDataSource;return n.schemaIncludedProperties=e,n.dataSource=t,n},n.prototype.onContentSizeChanged=function(){var t=this.i.absoluteWidth,e=this.i.absoluteHeight;null==this._scroller||isNaN(t)||isNaN(e)||(this._scroller.contentWidth=t,this._scroller.contentHeight=e)},n.prototype.moveViewportTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.onScroll=function(){var t=this._scroller.scrollTop,e=this._scroller.scrollLeft,i=this._scroller.viewportWidth,n=this._scroller.viewportHeight;this.i.setViewport(e,t,e+i,t+n)},n.prototype.onScrollStart=function(){},n.prototype.onScrollStop=function(){},n.prototype._scrollTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new et},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected||this.i&&this._scroller&&this._scroller.onDetachedFromUI(),this._disconnected=!0},n.prototype.notifySizeChanged=function(){if(this._webComponentRenderer){var t=this._webComponentRenderer.rootWrapper.width(),e=this._webComponentRenderer.rootWrapper.height();this._scroller.viewportWidth=t,this._scroller.viewportHeight=e,this._scroller.onViewportSizeChanged(t,e,!0)}this.i.notifySizeChanged()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this._scroller&&this._scroller.onAttachedToUI());this.classList.add("ig-list-panel"),this.classList.add("igc-list-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.notifySizeChanged()},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t,null!=this._implementation&&(this._implementation.itemsSource=this._dataSource)},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcListPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcListPanelComponent=t}return n._observedAttributesIgcListPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectionMode",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureEnum(k,t),this._a("selectionMode",i.enumToString(k,this.i.as))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isActiveRowStyleEnabled",{get:function(){return this.i.bx},set:function(t){this.i.bx=i.ensureBool(t),this._a("isActiveRowStyleEnabled",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedBackground",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("selectedBackground",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normalBackground",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("normalBackground",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorder",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("activationBorder",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderLeftWidth",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("activationBorderLeftWidth",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderTopWidth",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("activationBorderTopWidth",this.i.ds)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderRightWidth",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("activationBorderRightWidth",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderBottomWidth",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("activationBorderBottomWidth",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationMode",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(A,t),this._a("activationMode",i.enumToString(A,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionBehavior",{get:function(){return this.i.an},set:function(t){this.i.an=i.ensureEnum(B,t),this._a("selectionBehavior",i.enumToString(B,this.i.an))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKey",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItems",{get:function(){if(null===this._selectedItems){var t=new Ct,e=this.i.ai;e||(e=new R),this._selectedItems=t._fromInner(e)}return this._selectedItems},set:function(t){null!==this._selectedItems&&(this._selectedItems._setSyncTarget(null),this._selectedItems=null);var e=new Ct;this._selectedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.ai;r||(r=new R),n._inner=r,n.clear(),this._selectedItems._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new _t,e=this.i.al;e||(e=new $),this._selectedKeys=t._fromInner(e)}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new _t;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.al;r||(r=new $),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"schemaIncludedProperties",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.ec},set:function(t){this.i.ec=+t,this._a("rowHeight",this.i.ec)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("actualRowHeight",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.a4?null:this.i.a4.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a4=e,this._a("cellTextStyle",null!=this.i.a4?this.i.a4.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasUnevenSizes",{get:function(){return this.i.bv},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.a0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarBackground",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("scrollbarBackground",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureEnum(D,t),this._a("orientation",i.enumToString(D,this.i.ad))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.bz},set:function(t){this.i.bz=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRow",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("activeRow",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"notifyOnAllSelectionChanges",{get:function(){return this.i.b2},set:function(t){this.i.b2=i.ensureBool(t),this._a("notifyOnAllSelectionChanges",this.i.b2)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(t)?this.selectedKeys.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ListPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.getRowKey=function(t,e){var i=this.i.af(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new mt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getItemKey=function(t,e){var i=this.i.ae(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new mt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getLastVisibleIndex=function(){return this.i.d2()},n.prototype.getFirstVisibleIndex=function(){return this.i.d0()},n.prototype.invalidateVisibleItems=function(){this.i.f3()},n.prototype.notifySetItem=function(t,e,i){this.i.f9(t,e,i)},n.prototype.notifyClearItems=function(){this.i.f6()},n.prototype.notifyInsertItem=function(t,e){this.i.f7(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.f8(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.dv(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.dw(t)},n.prototype.exportVisualData=function(){return this.i.ef()},n.prototype.exportSerializedVisualData=function(){return this.i.ex()},n.prototype.selectAllRows=function(){this.i.hf()},n.prototype.scrollToRowByIndex=function(t){this.i.hd(t)},n.prototype.scrollToLastRowByIndex=function(t){this.i.hb(t)},n.prototype.deselectAllRows=function(){this.i.fm()},Object.defineProperty(n.prototype,"itemRecycled",{get:function(){return this._itemRecycled},set:function(t){var e=this;null!==this._itemRecycled_wrapped&&(this.i.itemRecycled=i.delegateRemove(this.i.itemRecycled,this._itemRecycled_wrapped),this._itemRecycled_wrapped=null,this._itemRecycled=null),this._itemRecycled=t,this._itemRecycled_wrapped=function(t,i){var n=new Pt;n._provideImplementation(i),e.beforeItemRecycled&&e.beforeItemRecycled(e,n),e._itemRecycled&&e._itemRecycled(e,n)},this.i.itemRecycled=i.delegateCombine(this.i.itemRecycled,this._itemRecycled_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemRebind",{get:function(){return this._itemRebind},set:function(t){var e=this;null!==this._itemRebind_wrapped&&(this.i.itemRebind=i.delegateRemove(this.i.itemRebind,this._itemRebind_wrapped),this._itemRebind_wrapped=null,this._itemRebind=null),this._itemRebind=t,this._itemRebind_wrapped=function(t,i){var n=new wt;n._provideImplementation(i),e.beforeItemRebind&&e.beforeItemRebind(e,n),e._itemRebind&&e._itemRebind(e,n)},this.i.itemRebind=i.delegateCombine(this.i.itemRebind,this._itemRebind_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemsChanged",{get:function(){return this._selectedItemsChanged},set:function(t){var e=this;null!==this._selectedItemsChanged_wrapped&&(this.i.selectedItemsChanged=i.delegateRemove(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped),this._selectedItemsChanged_wrapped=null,this._selectedItemsChanged=null),this._selectedItemsChanged=t,this._selectedItemsChanged_wrapped=function(t,i){var n=new jt;n._provideImplementation(i),e.beforeSelectedItemsChanged&&e.beforeSelectedItemsChanged(e,n),e._selectedItemsChanged&&e._selectedItemsChanged(e,n)},this.i.selectedItemsChanged=i.delegateCombine(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeysChanged",{get:function(){return this._selectedKeysChanged},set:function(t){var e=this;null!==this._selectedKeysChanged_wrapped&&(this.i.selectedKeysChanged=i.delegateRemove(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped),this._selectedKeysChanged_wrapped=null,this._selectedKeysChanged=null),this._selectedKeysChanged=t,this._selectedKeysChanged_wrapped=function(t,i){var n=new vt;n._provideImplementation(i),e.beforeSelectedKeysChanged&&e.beforeSelectedKeysChanged(e,n),e._selectedKeysChanged&&e._selectedKeysChanged(e,n)},this.i.selectedKeysChanged=i.delegateCombine(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionChanged",{get:function(){return this._selectionChanged},set:function(t){var e=this;null!==this._selectionChanged_wrapped&&(this.i.selectionChanged=i.delegateRemove(this.i.selectionChanged,this._selectionChanged_wrapped),this._selectionChanged_wrapped=null,this._selectionChanged=null),this._selectionChanged=t,this._selectionChanged_wrapped=function(t,i){var n=new yt;n._provideImplementation(i),e.beforeSelectionChanged&&e.beforeSelectionChanged(e,n),e._selectionChanged&&e._selectionChanged(e,n)},this.i.selectionChanged=i.delegateCombine(this.i.selectionChanged,this._selectionChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRowChanged",{get:function(){return this._activeRowChanged},set:function(t){var e=this;null!==this._activeRowChanged_wrapped&&(this.i.activeRowChanged=i.delegateRemove(this.i.activeRowChanged,this._activeRowChanged_wrapped),this._activeRowChanged_wrapped=null,this._activeRowChanged=null),this._activeRowChanged=t,this._activeRowChanged_wrapped=function(t,i){var n=new gt;n._provideImplementation(i),e.beforeActiveRowChanged&&e.beforeActiveRowChanged(e,n),e._activeRowChanged&&e._activeRowChanged(e,n)},this.i.activeRowChanged=i.delegateCombine(this.i.activeRowChanged,this._activeRowChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new ct;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowUpdating",{get:function(){return this._rowUpdating},set:function(t){var e=this;null!==this._rowUpdating_wrapped&&(this.i.rowUpdating=i.delegateRemove(this.i.rowUpdating,this._rowUpdating_wrapped),this._rowUpdating_wrapped=null,this._rowUpdating=null),this._rowUpdating=t,this._rowUpdating_wrapped=function(t,i){var n=new lt;n._provideImplementation(i),e.beforeRowUpdating&&e.beforeRowUpdating(e,n),e._rowUpdating&&e._rowUpdating(e,n)},this.i.rowUpdating=i.delegateCombine(this.i.rowUpdating,this._rowUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemWidthRequested",{get:function(){return this._itemWidthRequested},set:function(t){var e=this;null!==this._itemWidthRequested_wrapped&&(this.i.itemWidthRequested=i.delegateRemove(this.i.itemWidthRequested,this._itemWidthRequested_wrapped),this._itemWidthRequested_wrapped=null,this._itemWidthRequested=null),this._itemWidthRequested=t,this._itemWidthRequested_wrapped=function(t,i){var n=new pt;n._provideImplementation(i),e.beforeItemWidthRequested&&e.beforeItemWidthRequested(e,n),e._itemWidthRequested&&e._itemWidthRequested(e,n)},this.i.itemWidthRequested=i.delegateCombine(this.i.itemWidthRequested,this._itemWidthRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHeightRequested",{get:function(){return this._itemHeightRequested},set:function(t){var e=this;null!==this._itemHeightRequested_wrapped&&(this.i.itemHeightRequested=i.delegateRemove(this.i.itemHeightRequested,this._itemHeightRequested_wrapped),this._itemHeightRequested_wrapped=null,this._itemHeightRequested=null),this._itemHeightRequested=t,this._itemHeightRequested_wrapped=function(t,i){var n=new ft;n._provideImplementation(i),e.beforeItemHeightRequested&&e.beforeItemHeightRequested(e,n),e._itemHeightRequested&&e._itemHeightRequested(e,n)},this.i.itemHeightRequested=i.delegateCombine(this.i.itemHeightRequested,this._itemHeightRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemClicked",{get:function(){return this._itemClicked},set:function(t){var e=this;null!==this._itemClicked_wrapped&&(this.i.itemClicked=i.delegateRemove(this.i.itemClicked,this._itemClicked_wrapped),this._itemClicked_wrapped=null,this._itemClicked=null),this._itemClicked=t,this._itemClicked_wrapped=function(t,i){var n=new bt;n._provideImplementation(i),e.beforeItemClicked&&e.beforeItemClicked(e,n),e._itemClicked&&e._itemClicked(e,n)},this.i.itemClicked=i.delegateCombine(this.i.itemClicked,this._itemClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKeyChange",{get:function(){return this._actualPrimaryKeyChange},set:function(t){var e=this;null!==this._actualPrimaryKeyChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped),this._actualPrimaryKeyChange_wrapped=null,this._actualPrimaryKeyChange=null),this._actualPrimaryKeyChange=t,this._actualPrimaryKeyChange_wrapped=function(t,i){var n=e.actualPrimaryKey;"D"==i.propertyName&&(e.beforeActualPrimaryKeyChange&&e.beforeActualPrimaryKeyChange(e,n),e._actualPrimaryKeyChange&&e._actualPrimaryKeyChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcListPanelComponent=null,n.htmlTagName="igc-list-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Tt=function(){function t(){}return t.register=function(){Ot.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ot),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ot),i.TypeRegistrar.register("ListPanel",et.$type)},t}(),It=function(){function t(){}return t.register=function(){n.IgcXInputGroupModule.register(),Tt.register(),T.register(),i.TypeRegistrar.registerCons("IgcComboEditorComponent",T),i.TypeRegistrar.registerCons("IgcComboEditorComponent",T),i.TypeRegistrar.register("ComboEditor",v.$type)},t}(),xt=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t[t.TemplateRef=22]="TemplateRef",t[t.DoubleCollection=23]="DoubleCollection",t[t.Separator=24]="Separator",t[t.Header=25]="Header",t}({}),kt=i.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21|TemplateRef,22|DoubleCollection,23|Separator,24|Header,25"),St=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),At=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",i.EventArgs.$),n}(i.EventArgs),Bt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.a=null,e.g=null,e.propertyChanged=null,e.j=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!1,configurable:!0}),n.prototype.p=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.q(t,e,n)},n.prototype.q=function(t,e,i){switch(t){case"DescriptionType":case"Context":this.r()}},n.d=function(t,e,i){var r=new n;return r.j=i,r.b=t,r.n=e,r.j=null,r},n.prototype.f=function(t){var e=new Rt;return e.a3=t.propertyName,e.w=this.i(t),e.a2=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ay=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ay)?e.e=this.j.item(e.ay):e.e=n.d(this.a,e.ay,this.j)),8==e.w&&(null!=this.j&&this.j.containsKey(e.a2)?e.e=this.j.item(e.a2):e.e=n.d(this.a,e.a2,this.j)),15==e.w&&(e.c=this.a.c(this.n,e.a3),e.d=e.d),e},n.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 23:return 23;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 22:return 22;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},n.prototype.r=function(){var t=new Dt;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.b(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!i.stringEndsWith(r[o],"@names")&&!(i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion"))){var s=this.b.getMetadata(this.n,r[o]),a=this.f(s);0!=a.w&&t.add(a)}e&&(this.j=null)}this.h=t},n.prototype.e=function(t,e){if(null==t)return null;for(var n=i.stringSplit(t,[".","["],0),r=new i.List$1(i.String_$type,1,n),o=null,s=null;r.count>0;){var a=r._inner[0];r.removeAt(0);var h=!1;if(i.stringContains(a,"]")){h=!0;var u=(a=i.stringReplace(a,"]","")).split(",");if(a=u[0].trim(),i.stringContains(a,"as")){var l=a.indexOf("as");a.substr(0,l).trim(),s=a.substr(l+2).trim()}if(null!=s&&s!=this.n){var c=this.c();c.n=s,o=c;continue}}if(e&&(h=!0),null!=o&&null!==i.typeCast(Rt.$,o)){var p=o.aq(a,h);if(null==p)return null;o=p}else if(null!=o){var f=o.e(a,h);if(null==f)return null;o=f}else{if(null==this.h)return null;for(var d=0;d<this.h.count;d++)if(i.Base.equalsStatic(this.h._inner[d].a3,a)){o=this.h._inner[d];break}if(null==o)return null}}return i.typeCast(Rt.$,o)},n.prototype.c=function(){var t,e=this;return(t=new n).b=e.b,t.n=e.n,t},n.$t=i.markType(n,"PropertyEditorDataSource",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.au=null,e.aw=null,e.at=null,e.ax=null,e.u=0,e.t=0,e.av=null,e.x=!1,e.as=null,e.a=null,e.b=null,e.aa=!1,e.ao=null,e.an=null,e.ag=NaN,e.ad=NaN,e.ae=NaN,e.af=NaN,e.ah=NaN,e.g=null,e.f=null,e.k=new qt,e.j=new qt,e.y=!1,e.q=new Dt,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e.coercingValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a0",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.a8("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,this.aw!=e&&this.a8("PropertyPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,this.at!=e&&this.a8("Label",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,this.ax!=e&&this.a8("Subtitle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.a8("ValueType",i.enumGetBox(kt,e),i.enumGetBox(kt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.a8("CoercedValueType",i.enumGetBox(kt,e),i.enumGetBox(kt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,this.av!=e&&this.a8("PropertyDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.a8("ShouldOverrideDefaultEditor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,this.as!=e&&this.a8("ElementDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.a8("DropDownNames",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.a8("DropDownValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,this.ao!=e&&this.a8("PrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,this.ao!=e&&this.a8("CoercedPrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.a8("Min",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,this.ad!=e&&this.a8("EditorWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.ae!=e&&this.a8("LabelWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.af!=e&&this.a8("Max",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.a8("Step",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.g!=e&&this.a8("ComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.a8("CoercedComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.a8("ComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,this.j!=e&&this.a8("CoercedComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,this.y!=e&&this.a8("UseCoercedValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,this.q!=e&&this.a8("Properties",e,t)},enumerable:!1,configurable:!0}),n.prototype.a8=function(t,e,n){"PrimitiveValue"==t&&this.a7(),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.z=function(t){return null!=t&&(null==t.c||null!=this.c&&this.ab||(this.c=t.c),null==t.d||null!=this.d&&this.ab||(this.d=t.d),null==t.ay||null!=this.ay&&this.ab||(this.ay=t.ay),null==t.a2||null!=this.a2&&this.ab||(this.a2=t.a2),0==t.w||0!=this.w&&this.ab||(this.w=t.w,!0),0==t.v||0!=this.v&&this.ab||(this.v=t.v,!0),t.ac&&(this.ac=t.ac),!0)},n.prototype.aq=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},n.prototype.a6=function(){null!=this.buttonClicked&&this.buttonClicked(this,new St)},n.prototype.a5=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new At).newValue=e.ar,t))},n.prototype.a9=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new Nt).propertyPath=t,n.target=e,n.value=i,n))},n.prototype.a7=function(){var t,e=this;if(null!=this.coercingValue){var i=((t=new Et).value=e.ar,t.complexValue=e.i,t.complexValues=e.m,t);this.coercingValue(this,i),this.ap=i.value,this.h=i.complexValue,this.l=i.complexValues}},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._complexValue=null,e._complexValues=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){return this._complexValue},set:function(t){this._complexValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){return this._complexValues},set:function(t){this._complexValues=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCoercingValueEventArgs",i.EventArgs.$),n}(i.EventArgs),$t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObject"),n}(i.Base),qt=function(t){function n(){return t.call(this,$t.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize($t.$)),n}(i.ObservableCollection$1),Dt=function(t){function n(){return t.call(this,Rt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(Rt.$)),n}(i.ObservableCollection$1),zt=function(t){function n(e){var n=t.call(this)||this;if(Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(Gt.$type,Rt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Gt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Vt=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new zt,e=this.i.a;e||(e=new Dt),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new zt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.a;r||(r=new Dt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.a=r},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),Ut=function(t){function n(e){var n=t.call(this)||this;if(Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(Vt.$type,$t.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Vt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new St},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Mt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new At},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),Ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!1,configurable:!0}),t}(),Ht=function(){function t(){this._complexValues=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Et},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValue",{get:function(){var t=this.i.complexValue;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.complexValue=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.complexValues;e||(e=new qt),this._complexValues=t._fromInner(e),this.i.complexValues=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.complexValues;r||(r=new qt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.complexValues=r},enumerable:!1,configurable:!0}),t}(),Gt=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e._coercedComplexValues=null,e._properties=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._coercingValue=null,e._coercingValue_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Rt},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"name",{get:function(){return this.i.a0},set:function(t){this.i.a0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.az},set:function(t){this.i.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(kt,t),this._a("valueType",i.enumToString(kt,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedValueType",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(kt,t),this._a("coercedValueType",i.enumToString(kt,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ay},set:function(t){this.i.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primitiveValue",{get:function(){return this.i.ar},set:function(t){this.i.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedPrimitiveValue",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("min",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("editorWidth",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("labelWidth",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("max",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("step",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.i=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValue",{get:function(){var t=this.i.h;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.h=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.m;e||(e=new qt),this._complexValues=t._fromInner(e),this.i.m=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.m;r||(r=new qt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.m=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValues",{get:function(){if(null===this._coercedComplexValues){var t=new Ut,e=this.i.l;e||(e=new qt),this._coercedComplexValues=t._fromInner(e),this.i.l=e}return this._coercedComplexValues},set:function(t){null!==this._coercedComplexValues&&(this._coercedComplexValues._setSyncTarget(null),this._coercedComplexValues=null);var e=new Ut;this._coercedComplexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.l;r||(r=new qt),n._inner=r,n.clear(),this._coercedComplexValues._setSyncTarget(n),this.i.l=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useCoercedValue",{get:function(){return this.i.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("useCoercedValue",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new zt,e=this.i.r;e||(e=new Dt),this._properties=t._fromInner(e),this.i.r=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new zt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.r;r||(r=new Dt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.r=r},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:this.coercedComplexValue&&this.coercedComplexValue.name&&this.coercedComplexValue.name==t?this.coercedComplexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null!=this.coercedComplexValues&&this.coercedComplexValues.findByName&&this.coercedComplexValues.findByName(t)?this.coercedComplexValues.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPropertyDescriptionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},Object.defineProperty(n.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=i.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,i){var n=new Lt;n._provideImplementation(i),e.beforeButtonClicked&&e.beforeButtonClicked(e,n),e._buttonClicked&&e._buttonClicked(e,n)},this.i.buttonClicked=i.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=i.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,i){var n=new Mt;n._provideImplementation(i),e.beforeChanged&&e.beforeChanged(e,n),e._changed&&e._changed(e,n)},this.i.changed=i.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=i.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,i){var n=new Ft;n._provideImplementation(i),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,n),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,n)},this.i.targetPropertyUpdating=i.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercingValue",{get:function(){return this._coercingValue},set:function(t){var e=this;null!==this._coercingValue_wrapped&&(this.i.coercingValue=i.delegateRemove(this.i.coercingValue,this._coercingValue_wrapped),this._coercingValue_wrapped=null,this._coercingValue=null),this._coercingValue=t,this._coercingValue_wrapped=function(t,i){var n=new Ht;n._provideImplementation(i),e.beforeCoercingValue&&e.beforeCoercingValue(e,n),e._coercingValue&&e._coercingValue(e,n)},this.i.coercingValue=i.delegateCombine(this.i.coercingValue,this._coercingValue_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Wt=function(){function t(){}return t.register=function(){Gt.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",Gt),i.TypeRegistrar.register("PropertyEditorPropertyDescription",Rt.$type)},t}(),Kt=function(t){function n(){var e=t.call(this)||this;return e.c=1,e.e=null,e.f=null,e.propertyChanged=null,e.propertyUpdated=null,e}return e.__extends(n,t),n.b=function(t){return(e=new n).d=t.bindingMode,e.h=t.contextKey,e.j=t.propertyName,e;var e},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=t&&this.l("BindingMode",i.enumGetBox(i.ToolContextBindingMode_$type,e),i.enumGetBox(i.ToolContextBindingMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=t&&this.l("ContextKey",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=t&&this.l("PropertyName",e,t)},enumerable:!1,configurable:!0}),n.prototype.l=function(t,e,n){this.m(t,e,n),null!=this.propertyUpdated&&this.propertyUpdated(this,new i.PropertyUpdatedEventArgs(t,e,n)),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.m=function(t,e,i){},n.$t=i.markType(n,"ToolContextBinding",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Xt=function(){function t(){this._propertyUpdated=null,this._propertyUpdated_wrapped=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Kt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"bindingMode",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(i.ToolContextBindingMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyName",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"propertyUpdated",{get:function(){return this._propertyUpdated},set:function(t){var e=this;null!==this._propertyUpdated_wrapped&&(this.i.propertyUpdated=i.delegateRemove(this.i.propertyUpdated,this._propertyUpdated_wrapped),this._propertyUpdated_wrapped=null,this._propertyUpdated=null),this._propertyUpdated=t,this._propertyUpdated_wrapped=function(t,n){var r=new i.IgcPropertyUpdatedEventArgs;r._provideImplementation(n),e.beforePropertyUpdated&&e.beforePropertyUpdated(e,r),e._propertyUpdated&&e._propertyUpdated(e,r)},this.i.propertyUpdated=i.delegateCombine(this.i.propertyUpdated,this._propertyUpdated_wrapped)},enumerable:!1,configurable:!0}),t}(),Qt=function(t){function n(e){var n=t.call(this)||this;if(Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding"));var t=new i.SyncableObservableCollection$2(Xt.$type,Kt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Xt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Yt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(r,t),r.prototype.addHandler=function(t,e,n,r){switch(n){case 20:var o=t;o.selectedValueChanged=i.delegateCombine(o.selectedValueChanged,i.runOn(this,this.w)),this.u=r,this.v=e}},r.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUIComboSelectedItemsChangedEventArgs;null==t.value?n.a=[]:n.a=[t.value],this.u(this.v,n)}},r.prototype.getValue=function(e,n){switch(n){case 1:var r=1;switch(e.density){case 0:r=0;break;case 1:r=1;break;case 2:r=2;break;case 3:r=3;break;case 4:r=4}return i.enumGetBox(i.NativeUIDisplayDensity_$type,r);case 89:return e.gg;case 88:return e.j;case 8:return e.itemsSource;case 87:return[e.value]}return t.prototype.getValue.call(this,e,n)},r.prototype.removeHandler=function(t,e,n,r){switch(n){case 20:var o=t;o.selectedValueChanged=i.delegateRemove(o.selectedValueChanged,i.runOn(this,this.w)),this.u=null,this.v=null}},r.prototype.setValue=function(e,n,r){switch(n){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,r)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}return void(e.density=o);case 89:return void(e.gg=r);case 88:return void(e.j=[r]);case 8:var s=!1;if(null!=r&&null!==i.typeCast(i.Array_$type,r))for(var a=r,h=0;h<a.length;h++){if("string"==typeof a[h]){s=!0;break}break}if(s){for(var u=r,l=new i.List$1(i.Base.$,0),c=0;c<u.length;c++){var p=u[c],f={};f.label=p,l.add1(f)}e.itemsSource=l.toArray()}else e.itemsSource=r;return;case 87:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.$t=i.markType(r,"ComboEditorBridge",n.XComponentBridge.$),r}(n.XComponentBridge),Jt=new i.Type(null,"INativeUIToolPanelBridge",null,[i.INativeUIElementBridge_$type]),Zt=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolCommandEventArgs"),n}(i.Base),te=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),ee=i.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),ie=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextChangedEventArgs"),n}(i.Base),ne=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=new i.Dictionary$2(i.String_$type,i.Base.$,0),e.onItemChanged=null,e}return e.__extends(n,t),n.prototype.i=function(t,e){if(this.e.containsKey(t)){var n=this.e.item(t);return this.e.item(t,e),void((null==n&&null!=e||!i.Base.equalsStatic(n,e))&&this.h(t,n,e))}this.e.addItem(t,e),this.h(t,null,e)},n.prototype.h=function(t,e,i){var n;null!=this.onItemChanged&&this.onItemChanged(this,((n=new ie).c=t,n.b=e,n.a=i,n))},n.prototype.g=function(t){return this.e.item(t)},n.prototype.d=function(t,e,n){return null!=e&&this.e.containsKey(e)?{ret:!0,p1:i.typeCastObjTo$t(t,this.e.item(e))}:{ret:!1,p1:i.Type.getDefaultValue(t)}},n.prototype.f=function(){return this.e.getEnumerator()},n.prototype.b=function(t){return this.e.containsKey(t)},n.prototype.c=function(t){return this.e.containsKey(t)},n.$t=i.markType(n,"ToolPanelContext"),n}(i.Base),re=new i.Type(null,"INativeUIToolbarBridge",null,[i.INativeUIElementBridge_$type]),oe=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuOpeningEventArgs"),n}(i.Base),se=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuOpeningEventArgs"),n}(i.Base),ae=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuClosingEventArgs"),n}(i.Base),he=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuClosingEventArgs"),n}(i.Base),ue=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),le=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),ce=function(t){function n(){var e=t.call(this,Kt.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolContextBindingCollection",i.ObservableCollection$1.$.specialize(Kt.$)),n}(i.ObservableCollection$1),pe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextSwappedEventArgs"),n}(i.Base),fe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=null,e.a=0,e.c=!1,e.b=!1,e.e=0,e.d=new Date,e.f=null,e.h=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetail"),n}(i.Base),de=function(t){function n(){var e=t.call(this)||this;return e.f=0,e.h=0,e.g=0,e.b=0,e.a=0,e.c=0,e.e=0,e.d=0,e.f=NaN,e.h=NaN,e.g=NaN,e.e=NaN,e.d=NaN,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionMeasurementContext"),n}(i.Base),be=function(t){function n(){return t.call(this,fe.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(fe.$)),n}(i.ObservableCollection$1),ge=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new be,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),ye=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=null,e.h=null,e.e=0,e.a=null,e.d=null,e.f=null,e.b=null,e.c=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),t.u('id: "'+this.g+'", '),t.u('name: "'+this.h+'", '),t.u("type: "+this.e+", "),t.u("actualBackgroundColor: "+this.a.serialize()+", "),null!=this.d&&t.u("listItem: "+this.d.serialize()+", "),null!=this.f&&t.u("container: "+this.f.serialize()+", "),null!=this.b&&t.u("icon: "+this.b.l()+", "),null!=this.c&&t.u("label: "+this.c.g()+", "),t.u(this.i()),t.u("}"),t.toString()},n.prototype.i=function(){return""},n.$t=i.markType(n,"ToolActionVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),me=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(i.Base.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,i.Base.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf1(t)},n.$t=i.markType(n,"LayoutSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),_e=function(t){return t[t.Flat=0]="Flat",t[t.Outlined=1]="Outlined",t}({}),ve=i.markEnum("ToolActionButtonGroupDisplayType","Flat,0|Outlined,1"),Ce=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,r.b=null,e=null==e?0:e){case 0:var o=i[0],s=i[1];r.a=o,r.b=s;break;case 1:o=i[0];r.a=null,r.b=o}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(0,null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"LayoutPrimaryKeyValue"),n}(i.Base),je=function(t){function n(){var e=t.call(this,Ce.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(Ce.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Ce.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.ag&&(this.ai.clear(),this.aj.clear()),t.prototype.p.call(this)},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"LayoutSelectedKeysCollection",i.ObservableCollection$1.$.specialize(Ce.$)),n}(i.ObservableCollection$1),Pe=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),we=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),Oe=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),Te=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),Ie=function(t){function n(e){var r=t.call(this)||this;return r.j=null,r.f=null,r.d=null,r.h=i.DeviceUtils.g(42),r.ab=new i.Thickness(1,20,0,20,0),r.w=i.BrushUtil.h(255,237,239,245),r.x=i.BrushUtil.h(255,0,0,0),r.k="",r.a=n.c(),r.g=NaN,r.propertyChanged=null,r.j=e,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.u("Height",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.u("Padding",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.u("Background",e,this.w)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.u("TextColor",e,this.x)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.u("Text",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.u("FontInfo",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var e=this;i.NativeUIComponent.aw(this.j,[7,3],(function(i){e.e=i[0],e.e.bi=e.ac,e.e.y=e.i,e.e.a8=e.y,e.e.ao=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bl=!1,e.f.bm=e.p,e.f.ba=e.z,e.f.bk=e.b,e.e.bn(e.f),null!=t&&t()}))},n.prototype.aa=function(){if(i.isNaN_(this.g)){var t=document.createElement("canvas").getContext("2d");t.font=this.b.fontString;var e=t.measureText(this.p);this.g=e.width}return new i.Size(1,this.ac.left+this.ac.right+this.g,this.ac.top+this.ac.bottom+this.i)},n.c=function(){return(t=new i.FontInfo).q="Verdana",t.f=14,t.t="Normal",t.v="Normal",t.r="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.bi=this.ac,this.e.y=this.i,this.e.a8=this.y),null!=this.f&&(this.f.bm=this.p,this.f.ba=this.z,this.f.bk=this.b)},n.prototype.u=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.v(t,e,n)},n.prototype.v=function(t,e,i){switch(t){case"Background":case"Padding":case"Height":case"FontInfo":case"TextColor":this.s();break;case"Text":this.g=NaN,this.s()}},n.$t=i.markType(n,"TooltipTextPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),xe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e}return e.__extends(n,t),n.prototype.i=function(){new i.StringBuilder(0);return"arrowIcon: "+this.j!=null?this.j.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",ye.$),n}(ye),ke=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.c=null,e.a=null,e.b=new i.List$1(ye.$,0),e.c=new i.List$1(Se.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("actions: ["),this.b.count>0)for(var e=0;e<this.b.count;e++){var n=this.b._inner[e].serialize();t=e<this.b.count-1?t.u(n+", "):t.l(n)}if(t.u("], "),t.u("dropdowns: ["),this.c.count>0)for(var r=0;r<this.c.count;r++){var o=this.c._inner[r].serialize();t=r<this.c.count-1?t.l(o+", "):t.l(o)}return t.u("], "),t.u("panel: "+this.a.serialize()),t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Se=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),null!=this.a&&t.u("toolPanel: "+this.a.serialize()+", "),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelDropdownMenuVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Ae=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),Ne=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=2,e}return e.__extends(n,t),Object.defineProperty(n,"b",{get:function(){return null==n.a&&(n.a=new n),n.a},enumerable:!1,configurable:!0}),n.g=function(){i.NativeUIComponent.as(n.b)},Object.defineProperty(n.prototype,"flavor",{get:function(){return this.c},enumerable:!1,configurable:!0}),n.prototype.createComponent=function(t,e,i){switch(e){case 19:this.d(t,i);break;case 13:this.f(t,i);break;case 18:this.e(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:case 18:case 19:return!0}return!1},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new v;s.provideRenderer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Yt(s),h=new i.NativeUICombo;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new oi;o.provideContainer(r);var s=new Be(o),a=new qe;a.an=n,a.d=s,e(a)},n.prototype.e=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new ii;o.provideContainer(r);var s=new Re(o),a=new De;a.an=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),Be=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.y=null,i.v=null,i.z=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.js()},r.prototype.x=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.updateDensity=function(t,e){t.g7(this.x(e))},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ac)),this.u=r,this.y=e;break;case 12:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ad)),this.v=r,this.z=e;break;case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ab)),this.w=r,this.aa=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ac)),this.u=null,this.y=null;break;case 12:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ad)),this.v=null,this.z=null;break;case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.ab)),this.w=null,this.aa=null}},r.prototype.ac=function(t,e){null!=this.u&&this.u(this.y,e)},r.prototype.ad=function(t,e){null!=this.v&&this.v(this.z,e)},r.prototype.ab=function(t,e){null!=this.w&&this.w(this.aa,e)},r.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 106:return e}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},r.prototype.setValue=function(e,n,r){var o=e;switch(n){case 27:return void(o.actions=r);case 30:return void(o.u=i.EnumUtil.getEnumValue(ee,r));case 28:return void(o.cx=i.typeGetValue(r));case 18:return void(o.z=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 33:return void(o.jl=r);case 34:return void(o.i6=r);case 23:return void(o.i3=r);case 50:return void(o.jj=r);case 51:return void(o.i9=r);case 52:return void(o.jc=r);case 53:return void(o.ji=r);case 11:return void(o.am=r);case 70:return void(o.jh=r);case 66:return void(o.jo=r);case 68:return void(o.jp=r);case 67:return void(o.i4=r);case 69:return void(o.i5=r);case 71:return void(o.jf=r);case 72:return void(o.jg=r);case 81:return void(o.jk=r);case 82:return void(o.jb=r);case 83:return void(o.ao=r);case 107:return void(o.a1=r)}t.prototype.setValue.call(this,e,n,r)},r.prototype.getValue=function(e,n){var r=e;switch(n){case 27:return r.actions;case 30:return i.enumGetBox(ee,r.u);case 28:return r.cx;case 29:return r.bz;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.z);case 33:return r.jl;case 34:return r.i6;case 23:return r.i3;case 50:return r.jj;case 51:return r.i9;case 52:return r.jc;case 53:return r.ji;case 11:return r.am;case 70:return r.jh;case 66:return r.jo;case 68:return r.jp;case 67:return r.i4;case 69:return r.i5;case 71:return r.jf;case 72:return r.jg;case 81:return r.jk;case 82:return r.jb;case 83:return r.ao;case 102:return r.a0;case 107:return r.a1}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.gi()},r.prototype.flushRefresh=function(t){t.fz()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.getContext=function(t){return t.p},r.prototype.setContext=function(t,e){t.p=e},r.prototype.setBrushContextItem=function(t,e,i){t.gr(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.i7(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.gp(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.gz(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.ca(e)},r.prototype.setStringContextItem=function(t,e,i){t.g3(e,i)},r.prototype.getStringContextItem=function(t,e){return t.ej(e)},r.prototype.setBoolContextItem=function(t,e,i){t.gn(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.ax(e)},r.prototype.setColorContextItem=function(t,e,i){t.gt(e,i)},r.prototype.getColorContextItem=function(t,e){return t.jq(e)},r.prototype.setDataContextItem=function(t,e,i){t.gx(e,i)},r.prototype.getDataContextItem=function(t,e){return t.c1(e)},r.prototype.markDirty=function(t,e){t.f2(e)},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Jt]),r}(n.XComponentBridge),Re=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.ac=null,i.v=null,i.ad=null,i.y=null,i.ae=null,i.x=null,i.ab=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.f6()},r.prototype.z=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.af)),this.y=r,this.ae=e;break;case 22:o.subMenuOpening=i.delegateCombine(o.subMenuOpening,i.runOn(this,this.ah)),this.x=r,this.ab=e;break;case 23:o.subMenuClosing=i.delegateCombine(o.subMenuClosing,i.runOn(this,this.ag)),this.w=r,this.aa=e}},r.prototype.ah=function(t,e){if(null!=this.x){var i=new se;this.x(this.ab,i)}},r.prototype.ag=function(t,e){if(null!=this.x){var i=new he;this.w(this.aa,i)}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.af)),this.y=null,this.ae=null;break;case 22:o.subMenuOpening=i.delegateRemove(o.subMenuOpening,i.runOn(this,this.ah)),this.x=null,this.ab=null}},r.prototype.af=function(t,e){null!=this.y&&this.y(this.ae,e)},r.prototype.setValue=function(t,n,r){var o,s,a=t;switch(n){case 27:a.actions.clear();try{for(var h=e.__values(i.fromEnum(r)),u=h.next();!u.done;u=h.next()){var l=u.value;a.actions.add(l)}}catch(t){o={error:t}}finally{try{u&&!u.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}break;case 30:a.m=i.EnumUtil.getEnumValue(le,r);break;case 28:a.bu=i.typeGetValue(r);break;case 18:a.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r);break;case 33:a.f0=r;break;case 34:a.fn=r;break;case 23:a.fk=r;break;case 50:a.fy=r;break;case 51:a.fp=r;break;case 52:a.fr=r;break;case 53:a.fx=r;break;case 11:a.ad=r;break;case 70:a.fw=r;break;case 66:a.f3=r;break;case 68:a.f4=r;break;case 67:a.fl=r;break;case 69:a.fm=r;break;case 71:a.fu=r;break;case 72:a.fv=r;break;case 81:a.fz=r;break;case 82:a.fq=r;break;case 83:a.af=r;break;case 84:a.target=r;break;case 107:a.as=r}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(le,n.m);case 28:return n.bu;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.x);case 33:return n.f0;case 34:return n.fn;case 23:return n.fk;case 50:return n.fy;case 51:return n.fp;case 52:return n.fr;case 53:return n.fx;case 11:return n.ad;case 70:return n.fw;case 66:return n.f3;case 68:return n.f4;case 67:return n.fl;case 69:return n.fm;case 71:return n.fu;case 72:return n.fv;case 81:return n.fz;case 82:return n.fq;case 83:return n.af;case 84:return n.target;case 102:return n.ar;case 107:return n.as}return null},r.prototype.flushRefresh=function(t){t.dx()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.ej(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.fo(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.ei(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.en(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.a9(e)},r.prototype.setStringContextItem=function(t,e,i){t.ev(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cn(e)},r.prototype.setBoolContextItem=function(t,e,i){t.eh(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.aq(e)},r.prototype.setColorContextItem=function(t,e,i){t.ek(e,i)},r.prototype.getColorContextItem=function(t,e){return t.f5(e)},r.prototype.setDataContextItem=function(t,e,i){t.em(e,i)},r.prototype.getDataContextItem=function(t,e){return t.bz(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[re]),r}(n.XComponentBridge),Ee=function(t){function n(){var e,n=t.call(this)||this;return n.o=null,n.n=null,n.g=i.DeviceUtils.g(44),n.a=null,n.j=null,n.m=null,n.e=null,n.l=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ab=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.k=null,n}return e.__extends(n,t),n.prototype.q=function(){return this.j},n.prototype.w=function(){},n.prototype.u=function(t){var e=this;if(null!=t){this.a.d=new i.DOMExecutionContext(t),this.j=t,this.m=this.j.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.j.get2DCanvasContext(this.m)),this.l=this.j.createElement("div"),this.z();var n=this.j.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.j.append(n),this.j.getPortal(n,"ToolPanel",(function(t){var i=t.componentRef.i;i.fy(),e.a.dy(i)}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative")}else this.j=null},n.prototype.z=function(){},n.prototype.y=function(){this.j},n.prototype.t=function(){if(null!=this.j){var t=this.j.rootWrapper.width(),e=this.j.rootWrapper.height();this.a.userSetWidth||0!=this.a.m||(this.j.rootWrapper.setStyleProperty("min-width",this.g+"px"),t=this.g),this.ab=new i.Size(1,t,e),this.a.d1(this.ab)}},n.prototype.aa=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.f0),i.NativeUI.m(e,this.a.fk))}},n.prototype.d=function(){return this.b},n.prototype.v=function(){},n.prototype.x=function(){},n.prototype.s=function(){},n.prototype.h=function(){return this.ab.width},n.prototype.i=function(t){return this.c=this.a.ae(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.r=function(t,e){null==this.k&&(this.k=this.j.createElement("div")),e(this.k.getNativeElement())},n.$t=i.markType(n,"ToolbarView"),n}(i.Base),$e=function(t){function n(){var e,n=t.call(this)||this;return n.u=null,n.t=null,n.c=null,n.p=null,n.s=null,n.i=null,n.r=null,n.d=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.e=function(){var t=new i.FontInfo;return t.q="Verdana",t.f=10,t.t="Normal",t.v="Normal",t.r="Normal",t}(),n.al=new i.Size,n.f=null,n._gridExternal=null,n.j=!1,n.q=null,n}return e.__extends(n,t),n.prototype.x=function(){return this.p},n.prototype.af=function(){},Object.defineProperty(n.prototype,"v",{get:function(){return this.p.rootWrapper},enumerable:!1,configurable:!0}),n.prototype.ad=function(t){var e=this;if(null!=t){this.c.c=new i.DOMExecutionContext(t),this.p=t,this.s=this.p.createElement("canvas"),this.i=new i.RenderingContext(new i.CanvasViewRenderer,this.p.get2DCanvasContext(this.s)),this.r=this.p.createElement("div"),this.ai();var n=this.p.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.p.append(n),this.p.getPortal(n,"ListPanel",(function(t){var i=t.componentRef.i;i.fu(),e.c.f0(i),e.ag()}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.p.rootWrapper.setStyleProperty("position","relative"),this.p.rootWrapper.setStyleProperty("width","100%")}else this.p=null},n.prototype.ai=function(){},n.prototype.ab=function(){if(null!=this.p){var t=this.p.rootWrapper.width(),e=this.p.rootWrapper.height();this.al=new i.Size(1,t,e),this.c.f6(this.al),this.c.ap}},n.prototype.m=function(){return this.p.rootWrapper.getNativeElement().offsetWidth},n.prototype.l=function(){return this.p.rootWrapper.getNativeElement().offsetHeight},n.prototype.aj=function(){var t=this.p;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.jl),i.NativeUI.m(e,this.c.i3))}},n.prototype.g=function(){return this.d},n.prototype.h=function(){return this.e},n.prototype.ae=function(){},n.prototype.ah=function(){},n.prototype.ag=function(){null!=this.p&&(this.c.actions.count>0&&0==this.c.u?this.p.rootWrapper.setStyleProperty("min-width",i.DeviceUtils.g(44)+"px"):this.p.rootWrapper.setStyleProperty("min-width","0px"))},n.prototype.ac=function(){this.ag()},n.prototype.aa=function(){},n.prototype.k=function(){return this.al.width},n.prototype.n=function(t){return this.f=this.c.an(),i.FontUtil.measureStringWidth(t,this.f,this.i)},n.prototype.o=function(t,e){return i.FontUtil.measureStringWidth(t,e,this.i)},n.prototype.z=function(t,e){null==this.q&&(this.q=this.p.createElement("div")),e(this.q.getNativeElement())},n.prototype.a=function(){var t=new i.Popup;this.p.getExternal(t,this.p.rootWrapper,this.p.getExternal(this.c,null,null));return t},n.prototype.b=function(t){var e=new oi;this.p.getExternal(e,this.p.rootWrapper,this.p.getExternal(this.c,null,null));return t.an.appendChild(e.v.p.rootWrapper.getNativeElement()),e},n.prototype.ak=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,s=e.height;return new i.Rect(0,n,r,o,s)},n.prototype.y=function(){this.c.externalObject.ensureStretch()},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bp=null,e.bk=null,e.bl=null,e.br=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bo",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(81)},set:function(t){this.a4(81,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(82)},set:function(t){this.a4(82,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bo.getContext(this.am)},set:function(t){this.bo.setContext(this.am,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,null!=this.bp?this.aq(10,this.bp):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,null!=this.bk?this.aq(11,this.bk):this.a2(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(12,this.bl):this.a2(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),n.prototype.b3=function(){this.bo.refresh(this.am)},n.prototype.b4=function(t){this.bo.updateDensity(this.am,t)},n.prototype.b0=function(){this.bo.flushRefresh(this.am)},n.prototype.b2=function(t){this.bo.notifySizeChanged(this.am,t)},n.prototype.b1=function(t){this.bo.markDirty(this.am,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),De=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.br=null,e.bo=null,e.bn=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bk",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(107)},set:function(t){this.a4(107,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(81)},set:function(t){this.a4(81,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(82)},set:function(t){this.a4(82,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(102)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(10,this.bl):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,null!=this.bo?this.aq(22,this.bo):this.a2(22,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,null!=this.bo?this.aq(23,this.bn):this.a2(23,e)},enumerable:!1,configurable:!0}),n.prototype.b2=function(){this.bk.flushRefresh(this.am)},n.prototype.b3=function(t){this.bk.notifySizeChanged(this.am,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),ze=function(t){function n(){var e,n=t.call(this)||this;n.q=null,n.bj=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bm=new i.List$1(i.String_$type,0),n.bl=new i.HashSet$1(i.String_$type,0),n.bi=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bh=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bp=NaN,n.as=!1,n.o=new ce,n.r=null,n.c=null,n.cw=null,n.g=null,n.i=new ei,n.dk=null,n.dh=null,n.ek=null,n.gv=i.BrushUtil.h(0,0,0,0),n.aa=null,n.bt=30,n.br=NaN,n.bs=NaN,n.bo=24,n.bq=NaN,n.bn=24,n.propertyChanged=null,n.bk=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.ab=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.onCommand=null,n.performed=null,n.y=null,n.an=null,n.ak=null,n.ah=null,n.ap=null,n.am=null,n.aq=null,n.ar=null,n.t=0,n.al=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.fo));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.fp));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.fx));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.fy)),n}return e.__extends(n,t),n.prototype.get_a8=function(){return!1},Object.defineProperty(n.prototype,"a8",{get:function(){return this.get_a8()},enumerable:!1,configurable:!0}),n.prototype.gj=function(t,n){var r,o,s,a;if(this.bj.item(t,n),this.bi.containsKey(t)){var h=this.bi.item(t),u=new i.List$1(Kt.$,0);try{for(var l=e.__values(i.fromEnum(h)),c=l.next();!c.done;c=l.next()){var p=c.value;u.add(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u)),d=f.next();!d.done;d=f.next()){var b=d.value;this.gc(b)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},n.prototype.gc=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gm)),null!=t.h&&this.bh.containsKey(t.h)){var e=this.bh.item(t.h);e.remove(t),0==e.count&&this.bh.removeItem(t.h)}if(null!=t.j&&this.bi.containsKey(t.j)){var n=this.bi.item(t.j);n.remove(t),0==n.count&&(this.bi.removeItem(t.j),this.bl.contains(t.j)&&(this.bl.remove(t.j),this.bm.remove(t.j)))}}},n.prototype.gd=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gm)),null!=e&&this.bh.containsKey(e)){var r=this.bh.item(e);r.remove(t),0==r.count&&this.bh.removeItem(t.h)}if(null!=n)if(this.bi.containsKey(n))this.bi.item(n).remove(t),this.bl.contains(t.j)&&(this.bl.remove(t.j),this.bm.remove(t.j))}},n.prototype.e4=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.gm)),null!=t.h)if(this.bh.containsKey(t.h)){var e=this.bh.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Kt.$,0);n.add(t),this.bh.addItem(t.h,n)}if(null!=t.j)if(this.bi.containsKey(t.j)){var r=this.bi.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Kt.$,0);o.add(t),this.bi.addItem(t.j,o),this.bl.contains(t.j)||(this.bl.add_1(t.j),this.bm.add(t.j))}}},n.prototype.gm=function(t,e){switch(e.propertyName){case"ContextKey":this.gd(t,e.oldValue,t.j),this.e4(t);break;case"PropertyName":this.gd(t,t.h,e.oldValue),this.e4(t)}},n.prototype.ct=function(t,e){if(this.bj.containsKey(t))return this.bj.item(t);if(this.bi.containsKey(t))for(var i=this.bi.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.az(r))return this.cq(r,e)}return e},n.prototype.h=function(t,e,n){if(this.bj.containsKey(e))return i.typeCastObjTo$t(t,this.bj.item(e));if(this.bi.containsKey(e))for(var r=this.bi.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.az(s)){var a=this.cq(s,i.getBoxIfEnum(t,n));return"number"==typeof a?i.typeCastObjTo$t(t,i.EnumUtil.toObject(t,i.typeGetValue(a))):i.typeCastObjTo$t(t,a)}}return n},n.prototype.cs=function(t,e){if(this.bj.containsKey(t))return this.bj.item(t);if(this.bi.containsKey(t))for(var i=this.bi.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.az(r))return this.cq(r,e)}return e},n.prototype.cq=function(t,e){return null==this.q||null==this.q.p?e:this.q.p.c(t.h)?this.q.p.g(t.h):e},n.prototype.gg=function(t,e){null!=this.q&&null!=this.q.p&&null!=t.h&&(this.gk(t.h),this.q.p.i(t.h,e),this.gl(t.h))},Object.defineProperty(n.prototype,"contextBindings",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.f3("ContextBindings",e,this.o)},enumerable:!1,configurable:!0}),n.prototype.aw=function(){return this.bm.count>0},n.prototype.fk=function(t){for(var e=0;e<this.bm.count;e++){var i=this.bm._inner[e];if(this.bi.containsKey(i))for(var n=this.bi.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.az=function(t){return null!=this.q&&null!=this.q.p&&this.q.p.c(t.h)},n.prototype.gh=function(t,e){if(this.ay(t))for(var i=this.bi.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.gg(r,e)}else this.bj.item(t,e)},n.prototype.ax=function(t){return!!this.bh.containsKey(t)},n.prototype.ay=function(t){return!!this.bi.containsKey(t)},n.prototype.gi=function(t){var e=this.q;if(this.q=t,null!=this.q&&(null!=this.ag&&null!=this.q.v.p&&this.ag.w(this.q.v.p),this.bd=this.q.a3),this.q!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.fz)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.f0))),null!=this.q){var n=this.q;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.fz));var r=this.q;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.f0))}this.f2(),this.y=null}},n.prototype.cr=function(t){return null==t||null==t.j?null:this.bj.containsKey(t.j)?this.bj.item(t.j):null},n.prototype.f2=function(){null!=this.ah&&(this.ah.bm=i.runOn(this,this.fr))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f3("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cx",{get:function(){return null!=this.ei?this.ei:null!=this.e1?this.et(this.e1):(null==this.cw&&(this.cw=i.Guid.newGuid().toString()),this.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ct("Width",NaN)},set:function(t){this.gj("Width",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ct("Height",NaN)},set:function(t){this.gj("Height",t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return i.typeGetValue(this.ct("SubPanelRowHeight",-1))},set:function(t){this.gj("SubPanelRowHeight",t)},enumerable:!1,configurable:!0}),n.prototype.e6=function(){null!=this.ah&&(this.ah.bm=null),null!=this.q&&this.q.f2(this)},n.prototype.fx=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;this.gc(l)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var c=e.__values(i.fromEn(n.newItems)),p=c.next();!p.done;p=c.next()){var f=p.value;this.e4(f)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}},n.prototype.fy=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.contextBindings)),a=s.next();!a.done;a=s.next()){var h=a.value;this.gc(h)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fo=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;l.e6(),l.g=null;var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.fs))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;d.g=this;var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.fs))}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},n.prototype.fp=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.actions)),a=s.next();!a.done;a=s.next()){var h=a.value;h.e6(),h.g=null}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fs=function(t,e){this.e5(t,e.propertyName)},n.prototype.e5=function(t,e){null!=this.g&&this.g.e5(t,e)},n.prototype.et=function(t){return i.stringReplace(t," ","_")},n.prototype.k=function(t){var e,i=this;return(e=new fe).g=i.cx,e.a=i.z,e.c=t,e},n.prototype.fm=function(t){var e,n=this;null==this.dm&&null==this.co||t.add(((e=new i.ToolCommandArgument).argumentName=n.er(),e.value=n.cu(),e)),this.fn(t)},n.prototype.fn=function(t){},n.prototype.er=function(){return null!=this.dm?this.dm:null!=this.cx?this.cx:"Unknown"},n.prototype.cu=function(){return null!=this.co?this.co:this.cv()},n.prototype.cv=function(){return null},Object.defineProperty(n.prototype,"ep",{get:function(){return this.ct("ParentId",null)},set:function(t){var e=this.ep;e!=t&&(this.gj("ParentId",t),this.f3("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.es=function(){return null!=this.dq?this.dq:this.cx},Object.defineProperty(n.prototype,"dq",{get:function(){return this.ct("CommandId",null)},set:function(t){var e=this.dq;e!=t&&(this.gj("CommandId",t),this.f3("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dm",{get:function(){return this.ct("CommandArgument",null)},set:function(t){var e=this.dm;e!=t&&(this.gj("CommandArgument",t),this.f3("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.ct("CommandArgumentValue",null)},set:function(t){var e=this.co;e!=t&&(this.gj("CommandArgumentValue",t),this.f3("CommandArgumentValue",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.h(i.BaseControlTheme_$type,"BaseTheme",0)},set:function(t){var e=this.s;e!=t&&(this.gj("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.f3("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ct("PaddingLeft",NaN)},set:function(t){var e=this.ci;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingLeft",t),this.f3("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ct("ActualPaddingLeft",NaN)},set:function(t){var e=this.bz;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualPaddingLeft",t),this.f3("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ct("PaddingRight",NaN)},set:function(t){var e=this.cj;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingRight",t),this.f3("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ct("ActualPaddingRight",NaN)},set:function(t){var e=this.b0;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualPaddingRight",t),this.f3("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ct("PaddingBottom",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingBottom",t),this.f3("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.cs("ActualPaddingBottom",NaN)},set:function(t){var e=this.by;e!=t&&(this.gj("ActualPaddingBottom",t),this.f3("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ct("PaddingTop",NaN)},set:function(t){var e=this.ck;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("PaddingTop",t),this.f3("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ct("ActualPaddingTop",NaN)},set:function(t){var e=this.b1;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualPaddingTop",t),this.f3("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gz",{get:function(){return this.ct("ActualHoverBackground",null)},set:function(t){var e=this.gz;e!=t&&(this.gj("ActualHoverBackground",t),this.f3("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.ct("HoverBackground",null)},set:function(t){var e=this.g7;e!=t&&(this.gj("HoverBackground",t),this.f3("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gw",{get:function(){return this.ct("ActualBackground",null)},set:function(t){var e=this.gw;e!=t&&(this.gj("ActualBackground",t),this.f3("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g4",{get:function(){return this.cs("Background",null)},set:function(t){var e=this.g4;e!=t&&(this.gj("Background",t),this.f3("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g3",{get:function(){return this.cs("ActualTextColor",null)},set:function(t){var e=this.g3;e!=t&&(this.gj("ActualTextColor",t),this.f3("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.ct("TextColor",null)},set:function(t){var e=this.hb;e!=t&&(this.gj("TextColor",t),this.f3("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g2",{get:function(){return this.cs("ActualSubtitleTextColor",null)},set:function(t){var e=this.g2;e!=t&&(this.gj("ActualSubtitleTextColor",t),this.f3("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ha",{get:function(){return this.ct("SubtitleTextColor",null)},set:function(t){var e=this.ha;e!=t&&(this.gj("SubtitleTextColor",t),this.f3("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gx",{get:function(){return this.ct("ActualDisabledTextColor",null)},set:function(t){var e=this.gx;e!=t&&(this.gj("ActualDisabledTextColor",t),this.f3("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g5",{get:function(){return this.ct("DisabledTextColor",null)},set:function(t){var e=this.g5;e!=t&&(this.gj("DisabledTextColor",t),this.f3("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.ct("ActualTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gj("ActualTextStyle",t),this.f3("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.ct("TextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gj("TextStyle",t),this.f3("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ct("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ac;e!=t&&(this.gj("ActualSubtitleTextStyle",t),this.f3("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.ct("SubtitleTextStyle",null)},set:function(t){var e=this.af;e!=t&&(this.gj("SubtitleTextStyle",t),this.f3("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.ct("IsDisabled",!1)},set:function(t){var e=this.a6;e!=t&&(this.gj("IsDisabled",t),this.f3("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return this.cs("IsHighlighted",!1)},set:function(t){var e=this.a7;e!=t&&(this.gj("IsHighlighted",t),this.f3("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.h(i.ControlDisplayDensity_$type,"Density",0)},set:function(t){var e=this.v;e!=t&&(this.gj("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.f3("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.h(i.ControlDisplayDensity_$type,"ActualDensity",0)},set:function(t){var e=this.u;e!=t&&(this.gj("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.f3("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return null!=this.ep},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ei",{get:function(){return this.ct("Name",null)},set:function(t){var e=this.ei;e!=t&&(this.gj("Name",t),this.f3("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.ct("Title",null)},set:function(t){var e=this.e1;e!=t&&(this.gj("Title",t),this.f3("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ev",{get:function(){return this.ct("Subtitle",null)},set:function(t){var e=this.ev;e!=t&&(this.gj("Subtitle",t),this.f3("Subtitle",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_cl=function(){return this.bt},Object.defineProperty(n.prototype,"cl",{get:function(){return this.get_cl()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d6",{get:function(){return this.ct("IconName",null)},set:function(t){var e=this.d6;e!=t&&(this.gj("IconName",t),this.f3("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d1",{get:function(){return this.ct("IconCollectionName",null)},set:function(t){var e=this.d1;e!=t&&(this.gj("IconCollectionName",t),this.f3("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ct("IconViewBoxLeft",NaN)},set:function(t){var e=this.cd;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxLeft",t),this.f3("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ct("IconViewBoxTop",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxTop",t),this.f3("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ct("IconViewBoxWidth",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxWidth",t),this.f3("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ct("IconViewBoxHeight",NaN)},set:function(t){var e=this.cc;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconViewBoxHeight",t),this.f3("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g8",{get:function(){return this.ct("IconFill",null)},set:function(t){var e=this.g8;e!=t&&(this.gj("IconFill",t),this.f3("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g0",{get:function(){return this.ct("ActualIconFill",null)},set:function(t){var e=this.g0;e!=t&&(this.gj("ActualIconFill",t),this.f3("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.ct("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gj("IconFillColors",t),this.f3("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.ct("IconStroke",null)},set:function(t){var e=this.g9;e!=t&&(this.gj("IconStroke",t),this.f3("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g1",{get:function(){return this.ct("ActualIconStroke",null)},set:function(t){var e=this.g1;e!=t&&(this.gj("ActualIconStroke",t),this.f3("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.ct("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gj("IconStrokeColors",t),this.f3("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ct("IconStrokeWidth",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("IconStrokeWidth",t),this.f3("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.f3("IconWidth",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.f3("ActualIconWidth",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.f3("IconHeight",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.f3("ActualIconHeight",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.h(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.hc;e!=t&&(this.gj("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.f3("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.ct("CloseOnExecute",!1)},set:function(t){var e=this.au;e!=t&&(this.gj("CloseOnExecute",t),this.f3("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ct("HighlightWidth",NaN)},set:function(t){var e=this.b9;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("HighlightWidth",t),this.f3("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ct("ActualHighlightWidth",NaN)},set:function(t){var e=this.bv;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualHighlightWidth",t),this.f3("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ct("HighlightRadius",NaN)},set:function(t){var e=this.b8;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("HighlightRadius",t),this.f3("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.ct("ActualHighlightRadius",NaN)},set:function(t){var e=this.bu;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("ActualHighlightRadius",t),this.f3("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g6",{get:function(){return this.ct("HighlightColor",null)},set:function(t){var e=this.g6;e!=t&&(this.gj("HighlightColor",t),this.f3("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"gy",{get:function(){return this.ct("ActualHighlightColor",null)},set:function(t){var e=this.gy;e!=t&&(this.gj("ActualHighlightColor",t),this.f3("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return this.ct("StopPropagation",!1)},set:function(t){var e=this.bd;e!=t&&(this.gj("StopPropagation",t),this.f3("StopPropagation",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_a1=function(){return!0},Object.defineProperty(n.prototype,"a1",{get:function(){return this.get_a1()},enumerable:!1,configurable:!0}),n.prototype.get_a2=function(){return!0},Object.defineProperty(n.prototype,"a2",{get:function(){return this.get_a2()},enumerable:!1,configurable:!0}),n.prototype.get_bb=function(){return!0},Object.defineProperty(n.prototype,"bb",{get:function(){return this.get_bb()},enumerable:!1,configurable:!0}),n.prototype.get_be=function(){return!0},Object.defineProperty(n.prototype,"be",{get:function(){return this.get_be()},enumerable:!1,configurable:!0}),n.prototype.get_at=function(){return!0},Object.defineProperty(n.prototype,"at",{get:function(){return this.get_at()},enumerable:!1,configurable:!0}),n.prototype.ft=function(){null!=this.g&&this.g.ft()},n.prototype.f3=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gb(t,e,n)},n.prototype.get_z=function(){return 0},Object.defineProperty(n.prototype,"z",{get:function(){return this.get_z()},enumerable:!1,configurable:!0}),n.prototype.gb=function(t,e,i){switch(t){case"TextStyle":null!=this.ag&&null!=this.q&&null!=this.q.v.p&&this.ag.w(this.q.v.p),this.gt();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":this.gt();break;case"ActualDensity":this.fq();break;case"Density":0==this.v?this.u=this.x:this.u=this.v;break;case"ActualBackground":null!=this.ao&&(this.ao.a8=this.gw);break;case"ActualTextStyle":case"Subtitle":case"Title":case"ActualSubtitleTextStyle":this.as=!0,this.gr(),this.fi();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.gr();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.ap&&(this.ap.bb=this.g0,this.ap.bc=this.g1,this.ap.bk=this.a,this.ap.bl=this.b);break;case"Visibility":null!=this.q&&this.q.gj(),null!=this.an&&(this.an.bj=this.hc);break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.f1();break;case"IsHighlighted":this.gq(this.ao);break;case"StopPropagation":null!=this.ah&&(this.ah.bx=this.bd)}},n.prototype.gr=function(){null!=this.ar&&(this.ar.bm=this.ev,this.ar.ba=this.a6?this.gx:this.g2,this.ar.bk=this.ac),null!=this.aq&&(this.aq.bm=this.e1,this.aq.ba=this.a6?this.gx:this.g3,this.aq.bk=this.ad,this.aq.h=this.a0()?2:1),null!=this.am&&(this.a0()?1==this.am.b1&&(this.am.b4(1,2,1),this.am.bn(this.ar),this.am.cc(this.ar,1)):2==this.am.b1&&(this.am.b9(1),this.am.bp(this.ar)))},n.prototype.gk=function(t){this.bk.containsKey(t)?this.bk.item(t,this.bk.item(t)+1):this.bk.item(t,1)},n.prototype.gl=function(t){this.bk.containsKey(t)&&(this.bk.item(t,this.bk.item(t)-1),this.bk.item(t)<=0&&this.bk.removeItem(t))},n.prototype.ba=function(t){return this.bk.containsKey(t)},n.prototype.fz=function(t,e){this.ba(e.c)||this.ax(e.c)&&this.ga(e.c,e.b,e.a)},n.prototype.f0=function(t,e){for(var i=0;i<this.bm.count;i++)for(var n=this.bm._inner[i],r=this.bi.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.ba(s.h)&&this.az(s)){var a=null;a=this.bj.containsKey(s.j)?this.bj.item(s.j):this.cq(s,null),this.f3(s.j,a,this.cq(s,null))}}},n.prototype.ga=function(t,e,i){if(this.bh.containsKey(t))for(var n=this.bh.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.f3(o.j,e,i)}},n.prototype.ai=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},n.prototype.w=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},Object.defineProperty(n.prototype,"a4",{get:function(){return 0==this.u},enumerable:!1,configurable:!0}),n.prototype.fq=function(){this.gn()},n.prototype.gn=function(){},n.prototype.gq=function(t){null!=t&&(this.a7?(t.bg=new i.Thickness(0,i.DeviceUtils.g(this.bv)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(this.bu))):(t.bg=new i.Thickness(0,i.DeviceUtils.g(0)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.a9=this.gy)},n.prototype.a9=function(){return null!=this.q&&null!=this.q.c3&&null!==i.typeCast(ii.$,this.q.c3)},n.prototype.gt=function(){null!=this.q&&(this.s=this.q.z,this.g3=null!=this.hb?this.hb:this.q.iy,this.g2=null!=this.ha?this.ha:this.q.ix,this.gx=null!=this.g5?this.g5:this.q.ik,this.gz=null!=this.g7?this.g7:this.q.ir,this.g0=null!=this.g8?this.g8:this.q.is,this.g1=null!=this.g9?this.g9:this.q.it,this.ad=null!=this.ag?this.ag:this.q.ak,this.ac=null!=this.af?this.af:this.q.al,this.bv=i.isNaN_(this.b9)?this.q.by:this.b9,this.bu=i.isNaN_(this.b8)?this.q.bx:this.b8,this.gy=null!=this.g6?this.g6:this.q.iq),this.gw=null!=this.g4?this.g4:this.gv,null!=this.ap&&(this.ap.bk=this.a,this.ap.bl=this.b),this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(12):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(12):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(2):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(2):this.ch,this.bx=i.isNaN_(this.cg)?this.b6():this.cg,this.bw=i.isNaN_(this.ca)?this.b6():this.ca,this.gu()},n.prototype.b6=function(){switch(this.u){case 0:case 3:case 1:case 2:return i.DeviceUtils.g(24);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(24)},n.prototype.gu=function(){},n.prototype.f1=function(){null!=this.ap&&(this.ap.br=this.d6,this.ap.bq=this.d1,this.ap.ae=i.DeviceUtils.g(this.bx),this.ap.y=i.DeviceUtils.g(this.bw))},n.prototype.f5=function(t,e,i,n){var r=this;this.fj(i.b,i,n,(function(t){r.an=t,r.fh(i.b,r.an,n,(function(){i.b.bs=r.an,r.go(r.ak,r.ap,r.aq,r.ar),r.f7(null==r.ak?r.an:r.ak,i,n)}))}))},n.prototype.f7=function(t,e,i){},n.prototype.f6=function(t,e,i,n){},n.prototype.fa=function(t,e){this.fb(t,e)},n.prototype.fb=function(t,e){if(e.f=this.b3(t,e),e.h=this.b5(t,e),e.g=this.b4(t,e),e.b=this.b2(t,e),i.isNaN_(this.b7)||(e.d=this.b7),1==e.a||2==e.a){var n=0;i.isNaN_(e.f)||(n+=e.f),i.isNaN_(e.h)||(n+=e.h),i.isNaN_(e.g)||(n+=e.g),i.isNaN_(e.b)||(n+=e.b),n+=this.bz+this.b0,e.e=n}else if(i.isNaN_(this.cm)){var r=0;i.isNaN_(e.f)||(r+=e.f),i.isNaN_(e.h)||(r+=e.h),i.isNaN_(e.g)||(r+=e.g),i.isNaN_(e.b)||(r+=e.b),r+=this.bz+this.b0,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.cm},n.prototype.b4=function(t,e){return NaN},n.prototype.b5=function(t,e){var n=NaN;return null!=this.e1&&null!=this.ad&&(n=t.v.o(this.e1,this.ad)),null!=this.ev&&null!=this.ac&&(n=Math.max(n,t.v.o(this.ev,this.ac))),i.isNaN_(n)?NaN:n+this.cl},n.prototype.b3=function(t,e){return i.stringIsNullOrEmpty(this.d6)?NaN:i.DeviceUtils.g(36)},n.prototype.ae=function(t){return null!=this.ag?this.ag:t.an()},n.prototype.b2=function(t,e){return NaN},n.prototype.f4=function(t,e){if(this.ge(),this.a5){var i=this.q.h(this.ep);null!=i&&i.fu(this,this.au)}else if(this.q.az(this)){if(null!=this.performed){var n=new be;this.e9(this,n,e),this.performed(this,((r=new ge).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new ge;return e.c=!1,e.a=t,e}());var r},n.prototype.ge=function(){var t=this,e=this.es();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.e8(this,r),n.argumentsList=r.toArray();var o,s=((o=new Zt).a=n,o.b=t.au,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.q&&this.q.gb(this,s)}},n.prototype.gf=function(t,e){var i,n=((i=new Zt).a=t,i.b=e,i);null!=this.onCommand&&this.onCommand(this,n),null!=this.q&&this.q.gb(this,n)},n.prototype.bf=function(){return null!=this.onCommand},n.prototype.e8=function(t,e){t.fm(e);var i=this.q.a7(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a3()&&this.e8(i._inner[n],e)},n.prototype.a3=function(){return!0},n.prototype.fu=function(t,e){if(this.a5){var i=this.q.h(this.ep);null!=i&&i.fu(t,e)}else this.f4(this.k(!1),t),e&&this.e7()},n.prototype.e9=function(t,e,i){var n=t.k(t==i);e.add(n);var r=this.q.a7(t);if(null!=r)for(var o=0;o<r.count;o++)this.e9(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new Ge;break;case 2:e=new Ze;break;case 11:e=new Me;break;case 13:e=new Ue;break;case 12:e=new Le;break;case 1:e=new Ye;break;case 3:e=new Qe;break;case 4:e=new We;break;case 5:e=new ti;break;case 14:e=new He;break;case 6:e=new Ke;break;case 7:e=new Xe;break;case 8:e=new Je;break;case 10:e=new Fe;break;case 15:e=new Ve;break;case 0:return null}return e.y=t,e.fl(),e},n.prototype.fl=function(){if(this.ei=this.y.name,this.e1=this.y.title,this.dm=this.y.commandArgument,this.co=this.y.commandArgumentValue,this.dq=this.y.commandId,this.d6=this.y.iconName,this.d1=this.y.iconCollectionName,this.cd=this.y.iconViewBoxLeft,this.ce=this.y.iconViewBoxTop,this.cf=this.y.iconViewBoxWidth,this.cc=this.y.iconViewBoxHeight,this.cg=this.y.iconWidth,this.ca=this.y.iconHeight,this.ci=this.y.paddingLeft,this.cj=this.y.paddingRight,this.ck=this.y.paddingTop,this.ch=this.y.paddingBottom,this.ep=this.y.parentId,this.a6=this.y.isDisabled,this.au=this.y.closeOnExecute,this.v=this.w(this.y.density),this.cn=this.y.subPanelRowHeight,i.isNaN_(this.y.height)||(this.b7=this.y.height),i.stringIsNullOrEmpty(this.y.textColor)||(this.hb=i.CSSColorUtil.g(this.y.textColor)),i.stringIsNullOrEmpty(this.y.disabledTextColor)||(this.g5=i.CSSColorUtil.g(this.y.disabledTextColor)),this.a7=this.y.isHighlighted,null!=this.y.actions&&this.y.actions.length>0)for(var t=0;t<this.y.actions.length;t++)this.actions.add(n.f(this.y.actions[t]));if(null!=this.y.contextBindings&&this.y.contextBindings.length>0)for(var e=0;e<this.y.contextBindings.length;e++)this.contextBindings.add(this.n(this.y.contextBindings[e]))},n.prototype.n=function(t){return Kt.b(t)},n.prototype.bc=function(){return null!=this.g&&null!=this.g.g&&this.g.actions._inner[0]==this},n.prototype.bg=function(){return!0},n.prototype.aj=function(t){switch(t){case 1:case 17:case 6:case 11:case 10:case 2:case 12:case 13:return this.bg()?2:0;default:return 0}},Object.defineProperty(n.prototype,"ao",{get:function(){return this.an},enumerable:!1,configurable:!0}),n.prototype.fj=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z)i.NativeUIComponent.au(this.q.v.x(),7,(function(t){var i=t;o.fd(i,n),o.gs(i,e,n),null!=r&&r(i)}));else{var s=t.bs;this.gs(s,e,n),null!=r&&r(s)}},n.prototype.fi=function(){if(null!=this.ak){if(i.isNaN_(this.bp)||this.as){var t=new de;null!=this.q&&this.q.gc(t);var e=this.b5(this.q,t);e=i.isNaN_(e)?0:e-this.cl,this.bp=e,this.as=!1}this.ak.cd(1,1,this.bp)}},n.prototype.fh=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=[this.aj(1),this.aj(7),this.aj(11),this.aj(3),this.aj(3),this.aj(7)];i.NativeUIComponent.av(this.q.v.x(),[1,7,11,3,3,7],s,(function(t){var e=t[0],i=t[1],s=t[2],a=t[3],h=t[4],u=t[5];o.fc(e,i,s,a,h,u,n),null!=r&&r()}))}else null==this.ak&&1==this.an.bm&&(this.ah=this.an.bl(0),this.ah.bm=i.runOn(this,this.fr),this.ak=this.ah.bo,this.ap=this.ak.bl(0),this.am=this.ak.bl(1),this.aq=this.am.bl(0),this.am.bm>1&&(this.ar=this.am.bl(1))),this.go(this.ak,this.ap,this.aq,this.ar),null!=r&&r()},n.prototype.fd=function(t,e){t.f=1==e.a?0:3,t.bs=0},n.prototype.gs=function(t,e,n){t.y=e.a.t,i.isNaN_(this.b7)||(t.y=this.b7),2==n.a?t.ae=e.c:t.ae=n.e,t.a8=this.gw,t.bj=this.hc,t.bh=new i.Thickness(1,0,0,0,0),this.gq(t),null!=this.ei&&(t.ap=this.ei)},n.prototype.fc=function(t,e,n,r,o,s,a){if(0==this.an.bm){this.an.b2(0,2,1),this.an.b4(0,2,1),this.an.bn(t),this.an.ca(t,0),this.an.cc(t,0),t.bo=e,e.bs=0;var h=this.b3(this.q,a);h=i.isNaN_(h)?0:h;var u=this.b5(this.q,a);u=i.isNaN_(u)?0:u-this.cl,this.al=e,e.b4(0,2,1),e.b2(0,1,h),e.b2(1,1,u),e.b3(2,2,1,this.cl),s.b4(0,2,1),s.bn(r),s.cc(r,0),e.bn(n),e.bn(s),e.cc(s,0),e.ca(n,0),e.ca(s,1),this.bp=u}t.c=this.s,this.a4?t.bp=1:t.bp=this.ai(this.u),t.bn=1,t.b2=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b1=this.gz,t.bv=!0,t.bt=!this.a1,t.bq=this.at,t.bx=this.bd,t.bs=!this.a2,t.bu=!0,t.br=!0,t.bm=i.runOn(this,this.fr),n.h=1,n.f=1,n.br=this.d6,n.bq=this.d1,n.bn=this.cd,n.bo=this.ce,n.bp=this.cf,n.bm=this.cc,n.bb=this.g0,n.bk=this.a,n.bc=this.g1,n.bl=this.b,n.ac=this.cb,n.ae=i.DeviceUtils.g(this.bx),n.y=i.DeviceUtils.g(this.bw),r.bl=!1,r.h=this.a0()?2:1,r.f=0,o.bl=!1,o.h=0,o.f=0,this.a0()?1==s.b1&&(s.b4(1,2,1),s.bn(o),s.cc(o,1)):2==s.b1&&(s.b9(1),s.bp(o)),this.ak=e,this.ah=t,this.ap=n,this.aq=r,this.ar=o,this.am=s},n.prototype.a0=function(){return!i.stringIsNullOrEmpty(this.ev)},n.prototype.fr=function(t,e){this.fw()},n.prototype.go=function(t,e,n,r){null!=t&&(t.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by)),null!=e&&(e.bh=new i.Thickness(1,0,0,9,0),e.bn=this.cd,e.bo=this.ce,e.bp=this.cf,e.bm=this.cc,e.br=this.d6,e.bq=this.d1,e.bb=this.g0,e.bk=this.a,e.bc=this.g1,e.bl=this.b,e.ac=this.cb),null!=n&&(n.bm=this.e1,n.bk=this.ad,n.ba=this.a6?this.gx:this.g3),null!=r&&(r.bm=this.ev,r.bk=this.ac,r.ba=this.a6?this.gx:this.g2),this.fi()},n.prototype.fw=function(){},n.prototype.fv=function(t,e){},n.prototype.f8=function(){},n.prototype.e7=function(){},n.prototype.f9=function(t){if(i.stringIsNullOrEmpty(t.e1)||(this.e1=t.e1),i.stringIsNullOrEmpty(t.ev)||(this.ev=t.ev),i.stringIsNullOrEmpty(t.d6)||(this.d6=t.d6),i.stringIsNullOrEmpty(t.d1)||(this.d1=t.d1),i.stringIsNullOrEmpty(t.dq)||(this.dq=t.dq),i.stringIsNullOrEmpty(t.dm)||(this.dm=t.dm),null!=t.co&&(this.co=t.co),null!=t.g4&&(this.g4=t.g4),null!=t.g7&&(this.g7=t.g7),null!=t.hb&&(this.hb=t.hb),null!=t.ag&&(this.ag=t.ag),null!=t.g5&&(this.g5=t.g5),null!=t.g8&&(this.g8=t.g8),null!=t.a&&(this.a=t.a),null!=t.g9&&(this.g9=t.g9),null!=t.b&&(this.b=t.b),i.isNaN_(t.cb)||(this.cb=t.cb),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.cc)||(this.cc=t.cc),i.isNaN_(t.cd)||(this.cd=t.cd),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.ci)||(this.ci=t.ci),i.isNaN_(t.ck)||(this.ck=t.ck),i.isNaN_(t.cj)||(this.cj=t.cj),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.cm)||(this.cm=t.cm),i.isNaN_(t.b7)||(this.b7=t.b7),this.hc!=t.hc&&(this.hc=t.hc),null!=t.actions&&t.actions.count>0){this.actions.clear();for(var e=0;e<t.actions.count;e++)this.actions.add(t.actions._inner[e])}},n.av=function(t,e){if(t.z!=e.d)return!1;if(t.ei!=e.name)return!1;if(!(null!=t.actions&&0!=t.actions.count||null!=e.actions&&0!=e.actions.length))return!0;if(t.actions.count!=e.actions.length)return!1;for(var i=0;i<e.actions.length;i++){var r=t.actions._inner[i],o=e.actions[i];if(!n.av(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.cp=function(){var t=new ye;return t.g=this.cx,t.h=this.ei,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.an.an)),null!=this.ah&&0!=this.ah.ae&&0!=this.ah.y&&(t.f=this.ah.af()),null!=this.ap&&(t.b=this.ap.af()),null!=this.aq&&(t.c=this.aq.af()),t},n.prototype.dw=function(){return this.cp().serialize()},Object.defineProperty(n.prototype,"x",{get:function(){return this.t},set:function(t){this.t=t},enumerable:!1,configurable:!0}),n.prototype.gp=function(t){this.x=t,0==this.v&&(this.u=t)},n.prototype.ff=function(){this.fg()},n.prototype.fe=function(){this.fg()},n.prototype.fg=function(){null!=this.ah&&(this.ah.bm=null),this.ak=null,this.ah=null,this.ap=null,this.am=null,this.aq=null,this.ar=null},n.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Ve=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e.he=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 15},Object.defineProperty(n.prototype,"hj",{get:function(){return this.ct("Value",i.BrushUtil.h(255,0,0,255))},set:function(t){var e=this.hj;e!=t&&(this.gj("Value",t),this.f3("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hf(),n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hf=function(){var t=i.Color.u(255,0,0,255);if(null!=this.hd){var e=i.ColorUtil.p(this.hd.bo);return e.c&&(t=e.d),i.ColorUtil.k(t,!0)}return i.ColorUtil.k(t,!0)},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.h=this.hf(),e},n.prototype.hh=function(t,e){if(!this.he){this.hj=this.hd.bo;var i=this.k(!0);this.f4(i,this)}},n.prototype.hi=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.f=2,n.h=1}n.c=this.s,n.bn=i.runOn(this,this.hh),this.hd!=n&&(this.hd=n),null!=this.hj&&(this.he=!0,n.bo=this.hj,this.he=!1)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),20,this.aj(20),(function(i){var s=i;r.hi(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hi(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),this.hd},n.prototype.gu=function(){null!=this.hd&&(this.hd.c=this.s)},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsDisabled":this.hd}},n.prototype.fw=function(){null==this.hd||this.a6||this.hd.az()},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hj=i.CSSColorUtil.g(e.value)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bn=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bn=null)},n.$t=i.markType(n,"ToolActionColorEditor",ze.$),n}(ze),Ue=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.he=null,e.hf=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 13},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.ct("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gj("ItemsSource",t),this.f3("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.ct("DisplayMemberPath",null)},set:function(t){var e=this.hh;e!=t&&(this.gj("DisplayMemberPath",t),this.f3("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.ct("ValueMemberPath",null)},set:function(t){var e=this.hl;e!=t&&(this.gj("ValueMemberPath",t),this.f3("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.ct("SelectedValues",null)},set:function(t){var e=this.hd;e!=t&&(this.gj("SelectedValues",t),this.f3("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.gb=function(e,i,n){if(t.prototype.gb.call(this,e,i,n),null!=this.he)switch(e){case"ItemsSource":this.he.bo=this.itemsSource;break;case"SelectedValues":this.he.bk=this.hd.toArray();break;case"DisplayMemberPath":this.he.bp=this.hh;break;case"ValueMemberPath":this.he.bq=this.hl}},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hn=function(t,e){if(!this.hf){this.hf=!0,null==this.hd&&(this.hd=new me),this.hd.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.hd.add1(r)}this.hf=!1;var o=this.k(!0);this.f4(o,this)}},n.prototype.ho=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bn=3,n.f=2,n.h=1}n.c=this.s,n.bm=i.runOn(this,this.hn),n.bo!=this.itemsSource&&(n.bo=this.itemsSource),n.bp!=this.hh&&(n.bp=this.hh),n.bq!=this.hl&&(n.bq=this.hl),null!=this.hd&&(this.hf=!0,n.bk=this.hd.toArray(),this.hf=!1),this.he!=n&&(this.he=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),19,this.aj(19),(function(i){var s=i;r.ho(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.ho(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.he&&(this.he.bn=this.ai(this.u))},n.prototype.gu=function(){null!=this.he&&(this.he.c=this.s)},n.prototype.fw=function(){null==this.he||this.a6||this.he.az()},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.he&&(e.f=this.hd.toArray()),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName="SelectedValues",n.value=r.hd.toArray(),n))},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;if(this.hh=e.displayMemberPath,this.hl=e.valueMemberPath,null!=e.selectedValues){this.hd.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.hd.add1(r)}}this.itemsSource=e.itemsSource},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.he&&(this.he.bm=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.he&&(this.he.bm=null)},n.$t=i.markType(n,"ToolActionCombo",ze.$),n}(ze),Le=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hk=null,e.hl=null,e.hm=null,e.hu=!1,e.hv=!1,e.hd=null,e.hx=!1,e.hq=null,e.hs=null,e.ht=null,e.hr=null,e.ho=null,e.hp=null,e.hw=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 12},Object.defineProperty(n.prototype,"h0",{get:function(){return this.ct("LeftIsSelected",!1)},set:function(t){var e=this.h0;e!=t&&(this.gj("LeftIsSelected",t),this.f3("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.ct("RightIsSelected",!1)},set:function(t){var e=this.h3;e!=t&&(this.gj("RightIsSelected",t),this.f3("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.ct("LeftIsDisabled",!1)},set:function(t){var e=this.hz;e!=t&&(this.gj("LeftIsDisabled",t),this.f3("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.ct("RightIsDisabled",!1)},set:function(t){var e=this.h2;e!=t&&(this.gj("RightIsDisabled",t),this.f3("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.ct("LeftIconName",null)},set:function(t){var e=this.iw;e!=t&&(this.gj("LeftIconName",t),this.f3("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.ct("LeftCommandArgument",null)},set:function(t){var e=this.iq;e!=t&&(this.gj("LeftCommandArgument",t),this.f3("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.ct("IsToggleDisabled",!1)},set:function(t){var e=this.hy;e!=t&&(this.gj("IsToggleDisabled",t),this.f3("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.ct("LeftIconCollectionName",null)},set:function(t){var e=this.is;e!=t&&(this.gj("LeftIconCollectionName",t),this.f3("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.ct("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.h9;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxLeft",t),this.f3("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.ct("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.ia;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxTop",t),this.f3("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.ct("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.ib;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxWidth",t),this.f3("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.ct("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.h8;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconViewBoxHeight",t),this.f3("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jz",{get:function(){return this.ct("LeftIconFill",null)},set:function(t){var e=this.jz;e!=t&&(this.gj("LeftIconFill",t),this.f3("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jv",{get:function(){return this.ct("ActualLeftIconFill",null)},set:function(t){var e=this.jv;e!=t&&(this.gj("ActualLeftIconFill",t),this.f3("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("LeftIconFillColors",null)},set:function(t){var e=this.hf;e!=t&&(this.gj("LeftIconFillColors",t),this.f3("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j0",{get:function(){return this.cs("LeftIconStroke",null)},set:function(t){var e=this.j0;e!=t&&(this.gj("LeftIconStroke",t),this.f3("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jw",{get:function(){return this.ct("ActualLeftIconStroke",null)},set:function(t){var e=this.jw;e!=t&&(this.gj("ActualLeftIconStroke",t),this.f3("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.ct("LeftIconStrokeColors",null)},set:function(t){var e=this.hg;e!=t&&(this.gj("LeftIconStrokeColors",t),this.f3("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.ct("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.h7;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("LeftIconStrokeWidth",t),this.f3("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i7",{get:function(){return this.ct("LeftTitle",null)},set:function(t){var e=this.i7;e!=t&&(this.gj("LeftTitle",t),this.f3("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jf",{get:function(){return this.ct("RightIconName",null)},set:function(t){var e=this.jf;e!=t&&(this.gj("RightIconName",t),this.f3("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i9",{get:function(){return this.ct("RightCommandArgument",null)},set:function(t){var e=this.i9;e!=t&&(this.gj("RightCommandArgument",t),this.f3("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jb",{get:function(){return this.ct("RightIconCollectionName",null)},set:function(t){var e=this.jb;e!=t&&(this.gj("RightIconCollectionName",t),this.f3("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.ct("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.ie;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxLeft",t),this.f3("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.ct("RightIconViewBoxTop",NaN)},set:function(t){var e=this.ig;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxTop",t),this.f3("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.ct("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.ih;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxWidth",t),this.f3("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.ct("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.id;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconViewBoxHeight",t),this.f3("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j1",{get:function(){return this.ct("RightIconFill",null)},set:function(t){var e=this.j1;e!=t&&(this.gj("RightIconFill",t),this.f3("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jx",{get:function(){return this.ct("ActualRightIconFill",null)},set:function(t){var e=this.jx;e!=t&&(this.gj("ActualRightIconFill",t),this.f3("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.ct("RightIconFillColors",null)},set:function(t){var e=this.hh;e!=t&&(this.gj("RightIconFillColors",t),this.f3("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j2",{get:function(){return this.cs("RightIconStroke",null)},set:function(t){var e=this.j2;e!=t&&(this.gj("RightIconStroke",t),this.f3("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jy",{get:function(){return this.ct("ActualRightIconStroke",null)},set:function(t){var e=this.jy;e!=t&&(this.gj("ActualRightIconStroke",t),this.f3("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.ct("RightIconStrokeColors",null)},set:function(t){var e=this.hi;e!=t&&(this.gj("RightIconStrokeColors",t),this.f3("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.ct("RightIconStrokeWidth",NaN)},set:function(t){var e=this.ic;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("RightIconStrokeWidth",t),this.f3("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jq",{get:function(){return this.ct("RightTitle",null)},set:function(t){var e=this.jq;e!=t&&(this.gj("RightTitle",t),this.f3("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.h(ve,"DisplayType",1)},set:function(t){var e=this.hj;t!=e&&(this.gj("DisplayType",i.enumGetBox(ve,t)),this.f3("DisplayType",i.enumGetBox(ve,e),i.enumGetBox(ve,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.ct("CornerRadius",NaN)},set:function(t){var e=this.h4;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("CornerRadius",t),this.f3("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),12==e.z){var n=e;i.isNaN_(n.h4)||(this.h4=n.h4),this.hj!=n.hj&&(this.hj=n.hj),i.stringIsNullOrEmpty(n.i7)||(this.i7=n.i7),i.stringIsNullOrEmpty(n.iw)||(this.iw=n.iw),i.stringIsNullOrEmpty(n.is)||(this.is=n.is),i.stringIsNullOrEmpty(n.iq)||(this.iq=n.iq),null!=n.jz&&(this.jz=n.jz),null!=n.hf&&(this.hf=n.hf),null!=n.j0&&(this.j0=n.j0),null!=n.hg&&(this.hg=n.hg),i.isNaN_(n.h7)||(this.h7=n.h7),i.stringIsNullOrEmpty(n.jq)||(this.jq=n.jq),i.stringIsNullOrEmpty(n.jf)||(this.jf=n.jf),i.stringIsNullOrEmpty(n.jb)||(this.jb=n.jb),i.stringIsNullOrEmpty(n.i9)||(this.i9=n.i9),null!=n.j1&&(this.j1=n.j1),null!=n.hh&&(this.hh=n.hh),null!=n.j2&&(this.j2=n.j2),null!=n.hi&&(this.hi=n.hi),i.isNaN_(n.ic)||(this.ic=n.ic)}},n.prototype.hn=function(){switch(this.hj){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.iq=e.leftCommandArgument,this.iw=e.leftIconName,this.is=e.leftIconCollectionName,this.hy=e.isToggleDisabled,this.h9=e.leftIconViewBoxLeft,this.ia=e.leftIconViewBoxTop,this.ib=e.leftIconViewBoxWidth,this.h8=e.leftIconViewBoxHeight,this.i7=e.leftTitle,this.i9=e.rightCommandArgument,this.jf=e.rightIconName,this.jb=e.rightIconCollectionName,this.ie=e.rightIconViewBoxLeft,this.ig=e.rightIconViewBoxTop,this.ih=e.rightIconViewBoxWidth,this.id=e.rightIconViewBoxHeight,this.jq=e.rightTitle},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.e=this.h0!=this.hu?0:1,e.b=this.h0!=this.hu?this.h0:this.h3,e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.iq,n.value=r.h0,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.i9,t.value=r.h3,t}())},n.prototype.b4=function(t,e){var n=this.ae(t),r=i.stringIsNullOrEmpty(this.i7)?0:t.v.o(this.i7,n),o=Math.max(r+this.h5(),i.DeviceUtils.g(this.h6()));return r=i.stringIsNullOrEmpty(this.jq)?0:t.v.o(this.jq,n),o+Math.max(r+this.h5(),i.DeviceUtils.g(this.h6()))},n.prototype.h6=function(){return i.DeviceUtils.g(88)},n.prototype.h5=function(){switch(this.u){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.h1=function(t){var e=this.he(),i=t.bk;if(null==e&&null==i)return!1;if(null==e&&null!=i)return!0;if(null!=e&&null==i)return!0;if(e.length!=i.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!=i[n])return!0;return!1},n.prototype.he=function(){return this.h0&&this.h3?[0,1]:this.h0?((t=new Array(1)).push(0),t):this.h3?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.ju=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bs&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(2==e.bm&&(e.b2(3,1,this.b4(this.q,f)),e.bn(c),c.bs(n),c.bs(a)),e.cc(c,0),e.ca(c,3),this.a4?c.bq=2:c.bq=this.ai(this.u),c.h=1,c.f=2,n.bu=!0,a.bu=!0),c.bp=i.runOn(this,this.js),c.c=this.s,this.jt(n),this.jt(a),this.h1(c)&&(c.bk=this.he()),n.bw=this.hz,a.bw=this.h2,null==this.iw?(n.bz=this.i7,n.bo=null):(0==s.bm&&(s.b2(0,0,1),s.b2(1,0,1),s.bn(o),s.bn(r),s.cc(o,0),s.ca(o,0),s.cc(r,0),s.ca(r,1)),n.bz=null,n.bo=s,o.bq=this.is,o.br=this.iw,o.bn=this.h9,o.bo=this.ia,o.bp=this.ib,o.bm=this.h8,o.bb=this.jv,o.bc=this.jw,o.bk=this.hf,o.bl=this.hg,o.ac=this.h7,r.bm=this.i7,r.bk=this.ad,r.ba=this.a6?this.gx:this.g3,o.ae=i.DeviceUtils.g(16),o.y=i.DeviceUtils.g(16)),null==this.jf?(a.bz=this.jq,a.bo=null):(0==l.bm&&(l.b2(0,0,1),l.b2(1,0,1),l.bn(h),l.bn(u),l.cc(h,0),l.ca(h,0),l.cc(u,0),l.ca(u,1)),a.bz=null,a.bo=l,u.bq=this.jb,u.br=this.jf,u.bn=this.ie,u.bo=this.ig,u.bp=this.ih,u.bm=this.id,u.bb=this.jx,u.bc=this.jy,u.bk=this.hh,u.bl=this.hi,u.ac=this.ic,h.bm=this.jq,h.bk=this.ad,h.ba=this.a6?this.gx:this.g3,u.ae=i.DeviceUtils.g(16),u.y=i.DeviceUtils.g(16)),this.hm!=c&&(this.hm=c),this.hk!=n&&(this.hk,this.hk=n),this.hl!=a&&(this.hl,this.hl=a),this.hq!=o&&(this.hq,this.hq=o),this.hs!=r&&(this.hs,this.hs=r),this.hr!=u&&(this.hr,this.hr=u),this.ht!=h&&(this.ht,this.ht=h),this.ho!=s&&(this.ho,this.ho=s),this.hp!=l&&(this.hp,this.hp=l)},n.prototype.js=function(t,e){if(!this.hw){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.hd){for(var a=0;a<this.hd.length;a++)0==this.hd[a]&&(n=!0);for(var h=0;h<this.hd.length;h++)1==this.hd[h]&&(r=!0)}if(null!=i){for(var u=0;u<i.length;u++)0==i[u]&&(o=!0);for(var l=0;l<i.length;l++)1==i[l]&&(s=!0)}this.hu=n,this.hv=r,this.h0!=o&&this.gh("LeftIsSelected",o),this.h3!=s&&this.gh("RightIsSelected",s),this.f4(this.k(!0),this),this.hy&&(this.hw=!0,null!=this.hm&&this.hm.bt(),this.hw=!1)}},n.prototype.jt=function(t){t.bk=this.ad},n.prototype.f7=function(t,e,n){var r=this;if(!this.hx){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1),this.aj(3),this.aj(11),this.aj(7),this.aj(1),this.aj(3),this.aj(11),this.aj(7),this.aj(17)];this.hx=!0,i.NativeUIComponent.av(this.q.v.x(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.ju(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.hx=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(2),h=a.bm(0),u=a.bm(1),l=h.bo,c=l.bl(0),p=l.bl(1),f=u.bo,d=f.bl(1),b=f.bl(0);this.ju(o,t,h,p,c,l,u,b,d,f,a,e,n,!1)}}},n.prototype.gb=function(e,n,r){switch(t.prototype.gb.call(this,e,n,r),e){case"DisplayType":null!=this.hm&&(this.hm.bn=this.hn());break;case"CornerRadius":null!=this.hm&&(this.hm.bx=new i.CornerRadius(0,this.h4));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.hq&&(this.hq.bb=this.jv,this.hq.bc=this.jw,this.hq.bk=this.hf,this.hq.bl=this.hg);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.hr&&(this.hr.bb=this.jx,this.hr.bc=this.jy,this.hr.bk=this.hh,this.hr.bl=this.hi);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.gt();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.hq&&(this.hq.br=this.iw,this.hq.bq=this.is);break;case"LeftIsDisabled":null!=this.hk&&(this.hk.bw=this.hz);break;case"RightIsDisabled":null!=this.hl&&(this.hl.bw=this.h2);break;case"RightIconName":case"RightIconCollectionName":null!=this.hr&&(this.hr.br=this.jf,this.hr.bq=this.jb);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.ht&&(this.ht.bm=this.jq,this.ht.bk=this.ad,this.ht.ba=this.a6?this.gx:this.g3),null!=this.hs&&(this.hs.bm=this.i7,this.hs.bk=this.ad,this.hs.ba=this.a6?this.gx:this.g3);break;case"LeftIsSelected":case"RightIsSelected":null!=this.hm&&this.h1(this.hm)&&(this.hm.bk=this.he())}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hm&&(this.hm.bq=this.ai(this.u))},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hm&&(this.hm.c=this.s),null!=this.q&&(this.jv=null!=this.jz?this.jz:this.q.is,this.jw=null!=this.j0?this.j0:this.q.it,this.jx=null!=this.j1?this.j1:this.q.is,this.jy=null!=this.j2?this.j2:this.q.it)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hm&&(this.hm.bp=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hm&&(this.hm.bp=null)},n.$t=i.markType(n,"ToolActionButtonPair",ze.$),n}(ze),Me=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hg=null,e.hl=-1,e.hi=!1,e.hm=null,e.hk=NaN,e.hh=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 11},n.prototype.fb=function(e,n){if(t.prototype.fb.call(this,e,n),null!=this.hg&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,i.isNaN_(this.b7)?Number.POSITIVE_INFINITY:this.b7),o=this.hg.bf(r);o.height+=this.b1,o.height+=this.by,n.e=o.width,n.d=o.height;var s=this.hk;this.hk=o.height,i.isNaN_(s)||s==this.hk||this.ft()}},n.prototype.fh=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.ct("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gj("ItemsSource",t),this.f3("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ct("SelectedMemberPath",null)},set:function(t){var e=this.hu;e!=t&&(this.gj("SelectedMemberPath",t),this.f3("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.ct("ShowSelectAll",!1)},set:function(t){var e=this.hj;e!=t&&(this.gj("ShowSelectAll",t),this.f3("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.ct("DataMemberPath",null)},set:function(t){var e=this.ho;e!=t&&(this.gj("DataMemberPath",t),this.f3("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.ct("PrimaryKey",null)},set:function(t){var e=this.hd;e!=t&&(this.gj("PrimaryKey",t),this.f3("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.ct("SelectedKeys",null)},set:function(t){var e=this.he;e!=t&&(this.gj("SelectedKeys",t),this.f3("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.h(we,"IndexType",1)},set:function(t){var e=this.hf;e!=t&&(this.gj("IndexType",i.enumGetBox(we,t)),this.f3("IndexType",i.enumGetBox(we,e),i.enumGetBox(we,t)))},enumerable:!1,configurable:!0}),n.prototype.gb=function(e,n,r){if(t.prototype.gb.call(this,e,n,r),null!=this.hg)switch(e){case"ItemsSource":this.hg.bz=this.itemsSource,n!=r&&this.ft();break;case"SelectedMemberPath":this.hg.b1=this.hu;break;case"DataMemberPath":this.hg.b0=this.ho;break;case"PrimaryKey":this.hg.bk=this.hd;break;case"ShowSelectAll":this.hg.by=this.hj;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.h3)),n.ao(i.runOn(this,this.h2))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.h3)),n.am(i.runOn(this,this.h2))}this.h4(this.hg);break;case"IndexType":this.hg.bt=this.hf}},n.prototype.h2=function(){this.hh||null!=this.hg&&this.hg.b3()},n.prototype.h4=function(t){var n,r;if(null!=t){this.hh=!0,t.b3();try{for(var o=e.__values(i.fromEnum(this.he)),s=o.next();!s.done;s=o.next()){var a=s.value;t.b2(a.key,a.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.hh=!1}},n.prototype.h3=function(t,n){var r,o;if(!this.hh)switch(n.action){case 0:if(null!=n.newItems)for(var s=0;s<n.newItems.count;s++){var a=n.newItems.item(s);this.hg.b4(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.hg.b5(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.hg.b5(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.hg.b4(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.hg.b3();try{for(var p=e.__values(i.fromEnum(this.he)),f=p.next();!f.done;f=p.next()){var d=f.value;this.hg.b2(d.key,d.value)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}},n.prototype.h5=function(t,e,n,r,o){0!=e.bm&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(0==e.bm&&e.bn(n),n.bl=3),e.bh=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),e.a8=this.gw,e.bj=this.hc,null!=this.ei&&(e.ap=this.ei),n.bk=this.hd,n.bz=this.itemsSource,n.bt=this.hf,n.b0=this.ho,n.b1=this.hu,this.hj?n.by=!0:n.by=!1,n.c=this.s,n.ca=this.g3,n.b6=this.gw,n.b7=this.gz,n.b8=this.g1,n.b9=this.g3,n.bq=i.runOn(this,this.hx),n.br=i.runOn(this,this.hz),n.bs=i.runOn(this,this.h0),n.bv=i.runOn(this,this.hy),n.bx=i.runOn(this,this.h1),this.hg!=n&&(this.hg=n),null==this.he?this.gh("SelectedKeys",new je):this.h4(n)},n.prototype.h1=function(t,e){this.hh||(this.hh=!0,this.he.clear(),this.hh=!1)},n.prototype.hy=function(t,e){this.gh("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.hx=function(t,e){this.hh||(this.hl=e.c,this.hi=e.b,this.hm=e.a,this.hh=!0,0==this.hf?e.b?this.he.remove(new Ce(1,e.a)):this.he.add(new Ce(1,e.a)):e.b?this.he.add(new Ce(1,e.a)):this.he.remove(new Ce(1,e.a)),this.hh=!1,this.f4(this.k(!0),this))},n.prototype.hz=function(t,e){if(0==this.hf){if(e.b)return;var i=new Ce(1,e.a);if(this.he.contains(i))return;this.hh=!0,this.he.add(i),this.hh=!1}else{if(!e.b)return;var n=new Ce(1,e.a);if(this.he.contains(n))return;this.hh=!0,this.he.add(n),this.hh=!1}},n.prototype.h0=function(t,e){if(0==this.hf){if(e.b)return;var i=new Ce(1,e.a);if(!this.he.contains(i))return;this.hh=!0,this.he.remove(i),this.hh=!1}else{if(!e.b)return;var n=new Ce(1,e.a);if(!this.he.contains(n))return;this.hh=!0,this.he.remove(n),this.hh=!1}},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.hg&&this.hl>-1&&(e.e=this.hl,e.b=this.hi,e.f=this.hi),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),this.hl>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hi,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.hl,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.hm,t}()))},n.prototype.gs=function(t,e,n){null!=this.hg&&(t.bh=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),t.a8=this.gw,t.bj=this.hc,null!=this.ei&&(t.ap=this.ei))},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),16,this.aj(16),(function(i){var s=i;r.h5(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(0);this.h5(o,t,s,e,n)}},n.prototype.gu=function(){t.prototype.gu.call(this),this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(8):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(8):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(8):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(8):this.ch},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.ho=e.dataMemberPath,this.hu=e.selectedMemberPath,this.hd=e.primaryKey,this.itemsSource=e.itemsSource,this.hj=e.showSelectAll},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hg&&(this.hg.bq=null,this.hg.br=null,this.hg.bs=null,this.hg.bv=null,this.hg.bx=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hg&&(this.hg.bq=null,this.hg.br=null,this.hg.bs=null,this.hg.bv=null,this.hg.bx=null)},n.$t=i.markType(n,"ToolActionCheckboxList",ze.$),n}(ze),Fe=function(t){function n(){var e=t.call(this)||this;return e.hd=null,e.he=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 10},n.prototype.fb=function(e,n){t.prototype.fb.call(this,e,n);var r=new de;r.a=1;for(var o=0,s=0;s<this.actions.count;s++)i.isNaN_(this.actions._inner[s].bz)&&this.actions._inner[s].gt(),this.actions._inner[s].fa(e,r),o+=r.e;n.e=o,i.isNaN_(this.b7)||(n.d=this.b7),this.he||(this.he=!0,this.ft())},n.prototype.fh=function(t,e,i,n){null!=n&&n()},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)o.ao=i.enumGetBox(i.ToolActionType_$type,this.z),i.NativeUIComponent.at(this.q.v.x(),13,this.bg()?2:0,(function(e){return r.hg(o,t,e,n)}));else{var s=t.bl(0);this.hg(o,t,s,n)}},n.prototype.hg=function(t,e,n,r){0==e.bm&&(e.bn(n),n.bv=1,n.f=0),n.c=this.s,n.ci=this.q.jl,n.bu=this.q.p,n.b8=this.q.i6,null==this.g?n.b5=this.q.i3:n.b5=this.q.jj,n.cg=this.q.jj,n.b9=this.q.i9,n.cb=this.q.jc,n.cf=this.q.ji,n.bw=this.q.ak,n.cj=this.q.jo,n.ck=this.q.jp,n.b6=this.q.i4,n.b7=this.q.i5,n.ce=this.q.jh,n.cc=this.q.jf,n.cd=this.q.jg,n.ch=this.q.jk,n.ca=this.q.jb,n.bx=this.q.ao,-1!=this.cn?n.bz=this.cn:n.bz=this.q.cx,n.bt=this.actions,n.bs=i.runOn(this,this.hf),this.hd!=n&&(this.hd=n)},n.prototype.hf=function(t,e){this.gf(e.a,e.b)},n.prototype.gb=function(e,i,n){t.prototype.gb.call(this,e,i,n)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionSubPanel",ze.$),n}(ze),He=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 14},Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("Value",null)},set:function(t){var e=this.hf;e!=t&&(this.gj("Value",t),this.f3("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.he(),n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.he=function(){return this.hd.b7},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.h=this.he(),e},n.prototype.hh=function(t,e){this.hf=this.he();var i=this.k(!0);this.f4(i,this)},n.prototype.hi=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=0,n.bo=2,n.b2=!1}n.c=this.s,n.ce=this.a6?this.gx:this.g3,n.bk=this.ad,n.b0=this.a6,n.bs=i.runOn(this,this.hh),n.b7=this.hf,this.hd!=n&&(this.hd=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),2,this.aj(2),(function(i){var s=i;r.hi(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hi(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hd&&(this.hd.bp=this.ai(this.u))},n.prototype.gu=function(){null!=this.hd&&(this.hd.c=this.s)},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsDisabled":null!=this.hd&&(this.hd.b0=this.a6,this.hd.ce=this.a6?this.gx:this.g3)}},n.prototype.fw=function(){null==this.hd||this.a6||this.hd.az()},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hf=e.value},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionTextInput",ze.$),n}(ze),Ge=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.he=null,e.hg=!1,e}return e.__extends(n,t),n.prototype.get_z=function(){return 9},n.prototype.get_cl=function(){return 0},Object.defineProperty(n.prototype,"hd",{get:function(){return this.h(Te,"DisplayType",0)},set:function(t){var e=this.hd;t!=e&&(this.gj("DisplayType",i.enumGetBox(Te,t)),this.f3("DisplayType",i.enumGetBox(Te,e),i.enumGetBox(Te,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.ct("CornerRadius",NaN)},set:function(t){var e=this.hh;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gj("CornerRadius",t),this.f3("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),9==e.z){var n=e;i.isNaN_(n.hh)||(this.hh=n.hh),this.hd!=n.hd&&(this.hd=n.hd)}},n.prototype.hf=function(){switch(this.hd){case 0:return 0;case 1:return 1;case 2:return 2;default:return 0}},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e},n.prototype.b3=function(t,e){return NaN},n.prototype.b5=function(t,e){return NaN},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hd=e.displayType},n.prototype.hi=function(){switch(this.u){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.hj=function(){return i.DeviceUtils.g(88)},n.prototype.b4=function(e,n){var r=t.prototype.b5.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.hi(),i.DeviceUtils.g(this.hj()))},n.prototype.fh=function(t,e,i,n){null!=n&&n()},n.prototype.hn=function(t,e,n,r,o){o&&(0==t.bm&&(t.b2(0,2,1),t.bn(e),t.cc(e,0),t.ca(e,0)),this.a4?e.bp=2:e.bp=this.ai(this.u),e.h=1,e.bu=!0),t.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),e.c=this.s,e.b0=new i.CornerRadius(0,this.hh),e.bn=this.hf(),e.bz=this.e1,e.bm=i.runOn(this,this.hm),e.bk=this.ad,e.bx=this.bd,this.he=e},n.prototype.hm=function(t,e){this.f4(this.k(!0),this)},n.prototype.f7=function(t,e,n){var r=this;if(!this.hg){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1)];this.hg=!0,i.NativeUIComponent.av(this.q.v.x(),[1],s,(function(i){r.hn(t,i[0],e,n,!0),r.hg=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(0);this.hn(t,a,e,n,!1)}}},n.prototype.gb=function(e,n,r){switch(t.prototype.gb.call(this,e,n,r),e){case"Title":null!=this.he&&(this.he.bz=this.e1);break;case"DisplayType":null!=this.he&&(this.he.bn=this.hf());break;case"CornerRadius":null!=this.he&&(this.he.b0=new i.CornerRadius(0,this.hh));break;case"StopPropagation":null!=this.he&&(this.he.bx=this.bd)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.he&&(this.he.bp=this.ai(this.u))},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.he&&(this.he.c=this.s),null==this.q||1!=this.q.u&&2!=this.q.u?(this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(10):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(10):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(4):this.ch):(this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(4):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.by=i.isNaN_(this.ch)?i.DeviceUtils.g(4):this.ch)},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.he&&(this.he.bm=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.he&&(this.he.bm=null)},n.$t=i.markType(n,"ToolActionButton",ze.$),n}(ze),We=function(t){function n(){var e=t.call(this)||this;return e.hd=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.he),e}return e.__extends(n,t),n.prototype.get_a1=function(){return this.bf()||this.actions.count>0},n.prototype.get_z=function(){return 4},n.prototype.b4=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b4.call(this,e,n)},n.prototype.hf=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z)&&2==e.bm){var o=this.b4(this.q,r);e.b2(3,1,i.isNaN_(o)?0:o),e.bn(n),e.ca(n,3),e.cc(n,0),n.br="ToolbarDrillDownIcon",n.bq="IG_Default",n.f=1,n.h=1,n.ae=i.DeviceUtils.g(24),n.y=i.DeviceUtils.g(24)}n.bc=this.g3,n.bb=this.g3},n.prototype.fw=function(){this.actions.count>0?this.q.gk(this):this.f4(this.k(!1),this)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z?(this.actions.count>0&&i.NativeUIComponent.at(this.q.v.x(),11,this.bg()?2:0,(function(e){r.hd=e,r.hf(o,t,r.hd,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)):this.actions.count>0&&(this.hd=t.bl(2),this.hf(o,t,this.hd,n))},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"ActualTextColor":null!=this.hd&&(this.hd.ba=this.g3)}},n.$t=i.markType(n,"ToolActionLabel",ze.$),n.he='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ze),Ke=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e.hg=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 6},Object.defineProperty(n.prototype,"hl",{get:function(){return this.hg},set:function(t){this.hg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.ct("IsChecked",!1)},set:function(t){var e=this.he;e!=t&&(this.gj("IsChecked",t),this.f3("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("IsManual",!1)},set:function(t){var e=this.hf;e!=t&&(this.gj("IsManual",t),this.f3("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.ct("UncheckedBackgroundColor",null)},set:function(t){var e=this.h1;e!=t&&(this.gj("UncheckedBackgroundColor",t),this.f3("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.ct("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.hx;e!=t&&(this.gj("ActualUncheckedBackgroundColor",t),this.f3("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.ct("CheckedBackgroundColor",null)},set:function(t){var e=this.hz;e!=t&&(this.gj("CheckedBackgroundColor",t),this.f3("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.ct("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hv;e!=t&&(this.gj("ActualCheckedBackgroundColor",t),this.f3("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.ct("UncheckedBorderColor",null)},set:function(t){var e=this.h2;e!=t&&(this.gj("UncheckedBorderColor",t),this.f3("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.ct("ActualUncheckedBorderColor",null)},set:function(t){var e=this.hy;e!=t&&(this.gj("ActualUncheckedBorderColor",t),this.f3("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.ct("CheckedBorderColor",null)},set:function(t){var e=this.h0;e!=t&&(this.gj("CheckedBorderColor",t),this.f3("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.ct("ActualCheckedBorderColor",null)},set:function(t){var e=this.hw;e!=t&&(this.gj("ActualCheckedBorderColor",t),this.f3("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.hd&&(e.b=this.hd.bn),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hd.bn,n))},n.prototype.hs=function(){null!=this.hd&&(this.hd.bn=!1,this.gh("IsChecked",this.hd.bn))},n.prototype.b4=function(t,e){return 30},n.prototype.gn=function(){t.prototype.gn.call(this),this.hd},n.prototype.gu=function(){null!=this.q&&(this.hx=null!=this.h1?this.h1:this.q.i1,this.hy=null!=this.h2?this.h2:this.q.i2,this.hv=null!=this.hz?this.hz:this.q.ii,this.hw=null!=this.h0?this.h0:this.q.ij,null!=this.hd&&(this.hd.c=this.s,this.hd.br=this.hx,this.hd.bs=this.hy,this.hd.bp=this.hv,this.hd.bq=this.hw))},n.prototype.fw=function(){this.hf||(this.hd.bn=!0,this.gh("IsChecked",this.hd.bn)),this.f4(this.k(!0),this)},n.prototype.ht=function(t,e){this.he?this.hd.bn=!0:(this.hf?this.hd.bn=this.he:this.gh("IsChecked",this.hd.bn),this.f4(this.k(!0),this))},n.prototype.hu=function(t,e,n,r,o){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(e.b2(3,1,this.b4(this.q,o)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.bm=!0,n.f=1,n.h=1,n.bo=i.DeviceUtils.g(10),n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20),t.ao=i.enumGetBox(i.ToolActionType_$type,this.z)),n.c=this.s,n.bn=this.he,n.bl=i.runOn(this,this.ht),n.br=this.hx,n.bs=this.hy,n.bp=this.hv,n.bq=this.hw,this.hd!=n&&(this.hd=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),6,this.aj(6),(function(i){var s=i;r.hu(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hu(o,t,s,e,n)}},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsChecked":null!=this.hd&&(this.hd.bn=this.he);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.gt()}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.he=e.isChecked,this.hl=e.channel},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bl=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bl=null)},n.$t=i.markType(n,"ToolActionRadio",ze.$),n}(ze),Xe=function(t){function n(){var e=t.call(this)||this;return e.he=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hf",{get:function(){return this.he},set:function(t){var e=this.he;this.he=t,e!=this.he&&this.f3("Size",e,this.he)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.ct("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.hd;e!=t&&(this.gj("IsGroupHeaderSeparator",t),this.f3("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_z=function(){return 7},n.prototype.fb=function(e,i){t.prototype.fb.call(this,e,i),1==i.a||2==i.a?i.e=this.bz+this.hf+this.b0:i.d=this.b1+this.hf+this.by},n.prototype.fh=function(t,e,n,r){t.ao=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fd=function(t,e){1==e.a?(t.f=0,t.h=3):2==e.a?(t.f=3,t.h=3):t.f=3},n.prototype.gs=function(t,e,n){1==n.a||2==n.a?t.ae=this.hf:t.y=this.hf,t.bh=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),t.a8=this.gw,t.bj=this.hc},n.prototype.gn=function(){t.prototype.gn.call(this)},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.q&&(this.gw=null!=this.g4?this.g4:this.hd?this.q.im:this.q.iv,1==this.q.u||2==this.q.u?(this.bz=i.isNaN_(this.ci)?this.q.b1:this.ci,this.b0=i.isNaN_(this.cj)?this.q.b2:this.cj,this.b1=i.isNaN_(this.ck)?this.q.b3:this.ck,this.by=i.isNaN_(this.ch)?this.q.b0:this.ch):(null==this.g&&this.a9()?(this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(10):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(10):this.cj):(this.bz=i.isNaN_(this.ci)?this.q.b5:this.ci,this.b0=i.isNaN_(this.cj)?this.q.b6:this.cj),this.b1=i.isNaN_(this.ck)?this.q.b7:this.ck,this.by=i.isNaN_(this.ch)?this.q.b4:this.ch))},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"Size":null!=this.q&&this.q.gj();break;case"IsGroupHeaderSeparator":this.gt()}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hf=e.size,this.hd=e.isGroupHeaderSeparator},n.$t=i.markType(n,"ToolActionSeparator",ze.$),n}(ze),Qe=function(t){function n(){var e=t.call(this)||this;return e.hi=null,e.hf=null,e.hd=null,e.ii=-1,e.ij=-1,e.h8=-1,e.hp=!1,e.hm=!1,e.hl=!1,e.hq=!1,e.ho=!1,e.ik=-1,e.h5=NaN,e.h1=NaN,e.h7=NaN,e.h3=NaN,e.h6=NaN,e.h2=NaN,e.h4=NaN,e.h0=NaN,e.hg=null,e.hh=null,e.hr=!1,e.ht=!1,e.popupOpening=null,e.hk=!1,e.hn=!1,e.hd=new i.DelayManager(0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hv",{get:function(){return this.hq},set:function(t){this.hq=t},enumerable:!1,configurable:!0}),n.prototype.get_z=function(){return 3},n.prototype.get_be=function(){return!1},Object.defineProperty(n.prototype,"hj",{get:function(){return this.hi},enumerable:!1,configurable:!0}),n.prototype.get_hz=function(){return null!=this.hf},Object.defineProperty(n.prototype,"hz",{get:function(){return this.get_hz()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.ik},set:function(t){this.ik=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return i.typeGetValue(this.ct("ActualTooltipDelay",500))},set:function(t){var e=this.il;e!=t&&(this.gj("ActualTooltipDelay",t),this.f3("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return null!=this.hi&&(this.hi.b5||this.hi.b6||this.hi.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.f3("ContentPaddingLeft",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.f3("ActualContentPaddingLeft",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.h7},set:function(t){var e=this.h7;this.h7=t,e!=this.h7&&this.f3("ContentPaddingTop",e,this.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.f3("ActualContentPaddingTop",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.f3("ContentPaddingRight",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.f3("ActualContentPaddingRight",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.f3("ContentPaddingBottom",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.f3("ActualContentPaddingBottom",e,this.h0)},enumerable:!1,configurable:!0}),n.prototype.e6=function(){t.prototype.e6.call(this),i.NativeUIWindow.i(15,i.runOn(this,this.jg)),i.NativeUIWindow.i(9,i.runOn(this,this.jf)),this.hl=!1,this.hq=!1,null!=this.hi&&(this.hi.q=null,this.hi.s=null,this.hi.n=null,this.hi.o=null,this.hi.bu=null),null!=this.hg&&(this.hg.bm=null,this.hg.q=null,this.hg.s=null,this.hg.o=null)},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e},n.prototype.b3=function(t,e){var n=36;4==this.u&&(n=18);var r=0;return i.isNaN_(this.ia)||(r+=this.ia),i.isNaN_(this.ib)||(r+=this.ib),i.DeviceUtils.g(n)+r},n.prototype.b5=function(t,e){return NaN},n.prototype.fh=function(t,e,i,n){null!=n&&n()},n.prototype.jk=function(t){this.bx=i.isNaN_(this.cg)?this.b6():this.cg,this.bw=i.isNaN_(this.ca)?this.b6():this.ca},n.prototype.jj=function(t,e,n,r,o){var s=n.bo;this.ht=!0,o&&(e.b8(2),e.b8(1),0==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,0),this.a4?n.bp=3:n.bp=this.ai(this.u),n.bn=4,n.bu=!0,n.f=1,this.jk(s)),e.bv=1,e.bw=!1,e.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),n.b2=new i.Thickness(1,this.ia,this.ic,this.ib,this.h9),s.br=this.d6,s.bq=this.d1,s.bn=this.cd,s.bo=this.ce,s.bp=this.cf,s.bm=this.cc,s.bb=this.g0,s.bk=this.a,s.bc=this.g1,s.bl=this.b,s.ac=this.cb,s.ae=i.DeviceUtils.g(this.bx),s.y=i.DeviceUtils.g(this.bw),n.c=this.s,n.bx=this.bd,n.bm=i.runOn(this,this.i5),n.q=i.runOn(this,this.i7),n.s=i.runOn(this,this.i8),n.o=i.runOn(this,this.i6),this.hg!=n&&(this.hg=n),this.hh!=s&&(this.hh=s),this.ht=!1},n.prototype.jl=function(t,e){this.hi!=e&&(null!=this.hi&&(this.hi.b6||this.hi.b5)&&this.hi.cb(),this.hi=e,this.hi.b7=this.q.b8,this.hi.bs=1,this.hi.b3=!0,this.hi.b9=100,this.hi.b1=!0,this.hi.ca=i.truncate(this.q.b9),this.hi.b4=!0,2!=t.bm&&t.bn(this.hi),this.hl||(i.NativeUIWindow.h(15,i.runOn(this,this.jg),this.q.v.p),i.NativeUIWindow.h(9,i.runOn(this,this.jf),this.q.v.p),this.hl=!0),this.hk=!1),this.hi.q=i.runOn(this,this.jd),this.hi.s=i.runOn(this,this.je),this.hi.n=i.runOn(this,this.jb),this.hi.o=i.runOn(this,this.jc),this.hi.bu=i.runOn(this,this.ja),0==this.hi.bm&&(this.hq=!1),this.actions.count>0?this.hi.u=!0:this.hi.u=!1},n.prototype.iz=function(){this.i0(this.ho,this.hp),this.hq=!0},n.prototype.i0=function(t,e){var i=this;0==this.hi.bm?(this.hf=new Ie(this.q.v.x()),this.hf.t((function(){i.hi.bn(i.hf.e),t&&i.d.executeDelayed((function(){return i.jh(e)}),100)}))):this.hf=this.hi.bl(0).ao,this.hf.b=this.q.ak,this.hf.y=this.q.iz,this.hf.z=this.q.i0,this.hf.p=this.e1,this.hi.cg=this.hf.y},n.prototype.i2=function(){},n.prototype.i1=function(){},n.prototype.i3=function(){null!=this.hf&&(this.hi.cg=this.q.iz,this.hf.y=this.q.iz,this.hf.z=this.q.i0,this.hi.b7=this.q.b8,this.hi.ca=i.truncate(this.q.b9))},n.prototype.jm=function(){return null!=this.hf?this.hf.aa():i.Size.empty},n.prototype.jg=function(t){if(null!=this.hg){var e=this.hg.be();this.hi.cd(e)}},n.prototype.jf=function(t){var e=t;!this.hy||this.hi.t(e.b)||this.hg.t(e.b)||this.iy()},n.prototype.f7=function(t,e,n){var r=this;if(!this.hr){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm)this.hr=!0,i.NativeUIComponent.av(this.q.v.x(),[10,12],[this.aj(10),this.aj(12)],(function(e){r.jj(o,t,e[0],n,!0),r.jl(t,e[1]),r.hr=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(0),a=t.bl(1);this.jj(o,t,s,n,!1),this.jl(t,a)}}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hg&&(this.hg.bp=this.ai(this.u)),null!=this.hh&&this.jk(this.hh)},n.prototype.gu=function(){switch(t.prototype.gu.call(this),null!=this.q&&(this.il=-1!=this.im?this.im:this.q.cs),this.s){case 6:case 5:case 4:case 3:this.bz=i.isNaN_(this.ci)?0:this.ci,this.b0=i.isNaN_(this.cj)?0:this.cj;break;default:this.bz=i.isNaN_(this.ci)?i.DeviceUtils.g(4):this.ci,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj}this.ia=i.isNaN_(this.ie)?NaN:this.ie,this.ib=i.isNaN_(this.ig)?NaN:this.ig,this.ic=i.isNaN_(this.ih)?NaN:this.ih,this.h9=i.isNaN_(this.id)?NaN:this.id,null!=this.hg&&(this.hg.c=this.s,null!==i.typeCast(i.NativeUIIconButton.$,this.hg)&&(this.hg.bb=this.g3,this.hg.bc=this.g3)),null!=this.hh&&(this.hh.bb=this.g0,this.hh.bc=this.g1,this.hh.bk=this.a,this.hh.bl=this.b),this.i3()},n.prototype.f1=function(){this.ht||null!=this.hh&&(this.hh.br=this.d6,this.hh.bq=this.d1,this.hh.ae=i.DeviceUtils.g(this.bx),this.hh.y=i.DeviceUtils.g(this.bw))},n.prototype.f8=function(){this.actions.count>0&&(null!=this.hi&&this.hz?(this.jh(),this.hp=!0):this.ho=!0)},n.prototype.e7=function(){this.actions.count>0&&(null!=this.hi&&this.hz?this.iy():this.ho=!1)},n.prototype.get_a8=function(){return this.hy||this.hu},Object.defineProperty(n.prototype,"hu",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].a8)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.jh=function(t){if(void 0===t&&(t=!1),!this.hq)return this.ho=!0,this.hp=t,void this.iz();if(!this.hy){if(this.q.fu(),0==this.actions.count&&i.stringIsNullOrEmpty(this.e1))return;if(null!=this.popupOpening){var e=new ri;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.q&&this.q.ga();var n=this.hg.be(),r=new i.Rect(0,n.left,n.top,n.width,n.height);if(r.top=n.top+window.scrollY,r.left=n.left+window.scrollX,1==this.q.u||2==this.q.u){var o=i.NativeUIWindow.d(this.q.v.p),s=this.jm();s.height+=this.hi.b8,n.bottom+s.height>o?n.top-s.height<0?this.hi.ce(r,1,3):this.hi.ce(r,2,3):this.hi.ce(r,1,3)}else{var a=i.NativeUIWindow.f(this.q.v.p),h=this.jm();h.width+=this.hi.b8,n.right+h.width>a?n.left-h.width<0?this.hi.ce(r,4,3):this.hi.ce(r,3,3):this.hi.ce(r,4,3)}this.i2()}this.hp=t,this.ho=!1},n.prototype.ji=function(){this.hy&&(this.hp=!0)},n.prototype.iy=function(){var t=this;this.hy&&(this.hk||(this.hd.f((function(){t.hi.cb(),t.hp=!1,t.hk=!1}),100),this.hk=!0))},n.prototype.i9=function(){this.jh(),this.ij=-1,this.h8=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.i4=function(){this.iy(),this.ii=-1},n.prototype.hs=function(){return this.q.a2&&!i.stringIsNullOrEmpty(this.e1)},n.prototype.i7=function(t,e){if(this.hm=!0,-1!=this.ii&&(this.hd.g(this.ii),this.ii=-1),!this.hy){if(!this.hs())return;this.ij=this.hd.f(i.runOn(this,this.i9),this.il)}},n.prototype.i8=function(t,e){-1!=this.ij&&(this.hd.g(this.ij),this.ij=-1),this.hy&&!this.hp&&(this.ii=this.hd.f(i.runOn(this,this.i4),50)),this.h8=-1,this.hm=!1},n.prototype.i5=function(t,e){if(this.actions.count>0)if(this.hy)if(this.hp||-1==this.h8)this.iy();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.hw(n-this.h8)&&this.iy()}else-1!=this.ij&&(this.hd.g(this.ij),this.ij=-1),this.jh(!0);else this.hy&&this.au&&this.iy(),this.f4(this.k(!0),this)},n.prototype.hw=function(t){return!0},n.prototype.jd=function(t,e){this.hn=!0,-1!=this.ii&&(this.hd.g(this.ii),this.ii=-1)},n.prototype.je=function(t,e){this.hp||(this.ii=this.hd.f(i.runOn(this,this.i4),50)),this.hn=!1},n.prototype.jb=function(t,e){this.hp=!0},n.prototype.jc=function(t,e){null==e.b&&this.hx(e)||this.hi.t(e.b)||this.hg.t(e.b)||this.iy()},n.prototype.hx=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.ja=function(t,e){null!=this.q&&this.q.f9(),this.i1()},n.prototype.i6=function(t,e){if(this.hy){if(null==e.b&&this.hx(e))return;this.hi.t(e.b)||this.hg.t(e.b)||this.iy()}},n.prototype.gb=function(e,n,r){switch(t.prototype.gb.call(this,e,n,r),e){case"ExecutionContext":this.hd.b=this.d;break;case"Title":null!=this.hf&&(this.hf.p=this.e1);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.hh&&(this.hh.bb=this.g0,this.hh.bc=this.g1,this.hh.bk=this.a,this.hh.bl=this.b);break;case"TooltipDelay":this.il=-1!=this.im?this.im:this.q.cs;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.hh&&(this.hh.ae=i.DeviceUtils.g(this.bx),this.hh.y=i.DeviceUtils.g(this.bw));break;case"StopPropagation":null!=this.hg&&(this.hg.bx=this.bd)}},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.im=e.tooltipDelay,e.isMenuOpenOnStart&&this.f8()},n.prototype.cp=function(){var t=new ye;return t.g=this.cx,t.h=this.ei,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ao.an)),null!=this.hg&&(t.f=this.hg.af()),null!=this.hh&&(t.b=this.hh.af()),t},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hi&&(this.hi.q=null,this.hi.s=null,this.hi.n=null,this.hi.o=null,this.hi.bu=null),null!=this.hg&&(this.hg.bm=null,this.hg.q=null,this.hg.s=null,this.hg.o=null),this.hq=!1},n.$t=i.markType(n,"ToolActionIconButton",ze.$),n}(ze),Ye=function(t){function n(){var e,r=t.call(this)||this;return r.he=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),r.hf=null,r.hd=null,r.hg=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.hi),r}return e.__extends(n,t),n.prototype.get_z=function(){return 1},n.prototype.get_a1=function(){return!1},n.prototype.get_a2=function(){return!1},n.prototype.get_bb=function(){return!1},Object.defineProperty(n.prototype,"ho",{get:function(){return this.ct("ActualBackIconColor",null)},set:function(t){var e=this.ho;e!=t&&(this.gj("ActualBackIconColor",t),this.f3("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.ct("BackIconColor",null)},set:function(t){var e=this.hp;e!=t&&(this.gj("BackIconColor",t),this.f3("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.ae=function(t){return this.he},n.prototype.b2=function(t,e){return this.bc()?i.DeviceUtils.g(36):NaN},n.prototype.b4=function(e,n){if(this.actions.count>0){if(null!=this.hd){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.hd.bf(r).width}return 0}return t.prototype.b4.call(this,e,n)},n.prototype.hm=function(t,e,n,r){var o=n.bo;if(!(null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||null!=e.ao&&2!=i.typeGetValue(e.ao))){var s=!1;null==e.ao?e.ao=1:(s=!0,e.ao=3),e.bo(2,n);var a=null;s&&(a=e.bl(3)),e.b6(0,1,this.b2(this.q,r)),e.ca(e.bl(0),1),e.ca(e.bl(1),2),s&&e.ca(a,3),e.ca(n,0),e.cc(n,0),n.h=1,n.f=1,n.bh=new i.Thickness(1,-9,0,9,0),n.bp=this.ai(this.u),o.br="ToolbarBackButton",o.bq="IG_Default",o.ae=i.DeviceUtils.g(24),o.y=i.DeviceUtils.g(24)}o.bc=this.ho,n.c=this.s,n.bx=this.bd,n.bm=i.runOn(this,this.hk),this.hf=n},n.prototype.hn=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z||null==e.ao||i.typeGetValue(e.ao)<2)&&(null==e.ao||1==i.typeGetValue(e.ao))){var o=!1;null==e.ao?e.ao=2:(o=!0,e.ao=3),e.bn(n),o?(e.b6(4,1,this.b4(this.q,r)),e.ca(n,4),e.cc(n,0)):(e.b6(3,1,this.b4(this.q,r)),e.ca(n,3),e.cc(n,0)),n.bu=this.q.p,n.bv=1,n.h=1,n.f=2}n.bs=i.runOn(this,this.hl),n.b4(this.ai(this.u)),this.hd=n,this.hd.bt!=this.actions&&(this.hd.bt=this.actions,this.bc()?e.cd(4,1,this.b4(this.q,r)):e.cd(3,1,this.b4(this.q,r)))},n.prototype.hl=function(t,e){this.gf(e.a,e.b)},n.prototype.hk=function(t,e){this.q.gl(this)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)this.bc()&&i.NativeUIComponent.at(this.q.v.x(),10,this.bg()?2:0,(function(e){return r.hm(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.at(this.q.v.x(),13,2,(function(e){return r.hn(o,t,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{if(this.bc()){var s=t.bl(2);this.hm(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ao)&&(a=2);var h=t.bl(a);this.hn(o,t,h,n)}}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hf&&(this.hf.bp=this.ai(this.u))},n.prototype.gu=function(){var e;t.prototype.gu.call(this),null!=this.hf&&(this.hf.c=this.s),null!=this.q&&(this.gw=null!=this.g4?this.g4:this.q.il,this.g3=null!=this.hb?this.hb:this.q.ip,this.g2=null!=this.ha?this.ha:this.q.io),this.ho=null!=this.hp?this.hp:this.g3,null!=this.ag?e=this.ag.a():null!=this.q&&null!=this.q.ak?(e=this.q.ak.a()).v="Bold":e=this.he,this.ad=e},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"StopPropagation":null!=this.hf&&(this.hf.bx=this.bd)}},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hf&&(this.hf.bm=null),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hf&&(this.hf.bm=null),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionGroupHeader",ze.$),n.hi='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ze),Je=function(t){function n(){var e=t.call(this)||this;return e.jv=i.DeviceUtils.g(24),e.ju=i.DeviceUtils.g(15),e.jt=0,e.jn=null,e.jq=!1,e.jp=null,e.jr=!1,e.jo=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow",n.jx),e.jt=e.jv-e.ju,e}return e.__extends(n,t),n.prototype.get_z=function(){return 8},Object.defineProperty(n.prototype,"j4",{get:function(){return this.ct("ArrowStroke",null)},set:function(t){var e=this.j4;e!=t&&(this.gj("ArrowStroke",t),this.f3("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j3",{get:function(){return this.ct("ActualArrowStroke",null)},set:function(t){var e=this.j3;e!=t&&(this.gj("ActualArrowStroke",t),this.f3("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"js",{get:function(){return this.ct("ShowArrowIcon",!0)},set:function(t){var e=this.js;e!=t&&(this.gj("ShowArrowIcon",t),this.f3("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_hz=function(){return null!=this.jn},n.prototype.i0=function(t,e){var n=this;if(this.jq=!1,this.hj.bm>0)for(;this.hj.bm>0;)this.hj.bq(0);null!=this.jn&&(this.jn.t=null),this.jn=new ai(this.q.v.x(),this.d),this.jn.o=this.s,this.jn.al((function(){n.jn.s.a7=new i.CornerRadius(0,8),n.jn.s.a8=n.q.iw,n.hj.bn(n.jn.s),n.jn.ag(n,(function(r){null!=n.ei&&(r.ap=n.ei+"SubPanel"),n.jn.am(r),n.actions.count>0&&null!=n.actions._inner[0].gw&&!i.BrushUtilCore.a(n.actions._inner[0].gw)?n.hj.cg=n.actions._inner[0].gw:n.hj.cg=n.q.iw,t&&(n.jn.ak(),n.hj.cc(),n.d.executeDelayed((function(){return n.jh(e)}),100))}))})),this.jn.t=i.runOn(this,this.j0)},n.prototype.ft=function(){t.prototype.ft.call(this),this.hv?this.i2():this.jq=!0},n.prototype.i2=function(){null!=this.jn&&this.jn.ap()},n.prototype.i1=function(){null!=this.jn&&(this.jn.az(),this.hj.cc())},n.prototype.i3=function(){null!=this.jn&&(this.jn.a0(this.s,this.q),this.actions.count>0&&null!=this.actions._inner[0].gw&&!i.BrushUtilCore.a(this.actions._inner[0].gw)?this.hj.cg=this.actions._inner[0].gw:this.hj.cg=this.q.iw,this.hj.b7=8,this.hj.ca=4)},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hg&&(this.hg.bp=this.ai(this.u)),null!=this.hh&&this.jk(this.hh)},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.js=e.showArrowIcon},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.q&&(this.j3=null!=this.j4?this.j4:this.q.iu);var e=this.js?i.DeviceUtils.g(8):0,n=this.js?i.DeviceUtils.g(4):0,r=this.js?i.DeviceUtils.g(5):0,o=this.js?i.DeviceUtils.g(5):0;switch(this.s){case 6:case 5:case 4:case 3:this.ia=i.isNaN_(this.ie)?e:this.ie,this.ib=i.isNaN_(this.ig)?n:this.ig,this.ic=i.isNaN_(this.ih)?r:this.ih,this.h9=i.isNaN_(this.id)?o:this.id;break;default:this.ia=i.isNaN_(this.ie)?0:this.ie,this.ib=i.isNaN_(this.ig)?0:this.ig,this.ic=i.isNaN_(this.ih)?0:this.ih,this.h9=i.isNaN_(this.id)?0:this.id}null!=this.jp&&(this.jp.bc=this.j3),null!=this.jo&&this.jo.cd(0,1,this.bx)},n.prototype.jm=function(){return!this.hv&&this.jq&&this.iz(),this.jn.a5()},n.prototype.jh=function(e){void 0===e&&(e=!1),null!=this.jn&&this.jn.az(),t.prototype.jh.call(this,e)},n.prototype.b3=function(e,n){if(!this.js)return t.prototype.b3.call(this,e,n);var r=0;return i.isNaN_(this.ia)||(r+=this.ia),i.isNaN_(this.ib)||(r+=this.ib),Math.max(i.DeviceUtils.g(36),this.bx+this.jt+r)},n.prototype.j2=function(t,e,n,r,o,s,a){this.ht=!0,a&&(t.b8(2),t.b8(1),0==t.bm&&(n.b2(0,1,i.DeviceUtils.g(this.bx)),n.b2(1,1,this.jt),n.bn(r),n.bn(o),n.ca(r,0),n.ca(o,1),this.jo=n,e.bo=n,t.bn(e)),t.cc(e,0),t.ca(e,0),this.a4?e.bp=3:e.bp=this.ai(this.u),n.bi=new i.Thickness(1,this.ia,this.ic,this.ib,this.h9),e.bn=4,e.bu=!0,e.f=1,e.b0=new i.CornerRadius(0,18),this.jk(r),r.h=1,o.ae=this.jv,o.y=this.jv,o.h=1,o.bh=new i.Thickness(1,-this.ju,0,0,0),o.br="igDropDownArrow",o.bq="IG_Default",o.bb=i.BrushUtil.h(0,0,0,0),o.ac=i.DeviceUtils.g(1)),t.bw=!1,t.bi=new i.Thickness(1,this.bz,this.b1,this.b0,this.by),r.br=this.d6,r.bq=this.d1,r.bn=this.cd,r.bo=this.ce,r.bp=this.cf,r.bm=this.cc,r.bb=this.g0,r.bc=this.g1,r.ae=this.bx,r.y=this.bw,o.bc=this.j3,e.c=this.s,e.bx=this.bd;var h=this.bx+this.ia+this.ib;this.js&&(h=h+this.jv-this.ju),e.by=h,e.bm=i.runOn(this,this.i5),e.q=i.runOn(this,this.i7),e.s=i.runOn(this,this.i8),e.o=i.runOn(this,this.i6),this.hg!=e&&(this.hg=e),this.hh!=r&&(this.hh=r),this.jp!=o&&(this.jp=o),this.j1(),this.ht=!1},n.prototype.f7=function(t,e,n){var r=this;if(!this.jr){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z||0==t.bm){var s=[this.aj(1),this.aj(7),this.aj(11),this.aj(11),this.aj(12)];this.jr=!0,i.NativeUIComponent.av(this.q.v.x(),[1,7,11,11,12],s,(function(e){r.j2(t,e[0],e[1],e[2],e[3],n,!0),r.jl(t,e[4]),r.jr=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z)}else{var a=t.bl(0),h=a.bo,u=h.bl(0),l=h.bl(1),c=t.bl(1);this.j2(t,a,h,u,l,n,!1),this.jl(t,c)}}},n.prototype.j0=function(t){this.gf(t.a,t.b),t.b&&this.e7()},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"ShowArrowIcon":this.j1(),null!=this.q&&(this.q.f2(this),this.q.gj());break;case"StopPropagation":null!=this.hg&&(this.hg.bx=this.bd)}},n.prototype.j1=function(){if(null!=this.hg&&null!=this.hh&&null!=this.jp)if(this.js){var t=this.hg.bo;2==t.bx?(t.cd(0,1,i.DeviceUtils.g(this.bx)),t.cd(1,1,this.jt)):(t.b2(0,1,i.DeviceUtils.g(this.bx)),t.b2(1,1,this.jt)),t.ca(this.hh,0),t.ca(this.jp,1),this.jp.bj=0}else{this.hg.bo.cd(1,1,i.DeviceUtils.g(0)),this.jp.bj=1}this.gu()},n.prototype.e5=function(e,i){switch(t.prototype.e5.call(this,e,i),i){case"Visibility":null!=this.jn&&this.jn.ay()}},n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),8==e.z){var i=e;this.js!=i.js&&(this.js=i.js),this.j4!=i.j4&&(this.j4=i.j4)}},n.prototype.e=function(){return this.hj.b6?this.jn.k().a:null},n.prototype.cp=function(){var t=new xe;return t.g=this.cx,t.h=this.ei,t.e=this.z,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ao.an)),null!=this.hg&&(t.f=this.hg.af()),null!=this.hh&&(t.b=this.hh.af()),null!=this.jp&&(t.j=this.jp.af()),t},n.prototype.hs=function(){return this.q.a1&&this.actions.count>0},n.prototype.hw=function(t){return!(this.q.ct<0||t<this.q.ct)||(this.ji(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",Qe.$),n.jx='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M20 11.1205L16.2166 14.8795L12.4575 11.1205" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>\r\n',n}(Qe),Ze=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 2},n.prototype.get_at=function(){return!1},Object.defineProperty(n.prototype,"he",{get:function(){return this.ct("IsChecked",!1)},set:function(t){var e=this.he;e!=t&&(this.gj("IsChecked",t),this.f3("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.ct("UncheckedBackgroundColor",null)},set:function(t){var e=this.hw;e!=t&&(this.gj("UncheckedBackgroundColor",t),this.f3("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.ct("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.hs;e!=t&&(this.gj("ActualUncheckedBackgroundColor",t),this.f3("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.ct("CheckedBackgroundColor",null)},set:function(t){var e=this.hu;e!=t&&(this.gj("CheckedBackgroundColor",t),this.f3("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.ct("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hq;e!=t&&(this.gj("ActualCheckedBackgroundColor",t),this.f3("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.ct("UncheckedBorderColor",null)},set:function(t){var e=this.hx;e!=t&&(this.gj("UncheckedBorderColor",t),this.f3("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.ct("ActualUncheckedBorderColor",null)},set:function(t){var e=this.ht;e!=t&&(this.gj("ActualUncheckedBorderColor",t),this.f3("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.ct("CheckedBorderColor",null)},set:function(t){var e=this.hv;e!=t&&(this.gj("CheckedBorderColor",t),this.f3("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.ct("ActualCheckedBorderColor",null)},set:function(t){var e=this.hr;e!=t&&(this.gj("ActualCheckedBorderColor",t),this.f3("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.f9=function(e){if(t.prototype.f9.call(this,e),2==e.z){var i=e;null!=this.hv&&(this.hv=i.hv),null!=this.hu&&(this.hu=i.hu),null!=this.hx&&(this.hx=i.hx),null!=this.hw&&(this.hw=i.hw),this.he!=i.he&&(this.he=i.he)}},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,null!=this.hd&&(e.b=this.hd.bn),e},n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hd.bn,n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(32)},n.prototype.fw=function(){this.hd.bn=!this.hd.bn,this.gh("IsChecked",this.hd.bn),this.f4(this.k(!0),this)},n.prototype.hp=function(t,e,n,r,o){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.z||(e.b2(3,1,this.b4(this.q,o)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.bm=!0,n.f=1,n.h=1,n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20)),n.c=this.s,n.bn=this.he,n.bl=i.runOn(this,this.ho),n.br=this.hs,n.bs=this.ht,n.bp=this.hq,n.bq=this.hr,this.hd=n},n.prototype.ho=function(t,e){this.gh("IsChecked",this.hd.bn),this.f4(this.k(!0),this)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),6,this.aj(6),(function(i){var s=i;r.hp(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hp(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),this.hd},n.prototype.gu=function(){null!=this.q&&(this.hs=null!=this.hw?this.hw:this.q.i1,this.ht=null!=this.hx?this.hx:this.q.i2,this.hq=null!=this.hu?this.hu:this.q.ii,this.hr=null!=this.hv?this.hv:this.q.ij,null!=this.hd&&(this.hd.c=this.s,this.hd.br=this.hs,this.hd.bs=this.ht,this.hd.bp=this.hq,this.hd.bq=this.hr))},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.gt()}},n.prototype.f2=function(){if(t.prototype.f2.call(this),null!=this.y){var e=this.y;e.isChecked&&(this.he=e.isChecked)}},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bl=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bl=null)},n.$t=i.markType(n,"ToolActionCheckbox",ze.$),n}(ze),ti=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hd=null,e}return e.__extends(n,t),n.prototype.get_z=function(){return 5},Object.defineProperty(n.prototype,"hf",{get:function(){return this.ct("Value",0)},set:function(t){var e=this.hf;e!=t&&(this.gj("Value",t),this.f3("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fn=function(e){var n,r=this;t.prototype.fn.call(this,e),null!=this.hd&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.he(),n))},n.prototype.b4=function(t,e){return i.DeviceUtils.g(150)},n.prototype.he=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.hd.b7)?NaN:(null!=this.hd&&(e=i.tryParseNumber(n.hd.b7,t),t=e.p1,e.ret),t)},n.prototype.k=function(t){var e=new fe;return e.g=this.cx,e.a=this.z,e.c=t,e.e=this.he(),e},n.prototype.hh=function(t,e){this.hf=this.he();var i=this.k(!0);this.f4(i,this)},n.prototype.hi=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.z){var s=this.b4(this.q,o);e.b2(3,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,3),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=1,n.bo=2,n.b2=!1}n.c=this.s,n.ce=this.a6?this.gx:this.g3,n.bk=this.ad,n.b0=this.a6,n.bs=i.runOn(this,this.hh),i.isNaN_(this.hf)?n.b7="":n.b7=this.hf.toString(),this.hd!=n&&(this.hd=n)},n.prototype.f7=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.z)i.NativeUIComponent.at(this.q.v.x(),2,this.aj(2),(function(i){var s=i;r.hi(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.z);else{var s=t.bl(2);this.hi(o,t,s,e,n)}},n.prototype.gn=function(){t.prototype.gn.call(this),null!=this.hd&&(this.hd.bp=this.ai(this.u))},n.prototype.gu=function(){null!=this.hd&&(this.hd.c=this.s)},n.prototype.gb=function(e,i,n){switch(t.prototype.gb.call(this,e,i,n),e){case"IsDisabled":null!=this.hd&&(this.hd.b0=this.a6,this.hd.ce=this.a6?this.gx:this.g3)}},n.prototype.fw=function(){null==this.hd||this.a6||this.hd.az()},n.prototype.fl=function(){t.prototype.fl.call(this);var e=this.y;this.hf=e.value},n.prototype.e6=function(){t.prototype.e6.call(this),null!=this.hd&&(this.hd.bs=null)},n.prototype.fg=function(){t.prototype.fg.call(this),null!=this.hd&&(this.hd.bs=null)},n.$t=i.markType(n,"ToolActionNumberInput",ze.$),n}(ze),ei=function(t){function n(){var e=t.call(this,ze.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolActionCollection",i.ObservableCollection$1.$.specialize(ze.$)),n}(i.ObservableCollection$1),ii=function(t){function r(){var e=t.call(this)||this;e.p=null,e.ai=!1,e.ag=null,e.t=new ne,e.s=null,e.q=null,e.w=0,e.y=0,e.g=new ei,e.e=new ei,e.f=new ei,e.k=r.l,e.aa=null,e.bv=r.bw,e.e0=null,e.fd=null,e.e4=null,e.fc=null,e.e8=null,e.ff=null,e.e3=null,e.e6=null,e.fh=null,e.fg=null,e.a7=NaN,e.a8=NaN,e.e9=null,e.fa=null,e.ab=null,e.ac=null,e.a4=NaN,e.a5=NaN,e.a6=NaN,e.a3=NaN,e.a0=NaN,e.a1=NaN,e.a2=NaN,e.az=NaN,e.al=!0,e.am=!0,e.bn=-1,e.ay=NaN,e.ax=NaN,e.e7=null,e.fb=null,e.fi=null,e.e1=null,e.fj=null,e.e2=null,e.bp=-1,e.fe=null,e.e5=null,e.bo=-1,e.an=!1,e.u=1,e._userSetWidth=!1,e._userSetHeight=!1,e.ak=!1,e.aj=!1,e.propertyChanged=null,e.c=null,e.onCommand=null,e.subMenuOpening=null,e.subMenuClosing=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.dq));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.ds));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.dt)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new Ee;return h.a=e,e.p=h,e.p.w(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"ah",{get:function(){return null==this.ag&&(this.ag=new i.SRProvider(this.p.j),this.ag.cb("Layouts")),this.ag},enumerable:!1,configurable:!0}),r.prototype.dy=function(t){this.s=t,this.s.c3=this,this.s.z=0==this.w?1:this.w;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.dp)),this.s.p=this.t,this.ew()},r.prototype.dp=function(t,e){var i=!1;null!=this.aa&&2==this.aa.onToolCommandExecuting(e.a)&&(i=!0,this.q=e),null==this.onCommand||i||this.onCommand(this,e)},r.prototype.d7=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.d5=function(){var t=this.target;this.d6(t,t)},r.prototype.d1=function(t){null!=this.s&&this.s.notifySizeChanged()},Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.d2("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.d2("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.d2("AutoGeneratedActions",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.d2("Actions",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.d2("ActualActions",e,this.f)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.d2("Orientation",i.enumGetBox(le,e),i.enumGetBox(le,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.d2("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fk",{get:function(){return this.e0},set:function(t){var e=this.e0;this.e0=t,e!=this.e0&&this.d2("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fy",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.d2("SubmenuBackgroundColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fp",{get:function(){return this.e4},set:function(t){var e=this.e4;this.e4=t,e!=this.e4&&this.d2("GroupHeaderBackgroundColorPropertyName",e,this.e4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fx",{get:function(){return this.fc},set:function(t){var e=this.fc;this.fc=t,e!=this.fc&&this.d2("SeparatorBackgroundColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ft",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.d2("HoverBackgroundColor",e,this.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f0",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.d2("TextColor",e,this.ff)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fn",{get:function(){return this.e3},set:function(t){var e=this.e3;this.e3=t,e!=this.e3&&this.d2("DisabledTextColor",e,this.e3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fr",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.d2("GroupHeaderTextColor",e,this.e6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f2",{get:function(){return this.fh},set:function(t){var e=this.fh;this.fh=t,e!=this.fh&&this.d2("ToolTipTextColor",e,this.fh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f1",{get:function(){return this.fg},set:function(t){var e=this.fg;this.fg=t,e!=this.fg&&this.d2("ToolTipBackgroundColor",e,this.fg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bl",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.d2("ToolTipCornerRadius",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bm",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.d2("ToolTipElevation",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fu",{get:function(){return this.e9},set:function(t){var e=this.e9;this.e9=t,e!=this.e9&&this.d2("IconFill",e,this.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fv",{get:function(){return this.fa},set:function(t){var e=this.fa;this.fa=t,e!=this.fa&&this.d2("IconStroke",e,this.fa)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.d2("CellTextStyle",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.d2("SubtitleTextStyle",e,this.ac)},enumerable:!1,configurable:!0}),r.prototype.ae=function(){return null==this.ad?this.p.d():this.ad},Object.defineProperty(r.prototype,"bi",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.d2("SeparatorVerticalPaddingLeft",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bj",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.d2("SeparatorVerticalPaddingRight",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bk",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.d2("SeparatorVerticalPaddingTop",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.d2("SeparatorVerticalPaddingBottom",e,this.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"be",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.d2("SeparatorHorizontalPaddingLeft",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bf",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.d2("SeparatorHorizontalPaddingRight",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bg",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.d2("SeparatorHorizontalPaddingTop",e,this.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bd",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.d2("SeparatorHorizontalPaddingBottom",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"as",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.d2("ShowOnHover",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"at",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.d2("ShowTooltipOnHover",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bq",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.d2("DropdownClickBuffer",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bc",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.d2("HighlightWidth",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bb",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.d2("HighlightRadius",e,this.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fs",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d2("HighlightColor",e,this.e7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fw",{get:function(){return this.fb},set:function(t){var e=this.fb;this.fb=t,e!=this.fb&&this.d2("MenuArrowStroke",e,this.fb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f3",{get:function(){return this.fi},set:function(t){var e=this.fi;this.fi=t,e!=this.fi&&this.d2("UncheckedBackgroundColor",e,this.fi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fl",{get:function(){return this.e1},set:function(t){var e=this.e1;this.e1=t,e!=this.e1&&this.d2("CheckedBackgroundColor",e,this.e1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f4",{get:function(){return this.fj},set:function(t){var e=this.fj;this.fj=t,e!=this.fj&&this.d2("UncheckedBorderColor",e,this.fj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fm",{get:function(){return this.e2},set:function(t){var e=this.e2;this.e2=t,e!=this.e2&&this.d2("CheckedBorderColor",e,this.e2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return null!=this.s?this.s.cx:-1},set:function(t){this.bp=t,null!=this.s&&(this.s.cx=this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.d2("SubtitleTextColor",e,this.fe)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fq",{get:function(){return this.e5},set:function(t){var e=this.e5;this.e5=t,e!=this.e5&&this.d2("GroupHeaderSubtitleTextColor",e,this.e5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"br",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.d2("DropdownDelay",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"au",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.d2("StopPropagation",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.d2("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.u))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetWidth",{get:function(){return this._userSetWidth},set:function(t){this._userSetWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetHeight",{get:function(){return this._userSetHeight},set:function(t){this._userSetHeight=t},enumerable:!1,configurable:!0}),r.prototype.dq=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dr))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.dr))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.d0()},r.prototype.ds=function(t,e){this.ez()},r.prototype.dt=function(t,e){for(var n=0;n<this.actualActions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actualActions._inner[n])){var r=this.actualActions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.dr))}this.actualActions._inner[n].d=null}},r.prototype.ez=function(){var t=0==this.x?1:this.x;null!=this.s&&(this.s.z=t);for(var e=0;e<this.actualActions.count;e++)this.actualActions._inner[e].s=t},r.prototype.ey=function(){null!=this.s&&this.s.g7(this.z);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].gp(this.z)},r.prototype.dr=function(t,e){},r.prototype.d0=function(){this.ea()},r.prototype.ea=function(){this.aj||(null!=this.d?(this.aj=!0,this.d.enqueueAction(i.runOn(this,this.dw))):this.ak=!0)},r.prototype.dw=function(){this.aj&&(this.aj=!1,this.eb(),this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.eb=function(){var t=this;this.actualActions.clear();for(var e=0;e<this.autoGeneratedActions.count;e++)this.actualActions.add(this.autoGeneratedActions._inner[e]);for(var n=null,r=null,o=!1,s=!1,a=-1,h=0,u=function(e){var u,c=l.actions._inner[e];i.stringIsNullOrEmpty(c.ek)?(i.stringIsNullOrEmpty(c.dk)?i.stringIsNullOrEmpty(c.dh)||(null!=c.g&&c.g.actions.remove(c),function(){var e=t.ao(c.dh,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dh,o=!1,s=!0,h=0)):(null!=c.g&&c.g.actions.remove(c),function(){var e=t.ao(c.dk,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dk,o=!0,s=!1)),i.stringIsNullOrEmpty(r)?l.actualActions.add(c):o?(n.insert(a,c),a++):s&&(n.insert(a+1+h,c),h++)):(u=t.ao(c.ek,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].f9(c))},l=this,c=0;c<this.actions.count;c++)u(c)},r.prototype.ao=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];return null!=a.ei&&a.ei==t?{value:{ret:!0,p2:i=e,p3:n=o}}:a.actions.count>0&&(s=r.ao(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret)?{value:{ret:!0,p2:i,p3:n}}:void 0},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.ap=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];if(null==a.dq){if(null!=a.ei&&a.ei==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.dq&&a.dq==t)return{value:{ret:!0,p2:i=e,p3:n=o}};if(a.actions.count>0&&(s=r.ao(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret))return{value:{ret:!0,p2:i,p3:n}}},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.dx=function(){this.aj&&this.dw(),null!=this.s&&this.s.fz()},r.prototype.notifySizeChanged=function(){this.p.t()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.p.u(t),null!=this.ad&&null!=this.p.j&&this.ad.w(this.p.j)},r.prototype.d2=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.d8(t,e,n)},r.prototype.d8=function(t,e,i){switch(t){case"CellTextStyle":null!=this.ad&&null!=this.p.j&&this.ad.w(this.p.j),this.ew();break;case"BackgroundColor":case"TextColor":case"SubmenuBackgroundColor":case"GroupHeaderBackgroundColorPropertyName":case"GroupHeaderTextColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"Orientation":case"ShowOnHover":case"ShowTooltipOnHover":case"DropdownClickBuffer":case"HighlightWidth":case"HighlightRadius":case"HighlightColor":case"MenuArrowStroke":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":this.ew();break;case"Target":var n=i,r=e;this.d6(r,n);break;case"BaseTheme":this.ez();break;case"Density":this.ey();break;case"ExecutionContext":null!=this.d&&this.ak&&(this.ea(),this.ak=!1)}},r.prototype.ew=function(){null!=this.s&&(this.s.a1=this.as,this.s.a2=this.at,this.s.i3=this.fk,this.s.jl=this.f0,this.s.i6=this.fn,this.s.jj=this.fy,this.s.i9=this.fp,this.s.jc=this.fr,this.s.ji=this.fx,this.s.je=this.ft,this.s.u=this.m,this.s.jn=this.f2,this.s.jm=this.f1,this.s.cm=this.bl,this.s.cn=this.bm,this.s.jf=this.fu,this.s.jg=this.fv,this.s.am=this.ad,this.s.ao=this.af,this.s.cf=this.be,this.s.cg=this.bf,this.s.ch=this.bg,this.s.ce=this.bd,this.s.cj=this.bi,this.s.ck=this.bj,this.s.cl=this.bk,this.s.ci=this.bh,this.s.jd=this.fs,this.s.cc=this.bb,this.s.cd=this.bc,this.s.jh=this.fw,this.s.jo=this.f3,this.s.jp=this.f4,this.s.i4=this.fl,this.s.i5=this.fm,this.s.jk=this.fz,this.s.jb=this.fq,this.s.cu=this.br,this.s.ct=this.bq,this.s.a3=this.au,this.s.x=this.v,-1!=this.bp&&(this.s.cx=this.bp))},Object.defineProperty(r.prototype,"ar",{get:function(){return null!=this.s&&this.s.a0},enumerable:!1,configurable:!0}),r.prototype.f6=function(){return null!=this.s?this.s.js():i.Size.empty},r.prototype.d6=function(t,e){this.du(),this.aa=e,null!=t&&(t.commandCompleted=null,null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.ea()),null!=e&&(e.commandCompleted=i.runOn(this,this.d7),e.invalidateActions=i.runOn(this,this.d5),e.provideContextAccessor(new ni(this,!1)),this.ex(),e.addCommandStateChangedListener(this),this.ea())},r.prototype.ex=function(){var t=this.aa.getDesiredToolbarActions();if(null!=t){for(var e=null==this.autoGeneratedActions?0:this.autoGeneratedActions.count,i=t.length,n=0;n<e&&n<i;){var r=this.autoGeneratedActions._inner[n],o=t[n];ze.av(r,o)||(this.autoGeneratedActions._inner[n]=ze.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(ze.f(t[s]));else if(n<e)for(var a=0;a<e-n;a++)this.autoGeneratedActions.removeAt(n)}else this.autoGeneratedActions.clear()},Object.defineProperty(r.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.d2("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.du=function(){null!=this.s&&this.s.fu()},r.prototype.d4=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new oe)},r.prototype.d3=function(){null!=this.subMenuClosing&&this.subMenuClosing(this,new ae)},r.prototype.onCommandStateChanged=function(t,e,n){var r=this,o=null,s=-1;if(function(){var e=r.ap(t,r.actualActions,o,s);return o=e.p2,s=e.p3,e.ret}()){var a=o._inner[s];switch(e){case 2:switch(a.z){case 2:a.he=n;break;case 5:a.hf=n;break;case 6:a.he=n}break;case 0:a.hc=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a6=n}}},r.prototype.ec=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.d6==e&&(n.d6=null,n.d6=e),null!=n.actions&&n.actions.count>0&&this.ec(n.actions,e)}},r.prototype.ee=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.ec(this.actualActions,e)},r.prototype.cm=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.eg=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.ec(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.ed=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.ec(this.actualActions,e)},r.prototype.cl=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.ef=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.ec(this.actualActions,e)},r.prototype.b4=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.ej=function(t,e){i.stringIsNullOrEmpty(t)||oi.gs(this.t,t,e)},r.prototype.fo=function(t){return i.stringIsNullOrEmpty(t)?null:oi.i8(this.t,t)},r.prototype.ep=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),oi.gs(this.t,t,e))},r.prototype.b1=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=oi.i8(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.ei=function(t,e){i.stringIsNullOrEmpty(t)||oi.gq(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:oi.b(this.t,t)},r.prototype.eo=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),oi.gq(this.t,t,e))},r.prototype.b0=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=oi.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.en=function(t,e){i.stringIsNullOrEmpty(t)||oi.g0(this.t,t,e)},r.prototype.a9=function(t){return i.stringIsNullOrEmpty(t)?NaN:oi.cb(this.t,t)},r.prototype.eu=function(t,e){i.stringIsNullOrEmpty(t)||oi.g2(this.t,t,e)},r.prototype.ba=function(t){return i.stringIsNullOrEmpty(t)?NaN:oi.cb(this.t,t)},r.prototype.es=function(t,e){i.stringIsNullOrEmpty(t)||oi.g0(this.t,t,e)},r.prototype.bt=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:oi.cw(this.t,t)},r.prototype.et=function(t,e){i.stringIsNullOrEmpty(t)||oi.g2(this.t,t,i.typeGetValue(e))},r.prototype.bs=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:oi.cw(this.t,t)},r.prototype.ev=function(t,e){i.stringIsNullOrEmpty(t)||oi.g4(this.t,t,e)},r.prototype.cn=function(t){return i.stringIsNullOrEmpty(t)?null:oi.ek(this.t,t)},r.prototype.eh=function(t,e){i.stringIsNullOrEmpty(t)||oi.go(this.t,t,e)},r.prototype.aq=function(t){return!i.stringIsNullOrEmpty(t)&&oi.ay(this.t,t)},r.prototype.ek=function(t,e){i.stringIsNullOrEmpty(t)||oi.gu(this.t,t,e)},r.prototype.f5=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):oi.jr(this.t,t)},r.prototype.eq=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),oi.gu(this.t,t,e))},r.prototype.b2=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=oi.jr(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.em=function(t,e){i.stringIsNullOrEmpty(t)||oi.gy(this.t,t,e)},r.prototype.bz=function(t){return i.stringIsNullOrEmpty(t)?null:oi.c2(this.t,t)},r.prototype.er=function(t,e){i.stringIsNullOrEmpty(t)||oi.gy(this.t,t,e)},r.prototype.b3=function(t){return i.stringIsNullOrEmpty(t)?null:oi.c2(this.t,t)},r.prototype.el=function(t,e){i.stringIsNullOrEmpty(t)||oi.gw(this.t,t,e)},r.prototype.by=function(t){return i.stringIsNullOrEmpty(t)?null:oi.c0(this.t,t)},r.prototype.bx=function(){return null==this.s?null:this.s.cy()},r.prototype.ck=function(){return this.bx().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.bw=null,r}(i.Base),ni=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.getContextValue=function(t,e){switch(e){case 0:return this.b?this.a.fo(t):this.a.b1(t);case 1:return this.b?this.a.b(t):this.a.b0(t);case 2:return this.b?this.a.f5(t):this.a.b2(t);case 3:return this.b,this.a.cn(t);case 4:return this.b?this.a.a9(t):this.a.ba(t);case 6:return this.b?this.a.bt(t):this.a.bs(t);case 7:return this.b?this.a.bz(t):this.a.b3(t);case 5:return this.b,this.a.aq(t)}return null},n.prototype.getInternalAccessor=function(){return new n(this.a,!0)},n.prototype.setContextValue=function(t,e,n){switch(e){case 0:this.b?this.a.ej(t,n):this.a.ep(t,n);break;case 1:this.b?this.a.ei(t,n):this.a.eo(t,n);break;case 2:this.b?this.a.ek(t,n):this.a.eq(t,n);break;case 3:this.b,this.a.ev(t,n);break;case 4:this.b?this.a.en(t,n):this.a.es(t,n);break;case 6:this.b?this.a.eu(t,i.typeGetValue(n)):this.a.et(t,n);break;case 7:this.b?this.a.em(t,n):this.a.er(t,n);break;case 5:this.b,this.a.eh(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),ri=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPopupOpeningEventArgs"),n}(i.Base),oi=function(t){function r(){var e=t.call(this)||this;e.v=null,e.ap=null,e.c3=null,e.o=null,e.as=!1,e.aq=null,e.k=new de,e.propertyChanged=null,e.i=new ei,e.contentRefreshed=null,e.au=!0,e.av=!0,e.cp=-1,e.aw=!1,e.at=!1,e.a5=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(ze.$),0),e.a6=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(ze.$),0),e.a4=new i.Dictionary$2(i.String_$type,ze.$,0),e.ai=null,e.ag=null,e.ah=null,e.aj=null,e.c=null,e.y=0,e.ab=0,e.aa=0,e.hv=null,e.ha=null,e.h9=null,e.ho=null,e.hz=null,e.he=null,e.h8=null,e.hn=null,e.h0=null,e.hf=null,e.h4=null,e.hj=null,e.f=null,e.bm=Number.POSITIVE_INFINITY,e.ib=null,e.hq=null,e.hp=null,e.ia=null,e.hy=null,e.hd=null,e.h2=null,e.hh=null,e.h1=null,e.hg=null,e.id=null,e.hs=null,e.ic=null,e.hr=null,e.bv=NaN,e.bi=NaN,e.bw=NaN,e.bj=NaN,e.h5=null,e.hk=null,e.h6=null,e.hl=null,e.bs=NaN,e.bf=NaN,e.bt=NaN,e.bg=NaN,e.bu=NaN,e.bh=NaN,e.br=NaN,e.be=NaN,e.bo=NaN,e.bb=NaN,e.bp=NaN,e.bc=NaN,e.bq=NaN,e.bd=NaN,e.bn=NaN,e.ba=NaN,e.s=r.t,e.onCommand=null,e.cr=-1,e.bl=NaN,e.a9=NaN,e.bk=NaN,e.a8=NaN,e.h3=null,e.hi=null,e.h7=null,e.hm=null,e.ie=null,e.ht=null,e.hw=null,e.hb=null,e.ig=null,e.hu=null,e.hx=null,e.hc=null,e.cq=-1,e.co=500,e.w=1,e.g=0,e.onContextChanged=null,e.onContextSwapped=null,e.drillDownRequested=null,e.drillUpRequested=null,e.ac=0;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.fq)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),Ne.g();var s=new $e;return s.c=e,e.v=s,e.v.af(),e.g9(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"p",{get:function(){return this.o},set:function(t){if(t!=this.o){if(null!=this.o){var e=this.o;e.onItemChanged=i.delegateRemove(e.onItemChanged,i.runOn(this,this.f7))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.f7))}null!=this.onContextSwapped&&this.onContextSwapped(this,new pe)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ar",{get:function(){return null==this.aq&&(this.aq=new i.SRProvider(this.v.p),this.aq.cb("Layouts")),this.aq},enumerable:!1,configurable:!0}),r.prototype.f0=function(t){this.f=t,-1!=this.cr&&(this.f.ec=this.cr),this.f.a0=this.w;var e=this.f;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.fp));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.fk)),this.f.ad=this.u,this.f.bz=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.fl));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.fo));var s=this.f;s.itemRecycled=i.delegateCombine(s.itemRecycled,i.runOn(this,this.fn));var a=this.f;a.itemRebind=i.delegateCombine(a.itemRebind,i.runOn(this,this.fm))},r.prototype.ga=function(){null!=this.c3&&(null!==i.typeCast(r.$,this.c3)&&this.c3.ga(),null!==i.typeCast(ii.$,this.c3)&&this.c3.d4())},r.prototype.f9=function(){null!=this.c3&&(null!==i.typeCast(r.$,this.c3)&&this.c3.f9(),null!==i.typeCast(ii.$,this.c3)&&this.c3.d3())},r.prototype.fk=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new Ae)},r.prototype.fl=function(t,e){var n=e.c,r=new de;this.gc(r),n.fa(this,r),0==n.hc?i.isNaN_(r.d)?e.a=this.f.c4:e.a=r.d:e.a=0},r.prototype.fo=function(t,e){var n=e.c,r=new de;this.gc(r),n.fa(this,r),0==n.hc?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.fn=function(t,e){e.rowObject.ff()},r.prototype.fm=function(t,e){e.rowObject.fe()},r.prototype.fp=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new de;this.gc(r),i.fa(this,r),i.f5(n,this,e,r)}else i.f5(n,this,e,this.k)},r.prototype.f6=function(t){this.bm=t.width,this.gg(),null!=this.f&&this.f.notifySizeChanged()},Object.defineProperty(r.prototype,"actions",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.f8("Actions",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a1",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.f8("ShowOnHover",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.f8("ShowTooltipOnHover",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ct",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.f8("DropdownClickBuffer",e,this.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.f8("StopPropagation",e,this.aw)},enumerable:!1,configurable:!0}),r.prototype.fq=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.f1))}l.e6(),l.d=null,l.gi(null)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.f1))}d.d=this.c,d.gi(this)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.g8(this.actions),this.f5()},r.prototype.fr=function(t,e){for(var n=0;n<this.actions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[n])){var r=this.actions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.f1))}this.actions._inner[n].e6(),this.actions._inner[n].d=null,this.actions._inner[n].gi(null)}},r.prototype.f5=function(){this.gg(),this.v.ac()},r.prototype.gg=function(){this.at||(this.at=!0,this.c.enqueueAction(i.runOn(this,this.fw)))},r.prototype.gi=function(){this.at=!0,this.fw()},r.prototype.fw=function(){if(this.at){this.at=!1,this.fs(),this.gm();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.fx()}},r.prototype.fs=function(){this.a5.clear(),this.a6.clear(),this.a4.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].gi(this),null!=this.i._inner[t].cx&&this.a4.item(this.i._inner[t].cx,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].ep)if(this.a4.containsKey(this.i._inner[e].ep))this.a5.containsKey(this.i._inner[e].ep)||this.a5.item(this.i._inner[e].ep,new i.List$1(ze.$,0)),this.a5.item(this.i._inner[e].ep).add(this.i._inner[e])}for(var n=0;n<this.i.count;n++)if(6==this.i._inner[n].z){var r=this.i._inner[n].hl;null==r&&(r="null"),this.a6.containsKey(r)||this.a6.item(r,new i.List$1(ze.$,0)),this.a6.item(r).add(this.i._inner[n])}},r.prototype.az=function(t){return null!=t.cx&&this.a5.containsKey(t.cx)},r.prototype.h=function(t){return this.a4.containsKey(t)?this.a4.item(t):null},r.prototype.a7=function(t){return null==t.cx?null:this.a5.containsKey(t.cx)?this.a5.item(t.cx):null},r.prototype.l=function(t){var e=new de;return this.gc(e),t.fa(this,e),this.f3(this.k,e),e},r.prototype.gc=function(t){t.a=this.u,t.c=this.bm},r.prototype.f3=function(t,e){i.isNaN_(e.f)||(i.isNaN_(t.f)?t.f=e.f:t.f=Math.max(t.f,e.f)),i.isNaN_(e.h)||(i.isNaN_(t.h)?t.h=e.h:t.h=Math.max(t.h,e.h))},r.prototype.gm=function(){this.k=new de,this.k.a=this.u,this.k.c=this.bm},r.prototype.js=function(){this.bm;var t=0,e=0;if(0==this.u)for(var n=0;n<this.actions.count;n++){var r=this.l(this.actions._inner[n]);t=Math.max(r.e,t),0==this.actions._inner[n].hc&&(i.isNaN_(r.d)?e+=this.bz:e+=r.d)}else{if(2==this.u)return this.f.h4();if(1==this.u)for(var o=0;o<this.actions.count;o++){var s=this.l(this.actions._inner[o]);0==this.actions._inner[o].hc&&(i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].hc&&(e=i.isNaN_(s.d)?this.bz:s.d)}}return new i.Size(1,t,e)},r.prototype.fx=function(){null!=this.f&&this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.fz=function(){this.at&&this.fw(),null!=this.f&&this.f.fy()},r.prototype.gj=function(){null!=this.f&&this.f.g6()},r.prototype.gh=function(t){var e=t.hl;null==e&&(e="null");var i=t.cx;if(null!=this.a6&&this.a6.containsKey(e))for(var n=0;n<this.a6.item(e).count;n++)this.a6.item(e)._inner[n].cx!=i&&this.a6.item(e)._inner[n].hs()},r.prototype.f1=function(t,e){"ExecutionContext"!=e.propertyName&&this.f5()},r.prototype.ft=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].e6()},r.prototype.gd=function(){for(var t=0;t<this.actions.count;t++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[t])){var e=this.actions._inner[t];e.propertyChanged=i.delegateRemove(e.propertyChanged,i.runOn(this,this.f1))}this.actions._inner[t].d=null}},r.prototype.notifySizeChanged=function(){this.v.ab()},r.prototype.destroy=function(){this.provideContainer(null),this.ft()},r.prototype.provideContainer=function(t){this.v.ad(t),null!=this.am&&null!=this.v.p&&this.am.w(this.v.p)},Object.defineProperty(r.prototype,"am",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.f8("CellTextStyle",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.f8("ActualCellTextStyle",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"al",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.f8("ActualSubtitleTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ao",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.f8("SubtitleTextStyle",e,this.aj)},enumerable:!1,configurable:!0}),r.prototype.an=function(){return null==this.am?this.v.g():this.am},r.prototype.f8=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ge(t,e,n)},r.prototype.ge=function(t,n,r){var o,s,a,h;switch(t){case"BaseTheme":case"TextColor":case"BackgroundColor":case"SubmenuBackgroundColor":case"GroupHeaderTextColor":case"GroupHeaderBackgroundColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"SeparatorHorizontalPaddingLeft":case"SeparatorHorizontalPaddingRight":case"SeparatorHorizontalPaddingTop":case"SeparatorHorizontalPaddingBottom":case"SeparatorVerticalPaddingLeft":case"SeparatorVerticalPaddingRight":case"SeparatorVerticalPaddingTop":case"SeparatorVerticalPaddingBottom":case"CellTextStyle":case"HighlightRadius":case"HighlightWidth":case"HighlightColor":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":this.g9();break;case"ActualTextColor":case"ActualIconFill":case"ActualIconStroke":case"ActualSubmenuBackgroundColor":case"ActualGroupHeaderTextColor":case"ActualGroupHeaderBackgroundColor":case"ActualSeparatorBackgroundColor":case"ActualHoverBackgroundColor":case"ActualToolTipTextColor":case"ActualToolTipBackgroundColor":case"ActualToolTipCornerRadius":case"ActualToolTipElevation":case"ActualSeparatorHorizontalPaddingLeft":case"ActualSeparatorHorizontalPaddingRight":case"ActualSeparatorHorizontalPaddingTop":case"ActualSeparatorHorizontalPaddingBottom":case"ActualSeparatorVerticalPaddingLeft":case"ActualSeparatorVerticalPaddingRight":case"ActualSeparatorVerticalPaddingTop":case"ActualSeparatorVerticalPaddingBottom":case"ActualCellTextStyle":case"ActualHighlightRadius":case"ActualHighlightWidth":case"ActualHighlightColor":case"ActualUncheckedBackgroundColor":case"ActualUncheckedBorderColor":case"ActualCheckedBackgroundColor":case"ActualCheckedBorderColor":case"ActualSubtitleTextColor":case"ActualGroupHeaderSubtitleTextColor":case"ActualSubtitleTextStyle":case"ActualDropdownDelay":this.g8(this.actions);break;case"ActualBackgroundColor":this.g6();break;case"ActualDensity":this.g5(this.actions);break;case"Density":0==this.ae?this.ad=this.af:this.ad=this.ae;break;case"Orientation":null!=this.f&&(this.f.ad=this.u,this.v.ag());break;case"Actions":if(null!=n){var u=n;u.collectionChanged=i.delegateRemove(u.collectionChanged,i.runOn(this,this.fq)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.fr));try{for(var l=e.__values(i.fromEnum(u)),c=l.next();!c.done;c=l.next()){var p=c.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,p)){var f=p;f.propertyChanged=i.delegateRemove(f.propertyChanged,i.runOn(this,this.f1))}p.e6(),p.d=null,p.gi(null)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}}if(null!=r){var d=r;d.collectionChanged=i.delegateCombine(d.collectionChanged,i.runOn(this,this.fq)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.fr));try{for(var b=e.__values(i.fromEnum(d)),g=b.next();!g.done;g=b.next()){var y=g.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,y)){var m=y;m.propertyChanged=i.delegateCombine(m.propertyChanged,i.runOn(this,this.f1))}y.d=this.c,y.gi(this)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=b.return)&&h.call(b)}finally{if(a)throw a.error}}}this.g8(this.actions),this.gg();break;case"ScrollbarStyle":null!=this.f&&(this.f.a0=this.w);break;case"StopPropagation":for(var _=0;_<this.actions.count;_++)this.actions._inner[_].bd=this.a3}},r.prototype.g9=function(){switch(this.z){case 0:case 1:case 2:this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,24,29,31),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,24,29,31),this.ik=null!=this.i6?this.i6:i.BrushUtil.h(102,0,0,0),this.ih=null!=this.i3?this.i3:i.BrushUtil.h(255,255,255,255),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(255,255,255,255),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,237,239,245),this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,142,143,147),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,142,143,147),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,237,239,245),this.im=null!=this.ja?this.ja:i.BrushUtil.h(25,0,0,0),this.ir=null!=this.je?this.je:i.BrushUtil.h(51,178,191,220),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(255,0,0,0),this.is=null!=this.jf?this.jf:i.BrushUtil.h(255,0,0,0),this.it=null!=this.jg?this.jg:i.BrushUtil.h(255,0,0,0),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,237,239,245),this.b8=i.isNaN_(this.cm)?8:this.cm,this.b9=i.isNaN_(this.cn)?4:this.cn,this.b5=i.isNaN_(this.cj)?0:this.cj,this.b6=i.isNaN_(this.ck)?0:this.ck,this.b7=i.isNaN_(this.cl)?0:this.cl,this.b4=i.isNaN_(this.ci)?0:this.ci,this.b1=i.isNaN_(this.cf)?0:this.cf,this.b2=i.isNaN_(this.cg)?0:this.cg,this.b3=i.isNaN_(this.ch)?i.DeviceUtils.g(10):this.ch,this.b0=i.isNaN_(this.ce)?i.DeviceUtils.g(10):this.ce,this.ak=null!=this.am?this.am:this.v.g(),this.al=null!=this.ao?this.ao:this.v.h(),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,110,137,247),this.bx=i.isNaN_(this.cc)?6:this.cc,this.by=i.isNaN_(this.cd)?1:this.cd,this.iu=null!=this.jh?this.jh:i.BrushUtil.h(255,0,0,0),this.i1=this.jo,this.i2=this.jp,this.ii=this.i4,this.ij=this.i5,this.cs=-1!=this.cu?this.cu:500;break;case 5:case 3:this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,24,29,31),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,24,29,31),this.ik=null!=this.i6?this.i6:i.BrushUtil.h(102,0,0,0),this.ih=null!=this.i3?this.i3:i.BrushUtil.h(255,255,255,255),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(255,255,255,255),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,237,239,245),this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,142,143,147),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,142,143,147),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,237,239,245),this.im=null!=this.ja?this.ja:i.BrushUtil.h(25,0,0,0),this.ir=null!=this.je?this.je:i.BrushUtil.h(51,178,191,220),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(255,0,0,0),this.is=null!=this.jf?this.jf:i.BrushUtil.h(255,0,0,0),this.it=null!=this.jg?this.jg:i.BrushUtil.h(255,0,0,0),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,237,239,245),this.b8=i.isNaN_(this.cm)?8:this.cm,this.b9=i.isNaN_(this.cn)?4:this.cn,this.b5=i.isNaN_(this.cj)?0:this.cj,this.b6=i.isNaN_(this.ck)?0:this.ck,this.b7=i.isNaN_(this.cl)?0:this.cl,this.b4=i.isNaN_(this.ci)?0:this.ci,this.b1=i.isNaN_(this.cf)?i.DeviceUtils.g(5):this.cf,this.b2=i.isNaN_(this.cg)?i.DeviceUtils.g(5):this.cg,this.b3=i.isNaN_(this.ch)?i.DeviceUtils.g(10):this.ch,this.b0=i.isNaN_(this.ce)?i.DeviceUtils.g(10):this.ce,this.ak=null!=this.am?this.am:this.v.g(),this.al=null!=this.ao?this.ao:this.v.h(),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,110,137,247),this.bx=i.isNaN_(this.cc)?6:this.cc,this.by=i.isNaN_(this.cd)?1:this.cd,this.iu=null!=this.jh?this.jh:i.BrushUtil.h(255,0,0,0),this.i1=this.jo,this.i2=this.jp,this.ii=this.i4,this.ij=this.i5,this.cs=-1!=this.cu?this.cu:500;break;case 6:case 4:this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,255,255,255),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,255,255,255),this.ik=null!=this.i6?this.i6:i.BrushUtil.h(102,255,255,255),this.ih=null!=this.i3?this.i3:i.BrushUtil.h(255,55,63,86),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(255,55,63,86),this.il=null!=this.i9?this.i9:i.BrushUtil.h(255,44,50,70),this.ip=null!=this.jc?this.jc:i.BrushUtil.h(255,255,255,255),this.io=null!=this.jb?this.jb:i.BrushUtil.h(102,255,255,255),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,44,50,70),this.im=null!=this.ja?this.ja:i.BrushUtil.h(25,0,0,0),this.ir=null!=this.je?this.je:i.BrushUtil.h(25,105,136,255),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(255,255,255,255),this.is=null!=this.jf?this.jf:i.BrushUtil.h(255,255,255,255),this.it=null!=this.jg?this.jg:i.BrushUtil.h(255,255,255,255),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,44,50,70),this.b8=i.isNaN_(this.cm)?8:this.cm,this.b9=i.isNaN_(this.cn)?4:this.cn,this.b5=i.isNaN_(this.cj)?0:this.cj,this.b6=i.isNaN_(this.ck)?0:this.ck,this.b7=i.isNaN_(this.cl)?0:this.cl,this.b4=i.isNaN_(this.ci)?0:this.ci,this.b1=i.isNaN_(this.cf)?i.DeviceUtils.g(5):this.cf,this.b2=i.isNaN_(this.cg)?i.DeviceUtils.g(5):this.cg,this.b3=i.isNaN_(this.ch)?i.DeviceUtils.g(10):this.ch,this.b0=i.isNaN_(this.ce)?i.DeviceUtils.g(10):this.ce,this.ak=null!=this.am?this.am:this.v.g(),this.al=null!=this.ao?this.ao:this.v.h(),this.iq=null!=this.jd?this.jd:i.BrushUtil.h(255,110,137,247),this.bx=i.isNaN_(this.cc)?6:this.cc,this.by=i.isNaN_(this.cd)?1:this.cd,this.iu=null!=this.jh?this.jh:i.BrushUtil.h(255,255,255,255),this.i1=this.jo,this.i2=this.jp,this.ii=this.i4,this.ij=this.i5,this.cs=-1!=this.cu?this.cu:500}},r.prototype.g8=function(t){for(var e=0;e<t.count;e++)t._inner[e].gt(),this.g8(t._inner[e].actions)},r.prototype.g5=function(t){for(var e=0;e<t.count;e++)t._inner[e].gp(this.ad),this.g5(t._inner[e].actions)},r.prototype.g6=function(){null!=this.v.p&&i.NativeUI.m(this.v.v,this.ih)},Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.f8("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ae",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.f8("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ad",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.f8("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i3",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.f8("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ih",{get:function(){return this.ha},set:function(t){var e=this.ha;this.ha=t,e!=this.ha&&this.f8("ActualBackgroundColor",e,this.ha)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jj",{get:function(){return this.h9},set:function(t){var e=this.h9;this.h9=t,e!=this.h9&&this.f8("SubmenuBackgroundColor",e,this.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iw",{get:function(){return this.ho},set:function(t){var e=this.ho;this.ho=t,e!=this.ho&&this.f8("ActualSubmenuBackgroundColor",e,this.ho)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i9",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.f8("GroupHeaderBackgroundColor",e,this.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"il",{get:function(){return this.he},set:function(t){var e=this.he;this.he=t,e!=this.he&&this.f8("ActualGroupHeaderBackgroundColor",e,this.he)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ji",{get:function(){return this.h8},set:function(t){var e=this.h8;this.h8=t,e!=this.h8&&this.f8("SeparatorBackgroundColor",e,this.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iv",{get:function(){return this.hn},set:function(t){var e=this.hn;this.hn=t,e!=this.hn&&this.f8("ActualSeparatorBackgroundColor",e,this.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ja",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.f8("GroupHeaderSeparatorBackgroundColor",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"im",{get:function(){return this.hf},set:function(t){var e=this.hf;this.hf=t,e!=this.hf&&this.f8(r.dd,e,this.hf)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"je",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.f8("HoverBackgroundColor",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ir",{get:function(){return this.hj},set:function(t){var e=this.hj;this.hj=t,e!=this.hj&&this.f8("ActualHoverBackgroundColor",e,this.hj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jl",{get:function(){return this.ib},set:function(t){var e=this.ib;this.ib=t,e!=this.ib&&this.f8("TextColor",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iy",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,e!=this.hq&&this.f8("ActualTextColor",e,this.hq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ix",{get:function(){return this.hp},set:function(t){var e=this.hp;this.hp=t,e!=this.hp&&this.f8("ActualSubtitleTextColor",e,this.hp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jk",{get:function(){return this.ia},set:function(t){var e=this.ia;this.ia=t,e!=this.ia&&this.f8("SubtitleTextColor",e,this.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i6",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.f8("DisabledTextColor",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ik",{get:function(){return this.hd},set:function(t){var e=this.hd;this.hd=t,e!=this.hd&&this.f8("ActualDisabledTextColor",e,this.hd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jc",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.f8("GroupHeaderTextColor",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ip",{get:function(){return this.hh},set:function(t){var e=this.hh;this.hh=t,e!=this.hh&&this.f8("ActualGroupHeaderTextColor",e,this.hh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jb",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.f8("GroupHeaderSubtitleTextColor",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"io",{get:function(){return this.hg},set:function(t){var e=this.hg;this.hg=t,e!=this.hg&&this.f8("ActualGroupHeaderSubtitleTextColor",e,this.hg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jn",{get:function(){return this.id},set:function(t){var e=this.id;this.id=t,e!=this.id&&this.f8("ToolTipTextColor",e,this.id)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i0",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,e!=this.hs&&this.f8("ActualToolTipTextColor",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jm",{get:function(){return this.ic},set:function(t){var e=this.ic;this.ic=t,e!=this.ic&&this.f8("ToolTipBackgroundColor",e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iz",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.f8("ActualToolTipBackgroundColor",e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cm",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.f8("ToolTipCornerRadius",e,this.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b8",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.f8("ActualToolTipCornerRadius",e,this.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cn",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.f8("ToolTipElevation",e,this.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.f8("ActualToolTipElevation",e,this.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.f8("IconFill",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"is",{get:function(){return this.hk},set:function(t){var e=this.hk;this.hk=t,e!=this.hk&&this.f8("ActualIconFill",e,this.hk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.f8("IconStroke",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"it",{get:function(){return this.hl},set:function(t){var e=this.hl;this.hl=t,e!=this.hl&&this.f8("ActualIconStroke",e,this.hl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cj",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.f8("SeparatorVerticalPaddingLeft",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b5",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.f8("ActualSeparatorVerticalPaddingLeft",e,this.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ck",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.f8("SeparatorVerticalPaddingRight",e,this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b6",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.f8("ActualSeparatorVerticalPaddingRight",e,this.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cl",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.f8("SeparatorVerticalPaddingTop",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b7",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.f8("ActualSeparatorVerticalPaddingTop",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ci",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.f8("SeparatorVerticalPaddingBottom",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b4",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.f8("ActualSeparatorVerticalPaddingBottom",e,this.be)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cf",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.f8("SeparatorHorizontalPaddingLeft",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b1",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.f8("ActualSeparatorHorizontalPaddingLeft",e,this.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cg",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.f8("SeparatorHorizontalPaddingRight",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b2",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.f8("ActualSeparatorHorizontalPaddingRight",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ch",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.f8("SeparatorHorizontalPaddingTop",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b3",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.f8("ActualSeparatorHorizontalPaddingTop",e,this.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ce",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.f8("SeparatorHorizontalPaddingBottom",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b0",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.f8("ActualSeparatorHorizontalPaddingBottom",e,this.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"u",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.f8("Orientation",i.enumGetBox(ee,e),i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),r.prototype.gb=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.z&&this.gh(t)},Object.defineProperty(r.prototype,"cx",{get:function(){return null!=this.f?this.f.ec:this.cr},set:function(t){this.cr=t,null!=this.f&&(this.f.ec=this.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bz",{get:function(){return null!=this.f?this.f.c4:-1!=this.cr?this.cr:42},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cd",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.f8("HighlightWidth",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"by",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.f8("ActualHighlightWidth",e,this.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cc",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.f8("HighlightRadius",e,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bx",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.f8("ActualHighlightRadius",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jd",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.f8("HighlightColor",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iq",{get:function(){return this.hi},set:function(t){var e=this.hi;this.hi=t,e!=this.hi&&this.f8("ActualHighlightColor",e,this.hi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jh",{get:function(){return this.h7},set:function(t){var e=this.h7;this.h7=t,e!=this.h7&&this.f8("MenuArrowStroke",e,this.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iu",{get:function(){return this.hm},set:function(t){var e=this.hm;this.hm=t,e!=this.hm&&this.f8("ActualMenuArrowStroke",e,this.hm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jo",{get:function(){return this.ie},set:function(t){var e=this.ie;this.ie=t,e!=this.ie&&this.f8("UncheckedBackgroundColor",e,this.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i1",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.f8("ActualUncheckedBackgroundColor",e,this.ht)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i4",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.f8("CheckedBackgroundColor",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ii",{get:function(){return this.hb},set:function(t){var e=this.hb;this.hb=t,e!=this.hb&&this.f8("ActualCheckedBackgroundColor",e,this.hb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jp",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.f8("UncheckedBorderColor",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i2",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.f8("ActualUncheckedBorderColor",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i5",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.f8("CheckedBorderColor",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ij",{get:function(){return this.hc},set:function(t){var e=this.hc;this.hc=t,e!=this.hc&&this.f8("ActualCheckedBorderColor",e,this.hc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cu",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.f8("DropdownDelay",e,this.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cs",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.f8("ActualDropdownDelay",e,this.co)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.f8("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.w))},enumerable:!1,configurable:!0}),r.prototype.f7=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.gk=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new si).a=t,e))},r.prototype.gl=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new si).a=t,e))},r.prototype.fu=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].e7()},Object.defineProperty(r.prototype,"a0",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].a8)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){this.ac=t},enumerable:!1,configurable:!0}),r.prototype.g7=function(t){this.af=t,0==this.ae&&(this.ad=t)},r.prototype.cy=function(){var t=new ke;t.a=this.f.ef();for(var e=function(e){var n,r=i.actions._inner[e],o=r.e();if(t.b.add1(r.cp()),null!=o){var s=((n=new Se).a=o.af(),n);t.c.add(s)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.ei=function(){return this.cy().serialize()},r.prototype.gr=function(t,e){r.gs(this.p,t,e)},r.gs=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.i7=function(t){return r.i8(this.p,t)},r.i8=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gp=function(t,e){r.gq(this.p,t,e)},r.gq=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.a=function(t){return r.b(this.p,t)},r.b=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gz=function(t,e){r.g0(this.p,t,e)},r.g0=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.ca=function(t){return r.cb(this.p,t)},r.cb=function(t,e){return i.stringIsNullOrEmpty(e)?NaN:r.c0(t,e)},r.prototype.g1=function(t,e){r.g2(this.p,t,e)},r.g2=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.cv=function(t){return r.cw(this.p,t)},r.cw=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.c0(t,e))},r.prototype.g3=function(t,e){r.g4(this.p,t,e)},r.g4=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.ej=function(t){return r.ek(this.p,t)},r.ek=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gn=function(t,e){r.go(this.p,t,e)},r.go=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.ax=function(t){return r.ay(this.p,t)},r.ay=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.c0(t,e)},r.prototype.gt=function(t,e){r.gu(this.p,t,e)},r.gu=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.jq=function(t){return r.jr(this.p,t)},r.jr=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.c0(t,e)},r.prototype.gx=function(t,e){r.gy(this.p,t,e)},r.gy=function(t,e,n){i.stringIsNullOrEmpty(e)||r.gw(t,e,n)},r.prototype.c1=function(t){return r.c2(this.p,t)},r.c2=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c0(t,e)},r.prototype.gv=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.gw=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.cz=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.c0=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.fy=function(){this.v.y()},r.prototype.f2=function(t){null!=this.f&&this.f.fo(t)},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.dd="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),si=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"DrillDownRequestedEventArgs"),n}(i.Base),ai=function(t){function n(e,n){var r=t.call(this)||this;return r.ad=null,r.i=null,r.j=null,r.aa=0,r.p=null,r.a=null,r.d=null,r.g=null,r.a1=null,r.a2=null,r.q=null,r.b=null,r.e=null,r.h=null,r.c=null,r.f=null,r.y=new i.Queue$1(ui.$),r.u=!1,r.s=null,r.r=null,r.w=new i.List$1(hi.$,0),r.n=1,r.z=200,r.t=null,r.ac=0,r.v=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ad=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a1},set:function(t){this.d.d=this.a1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a2},set:function(t){this.g.d=this.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.av("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.z},set:function(t){this.z=t},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var e=this;i.NativeUIComponent.aw(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bn(e.r),e.r.bd=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a5=function(){return null!=this.j?this.j.f():this.s.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.k=function(){return this.j},n.prototype.ag=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.x.count;r++)if(this.x._inner[r].b==t)return void(null!=e&&e(this.x._inner[r].a));i.NativeUIComponent.au(this.ad,13,(function(r){var o=r;o.c=n.o,o.ci=t.q.jl,o.bu=t.q.p,o.b8=t.q.i6,o.b5=t.q.jj,o.cg=t.q.jj,o.b9=t.q.i9,o.cb=t.q.jc,o.cf=t.q.ji,o.bw=t.q.ak,o.cj=t.q.jo,o.ck=t.q.jp,o.b6=t.q.i4,o.b7=t.q.i5,o.ce=t.q.jh,o.cc=t.q.jf,o.cd=t.q.jg,o.ch=t.q.jk,o.ca=t.q.jb,o.bx=t.q.ao,-1!=t.cn&&(o.bz=t.cn),o.bt=t.actions,o.bm=i.runOn(n,n.at),o.bn=i.runOn(n,n.au),o.bs=i.runOn(n,n.ar),n.r.bn(o),n.aa=0;for(var s=0;s<n.x.count;s++){var a=n.x._inner[s].f();n.aa+=a.width,n.x._inner[s].a.ae=a.width}n.r.bu(o,n.aa),n.r.bv(o,0),n.x.add(new hi(t,o,n.aa)),n.ay(),null!=e&&e(o)}))},n.prototype.am=function(t){for(var e=0;e<this.x.count;e++)this.x._inner[e].a==t&&this.ao(e)},n.prototype.ao=function(t){this.an(this.x._inner[t])},n.prototype.an=function(t,e){void 0===e&&(e=null),this.ah(t,-Math.floor(t.c),e),this.j=t},n.prototype.at=function(t,e){var i=this;if(this.ac++,this.x.count>1&&this.ac<this.x.count){for(var n=this.x.count-1;n>this.ac;n--)this.x._inner[n].a.bm=null,this.x._inner[n].a.bn=null,this.r.bp(this.x._inner[n].a),this.aa-=this.x._inner[n].a.ae,this.x.removeAt(n);if(this.x._inner[this.ac].b==e.a)return void this.am(this.x._inner[this.ac].a);this.x._inner[this.ac].a.bm=null,this.x._inner[this.ac].a.bn=null,this.r.bp(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.ae,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.ei&&(t.ap=e.a.ei+"SubMenu"),i.i.executeDelayed((function(){return i.am(t)}),0)}))},n.prototype.au=function(t,e){this.ac=Math.max(0,this.ac-1),this.an(this.x._inner[this.ac],(function(){}))},n.prototype.ar=function(t,e){null!=this.t&&this.t(e)},n.prototype.ah=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.aj(),null==this.r.bd){var s=t.f();return this.s.ae=Math.floor(s.width),void(this.s.y=Math.floor(s.height))}if(1==this.p.playState)this.p.playbackRate>0&&this.a3.j==e||this.p.playbackRate<0&&this.a4.j==e?(this.p.reverse(),this.q.reverse()):this.y.g(((r=new ui).a=t,r.c=e,r.b=n,r));else{this.a3=function(){var t=new i.TranslateTransform;return t.j=o.a4.j,t}(),this.a4=function(){var t=new i.TranslateTransform;return t.j=e,t}();var a=t.f();this.e.d=this.s.ae,this.c.d=this.s.y,this.h.d=Math.floor(a.width),this.f.d=Math.floor(a.height),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){return o.aq(n)})),this.q.updatePlaybackRate(1),this.q.play(),this.q.finished.f((function(t){null!=o.q&&o.q.commitStyles()}))}},n.prototype.aj=function(){if(null==this.p){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.ab,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.r.an,0,null,t),this.a1=((e=new i.TranslateTransform).j=0,e),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.a1),this.g=new i.AnimationKeyFrameProperty(14,this.a2),this.p=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.s.an,0,null,t),this.e=new i.AnimationKeyFrameProperty(9,0),this.c=new i.AnimationKeyFrameProperty(10,0),this.h=new i.AnimationKeyFrameProperty(9,0),this.f=new i.AnimationKeyFrameProperty(10,0),this.q=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.aq=function(t){var e,n=this;if(null!=this.p&&this.p.commitStyles(),null!=t&&t(),this.p.playbackRate<0){var r=this.a4.j;this.a4=((e=new i.TranslateTransform).j=n.a3.j,e),this.a3=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.y.count>0){var o=this.y.b();this.an(o.a,o.b)}},n.prototype.ay=function(){this.v||(this.v=!0,this.i.enqueueAction(i.runOn(this,this.ai)))},n.prototype.ak=function(){this.ai()},n.prototype.ai=function(){if(this.v){this.v=!1;for(var t=0;t<this.x.count;t++){this.x._inner[t].e();var e=this.x._inner[t].f();this.x._inner[t].a.ae=e.width,this.x._inner[t].a.y=e.height,this.x._inner[t].a.b2(e),this.u||(1!=this.q.playState?this.ac==t&&(this.s.ae=e.width,this.s.y=e.height):(this.h.d=Math.floor(e.width),this.f.d=Math.floor(e.height)))}this.u=!1}},n.prototype.az=function(){this.ac=0,this.r.bd=new i.MatrixTransform;var t,e=this.x._inner[0].f();this.s.ae=Math.floor(e.width),this.s.y=Math.floor(e.height),this.a1=((t=new i.TranslateTransform).j=0,t),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.a0=function(t,e){this.n=t;for(var i=0;i<this.x.count;i++){var n=this.x._inner[i].a;n.c=t,n.ci=e.jl,n.b8=e.i6,n.b5=e.jj,n.cg=e.jj,n.b9=e.i9,n.cb=e.jc,n.cf=e.ji}},n.prototype.ap=function(){var t=this.x._inner[this.ac].f();this.x._inner[this.ac].a.ae=t.width,this.x._inner[this.ac].a.y=t.height,this.x._inner[this.ac].d(t),1!=this.q.playState?(this.s.ae=t.width,this.s.y=t.height):(this.h.d=Math.floor(t.width),this.f.d=Math.floor(t.height))},n.prototype.as=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.aw=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.av=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},n.prototype.ax=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.x.count;n++)this.x._inner[n].a.c=this.o}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),hi=function(t){function n(e,i,n){var r=t.call(this)||this;return r.c=0,r.a=null,r.b=null,r.b=e,r.a=i,r.c=n,r}return e.__extends(n,t),n.prototype.f=function(){return this.a.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.b3()},n.prototype.d=function(t){this.a.b2(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),ui=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PanelAnimationRequest"),n}(i.Base),li=function(t){function n(e){var n=t.call(this)||this;if(bi.$type||(bi.$type=i.markType(bi,"IgcToolActionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){bi.$type||(bi.$type=i.markType(bi,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(bi.$type,ze.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=bi._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),ci=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Zt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeOnExecute",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),pi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new fe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"actionId",{get:function(){return this.i.g},set:function(t){this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionType",{get:function(){return this.i.a},set:function(t){this.i.a=i.ensureEnum(i.ToolActionType_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModified",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"boolValue",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numberValue",{get:function(){return this.i.e},set:function(t){this.i.e=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dateTimeValue",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"untypedValue",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stringValue",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),fi=function(t){function n(e){var n=t.call(this)||this;if(pi.$type||(pi.$type=i.markType(pi,"IgcToolActionEventDetail")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){pi.$type||(pi.$type=i.markType(pi,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(pi.$type,fe.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new pi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),di=function(){function t(){this._detailCollection=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ge},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"isAggregate",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detail",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new pi;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detailCollection",{get:function(){if(null===this._detailCollection){var t=new fi,e=this.i.b;e||(e=new be),this._detailCollection=t._fromInner(e),this.i.b=e}return this._detailCollection},set:function(t){null!==this._detailCollection&&(this._detailCollection._setSyncTarget(null),this._detailCollection=null);var e=new fi;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(fe.$type),r=this.i.b;r||(r=new be),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),bi=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._contextBindings=null,e._actions=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return null},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._initializeAdapters=function(){var n=this;this.__observingChildren||(this.__observingChildren=!0,new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&(n.updateContentChildren?n.updateContentChildren():n._initializeAdapters&&n.initializeAdapters())}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(this,{childList:!0}));this._actionsAdapter=new i.CollectionAdapter(this.contentActions,this.i.actions,this.actualActions,(function(t){return t.i}),(function(t){n._initializeElement&&n._initializeElement(t)}),(function(t){n._destroyElement&&n._destroyElement(t)})),t.prototype._initializeAdapters&&t.prototype._initializeAdapters.call(this)},n.prototype._updateAdapters=function(){t.prototype._updateAdapters&&t.prototype._updateAdapters.call(this),this.contentActions.length=0;for(var e=0;e<this.children.length;e++)this.children[e]instanceof n&&this.contentActions.push(this.children[e]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComponent=t}return n._observedAttributesIgcToolActionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a8},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contextBindings",{get:function(){if(null===this._contextBindings){var t=new Qt,e=this.i.contextBindings;e||(e=new ce),this._contextBindings=t._fromInner(e),this.i.contextBindings=e}return this._contextBindings},set:function(t){null!==this._contextBindings&&(this._contextBindings._setSyncTarget(null),this._contextBindings=null);var e=new Qt;this._contextBindings=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Kt.$type),r=this.i.contextBindings;r||(r=new ce),n._inner=r,n.clear(),this._contextBindings._setSyncTarget(n),this.i.contextBindings=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actionId",{get:function(){return this.i.cx},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){return this._actualActions||(this._actualActions=[]),this._actualActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentActions",{get:function(){return this._contentActions||(this._contentActions=[]),this._contentActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new li,n=e._innerColl;this._actions=e,n.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}}))}return this._actions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("width",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("height",this.i.b7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("subPanelRowHeight",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.ep},set:function(t){this.i.ep=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.dk},set:function(t){this.i.dk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.dh},set:function(t){this.i.dh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.ek},set:function(t){this.i.ek=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.dq},set:function(t){this.i.dq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.dm},set:function(t){this.i.dm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.co},set:function(t){this.i.co=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("paddingLeft",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualPaddingLeft",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("paddingRight",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualPaddingRight",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("paddingBottom",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualPaddingBottom",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("paddingTop",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualPaddingTop",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.gz)},set:function(t){this.i.gz=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.gz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.g7)},set:function(t){this.i.g7=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.g7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.gw)},set:function(t){this.i.gw=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.gw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.g4)},set:function(t){this.i.g4=i.stringToBrush(t),this._a("background",i.brushToString(this.i.g4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.g3)},set:function(t){this.i.g3=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.g3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.hb)},set:function(t){this.i.hb=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.hb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.g2)},set:function(t){this.i.g2=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.g2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.ha)},set:function(t){this.i.ha=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.ha))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.gx)},set:function(t){this.i.gx=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.gx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.g5)},set:function(t){this.i.g5=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.g5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.ag?null:this.i.ag.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ag=e,this._a("textStyle",null!=this.i.ag?this.i.ag.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextStyle",{get:function(){return this.i.ac},set:function(t){this.i.ac=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("subtitleTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.a6},set:function(t){this.i.a6=i.ensureBool(t),this._a("isDisabled",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.a7},set:function(t){this.i.a7=i.ensureBool(t),this._a("isHighlighted",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.ei},set:function(t){this.i.ei=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.e1},set:function(t){this.i.e1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.ev},set:function(t){this.i.ev=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.d6},set:function(t){this.i.d6=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.d1},set:function(t){this.i.d1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconViewBoxLeft",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("iconViewBoxTop",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("iconViewBoxWidth",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("iconViewBoxHeight",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.g8)},set:function(t){this.i.g8=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.g8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.g0)},set:function(t){this.i.g0=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.g0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFillColors",{get:function(){return i.fromBrushCollection(this.i.a)},set:function(t){this.i.a=i.toBrushCollection(t),this._a("iconFillColors",i.brushCollectionToString(this.i.a))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.g9)},set:function(t){this.i.g9=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.g9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.g1)},set:function(t){this.i.g1=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.g1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.b)},set:function(t){this.i.b=i.toBrushCollection(t),this._a("iconStrokeColors",i.brushCollectionToString(this.i.b))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeWidth",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("iconStrokeWidth",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("iconWidth",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualIconWidth",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("iconHeight",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("actualIconHeight",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.hc},set:function(t){this.i.hc=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("closeOnExecute",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("highlightWidth",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("actualHighlightWidth",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("highlightRadius",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("actualHighlightRadius",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.g6)},set:function(t){this.i.g6=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.g6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.gy)},set:function(t){this.i.gy=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.gy))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.contextBindings&&this.contextBindings.findByName&&this.contextBindings.findByName(t)?this.contextBindings.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolActionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.openSubMenu=function(){this.i.f8()},n.prototype.closeSubmenu=function(){this.i.e7()},n.prototype.exportVisualData=function(){return this.i.cp()},n.prototype.exportSerializedVisualData=function(){return this.i.dw()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ci;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"performed",{get:function(){return this._performed},set:function(t){var e=this;null!==this._performed_wrapped&&(this.i.performed=i.delegateRemove(this.i.performed,this._performed_wrapped),this._performed_wrapped=null,this._performed=null),this._performed=t,this._performed_wrapped=function(t,i){var n=new di;n._provideImplementation(i),e.beforePerformed&&e.beforePerformed(e,n),e._performed&&e._performed(e,n)},this.i.performed=i.delegateCombine(this.i.performed,this._performed_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComponent=null,n}(i.IgcHTMLElement),gi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new We},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionLabelComponent=t}return n._observedAttributesIgcToolActionLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(bi),yi=function(){function t(){}return t.register=function(){gi.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",gi),i.TypeRegistrar.register("ToolActionLabel",We.$type)},t}(),mi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ze},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxComponent=t}return n._observedAttributesIgcToolActionCheckboxComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.he},set:function(t){this.i.he=i.ensureBool(t),this._a("isChecked",this.i.he)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.hu)},set:function(t){this.i.hu=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ht)},set:function(t){this.i.ht=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.hv)},set:function(t){this.i.hv=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(bi),_i=function(){function t(){}return t.register=function(){mi.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",mi),i.TypeRegistrar.register("ToolActionCheckbox",Ze.$type)},t}(),vi=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),Ci=function(t){function n(e){var n=t.call(this)||this;if(vi.$type||(vi.$type=i.markType(vi,"IgcLayoutPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){vi.$type||(vi.$type=i.markType(vi,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(vi.$type,Ce.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new vi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),ji=function(t){function n(){var e=t.call(this)||this;return e._selectedKeys=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Me},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxListComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxListComponent=t}return n._observedAttributesIgcToolActionCheckboxListComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedMemberPath",{get:function(){return this.i.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.hj},set:function(t){this.i.hj=i.ensureBool(t),this._a("showSelectAll",this.i.hj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.ho},set:function(t){this.i.ho=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.hd},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.hd=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new Ci,e=this.i.he;e||(e=new je),this._selectedKeys=t._fromInner(e),this.i.he=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new Ci;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ce.$type),r=this.i.he;r||(r=new je),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.he=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.hf},set:function(t){this.i.hf=i.ensureEnum(we,t),this._a("indexType",i.enumToString(we,this.i.hf))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(e){var i=t.prototype.findByName.call(this,e);return i||(null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(e)?this.selectedKeys.findByName(e):null)},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(bi),Pi=function(){function t(){}return t.register=function(){ji.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",ji),i.TypeRegistrar.register("ToolActionCheckboxList",Me.$type)},t}(),wi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ye},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionGroupHeaderComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionGroupHeaderComponent=t}return n._observedAttributesIgcToolActionGroupHeaderComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualBackIconColor",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(bi),Oi=function(){function t(){}return t.register=function(){wi.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",wi),i.TypeRegistrar.register("ToolActionGroupHeader",Ye.$type)},t}(),Ti=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ti},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionNumberInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionNumberInputComponent=t}return n._observedAttributesIgcToolActionNumberInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.hf},set:function(t){this.i.hf=+t,this._a("value",this.i.hf)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(bi),Ii=function(){function t(){}return t.register=function(){Ti.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",Ti),i.TypeRegistrar.register("ToolActionNumberInput",ti.$type)},t}(),xi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ri},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"sourceAction",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=bi._createFromInternal(t);e&&(e._implementation=t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cancel",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),ki=function(t){function n(){var e=t.call(this)||this;return e._popupOpening=null,e._popupOpening_wrapped=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Qe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconButtonComponent=t}return n._observedAttributesIgcToolActionIconButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"tooltipDelay",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("tooltipDelay",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("actualTooltipDelay",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.ie},set:function(t){this.i.ie=+t,this._a("contentPaddingLeft",this.i.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.ia},set:function(t){this.i.ia=+t,this._a("actualContentPaddingLeft",this.i.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("contentPaddingTop",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.ic},set:function(t){this.i.ic=+t,this._a("actualContentPaddingTop",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.ig},set:function(t){this.i.ig=+t,this._a("contentPaddingRight",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.ib},set:function(t){this.i.ib=+t,this._a("actualContentPaddingRight",this.i.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("contentPaddingBottom",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.h9},set:function(t){this.i.h9=+t,this._a("actualContentPaddingBottom",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a8},enumerable:!1,configurable:!0}),n.prototype.openSubMenu=function(){this.i.f8()},n.prototype.closeSubmenu=function(){this.i.e7()},n.prototype.exportVisualData=function(){return this.i.cp()},Object.defineProperty(n.prototype,"popupOpening",{get:function(){return this._popupOpening},set:function(t){var e=this;null!==this._popupOpening_wrapped&&(this.i.popupOpening=i.delegateRemove(this.i.popupOpening,this._popupOpening_wrapped),this._popupOpening_wrapped=null,this._popupOpening=null),this._popupOpening=t,this._popupOpening_wrapped=function(t,i){var n=new xi;n._provideImplementation(i),e.beforePopupOpening&&e.beforePopupOpening(e,n),e._popupOpening&&e._popupOpening(e,n)},this.i.popupOpening=i.delegateCombine(this.i.popupOpening,this._popupOpening_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionIconButtonComponent=null,n.htmlTagName="igc-tool-action-icon-button",n._isElementRegistered=!1,n}(bi),Si=function(){function t(){}return t.register=function(){ki.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",ki),i.TypeRegistrar.register("ToolActionIconButton",Qe.$type)},t}(),Ai=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Je},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconMenuComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconMenuComponent=t}return n._observedAttributesIgcToolActionIconMenuComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"arrowStroke",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.j3)},set:function(t){this.i.j3=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.j3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.js},set:function(t){this.i.js=i.ensureBool(t),this._a("showArrowIcon",this.i.js)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cp()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(ki),Ni=function(){function t(){}return t.register=function(){Ai.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",Ai),i.TypeRegistrar.register("ToolActionIconMenu",Je.$type)},t}(),Bi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Xe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSeparatorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSeparatorComponent=t}return n._observedAttributesIgcToolActionSeparatorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"size",{get:function(){return this.i.hf},set:function(t){this.i.hf=+t,this._a("size",this.i.hf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.hd},set:function(t){this.i.hd=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.hd)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(bi),Ri=function(){function t(){}return t.register=function(){Bi.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",Bi),i.TypeRegistrar.register("ToolActionSeparator",Xe.$type)},t}(),Ei=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Fe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSubPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSubPanelComponent=t}return n._observedAttributesIgcToolActionSubPanelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(bi),$i=function(){function t(){}return t.register=function(){Ei.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",Ei),i.TypeRegistrar.register("ToolActionSubPanel",Fe.$type)},t}(),qi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ke},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionRadioComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionRadioComponent=t}return n._observedAttributesIgcToolActionRadioComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"channel",{get:function(){return this.i.hl},set:function(t){this.i.hl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.he},set:function(t){this.i.he=i.ensureBool(t),this._a("isChecked",this.i.he)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.hf},set:function(t){this.i.hf=i.ensureBool(t),this._a("isManual",this.i.hf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hv)},set:function(t){this.i.hv=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(bi),Di=function(){function t(){}return t.register=function(){qi.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",qi),i.TypeRegistrar.register("ToolActionRadio",Ke.$type)},t}(),zi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ge},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonComponent=t}return n._observedAttributesIgcToolActionButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hd},set:function(t){this.i.hd=i.ensureEnum(Te,t),this._a("displayType",i.enumToString(Te,this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hh},set:function(t){this.i.hh=+t,this._a("cornerRadius",this.i.hh)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(bi),Vi=function(){function t(){}return t.register=function(){zi.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",zi),i.TypeRegistrar.register("ToolActionButton",Ge.$type)},t}(),Ui=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ae},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Li=function(t){return t[t.Replace=0]="Replace",t}({}),Mi=i.markEnum("NestedActionMode","Replace,0"),Fi=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.actualActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._contentRefreshed=null,n._contentRefreshed_wrapped=null,n._onCommand=null,n._onCommand_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolPanelContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.actualActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new li;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof bi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new oi},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-tool-panel"),this.classList.add("igc-tool-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualActions.length;e++){this.actualActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolPanelComponent=t}return n._observedAttributesIgcToolPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.a1},set:function(t){this.i.a1=i.ensureBool(t),this._a("showOnHover",this.i.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.a2},set:function(t){this.i.a2=i.ensureBool(t),this._a("showTooltipOnHover",this.i.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("dropdownClickBuffer",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.a3},set:function(t){this.i.a3=i.ensureBool(t),this._a("stopPropagation",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.am?null:this.i.am.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.am=e,this._a("cellTextStyle",null!=this.i.am?this.i.am.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.ao?null:this.i.ao.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ao=e,this._a("subtitleTextStyle",null!=this.i.ao?this.i.ao.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.ae},set:function(t){this.i.ae=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.ae))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.ad))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.ih)},set:function(t){this.i.ih=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.ih))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.jj)},set:function(t){this.i.jj=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.jj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.iw)},set:function(t){this.i.iw=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.iw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.il)},set:function(t){this.i.il=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.il))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.ji)},set:function(t){this.i.ji=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.ji))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.iv)},set:function(t){this.i.iv=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.iv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.im)},set:function(t){this.i.im=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.im))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.ir)},set:function(t){this.i.ir=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.ir))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.jl)},set:function(t){this.i.jl=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.jl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.iy)},set:function(t){this.i.iy=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.iy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.ix)},set:function(t){this.i.ix=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.ix))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.jk)},set:function(t){this.i.jk=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.jk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ik)},set:function(t){this.i.ik=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ik))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.ip)},set:function(t){this.i.ip=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.ip))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.jb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.io)},set:function(t){this.i.io=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.io))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.jn)},set:function(t){this.i.jn=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.jn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jm)},set:function(t){this.i.jm=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.jm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.iz)},set:function(t){this.i.iz=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.iz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("toolTipCornerRadius",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("actualToolTipCornerRadius",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("toolTipElevation",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("actualToolTipElevation",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.is)},set:function(t){this.i.is=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.is))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.jg)},set:function(t){this.i.jg=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.jg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.it)},set:function(t){this.i.it=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.it))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("separatorVerticalPaddingLeft",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.b5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("separatorVerticalPaddingRight",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.b6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("separatorVerticalPaddingTop",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.b7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("separatorVerticalPaddingBottom",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("separatorHorizontalPaddingLeft",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("separatorHorizontalPaddingRight",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("separatorHorizontalPaddingTop",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("separatorHorizontalPaddingBottom",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(ee,t),this._a("orientation",i.enumToString(ee,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("rowHeight",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.bz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("highlightWidth",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualHighlightWidth",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("highlightRadius",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualHighlightRadius",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.iq)},set:function(t){this.i.iq=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.iq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.jh)},set:function(t){this.i.jh=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.jh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.iu)},set:function(t){this.i.iu=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.iu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jo)},set:function(t){this.i.jo=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.jo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ii)},set:function(t){this.i.ii=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.ii))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.jp)},set:function(t){this.i.jp=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.jp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.i5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.ij)},set:function(t){this.i.ij=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.ij))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t,this._a("dropdownDelay",this.i.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("actualDropdownDelay",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(Mi,t),this._a("nestedActionMode",i.enumToString(Mi,this.i.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a0},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.refresh=function(){this.i.gi()},n.prototype.getDesiredSize=function(){var t=this.i.js();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.fz()},n.prototype.closeSubmenus=function(){this.i.fu()},n.prototype.exportVisualData=function(){return this.i.cy()},n.prototype.exportSerializedVisualData=function(){return this.i.ei()},n.prototype.setBrushContextItem=function(t,e){this.i.gr(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.i7(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.gp(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.a(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.gz(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.ca(t)},n.prototype.setIntContextItem=function(t,e){this.i.g1(t,e)},n.prototype.getIntContextItem=function(t){return this.i.cv(t)},n.prototype.setStringContextItem=function(t,e){this.i.g3(t,e)},n.prototype.getStringContextItem=function(t){return this.i.ej(t)},n.prototype.setBoolContextItem=function(t,e){this.i.gn(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.ax(t)},n.prototype.setColorContextItem=function(t,e){this.i.gt(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.jq(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.gx(t,e)},n.prototype.getDataContextItem=function(t){return this.i.c1(t)},Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new Ui;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ci;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolPanelComponent=null,n.htmlTagName="igc-tool-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Hi=function(){function t(){}return t.register=function(){Tt.register(),yi.register(),_i.register(),Pi.register(),Oi.register(),Ii.register(),Si.register(),Ni.register(),Ri.register(),$i.register(),Di.register(),Vi.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),Fi.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Fi),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Fi),i.TypeRegistrar.register("ToolPanel",oi.$type)},t}(),Gi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new oe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Wi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ae},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Ki=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.combinedActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._autoGeneratedActions=null,n._actualActions=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCommand=null,n._onCommand_wrapped=null,n._subMenuOpening=null,n._subMenuOpening_wrapped=null,n._subMenuClosing=null,n._subMenuClosing_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolbarContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.combinedActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new li;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof bi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new ii},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-toolbar"),this.classList.add("igc-toolbar");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.combinedActions.length;e++){this.combinedActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},Object.defineProperty(n.prototype,"target",{get:function(){var t=this.i.target;return t?(null!=t.externalObject&&(t=t.externalObject),t):t},set:function(t){t&&t._implementation&&(t=t._implementation),this.i.target=t},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolbarComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolbarComponent=t}return n._observedAttributesIgcToolbarComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new li,e=this.i.autoGeneratedActions;e||(e=new ei),this._autoGeneratedActions=t._fromInner(e),this.i.autoGeneratedActions=e}return this._autoGeneratedActions},set:function(t){null!==this._autoGeneratedActions&&(this._autoGeneratedActions._setSyncTarget(null),this._autoGeneratedActions=null);var e=new li;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ze.$type),r=this.i.autoGeneratedActions;r||(r=new ei),n._inner=r,n.clear(),this._autoGeneratedActions._setSyncTarget(n),this.i.autoGeneratedActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){if(null===this._actualActions){var t=new li,e=this.i.actualActions;e||(e=new ei),this._actualActions=t._fromInner(e),this.i.actualActions=e}return this._actualActions},set:function(t){null!==this._actualActions&&(this._actualActions._setSyncTarget(null),this._actualActions=null);var e=new li;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ze.$type),r=this.i.actualActions;r||(r=new ei),n._inner=r,n.clear(),this._actualActions._setSyncTarget(n),this.i.actualActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureEnum(le,t),this._a("orientation",i.enumToString(le,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.fk)},set:function(t){this.i.fk=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.fk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.fy)},set:function(t){this.i.fy=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.fy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fp)},set:function(t){this.i.fp=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.fx)},set:function(t){this.i.fx=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.fx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.ft)},set:function(t){this.i.ft=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.ft))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.f0)},set:function(t){this.i.f0=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.f0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.fn)},set:function(t){this.i.fn=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.fn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fr)},set:function(t){this.i.fr=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.f2)},set:function(t){this.i.f2=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.f2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.f1)},set:function(t){this.i.f1=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("toolTipCornerRadius",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("toolTipElevation",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.fu)},set:function(t){this.i.fu=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.fu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.fv)},set:function(t){this.i.fv=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.fv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.ad?null:this.i.ad.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ad=e,this._a("cellTextStyle",null!=this.i.ad?this.i.ad.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("subtitleTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("separatorVerticalPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("separatorVerticalPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("separatorVerticalPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("separatorVerticalPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("separatorHorizontalPaddingLeft",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("separatorHorizontalPaddingRight",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("separatorHorizontalPaddingTop",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("separatorHorizontalPaddingBottom",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureBool(t),this._a("showOnHover",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.at},set:function(t){this.i.at=i.ensureBool(t),this._a("showTooltipOnHover",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("dropdownClickBuffer",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("highlightWidth",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("highlightRadius",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.fs)},set:function(t){this.i.fs=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.fs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.fw)},set:function(t){this.i.fw=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.fw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.f3)},set:function(t){this.i.f3=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.f3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.fl)},set:function(t){this.i.fl=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.fl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.f4)},set:function(t){this.i.f4=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.fm)},set:function(t){this.i.fm=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.fm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("rowHeight",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.fz)},set:function(t){this.i.fz=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.fz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.fq)},set:function(t){this.i.fq=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.fq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.br},set:function(t){this.i.br=+t,this._a("dropdownDelay",this.i.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.au},set:function(t){this.i.au=i.ensureBool(t),this._a("stopPropagation",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ar},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.autoGeneratedActions&&this.autoGeneratedActions.findByName&&this.autoGeneratedActions.findByName(t)?this.autoGeneratedActions.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null!=this.actualActions&&this.actualActions.findByName&&this.actualActions.findByName(t)?this.actualActions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolbarComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.flushRefresh=function(){this.i.dx()},n.prototype.getDesiredSize=function(){var t=this.i.f6();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.du()},n.prototype.onCommandStateChanged=function(t,e,i){this.i.onCommandStateChanged(t,null==e?null:e,i)},n.prototype.registerIconFromText=function(t,e,i){this.i.ee(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.cm(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.eg(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.ed(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.cl(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.ef(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.b4(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.ej(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.fo(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.ei(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.b(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.en(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.a9(t)},n.prototype.setIntContextItem=function(t,e){this.i.eu(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.ba(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.es(t,e)},n.prototype.getIntContextItem=function(t){return this.i.bt(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.et(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bs(t)},n.prototype.setStringContextItem=function(t,e){this.i.ev(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cn(t)},n.prototype.setBoolContextItem=function(t,e){this.i.eh(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.aq(t)},n.prototype.setColorContextItem=function(t,e){this.i.ek(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.f5(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.em(t,e)},n.prototype.getDataContextItem=function(t){return this.i.bz(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.er(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.b3(t)},n.prototype.exportVisualData=function(){return this.i.bx()},n.prototype.exportSerializedVisualData=function(){return this.i.ck()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new ci;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuOpening",{get:function(){return this._subMenuOpening},set:function(t){var e=this;null!==this._subMenuOpening_wrapped&&(this.i.subMenuOpening=i.delegateRemove(this.i.subMenuOpening,this._subMenuOpening_wrapped),this._subMenuOpening_wrapped=null,this._subMenuOpening=null),this._subMenuOpening=t,this._subMenuOpening_wrapped=function(t,i){var n=new Gi;n._provideImplementation(i),e.beforeSubMenuOpening&&e.beforeSubMenuOpening(e,n),e._subMenuOpening&&e._subMenuOpening(e,n)},this.i.subMenuOpening=i.delegateCombine(this.i.subMenuOpening,this._subMenuOpening_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuClosing",{get:function(){return this._subMenuClosing},set:function(t){var e=this;null!==this._subMenuClosing_wrapped&&(this.i.subMenuClosing=i.delegateRemove(this.i.subMenuClosing,this._subMenuClosing_wrapped),this._subMenuClosing_wrapped=null,this._subMenuClosing=null),this._subMenuClosing=t,this._subMenuClosing_wrapped=function(t,i){var n=new Wi;n._provideImplementation(i),e.beforeSubMenuClosing&&e.beforeSubMenuClosing(e,n),e._subMenuClosing&&e._subMenuClosing(e,n)},this.i.subMenuClosing=i.delegateCombine(this.i.subMenuClosing,this._subMenuClosing_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolbarComponent=null,n.htmlTagName="igc-toolbar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Xi=function(){function t(){}return t.register=function(){Hi.register(),Ki.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Ki),i.TypeRegistrar.registerCons("IgcToolbarComponent",Ki),i.TypeRegistrar.register("Toolbar",ii.$type)},t}(),Qi=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),Yi=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),Ji=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),n}(i.Base),Zi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDataBindingEventArgs"),n}(i.Base),tn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.f=0,e.g=0,e.a=0,e.h=0,e.j=null,e.cellUpdating=null,e.dataBinding=null,e}return e.__extends(n,t),n.prototype.i=function(t,e,i){if(null!=this.dataBinding){var n=new Zi;return n.b=t,n.a=e,n.c=i,this.dataBinding(this,n),n.b}return t},n.prototype.e=function(t,e,i){if(null!=this.cellUpdating){var n=new Ji;return n.a=t,n.b=e,n.c=i,this.cellUpdating(this,n),n.a}return t},n.$t=i.markType(n,"PropertyEditorPanelColumnDefinition"),n}(i.Base),en=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._label=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"label",{get:function(){return this._label},set:function(t){this._label=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPanelComboBoxBridgeItem"),n}(i.Base),nn=function(t){function n(e,n,r){var o=t.call(this)||this;o.b=new i.DescriptionTreeNode,o.e=new i.List$1(i.DataSeriesToDescriptionCustomization.$,0),o.c=null,o.d=!1,o.c=e,o.b=new i.DescriptionTreeNode,o.b.i=n,o.d=r;new i.JsonDictionaryObject;return o}return e.__extends(n,t),n.prototype.a=function(){return this.e.toArray()},n.prototype.k=function(t,e,i){null!=t&&this.f(t,-1,e,this.b,i,null)},n.prototype.f=function(t,n,r,o,s,a){if(null==t)return null;var h=i.stringSplit(t,[".","["],0),u=h[0],l=h.length>1,c=!1,p=new i.List$1(i.Number_$type,0),f=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){c=!0;for(var d=(u=i.stringReplace(u,"]","")).split(","),b=0;b<d.length;b++){var g=d[b];if(i.stringContains(g,"as")){var y=g.indexOf("as"),m=g.substr(0,y).trim(),_=g.substr(y+2).trim();"*"==m.trim()?(p.add(-1),f.add(_)):(p.add(parseInt(m)),f.add(_)),s=_,u=m}}}var v=null;if(v=c?a:this.c.getMetadata(s,u),l)if(c)for(var C=o.b,j=0;j<p.count;j++){u=p._inner[j].toString();var P=f._inner[j],w=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),O=!1;-1==w&&(O=!0,w=0);for(var T=new i.List$1(i.Base.$,0),I=0;I<=w;I++)if(null!=C&&I<C.length){var x=C[I];null!==i.typeCast(i.DescriptionTreeNode.$,x)&&I==w&&(x.i=P),T.add1(x)}else{var k=this.g(a,!0,P);null!=k&&T.add1(k)}var S=(C=T.toArray())[w],A=new i.List$1(i.String_$type,1,h);A.removeAt(0);var N=v.collectionElementType;null!=P&&(N=P);var B=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(A.toArray()),!1)),O?-1:w,r,S,N,v);null!=B&&(C[w]=B),o.b=C}else{var R=o;R.c(u)||R.o(u,this.g(v,!1,null),v);var E=R.a(u),$=new i.List$1(i.String_$type,1,h);$.removeAt(0);var q=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read($.toArray()),!1)),-1,r,E,v.specificExternalType,v);null!=q&&R.o(u,q,v)}else{null!==i.typeCast(i.DescriptionPropertyValue.$,o)&&(o=o.b);var D=o,z=this.h(r,v);if(this.d){var V=new i.DataSeriesToDescriptionCustomization;V.matchType=s,V.propertyName=u,-1!=n&&(V.matchParentIndex=n),V.propertyValue=z,this.e.add(V)}D.o(u,z,v)}return null},n.prototype.i=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.h=function(t,e){if(null==e)return null;if(null==t)return 1==e.knownType&&"double"==e.specificExternalType?NaN:null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 23:case 9:return t;case 5:return t.toString();case 16:case 20:case 22:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},n.prototype.g=function(t,e,n){if(e||10!=t.knownType&&9!=t.knownType){var r=new i.DescriptionTreeNode;return r.i=null!=n?n:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},n.prototype.j=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.t(this.c,this.b,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),rn=function(t){function n(){var e,n=t.call(this)||this;return n.n=null,n.m=null,n.a=null,n.i=null,n.l=null,n.e=null,n.k=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.aa=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.j=null,n}return e.__extends(n,t),n.prototype.p=function(){return this.i},n.prototype.v=function(){},n.prototype.t=function(t){var e=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),i.NativeUIComponent.au(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.an.setStyleProperty("width","100%"),i.an.setStyleProperty("height","100%"),e.i.append(i.an)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},n.prototype.y=function(){},n.prototype.x=function(){this.i},n.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new i.Size(1,t,e),null!=this.a.l&&(this.a.cj(),this.a.l.b3(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cr),i.NativeUI.m(e,this.a.co))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.y(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},n.$t=i.markType(n,"PropertyEditorPanelView"),n}(i.Base),on=function(t){function n(){var e=t.call(this)||this;e.p=null,e.l=null,e.v=null,e.ac=!1,e.ad=!1,e.z=null,e.propertyChanged=null,e.aj=!1,e.q=null,e.r=new Dt,e.aw=-1,e.n=0,e.au=i.DeviceUtils.g(38),e.w=null,e.a1=null,e.d=null,e.ar=null,e.k=null,e.ai=!1,e.aq=new i.Dictionary$2(i.String_$type,Rt.$,0),e.at=null,e.a5=null,e.ah=!0,e.ab=!1,e.g=null,e.h=null,e.e=null,e.a0=null,e.a6=null,e.ae=!1,e.ag=!1,e.af=!1,e.cm=n.cp,e.cn=n.cq,e.ay=0,e.ax=-1,e.m=null,i.NativeUIInputsFactory.n(),Ne.g(),e.at=new i.ObservableCollection$1(tn.$,0);var r=new rn;r.a=e,e.p=r,e.p.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.ca)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"aa",{get:function(){return null==this.z&&(this.z=new i.SRProvider(this.p.i),this.z.cb("Layouts")),this.z},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.bx))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.bx))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.an(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),null!=this.d&&this.d.notifyClearItems(),this.b5()},n.prototype.b5=function(){this.aj||null!=this.l&&this.cj()},n.prototype.bx=function(t,e){this.aj||(this.an(),null!=this.l&&this.cj())},n.prototype.notifySizeChanged=function(){this.p.s()},n.prototype.bw=function(t,e){if(this.l=t,null!=this.l){if(this.l.bs=i.runOn(this,this.b9),this.cl(),null!=this.actualProperties){this.a1=this.actualProperties;var n=this.actualProperties;n=this.actualProperties.toArray();var r=new i.LocalDataSource;r.dataSource=n,this.d=r,this.br()}null!=this.actualProperties&&this.cj()}},n.prototype.b9=function(t,e){if(this.aj=!0,this.aq.containsKey(e.a.commandId)){var i=this.aq.item(e.a.commandId);this.b3(i,e)}this.aj=!1},n.prototype.b3=function(t,e){switch(t.w){case 0:break;case 19:case 1:this.ch(t,e),this.b7(t);break;case 11:case 12:case 13:case 14:case 2:case 3:case 4:case 5:case 6:case 23:this.ci(t,e),this.b7(t);break;case 7:this.ce(t,e),this.b7(t);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:break;case 15:this.cg(t,e),this.b7(t);break;case 20:this.cf(t,e);break;default:return}},n.prototype.cf=function(t,e){t.a6()},n.prototype.cg=function(t,e){var i=e.a.argumentsList[0].value;if(null!=i&&i.length>0){var n=i[0];t.ar=n,t.aa=!0,t.a5()}else t.ar=null,t.aa=!0,t.a5()},n.prototype.ce=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ci=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ch=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.cl=function(){null!=this.l&&(this.ak&&this.am?this.l.bu=2:this.ak?this.l.bu=1:this.l.bu=0)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.p.t(t)},n.prototype.b4=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.b6("ActualProperties",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.b6("Properties",e,this.r)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.b6("RowHeight",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b6("UpdateMode",i.enumGetBox(Yi,e),i.enumGetBox(Yi,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.au},set:function(t){this.au=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.b6("CellTextStyle",e,this.w)},enumerable:!1,configurable:!0}),n.prototype.y=function(){return null==this.x?this.p.d():this.x},n.prototype.b6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cb(t,e,n)},n.prototype.cb=function(t,e,n){switch(t){case"DescriptionType":null==this.be&&null==this.properties&&(this.actualProperties=null),null!=this.be&&(null==this.m&&(this.m=new Bt),this.m.n=this.be),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"ComponentRenderer":null!=e&&this.ab&&(this.ab=!1,e.removeTargetPropertyUpdatingListener(i.runOn(this,this.ap))),e!=n&&(this.ah=!0),null==this.f?this.i=this.j:this.i=this.f.context;break;case"Target":null!=i.ComponentRenderer.defaultInstance&&null==this.f&&(this.f=i.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.f&&(this.i=n);break;case"ActualContext":null==this.i&&null==this.properties&&(this.actualProperties=null),null!=this.i&&(null==this.m&&(this.m=new Bt),this.m.b=this.i),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.cl(),this.cj();break;case"IsHorizontal":this.cl();break;case"ActualProperties":if(null!=this.l){var r=this.a1!=this.actualProperties;this.a1=this.actualProperties;var o=this.actualProperties;o=this.actualProperties.toArray();var s=new i.LocalDataSource;if(s.dataSource=o,this.d=s,this.br(),null!=this.d){var a=this.d;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.b8))}r&&this.cj()}break;case"RowHeight":null!=this.l&&(this.av=this.az);break;case"CellTextStyle":this.cd();break;case"BackgroundColor":case"TextColor":this.cd()}},n.prototype.an=function(){var t,n,r=this.aj;this.aj=!0;var o=!1;try{for(var s=e.__values(i.fromEnum(this.properties)),a=s.next();!a.done;a=s.next()){var h=a.value,u=h.a3;if(null!=this.m){var l=this.m.e(u,!1);null!=l&&h.z(l)&&(o=!0)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return o?this.cj():null!=this.l&&this.cd(),this.aj=r,o},n.prototype.cd=function(){this.ai||null==this.k||(this.ai=!0,this.k.enqueueAction(i.runOn(this,this.bt)))},n.prototype.bt=function(){if(this.aq.clear(),this.ai=!1,null==this.ar&&(this.ar=new i.List$1(i.List$1.$.specialize(i.NativeUIComponent.$),0)),null!=this.d){for(var t=this.d.actualCount,e=new ei,n=0;n<t;n++){var r=this.d.getItemAtIndex(n),o=this.u(r);null!=o&&e.add(o)}this.ck(e)}},n.prototype.ck=function(t){this.l.bt=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(en.$,0),n=function(i){var n;e.add(((n=new en).label=t[i],n))},r=0;r<t.length;r++)n(r);return e},n.prototype.c=function(t){return t.c},n.prototype.bm=function(t){return null!=t.az?t.az:null!=t.a3?t.a3:t.az},n.prototype.u=function(t){var e=t,n=null;switch(e.w){case 0:break;case 19:case 1:var r=new ti;r.hf=null!=e.ar?e.ar:NaN,r.e1=this.bm(e),n=r,null!=e.a4&&(n.ev=e.a4);break;case 4:case 5:var o=new Ve;o.hj=i.CSSColorUtil.g(e.ar),o.e1=this.bm(e),n=o,null!=e.a4&&(n.ev=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new He;s.hf=e.ar,s.e1=this.bm(e),n=s,null!=e.a4&&(n.ev=e.a4);break;case 7:var a=new Ze;a.he=null!=e.ar&&e.ar,a.e1=this.bm(e),n=a,null!=e.a4&&(n.ev=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new Ue;h.itemsSource=this.a4(this.c(e)),h.e1=this.bm(e),n=h,null!=e.a4&&(n.ev=e.a4),null!=e.ar&&(h.hd=new me,h.hd.add1(e.ar));break;case 20:var u=new Ge;u.e1=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.e1=e.ar),n=u,null!=e.a4&&(n.ev=e.a4);break;case 24:var l=new Xe;l.hf=5,n=l;break;case 25:(n=new Ye).e1=this.bm(e),null!=e.a4&&(n.ev=e.a4);break;default:return null}var c=this.bl(e.a3);if(null==c&&(c=e.a0),null==c){var p=this.aj;this.aj=!0,e.a0=i.Guid.newGuid().toString(),c=e.a0,this.aj=p}return null==n?null:(n.ei=this.be+"_"+c,this.aq.item(n.ei,e),n)},n.prototype.bl=function(t){return null==t?null:i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(t,".","__dot__"),"[","__ob__"),"]","__cb__")," ","__sp__"),"*","__star__")},n.prototype.b8=function(t,e){this.ad=!0,this.br(),this.ad=!1},n.prototype.cj=function(){null!=this.l&&(this.cd(),this.p.r())},n.prototype.cs=function(){return null!=this.l?this.l.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)):new i.Size(1,0,0)},n.prototype.a2=function(t){return t.i},n.prototype.b7=function(t){var e=this;if(null!=this.a3&&null!=this.f)if(2==this.o){var n=this.a(),r=this.a2(this.a3);null!==i.typeCast(i.IAcceptsDataSeriesToDescriptionCustomizations_$type,r)&&r.onCustomizationsChanged(n)}else{this.ah&&(this.ab=!0,this.ah=!1,this.f.addTargetPropertyUpdatingListener(i.runOn(this,this.ap)));var o=null==this.a5;this.a5=this.bg(),o?this.p.q(this.a3,(function(t){return e.f.loadJsonOverlay(e.a5,(function(e){return t}),(function(t){return e.a3}))})):this.p.q(this.a3,(function(t){return e.f.loadJsonDelta(e.a5,(function(e){return t}),!1)}))}},n.prototype.a=function(){var t=this.actualProperties,e=new nn(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new nn(t,e,!0);return n.bv(i,"",r,e),r.a()},n.prototype.ap=function(t,e,i){for(var n=this.actualProperties,r=0;r<n.count;r++){var o=n._inner[r].a3;this.ao(o,t)&&n._inner[r].a9(t,e,i)}return!!this.al},n.prototype.ao=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var n=i.stringSplit(t,[".","["],0),r=i.stringSplit(e,[".","["],0);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var s=n[o],a=r[o];if(i.stringContains(s,"]")){if(!i.stringContains(a,"]"))return!1;if(a=i.stringReplace(a,"]",""),!this.as(s).contains(a))return!1}else if(!i.Base.equalsStatic(s,a))return!1}return!0},n.prototype.as=function(t){var e=new i.List$1(i.String_$type,0);if(i.stringContains(t,"]")){for(var n=(t=i.stringReplace(t,"]","")).split(","),r=0;r<n.length;r++){var o=n[r];if(i.stringContains(o,"as")){var s=o.indexOf("as"),a=o.substr(0,s).trim();e.add(a)}}return e}return e.add(t),e},n.prototype.bg=function(){if(null==this.actualProperties)return null;var t=this.actualProperties,e=new nn(this.i,this.be,!1);return this.bu(t,"",e,this.be),e.j()},n.prototype.bu=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r],s=o.ac,a=o.w,h=o.m,u=o.i,l=o.ar;if(s&&(a=o.v,h=o.l,u=o.h,l=o.ap),20!=a&&25!=a&&24!=a)if(null!=h&&h.count>0)for(var c=0;c<h.count;c++){var p=h._inner[c],f=e+o.a3+"["+c+"]";this.bu(p.a,f,i,p.b)}else if(null!=u){var d=e+o.a3;this.bu(u.a,d,i,u.b)}else{if(15==a&&null==l)continue;i.k(e+o.a3,l,n)}}},n.bv=function(t,e,r,o){for(var s=0;s<t.length;s++){var a=t[s],h=a.useCoercedValue,u=a.valueType,l=a.complexValues,c=a.complexValue,p=a.primitiveValue;h&&(u=a.coercedValueType,l=a.coercedComplexValues,c=a.coercedComplexValue,p=a.coercedPrimitiveValue);var f=0;if(20!=(f=i.EnumUtil.tryParse$1(kt,u,!0,f).p2)&&25!=f&&24!=f)if(null!=l&&l.length>0)for(var d=0;d<l.length;d++){var b=l[d],g=e+a.propertyPath+"["+d+"]";n.bv(b.properties,g,r,b.descriptionType)}else if(null!=c){var y=e+a.propertyPath;n.bv(c.properties,y,r,c.descriptionType)}else r.k(e+a.propertyPath,p,o)}},n.prototype.b1=function(t,e,i){null!=this.l&&this.cd()},n.prototype.by=function(){null!=this.l&&this.cd()},n.prototype.bz=function(t,e){null!=this.l&&this.cd()},n.prototype.b0=function(t,e){null!=this.l&&this.cd()},Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.b6("ActualContext",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.b6("DescriptionContext",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,this.b6("ComponentRenderer",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,this.b6("Target",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,this.b6("DescriptionType",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.b6("IsHorizontal",e,this.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.b6("IsWrappingEnabled",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.b6("IsIndirectModeEnabled",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.b6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.b6("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.br=function(){var t=this.d;if(null!=t){if(null==t.actualSchema)return void(this.ax=-1);var e=t.actualCount;this.ax=e}else this.ax=-1},n.$t=i.markType(n,"PropertyEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.cp=i.BrushUtil.h(255,248,248,248),n.cq=i.BrushUtil.h(255,24,29,31),n}(i.Base),sn=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentProperties=[],n.actualProperties=[],n._properties=null,n._propertiesAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._actualDataSource=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("propertyEditorContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._propertiesAdapter=new i.CollectionAdapter(n.contentProperties,n.i.properties,n.actualProperties,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new zt;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex),t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof Gt&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new on},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPanelComponent=t}return n._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new zt,e=this.i.actualProperties;e||(e=new Dt),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new zt;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.actualProperties;r||(r=new Dt),n._inner=r,n.clear(),this._actualDataSource._setSyncTarget(n),this.i.actualProperties=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("rowHeight",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateMode",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(Yi,t),this._a("updateMode",i.enumToString(Yi,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("actualRowHeight",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.x?null:this.i.x.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.x=e,this._a("cellTextStyle",null!=this.i.x?this.i.x.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionContext",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderer",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"target",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionType",{get:function(){return this.i.be},set:function(t){this.i.be=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHorizontal",{get:function(){return this.i.ak},set:function(t){this.i.ak=i.ensureBool(t),this._a("isHorizontal",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isWrappingEnabled",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureBool(t),this._a("isWrappingEnabled",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndirectModeEnabled",{get:function(){return this.i.al},set:function(t){this.i.al=i.ensureBool(t),this._a("isIndirectModeEnabled",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.co)},set:function(t){this.i.co=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.co))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.cr)},set:function(t){this.i.cr=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.cr))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actualDataSource&&this.actualDataSource.findByName&&this.actualDataSource.findByName(t)?this.actualDataSource.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.notifySetItem=function(t,e,i){this.i.b1(t,e,i)},n.prototype.notifyClearItems=function(){this.i.by()},n.prototype.notifyInsertItem=function(t,e){this.i.bz(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.b0(t,e)},n._observedAttributesIgcPropertyEditorPanelComponent=null,n.htmlTagName="igc-property-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),an=function(){function t(){}return t.register=function(){Wt.register(),Xi.register(),sn.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",sn),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",sn),i.TypeRegistrar.register("PropertyEditorPanel",on.$type)},t}(),hn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),un=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),ln=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),cn=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),pn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",mt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",E.$type)},t}(),fn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIContentRefreshedEventArgs"),n}(i.Base),dn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",vi),i.TypeRegistrar.register("LayoutPrimaryKeyValue",Ce.$type)},t}(),bn=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),gn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ve},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionColorEditorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionColorEditorComponent=t}return n._observedAttributesIgcToolActionColorEditorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("value",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(bi),yn=function(){function t(){}return t.register=function(){gn.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",gn),i.TypeRegistrar.register("ToolActionColorEditor",Ve.$type)},t}(),mn=function(t){function n(){var e=t.call(this)||this;return e._selectedValues=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ue},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComboComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComboComponent=t}return n._observedAttributesIgcToolActionComboComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayMemberPath",{get:function(){return this.i.hh},set:function(t){this.i.hh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.hl},set:function(t){this.i.hl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new bn,e=this.i.hd;e||(e=new me),this._selectedValues=t._fromInner(e),this.i.hd=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new bn;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.hd;r||(r=new me),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.hd=r},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(bi),_n=function(){function t(){}return t.register=function(){mn.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",mn),i.TypeRegistrar.register("ToolActionCombo",Ue.$type)},t}(),vn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Le},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonPairComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonPairComponent=t}return n._observedAttributesIgcToolActionButtonPairComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"leftIsSelected",{get:function(){return this.i.h0},set:function(t){this.i.h0=i.ensureBool(t),this._a("leftIsSelected",this.i.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.h3},set:function(t){this.i.h3=i.ensureBool(t),this._a("rightIsSelected",this.i.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.hz},set:function(t){this.i.hz=i.ensureBool(t),this._a("leftIsDisabled",this.i.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.h2},set:function(t){this.i.h2=i.ensureBool(t),this._a("rightIsDisabled",this.i.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.iw},set:function(t){this.i.iw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.iq},set:function(t){this.i.iq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.hy},set:function(t){this.i.hy=i.ensureBool(t),this._a("isToggleDisabled",this.i.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.is},set:function(t){this.i.is=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.h9},set:function(t){this.i.h9=+t,this._a("leftIconViewBoxLeft",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.ia},set:function(t){this.i.ia=+t,this._a("leftIconViewBoxTop",this.i.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.ib},set:function(t){this.i.ib=+t,this._a("leftIconViewBoxWidth",this.i.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.h8},set:function(t){this.i.h8=+t,this._a("leftIconViewBoxHeight",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.jz)},set:function(t){this.i.jz=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.jz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hf)},set:function(t){this.i.hf=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.j0)},set:function(t){this.i.j0=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.j0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hg)},set:function(t){this.i.hg=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.h7},set:function(t){this.i.h7=+t,this._a("leftIconStrokeWidth",this.i.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.i7},set:function(t){this.i.i7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.jf},set:function(t){this.i.jf=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.i9},set:function(t){this.i.i9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.jb},set:function(t){this.i.jb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.ie},set:function(t){this.i.ie=+t,this._a("rightIconViewBoxLeft",this.i.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.ig},set:function(t){this.i.ig=+t,this._a("rightIconViewBoxTop",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("rightIconViewBoxWidth",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("rightIconViewBoxHeight",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.j1)},set:function(t){this.i.j1=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.j1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hh)},set:function(t){this.i.hh=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.hh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.j2)},set:function(t){this.i.j2=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.j2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.jy)},set:function(t){this.i.jy=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.jy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hi)},set:function(t){this.i.hi=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.ic},set:function(t){this.i.ic=+t,this._a("rightIconStrokeWidth",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.jq},set:function(t){this.i.jq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hj},set:function(t){this.i.hj=i.ensureEnum(ve,t),this._a("displayType",i.enumToString(ve,this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.h4},set:function(t){this.i.h4=+t,this._a("cornerRadius",this.i.h4)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(bi),Cn=function(){function t(){}return t.register=function(){vn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",vn),i.TypeRegistrar.register("ToolActionButtonPair",Le.$type)},t}(),jn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new He},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionTextInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionTextInputComponent=t}return n._observedAttributesIgcToolActionTextInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.hf},set:function(t){this.i.hf=t},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(bi),Pn=function(){function t(){}return t.register=function(){jn.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",jn),i.TypeRegistrar.register("ToolActionTextInput",He.$type)},t}(),wn=new i.Type(null,"IExternalToolbar"),On=new i.Type(null,"IToolbarView"),Tn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.c=function(){n.a||(n.a=!0,n.b("Search","m22.241 24-7.414-7.414c-1.559 1.169-3.523 1.875-5.652 1.885h-.002c-.032 0-.07.001-.108.001-5.006 0-9.065-4.058-9.065-9.065 0-.038 0-.076.001-.114v.006c0-5.135 4.163-9.298 9.298-9.298s9.298 4.163 9.298 9.298c-.031 2.129-.733 4.088-1.904 5.682l.019-.027 7.414 7.414zm-12.942-21.487c-3.72.016-6.73 3.035-6.73 6.758 0 3.732 3.025 6.758 6.758 6.758s6.758-3.025 6.758-6.758c0-1.866-.756-3.555-1.979-4.778-1.227-1.223-2.92-1.979-4.79-1.979-.006 0-.012 0-.017 0h.001z"),n.b("ZoomIn","M 19.4758 12.1587 H 14.6339 V 7.3169 c 0 -0.6834 -0.5539 -1.2375 -1.2375 -1.2375 s -1.2375 0.5541 -1.2375 1.2375 v 4.8419 H 7.3171 c -0.6836 0 -1.2375 0.5541 -1.2375 1.2375 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 H 12.1589 v 4.8421 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 s 1.2375 -0.5541 1.2375 -1.2375 V 14.6337 h 4.8419 c 0.6836 0 1.2375 -0.5541 1.2375 -1.2375 C 20.7133 12.7128 20.1594 12.1587 19.4758 12.1587 z"),n.b("ZoomOut","M 26.5087 10.4222 H 8.0865 c -1.0355 0 -1.875 0.8395 -1.875 1.875 c 0 1.0355 0.8395 1.875 1.875 1.875 h 18.4222 c 1.0355 0 1.875 -0.8395 1.875 -1.875 C 28.3837 11.2617 27.5443 10.4222 26.5087 10.4222 z"),n.b("Reset","M 13.5 21 A 9 9 90 1 0 4.5 12 v 4.65 L 1.8 13.95 L 0.75 15 l 4.5 4.5 l 4.5 -4.5 l -1.05 -1.05 L 6 16.65 V 12 H 6 A 7.5 7.5 90 1 1 13.5 19.5 Z"),n.b("CursorPointer","M 6.8243 23.7538 l -6.765 -22.44 c -0.26 -0.75 0.365 -1.545 1.3 -1.25 l 22.435 6.77 c 0.865 0.26 0.975 1.575 0.105 1.925 l -10.67 4.48 l -4.475 10.675 C 8.4192 24.7638 7.1193 24.6688 6.8243 23.7538 z M 2.5543 2.5638 l 5.415 17.91 l 3.54 -8.435 c 0.105 -0.26 0.31 -0.47 0.52 -0.52 l 8.43 -3.54 L 2.5543 2.5638 z"),n.b("CursorHand","M 17.0635 6.0452 c -0.0739 0 -0.1351 0.0044 -0.2088 0.0129 c -0.3164 0.0368 -0.6158 0.1516 -0.8408 0.3239 v -0.3899 c 0 -0.9837 -0.7223 -1.8096 -1.6807 -1.9211 c -0.0737 -0.0086 -0.1484 -0.013 -0.2225 -0.013 c -0.3922 -0.0001 -0.7664 0.1184 -1.0826 0.3386 c -0.0692 -0.9163 -0.7661 -1.6623 -1.6753 -1.7681 c -0.0737 -0.0086 -0.1478 -0.0103 -0.2218 -0.0103 h -0.0004 h -0.0003 c -0.5074 0 -0.9852 0.1955 -1.3454 0.5557 c -0.3318 0.3318 -0.5263 0.7622 -0.5547 1.2249 c -0.2483 -0.1739 -0.5402 -0.2902 -0.8582 -0.3272 c -0.0737 -0.0086 -0.1487 -0.0133 -0.2226 -0.0133 c -0.5074 -0.0001 -1.0137 0.1981 -1.3739 0.5582 c -0.3601 0.3601 -0.587 0.8377 -0.587 1.3451 v 6.453 l -0.4143 -0.4183 c -0.3557 -0.3503 -0.8125 -0.5429 -1.3141 -0.5429 c -0.5066 0 -0.9748 0.1966 -1.3318 0.5534 c -0.7214 0.7214 -0.7343 1.885 -0.0458 2.6266 l 4.0409 5.3272 l 0.087 1.1449 c 0.0515 0.6854 0.6307 1.2223 1.318 1.2223 l 7.3853 -0.0059 c 0.6604 -0.0008 1.223 -0.4949 1.3089 -1.1492 l 0.1791 -1.3637 c 0.5668 -0.9173 0.9584 -2.1335 1.2204 -3.6171 c 0.2288 -1.2955 0.3166 -2.8331 0.3166 -4.5701 v -3.6732 C 18.9389 6.8991 18.1132 6.0452 17.0635 6.0452 z M 16.3305 21.0554 c -0.0275 0.2095 -0.2059 0.374 -0.4172 0.3742 l -7.3838 0.0137 c -0.0002 0 -0.0004 0 -0.0006 0 c -0.2203 0 -0.4035 -0.1777 -0.4201 -0.3975 l -0.1058 -1.4123 c -0.0001 -0.0008 -0.0003 -0.0034 -0.0008 -0.004 l -4.2301 -5.5802 c -0.3864 -0.3864 -0.3864 -1.0192 0 -1.4056 c 0.1932 -0.1932 0.4479 -0.2901 0.7025 -0.2901 c 0.2547 0 0.5094 0.0965 0.7026 0.2897 l 1.1905 1.1241 c 0.0928 0.0876 0.1758 0.1268 0.2852 0.1268 c 0.2375 0 0.4358 -0.1853 0.4358 -0.4624 V 5.9616 c 0 -0.5519 0.4802 -1.0036 1.0322 -1.0036 c 0.0391 0 0.0733 0.0023 0.1133 0.0069 c 0.5108 0.0595 0.8796 0.5129 0.8796 1.0271 v 5.1461 c 0 0.2671 0.2173 0.4837 0.4845 0.4837 c 0.2705 0 0.4905 -0.2193 0.4905 -0.4898 V 4.5165 c 0 -0.552 0.4706 -1.0036 1.0225 -1.0036 c 0.039 0 0.0782 0.0023 0.1181 0.007 c 0.5108 0.0594 0.8845 0.5129 0.8845 1.0271 v 6.5847 c 0 0.2707 0.2203 0.4904 0.4911 0.4904 c 0.2669 0 0.4839 -0.2164 0.4839 -0.4832 V 5.9616 c 0 -0.5519 0.4609 -1.0036 1.0129 -1.0036 c 0.039 0 0.0829 0.0023 0.1228 0.0069 c 0.5108 0.0595 0.8893 0.5129 0.8893 1.0271 v 5.1282 c 0 0.2771 0.2254 0.498 0.5024 0.498 h 0.0083 c 0.256 0 0.4643 -0.2039 0.4643 -0.4599 v -3.1792 c 0 -0.5142 0.3739 -0.9676 0.8846 -1.0271 c 0.0399 -0.0047 0.0511 -0.0069 0.0902 -0.0069 c 0.5519 0 0.9752 0.4516 0.9752 1.0036 v 3.6732 c 0 3.1371 -0.3524 6.0358 -1.4787 7.79 c -0.0342 0.0533 -0.0427 0.113 -0.051 0.1758 L 16.3305 21.0554 z"),n.b("OptionDots","M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0-6a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0z"),n.b("OptionCog","M 21.7966 14.096 c -0.0701 -0.3878 -0.5044 -0.7946 -0.8726 -0.9345 l -0.9919 -0.3765 c -0.3682 -0.1399 -0.6371 -0.4639 -0.6191 -0.7256 c 0.0109 -0.1564 0.0173 -0.3142 0.0173 -0.4736 c 0 -0.1065 -0.003 -0.2122 -0.0079 -0.3172 c -0.0086 -0.1751 0.2696 -0.4474 0.6289 -0.609 l 0.8962 -0.4028 c 0.3592 -0.162 0.7954 -0.5869 0.8227 -0.9799 c 0.024 -0.3484 -0.0176 -0.8235 -0.243 -1.4119 c -0.2621 -0.6866 -0.6878 -1.1269 -1.0421 -1.3942 c -0.3146 -0.2374 -0.9086 -0.2231 -1.2679 -0.0611 l -0.78 0.351 c -0.3592 0.1616 -0.8528 0.0446 -1.1344 -0.231 c -0.0664 -0.0653 -0.1335 -0.1286 -0.2025 -0.1909 c -0.2918 -0.2644 -0.4387 -0.75 -0.2985 -1.1186 l 0.3071 -0.8107 c 0.1399 -0.3682 0.138 -0.9728 -0.1207 -1.2694 c -0.2381 -0.273 -0.6161 -0.5921 -1.2056 -0.8554 c -0.6615 -0.2955 -1.2548 -0.3041 -1.6811 -0.2396 c -0.3896 0.0592 -0.7954 0.4991 -0.9353 0.867 l -0.3548 0.9341 c -0.1399 0.3682 -0.2993 0.6656 -0.3559 0.6641 c -0.0345 -0.0015 -0.0686 -0.0019 -0.1028 -0.0019 c -0.2333 0 -0.4642 0.0112 -0.6923 0.0338 c -0.381 0.0375 -0.816 -0.1901 -0.9776 -0.5494 l -0.4215 -0.9375 c -0.1616 -0.3596 -0.5767 -0.8287 -0.9709 -0.8351 c -0.3435 -0.006 -0.8276 0.0784 -1.476 0.3855 c -0.7027 0.3334 -1.1141 0.6532 -1.3541 0.9139 c -0.267 0.2891 -0.2078 0.906 -0.0457 1.2652 l 0.5554 1.236 c 0.1616 0.3592 0.096 0.8498 -0.1215 1.1171 c -0.2171 0.2677 -0.6698 0.3874 -1.038 0.2479 l -1.3493 -0.5119 c -0.3682 -0.1399 -0.9937 -0.1785 -1.2772 0.096 c -0.2468 0.2389 -0.5295 0.6409 -0.771 1.3162 c -0.261 0.7328 -0.3251 1.2495 -0.3112 1.6035 c 0.0158 0.3938 0.4939 0.7879 0.8625 0.9278 l 1.647 0.6251 c 0.3682 0.1399 0.6683 0.4665 0.6896 0.7279 c 0.0206 0.2621 -0.2381 0.6038 -0.5974 0.7657 l -1.6432 0.7388 c -0.3592 0.1616 -0.8291 0.5771 -0.8351 0.9709 c -0.0056 0.3435 0.0788 0.828 0.3855 1.4756 c 0.3337 0.7027 0.6532 1.1141 0.9139 1.3541 c 0.2899 0.2674 0.9064 0.2078 1.2656 0.0461 l 1.7618 -0.792 c 0.3592 -0.162 0.7785 -0.1545 0.9469 0.0049 s 0.2006 0.5779 0.0607 0.9465 L 6.7786 19.475 c -0.1399 0.3682 -0.1785 0.9937 0.096 1.2765 c 0.2393 0.2471 0.6409 0.5302 1.3162 0.7714 c 0.7328 0.2614 1.2499 0.3255 1.6039 0.3116 c 0.3938 -0.0158 0.7875 -0.4943 0.9274 -0.8625 l 0.6349 -1.6725 c 0.1399 -0.3682 0.3968 -0.6532 0.5741 -0.6446 c 0.1065 0.0053 0.2137 0.0079 0.3214 0.0079 c 0.0503 0 0.0998 -0.0004 0.1492 -0.0019 c 0.0821 -0.0026 0.2801 0.2858 0.4417 0.6454 l 0.7361 1.6365 c 0.1616 0.3592 0.6019 0.7448 0.9949 0.7642 c 0.4204 0.021 1.0009 -0.0232 1.6612 -0.2752 c 0.6319 -0.2419 0.9971 -0.6015 1.2071 -0.9158 c 0.219 -0.3274 0.1455 -0.9439 -0.0165 -1.3031 l -0.6023 -1.3399 c -0.1616 -0.3592 -0.0634 -0.8216 0.1976 -1.059 c 0.2599 -0.2374 0.75 -0.3375 1.1179 -0.1973 l 1.287 0.4886 c 0.3682 0.1399 0.99 0.1834 1.3043 -0.0544 c 0.2767 -0.21 0.5966 -0.5587 0.8554 -1.1378 C 21.8964 15.218 21.8806 14.5614 21.7966 14.096 z M 11.9244 16.9213 c -2.9415 0 -5.3254 -2.3839 -5.3254 -5.325 s 2.3839 -5.325 5.3254 -5.325 c 2.9407 0 5.325 2.3839 5.325 5.325 C 17.2497 14.5374 14.8651 16.9213 11.9244 16.9213 z"),n.b("CheveronDown","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronLeft","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronRight","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronUp","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("Close","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"))},n.b=function(t,e){i.SvgIconRegistry.instance.addSvgPathString("default",t,e)},n.$t=i.markType(n,"ToolbarIconManager"),n.a=!1,n}(i.Base),In=new i.Type(null,"IExternalToolPanel"),xn=new i.Type(null,"IToolPanelView"),kn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ie},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),t}(),Sn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new pe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),An=new i.Type(null,"IExternalListPanel"),Nn=new i.Type(null,"IListPanelView"),Bn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=null,e.c=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelDataBindingEventArgs"),n}(i.Base),Rn=new i.Type(null,"IListPanelViewportManager"),En=new i.Type(null,"IPropertyEditorPanelView"),$n=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),qn=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),Dn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDropDownDataListItem"),n}(i.Base),zn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Bt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ComboEditor=v,t.ComboEditorBridge=Yt,t.ComboEditorCloneDataSourceFilterOperation=hn,t.ComboEditorCloneDataSourceFilterOperation_$type=un,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=g,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=ln,t.ComboEditorSelectedItemChangeType_$type=cn,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=_,t.ComboEditorVisualModelExport=b,t.DrillDownRequestedEventArgs=si,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.IExternalListPanel_$type=An,t.IExternalToolPanel_$type=In,t.IExternalToolbar_$type=wn,t.IListPanelView_$type=Nn,t.IListPanelViewportManager_$type=Rn,t.INativeUIToolPanelBridge_$type=Jt,t.INativeUIToolbarBridge_$type=re,t.IPropertyEditorPanelView_$type=En,t.IToolPanelView_$type=xn,t.IToolbarView_$type=On,t.IgcComboEditorComponent=T,t.IgcComboEditorGotFocusEventArgs=w,t.IgcComboEditorLostFocusEventArgs=O,t.IgcComboEditorModule=It,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=P,t.IgcLayoutPrimaryKeyValue=vi,t.IgcLayoutPrimaryKeyValueModule=dn,t.IgcLayoutSelectedItemsCollection=bn,t.IgcLayoutSelectedKeysCollection=Ci,t.IgcListPanelActiveRowChangedEventArgs=gt,t.IgcListPanelComponent=Ot,t.IgcListPanelContentRebindEventArgs=wt,t.IgcListPanelContentRecycledEventArgs=Pt,t.IgcListPanelContentRefreshedEventArgs=ct,t.IgcListPanelItemEventArgs=bt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=Tt,t.IgcListPanelPrimaryKeyValue=mt,t.IgcListPanelPrimaryKeyValueModule=pn,t.IgcListPanelSelectedItemsChangedEventArgs=jt,t.IgcListPanelSelectedItemsCollection=Ct,t.IgcListPanelSelectedKeysChangedEventArgs=vt,t.IgcListPanelSelectedKeysCollection=_t,t.IgcListPanelSelectionChangedEventArgs=yt,t.IgcListPanelTemplateHeightRequestedEventArgs=ft,t.IgcListPanelTemplateItemUpdatingEventArgs=lt,t.IgcListPanelTemplateWidthRequestedEventArgs=pt,t.IgcOnCollapsedEventArgs=l,t.IgcOnExpandedEventArgs=u,t.IgcPropertyEditorDataSource=zn,t.IgcPropertyEditorDescriptionObject=Vt,t.IgcPropertyEditorDescriptionObjectCollection=Ut,t.IgcPropertyEditorPanelComponent=sn,t.IgcPropertyEditorPanelModule=an,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=Lt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Mt,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Ht,t.IgcPropertyEditorPropertyDescriptionCollection=zt,t.IgcPropertyEditorPropertyDescriptionComponent=Gt,t.IgcPropertyEditorPropertyDescriptionModule=Wt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Ft,t.IgcToolActionButtonComponent=zi,t.IgcToolActionButtonModule=Vi,t.IgcToolActionButtonPairComponent=vn,t.IgcToolActionButtonPairModule=Cn,t.IgcToolActionCheckboxComponent=mi,t.IgcToolActionCheckboxListComponent=ji,t.IgcToolActionCheckboxListModule=Pi,t.IgcToolActionCheckboxModule=_i,t.IgcToolActionCollection=li,t.IgcToolActionColorEditorComponent=gn,t.IgcToolActionColorEditorModule=yn,t.IgcToolActionComboComponent=mn,t.IgcToolActionComboModule=_n,t.IgcToolActionComponent=bi,t.IgcToolActionEventDetail=pi,t.IgcToolActionEventDetailCollection=fi,t.IgcToolActionGroupHeaderComponent=wi,t.IgcToolActionGroupHeaderModule=Oi,t.IgcToolActionIconButtonComponent=ki,t.IgcToolActionIconButtonModule=Si,t.IgcToolActionIconMenuComponent=Ai,t.IgcToolActionIconMenuModule=Ni,t.IgcToolActionLabelComponent=gi,t.IgcToolActionLabelModule=yi,t.IgcToolActionNumberInputComponent=Ti,t.IgcToolActionNumberInputModule=Ii,t.IgcToolActionPerformedEventArgs=di,t.IgcToolActionPopupOpeningEventArgs=xi,t.IgcToolActionRadioComponent=qi,t.IgcToolActionRadioModule=Di,t.IgcToolActionSeparatorComponent=Bi,t.IgcToolActionSeparatorModule=Ri,t.IgcToolActionSubPanelComponent=Ei,t.IgcToolActionSubPanelModule=$i,t.IgcToolActionTextInputComponent=jn,t.IgcToolActionTextInputModule=Pn,t.IgcToolCommandEventArgs=ci,t.IgcToolContextBinding=Xt,t.IgcToolContextBindingCollection=Qt,t.IgcToolPanelComponent=Fi,t.IgcToolPanelContentRefreshedEventArgs=Ui,t.IgcToolPanelContextChangedEventArgs=kn,t.IgcToolPanelContextSwappedEventArgs=Sn,t.IgcToolPanelModule=Hi,t.IgcToolbarComponent=Ki,t.IgcToolbarModule=Xi,t.IgcToolbarSubMenuClosingEventArgs=Wi,t.IgcToolbarSubMenuOpeningEventArgs=Gi,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=Ce,t.LayoutSelectedItemsCollection=me,t.LayoutSelectedKeysCollection=je,t.ListPanel=et,t.ListPanelActivationManager=ht,t.ListPanelActivationMode=S,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=H,t.ListPanelColumnDefinition=Q,t.ListPanelContentRebindEventArgs=U,t.ListPanelContentRecycledEventArgs=V,t.ListPanelContentRefreshedEventArgs=G,t.ListPanelDataBindingEventArgs=Bn,t.ListPanelDataSourceNotificationBridge=nt,t.ListPanelItemEventArgs=st,t.ListPanelItemModel=ot,t.ListPanelItemPresenter=W,t.ListPanelItemVisualData=Y,t.ListPanelLayoutPanel=rt,t.ListPanelOrientation=q,t.ListPanelOrientation_$type=D,t.ListPanelPrimaryKeyValue=E,t.ListPanelRowRange=Z,t.ListPanelScrollerKeyboardListener=dt,t.ListPanelSelectedItemsChangedEventArgs=L,t.ListPanelSelectedItemsCollection=R,t.ListPanelSelectedKeysChangedEventArgs=M,t.ListPanelSelectedKeysCollection=$,t.ListPanelSelectionBehavior=N,t.ListPanelSelectionBehavior_$type=B,t.ListPanelSelectionChangedEventArgs=F,t.ListPanelSelectionManager=at,t.ListPanelSelectionMode=x,t.ListPanelSelectionMode_$type=k,t.ListPanelTemplateHeightRequestedEventArgs=X,t.ListPanelTemplateItemUpdatingEventArgs=it,t.ListPanelTemplateWidthRequestedEventArgs=K,t.ListPanelView=tt,t.ListPanelViewportChangedEventArgs=z,t.ListPanelVisualData=J,t.ListPanelVisualModel=I,t.NativeUIContentRefreshedEventArgs=fn,t.NativeUILayoutFactory=Ne,t.NativeUIToolPanel=qe,t.NativeUIToolbar=De,t.NativeUIToolbarSubMenuClosingEventArgs=he,t.NativeUIToolbarSubMenuOpeningEventArgs=se,t.NestedActionMode=Li,t.NestedActionMode_$type=Mi,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=ui,t.PanelInfo=hi,t.PropertyEditorDataSource=Bt,t.PropertyEditorDescriptionObject=$t,t.PropertyEditorDescriptionObjectCollection=qt,t.PropertyEditorPanel=on,t.PropertyEditorPanelColumnDefinition=tn,t.PropertyEditorPanelColumnFieldType_$type=qn,t.PropertyEditorPanelColumnType_$type=$n,t.PropertyEditorPanelComboBoxBridgeItem=en,t.PropertyEditorPanelDataBindingEventArgs=Zi,t.PropertyEditorPanelDropDownDataListItem=Dn,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=Ji,t.PropertyEditorPanelUpdateMode=Qi,t.PropertyEditorPanelUpdateMode_$type=Yi,t.PropertyEditorPanelView=rn,t.PropertyEditorPropertyDescription=Rt,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=St,t.PropertyEditorPropertyDescriptionChangedEventArgs=At,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=Et,t.PropertyEditorPropertyDescriptionCollection=Dt,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Nt,t.PropertyEditorTreeTransformer=nn,t.PropertyEditorValueType=xt,t.PropertyEditorValueType_$type=kt,t.ToolAction=ze,t.ToolActionButton=Ge,t.ToolActionButtonDisplayType=Oe,t.ToolActionButtonDisplayType_$type=Te,t.ToolActionButtonGroupDisplayType=_e,t.ToolActionButtonGroupDisplayType_$type=ve,t.ToolActionButtonPair=Le,t.ToolActionCheckbox=Ze,t.ToolActionCheckboxList=Me,t.ToolActionCheckboxListIndexType=Pe,t.ToolActionCheckboxListIndexType_$type=we,t.ToolActionCollection=ei,t.ToolActionColorEditor=Ve,t.ToolActionCombo=Ue,t.ToolActionEventDetail=fe,t.ToolActionEventDetailCollection=be,t.ToolActionGroupHeader=Ye,t.ToolActionIconButton=Qe,t.ToolActionIconMenu=Je,t.ToolActionIconMenuVisualData=xe,t.ToolActionLabel=We,t.ToolActionMeasurementContext=de,t.ToolActionNumberInput=ti,t.ToolActionPerformedEventArgs=ge,t.ToolActionPopupOpeningEventArgs=ri,t.ToolActionRadio=Ke,t.ToolActionSeparator=Xe,t.ToolActionSubPanel=Fe,t.ToolActionTextInput=He,t.ToolActionVisualData=ye,t.ToolCommandEventArgs=Zt,t.ToolContextBinding=Kt,t.ToolContextBindingCollection=ce,t.ToolPanel=oi,t.ToolPanelContentRefreshedEventArgs=Ae,t.ToolPanelContext=ne,t.ToolPanelContextChangedEventArgs=ie,t.ToolPanelContextSwappedEventArgs=pe,t.ToolPanelDropdownMenuVisualData=Se,t.ToolPanelOrientation=te,t.ToolPanelOrientation_$type=ee,t.ToolPanelView=$e,t.ToolPanelVisualData=ke,t.ToolPanelsPresenter=ai,t.Toolbar=ii,t.ToolbarContextAccessor=ni,t.ToolbarIconManager=Tn,t.ToolbarOrientation=ue,t.ToolbarOrientation_$type=le,t.ToolbarSubMenuClosingEventArgs=ae,t.ToolbarSubMenuOpeningEventArgs=oe,t.ToolbarView=Ee,t.TooltipTextPresenter=Ie,t.XExpansionPanel=h,t.XToolPanelBridge=Be,t.XToolbarBridge=Re,Object.defineProperty(t,"__esModule",{value:!0})}));
7
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,i,n){"use strict";var r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return t.getNativeElement().checked},n.b=function(t,e){t.getNativeElement().checked=e},n.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},n.$t=i.markType(n,"ExpansionPanelUtilities"),n}(i.Base),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnCollapsedEventArgs",i.EventArgs.$),n}(i.EventArgs),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnExpandedEventArgs",i.EventArgs.$),n}(i.EventArgs),a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},n.prototype.y=function(t){this.q=t,this.ab()},n.prototype.z=function(t){this.g=t},n.prototype.aa=function(){},n.prototype.af=function(t){var e=this.k;this.p=t;var n=e.createElement("div");this.p.append(n),this.v(n);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var s=e.createElement("div");r.append(s),this.o=e.createElement("label"),s.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),n.setStyleProperty("display","flex"),n.setStyleProperty("justify-content","center"),n.setStyleProperty("flex-direction","column"),n.setStyleProperty("margin","0px 10px 0px 10px"),n.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",i.runOn(this,this.w)),this.p.listen("keydown",i.runOn(this,this.x))},n.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var i=t.componentRef;e.f=i.i,e.f.fill=n.al,e.ag()}),!1)},n.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},n.prototype.ad=function(t){this.k;this.m=t},n.prototype.w=function(t){t.originalEvent.target;this.h.a2()},n.prototype.x=function(t){var e=i.BaseDOMEventProxy.c0(t),n=r.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==n&&(this.h.au(),t.preventDefault());break;case 15:1==n&&(this.h.ar(),t.preventDefault())}},n.$t=i.markType(n,"ExpansionPanelView"),n.al=i.BrushUtil.h(255,33,150,243),n.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",n.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",n}(i.Base),h=function(t){function n(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.ag=i.stringEmpty(),e.be=null,e.a5=n.bt,e.bc=null,e.bd=null,e.p=-1,e.o=n.r,e.m=!0,e.bf=null,e.a6=n.bu,e.bg=null,e.bh=null,e.a8=n.bw,e.a7=n.bv,e.a3=n.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(n,t),n.prototype.aw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},Object.defineProperty(n.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var i=this.m;this.m=t;var n=this.h(this.m),r=this.i(this.m),a=this.j(this.m),h=this.k(this.m),u=this.l(this.m);n.play(),r.play(),a.play(),h.play(),u.play(),n.finished.f((function(t){return n.commitStyles()})),r.finished.f((function(t){return r.commitStyles()})),a.finished.f((function(t){return a.commitStyles()})),h.finished.f((function(t){return h.commitStyles()})),u.finished.f((function(t){u.commitStyles(),e.aw("Expanded",i,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new s):null!=e.onCollapsed&&e.onCollapsed(e,new o))}))}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.aw("HeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.aw("ActualHeaderBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.aw("HeaderCollapsedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.aw("HeaderExpandedBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.aw("ActualUmbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.aw("ActualPenumbraShadowColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.aw("ActualAmbientShadowColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.f=function(){return new a},n.prototype.ax=function(t,e,i){switch(t){case"CaptionTextColor":case"CaptionExpandedTextColor":case"CaptionCollapsedTextColor":case"DescriptionTextColor":case"DescriptionExpandedTextColor":case"DescriptionCollapsedTextColor":case"HeaderBackgroundColor":case"HeaderCollapsedBackgroundColor":case"HeaderExpandedBackgroundColor":case"Expanded":var r=this.bl,o=this.b4(),s=this.bj,a=this.b0(),h=this.bk,u=this.b2();r!=o||s!=a||h!=u?(this.bl=o,this.bj=a,this.bk=u):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?n.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},n.prototype.h=function(t){var n=this.bj,r=this.b1(t),o=t?this.b():this.a(),s=this.g.a(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.i=function(t){var n=this.bk,r=this.b3(t),o=t?this.b():this.a(),s=this.g.b(o),a=[new i.AnimationKeyFrameProperty(7,n)],h=[new i.AnimationKeyFrameProperty(7,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.j=function(t){var n=this.bl,r=this.b5(t),o=t?this.b():this.a(),s=this.g.c(o),a=[new i.AnimationKeyFrameProperty(2,n)],h=[new i.AnimationKeyFrameProperty(2,r)];return s.m.apply(s,e.__spreadArray([],e.__read(a),!1)),s.m.apply(s,e.__spreadArray([],e.__read(h),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.k=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?-n:0,o=t?0:-n,s=t?0:1,a=t?1:0,h=t?this.b():this.a(),u=new i.TranslateTransform;u.k=r;var l=new i.TranslateTransform;l.k=o;var c=this.g.d(h),p=[new i.AnimationKeyFrameProperty(14,u),new i.AnimationKeyFrameProperty(1,s)],f=[new i.AnimationKeyFrameProperty(14,l),new i.AnimationKeyFrameProperty(1,a)];return c.m.apply(c,e.__spreadArray([],e.__read(p),!1)),c.m.apply(c,e.__spreadArray([],e.__read(f),!1)),i.KeyFrameAnimationFactory.f.c(c)},n.prototype.l=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?0:n,o=t?n:0,s=t?this.b():this.a(),a=this.g.e(s),h=[new i.AnimationKeyFrameProperty(10,r)],u=[new i.AnimationKeyFrameProperty(10,o)];return a.m.apply(a,e.__spreadArray([],e.__read(h),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.a=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.b=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.at=function(){this.g.u()},n.prototype.b0=function(){return this.b1(this.n)},n.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:n.bs},n.prototype.b2=function(){return this.b3(this.n)},n.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:n.bt},n.prototype.b4=function(){return this.b5(this.n)},n.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:n.bu},n.prototype.ar=function(){this.n=!1},n.prototype.destroy=function(){this.provideRenderer(null)},n.prototype.au=function(){this.n=!0},n.prototype.notifySizeChanged=function(){},n.prototype.provideHeader=function(t){this.g.af(t)},n.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},n.prototype.provideContentAreaInner=function(t){this.g.ad(t)},n.prototype.provideRenderer=function(t){this.g.ac(t)},n.prototype.a2=function(){this.n=!this.n},n.$t=i.markType(n,"XExpansionPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.bs=i.BrushUtil.h(188,0,0,0),n.bt=i.BrushUtil.h(188,0,0,0),n.r=2,n.bu=i.BrushUtil.h(255,245,245,245),n.bw=i.BrushUtil.h(66,0,0,0),n.bv=i.BrushUtil.h(30,0,0,0),n.br=i.BrushUtil.h(20,0,0,0),n}(i.Base),u=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new s},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),l=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new o},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),c=function(t){function n(){var n=t.call(this)||this;n._implementation=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCollapsed=null,n._onCollapsed_wrapped=null,n._onExpanded=null,n._onExpanded_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._portalManager=new i.PortalManager("iconContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._mainDiv=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._mainDiv);var r=n._webComponentRenderer.createElement("div");r.setAttribute("key","expansionPanelHeaderArea");var o=n._webComponentRenderer.createElement("div");o.setAttribute("key","expansionPanelContentAreaOuter");var s=n._webComponentRenderer.createElement("div");return s.setAttribute("key","expansionPanelContentAreaInner"),o.append(s),n._mainDiv.append(r),n._mainDiv.append(o),new MutationObserver((function(t){var i,a;try{for(var h=e.__values(t),u=h.next();!u.done;u=h.next()){if("childList"==u.value.type)for(var l=0;l<n.childNodes.length;l++){var c=n.childNodes[l];c!=n._mainDiv.getNativeElement()&&c!==r.getNativeElement()&&c!==o.getNativeElement()&&c!==s.getNativeElement()&&(c.remove(),s.append(n._webComponentRenderer.getWrapper(c)))}}}catch(t){i={error:t}}finally{try{u&&!u.done&&(a=h.return)&&a.call(h)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n.i.provideRenderer(n._webComponentRenderer),n.i.provideHeader(n._webComponentRenderer.getWrapper(r)),n.i.provideContentAreaOuter(n._webComponentRenderer.getWrapper(o)),n.i.provideContentAreaInner(n._webComponentRenderer.getWrapper(s)),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new h},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},n.prototype.afterContentInit=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXExpansionPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXExpansionPanelComponent=t}return n._observedAttributesIgcXExpansionPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionTextColor",{get:function(){return i.brushToString(this.i.bq)},set:function(t){this.i.bq=i.stringToBrush(t),this._a("captionTextColor",i.brushToString(this.i.bq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCaptionTextColor",{get:function(){return i.brushToString(this.i.bj)},set:function(t){this.i.bj=i.stringToBrush(t),this._a("actualCaptionTextColor",i.brushToString(this.i.bj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bo)},set:function(t){this.i.bo=i.stringToBrush(t),this._a("captionCollapsedTextColor",i.brushToString(this.i.bo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionExpandedTextColor",{get:function(){return i.brushToString(this.i.bp)},set:function(t){this.i.bp=i.stringToBrush(t),this._a("captionExpandedTextColor",i.brushToString(this.i.bp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionTextColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("descriptionTextColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionTextColor",{get:function(){return i.brushToString(this.i.bk)},set:function(t){this.i.bk=i.stringToBrush(t),this._a("actualDescriptionTextColor",i.brushToString(this.i.bk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bx)},set:function(t){this.i.bx=i.stringToBrush(t),this._a("descriptionCollapsedTextColor",i.brushToString(this.i.bx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionExpandedTextColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("descriptionExpandedTextColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerBackgroundColor",{get:function(){return i.brushToString(this.i.b6)},set:function(t){this.i.b6=i.stringToBrush(t),this._a("headerBackgroundColor",i.brushToString(this.i.b6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.bl)},set:function(t){this.i.bl=i.stringToBrush(t),this._a("actualHeaderBackgroundColor",i.brushToString(this.i.bl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerCollapsedBackgroundColor",{get:function(){return i.brushToString(this.i.b7)},set:function(t){this.i.b7=i.stringToBrush(t),this._a("headerCollapsedBackgroundColor",i.brushToString(this.i.b7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerExpandedBackgroundColor",{get:function(){return i.brushToString(this.i.b8)},set:function(t){this.i.b8=i.stringToBrush(t),this._a("headerExpandedBackgroundColor",i.brushToString(this.i.b8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.bn)},set:function(t){this.i.bn=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.bn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.bm)},set:function(t){this.i.bm=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.bm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.bi)},set:function(t){this.i.bi=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.bi))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("XExpansionPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.collapse=function(){this.i.ar()},n.prototype.expand=function(){this.i.au()},n.prototype.toggle=function(){this.i.a2()},Object.defineProperty(n.prototype,"onCollapsed",{get:function(){return this._onCollapsed},set:function(t){var e=this;null!==this._onCollapsed_wrapped&&(this.i.onCollapsed=i.delegateRemove(this.i.onCollapsed,this._onCollapsed_wrapped),this._onCollapsed_wrapped=null,this._onCollapsed=null),this._onCollapsed=t,this._onCollapsed_wrapped=function(t,i){var n=new l;n._provideImplementation(i),e.beforeOnCollapsed&&e.beforeOnCollapsed(e,n),e._onCollapsed&&e._onCollapsed(e,n)},this.i.onCollapsed=i.delegateCombine(this.i.onCollapsed,this._onCollapsed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onExpanded",{get:function(){return this._onExpanded},set:function(t){var e=this;null!==this._onExpanded_wrapped&&(this.i.onExpanded=i.delegateRemove(this.i.onExpanded,this._onExpanded_wrapped),this._onExpanded_wrapped=null,this._onExpanded=null),this._onExpanded=t,this._onExpanded_wrapped=function(t,i){var n=new u;n._provideImplementation(i),e.beforeOnExpanded&&e.beforeOnExpanded(e,n),e._onExpanded&&e._onExpanded(e,n)},this.i.onExpanded=i.delegateCombine(this.i.onExpanded,this._onExpanded_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcXExpansionPanelComponent=null,n.htmlTagName="igc-x-expansion-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),p=function(){function t(){}return t.register=function(){c.register(),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.registerCons("IgcXExpansionPanelComponent",c),i.TypeRegistrar.register("XExpansionPanel",h.$type)},t}(),f=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldText",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newText",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorTextChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),d=function(t){function n(e,i){var n=t.call(this)||this;return n.d=null,n.b=null,n.d=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"oldValue",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"newValue",{get:function(){return this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ComboEditorValueChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),b=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.i=0,e.b=null,e.n=0,e.as=null,e.ar=null,e.j=0,e._dropDownButtonVisible=!1,e.o=0,e.y=null,e.c=null,e.ab=null,e.ac=null,e.ad=null,e.t=0,e.z=null,e.aa=null,e._actualLabelVisible=!1,e._actualNoMatchesFoundLabel=null,e.d=null,e.e=null,e.ag=null,e.ah=null,e.ai=null,e.u=0,e.ae=null,e.af=null,e.aj=null,e._rowSeparatorsVisible=!1,e.f=null,e.ao=null,e.ap=null,e.aq=null,e.v=0,e.am=null,e.an=null,e.g=null,e.p=0,e.h=null,e.q=0,e.r=0,e.s=0,e.al=null,e.w=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"dropDownButtonVisible",{get:function(){return this._dropDownButtonVisible},set:function(t){this._dropDownButtonVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLabelVisible",{get:function(){return this._actualLabelVisible},set:function(t){this._actualLabelVisible=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualNoMatchesFoundLabel",{get:function(){return this._actualNoMatchesFoundLabel},set:function(t){this._actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowSeparatorsVisible",{get:function(){return this._rowSeparatorsVisible},set:function(t){this._rowSeparatorsVisible=t},enumerable:!1,configurable:!0}),n.prototype.ak=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualBaseTheme : "+this.i+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.n+", "),t.l("actualContentPadding : { left: "+this.as.left+",top: "+this.as.top+",right: "+this.as.right+",bottom: "+this.as.bottom+"},"),t.l("actualDensity : "+this.j+", "),t.l("dropDownButtonVisible : "+this.dropDownButtonVisible+", "),t.l("actualFocusUnderlineOpacity : "+this.o+", "),t.l('label : "'+this.y+'", '),t.l("actualLabelTextColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.ab)||t.l('labelFontStyle : "'+this.ab+'", '),i.stringIsNullOrEmpty(this.ac)||t.l('labelFontVariant : "'+this.ac+'", '),i.stringIsNullOrEmpty(this.ad)||t.l('labelFontWeight : "'+this.ad+'", '),i.stringIsNullOrEmpty(this.z)||t.l('labelFontFamily : "'+this.z+'", '),i.stringIsNullOrEmpty(this.aa)||t.l('labelFontStretch : "'+this.aa+'", '),i.isNaN_(this.t)||t.l("labelFontSize : "+this.t+", "),t.l("actualLabelVisible : "+this.actualLabelVisible+", "),t.l('actualNoMatchesFoundLabel :"'+this.actualNoMatchesFoundLabel+'", '),t.l("actualNoMatchesFoundLabelBackgroundColor : "+this.d.serialize()+", "),t.l("actualNoMatchesFoundLabelTextColor : "+this.e.serialize()+", "),i.stringIsNullOrEmpty(this.ag)||t.l('noMatchesFoundLabelFontStyle : "'+this.ag+'", '),i.stringIsNullOrEmpty(this.ah)||t.l('noMatchesFoundLabelFontVariant : "'+this.ah+'", '),i.stringIsNullOrEmpty(this.ai)||t.l('noMatchesFoundLabelFontWeight : "'+this.ai+'", '),i.stringIsNullOrEmpty(this.ae)||t.l('noMatchesFoundLabelFontFamily : "'+this.ae+'", '),i.stringIsNullOrEmpty(this.af)||t.l('noMatchesFoundLabelFontStretch : "'+this.af+'", '),i.isNaN_(this.u)||t.l("noMatchesFoundLabelFontSize : "+this.u+", "),t.l('placeholder : "'+this.aj+'", '),t.l("rowSeparatorsVisible : "+this.rowSeparatorsVisible+", "),t.l("actualTextColor : "+this.f.serialize()+", "),i.stringIsNullOrEmpty(this.ao)||t.l('textStyleFontStyle : "'+this.ao+'", '),i.stringIsNullOrEmpty(this.ap)||t.l('textStyleFontVariant : "'+this.ap+'", '),i.stringIsNullOrEmpty(this.aq)||t.l('textStyleFontWeight : "'+this.aq+'", '),i.stringIsNullOrEmpty(this.am)||t.l('textStyleFontFamily : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||t.l('textStyleFontStretch : "'+this.an+'", '),i.isNaN_(this.v)||t.l("textStyleFontSize : "+this.v+", "),t.l("actualUnderlineColor : "+this.g.serialize()+", "),t.l("actualUnderlineOpacity : "+this.p+", "),t.l("actualUnderlineRippleColor : "+this.h.serialize()+", "),t.l("actualUnderlineRippleOpacity : "+this.q+", "),t.l("actualUnderlineRippleWidth : "+this.r+", "),t.l("actualUnderlineWidth : "+this.s+", "),t.l('text : "'+this.al+'", '),null!=this.w&&t.l('value : "'+this.w.toString()+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"ComboEditorVisualModelExport"),n}(i.Base),g=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorGotFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ComboEditorLostFocusEventArgs",i.EventArgs.$),n}(i.EventArgs),m=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,e=null==e?0:e){case 0:break;case 1:var o=i[0];r.b.o(o)}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return null==this.a&&(this.a=new i.List$1(i.IDataSourceUpdateNotifier_$type,0)),this.a},enumerable:!1,configurable:!0}),n.prototype.c=function(t){this.b.add(t)},n.prototype.d=function(t){for(var e=0;e<this.b.count;e++)t(this.b._inner[e])},n.prototype.notifyClearItems=function(){this.d((function(t){return t.notifyClearItems()}))},n.prototype.notifyInsertItem=function(t,e){this.d((function(i){return i.notifyInsertItem(t,e)}))},n.prototype.notifyRemoveItem=function(t,e){this.d((function(i){return i.notifyRemoveItem(t,e)}))},n.prototype.notifySetItem=function(t,e,i){this.d((function(n){return n.notifySetItem(t,e,i)}))},n.prototype.rangeActualized=function(t,e){this.d((function(i){return i.rangeActualized(t,e)}))},n.$t=i.markType(n,"ComboEditorMultipleDataSourceNotifier",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),v=function(t){function r(e){var i=t.call(this)||this;return i.b=!1,i.a=null,i.c=null,i.a=e,i}return e.__extends(r,t),r.prototype.g=function(){},r.prototype.r=function(){var t=this.c.rootWrapper.getNativeElement().getBoundingClientRect();return new i.Rect(0,t.left+window.pageXOffset,t.top+window.pageYOffset,t.width,t.height)},r.prototype.f=function(t,e){this.c.getPortal(t.an,"ListPanel",(function(t){var i=t.componentRef.i;e(i)}),!1)},r.prototype.i=function(){this.b&&(this.b=!1,window.addEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.h=function(){this.b||(this.b=!0,window.removeEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.q=function(t){var e=this.a.bh;if(null!=e&&0!=e.b6){var i=this.r();this.a.bh.ce(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.an);if(null!=u){u.oi=h.k3,u.ks=h.jf,u.no=h.j6,u.eg=h.cx,u.np=h.j7,u.eh=h.cy,u.ei=h.cz,u.nq=h.j8,u.ej=h.c0,u.ek=h.c1,u.n6=h.kd,u.e5=h.c2,u.n7=h.ke,u.e6=h.c3,u.e7=h.c4,u.e8=h.c5;try{for(var l=e.__values(i.fromEnum(u.inputs)),c=l.next();!c.done;c=l.next()){var p=c.value;null!=p&&null!==i.typeCast(n.XInput.$,p)&&(p.cg=h.gb)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u.inputs)),d=f.next();!d.done;d=f.next()){var b=d.value;if(null!=b&&null!==i.typeCast(n.XLabel.$,b)){b.dj=h.j9;var g=b;null!=h.av&&(g.y=h.av)}}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},r.prototype.l=function(t){if(null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].e=t)},r.prototype.o=function(){if(this.a.disallowTabFocus){var t=this.a.bb.an;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].be=-1)}else{var o=this.a.bb.an;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.an,a=0;a<s.inputs.count;a++)null!==i.typeCast(n.XInput.$,s.inputs._inner[a])&&s.inputs._inner[a].cu()}},r.prototype.n=function(){null!=this.a.bh&&(this.a.bh.an.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.an.ay=this.a.cb)},r.prototype.j=function(t){var e=this;if(null==t)return this.i(),void(this.c=null);this.c=t,i.NativeUIComponent.au(this.c,7,(function(t){e.c.append(t.an),e.a.id(t)})),this.h()},r.prototype.d=function(){return this.c},r.prototype.m=function(t,e){},r.prototype.e=function(t,e){var i=t.an;i.remove(),i.append(e.view.j.rootWrapper)},r.$t=i.markType(r,"ComboEditorView"),r}(i.Base),_=function(t){function r(){var e=t.call(this)||this;e.d0=null,e.kk=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.kl=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.c8=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k5=n.XInputGroup.m.ai(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.jh=n.XInputGroup.m.y(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.km=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.c9=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.kn=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.da=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.db=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.ko=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.dc=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.dd=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.kp=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.de=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.kq=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.df=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.dg=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.dh=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.bi=null,e.a0=null,e.ab=null,e.bl=!1,e.c=null,e.jt=null,e.ji=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.af=0,e.ae=1,e.ju=null,e.jj=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.cm=NaN,e.cc=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k2=new i.Thickness(1,NaN,NaN,NaN,NaN),e.k1=n.ThemeResolver.ak(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.je=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.jd=n.ThemeResolver.aa(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.b=null,e.al=0,e.ak=0,e.bw=!0,e.jv=null,e.jk=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.cn=NaN,e.cd=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.jw=null,e.jl=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.co=NaN,e.ce=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.cp=NaN,e.cf=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.jx=null,e.jm=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.cq=NaN,e.cg=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.cr=NaN,e.ch=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.du=null,e.f1=null,e.jy=null,e.jn=r.kh,e.as=null,e.ap=null,e.bs=!1,e.f4=null,e.er="No Matches Found",e.jz=null,e.jo=r.ki,e.j0=null,e.jp=r.kj,e.at=null,e.aq=null,e.gc="",e.j1=r.kr,e.jq=r.kr,e.au=null,e.ar=null,e.j2=null,e.jr=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.cs=NaN,e.ci=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.j3=null,e.js=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.ct=NaN,e.cj=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleOpacity"),e.cu=NaN,e.ck=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.cv=NaN,e.cl=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineWidth"),e.bk=!0,e.d6=null,e.d5=null,e.d=null,e.a=null,e.dv=null,e.q=0,e.b2=!1,e.bn=!1,e.bq=!1,e.br=!1,e.gotFocus=null,e.lostFocus=null,e.textValueChanged=null,e.selectedValueChanged=null,e.keyDown=null,e.change=null,e.changing=null,e.propertyChanged=null,e.a6=null,e.a9=null,e.a7=null,e.bd=null,e.bg=null,e.ac=null,e.d7=null,e.ca=!0,e.dt=0,e.b6=!1,e.l=null,e.v=0,e.b5=!1,e.b1=!1,e.b0=!1,e.by=!1,e.ba=null,e.a5=null,e.n=null,e.ds=-1,e.bo=!1,e.b8=!1,e.bp=!1,e.bm=!1,e.a8=null,e.bf=null;var o=e.aa();return e.ab=o,e}return e.__extends(r,t),r.prototype.gy=function(){this.ad.dv=-1},Object.defineProperty(r.prototype,"bj",{get:function(){return null==this.bi&&(this.bi=new i.SRProvider(this.ab.c),this.bi.cb("ComboEditor")),this.bi},enumerable:!1,configurable:!0}),r.prototype.aa=function(){return new v(this)},r.prototype.ip=function(t,e,o){switch(t){case"BackgroundColor":this.j4=null!=this.kf?this.kf:this.kk;break;case"BorderColor":this.j5=null!=this.kg?this.kg:this.kl;break;case"BorderWidth":this.cw=i.isNaN_(this.c6)?this.c8:this.c6;break;case"ContentPadding":this.k3=n.XInputGroup.oh(this.k4,this.k5);break;case"CornerRadius":this.jf=n.XInputGroup.kr(this.jg,this.jh);break;case"FocusBorderColor":this.j6=null!=this.ks?this.ks:this.km;break;case"FocusBorderWidth":this.cx=i.isNaN_(this.di)?this.c9:this.di;break;case"FocusUnderlineColor":this.j7=null!=this.kt?this.kt:this.kn;break;case"FocusUnderlineOpacity":this.cy=i.isNaN_(this.dj)?this.da:this.dj;break;case"FocusUnderlineRippleOpacity":this.cz=i.isNaN_(this.dk)?this.db:this.dk;break;case"HoverUnderlineColor":this.j8=null!=this.ku?this.ku:this.ko;break;case"HoverUnderlineOpacity":this.c0=i.isNaN_(this.dl)?this.dc:this.dl;break;case"HoverUnderlineWidth":this.c1=i.isNaN_(this.dm)?this.dd:this.dm;break;case"ItemsSource":case"ValueField":case"DataSourceDesiredProperties":case"Fields":this.ja();break;case"LabelTextColor":this.j9=null!=this.kv?this.kv:r.kh;break;case"LabelTextStyle":this.av=null!=this.a2?this.a2:r.ay;break;case"NoMatchesFoundLabelTextColor":this.kb=null!=this.kx?this.kx:r.kj;break;case"NoMatchesFoundLabelBackgroundColor":this.ka=null!=this.kw?this.kw:r.ki;break;case"NoMatchesFoundLabelTextStyle":this.aw=null!=this.a3?this.a3:r.az;break;case"UnderlineColor":this.kd=null!=this.kz?this.kz:this.kp;break;case"UnderlineOpacity":this.c2=i.isNaN_(this.dn)?this.de:this.dn;break;case"UnderlineRippleColor":this.ke=null!=this.k0?this.k0:this.kq;break;case"UnderlineRippleOpacity":this.c3=i.isNaN_(this.dp)?this.df:this.dp;break;case"UnderlineRippleWidth":this.c4=i.isNaN_(this.dq)?this.dg:this.dq;break;case"UnderlineWidth":this.c5=i.isNaN_(this.dr)?this.dh:this.dr;break;case"BaseTheme":this.ah=0==this.ai?1:this.ai;break;case"Density":this.am=0==this.density?0:this.density;break;case"TextColor":this.kc=null!=this.ky?this.ky:r.kr;break;case"TextStyle":this.ax=null!=this.a4?this.a4:null;break;case"ActualDensity":case"ActualBaseTheme":case"ActualTextColor":case"ActualTextStyle":case"DisplayType":case"ActualBackgroundColor":case"ActualBorderColor":case"ActualBorderWidth":case"ActualContentPadding":case"ActualCornerRadius":case"ActualFocusBorderColor":case"ActualFocusBorderWidth":case"ActualFocusUnderlineColor":case"ActualFocusUnderlineOpacity":case"ActualFocusUnderlineRippleOpacity":case"ActualHoverUnderlineColor":case"ActualHoverUnderlineOpacity":case"ActualHoverUnderlineWidth":case"ActualLabelTextColor":case"ActualLabelTextStyle":case"ActualUnderlineColor":case"ActualUnderlineOpacity":case"ActualUnderlineRippleColor":case"ActualUnderlineRippleOpacity":case"ActualUnderlineRippleWidth":case"ActualUnderlineWidth":case"DropDownButtonVisible":case"ActualNoMatchesFoundLabel":case"ActualNoMatchesFoundLabelTextColor":case"ActualNoMatchesFoundLabelTextStyle":case r.et:this.i1();break;case"NoMatchesFoundLabel":this.actualNoMatchesFoundLabel=i.stringIsNullOrEmpty(this.f5)?"No Matches Found":this.f5;break;case"Label":case"PlaceholderText":this.i1(),this.actualLabelVisible=!i.stringIsNullOrEmpty(this.f1);break;case"Text":this.i5();var s=null!=e?e.toString():null,a=null!=o?o.toString():null;this.ic(new f(s,a)),this.io(1,a);break;case"Value":this.h9(new d(e,o)),this.io(0,o);break;case"AllowFilter":this.g6(this.bu);break;case"DisallowTabFocus":this.ab.o();break;case"IsFixed":this.ab.n();break;case"UseTopLayer":this.ab.p()}},Object.defineProperty(r.prototype,"a1",{get:function(){return null==this.a0&&(this.a0=new i.FontInfo,this.a0.q="Verdana",this.a0.f=i.DeviceUtils.f(16)),this.a0},enumerable:!1,configurable:!0}),r.prototype.focus=function(t){this.g8(t)},r.prototype.setName=function(t){this.ab.l(t)},Object.defineProperty(r.prototype,"disallowTabFocus",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.h6("DisallowTabFocus",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.h6("Fields",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kf",{get:function(){return this.jt},set:function(t){var e=this.jt;this.jt=t,e!=this.jt&&this.h6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j4",{get:function(){return this.ji},set:function(t){var e=this.ji;this.ji=t,e!=this.ji&&this.h6("ActualBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ai",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.h6("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ah",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.h6("ActualBaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kg",{get:function(){return this.ju},set:function(t){var e=this.ju;this.ju=t,e!=this.ju&&this.h6("BorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j5",{get:function(){return this.jj},set:function(t){var e=this.jj;this.jj=t,e!=this.jj&&this.h6("ActualBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c6",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.h6("BorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cw",{get:function(){return this.cc},set:function(t){var e=this.cc;this.cc=t,e!=this.cc&&this.h6("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k4",{get:function(){return this.k2},set:function(t){var e=this.k2;this.k2=t,e!=this.k2&&this.h6("ContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k3",{get:function(){return this.k1},set:function(t){var e=this.k1;this.k1=t,e!=this.k1&&this.h6("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.je},set:function(t){var e=this.je;this.je=t,e!=this.je&&this.h6("CornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.jd},set:function(t){var e=this.jd;this.jd=t,e!=this.jd&&this.h6("ActualCornerRadius",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,e!=this.b&&this.h6("DataSourceDesiredProperties",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.h6("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"am",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.h6("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.h6("DropDownButtonVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ks",{get:function(){return this.jv},set:function(t){var e=this.jv;this.jv=t,e!=this.jv&&this.h6("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j6",{get:function(){return this.jk},set:function(t){var e=this.jk;this.jk=t,e!=this.jk&&this.h6("ActualFocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"di",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.h6("FocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cx",{get:function(){return this.cd},set:function(t){var e=this.cd;this.cd=t,e!=this.cd&&this.h6("ActualFocusBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kt",{get:function(){return this.jw},set:function(t){var e=this.jw;this.jw=t,e!=this.jw&&this.h6("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.jl},set:function(t){var e=this.jl;this.jw=t,e!=this.jl&&this.h6("ActualFocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dj",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.h6("FocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cy",{get:function(){return this.ce},set:function(t){var e=this.ce;this.ce=t,e!=this.ce&&this.h6("ActualFocusUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dk",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.h6("FocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cf},set:function(t){var e=this.cf;this.cf=t,e!=this.cf&&this.h6("ActualFocusUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ku",{get:function(){return this.jx},set:function(t){var e=this.jx;this.jx=t,e!=this.jx&&this.h6("HoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.jm},set:function(t){var e=this.jm;this.jm=t,e!=this.jm&&this.h6("ActualHoverUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dl",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.h6("HoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cg},set:function(t){var e=this.cg;this.cg=t,e!=this.cg&&this.h6("ActualHoverUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dm",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.h6("HoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.ch},set:function(t){var e=this.ch;this.ch=t,e!=this.ch&&this.h6("ActualHoverUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"itemsSource",{get:function(){return this.du},set:function(t){var e=this.du;this.du=t,e!=this.du&&this.h6("ItemsSource",e,this.du)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.m()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.f1},set:function(t){var e=this.fz;0!=i.StringComparer.b.compare(t,e)&&(this.f1=t,this.h6("Label",e,this.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kv",{get:function(){return this.jy},set:function(t){var e=this.jy;this.jy=t,e!=this.jy&&this.h6("LabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j9",{get:function(){return this.jn},set:function(t){var e=this.jn;this.jn=t,e!=this.jn&&this.h6("ActualLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.h6("LabelTextStyle",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"av",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,this.ap!=e&&this.h6("ActualLabelTextStyle",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.h6("ActualLabelVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.f4},set:function(t){var e=this.f4;0!=i.StringComparer.b.compare(t,e)&&(this.f4=t,this.h6("NoMatchesFoundLabel",e,this.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.h6("ActualNoMatchesFoundLabel",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kw",{get:function(){return this.jz},set:function(t){var e=this.jz;this.jz=t,e!=this.jz&&this.h6("NoMatchesFoundLabelBackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ka",{get:function(){return this.jo},set:function(t){var e=this.jo;this.jo=t,e!=this.jo&&this.h6(r.et,e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kx",{get:function(){return this.j0},set:function(t){var e=this.j0;this.j0=t,e!=this.j0&&this.h6("NoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kb",{get:function(){return this.jp},set:function(t){var e=this.jp;this.jp=t,e!=this.jp&&this.h6("ActualNoMatchesFoundLabelTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.h6("NoMatchesFoundLabelTextStyle",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,this.aq!=e&&this.h6("ActualNoMatchesFoundLabelTextStyle",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gb",{get:function(){return this.gc},set:function(t){var e=this.gb;0!=i.StringComparer.b.compare(t,e)&&(this.gc=t,this.h6("PlaceholderText",e,this.gc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ky",{get:function(){return this.j1},set:function(t){var e=this.j1;this.j1=t,e!=this.j1&&this.h6("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kc",{get:function(){return this.jq},set:function(t){var e=this.jq;this.jq=t,e!=this.jq&&this.h6("ActualTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a4",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.h6("TextStyle",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,this.ar!=e&&this.h6("ActualTextStyle",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kz",{get:function(){return this.j2},set:function(t){var e=this.j2;this.j2=t,e!=this.j2&&this.h6("UnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kd",{get:function(){return this.jr},set:function(t){var e=this.jr;this.jr=t,e!=this.jr&&this.h6("ActualUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dn",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.h6("UnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.ci},set:function(t){var e=this.ci;this.ci=t,e!=this.ci&&this.h6("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k0",{get:function(){return this.j3},set:function(t){var e=this.j3;this.j3=t,e!=this.j3&&this.h6("UnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ke",{get:function(){return this.js},set:function(t){var e=this.js;this.js=t,e!=this.js&&this.h6("ActualUnderlineRippleColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dp",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.h6("UnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c3",{get:function(){return this.cj},set:function(t){var e=this.cj;this.cj=t,e!=this.cj&&this.h6("ActualUnderlineRippleOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dq",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.h6("UnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c4",{get:function(){return this.ck},set:function(t){var e=this.ck;this.ck=t,e!=this.ck&&this.h6("ActualUnderlineRippleWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dr",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.h6("UnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c5",{get:function(){return this.cl},set:function(t){var e=this.cl;this.cl=t,e!=this.cl&&this.h6("ActualUnderlineWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.h6("AllowFilter",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gg",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.h6("TextField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.h6("Text",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.h6("ValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.h6("ActualValueField",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.dv},set:function(t){var e=this.dv;this.dv=t,e!=this.dv&&this.h6("Value",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.h6("DisplayType",i.enumGetBox(n.InputGroupDisplayType_$type,e),i.enumGetBox(n.InputGroupDisplayType_$type,t))},enumerable:!1,configurable:!0}),r.prototype.dx=function(t,e){return new i.FastReflectionHelper(!1,e).getPropertyValue(t)},r.prototype.ft=function(){return this.fs(this.gg)},r.prototype.dy=function(t){var e=this.i();if(null==e||0==e.length)return null;for(var n=new i.List$1(i.Base.$,0),r=0;r<e.length;r++){var o=e[r],s=this.dx(t,o);n.add1(s)}return 1==n.count?n._inner[0]:n.toArray()},r.prototype.fr=function(t){var e,i=this.ft();if(null!=i){var n=this.dx(t,i);e=null!=n?n.toString():null}else e=null;return e},r.prototype.fs=function(t){if(i.stringIsNullOrEmpty(t)){var e=this.actualDataSource;if(null==e)return null;var n=e.actualSchema;if(null==n)return null;var r=n.propertyNames;return 0==r.length?null:r[0]}return t},r.prototype.h=function(t){var e=new i.List$1(i.String_$type,0);if(null==t||0==t.length){var n=this.fs(null);return i.stringIsNullOrEmpty(n)?null:(e.add(n),e.toArray())}for(var r=0;r<t.length;r++){var o=t[r],s=this.fs(o);null!=s&&e.add(s)}return e.count>0?e.toArray():null},r.prototype.i=function(){var t=this.j;return this.h(t)},r.prototype.h8=function(t){this.io(2,t)},r.prototype.io=function(t,e){if(!this.b2){this.b2=!0;try{switch(t){case 2:var n=e,r=void 0,o=void 0;null!=n?(r=this.fr(n),o=this.dy(n)):(r=i.stringEmpty(),o=null),this.text!=r&&(this.text=r),this.value!=o&&(this.value=o);break;case 1:this.i0(e.toString());break;case 0:this.iz(e)}}finally{this.b2=!1}}},r.prototype.iy=function(t){this.text=t},r.prototype.jc=function(){this.ax=null==this.a4?this.a1:this.a4,this.av=null==this.a2?this.a1:this.a2},r.prototype.i3=function(){},r.prototype.closeUp=function(){this.g0()},r.prototype.destroy=function(){this.provideRenderer(null)},r.prototype.dropDown=function(){this.g5()},r.prototype.select=function(){this.iu()},r.prototype.notifySizeChanged=function(){this.ab.g()},r.prototype.provideRenderer=function(t){this.ab.j(t),this.actualNoMatchesFoundLabel=i.stringIsNullOrWhiteSpace(this.bj.b1("NoMatches"))?"No Matches Found":this.bj.b1("NoMatches")},r.prototype.dw=function(){return this.u()},r.prototype.fk=function(){return this.u().ak()},r.prototype.u=function(){var t=new b;if(t.a=i.AppearanceHelper.a(this.j4),t.i=this.ah,t.b=i.AppearanceHelper.a(this.j5),t.n=this.cw,t.as=this.k3,t.ar=this.jf,t.j=this.am,t.dropDownButtonVisible=this.dropDownButtonVisible,t.o=this.cy,t.y=this.fz,t.c=i.AppearanceHelper.a(this.j9),t.actualLabelVisible=this.actualLabelVisible,t.actualNoMatchesFoundLabel=this.actualNoMatchesFoundLabel,t.d=i.AppearanceHelper.a(this.ka),t.e=i.AppearanceHelper.a(this.kb),t.aj=this.gb,t.f=i.AppearanceHelper.a(this.kc),t.g=i.AppearanceHelper.a(this.kd),t.p=this.c2,t.h=i.AppearanceHelper.a(this.ke),t.q=this.c3,t.r=this.c4,t.s=this.c5,t.al=this.text,t.w=this.value,null!=this.av){var e=this.av;if(null!=this.ab&&null==e.q){var n=this.ab.c,r=i.FontUtil.getFontInfoFromString(n,e.fontString);e.q=r.q,e.f=r.f,e.r=r.r,e.t=r.t,e.u=r.u,e.v=r.v}null!=e.q&&(t.z=e.q),i.isNaN_(e.f)||(t.t=e.f),null!=e.v&&(t.ad=e.v),null!=e.t&&(t.ab=e.t),null!=e.r&&(t.aa=e.t)}if(null!=this.aw){var o=this.aw;if(null!=this.ab&&null==o.q){var s=this.ab.c,a=i.FontUtil.getFontInfoFromString(s,o.fontString);o.q=a.q,o.f=a.f,o.r=a.r,o.t=a.t,o.u=a.u,o.v=a.v}null!=o.q&&(t.ae=o.q),i.isNaN_(o.f)||(t.u=o.f),null!=o.v&&(t.ai=o.v),null!=o.t&&(t.ag=o.t),null!=o.r&&(t.af=o.t)}if(null!=this.ax){var h=this.ax;if(null!=this.ab&&null==h.q){var u=this.ab.c,l=i.FontUtil.getFontInfoFromString(u,h.fontString);h.q=l.q,h.f=l.f,h.r=l.r,h.t=l.t,h.u=l.u,h.v=l.v}null!=h.q&&(t.am=h.q),i.isNaN_(h.f)||(t.v=h.f),null!=h.v&&(t.aq=h.v),null!=h.t&&(t.ao=h.t),null!=h.r&&(t.an=h.t)}return t},Object.defineProperty(r.prototype,"b4",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.h6("IsFixed",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.h6("OpenAsChild",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cb",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.h6("UseTopLayer",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.h1=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},r.prototype.h4=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},r.prototype.ic=function(t){null!=this.textValueChanged&&this.textValueChanged(this,t)},r.prototype.h9=function(t){null!=this.selectedValueChanged&&this.selectedValueChanged(this,t)},r.prototype.h6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ip(t,e,n)},r.prototype.h3=function(t){if(null!=this.keyDown){var e=new i.KeyEventArgs(1,t.g,t.a,t.e,t.b,t.h);this.keyDown(this,e)}},r.prototype.hq=function(t){var e=new n.InputChangeEventArgs;e.isCompositionInProgress=t.a,e.value=t.b,null!=this.changing&&this.changing(this,e)},Object.defineProperty(r.prototype,"ad",{get:function(){return this.ac},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b7",{get:function(){return 46==this.dt},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.bg},enumerable:!1,configurable:!0}),r.prototype.id=function(t){this.a9=t,this.h5()},r.prototype.h0=function(){this.ab.i()},r.prototype.hp=function(){this.ab.h()},r.prototype.h5=function(){this.g2(),this.i8(),this.g1(),this.bc.bn(this.a7),this.i1(),this.i2(),this.ab.h()},r.prototype.gv=function(t){var e=this.m();null!=this.n&&null!=e&&e.filterExpressions.k.contains(this.n)&&e.filterExpressions.remove(this.n),this.n=t,this.by=!1,null==t||null==e||e.filterExpressions.k.contains(t)?this.dropDown():(e.filterExpressions.add(t),this.by=!0)},r.prototype.gw=function(){var t=this.m();null!=t&&t.filterExpressions.k.contains(this.n)&&t.filterExpressions.remove(this.n),this.n=null},r.prototype.g0=function(){var t=this.bh;null!=t&&t.cc(),this.i2(),this.gw()},Object.defineProperty(r.prototype,"bb",{get:function(){return this.a7},enumerable:!1,configurable:!0}),r.prototype.b3=function(t){if(null==t)return!1;this.a7,this.ac,this.a5;return this.bh.t(t)||this.bc.t(t)},r.prototype.g1=function(){var t=this,e=this.ab.d();i.NativeUIContent.av(e,[7,2],[2,2],(function(e){t.a7=e[0],t.a7.h=3,t.a7.n=i.runOn(t,t.hk),t.a7.o=i.runOn(t,t.hl),t.bd=e[1],t.a7.bn(t.bd),t.bd.b7=t.text,t.bd.bs=i.runOn(t,t.hf),t.bd.bt=i.runOn(t,t.hg),t.bd.bx=i.runOn(t,t.hi),t.bd.n=i.runOn(t,t.hh),t.bd.bz=i.runOn(t,t.hj),t.g6(t.bu),t.bd.b6=r.d2,t.bd.cc=i.BrushUtil.h(255,0,0,0),t.bd.bn=i.runOn(t,t.ib)}))},Object.defineProperty(r.prototype,"be",{get:function(){return this.bd},enumerable:!1,configurable:!0}),r.prototype.g2=function(){var t=this;i.NativeUIContent.av(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.bg.b7=!0,t.a5=e[2],t.a5.bi=new i.Thickness(0,4),t.ba=e[0],t.ba.bn(t.a5),t.a8=e[4],t.ba.bn(t.a8),t.a9.bn(t.bg),t.bf=e[3],t.bg.bn(t.ba),t.bg.bw=i.runOn(t,t.ig)}))},r.prototype.ig=function(t,e){null!=this.ad&&0==this.a8.bj&&this.ad.notifySizeChanged()},r.prototype.ht=function(t,e){},r.prototype.hw=function(t,e,i){},r.prototype.hs=function(){switch(this.v){case 2:case 1:null==this.l&&(this.v=0)}var t=null;switch(this.v){case 2:var e=this.l.actualCount;if(0==e)this.value=null;else{t=this.l.getItemAtIndex(0);for(var n=this.i(),r=new i.List$1(i.Base.$,0),o=0;o<n.length;o++){var s=n[o],a=this.l.getItemProperty(t,s);r.add1(a)}this.value=1==r.count?r._inner[0]:r.toArray()}break;case 1:var h=this.l.actualCount;if(0==h)this.text=i.stringEmpty();else{var u=this.ft();t=this.l.getItemAtIndex(0);var l=this.l.getItemProperty(t,u).toString();this.text=l}var c=this.m().indexOfItem(t);this.iw(c);break;case 0:default:return}if(null!=t){var p=this.m().indexOfItem(t);this.iw(p)}else this.iw(-1);null!=this.l&&(this.l.updateNotifier=null,this.l=null),this.v=0},r.prototype.hu=function(t,e){},r.prototype.hv=function(t,e){},r.prototype.hz=function(t,e){var i=this.ad;if(null!=i){var n=i.dv;-1!=n&&n>=t&&n<=e&&(this.it(n),this.i9())}},r.prototype.ia=function(t,e,i){},r.prototype.hr=function(){if(this.ii(),this.b5){var t=this.m().actualCount;this.ca&&t>0?this.ik():this.il()}else this.i7()},r.prototype.h2=function(t,e){},r.prototype.h7=function(t,e){},r.prototype.g5=function(){this.jb(),this.hm();var t=this.bh;t.b6||(t.b0=!this.b5,t.cg(this.bc,1,1),this.i2())},r.prototype.m=function(){var t=this.ad;return null!=t?t.actualDataSource:null},r.prototype.bz=function(t){var e=this.ac.ai,i=e.count;return 0==i?{ret:!0,p0:t=null}:{ret:null!=(t=e._inner[0]),p0:t}},r.prototype.ha=function(t){var e=-1!=t?t:-1;this.it(e)},r.prototype.hc=function(){var t,e,i=this;this.bo||(e=i.bz(t),t=e.p0,e.ret)&&null!=t&&this.h8(t)},r.prototype.hm=function(){this.bh.cd()},r.prototype.ho=function(){if(this.bh.b6){this.closeUp();var t=this.bd;t.az();var e=null!=t.b7?t.b7.length:0;t.ca(e,e)}},r.prototype.hx=function(){this.bd.b1=!0,this.bd.b9();var t=new g;this.h1(t)},r.prototype.hy=function(){this.closeUp(),this.bd.b8();var t=new y;this.h4(t)},r.prototype.il=function(){var t=this.ac;t.selectedItemsChanged=i.delegateRemove(t.selectedItemsChanged,i.runOn(this,this.hd)),this.bo=!0;try{this.iy(this.d7)}finally{this.bo=!1;var e=this.ac;e.selectedItemsChanged=i.delegateCombine(e.selectedItemsChanged,i.runOn(this,this.hd))}this.b5=!1},r.prototype.im=function(){if(this.b5=!0,i.stringIsNullOrEmpty(this.d7))null!=this.n?this.gv(null):this.il();else{var t=i.FilterFactory.instance.property(this.ft()).toLower().startsWith(this.d7.toLowerCase());this.gv(t)}},r.prototype.ir=function(){this.dt=0,this.b6=!1},r.prototype.it=function(t){var e=this.m();if(e.isPlaceholderItem(t));else{var n=this.ad;if(t<0)return this.b1=!1,n.ai.clear(),void(this.b1||this.hc());n.selectedItemsChanged=i.delegateRemove(n.selectedItemsChanged,i.runOn(this,this.hd));try{n.ai.clear()}finally{n.selectedItemsChanged=i.delegateCombine(n.selectedItemsChanged,i.runOn(this,this.hd))}if(t>=0){var r=e.getItemAtIndex(t);this.b1=!1,n.ai.add1(r),this.b1||this.hc()}}},r.prototype.iw=function(t){var e=this.ad;if(-1!=t){var i;e.dv;this.ds=t,i=t,this.b0=!1,e.dv=i,this.b0||this.ha(e.dv),this.i9()}else e.dv=-1},r.prototype.i0=function(t){this.ie(2,t)},r.prototype.iz=function(t){this.ie(1,t)},r.prototype.i1=function(){var t=this;if(null!=this.bd&&(this.bd.bp=t.density,this.bd.c=t.ah,this.bd.bu=t.s,this.bd.a8=t.j4,this.bd.a9=t.j5,this.bd.bg=new i.Thickness(0,t.cw),this.bd.bp=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.ce=t.kc,this.bd.bk=t.ax),null!=this.bd&&(this.bd.b5=t.fz),null!=this.a5){if(this.a5.ba=t.kb,this.a5.a8=t.ka,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bs=this.bf,this.bf.bm=this.actualNoMatchesFoundLabel,this.hm()}this.ad},r.prototype.i5=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b7=t}},r.prototype.i2=function(){var t=this.bh,e=null!=t&&t.b6;this.bd.b6=e?r.d3:r.d4},r.prototype.i4=function(){this.jc();var t=this.ac.h7(),e=Math.min(t.height,320);this.a8.y=e;var i=t.width;i=Math.max(i,150),this.a8.ae=i},r.prototype.i6=function(){this.b5||(this.d7=null,null!=this.n?this.gw():this.i7())},r.prototype.i7=function(){if(null!=this.value){var t=this.value,e=null!==i.typeCast(i.Array_$type,t)?t:[t],n=this.m().indexOfKey(e);-1!=n&&this.iw(n)}},r.prototype.i8=function(){var t=this;null==this.ad&&(this.jc(),this.ab.f(this.a8,(function(e){var n=e;t.ac=n;var r=t.ac;r.rowUpdating=i.delegateCombine(r.rowUpdating,i.runOn(t,t.gt)),t.ja(),t.ad.as=1,t.ad.an=0,t.ad.r=1,t.a8.a8=i.BrushUtil.h(255,255,255,255),t.ac.h5=i.BrushUtil.h(255,200,200,200),t.ac.hz=i.BrushUtil.h(255,100,100,100),t.ac.ee=32,t.ad.h3=i.BrushUtil.h(0,0,0,0),t.ad.bx=!1,t.ad.bs=!1;var o=t.ad;o.activeRowChanged=i.delegateCombine(o.activeRowChanged,i.runOn(t,t.g9));var s=t.ad;s.selectedItemsChanged=i.delegateCombine(s.selectedItemsChanged,i.runOn(t,t.hd));var a=t.ad;a.itemClicked=i.delegateCombine(a.itemClicked,i.runOn(t,t.hb)),t.ad.a9=i.runOn(t,t.he),t.i1()})))},r.prototype.gt=function(t,e){var n=this;if(null!=e.b){if("comboItem"!=e.b.ao)i.NativeUIComponent.au(this.ab.d(),3,(function(t){var r=t;r.bk=n.ax,e.b.bs=r,e.b.ao="comboItem",r.f=0,r.h=1,r.bh=new i.Thickness(0,5),r.bm=null!=n.ft()?n.actualDataSource.getItemProperty(e.a.x,n.ft()).toString():""}));else e.b.bs.bm=null!=this.ft()?this.actualDataSource.getItemProperty(e.a.x,this.ft()).toString():""}},r.prototype.ie=function(t,e){var n=this.m();if(null!=n){null!=this.l&&(this.v,this.l.updateNotifier=null,this.l=null),this.v=t;var r=new i.FilterFactory,o=null,s=null;switch(t){case 2:var a=this.ft();if(i.stringIsNullOrEmpty(a))return;o=e.toString(),s=r.property(a).isEqualTo(o);break;case 1:var h=this.i();if(null==h||h.length<1)return;var u=null!==i.typeCast(i.Array_$type,e)?e:[e];if(h.length!=u.length)return;for(var l=0;l<h.length;l++){var c=h[l];o=u[l];var p=r.property(c).isEqualTo(o);null==s?s=p:s.and(p)}break;case 0:default:return}this.l=n.clone(),this.l.filterExpressions.clear(),this.l.updateNotifier=new C(this,!0),this.l.filterExpressions.add(s),this.l.isVirtual||this.l.flushAutoRefresh()}},r.prototype.ih=function(){this.i5();var t=this.text,e=this.d7.length,n=i.stringIsNullOrEmpty(t)?0:t.length;this.b6&&!i.stringIsNullOrEmpty(this.d7)&&e>0&&e--,this.bd.ca(e,n)},r.prototype.ii=function(){this.by&&(this.by=!1,this.dropDown())},r.prototype.ij=function(t){this.d7=t,this.ca=!this.b7,this.im()},r.prototype.ik=function(){i.stringIsNullOrEmpty(this.d7)?this.gx():this.iw(0),this.ih(),this.b5=!1},r.prototype.gx=function(){this.ad.dv=-1},r.prototype.g6=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.i9=function(){if(this.bp){var t=this.ad,e=t.dv;if(-1!=e){var i=this.m();if(null!=i){var n=e<i.actualCount?i.getItemAtIndex(e):0;if(null==n)return;t.ck(n)}}else t.hg(0)}},r.prototype.ja=function(){if(null!=this.ad){var t=this.itemsSource;if(this.ad.ai.clear(),null!=this.ad.actualDataSource){var e=this.ad.actualDataSource;e.schemaChanged=i.delegateRemove(e.schemaChanged,i.runOn(this,this.gu))}this.ad.g=null,this.ad.itemsSource=t,this.ad.f=this.i(),this.ds=-1;var n=this.m();if(null!=n){var r=n.updateNotifier,o=new C(this,!1),s=new m(1,[r,o]);n.updateNotifier=s,n.propertiesRequested=this.f,n.schemaChanged=i.delegateCombine(n.schemaChanged,i.runOn(this,this.gu)),null!=this.value&&this.ie(1,this.value)}this.l=null}},r.prototype.gu=function(t,e){-1!=this.ds&&(this.iw(this.ds),this.ds=-1)},r.prototype.iv=function(t){null!=this.bd&&(this.bd.b0=!t)},r.prototype.jb=function(){if(this.i4(),this.b5){var t=this.m();this.b8=0==t.actualCount}else this.b8=!1;this.a5.bj=this.b8?0:1;this.a8.bj;this.a8.bj=this.b8?1:0},r.prototype.g8=function(t){null!=this.bd&&(t?this.bd.a0():this.bd.az())},r.prototype.iu=function(){null!=this.bd&&this.bd.b9()},Object.defineProperty(r.prototype,"bc",{get:function(){return this.a9},enumerable:!1,configurable:!0}),r.prototype.ib=function(t,e){e.a=!0,this.bh.b6?this.closeUp():this.gv(null),null!=this.bd&&(this.bd.az(),this.bd.b9())},r.prototype.g9=function(t,e){var i=e.newActiveRow;this.ha(i),this.b0=!0},r.prototype.hb=function(t,e){this.ho()},r.prototype.hd=function(t,e){this.hc(),this.b1=!0},r.prototype.he=function(){this.bp=this.ad.ay.a,this.i9()},r.prototype.hf=function(t,e){if(!e.a){this.hq(e);var i=e.b;this.ij(i)}},r.prototype.hg=function(t,e){var i=this.bd.b7;this.ij(i)},r.prototype.hh=function(t,e){this.ir()},r.prototype.hi=function(t,e){if(this.h3(e),!e.c){var n=e.g;switch(this.dt=n,this.b6=!1,n){case 8:var r=this.bd.b4;if(0==r)break;var o=this.bd.b7;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b3,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.i6(),e.d=!0;else{var u=this.ad;if(null==u)return;this.ad.dv;if(-1!=u.dv)this.ad.b3(!1,!1),e.d=!0;else{var l=this.m();if(null!=l)l.actualCount>0&&(this.iw(0),e.d=!0)}}break;case 38:if(e.a)this.closeUp(),e.d=!0;else{var c=this.ad;if(null==c)return;this.ad.dv;if(null!=c.dv)this.ac.cg(!1,!1),e.d=!0;else{var p=this.m();if(null!=p){var f=p.actualCount;f>0&&(this.iw(f-1),e.d=!0)}}}break;case 13:this.bh.b6&&(e.f=!0),this.ho();break;case 27:this.closeUp()}}},r.prototype.hj=function(t,e){},r.prototype.hk=function(t,e){if(!this.bm){this.bm=!0,this.bd.az(),this.bm=!1;var i=e.b;this.b3(i)||this.hx()}},r.prototype.hl=function(t,e){var i=e.b;this.b3(i)||this.hy()},r.$t=i.markType(r,"ComboEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),r.ag=1,r.kh=n.ThemeResolver.ah(r.ag,n.XLabel.de,n.XLabel.c7),r.kj=n.ThemeResolver.ah(r.ag,n.XLabel.de,n.XLabel.c7),r.ki=i.BrushUtil.h(255,255,255,255),r.ay=null,r.et="ActualNoMatchesFoundLabelBackgroundColor",r.az=null,r.kr=i.BrushUtil.h(221,0,0,0),r.d2="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",r.d4="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",r.d3="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",r}(i.Base),C=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.b?this.a.ht(t,e):this.a.hz(t,e)},n.prototype.notifySetItem=function(t,e,i){this.b?this.a.hw(t,e,i):this.a.ia(t,e,i)},n.prototype.notifyClearItems=function(){this.b?this.a.hs():this.a.hr()},n.prototype.notifyInsertItem=function(t,e){this.b?this.a.hu(t,e):this.a.h2(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.b?this.a.hv(t,e):this.a.h7(t,e)},n.$t=i.markType(n,"ComboEditorDataSourceNotificationHandler",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),j=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldText",{get:function(){return this.i.oldText},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newText",{get:function(){return this.i.newText},enumerable:!1,configurable:!0}),t}(),P=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.oldValue},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},enumerable:!1,configurable:!0}),t}(),w=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new g},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),O=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new y},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),T=function(t){function r(){var e=t.call(this)||this;return e._implementation=null,e._disconnected=!1,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._gotFocus=null,e._gotFocus_wrapped=null,e._lostFocus=null,e._lostFocus_wrapped=null,e._textValueChanged=null,e._textValueChanged_wrapped=null,e._selectedValueChanged=null,e._selectedValueChanged_wrapped=null,e._keyDown=null,e._keyDown_wrapped=null,e._change=null,e._change_wrapped=null,e._changing=null,e._changing_wrapped=null,e._textChange=null,e._textChange_wrapped=null,e._valueChange=null,e._valueChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._portalManager=new i.PortalManager("ComboEditorContent"),e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{},e._portalManager),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.provideRenderer(e._webComponentRenderer),e.i.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.i.notifySizeChanged()})),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),r.prototype.updateStyle=function(){this._styling(this,this)},r.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},r.prototype.createImplementation=function(){return new _},Object.defineProperty(r.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),r.prototype.disconnectedCallback=function(){this._disconnected=!0},r.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-combo-editor"),this.classList.add("igc-combo-editor");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()}},r.prototype.afterContentInit=function(){this.i.notifySizeChanged()},r.prototype.attributeSynced=function(t,e){"name"===t&&this.i.setName(e)},r.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},r.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},r.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(r,"observedAttributes",{get:function(){if(null==r._observedAttributesIgcComboEditorComponent){for(var t=i.getAllPropertyNames(r),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);r._observedAttributesIgcComboEditorComponent=t}return r._observedAttributesIgcComboEditorComponent},enumerable:!1,configurable:!0}),r.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},r.register=function(){r._isElementRegistered||(r._isElementRegistered=!0,i.RegisterElementHelper.registerElement(r.htmlTagName,r))},Object.defineProperty(r.prototype,"fields",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"baseTheme",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ai))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBaseTheme",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("actualBaseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.ah))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderColor",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"borderWidth",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("borderWidth",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderWidth",{get:function(){return this.i.cw},set:function(t){this.i.cw=+t,this._a("actualBorderWidth",this.i.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingBottom",{get:function(){return this.i.k4?this.i.k4.bottom:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.bottom=+t,this._a("contentPaddingBottom",this.i.k4.bottom),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingLeft",{get:function(){return this.i.k4?this.i.k4.left:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.left=+t,this._a("contentPaddingLeft",this.i.k4.left),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingRight",{get:function(){return this.i.k4?this.i.k4.right:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.right=+t,this._a("contentPaddingRight",this.i.k4.right),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingTop",{get:function(){return this.i.k4?this.i.k4.top:NaN},set:function(t){this.ensureContentPadding(),this.i.k4.top=+t,this._a("contentPaddingTop",this.i.k4.top),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),r.prototype.ensureContentPadding=function(){this.i.k4||(this.i.k4=new i.Thickness(2))},Object.defineProperty(r.prototype,"actualContentPaddingBottom",{get:function(){return this.i.k3?this.i.k3.bottom:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.bottom=+t,this._a("actualContentPaddingBottom",this.i.k3.bottom),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingLeft",{get:function(){return this.i.k3?this.i.k3.left:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.left=+t,this._a("actualContentPaddingLeft",this.i.k3.left),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingRight",{get:function(){return this.i.k3?this.i.k3.right:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.right=+t,this._a("actualContentPaddingRight",this.i.k3.right),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingTop",{get:function(){return this.i.k3?this.i.k3.top:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k3.top=+t,this._a("actualContentPaddingTop",this.i.k3.top),this.i.k3=this.i.k3},enumerable:!1,configurable:!0}),r.prototype.ensureActualContentPadding=function(){this.i.k3||(this.i.k3=new i.Thickness(2))},Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.jg?this.i.jg.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.c=+t,this._a("cornerRadiusBottomRight",this.i.jg.c),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.jg?this.i.jg.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.b=+t,this._a("cornerRadiusBottomLeft",this.i.jg.b),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.jg?this.i.jg.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.d=+t,this._a("cornerRadiusTopLeft",this.i.jg.d),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.i.jg?this.i.jg.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.jg.e=+t,this._a("cornerRadiusTopRight",this.i.jg.e),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),r.prototype.ensureCornerRadius=function(){this.i.jg||(this.i.jg=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.jf?this.i.jf.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.c=+t,this._a("actualCornerRadiusBottomRight",this.i.jf.c),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.jf?this.i.jf.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.jf.b),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.jf?this.i.jf.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.d=+t,this._a("actualCornerRadiusTopLeft",this.i.jf.d),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.jf?this.i.jf.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jf.e=+t,this._a("actualCornerRadiusTopRight",this.i.jf.e),this.i.jf=this.i.jf},enumerable:!1,configurable:!0}),r.prototype.ensureActualCornerRadius=function(){this.i.jf||(this.i.jf=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"dataSourceDesiredProperties",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"density",{get:function(){return this.i.density},set:function(t){this.i.density=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.density))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDensity",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.am))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dropDownButtonVisible",{get:function(){return this.i.dropDownButtonVisible},set:function(t){this.i.dropDownButtonVisible=i.ensureBool(t),this._a("dropDownButtonVisible",this.i.dropDownButtonVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderColor",{get:function(){return i.brushToString(this.i.ks)},set:function(t){this.i.ks=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.ks))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusBorderWidth",{get:function(){return this.i.di},set:function(t){this.i.di=+t,this._a("focusBorderWidth",this.i.di)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderWidth",{get:function(){return this.i.cx},set:function(t){this.i.cx=+t,this._a("actualFocusBorderWidth",this.i.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineColor",{get:function(){return i.brushToString(this.i.kt)},set:function(t){this.i.kt=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.kt))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineOpacity",{get:function(){return this.i.dj},set:function(t){this.i.dj=+t,this._a("focusUnderlineOpacity",this.i.dj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineOpacity",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("actualFocusUnderlineOpacity",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"focusUnderlineRippleOpacity",{get:function(){return this.i.dk},set:function(t){this.i.dk=+t,this._a("focusUnderlineRippleOpacity",this.i.dk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineRippleOpacity",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("actualFocusUnderlineRippleOpacity",this.i.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineColor",{get:function(){return i.brushToString(this.i.ku)},set:function(t){this.i.ku=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.ku))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineOpacity",{get:function(){return this.i.dl},set:function(t){this.i.dl=+t,this._a("hoverUnderlineOpacity",this.i.dl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineOpacity",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("actualHoverUnderlineOpacity",this.i.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"hoverUnderlineWidth",{get:function(){return this.i.dm},set:function(t){this.i.dm=+t,this._a("hoverUnderlineWidth",this.i.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineWidth",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("actualHoverUnderlineWidth",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualDataSource",{get:function(){return this.i.actualDataSource},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"label",{get:function(){return this.i.fz},set:function(t){this.i.fz=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.kv)},set:function(t){this.i.kv=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.kv))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelTextColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("actualLabelTextColor",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextStyle",{get:function(){return null==this.i.a2?null:this.i.a2.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a2=e,this._a("labelTextStyle",null!=this.i.a2?this.i.a2.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelVisible",{get:function(){return this.i.actualLabelVisible},set:function(t){this.i.actualLabelVisible=i.ensureBool(t),this._a("actualLabelVisible",this.i.actualLabelVisible)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabel",{get:function(){return this.i.f5},set:function(t){this.i.f5=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabel",{get:function(){return this.i.actualNoMatchesFoundLabel},set:function(t){this.i.actualNoMatchesFoundLabel=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.kw)},set:function(t){this.i.kw=i.stringToBrush(t),this._a("noMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kw))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelBackgroundColor",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kx)},set:function(t){this.i.kx=i.stringToBrush(t),this._a("noMatchesFoundLabelTextColor",i.brushToString(this.i.kx))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelTextColor",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextStyle",{get:function(){return null==this.i.a3?null:this.i.a3.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a3=e,this._a("noMatchesFoundLabelTextStyle",null!=this.i.a3?this.i.a3.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"placeholder",{get:function(){return this.i.gb},set:function(t){this.i.gb=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return i.brushToString(this.i.ky)},set:function(t){this.i.ky=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.ky))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textStyle",{get:function(){return null==this.i.a4?null:this.i.a4.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a4=e,this._a("textStyle",null!=this.i.a4?this.i.a4.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineColor",{get:function(){return i.brushToString(this.i.kz)},set:function(t){this.i.kz=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.kz))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineOpacity",{get:function(){return this.i.dn},set:function(t){this.i.dn=+t,this._a("underlineOpacity",this.i.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineOpacity",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("actualUnderlineOpacity",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleColor",{get:function(){return i.brushToString(this.i.k0)},set:function(t){this.i.k0=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.k0))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleOpacity",{get:function(){return this.i.dp},set:function(t){this.i.dp=+t,this._a("underlineRippleOpacity",this.i.dp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleOpacity",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("actualUnderlineRippleOpacity",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineRippleWidth",{get:function(){return this.i.dq},set:function(t){this.i.dq=+t,this._a("underlineRippleWidth",this.i.dq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleWidth",{get:function(){return this.i.c4},set:function(t){this.i.c4=+t,this._a("actualUnderlineRippleWidth",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"underlineWidth",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("underlineWidth",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineWidth",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t,this._a("actualUnderlineWidth",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"allowFilter",{get:function(){return this.i.bu},set:function(t){this.i.bu=i.ensureBool(t),this._a("allowFilter",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textField",{get:function(){return this.i.gg},set:function(t){this.i.gg=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"text",{get:function(){return this.i.text},set:function(t){this.i.text=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueField",{get:function(){return this.i.j},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualValueField",{get:function(){return this.i.e},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"isFixed",{get:function(){return this.i.b4},set:function(t){this.i.b4=i.ensureBool(t),this._a("isFixed",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"openAsChild",{get:function(){return this.i.b9},set:function(t){this.i.b9=i.ensureBool(t),this._a("openAsChild",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"useTopLayer",{get:function(){return this.i.cb},set:function(t){this.i.cb=i.ensureBool(t),this._a("useTopLayer",this.i.cb)},enumerable:!1,configurable:!0}),r.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(r.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),r.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},r.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ComboEditorComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},r.prototype.closeUp=function(){this.i.closeUp()},r.prototype.dropDown=function(){this.i.dropDown()},r.prototype.select=function(){this.i.select()},r.prototype.exportVisualModel=function(){return this.i.dw()},r.prototype.exportSerializedVisualModel=function(){return this.i.fk()},r.prototype.selectGridRow=function(t){this.i.it(t)},r.prototype.verifyDisplayText=function(){this.i.i5()},r.prototype.enableDisableFiltering=function(t){this.i.g6(t)},Object.defineProperty(r.prototype,"gotFocus",{get:function(){return this._gotFocus},set:function(t){var e=this;null!==this._gotFocus_wrapped&&(this.i.gotFocus=i.delegateRemove(this.i.gotFocus,this._gotFocus_wrapped),this._gotFocus_wrapped=null,this._gotFocus=null),this._gotFocus=t,this._gotFocus_wrapped=function(t,i){var n=new w;n._provideImplementation(i),e.beforeGotFocus&&e.beforeGotFocus(e,n),e._gotFocus&&e._gotFocus(e,n)},this.i.gotFocus=i.delegateCombine(this.i.gotFocus,this._gotFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lostFocus",{get:function(){return this._lostFocus},set:function(t){var e=this;null!==this._lostFocus_wrapped&&(this.i.lostFocus=i.delegateRemove(this.i.lostFocus,this._lostFocus_wrapped),this._lostFocus_wrapped=null,this._lostFocus=null),this._lostFocus=t,this._lostFocus_wrapped=function(t,i){var n=new O;n._provideImplementation(i),e.beforeLostFocus&&e.beforeLostFocus(e,n),e._lostFocus&&e._lostFocus(e,n)},this.i.lostFocus=i.delegateCombine(this.i.lostFocus,this._lostFocus_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textValueChanged",{get:function(){return this._textValueChanged},set:function(t){var e=this;null!==this._textValueChanged_wrapped&&(this.i.textValueChanged=i.delegateRemove(this.i.textValueChanged,this._textValueChanged_wrapped),this._textValueChanged_wrapped=null,this._textValueChanged=null),this._textValueChanged=t,this._textValueChanged_wrapped=function(t,i){var n=new j;n._provideImplementation(i),e.beforeTextValueChanged&&e.beforeTextValueChanged(e,n),e._textValueChanged&&e._textValueChanged(e,n)},this.i.textValueChanged=i.delegateCombine(this.i.textValueChanged,this._textValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"selectedValueChanged",{get:function(){return this._selectedValueChanged},set:function(t){var e=this;null!==this._selectedValueChanged_wrapped&&(this.i.selectedValueChanged=i.delegateRemove(this.i.selectedValueChanged,this._selectedValueChanged_wrapped),this._selectedValueChanged_wrapped=null,this._selectedValueChanged=null),this._selectedValueChanged=t,this._selectedValueChanged_wrapped=function(t,i){var n=new P;n._provideImplementation(i),e.beforeSelectedValueChanged&&e.beforeSelectedValueChanged(e,n),e._selectedValueChanged&&e._selectedValueChanged(e,n)},this.i.selectedValueChanged=i.delegateCombine(this.i.selectedValueChanged,this._selectedValueChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"keyDown",{get:function(){return this._keyDown},set:function(t){var e=this;null!==this._keyDown_wrapped&&(this.i.keyDown=i.delegateRemove(this.i.keyDown,this._keyDown_wrapped),this._keyDown_wrapped=null,this._keyDown=null),this._keyDown=t,this._keyDown_wrapped=function(t,n){var r=new i.IgcKeyEventArgs;r._provideImplementation(n),e.beforeKeyDown&&e.beforeKeyDown(e,r),e._keyDown&&e._keyDown(e,r)},this.i.keyDown=i.delegateCombine(this.i.keyDown,this._keyDown_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"change",{get:function(){return this._change},set:function(t){var e=this;null!==this._change_wrapped&&(this.i.change=i.delegateRemove(this.i.change,this._change_wrapped),this._change_wrapped=null,this._change=null),this._change=t,this._change_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChange&&e.beforeChange(e,r),e._change&&e._change(e,r)},this.i.change=i.delegateCombine(this.i.change,this._change_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"changing",{get:function(){return this._changing},set:function(t){var e=this;null!==this._changing_wrapped&&(this.i.changing=i.delegateRemove(this.i.changing,this._changing_wrapped),this._changing_wrapped=null,this._changing=null),this._changing=t,this._changing_wrapped=function(t,i){var r=new n.IgcInputChangeEventArgs;r._provideImplementation(i),e.beforeChanging&&e.beforeChanging(e,r),e._changing&&e._changing(e,r)},this.i.changing=i.delegateCombine(this.i.changing,this._changing_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textChange",{get:function(){return this._textChange},set:function(t){var e=this;null!==this._textChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._textChange_wrapped),this._textChange_wrapped=null,this._textChange=null),this._textChange=t,this._textChange_wrapped=function(t,i){var n=e.text;"Text"==i.propertyName&&(e.beforeTextChange&&e.beforeTextChange(e,n),e._textChange&&e._textChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._textChange_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"valueChange",{get:function(){return this._valueChange},set:function(t){var e=this;null!==this._valueChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._valueChange_wrapped),this._valueChange_wrapped=null,this._valueChange=null),this._valueChange=t,this._valueChange_wrapped=function(t,i){var n=e.value;"Value"==i.propertyName&&(e.beforeValueChange&&e.beforeValueChange(e,n),e._valueChange&&e._valueChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._valueChange_wrapped)},enumerable:!1,configurable:!0}),r._observedAttributesIgcComboEditorComponent=null,r.htmlTagName="igc-combo-editor",r._isElementRegistered=!1,r}(i.IgcHTMLElement),I=function(t){function n(){var e=t.call(this)||this;return e.d=null,e.c=0,e.b=0,e.d=i.Rect.empty,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a",{get:function(){return-1!=this.c&&-1!=this.b},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelVisualModel"),n}(i.Base),k=function(t){return t[t.None=0]="None",t[t.SingleRow=1]="SingleRow",t[t.MultipleRow=2]="MultipleRow",t}({}),S=i.markEnum("ListPanelSelectionMode","None,0|SingleRow,1|MultipleRow,2"),x=function(t){return t[t.None=0]="None",t[t.Cell=1]="Cell",t}({}),A=i.markEnum("ListPanelActivationMode","None,0|Cell,1"),N=function(t){return t[t.Toggle=0]="Toggle",t[t.ModifierBased=1]="ModifierBased",t}({}),B=i.markEnum("ListPanelSelectionBehavior","Toggle,0|ModifierBased,1"),R=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.af=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.ag=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.u=function(t){var e=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.af||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,e,t))},n.$t=i.markType(n,"ListPanelSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),E=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=null,n.a=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"ListPanelPrimaryKeyValue"),n}(i.Base),$=function(t){function n(){var e=t.call(this,E.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(E.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,E.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ListPanelSelectedKeysCollection",i.ObservableCollection$1.$.specialize(E.$)),n}(i.ObservableCollection$1),D=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),z=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=0,e.d=0,e.h=0,e.e=0,e.f=0,e.c=0,e.a=0,e.b=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelViewportChangedEventArgs"),n}(i.Base),V=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRecycledEventArgs",i.EventArgs.$),n}(i.EventArgs),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRebindEventArgs",i.EventArgs.$),n}(i.EventArgs),L=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentItems=null,e._addedItems=null,e._removedItems=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentItems",{get:function(){return this._currentItems},set:function(t){this._currentItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedItems",{get:function(){return this._addedItems},set:function(t){this._addedItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedItems",{get:function(){return this._removedItems},set:function(t){this._removedItems=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedItemsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentKeys=null,e._addedKeys=null,e._removedKeys=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentKeys",{get:function(){return this._currentKeys},set:function(t){this._currentKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedKeys",{get:function(){return this._addedKeys},set:function(t){this._addedKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedKeys",{get:function(){return this._removedKeys},set:function(t){this._removedKeys=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedKeysChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newActiveRow=0,e._oldActiveRow=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newActiveRow",{get:function(){return this._newActiveRow},set:function(t){this._newActiveRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldActiveRow",{get:function(){return this._oldActiveRow},set:function(t){this._oldActiveRow=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelActiveRowChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),G=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelItemPresenter"),n}(i.Base),K=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateWidthRequestedEventArgs"),n}(i.Base),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateHeightRequestedEventArgs"),n}(i.Base),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelColumnDefinition"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.l("{ "),t.l("left: "+this.b+", "),t.l("top: "+this.c+", "),t.l("width: "+this.d+", "),t.l("height: "+this.a+" "),t.l("}"),t.toString()},n.$t=i.markType(n,"ListPanelItemVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),J=function(t){function n(){var e=t.call(this)||this;return e.c=0,e.d=0,e.e=0,e.b=0,e.a=null,e.a=new i.List$1(Y.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("left: "+this.c+","),t.u("top: "+this.d+","),t.u("width: "+this.e+","),t.u("height: "+this.b+","),t.l("items: ["),this.a.count>0){t.u("");for(var e=0;e<this.a.count;e++){var n=this.a._inner[e].serialize();t=e<this.a.count-1?t.u(n+", "):t.l(n)}t.u("")}return t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ListPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Z=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f=0,e.d=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d-this.f+1},enumerable:!1,configurable:!0}),n.prototype.c=function(t){return t.f>=this.f&&t.f<=this.d||t.d>=this.f&&t.d<=this.d},n.prototype.b=function(t){return t>=this.f&&t<=this.d},n.a=function(t,e){for(var i=0;i<t.count;i++)if(t._inner[i].b(e))return t._inner[i];return null},n.$t=i.markType(n,"ListPanelRowRange"),n}(i.Base),tt=function(t){function n(){var e,n=t.call(this)||this;return n.p=null,n.o=null,n.a=null,n.j=null,n.n=null,n.e=null,n.m=null,n.g=new i.List$1(i.Delegate_$type,0),n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ag=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.l=null,n.k=null,n}return e.__extends(n,t),n.prototype.s=function(){return this.j},n.prototype.ab=function(){},n.prototype.z=function(t){var n,r,o=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.j=t,this.n=this.j.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.j.get2DCanvasContext(this.n)),this.m=this.j.createElement("div"),this.ae(),i.NativeUIComponent.au(this.s(),9,(function(t){var e=t;o.a.f3(e),o.k=e.an}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative"),this.g.add(t.rootWrapper.listen("mousedown",i.runOn(this,this.t))),this.g.add(t.rootWrapper.listen("mouseup",i.runOn(this,this.u)))}else{try{for(var s=e.__values(i.fromEnum(this.g)),a=s.next();!a.done;a=s.next()){(0,a.value)()}}catch(t){n={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}this.j=null}},n.prototype.t=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gm(e,0==t.button,t.shiftKey,t.ctrlKey)},n.prototype.u=function(t){var e={$type:i.Point_$type,x:t.pageX-this.j.rootWrapper.getOffset().left,y:t.pageY-this.j.rootWrapper.getOffset().top};this.a.gn(e,0==t.button,t.shiftKey,t.ctrlKey)},Object.defineProperty(n.prototype,"contentGrid",{get:function(){return this.k},enumerable:!1,configurable:!0}),n.prototype.ae=function(){},n.prototype.ad=function(){this.j},n.prototype.y=function(){if(null!=this.j){var t=this.j.rootWrapper.width(),e=this.j.rootWrapper.height();this.k.setRawStyleProperty("width",""),this.k.setRawStyleProperty("height","");var n=this.k.outerWidth(),r=this.k.outerHeight();0!=t&&0!=e&&(n=t,r=e),this.ag=new i.Size(1,n,r),this.a.onSizeChanged(this.ag.width,this.ag.height),this.a.ay.d.isEmpty||t==this.a.ay.d.width&&e==this.a.ay.d.height||this.a.setViewport(this.a.ay.d.left,this.a.ay.d.top,this.a.ay.d.left+t,this.a.ay.d.top+e),this.a.ay.d.isEmpty&&t>0&&e>0&&this.a.setViewport(0,0,t,e)}},n.prototype.af=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.h6),i.NativeUI.m(e,this.a.h0))}},n.prototype.d=function(){return this.b},n.prototype.aa=function(){},n.prototype.ac=function(){},n.prototype.x=function(t,e){this.k.setStyleProperty("min-width",t+"px"),this.k.setStyleProperty("min-height",e+"px"),this.a.externalListPanel.onContentSizeChanged()},n.prototype.h=function(){return this.ag.width},n.prototype.i=function(t){return this.c=this.a.a5(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.w=function(t,e){null==this.l&&(this.l=this.j.createElement("div")),e(this.l.getNativeElement())},n.prototype.v=function(){this.a.externalObject.ensureStretch()},n.$t=i.markType(n,"ListPanelView"),n}(i.Base),et=function(t){function n(){var e=t.call(this)||this;e._view=null,e.a6=null,e.be=!1,e.a7=null,e.aa=null,e.propertyChanged=null,e.ef=null,e.viewportChanged=null,e.ay=null,e.dj=-1,e.dk=-1,e.ar=0,e.bh=!0,e.hx=null,e.ba=!0,e.hv=null,e.ht=null,e.dc=i.truncate(i.DeviceUtils.g(1)),e.de=i.truncate(i.DeviceUtils.g(1)),e.dd=i.truncate(i.DeviceUtils.g(1)),e.db=i.truncate(i.DeviceUtils.g(1)),e.q=0,e.am=1,e.b=null,e.a=null,e.ap=null,e.o=null,e.itemRecycled=null,e.itemRebind=null,e.selectedItemsChanged=null,e.selectedKeysChanged=null,e.selectionChanged=null,e.activeRowChanged=null,e.ah=new R,e.ak=new $,e.i=null,e.c=new Array(0),e.c2=10,e.bu=!1,e.dm=-1,e.c0=i.DeviceUtils.g(42),e.a3=null,e.bd=!0,e.eg=null,e.c1=0,e.cz=NaN,e.cy=0,e.bn=!1,e.bg=!1,e.bm=!1,e.dl=-1,e.contentRefreshed=null,e.rowUpdating=null,e.a2=new i.FastIterationDictionary$2(i.Number_$type,ot.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.a1=new i.FastIterationDictionary$2(ot.$,ot.$,0),e.cx=new i.Queue$1(ot.$),e.cr=new i.List$1(i.Number_$type,0),e.cq=new i.List$1(i.Number_$type,0),e.cv=new i.List$1(i.Number_$type,0),e.cu=new i.List$1(i.Number_$type,0),e.dq=-1,e.cw=null,e.az=1,e.hw=null,e.br=!0,e.bk=!0,e.dg=-1,e.dh=-1,e.l=null,e.by=!1,e.k=null,e.hu=n.h1,e.ab=n.ac,e.bi=n.bt,e.hy=n.h2,e.dn=-1,e.dp=-1,e.bj=!0,e.df=0,e._viewportManager=null,e.cs=new i.List$1(i.Number_$type,0),e.ct=new i.List$1(i.Number_$type,0),e.cm=new i.List$1(i.Base.$,0),e.cn=new i.List$1(E.$,0),e.co=new i.List$1(i.Base.$,0),e.cp=new i.List$1(E.$,0),e.bc=!1,e.bb=!1,e.bf=!1,e.bl=!1,e.bp=!1,e.bo=!1,e.cl=!1,e.di=-1,e.bq=!1,e.a9=null,e.x=null,e.itemClicked=null,e.aq=new at(e),e.p=new ht(e),i.NativeUIInputsFactory.n(),e.ay=new I;var r=new tt;return r.a=e,e.view=r,e.view.ab(),e.ah.ag(i.runOn(e,e.hj)),e.ak.an(i.runOn(e,e.hk)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"view",{get:function(){return this._view},set:function(t){this._view=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return null==this.a7&&(this.a7=new i.SRProvider(this.view.j),this.a7.cb("Layouts")),this.a7},enumerable:!1,configurable:!0}),n.prototype.f3=function(t){this.aa=new rt(t)},n.prototype.onSizeChanged=function(t,e){var n=this.cz,r=this.cy;this.cz=this.view.h(),1!=this.ad&&(r==this.cy&&n==(i.isNaN_(this.cz)?0:this.cz)||this.view.x(this.cz,this.cy)),this.g9()},n.prototype.setViewport=function(t,e,n,r){this.dj=-1,this.dk=-1;var o,s=new i.Rect(0,t,e,n-t,r-e);if(s.x!=this.ay.d.x||s.y!=this.ay.d.y||s.width!=this.ay.d.width||s.height!=this.ay.d.height){var a=this.ay.d;this.ay.d=s,this.ha(),null!=this.viewportChanged&&this.viewportChanged(this,((o=new q).g=s.x,o.d=a.x,o.h=s.y,o.e=a.y,o.f=s.width,o.c=a.width,o.a=s.height,o.b=a.height,o))}},n.prototype.af=function(t,e){if(null==this.actualDataSource)return null;if(e<0||e>this.actualDataSource.actualCount-1)return null;var i=this.actualDataSource.getItemAtIndex(e);return null==i?null:this.ae(t,i)},n.prototype.ae=function(t,e){var i=null!=e&&void 0!==e.$$isSpecialRow;if(null==t)return null==e?null:E.createIdentityKey(e);if(i){var n=e;if(this.actualDataSource.isSectionContentVisible||!this.actualDataSource.isSectionHeaderNormalRow||1!=n.rowType)return E.createIdentityKey(e);if(1==n.rowType)for(var r=n.getSectionKeys(),o=0;o<r.length;o++)for(var s=0;s<t.length;s++)if(t[s]!=r[o])return E.createIdentityKey(e)}for(var a=new Array(t.length),h=0;h<t.length;h++)a[h]=this.actualDataSource.getItemProperty(e,t[h]);return new E(t,a)},n.prototype.ea=function(t){return null==this.actualDataSource?-1:null!=this.actualDataSource.actualPrimaryKey&&this.actualDataSource.isKeyIndexLookupSupported?this.actualDataSource.indexOfKey(t.value):-1},n.prototype.ei=function(t){var e=this.ea(t);return-1==e?null!=t.value&&1==t.value.length?t.value[0]:null:this.actualDataSource.getItemAtIndex(e)},n.prototype.e=function(){return null!=this.actualDataSource?this.actualDataSource.actualPrimaryKey:this.d},Object.defineProperty(n.prototype,"as",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.go("SelectionMode",i.enumGetBox(S,e),i.enumGetBox(S,this.ar))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,this.bh!=e&&this.go("IsActiveRowStyleEnabled",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,this.hx!=e&&this.go("SelectedBackground",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.ba},set:function(t){this.ba=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,this.hv!=e&&this.go("NormalBackground",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,this.ht!=e&&this.go("ActivationBorder",e,this.ht)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ds",{get:function(){return this.dc},set:function(t){var e=this.dc;this.dc=t,this.dc!=e&&this.go("ActivationBorderLeftWidth",e,this.dc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"du",{get:function(){return this.de},set:function(t){var e=this.de;this.de=t,this.de!=e&&this.go("ActivationBorderTopWidth",e,this.de)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dt",{get:function(){return this.dd},set:function(t){var e=this.dd;this.dd=t,this.dd!=e&&this.go("ActivationBorderRightWidth",e,this.dd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dr",{get:function(){return this.db},set:function(t){var e=this.db;this.db=t,this.db!=e&&this.go("ActivationBorderBottomWidth",e,this.db)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.go("ActivationMode",i.enumGetBox(A,e),i.enumGetBox(A,this.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"an",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.go("SelectionBehavior",i.enumGetBox(B,e),i.enumGetBox(B,this.am))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.go("PrimaryKey",e,this.b)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.go("ActualPrimaryKey",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},set:function(t){this.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.o},set:function(t){this.o=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ah},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ak},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.go("ItemsSource",e,this.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,this.c!=e&&this.go("SchemaIncludedProperties",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDataSource",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,this.i!=e&&this.go("ActualDataSource",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c8",{get:function(){return this.c2},set:function(t){var e=this.c2;this.c2=t,this.c2!=e&&this.go("ItemSpacing",e,this.c2)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.view.y()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.view.z(t)},Object.defineProperty(n.prototype,"ee",{get:function(){return this.dm},set:function(t){var e=this.dm;this.dm=t,e!=this.dm&&this.go("RowHeight",e,this.dm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c5",{get:function(){return this.c0},set:function(t){var e=this.c0;this.c0=t,e!=this.c0&&this.go("ActualRowHeight",e,this.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.go("CellTextStyle",e,this.a3)},enumerable:!1,configurable:!0}),n.prototype.a5=function(){return null==this.a4?this.view.d():this.a4},Object.defineProperty(n.prototype,"bv",{get:function(){return 1==this.ad},enumerable:!1,configurable:!0}),n.prototype.go=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.g1(t,e,n)},n.prototype.fo=function(t,e){this.gk()},n.prototype.g4=function(){this.bm||(this.bm=!0,this.k.enqueueAction(i.runOn(this,this.fs)))},n.prototype.fs=function(){this.bm&&(this.bm=!1,this.f0(),this.br&&this.fm(),this.g5(),this.g8(),null!=this.contentRefreshed&&this.contentRefreshed(this,new G))},n.prototype.f0=function(){this.bk&&(this.fl(),this.bk=!1,1==this.ad&&this.aa.g(new i.Size(1,this.cz,this.cy)))},n.prototype.g8=function(){if(null!=this.actualDataSource){this.dl=this.actualDataSource.actualCount;for(var t=0;t<this.a1.o.count;t++)if(!this.a1.p._inner[t]){this.a1.o._inner[t];var e=this.a1.q._inner[t];this.aa.f(e)}this.r;for(var i=0;i<this.a2.o.count;i++)if(!this.a2.p._inner[i]){this.a2.o._inner[i];var n=this.a2.q._inner[i];this.fw(n),this.fy(n),this.fu(n),this.aa.d(this,n)}}},n.prototype.fy=function(t){t.p&&(t.k?t.b.a.bg=new i.Thickness(1,this.ds,this.du,this.dt,this.dr):t.b.a.bg=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.a9=this.hz:t.b.a.a9=null,t.n?t.b.a.a8=this.h5:t.b.a.a8=this.h3)},n.prototype.fu=function(t){t.m&&(t.m=!1,this.fz(t))},n.prototype.fz=function(t){if(null!=this.rowUpdating){var e=this.c7(t.v);this.rowUpdating(this,((i=new it).a=t,i.b=t.b.a.bl(0),i.d=t.b.a.an,i.c=e,i))}var i},n.prototype.fw=function(t){var e=this;null==t.b&&(t.b=new W,i.NativeUIComponent.av(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bn(r),0==e.ad?n.f=3:n.f=0,t.b.a=n,null!=e.h3&&(t.b.a.a8=e.h3)})))},n.prototype.fm=function(){if(this.br&&(this.br=!1,this.f2(),this.dg=this.ec(),this.dh=this.ed(),this.ay.c=this.dg,this.ay.b=this.dh,-1!=this.dg&&-1!=this.dh)){for(var t=new i.List$1(i.Number_$type,0),e=0;e<this.a2.o.count;e++)if(!this.a2.p._inner[e]){var n=this.a2.o._inner[e];this.a2.q._inner[e];(n<this.dg||n>this.dh)&&t.add(n)}for(var r=0;r<t.count;r++)this.hb(t._inner[r]);for(var o=this.dg;o<=this.dh;o++){this.fv(o);var s=this.a2.item(o);s.u=this.da(o),s.s=this.c9(o)}}},n.prototype.c9=function(t){if(0==this.ad)return 0;if(2==this.ad){var e=this.d8(t);return this.cv._inner[e]}return this.cv._inner[t]},n.prototype.d8=function(t){return t%this.cw.count},n.prototype.d9=function(t){var e=Math.floor(t/this.cw.count);return i.truncate(e)},n.prototype.da=function(t){if(1==this.ad)return 0;if(2==this.ad){var e=this.d9(t);return this.bz?this.cr._inner[e]:e*this.c5}return this.bz?this.cr._inner[t]:t*this.c5},n.prototype.fv=function(t){if(!this.a2.d(t)){var e=this.z(t);e.i&&(this.a1.f(e),e.i=!1,e.o=!0),this.a2.s(t,e)}},n.prototype.z=function(t){var e=this.cx.count>0?this.cx.b():new ot;return e.v=t,e.t=this.c5,e},n.prototype.hb=function(t){var e=this.a2.item(t);this.g7(e),this.a2.f(t),e.i=!0,e.x=null,this.a1.s(e,e)},n.prototype.g7=function(t){var e;this.cx.g(t),null!=this.itemRecycled&&this.itemRecycled(this,((e=new V).rowObject=t.x,e))},n.prototype.ed=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.ay.d.isEmpty){if(0==this.ad){if(this.bz){this.f0();var t=this.ay.d.bottom,e=this.d0(t);return this.cr._inner[e]+this.cq._inner[e]<t&&(e+=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.ay.d.bottom,r=i.truncate(Math.ceil(n/this.c5));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.bz){this.f0();var o=this.ay.d.bottom,s=this.d0(o);return this.cr._inner[s]+this.cq._inner[s]<o&&(s+=1),s*=this.cw.count,s+=this.cw.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.bottom,h=i.truncate(Math.floor(a/this.c5));return h*=this.cw.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.f0();var u=this.ay.d.right,l=this.d1(u);return this.cv._inner[l]+this.cu._inner[l]<u&&(l+=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return this.actualDataSource.actualCount-1},n.prototype.d0=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cr,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cr.count-1&&(e=this.cr.count-1),e},n.prototype.d1=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cv,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cv.count-1&&(e=this.cv.count-1),e},n.prototype.ec=function(){if(null==this.actualDataSource||null==this.actualDataSource.actualSchema||0==this.actualDataSource.actualCount)return-1;if(!this.ay.d.isEmpty){if(0==this.ad){if(this.bz){this.f0();var t=this.ay.d.top,e=this.d0(t);return this.cr._inner[e]>t&&(e-=1),Math.max(0,Math.min(e,this.actualDataSource.actualCount-1))}var n=this.ay.d.top,r=i.truncate(Math.floor(n/this.c5));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.bz){this.f0();var o=this.ay.d.top,s=this.d0(o);return this.cr._inner[s]>o&&(s-=1),s*=this.cw.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.top,h=i.truncate(Math.floor(a/this.c5));return h*=this.cw.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.f0();var u=this.ay.d.left,l=this.d1(u);return this.cv._inner[l]>u&&(l-=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return 0},n.prototype.c7=function(t){return 2==this.ad&&(t=this.d8(t)),this.cu.count>0&&t<this.cu.count?this.cu._inner[t]:0},n.prototype.c6=function(t){return 2==this.ad&&(t=this.d9(t)),this.cq.count>0&&t<this.cq.count?this.cq._inner[t]:this.c5},n.prototype.fl=function(){var t=this;this.cq.clear(),this.cr.clear(),this.cu.clear(),this.cv.clear();var e=0!=this.r,n=this.du+this.dr,r=this.ds+this.dt;if(null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var o=this.cy,s=i.isNaN_(this.cz)?0:this.cz;if(0==this.ad)if(this.bz){for(var a=0,h=function(i){var r,o=u.c5;if(null!=u.itemHeightRequested){var s=((r=new X).b=i,r.c=t.actualDataSource.getItemAtIndex(i),r.a=o,r);u.itemHeightRequested(u,s),o=s.a,e&&(o+=n)}o>0&&i>0&&(a+=u.c8),u.cr.add(a),u.cq.add(o),a+=o},u=this,l=0;l<this.actualDataSource.actualCount;l++)h(l);this.cy=a}else this.cy=this.c5*this.actualDataSource.actualCount;else if(2==this.ad){var c=new i.List$1(Q.$,0),p=this.dw(c,2147483647);if(this.bz){for(var f=0,d=function(i){b.cr.add(f);for(var r=b.c5,o=0,s=i*c.count,a=function(i){var a,h=i+s;if(h>b.actualDataSource.actualCount-1)return"continue";if(null!=b.itemHeightRequested){var u=((a=new X).b=h,a.c=t.actualDataSource.getItemAtIndex(h),a.a=r,a);b.itemHeightRequested(b,u);var l=u.a;e&&(l+=n),o=Math.max(o,l)}},h=0;h<c.count;h++)a(h);f+=r=o,b.cq.add(r)},b=this,g=0;g<p;g++)d(g);this.cy=f}else this.cy=this.c5*p;this.cw=c,this.dq=p;for(var y=0,m=0;m<this.cw.count;m++)this.cv.add(y),this.cu.add(this.cw._inner[m].a),y+=this.cw._inner[m].a}else{this.cy=this.c5;for(var v=0,_=function(i){var n,o=0;if(null!=C.itemWidthRequested){var s=((n=new K).b=i,n.c=t.actualDataSource.getItemAtIndex(i),n.a=o,n);C.itemWidthRequested(C,s),o=s.a,e&&(o+=r)}o>0&&i>0&&(v+=C.c8),C.cv.add(v),C.cu.add(o),v+=o},C=this,j=0;j<this.actualDataSource.actualCount;j++)_(j);this.cz=v}o==this.cy&&s==(i.isNaN_(this.cz)?0:this.cz)||this.view.x(this.cz,this.cy)}},n.prototype.dw=function(t,e){for(var i=this,n=0,r=0,o=this.view.h(),s=0,a=o-=5,h=this.actualDataSource.actualCount,u=function(h){var u,c=0;if(null!=l.itemWidthRequested){var p=((u=new K).b=h,u.c=i.actualDataSource.getItemAtIndex(h),u.a=c,u);l.itemWidthRequested(l,p),c=p.a}if(s+c>o&&r>0||r>=e){if(0!=n&&r<e&&e>1)return t._inner[r].a=c,l.hd(o,t),0==t.count?{value:0}:{value:l.dw(t,t.count)};e=Math.max(Math.min(e,r),1),n++;var f=o-s;f<a&&(a=f),s=0,r=0}if(t.count<=r){var d=new Q;d.a=c,t.add(d),r++}else{var b=t._inner[r];if(c>b.a){var g=c-b.a;if(b.a=c,g>a&&e>1)return l.hd(o,t),0==t.count?{value:0}:{value:l.dw(t,t.count)};(a-=g)<0&&(a=0),r++}else c=b.a,r++}s+=c},l=this,c=0;c<h;c++){var p=u(c);if("object"==typeof p)return p.value}return n+1},n.prototype.hd=function(t,n){var r,o,s=0;try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){s+=h.value.a}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}for(;s>t;){if(n.count<1)return;s-=n._inner[n.count-1].a,n.removeAt(n.count-1)}},n.prototype.f1=function(){this.bm&&this.fs()},Object.defineProperty(n.prototype,"a0",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.go("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.az))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.go("ScrollbarBackground",e,this.hw)},enumerable:!1,configurable:!0}),n.prototype.g9=function(){var t=i.isNaN_(this.cz)?0:this.cz,e=this.cy;this.bn=!0,this.f7(this.c1),t==(i.isNaN_(this.cz)?0:this.cz)&&e==this.cy||this.externalListPanel.onContentSizeChanged(),this.bn=!1,this.f8(),this.g4()},n.prototype.f8=function(){this.br=!0,this.dg=-1,this.dh=-1},n.prototype.f7=function(t){this.bk=!0,this.c1=t},n.prototype.f2=function(){this.bg&&(this.bg=!1,this.g9(),this.f6())},n.prototype.ha=function(){this.bg?this.f2():(this.f8(),this.g4(),this.f1())},n.prototype.d4=function(){return this.br&&this.fm(),this.dh},n.prototype.d2=function(){return this.br&&this.fm(),this.dg},n.prototype.cj=function(){return this.dg>=0&&this.dh>=0},n.prototype.f6=function(){if(this.cj()){var t=this.d2(),e=this.d4();this.f5(t,e)}},n.prototype.f5=function(t,e){var i=this.d2(),n=this.d4();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.g5(),this.ha())},n.prototype.g5=function(){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount)for(var t=0!=this.r,e=0!=this.as,i=function(i){if(n.a2.p._inner[i])return"continue";var r,o=n.a2.q._inner[i],s=o.x,a=n.actualDataSource.getItemAtIndex(o.v);null!=s&&s!=a&&null!=n.itemRebind&&n.itemRebind(n,((r=new U).rowObject=s,r)),o.x=a,o.t=n.c5,t&&(n.p.c(o)?o.j=!0:o.j=!1,o.k=!0),e&&(n.aq.j(o)?o.n=!0:o.n=!1,o.k=!1)},n=this,r=0;r<this.a2.q.count;r++)i(r)},n.prototype.g6=function(t){if(null!=this.actualDataSource&&0!=this.actualDataSource.actualCount&&this.a2.d(t)){var e=this.a2.item(t);e.x=this.actualDataSource.getItemAtIndex(e.v),e.t=this.c5}},n.prototype.g3=function(){this.bg||(this.bg=!0,this.f8(),this.g4())},n.prototype.f4=function(t){this.g6(t)},n.prototype.gk=function(){this.bg?this.f2():(this.g9(),this.f6())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.l},set:function(t){this.l=t},enumerable:!1,configurable:!0}),n.prototype.ci=function(){return 0!=this.as||0!=this.r},n.prototype.g1=function(t,e,n){var r=this;switch(t){case"SchemaIncludedProperties":null!=this.i&&(this.i.schemaIncludedProperties=this.g);break;case"ItemsSource":if(null!=this.i){var o=this.i;o.schemaChanged=i.delegateRemove(o.schemaChanged,i.runOn(this,this.fo)),this.i.updateNotifier=null}if(null!==i.typeCast(i.IDataSource_$type,this.itemsSource))this.actualDataSource=this.itemsSource;else{var s=this.externalListPanel.createLocalDataSource(this.itemsSource,this.g);this.actualDataSource=s}if(null!=this.i){var a=this.i;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.fo)),this.i.updateNotifier=new nt(this),null!=this.i.actualSchema&&(this.g3(),this.k.enqueueAction((function(){return r.gk()})))}break;case"RowHeight":this.c5=this.ee;break;case"CellTextStyle":case"BackgroundColor":case"TextColor":this.f6();break;case"ItemSpacing":case"Orientation":case"ActualRowHeight":this.g9();break;case"ScrollbarStyle":this.externalListPanel.setScrollbarStyle(this.a0);break;case"ScrollbarBackground":this.externalListPanel.setScrollbarColor(this.h4);break;case"ActiveRow":this.di=i.typeGetValue(e),this.bq=!0,-1!=this.dv&&this.dv>=0?this.p.k(this.dv):this.p.o(),this.bq=!1;break;case"SelectedBackground":case"ActivationBorder":case"ActivationBorderLeftWidth":case"ActivationBorderRightWidth":case"ActivationBorderBottomWidth":case"ActivationBorderTopWidth":this.g3();break;case"ActivationMode":this.by=this.ci();break;case"SelectionMode":switch(this.by=this.ci(),this.as){case 1:if(this.al.count>1){var h=this.al._inner[this.al.count-1];this.al.clear(),this.al.add(h)}break;case 2:break;case 0:this.al.count>0&&this.al.clear()}}},n.prototype.h7=function(){var t=this.cy,e=0;!i.isNaN_(t)&&t>=0&&(e=t);var n=0;if(1==this.ad)for(var r=0;r<this.cu.count;r++){var o=this.cu._inner[r];!i.isNaN_(o)&&o>=0&&(n+=o)}else if(2==this.ad)for(var s=0;s<this.cu.count;s++){var a=this.cu._inner[s];!i.isNaN_(a)&&a>=0&&(n+=a)}else!i.isNaN_(this.cz)&&this.cz>=0&&(n=this.cz);return new i.Size(1,n,e)},n.prototype.gj=function(t,e){if(1==this.r&&-1!=this.dv&&this.dv>=t&&this.dv<=e&&null!=this.activeRowChanged){var i=new H;i.newActiveRow=this.dv,i.oldActiveRow=this.dv,this.activeRowChanged(this,i)}var n=this.d2(),r=this.d4();e<n||t>r||(t<n&&(t=n),e>r&&(e=r),this.cj()&&(this.d6()!=this.dl?this.g9():this.ha(),this.fn()))},n.prototype.fn=function(){if(!this.ay.d.isEmpty){if(1==this.ad){if(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth){var t=this.d6()-1;t<0&&(t=0),this.hg(t)}}else if(this.ay.d.bottom>this.absoluteHeight||this.ay.d.top>this.absoluteHeight){var e=this.d6()-1;e<0&&(e=0),this.hg(e)}2==this.ad&&(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth)&&this.hf(this.cw.count-1)}},n.prototype.gy=function(t,e,i){if(0==this.ad){if(this.bz){var n=this.c5;if(null!=this.itemHeightRequested){var r=new X;r.c=i,r.b=t,r.a=n,this.itemHeightRequested(this,r),n=r.a}var o=this.cq._inner[t];this.cq._inner[t]=n;for(var s=n-o,a=t;a<this.actualDataSource.actualCount;a++)this.cr._inner[a]+=s}}else{if(2==this.ad)return void this.g9();var h=0;if(null!=this.itemWidthRequested){var u=new K;u.c=i,u.b=t,u.a=h,this.itemWidthRequested(this,u),h=u.a}var l=this.cu._inner[t];this.cu._inner[t]=h;for(var c=h-l,p=t;p<this.actualDataSource.actualCount;p++)this.cv._inner[p]+=c}this.f4(t)},n.prototype.gi=function(){this.g9()},n.prototype.gl=function(t,e){if(0==this.ad){if(this.bz){var i=this.c5;if(null!=this.itemHeightRequested){var n=new X;n.c=e,n.b=t,n.a=i,this.itemHeightRequested(this,n),i=n.a}this.cq.insert(t,i);var r=0;if(t>0)r=this.cr._inner[t-1]+this.cq._inner[t-1];this.cr.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.cr._inner[o]+=i}}else{if(2==this.ad)return void this.g9();var s=0;if(null!=this.itemWidthRequested){var a=new K;a.c=e,a.b=t,a.a=s,this.itemWidthRequested(this,a),s=a.a}this.cu.insert(t,s);var h=0;t>0&&(h=this.cv._inner[t-1]+this.cu._inner[t-1]);this.cv.insert(t,h);for(var u=t;u<this.actualDataSource.actualCount;u++)this.cv._inner[u]+=s}this.g3()},n.prototype.gp=function(t,e){if(0==this.ad){for(var i=this.cq._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.cr._inner[n]-=i;this.cq.removeAt(t),this.cr.removeAt(t)}else{if(2==this.ad)return void this.g9();for(var r=this.cu._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.cv._inner[o]-=r;this.cu.removeAt(t),this.cv.removeAt(t)}this.g3()},n.prototype.gc=function(t,e,i){null!=this.i&&this.i.notifySetItem(t,e,i)},n.prototype.f9=function(){null!=this.i&&this.i.notifyClearItems()},n.prototype.ga=function(t,e){null!=this.i&&this.i.notifyInsertItem(t,e)},n.prototype.gb=function(t,e){null!=this.i&&this.i.notifyRemoveItem(t,e)},n.prototype.dx=function(t){return null==this.i?-1:this.i.indexOfItem(t)},n.prototype.dy=function(t){return null==this.i?-1:this.i.indexOfKey(t)},Object.defineProperty(n.prototype,"h0",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.go("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.go("Orientation",i.enumGetBox(z,e),i.enumGetBox(z,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.go("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.go("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteWidth",{get:function(){return this.cz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteHeight",{get:function(){return this.cy},enumerable:!1,configurable:!0}),n.prototype.eh=function(){var t,n,r=this,o=new J,s=this.aa.h();o.c=s.left,o.d=s.top,o.e=s.width,o.b=s.height;try{for(var a=e.__values(i.fromEnum(this.a2.n)),h=a.next();!h.done;h=a.next()){var u=h.value;o.a.add(u.a(this.aa))}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o.a.aa((function(t,e){return 0==r.ad?t.c<e.c?-1:t.c==e.c?0:1:2==r.ad?t.c==e.c?t.b<e.b?-1:t.b==e.b?0:1:t.c<e.c?-1:t.c==e.c?0:1:t.b<e.b?-1:t.b==e.b?0:1})),o},n.prototype.ez=function(){return this.eh().serialize()},Object.defineProperty(n.prototype,"b0",{get:function(){return this.bj},set:function(t){this.bj=t},enumerable:!1,configurable:!0}),n.prototype.hi=function(){2==this.as&&this.aq.v()},n.prototype.b9=function(t,e,i){if(this.b0)switch(t){case 30:if(i)return this.hi(),!0;break;case 32:return!1}return!1},n.prototype.b1=function(){return-1==this.df},Object.defineProperty(n.prototype,"dv",{get:function(){return this.df},set:function(t){var e=this.df;this.df=t,e!=this.df&&this.go("ActiveRow",e,this.df)},enumerable:!1,configurable:!0}),n.prototype.fk=function(t,e,i){if(void 0===i&&(i=!1),this.ay.a&&(i||(t<=this.d2()?this.hg(t):t>=this.d4()&&(e?this.hg(t):this.he(t))),2==this.ad)){var n=this.d3(),r=this.d5(),o=this.d7(t);o<=n?this.hh(o):o>=r&&this.hf(o)}},n.prototype.hf=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.dk&&(e=this.dk),2==this.ad){var n=0,r=0;for(r=0;r<this.cw.count&&(n+=this.cw._inner[r].a,t!=r);r++);(n-=this.ay.d.width)<0&&(n=0),this.dk=e,this.dj=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.hh=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.dk&&(e=this.dk),2==this.ad){var n=0,r=0;for(r=0;r<this.cw.count&&t!=r;r++)n+=this.cw._inner[r].a;this.dk=e,this.dj=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.d7=function(t){return 2==this.ad?this.d8(t):-1},n.prototype.d5=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cw.count;e++)if((t+=this.cw._inner[e].a)>this.ay.d.right)return Math.min(Math.max(e-1,0),this.cw.count-1);return Math.min(e,this.cw.count-1)}return-1},n.prototype.d3=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cw.count;e++)if((t+=this.cw._inner[e].a)>this.ay.d.left)return Math.min(Math.max(e,0),this.cw.count-1);return e}return-1},n.prototype.hg=function(t){if(!this.ay.d.isEmpty){var e=i.truncate(this.ay.d.left);-1!=this.dj&&(e=this.dj);var n=0;t<0&&(t=0),t>=this.d6()&&(t=this.d6()-1);var r=0;if(r=i.truncate(Math.floor(t)),2==this.ad&&(r=i.truncate(Math.floor(r/this.cw.count))),n=this.cr.count>0?i.truncate(Math.floor(this.cr._inner[r])):i.truncate(Math.floor(this.c5*r)),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cq._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cy>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cy&&(n=i.truncate(Math.round(this.cy-this.ay.d.height))),n<0&&(n=0),this.dk=n,this.dj=e,this.viewportManager.moveViewportTo(e,n)}},n.prototype.he=function(t){var e=i.truncate(this.ay.d.left);-1!=this.dj&&(e=this.dj);var n=0;t<0&&(t=0),t>=this.d6()&&(t=this.d6()-1);var r=i.truncate(Math.floor(t));if(2==this.ad&&(r=i.truncate(Math.floor(r/this.cw.count))),n=0==this.cr.count?i.truncate(Math.round(this.c5*t+this.c5)):i.truncate(Math.floor(this.cr._inner[r]+this.cq._inner[r])),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cq._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cy>0&&this.ay.d.height>0&&(n-=i.truncate(Math.round(this.ay.d.height))),this.cy>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cy&&(n=i.truncate(Math.round(this.cy-this.ay.d.height))),n<0&&(n=0),this.dk=n,this.dj=e,this.viewportManager.moveViewportTo(e,n)},Object.defineProperty(n.prototype,"viewportManager",{get:function(){return this._viewportManager},set:function(t){this._viewportManager=t},enumerable:!1,configurable:!0}),n.prototype.b3=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dv;if(i>this.d6()-1)return!1;var n=i+1;if(2==this.ad&&(n=i+this.cw.count),e&&(n=this.d6()-1),n>this.d6()-1&&(n=this.d6()-1),n==i)return!1;if(this.dv=n,this.ay.a&&this.fk(n,!1),this.bo=!1,2==this.as&&t){-1==this.dp&&(this.dp=i);var r=Math.min(this.dp,n),o=Math.max(this.dp,n);this.hl(r,o)}else this.dp=-1,this.dn=-1,this.cs.clear(),this.ct.clear();return this.gx(),!0},n.prototype.gx=function(){this.bo&&null!=this.selectionChanged&&(this.selectionChanged(this,new M),this.bo=!1)},n.prototype.hl=function(t,e){for(var i=t;i<=e;i++)if(!this.cs.contains(i)&&!this.ct.contains(i)){var n=this.af(this.e(),i);if(null!=n){if(this.aq.h(n)){this.cs.add(i);continue}this.ct.add(i),this.al.add(n),this.aq.z(i)}}for(var r=0;r<this.ct.count;r++)if(this.ct._inner[r]<t||this.ct._inner[r]>e){var o=this.af(this.e(),this.ct._inner[r]);if(null!=o){this.ct.removeAt(r),r--;var s=this.al.indexOf(o),a=this.ai._inner[s];this.al.remove(o),this.cn.remove(o),this.cp.remove(o),this.cm.remove1(a),this.co.remove1(a)}}},n.prototype.b4=function(t,e){if(0==this.r||this.b1())return!1;var i=this.dv,n=this.dv;if(e){if(n>=this.d6()-1)return!1;n=this.d6()-1}else if(2==this.ad&&this.d7(n)==this.cw.count-1)return!1;if(2==this.ad){var r=n-this.d7(n)+this.cw.count;r>this.d6()-1&&(r=this.d6()-1),n=r}return n!=i&&(this.dv=n,this.fk(n,!1),!0)},n.prototype.b8=function(t,e){var i=this.df,n=this.df;if(e){if(n<=0)return!1;n=0}else if(2==this.ad&&0==this.d7(n))return!1;if(2==this.ad){var r=n-this.d7(n);r<0&&(r=0),n=r}return n!=i&&(this.dv=n,this.fk(n,!1),!0)},n.prototype.ca=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dv;if(i<=0)return!1;var n=i-1;if(e&&(n=0),e&&2==this.ad&&(n=i-this.d7(i))<0&&(n=0),n<0&&(n=0),n==i)return!1;if(this.dv=n,this.ay.a&&this.fk(n,!1),this.bo=!1,2==this.as&&t){-1==this.dp&&(this.dp=i);var r=Math.min(this.dp,n),o=Math.max(this.dp,n);this.hl(r,o)}else this.dp=-1,this.dn=-1,this.cs.clear(),this.ct.clear();return this.gx(),!0},n.prototype.cb=function(t,e){if(0==this.r||this.b1())return!1;this.d2();var i=this.d4(),n=Math.min(i+1,this.d6()-1);return this.dv=n,this.fk(n,!0),!0},n.prototype.cc=function(t,e){if(0==this.r||this.b1())return!1;var i=this.d2(),n=this.d4()-i,r=Math.max(i-n-1,0);return this.dv=r,this.fk(r,!1),!0},n.prototype.cd=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dv;if(i<=0)return!1;var n=i-1;if(e&&(n=this.d6()-1),e&&2==this.ad&&(n=i-this.d7(i)+this.cw.count)>this.d6()-1&&(n=this.d6()-1),n>this.d6()-1&&(n=this.d6()-1),n==i)return!1;if(this.dv=n,this.ay.a&&this.fk(n,!1),this.bo=!1,2==this.as&&t){-1==this.dp&&(this.dp=i);var r=Math.min(this.dp,n),o=Math.max(this.dp,n);this.hl(r,o)}else this.dp=-1,this.dn=-1,this.cs.clear(),this.ct.clear();return this.gx(),!0},n.prototype.cf=function(t,e){return 0!=this.r&&!this.b1()&&(0==this.ad?this.b3(t,e):this.cd(t,e))},n.prototype.g0=function(){},n.prototype.cg=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b1())return!1;var i=this.dv;if(i<=0)return!1;var n=i-1;if(2==this.ad&&(n=i-this.cw.count)<0&&(n=0),e&&(n=0),n<=0&&(n=0),n==i)return!1;if(this.dv=n,this.ay.a&&this.fk(n,!1),this.bo=!1,2==this.as&&t){-1==this.dp&&(this.dp=i);var r=Math.min(this.dp,n),o=Math.max(this.dp,n);this.hl(r,o)}else this.dp=-1,this.dn=-1,this.cs.clear(),this.ct.clear();return this.gx(),!0},n.prototype.b5=function(t,e){return!1},n.prototype.b6=function(){return!1},n.prototype.b7=function(){return!1},n.prototype.ce=function(t,e){return!1},n.prototype.fx=function(){this.view.v()},Object.defineProperty(n.prototype,"bw",{get:function(){return this.bf},set:function(t){this.bf=t},enumerable:!1,configurable:!0}),n.prototype.fj=function(t){void 0===t&&(t=!1),this.cm.clear(),this.cn.clear(),this.co.clear(),this.cp.clear(),this.bb=!0,this.bc=t},n.prototype.ft=function(){this.bb&&(this.bw=!0,this.hs(this.cm,this.cn,this.co,this.cp),this.bw=!1),this.bb=!1},Object.defineProperty(n.prototype,"b2",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.go("NotifyOnAllSelectionChanges",e,this.bl)},enumerable:!1,configurable:!0}),n.prototype.hs=function(t,e,i,n){if(0!=t.count||0!=e.count||0!=i.count||0!=n.count){var r=this.b2;if(this.b2=!1,!this.bp&&!this.bc&&(t.count>0&&(this.ai.o(t),this.al.o(e),this.bo=!0),i.count>0)){this.al.ah=!0,this.ai.af=!0;for(var o=i.count-1;o>=0;o--){var s=this.al.al(n._inner[o]);s>=0&&(this.ai.removeAt(s),this.al.removeAt(s))}this.ai.af=!1,this.al.ah=!1,this.bo=!0}this.b2=r,this.gs(i,t),this.gv(n,e)}},n.prototype.hj=function(t,n){var r,o,s,a,h,u,l,c=this;if(this.bo=!0,!this.bw&&null!=this.actualDataSource&&!this.bp){switch(this.bp=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ae(this.e(),n.newItems.item(p));this.al.ae.insert(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.al.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.al.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.ae(this.e(),n.newItems.item(g));this.al.ae.insert(g+n.newStartingIndex,y)}break;case 4:this.al.clear();try{for(var m=e.__values(i.fromEnum(this.ai.ae)),v=m.next();!v.done;v=m.next()){var _=v.value,C=this.ae(this.e(),_);this.al.add(C)}}catch(t){r={error:t}}finally{try{v&&!v.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.aq.af(),this.bp=!1}if(this.b2&&null!=this.selectedItemsChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){j=new R;try{for(var P=e.__values(i.fromEn(n.newItems)),w=P.next();!w.done;w=P.next()){var O=w.value;j.add1(O)}}catch(t){s={error:t}}finally{try{w&&!w.done&&(a=P.return)&&a.call(P)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){T=new R;try{for(var I=e.__values(i.fromEn(n.oldItems)),k=I.next();!k.done;k=I.next()){var S=k.value;T.add1(S)}}catch(t){h={error:t}}finally{try{k&&!k.done&&(u=I.return)&&u.call(I)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new L).addedItems=j,l.removedItems=T,l.currentItems=c.ai,l))}},n.prototype.hk=function(t,n){var r,o,s,a,h,u,l,c=this;if(!this.bw&&null!=this.actualDataSource&&!this.bp){switch(this.bp=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ei(n.newItems.item(p));this.ai.ae.insert1(p+n.newStartingIndex,f)}break;case 1:if(null!=n.oldItems)for(var d=0;d<n.oldItems.count;d++)this.ai.ae.removeAt(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var b=0;b<n.oldItems.count;b++)this.ai.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var g=0;g<n.newItems.count;g++){var y=this.ei(n.newItems.item(g));this.ai.ae.insert1(g+n.newStartingIndex,y)}break;case 4:this.ai.clear();try{for(var m=e.__values(i.fromEnum(this.al.ae)),v=m.next();!v.done;v=m.next()){var _=v.value,C=this.ei(_);this.ai.add1(C)}}catch(t){r={error:t}}finally{try{v&&!v.done&&(o=m.return)&&o.call(m)}finally{if(r)throw r.error}}}this.aq.af(),this.bp=!1}if(this.b2&&null!=this.selectedKeysChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){(j=new $).ag=!1;try{for(var P=e.__values(i.fromEn(n.newItems)),w=P.next();!w.done;w=P.next()){var O=w.value;j.add(O)}}catch(t){s={error:t}}finally{try{w&&!w.done&&(a=P.return)&&a.call(P)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){(T=new $).ag=!1;try{for(var I=e.__values(i.fromEn(n.oldItems)),k=I.next();!k.done;k=I.next()){var S=k.value;T.add(S)}}catch(t){h={error:t}}finally{try{k&&!k.done&&(u=I.return)&&u.call(I)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new F).addedKeys=j,l.removedKeys=T,l.currentKeys=c.al,l))}},n.prototype.hp=function(t,e){this.g3()},n.prototype.gq=function(t,e){if(null==t){var i=this.al.ae.indexOf(e);i>-1&&this.ai.ae.count>0&&(t=this.ai.ae._inner[i])}null!=t&&(this.bw=!0,this.bb?(this.cm.add1(t),this.cn.add(e),this.bc&&this.fi(t,e,!1)):this.fi(t,e,!0),this.bw=!1)},n.prototype.hq=function(t,e){this.g3()},n.prototype.gr=function(t,e){if(null==t){var i=this.al.ae.indexOf(e);i>-1&&this.ai.ae.count>0&&(t=this.ai.ae._inner[i])}null!=t&&(this.bw=!0,this.bb?(this.co.add1(t),this.cp.add(e),this.bc&&this.hc(t,e,!1)):this.hc(t,e,!0),this.bw=!1)},n.prototype.fi=function(t,e,i){var n=this.b2;this.b2=!1,this.bp||(this.ai.add1(t),this.al.add(e)),this.b2=n,i&&(this.gt(null,t),this.gu(null,e))},n.prototype.hr=function(t,e,i){var n=this.b2;this.b2=!1;this.ai.ae._inner[t];this.bp||(this.ai.ae._inner[t]=e),this.b2=n,this.gt(e,e)},n.prototype.hc=function(t,e,i){var n=this.b2;this.b2=!1,this.bp||(this.ai.remove1(t),this.al.remove(e)),this.b2=n,i&&(this.gt(t,null),this.gu(e,null))},n.prototype.gt=function(t,e){if(!this.cl&&null!=this.selectedItemsChanged){var i=new L;if(i.currentItems=this.ai,null!=t){var n=new R;n.add1(t),i.removedItems=n}if(null!=e){var r=new R;r.add1(e),i.addedItems=r}this.selectedItemsChanged(this,i)}},n.prototype.gu=function(t,e){if(!this.cl&&null!=this.selectedKeysChanged){var i=new F;i.currentKeys=this.al,null!=t&&(i.removedKeys=new $,i.removedKeys.ag=!1,i.removedKeys.add(t)),null!=e&&(i.addedKeys=new $,i.addedKeys.ag=!1,i.addedKeys.add(e)),this.selectedKeysChanged(this,i)}},n.prototype.gs=function(t,e){if(!this.cl&&null!=this.selectedItemsChanged){var i=new L;i.currentItems=this.ai,null!=t&&(i.removedItems=new R,i.removedItems.o(t)),null!=e&&(i.addedItems=new R,i.addedItems.o(e)),this.selectedItemsChanged(this,i)}},n.prototype.gv=function(t,e){if(!this.cl&&null!=this.selectedKeysChanged){var i=new F;i.currentKeys=this.al,null!=t&&(i.removedKeys=new $,i.removedKeys.ag=!1,i.removedKeys.o(t)),null!=e&&(i.addedKeys=new $,i.addedKeys.ag=!1,i.addedKeys.o(e)),this.selectedKeysChanged(this,i)}},n.prototype.fp=function(){if((1==this.as||2==this.as)&&this.ai.ae.count>0){for(var t=new i.List$1(i.Base.$,0),e=new i.List$1(E.$,0),n=0;n<this.ai.ae.count;n++)t.add1(this.ai.ae._inner[n]),e.add(this.al.ae._inner[n]);this.bw=!0,this.ai.clear(),this.al.clear(),this.cl=!0,this.aq.af(),this.cl=!1,this.bw=!1,this.gs(t,null),this.gv(e,null),this.aq.z(-1)}},n.prototype.h=function(t){return null==this.actualDataSource||t<0||t>=this.d6()?0:this.actualDataSource.getRowType(t)},n.prototype.eb=function(t,e,n,r){if(null==this.actualDataSource||n<0)return-1;for(var o=n;o<=r&&!(o>this.actualDataSource.actualCount-1);o++){var s=this.actualDataSource.getItemAtIndex(o);if(null!=s){var a=this.ae(t,s);if(null!=a){if(null!=a.value&&1==a.value.length&&null!=a.value[0]&&i.getInstanceType(a.value[0])==i.DataSourceSpecialRow.$&&null!=e.value&&1==e.value.length&&null!=e.value[0]&&i.getInstanceType(e.value[0])==i.DataSourceSpecialRow.$){var h=i.typeCast(i.DataSourceSpecialRow.$,a.value[0]),u=i.typeCast(i.DataSourceSpecialRow.$,e.value[0]);if(h.rowType==u.rowType&&3==h.rowType&&h.targetRow==u.targetRow)return o}if(a.equals(e))return o}}}return-1},n.prototype.ek=function(t){return t<0||t>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(t)},n.prototype.dz=function(t,e,i,n){var r=this.eb(t,e,i,n);return r>=0?r:this.ea(e)},n.prototype.d6=function(){return null==this.actualDataSource?0:this.actualDataSource.actualCount},n.prototype.el=function(t){var e=t.v;return e<0||e>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(e)},n.prototype.gw=function(t,e,i){this.bw=!0,this.hr(t,e,i),this.bw=!1},n.prototype.hn=function(t,e){this.g3()},n.prototype.ge=function(t){if(this.bq||(this.dv=t),null!=this.activeRowChanged){var e=new H;e.newActiveRow=this.dv,e.oldActiveRow=this.di,this.activeRowChanged(this,e)}this.gf()},n.prototype.ho=function(t,e){this.g3()},n.prototype.gh=function(t){var e=this.dv;if(this.bq||(this.dv=t),null!=this.activeRowChanged){var i=new H;i.newActiveRow=this.dv,i.oldActiveRow=e,this.activeRowChanged(this,i)}this.gf()},n.prototype.gf=function(){},n.prototype.ck=function(t){var e=this.dx(t);return-1!=e&&(this.hg(e),!0)},n.prototype.gm=function(t,e,i,n){if(this.by){var r=this.y(t);this.x=r}},n.prototype.y=function(t){for(var e=0;e<this.a2.o.count;e++)if(!this.a2.p._inner[e]){this.a2.o._inner[e];var i=this.a2.q._inner[e];if(this.ch(i,t))return i}return null},n.prototype.ch=function(t,e){var i=e.y+this.ay.d.top,n=e.x+this.ay.d.left,r=this.cz,o=this.c5,s=t.v,a=-1;return 2==this.ad&&(s=this.d9(s),a=this.d8(s),r=this.cw._inner[a].a),this.bz&&(o=this.cq._inner[s]),1==this.ad&&(r=this.cu._inner[s]),n>=t.s&&n<=t.s+r&&i>=t.u&&i<=t.u+o},n.prototype.gn=function(t,e,i,n){if(this.by){var r=this.y(t);null!=r&&r==this.x&&this.gg(r,e,i,n)}},n.prototype.gg=function(t,e,i,n){var r,o=this;e&&(this.dp=-1,this.dn=-1,this.cs.clear(),this.ct.clear(),this.bo=!1,this.aq.o(t,i,n,0==this.an),this.gx(),1==this.r&&this.p.n(t)),null!=this.itemClicked&&this.itemClicked(t,((r=new st).itemInfo=t,r.listPanel=o,r.isLeftButton=e,r.isDoubleClick=!1,r))},n.prototype.fr=function(t){for(var e=0;e<this.a2.o.count;e++)this.a2.p._inner[e]||this.a2.q._inner[e].x==t&&(this.a2.q._inner[e].m=!0)},n.$t=i.markType(n,"ListPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.h1=null,n.ac=0,n.bt=!1,n.h2=i.BrushUtil.h(255,24,29,31),n}(i.Base),it=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.d=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateItemUpdatingEventArgs"),n}(i.Base),nt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.rangeActualized=function(t,e){this.a.gj(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.gy(t,e,i)},n.prototype.notifyClearItems=function(){this.a.gi()},n.prototype.notifyInsertItem=function(t,e){this.a.gl(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.gp(t,e)},n.$t=i.markType(n,"ListPanelDataSourceNotificationBridge",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),rt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.g=function(t){this.a.ae=t.width,this.a.y=t.height},n.prototype.h=function(){return this.a.be()},n.prototype.b=function(t){return this.a.bs(t)},n.prototype.c=function(t){return this.a.bt(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bn(e.b.a)),0==t.ad?(i.isNaN_(t.absoluteWidth)||(e.b.a.ae=t.absoluteWidth),e.b.a.y=t.c6(e.v)):2==t.ad?(e.b.a.ae=t.c7(e.v),e.b.a.y=t.c6(e.v)):(e.b.a.ae=t.c7(e.v),e.b.a.y=t.absoluteHeight),e.o&&(e.o=!1,this.a.bu(e.b.a,e.s),this.a.bv(e.b.a,e.u))},n.prototype.e=function(t){this.a.bv(t,-1e3),this.a.bu(t,-1e3)},n.prototype.f=function(t){t.s=-1e3,t.u=-1e3,null!=t.b&&this.e(t.b.a)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),ot=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=!1,e.v=0,e.t=0,e.w=null,e.b=null,e.e=!1,e.l=!1,e.g=!0,e.h=!0,e.q=0,e.r=0,e.c=!1,e.d=!1,e.f=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){this.w!=t&&(this.m=!0),this.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.e},set:function(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.g},set:function(t){this.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.h},set:function(t){this.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&(this.p=!0)},enumerable:!1,configurable:!0}),n.prototype.a=function(t){var e=new Y;e.b=t.b(this.b.a),e.c=t.c(this.b.a);var i=this.b.a.be();return e.d=i.width,e.a=i.height,e},n.$t=i.markType(n,"ListPanelItemModel"),n}(i.Base),st=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._itemInfo=null,e._listPanel=null,e._isLeftButton=!1,e._isDoubleClick=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"itemInfo",{get:function(){return this._itemInfo},set:function(t){this._itemInfo=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"listPanel",{get:function(){return this._listPanel},set:function(t){this._listPanel=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isLeftButton",{get:function(){return this._isLeftButton},set:function(t){this._isLeftButton=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDoubleClick",{get:function(){return this._isDoubleClick},set:function(t){this._isDoubleClick=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelItemEventArgs",i.EventArgs.$),n}(i.EventArgs),at=function(t){function n(e){var n=t.call(this)||this;return n.a=null,n.d=new i.FastIterationDictionary$2(E.$,i.Number_$type,0),n.c=new i.FastIterationDictionary$2(E.$,i.FastIterationDictionary$2.$.specialize(i.Number_$type,i.Number_$type),0),n.e=!1,n.m=-1,n.b=null,n.a=e,n}return e.__extends(n,t),n.prototype.ab=function(t){this.f(t)&&(this.j(t)?this.ac(t):this.w(t))},n.prototype.f=function(t){return!0},n.prototype.aa=function(t){this.f(t)&&(this.e=!0,this.w(t),this.e=!1)},n.prototype.n=function(t){return t.v},n.prototype.j=function(t){var e=this.n(t);if(-1==e)return!1;if(this.g(e))return!1;var i=this.a.af(this.a.e(),e);if(null==i)return!1;var n=this.d.d(i);if(n){if(-1==this.d.item(i))this.d.item(i,e);else if(this.d.item(i)!=e)return!1;var r=this.a.al.al(i);if(r>=0&&null==this.a.ai.ae._inner[r]){var o=this.a.el(t);this.a.gw(r,o,i)}}return n},n.prototype.g=function(t){return!1},n.prototype.h=function(t){return this.d.d(t)},n.prototype.i=function(){return 1==this.a.as||2==this.a.as},n.prototype.ac=function(t){var e=this.n(t);if(-1!=e&&!this.g(e)){var i=this.a.af(this.a.e(),e);this.h(i)&&this.ad(i,e,!1)}},n.prototype.w=function(t){if(0!=this.a.as){var e=!1,n=null,r=this.n(t);if(r>-1&&(this.g(r)||(n=this.a.af(this.a.e(),r))),1==this.a.as||this.e){for(var o=this.d.o,s=this.d.p,a=new i.List$1(E.$,0),h=new i.List$1(i.Number_$type,0),u=0;u<o.count;u++)s._inner[u]||(o._inner[u].equals(n)?e=!0:(a.add(o._inner[u]),h.add(this.d.q._inner[u])));this.a.fj(),this.d.g=!0;for(var l=0;l<a.count;l++)this.ad(a._inner[l],h._inner[l],!1);this.d.g=!1,this.a.ft()}null==n||e||this.i()&&this.x(n,r,!1)}},n.prototype.x=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ae(this.a.e(),s.targetRow),h=this.a.eb(this.a.e(),a,this.a.d2(),this.a.d4());this.y(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.ek(e)),this.y(t,e,u,r)},n.prototype.y=function(t,e,i,n){if(!this.d.d(t)&&(this.d.s(t,e),null!=this.a.ay.c&&null!=this.a.ay.b)){var r=e>=this.a.ay.c&&e<=this.a.ay.b;null==i&&(r=!0),r&&this.a.hp(this.a,e)}n&&this.a.gq(i,t)},n.prototype.ae=function(t,e,i,n){if(this.d.d(t)&&(this.d.f(t),-1!=this.a.ay.c&&-1!=this.a.ay.b)){var r=e>=this.a.ay.c&&e<=this.a.ay.b;if(null==i&&(r=!0),r){var o=this.a.af(this.a.e(),e);null!=o&&o.equals(t)&&e>=0&&this.a.hq(this.a,e)}}n&&this.a.gr(i,t)},n.prototype.ad=function(t,e,n){var r=!0,o=!1;if(!n&&3==this.a.h(e)){var s=i.typeCast(i.DataSourceSpecialRow.$,t.value[0]);if(null!=s.targetRow){var a=this.a.ae(this.a.e(),s.targetRow),h=this.a.eb(this.a.e(),a,this.a.d2(),this.a.d4());this.ae(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.ek(e)),this.ae(t,e,u,r)},n.prototype.af=function(){for(var t=this.l(),e=new i.Dictionary$2(E.$,i.Number_$type,0),n=0;n<t.count;n++){var r=t.item(n),o=-1;this.d.d(r)&&(o=this.d.item(r)),-1==o&&(o=this.a.eb(this.a.e(),r,this.a.d2(),this.a.d4())),e.containsKey(r)||e.addItem(r,o),this.h(r)||this.x(r,o,!0)}for(var s=this.d.o,a=this.d.p,h=new i.List$1(E.$,0),u=new i.List$1(i.Number_$type,0),l=0;l<s.count;l++)if(!a._inner[l]){var c=s._inner[l];e.containsKey(c)||(h.add(c),u.add(this.d.q._inner[l]))}for(var p=0;p<u.count;p++)this.ad(h._inner[p],u._inner[p],!1);for(var f=0;f<this.a.ai.ae.count;f++){var d=this.a.ae(this.a.e(),this.a.ai.ae._inner[f]);if(null!=d&&!e.containsKey(d)){var b=-1;this.d.d(d)&&(b=this.d.item(d)),-1==b&&(b=this.a.dz(this.a.e(),d,this.a.d2(),this.a.d4())),this.ad(d,b,!1)}}},n.prototype.l=function(){return this.a.al.ae},n.prototype.q=function(){this.p()},n.prototype.r=function(t){for(var e=0;e<this.d.o.count;e++)if(!this.d.p._inner[e]){var i=this.d.o._inner[e],n=this.d.q._inner[e];n>=t&&this.d.item(i,n+1)}for(var r=0;r<this.c.o.count;r++)if(!this.c.p._inner[r])for(var o=this.c.o._inner[r],s=this.c.q._inner[r],a=0;a<s.o.count;a++)if(!this.c.item(o).p._inner[a]){var h=s.o._inner[a],u=this.c.item(o).item(h);u>=t&&this.c.item(o).item(h,u+1)}},n.prototype.u=function(t,e,i){this.ae(t,e,i,!0)},n.prototype.s=function(t,e){for(var n=new i.List$1(E.$,0),r=new i.List$1(i.Number_$type,0),o=0;o<this.d.o.count;o++)if(!this.d.p._inner[o]){var s=this.d.o._inner[o],a=this.d.q._inner[o];a==t&&(n.add(s),r.add(a)),a>t&&this.d.item(s,a-1)}for(var h=0;h<n.count;h++)this.u(n._inner[h],r._inner[h],e);for(var u=0;u<this.c.o.count;u++)if(!this.c.p._inner[u])for(var l=this.c.o._inner[u],c=this.c.q._inner[u],p=0;p<c.o.count;p++)if(!this.c.item(l).p._inner[p]){var f=c.o._inner[p],d=this.c.item(l).item(f);d==t&&this.c.item(l).item(f,-1),d>t&&this.c.item(l).item(f,d-1)}},n.prototype.t=function(t){for(var e=new i.List$1(E.$,0),n=new i.List$1(i.Number_$type,0),r=0;r<this.d.o.count;r++)if(!this.d.p._inner[r]){var o=this.d.o._inner[r],s=this.d.q._inner[r];s==t&&(e.add(o),n.add(s))}for(var a=0;a<e.count;a++)this.ad(e._inner[a],n._inner[a],!0)},n.prototype.p=function(){for(var t=new i.List$1(i.Number_$type,0),e=new i.HashSet$1(i.Number_$type,0),n=0;n<this.d.o.count;n++)if(!this.d.p._inner[n]){var r=this.d.o._inner[n];t.add(this.d.item(r));var o=this.a.eb(this.a.e(),r,this.a.d2(),this.a.d4());e.add_1(o),this.d.item(r,-1)}for(var s=0;s<t.count;s++)e.contains(t._inner[s])||this.a.hq(this.a,t._inner[s])},n.prototype.k=function(t){return 2==this.a.as},n.prototype.z=function(t){this.m=t},n.prototype.o=function(t,e,i,n){var r,o=this;if(void 0===n&&(n=!1),this.f(t))if((e=!!this.k(this.a.as)&&e)&&-1!=this.m){var s=((r=new Z).f=Math.min(o.m,t.v),r.d=Math.max(o.m,t.v),r);if(this.a.fj(),null!=this.b)for(var a=this.b.f;a<=this.b.d;a++)if(!s.b(a)){var h=this.a.af(this.a.e(),a);null!=h&&this.d.d(h)&&this.ad(h,a,!1)}for(var u=s.f;u<=s.d;u++){var l=this.a.af(this.a.e(),u);null==l||this.d.d(l)||this.x(l,u,!1)}this.a.ft(),this.b=s}else i||n?this.ab(t):this.aa(t),this.b=null,this.j(t)?this.m=t.v:this.m=-1},n.prototype.v=function(){if(null!=this.a.actualDataSource){this.a.fj();for(var t=this.a.d6(),e=0;e<t;e++){var n=this.a.actualDataSource.getItemAtIndex(e);if(null===i.typeCast(i.DataSourceSpecialRow.$,n)){var r=this.a.af(this.a.e(),e);null==r||this.d.d(r)||this.x(r,e,!1)}}this.a.ft()}},n.$t=i.markType(n,"ListPanelSelectionManager"),n}(i.Base),ht=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.b=!1,i.g=-1,i.h=-1,i.j=null,i.a=e,i}return e.__extends(n,t),n.prototype.v=function(t){this.f(t)&&(this.c(t)?this.q(t):this.n(t))},n.prototype.f=function(t){return!0},n.prototype.c=function(t){var e=this.i(t);return-1!=e&&(!(this.g<0)&&(e==this.g&&this.d(e)))},n.prototype.i=function(t){return t.v},n.prototype.d=function(t){return this.g==t},n.prototype.e=function(){return 1==this.a.r},n.prototype.o=function(){this.g>=0&&this.p(this.g,!0)},n.prototype.q=function(t){var e=this.i(t);-1!=e&&this.d(e)&&this.p(e,!0)},n.prototype.n=function(t){this.m(t)},n.prototype.m=function(t){if(this.f(t)&&this.e()){this.g>=0&&this.p(this.g,!1);var e=this.i(t);-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.k=function(t){if(this.e()&&t!=this.g){this.g>=0&&this.p(this.g,!1);var e=t;-1!=e&&(this.d(e)||this.l(e,!0))}},n.prototype.l=function(t,e){t!=this.g&&(this.g=t,t>=0&&(t>=0&&this.a.d6(),this.a.hn(this.a,t)),e&&this.a.ge(t))},n.prototype.p=function(t,e){this.d(t)&&(this.g=-1,t>=0&&(t>=0&&this.a.d6(),this.a.ho(this.a,t)),e&&this.a.gh(t))},n.prototype.r=function(){this.g=-1},n.prototype.s=function(t){},n.prototype.t=function(t){},n.prototype.u=function(t){},n.$t=i.markType(n,"ListPanelActivationManager"),n}(i.Base),ut=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ot},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.v},set:function(t){this.i.v=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.t},set:function(t){this.i.t=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.x},set:function(t){this.i.x=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"left",{get:function(){return this.i.s},set:function(t){this.i.s=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"top",{get:function(){return this.i.u},set:function(t){this.i.u=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivated",{get:function(){return this.i.j},set:function(t){this.i.j=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isActivationSupported",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t)},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new it},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"content",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"availableWidth",{get:function(){return this.i.c},set:function(t){this.i.c=+t},enumerable:!1,configurable:!0}),t}(),ct=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new G},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),pt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new K},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"width",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new X},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"dataRow",{get:function(){return this.i.b},set:function(t){this.i.b=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dataItem",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"height",{get:function(){return this.i.a},set:function(t){this.i.a=+t},enumerable:!1,configurable:!0}),t}(),dt=function(t){function n(e){var i=t.call(this)||this;return i.a=null,i.a=e,i}return e.__extends(n,t),n.prototype.onDownArrow=function(t,e){return this.a.b3(t,e)},n.prototype.onEnd=function(t,e){return this.a.b4(t,e)},n.prototype.onHome=function(t,e){return this.a.b8(t,e)},n.prototype.onLeftArrow=function(t,e){return this.a.ca(t,e)},n.prototype.onPageDown=function(t,e){return this.a.cb(t,e)},n.prototype.onPageUp=function(t,e){return this.a.cc(t,e)},n.prototype.onRightArrow=function(t,e){return this.a.cd(t,e)},n.prototype.onTab=function(t,e){return this.a.cf(t,e)},n.prototype.onUpArrow=function(t,e){return this.a.cg(t,e)},n.prototype.onWheel=function(){this.a.g0()},n.prototype.onEnter=function(t,e){return this.a.b5(t,e)},n.prototype.onEscape=function(){return this.a.b6()},n.prototype.onF2=function(){return this.a.b7()},n.prototype.onSpace=function(t,e){return this.a.ce(t,e)},n.prototype.onKeyDown=function(t,e,i){return this.a.b9(t,e,i)},n.$t=i.markType(n,"ListPanelScrollerKeyboardListener",i.Base.$,[i.IScrollerKeyboardListener_$type]),n}(i.Base),bt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new st},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"itemInfo",{get:function(){var t=this.i.itemInfo;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.itemInfo=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listPanel",{get:function(){var t=this.i.listPanel;return null==t?null:t.externalObject},set:function(t){this.i.listPanel=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLeftButton",{get:function(){return this.i.isLeftButton},set:function(t){this.i.isLeftButton=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDoubleClick",{get:function(){return this.i.isDoubleClick},set:function(t){this.i.isDoubleClick=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),gt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new H},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newActiveRow",{get:function(){return this.i.newActiveRow},set:function(t){this.i.newActiveRow=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldActiveRow",{get:function(){return this.i.oldActiveRow},set:function(t){this.i.oldActiveRow=+t},enumerable:!1,configurable:!0}),t}(),yt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),mt=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),vt=function(t){function n(e){var n=t.call(this)||this;if(mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(mt.$type,E.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new mt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),_t=function(){function t(){this._currentKeys=null,this._addedKeys=null,this._removedKeys=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new F},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentKeys",{get:function(){if(null===this._currentKeys){var t=new vt,e=this.i.currentKeys;e||(e=new $),this._currentKeys=t._fromInner(e),this.i.currentKeys=e}return this._currentKeys},set:function(t){null!==this._currentKeys&&(this._currentKeys._setSyncTarget(null),this._currentKeys=null);var e=new vt;this._currentKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.currentKeys;r||(r=new $),n._inner=r,n.clear(),this._currentKeys._setSyncTarget(n),this.i.currentKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedKeys",{get:function(){if(null===this._addedKeys){var t=new vt,e=this.i.addedKeys;e||(e=new $),this._addedKeys=t._fromInner(e),this.i.addedKeys=e}return this._addedKeys},set:function(t){null!==this._addedKeys&&(this._addedKeys._setSyncTarget(null),this._addedKeys=null);var e=new vt;this._addedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.addedKeys;r||(r=new $),n._inner=r,n.clear(),this._addedKeys._setSyncTarget(n),this.i.addedKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedKeys",{get:function(){if(null===this._removedKeys){var t=new vt,e=this.i.removedKeys;e||(e=new $),this._removedKeys=t._fromInner(e),this.i.removedKeys=e}return this._removedKeys},set:function(t){null!==this._removedKeys&&(this._removedKeys._setSyncTarget(null),this._removedKeys=null);var e=new vt;this._removedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.removedKeys;r||(r=new $),n._inner=r,n.clear(),this._removedKeys._setSyncTarget(n),this.i.removedKeys=r},enumerable:!1,configurable:!0}),t}(),Ct=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),jt=function(){function t(){this._currentItems=null,this._addedItems=null,this._removedItems=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new L},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentItems",{get:function(){if(null===this._currentItems){var t=new Ct,e=this.i.currentItems;e||(e=new R),this._currentItems=t._fromInner(e),this.i.currentItems=e}return this._currentItems},set:function(t){null!==this._currentItems&&(this._currentItems._setSyncTarget(null),this._currentItems=null);var e=new Ct;this._currentItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.currentItems;r||(r=new R),n._inner=r,n.clear(),this._currentItems._setSyncTarget(n),this.i.currentItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedItems",{get:function(){if(null===this._addedItems){var t=new Ct,e=this.i.addedItems;e||(e=new R),this._addedItems=t._fromInner(e),this.i.addedItems=e}return this._addedItems},set:function(t){null!==this._addedItems&&(this._addedItems._setSyncTarget(null),this._addedItems=null);var e=new Ct;this._addedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.addedItems;r||(r=new R),n._inner=r,n.clear(),this._addedItems._setSyncTarget(n),this.i.addedItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedItems",{get:function(){if(null===this._removedItems){var t=new Ct,e=this.i.removedItems;e||(e=new R),this._removedItems=t._fromInner(e),this.i.removedItems=e}return this._removedItems},set:function(t){null!==this._removedItems&&(this._removedItems._setSyncTarget(null),this._removedItems=null);var e=new Ct;this._removedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.removedItems;r||(r=new R),n._inner=r,n.clear(),this._removedItems._setSyncTarget(n),this.i.removedItems=r},enumerable:!1,configurable:!0}),t}(),Pt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new V},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.rowObject},set:function(t){this.i.rowObject=t},enumerable:!1,configurable:!0}),t}(),wt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new U},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.rowObject},set:function(t){this.i.rowObject=t},enumerable:!1,configurable:!0}),t}(),Ot=function(t){function n(){var e=t.call(this)||this;e._implementation=null,e._scroller=null,e._disconnected=!1,e._dataSource=null,e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._selectedItems=null,e._selectedKeys=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._itemRecycled=null,e._itemRecycled_wrapped=null,e._itemRebind=null,e._itemRebind_wrapped=null,e._selectedItemsChanged=null,e._selectedItemsChanged_wrapped=null,e._selectedKeysChanged=null,e._selectedKeysChanged_wrapped=null,e._selectionChanged=null,e._selectionChanged_wrapped=null,e._activeRowChanged=null,e._activeRowChanged_wrapped=null,e._contentRefreshed=null,e._contentRefreshed_wrapped=null,e._rowUpdating=null,e._rowUpdating_wrapped=null,e._itemWidthRequested=null,e._itemWidthRequested_wrapped=null,e._itemHeightRequested=null,e._itemHeightRequested_wrapped=null,e._itemClicked=null,e._itemClicked_wrapped=null,e._actualPrimaryKeyChange=null,e._actualPrimaryKeyChange_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e._webComponentRenderer=new i.WebComponentRenderer(e,document,!0,{}),e._webComponentWrapper=e._webComponentRenderer.createElement("div"),e._webComponentRenderer.updateRoot(e._webComponentWrapper),e._webComponentWrapper.setStyleProperty("display","block"),e._webComponentWrapper.setStyleProperty("width","100%"),e._webComponentWrapper.setStyleProperty("height","100%"),e.i.externalListPanel=e,e.i.provideContainer(e._webComponentRenderer),e.i.viewportManager=e;var n=new i.Scroller;return n.scrollbarStyle=e.scrollbarStyle,e._scroller=n,e._scroller.keyboardListener=new dt(e.i),n.provideContainer(e._webComponentRenderer),e._content=e.i.view.contentGrid,n.provideContent(new i.WebComponentWrapper(e._content,e._webComponentRenderer)),n.onScrolling=function(){return e.onScroll()},n.onScrollStart=function(){return e.onScrollStart()},n.onScrollStop=function(){return e.onScrollStop()},n.viewportWidth=e._webComponentRenderer.rootWrapper.width(),n.viewportHeight=e._webComponentRenderer.rootWrapper.height(),e.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.notifySizeChanged()})),e}return e.__extends(n,t),n.prototype.setScrollbarStyle=function(t){this._scroller&&(this._scroller.scrollbarStyle=t)},n.prototype.setScrollbarColor=function(t){this._scroller&&(this._scroller.scrollbarBrush=t)},Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},n.prototype.createLocalDataSource=function(t,e){var n=new i.LocalDataSource;return n.schemaIncludedProperties=e,n.dataSource=t,n},n.prototype.onContentSizeChanged=function(){var t=this.i.absoluteWidth,e=this.i.absoluteHeight;null==this._scroller||isNaN(t)||isNaN(e)||(this._scroller.contentWidth=t,this._scroller.contentHeight=e)},n.prototype.moveViewportTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.onScroll=function(){var t=this._scroller.scrollTop,e=this._scroller.scrollLeft,i=this._scroller.viewportWidth,n=this._scroller.viewportHeight;this.i.setViewport(e,t,e+i,t+n)},n.prototype.onScrollStart=function(){},n.prototype.onScrollStop=function(){},n.prototype._scrollTo=function(t,e){this._scroller.scrollTo(t,e)},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new et},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected||this.i&&this._scroller&&this._scroller.onDetachedFromUI(),this._disconnected=!0},n.prototype.notifySizeChanged=function(){if(this._webComponentRenderer){var t=this._webComponentRenderer.rootWrapper.width(),e=this._webComponentRenderer.rootWrapper.height();this._scroller.viewportWidth=t,this._scroller.viewportHeight=e,this._scroller.onViewportSizeChanged(t,e,!0)}this.i.notifySizeChanged()},n.prototype.connectedCallback=function(){if(this._disconnected)return this._disconnected=!1,void(this.i&&this._scroller&&this._scroller.onAttachedToUI());this.classList.add("ig-list-panel"),this.classList.add("igc-list-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit()},n.prototype.afterContentInit=function(){this.notifySizeChanged()},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this._dataSource},set:function(t){this._dataSource=t,null!=this._implementation&&(this._implementation.itemsSource=this._dataSource)},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcListPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcListPanelComponent=t}return n._observedAttributesIgcListPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectionMode",{get:function(){return this.i.as},set:function(t){this.i.as=i.ensureEnum(S,t),this._a("selectionMode",i.enumToString(S,this.i.as))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isActiveRowStyleEnabled",{get:function(){return this.i.bx},set:function(t){this.i.bx=i.ensureBool(t),this._a("isActiveRowStyleEnabled",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedBackground",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("selectedBackground",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normalBackground",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("normalBackground",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorder",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("activationBorder",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderLeftWidth",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("activationBorderLeftWidth",this.i.ds)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderTopWidth",{get:function(){return this.i.du},set:function(t){this.i.du=+t,this._a("activationBorderTopWidth",this.i.du)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderRightWidth",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("activationBorderRightWidth",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderBottomWidth",{get:function(){return this.i.dr},set:function(t){this.i.dr=+t,this._a("activationBorderBottomWidth",this.i.dr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationMode",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(A,t),this._a("activationMode",i.enumToString(A,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionBehavior",{get:function(){return this.i.an},set:function(t){this.i.an=i.ensureEnum(B,t),this._a("selectionBehavior",i.enumToString(B,this.i.an))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.f},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKey",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItems",{get:function(){if(null===this._selectedItems){var t=new Ct,e=this.i.ai;e||(e=new R),this._selectedItems=t._fromInner(e)}return this._selectedItems},set:function(t){null!==this._selectedItems&&(this._selectedItems._setSyncTarget(null),this._selectedItems=null);var e=new Ct;this._selectedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.ai;r||(r=new R),n._inner=r,n.clear(),this._selectedItems._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new vt,e=this.i.al;e||(e=new $),this._selectedKeys=t._fromInner(e)}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new vt;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.al;r||(r=new $),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"schemaIncludedProperties",{get:function(){return this.i.g},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemSpacing",{get:function(){return this.i.c8},set:function(t){this.i.c8=+t,this._a("itemSpacing",this.i.c8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.ee},set:function(t){this.i.ee=+t,this._a("rowHeight",this.i.ee)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.c5},set:function(t){this.i.c5=+t,this._a("actualRowHeight",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.a4?null:this.i.a4.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.a4=e,this._a("cellTextStyle",null!=this.i.a4?this.i.a4.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasUnevenSizes",{get:function(){return this.i.bv},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.a0},set:function(t){this.i.a0=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.a0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarBackground",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("scrollbarBackground",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureEnum(z,t),this._a("orientation",i.enumToString(z,this.i.ad))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.bz},set:function(t){this.i.bz=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRow",{get:function(){return this.i.dv},set:function(t){this.i.dv=+t,this._a("activeRow",this.i.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"notifyOnAllSelectionChanges",{get:function(){return this.i.b2},set:function(t){this.i.b2=i.ensureBool(t),this._a("notifyOnAllSelectionChanges",this.i.b2)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(t)?this.selectedKeys.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ListPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.getRowKey=function(t,e){var i=this.i.af(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new mt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getItemKey=function(t,e){var i=this.i.ae(t,e),n=null;if(i&&i.externalObject)n=i.externalObject;else if(i){var r=new mt;r._implementation=i,i.externalObject=r,n=r}return n},n.prototype.getLastVisibleIndex=function(){return this.i.d4()},n.prototype.getFirstVisibleIndex=function(){return this.i.d2()},n.prototype.invalidateVisibleItems=function(){this.i.f6()},n.prototype.notifySetItem=function(t,e,i){this.i.gc(t,e,i)},n.prototype.notifyClearItems=function(){this.i.f9()},n.prototype.notifyInsertItem=function(t,e){this.i.ga(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.gb(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.dx(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.dy(t)},n.prototype.exportVisualData=function(){return this.i.eh()},n.prototype.exportSerializedVisualData=function(){return this.i.ez()},n.prototype.selectAllRows=function(){this.i.hi()},n.prototype.scrollToRowByIndex=function(t){this.i.hg(t)},n.prototype.scrollToLastRowByIndex=function(t){this.i.he(t)},n.prototype.deselectAllRows=function(){this.i.fp()},Object.defineProperty(n.prototype,"itemRecycled",{get:function(){return this._itemRecycled},set:function(t){var e=this;null!==this._itemRecycled_wrapped&&(this.i.itemRecycled=i.delegateRemove(this.i.itemRecycled,this._itemRecycled_wrapped),this._itemRecycled_wrapped=null,this._itemRecycled=null),this._itemRecycled=t,this._itemRecycled_wrapped=function(t,i){var n=new Pt;n._provideImplementation(i),e.beforeItemRecycled&&e.beforeItemRecycled(e,n),e._itemRecycled&&e._itemRecycled(e,n)},this.i.itemRecycled=i.delegateCombine(this.i.itemRecycled,this._itemRecycled_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemRebind",{get:function(){return this._itemRebind},set:function(t){var e=this;null!==this._itemRebind_wrapped&&(this.i.itemRebind=i.delegateRemove(this.i.itemRebind,this._itemRebind_wrapped),this._itemRebind_wrapped=null,this._itemRebind=null),this._itemRebind=t,this._itemRebind_wrapped=function(t,i){var n=new wt;n._provideImplementation(i),e.beforeItemRebind&&e.beforeItemRebind(e,n),e._itemRebind&&e._itemRebind(e,n)},this.i.itemRebind=i.delegateCombine(this.i.itemRebind,this._itemRebind_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedItemsChanged",{get:function(){return this._selectedItemsChanged},set:function(t){var e=this;null!==this._selectedItemsChanged_wrapped&&(this.i.selectedItemsChanged=i.delegateRemove(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped),this._selectedItemsChanged_wrapped=null,this._selectedItemsChanged=null),this._selectedItemsChanged=t,this._selectedItemsChanged_wrapped=function(t,i){var n=new jt;n._provideImplementation(i),e.beforeSelectedItemsChanged&&e.beforeSelectedItemsChanged(e,n),e._selectedItemsChanged&&e._selectedItemsChanged(e,n)},this.i.selectedItemsChanged=i.delegateCombine(this.i.selectedItemsChanged,this._selectedItemsChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeysChanged",{get:function(){return this._selectedKeysChanged},set:function(t){var e=this;null!==this._selectedKeysChanged_wrapped&&(this.i.selectedKeysChanged=i.delegateRemove(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped),this._selectedKeysChanged_wrapped=null,this._selectedKeysChanged=null),this._selectedKeysChanged=t,this._selectedKeysChanged_wrapped=function(t,i){var n=new _t;n._provideImplementation(i),e.beforeSelectedKeysChanged&&e.beforeSelectedKeysChanged(e,n),e._selectedKeysChanged&&e._selectedKeysChanged(e,n)},this.i.selectedKeysChanged=i.delegateCombine(this.i.selectedKeysChanged,this._selectedKeysChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectionChanged",{get:function(){return this._selectionChanged},set:function(t){var e=this;null!==this._selectionChanged_wrapped&&(this.i.selectionChanged=i.delegateRemove(this.i.selectionChanged,this._selectionChanged_wrapped),this._selectionChanged_wrapped=null,this._selectionChanged=null),this._selectionChanged=t,this._selectionChanged_wrapped=function(t,i){var n=new yt;n._provideImplementation(i),e.beforeSelectionChanged&&e.beforeSelectionChanged(e,n),e._selectionChanged&&e._selectionChanged(e,n)},this.i.selectionChanged=i.delegateCombine(this.i.selectionChanged,this._selectionChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRowChanged",{get:function(){return this._activeRowChanged},set:function(t){var e=this;null!==this._activeRowChanged_wrapped&&(this.i.activeRowChanged=i.delegateRemove(this.i.activeRowChanged,this._activeRowChanged_wrapped),this._activeRowChanged_wrapped=null,this._activeRowChanged=null),this._activeRowChanged=t,this._activeRowChanged_wrapped=function(t,i){var n=new gt;n._provideImplementation(i),e.beforeActiveRowChanged&&e.beforeActiveRowChanged(e,n),e._activeRowChanged&&e._activeRowChanged(e,n)},this.i.activeRowChanged=i.delegateCombine(this.i.activeRowChanged,this._activeRowChanged_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new ct;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowUpdating",{get:function(){return this._rowUpdating},set:function(t){var e=this;null!==this._rowUpdating_wrapped&&(this.i.rowUpdating=i.delegateRemove(this.i.rowUpdating,this._rowUpdating_wrapped),this._rowUpdating_wrapped=null,this._rowUpdating=null),this._rowUpdating=t,this._rowUpdating_wrapped=function(t,i){var n=new lt;n._provideImplementation(i),e.beforeRowUpdating&&e.beforeRowUpdating(e,n),e._rowUpdating&&e._rowUpdating(e,n)},this.i.rowUpdating=i.delegateCombine(this.i.rowUpdating,this._rowUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemWidthRequested",{get:function(){return this._itemWidthRequested},set:function(t){var e=this;null!==this._itemWidthRequested_wrapped&&(this.i.itemWidthRequested=i.delegateRemove(this.i.itemWidthRequested,this._itemWidthRequested_wrapped),this._itemWidthRequested_wrapped=null,this._itemWidthRequested=null),this._itemWidthRequested=t,this._itemWidthRequested_wrapped=function(t,i){var n=new pt;n._provideImplementation(i),e.beforeItemWidthRequested&&e.beforeItemWidthRequested(e,n),e._itemWidthRequested&&e._itemWidthRequested(e,n)},this.i.itemWidthRequested=i.delegateCombine(this.i.itemWidthRequested,this._itemWidthRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemHeightRequested",{get:function(){return this._itemHeightRequested},set:function(t){var e=this;null!==this._itemHeightRequested_wrapped&&(this.i.itemHeightRequested=i.delegateRemove(this.i.itemHeightRequested,this._itemHeightRequested_wrapped),this._itemHeightRequested_wrapped=null,this._itemHeightRequested=null),this._itemHeightRequested=t,this._itemHeightRequested_wrapped=function(t,i){var n=new ft;n._provideImplementation(i),e.beforeItemHeightRequested&&e.beforeItemHeightRequested(e,n),e._itemHeightRequested&&e._itemHeightRequested(e,n)},this.i.itemHeightRequested=i.delegateCombine(this.i.itemHeightRequested,this._itemHeightRequested_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemClicked",{get:function(){return this._itemClicked},set:function(t){var e=this;null!==this._itemClicked_wrapped&&(this.i.itemClicked=i.delegateRemove(this.i.itemClicked,this._itemClicked_wrapped),this._itemClicked_wrapped=null,this._itemClicked=null),this._itemClicked=t,this._itemClicked_wrapped=function(t,i){var n=new bt;n._provideImplementation(i),e.beforeItemClicked&&e.beforeItemClicked(e,n),e._itemClicked&&e._itemClicked(e,n)},this.i.itemClicked=i.delegateCombine(this.i.itemClicked,this._itemClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPrimaryKeyChange",{get:function(){return this._actualPrimaryKeyChange},set:function(t){var e=this;null!==this._actualPrimaryKeyChange_wrapped&&(this.i.propertyChanged=i.delegateRemove(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped),this._actualPrimaryKeyChange_wrapped=null,this._actualPrimaryKeyChange=null),this._actualPrimaryKeyChange=t,this._actualPrimaryKeyChange_wrapped=function(t,i){var n=e.actualPrimaryKey;"D"==i.propertyName&&(e.beforeActualPrimaryKeyChange&&e.beforeActualPrimaryKeyChange(e,n),e._actualPrimaryKeyChange&&e._actualPrimaryKeyChange(e,n))},this.i.propertyChanged=i.delegateCombine(this.i.propertyChanged,this._actualPrimaryKeyChange_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcListPanelComponent=null,n.htmlTagName="igc-list-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Tt=function(){function t(){}return t.register=function(){Ot.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ot),i.TypeRegistrar.registerCons("IgcListPanelComponent",Ot),i.TypeRegistrar.register("ListPanel",et.$type)},t}(),It=function(){function t(){}return t.register=function(){n.IgcXInputGroupModule.register(),Tt.register(),T.register(),i.TypeRegistrar.registerCons("IgcComboEditorComponent",T),i.TypeRegistrar.registerCons("IgcComboEditorComponent",T),i.TypeRegistrar.register("ComboEditor",_.$type)},t}(),kt=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t[t.TemplateRef=22]="TemplateRef",t[t.DoubleCollection=23]="DoubleCollection",t[t.Separator=24]="Separator",t[t.Header=25]="Header",t}({}),St=i.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21|TemplateRef,22|DoubleCollection,23|Separator,24|Header,25"),xt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),At=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",i.EventArgs.$),n}(i.EventArgs),Bt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.a=null,e.g=null,e.propertyChanged=null,e.j=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!1,configurable:!0}),n.prototype.p=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.q(t,e,n)},n.prototype.q=function(t,e,i){switch(t){case"DescriptionType":case"Context":this.r()}},n.d=function(t,e,i){var r=new n;return r.j=i,r.b=t,r.n=e,r.j=null,r},n.prototype.f=function(t){var e=new Rt;return e.a3=t.propertyName,e.w=this.i(t),e.a2=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ay=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ay)?e.e=this.j.item(e.ay):e.e=n.d(this.a,e.ay,this.j)),8==e.w&&(null!=this.j&&this.j.containsKey(e.a2)?e.e=this.j.item(e.a2):e.e=n.d(this.a,e.a2,this.j)),15==e.w&&(e.c=this.a.c(this.n,e.a3),e.d=e.d),e},n.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 23:return 23;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 22:return 22;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},n.prototype.r=function(){var t=new zt;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.b(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!i.stringEndsWith(r[o],"@names")&&!(i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion"))){var s=this.b.getMetadata(this.n,r[o]),a=this.f(s);0!=a.w&&t.add(a)}e&&(this.j=null)}this.h=t},n.prototype.e=function(t,e){if(null==t)return null;for(var n=i.stringSplit(t,[".","["],0),r=new i.List$1(i.String_$type,1,n),o=null,s=null;r.count>0;){var a=r._inner[0];r.removeAt(0);var h=!1;if(i.stringContains(a,"]")){h=!0;var u=(a=i.stringReplace(a,"]","")).split(",");if(a=u[0].trim(),i.stringContains(a,"as")){var l=a.indexOf("as");a.substr(0,l).trim(),s=a.substr(l+2).trim()}if(null!=s&&s!=this.n){var c=this.c();c.n=s,o=c;continue}}if(e&&(h=!0),null!=o&&null!==i.typeCast(Rt.$,o)){var p=o.aq(a,h);if(null==p)return null;o=p}else if(null!=o){var f=o.e(a,h);if(null==f)return null;o=f}else{if(null==this.h)return null;for(var d=0;d<this.h.count;d++)if(i.Base.equalsStatic(this.h._inner[d].a3,a)){o=this.h._inner[d];break}if(null==o)return null}}return i.typeCast(Rt.$,o)},n.prototype.c=function(){var t,e=this;return(t=new n).b=e.b,t.n=e.n,t},n.$t=i.markType(n,"PropertyEditorDataSource",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Rt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.au=null,e.aw=null,e.at=null,e.ax=null,e.u=0,e.t=0,e.av=null,e.x=!1,e.as=null,e.a=null,e.b=null,e.aa=!1,e.ao=null,e.an=null,e.ag=NaN,e.ad=NaN,e.ae=NaN,e.af=NaN,e.ah=NaN,e.g=null,e.f=null,e.k=new Dt,e.j=new Dt,e.y=!1,e.q=new zt,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e.coercingValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"a0",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.a8("Name",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,this.aw!=e&&this.a8("PropertyPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,this.at!=e&&this.a8("Label",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,this.ax!=e&&this.a8("Subtitle",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.a8("ValueType",i.enumGetBox(St,e),i.enumGetBox(St,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.a8("CoercedValueType",i.enumGetBox(St,e),i.enumGetBox(St,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a2",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,this.av!=e&&this.a8("PropertyDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.a8("ShouldOverrideDefaultEditor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ay",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,this.as!=e&&this.a8("ElementDescriptionType",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.a8("DropDownNames",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d",{get:function(){return this.b},set:function(t){var e=this.b;this.b=t,this.b!=e&&this.a8("DropDownValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,this.ao!=e&&this.a8("PrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ap",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,this.ao!=e&&this.a8("CoercedPrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.a8("Min",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,this.ad!=e&&this.a8("EditorWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.ae!=e&&this.a8("LabelWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.af!=e&&this.a8("Max",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.a8("Step",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.g!=e&&this.a8("ComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.a8("CoercedComplexValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.a8("ComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.j},set:function(t){var e=this.j;this.j=t,this.j!=e&&this.a8("CoercedComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,this.y!=e&&this.a8("UseCoercedValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,this.q!=e&&this.a8("Properties",e,t)},enumerable:!1,configurable:!0}),n.prototype.a8=function(t,e,n){"PrimitiveValue"==t&&this.a7(),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.z=function(t){return null!=t&&(null==t.c||null!=this.c&&this.ab||(this.c=t.c),null==t.d||null!=this.d&&this.ab||(this.d=t.d),null==t.ay||null!=this.ay&&this.ab||(this.ay=t.ay),null==t.a2||null!=this.a2&&this.ab||(this.a2=t.a2),0==t.w||0!=this.w&&this.ab||(this.w=t.w,!0),0==t.v||0!=this.v&&this.ab||(this.v=t.v,!0),t.ac&&(this.ac=t.ac),!0)},n.prototype.aq=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},n.prototype.a6=function(){null!=this.buttonClicked&&this.buttonClicked(this,new xt)},n.prototype.a5=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new At).newValue=e.ar,t))},n.prototype.a9=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new Nt).propertyPath=t,n.target=e,n.value=i,n))},n.prototype.a7=function(){var t,e=this;if(null!=this.coercingValue){var i=((t=new Et).value=e.ar,t.complexValue=e.i,t.complexValues=e.m,t);this.coercingValue(this,i),this.ap=i.value,this.h=i.complexValue,this.l=i.complexValues}},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._complexValue=null,e._complexValues=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){return this._complexValue},set:function(t){this._complexValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){return this._complexValues},set:function(t){this._complexValues=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCoercingValueEventArgs",i.EventArgs.$),n}(i.EventArgs),$t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObject"),n}(i.Base),Dt=function(t){function n(){return t.call(this,$t.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize($t.$)),n}(i.ObservableCollection$1),zt=function(t){function n(){return t.call(this,Rt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(Rt.$)),n}(i.ObservableCollection$1),qt=function(t){function n(e){var n=t.call(this)||this;if(Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(Gt.$type,Rt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Gt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Vt=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new qt,e=this.i.a;e||(e=new zt),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new qt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.a;r||(r=new zt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.a=r},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),Ut=function(t){function n(e){var n=t.call(this)||this;if(Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(Vt.$type,$t.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Vt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new xt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new At},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),Mt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!1,configurable:!0}),t}(),Ht=function(){function t(){this._complexValues=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Et},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValue",{get:function(){var t=this.i.complexValue;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.complexValue=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.complexValues;e||(e=new Dt),this._complexValues=t._fromInner(e),this.i.complexValues=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.complexValues;r||(r=new Dt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.complexValues=r},enumerable:!1,configurable:!0}),t}(),Gt=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e._coercedComplexValues=null,e._properties=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._coercingValue=null,e._coercingValue_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Rt},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"name",{get:function(){return this.i.a0},set:function(t){this.i.a0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.az},set:function(t){this.i.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(St,t),this._a("valueType",i.enumToString(St,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedValueType",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(St,t),this._a("coercedValueType",i.enumToString(St,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ay},set:function(t){this.i.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primitiveValue",{get:function(){return this.i.ar},set:function(t){this.i.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedPrimitiveValue",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("min",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("editorWidth",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("labelWidth",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("max",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("step",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.i=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValue",{get:function(){var t=this.i.h;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.h=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.m;e||(e=new Dt),this._complexValues=t._fromInner(e),this.i.m=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.m;r||(r=new Dt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.m=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValues",{get:function(){if(null===this._coercedComplexValues){var t=new Ut,e=this.i.l;e||(e=new Dt),this._coercedComplexValues=t._fromInner(e),this.i.l=e}return this._coercedComplexValues},set:function(t){null!==this._coercedComplexValues&&(this._coercedComplexValues._setSyncTarget(null),this._coercedComplexValues=null);var e=new Ut;this._coercedComplexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.l;r||(r=new Dt),n._inner=r,n.clear(),this._coercedComplexValues._setSyncTarget(n),this.i.l=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useCoercedValue",{get:function(){return this.i.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("useCoercedValue",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new qt,e=this.i.r;e||(e=new zt),this._properties=t._fromInner(e),this.i.r=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new qt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.r;r||(r=new zt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.r=r},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:this.coercedComplexValue&&this.coercedComplexValue.name&&this.coercedComplexValue.name==t?this.coercedComplexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null!=this.coercedComplexValues&&this.coercedComplexValues.findByName&&this.coercedComplexValues.findByName(t)?this.coercedComplexValues.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPropertyDescriptionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},Object.defineProperty(n.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=i.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,i){var n=new Lt;n._provideImplementation(i),e.beforeButtonClicked&&e.beforeButtonClicked(e,n),e._buttonClicked&&e._buttonClicked(e,n)},this.i.buttonClicked=i.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=i.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,i){var n=new Ft;n._provideImplementation(i),e.beforeChanged&&e.beforeChanged(e,n),e._changed&&e._changed(e,n)},this.i.changed=i.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=i.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,i){var n=new Mt;n._provideImplementation(i),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,n),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,n)},this.i.targetPropertyUpdating=i.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercingValue",{get:function(){return this._coercingValue},set:function(t){var e=this;null!==this._coercingValue_wrapped&&(this.i.coercingValue=i.delegateRemove(this.i.coercingValue,this._coercingValue_wrapped),this._coercingValue_wrapped=null,this._coercingValue=null),this._coercingValue=t,this._coercingValue_wrapped=function(t,i){var n=new Ht;n._provideImplementation(i),e.beforeCoercingValue&&e.beforeCoercingValue(e,n),e._coercingValue&&e._coercingValue(e,n)},this.i.coercingValue=i.delegateCombine(this.i.coercingValue,this._coercingValue_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Wt=function(){function t(){}return t.register=function(){Gt.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",Gt),i.TypeRegistrar.register("PropertyEditorPropertyDescription",Rt.$type)},t}(),Kt=function(t){function n(){var e=t.call(this)||this;return e.c=1,e.e=null,e.f=null,e.propertyChanged=null,e.propertyUpdated=null,e}return e.__extends(n,t),n.b=function(t){return(e=new n).d=t.bindingMode,e.h=t.contextKey,e.j=t.propertyName,e;var e},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=t&&this.l("BindingMode",i.enumGetBox(i.ToolContextBindingMode_$type,e),i.enumGetBox(i.ToolContextBindingMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=t&&this.l("ContextKey",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=t&&this.l("PropertyName",e,t)},enumerable:!1,configurable:!0}),n.prototype.l=function(t,e,n){this.m(t,e,n),null!=this.propertyUpdated&&this.propertyUpdated(this,new i.PropertyUpdatedEventArgs(t,e,n)),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.m=function(t,e,i){},n.$t=i.markType(n,"ToolContextBinding",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Xt=function(){function t(){this._propertyUpdated=null,this._propertyUpdated_wrapped=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Kt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"bindingMode",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(i.ToolContextBindingMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyName",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"propertyUpdated",{get:function(){return this._propertyUpdated},set:function(t){var e=this;null!==this._propertyUpdated_wrapped&&(this.i.propertyUpdated=i.delegateRemove(this.i.propertyUpdated,this._propertyUpdated_wrapped),this._propertyUpdated_wrapped=null,this._propertyUpdated=null),this._propertyUpdated=t,this._propertyUpdated_wrapped=function(t,n){var r=new i.IgcPropertyUpdatedEventArgs;r._provideImplementation(n),e.beforePropertyUpdated&&e.beforePropertyUpdated(e,r),e._propertyUpdated&&e._propertyUpdated(e,r)},this.i.propertyUpdated=i.delegateCombine(this.i.propertyUpdated,this._propertyUpdated_wrapped)},enumerable:!1,configurable:!0}),t}(),Qt=function(t){function n(e){var n=t.call(this)||this;if(Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding"));var t=new i.SyncableObservableCollection$2(Xt.$type,Kt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Xt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Yt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(r,t),r.prototype.addHandler=function(t,e,n,r){switch(n){case 21:var o=t;o.selectedValueChanged=i.delegateCombine(o.selectedValueChanged,i.runOn(this,this.w)),this.u=r,this.v=e}},r.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUIComboSelectedItemsChangedEventArgs;null==t.value?n.a=[]:n.a=[t.value],this.u(this.v,n)}},r.prototype.getValue=function(e,n){switch(n){case 1:var r=1;switch(e.density){case 0:r=0;break;case 1:r=1;break;case 2:r=2;break;case 3:r=3;break;case 4:r=4}return i.enumGetBox(i.NativeUIDisplayDensity_$type,r);case 91:return e.gg;case 90:return e.j;case 8:return e.itemsSource;case 89:return[e.value]}return t.prototype.getValue.call(this,e,n)},r.prototype.removeHandler=function(t,e,n,r){switch(n){case 21:var o=t;o.selectedValueChanged=i.delegateRemove(o.selectedValueChanged,i.runOn(this,this.w)),this.u=null,this.v=null}},r.prototype.setValue=function(e,n,r){switch(n){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,r)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}return void(e.density=o);case 91:return void(e.gg=r);case 90:return void(e.j=[r]);case 8:var s=!1;if(null!=r&&null!==i.typeCast(i.Array_$type,r))for(var a=r,h=0;h<a.length;h++){if("string"==typeof a[h]){s=!0;break}break}if(s){for(var u=r,l=new i.List$1(i.Base.$,0),c=0;c<u.length;c++){var p=u[c],f={};f.label=p,l.add1(f)}e.itemsSource=l.toArray()}else e.itemsSource=r;return;case 89:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.$t=i.markType(r,"ComboEditorBridge",n.XComponentBridge.$),r}(n.XComponentBridge),Jt=new i.Type(null,"INativeUIToolPanelBridge",null,[i.INativeUIElementBridge_$type]),Zt=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolCommandEventArgs"),n}(i.Base),te=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),ee=i.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),ie=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=null,e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextChangedEventArgs"),n}(i.Base),ne=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e=new i.Dictionary$2(i.String_$type,i.Base.$,0),e.onItemChanged=null,e}return e.__extends(n,t),n.prototype.i=function(t,e){if(this.e.containsKey(t)){var n=this.e.item(t);return this.e.item(t,e),void((null==n&&null!=e||null!=n&&!i.Base.equalsStatic(n,e))&&this.h(t,n,e))}this.e.addItem(t,e),this.h(t,null,e)},n.prototype.h=function(t,e,i){var n;null!=this.onItemChanged&&this.onItemChanged(this,((n=new ie).c=t,n.b=e,n.a=i,n))},n.prototype.g=function(t){return null!=this.e&&this.e.containsKey(t)?this.e.item(t):null},n.prototype.d=function(t,e,n){return null!=e&&this.e.containsKey(e)?{ret:!0,p1:i.typeCastObjTo$t(t,this.e.item(e))}:{ret:!1,p1:i.Type.getDefaultValue(t)}},n.prototype.f=function(){return this.e.getEnumerator()},n.prototype.b=function(t){return this.e.containsKey(t)},n.prototype.c=function(t){return this.e.containsKey(t)},n.$t=i.markType(n,"ToolPanelContext"),n}(i.Base),re=new i.Type(null,"INativeUIToolbarBridge",null,[i.INativeUIElementBridge_$type]),oe=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuOpeningEventArgs"),n}(i.Base),se=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuOpeningEventArgs"),n}(i.Base),ae=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuClosingEventArgs"),n}(i.Base),he=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIToolbarSubMenuClosingEventArgs"),n}(i.Base),ue=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),le=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),ce=function(t){function n(){var e=t.call(this,Kt.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolContextBindingCollection",i.ObservableCollection$1.$.specialize(Kt.$)),n}(i.ObservableCollection$1),pe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContextSwappedEventArgs"),n}(i.Base),fe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=null,e.a=0,e.c=!1,e.b=!1,e.e=0,e.d=new Date,e.f=null,e.h=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetail"),n}(i.Base),de=function(t){function n(){var e=t.call(this)||this;return e.f=0,e.h=0,e.g=0,e.b=0,e.a=0,e.c=0,e.e=0,e.d=0,e.f=NaN,e.h=NaN,e.g=NaN,e.e=NaN,e.d=NaN,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionMeasurementContext"),n}(i.Base),be=function(t){function n(){return t.call(this,fe.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(fe.$)),n}(i.ObservableCollection$1),ge=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new be,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),ye=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.h=null,e.i=null,e.f=0,e.a=null,e.e=null,e.g=null,e.b=null,e.c=null,e.d=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),t.u('id: "'+this.h+'", '),t.u('name: "'+this.i+'", '),t.u("type: "+this.f+", "),t.u("actualBackgroundColor: "+this.a.serialize()+", "),null!=this.e&&t.u("listItem: "+this.e.serialize()+", "),null!=this.g&&t.u("container: "+this.g.serialize()+", "),null!=this.b&&t.u("icon: "+this.b.l()+", "),null!=this.c&&t.u("label: "+this.c.g()+", "),null!=this.d&&t.u("subTitle: "+this.d.g()+", "),t.u(this.j()),t.u("}"),t.toString()},n.prototype.j=function(){return""},n.$t=i.markType(n,"ToolActionVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),me=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(i.Base.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,i.Base.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf1(t)},n.$t=i.markType(n,"LayoutSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),ve=function(t){return t[t.Flat=0]="Flat",t[t.Outlined=1]="Outlined",t}({}),_e=i.markEnum("ToolActionButtonGroupDisplayType","Flat,0|Outlined,1"),Ce=function(t){function n(e){for(var i=[],n=1;n<arguments.length;n++)i[n-1]=arguments[n];var r=t.call(this)||this;switch(r.a=null,r.b=null,e=null==e?0:e){case 0:var o=i[0],s=i[1];r.a=o,r.b=s;break;case 1:o=i[0];r.a=null,r.b=o}return r}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(0,null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"LayoutPrimaryKeyValue"),n}(i.Base),je=function(t){function n(){var e=t.call(this,Ce.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(Ce.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Ce.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.ag&&(this.ai.clear(),this.aj.clear()),t.prototype.p.call(this)},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"LayoutSelectedKeysCollection",i.ObservableCollection$1.$.specialize(Ce.$)),n}(i.ObservableCollection$1),Pe=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),we=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),Oe=function(t){return t[t.Label=0]="Label",t[t.Value=1]="Value",t}({}),Te=i.markEnum("ToolActionFieldSelectorType","Label,0|Value,1"),Ie=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.key=null,e.isSelected=!1,e.label=null,e.aggregationOperand=0,e.aggregationName=null,e.aggregationLabel=null,e.propertyType=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionFieldSelector_ToolActionFieldSelectorItem"),n}(i.Base),ke=function(t){return t[t.Change=0]="Change",t[t.AggregationChange=1]="AggregationChange",t}({}),Se=i.markEnum("ToolActionFieldSelectorEventType","Change,0|AggregationChange,1"),xe=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),Ae=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),Ne=function(t){function n(e){var r=t.call(this)||this;return r.j=null,r.f=null,r.d=null,r.h=i.DeviceUtils.g(42),r.ab=new i.Thickness(1,20,0,20,0),r.w=i.BrushUtil.h(255,237,239,245),r.x=i.BrushUtil.h(255,0,0,0),r.k="",r.a=n.c(),r.g=NaN,r.propertyChanged=null,r.j=e,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.u("Height",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.u("Padding",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.u("Background",e,this.w)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.u("TextColor",e,this.x)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.u("Text",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.u("FontInfo",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var e=this;i.NativeUIComponent.aw(this.j,[7,3],(function(i){e.e=i[0],e.e.bi=e.ac,e.e.y=e.i,e.e.a8=e.y,e.e.ao=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bl=!1,e.f.bm=e.p,e.f.ba=e.z,e.f.bk=e.b,e.e.bn(e.f),null!=t&&t()}))},n.prototype.aa=function(){if(i.isNaN_(this.g)){var t=document.createElement("canvas").getContext("2d");t.font=this.b.fontString;var e=t.measureText(this.p);this.g=e.width}return new i.Size(1,this.ac.left+this.ac.right+this.g,this.ac.top+this.ac.bottom+this.i)},n.c=function(){return(t=new i.FontInfo).q="Verdana",t.f=14,t.t="Normal",t.v="Normal",t.r="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.bi=this.ac,this.e.y=this.i,this.e.a8=this.y),null!=this.f&&(this.f.bm=this.p,this.f.ba=this.z,this.f.bk=this.b)},n.prototype.u=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.v(t,e,n)},n.prototype.v=function(t,e,i){switch(t){case"Background":case"Padding":case"Height":case"FontInfo":case"TextColor":this.s();break;case"Text":this.g=NaN,this.s()}},n.$t=i.markType(n,"TooltipTextPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e}return e.__extends(n,t),n.prototype.j=function(){new i.StringBuilder(0);return"arrowIcon: "+this.k!=null?this.k.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",ye.$),n}(ye),Re=function(t){function n(){var e=t.call(this)||this;return e.b=null,e.c=null,e.a=null,e.b=new i.List$1(ye.$,0),e.c=new i.List$1(Ee.$,0),e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);if(t.u("{"),t.u("actions: ["),this.b.count>0)for(var e=0;e<this.b.count;e++){var n=this.b._inner[e].serialize();t=e<this.b.count-1?t.u(n+", "):t.l(n)}if(t.u("], "),t.u("dropdowns: ["),this.c.count>0)for(var r=0;r<this.c.count;r++){var o=this.c._inner[r].serialize();t=r<this.c.count-1?t.l(o+", "):t.l(o)}return t.u("], "),t.u("panel: "+this.a.serialize()),t.u("]"),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),Ee=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),null!=this.a&&t.u("toolPanel: "+this.a.serialize()+", "),t.u("}"),t.toString()},n.$t=i.markType(n,"ToolPanelDropdownMenuVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),$e=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),De=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=2,e}return e.__extends(n,t),Object.defineProperty(n,"b",{get:function(){return null==n.a&&(n.a=new n),n.a},enumerable:!1,configurable:!0}),n.g=function(){i.NativeUIComponent.as(n.b)},Object.defineProperty(n.prototype,"flavor",{get:function(){return this.c},enumerable:!1,configurable:!0}),n.prototype.createComponent=function(t,e,i){switch(e){case 19:this.d(t,i);break;case 13:this.f(t,i);break;case 18:this.e(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:case 18:case 19:return!0}return!1},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new _;s.provideRenderer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Yt(s),h=new i.NativeUICombo;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new ci;o.provideContainer(r);var s=new ze(o),a=new Le;a.an=n,a.d=s,e(a)},n.prototype.e=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new hi;o.provideContainer(r);var s=new qe(o),a=new Fe;a.an=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),ze=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.y=null,i.v=null,i.z=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.j1()},r.prototype.x=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.updateDensity=function(t,e){t.hg(this.x(e))},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ac)),this.u=r,this.y=e;break;case 12:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ad)),this.v=r,this.z=e;break;case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ab)),this.w=r,this.aa=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ac)),this.u=null,this.y=null;break;case 12:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ad)),this.v=null,this.z=null;break;case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.ab)),this.w=null,this.aa=null}},r.prototype.ac=function(t,e){null!=this.u&&this.u(this.y,e)},r.prototype.ad=function(t,e){null!=this.v&&this.v(this.z,e)},r.prototype.ab=function(t,e){null!=this.w&&this.w(this.aa,e)},r.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 108:return e}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},r.prototype.setValue=function(e,n,r){var o=e;switch(n){case 27:return void(o.actions=r);case 30:return void(o.u=i.EnumUtil.getEnumValue(ee,r));case 28:return void(o.c3=i.typeGetValue(r));case 18:return void(o.z=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 33:return void(o.ju=r);case 34:return void(o.jf=r);case 23:return void(o.jc=r);case 50:return void(o.js=r);case 51:return void(o.ji=r);case 52:return void(o.jl=r);case 53:return void(o.jr=r);case 11:return void(o.ap=r);case 70:return void(o.jq=r);case 66:return void(o.jx=r);case 68:return void(o.jy=r);case 67:return void(o.jd=r);case 69:return void(o.je=r);case 71:return void(o.jo=r);case 72:return void(o.jp=r);case 83:return void(o.jt=r);case 84:return void(o.jk=r);case 85:return void(o.as=r);case 112:o.ar=r;break;case 109:return void(o.a5=r);case 111:return void(o.cj=r)}t.prototype.setValue.call(this,e,n,r)},r.prototype.getValue=function(e,n){var r=e;switch(n){case 27:return r.actions;case 30:return i.enumGetBox(ee,r.u);case 28:return r.c3;case 29:return r.b4;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.z);case 33:return r.ju;case 34:return r.jf;case 23:return r.jc;case 50:return r.js;case 51:return r.ji;case 52:return r.jl;case 53:return r.jr;case 11:return r.ap;case 70:return r.jq;case 66:return r.jx;case 68:return r.jy;case 67:return r.jd;case 69:return r.je;case 71:return r.jo;case 72:return r.jp;case 83:return r.jt;case 84:return r.jk;case 85:return r.as;case 112:return r.ar;case 104:return r.a4;case 109:return r.a5;case 111:return r.cj}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.gr()},r.prototype.flushRefresh=function(t){t.f8()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.getContext=function(t){return t.p},r.prototype.setContext=function(t,e){t.p=e},r.prototype.setBrushContextItem=function(t,e,i){t.g0(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.jg(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.gy(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.g8(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.cf(e)},r.prototype.setStringContextItem=function(t,e,i){t.hc(e,i)},r.prototype.getStringContextItem=function(t,e){return t.eq(e)},r.prototype.setBoolContextItem=function(t,e,i){t.gw(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.a1(e)},r.prototype.setColorContextItem=function(t,e,i){t.g2(e,i)},r.prototype.getColorContextItem=function(t,e){return t.jz(e)},r.prototype.setDataContextItem=function(t,e,i){t.g6(e,i)},r.prototype.getDataContextItem=function(t,e){return t.c7(e)},r.prototype.markDirty=function(t,e){t.gb(e)},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Jt]),r}(n.XComponentBridge),qe=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.ac=null,i.v=null,i.ad=null,i.y=null,i.ae=null,i.x=null,i.ab=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.gb()},r.prototype.z=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.af)),this.y=r,this.ae=e;break;case 23:o.subMenuOpening=i.delegateCombine(o.subMenuOpening,i.runOn(this,this.ah)),this.x=r,this.ab=e;break;case 24:o.subMenuClosing=i.delegateCombine(o.subMenuClosing,i.runOn(this,this.ag)),this.w=r,this.aa=e}},r.prototype.ah=function(t,e){if(null!=this.x){var i=new se;this.x(this.ab,i)}},r.prototype.ag=function(t,e){if(null!=this.x){var i=new he;this.w(this.aa,i)}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.af)),this.y=null,this.ae=null;break;case 23:o.subMenuOpening=i.delegateRemove(o.subMenuOpening,i.runOn(this,this.ah)),this.x=null,this.ab=null}},r.prototype.af=function(t,e){null!=this.y&&this.y(this.ae,e)},r.prototype.setValue=function(t,n,r){var o,s,a=t;switch(n){case 27:a.actions.clear();try{for(var h=e.__values(i.fromEnum(r)),u=h.next();!u.done;u=h.next()){var l=u.value;a.actions.add(l)}}catch(t){o={error:t}}finally{try{u&&!u.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}break;case 30:a.m=i.EnumUtil.getEnumValue(le,r);break;case 28:a.by=i.typeGetValue(r);break;case 18:a.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r);break;case 33:a.f5=r;break;case 34:a.fs=r;break;case 23:a.fp=r;break;case 50:a.f3=r;break;case 51:a.fu=r;break;case 52:a.fw=r;break;case 53:a.f2=r;break;case 11:a.af=r;break;case 70:a.f1=r;break;case 66:a.f8=r;break;case 68:a.f9=r;break;case 67:a.fq=r;break;case 69:a.fr=r;break;case 71:a.fz=r;break;case 72:a.f0=r;break;case 83:a.f4=r;break;case 84:a.fv=r;break;case 85:a.aj=r;break;case 86:a.target=r;break;case 109:a.aw=r}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(le,n.m);case 28:return n.by;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.x);case 33:return n.f5;case 34:return n.fs;case 23:return n.fp;case 50:return n.f3;case 51:return n.fu;case 52:return n.fw;case 53:return n.f2;case 11:return n.af;case 70:return n.f1;case 66:return n.f8;case 68:return n.f9;case 67:return n.fq;case 69:return n.fr;case 71:return n.fz;case 72:return n.f0;case 83:return n.f4;case 84:return n.fv;case 85:return n.aj;case 86:return n.target;case 104:return n.av;case 109:return n.aw}return null},r.prototype.flushRefresh=function(t){t.d2()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.eo(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.ft(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.en(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.es(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.bd(e)},r.prototype.setStringContextItem=function(t,e,i){t.e0(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cr(e)},r.prototype.setBoolContextItem=function(t,e,i){t.em(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.au(e)},r.prototype.setColorContextItem=function(t,e,i){t.ep(e,i)},r.prototype.getColorContextItem=function(t,e){return t.ga(e)},r.prototype.setDataContextItem=function(t,e,i){t.er(e,i)},r.prototype.getDataContextItem=function(t,e){return t.b3(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[re]),r}(n.XComponentBridge),Ve=function(t){function n(){var e,n=t.call(this)||this;return n.q=null,n.p=null,n.i=i.DeviceUtils.g(44),n.a=null,n.l=null,n.o=null,n.g=null,n.n=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.ad=new i.Size,n.d=null,n._gridExternal=null,n.c=function(){var t=new i.FontInfo;return t.q="Verdana",t.f=13,t.t="Normal",t.v="Bold",t.r="Normal",t}(),n.h=!1,n.m=null,n}return e.__extends(n,t),n.prototype.s=function(){return this.l},n.prototype.y=function(){},n.prototype.w=function(t){var e=this;if(null!=t){this.a.d=new i.DOMExecutionContext(t),this.l=t,this.o=this.l.createElement("canvas"),this.g=new i.RenderingContext(new i.CanvasViewRenderer,this.l.get2DCanvasContext(this.o)),this.n=this.l.createElement("div"),this.ab();var n=this.l.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.l.append(n),this.l.getPortal(n,"ToolPanel",(function(t){var i=t.componentRef.i;i.f7(),e.a.d3(i)}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.l.rootWrapper.setStyleProperty("position","relative")}else this.l=null},n.prototype.ab=function(){},n.prototype.aa=function(){this.l},n.prototype.v=function(){if(null!=this.l){var t=this.l.rootWrapper.width(),e=this.l.rootWrapper.height();this.a.userSetWidth||0!=this.a.m||(this.l.rootWrapper.setStyleProperty("min-width",this.i+"px"),t=this.i),this.ad=new i.Size(1,t,e),this.a.d6(this.ad)}},n.prototype.ac=function(){var t=this.l;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.f5),i.NativeUI.m(e,this.a.fp))}},n.prototype.e=function(){return this.b},n.prototype.f=function(){return this.c},n.prototype.x=function(){},n.prototype.z=function(){},n.prototype.u=function(){},n.prototype.j=function(){return this.ad.width},n.prototype.k=function(t){return this.d=this.a.ag(),i.FontUtil.measureStringWidth(t,this.d,this.g)},n.prototype.t=function(t,e){null==this.m&&(this.m=this.l.createElement("div")),e(this.m.getNativeElement())},n.$t=i.markType(n,"ToolbarView"),n}(i.Base),Ue=function(t){function n(){var e,n=t.call(this)||this;return n.w=null,n.v=null,n.c=null,n.r=null,n.u=null,n.k=null,n.t=null,n.d=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.f=function(){var t=new i.FontInfo;return t.q="Verdana",t.f=10,t.t="Normal",t.v="Normal",t.r="Normal",t}(),n.e=function(){var t=new i.FontInfo;return t.q="Verdana",t.f=13,t.t="Normal",t.v="Bold",t.r="Normal",t}(),n.an=new i.Size,n.g=null,n._gridExternal=null,n.l=!1,n.s=null,n}return e.__extends(n,t),n.prototype.z=function(){return this.r},n.prototype.ah=function(){},Object.defineProperty(n.prototype,"x",{get:function(){return this.r.rootWrapper},enumerable:!1,configurable:!0}),n.prototype.af=function(t){var e=this;if(null!=t){this.c.c=new i.DOMExecutionContext(t),this.r=t,this.u=this.r.createElement("canvas"),this.k=new i.RenderingContext(new i.CanvasViewRenderer,this.r.get2DCanvasContext(this.u)),this.t=this.r.createElement("div"),this.ak();var n=this.r.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.r.append(n),this.r.getPortal(n,"ListPanel",(function(t){var i=t.componentRef.i;i.fx(),e.c.f9(i),e.ai()}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.r.rootWrapper.setStyleProperty("position","relative"),this.r.rootWrapper.setStyleProperty("width","100%")}else this.r=null},n.prototype.ak=function(){},n.prototype.ad=function(){if(null!=this.r){var t=this.r.rootWrapper.width(),e=this.r.rootWrapper.height();this.an=new i.Size(1,t,e),this.c.gf(this.an),this.c.at}},n.prototype.o=function(){return this.r.rootWrapper.getNativeElement().offsetWidth},n.prototype.n=function(){return this.r.rootWrapper.getNativeElement().offsetHeight},n.prototype.al=function(){var t=this.r;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.ju),i.NativeUI.m(e,this.c.jc))}},n.prototype.h=function(){return this.d},n.prototype.j=function(){return this.f},n.prototype.i=function(){return this.e},n.prototype.ag=function(){},n.prototype.aj=function(){},n.prototype.ai=function(){null!=this.r&&(this.c.actions.count>0&&0==this.c.u?this.r.rootWrapper.setStyleProperty("min-width",i.DeviceUtils.g(44)+"px"):this.r.rootWrapper.setStyleProperty("min-width","0px"))},n.prototype.ae=function(){this.ai()},n.prototype.ac=function(){},n.prototype.m=function(){return this.an.width},n.prototype.p=function(t){return this.g=this.c.aq(),i.FontUtil.measureStringWidth(t,this.g,this.k)},n.prototype.q=function(t,e){return i.FontUtil.measureStringWidth(t,e,this.k)},n.prototype.ab=function(t,e){null==this.s&&(this.s=this.r.createElement("div")),e(this.s.getNativeElement())},n.prototype.a=function(){var t=new i.Popup;this.r.getExternal(t,this.r.rootWrapper,this.r.getExternal(this.c,null,null));return t},n.prototype.b=function(t){var e=new ci;this.r.getExternal(e,this.r.rootWrapper,this.r.getExternal(this.c,null,null));return t.an.appendChild(e.v.r.rootWrapper.getNativeElement()),e},n.prototype.am=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,s=e.height;return new i.Rect(0,n,r,o,s)},n.prototype.aa=function(){this.c.externalObject.ensureStretch()},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),Le=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bp=null,e.bk=null,e.bl=null,e.br=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bo",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(85)},set:function(t){this.a4(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(112)},set:function(t){this.a4(112,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bo.getContext(this.am)},set:function(t){this.bo.setContext(this.am,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ag(111)},set:function(t){this.a4(111,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,null!=this.bp?this.aq(10,this.bp):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,null!=this.bk?this.aq(11,this.bk):this.a2(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(12,this.bl):this.a2(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),n.prototype.b5=function(){this.bo.refresh(this.am)},n.prototype.b6=function(t){this.bo.updateDensity(this.am,t)},n.prototype.b2=function(){this.bo.flushRefresh(this.am)},n.prototype.b4=function(t){this.bo.notifySizeChanged(this.am,t)},n.prototype.b3=function(t){this.bo.markDirty(this.am,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),Fe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.br=null,e.bo=null,e.bn=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bk",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ag(86)},set:function(t){this.a4(86,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(109)},set:function(t){this.a4(109,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(85)},set:function(t){this.a4(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(104)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(10,this.bl):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,null!=this.bo?this.aq(23,this.bo):this.a2(23,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,null!=this.bo?this.aq(24,this.bn):this.a2(24,e)},enumerable:!1,configurable:!0}),n.prototype.b2=function(){this.bk.flushRefresh(this.am)},n.prototype.b3=function(t){this.bk.notifySizeChanged(this.am,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),Me=function(t){function n(){var e,n=t.call(this)||this;n.r=null,n.bl=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bo=new i.List$1(i.String_$type,0),n.bn=new i.HashSet$1(i.String_$type,0),n.bk=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bj=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.br=NaN,n.au=!1,n.p=new ce,n.s=null,n.c=null,n.cy=null,n.h=null,n.j=new ai,n.dm=null,n.dj=null,n.en=null,n.g=null,n.g3=i.BrushUtil.h(0,0,0,0),n.ab=null,n.bv=30,n.bt=NaN,n.bu=NaN,n.bq=24,n.bs=NaN,n.bp=24,n.propertyChanged=null,n.bm=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.ac=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.onCommand=null,n.performed=null,n.z=null,n.ap=null,n.am=null,n.ai=null,n.ar=null,n.ao=null,n.as=null,n.at=null,n.u=0,n.an=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.fu));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.fv));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.f3));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.f4)),n}return e.__extends(n,t),n.prototype.get_ba=function(){return!1},Object.defineProperty(n.prototype,"ba",{get:function(){return this.get_ba()},enumerable:!1,configurable:!0}),n.prototype.gp=function(t,n){var r,o,s,a;if(this.bl.item(t,n),this.bk.containsKey(t)){var h=this.bk.item(t),u=new i.List$1(Kt.$,0);try{for(var l=e.__values(i.fromEnum(h)),c=l.next();!c.done;c=l.next()){var p=c.value;u.add(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u)),d=f.next();!d.done;d=f.next()){var b=d.value;this.gi(b)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},n.prototype.gi=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gt)),null!=t.h&&this.bj.containsKey(t.h)){var e=this.bj.item(t.h);e.remove(t),0==e.count&&this.bj.removeItem(t.h)}if(null!=t.j&&this.bk.containsKey(t.j)){var n=this.bk.item(t.j);n.remove(t),0==n.count&&(this.bk.removeItem(t.j),this.bn.contains(t.j)&&(this.bn.remove(t.j),this.bo.remove(t.j)))}}},n.prototype.gj=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gt)),null!=e&&this.bj.containsKey(e)){var r=this.bj.item(e);r.remove(t),0==r.count&&this.bj.removeItem(t.h)}if(null!=n)if(this.bk.containsKey(n))this.bk.item(n).remove(t),this.bn.contains(t.j)&&(this.bn.remove(t.j),this.bo.remove(t.j))}},n.prototype.fa=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.gt)),null!=t.h)if(this.bj.containsKey(t.h)){var e=this.bj.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Kt.$,0);n.add(t),this.bj.addItem(t.h,n)}if(null!=t.j)if(this.bk.containsKey(t.j)){var r=this.bk.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Kt.$,0);o.add(t),this.bk.addItem(t.j,o),this.bn.contains(t.j)||(this.bn.add_1(t.j),this.bo.add(t.j))}}},n.prototype.gt=function(t,e){switch(e.propertyName){case"ContextKey":this.gj(t,e.oldValue,t.j),this.fa(t);break;case"PropertyName":this.gj(t,t.h,e.oldValue),this.fa(t)}},n.prototype.cv=function(t,e){if(this.bl.containsKey(t))return this.bl.item(t);if(this.bk.containsKey(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a1(r))return this.cs(r,e)}return e},n.prototype.i=function(t,e,n){if(this.bl.containsKey(e))return i.typeCastObjTo$t(t,this.bl.item(e));if(this.bk.containsKey(e))for(var r=this.bk.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.a1(s)){var a=this.cs(s,i.getBoxIfEnum(t,n));return"number"==typeof a?i.typeCastObjTo$t(t,i.EnumUtil.toObject(t,i.typeGetValue(a))):i.typeCastObjTo$t(t,a)}}return n},n.prototype.cu=function(t,e){if(this.bl.containsKey(t))return this.bl.item(t);if(this.bk.containsKey(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a1(r))return this.cs(r,e)}return e},n.prototype.cs=function(t,e){return null==this.r||null==this.r.p?e:this.r.p.c(t.h)?this.r.p.g(t.h):e},n.prototype.gm=function(t,e){null!=this.r&&null!=this.r.p&&null!=t.h&&(this.gq(t.h),this.r.p.i(t.h,e),this.gr(t.h))},Object.defineProperty(n.prototype,"contextBindings",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.f9("ContextBindings",e,this.p)},enumerable:!1,configurable:!0}),n.prototype.ay=function(){return this.bo.count>0},n.prototype.fq=function(t){for(var e=0;e<this.bo.count;e++){var i=this.bo._inner[e];if(this.bk.containsKey(i))for(var n=this.bk.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.a1=function(t){return null!=this.r&&null!=this.r.p&&this.r.p.c(t.h)},n.prototype.gn=function(t,e){if(this.a0(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.gm(r,e)}else this.bl.item(t,e)},n.prototype.az=function(t){return!!this.bj.containsKey(t)},n.prototype.a0=function(t){return!!this.bk.containsKey(t)},n.prototype.go=function(t){var e=this.r;if(this.r=t,null!=this.r&&(null!=this.ah&&null!=this.r.v.r&&this.ah.w(this.r.v.r),this.bf=this.r.a7),this.r!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.f5)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.f6))),null!=this.r){var n=this.r;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.f5));var r=this.r;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.f6))}this.f8(e,t),this.z=null}},n.prototype.ct=function(t){return null==t||null==t.j?null:this.bl.containsKey(t.j)?this.bl.item(t.j):null},n.prototype.f8=function(t,e){null!=this.ai&&(this.ai.bm=i.runOn(this,this.fx))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.f9("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cz",{get:function(){return null!=this.el?this.el:null!=this.e5?this.ew(this.e5):(null==this.cy&&(this.cy=i.Guid.newGuid().toString()),this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.j},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.cv("Width",NaN)},set:function(t){var e=this.co;e!=t&&(this.gp("Width",t),this.f9("Width",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.cv("Height",NaN)},set:function(t){var e=this.b9;e!=t&&(this.gp("Height",t),this.f9("Height",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return i.typeGetValue(this.cv("SubPanelRowHeight",-1))},set:function(t){var e=this.cp;e!=t&&(this.gp("SubPanelRowHeight",t),this.f9("SubPanelRowHeight",e,t))},enumerable:!1,configurable:!0}),n.prototype.fc=function(){null!=this.ai&&(this.ai.bm=null),null!=this.r&&this.r.gb(this),this.g=null},n.prototype.f3=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;this.gi(l)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var c=e.__values(i.fromEn(n.newItems)),p=c.next();!p.done;p=c.next()){var f=p.value;this.fa(f)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}},n.prototype.f4=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.contextBindings)),a=s.next();!a.done;a=s.next()){var h=a.value;this.gi(h)}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fu=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;l.fc(),l.h=null;var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.fy))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;d.h=this;var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.fy)),d.t=this.t}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},n.prototype.fv=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.actions)),a=s.next();!a.done;a=s.next()){var h=a.value;h.fc(),h.h=null}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fy=function(t,e){this.fb(t,e.propertyName)},n.prototype.fb=function(t,e){null!=this.h&&this.h.fb(t,e)},n.prototype.ew=function(t){return i.stringReplace(t," ","_")},n.prototype.l=function(t){var e,i=this;return(e=new fe).g=i.cz,e.a=i.aa,e.c=t,e},n.prototype.fs=function(t){var e,n=this;null==this.dp&&null==this.cq||t.add(((e=new i.ToolCommandArgument).argumentName=n.eu(),e.value=n.cw(),e)),this.ft(t)},n.prototype.ft=function(t){},n.prototype.eu=function(){return null!=this.dp?this.dp:null!=this.cz?this.cz:"Unknown"},n.prototype.cw=function(){return null!=this.cq?this.cq:this.cx()},n.prototype.cx=function(){return null},Object.defineProperty(n.prototype,"es",{get:function(){return this.cv("ParentId",null)},set:function(t){var e=this.es;e!=t&&(this.gp("ParentId",t),this.f9("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.ev=function(){return null!=this.ds?this.ds:this.cz},Object.defineProperty(n.prototype,"ds",{get:function(){return this.cv("CommandId",null)},set:function(t){var e=this.ds;e!=t&&(this.gp("CommandId",t),this.f9("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.cv("CommandArgument",null)},set:function(t){var e=this.dp;e!=t&&(this.gp("CommandArgument",t),this.f9("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.cv("CommandArgumentValue",null)},set:function(t){var e=this.cq;e!=t&&(this.gp("CommandArgumentValue",t),this.f9("CommandArgumentValue",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.i(i.BaseControlTheme_$type,"BaseTheme",0)},set:function(t){var e=this.t;e!=t&&(this.gp("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.f9("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.cv("PaddingLeft",NaN)},set:function(t){var e=this.ck;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingLeft",t),this.f9("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.cv("ActualPaddingLeft",NaN)},set:function(t){var e=this.b1;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualPaddingLeft",t),this.f9("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.cv("PaddingRight",NaN)},set:function(t){var e=this.cl;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingRight",t),this.f9("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return this.cv("ActualPaddingRight",NaN)},set:function(t){var e=this.b2;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualPaddingRight",t),this.f9("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.cv("PaddingBottom",NaN)},set:function(t){var e=this.cj;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingBottom",t),this.f9("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.cu("ActualPaddingBottom",NaN)},set:function(t){var e=this.b0;e!=t&&(this.gp("ActualPaddingBottom",t),this.f9("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.cv("PaddingTop",NaN)},set:function(t){var e=this.cm;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingTop",t),this.f9("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.cv("ActualPaddingTop",NaN)},set:function(t){var e=this.b3;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualPaddingTop",t),this.f9("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.cv("ActualHoverBackground",null)},set:function(t){var e=this.g7;e!=t&&(this.gp("ActualHoverBackground",t),this.f9("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.cv("HoverBackground",null)},set:function(t){var e=this.hf;e!=t&&(this.gp("HoverBackground",t),this.f9("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g4",{get:function(){return this.cv("ActualBackground",null)},set:function(t){var e=this.g4;e!=t&&(this.gp("ActualBackground",t),this.f9("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.cu("Background",null)},set:function(t){var e=this.hc;e!=t&&(this.gp("Background",t),this.f9("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.cu("ActualTextColor",null)},set:function(t){var e=this.hb;e!=t&&(this.gp("ActualTextColor",t),this.f9("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.cv("TextColor",null)},set:function(t){var e=this.hj;e!=t&&(this.gp("TextColor",t),this.f9("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ha",{get:function(){return this.cu("ActualSubtitleTextColor",null)},set:function(t){var e=this.ha;e!=t&&(this.gp("ActualSubtitleTextColor",t),this.f9("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.cv("SubtitleTextColor",null)},set:function(t){var e=this.hi;e!=t&&(this.gp("SubtitleTextColor",t),this.f9("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g5",{get:function(){return this.cv("ActualDisabledTextColor",null)},set:function(t){var e=this.g5;e!=t&&(this.gp("ActualDisabledTextColor",t),this.f9("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.cv("DisabledTextColor",null)},set:function(t){var e=this.hd;e!=t&&(this.gp("DisabledTextColor",t),this.f9("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.cv("ActualTextStyle",null)},set:function(t){var e=this.ae;e!=t&&(this.gp("ActualTextStyle",t),this.f9("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.cv("TextStyle",null)},set:function(t){var e=this.ah;e!=t&&(this.gp("TextStyle",t),this.f9("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.cv("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gp("ActualSubtitleTextStyle",t),this.f9("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.cv("SubtitleTextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gp("SubtitleTextStyle",t),this.f9("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return this.cv("IsDisabled",!1)},set:function(t){var e=this.a8;e!=t&&(this.gp("IsDisabled",t),this.f9("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.cu("IsHighlighted",!1)},set:function(t){var e=this.a9;e!=t&&(this.gp("IsHighlighted",t),this.f9("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.i(i.ControlDisplayDensity_$type,"Density",0)},set:function(t){var e=this.w;e!=t&&(this.gp("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.f9("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.i(i.ControlDisplayDensity_$type,"ActualDensity",0)},set:function(t){var e=this.v;e!=t&&(this.gp("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.f9("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return null!=this.es},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return this.cv("Name",null)},set:function(t){var e=this.el;e!=t&&(this.gp("Name",t),this.f9("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.cv("Title",null)},set:function(t){var e=this.e5;e!=t&&(this.gp("Title",t),this.f9("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ez",{get:function(){return this.cv("Subtitle",null)},set:function(t){var e=this.ez;e!=t&&(this.gp("Subtitle",t),this.f9("Subtitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g2",{get:function(){return i.EnumUtil.getEnumValue(i.HorizontalAlignment_$type,this.cv("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,0)))},set:function(t){var e=this.g2;e!=t&&(this.gp("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,t)),this.f9("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,t)))},enumerable:!1,configurable:!0}),n.prototype.get_cn=function(){return this.bv},Object.defineProperty(n.prototype,"cn",{get:function(){return this.get_cn()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d9",{get:function(){return this.cv("IconName",null)},set:function(t){var e=this.d9;e!=t&&(this.gp("IconName",t),this.f9("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d4",{get:function(){return this.cv("IconCollectionName",null)},set:function(t){var e=this.d4;e!=t&&(this.gp("IconCollectionName",t),this.f9("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.cv("IconViewBoxLeft",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("IconViewBoxLeft",t),this.f9("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.cv("IconViewBoxTop",NaN)},set:function(t){var e=this.cg;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("IconViewBoxTop",t),this.f9("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.cv("IconViewBoxWidth",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("IconViewBoxWidth",t),this.f9("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.cv("IconViewBoxHeight",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("IconViewBoxHeight",t),this.f9("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.cv("IconFill",null)},set:function(t){var e=this.hg;e!=t&&(this.gp("IconFill",t),this.f9("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g8",{get:function(){return this.cv("ActualIconFill",null)},set:function(t){var e=this.g8;e!=t&&(this.gp("ActualIconFill",t),this.f9("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.cv("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gp("IconFillColors",t),this.f9("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.cv("IconStroke",null)},set:function(t){var e=this.hh;e!=t&&(this.gp("IconStroke",t),this.f9("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.cv("ActualIconStroke",null)},set:function(t){var e=this.g9;e!=t&&(this.gp("ActualIconStroke",t),this.f9("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.cv("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gp("IconStrokeColors",t),this.f9("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.cv("IconStrokeWidth",NaN)},set:function(t){var e=this.cd;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("IconStrokeWidth",t),this.f9("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.f9("IconWidth",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.f9("ActualIconWidth",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.f9("IconHeight",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.f9("ActualIconHeight",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.i(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.hk;e!=t&&(this.gp("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.f9("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.cv("CloseOnExecute",!1)},set:function(t){var e=this.aw;e!=t&&(this.gp("CloseOnExecute",t),this.f9("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.cv("HighlightWidth",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("HighlightWidth",t),this.f9("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.cv("ActualHighlightWidth",NaN)},set:function(t){var e=this.bx;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualHighlightWidth",t),this.f9("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.cv("HighlightRadius",NaN)},set:function(t){var e=this.ca;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("HighlightRadius",t),this.f9("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.cv("ActualHighlightRadius",NaN)},set:function(t){var e=this.bw;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualHighlightRadius",t),this.f9("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.cv("HighlightColor",null)},set:function(t){var e=this.he;e!=t&&(this.gp("HighlightColor",t),this.f9("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g6",{get:function(){return this.cv("ActualHighlightColor",null)},set:function(t){var e=this.g6;e!=t&&(this.gp("ActualHighlightColor",t),this.f9("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.cv("StopPropagation",!1)},set:function(t){var e=this.bf;e!=t&&(this.gp("StopPropagation",t),this.f9("StopPropagation",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_a3=function(){return!0},Object.defineProperty(n.prototype,"a3",{get:function(){return this.get_a3()},enumerable:!1,configurable:!0}),n.prototype.get_a4=function(){return!0},Object.defineProperty(n.prototype,"a4",{get:function(){return this.get_a4()},enumerable:!1,configurable:!0}),n.prototype.get_bd=function(){return!0},Object.defineProperty(n.prototype,"bd",{get:function(){return this.get_bd()},enumerable:!1,configurable:!0}),n.prototype.get_bg=function(){return!0},Object.defineProperty(n.prototype,"bg",{get:function(){return this.get_bg()},enumerable:!1,configurable:!0}),n.prototype.get_av=function(){return!0},Object.defineProperty(n.prototype,"av",{get:function(){return this.get_av()},enumerable:!1,configurable:!0}),n.prototype.fz=function(){null!=this.h&&this.h.fz()},n.prototype.f9=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gh(t,e,n)},n.prototype.get_aa=function(){return 0},Object.defineProperty(n.prototype,"aa",{get:function(){return this.get_aa()},enumerable:!1,configurable:!0}),n.prototype.gh=function(t,n,r){var o,s;switch(t){case"TextStyle":null!=this.ah&&null!=this.r&&null!=this.r.v.r&&this.ah.w(this.r.v.r),this.g0();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":case"HoverBackground":this.g0(),this.gs();break;case"ActualDensity":this.fw();break;case"Density":this.gs(),0==this.w?this.v=this.y:this.v=this.w;break;case"ActualBackground":null!=this.aq&&(this.aq.a8=this.g4);break;case"ActualTextStyle":case"Subtitle":case"Title":case"TitleHorizontalAlignment":case"ActualSubtitleTextStyle":this.au=!0,this.gs(),this.gy(),this.fo();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.gs(),this.gy();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":this.gs(),null!=this.ar&&(this.ar.bb=this.g8,this.ar.bc=this.g9,this.ar.bk=this.a,this.ar.bl=this.b);break;case"Visibility":this.gs(),this.gd();break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.gs(),this.f7();break;case"IsHighlighted":this.gs(),this.gx(this.aq);break;case"StopPropagation":null!=this.ai&&(this.ai.bx=this.bf);break;case"BaseTheme":try{for(var a=e.__values(i.fromEnum(this.actions)),h=a.next();!h.done;h=a.next()){h.value.t=this.t}}catch(t){o={error:t}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}this.g0()}},n.prototype.gy=function(){null!=this.at&&(this.at.bm=this.ez,this.at.ba=this.a8?this.g5:this.ha,this.at.bk=this.ad),null!=this.as&&(this.as.bm=this.e5,this.as.ba=this.a8?this.g5:this.hb,this.as.bk=this.ae,this.as.h=this.a2()?2:1,this.as.f=this.aj()),null!=this.ao&&(this.a2()?1==this.ao.b1&&(this.ao.b4(1,2,1),this.ao.bn(this.at),this.ao.cc(this.at,1)):2==this.ao.b1&&(this.ao.b9(1),this.ao.bp(this.at)))},n.prototype.gq=function(t){this.bm.containsKey(t)?this.bm.item(t,this.bm.item(t)+1):this.bm.item(t,1)},n.prototype.gr=function(t){this.bm.containsKey(t)&&(this.bm.item(t,this.bm.item(t)-1),this.bm.item(t)<=0&&this.bm.removeItem(t))},n.prototype.bc=function(t){return this.bm.containsKey(t)},n.prototype.f5=function(t,e){this.bc(e.c)||this.az(e.c)&&this.gg(e.c,e.b,e.a)},n.prototype.f6=function(t,e){for(var i=0;i<this.bo.count;i++)for(var n=this.bo._inner[i],r=this.bk.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.bc(s.h)&&this.a1(s)){var a=null;a=this.bl.containsKey(s.j)?this.bl.item(s.j):this.cs(s,null),this.f9(s.j,a,this.cs(s,null))}}},n.prototype.gg=function(t,e,i){if(this.bj.containsKey(t))for(var n=this.bj.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.f9(o.j,e,i)}},n.prototype.ak=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},n.prototype.x=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},Object.defineProperty(n.prototype,"a6",{get:function(){return 0==this.v},enumerable:!1,configurable:!0}),n.prototype.fw=function(){this.gu()},n.prototype.gu=function(){},n.prototype.gx=function(t){null!=t&&(this.a9?(t.bg=new i.Thickness(0,i.DeviceUtils.g(this.bx)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(this.bw))):(t.bg=new i.Thickness(0,i.DeviceUtils.g(0)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.a9=this.g6)},n.prototype.bb=function(){return null!=this.r&&null!=this.r.c9&&null!==i.typeCast(hi.$,this.r.c9)},n.prototype.g0=function(){null!=this.r&&(this.t=this.r.z,this.hb=null!=this.hj?this.hj:this.r.i7,this.ha=null!=this.hi?this.hi:this.r.i6,this.g5=null!=this.hd?this.hd:this.r.iu,this.g7=null!=this.hf?this.hf:this.r.i0,this.g8=null!=this.hg?this.hg:this.r.i1,this.g9=null!=this.hh?this.hh:this.r.i2,this.ae=null!=this.ah?this.ah:this.r.am,this.ad=null!=this.ag?this.ag:this.r.ao,this.bx=i.isNaN_(this.cb)?this.r.b3:this.cb,this.bw=i.isNaN_(this.ca)?this.r.b2:this.ca,this.g6=null!=this.he?this.he:this.r.iz),this.g4=null!=this.hc?this.hc:this.g3,null!=this.ar&&(this.ar.bk=this.a,this.ar.bl=this.b),this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(12):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(12):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(2):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(2):this.cj,this.bz=i.isNaN_(this.ci)?this.b8():this.ci,this.by=i.isNaN_(this.cc)?this.b8():this.cc,this.g1()},n.prototype.b8=function(){switch(this.v){case 0:case 3:case 1:case 2:return i.DeviceUtils.g(24);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(24)},n.prototype.g1=function(){},n.prototype.f7=function(){null!=this.ar&&(this.ar.br=this.d9,this.ar.bq=this.d4,this.ar.ae=i.DeviceUtils.g(this.bz),this.ar.y=i.DeviceUtils.g(this.by))},n.prototype.gs=function(){null!=this.en&&null!=this.g&&this.g.gf(this)},n.prototype.gd=function(){null!=this.r&&this.r.gs(),null!=this.ap&&(this.ap.bj=this.hk)},n.prototype.gb=function(t,e,i,n){var r=this;this.fp(i.b,i,n,(function(t){r.ap=t,r.fn(i.b,r.ap,n,(function(){i.b.bs=r.ap,r.gv(r.am,r.ar,r.as,r.at),r.gc(null==r.am?r.ap:r.am,i,n)}))}))},n.prototype.gc=function(t,e,i){},n.prototype.fg=function(t,e){this.fh(t,e)},n.prototype.fh=function(t,e){if(e.f=this.b5(t,e),e.h=this.b7(t,e),e.g=this.b6(t,e),e.b=this.b4(t,e),i.isNaN_(this.b9)||(e.d=this.b9),i.isNaN_(this.co))if(1==e.a||2==e.a){var n=0;i.isNaN_(e.f)||(n+=e.f),i.isNaN_(e.h)||(n+=e.h),i.isNaN_(e.g)||(n+=e.g),i.isNaN_(e.b)||(n+=e.b),n+=this.b1+this.b2,e.e=n}else{var r=0;i.isNaN_(e.f)||(r+=e.f),i.isNaN_(e.h)||(r+=e.h),i.isNaN_(e.g)||(r+=e.g),i.isNaN_(e.b)||(r+=e.b),r+=this.b1+this.b2,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.co},n.prototype.b6=function(t,e){return NaN},n.prototype.b7=function(t,e){var n=NaN;return null!=this.e5&&null!=this.ae&&(n=t.v.q(this.e5,this.ae)),null!=this.ez&&null!=this.ad&&(n=Math.max(n,t.v.q(this.ez,this.ad))),i.isNaN_(n)?NaN:n+this.cn},n.prototype.b5=function(t,e){return i.stringIsNullOrEmpty(this.d9)?NaN:i.DeviceUtils.g(36)},n.prototype.af=function(t){return null!=this.ah?this.ah:t.aq()},n.prototype.b4=function(t,e){return NaN},n.prototype.ga=function(t,e){if(this.gk(),this.a7){var i=this.r.h(this.es);null!=i&&i.f0(this,this.aw)}else if(this.r.a3(this)){if(null!=this.performed){var n=new be;this.ff(this,n,e),this.performed(this,((r=new ge).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new ge;return e.c=!1,e.a=t,e}());var r},n.prototype.gk=function(){var t=this,e=this.ev();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.fe(this,r),n.argumentsList=r.toArray();var o,s=((o=new Zt).a=n,o.b=t.aw,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.r&&this.r.gk(this,s)}},n.prototype.gl=function(t,e){var i,n=((i=new Zt).a=t,i.b=e,i);null!=this.onCommand&&this.onCommand(this,n),null!=this.r&&this.r.gk(this,n)},n.prototype.bh=function(){return null!=this.onCommand},n.prototype.fe=function(t,e){t.fs(e);var i=this.r.bb(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a5()&&this.fe(i._inner[n],e)},n.prototype.a5=function(){return!0},n.prototype.f0=function(t,e){if(this.a7){var i=this.r.h(this.es);null!=i&&i.f0(t,e)}else this.ga(this.l(!1),t),e&&this.fd()},n.prototype.ff=function(t,e,i){var n=t.l(t==i);e.add(n);var r=this.r.bb(t);if(null!=r)for(var o=0;o<r.count;o++)this.ff(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new Je;break;case 2:e=new oi;break;case 11:e=new Ke;break;case 14:e=new Ge;break;case 13:e=new We;break;case 1:e=new ni;break;case 3:e=new ii;break;case 4:e=new Ze;break;case 5:e=new si;break;case 15:e=new Ye;break;case 6:e=new ti;break;case 7:e=new ei;break;case 8:e=new ri;break;case 10:e=new Qe;break;case 16:e=new He;break;case 12:e=new Xe;break;case 0:return null}return e.z=t,e.fr(),e},n.prototype.fr=function(){if(this.el=this.z.name,this.e5=this.z.title,this.dp=this.z.commandArgument,this.cq=this.z.commandArgumentValue,this.ds=this.z.commandId,this.d9=this.z.iconName,this.d4=this.z.iconCollectionName,this.cf=this.z.iconViewBoxLeft,this.cg=this.z.iconViewBoxTop,this.ch=this.z.iconViewBoxWidth,this.ce=this.z.iconViewBoxHeight,this.ci=this.z.iconWidth,this.cc=this.z.iconHeight,this.ck=this.z.paddingLeft,this.cl=this.z.paddingRight,this.cm=this.z.paddingTop,this.cj=this.z.paddingBottom,this.es=this.z.parentId,this.a8=this.z.isDisabled,this.aw=this.z.closeOnExecute,this.w=this.x(this.z.density),this.cp=this.z.subPanelRowHeight,i.isNaN_(this.z.height)||(this.b9=this.z.height),i.stringIsNullOrEmpty(this.z.textColor)||(this.hj=i.CSSColorUtil.g(this.z.textColor)),i.stringIsNullOrEmpty(this.z.disabledTextColor)||(this.hd=i.CSSColorUtil.g(this.z.disabledTextColor)),this.a9=this.z.isHighlighted,null!=this.z.actions&&this.z.actions.length>0)for(var t=0;t<this.z.actions.length;t++)this.actions.add(n.f(this.z.actions[t]));if(null!=this.z.contextBindings&&this.z.contextBindings.length>0)for(var e=0;e<this.z.contextBindings.length;e++)this.contextBindings.add(this.o(this.z.contextBindings[e]))},n.prototype.o=function(t){return Kt.b(t)},n.prototype.be=function(){return null!=this.h&&null!=this.h.h&&this.h.actions._inner[0]==this},n.prototype.bi=function(){return!0},n.prototype.al=function(t){switch(t){case 1:case 17:case 6:case 11:case 10:case 2:case 12:case 13:return this.bi()?2:0;default:return 0}},Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},enumerable:!1,configurable:!0}),n.prototype.fp=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),7,(function(t){var i=t;o.fj(i,n),o.gz(i,e,n),null!=r&&r(i)}));else{var s=t.bs;this.gz(s,e,n),null!=r&&r(s)}},n.prototype.fo=function(){if(null!=this.am){if(i.isNaN_(this.br)||this.au){var t=new de;null!=this.r&&this.r.gl(t);var e=this.b7(this.r,t);e=i.isNaN_(e)?0:e,this.br=e,this.au=!1}this.am.ce(1,2,1,this.br)}},n.prototype.fn=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=[this.al(1),this.al(7),this.al(11),this.al(3),this.al(3),this.al(7)];i.NativeUIComponent.av(this.r.v.z(),[1,7,11,3,3,7],s,(function(t){var e=t[0],i=t[1],s=t[2],a=t[3],h=t[4],u=t[5];o.fi(e,i,s,a,h,u,n),null!=r&&r()}))}else null==this.am&&1==this.ap.bm&&(this.ai=this.ap.bl(0),this.ai.bm=i.runOn(this,this.fx),this.am=this.ai.bo,this.ar=this.am.bl(0),this.ao=this.am.bl(1),this.as=this.ao.bl(0),this.ao.bm>1&&(this.at=this.ao.bl(1))),this.gv(this.am,this.ar,this.as,this.at),null!=r&&r()},n.prototype.fj=function(t,e){t.f=1==e.a?0:3,t.bs=0},n.prototype.gz=function(t,e,n){t.y=e.a.t,i.isNaN_(this.b9)||(t.y=this.b9),2==n.a?t.ae=e.c:t.ae=n.e,t.a8=this.g4,t.bj=this.hk,t.bh=new i.Thickness(1,0,0,0,0),this.gx(t),null!=this.el&&(t.ap=this.el)},n.prototype.fi=function(t,e,n,r,o,s,a){if(0==this.ap.bm){this.ap.b2(0,2,1),this.ap.b4(0,2,1),this.ap.bn(t),this.ap.ca(t,0),this.ap.cc(t,0),t.bo=e,e.bs=0;var h=this.b5(this.r,a);h=i.isNaN_(h)?0:h;var u=this.b7(this.r,a);u=i.isNaN_(u)?0:u,this.an=e,e.b4(0,2,1),e.b2(0,1,h),e.b3(1,2,1,u),s.b4(0,2,1),s.bn(r),s.cc(r,0),e.bn(n),e.bn(s),e.cc(s,0),e.ca(n,0),e.ca(s,1),this.br=u}t.c=this.t,this.a6?t.bp=1:t.bp=this.ak(this.v),t.bn=1,t.b2=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b1=this.g7,t.bv=!0,t.bt=!this.a3,t.bq=this.av,t.bx=this.bf,t.bs=!this.a4,t.bu=!0,t.br=!0,t.bm=i.runOn(this,this.fx),n.h=1,n.f=1,n.br=this.d9,n.bq=this.d4,n.bn=this.cf,n.bo=this.cg,n.bp=this.ch,n.bm=this.ce,n.bb=this.g8,n.bk=this.a,n.bc=this.g9,n.bl=this.b,n.ac=this.cd,n.ae=i.DeviceUtils.g(this.bz),n.y=i.DeviceUtils.g(this.by),r.bl=!1,r.h=this.a2()?2:1,r.f=this.aj(),o.bl=!1,o.h=0,o.f=0,this.a2()?1==s.b1&&(s.b4(1,2,1),s.bn(o),s.cc(o,1)):2==s.b1&&(s.b9(1),s.bp(o)),this.am=e,this.ai=t,this.ar=n,this.as=r,this.at=o,this.ao=s},n.prototype.aj=function(){switch(this.g2){case 0:return 0;case 2:return 2;case 3:return 3;case 1:return 1}return 0},n.prototype.a2=function(){return!i.stringIsNullOrEmpty(this.ez)},n.prototype.fx=function(t,e){this.f2()},n.prototype.gv=function(t,e,n,r){null!=t&&(t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0)),null!=e&&(e.bh=new i.Thickness(1,0,0,9,0),e.bn=this.cf,e.bo=this.cg,e.bp=this.ch,e.bm=this.ce,e.br=this.d9,e.bq=this.d4,e.bb=this.g8,e.bk=this.a,e.bc=this.g9,e.bl=this.b,e.ac=this.cd),null!=n&&(n.bm=this.e5,n.bk=this.ae,n.ba=this.a8?this.g5:this.hb),null!=r&&(r.bm=this.ez,r.bk=this.ad,r.ba=this.a8?this.g5:this.ha),this.fo()},n.prototype.f2=function(){},n.prototype.f1=function(t,e){},n.prototype.ge=function(){},n.prototype.fd=function(){},n.prototype.gf=function(t){if(t.g=this,i.stringIsNullOrEmpty(t.e5)||(this.e5=t.e5),i.stringIsNullOrEmpty(t.ez)||(this.ez=t.ez),i.stringIsNullOrEmpty(t.d9)||(this.d9=t.d9),i.stringIsNullOrEmpty(t.d4)||(this.d4=t.d4),i.stringIsNullOrEmpty(t.ds)||(this.ds=t.ds),i.stringIsNullOrEmpty(t.dp)||(this.dp=t.dp),null!=t.cq&&(this.cq=t.cq),null!=t.hc&&(this.hc=t.hc),null!=t.hf&&(this.hf=t.hf),null!=t.hj&&(this.hj=t.hj),null!=t.ah&&(this.ah=t.ah),null!=t.hd&&(this.hd=t.hd),null!=t.hg&&(this.hg=t.hg),null!=t.a&&(this.a=t.a),null!=t.hh&&(this.hh=t.hh),null!=t.b&&(this.b=t.b),i.isNaN_(t.cd)||(this.cd=t.cd),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.cg)||(this.cg=t.cg),i.isNaN_(t.ck)||(this.ck=t.ck),i.isNaN_(t.cm)||(this.cm=t.cm),i.isNaN_(t.cl)||(this.cl=t.cl),i.isNaN_(t.cj)||(this.cj=t.cj),i.isNaN_(t.co)||(this.co=t.co),i.isNaN_(t.b9)||(this.b9=t.b9),this.hk!=t.hk&&(this.hk=t.hk),null!=t.actions&&t.actions.count>0){this.actions.clear();for(var e=0;e<t.actions.count;e++)this.actions.add(t.actions._inner[e])}},n.ax=function(t,e){if(t.aa!=e.d)return!1;if(t.el!=e.name)return!1;if(!(null!=t.actions&&0!=t.actions.count||null!=e.actions&&0!=e.actions.length))return!0;if(t.actions.count!=e.actions.length)return!1;for(var i=0;i<e.actions.length;i++){var r=t.actions._inner[i],o=e.actions[i];if(!n.ax(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.cr=function(){var t=new ye;return t.h=this.cz,t.i=this.el,t.f=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ap.an)),null!=this.ai&&0!=this.ai.ae&&0!=this.ai.y&&(t.g=this.ai.af()),null!=this.ar&&(t.b=this.ar.af()),null!=this.as&&(t.c=this.as.af()),null!=this.at&&(t.d=this.at.af()),t},n.prototype.dy=function(){return this.cr().serialize()},Object.defineProperty(n.prototype,"y",{get:function(){return this.u},set:function(t){this.u=t},enumerable:!1,configurable:!0}),n.prototype.gw=function(t){this.y=t,0==this.w&&(this.v=t)},n.prototype.fl=function(){this.fm()},n.prototype.fk=function(){this.fm()},n.prototype.fm=function(){null!=this.ai&&(this.ai.bm=null),this.am=null,this.ai=null,this.ar=null,this.ao=null,this.as=null,this.at=null},n.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),He=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hl=null,e.hm=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 16},Object.defineProperty(n.prototype,"hr",{get:function(){return this.cv("Value",i.BrushUtil.h(255,0,0,255))},set:function(t){var e=this.hr;e!=t&&(this.gp("Value",t),this.f9("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hl&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hn(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hn=function(){var t=i.Color.u(255,0,0,255);if(null!=this.hl){var e=i.ColorUtil.p(this.hl.bo);return e.c&&(t=e.d),i.ColorUtil.k(t,!0)}return i.ColorUtil.k(t,!0)},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,e.h=this.hn(),e},n.prototype.hp=function(t,e){if(!this.hm){this.hr=this.hl.bo;var i=this.l(!0);this.ga(i,this)}},n.prototype.hq=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.f=2,n.h=1}n.c=this.t,n.bn=i.runOn(this,this.hp),this.hl!=n&&(this.hl=n),null!=this.hr&&(this.hm=!0,n.bo=this.hr,this.hm=!1)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),20,this.al(20),(function(i){var s=i;r.hq(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hq(o,t,s,e,n)}},n.prototype.gu=function(){t.prototype.gu.call(this),this.hl},n.prototype.g1=function(){null!=this.hl&&(this.hl.c=this.t)},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"IsDisabled":this.hl}},n.prototype.f2=function(){null==this.hl||this.a8||this.hl.az()},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hr=i.CSSColorUtil.g(e.value)},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hl&&(this.hl.bn=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hl&&(this.hl.bn=null)},n.$t=i.markType(n,"ToolActionColorEditor",Me.$),n}(Me),Ge=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hm=null,e.hn=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 14},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cv("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gp("ItemsSource",t),this.f9("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cv("DisplayMemberPath",null)},set:function(t){var e=this.hp;e!=t&&(this.gp("DisplayMemberPath",t),this.f9("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.cv("ValueMemberPath",null)},set:function(t){var e=this.ht;e!=t&&(this.gp("ValueMemberPath",t),this.f9("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.cv("SelectedValues",null)},set:function(t){var e=this.hl;e!=t&&(this.gp("SelectedValues",t),this.f9("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.gh=function(e,i,n){if(t.prototype.gh.call(this,e,i,n),null!=this.hm)switch(e){case"ItemsSource":this.hm.bo=this.itemsSource;break;case"SelectedValues":this.hm.bk=this.hl.toArray();break;case"DisplayMemberPath":this.hm.bp=this.hp;break;case"ValueMemberPath":this.hm.bq=this.ht}},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hv=function(t,e){if(!this.hn){this.hn=!0,null==this.hl&&(this.hl=new me),this.hl.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.hl.add1(r)}this.hn=!1;var o=this.l(!0);this.ga(o,this)}},n.prototype.hw=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.bn=3,n.f=2,n.h=1}n.c=this.t,n.bm=i.runOn(this,this.hv),n.bo!=this.itemsSource&&(n.bo=this.itemsSource),n.bp!=this.hp&&(n.bp=this.hp),n.bq!=this.ht&&(n.bq=this.ht),null!=this.hl&&(this.hn=!0,n.bk=this.hl.toArray(),this.hn=!1),this.hm!=n&&(this.hm=n)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),19,this.al(19),(function(i){var s=i;r.hw(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hw(o,t,s,e,n)}},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hm&&(this.hm.bn=this.ak(this.v))},n.prototype.g1=function(){null!=this.hm&&(this.hm.c=this.t)},n.prototype.f2=function(){null==this.hm||this.a8||this.hm.az()},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hm&&(e.f=this.hl.toArray()),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName="SelectedValues",n.value=r.hl.toArray(),n))},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;if(this.hp=e.displayMemberPath,this.ht=e.valueMemberPath,null!=e.selectedValues){this.hl.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.hl.add1(r)}}this.itemsSource=e.itemsSource},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bm=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bm=null)},n.$t=i.markType(n,"ToolActionCombo",Me.$),n}(Me),We=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hs=null,e.ht=null,e.hu=null,e.h2=!1,e.h3=!1,e.hl=null,e.h5=!1,e.hy=null,e.h0=null,e.h1=null,e.hz=null,e.hw=null,e.hx=null,e.h4=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 13},Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("LeftIsSelected",!1)},set:function(t){var e=this.h8;e!=t&&(this.gp("LeftIsSelected",t),this.f9("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cv("RightIsSelected",!1)},set:function(t){var e=this.ib;e!=t&&(this.gp("RightIsSelected",t),this.f9("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cv("LeftIsDisabled",!1)},set:function(t){var e=this.h7;e!=t&&(this.gp("LeftIsDisabled",t),this.f9("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cv("RightIsDisabled",!1)},set:function(t){var e=this.ia;e!=t&&(this.gp("RightIsDisabled",t),this.f9("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i4",{get:function(){return this.cv("LeftIconName",null)},set:function(t){var e=this.i4;e!=t&&(this.gp("LeftIconName",t),this.f9("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.cv("LeftCommandArgument",null)},set:function(t){var e=this.iy;e!=t&&(this.gp("LeftCommandArgument",t),this.f9("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.cv("IsToggleDisabled",!1)},set:function(t){var e=this.h6;e!=t&&(this.gp("IsToggleDisabled",t),this.f9("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.cv("LeftIconCollectionName",null)},set:function(t){var e=this.i0;e!=t&&(this.gp("LeftIconCollectionName",t),this.f9("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cv("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.ii;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("LeftIconViewBoxLeft",t),this.f9("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cv("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.ij;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("LeftIconViewBoxTop",t),this.f9("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cv("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.ik;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("LeftIconViewBoxWidth",t),this.f9("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cv("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.ih;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("LeftIconViewBoxHeight",t),this.f9("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j7",{get:function(){return this.cv("LeftIconFill",null)},set:function(t){var e=this.j7;e!=t&&(this.gp("LeftIconFill",t),this.f9("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j3",{get:function(){return this.cv("ActualLeftIconFill",null)},set:function(t){var e=this.j3;e!=t&&(this.gp("ActualLeftIconFill",t),this.f9("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("LeftIconFillColors",null)},set:function(t){var e=this.hn;e!=t&&(this.gp("LeftIconFillColors",t),this.f9("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j8",{get:function(){return this.cu("LeftIconStroke",null)},set:function(t){var e=this.j8;e!=t&&(this.gp("LeftIconStroke",t),this.f9("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j4",{get:function(){return this.cv("ActualLeftIconStroke",null)},set:function(t){var e=this.j4;e!=t&&(this.gp("ActualLeftIconStroke",t),this.f9("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cv("LeftIconStrokeColors",null)},set:function(t){var e=this.ho;e!=t&&(this.gp("LeftIconStrokeColors",t),this.f9("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cv("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.ig;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("LeftIconStrokeWidth",t),this.f9("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jf",{get:function(){return this.cv("LeftTitle",null)},set:function(t){var e=this.jf;e!=t&&(this.gp("LeftTitle",t),this.f9("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jn",{get:function(){return this.cv("RightIconName",null)},set:function(t){var e=this.jn;e!=t&&(this.gp("RightIconName",t),this.f9("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jh",{get:function(){return this.cv("RightCommandArgument",null)},set:function(t){var e=this.jh;e!=t&&(this.gp("RightCommandArgument",t),this.f9("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jj",{get:function(){return this.cv("RightIconCollectionName",null)},set:function(t){var e=this.jj;e!=t&&(this.gp("RightIconCollectionName",t),this.f9("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.cv("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.io;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("RightIconViewBoxLeft",t),this.f9("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cv("RightIconViewBoxTop",NaN)},set:function(t){var e=this.ip;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("RightIconViewBoxTop",t),this.f9("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cv("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.iq;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("RightIconViewBoxWidth",t),this.f9("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cv("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.im;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("RightIconViewBoxHeight",t),this.f9("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j9",{get:function(){return this.cv("RightIconFill",null)},set:function(t){var e=this.j9;e!=t&&(this.gp("RightIconFill",t),this.f9("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j5",{get:function(){return this.cv("ActualRightIconFill",null)},set:function(t){var e=this.j5;e!=t&&(this.gp("ActualRightIconFill",t),this.f9("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cv("RightIconFillColors",null)},set:function(t){var e=this.hp;e!=t&&(this.gp("RightIconFillColors",t),this.f9("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ka",{get:function(){return this.cu("RightIconStroke",null)},set:function(t){var e=this.ka;e!=t&&(this.gp("RightIconStroke",t),this.f9("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j6",{get:function(){return this.cv("ActualRightIconStroke",null)},set:function(t){var e=this.j6;e!=t&&(this.gp("ActualRightIconStroke",t),this.f9("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("RightIconStrokeColors",null)},set:function(t){var e=this.hq;e!=t&&(this.gp("RightIconStrokeColors",t),this.f9("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cv("RightIconStrokeWidth",NaN)},set:function(t){var e=this.il;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("RightIconStrokeWidth",t),this.f9("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jy",{get:function(){return this.cv("RightTitle",null)},set:function(t){var e=this.jy;e!=t&&(this.gp("RightTitle",t),this.f9("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.i(_e,"DisplayType",1)},set:function(t){var e=this.hr;t!=e&&(this.gp("DisplayType",i.enumGetBox(_e,t)),this.f9("DisplayType",i.enumGetBox(_e,e),i.enumGetBox(_e,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cv("CornerRadius",NaN)},set:function(t){var e=this.ic;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("CornerRadius",t),this.f9("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gf=function(e){if(t.prototype.gf.call(this,e),13==e.aa){var n=e;i.isNaN_(n.ic)||(this.ic=n.ic),this.hr!=n.hr&&(this.hr=n.hr),i.stringIsNullOrEmpty(n.jf)||(this.jf=n.jf),i.stringIsNullOrEmpty(n.i4)||(this.i4=n.i4),i.stringIsNullOrEmpty(n.i0)||(this.i0=n.i0),i.stringIsNullOrEmpty(n.iy)||(this.iy=n.iy),null!=n.j7&&(this.j7=n.j7),null!=n.hn&&(this.hn=n.hn),null!=n.j8&&(this.j8=n.j8),null!=n.ho&&(this.ho=n.ho),i.isNaN_(n.ig)||(this.ig=n.ig),i.stringIsNullOrEmpty(n.jy)||(this.jy=n.jy),i.stringIsNullOrEmpty(n.jn)||(this.jn=n.jn),i.stringIsNullOrEmpty(n.jj)||(this.jj=n.jj),i.stringIsNullOrEmpty(n.jh)||(this.jh=n.jh),null!=n.j9&&(this.j9=n.j9),null!=n.hp&&(this.hp=n.hp),null!=n.ka&&(this.ka=n.ka),null!=n.hq&&(this.hq=n.hq),i.isNaN_(n.il)||(this.il=n.il)}},n.prototype.hv=function(){switch(this.hr){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.iy=e.leftCommandArgument,this.i4=e.leftIconName,this.i0=e.leftIconCollectionName,this.h6=e.isToggleDisabled,this.ii=e.leftIconViewBoxLeft,this.ij=e.leftIconViewBoxTop,this.ik=e.leftIconViewBoxWidth,this.ih=e.leftIconViewBoxHeight,this.jf=e.leftTitle,this.jh=e.rightCommandArgument,this.jn=e.rightIconName,this.jj=e.rightIconCollectionName,this.io=e.rightIconViewBoxLeft,this.ip=e.rightIconViewBoxTop,this.iq=e.rightIconViewBoxWidth,this.im=e.rightIconViewBoxHeight,this.jy=e.rightTitle},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,e.e=this.h8!=this.h2?0:1,e.b=this.h8!=this.h2?this.h8:this.ib,e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.iy,n.value=r.h8,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.jh,t.value=r.ib,t}())},n.prototype.b6=function(t,e){var n=this.af(t),r=i.stringIsNullOrEmpty(this.jf)?0:t.v.q(this.jf,n),o=Math.max(r+this.id(),i.DeviceUtils.g(this.ie()));return r=i.stringIsNullOrEmpty(this.jy)?0:t.v.q(this.jy,n),o+Math.max(r+this.id(),i.DeviceUtils.g(this.ie()))},n.prototype.ie=function(){return i.DeviceUtils.g(88)},n.prototype.id=function(){switch(this.v){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.h9=function(t){var e=this.hm(),i=t.bk;if(null==e&&null==i)return!1;if(null==e&&null!=i)return!0;if(null!=e&&null==i)return!0;if(e.length!=i.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!=i[n])return!0;return!1},n.prototype.hm=function(){return this.h8&&this.ib?[0,1]:this.h8?((t=new Array(1)).push(0),t):this.ib?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.j2=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bs&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(2==e.bm&&(e.b2(2,1,this.b6(this.r,f)),e.bn(c),c.bs(n),c.bs(a)),e.cc(c,0),e.ca(c,2),this.a6?c.bq=2:c.bq=this.ak(this.v),c.h=1,c.f=2,n.bu=!0,a.bu=!0),c.bp=i.runOn(this,this.j0),c.c=this.t,this.j1(n),this.j1(a),this.h9(c)&&(c.bk=this.hm()),n.bw=this.h7,a.bw=this.ia,null==this.i4?(n.bo=null,n.bz=this.jf):(0==s.bm&&(s.b2(0,0,1),s.b2(1,0,1),s.bn(o),s.bn(r),s.cc(o,0),s.ca(o,0),s.cc(r,0),s.ca(r,1)),n.bz=null,n.bo=s,o.bq=this.i0,o.br=this.i4,o.bn=this.ii,o.bo=this.ij,o.bp=this.ik,o.bm=this.ih,o.bb=this.j3,o.bc=this.j4,o.bk=this.hn,o.bl=this.ho,o.ac=this.ig,r.bm=this.jf,r.bk=this.ae,r.ba=this.a8?this.g5:this.hb,o.ae=i.DeviceUtils.g(16),o.y=i.DeviceUtils.g(16)),null==this.jn?(a.bo=null,a.bz=this.jy):(0==l.bm&&(l.b2(0,0,1),l.b2(1,0,1),l.bn(h),l.bn(u),l.cc(h,0),l.ca(h,0),l.cc(u,0),l.ca(u,1)),a.bz=null,a.bo=l,u.bq=this.jj,u.br=this.jn,u.bn=this.io,u.bo=this.ip,u.bp=this.iq,u.bm=this.im,u.bb=this.j5,u.bc=this.j6,u.bk=this.hp,u.bl=this.hq,u.ac=this.il,h.bm=this.jy,h.bk=this.ae,h.ba=this.a8?this.g5:this.hb,u.ae=i.DeviceUtils.g(16),u.y=i.DeviceUtils.g(16)),this.hu!=c&&(this.hu=c),this.hs!=n&&(this.hs,this.hs=n),this.ht!=a&&(this.ht,this.ht=a),this.hy!=o&&(this.hy,this.hy=o),this.h0!=r&&(this.h0,this.h0=r),this.hz!=u&&(this.hz,this.hz=u),this.h1!=h&&(this.h1,this.h1=h),this.hw!=s&&(this.hw,this.hw=s),this.hx!=l&&(this.hx,this.hx=l)},n.prototype.j0=function(t,e){if(!this.h4){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.hl){for(var a=0;a<this.hl.length;a++)0==this.hl[a]&&(n=!0);for(var h=0;h<this.hl.length;h++)1==this.hl[h]&&(r=!0)}if(null!=i){for(var u=0;u<i.length;u++)0==i[u]&&(o=!0);for(var l=0;l<i.length;l++)1==i[l]&&(s=!0)}this.h2=n,this.h3=r,this.h8!=o&&this.gn("LeftIsSelected",o),this.ib!=s&&this.gn("RightIsSelected",s),this.ga(this.l(!0),this),this.h6&&(this.h4=!0,null!=this.hu&&this.hu.bt(),this.h4=!1)}},n.prototype.j1=function(t){t.bk=this.ae},n.prototype.gc=function(t,e,n){var r=this;if(!this.h5){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1),this.al(3),this.al(11),this.al(7),this.al(1),this.al(3),this.al(11),this.al(7),this.al(17)];this.h5=!0,i.NativeUIComponent.av(this.r.v.z(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.j2(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.h5=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(2),h=a.bm(0),u=a.bm(1),l=h.bo,c=l.bl(0),p=l.bl(1),f=u.bo,d=f.bl(1),b=f.bl(0);this.j2(o,t,h,p,c,l,u,b,d,f,a,e,n,!1)}}},n.prototype.gh=function(e,n,r){switch(t.prototype.gh.call(this,e,n,r),e){case"DisplayType":null!=this.hu&&(this.hu.bn=this.hv());break;case"CornerRadius":null!=this.hu&&(this.hu.bx=new i.CornerRadius(0,this.ic));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.hy&&(this.hy.bb=this.j3,this.hy.bc=this.j4,this.hy.bk=this.hn,this.hy.bl=this.ho);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.hz&&(this.hz.bb=this.j5,this.hz.bc=this.j6,this.hz.bk=this.hp,this.hz.bl=this.hq);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.g0();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.hy&&(this.hy.br=this.i4,this.hy.bq=this.i0);break;case"LeftIsDisabled":null!=this.hs&&(this.hs.bw=this.h7);break;case"RightIsDisabled":null!=this.ht&&(this.ht.bw=this.ia);break;case"RightIconName":case"RightIconCollectionName":null!=this.hz&&(this.hz.br=this.jn,this.hz.bq=this.jj);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.h1&&(this.h1.bm=this.jy,this.h1.bk=this.ae,this.h1.ba=this.a8?this.g5:this.hb),null!=this.h0&&(this.h0.bm=this.jf,this.h0.bk=this.ae,this.h0.ba=this.a8?this.g5:this.hb);break;case"LeftIsSelected":case"RightIsSelected":null!=this.hu&&this.h9(this.hu)&&(this.hu.bk=this.hm())}},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hu&&(this.hu.bq=this.ak(this.v))},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hu&&(this.hu.c=this.t),null!=this.r&&(this.j3=null!=this.j7?this.j7:this.r.i1,this.j4=null!=this.j8?this.j8:this.r.i2,this.j5=null!=this.j9?this.j9:this.r.i1,this.j6=null!=this.ka?this.ka:this.r.i2)},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hu&&(this.hu.bp=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hu&&(this.hu.bp=null)},n.$t=i.markType(n,"ToolActionButtonPair",Me.$),n}(Me),Ke=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ho=null,e.ht=-1,e.hq=!1,e.hu=null,e.hs=NaN,e.hp=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 11},n.prototype.fh=function(e,n){if(t.prototype.fh.call(this,e,n),null!=this.ho&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,i.isNaN_(this.b9)?Number.POSITIVE_INFINITY:this.b9),o=this.ho.bf(r);o.height+=this.b3,o.height+=this.b0,n.e=o.width,n.d=o.height;var s=this.hs;this.hs=o.height,i.isNaN_(s)||s==this.hs||this.fz()}},n.prototype.fn=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cv("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gp("ItemsSource",t),this.f9("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.cv("SelectedMemberPath",null)},set:function(t){var e=this.h2;e!=t&&(this.gp("SelectedMemberPath",t),this.f9("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cv("ShowSelectAll",!1)},set:function(t){var e=this.hr;e!=t&&(this.gp("ShowSelectAll",t),this.f9("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cv("DataMemberPath",null)},set:function(t){var e=this.hw;e!=t&&(this.gp("DataMemberPath",t),this.f9("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.cv("PrimaryKey",null)},set:function(t){var e=this.hl;e!=t&&(this.gp("PrimaryKey",t),this.f9("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cv("SelectedKeys",null)},set:function(t){var e=this.hm;e!=t&&(this.gp("SelectedKeys",t),this.f9("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.i(we,"IndexType",1)},set:function(t){var e=this.hn;e!=t&&(this.gp("IndexType",i.enumGetBox(we,t)),this.f9("IndexType",i.enumGetBox(we,e),i.enumGetBox(we,t)))},enumerable:!1,configurable:!0}),n.prototype.gh=function(e,n,r){if(t.prototype.gh.call(this,e,n,r),null!=this.ho)switch(e){case"ItemsSource":this.ho.b5=this.itemsSource,n!=r&&this.fz();break;case"SelectedMemberPath":this.ho.b8=this.h2;break;case"DataMemberPath":this.ho.b6=this.hw;break;case"PrimaryKey":this.ho.bk=this.hl;break;case"ShowSelectAll":this.ho.b2=this.hr;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.ib)),n.ao(i.runOn(this,this.ia))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.ib)),n.am(i.runOn(this,this.ia))}this.ic(this.ho);break;case"IndexType":this.ho.bv=this.hn}},n.prototype.ia=function(){this.hp||null!=this.ho&&this.ho.cb()},n.prototype.ic=function(t){var n,r;if(null!=t){this.hp=!0,t.cb();try{for(var o=e.__values(i.fromEnum(this.hm)),s=o.next();!s.done;s=o.next()){var a=s.value;t.ca(a.key,a.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.hp=!1}},n.prototype.ib=function(t,n){var r,o;if(!this.hp)switch(n.action){case 0:if(null!=n.newItems)for(var s=0;s<n.newItems.count;s++){var a=n.newItems.item(s);this.ho.cc(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.ho.ce(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.ho.ce(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.ho.cc(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.ho.cb();try{for(var p=e.__values(i.fromEnum(this.hm)),f=p.next();!f.done;f=p.next()){var d=f.value;this.ho.ca(d.key,d.value)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}},n.prototype.id=function(t,e,n,r){0!=e.bm&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(0==e.bm&&e.bn(n),n.bl=3),e.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),e.a8=this.g4,e.bj=this.hk,null!=this.el&&(e.ap=this.el),n.bk=this.hl,n.b5=this.itemsSource,n.bv=this.hn,n.b6=this.hw,n.b8=this.h2,this.hr?n.b2=!0:n.b2=!1,n.b1=!0,n.b0=!1,n.c=this.t,n.cj=this.hb,n.cf=this.g4,n.cg=this.g7,n.ch=this.g9,n.ci=this.hb,n.br=i.runOn(this,this.h5),n.bs=i.runOn(this,this.h7),n.bt=i.runOn(this,this.h8),n.bx=i.runOn(this,this.h6),n.bz=i.runOn(this,this.h9),this.ho!=n&&(this.ho=n),null==this.hm?this.gn("SelectedKeys",new je):this.ic(n)},n.prototype.h9=function(t,e){this.hp||(this.hp=!0,this.hm.clear(),this.hp=!1)},n.prototype.h6=function(t,e){this.gn("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.h5=function(t,e){this.hp||(this.ht=e.c,this.hq=e.b,this.hu=e.a,this.hp=!0,0==this.hn?e.b?this.hm.remove(new Ce(1,e.a)):this.hm.add(new Ce(1,e.a)):e.b?this.hm.add(new Ce(1,e.a)):this.hm.remove(new Ce(1,e.a)),this.hp=!1,this.ga(this.l(!0),this))},n.prototype.h7=function(t,e){if(0==this.hn){if(e.b)return;var i=new Ce(1,e.a);if(this.hm.contains(i))return;this.hp=!0,this.hm.add(i),this.hp=!1}else{if(!e.b)return;var n=new Ce(1,e.a);if(this.hm.contains(n))return;this.hp=!0,this.hm.add(n),this.hp=!1}},n.prototype.h8=function(t,e){if(0==this.hn){if(e.b)return;var i=new Ce(1,e.a);if(!this.hm.contains(i))return;this.hp=!0,this.hm.remove(i),this.hp=!1}else{if(!e.b)return;var n=new Ce(1,e.a);if(!this.hm.contains(n))return;this.hp=!0,this.hm.remove(n),this.hp=!1}},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.ho&&this.ht>-1&&(e.e=this.ht,e.b=this.hq,e.f=this.hq),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),this.ht>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hq,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.ht,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.hu,t}()))},n.prototype.gz=function(t,e,n){null!=this.ho&&(t.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),t.a8=this.g4,t.bj=this.hk,null!=this.el&&(t.ap=this.el))},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.id(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0);this.id(o,t,s,n)}},n.prototype.g1=function(){t.prototype.g1.call(this),this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(8):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(8):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(8):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(8):this.cj},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hw=e.dataMemberPath,this.h2=e.selectedMemberPath,this.hl=e.primaryKey,this.itemsSource=e.itemsSource,this.hr=e.showSelectAll},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.ho&&(this.ho.br=null,this.ho.bs=null,this.ho.bt=null,this.ho.bx=null,this.ho.bz=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.ho&&(this.ho.br=null,this.ho.bs=null,this.ho.bt=null,this.ho.bx=null,this.ho.bz=null)},n.$t=i.markType(n,"ToolActionCheckboxList",Me.$),n}(Me),Xe=function(t){function n(){var e,n=t.call(this)||this;return n.hy=null,n.il=-1,n.h1=!1,n.io=null,n.it=null,n.hv=0,n.h3=!1,n.ib=NaN,n.h4=!1,n.iq=null,n.hl=null,n.hs=null,n.h9=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.hn=new i.DataSeriesAdapterPropertyInfo,n.ho=new i.DataSeriesAdapterPropertyInfo,n.hz=!1,n.h0=!1,n.h2=!1,n.hl=n.hm(),n.contextBindings.add(((e=new Kt).d=0,e.h="FieldSelectorRules",e.j="Rules",e)),n}return e.__extends(n,t),n.prototype.hm=function(){return(new i.DataSeriesAdapter).e},n.prototype.jn=function(){var t;if(this.hz=!1,this.actions.clear(),this.actions.add(((t=new ni).el="FieldSelectorHeader",t.e5="Aggregation",t)),this.actions.add(function(){var t=new ei;return t.hl=!0,t}()),null!=this.hu&&this.hu.count>0)for(var e=function(t){var e=n.hu._inner[t],r=void 0;5==e.operand?(r=function(){var t=new ti;return t.e5=e.label,t.el="FieldSelectorAggregation"+e.name,t.ht="fieldSelectorAggregation",t}(),n.hz=!0):r=function(){var t=new ti;return t.e5=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.el="FieldSelectorAggregation"+i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.ht="fieldSelectorAggregation",t}(),r.onCommand=i.delegateCombine(r.onCommand,i.runOn(n,n.jp)),n.actions.add(r)},n=this,r=0;r<this.hu.count;r++)e(r);else{var o=function(){var t=new ti;return t.e5="Sum",t.el="FieldSelectorAggregationSum",t.ht="fieldSelectorAggregation",t}();o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jp)),this.actions.add(o),(o=function(){var t=new ti;return t.e5="Average",t.el="FieldSelectorAggregationAverage",t.ht="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jp)),this.actions.add(o),(o=function(){var t=new ti;return t.e5="Count of Rows",t.el="FieldSelectorAggregationCount",t.ht="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jp)),this.actions.add(o),(o=function(){var t=new ti;return t.e5="Min",t.el="FieldSelectorAggregationMin",t.ht="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jp)),this.actions.add(o),(o=function(){var t=new ti;return t.e5="Max",t.el="FieldSelectorAggregationMax",t.ht="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jp)),this.actions.add(o)}},n.prototype.jp=function(t,e){var i=this.im(e.a.commandId);switch(e.a.commandId){case"FieldSelectorAggregationAverage":this.jw(this.iq,3,i);break;case"FieldSelectorAggregationSum":this.jw(this.iq,2,i);break;case"FieldSelectorAggregationCount":this.jw(this.iq,4,i);break;case"FieldSelectorAggregationMin":this.jw(this.iq,0,i);break;case"FieldSelectorAggregationMax":this.jw(this.iq,1,i);break;default:this.jw(this.iq,5,i)}},n.prototype.im=function(t){if(i.stringIsNullOrEmpty(t))return 0;if(i.stringStartsWith(t,"FieldSelectorAggregation")&&(t=t.substr(24)),null!=this.hu&&this.hu.count>0)for(var e=0;e<this.hu.count;e++){var n=this.hu._inner[e];if(5==n.operand&&n.name==t)return e;if(i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,n.operand)==t)return e}else switch(t){case"Sum":return 0;case"Average":return 1;case"Count":return 2;case"Min":return 3;case"Max":return 4}return 0},n.prototype.hq=function(t){if(null!=this.hu&&this.hu.count>0)return this.hu._inner[t].operand;switch(t){case 0:return 2;case 1:return 3;case 2:return 4;case 3:return 0;case 4:return 1}return 2},n.prototype.i8=function(t){if(null!=this.hu&&this.hu.count>0)return 5==this.hu._inner[t].operand?this.hu._inner[t].name:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.hu._inner[t].operand);switch(t){case 0:return"Sum";case 1:return"Average";case 2:return"Count";case 3:return"Min";case 4:return"Max"}return i.stringEmpty()},n.prototype.i7=function(t){if(null!=this.hu&&this.hu.count>0)return 5==this.hu._inner[t].operand?this.hu._inner[t].label:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.hu._inner[t].operand);switch(t){case 0:return"Sum";case 1:return"Average";case 2:return"Count";case 3:return"Min";case 4:return"Max"}return i.stringEmpty()},n.prototype.hr=function(t){if(null!=this.hu&&this.hu.count>0)return this.hu._inner[t].operand;switch(t){case 0:return 2;case 1:return 3;case 2:return 4;case 3:return 0;case 4:return 1}return 2},n.prototype.jw=function(t,n,r){var o,s;if(null!=this.ht&&0!=this.hx&&this.h6()){var a=!1,h=2;if(this.io=t,this.hv=1,this.h5()){for(var u=0;u<this.ht.summaryDescriptions.k.count;u++){var l=this.ht.summaryDescriptions.k.item(u);if(l.propertyName==t){h=l.operand,l.operand=n,a=!0;break}}var c=null;if(null==this.ht.propertiesRequested){var p=0;c=new Array(this.hn.b.length+this.ho.b.length);for(var f=0;f<this.hn.b.length;f++)c[p]=this.hn.b[f],p++;for(var d=0;d<this.ho.b.length;d++)c[p]=this.ho.b[d],p++}else c=new Array(this.ht.propertiesRequested.length);for(var b=0;b<c.length;b++){var g=null==c[b]?this.ht.propertiesRequested[b]:c[b];""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,h)==g?(c[b]=""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,n),a||this.ht.summaryDescriptions.add(new i.SummaryDescription(2,t,n))):null!=this.ht.propertiesRequested&&null!=this.ht.propertiesRequested[b]&&(c[b]=this.ht.propertiesRequested[b])}this.ht.propertiesRequested=c,this.ht.refresh()}var y=i.typeCast(i.ObservableCollection$1.$.specialize(Ie.$),this.hy.b5);try{for(var m=e.__values(i.fromEnum(y)),v=m.next();!v.done;v=m.next()){var _=v.value;if(_.key==t){if(this.h9.containsKey(_.key)?this.h9.item(_.key,r):this.h9.addItem(_.key,r),5==n)_.aggregationName=this.hu._inner[r].name,_.aggregationLabel=this.hu._inner[r].label,_.aggregationOperand=5,this.it=this.hu._inner[r].name;else{var C=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,n);_.aggregationName=C,_.aggregationLabel=C,_.aggregationOperand=n}this.it=_.aggregationName;break}}}catch(t){o={error:t}}finally{try{v&&!v.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}this.ga(this.l(!0),this),this.jo()}},Object.defineProperty(n.prototype,"ht",{get:function(){return this.cv("DataSource",null)},set:function(t){var e=this.ht;e!=t&&(this.gp("DataSource",t),this.f9("DataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cv("LegendTarget",null)},set:function(t){var e=this.ip;e!=t&&(this.gp("LegendTarget",t),this.f9("LegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cv("DataLegendTarget",null)},set:function(t){var e=this.hp;e!=t&&(this.gp("DataLegendTarget",t),this.f9("DataLegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.i(Te,"FieldType",0)},set:function(t){var e=this.hx;e!=t&&(this.gp("FieldType",i.enumGetBox(Te,t)),this.f9("FieldType",i.enumGetBox(Te,e),i.enumGetBox(Te,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cv("SingleSelection",!1)},set:function(t){var e=this.h7;e!=t&&(this.gp("SingleSelection",t),this.f9("SingleSelection",e,t))},enumerable:!1,configurable:!0}),n.prototype.h6=function(){return null!=this.hu&&this.hu.count>0||null!=this.ht&&this.ht.groupDescriptions.k.count>0},Object.defineProperty(n.prototype,"hu",{get:function(){return this.cv("Aggregations",null)},set:function(t){var e=this.hu;e!=t&&(this.gp("Aggregations",t),this.f9("Aggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cv("Rules",null)},set:function(t){var e=this.ia;e!=t&&(this.gp("Rules",t),this.f9("Rules",e,t))},enumerable:!1,configurable:!0}),n.prototype.h5=function(){return this.h8&&(!this.h6()||!this.hz)},Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("UpdateDataSource",!1)},set:function(t){var e=this.h8;e!=t&&(this.gp("UpdateDataSource",t),this.f9("UpdateDataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cv("SelectedAggregations",null)},set:function(t){var e=this.hw;e!=t&&(this.gp("SelectedAggregations",t),this.f9("SelectedAggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cv("PaddingLeft",NaN)},set:function(t){var e=this.ii;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingLeft",t),this.f9("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.cv("ActualPaddingLeft",NaN)},set:function(t){var e=this.id;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualPaddingLeft",t),this.f9("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cv("PaddingRight",NaN)},set:function(t){var e=this.ij;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingRight",t),this.f9("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cv("ActualPaddingRight",NaN)},set:function(t){var e=this.ie;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualPaddingRight",t),this.f9("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cv("PaddingBottom",NaN)},set:function(t){var e=this.ih;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingBottom",t),this.f9("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cu("ActualPaddingBottom",NaN)},set:function(t){var e=this.ic;e!=t&&(this.gp("ActualPaddingBottom",t),this.f9("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cv("PaddingTop",NaN)},set:function(t){var e=this.ik;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("PaddingTop",t),this.f9("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cv("ActualPaddingTop",NaN)},set:function(t){var e=this.ig;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("ActualPaddingTop",t),this.f9("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 12},n.prototype.fh=function(e,n){if(t.prototype.fh.call(this,e,n),null!=this.hy&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),o=this.hy.bf(r);o.height+=this.ig,o.height+=this.ic,n.e=o.width,n.d=o.height;var s=this.ib;this.ib=o.height,i.isNaN_(s)||s==this.ib||this.fz()}},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.gh=function(e,n,r){switch(t.prototype.gh.call(this,e,n,r),e){case"Aggregations":this.jn(),this.h9.clear(),this.jt(this.hy);break;case"SelectedAggregations":this.h9.clear(),this.jt(this.hy);break;case"FieldType":this.jt(this.hy);break;case"DataSource":if(this.hs=null,null!=n){this.hs=null;var o=n;o.propertiesRequestedChanged=i.delegateRemove(o.propertiesRequestedChanged,i.runOn(this,this.jr))}if(null!=r){this.hs=r.clone();var s=r;s.propertiesRequestedChanged=i.delegateCombine(s.propertiesRequestedChanged,i.runOn(this,this.jr))}this.jt(this.hy);break;case"Rules":this.hs=null,this.jt(this.hy);break;case"SingleSelection":this.jv(this.hy);break;case"LegendTarget":var a=r;null!=a&&null===i.typeCast(i.IDataLegendTarget_$type,a)&&(a=a._implementation),this.hp=i.typeCast(i.IDataLegendTarget_$type,a);break;case"DataLegendTarget":this.ju(this.hy)}},n.prototype.jr=function(t,e){this.h3||this.h9.clear(),this.jt(this.hy),this.jo()},n.prototype.js=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(0==e.bm&&e.bn(n),n.bl=3,this.jn()),e.bh=new i.Thickness(1,this.id,this.ig,this.ie,this.ic),e.a8=this.g4,e.bj=this.hk,null!=this.el&&(e.ap=this.el),n.b2=!1,n.cb(),this.h9.clear(),this.jt(n),n.b1=0==this.hx||!this.h6(),n.y=this.ib-16,n.b0=!0,n.c=this.t,n.cj=this.hb,n.cf=this.g4,n.cg=this.g7,n.ch=this.g9,n.ci=this.hb,this.jv(n),this.ju(n),n.br=i.runOn(this,this.jj),n.bu=i.runOn(this,this.jk),this.hy!=n&&(this.hy=n),this.jo()},n.prototype.jv=function(t){null!=t&&(t.b3=this.h7?10:2)},n.prototype.ju=function(t){if(null!=t)if(0==this.hx){var e=i.typeCast(i.IDataLegendTarget_$type,t.b4);null!=e&&(e.seriesDataChanged=i.delegateRemove(e.seriesDataChanged,i.runOn(this,this.jl))),t.b4=null}else if(1==this.hx&&t.b4!=this.hp){var n=i.typeCast(i.IDataLegendTarget_$type,t.b4);if(null!=n&&(n.seriesDataChanged=i.delegateRemove(n.seriesDataChanged,i.runOn(this,this.jl))),t.b4=this.hp,null!=this.hp){var r=this.hp;r.seriesDataChanged=i.delegateCombine(r.seriesDataChanged,i.runOn(this,this.jl))}}},n.prototype.jt=function(t){if(!this.h3&&null!=t&&null!=this.ia){var e=new i.ObservableCollection$1(Ie.$,0);if(null!=this.ht){if(null==this.hs){if(this.hs=this.ht.clone(),null!==i.typeCast(i.LocalDataSource.$,this.hs)){var n=i.typeCast(i.LocalDataSource.$,this.hs),r=i.typeCast(i.LocalDataSource.$,this.ht);n.dataSource=r.dataSource,n.executionContext=r.executionContext}this.hs.propertiesRequested=null,this.hs.groupDescriptions.clear(),this.hs.summaryDescriptions.clear(),this.hs.isVirtual||this.hs.flushAutoRefresh(),this.hl.rules.clear();for(var o=0;o<this.ia.count;o++)this.hl.rules.add(this.ia._inner[o]);this.hl.itemsSource=this.hs,this.hl.refresh(),this.hn=new i.DataSeriesAdapterPropertyInfo,this.ho=new i.DataSeriesAdapterPropertyInfo}if((null==this.hn.b||null==this.ho.b||0==this.hn.b.length&&0==this.ho.b.length)&&this.hl.az(this.hn,this.ho),null==this.hn.b||null==this.ho.b||0==this.hn.b.length||0==this.ho.b.length)return;if(0==this.hx)for(var s=function(t){var i,n=a.hn.b[t],r=a.hn.a[t],o=a.hn.c[t],s=null==a.ht.propertiesRequested;if(null!=a.ht.propertiesRequested)for(var h=0;h<a.ht.propertiesRequested.length;h++){var u=a.ht.propertiesRequested[h];if(u==n||u==""+n){s=!0;break}}e.add(((i=new Ie).propertyType=o,i.key=n,i.isSelected=s,i.label=r,i))},a=this,h=0;h<this.hn.b.length;h++)s(h);if(1==this.hx)for(var u=function(t){var n=l.ho.b[t],r=l.ho.a[t],o=l.ho.c[t],s=2,a="Sum",h="Sum",u=0;if(null!=l.hu&&l.hu.count>0&&(h=l.hu._inner[0].label,a=l.hu._inner[0].name,s=l.hu._inner[0].operand,i.stringIsNullOrEmpty(h))){var c=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,l.hu._inner[0].operand);h=c,a=c}if(l.h9.containsKey(n))u=l.h9.item(n),a=l.i8(u),h=l.i7(u),s=l.hr(u);else if(l.hz){if(null!=l.hw)for(var p=0;p<l.hw.count;p++){var f=l.hw._inner[p];if(f.field==n){if(u=p,s=f.aggregationOperand,5!=f.aggregationOperand){var d=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,f.aggregationOperand);h=d,a=d}else{a=f.aggregationName;for(var b=0;b<l.hu.count;b++)if(l.hu._inner[b].name==f.aggregationName){h=l.hu._inner[b].label;break}}break}}}else for(var g=0;g<l.ht.summaryDescriptions.k.count;g++){var y=l.ht.summaryDescriptions.k.item(g);if(y.propertyName==n){var m=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,y.operand);s=y.operand,h=m,a=m,u=l.im(a);break}}var v=null==l.ht.propertiesRequested;if(null!=l.ht.propertiesRequested)for(var _=0;_<l.ht.propertiesRequested.length;_++){var C=l.ht.propertiesRequested[_];if(null!=C){if(C==n||C==""+n){v=!0;break}if(0==C.indexOf(""+n)){if(null==l.ht.summaryDescriptions)continue;for(var j=0;j<l.ht.summaryDescriptions.k.count;j++){if(l.ht.summaryDescriptions.k.item(j).propertyName==n){v=!0;break}}}}}var P,w=((P=new Ie).key=n,P.isSelected=v,P.label=r,P.propertyType=o,P);l.h6()&&(w.aggregationLabel=h,w.aggregationName=a,w.aggregationOperand=s,l.h9.containsKey(n)?l.h9.item(n,u):l.h9.addItem(n,u)),e.add(w)},l=this,c=0;c<this.ho.b.length;c++)u(c)}t.bk=["key"],t.b5=e,t.b6="label",t.b8="isSelected",t.b9="aggregationLabel",t.b7="propertyType"}},n.prototype.jl=function(t,e){this.jo()},n.prototype.jk=function(t,e){if(0!=this.hx&&this.h6()){this.iq=e.a[0],this.il=e.c,this.h1=e.b;for(var n=this.h9.item(this.iq),r=0,o=0;o<this.actions.count;o++){var s=i.typeCast(ti.$,this.actions._inner[o]);null!=s&&(s.hm=n==r,r++)}this.r.gt(this)}},n.prototype.jj=function(t,e){var n=this;this.h3=!0;this.il,this.h1,this.io;this.il=e.c,this.h1=e.b,this.io=e.a,this.hv=0;var r,o=e.a[0];if(this.h7&&!this.h0&&(e.b?this.d.executeDelayed(i.runOn(this,this.jq),0):this.d.executeDelayed(i.runOn(this,this.ji),0)),this.h5()){var s="";if(1==this.hx){var a=this.h9.item(o);s=this.i8(a).toString()}if(e.b){if(this.h6())if(0==this.hx){for(var h=!1,u=0;u<this.ht.groupDescriptions.k.count;u++){if(this.ht.groupDescriptions.k.item(u).propertyName==o){h=!0;break}}h||(this.h7&&this.ht.groupDescriptions.clear(),this.ht.groupDescriptions.add(((r=new i.SortDescription).propertyName=o,r)))}else{for(var l=!1,c=0;c<this.ht.summaryDescriptions.k.count;c++){if(this.ht.summaryDescriptions.k.item(c).propertyName==o){l=!0;break}}l||this.ht.summaryDescriptions.add(function(){var t=new i.SummaryDescription(0);return t.propertyName=o,t.operand=n.hq(n.h9.item(o)),t}())}if(null==this.ht.propertiesRequested)this.ht.propertiesRequested=[this.h6()?""+o+s:o];else{for(var p=!1,f=0;f<this.ht.propertiesRequested.length;f++)if(this.ht.propertiesRequested[f]==(this.h6()?""+o+s:o)){p=!0;break}if(!p){for(var d=new Array(this.ht.propertiesRequested.length+1),b=0;b<this.ht.propertiesRequested.length;b++)d[b]=this.ht.propertiesRequested[b];d[this.ht.propertiesRequested.length]=this.h6()?""+o+s:o,this.ht.propertiesRequested=d}}}else{if(this.h6())if(0!=this.hx||this.h7){for(var g=new i.SummaryDescription(0),y=!1,m=0;m<this.ht.summaryDescriptions.k.count;m++){var v=this.ht.summaryDescriptions.k.item(m);v.propertyName==o&&(g=v,y=!0)}y&&this.ht.summaryDescriptions.remove(g)}else{for(var _=new i.SortDescription,C=!1,j=0;j<this.ht.groupDescriptions.k.count;j++){var P=this.ht.groupDescriptions.k.item(j);if(P.propertyName==o){_=P,C=!0;break}}C&&this.ht.groupDescriptions.remove(_)}if(null==this.ht.propertiesRequested){for(var w=0,O=new Array(this.hn.b.length+this.ho.b.length-1),T=0;T<this.hn.b.length;T++)this.hn.b[T]!=o&&(O[w]=this.hn.b[T],w++);for(var I=0;I<this.ho.b.length;I++)this.ho.b[I]!=o&&(O[w]=this.ho.b[I],w++);this.ht.propertiesRequested=O}else{for(var k=new Array(this.ht.propertiesRequested.length-1),S=0,x=0;x<this.ht.propertiesRequested.length;x++){var A=this.ht.propertiesRequested[x];A!=o&&A!=""+o+s&&(k[S]=A,S++)}this.ht.propertiesRequested=k}}}this.jo(),this.ga(this.l(!0),this),this.h3=!1},n.prototype.jo=function(){this.h2||null!=this.d&&null!=this.hy&&(this.h2=!0,this.d.enqueueAction(i.runOn(this,this.jm)))},n.prototype.jm=function(){null!=this.hy&&this.hy.cd(),this.h2=!1},n.prototype.jq=function(){this.h0=!0,this.hy.ce(0),this.h0=!1},n.prototype.ji=function(){this.h0=!0,this.hy.ca(["key"],this.io),this.h0=!1},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hy&&this.il>-1&&(e.e=this.il,e.b=this.h1,e.f=i.enumGetBox(Se,this.hv)),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),this.il>=0&&(0==this.hv||1==this.hv&&e.add(((n=new i.ToolCommandArgument).argumentName="Aggregation",n.value=r.it,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="IsChecked",t.value=r.h1,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.il,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.io,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="EventType",t.value=i.enumGetBox(Se,r.hv),t}()))},n.prototype.gz=function(t,e,n){null!=this.hy&&(t.y=this.ib-16,t.bh=new i.Thickness(1,this.id,this.ig,this.ie,this.ic),t.a8=this.g4,t.bj=this.hk,null!=this.el&&(t.ap=this.el))},n.prototype.g1=function(){t.prototype.g1.call(this),this.id=i.isNaN_(this.ii)?i.DeviceUtils.g(8):this.ii,this.ie=i.isNaN_(this.ij)?i.DeviceUtils.g(8):this.ij,this.ig=i.isNaN_(this.ik)?i.DeviceUtils.g(8):this.ik,this.ic=i.isNaN_(this.ih)?i.DeviceUtils.g(8):this.ih},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.js(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0);this.js(o,t,s,n)}},n.prototype.f8=function(e,i){t.prototype.f8.call(this,e,i),this.hs=null,this.jt(this.hy)},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hx=e.fieldType,this.ht=e.dataSource,this.hp=e.ah,this.h8=e.updateDataSource,this.h7=e.singleSelection},n.prototype.fc=function(){if(t.prototype.fc.call(this),null!=this.ht){var e=this.ht;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.jr))}null!=this.hy&&(this.hy.br=null,this.hy.bu=null)},n.prototype.fm=function(){if(t.prototype.fm.call(this),null!=this.ht){var e=this.ht;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.jr))}null!=this.hy&&(this.hy.br=null,this.hy.bu=null)},n.$t=i.markType(n,"ToolActionFieldSelector",Me.$),n}(Me),Qe=function(t){function n(){var e=t.call(this)||this;return e.hl=null,e.hm=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("ItemSpacing",0)},set:function(t){var e=this.hn;e!=t&&(this.gp("ItemSpacing",t),this.f9("ItemSpacing",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 10},n.prototype.fh=function(e,n){t.prototype.fh.call(this,e,n);var r=new de;r.a=1;for(var o=0,s=0;s<this.actions.count;s++)0==this.actions._inner[s].hk&&(s>0&&(o+=this.hn),i.isNaN_(this.actions._inner[s].b1)&&this.actions._inner[s].g0(),this.actions._inner[s].fg(e,r),o+=r.e);n.e=this.b1+o+this.b2,i.isNaN_(this.b9)||(n.d=this.b9),this.hm||(this.hm=!0,this.fz())},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa),i.NativeUIComponent.at(this.r.v.z(),13,this.bi()?2:0,(function(e){return r.hr(o,t,e,n)}));else{var s=t.bl(0);this.hr(o,t,s,n)}},n.prototype.hr=function(t,e,n,r){0==e.bm&&(e.bn(n),n.bv=1,n.f=0,n.h=1),e.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),n.c=this.t,n.ck=this.r.ju,n.bu=this.r.p,n.ca=this.r.jf,null==this.h?n.b7=this.r.jc:n.b7=this.r.js,n.ci=this.r.js,n.cb=this.r.ji,n.cd=this.r.jl,n.ch=this.r.jr,n.bw=this.r.am,n.cl=this.r.jx,n.cm=this.r.jy,n.b8=this.r.jd,n.b9=this.r.je,n.cg=this.r.jq,n.ce=this.r.jo,n.cf=this.r.jp,n.cj=this.r.jt,n.cc=this.r.jk,n.by=this.r.as,this.hp(n),n.b0=this.hn,n.bt=this.actions,n.bs=i.runOn(this,this.hq),this.hl!=n&&(this.hl=n)},n.prototype.hq=function(t,e){this.gl(e.a,e.b)},n.prototype.g1=function(){switch(t.prototype.g1.call(this),this.t){case 6:case 5:this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b0=i.isNaN_(this.cj)?0:this.cj;break;default:this.b1=i.isNaN_(this.ck)?0:this.ck,this.b2=i.isNaN_(this.cl)?0:this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b0=i.isNaN_(this.cj)?0:this.cj}},n.prototype.hp=function(t){null!=t&&(-1!=this.cp?t.b1=this.cp:null!=this.r?t.b1=this.r.c3:t.b1=-1,t.y=-1==t.b1?NaN:t.b1)},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"ItemSpacing":null!=this.hl&&(this.hl.b0=this.hn);break;case"SubPanelRowHeight":this.hp(this.hl)}},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hl&&(this.hl.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hl&&(this.hl.bs=null)},n.$t=i.markType(n,"ToolActionSubPanel",Me.$),n}(Me),Ye=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hl=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 15},Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("Value",null)},set:function(t){var e=this.hn;e!=t&&(this.gp("Value",t),this.f9("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hl&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hm(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hm=function(){return this.hl.b7},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,e.h=this.hm(),e},n.prototype.hp=function(t,e){this.hn=this.hm();var i=this.l(!0);this.ga(i,this)},n.prototype.hq=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=0,n.bo=2,n.b2=!1}n.c=this.t,n.ce=this.a8?this.g5:this.hb,n.bk=this.ae,n.b0=this.a8,n.bs=i.runOn(this,this.hp),n.b7=this.hn,this.hl!=n&&(this.hl=n)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),2,this.al(2),(function(i){var s=i;r.hq(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hq(o,t,s,e,n)}},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hl&&(this.hl.bp=this.ak(this.v))},n.prototype.g1=function(){null!=this.hl&&(this.hl.c=this.t)},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"IsDisabled":null!=this.hl&&(this.hl.b0=this.a8,this.hl.ce=this.a8?this.g5:this.hb)}},n.prototype.f2=function(){null==this.hl||this.a8||this.hl.az()},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hn=e.value},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hl&&(this.hl.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hl&&(this.hl.bs=null)},n.$t=i.markType(n,"ToolActionTextInput",Me.$),n}(Me),Je=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hm=null,e.ho=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 9},n.prototype.get_cn=function(){return 0},Object.defineProperty(n.prototype,"hl",{get:function(){return this.i(Ae,"DisplayType",0)},set:function(t){var e=this.hl;t!=e&&(this.gp("DisplayType",i.enumGetBox(Ae,t)),this.f9("DisplayType",i.enumGetBox(Ae,e),i.enumGetBox(Ae,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cv("CornerRadius",NaN)},set:function(t){var e=this.hp;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gp("CornerRadius",t),this.f9("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gf=function(e){if(t.prototype.gf.call(this,e),9==e.aa){var n=e;i.isNaN_(n.hp)||(this.hp=n.hp),this.hl!=n.hl&&(this.hl=n.hl)}},n.prototype.hn=function(){switch(this.hl){case 0:return 0;case 1:return 1;case 2:return 2;default:return 0}},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,e},n.prototype.b5=function(t,e){return NaN},n.prototype.b7=function(t,e){return NaN},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hl=e.displayType},n.prototype.hq=function(){switch(this.v){case 2:return i.DeviceUtils.g(24);case 3:return i.DeviceUtils.g(32);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(32)},n.prototype.hr=function(){return i.DeviceUtils.g(88)},n.prototype.b6=function(e,n){var r=t.prototype.b7.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.hq(),i.DeviceUtils.g(this.hr()))},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.hv=function(t,e,n,r){r&&(0==t.bm&&(t.b2(0,2,1),t.bn(e),t.cc(e,0),t.ca(e,0)),this.a6?e.bp=2:e.bp=this.ak(this.v),e.h=1,e.bu=!0),t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),e.c=this.t,e.b0=new i.CornerRadius(0,this.hp),e.bn=this.hn(),e.bz=this.e5,e.bm=i.runOn(this,this.hu),e.bk=this.ae,e.bx=this.bf,this.hm=e},n.prototype.hu=function(t,e){this.ga(this.l(!0),this)},n.prototype.gc=function(t,e,n){var r=this;if(!this.ho){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1)];this.ho=!0,i.NativeUIComponent.av(this.r.v.z(),[1],s,(function(e){r.hv(t,e[0],n,!0),r.ho=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(0);this.hv(t,a,n,!1)}}},n.prototype.gh=function(e,n,r){switch(t.prototype.gh.call(this,e,n,r),e){case"Title":null!=this.hm&&(this.hm.bz=this.e5);break;case"DisplayType":null!=this.hm&&(this.hm.bn=this.hn());break;case"CornerRadius":null!=this.hm&&(this.hm.b0=new i.CornerRadius(0,this.hp));break;case"StopPropagation":null!=this.hm&&(this.hm.bx=this.bf)}},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hm&&(this.hm.bp=this.ak(this.v))},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hm&&(this.hm.c=this.t),null==this.r||1!=this.r.u&&2!=this.r.u?(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(4):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj):(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(4):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj)},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bm=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bm=null)},n.$t=i.markType(n,"ToolActionButton",Me.$),n}(Me),Ze=function(t){function n(){var e=t.call(this)||this;return e.hl=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.hm),e}return e.__extends(n,t),n.prototype.get_aa=function(){return 4},n.prototype.b6=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b6.call(this,e,n)},n.prototype.hn=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa)&&2==e.bm){var o=this.b6(this.r,r);e.b2(2,1,i.isNaN_(o)?0:o),e.bn(n),e.ca(n,2),e.cc(n,0),n.br="ToolbarDrillDownIcon",n.bq="IG_Default",n.f=1,n.h=1,n.ae=i.DeviceUtils.g(24),n.y=i.DeviceUtils.g(24)}n.bc=this.hb,n.bb=this.hb},n.prototype.f2=function(){this.actions.count>0?this.r.gt(this):this.ga(this.l(!1),this)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa?(this.actions.count>0&&i.NativeUIComponent.at(this.r.v.z(),11,this.bi()?2:0,(function(e){r.hl=e,r.hn(o,t,r.hl,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)):this.actions.count>0&&(this.hl=t.bl(2),this.hn(o,t,this.hl,n))},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"ActualTextColor":null!=this.hl&&(this.hl.ba=this.hb)}},n.$t=i.markType(n,"ToolActionLabel",Me.$),n.hm='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(Me),ti=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hl=null,e.ho=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 6},Object.defineProperty(n.prototype,"ht",{get:function(){return this.ho},set:function(t){this.ho=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cv("IsChecked",!1)},set:function(t){var e=this.hm;e!=t&&(this.gp("IsChecked",t),this.f9("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("IsManual",!1)},set:function(t){var e=this.hn;e!=t&&(this.gp("IsManual",t),this.f9("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cv("UncheckedBackgroundColor",null)},set:function(t){var e=this.h9;e!=t&&(this.gp("UncheckedBackgroundColor",t),this.f9("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cv("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.h5;e!=t&&(this.gp("ActualUncheckedBackgroundColor",t),this.f9("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cv("CheckedBackgroundColor",null)},set:function(t){var e=this.h7;e!=t&&(this.gp("CheckedBackgroundColor",t),this.f9("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.cv("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.h3;e!=t&&(this.gp("ActualCheckedBackgroundColor",t),this.f9("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cv("UncheckedBorderColor",null)},set:function(t){var e=this.ia;e!=t&&(this.gp("UncheckedBorderColor",t),this.f9("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.cv("ActualUncheckedBorderColor",null)},set:function(t){var e=this.h6;e!=t&&(this.gp("ActualUncheckedBorderColor",t),this.f9("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("CheckedBorderColor",null)},set:function(t){var e=this.h8;e!=t&&(this.gp("CheckedBorderColor",t),this.f9("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.cv("ActualCheckedBorderColor",null)},set:function(t){var e=this.h4;e!=t&&(this.gp("ActualCheckedBorderColor",t),this.f9("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hl&&(e.b=this.hl.bn),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hl&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hl.bn,n))},n.prototype.h0=function(){null!=this.hl&&(this.hl.bn=!1,this.gn("IsChecked",this.hl.bn))},n.prototype.b6=function(t,e){return 30},n.prototype.gu=function(){t.prototype.gu.call(this),this.hl},n.prototype.g1=function(){null!=this.r&&(this.h5=null!=this.h9?this.h9:this.r.ja,this.h6=null!=this.ia?this.ia:this.r.jb,this.h3=null!=this.h7?this.h7:this.r.is,this.h4=null!=this.h8?this.h8:this.r.it,null!=this.hl&&(this.hl.c=this.t,this.hl.br=this.h5,this.hl.bs=this.h6,this.hl.bp=this.h3,this.hl.bq=this.h4))},n.prototype.f2=function(){this.hn||(this.hl.bn=!0,this.gn("IsChecked",this.hl.bn)),this.ga(this.l(!0),this)},n.prototype.h1=function(t,e){this.hm?this.hl.bn=!0:(this.hn?this.hl.bn=this.hm:this.gn("IsChecked",this.hl.bn),this.ga(this.l(!0),this))},n.prototype.h2=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(e.b2(2,1,this.b6(this.r,r)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.bm=!0,n.f=1,n.h=1,n.bo=i.DeviceUtils.g(10),n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20),t.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)),n.c=this.t,n.bn=this.hm,n.bl=i.runOn(this,this.h1),n.br=this.h5,n.bs=this.h6,n.bp=this.h3,n.bq=this.h4,this.hl!=n&&(this.hl=n)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.h2(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.h2(o,t,s,n)}},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"IsChecked":null!=this.hl&&(this.hl.bn=this.hm);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g0()}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hm=e.isChecked,this.ht=e.channel},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hl&&(this.hl.bl=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hl&&(this.hl.bl=null)},n.$t=i.markType(n,"ToolActionRadio",Me.$),n}(Me),ei=function(t){function n(){var e=t.call(this)||this;return e.hm=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hn",{get:function(){return this.hm},set:function(t){var e=this.hm;this.hm=t,e!=this.hm&&this.f9("Size",e,this.hm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.cv("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.hl;e!=t&&(this.gp("IsGroupHeaderSeparator",t),this.f9("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 7},n.prototype.fh=function(e,i){t.prototype.fh.call(this,e,i),1==i.a||2==i.a?i.e=this.b1+this.hn+this.b2:i.d=this.b3+this.hn+this.b0},n.prototype.fn=function(t,e,n,r){t.ao=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fj=function(t,e){1==e.a?(t.f=0,t.h=3):2==e.a?(t.f=3,t.h=3):t.f=3},n.prototype.gz=function(t,e,n){1==n.a||2==n.a?t.ae=this.hn:t.y=this.hn,t.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),t.a8=this.g4,t.bj=this.hk},n.prototype.gu=function(){t.prototype.gu.call(this)},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.r&&(this.g4=null!=this.hc?this.hc:this.hl?this.r.iw:this.r.i4,1==this.r.u||2==this.r.u?(this.b1=i.isNaN_(this.ck)?this.r.b6:this.ck,this.b2=i.isNaN_(this.cl)?this.r.b7:this.cl,this.b3=i.isNaN_(this.cm)?this.r.b8:this.cm,this.b0=i.isNaN_(this.cj)?this.r.b5:this.cj):(null==this.h&&this.bb()?(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl):(this.b1=i.isNaN_(this.ck)?this.r.ca:this.ck,this.b2=i.isNaN_(this.cl)?this.r.cb:this.cl),this.b3=i.isNaN_(this.cm)?this.r.cc:this.cm,this.b0=i.isNaN_(this.cj)?this.r.b9:this.cj))},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"Size":null!=this.r&&this.r.gs();break;case"IsGroupHeaderSeparator":this.g0()}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hn=e.size,this.hl=e.isGroupHeaderSeparator},n.$t=i.markType(n,"ToolActionSeparator",Me.$),n}(Me),ii=function(t){function n(){var e=t.call(this)||this;return e.hq=null,e.hn=null,e.hl=null,e.ir=-1,e.is=-1,e.ih=-1,e.hx=!1,e.hu=!1,e.ht=!1,e.hy=!1,e.hw=!1,e.it=-1,e.id=NaN,e.h9=NaN,e.ig=NaN,e.ib=NaN,e.ie=NaN,e.ia=NaN,e.ic=NaN,e.h8=NaN,e.ho=null,e.hp=null,e.hz=!1,e.h1=!1,e.popupOpening=null,e.hs=!1,e.hv=!1,e.hl=new i.DelayManager(0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"h3",{get:function(){return this.hy},set:function(t){this.hy=t},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 3},n.prototype.get_bg=function(){return!1},Object.defineProperty(n.prototype,"hr",{get:function(){return this.hq},enumerable:!1,configurable:!0}),n.prototype.get_h7=function(){return null!=this.hn},Object.defineProperty(n.prototype,"h7",{get:function(){return this.get_h7()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.it},set:function(t){this.it=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return i.typeGetValue(this.cv("ActualTooltipDelay",500))},set:function(t){var e=this.iu;e!=t&&(this.gp("ActualTooltipDelay",t),this.f9("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return null!=this.hq&&(this.hq.b5||this.hq.b6||this.hq.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.id},set:function(t){var e=this.id;this.id=t,e!=this.id&&this.f9("ContentPaddingLeft",e,this.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.h9},set:function(t){var e=this.h9;this.h9=t,e!=this.h9&&this.f9("ActualContentPaddingLeft",e,this.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.f9("ContentPaddingTop",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.ib},set:function(t){var e=this.ib;this.ib=t,e!=this.ib&&this.f9("ActualContentPaddingTop",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.ie},set:function(t){var e=this.ie;this.ie=t,e!=this.ie&&this.f9("ContentPaddingRight",e,this.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.ia},set:function(t){var e=this.ia;this.ia=t,e!=this.ia&&this.f9("ActualContentPaddingRight",e,this.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.ic},set:function(t){var e=this.ic;this.ic=t,e!=this.ic&&this.f9("ContentPaddingBottom",e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.h8},set:function(t){var e=this.h8;this.h8=t,e!=this.h8&&this.f9("ActualContentPaddingBottom",e,this.h8)},enumerable:!1,configurable:!0}),n.prototype.fc=function(){t.prototype.fc.call(this),i.NativeUIWindow.i(15,i.runOn(this,this.jo)),i.NativeUIWindow.i(9,i.runOn(this,this.jn)),this.ht=!1,this.hy=!1,null!=this.hq&&(this.hq.q=null,this.hq.s=null,this.hq.n=null,this.hq.o=null,this.hq.bu=null),null!=this.ho&&(this.ho.bm=null,this.ho.q=null,this.ho.s=null,this.ho.o=null)},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,e},n.prototype.b5=function(t,e){var n=36;4==this.v&&(n=18);var r=0;return i.isNaN_(this.ij)||(r+=this.ij),i.isNaN_(this.ik)||(r+=this.ik),i.DeviceUtils.g(n)+r},n.prototype.b7=function(t,e){return NaN},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.js=function(t){this.bz=i.isNaN_(this.ci)?this.b8():this.ci,this.by=i.isNaN_(this.cc)?this.b8():this.cc},n.prototype.jr=function(t,e,n,r,o){var s=n.bo;this.h1=!0,o&&(e.b8(2),e.b8(1),0==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,0),this.a6?n.bp=3:n.bp=this.ak(this.v),n.bn=4,n.bu=!0,n.f=1,this.js(s)),e.bv=1,e.bw=!1,e.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),n.b2=new i.Thickness(1,this.ij,this.il,this.ik,this.ii),s.br=this.d9,s.bq=this.d4,s.bn=this.cf,s.bo=this.cg,s.bp=this.ch,s.bm=this.ce,s.bb=this.g8,s.bk=this.a,s.bc=this.g9,s.bl=this.b,s.ac=this.cd,s.ae=i.DeviceUtils.g(this.bz),s.y=i.DeviceUtils.g(this.by),n.c=this.t,n.bx=this.bf,n.b1=this.g7,n.bm=i.runOn(this,this.jd),n.q=i.runOn(this,this.jf),n.s=i.runOn(this,this.jg),n.o=i.runOn(this,this.je),this.ho!=n&&(this.ho=n),this.hp!=s&&(this.hp=s),this.h1=!1},n.prototype.jt=function(t,e){this.hq!=e&&(null!=this.hq&&(this.hq.b6||this.hq.b5)&&this.hq.cc(),this.hq=e,this.hq.b8=this.r.cd,this.hq.bs=1,this.hq.b3=!0,this.hq.ca=100,this.hq.b1=!0,this.hq.cb=i.truncate(this.r.ce),this.hq.b4=!0,2!=t.bm&&t.bn(this.hq),this.ht||(i.NativeUIWindow.h(15,i.runOn(this,this.jo),this.r.v.r),i.NativeUIWindow.h(9,i.runOn(this,this.jn),this.r.v.r),this.ht=!0),this.hs=!1),this.hq.q=i.runOn(this,this.jl),this.hq.s=i.runOn(this,this.jm),this.hq.n=i.runOn(this,this.jj),this.hq.o=i.runOn(this,this.jk),this.hq.bu=i.runOn(this,this.ji),0==this.hq.bm&&(this.hy=!1),this.actions.count>0?this.hq.u=!0:this.hq.u=!1},n.prototype.i7=function(){this.i8(this.hw,this.hx),this.hy=!0},n.prototype.i8=function(t,e){var i=this;0==this.hq.bm?(this.hn=new Ne(this.r.v.z()),this.hn.t((function(){i.hq.bn(i.hn.e),t&&i.d.executeDelayed((function(){return i.jp(e)}),100)}))):this.hn=this.hq.bl(0).ao,this.hn.b=this.r.am,this.hn.y=this.r.i8,this.hn.z=this.r.i9,this.hn.p=this.e5,this.hq.ci=this.hn.y},n.prototype.ja=function(){},n.prototype.i9=function(){},n.prototype.jb=function(){null!=this.hn&&(this.hq.ci=this.r.i8,this.hn.y=this.r.i8,this.hn.z=this.r.i9,this.hq.b8=this.r.cd,this.hq.cb=i.truncate(this.r.ce))},n.prototype.ju=function(){return null!=this.hn?this.hn.aa():i.Size.empty},n.prototype.jo=function(t){if(null!=this.ho){var e=this.ho.be();this.hq.ce(e)}},n.prototype.jn=function(t){var e=t;!this.h6||this.hq.t(e.b)||this.ho.t(e.b)||this.i6()},n.prototype.gc=function(t,e,n){var r=this;if(!this.hz){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm)this.hz=!0,i.NativeUIComponent.av(this.r.v.z(),[10,12],[this.al(10),this.al(12)],(function(e){r.jr(o,t,e[0],n,!0),r.jt(t,e[1]),r.hz=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0),a=t.bl(1);this.jr(o,t,s,n,!1),this.jt(t,a)}}},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.ho&&(this.ho.bp=this.ak(this.v)),null!=this.hp&&this.js(this.hp)},n.prototype.g1=function(){switch(t.prototype.g1.call(this),null!=this.r&&(this.iu=-1!=this.iv?this.iv:this.r.cy),this.t){case 6:case 5:case 4:case 3:this.b1=i.isNaN_(this.ck)?0:this.ck,this.b2=i.isNaN_(this.cl)?0:this.cl;break;default:this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl}this.ij=i.isNaN_(this.io)?NaN:this.io,this.ik=i.isNaN_(this.ip)?NaN:this.ip,this.il=i.isNaN_(this.iq)?NaN:this.iq,this.ii=i.isNaN_(this.im)?NaN:this.im,null!=this.ho&&(this.ho.c=this.t,this.ho.b1=this.g7,null!==i.typeCast(i.NativeUIIconButton.$,this.ho)&&(this.ho.bb=this.hb,this.ho.bc=this.hb)),null!=this.hp&&(this.hp.bb=this.g8,this.hp.bc=this.g9,this.hp.bk=this.a,this.hp.bl=this.b),this.jb()},n.prototype.f7=function(){this.h1||null!=this.hp&&(this.hp.br=this.d9,this.hp.bq=this.d4,this.hp.ae=i.DeviceUtils.g(this.bz),this.hp.y=i.DeviceUtils.g(this.by))},n.prototype.ge=function(){this.actions.count>0&&(null!=this.hq&&this.h7?(this.jp(),this.hx=!0):this.hw=!0)},n.prototype.fd=function(){this.actions.count>0&&(null!=this.hq&&this.h7?this.i6():this.hw=!1)},n.prototype.get_ba=function(){return this.h6||this.h2},Object.defineProperty(n.prototype,"h2",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].ba)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.jp=function(t){if(void 0===t&&(t=!1),!this.hy)return this.hw=!0,this.hx=t,void this.i7();if(!this.h6){if(this.r.f3(),0==this.actions.count&&i.stringIsNullOrEmpty(this.e5))return;if(null!=this.popupOpening){var e=new li;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.r&&this.r.gj();var n=this.ho.be(),r=new i.Rect(0,n.left,n.top,n.width,n.height);if(r.top=n.top+window.scrollY,r.left=n.left+window.scrollX,1==this.r.u||2==this.r.u){var o=i.NativeUIWindow.d(this.r.v.r),s=this.ju();s.height+=this.hq.b9,n.bottom+s.height>o?n.top-s.height<0?this.hq.cf(r,1,3):this.hq.cf(r,2,3):this.hq.cf(r,1,3)}else{var a=i.NativeUIWindow.f(this.r.v.r),h=this.ju();h.width+=this.hq.b9,n.right+h.width>a?n.left-h.width<0?this.hq.cf(r,4,3):this.hq.cf(r,3,3):this.hq.cf(r,4,3)}this.ja()}this.hx=t,this.hw=!1},n.prototype.jq=function(){this.h6&&(this.hx=!0)},n.prototype.i6=function(){var t=this;this.h6&&(this.hs||(this.hl.f((function(){t.hq.cc(),t.hx=!1,t.hs=!1}),100),this.hs=!0))},n.prototype.jh=function(){this.jp(),this.is=-1,this.ih=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.jc=function(){this.i6(),this.ir=-1},n.prototype.h0=function(){return this.r.a6&&!i.stringIsNullOrEmpty(this.e5)},n.prototype.jf=function(t,e){if(this.hu=!0,-1!=this.ir&&(this.hl.g(this.ir),this.ir=-1),!this.h6){if(!this.h0())return;this.is=this.hl.f(i.runOn(this,this.jh),this.iu)}},n.prototype.jg=function(t,e){-1!=this.is&&(this.hl.g(this.is),this.is=-1),this.h6&&!this.hx&&(this.ir=this.hl.f(i.runOn(this,this.jc),50)),this.ih=-1,this.hu=!1},n.prototype.jd=function(t,e){if(this.actions.count>0)if(this.h6)if(this.hx||-1==this.ih)this.i6();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.h4(n-this.ih)&&this.i6()}else-1!=this.is&&(this.hl.g(this.is),this.is=-1),this.jp(!0);else this.h6&&this.aw&&this.i6(),this.ga(this.l(!0),this)},n.prototype.h4=function(t){return!0},n.prototype.jl=function(t,e){this.hv=!0,-1!=this.ir&&(this.hl.g(this.ir),this.ir=-1)},n.prototype.jm=function(t,e){this.hx||(this.ir=this.hl.f(i.runOn(this,this.jc),50)),this.hv=!1},n.prototype.jj=function(t,e){this.hx=!0},n.prototype.jk=function(t,e){null==e.b&&this.h5(e)||this.hq.t(e.b)||this.ho.t(e.b)||this.i6()},n.prototype.h5=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.ji=function(t,e){null!=this.r&&this.r.gi(),this.i9()},n.prototype.je=function(t,e){if(this.h6){if(null==e.b&&this.h5(e))return;this.hq.t(e.b)||this.ho.t(e.b)||this.i6()}},n.prototype.gh=function(e,n,r){switch(t.prototype.gh.call(this,e,n,r),e){case"ExecutionContext":this.hl.b=this.d;break;case"Title":null!=this.hn&&(this.hn.p=this.e5);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.hp&&(this.hp.bb=this.g8,this.hp.bc=this.g9,this.hp.bk=this.a,this.hp.bl=this.b);break;case"TooltipDelay":this.iu=-1!=this.iv?this.iv:this.r.cy;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.hp&&(this.hp.ae=i.DeviceUtils.g(this.bz),this.hp.y=i.DeviceUtils.g(this.by));break;case"StopPropagation":null!=this.ho&&(this.ho.bx=this.bf)}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.iv=e.tooltipDelay,e.isMenuOpenOnStart&&this.ge()},n.prototype.cr=function(){var t=new ye;return t.h=this.cz,t.i=this.el,t.f=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.aq.an)),null!=this.ho&&(t.g=this.ho.af()),null!=this.hp&&(t.b=this.hp.af()),t},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hq&&(this.hq.q=null,this.hq.s=null,this.hq.n=null,this.hq.o=null,this.hq.bu=null),null!=this.ho&&(this.ho.bm=null,this.ho.q=null,this.ho.s=null,this.ho.o=null),this.hy=!1},n.$t=i.markType(n,"ToolActionIconButton",Me.$),n}(Me),ni=function(t){function n(){var e,r=t.call(this)||this;return r.hm=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),r.hn=null,r.hl=null,r.ho=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.hq),r}return e.__extends(n,t),n.prototype.get_aa=function(){return 1},n.prototype.get_a3=function(){return!1},n.prototype.get_a4=function(){return!1},n.prototype.get_bd=function(){return!1},Object.defineProperty(n.prototype,"hw",{get:function(){return this.cv("ActualBackIconColor",null)},set:function(t){var e=this.hw;e!=t&&(this.gp("ActualBackIconColor",t),this.f9("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cv("BackIconColor",null)},set:function(t){var e=this.hx;e!=t&&(this.gp("BackIconColor",t),this.f9("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.af=function(t){return this.hm},n.prototype.b4=function(t,e){return this.be()?i.DeviceUtils.g(36):NaN},n.prototype.b6=function(e,n){if(this.actions.count>0){if(null!=this.hl){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.hl.bf(r).width}return 0}return t.prototype.b6.call(this,e,n)},n.prototype.hu=function(t,e,n,r){var o=n.bo;if(!(null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||null!=e.ao&&2!=i.typeGetValue(e.ao))){var s=!1;null==e.ao?e.ao=1:(s=!0,e.ao=3),e.bo(2,n);var a=null;s&&(a=e.bl(3)),e.b6(0,1,this.b4(this.r,r)),e.ca(e.bl(0),1),e.ca(e.bl(1),2),s&&e.ca(a,3),e.ca(n,0),e.cc(n,0),n.h=1,n.f=1,n.bh=new i.Thickness(1,-9,0,9,0),n.bp=this.ak(this.v),o.br="ToolbarBackButton",o.bq="IG_Default",o.ae=i.DeviceUtils.g(24),o.y=i.DeviceUtils.g(24)}o.bc=this.hw,n.c=this.t,n.bx=this.bf,n.bm=i.runOn(this,this.hs),this.hn=n},n.prototype.hv=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa||null==e.ao||i.typeGetValue(e.ao)<2)&&(null==e.ao||1==i.typeGetValue(e.ao))){var o=!1;null==e.ao?e.ao=2:(o=!0,e.ao=3),e.bn(n),o?(e.b6(3,1,this.b6(this.r,r)),e.ca(n,3),e.cc(n,0)):(e.b6(2,1,this.b6(this.r,r)),e.ca(n,2),e.cc(n,0)),n.bu=this.r.p,n.bv=1,n.h=1,n.f=2}n.bs=i.runOn(this,this.ht),n.b6(this.ak(this.v)),this.hl=n,this.hl.bt!=this.actions&&(this.hl.bt=this.actions,this.be()?e.cd(3,1,this.b6(this.r,r)):e.cd(2,1,this.b6(this.r,r)))},n.prototype.ht=function(t,e){this.gl(e.a,e.b)},n.prototype.hs=function(t,e){this.r.gu(this)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)this.be()&&i.NativeUIComponent.at(this.r.v.z(),10,this.bi()?2:0,(function(e){return r.hu(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.at(this.r.v.z(),13,2,(function(e){return r.hv(o,t,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{if(this.be()){var s=t.bl(2);this.hu(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ao)&&(a=2);var h=t.bl(a);this.hv(o,t,h,n)}}},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hn&&(this.hn.bp=this.ak(this.v))},n.prototype.g1=function(){var e;t.prototype.g1.call(this),null!=this.hn&&(this.hn.c=this.t),null!=this.r&&(this.g4=null!=this.hc?this.hc:this.r.iv,this.hb=null!=this.hj?this.hj:this.r.iy,this.ha=null!=this.hi?this.hi:this.r.ix),this.hw=null!=this.hx?this.hx:this.hb,e=null!=this.ah?this.ah.a():null!=this.r&&null!=this.r.an?this.r.an.a():this.hm,this.ae=e},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"StopPropagation":null!=this.hn&&(this.hn.bx=this.bf)}},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hn&&(this.hn.bm=null),null!=this.hl&&(this.hl.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hn&&(this.hn.bm=null),null!=this.hl&&(this.hl.bs=null)},n.$t=i.markType(n,"ToolActionGroupHeader",Me.$),n.hq='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(Me),ri=function(t){function n(){var e=t.call(this)||this;return e.j3=i.DeviceUtils.g(24),e.j2=i.DeviceUtils.g(15),e.j1=0,e.jv=null,e.jy=!1,e.jx=null,e.jz=!1,e.jw=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow",n.j5),e.j1=e.j3-e.j2,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 8},Object.defineProperty(n.prototype,"kc",{get:function(){return this.cv("ArrowStroke",null)},set:function(t){var e=this.kc;e!=t&&(this.gp("ArrowStroke",t),this.f9("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kb",{get:function(){return this.cv("ActualArrowStroke",null)},set:function(t){var e=this.kb;e!=t&&(this.gp("ActualArrowStroke",t),this.f9("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j0",{get:function(){return this.cv("ShowArrowIcon",!0)},set:function(t){var e=this.j0;e!=t&&(this.gp("ShowArrowIcon",t),this.f9("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_h7=function(){return null!=this.jv},n.prototype.i8=function(t,e){var n=this;if(this.jy=!1,this.hr.bm>0)for(;this.hr.bm>0;)this.hr.bq(0);null!=this.jv&&(this.jv.t=null),this.jv=new fi(this.r.v.z(),this.d),this.jv.o=this.t,this.jv.al((function(){n.jv.s.a7=new i.CornerRadius(0,8),n.jv.s.a8=n.r.i5,n.hr.bn(n.jv.s),n.jv.ag(n,(function(r){null!=n.el&&(r.ap=n.el+"SubPanel"),n.jv.am(r),n.actions.count>0&&null!=n.actions._inner[0].g4&&!i.BrushUtilCore.a(n.actions._inner[0].g4)?n.hr.ci=n.actions._inner[0].g4:n.hr.ci=n.r.i5,t&&(n.jv.ak(),n.hr.cd(),n.d.executeDelayed((function(){return n.jp(e)}),100))}))})),this.jv.t=i.runOn(this,this.j8)},n.prototype.fz=function(){t.prototype.fz.call(this),this.h3?this.ja():this.jy=!0},n.prototype.ja=function(){null!=this.jv&&this.jv.ap()},n.prototype.i9=function(){null!=this.jv&&(this.jv.az(),this.hr.cd())},n.prototype.jb=function(){null!=this.jv&&(this.jv.a0(this.t,this.r),this.actions.count>0&&null!=this.actions._inner[0].g4&&!i.BrushUtilCore.a(this.actions._inner[0].g4)?this.hr.ci=this.actions._inner[0].g4:this.hr.ci=this.r.i5,this.hr.b8=8,this.hr.cb=4)},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.ho&&(this.ho.bp=this.ak(this.v)),null!=this.hp&&this.js(this.hp)},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.j0=e.showArrowIcon},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.r&&(this.kb=null!=this.kc?this.kc:this.r.i3);var e=this.j0?i.DeviceUtils.g(8):0,n=this.j0?i.DeviceUtils.g(4):0,r=this.j0?i.DeviceUtils.g(5):0,o=this.j0?i.DeviceUtils.g(5):0;switch(this.t){case 6:case 5:case 4:case 3:this.ij=i.isNaN_(this.io)?e:this.io,this.ik=i.isNaN_(this.ip)?n:this.ip,this.il=i.isNaN_(this.iq)?r:this.iq,this.ii=i.isNaN_(this.im)?o:this.im;break;default:this.ij=i.isNaN_(this.io)?0:this.io,this.ik=i.isNaN_(this.ip)?0:this.ip,this.il=i.isNaN_(this.iq)?0:this.iq,this.ii=i.isNaN_(this.im)?0:this.im}null!=this.jx&&(this.jx.bc=this.kb),null!=this.jw&&this.jw.cd(0,1,this.bz)},n.prototype.ju=function(){return!this.h3&&this.jy&&this.i7(),this.jv.a5()},n.prototype.jp=function(e){void 0===e&&(e=!1),null!=this.jv&&this.jv.az(),t.prototype.jp.call(this,e)},n.prototype.b5=function(e,n){if(!this.j0)return t.prototype.b5.call(this,e,n);var r=0;return i.isNaN_(this.ij)||(r+=this.ij),i.isNaN_(this.ik)||(r+=this.ik),Math.max(i.DeviceUtils.g(36),this.bz+this.j1+r)},n.prototype.ka=function(t,e,n,r,o,s,a){this.h1=!0,a&&(t.b8(2),t.b8(1),0==t.bm&&(n.b2(0,1,i.DeviceUtils.g(this.bz)),n.b2(1,1,this.j1),n.bn(r),n.bn(o),n.ca(r,0),n.ca(o,1),this.jw=n,e.bo=n,t.bn(e)),t.cc(e,0),t.ca(e,0),this.a6?e.bp=3:e.bp=this.ak(this.v),n.bi=new i.Thickness(1,this.ij,this.il,this.ik,this.ii),e.bn=4,e.bu=!0,e.f=1,e.b0=new i.CornerRadius(0,18),this.js(r),r.h=1,o.ae=this.j3,o.y=this.j3,o.h=1,o.bh=new i.Thickness(1,-this.j2,0,0,0),o.br="igDropDownArrow",o.bq="IG_Default",o.bb=i.BrushUtil.h(0,0,0,0),o.ac=i.DeviceUtils.g(1)),t.bw=!1,t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),r.br=this.d9,r.bq=this.d4,r.bn=this.cf,r.bo=this.cg,r.bp=this.ch,r.bm=this.ce,r.bb=this.g8,r.bc=this.g9,r.ae=this.bz,r.y=this.by,o.bc=this.kb,e.c=this.t,e.bx=this.bf,e.b1=this.g7;var h=this.bz+this.ij+this.ik;this.j0&&(h=h+this.j3-this.j2),e.by=h,e.bm=i.runOn(this,this.jd),e.q=i.runOn(this,this.jf),e.s=i.runOn(this,this.jg),e.o=i.runOn(this,this.je),this.ho!=e&&(this.ho=e),this.hp!=r&&(this.hp=r),this.jx!=o&&(this.jx=o),this.j9(),this.h1=!1},n.prototype.gc=function(t,e,n){var r=this;if(!this.jz){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1),this.al(7),this.al(11),this.al(11),this.al(12)];this.jz=!0,i.NativeUIComponent.av(this.r.v.z(),[1,7,11,11,12],s,(function(e){r.ka(t,e[0],e[1],e[2],e[3],n,!0),r.jt(t,e[4]),r.jz=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(0),h=a.bo,u=h.bl(0),l=h.bl(1),c=t.bl(1);this.ka(t,a,h,u,l,n,!1),this.jt(t,c)}}},n.prototype.j8=function(t){this.gl(t.a,t.b),t.b&&this.fd()},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"ShowArrowIcon":this.j9(),null!=this.r&&(this.r.gb(this),this.r.gs());break;case"StopPropagation":null!=this.ho&&(this.ho.bx=this.bf)}},n.prototype.j9=function(){if(null!=this.ho&&null!=this.hp&&null!=this.jx)if(this.j0){var t=this.ho.bo;2==t.bx?(t.cd(0,1,i.DeviceUtils.g(this.bz)),t.cd(1,1,this.j1)):(t.b2(0,1,i.DeviceUtils.g(this.bz)),t.b2(1,1,this.j1)),t.ca(this.hp,0),t.ca(this.jx,1),this.jx.bj=0}else{this.ho.bo.cd(1,1,i.DeviceUtils.g(0)),this.jx.bj=1}this.g1()},n.prototype.fb=function(e,i){switch(t.prototype.fb.call(this,e,i),i){case"Visibility":null!=this.jv&&this.jv.ay()}},n.prototype.gf=function(e){if(t.prototype.gf.call(this,e),8==e.aa){var i=e;this.j0!=i.j0&&(this.j0=i.j0),this.kc!=i.kc&&(this.kc=i.kc)}},n.prototype.e=function(){return this.hr.b6?this.jv.k().a:null},n.prototype.cr=function(){var t=new Be;return t.h=this.cz,t.i=this.el,t.f=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.aq.an)),null!=this.ho&&(t.g=this.ho.af()),null!=this.hp&&(t.b=this.hp.af()),null!=this.jx&&(t.k=this.jx.af()),t},n.prototype.h0=function(){return this.r.a5&&this.actions.count>0},n.prototype.h4=function(t){return!(this.r.cz<0||t<this.r.cz)||(this.jq(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",ii.$),n.j5='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M20 11.1205L16.2166 14.8795L12.4575 11.1205" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>\r\n',n}(ii),oi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hl=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 2},n.prototype.get_av=function(){return!1},Object.defineProperty(n.prototype,"hm",{get:function(){return this.cv("IsChecked",!1)},set:function(t){var e=this.hm;e!=t&&(this.gp("IsChecked",t),this.f9("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.cv("UncheckedBackgroundColor",null)},set:function(t){var e=this.h4;e!=t&&(this.gp("UncheckedBackgroundColor",t),this.f9("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.cv("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.h0;e!=t&&(this.gp("ActualUncheckedBackgroundColor",t),this.f9("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.cv("CheckedBackgroundColor",null)},set:function(t){var e=this.h2;e!=t&&(this.gp("CheckedBackgroundColor",t),this.f9("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cv("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hy;e!=t&&(this.gp("ActualCheckedBackgroundColor",t),this.f9("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cv("UncheckedBorderColor",null)},set:function(t){var e=this.h5;e!=t&&(this.gp("UncheckedBorderColor",t),this.f9("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.cv("ActualUncheckedBorderColor",null)},set:function(t){var e=this.h1;e!=t&&(this.gp("ActualUncheckedBorderColor",t),this.f9("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.cv("CheckedBorderColor",null)},set:function(t){var e=this.h3;e!=t&&(this.gp("CheckedBorderColor",t),this.f9("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.cv("ActualCheckedBorderColor",null)},set:function(t){var e=this.hz;e!=t&&(this.gp("ActualCheckedBorderColor",t),this.f9("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.gf=function(e){if(t.prototype.gf.call(this,e),2==e.aa){var i=e;null!=this.h3&&(this.h3=i.h3),null!=this.h2&&(this.h2=i.h2),null!=this.h5&&(this.h5=i.h5),null!=this.h4&&(this.h4=i.h4),this.hm!=i.hm&&(this.hm=i.hm)}},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hl&&(e.b=this.hl.bn),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hl&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hl.bn,n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(32)},n.prototype.f2=function(){this.hl.bn=!this.hl.bn,this.gn("IsChecked",this.hl.bn),this.ga(this.l(!0),this)},n.prototype.hx=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(e.b2(2,1,this.b6(this.r,r)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.bm=!0,n.f=1,n.h=1,n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20)),n.c=this.t,n.bn=this.hm,n.bl=i.runOn(this,this.hw),n.br=this.h0,n.bs=this.h1,n.bp=this.hy,n.bq=this.hz,this.hl=n},n.prototype.hw=function(t,e){this.gn("IsChecked",this.hl.bn),this.ga(this.l(!0),this)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.hx(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hx(o,t,s,n)}},n.prototype.gu=function(){t.prototype.gu.call(this),this.hl},n.prototype.g1=function(){null!=this.r&&(this.h0=null!=this.h4?this.h4:this.r.ja,this.h1=null!=this.h5?this.h5:this.r.jb,this.hy=null!=this.h2?this.h2:this.r.is,this.hz=null!=this.h3?this.h3:this.r.it,null!=this.hl&&(this.hl.c=this.t,this.hl.br=this.h0,this.hl.bs=this.h1,this.hl.bp=this.hy,this.hl.bq=this.hz))},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g0()}},n.prototype.f8=function(e,i){if(t.prototype.f8.call(this,e,i),null!=this.z){var n=this.z;n.isChecked&&(this.hm=n.isChecked)}},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hl&&(this.hl.bl=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hl&&(this.hl.bl=null)},n.$t=i.markType(n,"ToolActionCheckbox",Me.$),n}(Me),si=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hl=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 5},Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("Value",0)},set:function(t){var e=this.hn;e!=t&&(this.gp("Value",t),this.f9("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hl&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hm(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hm=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.hl.b7)?NaN:(null!=this.hl&&(e=i.tryParseNumber(n.hl.b7,t),t=e.p1,e.ret),t)},n.prototype.l=function(t){var e=new fe;return e.g=this.cz,e.a=this.aa,e.c=t,e.e=this.hm(),e},n.prototype.hp=function(t,e){this.hn=this.hm();var i=this.l(!0);this.ga(i,this)},n.prototype.hq=function(t,e,n,r){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var o=this.b6(this.r,r);e.b2(2,1,o),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=o,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=1,n.bo=2,n.b2=!1}n.c=this.t,n.ce=this.a8?this.g5:this.hb,n.bk=this.ae,n.b0=this.a8,n.bs=i.runOn(this,this.hp),i.isNaN_(this.hn)?n.b7="":n.b7=this.hn.toString(),this.hl!=n&&(this.hl=n)},n.prototype.gc=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),2,this.al(2),(function(e){var i=e;r.hq(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hq(o,t,s,n)}},n.prototype.gu=function(){t.prototype.gu.call(this),null!=this.hl&&(this.hl.bp=this.ak(this.v))},n.prototype.g1=function(){null!=this.hl&&(this.hl.c=this.t)},n.prototype.gh=function(e,i,n){switch(t.prototype.gh.call(this,e,i,n),e){case"IsDisabled":null!=this.hl&&(this.hl.b0=this.a8,this.hl.ce=this.a8?this.g5:this.hb)}},n.prototype.f2=function(){null==this.hl||this.a8||this.hl.az()},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hn=e.value},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hl&&(this.hl.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hl&&(this.hl.bs=null)},n.$t=i.markType(n,"ToolActionNumberInput",Me.$),n}(Me),ai=function(t){function n(){var e=t.call(this,Me.$,0)||this;return e.collectionResetting=null,e}return e.__extends(n,t),n.prototype.p=function(){null!=this.collectionResetting&&this.collectionResetting(this,null),t.prototype.p.call(this)},n.$t=i.markType(n,"ToolActionCollection",i.ObservableCollection$1.$.specialize(Me.$)),n}(i.ObservableCollection$1),hi=function(t){function r(){var e=t.call(this)||this;e.p=null,e.am=!1,e.ak=null,e.t=new ne,e.s=null,e.q=null,e.w=0,e.y=0,e.g=new ai,e.e=new ai,e.f=new ai,e.k=r.l,e.ab=null,e.bz=r.b0,e.e5=null,e.fi=null,e.e9=null,e.fh=null,e.fd=null,e.fk=null,e.e8=null,e.fb=null,e.fm=null,e.fl=null,e.bb=NaN,e.bc=NaN,e.fe=null,e.ff=null,e.ac=null,e.ae=null,e.ad=null,e.a8=NaN,e.a9=NaN,e.ba=NaN,e.a7=NaN,e.a4=NaN,e.a5=NaN,e.a6=NaN,e.a3=NaN,e.ap=!0,e.aq=!0,e.br=-1,e.a2=NaN,e.a1=NaN,e.fc=null,e.fg=null,e.fn=null,e.e6=null,e.fo=null,e.e7=null,e.bt=-1,e.fj=null,e.fa=null,e.bs=-1,e.ar=!1,e.u=1,e._userSetWidth=!1,e._userSetHeight=!1,e.ao=!1,e.an=!1,e.propertyChanged=null,e.aa=null,e.c=null,e.onCommand=null,e.subMenuOpening=null,e.subMenuClosing=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.dv));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.dx));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.dy)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new Ve;return h.a=e,e.p=h,e.p.y(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"al",{get:function(){return null==this.ak&&(this.ak=new i.SRProvider(this.p.l),this.ak.cb("Layouts")),this.ak},enumerable:!1,configurable:!0}),r.prototype.d3=function(t){this.s=t,this.s.c9=this,this.s.z=0==this.w?1:this.w;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.du)),this.s.p=this.t,this.e1()},r.prototype.du=function(t,e){var i=!1;null!=this.ab&&2==this.ab.onToolCommandExecuting(e.a)&&(i=!0,this.q=e),null==this.onCommand||i||this.onCommand(this,e)},r.prototype.ec=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.ea=function(){var t=this.target;this.eb(t,t)},r.prototype.d6=function(t){null!=this.s&&this.s.notifySizeChanged()},Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.d7("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.d7("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.d7("AutoGeneratedActions",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.d7("Actions",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.d7("ActualActions",e,this.f)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.d7("Orientation",i.enumGetBox(le,e),i.enumGetBox(le,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.d7("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fp",{get:function(){return this.e5},set:function(t){var e=this.e5;this.e5=t,e!=this.e5&&this.d7("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f3",{get:function(){return this.fi},set:function(t){var e=this.fi;this.fi=t,e!=this.fi&&this.d7("SubmenuBackgroundColor",e,this.fi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fu",{get:function(){return this.e9},set:function(t){var e=this.e9;this.e9=t,e!=this.e9&&this.d7("GroupHeaderBackgroundColorPropertyName",e,this.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f2",{get:function(){return this.fh},set:function(t){var e=this.fh;this.fh=t,e!=this.fh&&this.d7("SeparatorBackgroundColor",e,this.fh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fy",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.d7("HoverBackgroundColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.fk},set:function(t){var e=this.fk;this.fk=t,e!=this.fk&&this.d7("TextColor",e,this.fk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fs",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.d7("DisabledTextColor",e,this.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fw",{get:function(){return this.fb},set:function(t){var e=this.fb;this.fb=t,e!=this.fb&&this.d7("GroupHeaderTextColor",e,this.fb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f7",{get:function(){return this.fm},set:function(t){var e=this.fm;this.fm=t,e!=this.fm&&this.d7("ToolTipTextColor",e,this.fm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f6",{get:function(){return this.fl},set:function(t){var e=this.fl;this.fl=t,e!=this.fl&&this.d7("ToolTipBackgroundColor",e,this.fl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bp",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.d7("ToolTipCornerRadius",e,this.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bq",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.d7("ToolTipElevation",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.d7("IconFill",e,this.fe)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f0",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.d7("IconStroke",e,this.ff)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.d7("CellTextStyle",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aj",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.d7("SubtitleTextStyle",e,this.ae)},enumerable:!1,configurable:!0}),r.prototype.ag=function(){return null==this.af?this.p.f():this.af},Object.defineProperty(r.prototype,"ai",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.d7("GroupHeaderTextStyle",e,this.ad)},enumerable:!1,configurable:!0}),r.prototype.ah=function(){return null==this.ai?this.p.f():this.ai},Object.defineProperty(r.prototype,"bm",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.d7("SeparatorVerticalPaddingLeft",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bn",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.d7("SeparatorVerticalPaddingRight",e,this.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bo",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.d7("SeparatorVerticalPaddingTop",e,this.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bl",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.d7("SeparatorVerticalPaddingBottom",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bi",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.d7("SeparatorHorizontalPaddingLeft",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bj",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.d7("SeparatorHorizontalPaddingRight",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bk",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.d7("SeparatorHorizontalPaddingTop",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.d7("SeparatorHorizontalPaddingBottom",e,this.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.d7("ShowOnHover",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.d7("ShowTooltipOnHover",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.d7("DropdownClickBuffer",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bg",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.d7("HighlightWidth",e,this.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bf",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.d7("HighlightRadius",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fx",{get:function(){return this.fc},set:function(t){var e=this.fc;this.fc=t,e!=this.fc&&this.d7("HighlightColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f1",{get:function(){return this.fg},set:function(t){var e=this.fg;this.fg=t,e!=this.fg&&this.d7("MenuArrowStroke",e,this.fg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f8",{get:function(){return this.fn},set:function(t){var e=this.fn;this.fn=t,e!=this.fn&&this.d7("UncheckedBackgroundColor",e,this.fn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fq",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.d7("CheckedBackgroundColor",e,this.e6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f9",{get:function(){return this.fo},set:function(t){var e=this.fo;this.fo=t,e!=this.fo&&this.d7("UncheckedBorderColor",e,this.fo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fr",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d7("CheckedBorderColor",e,this.e7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"by",{get:function(){return null!=this.s?this.s.c3:-1},set:function(t){this.bt=t,null!=this.s&&(this.s.c3=this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f4",{get:function(){return this.fj},set:function(t){var e=this.fj;this.fj=t,e!=this.fj&&this.d7("SubtitleTextColor",e,this.fj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fv",{get:function(){return this.fa},set:function(t){var e=this.fa;this.fa=t,e!=this.fa&&this.d7("GroupHeaderSubtitleTextColor",e,this.fa)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bv",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.d7("DropdownDelay",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ay",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.d7("StopPropagation",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.d7("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.u))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetWidth",{get:function(){return this._userSetWidth},set:function(t){this._userSetWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetHeight",{get:function(){return this._userSetHeight},set:function(t){this._userSetHeight=t},enumerable:!1,configurable:!0}),r.prototype.dv=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dw))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.dw))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.d5()},r.prototype.dx=function(t,e){this.e4()},r.prototype.dy=function(t,e){for(var n=0;n<this.actualActions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actualActions._inner[n])){var r=this.actualActions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.dw))}this.actualActions._inner[n].d=null}},r.prototype.e4=function(){var t=0==this.x?1:this.x;null!=this.s&&(this.s.z=t);for(var e=0;e<this.actualActions.count;e++)this.actualActions._inner[e].t=t},r.prototype.e3=function(){null!=this.s&&this.s.hg(this.z);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].gw(this.z)},r.prototype.dw=function(t,e){},r.prototype.d5=function(){this.ef()},r.prototype.ef=function(){this.an||(null!=this.d?(this.an=!0,this.d.enqueueAction(i.runOn(this,this.d1))):this.ao=!0)},r.prototype.d1=function(){this.an&&(this.an=!1,this.eg(),this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.eg=function(){var t=this;this.actualActions.clear();for(var e=0;e<this.autoGeneratedActions.count;e++)this.actualActions.add(this.autoGeneratedActions._inner[e]);for(var n=null,r=null,o=!1,s=!1,a=-1,h=0,u=function(e){var u,c=l.actions._inner[e];i.stringIsNullOrEmpty(c.en)?(i.stringIsNullOrEmpty(c.dm)?i.stringIsNullOrEmpty(c.dj)||(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.dj,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dj,o=!1,s=!0,h=0)):(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.dm,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dm,o=!0,s=!1)),i.stringIsNullOrEmpty(r)?l.actualActions.add(c):o?(n.insert(a,c),a++):s&&(n.insert(a+1+h,c),h++)):(u=t.as(c.en,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].gf(c))},l=this,c=0;c<this.actions.count;c++)u(c)},r.prototype.as=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];return null!=a.el&&a.el==t?{value:{ret:!0,p2:i=e,p3:n=o}}:a.actions.count>0&&(s=r.as(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret)?{value:{ret:!0,p2:i,p3:n}}:void 0},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.at=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];if(null==a.ds){if(null!=a.el&&a.el==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.ds&&a.ds==t)return{value:{ret:!0,p2:i=e,p3:n=o}};if(a.actions.count>0&&(s=r.as(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret))return{value:{ret:!0,p2:i,p3:n}}},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.d2=function(){this.an&&this.d1(),null!=this.s&&this.s.f8()},r.prototype.notifySizeChanged=function(){this.p.v()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.p.w(t),null!=this.af&&null!=this.p.l&&this.af.w(this.p.l)},r.prototype.d7=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ed(t,e,n)},r.prototype.ed=function(t,e,i){switch(t){case"CellTextStyle":null!=this.af&&null!=this.p.l&&this.af.w(this.p.l),this.e1();break;case"BackgroundColor":case"TextColor":case"SubmenuBackgroundColor":case"GroupHeaderBackgroundColorPropertyName":case"GroupHeaderTextColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"Orientation":case"ShowOnHover":case"ShowTooltipOnHover":case"DropdownClickBuffer":case"HighlightWidth":case"HighlightRadius":case"HighlightColor":case"MenuArrowStroke":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":case"GroupHeaderTextStyle":this.e1();break;case"Target":var n=i,r=e;this.eb(r,n);break;case"BaseTheme":this.e4();break;case"Density":this.e3();break;case"ExecutionContext":null!=this.d&&this.ao&&(this.ef(),this.ao=!1)}},r.prototype.e1=function(){null!=this.s&&(this.s.a5=this.aw,this.s.a6=this.ax,this.s.jc=this.fp,this.s.ju=this.f5,this.s.jf=this.fs,this.s.js=this.f3,this.s.ji=this.fu,this.s.jl=this.fw,this.s.jr=this.f2,this.s.jn=this.fy,this.s.u=this.m,this.s.jw=this.f7,this.s.jv=this.f6,this.s.cs=this.bp,this.s.ct=this.bq,this.s.jo=this.fz,this.s.jp=this.f0,this.s.ap=this.af,this.s.as=this.aj,this.s.ar=this.ai,this.s.cl=this.bi,this.s.cm=this.bj,this.s.cn=this.bk,this.s.ck=this.bh,this.s.cp=this.bm,this.s.cq=this.bn,this.s.cr=this.bo,this.s.co=this.bl,this.s.jm=this.fx,this.s.ch=this.bf,this.s.ci=this.bg,this.s.jq=this.f1,this.s.jx=this.f8,this.s.jy=this.f9,this.s.jd=this.fq,this.s.je=this.fr,this.s.jt=this.f4,this.s.jk=this.fv,this.s.c0=this.bv,this.s.cz=this.bu,this.s.a7=this.ay,this.s.x=this.v,-1!=this.bt&&(this.s.c3=this.bt))},Object.defineProperty(r.prototype,"av",{get:function(){return null!=this.s&&this.s.a4},enumerable:!1,configurable:!0}),r.prototype.gb=function(){return null!=this.s?this.s.j1():i.Size.empty},r.prototype.eb=function(t,e){this.dz(),this.ab=e,null!=t&&(t.commandCompleted=null,t.dismissContextAccessor(this.aa),null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.ef()),null!=e&&(e.commandCompleted=i.runOn(this,this.ec),e.invalidateActions=i.runOn(this,this.ea),this.aa=new ui(this,!1),e.provideContextAccessor(this.aa),this.e2(),e.addCommandStateChangedListener(this),this.ef())},r.prototype.e2=function(){var t=this.ab.getDesiredToolbarActions();if(null!=t){for(var e=null==this.autoGeneratedActions?0:this.autoGeneratedActions.count,i=t.length,n=0;n<e&&n<i;){var r=this.autoGeneratedActions._inner[n],o=t[n];Me.ax(r,o)||(this.autoGeneratedActions._inner[n]=Me.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(Me.f(t[s]));else if(n<e)for(var a=0;a<e-n;a++)this.autoGeneratedActions.removeAt(n)}else this.autoGeneratedActions.clear()},Object.defineProperty(r.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.d7("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.dz=function(){null!=this.s&&this.s.f3()},r.prototype.d9=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new oe)},r.prototype.d8=function(){null!=this.subMenuClosing&&this.subMenuClosing(this,new ae)},r.prototype.onCommandStateChanged=function(t,e,n){var r=this,o=null,s=-1;if(function(){var e=r.at(t,r.actualActions,o,s);return o=e.p2,s=e.p3,e.ret}()){var a=o._inner[s];switch(e){case 2:switch(a.aa){case 2:a.hm=n;break;case 5:a.hn=n;break;case 6:a.hm=n}break;case 0:a.hk=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a8=n}}},r.prototype.eh=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.d9==e&&(n.d9=null,n.d9=e),null!=n.actions&&n.actions.count>0&&this.eh(n.actions,e)}},r.prototype.ej=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.eh(this.actualActions,e)},r.prototype.cq=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.el=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.eh(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.ei=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.eh(this.actualActions,e)},r.prototype.cp=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.ek=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.eh(this.actualActions,e)},r.prototype.b8=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.eo=function(t,e){i.stringIsNullOrEmpty(t)||ci.g1(this.t,t,e)},r.prototype.ft=function(t){return i.stringIsNullOrEmpty(t)?null:ci.jh(this.t,t)},r.prototype.eu=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),ci.g1(this.t,t,e))},r.prototype.b5=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=ci.jh(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.en=function(t,e){i.stringIsNullOrEmpty(t)||ci.gz(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:ci.b(this.t,t)},r.prototype.et=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),ci.gz(this.t,t,e))},r.prototype.b4=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=ci.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.es=function(t,e){i.stringIsNullOrEmpty(t)||ci.g9(this.t,t,e)},r.prototype.bd=function(t){return i.stringIsNullOrEmpty(t)?NaN:ci.cg(this.t,t)},r.prototype.ez=function(t,e){i.stringIsNullOrEmpty(t)||ci.hb(this.t,t,e)},r.prototype.be=function(t){return i.stringIsNullOrEmpty(t)?NaN:ci.cg(this.t,t)},r.prototype.ex=function(t,e){i.stringIsNullOrEmpty(t)||ci.g9(this.t,t,e)},r.prototype.bx=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:ci.c2(this.t,t)},r.prototype.ey=function(t,e){i.stringIsNullOrEmpty(t)||ci.hb(this.t,t,i.typeGetValue(e))},r.prototype.bw=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:ci.c2(this.t,t)},r.prototype.e0=function(t,e){i.stringIsNullOrEmpty(t)||ci.hd(this.t,t,e)},r.prototype.cr=function(t){return i.stringIsNullOrEmpty(t)?null:ci.er(this.t,t)},r.prototype.em=function(t,e){i.stringIsNullOrEmpty(t)||ci.gx(this.t,t,e)},r.prototype.au=function(t){return!i.stringIsNullOrEmpty(t)&&ci.a2(this.t,t)},r.prototype.ep=function(t,e){i.stringIsNullOrEmpty(t)||ci.g3(this.t,t,e)},r.prototype.ga=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):ci.j0(this.t,t)},r.prototype.ev=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),ci.g3(this.t,t,e))},r.prototype.b6=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=ci.j0(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.er=function(t,e){i.stringIsNullOrEmpty(t)||ci.g7(this.t,t,e)},r.prototype.b3=function(t){return i.stringIsNullOrEmpty(t)?null:ci.c8(this.t,t)},r.prototype.ew=function(t,e){i.stringIsNullOrEmpty(t)||ci.g7(this.t,t,e)},r.prototype.b7=function(t){return i.stringIsNullOrEmpty(t)?null:ci.c8(this.t,t)},r.prototype.eq=function(t,e){i.stringIsNullOrEmpty(t)||ci.g5(this.t,t,e)},r.prototype.b2=function(t){return i.stringIsNullOrEmpty(t)?null:ci.c6(this.t,t)},r.prototype.b1=function(){return null==this.s?null:this.s.c4()},r.prototype.co=function(){return this.b1().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.b0=null,r}(i.Base),ui=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.getContextValue=function(t,e){switch(e){case 0:return this.b?this.a.ft(t):this.a.b5(t);case 1:return this.b?this.a.b(t):this.a.b4(t);case 2:return this.b?this.a.ga(t):this.a.b6(t);case 3:return this.b,this.a.cr(t);case 4:return this.b?this.a.bd(t):this.a.be(t);case 6:return this.b?this.a.bx(t):this.a.bw(t);case 7:return this.b?this.a.b3(t):this.a.b7(t);case 5:return this.b,this.a.au(t)}return null},n.prototype.getInternalAccessor=function(){return new n(this.a,!0)},n.prototype.setContextValue=function(t,e,n){switch(e){case 0:this.b?this.a.eo(t,n):this.a.eu(t,n);break;case 1:this.b?this.a.en(t,n):this.a.et(t,n);break;case 2:this.b?this.a.ep(t,n):this.a.ev(t,n);break;case 3:this.b,this.a.e0(t,n);break;case 4:this.b?this.a.es(t,n):this.a.ex(t,n);break;case 6:this.b?this.a.ez(t,i.typeGetValue(n)):this.a.ey(t,n);break;case 7:this.b?this.a.er(t,n):this.a.ew(t,n);break;case 5:this.b,this.a.em(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),li=function(t){function n(){var e=t.call(this)||this;return e.a=null,e.b=!1,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPopupOpeningEventArgs"),n}(i.Base),ci=function(t){function r(){var e=t.call(this)||this;e.v=null,e.at=null,e.c9=null,e.o=null,e.aw=!1,e.au=null,e.k=new de,e.propertyChanged=null,e.i=new ai,e.contentRefreshed=null,e.ay=!0,e.az=!0,e.cv=-1,e.a0=!1,e.ax=!1,e.a9=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Me.$),0),e.ba=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Me.$),0),e.a8=new i.Dictionary$2(i.String_$type,Me.$,0),e.aj=null,e.ag=null,e.ai=null,e.al=null,e.ak=null,e.ah=null,e.c=null,e.y=0,e.ab=0,e.aa=0,e.h4=null,e.hj=null,e.ij=null,e.hx=null,e.h8=null,e.hn=null,e.ii=null,e.hw=null,e.h9=null,e.ho=null,e.id=null,e.hs=null,e.f=null,e.br=Number.POSITIVE_INFINITY,e.il=null,e.hz=null,e.hy=null,e.ik=null,e.h7=null,e.hm=null,e.ib=null,e.hq=null,e.ia=null,e.hp=null,e.io=null,e.h1=null,e.im=null,e.h0=null,e.b0=NaN,e.bm=NaN,e.b1=NaN,e.bn=NaN,e.ie=null,e.ht=null,e.ig=null,e.hu=null,e.bx=NaN,e.bj=NaN,e.by=NaN,e.bk=NaN,e.bz=NaN,e.bl=NaN,e.bw=NaN,e.bi=NaN,e.bt=NaN,e.bf=NaN,e.bu=NaN,e.bg=NaN,e.bv=NaN,e.bh=NaN,e.bs=NaN,e.be=NaN,e.s=r.t,e.onCommand=null,e.cx=-1,e.bp=NaN,e.bd=NaN,e.bo=NaN,e.bc=NaN,e.ic=null,e.hr=null,e.ih=null,e.hv=null,e.ip=null,e.h2=null,e.h5=null,e.hk=null,e.iq=null,e.h3=null,e.h6=null,e.hl=null,e.cw=-1,e.cu=500,e.w=1,e.bq=0,e.g=0,e.onContextChanged=null,e.onContextSwapped=null,e.drillDownRequested=null,e.drillUpRequested=null,e.ac=0;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.fz)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),De.g();var s=new Ue;return s.c=e,e.v=s,e.v.ah(),e.hi(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"p",{get:function(){return this.o},set:function(t){if(t!=this.o){if(null!=this.o){var e=this.o;e.onItemChanged=i.delegateRemove(e.onItemChanged,i.runOn(this,this.gg))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.gg))}null!=this.onContextSwapped&&this.onContextSwapped(this,new pe)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"av",{get:function(){return null==this.au&&(this.au=new i.SRProvider(this.v.r),this.au.cb("Layouts")),this.au},enumerable:!1,configurable:!0}),r.prototype.f9=function(t){this.f=t,-1!=this.cx&&(this.f.ee=this.cx),this.f.a0=this.w;var e=this.f;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.fy));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.ft)),this.f.ad=this.u,this.f.bz=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.fu));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.fx));var s=this.f;s.itemRecycled=i.delegateCombine(s.itemRecycled,i.runOn(this,this.fw));var a=this.f;a.itemRebind=i.delegateCombine(a.itemRebind,i.runOn(this,this.fv)),this.f.c8=this.cj},r.prototype.gj=function(){null!=this.c9&&(null!==i.typeCast(r.$,this.c9)&&this.c9.gj(),null!==i.typeCast(hi.$,this.c9)&&this.c9.d9())},r.prototype.gi=function(){null!=this.c9&&(null!==i.typeCast(r.$,this.c9)&&this.c9.gi(),null!==i.typeCast(hi.$,this.c9)&&this.c9.d8())},r.prototype.ft=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new $e)},r.prototype.fu=function(t,e){var n=e.c,r=new de;this.gl(r),n.fg(this,r),0==n.hk?i.isNaN_(r.d)?e.a=this.f.c5:e.a=r.d:e.a=0},r.prototype.fx=function(t,e){var n=e.c,r=new de;this.gl(r),n.fg(this,r),0==n.hk?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.fw=function(t,e){e.rowObject.fl()},r.prototype.fv=function(t,e){e.rowObject.fk()},r.prototype.fy=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new de;this.gl(r),i.fg(this,r),i.gb(n,this,e,r)}else i.gb(n,this,e,this.k)},r.prototype.gf=function(t){this.br=t.width,this.gp(),null!=this.f&&this.f.notifySizeChanged()},Object.defineProperty(r.prototype,"actions",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.gh("Actions",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a5",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.gh("ShowOnHover",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a6",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.gh("ShowTooltipOnHover",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.gh("DropdownClickBuffer",e,this.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a7",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.gh("StopPropagation",e,this.a0)},enumerable:!1,configurable:!0}),r.prototype.fz=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.ga))}l.fc(),l.d=null,l.go(null)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.ga))}d.d=this.c,d.go(this)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.hh(this.actions),this.ge()},r.prototype.f0=function(t,e){for(var n=0;n<this.actions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[n])){var r=this.actions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.ga))}this.actions._inner[n].fc(),this.actions._inner[n].d=null,this.actions._inner[n].go(null)}},r.prototype.ge=function(){this.gp(),this.v.ae()},r.prototype.gp=function(){this.ax||(this.ax=!0,this.c.enqueueAction(i.runOn(this,this.f5)))},r.prototype.gr=function(){this.ax=!0,this.f5()},r.prototype.f5=function(){if(this.ax){this.ax=!1,this.f1(),this.gv();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.f6()}},r.prototype.f1=function(){this.a9.clear(),this.ba.clear(),this.a8.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].go(this),null!=this.i._inner[t].cz&&this.a8.item(this.i._inner[t].cz,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].es)if(this.a8.containsKey(this.i._inner[e].es))this.a9.containsKey(this.i._inner[e].es)||this.a9.item(this.i._inner[e].es,new i.List$1(Me.$,0)),this.a9.item(this.i._inner[e].es).add(this.i._inner[e])}for(var n=0;n<this.i.count;n++)if(6==this.i._inner[n].aa){var r=this.i._inner[n].ht;null==r&&(r="null"),this.ba.containsKey(r)||this.ba.item(r,new i.List$1(Me.$,0)),this.ba.item(r).add(this.i._inner[n])}},r.prototype.a3=function(t){return null!=t.cz&&this.a9.containsKey(t.cz)},r.prototype.h=function(t){return this.a8.containsKey(t)?this.a8.item(t):null},r.prototype.bb=function(t){return null==t.cz?null:this.a9.containsKey(t.cz)?this.a9.item(t.cz):null},r.prototype.l=function(t){var e=new de;return this.gl(e),t.fg(this,e),this.gc(this.k,e),e},r.prototype.gl=function(t){t.a=this.u,t.c=this.br},r.prototype.gc=function(t,e){i.isNaN_(e.f)||(i.isNaN_(t.f)?t.f=e.f:t.f=Math.max(t.f,e.f)),i.isNaN_(e.h)||(i.isNaN_(t.h)?t.h=e.h:t.h=Math.max(t.h,e.h))},r.prototype.gv=function(){this.k=new de,this.k.a=this.u,this.k.c=this.br},r.prototype.j1=function(){this.br;var t=0,e=0;if(0==this.u)for(var n=0;n<this.actions.count;n++){var r=this.l(this.actions._inner[n]);t=Math.max(r.e,t),0==this.actions._inner[n].hk&&(n>0&&(e+=this.cj),i.isNaN_(r.d)?e+=this.b4:e+=r.d)}else{if(2==this.u)return this.f.h7();if(1==this.u)for(var o=0;o<this.actions.count;o++){var s=this.l(this.actions._inner[o]);0==this.actions._inner[o].hk&&(o>0&&(t+=this.cj),i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].hk&&(e=i.isNaN_(s.d)?this.b4:s.d)}}return new i.Size(1,t,e)},r.prototype.f6=function(){null!=this.f&&this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.f8=function(){this.ax&&this.f5(),null!=this.f&&this.f.f1()},r.prototype.gs=function(){null!=this.f&&this.f.g9()},r.prototype.gq=function(t){var e=t.ht;null==e&&(e="null");var i=t.cz;if(null!=this.ba&&this.ba.containsKey(e))for(var n=0;n<this.ba.item(e).count;n++)this.ba.item(e)._inner[n].cz!=i&&this.ba.item(e)._inner[n].h0()},r.prototype.ga=function(t,e){"ExecutionContext"!=e.propertyName&&this.ge()},r.prototype.f2=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fc()},r.prototype.gm=function(){for(var t=0;t<this.actions.count;t++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actions._inner[t])){var e=this.actions._inner[t];e.propertyChanged=i.delegateRemove(e.propertyChanged,i.runOn(this,this.ga))}this.actions._inner[t].d=null}},r.prototype.notifySizeChanged=function(){this.v.ad()},r.prototype.destroy=function(){this.provideContainer(null),this.f2()},r.prototype.provideContainer=function(t){this.v.af(t),null!=this.ap&&null!=this.v.r&&this.ap.w(this.v.r)},Object.defineProperty(r.prototype,"ap",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.gh("CellTextStyle",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"am",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.gh("ActualCellTextStyle",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ao",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.gh("ActualSubtitleTextStyle",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"as",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.gh("SubtitleTextStyle",e,this.al)},enumerable:!1,configurable:!0}),r.prototype.aq=function(){return null==this.ap?this.v.h():this.ap},Object.defineProperty(r.prototype,"ar",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.gh("GroupHeaderTextStyle",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"an",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.gh("ActualGroupHeaderTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),r.prototype.gh=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gn(t,e,n)},r.prototype.gn=function(t,n,r){var o,s,a,h;switch(t){case"BaseTheme":case"TextColor":case"BackgroundColor":case"SubmenuBackgroundColor":case"GroupHeaderTextColor":case"GroupHeaderBackgroundColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"SeparatorHorizontalPaddingLeft":case"SeparatorHorizontalPaddingRight":case"SeparatorHorizontalPaddingTop":case"SeparatorHorizontalPaddingBottom":case"SeparatorVerticalPaddingLeft":case"SeparatorVerticalPaddingRight":case"SeparatorVerticalPaddingTop":case"SeparatorVerticalPaddingBottom":case"CellTextStyle":case"HighlightRadius":case"HighlightWidth":case"HighlightColor":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":case"GroupHeaderTextStyle":this.hi();break;case"ActualTextColor":case"ActualIconFill":case"ActualIconStroke":case"ActualSubmenuBackgroundColor":case"ActualGroupHeaderTextColor":case"ActualGroupHeaderBackgroundColor":case"ActualSeparatorBackgroundColor":case"ActualHoverBackgroundColor":case"ActualToolTipTextColor":case"ActualToolTipBackgroundColor":case"ActualToolTipCornerRadius":case"ActualToolTipElevation":case"ActualSeparatorHorizontalPaddingLeft":case"ActualSeparatorHorizontalPaddingRight":case"ActualSeparatorHorizontalPaddingTop":case"ActualSeparatorHorizontalPaddingBottom":case"ActualSeparatorVerticalPaddingLeft":case"ActualSeparatorVerticalPaddingRight":case"ActualSeparatorVerticalPaddingTop":case"ActualSeparatorVerticalPaddingBottom":case"ActualCellTextStyle":case"ActualHighlightRadius":case"ActualHighlightWidth":case"ActualHighlightColor":case"ActualUncheckedBackgroundColor":case"ActualUncheckedBorderColor":case"ActualCheckedBackgroundColor":case"ActualCheckedBorderColor":case"ActualSubtitleTextColor":case"ActualGroupHeaderSubtitleTextColor":case"ActualSubtitleTextStyle":case"ActualDropdownDelay":case"ActualGroupHeaderTextStyle":this.hh(this.actions);break;case"ActualBackgroundColor":this.hf();break;case"ActualDensity":this.he(this.actions);break;case"Density":0==this.ae?this.ad=this.af:this.ad=this.ae;break;case"Orientation":null!=this.f&&(this.f.ad=this.u,this.v.ai());break;case"ItemSpacing":null!=this.f&&(this.f.c8=this.cj);break;case"Actions":if(null!=n){var u=n;u.collectionChanged=i.delegateRemove(u.collectionChanged,i.runOn(this,this.fz)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.f0));try{for(var l=e.__values(i.fromEnum(u)),c=l.next();!c.done;c=l.next()){var p=c.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,p)){var f=p;f.propertyChanged=i.delegateRemove(f.propertyChanged,i.runOn(this,this.ga))}p.fc(),p.d=null,p.go(null)}}catch(t){o={error:t}}finally{try{c&&!c.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}}if(null!=r){var d=r;d.collectionChanged=i.delegateCombine(d.collectionChanged,i.runOn(this,this.fz)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.f0));try{for(var b=e.__values(i.fromEnum(d)),g=b.next();!g.done;g=b.next()){var y=g.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,y)){var m=y;m.propertyChanged=i.delegateCombine(m.propertyChanged,i.runOn(this,this.ga))}y.d=this.c,y.go(this)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=b.return)&&h.call(b)}finally{if(a)throw a.error}}}this.hh(this.actions),this.gp();break;case"ScrollbarStyle":null!=this.f&&(this.f.a0=this.w);break;case"StopPropagation":for(var v=0;v<this.actions.count;v++)this.actions._inner[v].bf=this.a7}},r.prototype.hi=function(){switch(this.z){case 0:case 1:case 2:this.i7=null!=this.ju?this.ju:i.BrushUtil.h(255,24,29,31),this.i6=null!=this.jt?this.jt:i.BrushUtil.h(102,24,29,31),this.iu=null!=this.jf?this.jf:i.BrushUtil.h(102,0,0,0),this.ir=null!=this.jc?this.jc:i.BrushUtil.h(255,255,255,255),this.i5=null!=this.js?this.js:i.BrushUtil.h(255,255,255,255),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,237,239,245),this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,142,143,147),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,142,143,147),this.i4=null!=this.jr?this.jr:i.BrushUtil.h(255,237,239,245),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(25,0,0,0),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(51,178,191,220),this.i9=null!=this.jw?this.jw:i.BrushUtil.h(255,0,0,0),this.i1=null!=this.jo?this.jo:i.BrushUtil.h(255,0,0,0),this.i2=null!=this.jp?this.jp:i.BrushUtil.h(255,0,0,0),this.i8=null!=this.jv?this.jv:i.BrushUtil.h(255,237,239,245),this.cd=i.isNaN_(this.cs)?8:this.cs,this.ce=i.isNaN_(this.ct)?4:this.ct,this.ca=i.isNaN_(this.cp)?0:this.cp,this.cb=i.isNaN_(this.cq)?0:this.cq,this.cc=i.isNaN_(this.cr)?0:this.cr,this.b9=i.isNaN_(this.co)?0:this.co,this.b6=i.isNaN_(this.cl)?0:this.cl,this.b7=i.isNaN_(this.cm)?0:this.cm,this.b8=i.isNaN_(this.cn)?i.DeviceUtils.g(10):this.cn,this.b5=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.an=null!=this.ar?this.ar:this.v.i(),this.am=null!=this.ap?this.ap:this.v.h(),this.ao=null!=this.as?this.as:this.v.j(),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,110,137,247),this.b2=i.isNaN_(this.ch)?6:this.ch,this.b3=i.isNaN_(this.ci)?1:this.ci,this.i3=null!=this.jq?this.jq:i.BrushUtil.h(255,0,0,0),this.ja=this.jx,this.jb=this.jy,this.is=this.jd,this.it=this.je,this.cy=-1!=this.c0?this.c0:500;break;case 5:case 3:this.i7=null!=this.ju?this.ju:i.BrushUtil.h(255,24,29,31),this.i6=null!=this.jt?this.jt:i.BrushUtil.h(102,24,29,31),this.iu=null!=this.jf?this.jf:i.BrushUtil.h(102,0,0,0),this.ir=null!=this.jc?this.jc:i.BrushUtil.h(255,255,255,255),this.i5=null!=this.js?this.js:i.BrushUtil.h(255,255,255,255),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,237,239,245),this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,142,143,147),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,142,143,147),this.i4=null!=this.jr?this.jr:i.BrushUtil.h(255,237,239,245),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(25,0,0,0),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(51,178,191,220),this.i9=null!=this.jw?this.jw:i.BrushUtil.h(255,0,0,0),this.i1=null!=this.jo?this.jo:i.BrushUtil.h(255,0,0,0),this.i2=null!=this.jp?this.jp:i.BrushUtil.h(255,0,0,0),this.i8=null!=this.jv?this.jv:i.BrushUtil.h(255,237,239,245),this.cd=i.isNaN_(this.cs)?8:this.cs,this.ce=i.isNaN_(this.ct)?4:this.ct,this.ca=i.isNaN_(this.cp)?0:this.cp,this.cb=i.isNaN_(this.cq)?0:this.cq,this.cc=i.isNaN_(this.cr)?0:this.cr,this.b9=i.isNaN_(this.co)?0:this.co,this.b6=i.isNaN_(this.cl)?i.DeviceUtils.g(5):this.cl,this.b7=i.isNaN_(this.cm)?i.DeviceUtils.g(5):this.cm,this.b8=i.isNaN_(this.cn)?i.DeviceUtils.g(10):this.cn,this.b5=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.an=null!=this.ar?this.ar:this.v.i(),this.am=null!=this.ap?this.ap:this.v.h(),this.ao=null!=this.as?this.as:this.v.j(),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,110,137,247),this.b2=i.isNaN_(this.ch)?6:this.ch,this.b3=i.isNaN_(this.ci)?1:this.ci,this.i3=null!=this.jq?this.jq:i.BrushUtil.h(255,0,0,0),this.ja=this.jx,this.jb=this.jy,this.is=this.jd,this.it=this.je,this.cy=-1!=this.c0?this.c0:500;break;case 6:case 4:this.i7=null!=this.ju?this.ju:i.BrushUtil.h(255,255,255,255),this.i6=null!=this.jt?this.jt:i.BrushUtil.h(102,255,255,255),this.iu=null!=this.jf?this.jf:i.BrushUtil.h(102,255,255,255),this.ir=null!=this.jc?this.jc:i.BrushUtil.h(255,55,63,86),this.i5=null!=this.js?this.js:i.BrushUtil.h(255,55,63,86),this.iv=null!=this.ji?this.ji:i.BrushUtil.h(255,44,50,70),this.iy=null!=this.jl?this.jl:i.BrushUtil.h(255,255,255,255),this.ix=null!=this.jk?this.jk:i.BrushUtil.h(102,255,255,255),this.i4=null!=this.jr?this.jr:i.BrushUtil.h(255,44,50,70),this.iw=null!=this.jj?this.jj:i.BrushUtil.h(25,0,0,0),this.i0=null!=this.jn?this.jn:i.BrushUtil.h(25,105,136,255),this.i9=null!=this.jw?this.jw:i.BrushUtil.h(255,255,255,255),this.i1=null!=this.jo?this.jo:i.BrushUtil.h(255,255,255,255),this.i2=null!=this.jp?this.jp:i.BrushUtil.h(255,255,255,255),this.i8=null!=this.jv?this.jv:i.BrushUtil.h(255,44,50,70),this.cd=i.isNaN_(this.cs)?8:this.cs,this.ce=i.isNaN_(this.ct)?4:this.ct,this.ca=i.isNaN_(this.cp)?0:this.cp,this.cb=i.isNaN_(this.cq)?0:this.cq,this.cc=i.isNaN_(this.cr)?0:this.cr,this.b9=i.isNaN_(this.co)?0:this.co,this.b6=i.isNaN_(this.cl)?i.DeviceUtils.g(5):this.cl,this.b7=i.isNaN_(this.cm)?i.DeviceUtils.g(5):this.cm,this.b8=i.isNaN_(this.cn)?i.DeviceUtils.g(10):this.cn,this.b5=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.an=null!=this.ar?this.ar:this.v.i(),this.am=null!=this.ap?this.ap:this.v.h(),this.ao=null!=this.as?this.as:this.v.j(),this.iz=null!=this.jm?this.jm:i.BrushUtil.h(255,110,137,247),this.b2=i.isNaN_(this.ch)?6:this.ch,this.b3=i.isNaN_(this.ci)?1:this.ci,this.i3=null!=this.jq?this.jq:i.BrushUtil.h(255,255,255,255),this.ja=this.jx,this.jb=this.jy,this.is=this.jd,this.it=this.je,this.cy=-1!=this.c0?this.c0:500}},r.prototype.hh=function(t){for(var e=0;e<t.count;e++)t._inner[e].g0(),this.hh(t._inner[e].actions)},r.prototype.he=function(t){for(var e=0;e<t.count;e++)t._inner[e].gw(this.ad),this.he(t._inner[e].actions)},r.prototype.hf=function(){null!=this.v.r&&i.NativeUI.m(this.v.x,this.ir)},Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.gh("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ae",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.gh("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ad",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.gh("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jc",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.gh("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ir",{get:function(){return this.hj},set:function(t){var e=this.hj;this.hj=t,e!=this.hj&&this.gh("ActualBackgroundColor",e,this.hj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"js",{get:function(){return this.ij},set:function(t){var e=this.ij;this.ij=t,e!=this.ij&&this.gh("SubmenuBackgroundColor",e,this.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i5",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.gh("ActualSubmenuBackgroundColor",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ji",{get:function(){return this.h8},set:function(t){var e=this.h8;this.h8=t,e!=this.h8&&this.gh("GroupHeaderBackgroundColor",e,this.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iv",{get:function(){return this.hn},set:function(t){var e=this.hn;this.hn=t,e!=this.hn&&this.gh("ActualGroupHeaderBackgroundColor",e,this.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jr",{get:function(){return this.ii},set:function(t){var e=this.ii;this.ii=t,e!=this.ii&&this.gh("SeparatorBackgroundColor",e,this.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i4",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.gh("ActualSeparatorBackgroundColor",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jj",{get:function(){return this.h9},set:function(t){var e=this.h9;this.h9=t,e!=this.h9&&this.gh("GroupHeaderSeparatorBackgroundColor",e,this.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iw",{get:function(){return this.ho},set:function(t){var e=this.ho;this.ho=t,e!=this.ho&&this.gh(r.dj,e,this.ho)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jn",{get:function(){return this.id},set:function(t){var e=this.id;this.id=t,e!=this.id&&this.gh("HoverBackgroundColor",e,this.id)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i0",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,e!=this.hs&&this.gh("ActualHoverBackgroundColor",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ju",{get:function(){return this.il},set:function(t){var e=this.il;this.il=t,e!=this.il&&this.gh("TextColor",e,this.il)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i7",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.gh("ActualTextColor",e,this.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i6",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.gh("ActualSubtitleTextColor",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jt",{get:function(){return this.ik},set:function(t){var e=this.ik;this.ik=t,e!=this.ik&&this.gh("SubtitleTextColor",e,this.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.h7},set:function(t){var e=this.h7;this.h7=t,e!=this.h7&&this.gh("DisabledTextColor",e,this.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iu",{get:function(){return this.hm},set:function(t){var e=this.hm;this.hm=t,e!=this.hm&&this.gh("ActualDisabledTextColor",e,this.hm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jl",{get:function(){return this.ib},set:function(t){var e=this.ib;this.ib=t,e!=this.ib&&this.gh("GroupHeaderTextColor",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iy",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,e!=this.hq&&this.gh("ActualGroupHeaderTextColor",e,this.hq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jk",{get:function(){return this.ia},set:function(t){var e=this.ia;this.ia=t,e!=this.ia&&this.gh("GroupHeaderSubtitleTextColor",e,this.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ix",{get:function(){return this.hp},set:function(t){var e=this.hp;this.hp=t,e!=this.hp&&this.gh("ActualGroupHeaderSubtitleTextColor",e,this.hp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jw",{get:function(){return this.io},set:function(t){var e=this.io;this.io=t,e!=this.io&&this.gh("ToolTipTextColor",e,this.io)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i9",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.gh("ActualToolTipTextColor",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jv",{get:function(){return this.im},set:function(t){var e=this.im;this.im=t,e!=this.im&&this.gh("ToolTipBackgroundColor",e,this.im)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i8",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.gh("ActualToolTipBackgroundColor",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cs",{get:function(){return this.b0},set:function(t){var e=this.b0;this.b0=t,e!=this.b0&&this.gh("ToolTipCornerRadius",e,this.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cd",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.gh("ActualToolTipCornerRadius",e,this.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ct",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.gh("ToolTipElevation",e,this.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ce",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.gh("ActualToolTipElevation",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jo",{get:function(){return this.ie},set:function(t){var e=this.ie;this.ie=t,e!=this.ie&&this.gh("IconFill",e,this.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i1",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.gh("ActualIconFill",e,this.ht)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jp",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.gh("IconStroke",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i2",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.gh("ActualIconStroke",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cp",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bx=t,e!=this.bx&&this.gh("SeparatorVerticalPaddingLeft",e,this.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ca",{get:function(){return this.bj},set:function(t){var e=this.bj;this.bj=t,e!=this.bj&&this.gh("ActualSeparatorVerticalPaddingLeft",e,this.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cq",{get:function(){return this.by},set:function(t){var e=this.by;this.by=t,e!=this.by&&this.gh("SeparatorVerticalPaddingRight",e,this.by)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cb",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,e!=this.bk&&this.gh("ActualSeparatorVerticalPaddingRight",e,this.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cr",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.gh("SeparatorVerticalPaddingTop",e,this.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cc",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.gh("ActualSeparatorVerticalPaddingTop",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"co",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.gh("SeparatorVerticalPaddingBottom",e,this.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b9",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.gh("ActualSeparatorVerticalPaddingBottom",e,this.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cl",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.gh("SeparatorHorizontalPaddingLeft",e,this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b6",{get:function(){return this.bf},set:function(t){var e=this.bf;this.bf=t,e!=this.bf&&this.gh("ActualSeparatorHorizontalPaddingLeft",e,this.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cm",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.gh("SeparatorHorizontalPaddingRight",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b7",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,e!=this.bg&&this.gh("ActualSeparatorHorizontalPaddingRight",e,this.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cn",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.gh("SeparatorHorizontalPaddingTop",e,this.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b8",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,e!=this.bh&&this.gh("ActualSeparatorHorizontalPaddingTop",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ck",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.gh("SeparatorHorizontalPaddingBottom",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b5",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.gh("ActualSeparatorHorizontalPaddingBottom",e,this.be)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"u",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.gh("Orientation",i.enumGetBox(ee,e),i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),r.prototype.gk=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.aa&&this.gq(t)},Object.defineProperty(r.prototype,"c3",{get:function(){return null!=this.f?this.f.ee:this.cx},set:function(t){this.cx=t,null!=this.f&&(this.f.ee=this.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b4",{get:function(){return null!=this.f?this.f.c5:-1!=this.cx?this.cx:42},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ci",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.gh("HighlightWidth",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b3",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.gh("ActualHighlightWidth",e,this.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ch",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,e!=this.bo&&this.gh("HighlightRadius",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b2",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.gh("ActualHighlightRadius",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jm",{get:function(){return this.ic},set:function(t){var e=this.ic;this.ic=t,e!=this.ic&&this.gh("HighlightColor",e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iz",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.gh("ActualHighlightColor",e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jq",{get:function(){return this.ih},set:function(t){var e=this.ih;this.ih=t,e!=this.ih&&this.gh("MenuArrowStroke",e,this.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i3",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.gh("ActualMenuArrowStroke",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jx",{get:function(){return this.ip},set:function(t){var e=this.ip;this.ip=t,e!=this.ip&&this.gh("UncheckedBackgroundColor",e,this.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ja",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.gh("ActualUncheckedBackgroundColor",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jd",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.gh("CheckedBackgroundColor",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"is",{get:function(){return this.hk},set:function(t){var e=this.hk;this.hk=t,e!=this.hk&&this.gh("ActualCheckedBackgroundColor",e,this.hk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jy",{get:function(){return this.iq},set:function(t){var e=this.iq;this.iq=t,e!=this.iq&&this.gh("UncheckedBorderColor",e,this.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jb",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.gh("ActualUncheckedBorderColor",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"je",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.gh("CheckedBorderColor",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"it",{get:function(){return this.hl},set:function(t){var e=this.hl;this.hl=t,e!=this.hl&&this.gh("ActualCheckedBorderColor",e,this.hl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.gh("DropdownDelay",e,this.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cy",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.gh("ActualDropdownDelay",e,this.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.gh("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.w))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cj",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.gh("ItemSpacing",e,this.bq)},enumerable:!1,configurable:!0}),r.prototype.gg=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.gt=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new pi).a=t,e))},r.prototype.gu=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new pi).a=t,e))},r.prototype.f3=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fd()},Object.defineProperty(r.prototype,"a4",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].ba)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){this.ac=t},enumerable:!1,configurable:!0}),r.prototype.hg=function(t){this.af=t,0==this.ae&&(this.ad=t)},r.prototype.c4=function(){var t=new Re;t.a=this.f.eh();for(var e=function(e){var n,r=i.actions._inner[e],o=r.e();if(t.b.add1(r.cr()),null!=o){var s=((n=new Ee).a=o.af(),n);t.c.add(s)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.ep=function(){return this.c4().serialize()},r.prototype.g0=function(t,e){r.g1(this.p,t,e)},r.g1=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.jg=function(t){return r.jh(this.p,t)},r.jh=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c6(t,e)},r.prototype.gy=function(t,e){r.gz(this.p,t,e)},r.gz=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.a=function(t){return r.b(this.p,t)},r.b=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c6(t,e)},r.prototype.g8=function(t,e){r.g9(this.p,t,e)},r.g9=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.cf=function(t){return r.cg(this.p,t)},r.cg=function(t,e){return i.stringIsNullOrEmpty(e)?NaN:r.c6(t,e)},r.prototype.ha=function(t,e){r.hb(this.p,t,e)},r.hb=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.c1=function(t){return r.c2(this.p,t)},r.c2=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.c6(t,e))},r.prototype.hc=function(t,e){r.hd(this.p,t,e)},r.hd=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.eq=function(t){return r.er(this.p,t)},r.er=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c6(t,e)},r.prototype.gw=function(t,e){r.gx(this.p,t,e)},r.gx=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.a1=function(t){return r.a2(this.p,t)},r.a2=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.c6(t,e)},r.prototype.g2=function(t,e){r.g3(this.p,t,e)},r.g3=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.jz=function(t){return r.j0(this.p,t)},r.j0=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.c6(t,e)},r.prototype.g6=function(t,e){r.g7(this.p,t,e)},r.g7=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g5(t,e,n)},r.prototype.c7=function(t){return r.c8(this.p,t)},r.c8=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c6(t,e)},r.prototype.g4=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.g5=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.c5=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.c6=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.f7=function(){this.v.aa()},r.prototype.gb=function(t){null!=this.f&&this.f.fr(t)},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.dj="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),pi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"DrillDownRequestedEventArgs"),n}(i.Base),fi=function(t){function n(e,n){var r=t.call(this)||this;return r.ad=null,r.i=null,r.j=null,r.aa=0,r.p=null,r.a=null,r.d=null,r.g=null,r.a1=null,r.a2=null,r.q=null,r.b=null,r.e=null,r.h=null,r.c=null,r.f=null,r.y=new i.Queue$1(bi.$),r.u=!1,r.s=null,r.r=null,r.w=new i.List$1(di.$,0),r.n=1,r.z=200,r.t=null,r.ac=0,r.v=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ad=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a1},set:function(t){this.d.d=this.a1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a2},set:function(t){this.g.d=this.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.av("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.z},set:function(t){this.z=t},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var e=this;i.NativeUIComponent.aw(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bn(e.r),e.r.bd=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a5=function(){return null!=this.j?this.j.f():this.s.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.k=function(){return this.j},n.prototype.ag=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.x.count;r++)if(this.x._inner[r].b==t)return void(null!=e&&e(this.x._inner[r].a));i.NativeUIComponent.au(this.ad,13,(function(r){var o=r;o.c=n.o,o.ck=t.r.ju,o.bu=t.r.p,o.ca=t.r.jf,o.b7=t.r.js,o.ci=t.r.js,o.cb=t.r.ji,o.cd=t.r.jl,o.ch=t.r.jr,o.bw=t.r.am,o.cl=t.r.jx,o.cm=t.r.jy,o.b8=t.r.jd,o.b9=t.r.je,o.cg=t.r.jq,o.ce=t.r.jo,o.cf=t.r.jp,o.cj=t.r.jt,o.cc=t.r.jk,o.by=t.r.as,o.bx=t.r.ar,-1!=t.cp&&(o.b1=t.cp),o.bt=t.actions,o.bm=i.runOn(n,n.at),o.bn=i.runOn(n,n.au),o.bs=i.runOn(n,n.ar),n.r.bn(o),n.aa=0;for(var s=0;s<n.x.count;s++){var a=n.x._inner[s].f();n.aa+=a.width,n.x._inner[s].a.ae=a.width}n.r.bu(o,n.aa),n.r.bv(o,0),n.x.add(new di(t,o,n.aa)),n.ay(),null!=e&&e(o)}))},n.prototype.am=function(t){for(var e=0;e<this.x.count;e++)this.x._inner[e].a==t&&this.ao(e)},n.prototype.ao=function(t){this.an(this.x._inner[t])},n.prototype.an=function(t,e){void 0===e&&(e=null),this.ah(t,-Math.floor(t.c),e),this.j=t},n.prototype.at=function(t,e){var i=this;if(this.ac++,this.x.count>1&&this.ac<this.x.count){for(var n=this.x.count-1;n>this.ac;n--)this.x._inner[n].a.bm=null,this.x._inner[n].a.bn=null,this.r.bp(this.x._inner[n].a),this.aa-=this.x._inner[n].a.ae,this.x.removeAt(n);if(this.x._inner[this.ac].b==e.a)return void this.am(this.x._inner[this.ac].a);this.x._inner[this.ac].a.bm=null,this.x._inner[this.ac].a.bn=null,this.r.bp(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.ae,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.el&&(t.ap=e.a.el+"SubMenu"),i.i.executeDelayed((function(){return i.am(t)}),0)}))},n.prototype.au=function(t,e){this.ac=Math.max(0,this.ac-1),this.an(this.x._inner[this.ac],(function(){}))},n.prototype.ar=function(t,e){null!=this.t&&this.t(e)},n.prototype.ah=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.aj(),null==this.r.bd){var s=t.f();return this.s.ae=Math.floor(s.width),void(this.s.y=Math.floor(s.height))}if(1==this.p.playState)this.p.playbackRate>0&&this.a3.j==e||this.p.playbackRate<0&&this.a4.j==e?(this.p.reverse(),this.q.reverse()):this.y.g(((r=new bi).a=t,r.c=e,r.b=n,r));else{this.a3=function(){var t=new i.TranslateTransform;return t.j=o.a4.j,t}(),this.a4=function(){var t=new i.TranslateTransform;return t.j=e,t}();var a=t.f();this.e.d=this.s.ae,this.c.d=this.s.y,this.h.d=Math.floor(a.width),this.f.d=Math.floor(a.height),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){return o.aq(n)})),this.q.updatePlaybackRate(1),this.q.play(),this.q.finished.f((function(t){null!=o.q&&o.q.commitStyles()}))}},n.prototype.aj=function(){if(null==this.p){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.ab,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.r.an,0,null,t),this.a1=((e=new i.TranslateTransform).j=0,e),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.a1),this.g=new i.AnimationKeyFrameProperty(14,this.a2),this.p=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.s.an,0,null,t),this.e=new i.AnimationKeyFrameProperty(9,0),this.c=new i.AnimationKeyFrameProperty(10,0),this.h=new i.AnimationKeyFrameProperty(9,0),this.f=new i.AnimationKeyFrameProperty(10,0),this.q=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.aq=function(t){var e,n=this;if(null!=this.p&&this.p.commitStyles(),null!=t&&t(),this.p.playbackRate<0){var r=this.a4.j;this.a4=((e=new i.TranslateTransform).j=n.a3.j,e),this.a3=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.y.count>0){var o=this.y.b();this.an(o.a,o.b)}},n.prototype.ay=function(){this.v||(this.v=!0,this.i.enqueueAction(i.runOn(this,this.ai)))},n.prototype.ak=function(){this.ai()},n.prototype.ai=function(){if(this.v){this.v=!1;for(var t=0;t<this.x.count;t++){this.x._inner[t].e();var e=this.x._inner[t].f();this.x._inner[t].a.ae=e.width,this.x._inner[t].a.y=e.height,this.x._inner[t].a.b4(e),this.u||(1!=this.q.playState?this.ac==t&&(this.s.ae=e.width,this.s.y=e.height):(this.h.d=Math.floor(e.width),this.f.d=Math.floor(e.height)))}this.u=!1}},n.prototype.az=function(){this.ac=0,this.r.bd=new i.MatrixTransform;var t,e=this.x._inner[0].f();this.s.ae=Math.floor(e.width),this.s.y=Math.floor(e.height),this.a1=((t=new i.TranslateTransform).j=0,t),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.a0=function(t,e){this.n=t;for(var i=0;i<this.x.count;i++){var n=this.x._inner[i].a;n.c=t,n.ck=e.ju,n.ca=e.jf,n.b7=e.js,n.ci=e.js,n.cb=e.ji,n.cd=e.jl,n.ch=e.jr}},n.prototype.ap=function(){var t=this.x._inner[this.ac].f();this.x._inner[this.ac].a.ae=t.width,this.x._inner[this.ac].a.y=t.height,this.x._inner[this.ac].d(t),1!=this.q.playState?(this.s.ae=t.width,this.s.y=t.height):(this.h.d=Math.floor(t.width),this.f.d=Math.floor(t.height))},n.prototype.as=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.aw=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.av=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},n.prototype.ax=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.x.count;n++)this.x._inner[n].a.c=this.o}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),di=function(t){function n(e,i,n){var r=t.call(this)||this;return r.c=0,r.a=null,r.b=null,r.b=e,r.a=i,r.c=n,r}return e.__extends(n,t),n.prototype.f=function(){return this.a.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.b5()},n.prototype.d=function(t){this.a.b4(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),bi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=0,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PanelAnimationRequest"),n}(i.Base),gi=function(t){function n(e){var n=t.call(this)||this;if(Ci.$type||(Ci.$type=i.markType(Ci,"IgcToolActionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Ci.$type||(Ci.$type=i.markType(Ci,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(Ci.$type,Me.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=Ci._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),yi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Zt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"closeOnExecute",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),mi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new fe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"actionId",{get:function(){return this.i.g},set:function(t){this.i.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"actionType",{get:function(){return this.i.a},set:function(t){this.i.a=i.ensureEnum(i.ToolActionType_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModified",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"boolValue",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"numberValue",{get:function(){return this.i.e},set:function(t){this.i.e=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"dateTimeValue",{get:function(){return this.i.d},set:function(t){this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"untypedValue",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"stringValue",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),vi=function(t){function n(e){var n=t.call(this)||this;if(mi.$type||(mi.$type=i.markType(mi,"IgcToolActionEventDetail")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){mi.$type||(mi.$type=i.markType(mi,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(mi.$type,fe.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new mi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),_i=function(){function t(){this._detailCollection=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ge},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"isAggregate",{get:function(){return this.i.c},set:function(t){this.i.c=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detail",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new mi;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"detailCollection",{get:function(){if(null===this._detailCollection){var t=new vi,e=this.i.b;e||(e=new be),this._detailCollection=t._fromInner(e),this.i.b=e}return this._detailCollection},set:function(t){null!==this._detailCollection&&(this._detailCollection._setSyncTarget(null),this._detailCollection=null);var e=new vi;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(fe.$type),r=this.i.b;r||(r=new be),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),Ci=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._contextBindings=null,e._actions=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return null},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._initializeAdapters=function(){var n=this;this.__observingChildren||(this.__observingChildren=!0,new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&(n.updateContentChildren?n.updateContentChildren():n._initializeAdapters&&n.initializeAdapters())}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(this,{childList:!0}));this._actionsAdapter=new i.CollectionAdapter(this.contentActions,this.i.actions,this.actualActions,(function(t){return t.i}),(function(t){n._initializeElement&&n._initializeElement(t)}),(function(t){n._destroyElement&&n._destroyElement(t)})),t.prototype._initializeAdapters&&t.prototype._initializeAdapters.call(this)},n.prototype._updateAdapters=function(){t.prototype._updateAdapters&&t.prototype._updateAdapters.call(this),this.contentActions.length=0;for(var e=0;e<this.children.length;e++)this.children[e]instanceof n&&this.contentActions.push(this.children[e]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComponent=t}return n._observedAttributesIgcToolActionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ba},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contextBindings",{get:function(){if(null===this._contextBindings){var t=new Qt,e=this.i.contextBindings;e||(e=new ce),this._contextBindings=t._fromInner(e),this.i.contextBindings=e}return this._contextBindings},set:function(t){null!==this._contextBindings&&(this._contextBindings._setSyncTarget(null),this._contextBindings=null);var e=new Qt;this._contextBindings=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Kt.$type),r=this.i.contextBindings;r||(r=new ce),n._inner=r,n.clear(),this._contextBindings._setSyncTarget(n),this.i.contextBindings=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actionId",{get:function(){return this.i.cz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){return this._actualActions||(this._actualActions=[]),this._actualActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentActions",{get:function(){return this._contentActions||(this._contentActions=[]),this._contentActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new gi,n=e._innerColl;this._actions=e,n.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}}))}return this._actions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("width",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("height",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("subPanelRowHeight",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.es},set:function(t){this.i.es=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.dm},set:function(t){this.i.dm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.dj},set:function(t){this.i.dj=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.en},set:function(t){this.i.en=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.ds},set:function(t){this.i.ds=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.dp},set:function(t){this.i.dp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.cq},set:function(t){this.i.cq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("paddingLeft",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualPaddingLeft",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("paddingRight",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualPaddingRight",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("paddingBottom",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualPaddingBottom",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("paddingTop",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualPaddingTop",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.g7)},set:function(t){this.i.g7=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.g7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.hf)},set:function(t){this.i.hf=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.g4)},set:function(t){this.i.g4=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.g4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.hc)},set:function(t){this.i.hc=i.stringToBrush(t),this._a("background",i.brushToString(this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.hb)},set:function(t){this.i.hb=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.hb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.ha)},set:function(t){this.i.ha=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.ha))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.g5)},set:function(t){this.i.g5=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.g5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return this.i.ae},set:function(t){this.i.ae=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.ah?null:this.i.ah.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ah=e,this._a("textStyle",null!=this.i.ah?this.i.ah.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextStyle",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.ag?null:this.i.ag.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ag=e,this._a("subtitleTextStyle",null!=this.i.ag?this.i.ag.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.a8},set:function(t){this.i.a8=i.ensureBool(t),this._a("isDisabled",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.a9},set:function(t){this.i.a9=i.ensureBool(t),this._a("isHighlighted",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.el},set:function(t){this.i.el=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.e5},set:function(t){this.i.e5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.ez},set:function(t){this.i.ez=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"titleHorizontalAlignment",{get:function(){return this.i.g2},set:function(t){this.i.g2=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("titleHorizontalAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.g2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.d9},set:function(t){this.i.d9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.d4},set:function(t){this.i.d4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("iconViewBoxLeft",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("iconViewBoxTop",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("iconViewBoxWidth",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("iconViewBoxHeight",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.hg)},set:function(t){this.i.hg=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.g8)},set:function(t){this.i.g8=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.g8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFillColors",{get:function(){return i.fromBrushCollection(this.i.a)},set:function(t){this.i.a=i.toBrushCollection(t),this._a("iconFillColors",i.brushCollectionToString(this.i.a))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.hh)},set:function(t){this.i.hh=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.hh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.g9)},set:function(t){this.i.g9=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.g9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.b)},set:function(t){this.i.b=i.toBrushCollection(t),this._a("iconStrokeColors",i.brushCollectionToString(this.i.b))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeWidth",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconStrokeWidth",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("iconWidth",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualIconWidth",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("iconHeight",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualIconHeight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.hk},set:function(t){this.i.hk=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.hk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("closeOnExecute",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("highlightWidth",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualHighlightWidth",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("highlightRadius",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("actualHighlightRadius",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.he)},set:function(t){this.i.he=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.he))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.g6)},set:function(t){this.i.g6=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.g6))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.contextBindings&&this.contextBindings.findByName&&this.contextBindings.findByName(t)?this.contextBindings.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolActionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.openSubMenu=function(){this.i.ge()},n.prototype.closeSubmenu=function(){this.i.fd()},n.prototype.exportVisualData=function(){return this.i.cr()},n.prototype.exportSerializedVisualData=function(){return this.i.dy()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new yi;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"performed",{get:function(){return this._performed},set:function(t){var e=this;null!==this._performed_wrapped&&(this.i.performed=i.delegateRemove(this.i.performed,this._performed_wrapped),this._performed_wrapped=null,this._performed=null),this._performed=t,this._performed_wrapped=function(t,i){var n=new _i;n._provideImplementation(i),e.beforePerformed&&e.beforePerformed(e,n),e._performed&&e._performed(e,n)},this.i.performed=i.delegateCombine(this.i.performed,this._performed_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComponent=null,n}(i.IgcHTMLElement),ji=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ze},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionLabelComponent=t}return n._observedAttributesIgcToolActionLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(Ci),Pi=function(){function t(){}return t.register=function(){ji.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",ji),i.TypeRegistrar.register("ToolActionLabel",Ze.$type)},t}(),wi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new oi},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxComponent=t}return n._observedAttributesIgcToolActionCheckboxComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.hm},set:function(t){this.i.hm=i.ensureBool(t),this._a("isChecked",this.i.hm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(Ci),Oi=function(){function t(){}return t.register=function(){wi.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",wi),i.TypeRegistrar.register("ToolActionCheckbox",oi.$type)},t}(),Ti=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),Ii=function(t){function n(e){var n=t.call(this)||this;if(Ti.$type||(Ti.$type=i.markType(Ti,"IgcLayoutPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Ti.$type||(Ti.$type=i.markType(Ti,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(Ti.$type,Ce.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Ti)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),ki=function(t){function n(){var e=t.call(this)||this;return e._selectedKeys=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ke},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionCheckboxListComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxListComponent=t}return n._observedAttributesIgcToolActionCheckboxListComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedMemberPath",{get:function(){return this.i.h2},set:function(t){this.i.h2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.hr},set:function(t){this.i.hr=i.ensureBool(t),this._a("showSelectAll",this.i.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.hw},set:function(t){this.i.hw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.hl},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.hl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new Ii,e=this.i.hm;e||(e=new je),this._selectedKeys=t._fromInner(e),this.i.hm=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new Ii;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ce.$type),r=this.i.hm;r||(r=new je),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.hm=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.hn},set:function(t){this.i.hn=i.ensureEnum(we,t),this._a("indexType",i.enumToString(we,this.i.hn))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(e){var i=t.prototype.findByName.call(this,e);return i||(null!=this.selectedKeys&&this.selectedKeys.findByName&&this.selectedKeys.findByName(e)?this.selectedKeys.findByName(e):null)},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(Ci),Si=function(){function t(){}return t.register=function(){ki.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",ki),i.TypeRegistrar.register("ToolActionCheckboxList",Ke.$type)},t}(),xi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ni},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionGroupHeaderComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionGroupHeaderComponent=t}return n._observedAttributesIgcToolActionGroupHeaderComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualBackIconColor",{get:function(){return i.brushToString(this.i.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(Ci),Ai=function(){function t(){}return t.register=function(){xi.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",xi),i.TypeRegistrar.register("ToolActionGroupHeader",ni.$type)},t}(),Ni=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._label=null,e._name=null,e._operand=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"label",{get:function(){return this._label},set:function(t){this._label=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this._name},set:function(t){this._name=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"operand",{get:function(){return this._operand},set:function(t){this._operand=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ToolActionFieldSelectorAggregation"),n}(i.Base),Bi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ni},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"label",{get:function(){return this.i.label},set:function(t){this.i.label=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.i.name},set:function(t){this.i.name=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"operand",{get:function(){return this.i.operand},set:function(t){this.i.operand=i.ensureEnum(i.DataSourceSummaryOperand_$type,t)},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),Ri=function(t){function n(e){var n=t.call(this)||this;if(Bi.$type||(Bi.$type=i.markType(Bi,"IgcToolActionFieldSelectorAggregation")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Bi.$type||(Bi.$type=i.markType(Bi,"IgcToolActionFieldSelectorAggregation"));var t=new i.SyncableObservableCollection$2(Bi.$type,Ni.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Bi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Ei=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._field=null,e._aggregationOperand=0,e._aggregationName=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"field",{get:function(){return this._field},set:function(t){this._field=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aggregationOperand",{get:function(){return this._aggregationOperand},set:function(t){this._aggregationOperand=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aggregationName",{get:function(){return this._aggregationName},set:function(t){this._aggregationName=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ToolActionFieldSelectorSelectedAggregation"),n}(i.Base),$i=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ei},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"field",{get:function(){return this.i.field},set:function(t){this.i.field=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aggregationOperand",{get:function(){return this.i.aggregationOperand},set:function(t){this.i.aggregationOperand=i.ensureEnum(i.DataSourceSummaryOperand_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"aggregationName",{get:function(){return this.i.aggregationName},set:function(t){this.i.aggregationName=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),Di=function(t){function n(e){var n=t.call(this)||this;if($i.$type||($i.$type=i.markType($i,"IgcToolActionFieldSelectorSelectedAggregation")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){$i.$type||($i.$type=i.markType($i,"IgcToolActionFieldSelectorSelectedAggregation"));var t=new i.SyncableObservableCollection$2($i.$type,Ei.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new $i)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),zi=function(t){function n(){var e=t.call(this,Ni.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(Ni.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Ni.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.ag&&(this.ai.clear(),this.aj.clear()),t.prototype.p.call(this)},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ToolActionFieldSelectorAggregationsCollection",i.ObservableCollection$1.$.specialize(Ni.$)),n}(i.ObservableCollection$1),qi=function(t){function n(){var e=t.call(this,Ei.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(Ei.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Ei.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}this.ag&&(this.ai.clear(),this.aj.clear()),t.prototype.p.call(this)},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ToolActionFieldSelectorSelectedAggregationsCollection",i.ObservableCollection$1.$.specialize(Ei.$)),n}(i.ObservableCollection$1),Vi=function(t){function n(){var e=t.call(this)||this;return e._aggregations=null,e._selectedAggregations=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Xe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionFieldSelectorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionFieldSelectorComponent=t}return n._observedAttributesIgcToolActionFieldSelectorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.ht},set:function(t){this.i.ht=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"legendTarget",{get:function(){return this.i.ip},set:function(t){this.i.ip=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fieldType",{get:function(){return this.i.hx},set:function(t){this.i.hx=i.ensureEnum(Te,t),this._a("fieldType",i.enumToString(Te,this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"singleSelection",{get:function(){return this.i.h7},set:function(t){this.i.h7=i.ensureBool(t),this._a("singleSelection",this.i.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aggregations",{get:function(){if(null===this._aggregations){var t=new Ri,e=this.i.hu;e||(e=new zi),this._aggregations=t._fromInner(e),this.i.hu=e}return this._aggregations},set:function(t){null!==this._aggregations&&(this._aggregations._setSyncTarget(null),this._aggregations=null);var e=new Ri;this._aggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ni.$type),r=this.i.hu;r||(r=new zi),n._inner=r,n.clear(),this._aggregations._setSyncTarget(n),this.i.hu=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateDataSource",{get:function(){return this.i.h8},set:function(t){this.i.h8=i.ensureBool(t),this._a("updateDataSource",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedAggregations",{get:function(){if(null===this._selectedAggregations){var t=new Di,e=this.i.hw;e||(e=new qi),this._selectedAggregations=t._fromInner(e),this.i.hw=e}return this._selectedAggregations},set:function(t){null!==this._selectedAggregations&&(this._selectedAggregations._setSyncTarget(null),this._selectedAggregations=null);var e=new Di;this._selectedAggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ei.$type),r=this.i.hw;r||(r=new qi),n._inner=r,n.clear(),this._selectedAggregations._setSyncTarget(n),this.i.hw=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.ii},set:function(t){this.i.ii=+t,this._a("paddingLeft",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("actualPaddingLeft",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.ij},set:function(t){this.i.ij=+t,this._a("paddingRight",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.ie},set:function(t){this.i.ie=+t,this._a("actualPaddingRight",this.i.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("paddingBottom",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.ic},set:function(t){this.i.ic=+t,this._a("actualPaddingBottom",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.ik},set:function(t){this.i.ik=+t,this._a("paddingTop",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.ig},set:function(t){this.i.ig=+t,this._a("actualPaddingTop",this.i.ig)},enumerable:!1,configurable:!0}),n.prototype.findByName=function(e){var i=t.prototype.findByName.call(this,e);return i||(this.dataSource&&this.dataSource.name&&this.dataSource.name==e?this.dataSource:null!=this.aggregations&&this.aggregations.findByName&&this.aggregations.findByName(e)?this.aggregations.findByName(e):null!=this.selectedAggregations&&this.selectedAggregations.findByName&&this.selectedAggregations.findByName(e)?this.selectedAggregations.findByName(e):null)},n._observedAttributesIgcToolActionFieldSelectorComponent=null,n.htmlTagName="igc-tool-action-field-selector",n._isElementRegistered=!1,n}(Ci),Ui=function(){function t(){}return t.register=function(){Vi.register(),i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorComponent",Vi),i.TypeRegistrar.register("ToolActionFieldSelector",Xe.$type)},t}(),Li=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new si},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionNumberInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionNumberInputComponent=t}return n._observedAttributesIgcToolActionNumberInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.hn},set:function(t){this.i.hn=+t,this._a("value",this.i.hn)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(Ci),Fi=function(){function t(){}return t.register=function(){Li.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",Li),i.TypeRegistrar.register("ToolActionNumberInput",si.$type)},t}(),Mi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new li},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"sourceAction",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=Ci._createFromInternal(t);e&&(e._implementation=t),t.externalObject=e}return t.externalObject},set:function(t){this.i.a=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cancel",{get:function(){return this.i.b},set:function(t){this.i.b=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),Hi=function(t){function n(){var e=t.call(this)||this;return e._popupOpening=null,e._popupOpening_wrapped=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ii},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconButtonComponent=t}return n._observedAttributesIgcToolActionIconButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"tooltipDelay",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("tooltipDelay",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("actualTooltipDelay",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("contentPaddingLeft",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.ij},set:function(t){this.i.ij=+t,this._a("actualContentPaddingLeft",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("contentPaddingTop",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("actualContentPaddingTop",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("contentPaddingRight",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.ik},set:function(t){this.i.ik=+t,this._a("actualContentPaddingRight",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("contentPaddingBottom",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.ii},set:function(t){this.i.ii=+t,this._a("actualContentPaddingBottom",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ba},enumerable:!1,configurable:!0}),n.prototype.openSubMenu=function(){this.i.ge()},n.prototype.closeSubmenu=function(){this.i.fd()},n.prototype.exportVisualData=function(){return this.i.cr()},Object.defineProperty(n.prototype,"popupOpening",{get:function(){return this._popupOpening},set:function(t){var e=this;null!==this._popupOpening_wrapped&&(this.i.popupOpening=i.delegateRemove(this.i.popupOpening,this._popupOpening_wrapped),this._popupOpening_wrapped=null,this._popupOpening=null),this._popupOpening=t,this._popupOpening_wrapped=function(t,i){var n=new Mi;n._provideImplementation(i),e.beforePopupOpening&&e.beforePopupOpening(e,n),e._popupOpening&&e._popupOpening(e,n)},this.i.popupOpening=i.delegateCombine(this.i.popupOpening,this._popupOpening_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionIconButtonComponent=null,n.htmlTagName="igc-tool-action-icon-button",n._isElementRegistered=!1,n}(Ci),Gi=function(){function t(){}return t.register=function(){Hi.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",Hi),i.TypeRegistrar.register("ToolActionIconButton",ii.$type)},t}(),Wi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ri},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionIconMenuComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionIconMenuComponent=t}return n._observedAttributesIgcToolActionIconMenuComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"arrowStroke",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.j0},set:function(t){this.i.j0=i.ensureBool(t),this._a("showArrowIcon",this.i.j0)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(Hi),Ki=function(){function t(){}return t.register=function(){Wi.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",Wi),i.TypeRegistrar.register("ToolActionIconMenu",ri.$type)},t}(),Xi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ei},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSeparatorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSeparatorComponent=t}return n._observedAttributesIgcToolActionSeparatorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"size",{get:function(){return this.i.hn},set:function(t){this.i.hn=+t,this._a("size",this.i.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.hl},set:function(t){this.i.hl=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.hl)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(Ci),Qi=function(){function t(){}return t.register=function(){Xi.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",Xi),i.TypeRegistrar.register("ToolActionSeparator",ei.$type)},t}(),Yi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Qe},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionSubPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionSubPanelComponent=t}return n._observedAttributesIgcToolActionSubPanelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"itemSpacing",{get:function(){return this.i.hn},set:function(t){this.i.hn=+t,this._a("itemSpacing",this.i.hn)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(Ci),Ji=function(){function t(){}return t.register=function(){Yi.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",Yi),i.TypeRegistrar.register("ToolActionSubPanel",Qe.$type)},t}(),Zi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ti},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionRadioComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionRadioComponent=t}return n._observedAttributesIgcToolActionRadioComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"channel",{get:function(){return this.i.ht},set:function(t){this.i.ht=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.hm},set:function(t){this.i.hm=i.ensureBool(t),this._a("isChecked",this.i.hm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.hn},set:function(t){this.i.hn=i.ensureBool(t),this._a("isManual",this.i.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(Ci),tn=function(){function t(){}return t.register=function(){Zi.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",Zi),i.TypeRegistrar.register("ToolActionRadio",ti.$type)},t}(),en=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Je},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonComponent=t}return n._observedAttributesIgcToolActionButtonComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hl},set:function(t){this.i.hl=i.ensureEnum(Ae,t),this._a("displayType",i.enumToString(Ae,this.i.hl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hp},set:function(t){this.i.hp=+t,this._a("cornerRadius",this.i.hp)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(Ci),nn=function(){function t(){}return t.register=function(){en.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",en),i.TypeRegistrar.register("ToolActionButton",Je.$type)},t}(),rn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $e},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),on=function(t){return t[t.Replace=0]="Replace",t}({}),sn=i.markEnum("NestedActionMode","Replace,0"),an=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.actualActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._contentRefreshed=null,n._contentRefreshed_wrapped=null,n._onCommand=null,n._onCommand_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolPanelContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.actualActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),n.prototype.ensureStretch=function(){this.width="100%",this.height="100%"},Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new gi;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof Ci&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new ci},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-tool-panel"),this.classList.add("igc-tool-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualActions.length;e++){this.actualActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolPanelComponent=t}return n._observedAttributesIgcToolPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.a5},set:function(t){this.i.a5=i.ensureBool(t),this._a("showOnHover",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.a6},set:function(t){this.i.a6=i.ensureBool(t),this._a("showTooltipOnHover",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("dropdownClickBuffer",this.i.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.a7},set:function(t){this.i.a7=i.ensureBool(t),this._a("stopPropagation",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.ap?null:this.i.ap.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ap=e,this._a("cellTextStyle",null!=this.i.ap?this.i.ap.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.as?null:this.i.as.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.as=e,this._a("subtitleTextStyle",null!=this.i.as?this.i.as.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextStyle",{get:function(){return null==this.i.ar?null:this.i.ar.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ar=e,this._a("groupHeaderTextStyle",null!=this.i.ar?this.i.ar.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.ae},set:function(t){this.i.ae=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.ae))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.ad))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.ir)},set:function(t){this.i.ir=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.ir))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.js)},set:function(t){this.i.js=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.js))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.i5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.ji)},set:function(t){this.i.ji=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.ji))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.iv)},set:function(t){this.i.iv=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.iv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.jr)},set:function(t){this.i.jr=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.jr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.jj)},set:function(t){this.i.jj=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.jj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.iw)},set:function(t){this.i.iw=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.iw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.jn)},set:function(t){this.i.jn=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.jn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.ju)},set:function(t){this.i.ju=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.ju))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.i7)},set:function(t){this.i.i7=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.i7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.jt)},set:function(t){this.i.jt=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.jt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.iu)},set:function(t){this.i.iu=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.iu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.jl)},set:function(t){this.i.jl=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.jl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.iy)},set:function(t){this.i.iy=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.iy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.jk)},set:function(t){this.i.jk=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.jk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.ix)},set:function(t){this.i.ix=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.ix))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.i8)},set:function(t){this.i.i8=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.i8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("toolTipCornerRadius",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("actualToolTipCornerRadius",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("toolTipElevation",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("actualToolTipElevation",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.jo)},set:function(t){this.i.jo=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.jo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.jp)},set:function(t){this.i.jp=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.jp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("separatorVerticalPaddingLeft",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("separatorVerticalPaddingRight",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("separatorVerticalPaddingTop",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("separatorVerticalPaddingBottom",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("separatorHorizontalPaddingLeft",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.b6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("separatorHorizontalPaddingRight",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.b7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("separatorHorizontalPaddingTop",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("separatorHorizontalPaddingBottom",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.b5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.u},set:function(t){this.i.u=i.ensureEnum(ee,t),this._a("orientation",i.enumToString(ee,this.i.u))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("rowHeight",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.b4},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("highlightWidth",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualHighlightWidth",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("highlightRadius",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualHighlightRadius",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.jm)},set:function(t){this.i.jm=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.jm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.iz)},set:function(t){this.i.iz=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.iz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.jq)},set:function(t){this.i.jq=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.jq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.is)},set:function(t){this.i.is=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.is))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.jy)},set:function(t){this.i.jy=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.jy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.jb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.it)},set:function(t){this.i.it=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.it))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("dropdownDelay",this.i.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.cy},set:function(t){this.i.cy=+t,this._a("actualDropdownDelay",this.i.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemSpacing",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("itemSpacing",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(sn,t),this._a("nestedActionMode",i.enumToString(sn,this.i.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a4},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.refresh=function(){this.i.gr()},n.prototype.getDesiredSize=function(){var t=this.i.j1();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.f8()},n.prototype.closeSubmenus=function(){this.i.f3()},n.prototype.exportVisualData=function(){return this.i.c4()},n.prototype.exportSerializedVisualData=function(){return this.i.ep()},n.prototype.setBrushContextItem=function(t,e){this.i.g0(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.jg(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.gy(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.a(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.g8(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.cf(t)},n.prototype.setIntContextItem=function(t,e){this.i.ha(t,e)},n.prototype.getIntContextItem=function(t){return this.i.c1(t)},n.prototype.setStringContextItem=function(t,e){this.i.hc(t,e)},n.prototype.getStringContextItem=function(t){return this.i.eq(t)},n.prototype.setBoolContextItem=function(t,e){this.i.gw(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.a1(t)},n.prototype.setColorContextItem=function(t,e){this.i.g2(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.jz(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.g6(t,e)},n.prototype.getDataContextItem=function(t){return this.i.c7(t)},Object.defineProperty(n.prototype,"contentRefreshed",{get:function(){return this._contentRefreshed},set:function(t){var e=this;null!==this._contentRefreshed_wrapped&&(this.i.contentRefreshed=i.delegateRemove(this.i.contentRefreshed,this._contentRefreshed_wrapped),this._contentRefreshed_wrapped=null,this._contentRefreshed=null),this._contentRefreshed=t,this._contentRefreshed_wrapped=function(t,i){var n=new rn;n._provideImplementation(i),e.beforeContentRefreshed&&e.beforeContentRefreshed(e,n),e._contentRefreshed&&e._contentRefreshed(e,n)},this.i.contentRefreshed=i.delegateCombine(this.i.contentRefreshed,this._contentRefreshed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new yi;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolPanelComponent=null,n.htmlTagName="igc-tool-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),hn=function(){function t(){}return t.register=function(){Tt.register(),Pi.register(),Oi.register(),Si.register(),Ai.register(),Ui.register(),Fi.register(),Gi.register(),Ki.register(),Qi.register(),Ji.register(),tn.register(),nn.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),an.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",an),i.TypeRegistrar.registerCons("IgcToolPanelComponent",an),i.TypeRegistrar.register("ToolPanel",ci.$type)},t}(),un=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new oe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),ln=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ae},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),cn=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentActions=[],n.combinedActions=[],n._actions=null,n._actionsAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._autoGeneratedActions=null,n._actualActions=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._onCommand=null,n._onCommand_wrapped=null,n._subMenuOpening=null,n._subMenuOpening_wrapped=null,n._subMenuClosing=null,n._subMenuClosing_wrapped=null,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("toolbarContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._actionsAdapter=new i.CollectionAdapter(n.contentActions,n.i.actions,n.combinedActions,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new gi;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}})),this._actions=e}return this._actions},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentActions.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof Ci&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new hi},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-toolbar"),this.classList.add("igc-toolbar");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.combinedActions.length;e++){this.combinedActions[e]._styling(this,this,this)}this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},Object.defineProperty(n.prototype,"target",{get:function(){var t=this.i.target;return t?(null!=t.externalObject&&(t=t.externalObject),t):t},set:function(t){t&&t._implementation&&(t=t._implementation),this.i.target=t},enumerable:!1,configurable:!0}),n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolbarComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolbarComponent=t}return n._observedAttributesIgcToolbarComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.x},set:function(t){this.i.x=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.x))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.z},set:function(t){this.i.z=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.z))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new gi,e=this.i.autoGeneratedActions;e||(e=new ai),this._autoGeneratedActions=t._fromInner(e),this.i.autoGeneratedActions=e}return this._autoGeneratedActions},set:function(t){null!==this._autoGeneratedActions&&(this._autoGeneratedActions._setSyncTarget(null),this._autoGeneratedActions=null);var e=new gi;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Me.$type),r=this.i.autoGeneratedActions;r||(r=new ai),n._inner=r,n.clear(),this._autoGeneratedActions._setSyncTarget(n),this.i.autoGeneratedActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){if(null===this._actualActions){var t=new gi,e=this.i.actualActions;e||(e=new ai),this._actualActions=t._fromInner(e),this.i.actualActions=e}return this._actualActions},set:function(t){null!==this._actualActions&&(this._actualActions._setSyncTarget(null),this._actualActions=null);var e=new gi;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Me.$type),r=this.i.actualActions;r||(r=new ai),n._inner=r,n.clear(),this._actualActions._setSyncTarget(n),this.i.actualActions=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.m},set:function(t){this.i.m=i.ensureEnum(le,t),this._a("orientation",i.enumToString(le,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.fp)},set:function(t){this.i.fp=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.fp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.f3)},set:function(t){this.i.f3=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.f3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fu)},set:function(t){this.i.fu=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.f2)},set:function(t){this.i.f2=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.f2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.fy)},set:function(t){this.i.fy=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.fy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.f5)},set:function(t){this.i.f5=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.f5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.fs)},set:function(t){this.i.fs=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.fs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fw)},set:function(t){this.i.fw=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.f7)},set:function(t){this.i.f7=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.f7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.f6)},set:function(t){this.i.f6=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.f6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("toolTipCornerRadius",this.i.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("toolTipElevation",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.fz)},set:function(t){this.i.fz=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.fz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.f0)},set:function(t){this.i.f0=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.f0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("cellTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.aj?null:this.i.aj.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.aj=e,this._a("subtitleTextStyle",null!=this.i.aj?this.i.aj.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextStyle",{get:function(){return null==this.i.ai?null:this.i.ai.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ai=e,this._a("groupHeaderTextStyle",null!=this.i.ai?this.i.ai.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("separatorVerticalPaddingLeft",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("separatorVerticalPaddingRight",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bo},set:function(t){this.i.bo=+t,this._a("separatorVerticalPaddingTop",this.i.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("separatorVerticalPaddingBottom",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("separatorHorizontalPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("separatorHorizontalPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("separatorHorizontalPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("separatorHorizontalPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("showOnHover",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("showTooltipOnHover",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("dropdownClickBuffer",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("highlightWidth",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("highlightRadius",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.fx)},set:function(t){this.i.fx=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.fx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.f1)},set:function(t){this.i.f1=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.f8)},set:function(t){this.i.f8=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.f8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.fq)},set:function(t){this.i.fq=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.fq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.f9)},set:function(t){this.i.f9=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.f9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.fr)},set:function(t){this.i.fr=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.fr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("rowHeight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.f4)},set:function(t){this.i.f4=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.fv)},set:function(t){this.i.fv=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.fv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("dropdownDelay",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("stopPropagation",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.av},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.autoGeneratedActions&&this.autoGeneratedActions.findByName&&this.autoGeneratedActions.findByName(t)?this.autoGeneratedActions.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null!=this.actualActions&&this.actualActions.findByName&&this.actualActions.findByName(t)?this.actualActions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolbarComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.flushRefresh=function(){this.i.d2()},n.prototype.getDesiredSize=function(){var t=this.i.gb();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.dz()},n.prototype.onCommandStateChanged=function(t,e,i){this.i.onCommandStateChanged(t,null==e?null:e,i)},n.prototype.registerIconFromText=function(t,e,i){this.i.ej(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.cq(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.el(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.ei(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.cp(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.ek(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.b8(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.eo(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.ft(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.en(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.b(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.es(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.bd(t)},n.prototype.setIntContextItem=function(t,e){this.i.ez(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.be(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.ex(t,e)},n.prototype.getIntContextItem=function(t){return this.i.bx(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.ey(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bw(t)},n.prototype.setStringContextItem=function(t,e){this.i.e0(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cr(t)},n.prototype.setBoolContextItem=function(t,e){this.i.em(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.au(t)},n.prototype.setColorContextItem=function(t,e){this.i.ep(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.ga(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.er(t,e)},n.prototype.getDataContextItem=function(t){return this.i.b3(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.ew(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.b7(t)},n.prototype.exportVisualData=function(){return this.i.b1()},n.prototype.exportSerializedVisualData=function(){return this.i.co()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new yi;n._provideImplementation(i),e.beforeOnCommand&&e.beforeOnCommand(e,n),e._onCommand&&e._onCommand(e,n)},this.i.onCommand=i.delegateCombine(this.i.onCommand,this._onCommand_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuOpening",{get:function(){return this._subMenuOpening},set:function(t){var e=this;null!==this._subMenuOpening_wrapped&&(this.i.subMenuOpening=i.delegateRemove(this.i.subMenuOpening,this._subMenuOpening_wrapped),this._subMenuOpening_wrapped=null,this._subMenuOpening=null),this._subMenuOpening=t,this._subMenuOpening_wrapped=function(t,i){var n=new un;n._provideImplementation(i),e.beforeSubMenuOpening&&e.beforeSubMenuOpening(e,n),e._subMenuOpening&&e._subMenuOpening(e,n)},this.i.subMenuOpening=i.delegateCombine(this.i.subMenuOpening,this._subMenuOpening_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subMenuClosing",{get:function(){return this._subMenuClosing},set:function(t){var e=this;null!==this._subMenuClosing_wrapped&&(this.i.subMenuClosing=i.delegateRemove(this.i.subMenuClosing,this._subMenuClosing_wrapped),this._subMenuClosing_wrapped=null,this._subMenuClosing=null),this._subMenuClosing=t,this._subMenuClosing_wrapped=function(t,i){var n=new ln;n._provideImplementation(i),e.beforeSubMenuClosing&&e.beforeSubMenuClosing(e,n),e._subMenuClosing&&e._subMenuClosing(e,n)},this.i.subMenuClosing=i.delegateCombine(this.i.subMenuClosing,this._subMenuClosing_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolbarComponent=null,n.htmlTagName="igc-toolbar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),pn=function(){function t(){}return t.register=function(){hn.register(),cn.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",cn),i.TypeRegistrar.registerCons("IgcToolbarComponent",cn),i.TypeRegistrar.register("Toolbar",hi.$type)},t}(),fn=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),dn=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),bn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelTemplateCellUpdatingEventArgs"),n}(i.Base),gn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.c=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDataBindingEventArgs"),n}(i.Base),yn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.f=0,e.g=0,e.a=0,e.h=0,e.j=null,e.cellUpdating=null,e.dataBinding=null,e}return e.__extends(n,t),n.prototype.i=function(t,e,i){if(null!=this.dataBinding){var n=new gn;return n.b=t,n.a=e,n.c=i,this.dataBinding(this,n),n.b}return t},n.prototype.e=function(t,e,i){if(null!=this.cellUpdating){var n=new bn;return n.a=t,n.b=e,n.c=i,this.cellUpdating(this,n),n.a}return t},n.$t=i.markType(n,"PropertyEditorPanelColumnDefinition"),n}(i.Base),mn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._label=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"label",{get:function(){return this._label},set:function(t){this._label=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPanelComboBoxBridgeItem"),n}(i.Base),vn=function(t){function n(e,n,r){var o=t.call(this)||this;o.b=new i.DescriptionTreeNode,o.e=new i.List$1(i.DataSeriesToDescriptionCustomization.$,0),o.c=null,o.d=!1,o.c=e,o.b=new i.DescriptionTreeNode,o.b.i=n,o.d=r;new i.JsonDictionaryObject;return o}return e.__extends(n,t),n.prototype.a=function(){return this.e.toArray()},n.prototype.k=function(t,e,i){null!=t&&this.f(t,-1,e,this.b,i,null)},n.prototype.f=function(t,n,r,o,s,a){if(null==t)return null;var h=i.stringSplit(t,[".","["],0),u=h[0],l=h.length>1,c=!1,p=new i.List$1(i.Number_$type,0),f=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){c=!0;for(var d=(u=i.stringReplace(u,"]","")).split(","),b=0;b<d.length;b++){var g=d[b];if(i.stringContains(g,"as")){var y=g.indexOf("as"),m=g.substr(0,y).trim(),v=g.substr(y+2).trim();"*"==m.trim()?(p.add(-1),f.add(v)):(p.add(parseInt(m)),f.add(v)),s=v,u=m}}}var _=null;if(_=c?a:this.c.getMetadata(s,u),l)if(c)for(var C=o.b,j=0;j<p.count;j++){u=p._inner[j].toString();var P=f._inner[j],w=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),O=!1;-1==w&&(O=!0,w=0);for(var T=new i.List$1(i.Base.$,0),I=0;I<=w;I++)if(null!=C&&I<C.length){var k=C[I];null!==i.typeCast(i.DescriptionTreeNode.$,k)&&I==w&&(k.i=P),T.add1(k)}else{var S=this.g(a,!0,P);null!=S&&T.add1(S)}var x=(C=T.toArray())[w],A=new i.List$1(i.String_$type,1,h);A.removeAt(0);var N=_.collectionElementType;null!=P&&(N=P);var B=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(A.toArray()),!1)),O?-1:w,r,x,N,_);null!=B&&(C[w]=B),o.b=C}else{var R=o;R.c(u)||R.o(u,this.g(_,!1,null),_);var E=R.a(u),$=new i.List$1(i.String_$type,1,h);$.removeAt(0);var D=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read($.toArray()),!1)),-1,r,E,_.specificExternalType,_);null!=D&&R.o(u,D,_)}else{null!==i.typeCast(i.DescriptionPropertyValue.$,o)&&(o=o.b);var z=o,q=this.h(r,_);if(this.d){var V=new i.DataSeriesToDescriptionCustomization;V.matchType=s,V.propertyName=u,-1!=n&&(V.matchParentIndex=n),V.propertyValue=q,this.e.add(V)}z.o(u,q,_)}return null},n.prototype.i=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.h=function(t,e){if(null==e)return null;if(null==t)return 1==e.knownType&&"double"==e.specificExternalType?NaN:null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 23:case 9:return t;case 5:return t.toString();case 16:case 20:case 22:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},n.prototype.g=function(t,e,n){if(e||10!=t.knownType&&9!=t.knownType){var r=new i.DescriptionTreeNode;return r.i=null!=n?n:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},n.prototype.j=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.w(this.c,this.b,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),_n=function(t){function n(){var e,n=t.call(this)||this;return n.n=null,n.m=null,n.a=null,n.i=null,n.l=null,n.e=null,n.k=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.aa=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.j=null,n}return e.__extends(n,t),n.prototype.p=function(){return this.i},n.prototype.v=function(){},n.prototype.t=function(t){var e=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),i.NativeUIComponent.au(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.an.setStyleProperty("width","100%"),i.an.setStyleProperty("height","100%"),e.i.append(i.an)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},n.prototype.y=function(){},n.prototype.x=function(){this.i},n.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new i.Size(1,t,e),null!=this.a.l&&(this.a.cj(),this.a.l.b3(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cr),i.NativeUI.m(e,this.a.co))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.y(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},n.$t=i.markType(n,"PropertyEditorPanelView"),n}(i.Base),Cn=function(t){function n(){var e=t.call(this)||this;e.p=null,e.l=null,e.v=null,e.ac=!1,e.ad=!1,e.z=null,e.propertyChanged=null,e.aj=!1,e.q=null,e.r=new zt,e.aw=-1,e.n=0,e.au=i.DeviceUtils.g(38),e.w=null,e.a1=null,e.d=null,e.ar=null,e.k=null,e.ai=!1,e.aq=new i.Dictionary$2(i.String_$type,Rt.$,0),e.at=null,e.a5=null,e.ah=!0,e.ab=!1,e.g=null,e.h=null,e.e=null,e.a0=null,e.a6=null,e.ae=!1,e.ag=!1,e.af=!1,e.cm=n.cp,e.cn=n.cq,e.ay=0,e.ax=-1,e.m=null,i.NativeUIInputsFactory.n(),De.g(),e.at=new i.ObservableCollection$1(yn.$,0);var r=new _n;r.a=e,e.p=r,e.p.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.ca)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"aa",{get:function(){return null==this.z&&(this.z=new i.SRProvider(this.p.i),this.z.cb("Layouts")),this.z},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.bx))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.bx))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.an(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),null!=this.d&&this.d.notifyClearItems(),this.b5()},n.prototype.b5=function(){this.aj||null!=this.l&&this.cj()},n.prototype.bx=function(t,e){this.aj||(this.an(),null!=this.l&&this.cj())},n.prototype.notifySizeChanged=function(){this.p.s()},n.prototype.bw=function(t,e){if(this.l=t,null!=this.l){if(this.l.bs=i.runOn(this,this.b9),this.cl(),null!=this.actualProperties){this.a1=this.actualProperties;var n=this.actualProperties;n=this.actualProperties.toArray();var r=new i.LocalDataSource;r.dataSource=n,this.d=r,this.br()}null!=this.actualProperties&&this.cj()}},n.prototype.b9=function(t,e){if(this.aj=!0,this.aq.containsKey(e.a.commandId)){var i=this.aq.item(e.a.commandId);this.b3(i,e)}this.aj=!1},n.prototype.b3=function(t,e){switch(t.w){case 0:break;case 19:case 1:this.ch(t,e),this.b7(t);break;case 11:case 12:case 13:case 14:case 2:case 3:case 4:case 5:case 6:case 23:this.ci(t,e),this.b7(t);break;case 7:this.ce(t,e),this.b7(t);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:break;case 15:this.cg(t,e),this.b7(t);break;case 20:this.cf(t,e);break;default:return}},n.prototype.cf=function(t,e){t.a6()},n.prototype.cg=function(t,e){var i=e.a.argumentsList[0].value;if(null!=i&&i.length>0){var n=i[0];t.ar=n,t.aa=!0,t.a5()}else t.ar=null,t.aa=!0,t.a5()},n.prototype.ce=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ci=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ch=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.cl=function(){null!=this.l&&(this.ak&&this.am?this.l.bu=2:this.ak?this.l.bu=1:this.l.bu=0)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.p.t(t)},n.prototype.b4=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.b6("ActualProperties",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.b6("Properties",e,this.r)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.b6("RowHeight",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b6("UpdateMode",i.enumGetBox(dn,e),i.enumGetBox(dn,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.au},set:function(t){this.au=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.b6("CellTextStyle",e,this.w)},enumerable:!1,configurable:!0}),n.prototype.y=function(){return null==this.x?this.p.d():this.x},n.prototype.b6=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cb(t,e,n)},n.prototype.cb=function(t,e,n){switch(t){case"DescriptionType":null==this.be&&null==this.properties&&(this.actualProperties=null),null!=this.be&&(null==this.m&&(this.m=new Bt),this.m.n=this.be),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"ComponentRenderer":null!=e&&this.ab&&(this.ab=!1,e.removeTargetPropertyUpdatingListener(i.runOn(this,this.ap))),e!=n&&(this.ah=!0),null==this.f?this.i=this.j:this.i=this.f.context;break;case"Target":null!=i.ComponentRenderer.defaultInstance&&null==this.f&&(this.f=i.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.f&&(this.i=n);break;case"ActualContext":null==this.i&&null==this.properties&&(this.actualProperties=null),null!=this.i&&(null==this.m&&(this.m=new Bt),this.m.b=this.i),null==this.properties||0==this.properties.count?null!=this.m.h&&(this.actualProperties=this.m.h):null!=this.properties&&this.properties.count>0&&this.an();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.cl(),this.cj();break;case"IsHorizontal":this.cl();break;case"ActualProperties":if(null!=this.l){var r=this.a1!=this.actualProperties;this.a1=this.actualProperties;var o=this.actualProperties;o=this.actualProperties.toArray();var s=new i.LocalDataSource;if(s.dataSource=o,this.d=s,this.br(),null!=this.d){var a=this.d;a.schemaChanged=i.delegateCombine(a.schemaChanged,i.runOn(this,this.b8))}r&&this.cj()}break;case"RowHeight":null!=this.l&&(this.av=this.az);break;case"CellTextStyle":this.cd();break;case"BackgroundColor":case"TextColor":this.cd()}},n.prototype.an=function(){var t,n,r=this.aj;this.aj=!0;var o=!1;try{for(var s=e.__values(i.fromEnum(this.properties)),a=s.next();!a.done;a=s.next()){var h=a.value,u=h.a3;if(null!=this.m){var l=this.m.e(u,!1);null!=l&&h.z(l)&&(o=!0)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return o?this.cj():null!=this.l&&this.cd(),this.aj=r,o},n.prototype.cd=function(){this.ai||null==this.k||(this.ai=!0,this.k.enqueueAction(i.runOn(this,this.bt)))},n.prototype.bt=function(){if(this.aq.clear(),this.ai=!1,null==this.ar&&(this.ar=new i.List$1(i.List$1.$.specialize(i.NativeUIComponent.$),0)),null!=this.d){for(var t=this.d.actualCount,e=new ai,n=0;n<t;n++){var r=this.d.getItemAtIndex(n),o=this.u(r);null!=o&&e.add(o)}this.ck(e)}},n.prototype.ck=function(t){this.l.bt=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(mn.$,0),n=function(i){var n;e.add(((n=new mn).label=t[i],n))},r=0;r<t.length;r++)n(r);return e},n.prototype.c=function(t){return t.c},n.prototype.bm=function(t){return null!=t.az?t.az:null!=t.a3?t.a3:t.az},n.prototype.u=function(t){var e=t,n=null;switch(e.w){case 0:break;case 19:case 1:var r=new si;r.hn=null!=e.ar?e.ar:NaN,r.e5=this.bm(e),n=r,null!=e.a4&&(n.ez=e.a4);break;case 4:case 5:var o=new He;o.hr=i.CSSColorUtil.g(e.ar),o.e5=this.bm(e),n=o,null!=e.a4&&(n.ez=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new Ye;s.hn=e.ar,s.e5=this.bm(e),n=s,null!=e.a4&&(n.ez=e.a4);break;case 7:var a=new oi;a.hm=null!=e.ar&&e.ar,a.e5=this.bm(e),n=a,null!=e.a4&&(n.ez=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new Ge;h.itemsSource=this.a4(this.c(e)),h.e5=this.bm(e),n=h,null!=e.a4&&(n.ez=e.a4),null!=e.ar&&(h.hl=new me,h.hl.add1(e.ar));break;case 20:var u=new Je;u.e5=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.e5=e.ar),n=u,null!=e.a4&&(n.ez=e.a4);break;case 24:var l=new ei;l.hn=5,n=l;break;case 25:(n=new ni).e5=this.bm(e),null!=e.a4&&(n.ez=e.a4);break;default:return null}var c=this.bl(e.a3);if(null==c&&(c=e.a0),null==c){var p=this.aj;this.aj=!0,e.a0=i.Guid.newGuid().toString(),c=e.a0,this.aj=p}return null==n?null:(n.el=this.be+"_"+c,this.aq.item(n.el,e),n)},n.prototype.bl=function(t){return null==t?null:i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(t,".","__dot__"),"[","__ob__"),"]","__cb__")," ","__sp__"),"*","__star__")},n.prototype.b8=function(t,e){this.ad=!0,this.br(),this.ad=!1},n.prototype.cj=function(){null!=this.l&&(this.cd(),this.p.r())},n.prototype.cs=function(){return null!=this.l?this.l.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)):new i.Size(1,0,0)},n.prototype.a2=function(t){return t.i},n.prototype.b7=function(t){var e=this;if(null!=this.a3&&null!=this.f)if(2==this.o){var n=this.a(),r=this.a2(this.a3);null!==i.typeCast(i.IAcceptsDataSeriesToDescriptionCustomizations_$type,r)&&r.onCustomizationsChanged(n)}else{this.ah&&(this.ab=!0,this.ah=!1,this.f.addTargetPropertyUpdatingListener(i.runOn(this,this.ap)));var o=null==this.a5;this.a5=this.bg(),o?this.p.q(this.a3,(function(t){return e.f.loadJsonOverlay(e.a5,(function(e){return t}),(function(t){return e.a3}))})):this.p.q(this.a3,(function(t){return e.f.loadJsonDelta(e.a5,(function(e){return t}),!1)}))}},n.prototype.a=function(){var t=this.actualProperties,e=new vn(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new vn(t,e,!0);return n.bv(i,"",r,e),r.a()},n.prototype.ap=function(t,e,i){for(var n=this.actualProperties,r=0;r<n.count;r++){var o=n._inner[r].a3;this.ao(o,t)&&n._inner[r].a9(t,e,i)}return!!this.al},n.prototype.ao=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var n=i.stringSplit(t,[".","["],0),r=i.stringSplit(e,[".","["],0);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var s=n[o],a=r[o];if(i.stringContains(s,"]")){if(!i.stringContains(a,"]"))return!1;if(a=i.stringReplace(a,"]",""),!this.as(s).contains(a))return!1}else if(!i.Base.equalsStatic(s,a))return!1}return!0},n.prototype.as=function(t){var e=new i.List$1(i.String_$type,0);if(i.stringContains(t,"]")){for(var n=(t=i.stringReplace(t,"]","")).split(","),r=0;r<n.length;r++){var o=n[r];if(i.stringContains(o,"as")){var s=o.indexOf("as"),a=o.substr(0,s).trim();e.add(a)}}return e}return e.add(t),e},n.prototype.bg=function(){if(null==this.actualProperties)return null;var t=this.actualProperties,e=new vn(this.i,this.be,!1);return this.bu(t,"",e,this.be),e.j()},n.prototype.bu=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r],s=o.ac,a=o.w,h=o.m,u=o.i,l=o.ar;if(s&&(a=o.v,h=o.l,u=o.h,l=o.ap),20!=a&&25!=a&&24!=a)if(null!=h&&h.count>0)for(var c=0;c<h.count;c++){var p=h._inner[c],f=e+o.a3+"["+c+"]";this.bu(p.a,f,i,p.b)}else if(null!=u){var d=e+o.a3;this.bu(u.a,d,i,u.b)}else{if(15==a&&null==l)continue;i.k(e+o.a3,l,n)}}},n.bv=function(t,e,r,o){for(var s=0;s<t.length;s++){var a=t[s],h=a.useCoercedValue,u=a.valueType,l=a.complexValues,c=a.complexValue,p=a.primitiveValue;h&&(u=a.coercedValueType,l=a.coercedComplexValues,c=a.coercedComplexValue,p=a.coercedPrimitiveValue);var f=0;if(20!=(f=i.EnumUtil.tryParse$1(St,u,!0,f).p2)&&25!=f&&24!=f)if(null!=l&&l.length>0)for(var d=0;d<l.length;d++){var b=l[d],g=e+a.propertyPath+"["+d+"]";n.bv(b.properties,g,r,b.descriptionType)}else if(null!=c){var y=e+a.propertyPath;n.bv(c.properties,y,r,c.descriptionType)}else r.k(e+a.propertyPath,p,o)}},n.prototype.b1=function(t,e,i){null!=this.l&&this.cd()},n.prototype.by=function(){null!=this.l&&this.cd()},n.prototype.bz=function(t,e){null!=this.l&&this.cd()},n.prototype.b0=function(t,e){null!=this.l&&this.cd()},Object.defineProperty(n.prototype,"i",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.b6("ActualContext",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.b6("DescriptionContext",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,this.b6("ComponentRenderer",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,this.b6("Target",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,this.b6("DescriptionType",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,this.b6("IsHorizontal",e,this.ae)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.b6("IsWrappingEnabled",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,this.b6("IsIndirectModeEnabled",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.cm},set:function(t){var e=this.cm;this.cm=t,e!=this.cm&&this.b6("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.b6("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.br=function(){var t=this.d;if(null!=t){if(null==t.actualSchema)return void(this.ax=-1);var e=t.actualCount;this.ax=e}else this.ax=-1},n.$t=i.markType(n,"PropertyEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.cp=i.BrushUtil.h(255,248,248,248),n.cq=i.BrushUtil.h(255,24,29,31),n}(i.Base),jn=function(t){function n(){var n=t.call(this)||this;return n._implementation=null,n.contentProperties=[],n.actualProperties=[],n._properties=null,n._propertiesAdapter=null,n._disconnected=!1,n._settingAttributes=!1,n._attached=!1,n._queuedSetAttributes=[],n._updatingFromAttribute=!1,n._actualDataSource=null,n.__p=null,n._hasUserValues=new Set,n._stylingContainer=null,n._stylingParent=null,n._inStyling=!1,n._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(n)),n._implementation=n.createImplementation(),n._implementation.externalObject=n,n._portalManager=new i.PortalManager("propertyEditorContent"),n._webComponentRenderer=new i.WebComponentRenderer(n,document,!0,{},n._portalManager),n._webComponentWrapper=n._webComponentRenderer.createElement("div"),n._webComponentRenderer.updateRoot(n._webComponentWrapper),n._webComponentWrapper.setStyleProperty("display","block"),n._webComponentWrapper.setStyleProperty("width","100%"),n._webComponentWrapper.setStyleProperty("height","100%"),n._propertiesAdapter=new i.CollectionAdapter(n.contentProperties,n.i.properties,n.actualProperties,(function(t){return t.i}),(function(t){n._webComponentRenderer&&n._webComponentRenderer.rootWrapper.getNativeElement().parentElement&&t._styling(n,n,n)}),(function(t){})),n.i.provideContainer(n._webComponentRenderer),n.i.notifySizeChanged(),new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(n,{childList:!0}),n._webComponentRenderer.addSizeWatcher((function(){n.i.notifySizeChanged()})),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"height",{get:function(){return this._height},set:function(t){this._height=t,this.style.height=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this._width},set:function(t){this._width=t,this.style.width=t,this.i.notifySizeChanged()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){var t=this;if(null===this._properties){var e=new qt;e._innerColl.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._propertiesAdapter.removeManualItemAt(n.oldStartingIndex),t._propertiesAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._propertiesAdapter.clearManualItems()}})),this._properties=e}return this._properties},enumerable:!1,configurable:!0}),n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.updateContentProperties=function(){this.contentProperties.length=0;for(var t=0;t<this.children.length;t++)this.children[t]instanceof Gt&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Cn},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPanelComponent=t}return n._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new qt,e=this.i.actualProperties;e||(e=new zt),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new qt;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.actualProperties;r||(r=new zt),n._inner=r,n.clear(),this._actualDataSource._setSyncTarget(n),this.i.actualProperties=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("rowHeight",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateMode",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(dn,t),this._a("updateMode",i.enumToString(dn,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("actualRowHeight",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.x?null:this.i.x.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.x=e,this._a("cellTextStyle",null!=this.i.x?this.i.x.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionContext",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderer",{get:function(){return this.i.f},set:function(t){this.i.f=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"target",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionType",{get:function(){return this.i.be},set:function(t){this.i.be=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHorizontal",{get:function(){return this.i.ak},set:function(t){this.i.ak=i.ensureBool(t),this._a("isHorizontal",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isWrappingEnabled",{get:function(){return this.i.am},set:function(t){this.i.am=i.ensureBool(t),this._a("isWrappingEnabled",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndirectModeEnabled",{get:function(){return this.i.al},set:function(t){this.i.al=i.ensureBool(t),this._a("isIndirectModeEnabled",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.co)},set:function(t){this.i.co=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.co))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.cr)},set:function(t){this.i.cr=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.cr))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.actualDataSource&&this.actualDataSource.findByName&&this.actualDataSource.findByName(t)?this.actualDataSource.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPanelComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.notifySetItem=function(t,e,i){this.i.b1(t,e,i)},n.prototype.notifyClearItems=function(){this.i.by()},n.prototype.notifyInsertItem=function(t,e){this.i.bz(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.b0(t,e)},n._observedAttributesIgcPropertyEditorPanelComponent=null,n.htmlTagName="igc-property-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Pn=function(){function t(){}return t.register=function(){Wt.register(),pn.register(),jn.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",jn),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",jn),i.TypeRegistrar.register("PropertyEditorPanel",Cn.$type)},t}(),wn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),On=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),Tn=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),In=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),kn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",mt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",E.$type)},t}(),Sn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"NativeUIContentRefreshedEventArgs"),n}(i.Base),xn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",Ti),i.TypeRegistrar.register("LayoutPrimaryKeyValue",Ce.$type)},t}(),An=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),Nn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new He},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionColorEditorComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionColorEditorComponent=t}return n._observedAttributesIgcToolActionColorEditorComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("value",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(Ci),Bn=function(){function t(){}return t.register=function(){Nn.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",Nn),i.TypeRegistrar.register("ToolActionColorEditor",He.$type)},t}(),Rn=function(t){function n(){var e=t.call(this)||this;return e._selectedValues=null,e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ge},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComboComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComboComponent=t}return n._observedAttributesIgcToolActionComboComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"dataSource",{get:function(){return this.i.itemsSource},set:function(t){this.i.itemsSource=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayMemberPath",{get:function(){return this.i.hp},set:function(t){this.i.hp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.ht},set:function(t){this.i.ht=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new An,e=this.i.hl;e||(e=new me),this._selectedValues=t._fromInner(e),this.i.hl=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new An;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.hl;r||(r=new me),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.hl=r},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(Ci),En=function(){function t(){}return t.register=function(){Rn.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",Rn),i.TypeRegistrar.register("ToolActionCombo",Ge.$type)},t}(),$n=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new We},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionButtonPairComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionButtonPairComponent=t}return n._observedAttributesIgcToolActionButtonPairComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"leftIsSelected",{get:function(){return this.i.h8},set:function(t){this.i.h8=i.ensureBool(t),this._a("leftIsSelected",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.ib},set:function(t){this.i.ib=i.ensureBool(t),this._a("rightIsSelected",this.i.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.h7},set:function(t){this.i.h7=i.ensureBool(t),this._a("leftIsDisabled",this.i.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.ia},set:function(t){this.i.ia=i.ensureBool(t),this._a("rightIsDisabled",this.i.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.i4},set:function(t){this.i.i4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.iy},set:function(t){this.i.iy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.h6},set:function(t){this.i.h6=i.ensureBool(t),this._a("isToggleDisabled",this.i.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.i0},set:function(t){this.i.i0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.ii},set:function(t){this.i.ii=+t,this._a("leftIconViewBoxLeft",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.ij},set:function(t){this.i.ij=+t,this._a("leftIconViewBoxTop",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.ik},set:function(t){this.i.ik=+t,this._a("leftIconViewBoxWidth",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("leftIconViewBoxHeight",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.j3)},set:function(t){this.i.j3=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.j3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hn)},set:function(t){this.i.hn=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.hn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.ho)},set:function(t){this.i.ho=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.ig},set:function(t){this.i.ig=+t,this._a("leftIconStrokeWidth",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.jf},set:function(t){this.i.jf=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.jn},set:function(t){this.i.jn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.jh},set:function(t){this.i.jh=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.jj},set:function(t){this.i.jj=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("rightIconViewBoxLeft",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("rightIconViewBoxTop",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("rightIconViewBoxWidth",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("rightIconViewBoxHeight",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hp)},set:function(t){this.i.hp=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hq)},set:function(t){this.i.hq=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("rightIconStrokeWidth",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.jy},set:function(t){this.i.jy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hr},set:function(t){this.i.hr=i.ensureEnum(_e,t),this._a("displayType",i.enumToString(_e,this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.ic},set:function(t){this.i.ic=+t,this._a("cornerRadius",this.i.ic)},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(Ci),Dn=function(){function t(){}return t.register=function(){$n.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",$n),i.TypeRegistrar.register("ToolActionButtonPair",We.$type)},t}(),zn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorAggregation",Bi),i.TypeRegistrar.register("ToolActionFieldSelectorAggregation",Ni.$type)},t}(),qn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorSelectedAggregation",$i),i.TypeRegistrar.register("ToolActionFieldSelectorSelectedAggregation",Ei.$type)},t}(),Vn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ye},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionTextInputComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionTextInputComponent=t}return n._observedAttributesIgcToolActionTextInputComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"value",{get:function(){return this.i.hn},set:function(t){this.i.hn=t},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(Ci),Un=function(){function t(){}return t.register=function(){Vn.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",Vn),i.TypeRegistrar.register("ToolActionTextInput",Ye.$type)},t}(),Ln=new i.Type(null,"IExternalToolbar"),Fn=new i.Type(null,"IToolbarView"),Mn=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.c=function(){n.a||(n.a=!0,n.b("Search","m22.241 24-7.414-7.414c-1.559 1.169-3.523 1.875-5.652 1.885h-.002c-.032 0-.07.001-.108.001-5.006 0-9.065-4.058-9.065-9.065 0-.038 0-.076.001-.114v.006c0-5.135 4.163-9.298 9.298-9.298s9.298 4.163 9.298 9.298c-.031 2.129-.733 4.088-1.904 5.682l.019-.027 7.414 7.414zm-12.942-21.487c-3.72.016-6.73 3.035-6.73 6.758 0 3.732 3.025 6.758 6.758 6.758s6.758-3.025 6.758-6.758c0-1.866-.756-3.555-1.979-4.778-1.227-1.223-2.92-1.979-4.79-1.979-.006 0-.012 0-.017 0h.001z"),n.b("ZoomIn","M 19.4758 12.1587 H 14.6339 V 7.3169 c 0 -0.6834 -0.5539 -1.2375 -1.2375 -1.2375 s -1.2375 0.5541 -1.2375 1.2375 v 4.8419 H 7.3171 c -0.6836 0 -1.2375 0.5541 -1.2375 1.2375 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 H 12.1589 v 4.8421 c 0 0.6834 0.5539 1.2375 1.2375 1.2375 s 1.2375 -0.5541 1.2375 -1.2375 V 14.6337 h 4.8419 c 0.6836 0 1.2375 -0.5541 1.2375 -1.2375 C 20.7133 12.7128 20.1594 12.1587 19.4758 12.1587 z"),n.b("ZoomOut","M 26.5087 10.4222 H 8.0865 c -1.0355 0 -1.875 0.8395 -1.875 1.875 c 0 1.0355 0.8395 1.875 1.875 1.875 h 18.4222 c 1.0355 0 1.875 -0.8395 1.875 -1.875 C 28.3837 11.2617 27.5443 10.4222 26.5087 10.4222 z"),n.b("Reset","M 13.5 21 A 9 9 90 1 0 4.5 12 v 4.65 L 1.8 13.95 L 0.75 15 l 4.5 4.5 l 4.5 -4.5 l -1.05 -1.05 L 6 16.65 V 12 H 6 A 7.5 7.5 90 1 1 13.5 19.5 Z"),n.b("CursorPointer","M 6.8243 23.7538 l -6.765 -22.44 c -0.26 -0.75 0.365 -1.545 1.3 -1.25 l 22.435 6.77 c 0.865 0.26 0.975 1.575 0.105 1.925 l -10.67 4.48 l -4.475 10.675 C 8.4192 24.7638 7.1193 24.6688 6.8243 23.7538 z M 2.5543 2.5638 l 5.415 17.91 l 3.54 -8.435 c 0.105 -0.26 0.31 -0.47 0.52 -0.52 l 8.43 -3.54 L 2.5543 2.5638 z"),n.b("CursorHand","M 17.0635 6.0452 c -0.0739 0 -0.1351 0.0044 -0.2088 0.0129 c -0.3164 0.0368 -0.6158 0.1516 -0.8408 0.3239 v -0.3899 c 0 -0.9837 -0.7223 -1.8096 -1.6807 -1.9211 c -0.0737 -0.0086 -0.1484 -0.013 -0.2225 -0.013 c -0.3922 -0.0001 -0.7664 0.1184 -1.0826 0.3386 c -0.0692 -0.9163 -0.7661 -1.6623 -1.6753 -1.7681 c -0.0737 -0.0086 -0.1478 -0.0103 -0.2218 -0.0103 h -0.0004 h -0.0003 c -0.5074 0 -0.9852 0.1955 -1.3454 0.5557 c -0.3318 0.3318 -0.5263 0.7622 -0.5547 1.2249 c -0.2483 -0.1739 -0.5402 -0.2902 -0.8582 -0.3272 c -0.0737 -0.0086 -0.1487 -0.0133 -0.2226 -0.0133 c -0.5074 -0.0001 -1.0137 0.1981 -1.3739 0.5582 c -0.3601 0.3601 -0.587 0.8377 -0.587 1.3451 v 6.453 l -0.4143 -0.4183 c -0.3557 -0.3503 -0.8125 -0.5429 -1.3141 -0.5429 c -0.5066 0 -0.9748 0.1966 -1.3318 0.5534 c -0.7214 0.7214 -0.7343 1.885 -0.0458 2.6266 l 4.0409 5.3272 l 0.087 1.1449 c 0.0515 0.6854 0.6307 1.2223 1.318 1.2223 l 7.3853 -0.0059 c 0.6604 -0.0008 1.223 -0.4949 1.3089 -1.1492 l 0.1791 -1.3637 c 0.5668 -0.9173 0.9584 -2.1335 1.2204 -3.6171 c 0.2288 -1.2955 0.3166 -2.8331 0.3166 -4.5701 v -3.6732 C 18.9389 6.8991 18.1132 6.0452 17.0635 6.0452 z M 16.3305 21.0554 c -0.0275 0.2095 -0.2059 0.374 -0.4172 0.3742 l -7.3838 0.0137 c -0.0002 0 -0.0004 0 -0.0006 0 c -0.2203 0 -0.4035 -0.1777 -0.4201 -0.3975 l -0.1058 -1.4123 c -0.0001 -0.0008 -0.0003 -0.0034 -0.0008 -0.004 l -4.2301 -5.5802 c -0.3864 -0.3864 -0.3864 -1.0192 0 -1.4056 c 0.1932 -0.1932 0.4479 -0.2901 0.7025 -0.2901 c 0.2547 0 0.5094 0.0965 0.7026 0.2897 l 1.1905 1.1241 c 0.0928 0.0876 0.1758 0.1268 0.2852 0.1268 c 0.2375 0 0.4358 -0.1853 0.4358 -0.4624 V 5.9616 c 0 -0.5519 0.4802 -1.0036 1.0322 -1.0036 c 0.0391 0 0.0733 0.0023 0.1133 0.0069 c 0.5108 0.0595 0.8796 0.5129 0.8796 1.0271 v 5.1461 c 0 0.2671 0.2173 0.4837 0.4845 0.4837 c 0.2705 0 0.4905 -0.2193 0.4905 -0.4898 V 4.5165 c 0 -0.552 0.4706 -1.0036 1.0225 -1.0036 c 0.039 0 0.0782 0.0023 0.1181 0.007 c 0.5108 0.0594 0.8845 0.5129 0.8845 1.0271 v 6.5847 c 0 0.2707 0.2203 0.4904 0.4911 0.4904 c 0.2669 0 0.4839 -0.2164 0.4839 -0.4832 V 5.9616 c 0 -0.5519 0.4609 -1.0036 1.0129 -1.0036 c 0.039 0 0.0829 0.0023 0.1228 0.0069 c 0.5108 0.0595 0.8893 0.5129 0.8893 1.0271 v 5.1282 c 0 0.2771 0.2254 0.498 0.5024 0.498 h 0.0083 c 0.256 0 0.4643 -0.2039 0.4643 -0.4599 v -3.1792 c 0 -0.5142 0.3739 -0.9676 0.8846 -1.0271 c 0.0399 -0.0047 0.0511 -0.0069 0.0902 -0.0069 c 0.5519 0 0.9752 0.4516 0.9752 1.0036 v 3.6732 c 0 3.1371 -0.3524 6.0358 -1.4787 7.79 c -0.0342 0.0533 -0.0427 0.113 -0.051 0.1758 L 16.3305 21.0554 z"),n.b("OptionDots","M10 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0-6a2 2 0 1 0 4 0 2 2 0 0 0-4 0zm0 12a2 2 0 1 0 4 0 2 2 0 0 0-4 0z"),n.b("OptionCog","M 21.7966 14.096 c -0.0701 -0.3878 -0.5044 -0.7946 -0.8726 -0.9345 l -0.9919 -0.3765 c -0.3682 -0.1399 -0.6371 -0.4639 -0.6191 -0.7256 c 0.0109 -0.1564 0.0173 -0.3142 0.0173 -0.4736 c 0 -0.1065 -0.003 -0.2122 -0.0079 -0.3172 c -0.0086 -0.1751 0.2696 -0.4474 0.6289 -0.609 l 0.8962 -0.4028 c 0.3592 -0.162 0.7954 -0.5869 0.8227 -0.9799 c 0.024 -0.3484 -0.0176 -0.8235 -0.243 -1.4119 c -0.2621 -0.6866 -0.6878 -1.1269 -1.0421 -1.3942 c -0.3146 -0.2374 -0.9086 -0.2231 -1.2679 -0.0611 l -0.78 0.351 c -0.3592 0.1616 -0.8528 0.0446 -1.1344 -0.231 c -0.0664 -0.0653 -0.1335 -0.1286 -0.2025 -0.1909 c -0.2918 -0.2644 -0.4387 -0.75 -0.2985 -1.1186 l 0.3071 -0.8107 c 0.1399 -0.3682 0.138 -0.9728 -0.1207 -1.2694 c -0.2381 -0.273 -0.6161 -0.5921 -1.2056 -0.8554 c -0.6615 -0.2955 -1.2548 -0.3041 -1.6811 -0.2396 c -0.3896 0.0592 -0.7954 0.4991 -0.9353 0.867 l -0.3548 0.9341 c -0.1399 0.3682 -0.2993 0.6656 -0.3559 0.6641 c -0.0345 -0.0015 -0.0686 -0.0019 -0.1028 -0.0019 c -0.2333 0 -0.4642 0.0112 -0.6923 0.0338 c -0.381 0.0375 -0.816 -0.1901 -0.9776 -0.5494 l -0.4215 -0.9375 c -0.1616 -0.3596 -0.5767 -0.8287 -0.9709 -0.8351 c -0.3435 -0.006 -0.8276 0.0784 -1.476 0.3855 c -0.7027 0.3334 -1.1141 0.6532 -1.3541 0.9139 c -0.267 0.2891 -0.2078 0.906 -0.0457 1.2652 l 0.5554 1.236 c 0.1616 0.3592 0.096 0.8498 -0.1215 1.1171 c -0.2171 0.2677 -0.6698 0.3874 -1.038 0.2479 l -1.3493 -0.5119 c -0.3682 -0.1399 -0.9937 -0.1785 -1.2772 0.096 c -0.2468 0.2389 -0.5295 0.6409 -0.771 1.3162 c -0.261 0.7328 -0.3251 1.2495 -0.3112 1.6035 c 0.0158 0.3938 0.4939 0.7879 0.8625 0.9278 l 1.647 0.6251 c 0.3682 0.1399 0.6683 0.4665 0.6896 0.7279 c 0.0206 0.2621 -0.2381 0.6038 -0.5974 0.7657 l -1.6432 0.7388 c -0.3592 0.1616 -0.8291 0.5771 -0.8351 0.9709 c -0.0056 0.3435 0.0788 0.828 0.3855 1.4756 c 0.3337 0.7027 0.6532 1.1141 0.9139 1.3541 c 0.2899 0.2674 0.9064 0.2078 1.2656 0.0461 l 1.7618 -0.792 c 0.3592 -0.162 0.7785 -0.1545 0.9469 0.0049 s 0.2006 0.5779 0.0607 0.9465 L 6.7786 19.475 c -0.1399 0.3682 -0.1785 0.9937 0.096 1.2765 c 0.2393 0.2471 0.6409 0.5302 1.3162 0.7714 c 0.7328 0.2614 1.2499 0.3255 1.6039 0.3116 c 0.3938 -0.0158 0.7875 -0.4943 0.9274 -0.8625 l 0.6349 -1.6725 c 0.1399 -0.3682 0.3968 -0.6532 0.5741 -0.6446 c 0.1065 0.0053 0.2137 0.0079 0.3214 0.0079 c 0.0503 0 0.0998 -0.0004 0.1492 -0.0019 c 0.0821 -0.0026 0.2801 0.2858 0.4417 0.6454 l 0.7361 1.6365 c 0.1616 0.3592 0.6019 0.7448 0.9949 0.7642 c 0.4204 0.021 1.0009 -0.0232 1.6612 -0.2752 c 0.6319 -0.2419 0.9971 -0.6015 1.2071 -0.9158 c 0.219 -0.3274 0.1455 -0.9439 -0.0165 -1.3031 l -0.6023 -1.3399 c -0.1616 -0.3592 -0.0634 -0.8216 0.1976 -1.059 c 0.2599 -0.2374 0.75 -0.3375 1.1179 -0.1973 l 1.287 0.4886 c 0.3682 0.1399 0.99 0.1834 1.3043 -0.0544 c 0.2767 -0.21 0.5966 -0.5587 0.8554 -1.1378 C 21.8964 15.218 21.8806 14.5614 21.7966 14.096 z M 11.9244 16.9213 c -2.9415 0 -5.3254 -2.3839 -5.3254 -5.325 s 2.3839 -5.325 5.3254 -5.325 c 2.9407 0 5.325 2.3839 5.325 5.325 C 17.2497 14.5374 14.8651 16.9213 11.9244 16.9213 z"),n.b("CheveronDown","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronLeft","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronRight","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("CheveronUp","M 13.4122 18.5627 c -0.5216 0.6955 -1.3183 0.6955 -1.8409 0 c -0.0226 -0.0353 -0.0226 -0.0353 -0.0226 -0.0353 L 5.459 10.4433 c -0.4951 -0.6955 -0.4951 -1.7539 0 -2.4494 c 0.5216 -0.6653 1.3183 -0.6653 1.837 0 l 5.1946 6.9565 l 5.171 -6.8909 c 0.4951 -0.6602 1.3183 -0.6602 1.8144 0 c 0.4951 0.6653 0.4951 1.7577 0 2.4192 L 13.4122 18.5627 z"),n.b("Close","M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"))},n.b=function(t,e){i.SvgIconRegistry.instance.addSvgPathString("default",t,e)},n.$t=i.markType(n,"ToolbarIconManager"),n.a=!1,n}(i.Base),Hn=new i.Type(null,"IExternalToolPanel"),Gn=new i.Type(null,"IToolPanelView"),Wn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new ie},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),t}(),Kn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new pe},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Xn=new i.Type(null,"IExternalListPanel"),Qn=new i.Type(null,"IListPanelView"),Yn=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e.b=null,e.c=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelDataBindingEventArgs"),n}(i.Base),Jn=new i.Type(null,"IListPanelViewportManager"),Zn=new i.Type(null,"IPropertyEditorPanelView"),tr=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),er=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),ir=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.Name=null,e.Value=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPanelDropDownDataListItem"),n}(i.Base),nr=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Bt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ComboEditor=_,t.ComboEditorBridge=Yt,t.ComboEditorCloneDataSourceFilterOperation=wn,t.ComboEditorCloneDataSourceFilterOperation_$type=On,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=g,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=Tn,t.ComboEditorSelectedItemChangeType_$type=In,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=v,t.ComboEditorVisualModelExport=b,t.DrillDownRequestedEventArgs=pi,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.IExternalListPanel_$type=Xn,t.IExternalToolPanel_$type=Hn,t.IExternalToolbar_$type=Ln,t.IListPanelView_$type=Qn,t.IListPanelViewportManager_$type=Jn,t.INativeUIToolPanelBridge_$type=Jt,t.INativeUIToolbarBridge_$type=re,t.IPropertyEditorPanelView_$type=Zn,t.IToolPanelView_$type=Gn,t.IToolbarView_$type=Fn,t.IgcComboEditorComponent=T,t.IgcComboEditorGotFocusEventArgs=w,t.IgcComboEditorLostFocusEventArgs=O,t.IgcComboEditorModule=It,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=P,t.IgcLayoutPrimaryKeyValue=Ti,t.IgcLayoutPrimaryKeyValueModule=xn,t.IgcLayoutSelectedItemsCollection=An,t.IgcLayoutSelectedKeysCollection=Ii,t.IgcListPanelActiveRowChangedEventArgs=gt,t.IgcListPanelComponent=Ot,t.IgcListPanelContentRebindEventArgs=wt,t.IgcListPanelContentRecycledEventArgs=Pt,t.IgcListPanelContentRefreshedEventArgs=ct,t.IgcListPanelItemEventArgs=bt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=Tt,t.IgcListPanelPrimaryKeyValue=mt,t.IgcListPanelPrimaryKeyValueModule=kn,t.IgcListPanelSelectedItemsChangedEventArgs=jt,t.IgcListPanelSelectedItemsCollection=Ct,t.IgcListPanelSelectedKeysChangedEventArgs=_t,t.IgcListPanelSelectedKeysCollection=vt,t.IgcListPanelSelectionChangedEventArgs=yt,t.IgcListPanelTemplateHeightRequestedEventArgs=ft,t.IgcListPanelTemplateItemUpdatingEventArgs=lt,t.IgcListPanelTemplateWidthRequestedEventArgs=pt,t.IgcOnCollapsedEventArgs=l,t.IgcOnExpandedEventArgs=u,t.IgcPropertyEditorDataSource=nr,t.IgcPropertyEditorDescriptionObject=Vt,t.IgcPropertyEditorDescriptionObjectCollection=Ut,t.IgcPropertyEditorPanelComponent=jn,t.IgcPropertyEditorPanelModule=Pn,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=Lt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Ft,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Ht,t.IgcPropertyEditorPropertyDescriptionCollection=qt,t.IgcPropertyEditorPropertyDescriptionComponent=Gt,t.IgcPropertyEditorPropertyDescriptionModule=Wt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Mt,t.IgcToolActionButtonComponent=en,t.IgcToolActionButtonModule=nn,t.IgcToolActionButtonPairComponent=$n,t.IgcToolActionButtonPairModule=Dn,t.IgcToolActionCheckboxComponent=wi,t.IgcToolActionCheckboxListComponent=ki,t.IgcToolActionCheckboxListModule=Si,t.IgcToolActionCheckboxModule=Oi,t.IgcToolActionCollection=gi,t.IgcToolActionColorEditorComponent=Nn,t.IgcToolActionColorEditorModule=Bn,t.IgcToolActionComboComponent=Rn,t.IgcToolActionComboModule=En,t.IgcToolActionComponent=Ci,t.IgcToolActionEventDetail=mi,t.IgcToolActionEventDetailCollection=vi,t.IgcToolActionFieldSelectorAggregation=Bi,t.IgcToolActionFieldSelectorAggregationModule=zn,t.IgcToolActionFieldSelectorAggregationsCollection=Ri,t.IgcToolActionFieldSelectorComponent=Vi,t.IgcToolActionFieldSelectorModule=Ui,t.IgcToolActionFieldSelectorSelectedAggregation=$i,t.IgcToolActionFieldSelectorSelectedAggregationModule=qn,t.IgcToolActionFieldSelectorSelectedAggregationsCollection=Di,t.IgcToolActionGroupHeaderComponent=xi,t.IgcToolActionGroupHeaderModule=Ai,t.IgcToolActionIconButtonComponent=Hi,t.IgcToolActionIconButtonModule=Gi,t.IgcToolActionIconMenuComponent=Wi,t.IgcToolActionIconMenuModule=Ki,t.IgcToolActionLabelComponent=ji,t.IgcToolActionLabelModule=Pi,t.IgcToolActionNumberInputComponent=Li,t.IgcToolActionNumberInputModule=Fi,t.IgcToolActionPerformedEventArgs=_i,t.IgcToolActionPopupOpeningEventArgs=Mi,t.IgcToolActionRadioComponent=Zi,t.IgcToolActionRadioModule=tn,t.IgcToolActionSeparatorComponent=Xi,t.IgcToolActionSeparatorModule=Qi,t.IgcToolActionSubPanelComponent=Yi,t.IgcToolActionSubPanelModule=Ji,t.IgcToolActionTextInputComponent=Vn,t.IgcToolActionTextInputModule=Un,t.IgcToolCommandEventArgs=yi,t.IgcToolContextBinding=Xt,t.IgcToolContextBindingCollection=Qt,t.IgcToolPanelComponent=an,t.IgcToolPanelContentRefreshedEventArgs=rn,t.IgcToolPanelContextChangedEventArgs=Wn,t.IgcToolPanelContextSwappedEventArgs=Kn,t.IgcToolPanelModule=hn,t.IgcToolbarComponent=cn,t.IgcToolbarModule=pn,t.IgcToolbarSubMenuClosingEventArgs=ln,t.IgcToolbarSubMenuOpeningEventArgs=un,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=Ce,t.LayoutSelectedItemsCollection=me,t.LayoutSelectedKeysCollection=je,t.ListPanel=et,t.ListPanelActivationManager=ht,t.ListPanelActivationMode=x,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=H,t.ListPanelColumnDefinition=Q,t.ListPanelContentRebindEventArgs=U,t.ListPanelContentRecycledEventArgs=V,t.ListPanelContentRefreshedEventArgs=G,t.ListPanelDataBindingEventArgs=Yn,t.ListPanelDataSourceNotificationBridge=nt,t.ListPanelItemEventArgs=st,t.ListPanelItemModel=ot,t.ListPanelItemPresenter=W,t.ListPanelItemVisualData=Y,t.ListPanelLayoutPanel=rt,t.ListPanelOrientation=D,t.ListPanelOrientation_$type=z,t.ListPanelPrimaryKeyValue=E,t.ListPanelRowRange=Z,t.ListPanelScrollerKeyboardListener=dt,t.ListPanelSelectedItemsChangedEventArgs=L,t.ListPanelSelectedItemsCollection=R,t.ListPanelSelectedKeysChangedEventArgs=F,t.ListPanelSelectedKeysCollection=$,t.ListPanelSelectionBehavior=N,t.ListPanelSelectionBehavior_$type=B,t.ListPanelSelectionChangedEventArgs=M,t.ListPanelSelectionManager=at,t.ListPanelSelectionMode=k,t.ListPanelSelectionMode_$type=S,t.ListPanelTemplateHeightRequestedEventArgs=X,t.ListPanelTemplateItemUpdatingEventArgs=it,t.ListPanelTemplateWidthRequestedEventArgs=K,t.ListPanelView=tt,t.ListPanelViewportChangedEventArgs=q,t.ListPanelVisualData=J,t.ListPanelVisualModel=I,t.NativeUIContentRefreshedEventArgs=Sn,t.NativeUILayoutFactory=De,t.NativeUIToolPanel=Le,t.NativeUIToolbar=Fe,t.NativeUIToolbarSubMenuClosingEventArgs=he,t.NativeUIToolbarSubMenuOpeningEventArgs=se,t.NestedActionMode=on,t.NestedActionMode_$type=sn,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=bi,t.PanelInfo=di,t.PropertyEditorDataSource=Bt,t.PropertyEditorDescriptionObject=$t,t.PropertyEditorDescriptionObjectCollection=Dt,t.PropertyEditorPanel=Cn,t.PropertyEditorPanelColumnDefinition=yn,t.PropertyEditorPanelColumnFieldType_$type=er,t.PropertyEditorPanelColumnType_$type=tr,t.PropertyEditorPanelComboBoxBridgeItem=mn,t.PropertyEditorPanelDataBindingEventArgs=gn,t.PropertyEditorPanelDropDownDataListItem=ir,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=bn,t.PropertyEditorPanelUpdateMode=fn,t.PropertyEditorPanelUpdateMode_$type=dn,t.PropertyEditorPanelView=_n,t.PropertyEditorPropertyDescription=Rt,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=xt,t.PropertyEditorPropertyDescriptionChangedEventArgs=At,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=Et,t.PropertyEditorPropertyDescriptionCollection=zt,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Nt,t.PropertyEditorTreeTransformer=vn,t.PropertyEditorValueType=kt,t.PropertyEditorValueType_$type=St,t.ToolAction=Me,t.ToolActionButton=Je,t.ToolActionButtonDisplayType=xe,t.ToolActionButtonDisplayType_$type=Ae,t.ToolActionButtonGroupDisplayType=ve,t.ToolActionButtonGroupDisplayType_$type=_e,t.ToolActionButtonPair=We,t.ToolActionCheckbox=oi,t.ToolActionCheckboxList=Ke,t.ToolActionCheckboxListIndexType=Pe,t.ToolActionCheckboxListIndexType_$type=we,t.ToolActionCollection=ai,t.ToolActionColorEditor=He,t.ToolActionCombo=Ge,t.ToolActionEventDetail=fe,t.ToolActionEventDetailCollection=be,t.ToolActionFieldSelector=Xe,t.ToolActionFieldSelectorAggregation=Ni,t.ToolActionFieldSelectorAggregationsCollection=zi,t.ToolActionFieldSelectorEventType=ke,t.ToolActionFieldSelectorEventType_$type=Se,t.ToolActionFieldSelectorSelectedAggregation=Ei,t.ToolActionFieldSelectorSelectedAggregationsCollection=qi,t.ToolActionFieldSelectorType=Oe,t.ToolActionFieldSelectorType_$type=Te,t.ToolActionFieldSelector_ToolActionFieldSelectorItem=Ie,t.ToolActionGroupHeader=ni,t.ToolActionIconButton=ii,t.ToolActionIconMenu=ri,t.ToolActionIconMenuVisualData=Be,t.ToolActionLabel=Ze,t.ToolActionMeasurementContext=de,t.ToolActionNumberInput=si,t.ToolActionPerformedEventArgs=ge,t.ToolActionPopupOpeningEventArgs=li,t.ToolActionRadio=ti,t.ToolActionSeparator=ei,t.ToolActionSubPanel=Qe,t.ToolActionTextInput=Ye,t.ToolActionVisualData=ye,t.ToolCommandEventArgs=Zt,t.ToolContextBinding=Kt,t.ToolContextBindingCollection=ce,t.ToolPanel=ci,t.ToolPanelContentRefreshedEventArgs=$e,t.ToolPanelContext=ne,t.ToolPanelContextChangedEventArgs=ie,t.ToolPanelContextSwappedEventArgs=pe,t.ToolPanelDropdownMenuVisualData=Ee,t.ToolPanelOrientation=te,t.ToolPanelOrientation_$type=ee,t.ToolPanelView=Ue,t.ToolPanelVisualData=Re,t.ToolPanelsPresenter=fi,t.Toolbar=hi,t.ToolbarContextAccessor=ui,t.ToolbarIconManager=Mn,t.ToolbarOrientation=ue,t.ToolbarOrientation_$type=le,t.ToolbarSubMenuClosingEventArgs=ae,t.ToolbarSubMenuOpeningEventArgs=oe,t.ToolbarView=Ve,t.TooltipTextPresenter=Ne,t.XExpansionPanel=h,t.XToolPanelBridge=ze,t.XToolbarBridge=qe,Object.defineProperty(t,"__esModule",{value:!0})}));