igniteui-webcomponents-layouts 7.1.0-beta.2 → 7.1.0-beta.3

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 (55) hide show
  1. package/bundles/igniteui-webcomponents-layouts.umd.js +5588 -4983
  2. package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
  3. package/esm2015/lib/NativeUILayoutFactory_combined.js +4759 -4439
  4. package/esm2015/lib/PropertyEditorPanelView_combined.js +7 -7
  5. package/esm2015/lib/igc-combo-editor-component.js +160 -32
  6. package/esm2015/lib/igc-tool-action-button-component.js +6 -6
  7. package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
  8. package/esm2015/lib/igc-tool-action-checkbox-component.js +29 -29
  9. package/esm2015/lib/igc-tool-action-checkbox-group-component.js +10 -10
  10. package/esm2015/lib/igc-tool-action-checkbox-list-component.js +40 -40
  11. package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
  12. package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
  13. package/esm2015/lib/igc-tool-action-component.js +61 -61
  14. package/esm2015/lib/igc-tool-action-field-selector-component.js +45 -45
  15. package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
  16. package/esm2015/lib/igc-tool-action-icon-button-component.js +31 -31
  17. package/esm2015/lib/igc-tool-action-icon-menu-component.js +9 -9
  18. package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
  19. package/esm2015/lib/igc-tool-action-radio-component.js +47 -34
  20. package/esm2015/lib/igc-tool-action-radio-group-component.js +10 -10
  21. package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
  22. package/esm2015/lib/igc-tool-action-sub-panel-component.js +3 -3
  23. package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
  24. package/esm2015/lib/igc-tool-panel-component.js +283 -253
  25. package/esm2015/lib/igc-toolbar-component.js +117 -87
  26. package/esm5/lib/NativeUILayoutFactory_combined.js +4573 -4197
  27. package/esm5/lib/PropertyEditorPanelView_combined.js +7 -7
  28. package/esm5/lib/igc-combo-editor-component.js +160 -32
  29. package/esm5/lib/igc-tool-action-button-component.js +6 -6
  30. package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
  31. package/esm5/lib/igc-tool-action-checkbox-component.js +29 -29
  32. package/esm5/lib/igc-tool-action-checkbox-group-component.js +10 -10
  33. package/esm5/lib/igc-tool-action-checkbox-list-component.js +40 -40
  34. package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
  35. package/esm5/lib/igc-tool-action-combo-component.js +8 -8
  36. package/esm5/lib/igc-tool-action-component.js +61 -61
  37. package/esm5/lib/igc-tool-action-field-selector-component.js +45 -45
  38. package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
  39. package/esm5/lib/igc-tool-action-icon-button-component.js +31 -31
  40. package/esm5/lib/igc-tool-action-icon-menu-component.js +9 -9
  41. package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
  42. package/esm5/lib/igc-tool-action-radio-component.js +51 -34
  43. package/esm5/lib/igc-tool-action-radio-group-component.js +10 -10
  44. package/esm5/lib/igc-tool-action-separator-component.js +6 -6
  45. package/esm5/lib/igc-tool-action-sub-panel-component.js +3 -3
  46. package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
  47. package/esm5/lib/igc-tool-panel-component.js +295 -253
  48. package/esm5/lib/igc-toolbar-component.js +129 -87
  49. package/fesm2015/igniteui-webcomponents-layouts.js +5752 -5231
  50. package/fesm5/igniteui-webcomponents-layouts.js +5588 -4983
  51. package/lib/NativeUILayoutFactory_combined.d.ts +1040 -997
  52. package/lib/igc-tool-action-radio-component.d.ts +8 -0
  53. package/lib/igc-tool-panel-component.d.ts +15 -0
  54. package/lib/igc-toolbar-component.d.ts +15 -0
  55. package/package.json +3 -3
@@ -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.n(this.p,this.h.bl),null!=this.l&&i.NativeUI.r(this.l,this.h.bj),null!=this.o&&i.NativeUI.r(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.ac;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.aj;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.c4(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.l(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.ab="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.t=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,"ac",{get:function(){return this.ab},set:function(t){if(t!=this.ab){var e=this.ab;this.ab=t,this.aw("Caption",e,this.ab)}},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,"aj",{get:function(){return this.t},set:function(t){if(t!=this.t){var e=this.t;this.t=t,this.aw("DescriptionText",e,this.t)}},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"DescriptionText":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.l(188,0,0,0),n.bt=i.BrushUtil.l(188,0,0,0),n.r=2,n.bu=i.BrushUtil.l(255,245,245,245),n.bw=i.BrushUtil.l(66,0,0,0),n.bv=i.BrushUtil.l(30,0,0,0),n.br=i.BrushUtil.l(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.ac},set:function(t){this.i.ac=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,"descriptionText",{get:function(){return this.i.aj},set:function(t){this.i.aj=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),g=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.n=!1,e.x=0,e.aa=0,e.ab=0,e.v=0,e.a=null,e.j=0,e.b=null,e.p=0,e.ay=null,e.ax=null,e.k=0,e._dropDownButtonVisible=!1,e.q=0,e.ae=null,e.c=null,e.ah=null,e.ai=null,e.aj=null,e.w=0,e.af=null,e.ag=null,e._actualLabelVisible=!1,e._actualNoMatchesFoundLabel=null,e.d=null,e.e=null,e.am=null,e.an=null,e.ao=null,e.y=0,e.ak=null,e.al=null,e.ap=null,e._rowSeparatorsVisible=!1,e.f=null,e.au=null,e.av=null,e.aw=null,e.z=0,e.as=null,e.at=null,e.g=null,e.r=0,e.h=null,e.s=0,e.t=0,e.u=0,e.ar=null,e.ac=null,e.i=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.aq=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualBaseTheme : "+this.j+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.p+", "),t.l("actualContentPadding : { left: "+this.ay.left+",top: "+this.ay.top+",right: "+this.ay.right+",bottom: "+this.ay.bottom+"},"),t.l("actualDensity : "+this.k+", "),t.l("dropDownButtonVisible : "+this.dropDownButtonVisible+", "),t.l("actualFocusUnderlineOpacity : "+this.q+", "),t.l('label : "'+this.ae+'", '),t.l("actualLabelTextColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.ah)||t.l('labelFontStyle : "'+this.ah+'", '),i.stringIsNullOrEmpty(this.ai)||t.l('labelFontVariant : "'+this.ai+'", '),i.stringIsNullOrEmpty(this.aj)||t.l('labelFontWeight : "'+this.aj+'", '),i.stringIsNullOrEmpty(this.af)||t.l('labelFontFamily : "'+this.af+'", '),i.stringIsNullOrEmpty(this.ag)||t.l('labelFontStretch : "'+this.ag+'", '),i.isNaN_(this.w)||t.l("labelFontSize : "+this.w+", "),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.am)||t.l('noMatchesFoundLabelFontStyle : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||t.l('noMatchesFoundLabelFontVariant : "'+this.an+'", '),i.stringIsNullOrEmpty(this.ao)||t.l('noMatchesFoundLabelFontWeight : "'+this.ao+'", '),i.stringIsNullOrEmpty(this.ak)||t.l('noMatchesFoundLabelFontFamily : "'+this.ak+'", '),i.stringIsNullOrEmpty(this.al)||t.l('noMatchesFoundLabelFontStretch : "'+this.al+'", '),i.isNaN_(this.y)||t.l("noMatchesFoundLabelFontSize : "+this.y+", "),t.l('placeholder : "'+this.ap+'", '),t.l("rowSeparatorsVisible : "+this.rowSeparatorsVisible+", "),t.l("actualTextColor : "+this.f.serialize()+", "),i.stringIsNullOrEmpty(this.au)||t.l('textStyleFontStyle : "'+this.au+'", '),i.stringIsNullOrEmpty(this.av)||t.l('textStyleFontVariant : "'+this.av+'", '),i.stringIsNullOrEmpty(this.aw)||t.l('textStyleFontWeight : "'+this.aw+'", '),i.stringIsNullOrEmpty(this.as)||t.l('textStyleFontFamily : "'+this.as+'", '),i.stringIsNullOrEmpty(this.at)||t.l('textStyleFontStretch : "'+this.at+'", '),i.isNaN_(this.z)||t.l("textStyleFontSize : "+this.z+", "),t.l("actualUnderlineColor : "+this.g.serialize()+", "),t.l("actualUnderlineOpacity : "+this.r+", "),t.l("actualUnderlineRippleColor : "+this.h.serialize()+", "),t.l("actualUnderlineRippleOpacity : "+this.s+", "),t.l("actualUnderlineRippleWidth : "+this.t+", "),t.l("actualUnderlineWidth : "+this.u+", "),t.l('text : "'+this.ar+'", '),null!=this.ac&&t.l('value : "'+this.ac.toString()+'", '),t.l("}"),t.toString()},n.$t=i.markType(n,"ComboEditorVisualModelExport"),n}(i.Base),b=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.ao,"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.b7){var i=this.r();this.a.bh.cf(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.ao);if(null!=u){u.oi=h.k4,u.ks=h.jg,u.no=h.j7,u.eg=h.cx,u.np=h.j8,u.eh=h.cy,u.ei=h.cz,u.nq=h.j9,u.ej=h.c0,u.ek=h.c1,u.n6=h.ke,u.e5=h.c2,u.n7=h.kf,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.gc)}}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 g=d.value;if(null!=g&&null!==i.typeCast(n.XLabel.$,g)){g.dj=h.ka;var b=g;null!=h.av&&(b.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.ao,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.ao;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.ao,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.ao;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.ao,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.ao.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.ao.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.av(this.c,7,(function(t){e.c.append(t.ao),e.a.ie(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.ao;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.kl=n.XInputGroup.m.af(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.km=n.XInputGroup.m.af(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.k6=n.XInputGroup.m.ak(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.ji=n.XInputGroup.m.z(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.kn=n.XInputGroup.m.af(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.ko=n.XInputGroup.m.af(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.kp=n.XInputGroup.m.af(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.kq=n.XInputGroup.m.af(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.kr=n.XInputGroup.m.af(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.ju=null,e.jj=n.ThemeResolver.ah(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.af=0,e.ae=1,e.jv=null,e.jk=n.ThemeResolver.ah(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.k3=new i.Thickness(1,NaN,NaN,NaN,NaN),e.k2=n.ThemeResolver.am(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.jf=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.je=n.ThemeResolver.ab(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.jw=null,e.jl=n.ThemeResolver.ah(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.jx=null,e.jm=n.ThemeResolver.ah(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.jy=null,e.jn=n.ThemeResolver.ah(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.f2=null,e.jz=null,e.jo=r.ki,e.as=null,e.ap=null,e.bs=!1,e.f5=null,e.er="No Matches Found",e.j0=null,e.jp=r.kj,e.j1=null,e.jq=r.kk,e.at=null,e.aq=null,e.gd="",e.j2=r.ks,e.jr=r.ks,e.au=null,e.ar=null,e.j3=null,e.js=n.ThemeResolver.ah(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.j4=null,e.jt=n.ThemeResolver.ah(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.gz=function(){this.ad.dw=-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.iq=function(t,e,o){switch(t){case"BackgroundColor":this.j5=null!=this.kg?this.kg:this.kl;break;case"BorderColor":this.j6=null!=this.kh?this.kh:this.km;break;case"BorderWidth":this.cw=i.isNaN_(this.c6)?this.c8:this.c6;break;case"ContentPadding":this.k4=n.XInputGroup.oh(this.k5,this.k6);break;case"CornerRadius":this.jg=n.XInputGroup.kr(this.jh,this.ji);break;case"FocusBorderColor":this.j7=null!=this.kt?this.kt:this.kn;break;case"FocusBorderWidth":this.cx=i.isNaN_(this.di)?this.c9:this.di;break;case"FocusUnderlineColor":this.j8=null!=this.ku?this.ku:this.ko;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.j9=null!=this.kv?this.kv:this.kp;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.jb();break;case"LabelTextColor":this.ka=null!=this.kw?this.kw:r.ki;break;case"LabelTextStyle":this.av=null!=this.a2?this.a2:r.ay;break;case"NoMatchesFoundLabelTextColor":this.kc=null!=this.ky?this.ky:r.kk;break;case"NoMatchesFoundLabelBackgroundColor":this.kb=null!=this.kx?this.kx:r.kj;break;case"NoMatchesFoundLabelTextStyle":this.aw=null!=this.a3?this.a3:r.az;break;case"UnderlineColor":this.ke=null!=this.k0?this.k0:this.kq;break;case"UnderlineOpacity":this.c2=i.isNaN_(this.dn)?this.de:this.dn;break;case"UnderlineRippleColor":this.kf=null!=this.k1?this.k1:this.kr;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.kd=null!=this.kz?this.kz:r.ks;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.i2();break;case"NoMatchesFoundLabel":this.actualNoMatchesFoundLabel=i.stringIsNullOrEmpty(this.f6)?"No Matches Found":this.f6;break;case"Label":case"PlaceholderText":this.i2(),this.actualLabelVisible=!i.stringIsNullOrEmpty(this.f2);break;case"Text":this.i6();var s=null!=e?e.toString():null,a=null!=o?o.toString():null;this.id(new f(s,a)),this.ip(1,a);break;case"Value":this.ia(new d(e,o)),this.ip(0,o);break;case"AllowFilter":this.g7(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.g9(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.h7("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.h7("Fields",e,this.c)},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.h7("BackgroundColor",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.h7("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.h7("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.h7("ActualBaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kh",{get:function(){return this.jv},set:function(t){var e=this.jv;this.jv=t,e!=this.jv&&this.h7("BorderColor",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.h7("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.h7("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.h7("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k5",{get:function(){return this.k3},set:function(t){var e=this.k3;this.k3=t,e!=this.k3&&this.h7("ContentPadding",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.h7("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jh",{get:function(){return this.jf},set:function(t){var e=this.jf;this.jf=t,e!=this.jf&&this.h7("CornerRadius",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.h7("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.h7("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.h7("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.h7("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.h7("DropDownButtonVisible",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.h7("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.jl},set:function(t){var e=this.jl;this.jl=t,e!=this.jl&&this.h7("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.h7("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.h7("ActualFocusBorderWidth",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.h7("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.jm},set:function(t){var e=this.jm;this.jx=t,e!=this.jm&&this.h7("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.h7("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.h7("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.h7("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.h7("ActualFocusUnderlineRippleOpacity",e,t)},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.h7("HoverUnderlineColor",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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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,"f0",{get:function(){return this.f2},set:function(t){var e=this.f0;0!=i.StringComparer.b.compare(t,e)&&(this.f2=t,this.h7("Label",e,this.f2))},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.h7("LabelTextColor",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.h7("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.h7("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.h7("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.h7("ActualLabelVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f6",{get:function(){return this.f5},set:function(t){var e=this.f5;0!=i.StringComparer.b.compare(t,e)&&(this.f5=t,this.h7("NoMatchesFoundLabel",e,this.f5))},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.h7("ActualNoMatchesFoundLabel",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.h7("NoMatchesFoundLabelBackgroundColor",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.h7(r.et,e,t)},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.h7("NoMatchesFoundLabelTextColor",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.h7("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.h7("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.h7("ActualNoMatchesFoundLabelTextStyle",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gc",{get:function(){return this.gd},set:function(t){var e=this.gc;0!=i.StringComparer.b.compare(t,e)&&(this.gd=t,this.h7("PlaceholderText",e,this.gd))},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.h7("TextColor",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.h7("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.h7("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.h7("ActualTextStyle",e,this.ar)},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.h7("UnderlineColor",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.h7("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.h7("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.h7("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k1",{get:function(){return this.j4},set:function(t){var e=this.j4;this.j4=t,e!=this.j4&&this.h7("UnderlineRippleColor",e,t)},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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("AllowFilter",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gh",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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.fu=function(){return this.ft(this.gh)},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.fu();if(null!=i){var n=this.dx(t,i);e=null!=n?n.toString():null}else e=null;return e},r.prototype.ft=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.ft(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.ft(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.h9=function(t){this.ip(2,t)},r.prototype.ip=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.i1(e.toString());break;case 0:this.i0(e)}}finally{this.b2=!1}}},r.prototype.iz=function(t){this.text=t},r.prototype.jd=function(){this.ax=null==this.a4?this.a1:this.a4,this.av=null==this.a2?this.a1:this.a2},r.prototype.i4=function(){},r.prototype.closeUp=function(){this.g1()},r.prototype.destroy=function(){this.provideRenderer(null)},r.prototype.dropDown=function(){this.g6()},r.prototype.select=function(){this.iv()},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().aq()},r.prototype.u=function(){var t,n,r=new g;r.i=this.ac.ei(),r.n=this.bh.b7;try{for(var o=e.__values(i.fromEnum(r.i.a)),s=o.next();!s.done;s=o.next()){var a=s.value,h=a.e,u=this.actualDataSource.getItemAtIndex(h),l=this.fs(u);a.f=l}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}if(r.a=i.AppearanceHelper.a(this.j5),r.j=this.ah,r.b=i.AppearanceHelper.a(this.j6),r.p=this.cw,r.ay=this.k4,r.ax=this.jg,r.k=this.am,r.dropDownButtonVisible=this.dropDownButtonVisible,r.q=this.cy,r.ae=this.f0,r.c=i.AppearanceHelper.a(this.ka),r.actualLabelVisible=this.actualLabelVisible,r.actualNoMatchesFoundLabel=this.actualNoMatchesFoundLabel,r.d=i.AppearanceHelper.a(this.kb),r.e=i.AppearanceHelper.a(this.kc),r.ap=this.gc,r.f=i.AppearanceHelper.a(this.kd),r.g=i.AppearanceHelper.a(this.ke),r.r=this.c2,r.h=i.AppearanceHelper.a(this.kf),r.s=this.c3,r.t=this.c4,r.u=this.c5,r.ar=this.text,r.ac=this.value,null!=this.av){var c=this.av;if(null!=this.ab&&null==c.q){var p=this.ab.c,f=i.FontUtil.getFontInfoFromString(p,c.fontString);c.q=f.q,c.f=f.f,c.r=f.r,c.t=f.t,c.u=f.u,c.v=f.v}null!=c.q&&(r.af=c.q),i.isNaN_(c.f)||(r.w=c.f),null!=c.v&&(r.aj=c.v),null!=c.t&&(r.ah=c.t),null!=c.r&&(r.ag=c.t)}if(null!=this.aw){var d=this.aw;if(null!=this.ab&&null==d.q){var b=this.ab.c,y=i.FontUtil.getFontInfoFromString(b,d.fontString);d.q=y.q,d.f=y.f,d.r=y.r,d.t=y.t,d.u=y.u,d.v=y.v}null!=d.q&&(r.ak=d.q),i.isNaN_(d.f)||(r.y=d.f),null!=d.v&&(r.ao=d.v),null!=d.t&&(r.am=d.t),null!=d.r&&(r.al=d.t)}if(null!=this.ax){var m=this.ax;if(null!=this.ab&&null==m.q){var v=this.ab.c,_=i.FontUtil.getFontInfoFromString(v,m.fontString);m.q=_.q,m.f=_.f,m.r=_.r,m.t=_.t,m.u=_.u,m.v=_.v}null!=m.q&&(r.as=m.q),i.isNaN_(m.f)||(r.z=m.f),null!=m.v&&(r.aw=m.v),null!=m.t&&(r.au=m.t),null!=m.r&&(r.at=m.t)}return r},Object.defineProperty(r.prototype,"b4",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.h7("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.h7("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.h7("UseTopLayer",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.h2=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},r.prototype.h5=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},r.prototype.id=function(t){null!=this.textValueChanged&&this.textValueChanged(this,t)},r.prototype.ia=function(t){null!=this.selectedValueChanged&&this.selectedValueChanged(this,t)},r.prototype.h7=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.iq(t,e,n)},r.prototype.h4=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.hr=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.ie=function(t){this.a9=t,this.h6()},r.prototype.h1=function(){this.ab.i()},r.prototype.hq=function(){this.ab.h()},r.prototype.h6=function(){this.g3(),this.i9(),this.g2(),this.bc.bo(this.a7),this.i2(),this.i3(),this.ab.h()},r.prototype.gw=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.gx=function(){var t=this.m();null!=t&&t.filterExpressions.k.contains(this.n)&&t.filterExpressions.remove(this.n),this.n=null},r.prototype.g1=function(){var t=this.bh;null!=t&&t.cd(),this.i3(),this.gx()},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.g2=function(){var t=this,e=this.ab.d();i.NativeUIContent.aw(e,[7,2],[2,2],(function(e){t.a7=e[0],t.a7.h=3,t.a7.n=i.runOn(t,t.hl),t.a7.o=i.runOn(t,t.hm),t.bd=e[1],t.a7.bo(t.bd),t.bd.b8=t.text,t.bd.bt=i.runOn(t,t.hg),t.bd.bu=i.runOn(t,t.hh),t.bd.by=i.runOn(t,t.hj),t.bd.n=i.runOn(t,t.hi),t.bd.b0=i.runOn(t,t.hk),t.g7(t.bu),t.bd.b7=r.d2,t.bd.cd=i.BrushUtil.l(255,0,0,0),t.bd.bo=i.runOn(t,t.ic)}))},Object.defineProperty(r.prototype,"be",{get:function(){return this.bd},enumerable:!1,configurable:!0}),r.prototype.g3=function(){var t=this;i.NativeUIContent.aw(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.bg.b8=!0,t.a5=e[2],t.a5.bj=new i.Thickness(0,4),t.ba=e[0],t.ba.bo(t.a5),t.a8=e[4],t.ba.bo(t.a8),t.a9.bo(t.bg),t.bf=e[3],t.bg.bo(t.ba),t.bg.bx=i.runOn(t,t.ih)}))},r.prototype.ih=function(t,e){null!=this.ad&&0==this.a8.bk&&this.ad.notifySizeChanged()},r.prototype.hu=function(t,e){},r.prototype.hx=function(t,e,i){},r.prototype.ht=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.fu();t=this.l.getItemAtIndex(0);var l=this.l.getItemProperty(t,u).toString();this.text=l}var c=this.m().indexOfItem(t);this.ix(c);break;case 0:default:return}if(null!=t){var p=this.m().indexOfItem(t);this.ix(p)}else this.ix(-1);null!=this.l&&(this.l.updateNotifier=null,this.l=null),this.v=0},r.prototype.hv=function(t,e){},r.prototype.hw=function(t,e){},r.prototype.h0=function(t,e){var i=this.ad;if(null!=i){var n=i.dw;-1!=n&&n>=t&&n<=e&&(this.iu(n),this.ja())}},r.prototype.ib=function(t,e,i){},r.prototype.hs=function(){if(this.ij(),this.b5){var t=this.m().actualCount;this.ca&&t>0?this.il():this.im()}else this.i8()},r.prototype.h3=function(t,e){},r.prototype.h8=function(t,e){},r.prototype.g6=function(){this.jc(),this.hn();var t=this.bh;t.b7||(t.b1=!this.b5,t.ch(this.bc,1,1),this.i3())},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.hb=function(t){var e=-1!=t?t:-1;this.iu(e)},r.prototype.hd=function(){var t,e,i=this;this.bo||(e=i.bz(t),t=e.p0,e.ret)&&null!=t&&this.h9(t)},r.prototype.hn=function(){this.bh.ce()},r.prototype.hp=function(){if(this.bh.b7){this.closeUp();var t=this.bd;t.a0();var e=null!=t.b8?t.b8.length:0;t.cb(e,e)}},r.prototype.hy=function(){this.bd.b2=!0,this.bd.ca();var t=new b;this.h2(t)},r.prototype.hz=function(){this.closeUp(),this.bd.b9();var t=new y;this.h5(t)},r.prototype.im=function(){var t=this.ac;t.selectedItemsChanged=i.delegateRemove(t.selectedItemsChanged,i.runOn(this,this.he)),this.bo=!0;try{this.iz(this.d7)}finally{this.bo=!1;var e=this.ac;e.selectedItemsChanged=i.delegateCombine(e.selectedItemsChanged,i.runOn(this,this.he))}this.b5=!1},r.prototype.io=function(){if(this.b5=!0,i.stringIsNullOrEmpty(this.d7))null!=this.n?this.gw(null):this.im();else{var t=i.FilterFactory.instance.property(this.fu()).toLower().startsWith(this.d7.toLowerCase());this.gw(t)}},r.prototype.is=function(){this.dt=0,this.b6=!1},r.prototype.iu=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.hd());n.selectedItemsChanged=i.delegateRemove(n.selectedItemsChanged,i.runOn(this,this.he));try{n.ai.clear()}finally{n.selectedItemsChanged=i.delegateCombine(n.selectedItemsChanged,i.runOn(this,this.he))}if(t>=0){var r=e.getItemAtIndex(t);this.b1=!1,n.ai.add1(r),this.b1||this.hd()}}},r.prototype.ix=function(t){var e=this.ad;if(-1!=t){var i;e.dw;this.ds=t,i=t,this.b0=!1,e.dw=i,this.b0||this.hb(e.dw),this.ja()}else e.dw=-1},r.prototype.i1=function(t){this.ig(2,t)},r.prototype.i0=function(t){this.ig(1,t)},r.prototype.i2=function(){var t=this;if(null!=this.bd&&(this.bd.bq=t.density,this.bd.c=t.ah,this.bd.bv=t.s,this.bd.a9=t.j5,this.bd.ba=t.j6,this.bd.bh=new i.Thickness(0,t.cw),this.bd.bq=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.cf=t.kd,this.bd.bl=t.ax),null!=this.bd&&(this.bd.b6=t.f0),null!=this.a5){if(this.a5.bb=t.kc,this.a5.a9=t.kb,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bt=this.bf,this.bf.bo=this.actualNoMatchesFoundLabel,this.hn()}this.ad},r.prototype.i6=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b8=t}},r.prototype.i3=function(){var t=this.bh,e=null!=t&&t.b7;this.bd.b7=e?r.d3:r.d4},r.prototype.i5=function(){this.jd();var t=this.ac.ia(),e=Math.min(t.height,320);this.a8.z=e;var i=t.width;i=Math.max(i,150),this.a8.af=i},r.prototype.i7=function(){this.b5||(this.d7=null,null!=this.n?this.gx():this.i8())},r.prototype.i8=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.ix(n)}},r.prototype.i9=function(){var t=this;null==this.ad&&(this.jd(),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.gu)),t.jb(),t.ad.as=1,t.ad.an=0,t.ad.r=1,t.a8.a9=i.BrushUtil.l(255,255,255,255),t.ac.h8=i.BrushUtil.l(255,200,200,200),t.ac.h2=i.BrushUtil.l(255,100,100,100),t.ac.ef=32,t.ad.h6=i.BrushUtil.l(0,0,0,0),t.ad.by=!1,t.ad.bt=!1;var o=t.ad;o.activeRowChanged=i.delegateCombine(o.activeRowChanged,i.runOn(t,t.ha));var s=t.ad;s.selectedItemsChanged=i.delegateCombine(s.selectedItemsChanged,i.runOn(t,t.he));var a=t.ad;a.itemClicked=i.delegateCombine(a.itemClicked,i.runOn(t,t.hc)),t.ad.a9=i.runOn(t,t.hf),t.i2()})))},r.prototype.gu=function(t,e){var n=this;if(null!=e.b){if("comboItem"!=e.b.ap)i.NativeUIComponent.av(this.ab.d(),3,(function(t){var r=t;r.bl=n.ax,e.b.bt=r,e.b.ap="comboItem",r.f=0,r.h=1,r.bi=new i.Thickness(0,5),r.bo=n.fs(e.a.x)}));else e.b.bt.bo=this.fs(e.a.x)}},r.prototype.fs=function(t){return null!=this.fu()?this.actualDataSource.getItemProperty(t,this.fu()).toString():""},r.prototype.ig=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.fu();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.ii=function(){this.i6();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.cb(e,n)},r.prototype.ij=function(){this.by&&(this.by=!1,this.dropDown())},r.prototype.ik=function(t){this.d7=t,this.ca=!this.b7,this.io()},r.prototype.il=function(){i.stringIsNullOrEmpty(this.d7)?this.gy():this.ix(0),this.ii(),this.b5=!1},r.prototype.gy=function(){this.ad.dw=-1},r.prototype.g7=function(t){null!=this.bd&&(this.bd.b1=!t)},r.prototype.ja=function(){if(this.bp){var t=this.ad,e=t.dw;if(-1!=e){var i=this.m();if(null!=i){var n=e<i.actualCount?i.getItemAtIndex(e):0;if(null==n)return;t.cl(n)}}else t.hj(0)}},r.prototype.jb=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.gv))}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.gv)),null!=this.value&&this.ig(1,this.value)}this.l=null}},r.prototype.gv=function(t,e){-1!=this.ds&&(this.ix(this.ds),this.ds=-1)},r.prototype.iw=function(t){null!=this.bd&&(this.bd.b1=!t)},r.prototype.jc=function(){if(this.i5(),this.b5){var t=this.m();this.b8=0==t.actualCount}else this.b8=!1;this.a5.bk=this.b8?0:1;this.a8.bk;this.a8.bk=this.b8?1:0},r.prototype.g9=function(t){null!=this.bd&&(t?this.bd.a1():this.bd.a0())},r.prototype.iv=function(){null!=this.bd&&this.bd.ca()},Object.defineProperty(r.prototype,"bc",{get:function(){return this.a9},enumerable:!1,configurable:!0}),r.prototype.ic=function(t,e){e.a=!0,this.bh.b7?this.closeUp():this.gw(null),null!=this.bd&&(this.bd.a0(),this.bd.ca())},r.prototype.ha=function(t,e){var i=e.newActiveRow;this.hb(i),this.b0=!0},r.prototype.hc=function(t,e){this.hp()},r.prototype.he=function(t,e){this.hd(),this.b1=!0},r.prototype.hf=function(){this.bp=this.ad.ay.a,this.ja()},r.prototype.hg=function(t,e){if(!e.a){this.hr(e);var i=e.b;this.ik(i)}},r.prototype.hh=function(t,e){var i=this.bd.b8;this.ik(i)},r.prototype.hi=function(t,e){this.is()},r.prototype.hj=function(t,e){if(this.h4(e),!e.c){var n=e.g;switch(this.dt=n,this.b6=!1,n){case 8:var r=this.bd.b5;if(0==r)break;var o=this.bd.b8;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b4,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.i7(),e.d=!0;else{var u=this.ad;if(null==u)return;this.ad.dw;if(-1!=u.dw)this.ad.b4(!1,!1),e.d=!0;else{var l=this.m();if(null!=l)l.actualCount>0&&(this.ix(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.dw;if(null!=c.dw)this.ac.ch(!1,!1),e.d=!0;else{var p=this.m();if(null!=p){var f=p.actualCount;f>0&&(this.ix(f-1),e.d=!0)}}}break;case 13:this.bh.b7&&(e.f=!0),this.hp();break;case 27:this.closeUp()}}},r.prototype.hk=function(t,e){},r.prototype.hl=function(t,e){if(!this.bm){this.bm=!0,this.bd.a0(),this.bm=!1;var i=e.b;this.b3(i)||this.hy()}},r.prototype.hm=function(t,e){var i=e.b;this.b3(i)||this.hz()},r.$t=i.markType(r,"ComboEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),r.ag=1,r.ki=n.ThemeResolver.aj(r.ag,n.XLabel.de,n.XLabel.c7),r.kk=n.ThemeResolver.aj(r.ag,n.XLabel.de,n.XLabel.c7),r.kj=i.BrushUtil.l(255,255,255,255),r.ay=null,r.et="ActualNoMatchesFoundLabelBackgroundColor",r.az=null,r.ks=i.BrushUtil.l(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.hu(t,e):this.a.h0(t,e)},n.prototype.notifySetItem=function(t,e,i){this.b?this.a.hx(t,e,i):this.a.ib(t,e,i)},n.prototype.notifyClearItems=function(){this.b?this.a.ht():this.a.hs()},n.prototype.notifyInsertItem=function(t,e){this.b?this.a.hv(t,e):this.a.h3(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.b?this.a.hw(t,e):this.a.h8(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}(),w=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}(),P=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new b},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}(),x=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.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.j5))},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.kh)},set:function(t){this.i.kh=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.kh))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.j6))},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.k5?this.i.k5.bottom:NaN},set:function(t){this.ensureContentPadding(),this.i.k5.bottom=+t,this._a("contentPaddingBottom",this.i.k5.bottom),this.i.k5=this.i.k5},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingLeft",{get:function(){return this.i.k5?this.i.k5.left:NaN},set:function(t){this.ensureContentPadding(),this.i.k5.left=+t,this._a("contentPaddingLeft",this.i.k5.left),this.i.k5=this.i.k5},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingRight",{get:function(){return this.i.k5?this.i.k5.right:NaN},set:function(t){this.ensureContentPadding(),this.i.k5.right=+t,this._a("contentPaddingRight",this.i.k5.right),this.i.k5=this.i.k5},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingTop",{get:function(){return this.i.k5?this.i.k5.top:NaN},set:function(t){this.ensureContentPadding(),this.i.k5.top=+t,this._a("contentPaddingTop",this.i.k5.top),this.i.k5=this.i.k5},enumerable:!1,configurable:!0}),r.prototype.ensureContentPadding=function(){this.i.k5||(this.i.k5=new i.Thickness(2))},Object.defineProperty(r.prototype,"actualContentPaddingBottom",{get:function(){return this.i.k4?this.i.k4.bottom:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k4.bottom=+t,this._a("actualContentPaddingBottom",this.i.k4.bottom),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingLeft",{get:function(){return this.i.k4?this.i.k4.left:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k4.left=+t,this._a("actualContentPaddingLeft",this.i.k4.left),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingRight",{get:function(){return this.i.k4?this.i.k4.right:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k4.right=+t,this._a("actualContentPaddingRight",this.i.k4.right),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingTop",{get:function(){return this.i.k4?this.i.k4.top:NaN},set:function(t){this.ensureActualContentPadding(),this.i.k4.top=+t,this._a("actualContentPaddingTop",this.i.k4.top),this.i.k4=this.i.k4},enumerable:!1,configurable:!0}),r.prototype.ensureActualContentPadding=function(){this.i.k4||(this.i.k4=new i.Thickness(2))},Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.jh?this.i.jh.c:NaN},set:function(t){this.ensureCornerRadius(),this.i.jh.c=+t,this._a("cornerRadiusBottomRight",this.i.jh.c),this.i.jh=this.i.jh},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.jh?this.i.jh.b:NaN},set:function(t){this.ensureCornerRadius(),this.i.jh.b=+t,this._a("cornerRadiusBottomLeft",this.i.jh.b),this.i.jh=this.i.jh},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.jh?this.i.jh.d:NaN},set:function(t){this.ensureCornerRadius(),this.i.jh.d=+t,this._a("cornerRadiusTopLeft",this.i.jh.d),this.i.jh=this.i.jh},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.i.jh?this.i.jh.e:NaN},set:function(t){this.ensureCornerRadius(),this.i.jh.e=+t,this._a("cornerRadiusTopRight",this.i.jh.e),this.i.jh=this.i.jh},enumerable:!1,configurable:!0}),r.prototype.ensureCornerRadius=function(){this.i.jh||(this.i.jh=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.jg?this.i.jg.c:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jg.c=+t,this._a("actualCornerRadiusBottomRight",this.i.jg.c),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.jg?this.i.jg.b:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jg.b=+t,this._a("actualCornerRadiusBottomLeft",this.i.jg.b),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.jg?this.i.jg.d:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jg.d=+t,this._a("actualCornerRadiusTopLeft",this.i.jg.d),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.jg?this.i.jg.e:NaN},set:function(t){this.ensureActualCornerRadius(),this.i.jg.e=+t,this._a("actualCornerRadiusTopRight",this.i.jg.e),this.i.jg=this.i.jg},enumerable:!1,configurable:!0}),r.prototype.ensureActualCornerRadius=function(){this.i.jg||(this.i.jg=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.kt)},set:function(t){this.i.kt=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.kt))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.j7))},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.ku)},set:function(t){this.i.ku=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.ku))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.j8))},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.kv)},set:function(t){this.i.kv=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.kv))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.j9))},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.f0},set:function(t){this.i.f0=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.kw)},set:function(t){this.i.kw=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.kw))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelTextColor",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("actualLabelTextColor",i.brushToString(this.i.ka))},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.f6},set:function(t){this.i.f6=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.kx)},set:function(t){this.i.kx=i.stringToBrush(t),this._a("noMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kx))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.ky)},set:function(t){this.i.ky=i.stringToBrush(t),this._a("noMatchesFoundLabelTextColor",i.brushToString(this.i.ky))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelTextColor",i.brushToString(this.i.kc))},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.gc},set:function(t){this.i.gc=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return i.brushToString(this.i.kz)},set:function(t){this.i.kz=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.kz))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.kd))},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.k0)},set:function(t){this.i.k0=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.k0))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.ke))},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.k1)},set:function(t){this.i.k1=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.k1))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.kf))},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.gh},set:function(t){this.i.gh=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.iu(t)},r.prototype.verifyDisplayText=function(){this.i.i6()},r.prototype.enableDisableFiltering=function(t){this.i.g7(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 P;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 x;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 w;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),k=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),O=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"),I=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"),V=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),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,"ListPanelContentRecycledEventArgs",i.EventArgs.$),n}(i.EventArgs),q=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),H=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),M=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.e=0,e.f=null,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("dataRow: "+this.e+", "),t.l("text: "+this.f+" "),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.ak=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.af=function(){},n.prototype.ac=function(t){var e=this;if(null==t)return this.t(),void(this.j=null);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.ai(),i.NativeUIComponent.av(this.s(),9,(function(t){var i=t;e.a.f4(i),e.k=i.ao}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative"),this.u()},n.prototype.v=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.gp(e,0==t.button,t.shiftKey,t.ctrlKey)},n.prototype.w=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.gq(e,0==t.button,t.shiftKey,t.ctrlKey)},Object.defineProperty(n.prototype,"contentGrid",{get:function(){return this.k},enumerable:!1,configurable:!0}),n.prototype.ai=function(){},n.prototype.ah=function(){this.j},n.prototype.aa=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.ak=new i.Size(1,n,r),this.a.onSizeChanged(this.ak.width,this.ak.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.aj=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.r(e,this.a.h9),i.NativeUI.n(e,this.a.h3))}},n.prototype.d=function(){return this.b},n.prototype.ad=function(){},n.prototype.ag=function(){},n.prototype.z=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.ak.width},n.prototype.i=function(t){return this.c=this.a.a5(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.y=function(t,e){null==this.l&&(this.l=this.j.createElement("div")),e(this.l.getNativeElement())},n.prototype.x=function(){this.a.externalObject.ensureStretch()},n.prototype.ae=function(){this.t()},n.prototype.t=function(){var t,n;try{for(var r=e.__values(i.fromEnum(this.g)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},n.prototype.ab=function(){this.u()},n.prototype.u=function(){this.g.add(this.j.rootWrapper.listen("mousedown",i.runOn(this,this.v))),this.g.add(this.j.rootWrapper.listen("mouseup",i.runOn(this,this.w)))},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.eg=null,e.viewportChanged=null,e.ay=null,e.dk=-1,e.dl=-1,e.ar=0,e.bh=!0,e.h0=null,e.ba=!0,e.hy=null,e.hw=null,e.dd=i.truncate(i.DeviceUtils.g(1)),e.df=i.truncate(i.DeviceUtils.g(1)),e.de=i.truncate(i.DeviceUtils.g(1)),e.dc=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.c3=10,e.bv=!1,e.bj=!1,e.dn=-1,e.c1=i.DeviceUtils.g(42),e.a3=null,e.bd=!0,e.eh=null,e.c2=0,e.c0=NaN,e.cz=0,e.bo=!1,e.bg=!1,e.bn=!1,e.dm=-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.cy=new i.Queue$1(ot.$),e.cs=new i.List$1(i.Number_$type,0),e.cr=new i.List$1(i.Number_$type,0),e.cw=new i.List$1(i.Number_$type,0),e.cv=new i.List$1(i.Number_$type,0),e.dr=-1,e.cx=null,e.az=1,e.hz=null,e.bs=!0,e.bl=!0,e.dh=-1,e.di=-1,e.l=null,e.bz=!1,e.k=null,e.hx=n.h4,e.ab=n.ac,e.bi=n.bu,e.h1=n.h5,e.dp=-1,e.dq=-1,e.bk=!0,e.dg=0,e._viewportManager=null,e.ct=new i.List$1(i.Number_$type,0),e.cu=new i.List$1(i.Number_$type,0),e.cn=new i.List$1(i.Base.$,0),e.co=new i.List$1(E.$,0),e.cp=new i.List$1(i.Base.$,0),e.cq=new i.List$1(E.$,0),e.bc=!1,e.bb=!1,e.bf=!1,e.bm=!1,e.bq=!1,e.bp=!1,e.cm=!1,e.dj=-1,e.br=!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 k;var r=new tt;return r.a=e,e.view=r,e.view.af(),e.ah.ag(i.runOn(e,e.hm)),e.ak.an(i.runOn(e,e.hn)),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.f4=function(t){this.aa=new rt(t)},n.prototype.onSizeChanged=function(t,e){var n=this.c0,r=this.cz;this.c0=this.view.h(),1!=this.ad&&(r==this.cz&&n==(i.isNaN_(this.c0)?0:this.c0)||this.view.z(this.c0,this.cz)),this.hc()},n.prototype.setViewport=function(t,e,n,r){this.dk=-1,this.dl=-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.hd(),null!=this.viewportChanged&&this.viewportChanged(this,((o=new V).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.eb=function(t){return null==this.actualDataSource?-1:null!=this.actualDataSource.actualPrimaryKey&&this.actualDataSource.isKeyIndexLookupSupported?this.actualDataSource.indexOfKey(t.value):-1},n.prototype.ej=function(t){var e=this.eb(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.gr("SelectionMode",i.enumGetBox(S,e),i.enumGetBox(S,this.ar))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,this.bh!=e&&this.gr("IsActiveRowStyleEnabled",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,this.h0!=e&&this.gr("SelectedBackground",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ba},set:function(t){this.ba=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,this.hy!=e&&this.gr("NormalBackground",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,this.hw!=e&&this.gr("ActivationBorder",e,this.hw)},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.gr("ActivationBorderLeftWidth",e,this.dd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dv",{get:function(){return this.df},set:function(t){var e=this.df;this.df=t,this.df!=e&&this.gr("ActivationBorderTopWidth",e,this.df)},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.gr("ActivationBorderRightWidth",e,this.de)},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.gr("ActivationBorderBottomWidth",e,this.dc)},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.gr("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.gr("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.gr("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.gr("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.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.gr("ItemsSource",e,this.eg)},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.gr("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.gr("ActualDataSource",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.c3},set:function(t){var e=this.c3;this.c3=t,this.c3!=e&&this.gr("ItemSpacing",e,this.c3)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.view.aa()},n.prototype.onAttachedToUI=function(){this.bj=!1,this.view.ab()},n.prototype.onDetachedFromUI=function(){this.bj=!0,this.view.ae()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.view.ac(t)},Object.defineProperty(n.prototype,"ef",{get:function(){return this.dn},set:function(t){var e=this.dn;this.dn=t,e!=this.dn&&this.gr("RowHeight",e,this.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c6",{get:function(){return this.c1},set:function(t){var e=this.c1;this.c1=t,e!=this.c1&&this.gr("ActualRowHeight",e,this.c1)},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.gr("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,"bw",{get:function(){return 1==this.ad},enumerable:!1,configurable:!0}),n.prototype.gr=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.g4(t,e,n)},n.prototype.fp=function(t,e){this.gm()},n.prototype.g7=function(){this.bn||(this.bn=!0,this.k.enqueueAction(i.runOn(this,this.ft)))},n.prototype.ft=function(){this.bn&&(this.bn=!1,this.f1(),this.bs&&this.fn(),this.g8(),this.hb(),null!=this.contentRefreshed&&this.contentRefreshed(this,new G))},n.prototype.f1=function(){this.bl&&(this.fm(),this.bl=!1,1==this.ad&&this.aa.g(new i.Size(1,this.c0,this.cz)))},n.prototype.hb=function(){if(null!=this.actualDataSource){this.dm=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.fx(n),this.fz(n),this.fv(n),this.aa.d(this,n)}}},n.prototype.fz=function(t){t.p&&(t.k?t.b.a.bh=new i.Thickness(1,this.dt,this.dv,this.du,this.ds):t.b.a.bh=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.ba=this.h2:t.b.a.ba=null,t.n?t.b.a.a9=this.h8:t.b.a.a9=this.h6)},n.prototype.fv=function(t){t.m&&(t.m=!1,this.f0(t))},n.prototype.f0=function(t){if(null!=this.rowUpdating){var e=this.c8(t.v);this.rowUpdating(this,((i=new it).a=t,i.b=t.b.a.bm(0),i.d=t.b.a.ao,i.c=e,i))}var i},n.prototype.fx=function(t){var e=this;null==t.b&&(t.b=new W,i.NativeUIComponent.aw(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bo(r),0==e.ad?n.f=3:n.f=0,t.b.a=n,null!=e.h6&&(t.b.a.a9=e.h6)})))},n.prototype.fn=function(){if(this.bs&&(this.bs=!1,this.f3(),this.dh=this.ed(),this.di=this.ee(),this.ay.c=this.dh,this.ay.b=this.di,-1!=this.dh&&-1!=this.di)){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.dh||n>this.di)&&t.add(n)}for(var r=0;r<t.count;r++)this.he(t._inner[r]);for(var o=this.dh;o<=this.di;o++){this.fw(o);var s=this.a2.item(o);s.u=this.db(o),s.s=this.da(o)}}},n.prototype.da=function(t){if(0==this.ad)return 0;if(2==this.ad){var e=this.d9(t);return this.cw._inner[e]}return this.cw._inner[t]},n.prototype.d9=function(t){return t%this.cx.count},n.prototype.ea=function(t){var e=Math.floor(t/this.cx.count);return i.truncate(e)},n.prototype.db=function(t){if(1==this.ad)return 0;if(2==this.ad){var e=this.ea(t);return this.b0?this.cs._inner[e]:e*this.c6}return this.b0?this.cs._inner[t]:t*this.c6},n.prototype.fw=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.cy.count>0?this.cy.b():new ot;return e.v=t,e.t=this.c6,e},n.prototype.he=function(t){var e=this.a2.item(t);this.ha(e),this.a2.f(t),e.i=!0,e.x=null,this.a1.s(e,e)},n.prototype.ha=function(t){var e;this.cy.g(t),null!=this.itemRecycled&&this.itemRecycled(this,((e=new U).rowObject=t.x,e))},n.prototype.ee=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.b0){this.f1();var t=this.ay.d.bottom,e=this.d1(t);return this.cs._inner[e]+this.cr._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.c6));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.b0){this.f1();var o=this.ay.d.bottom,s=this.d1(o);return this.cs._inner[s]+this.cr._inner[s]<o&&(s+=1),s*=this.cx.count,s+=this.cx.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.bottom,h=i.truncate(Math.floor(a/this.c6));return h*=this.cx.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.f1();var u=this.ay.d.right,l=this.d2(u);return this.cw._inner[l]+this.cv._inner[l]<u&&(l+=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return this.actualDataSource.actualCount-1},n.prototype.d1=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cs,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cs.count-1&&(e=this.cs.count-1),e},n.prototype.d2=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cw,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cw.count-1&&(e=this.cw.count-1),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.b0){this.f1();var t=this.ay.d.top,e=this.d1(t);return this.cs._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.c6));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.b0){this.f1();var o=this.ay.d.top,s=this.d1(o);return this.cs._inner[s]>o&&(s-=1),s*=this.cx.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.top,h=i.truncate(Math.floor(a/this.c6));return h*=this.cx.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.f1();var u=this.ay.d.left,l=this.d2(u);return this.cw._inner[l]>u&&(l-=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return 0},n.prototype.c8=function(t){return 2==this.ad&&(t=this.d9(t)),this.cv.count>0&&t<this.cv.count?this.cv._inner[t]:0},n.prototype.c7=function(t){return 2==this.ad&&(t=this.ea(t)),this.cr.count>0&&t<this.cr.count?this.cr._inner[t]:this.c6},n.prototype.fm=function(){var t=this;this.cr.clear(),this.cs.clear(),this.cv.clear(),this.cw.clear();var e=0!=this.r,n=this.dv+this.ds,r=this.dt+this.du;if(null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var o=this.cz,s=i.isNaN_(this.c0)?0:this.c0;if(0==this.ad)if(this.b0){for(var a=0,h=function(i){var r,o=u.c6;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.c9),u.cs.add(a),u.cr.add(o),a+=o},u=this,l=0;l<this.actualDataSource.actualCount;l++)h(l);this.cz=a}else this.cz=this.c6*this.actualDataSource.actualCount;else if(2==this.ad){var c=new i.List$1(Q.$,0),p=this.dx(c,2147483647);if(this.b0){for(var f=0,d=function(i){g.cs.add(f);for(var r=g.c6,o=0,s=i*c.count,a=function(i){var a,h=i+s;if(h>g.actualDataSource.actualCount-1)return"continue";if(null!=g.itemHeightRequested){var u=((a=new X).b=h,a.c=t.actualDataSource.getItemAtIndex(h),a.a=r,a);g.itemHeightRequested(g,u);var l=u.a;e&&(l+=n),o=Math.max(o,l)}},h=0;h<c.count;h++)a(h);f+=r=o,g.cr.add(r)},g=this,b=0;b<p;b++)d(b);this.cz=f}else this.cz=this.c6*p;this.cx=c,this.dr=p;for(var y=0,m=0;m<this.cx.count;m++)this.cw.add(y),this.cv.add(this.cx._inner[m].a),y+=this.cx._inner[m].a}else{this.cz=this.c6;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.c9),C.cw.add(v),C.cv.add(o),v+=o},C=this,j=0;j<this.actualDataSource.actualCount;j++)_(j);this.c0=v}o==this.cz&&s==(i.isNaN_(this.c0)?0:this.c0)||this.view.z(this.c0,this.cz)}},n.prototype.dx=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.hg(o,t),0==t.count?{value:0}:{value:l.dx(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 g=t._inner[r];if(c>g.a){var b=c-g.a;if(g.a=c,b>a&&e>1)return l.hg(o,t),0==t.count?{value:0}:{value:l.dx(t,t.count)};(a-=b)<0&&(a=0),r++}else c=g.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.hg=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.f2=function(){this.bn&&this.ft()},Object.defineProperty(n.prototype,"a0",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.gr("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.az))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.gr("ScrollbarBackground",e,this.hz)},enumerable:!1,configurable:!0}),n.prototype.hc=function(){var t=i.isNaN_(this.c0)?0:this.c0,e=this.cz;this.bo=!0,this.f8(this.c2),t==(i.isNaN_(this.c0)?0:this.c0)&&e==this.cz||this.externalListPanel.onContentSizeChanged(),this.bo=!1,this.f9(),this.g7()},n.prototype.f9=function(){this.bs=!0,this.dh=-1,this.di=-1},n.prototype.f8=function(t){this.bl=!0,this.c2=t},n.prototype.f3=function(){this.bg&&(this.bg=!1,this.hc(),this.f7())},n.prototype.hd=function(){this.bg?this.f3():(this.f9(),this.g7(),this.f2())},n.prototype.d5=function(){return this.bs&&this.fn(),this.di},n.prototype.d3=function(){return this.bs&&this.fn(),this.dh},n.prototype.ck=function(){return this.dh>=0&&this.di>=0},n.prototype.f7=function(){if(this.ck()){var t=this.d3(),e=this.d5();this.f6(t,e)}},n.prototype.f6=function(t,e){var i=this.d3(),n=this.d5();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.g8(),this.hd())},n.prototype.g8=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 q).rowObject=s,r)),o.x=a,o.t=n.c6,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.g9=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.c6}},n.prototype.g6=function(){this.bg||(this.bg=!0,this.f9(),this.g7())},n.prototype.f5=function(t){this.g9(t)},n.prototype.gm=function(){this.bg?this.f3():(this.hc(),this.f7())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.l},set:function(t){this.l=t},enumerable:!1,configurable:!0}),n.prototype.cj=function(){return 0!=this.as||0!=this.r},n.prototype.g4=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.fp)),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.fp)),this.i.updateNotifier=new nt(this),null!=this.i.actualSchema&&(this.g6(),this.k.enqueueAction((function(){return r.gm()})))}break;case"RowHeight":this.c6=this.ef;break;case"CellTextStyle":case"BackgroundColor":case"TextColor":this.f7();break;case"ItemSpacing":case"Orientation":case"ActualRowHeight":this.hc();break;case"ScrollbarStyle":this.externalListPanel.setScrollbarStyle(this.a0);break;case"ScrollbarBackground":this.externalListPanel.setScrollbarColor(this.h7);break;case"ActiveRow":this.dj=i.typeGetValue(e),this.br=!0,-1!=this.dw&&this.dw>=0?this.p.k(this.dw):this.p.o(),this.br=!1;break;case"SelectedBackground":case"ActivationBorder":case"ActivationBorderLeftWidth":case"ActivationBorderRightWidth":case"ActivationBorderBottomWidth":case"ActivationBorderTopWidth":this.g6();break;case"ActivationMode":this.bz=this.cj();break;case"SelectionMode":switch(this.bz=this.cj(),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.ia=function(){var t=this.cz,e=0;!i.isNaN_(t)&&t>=0&&(e=t);var n=0;if(1==this.ad)for(var r=0;r<this.cv.count;r++){var o=this.cv._inner[r];!i.isNaN_(o)&&o>=0&&(n+=o)}else if(2==this.ad)for(var s=0;s<this.cv.count;s++){var a=this.cv._inner[s];!i.isNaN_(a)&&a>=0&&(n+=a)}else!i.isNaN_(this.c0)&&this.c0>=0&&(n=this.c0);return new i.Size(1,n,e)},n.prototype.gl=function(t,e){if(1==this.r&&-1!=this.dw&&this.dw>=t&&this.dw<=e&&null!=this.activeRowChanged){var i=new M;i.newActiveRow=this.dw,i.oldActiveRow=this.dw,this.activeRowChanged(this,i)}var n=this.d3(),r=this.d5();e<n||t>r||(t<n&&(t=n),e>r&&(e=r),this.ck()&&(this.d7()!=this.dm?this.hc():this.hd(),this.fo()))},n.prototype.fo=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.d7()-1;t<0&&(t=0),this.hj(t)}}else if(this.ay.d.bottom>this.absoluteHeight||this.ay.d.top>this.absoluteHeight){var e=this.d7()-1;e<0&&(e=0),this.hj(e)}2==this.ad&&(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth)&&this.hi(this.cx.count-1)}},n.prototype.g1=function(t,e,i){if(0==this.ad){if(this.b0){var n=this.c6;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.cr._inner[t];this.cr._inner[t]=n;for(var s=n-o,a=t;a<this.actualDataSource.actualCount;a++)this.cs._inner[a]+=s}}else{if(2==this.ad)return void this.hc();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.cv._inner[t];this.cv._inner[t]=h;for(var c=h-l,p=t;p<this.actualDataSource.actualCount;p++)this.cw._inner[p]+=c}this.f5(t)},n.prototype.gk=function(){this.hc()},n.prototype.go=function(t,e){if(0==this.ad){if(this.b0){var i=this.c6;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.cr.insert(t,i);var r=0;if(t>0)r=this.cs._inner[t-1]+this.cr._inner[t-1];this.cs.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.cs._inner[o]+=i}}else{if(2==this.ad)return void this.hc();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.cv.insert(t,s);var h=0;t>0&&(h=this.cw._inner[t-1]+this.cv._inner[t-1]);this.cw.insert(t,h);for(var u=t;u<this.actualDataSource.actualCount;u++)this.cw._inner[u]+=s}this.g6()},n.prototype.gs=function(t,e){if(0==this.ad){for(var i=this.cr._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.cs._inner[n]-=i;this.cr.removeAt(t),this.cs.removeAt(t)}else{if(2==this.ad)return void this.hc();for(var r=this.cv._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.cw._inner[o]-=r;this.cv.removeAt(t),this.cw.removeAt(t)}this.g6()},n.prototype.gd=function(t,e,i){null!=this.i&&this.i.notifySetItem(t,e,i)},n.prototype.ga=function(){null!=this.i&&this.i.notifyClearItems()},n.prototype.gb=function(t,e){null!=this.i&&this.i.notifyInsertItem(t,e)},n.prototype.gc=function(t,e){null!=this.i&&this.i.notifyRemoveItem(t,e)},n.prototype.dy=function(t){return null==this.i?-1:this.i.indexOfItem(t)},n.prototype.dz=function(t){return null==this.i?-1:this.i.indexOfKey(t)},Object.defineProperty(n.prototype,"h3",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.gr("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.gr("Orientation",i.enumGetBox(z,e),i.enumGetBox(z,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.gr("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.gr("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteWidth",{get:function(){return this.c0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteHeight",{get:function(){return this.cz},enumerable:!1,configurable:!0}),n.prototype.ei=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.e0=function(){return this.ei().serialize()},Object.defineProperty(n.prototype,"b1",{get:function(){return this.bk},set:function(t){this.bk=t},enumerable:!1,configurable:!0}),n.prototype.hl=function(){2==this.as&&this.aq.v()},n.prototype.ca=function(t,e,i){if(this.b1)switch(t){case 30:if(i)return this.hl(),!0;break;case 32:return!1}return!1},n.prototype.b2=function(){return-1==this.dg},Object.defineProperty(n.prototype,"dw",{get:function(){return this.dg},set:function(t){var e=this.dg;this.dg=t,e!=this.dg&&this.gr("ActiveRow",e,this.dg)},enumerable:!1,configurable:!0}),n.prototype.fl=function(t,e,i){if(void 0===i&&(i=!1),this.ay.a&&(i||(t<=this.d3()?this.hj(t):t>=this.d5()&&(e?this.hj(t):this.hh(t))),2==this.ad)){var n=this.d4(),r=this.d6(),o=this.d8(t);o<=n?this.hk(o):o>=r&&this.hi(o)}},n.prototype.hi=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.dl&&(e=this.dl),2==this.ad){var n=0,r=0;for(r=0;r<this.cx.count&&(n+=this.cx._inner[r].a,t!=r);r++);(n-=this.ay.d.width)<0&&(n=0),this.dl=e,this.dk=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.hk=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.dl&&(e=this.dl),2==this.ad){var n=0,r=0;for(r=0;r<this.cx.count&&t!=r;r++)n+=this.cx._inner[r].a;this.dl=e,this.dk=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.d8=function(t){return 2==this.ad?this.d9(t):-1},n.prototype.d6=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cx.count;e++)if((t+=this.cx._inner[e].a)>this.ay.d.right)return Math.min(Math.max(e-1,0),this.cx.count-1);return Math.min(e,this.cx.count-1)}return-1},n.prototype.d4=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cx.count;e++)if((t+=this.cx._inner[e].a)>this.ay.d.left)return Math.min(Math.max(e,0),this.cx.count-1);return e}return-1},n.prototype.hj=function(t){if(!this.ay.d.isEmpty){var e=i.truncate(this.ay.d.left);-1!=this.dk&&(e=this.dk);var n=0;t<0&&(t=0),t>=this.d7()&&(t=this.d7()-1);var r=0;if(r=i.truncate(Math.floor(t)),2==this.ad&&(r=i.truncate(Math.floor(r/this.cx.count))),n=this.cs.count>0?i.truncate(Math.floor(this.cs._inner[r])):i.truncate(Math.floor(this.c6*r)),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cr._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cz>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cz&&(n=i.truncate(Math.round(this.cz-this.ay.d.height))),n<0&&(n=0),this.dl=n,this.dk=e,this.viewportManager.moveViewportTo(e,n)}},n.prototype.hh=function(t){var e=i.truncate(this.ay.d.left);-1!=this.dk&&(e=this.dk);var n=0;t<0&&(t=0),t>=this.d7()&&(t=this.d7()-1);var r=i.truncate(Math.floor(t));if(2==this.ad&&(r=i.truncate(Math.floor(r/this.cx.count))),n=0==this.cs.count?i.truncate(Math.round(this.c6*t+this.c6)):i.truncate(Math.floor(this.cs._inner[r]+this.cr._inner[r])),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cr._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cz>0&&this.ay.d.height>0&&(n-=i.truncate(Math.round(this.ay.d.height))),this.cz>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cz&&(n=i.truncate(Math.round(this.cz-this.ay.d.height))),n<0&&(n=0),this.dl=n,this.dk=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.b4=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i>this.d7()-1)return!1;var n=i+1;if(2==this.ad&&(n=i+this.cx.count),e&&(n=this.d7()-1),n>this.d7()-1&&(n=this.d7()-1),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.g0=function(){this.bp&&null!=this.selectionChanged&&(this.selectionChanged(this,new H),this.bp=!1)},n.prototype.ho=function(t,e){for(var i=t;i<=e;i++)if(!this.ct.contains(i)&&!this.cu.contains(i)){var n=this.af(this.e(),i);if(null!=n){if(this.aq.h(n)){this.ct.add(i);continue}this.cu.add(i),this.al.add(n),this.aq.z(i)}}for(var r=0;r<this.cu.count;r++)if(this.cu._inner[r]<t||this.cu._inner[r]>e){var o=this.af(this.e(),this.cu._inner[r]);if(null!=o){this.cu.removeAt(r),r--;var s=this.al.indexOf(o),a=this.ai._inner[s];this.al.remove(o),this.co.remove(o),this.cq.remove(o),this.cn.remove1(a),this.cp.remove1(a)}}},n.prototype.b5=function(t,e){if(0==this.r||this.b2())return!1;var i=this.dw,n=this.dw;if(e){if(n>=this.d7()-1)return!1;n=this.d7()-1}else if(2==this.ad&&this.d8(n)==this.cx.count-1)return!1;if(2==this.ad){var r=n-this.d8(n)+this.cx.count;r>this.d7()-1&&(r=this.d7()-1),n=r}return n!=i&&(this.dw=n,this.fl(n,!1),!0)},n.prototype.b9=function(t,e){var i=this.dg,n=this.dg;if(e){if(n<=0)return!1;n=0}else if(2==this.ad&&0==this.d8(n))return!1;if(2==this.ad){var r=n-this.d8(n);r<0&&(r=0),n=r}return n!=i&&(this.dw=n,this.fl(n,!1),!0)},n.prototype.cb=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i<=0)return!1;var n=i-1;if(e&&(n=0),e&&2==this.ad&&(n=i-this.d8(i))<0&&(n=0),n<0&&(n=0),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.cc=function(t,e){if(0==this.r||this.b2())return!1;this.d3();var i=this.d5(),n=Math.min(i+1,this.d7()-1);return this.dw=n,this.fl(n,!0),!0},n.prototype.cd=function(t,e){if(0==this.r||this.b2())return!1;var i=this.d3(),n=this.d5()-i,r=Math.max(i-n-1,0);return this.dw=r,this.fl(r,!1),!0},n.prototype.ce=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i<=0)return!1;var n=i-1;if(e&&(n=this.d7()-1),e&&2==this.ad&&(n=i-this.d8(i)+this.cx.count)>this.d7()-1&&(n=this.d7()-1),n>this.d7()-1&&(n=this.d7()-1),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.cg=function(t,e){return 0!=this.r&&!this.b2()&&(0==this.ad?this.b4(t,e):this.ce(t,e))},n.prototype.g3=function(){},n.prototype.ch=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i<=0)return!1;var n=i-1;if(2==this.ad&&(n=i-this.cx.count)<0&&(n=0),e&&(n=0),n<=0&&(n=0),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.b6=function(t,e){return!1},n.prototype.b7=function(){return!1},n.prototype.b8=function(){return!1},n.prototype.cf=function(t,e){return!1},n.prototype.fy=function(){this.view.x()},Object.defineProperty(n.prototype,"bx",{get:function(){return this.bf},set:function(t){this.bf=t},enumerable:!1,configurable:!0}),n.prototype.fk=function(t){void 0===t&&(t=!1),this.cn.clear(),this.co.clear(),this.cp.clear(),this.cq.clear(),this.bb=!0,this.bc=t},n.prototype.fu=function(){this.bb&&(this.bx=!0,this.hv(this.cn,this.co,this.cp,this.cq),this.bx=!1),this.bb=!1},Object.defineProperty(n.prototype,"b3",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.gr("NotifyOnAllSelectionChanges",e,this.bm)},enumerable:!1,configurable:!0}),n.prototype.hv=function(t,e,i,n){if(0!=t.count||0!=e.count||0!=i.count||0!=n.count){var r=this.b3;if(this.b3=!1,!this.bq&&!this.bc&&(t.count>0&&(this.ai.o(t),this.al.o(e),this.bp=!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.bp=!0}this.b3=r,this.gv(i,t),this.gy(n,e)}},n.prototype.hm=function(t,n){var r,o,s,a,h,u,l,c=this;if(this.bp=!0,!this.bx&&null!=this.actualDataSource&&!this.bq){switch(this.bq=!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 g=0;g<n.oldItems.count;g++)this.al.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var b=0;b<n.newItems.count;b++){var y=this.ae(this.e(),n.newItems.item(b));this.al.ae.insert(b+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.bq=!1}if(this.b3&&null!=this.selectedItemsChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){j=new R;try{for(var w=e.__values(i.fromEn(n.newItems)),P=w.next();!P.done;P=w.next()){var x=P.value;j.add1(x)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){T=new R;try{for(var k=e.__values(i.fromEn(n.oldItems)),O=k.next();!O.done;O=k.next()){var S=O.value;T.add1(S)}}catch(t){h={error:t}}finally{try{O&&!O.done&&(u=k.return)&&u.call(k)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new L).addedItems=j,l.removedItems=T,l.currentItems=c.ai,l))}},n.prototype.hn=function(t,n){var r,o,s,a,h,u,l,c=this;if(!this.bx&&null!=this.actualDataSource&&!this.bq){switch(this.bq=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ej(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 g=0;g<n.oldItems.count;g++)this.ai.ae.removeAt(n.oldStartingIndex);if(null!=n.newItems)for(var b=0;b<n.newItems.count;b++){var y=this.ej(n.newItems.item(b));this.ai.ae.insert1(b+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.ej(_);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.bq=!1}if(this.b3&&null!=this.selectedKeysChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){(j=new $).ag=!1;try{for(var w=e.__values(i.fromEn(n.newItems)),P=w.next();!P.done;P=w.next()){var x=P.value;j.add(x)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var T=null;if(null!=n.oldItems&&n.oldItems.count>0){(T=new $).ag=!1;try{for(var k=e.__values(i.fromEn(n.oldItems)),O=k.next();!O.done;O=k.next()){var S=O.value;T.add(S)}}catch(t){h={error:t}}finally{try{O&&!O.done&&(u=k.return)&&u.call(k)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new F).addedKeys=j,l.removedKeys=T,l.currentKeys=c.al,l))}},n.prototype.hs=function(t,e){this.g6()},n.prototype.gt=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.bx=!0,this.bb?(this.cn.add1(t),this.co.add(e),this.bc&&this.fj(t,e,!1)):this.fj(t,e,!0),this.bx=!1)},n.prototype.ht=function(t,e){this.g6()},n.prototype.gu=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.bx=!0,this.bb?(this.cp.add1(t),this.cq.add(e),this.bc&&this.hf(t,e,!1)):this.hf(t,e,!0),this.bx=!1)},n.prototype.fj=function(t,e,i){var n=this.b3;this.b3=!1,this.bq||(this.ai.add1(t),this.al.add(e)),this.b3=n,i&&(this.gw(null,t),this.gx(null,e))},n.prototype.hu=function(t,e,i){var n=this.b3;this.b3=!1;this.ai.ae._inner[t];this.bq||(this.ai.ae._inner[t]=e),this.b3=n,this.gw(e,e)},n.prototype.hf=function(t,e,i){var n=this.b3;this.b3=!1,this.bq||(this.ai.remove1(t),this.al.remove(e)),this.b3=n,i&&(this.gw(t,null),this.gx(e,null))},n.prototype.gw=function(t,e){if(!this.cm&&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.gx=function(t,e){if(!this.cm&&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.gv=function(t,e){if(!this.cm&&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.gy=function(t,e){if(!this.cm&&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.fq=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.bx=!0,this.ai.clear(),this.al.clear(),this.cm=!0,this.aq.af(),this.cm=!1,this.bx=!1,this.gv(t,null),this.gy(e,null),this.aq.z(-1)}},n.prototype.h=function(t){return null==this.actualDataSource||t<0||t>=this.d7()?0:this.actualDataSource.getRowType(t)},n.prototype.ec=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.el=function(t){return t<0||t>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(t)},n.prototype.d0=function(t,e,i,n){var r=this.ec(t,e,i,n);return r>=0?r:this.eb(e)},n.prototype.d7=function(){return null==this.actualDataSource?0:this.actualDataSource.actualCount},n.prototype.em=function(t){var e=t.v;return e<0||e>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(e)},n.prototype.gz=function(t,e,i){this.bx=!0,this.hu(t,e,i),this.bx=!1},n.prototype.hq=function(t,e){this.g6()},n.prototype.gg=function(t){if(this.br||(this.dw=t),null!=this.activeRowChanged){var e=new M;e.newActiveRow=this.dw,e.oldActiveRow=this.dj,this.activeRowChanged(this,e)}this.gh()},n.prototype.hr=function(t,e){this.g6()},n.prototype.gj=function(t){var e=this.dw;if(this.br||(this.dw=t),null!=this.activeRowChanged){var i=new M;i.newActiveRow=this.dw,i.oldActiveRow=e,this.activeRowChanged(this,i)}this.gh()},n.prototype.gh=function(){},n.prototype.cl=function(t){var e=this.dy(t);return-1!=e&&(this.hj(e),!0)},n.prototype.gp=function(t,e,i,n){if(this.bz){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.ci(i,t))return i}return null},n.prototype.ci=function(t,e){var i=e.y+this.ay.d.top,n=e.x+this.ay.d.left,r=this.c0,o=this.c6,s=t.v,a=-1;return 2==this.ad&&(s=this.ea(s),a=this.d9(s),r=this.cx._inner[a].a),this.b0&&(o=this.cr._inner[s]),1==this.ad&&(r=this.cv._inner[s]),n>=t.s&&n<=t.s+r&&i>=t.u&&i<=t.u+o},n.prototype.gq=function(t,e,i,n){if(this.bz){var r=this.y(t);null!=r&&r==this.x&&this.gi(r,e,i,n)}},n.prototype.gi=function(t,e,i,n){var r,o=this;e&&(this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear(),this.bp=!1,this.aq.o(t,i,n,0==this.an),this.g0(),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.fs=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.h4=null,n.ac=0,n.bu=!1,n.h5=i.BrushUtil.l(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.gl(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.g1(t,e,i)},n.prototype.notifyClearItems=function(){this.a.gk()},n.prototype.notifyInsertItem=function(t,e){this.a.go(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.gs(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.af=t.width,this.a.z=t.height},n.prototype.h=function(){return this.a.bf()},n.prototype.b=function(t){return this.a.bt(t)},n.prototype.c=function(t){return this.a.bu(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bo(e.b.a)),0==t.ad?(i.isNaN_(t.absoluteWidth)||(e.b.a.af=t.absoluteWidth),e.b.a.z=t.c7(e.v)):2==t.ad?(e.b.a.af=t.c8(e.v),e.b.a.z=t.c7(e.v)):(e.b.a.af=t.c8(e.v),e.b.a.z=t.absoluteHeight),e.o&&(e.o=!1,this.a.bv(e.b.a,e.s),this.a.bw(e.b.a,e.u))},n.prototype.e=function(t){this.a.bw(t,-1e3),this.a.bv(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.bf();return e.d=i.width,e.a=i.height,e.e=this.v,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.em(t);this.a.gz(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.fk(),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.fu()}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.ec(this.a.e(),a,this.a.d3(),this.a.d5());this.y(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.el(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.hs(this.a,e)}n&&this.a.gt(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.ht(this.a,e)}}n&&this.a.gu(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.ec(this.a.e(),a,this.a.d3(),this.a.d5());this.ae(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.el(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.ec(this.a.e(),r,this.a.d3(),this.a.d5())),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 g=-1;this.d.d(d)&&(g=this.d.item(d)),-1==g&&(g=this.a.d0(this.a.e(),d,this.a.d3(),this.a.d5())),this.ad(d,g,!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.ec(this.a.e(),r,this.a.d3(),this.a.d5());e.add_1(o),this.d.item(r,-1)}for(var s=0;s<t.count;s++)e.contains(t._inner[s])||this.a.ht(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.fk(),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.fu(),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.fk();for(var t=this.a.d7(),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.fu()}},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.d7(),this.a.hq(this.a,t)),e&&this.a.gg(t))},n.prototype.p=function(t,e){this.d(t)&&(this.g=-1,t>=0&&(t>=0&&this.a.d7(),this.a.hr(this.a,t)),e&&this.a.gj(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.b4(t,e)},n.prototype.onEnd=function(t,e){return this.a.b5(t,e)},n.prototype.onHome=function(t,e){return this.a.b9(t,e)},n.prototype.onLeftArrow=function(t,e){return this.a.cb(t,e)},n.prototype.onPageDown=function(t,e){return this.a.cc(t,e)},n.prototype.onPageUp=function(t,e){return this.a.cd(t,e)},n.prototype.onRightArrow=function(t,e){return this.a.ce(t,e)},n.prototype.onTab=function(t,e){return this.a.cg(t,e)},n.prototype.onUpArrow=function(t,e){return this.a.ch(t,e)},n.prototype.onWheel=function(){this.a.g3()},n.prototype.onEnter=function(t,e){return this.a.b6(t,e)},n.prototype.onEscape=function(){return this.a.b7()},n.prototype.onF2=function(){return this.a.b8()},n.prototype.onSpace=function(t,e){return this.a.cf(t,e)},n.prototype.onKeyDown=function(t,e,i){return this.a.ca(t,e,i)},n.prototype.onGotFocus=function(t,e){},n.$t=i.markType(n,"ListPanelScrollerKeyboardListener",i.Base.$,[i.IScrollerKeyboardListener_$type]),n}(i.Base),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 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}(),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 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,"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 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()},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}(),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}(),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 q},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}(),xt=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.by},set:function(t){this.i.by=i.ensureBool(t),this._a("isActiveRowStyleEnabled",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedBackground",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("selectedBackground",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normalBackground",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("normalBackground",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorder",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("activationBorder",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderLeftWidth",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("activationBorderLeftWidth",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderTopWidth",{get:function(){return this.i.dv},set:function(t){this.i.dv=+t,this._a("activationBorderTopWidth",this.i.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderRightWidth",{get:function(){return this.i.du},set:function(t){this.i.du=+t,this._a("activationBorderRightWidth",this.i.du)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderBottomWidth",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("activationBorderBottomWidth",this.i.ds)},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.c9},set:function(t){this.i.c9=+t,this._a("itemSpacing",this.i.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.ef},set:function(t){this.i.ef=+t,this._a("rowHeight",this.i.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("actualRowHeight",this.i.c6)},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.bw},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.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("scrollbarBackground",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.h3))},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.b0},set:function(t){this.i.b0=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRow",{get:function(){return this.i.dw},set:function(t){this.i.dw=+t,this._a("activeRow",this.i.dw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"notifyOnAllSelectionChanges",{get:function(){return this.i.b3},set:function(t){this.i.b3=i.ensureBool(t),this._a("notifyOnAllSelectionChanges",this.i.b3)},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.d5()},n.prototype.getFirstVisibleIndex=function(){return this.i.d3()},n.prototype.invalidateVisibleItems=function(){this.i.f7()},n.prototype.notifySetItem=function(t,e,i){this.i.gd(t,e,i)},n.prototype.notifyClearItems=function(){this.i.ga()},n.prototype.notifyInsertItem=function(t,e){this.i.gb(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.gc(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.dy(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.dz(t)},n.prototype.exportVisualData=function(){return this.i.ei()},n.prototype.exportSerializedVisualData=function(){return this.i.e0()},n.prototype.selectAllRows=function(){this.i.hl()},n.prototype.scrollToRowByIndex=function(t){this.i.hj(t)},n.prototype.scrollToLastRowByIndex=function(t){this.i.hh(t)},n.prototype.deselectAllRows=function(){this.i.fq()},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 wt;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 Pt;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 bt;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 gt;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(){xt.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",xt),i.TypeRegistrar.registerCons("IgcListPanelComponent",xt),i.TypeRegistrar.register("ListPanel",et.$type)},t}(),kt=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}(),Ot=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"),It=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.getAllProperties(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!(i.stringEndsWith(r[o],"@names")||i.stringEndsWith(r[o],"@args")||i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion")||i.stringEndsWith(r[o],"@constantValues"))){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 It)},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),Vt=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),Ut=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 Vt,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 Vt;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}(),qt=function(t){function n(e){var n=t.call(this)||this;if(Ut.$type||(Ut.$type=i.markType(Ut,"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(){Ut.$type||(Ut.$type=i.markType(Ut,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(Ut.$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 Ut)&&(!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 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()},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}(),Ht=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}(),Mt=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 Ut;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 qt,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 qt;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 Ut;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 Ut;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 qt,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 qt;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 qt,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 qt;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 Vt,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 Vt;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 Ht;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 Mt;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 92:return e.gh;case 91:return e.j;case 8:return e.itemsSource;case 90: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 92:return void(e.gh=r);case 91: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 90:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.prototype.exportVisualData=function(t){var e=t.dw(),i=this.getBoundingRect(t);return e.x=i.left,e.aa=i.top,e.ab=i.width,e.v=i.height,e},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=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=null,e.j=null,e.g=0,e.a=null,e.f=null,e.h=null,e.b=null,e.c=null,e.d=null,e.e=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),t.u('id: "'+this.i+'", '),t.u('name: "'+this.j+'", '),t.u("type: "+this.g+", "),t.u("actualBackgroundColor: "+this.a.serialize()+", "),null!=this.f&&t.u("listItem: "+this.f.serialize()+", "),null!=this.h&&t.u("container: "+this.h.serialize()+", "),null!=this.c&&t.u("icon: "+this.c.l()+", "),null!=this.d&&t.u("label: "+this.d.g()+", "),null!=this.e&&t.u("subTitle: "+this.e.g()+", "),t.u(this.k()),t.u("}"),t.toString()},n.prototype.k=function(){return""},n.$t=i.markType(n,"ToolActionVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),oe=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(re.$,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=new i.Type(null,"INativeUIToolbarBridge",null,[i.INativeUIElementBridge_$type]),he=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuOpeningEventArgs"),n}(i.Base),ue=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),le=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuClosingEventArgs"),n}(i.Base),ce=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),pe=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),fe=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),de=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),ge=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),be=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),ye=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),me=function(t){function n(){return t.call(this,be.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(be.$)),n}(i.ObservableCollection$1),ve=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new me,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),_e=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),Ce=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),je=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"innerButton: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionButtonVisualData",re.$),n}(re),we=function(t){return t[t.Flat=0]="Flat",t[t.Outlined=1]="Outlined",t}({}),Pe=i.markEnum("ToolActionButtonGroupDisplayType","Flat,0|Outlined,1"),xe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=null,e.n=null,e.o=null,e.p=null,e.q=null,e.r=null,e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){var t=new i.StringBuilder(0);return t.u("leftButton: "+this.m!=null?this.m.serialize():"null"),t.u("rightButton: "+this.n!=null?this.n.serialize():"null"),t.u("leftIcon: "+this.o!=null?this.o.l():"null"),t.u("rightIcon: "+this.p!=null?this.p.l():"null"),t.u("leftLabel: "+this.q!=null?this.q.g():"null"),t.u("rightLabel: "+this.r!=null?this.r.g():"null"),t.u("buttonGroup: "+this.l!=null?this.l.p():"null"),t.toString()},n.$t=i.markType(n,"ToolActionButtonPairVisualData",re.$),n}(re),Te=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"checkbox: "+this.l!=null?this.l.w():"null"},n.$t=i.markType(n,"ToolActionCheckboxVisualData",re.$),n}(re),ke=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=null,e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){return"selectedTextLabel: "+(null!=this.m?this.m.g():"null")+", dropdownIcon: "+(null!=this.l?this.l.l():"null")},n.$t=i.markType(n,"ToolActionCheckboxGroupVisualData",re.$),n}(re),Oe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.k=function(){n.a||(i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarDrillDownIcon",n.f),i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarDownArrowIcon",n.d),i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarBackButtonIcon",n.b),i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarIconMenuArrowIcon",n.i),n.a=!0)},n.$t=i.markType(n,"ToolPanelIconRepository"),n.a=!1,n.f='\r\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>',n.d='\r\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M6.34315 10.1807L12.0183 15.8192L17.6569 10.1807" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>',n.b='\r\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/>\r\n<path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>',n.i='\r\n<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>',n}(i.Base),Se=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),Ie=function(t){function n(){var e=t.call(this,Se.$,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(Se.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Se.$,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(Se.$)),n}(i.ObservableCollection$1),Ae=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),Ne=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),Be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"checkbox: "+this.l!=null?this.l.i():"null"},n.$t=i.markType(n,"ToolActionCheckboxListVisualData",re.$),n}(re),Re=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"colorEditor: "+this.l!=null?this.l.h():"null"},n.$t=i.markType(n,"ToolActionColorEditorVisualData",re.$),n}(re),Ee=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){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"combo: "+this.l!=null?this.l.aq():"null"},n.$t=i.markType(n,"ToolActionComboVisualData",re.$),n}(re),De=function(t){return t[t.Label=0]="Label",t[t.Value=1]="Value",t}({}),ze=i.markEnum("ToolActionFieldSelectorType","Label,0|Value,1"),Ve=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),Ue=function(t){return t[t.Change=0]="Change",t[t.AggregationChange=1]="AggregationChange",t}({}),qe=i.markEnum("ToolActionFieldSelectorEventType","Change,0|AggregationChange,1"),Le=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"backButton: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionGroupHeaderVisualData",re.$),n}(re),Fe=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.l(255,237,239,245),r.x=i.BrushUtil.l(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.ax(this.j,[7,3],(function(i){e.e=i[0],e.e.bj=e.ac,e.e.z=e.i,e.e.a9=e.y,e.e.ap=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bn=!1,e.f.bo=e.p,e.f.bb=e.z,e.f.bl=e.b,e.e.bo(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.bj=this.ac,this.e.z=this.i,this.e.a9=this.y),null!=this.f&&(this.f.bo=this.p,this.f.bb=this.z,this.f.bl=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),He=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"arrowIcon: "+this.l!=null?this.l.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",re.$),n}(re),Me=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"drilldownIcon: "+this.l!=null?this.l.l():"null"},n.$t=i.markType(n,"ToolActionLabelVisualData",re.$),n}(re),Ge=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"input: "+this.l!=null?this.l.p():"null"},n.$t=i.markType(n,"ToolActionNumberInputVisualData",re.$),n}(re),We=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"checkbox: "+this.l!=null?this.l.w():"null"},n.$t=i.markType(n,"ToolActionRadioVisualData",re.$),n}(re),Ke=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=null,e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){return"selectedTextLabel: "+(null!=this.m?this.m.g():"null")+", dropdownIcon: "+(null!=this.l?this.l.l():"null")},n.$t=i.markType(n,"ToolActionRadioGroupVisualData",re.$),n}(re),Xe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.prototype.k=function(){return null},n.$t=i.markType(n,"ToolActionSeparatorVisualData",re.$),n}(re),Qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"toolPanel: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionSubPanelVisualData",re.$),n}(re),Ye=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"input: "+this.l!=null?this.l.p():"null"},n.$t=i.markType(n,"ToolActionTextInputVisualData",re.$),n}(re),Je=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),Ze=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.at(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.ao=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 Si;o.provideContainer(r);var s=new ti(o),a=new ri;a.ao=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 Ti;o.provideContainer(r);var s=new ei(o),a=new oi;a.ao=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),ti=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.kd()},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.ho(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 109: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.c5=i.typeGetValue(r));case 18:return void(o.z=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 34:return void(o.j6=r);case 35:return void(o.jr=r);case 23:return void(o.jo=r);case 51:return void(o.j4=r);case 52:return void(o.ju=r);case 121:return void(o.i1=r);case 53:return void(o.jx=r);case 117:return void(o.j8=r);case 54:return void(o.j3=r);case 11:return void(o.ap=r);case 71:return void(o.j2=r);case 67:return void(o.j9=r);case 69:return void(o.ka=r);case 68:return void(o.jp=r);case 70:return void(o.jq=r);case 72:return void(o.j0=r);case 73:return void(o.j1=r);case 84:return void(o.j5=r);case 85:return void(o.jw=r);case 86:return void(o.as=r);case 113:o.ar=r;break;case 110:return void(o.a6=r);case 112:return void(o.ck=r);case 24:return void(o.jz=r);case 123:return void(o.j7=r);case 124:return void(o.jy=r);case 125:return void(o.c6=i.typeGetValue(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.c5;case 29:return r.b5;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.z);case 34:return r.j6;case 35:return r.jr;case 23:return r.jo;case 51:return r.j4;case 52:return r.ju;case 53:return r.jx;case 121:return r.i1;case 117:return r.j8;case 54:return r.j3;case 11:return r.ap;case 71:return r.j2;case 67:return r.j9;case 69:return r.ka;case 68:return r.jp;case 70:return r.jq;case 72:return r.j0;case 73:return r.j1;case 84:return r.j5;case 85:return r.jw;case 86:return r.as;case 113:return r.ar;case 105:return r.a5;case 110:return r.a6;case 112:return r.ck;case 24:return r.jz;case 123:return r.j7;case 124:return r.jy;case 125:return r.c6}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.gz()},r.prototype.flushRefresh=function(t){t.ge()},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.g8(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.js(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.g6(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.hg(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.cg(e)},r.prototype.setStringContextItem=function(t,e,i){t.hk(e,i)},r.prototype.getStringContextItem=function(t,e){return t.ev(e)},r.prototype.setBoolContextItem=function(t,e,i){t.g4(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.a2(e)},r.prototype.setColorContextItem=function(t,e,i){t.ha(e,i)},r.prototype.getColorContextItem=function(t,e){return t.kb(e)},r.prototype.setDataContextItem=function(t,e,i){t.he(e,i)},r.prototype.getDataContextItem=function(t,e){return t.da(e)},r.prototype.markDirty=function(t,e){t.gh(e)},r.prototype.exportVisualData=function(t){return t.c7()},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Jt]),r}(n.XComponentBridge),ei=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.gh()},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 ue;this.x(this.ab,i)}},r.prototype.ag=function(t,e){if(null!=this.x){var i=new ce;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(n,r,o){var s,a,h=n;switch(r){case 27:h.actions.clear();try{for(var u=e.__values(i.fromEnum(o)),l=u.next();!l.done;l=u.next()){var c=l.value;h.actions.add(c)}}catch(t){s={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(s)throw s.error}}break;case 30:h.m=i.EnumUtil.getEnumValue(fe,o);break;case 28:h.bz=i.typeGetValue(o);break;case 18:h.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,o);break;case 34:h.gb=o;break;case 35:h.fy=o;break;case 23:h.fv=o;break;case 51:h.f9=o;break;case 52:h.f0=o;break;case 53:h.f2=o;break;case 117:h.gd=o;break;case 54:h.f8=o;break;case 11:h.af=o;break;case 71:h.f7=o;break;case 67:h.ge=o;break;case 69:h.gf=o;break;case 68:h.fw=o;break;case 70:h.fx=o;break;case 72:h.f5=o;break;case 73:h.f6=o;break;case 84:h.ga=o;break;case 85:h.f1=o;break;case 86:h.aj=o;break;case 113:h.ai=o;break;case 87:h.target=o;break;case 110:h.aw=o;break;case 121:h.fu=o;break;case 24:h.f4=o;break;case 123:h.gc=o;break;case 124:h.f3=o;break;case 125:h.b0=i.typeGetValue(o)}t.prototype.setValue.call(this,n,r,o)},r.prototype.getValue=function(e,n){var r=e;switch(n){case 27:return r.actions;case 30:return i.enumGetBox(fe,r.m);case 28:return r.bz;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.x);case 34:return r.gb;case 35:return r.fy;case 23:return r.fv;case 51:return r.f9;case 52:return r.f0;case 53:return r.f2;case 117:return r.gd;case 54:return r.f8;case 11:return r.af;case 71:return r.f7;case 67:return r.ge;case 69:return r.gf;case 68:return r.fw;case 70:return r.fx;case 72:return r.f5;case 73:return r.f6;case 84:return r.ga;case 85:return r.f1;case 86:return r.aj;case 113:return r.ai;case 87:return r.target;case 105:return r.av();case 110:return r.aw;case 121:return r.fu;case 24:return r.f4;case 123:return r.gc;case 124:return r.f3;case 125:return r.b0}return t.prototype.getValue.call(this,e,n)},r.prototype.flushRefresh=function(t){t.d6()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.es(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.fz(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.er(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.ew(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.bd(e)},r.prototype.setStringContextItem=function(t,e,i){t.e4(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cu(e)},r.prototype.setBoolContextItem=function(t,e,i){t.eq(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.au(e)},r.prototype.setColorContextItem=function(t,e,i){t.et(e,i)},r.prototype.getColorContextItem=function(t,e){return t.gg(e)},r.prototype.setDataContextItem=function(t,e,i){t.ev(e,i)},r.prototype.getDataContextItem=function(t,e){return t.b5(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[ae]),r}(n.XComponentBridge),ii=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.gd(),e.a.d7(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.ea(this.ad)}},n.prototype.ac=function(){var t=this.l;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.r(e,this.a.gb),i.NativeUI.n(e,this.a.fv))}},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),ni=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.fy(),e.c.gf(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.gl(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.r(e,this.c.j6),i.NativeUI.n(e,this.c.jo))}},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 Si;this.r.getExternal(e,this.r.rootWrapper,this.r.getExternal(this.c,null,null));return t.ao.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),ri=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bq=null,e.bl=null,e.bm=null,e.bs=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bp",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.ah(27)},set:function(t){this.a5(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return i.typeGetValue(this.ah(28))},set:function(t){this.a5(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ah(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return i.typeGetValue(this.ah(125))},set:function(t){this.a5(125,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ah(30))},set:function(t){this.a5(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.ah(34)},set:function(t){this.a5(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ah(84)},set:function(t){this.a5(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ah(85)},set:function(t){this.a5(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ah(86)},set:function(t){this.a5(86,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ah(113)},set:function(t){this.a5(113,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ah(35)},set:function(t){this.a5(35,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ah(23)},set:function(t){this.a5(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ah(51)},set:function(t){this.a5(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ah(52)},set:function(t){this.a5(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ah(53)},set:function(t){this.a5(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ah(54)},set:function(t){this.a5(54,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ah(11)},set:function(t){this.a5(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ah(71)},set:function(t){this.a5(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.ah(67)},set:function(t){this.a5(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ah(68)},set:function(t){this.a5(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.ah(69)},set:function(t){this.a5(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ah(70)},set:function(t){this.a5(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ah(72)},set:function(t){this.a5(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.bp.getContext(this.an)},set:function(t){this.bp.setContext(this.an,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ah(73)},set:function(t){this.a5(73,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ah(112)},set:function(t){this.a5(112,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ah(121)},set:function(t){this.a5(121,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.ah(123)},set:function(t){this.a5(123,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.ah(117)},set:function(t){this.a5(117,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,null!=this.bq?this.ar(10,this.bq):this.a3(10,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.ar(11,this.bl):this.a3(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,null!=this.bm?this.ar(12,this.bm):this.a3(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,null!=this.bs?this.ar(17,this.bs):this.a3(17,e)},enumerable:!1,configurable:!0}),n.prototype.b7=function(){this.bp.refresh(this.an)},n.prototype.b8=function(t){this.bp.updateDensity(this.an,t)},n.prototype.b4=function(){this.bp.flushRefresh(this.an)},n.prototype.b6=function(t){this.bp.notifySizeChanged(this.an,t)},n.prototype.b5=function(t){this.bp.markDirty(this.an,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),oi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bm=null,e.bs=null,e.bq=null,e.bo=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bl",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.ah(27)},set:function(t){this.a5(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ah(87)},set:function(t){this.a5(87,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ah(110)},set:function(t){this.a5(110,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return i.typeGetValue(this.ah(28))},set:function(t){this.a5(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ah(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return i.typeGetValue(this.ah(125))},set:function(t){this.a5(125,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ah(30))},set:function(t){this.a5(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.ah(34)},set:function(t){this.a5(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ah(84)},set:function(t){this.a5(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ah(85)},set:function(t){this.a5(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ah(86)},set:function(t){this.a5(86,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ah(113)},set:function(t){this.a5(113,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ah(35)},set:function(t){this.a5(35,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ah(23)},set:function(t){this.a5(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ah(51)},set:function(t){this.a5(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ah(52)},set:function(t){this.a5(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ah(121)},set:function(t){this.a5(121,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ah(53)},set:function(t){this.a5(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.ah(117)},set:function(t){this.a5(117,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ah(54)},set:function(t){this.a5(54,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ah(11)},set:function(t){this.a5(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ah(24)},set:function(t){this.a5(24,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.ah(123)},set:function(t){this.a5(123,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ah(124)},set:function(t){this.a5(124,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ah(71)},set:function(t){this.a5(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.ah(67)},set:function(t){this.a5(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ah(68)},set:function(t){this.a5(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.ah(69)},set:function(t){this.a5(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ah(70)},set:function(t){this.a5(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ah(72)},set:function(t){this.a5(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ah(73)},set:function(t){this.a5(73,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ah(105)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,null!=this.bm?this.ar(10,this.bm):this.a3(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,null!=this.bs?this.ar(17,this.bs):this.a3(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,null!=this.bq?this.ar(23,this.bq):this.a3(23,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,null!=this.bo?this.ar(24,this.bo):this.a3(24,e)},enumerable:!1,configurable:!0}),n.prototype.b5=function(){this.bl.flushRefresh(this.an)},n.prototype.b6=function(t){this.bl.notifySizeChanged(this.an,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),si=function(t){function n(){var e,n=t.call(this)||this;n.r=null,n.bm=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bp=new i.List$1(i.String_$type,0),n.bo=new i.HashSet$1(i.String_$type,0),n.bl=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bk=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bs=NaN,n.au=!1,n.p=new de,n.s=null,n.c=null,n.c0=null,n.h=null,n.j=new xi,n.ds=null,n.dp=null,n.es=null,n.g=null,n.ha=i.BrushUtil.l(0,0,0,0),n.ab=null,n.bw=30,n.bu=NaN,n.bv=NaN,n.br=24,n.bt=NaN,n.bq=24,n.propertyChanged=null,n.bn=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.f0));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.f1));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.ga));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.gb)),n}return e.__extends(n,t),n.prototype.get_bb=function(){return!1},Object.defineProperty(n.prototype,"bb",{get:function(){return this.get_bb()},enumerable:!1,configurable:!0}),n.prototype.gw=function(t,n){var r,o,s,a;if(this.bm.item(t,n),this.bl.containsKey(t)){var h=this.bl.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 g=d.value;this.gp(g)}}catch(t){s={error:t}}finally{try{d&&!d.done&&(a=f.return)&&a.call(f)}finally{if(s)throw s.error}}}},n.prototype.gp=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.g0)),null!=t.h&&this.bk.containsKey(t.h)){var e=this.bk.item(t.h);e.remove(t),0==e.count&&this.bk.removeItem(t.h)}if(null!=t.j&&this.bl.containsKey(t.j)){var n=this.bl.item(t.j);n.remove(t),0==n.count&&(this.bl.removeItem(t.j),this.bo.contains(t.j)&&(this.bo.remove(t.j),this.bp.remove(t.j)))}}},n.prototype.gq=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.g0)),null!=e&&this.bk.containsKey(e)){var r=this.bk.item(e);r.remove(t),0==r.count&&this.bk.removeItem(t.h)}if(null!=n)if(this.bl.containsKey(n))this.bl.item(n).remove(t),this.bo.contains(t.j)&&(this.bo.remove(t.j),this.bp.remove(t.j))}},n.prototype.ff=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.g0)),null!=t.h)if(this.bk.containsKey(t.h)){var e=this.bk.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Kt.$,0);n.add(t),this.bk.addItem(t.h,n)}if(null!=t.j)if(this.bl.containsKey(t.j)){var r=this.bl.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Kt.$,0);o.add(t),this.bl.addItem(t.j,o),this.bo.contains(t.j)||(this.bo.add_1(t.j),this.bp.add(t.j))}}},n.prototype.g0=function(t,e){switch(e.propertyName){case"ContextKey":this.gq(t,e.oldValue,t.j),this.ff(t);break;case"PropertyName":this.gq(t,t.h,e.oldValue),this.ff(t)}},n.prototype.cx=function(t,e){if(this.bm.containsKey(t))return this.bm.item(t);if(this.bl.containsKey(t))for(var i=this.bl.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a2(r))return this.cu(r,e)}return e},n.prototype.i=function(t,e,n){if(this.bm.containsKey(e))return i.typeCastObjTo$t(t,this.bm.item(e));if(this.bl.containsKey(e))for(var r=this.bl.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.a2(s)){var a=this.cu(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.cw=function(t,e){if(this.bm.containsKey(t))return this.bm.item(t);if(this.bl.containsKey(t))for(var i=this.bl.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a2(r))return this.cu(r,e)}return e},n.prototype.cu=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.gt=function(t,e){null!=this.r&&null!=this.r.p&&null!=t.h&&(this.gx(t.h),this.r.p.i(t.h,e),this.gy(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.gg("ContextBindings",e,this.p)},enumerable:!1,configurable:!0}),n.prototype.az=function(){return this.bp.count>0},n.prototype.fv=function(t){for(var e=0;e<this.bp.count;e++){var i=this.bp._inner[e];if(this.bl.containsKey(i))for(var n=this.bl.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.a2=function(t){return null!=this.r&&null!=this.r.p&&this.r.p.c(t.h)},n.prototype.gu=function(t,e){if(this.a1(t))for(var i=this.bl.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.gt(r,e)}else this.bm.item(t,e)},n.prototype.a0=function(t){return!!this.bk.containsKey(t)},n.prototype.a1=function(t){return!!this.bl.containsKey(t)},n.prototype.gv=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.bg=this.r.a8),this.r!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.gc)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.gd))),null!=this.r){var n=this.r;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.gc));var r=this.r;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.gd))}this.gf(e,t),this.z=null}},n.prototype.cv=function(t){return null==t||null==t.j?null:this.bm.containsKey(t.j)?this.bm.item(t.j):null},n.prototype.gf=function(t,e){null!=this.ai&&(this.ai.bn=i.runOn(this,this.f3))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.gg("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c2",{get:function(){return null!=this.eq?this.eq:null!=this.fa?this.e1(this.fa):(null==this.c0&&(this.c0=i.Guid.newGuid().toString()),this.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.j},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.cx("Width",NaN)},set:function(t){var e=this.cp;e!=t&&(this.gw("Width",t),this.gg("Width",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.cx("Height",NaN)},set:function(t){var e=this.ca;e!=t&&(this.gw("Height",t),this.gg("Height",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return i.typeGetValue(this.cx("SubPanelRowHeight",-1))},set:function(t){var e=this.cr;e!=t&&(this.gw("SubPanelRowHeight",t),this.gg("SubPanelRowHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return i.typeGetValue(this.cx("ActualSubPanelRowHeight",-1))},set:function(t){var e=this.cq;e!=t&&(this.gw("ActualSubPanelRowHeight",t),this.gg("ActualSubPanelRowHeight",e,t))},enumerable:!1,configurable:!0}),n.prototype.fh=function(){null!=this.ai&&(this.ai.bn=null),null!=this.r&&this.r.gh(this),this.g=null},n.prototype.ga=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.gp(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.ff(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.gb=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.gp(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.f0=function(t,r){var o,s,a,h;if(null!=r.oldItems)try{for(var u=e.__values(i.fromEn(r.oldItems)),l=u.next();!l.done;l=u.next()){var c=l.value;c.fh(),c.h=null;var p=c;p.propertyChanged=i.delegateRemove(p.propertyChanged,i.runOn(this,this.f5))}}catch(t){o={error:t}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}if(null!=r.newItems){var f=new i.List$1(n.$,0);try{for(var d=e.__values(i.fromEn(r.newItems)),g=d.next();!g.done;g=d.next()){var b=g.value;this.av(b)?(b.h=this,b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.f5)),b.t=this.t,this.f4(b)):f.add(b)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=d.return)&&h.call(d)}finally{if(a)throw a.error}}if(f.count>0){var y=this.actions;y.collectionChanged=i.delegateRemove(y.collectionChanged,i.runOn(this,this.f0));for(var m=0;m<f.count;m++)this.actions.remove(f._inner[m]);var v=this.actions;v.collectionChanged=i.delegateCombine(v.collectionChanged,i.runOn(this,this.f0))}}},n.prototype.f1=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.fh(),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.f5=function(t,e){this.fg(t,e.propertyName)},n.prototype.fg=function(t,e){null!=this.h&&this.h.fg(t,e)},n.prototype.f4=function(t){},n.prototype.e1=function(t){return i.stringReplace(t," ","_")},n.prototype.av=function(t){return!0},n.prototype.l=function(t){var e,i=this;return(e=new be).g=i.c2,e.a=i.aa,e.c=t,e},n.prototype.fx=function(t){var e,n=this;null==this.du&&null==this.cs||t.add(((e=new i.ToolCommandArgument).argumentName=n.ez(),e.value=n.cy(),e)),this.fy(t)},n.prototype.fy=function(t){},n.prototype.ez=function(){return null!=this.du?this.du:null!=this.c2?this.c2:"Unknown"},n.prototype.cy=function(){return null!=this.cs?this.cs:this.cz()},n.prototype.cz=function(){return null},Object.defineProperty(n.prototype,"ex",{get:function(){return this.cx("ParentId",null)},set:function(t){var e=this.ex;e!=t&&(this.gw("ParentId",t),this.gg("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.e0=function(){return null!=this.dx?this.dx:this.c2},Object.defineProperty(n.prototype,"dx",{get:function(){return this.cx("CommandId",null)},set:function(t){var e=this.dx;e!=t&&(this.gw("CommandId",t),this.gg("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"du",{get:function(){return this.cx("CommandArgument",null)},set:function(t){var e=this.du;e!=t&&(this.gw("CommandArgument",t),this.gg("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.cx("CommandArgumentValue",null)},set:function(t){var e=this.cs;e!=t&&(this.gw("CommandArgumentValue",t),this.gg("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.gw("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.gg("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.cx("PaddingLeft",NaN)},set:function(t){var e=this.cl;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingLeft",t),this.gg("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return this.cx("ActualPaddingLeft",NaN)},set:function(t){var e=this.b2;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualPaddingLeft",t),this.gg("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.cx("PaddingRight",NaN)},set:function(t){var e=this.cm;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingRight",t),this.gg("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.cx("ActualPaddingRight",NaN)},set:function(t){var e=this.b3;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualPaddingRight",t),this.gg("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.cx("PaddingBottom",NaN)},set:function(t){var e=this.ck;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingBottom",t),this.gg("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.cw("ActualPaddingBottom",NaN)},set:function(t){var e=this.b1;e!=t&&(this.gw("ActualPaddingBottom",t),this.gg("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.cx("PaddingTop",NaN)},set:function(t){var e=this.cn;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingTop",t),this.gg("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.cx("ActualPaddingTop",NaN)},set:function(t){var e=this.b4;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualPaddingTop",t),this.gg("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.cx("ActualHoverBackground",null)},set:function(t){var e=this.hg;e!=t&&(this.gw("ActualHoverBackground",t),this.gg("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cx("HoverBackground",null)},set:function(t){var e=this.ho;e!=t&&(this.gw("HoverBackground",t),this.gg("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.cx("ActualBackground",null)},set:function(t){var e=this.hd;e!=t&&(this.gw("ActualBackground",t),this.gg("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.cw("Background",null)},set:function(t){var e=this.hl;e!=t&&(this.gw("Background",t),this.gg("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.cw("ActualTextColor",null)},set:function(t){var e=this.hk;e!=t&&(this.gw("ActualTextColor",t),this.gg("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cx("TextColor",null)},set:function(t){var e=this.hs;e!=t&&(this.gw("TextColor",t),this.gg("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.cw("ActualSubtitleTextColor",null)},set:function(t){var e=this.hj;e!=t&&(this.gw("ActualSubtitleTextColor",t),this.gg("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cx("SubtitleTextColor",null)},set:function(t){var e=this.hr;e!=t&&(this.gw("SubtitleTextColor",t),this.gg("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.cx("ActualDisabledTextColor",null)},set:function(t){var e=this.he;e!=t&&(this.gw("ActualDisabledTextColor",t),this.gg("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cx("DisabledTextColor",null)},set:function(t){var e=this.hm;e!=t&&(this.gw("DisabledTextColor",t),this.gg("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.cx("ActualTextStyle",null)},set:function(t){var e=this.ae;e!=t&&(this.gw("ActualTextStyle",t),this.gg("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.cx("TextStyle",null)},set:function(t){var e=this.ah;e!=t&&(this.gw("TextStyle",t),this.gg("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.cx("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gw("ActualSubtitleTextStyle",t),this.gg("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.cx("SubtitleTextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gw("SubtitleTextStyle",t),this.gg("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.cx("IsDisabled",!1)},set:function(t){var e=this.a9;e!=t&&(this.gw("IsDisabled",t),this.gg("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.cw("IsHighlighted",!1)},set:function(t){var e=this.ba;e!=t&&(this.gw("IsHighlighted",t),this.gg("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.cx("ActualAccentColor",null)},set:function(t){var e=this.hc;e!=t&&(this.gw("ActualAccentColor",t),this.gg("ActualAccentColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.cx("AccentColor",null)},set:function(t){var e=this.hb;e!=t&&(this.gw("AccentColor",t),this.gg("AccentColor",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.gw("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.gg("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.gw("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.gg("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return null!=this.ex},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eq",{get:function(){return this.cx("Name",null)},set:function(t){var e=this.eq;e!=t&&(this.gw("Name",t),this.gg("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fa",{get:function(){return this.cx("Title",null)},set:function(t){var e=this.fa;e!=t&&(this.gw("Title",t),this.gg("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e4",{get:function(){return this.cx("Subtitle",null)},set:function(t){var e=this.e4;e!=t&&(this.gw("Subtitle",t),this.gg("Subtitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return i.EnumUtil.getEnumValue(i.HorizontalAlignment_$type,this.cx("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,0)))},set:function(t){var e=this.g9;e!=t&&(this.gw("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,t)),this.gg("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,t)))},enumerable:!1,configurable:!0}),n.prototype.get_co=function(){return this.bw},Object.defineProperty(n.prototype,"co",{get:function(){return this.get_co()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ee",{get:function(){return this.cx("IconName",null)},set:function(t){var e=this.ee;e!=t&&(this.gw("IconName",t),this.gg("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d9",{get:function(){return this.cx("IconCollectionName",null)},set:function(t){var e=this.d9;e!=t&&(this.gw("IconCollectionName",t),this.gg("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.cx("IconViewBoxLeft",NaN)},set:function(t){var e=this.cg;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("IconViewBoxLeft",t),this.gg("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.cx("IconViewBoxTop",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("IconViewBoxTop",t),this.gg("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.cx("IconViewBoxWidth",NaN)},set:function(t){var e=this.ci;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("IconViewBoxWidth",t),this.gg("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.cx("IconViewBoxHeight",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("IconViewBoxHeight",t),this.gg("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cx("IconFill",null)},set:function(t){var e=this.hp;e!=t&&(this.gw("IconFill",t),this.gg("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.cx("ActualIconFill",null)},set:function(t){var e=this.hh;e!=t&&(this.gw("ActualIconFill",t),this.gg("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.cx("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gw("IconFillColors",t),this.gg("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cx("IconStroke",null)},set:function(t){var e=this.hq;e!=t&&(this.gw("IconStroke",t),this.gg("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.cx("ActualIconStroke",null)},set:function(t){var e=this.hi;e!=t&&(this.gw("ActualIconStroke",t),this.gg("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.cx("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gw("IconStrokeColors",t),this.gg("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.cx("IconStrokeWidth",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("IconStrokeWidth",t),this.gg("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.gg("IconWidth",e,this.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.gg("ActualIconWidth",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.gg("IconHeight",e,this.bt)},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.gg("ActualIconHeight",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.i(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.ht;e!=t&&(this.gw("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.gg("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ax",{get:function(){return this.cx("CloseOnExecute",!1)},set:function(t){var e=this.ax;e!=t&&(this.gw("CloseOnExecute",t),this.gg("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.cx("HighlightWidth",NaN)},set:function(t){var e=this.cc;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("HighlightWidth",t),this.gg("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.cx("ActualHighlightWidth",NaN)},set:function(t){var e=this.by;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualHighlightWidth",t),this.gg("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.cx("HighlightRadius",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("HighlightRadius",t),this.gg("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.cx("ActualHighlightRadius",NaN)},set:function(t){var e=this.bx;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualHighlightRadius",t),this.gg("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cx("HighlightColor",null)},set:function(t){var e=this.hn;e!=t&&(this.gw("HighlightColor",t),this.gg("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.cx("ActualHighlightColor",null)},set:function(t){var e=this.hf;e!=t&&(this.gw("ActualHighlightColor",t),this.gg("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.cx("StopPropagation",!1)},set:function(t){var e=this.bg;e!=t&&(this.gw("StopPropagation",t),this.gg("StopPropagation",e,t))},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_a5=function(){return!0},Object.defineProperty(n.prototype,"a5",{get:function(){return this.get_a5()},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_bh=function(){return!0},Object.defineProperty(n.prototype,"bh",{get:function(){return this.get_bh()},enumerable:!1,configurable:!0}),n.prototype.get_aw=function(){return!0},Object.defineProperty(n.prototype,"aw",{get:function(){return this.get_aw()},enumerable:!1,configurable:!0}),n.prototype.f6=function(){null!=this.h&&this.h.f6()},n.prototype.gg=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.go(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.go=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.g7();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":case"HoverBackground":case"AccentColor":this.g7(),this.gz();break;case"ActualDensity":this.f2();break;case"Density":this.gz(),0==this.w?this.v=this.y:this.v=this.w;break;case"ActualBackground":null!=this.aq&&(this.aq.a9=this.hd);break;case"ActualTextStyle":case"Subtitle":case"Title":case"TitleHorizontalAlignment":case"ActualSubtitleTextStyle":this.au=!0,this.gz(),this.g5(),this.ft();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.gz(),this.g5();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":this.gz(),null!=this.ar&&(this.ar.bc=this.hh,this.ar.bd=this.hi,this.ar.bl=this.a,this.ar.bm=this.b);break;case"Visibility":this.gz(),this.gk();break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.gz(),this.ge();break;case"IsHighlighted":this.gz(),this.g4(this.aq);break;case"StopPropagation":null!=this.ai&&(this.ai.by=this.bg);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.g7()}},n.prototype.g5=function(){null!=this.at&&(this.at.bo=this.e4,this.at.bb=this.a9?this.he:this.hj,this.at.bl=this.ad),null!=this.as&&(this.as.bo=this.fa,this.as.bb=this.a9?this.he:this.hk,this.as.bl=this.ae,this.as.h=this.a3()?2:1,this.as.f=this.aj()),null!=this.ao&&(this.a3()?1==this.ao.b4&&(this.ao.b7(1,2,1),this.ao.bo(this.at),this.ao.cf(this.at,1)):2==this.ao.b4&&(this.ao.cc(1),this.ao.bq(this.at)))},n.prototype.gx=function(t){this.bn.containsKey(t)?this.bn.item(t,this.bn.item(t)+1):this.bn.item(t,1)},n.prototype.gy=function(t){this.bn.containsKey(t)&&(this.bn.item(t,this.bn.item(t)-1),this.bn.item(t)<=0&&this.bn.removeItem(t))},n.prototype.bd=function(t){return this.bn.containsKey(t)},n.prototype.gc=function(t,e){this.bd(e.c)||this.a0(e.c)&&this.gn(e.c,e.b,e.a)},n.prototype.gd=function(t,e){for(var i=0;i<this.bp.count;i++)for(var n=this.bp._inner[i],r=this.bl.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.bd(s.h)&&this.a2(s)){var a=null;a=this.bm.containsKey(s.j)?this.bm.item(s.j):this.cu(s,null),this.gg(s.j,a,this.cu(s,null))}}},n.prototype.gn=function(t,e,i){if(this.bk.containsKey(t))for(var n=this.bk.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.gg(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,"a7",{get:function(){return 0==this.v},enumerable:!1,configurable:!0}),n.prototype.f2=function(){this.g1()},n.prototype.g1=function(){},n.prototype.g4=function(t){null!=t&&(this.ba?(t.bh=new i.Thickness(0,i.DeviceUtils.g(this.by)),t.a8=new i.CornerRadius(0,i.DeviceUtils.g(this.bx))):(t.bh=new i.Thickness(0,i.DeviceUtils.g(0)),t.a8=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.ba=this.hf)},n.prototype.bc=function(){return null!=this.r&&null!=this.r.dc&&null!==i.typeCast(Ti.$,this.r.dc)},n.prototype.g7=function(){null!=this.r&&(this.t=this.r.z,this.hk=null!=this.hs?this.hs:this.r.jj,this.hj=null!=this.hr?this.hr:this.r.ji,this.he=null!=this.hm?this.hm:this.r.i6,this.hg=null!=this.ho?this.ho:this.r.jc,this.hh=null!=this.hp?this.hp:this.r.jd,this.hi=null!=this.hq?this.hq:this.r.je,this.ae=null!=this.ah?this.ah:this.r.am,this.ad=null!=this.ag?this.ag:this.r.ao,this.by=i.isNaN_(this.cc)?this.r.b4:this.cc,this.bx=i.isNaN_(this.cb)?this.r.b3:this.cb,this.hf=null!=this.hn?this.hn:this.r.jb,this.hc=null!=this.hb?this.hb:this.r.i2,this.cq=-1!=this.cr?this.cr:this.r.c6),this.hd=null!=this.hl?this.hl:this.ha,null!=this.ar&&(this.ar.bl=this.a,this.ar.bm=this.b),this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(12):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(12):this.cm,this.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(2):this.cn,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(2):this.ck,this.b0=i.isNaN_(this.cj)?this.b9():this.cj,this.bz=i.isNaN_(this.cd)?this.b9():this.cd,this.g8()},n.prototype.b9=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.g8=function(){},n.prototype.ge=function(){null!=this.ar&&(this.ar.bs=this.ee,this.ar.br=this.d9,this.ar.af=i.DeviceUtils.g(this.b0),this.ar.z=i.DeviceUtils.g(this.bz))},n.prototype.gz=function(){null!=this.es&&null!=this.g&&this.g.gm(this)},n.prototype.gk=function(){null!=this.r&&this.r.g0(),null!=this.ap&&(this.ap.bk=this.ht)},n.prototype.gi=function(t,e,i,n){var r=this;this.fu(i.b,i,n,(function(t){r.ap=t,r.fs(i.b,r.ap,n,(function(){i.b.bt=r.ap,r.g2(r.am,r.ar,r.as,r.at,n),r.gj(null==r.am?r.ap:r.am,i,n)}))}))},n.prototype.gj=function(t,e,i){},n.prototype.fl=function(t,e){this.fm(t,e)},n.prototype.fm=function(t,e){if(e.f=this.b6(t,e),e.h=this.b8(t,e),e.g=this.b7(t,e),e.b=this.b5(t,e),i.isNaN_(this.ca)||(e.d=this.ca),i.isNaN_(this.cp))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.b2+this.b3,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.b2+this.b3,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.cp},n.prototype.b7=function(t,e){return NaN},n.prototype.b8=function(t,e){var n=NaN;return null!=this.fa&&null!=this.ae&&(n=t.v.q(this.fa,this.ae)),null!=this.e4&&null!=this.ad&&(n=Math.max(n,t.v.q(this.e4,this.ad))),i.isNaN_(n)?NaN:n+this.co},n.prototype.b6=function(t,e){return i.stringIsNullOrEmpty(this.ee)?NaN:i.DeviceUtils.g(36)},n.prototype.af=function(t){return null!=this.ah?this.ah:t.aq()},n.prototype.b5=function(t,e){return NaN},n.prototype.gh=function(t,e){if(this.gr(),this.a8){var i=this.r.h(this.ex);null!=i&&i.f7(this,this.ax)}else if(this.r.a4(this)){if(null!=this.performed){var n=new me;this.fk(this,n,e),this.performed(this,((r=new ve).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new ve;return e.c=!1,e.a=t,e}());var r},n.prototype.gr=function(){var t=this,e=this.e0();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.fj(this,r),n.argumentsList=r.toArray();var o,s=((o=new Zt).a=n,o.b=t.ax,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.r&&this.r.gs(this,s)}},n.prototype.gs=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.gs(this,n)},n.prototype.bi=function(){return null!=this.onCommand},n.prototype.fj=function(t,e){t.fx(e);var i=this.r.bc(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a6()&&this.fj(i._inner[n],e)},n.prototype.a6=function(){return!0},n.prototype.f7=function(t,e){if(this.a8){var i=this.r.h(this.ex);null!=i&&i.f7(t,e)}else this.gh(this.l(!1),t),e&&this.fi()},n.prototype.fk=function(t,e,i){var n=t.l(t==i);e.add(n);var r=this.r.bc(t);if(null!=r)for(var o=0;o<r.count;o++)this.fk(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new ai;break;case 2:e=new ui;break;case 11:e=new ci;break;case 14:e=new fi;break;case 13:e=new hi;break;case 1:e=new gi;break;case 3:e=new bi;break;case 4:e=new mi;break;case 5:e=new vi;break;case 15:e=new Pi;break;case 6:e=new _i;break;case 7:e=new ji;break;case 8:e=new yi;break;case 10:e=new wi;break;case 16:e=new pi;break;case 12:e=new di;break;case 17:e=new Ci;break;case 18:e=new li;break;case 0:return null}return e.z=t,e.fw(),e},n.prototype.fw=function(){if(this.eq=this.z.name,this.fa=this.z.title,this.du=this.z.commandArgument,this.cs=this.z.commandArgumentValue,this.dx=this.z.commandId,this.ee=this.z.iconName,this.d9=this.z.iconCollectionName,this.cg=this.z.iconViewBoxLeft,this.ch=this.z.iconViewBoxTop,this.ci=this.z.iconViewBoxWidth,this.cf=this.z.iconViewBoxHeight,this.cj=this.z.iconWidth,this.cd=this.z.iconHeight,this.ce=this.z.iconStrokeWidth,this.cl=this.z.paddingLeft,this.cm=this.z.paddingRight,this.cn=this.z.paddingTop,this.ck=this.z.paddingBottom,this.ex=this.z.parentId,this.a9=this.z.isDisabled,this.ax=this.z.closeOnExecute,this.w=this.x(this.z.density),this.cr=this.z.subPanelRowHeight,i.isNaN_(this.z.height)||(this.ca=this.z.height),i.stringIsNullOrEmpty(this.z.iconStroke)||(this.hq=i.CSSColorUtil.g(this.z.iconStroke)),i.stringIsNullOrEmpty(this.z.iconFill)||(this.hp=i.CSSColorUtil.g(this.z.iconFill)),i.stringIsNullOrEmpty(this.z.textColor)||(this.hs=i.CSSColorUtil.g(this.z.textColor)),i.stringIsNullOrEmpty(this.z.disabledTextColor)||(this.hm=i.CSSColorUtil.g(this.z.disabledTextColor)),this.ba=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.bf=function(){return null!=this.h&&null!=this.h.h&&this.h.actions._inner[0]==this},n.prototype.bj=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.bj()?2:0;default:return 0}},Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},enumerable:!1,configurable:!0}),n.prototype.fu=function(t,e,n,r){var o=this;if(null==t.bt||null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)i.NativeUIComponent.av(this.r.v.z(),7,(function(t){var i=t;o.fo(i,n),o.g6(i,e,n),null!=r&&r(i)}));else{var s=t.bt;this.g6(s,e,n),null!=r&&r(s)}},n.prototype.ft=function(){if(null!=this.am){if(i.isNaN_(this.bs)||this.au){var t=new ye;null!=this.r&&this.r.gt(t);var e=this.b8(this.r,t);e=i.isNaN_(e)?0:e,this.bs=e,this.au=!1}this.am.ch(1,2,1,this.bs)}},n.prototype.fs=function(t,e,n,r){var o=this;if(null==t.bt||null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=[this.al(1),this.al(7),this.al(11),this.al(3),this.al(3),this.al(7)];i.NativeUIComponent.aw(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.fn(e,i,s,a,h,u,n),null!=r&&r()}))}else null==this.am&&1==this.ap.bn&&(this.ai=this.ap.bm(0),this.ai.bn=i.runOn(this,this.f3),this.am=this.ai.bp,this.ar=this.am.bm(0),this.ao=this.am.bm(1),this.as=this.ao.bm(0),this.ao.bn>1&&(this.at=this.ao.bm(1))),this.g2(this.am,this.ar,this.as,this.at,n),null!=r&&r()},n.prototype.fo=function(t,e){t.f=1==e.a?0:3,t.bt=0},n.prototype.g6=function(t,e,n){t.z=e.a.t,i.isNaN_(this.ca)||(t.z=this.ca),2==n.a?t.af=e.c:t.af=n.e,t.a9=this.hd,t.bk=this.ht,t.bi=new i.Thickness(1,0,0,0,0),this.g4(t),null!=this.eq&&(t.aq=this.eq)},n.prototype.fn=function(t,e,n,r,o,s,a){if(0==this.ap.bn){this.ap.b5(0,2,1),this.ap.b7(0,2,1),this.ap.bo(t),this.ap.cd(t,0),this.ap.cf(t,0),t.bp=e,e.bt=0;var h=this.b6(this.r,a);h=i.isNaN_(h)?0:h;var u=this.b8(this.r,a);u=i.isNaN_(u)?0:u,this.an=e,e.b7(0,2,1),e.b5(0,1,h),e.b6(1,2,1,u),s.b7(0,2,1),s.bo(r),s.cf(r,0),e.bo(n),e.bo(s),e.cf(s,0),e.cd(n,0),e.cd(s,1),this.bs=u}t.c=this.t,this.a7?t.bq=1:t.bq=this.ak(this.v),t.bo=1,t.b1=new i.CornerRadius(0,0),t.b3=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b2=this.hg,t.bw=!0,t.bu=!this.a4,t.br=this.aw,t.by=this.bg,t.bt=!this.a5,t.bv=!0,t.bs=!0,t.bn=i.runOn(this,this.f3),n.h=1,n.f=1,n.bs=this.ee,n.br=this.d9,n.bo=this.cg,n.bp=this.ch,n.bq=this.ci,n.bn=this.cf,n.bc=this.hh,n.bl=this.a,n.bd=this.hi,n.bm=this.b,n.ad=this.ce,n.af=i.DeviceUtils.g(this.b0),n.z=i.DeviceUtils.g(this.bz),r.bn=!1,r.h=this.a3()?2:1,r.f=this.aj(),o.bn=!1,o.h=0,o.f=0,this.a3()?1==s.b4&&(s.b7(1,2,1),s.bo(o),s.cf(o,1)):2==s.b4&&(s.cc(1),s.bq(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.g9){case 0:return 0;case 2:return 2;case 3:return 3;case 1:return 1}return 0},n.prototype.a3=function(){return!i.stringIsNullOrEmpty(this.e4)},n.prototype.f3=function(t,e){this.f9()},n.prototype.g2=function(t,e,n,r,o){if(null!=t&&(t.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1)),null!=e){if(t.b0>0)if(0==t.bz(0)){var s=this.b6(this.r,o);s=i.isNaN_(s)?0:s,t.cg(0,1,s)}e.bi=new i.Thickness(1,0,0,9,0),e.bo=this.cg,e.bp=this.ch,e.bq=this.ci,e.bn=this.cf,e.bs=this.ee,e.br=this.d9,e.bc=this.hh,e.bl=this.a,e.bd=this.hi,e.bm=this.b,e.ad=this.ce}null!=n&&(n.bo=this.fa,n.bl=this.ae,n.bb=this.a9?this.he:this.hk),null!=r&&(r.bo=this.e4,r.bl=this.ad,r.bb=this.a9?this.he:this.hj),this.ft()},n.prototype.f9=function(){},n.prototype.f8=function(t,e){},n.prototype.gl=function(){},n.prototype.fi=function(){},n.prototype.gm=function(t){if(t.g=this,i.stringIsNullOrEmpty(t.fa)||(this.fa=t.fa),i.stringIsNullOrEmpty(t.e4)||(this.e4=t.e4),i.stringIsNullOrEmpty(t.ee)||(this.ee=t.ee),i.stringIsNullOrEmpty(t.d9)||(this.d9=t.d9),i.stringIsNullOrEmpty(t.dx)||(this.dx=t.dx),i.stringIsNullOrEmpty(t.du)||(this.du=t.du),null!=t.cs&&(this.cs=t.cs),null!=t.hl&&(this.hl=t.hl),null!=t.ho&&(this.ho=t.ho),null!=t.hs&&(this.hs=t.hs),null!=t.ah&&(this.ah=t.ah),null!=t.hm&&(this.hm=t.hm),null!=t.hp&&(this.hp=t.hp),null!=t.a&&(this.a=t.a),null!=t.hq&&(this.hq=t.hq),null!=t.b&&(this.b=t.b),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.ci)||(this.ci=t.ci),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.cg)||(this.cg=t.cg),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.cl)||(this.cl=t.cl),i.isNaN_(t.cn)||(this.cn=t.cn),i.isNaN_(t.cm)||(this.cm=t.cm),i.isNaN_(t.ck)||(this.ck=t.ck),i.isNaN_(t.cp)||(this.cp=t.cp),i.isNaN_(t.ca)||(this.ca=t.ca),this.ht!=t.ht&&(this.ht=t.ht),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.ay=function(t,e){if(t.aa!=e.d)return!1;if(t.eq!=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.ay(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.ct=function(){var t=new re;return this.fz(t),t},n.prototype.fz=function(t){t.i=this.c2,t.j=this.eq,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.am(this.ap.ao)),null!=this.aq&&(t.h=this.aq.ag()),null!=this.ai&&(t.b=this.ai.ag()),null!=this.ar&&(t.c=this.ar.ag()),null!=this.as&&(t.d=this.as.ag()),null!=this.at&&(t.e=this.at.ag())},n.prototype.d3=function(){return this.ct().serialize()},Object.defineProperty(n.prototype,"y",{get:function(){return this.u},set:function(t){this.u=t},enumerable:!1,configurable:!0}),n.prototype.g3=function(t){this.y=t,0==this.w&&(this.v=t)},n.prototype.fq=function(){this.fr()},n.prototype.fp=function(){this.fr()},n.prototype.fr=function(){null!=this.ai&&(this.ai.bn=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),ai=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hv=null,e.hx=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 9},n.prototype.get_co=function(){return 0},Object.defineProperty(n.prototype,"hu",{get:function(){return this.i(Ce,"DisplayType",0)},set:function(t){var e=this.hu;t!=e&&(this.gw("DisplayType",i.enumGetBox(Ce,t)),this.gg("DisplayType",i.enumGetBox(Ce,e),i.enumGetBox(Ce,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("CornerRadius",NaN)},set:function(t){var e=this.hy;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("CornerRadius",t),this.gg("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gm=function(e){if(t.prototype.gm.call(this,e),9==e.aa){var n=e;i.isNaN_(n.hy)||(this.hy=n.hy),this.hu!=n.hu&&(this.hu=n.hu)}},n.prototype.hw=function(){switch(this.hu){case 0:return 0;case 1:return 1;case 2:return 2;default:return 0}},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,e},n.prototype.b6=function(t,e){return NaN},n.prototype.b8=function(t,e){return NaN},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hu=e.displayType},n.prototype.hz=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.h0=function(){return i.DeviceUtils.g(88)},n.prototype.b7=function(e,n){var r=t.prototype.b8.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.hz(),i.DeviceUtils.g(this.h0()))},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.h4=function(t,e,n,r){r&&(0==t.bn&&(t.b5(0,2,1),t.bo(e),t.cf(e,0),t.cd(e,0)),this.a7?e.bq=2:e.bq=this.ak(this.v),e.h=1,e.bv=!0),t.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),e.c=this.t,e.b1=new i.CornerRadius(0,this.hy),e.bo=this.hw(),e.b0=this.fa,e.bn=i.runOn(this,this.h3),e.bl=this.ae,e.by=this.bg,e.a9=this.hc,this.hv=e},n.prototype.h3=function(t,e){this.gh(this.l(!0),this)},n.prototype.gj=function(t,e,n){var r=this;if(!this.hx){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn){var s=[this.al(1)];this.hx=!0,i.NativeUIComponent.aw(this.r.v.z(),[1],s,(function(e){r.h4(t,e[0],n,!0),r.hx=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bm(0);this.h4(t,a,n,!1)}}},n.prototype.go=function(e,n,r){switch(t.prototype.go.call(this,e,n,r),e){case"Title":null!=this.hv&&(this.hv.b0=this.fa);break;case"DisplayType":null!=this.hv&&(this.hv.bo=this.hw());break;case"CornerRadius":null!=this.hv&&(this.hv.b1=new i.CornerRadius(0,this.hy));break;case"StopPropagation":null!=this.hv&&(this.hv.by=this.bg)}},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hv&&(this.hv.bq=this.ak(this.v))},n.prototype.g8=function(){t.prototype.g8.call(this),null!=this.hv&&(this.hv.c=this.t,this.hv.a9=this.hc),null==this.r||1!=this.r.u&&2!=this.r.u?(this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(10):this.cm,this.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(4):this.cn,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.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(4):this.cn,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck)},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hv&&(this.hv.bn=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hv&&(this.hv.bn=null)},n.prototype.ct=function(){var t=new je;return this.fz(t),null!=this.hv&&(t.l=this.hv.ag()),t},n.$t=i.markType(n,"ToolActionButton",si.$),n}(si),hi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.h1=null,e.h2=null,e.h3=null,e.ib=!1,e.ic=!1,e.hu=null,e.ie=!1,e.h7=null,e.h9=null,e.ia=null,e.h8=null,e.h5=null,e.h6=null,e.id=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 13},Object.defineProperty(n.prototype,"ii",{get:function(){return this.cx("LeftIsSelected",!1)},set:function(t){var e=this.ii;e!=t&&(this.gw("LeftIsSelected",t),this.gg("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cx("RightIsSelected",!1)},set:function(t){var e=this.il;e!=t&&(this.gw("RightIsSelected",t),this.gg("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cx("LeftIsDisabled",!1)},set:function(t){var e=this.ih;e!=t&&(this.gw("LeftIsDisabled",t),this.gg("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cx("RightIsDisabled",!1)},set:function(t){var e=this.ik;e!=t&&(this.gw("RightIsDisabled",t),this.gg("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jd",{get:function(){return this.cx("LeftIconName",null)},set:function(t){var e=this.jd;e!=t&&(this.gw("LeftIconName",t),this.gg("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i7",{get:function(){return this.cx("LeftCommandArgument",null)},set:function(t){var e=this.i7;e!=t&&(this.gw("LeftCommandArgument",t),this.gg("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cx("IsToggleDisabled",!1)},set:function(t){var e=this.ig;e!=t&&(this.gw("IsToggleDisabled",t),this.gg("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i9",{get:function(){return this.cx("LeftIconCollectionName",null)},set:function(t){var e=this.i9;e!=t&&(this.gw("LeftIconCollectionName",t),this.gg("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.cx("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.is;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("LeftIconViewBoxLeft",t),this.gg("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"it",{get:function(){return this.cx("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.it;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("LeftIconViewBoxTop",t),this.gg("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.cx("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.iu;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("LeftIconViewBoxWidth",t),this.gg("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.cx("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.ir;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("LeftIconViewBoxHeight",t),this.gg("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kg",{get:function(){return this.cx("LeftIconFill",null)},set:function(t){var e=this.kg;e!=t&&(this.gw("LeftIconFill",t),this.gg("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kc",{get:function(){return this.cx("ActualLeftIconFill",null)},set:function(t){var e=this.kc;e!=t&&(this.gw("ActualLeftIconFill",t),this.gg("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("LeftIconFillColors",null)},set:function(t){var e=this.hw;e!=t&&(this.gw("LeftIconFillColors",t),this.gg("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kh",{get:function(){return this.cw("LeftIconStroke",null)},set:function(t){var e=this.kh;e!=t&&(this.gw("LeftIconStroke",t),this.gg("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kd",{get:function(){return this.cx("ActualLeftIconStroke",null)},set:function(t){var e=this.kd;e!=t&&(this.gw("ActualLeftIconStroke",t),this.gg("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cx("LeftIconStrokeColors",null)},set:function(t){var e=this.hx;e!=t&&(this.gw("LeftIconStrokeColors",t),this.gg("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cx("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.iq;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("LeftIconStrokeWidth",t),this.gg("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jo",{get:function(){return this.cx("LeftTitle",null)},set:function(t){var e=this.jo;e!=t&&(this.gw("LeftTitle",t),this.gg("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jw",{get:function(){return this.cx("RightIconName",null)},set:function(t){var e=this.jw;e!=t&&(this.gw("RightIconName",t),this.gg("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jq",{get:function(){return this.cx("RightCommandArgument",null)},set:function(t){var e=this.jq;e!=t&&(this.gw("RightCommandArgument",t),this.gg("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"js",{get:function(){return this.cx("RightIconCollectionName",null)},set:function(t){var e=this.js;e!=t&&(this.gw("RightIconCollectionName",t),this.gg("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ix",{get:function(){return this.cx("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.ix;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("RightIconViewBoxLeft",t),this.gg("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.cx("RightIconViewBoxTop",NaN)},set:function(t){var e=this.iy;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("RightIconViewBoxTop",t),this.gg("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return this.cx("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.iz;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("RightIconViewBoxWidth",t),this.gg("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.cx("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.iw;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("RightIconViewBoxHeight",t),this.gg("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ki",{get:function(){return this.cx("RightIconFill",null)},set:function(t){var e=this.ki;e!=t&&(this.gw("RightIconFill",t),this.gg("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ke",{get:function(){return this.cx("ActualRightIconFill",null)},set:function(t){var e=this.ke;e!=t&&(this.gw("ActualRightIconFill",t),this.gg("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("RightIconFillColors",null)},set:function(t){var e=this.hy;e!=t&&(this.gw("RightIconFillColors",t),this.gg("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kj",{get:function(){return this.cw("RightIconStroke",null)},set:function(t){var e=this.kj;e!=t&&(this.gw("RightIconStroke",t),this.gg("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kf",{get:function(){return this.cx("ActualRightIconStroke",null)},set:function(t){var e=this.kf;e!=t&&(this.gw("ActualRightIconStroke",t),this.gg("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.cx("RightIconStrokeColors",null)},set:function(t){var e=this.hz;e!=t&&(this.gw("RightIconStrokeColors",t),this.gg("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.cx("RightIconStrokeWidth",NaN)},set:function(t){var e=this.iv;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("RightIconStrokeWidth",t),this.gg("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j7",{get:function(){return this.cx("RightTitle",null)},set:function(t){var e=this.j7;e!=t&&(this.gw("RightTitle",t),this.gg("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.i(Pe,"DisplayType",1)},set:function(t){var e=this.h0;t!=e&&(this.gw("DisplayType",i.enumGetBox(Pe,t)),this.gg("DisplayType",i.enumGetBox(Pe,e),i.enumGetBox(Pe,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cx("CornerRadius",NaN)},set:function(t){var e=this.im;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("CornerRadius",t),this.gg("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gm=function(e){if(t.prototype.gm.call(this,e),13==e.aa){var n=e;i.isNaN_(n.im)||(this.im=n.im),this.h0!=n.h0&&(this.h0=n.h0),i.stringIsNullOrEmpty(n.jo)||(this.jo=n.jo),i.stringIsNullOrEmpty(n.jd)||(this.jd=n.jd),i.stringIsNullOrEmpty(n.i9)||(this.i9=n.i9),i.stringIsNullOrEmpty(n.i7)||(this.i7=n.i7),null!=n.kg&&(this.kg=n.kg),null!=n.hw&&(this.hw=n.hw),null!=n.kh&&(this.kh=n.kh),null!=n.hx&&(this.hx=n.hx),i.isNaN_(n.iq)||(this.iq=n.iq),i.stringIsNullOrEmpty(n.j7)||(this.j7=n.j7),i.stringIsNullOrEmpty(n.jw)||(this.jw=n.jw),i.stringIsNullOrEmpty(n.js)||(this.js=n.js),i.stringIsNullOrEmpty(n.jq)||(this.jq=n.jq),null!=n.ki&&(this.ki=n.ki),null!=n.hy&&(this.hy=n.hy),null!=n.kj&&(this.kj=n.kj),null!=n.hz&&(this.hz=n.hz),i.isNaN_(n.iv)||(this.iv=n.iv)}},n.prototype.h4=function(){switch(this.h0){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.i7=e.leftCommandArgument,this.jd=e.leftIconName,this.i9=e.leftIconCollectionName,this.ig=e.isToggleDisabled,this.is=e.leftIconViewBoxLeft,this.it=e.leftIconViewBoxTop,this.iu=e.leftIconViewBoxWidth,this.ir=e.leftIconViewBoxHeight,this.iq=e.leftIconStrokeWidth,null!=e.leftIconFill&&(this.kg=i.CSSColorUtil.g(e.leftIconFill)),null!=e.leftIconStroke&&(this.kh=i.CSSColorUtil.g(e.leftIconStroke)),this.jo=e.leftTitle,this.jq=e.rightCommandArgument,this.jw=e.rightIconName,this.js=e.rightIconCollectionName,this.ix=e.rightIconViewBoxLeft,this.iy=e.rightIconViewBoxTop,this.iz=e.rightIconViewBoxWidth,this.iw=e.rightIconViewBoxHeight,this.iv=e.rightIconStrokeWidth,null!=e.rightIconFill&&(this.ki=i.CSSColorUtil.g(e.rightIconFill)),null!=e.rightIconStroke&&(this.kj=i.CSSColorUtil.g(e.rightIconStroke)),this.j7=e.rightTitle},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,e.e=this.ii!=this.ib?0:1,e.b=this.ii!=this.ib?this.ii:this.il,e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.i7,n.value=r.ii,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.jq,t.value=r.il,t}())},n.prototype.b7=function(t,e){var n=this.af(t),r=i.stringIsNullOrEmpty(this.jo)?0:t.v.q(this.jo,n),o=Math.max(r+this.io(),i.DeviceUtils.g(this.ip()));return r=i.stringIsNullOrEmpty(this.j7)?0:t.v.q(this.j7,n),o+Math.max(r+this.io(),i.DeviceUtils.g(this.ip()))},n.prototype.ip=function(){return i.DeviceUtils.g(88)},n.prototype.io=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.ij=function(t){var e=this.hv(),i=t.bl;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.hv=function(){return this.ii&&this.il?[0,1]:this.ii?((t=new Array(1)).push(0),t):this.il?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.kb=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bt&&null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(2==e.bn&&(e.b5(2,1,this.b7(this.r,f)),e.bo(c),c.bt(n),c.bt(a)),e.cf(c,0),e.cd(c,2),this.a7?c.br=2:c.br=this.ak(this.v),c.h=1,c.f=2,n.bv=!0,a.bv=!0),c.bq=i.runOn(this,this.j9),c.c=this.t,c.bz=this.hc,this.ka(n),this.ka(a),this.ij(c)&&(c.bl=this.hv()),n.bx=this.ih,a.bx=this.ik,null==this.jd?(n.bp=null,n.b0=this.jo):(0==s.bn&&(s.b5(0,0,1),s.b5(1,0,1),s.bo(o),s.bo(r),s.cf(o,0),s.cd(o,0),s.cf(r,0),s.cd(r,1)),n.b0=null,n.bp=s,o.br=this.i9,o.bs=this.jd,o.bo=this.is,o.bp=this.it,o.bq=this.iu,o.bn=this.ir,o.bc=this.kc,o.bd=this.kd,o.bl=this.hw,o.bm=this.hx,o.ad=this.iq,r.bo=this.jo,r.bl=this.ae,r.bb=this.a9?this.he:this.hk,o.af=i.DeviceUtils.g(16),o.z=i.DeviceUtils.g(16)),null==this.jw?(a.bp=null,a.b0=this.j7):(0==l.bn&&(l.b5(0,0,1),l.b5(1,0,1),l.bo(h),l.bo(u),l.cf(h,0),l.cd(h,0),l.cf(u,0),l.cd(u,1)),a.b0=null,a.bp=l,u.br=this.js,u.bs=this.jw,u.bo=this.ix,u.bp=this.iy,u.bq=this.iz,u.bn=this.iw,u.bc=this.ke,u.bd=this.kf,u.bl=this.hy,u.bm=this.hz,u.ad=this.iv,h.bo=this.j7,h.bl=this.ae,h.bb=this.a9?this.he:this.hk,u.af=i.DeviceUtils.g(16),u.z=i.DeviceUtils.g(16)),this.h3!=c&&(this.h3=c),this.h1!=n&&(this.h1,this.h1=n),this.h2!=a&&(this.h2,this.h2=a),this.h7!=o&&(this.h7,this.h7=o),this.h9!=r&&(this.h9,this.h9=r),this.h8!=u&&(this.h8,this.h8=u),this.ia!=h&&(this.ia,this.ia=h),this.h5!=s&&(this.h5,this.h5=s),this.h6!=l&&(this.h6,this.h6=l)},n.prototype.j9=function(t,e){if(!this.id){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.hu){for(var a=0;a<this.hu.length;a++)0==this.hu[a]&&(n=!0);for(var h=0;h<this.hu.length;h++)1==this.hu[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.ib=n,this.ic=r,this.ii!=o&&this.gu("LeftIsSelected",o),this.il!=s&&this.gu("RightIsSelected",s),this.gh(this.l(!0),this),this.ig&&(this.id=!0,null!=this.h3&&this.h3.bu(),this.id=!1)}},n.prototype.ka=function(t){t.bl=this.ae},n.prototype.gj=function(t,e,n){var r=this;if(!this.ie){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn){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.ie=!0,i.NativeUIComponent.aw(this.r.v.z(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.kb(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.ie=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bm(2),h=a.bn(0),u=a.bn(1),l=h.bp,c=l.bm(0),p=l.bm(1),f=u.bp,d=f.bm(1),g=f.bm(0);this.kb(o,t,h,p,c,l,u,g,d,f,a,e,n,!1)}}},n.prototype.go=function(e,n,r){switch(t.prototype.go.call(this,e,n,r),e){case"DisplayType":null!=this.h3&&(this.h3.bo=this.h4());break;case"CornerRadius":null!=this.h3&&(this.h3.by=new i.CornerRadius(0,this.im));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.h7&&(this.h7.bc=this.kc,this.h7.bd=this.kd,this.h7.bl=this.hw,this.h7.bm=this.hx);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.h8&&(this.h8.bc=this.ke,this.h8.bd=this.kf,this.h8.bl=this.hy,this.h8.bm=this.hz);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.g7();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.h7&&(this.h7.bs=this.jd,this.h7.br=this.i9);break;case"LeftIsDisabled":null!=this.h1&&(this.h1.bx=this.ih);break;case"RightIsDisabled":null!=this.h2&&(this.h2.bx=this.ik);break;case"RightIconName":case"RightIconCollectionName":null!=this.h8&&(this.h8.bs=this.jw,this.h8.br=this.js);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.ia&&(this.ia.bo=this.j7,this.ia.bl=this.ae,this.ia.bb=this.a9?this.he:this.hk),null!=this.h9&&(this.h9.bo=this.jo,this.h9.bl=this.ae,this.h9.bb=this.a9?this.he:this.hk);break;case"LeftIsSelected":case"RightIsSelected":null!=this.h3&&this.ij(this.h3)&&(this.h3.bl=this.hv())}},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.h3&&(this.h3.br=this.ak(this.v))},n.prototype.g8=function(){t.prototype.g8.call(this),null!=this.h3&&(this.h3.c=this.t,this.h3.bz=this.hc),null!=this.r&&(this.kc=null!=this.kg?this.kg:this.r.jd,this.kd=null!=this.kh?this.kh:this.r.je,this.ke=null!=this.ki?this.ki:this.r.jd,this.kf=null!=this.kj?this.kj:this.r.je)},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.h3&&(this.h3.bq=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.h3&&(this.h3.bq=null)},n.prototype.ct=function(){var t=new xe;return this.fz(t),null!=this.h1&&(t.m=this.h1.ag()),null!=this.h2&&(t.n=this.h2.ag()),null!=this.h7&&(t.o=this.h7.ag()),null!=this.h8&&(t.p=this.h8.ag()),null!=this.h9&&(t.q=this.h9.ag()),null!=this.ia&&(t.r=this.ia.ag()),null!=this.h3&&(t.l=this.h3.ag()),t},n.$t=i.markType(n,"ToolActionButtonPair",si.$),n}(si),ui=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hu=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 2},n.prototype.get_aw=function(){return!1},Object.defineProperty(n.prototype,"hv",{get:function(){return this.cx("IsChecked",!1)},set:function(t){var e=this.hv;e!=t&&(this.gw("IsChecked",t),this.gg("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.cx("ShorthandTitle",null)},set:function(t){var e=this.h3;e!=t&&(this.gw("ShorthandTitle",t),this.gg("ShorthandTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cx("UncheckedBackgroundColor",null)},set:function(t){var e=this.ig;e!=t&&(this.gw("UncheckedBackgroundColor",t),this.gg("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cx("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.ib;e!=t&&(this.gw("ActualUncheckedBackgroundColor",t),this.gg("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.cx("CheckedBackgroundColor",null)},set:function(t){var e=this.id;e!=t&&(this.gw("CheckedBackgroundColor",t),this.gg("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cx("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.h9;e!=t&&(this.gw("ActualCheckedBackgroundColor",t),this.gg("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cx("UncheckedBorderColor",null)},set:function(t){var e=this.ih;e!=t&&(this.gw("UncheckedBorderColor",t),this.gg("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cx("ActualUncheckedBorderColor",null)},set:function(t){var e=this.ic;e!=t&&(this.gw("ActualUncheckedBorderColor",t),this.gg("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cx("CheckedBorderColor",null)},set:function(t){var e=this.ie;e!=t&&(this.gw("CheckedBorderColor",t),this.gg("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cx("ActualCheckedBorderColor",null)},set:function(t){var e=this.ia;e!=t&&(this.gw("ActualCheckedBorderColor",t),this.gg("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.gm=function(e){if(t.prototype.gm.call(this,e),2==e.aa){var i=e;null!=this.ie&&(this.ie=i.ie),null!=this.id&&(this.id=i.id),null!=this.ih&&(this.ih=i.ih),null!=this.ig&&(this.ig=i.ig),this.hv!=i.hv&&(this.hv=i.hv)}},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hu&&(e.b=this.hu.bo),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hu&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hu.bo,n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(32)},n.prototype.f9=function(){var t=this.hv;this.hu.bo=!this.hu.bo;var e=this.hu.bo;this.gu("IsChecked",e),t!=e&&this.gg("IsChecked",t,e),this.gh(this.l(!0),this)},n.prototype.h8=function(t,e,n,r){null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(e.b5(2,1,this.b7(this.r,r)),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.bn=!0,n.f=1,n.h=1,n.af=i.DeviceUtils.g(20),n.z=i.DeviceUtils.g(20)),n.c=this.t,n.bo=this.hv,n.bm=i.runOn(this,this.h7),n.bs=this.ib,n.bt=this.ic,n.bq=this.h9,n.br=this.ia,this.hu=n},n.prototype.h7=function(t,e){var i=this.hv,n=this.hu.bo;this.gu("IsChecked",n),i!=n&&this.gg("IsChecked",i,n),this.gh(this.l(!0),this)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.h8(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.h8(o,t,s,n)}},n.prototype.g1=function(){t.prototype.g1.call(this),this.hu},n.prototype.g8=function(){null!=this.r&&(this.ib=null!=this.ig?this.ig:this.r.jm,this.ic=null!=this.ih?this.ih:this.r.jn,this.h9=null!=this.id?this.id:this.r.i4,this.ia=null!=this.ie?this.ie:this.r.i5,null!=this.hu&&(this.hu.c=this.t,this.hu.bs=this.ib,this.hu.bt=this.ic,this.hu.bq=this.h9,this.hu.br=this.ia))},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g7();break;case"IsChecked":null!=this.hu&&(this.hu.bo=this.hv)}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hv=e.isChecked,this.h3=e.shorthandTitle},n.prototype.gf=function(e,i){if(t.prototype.gf.call(this,e,i),null!=this.z){var n=this.z;n.isChecked&&(this.hv=n.isChecked)}},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hu&&(this.hu.bm=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hu&&(this.hu.bm=null)},n.prototype.ct=function(){var t=new Te;return this.fz(t),null!=this.hu&&(t.l=this.hu.ag()),t},n.$t=i.markType(n,"ToolActionCheckbox",si.$),n}(si),li=function(t){function n(){var e=t.call(this)||this;return e.hx=null,e.hw=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hv",{get:function(){return this.cx("SelectedTextStyle",null)},set:function(t){var e=this.hv;e!=t&&(this.gw("SelectedTextStyle",t),this.gg("SelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cx("ActualSelectedTextStyle",null)},set:function(t){var e=this.hu;e!=t&&(this.gw("ActualSelectedTextStyle",t),this.gg("ActualSelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cx("SelectedTextColor",null)},set:function(t){var e=this.h7;e!=t&&(this.gw("SelectedTextColor",t),this.gg("SelectedTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.cw("ActualSelectedTextColor",null)},set:function(t){var e=this.h6;e!=t&&(this.gw("ActualSelectedTextColor",t),this.gg("ActualSelectedTextColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 18},n.prototype.av=function(t){return 2==t.aa||7==t.aa||1==t.aa},n.prototype.hy=function(){for(var t=new i.List$1(ui.$,0),e=0;e<this.actions.count;e++)if(2==this.actions._inner[e].aa){var n=this.actions._inner[e];n.hv&&t.add(n)}return t},n.prototype.h1=function(){var t=this.hy();if(0==t.count)return"None";if(1==t.count){if(null!=t._inner[0].h3)return t._inner[0].h3;if(null!=t._inner[0].fa)return t._inner[0].fa}return t.count+" Selected"},n.prototype.gf=function(e,i){t.prototype.gf.call(this,e,i)},n.prototype.g8=function(){if(t.prototype.g8.call(this),null!=this.r){if(null!=this.hv)this.hu=this.hv;else{var e=this.r.am;if(null!=e){var i=e.a();i.f=e.f-2,this.hu=i}}this.h6=null!=this.h7?this.h7:null!=this.hk?this.hk:null}},n.prototype.b7=function(t,e){var n=this.hu||this.af(t);return t.v.q("00 Selected",n)+i.DeviceUtils.g(24)},n.prototype.f9=function(){this.r.g1(this)},n.prototype.fg=function(e,i){t.prototype.fg.call(this,e,i),2==e.aa&&"IsChecked"==i&&this.h5()},n.prototype.h5=function(){null!=this.hx&&(this.hx.bo=this.h1())},n.prototype.h4=function(t,e,n,r,o){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)&&2==e.bn){var s=this.b7(this.r,o),a=i.DeviceUtils.g(24),h=s-a;e.b5(2,1,h),e.bo(n),e.cd(n,2),e.cf(n,0),n.h=1,n.f=2,n.bn=!1,n.bm=!0,e.b5(3,1,a),e.bo(r),e.cd(r,3),e.cf(r,0),r.bs="ToolbarDrillDownIcon",r.br="ToolPanelIconCollection",r.f=1,r.h=1,r.af=i.DeviceUtils.g(24),r.z=i.DeviceUtils.g(24)}n.bo=this.h1(),null!=this.hu&&(n.bl=this.hu),n.bb=this.h6,r.bd=this.hk,r.bc=this.hk},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa){var s=[this.al(3),this.bj()?2:0];i.NativeUIComponent.aw(this.r.v.z(),[3,11],s,(function(e){r.hx=e[0],r.hw=e[1],r.h4(o,t,r.hx,r.hw,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else this.hx=t.bm(2),this.hw=t.bm(3),this.h4(o,t,this.hx,this.hw,n)},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"ActualSelectedTextColor":null!=this.hx&&(this.hx.bb=this.h6);break;case"ActualTextColor":null!=this.hw&&(this.hw.bd=this.hk,this.hw.bc=this.hk)}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;if(!i.stringIsNullOrEmpty(e.selectedTextStyle)){var n=i.FontStringUtil.a(e.selectedTextStyle);if(null!=n){var r=new i.FontInfo;null!=n.b&&(r.q=n.b),null!=n.c&&(r.t=n.c),null!=n.d&&(r.v=n.d),i.isNaN_(n.a)||(r.f=n.a),this.hv=r}}i.stringIsNullOrEmpty(e.selectedTextColor)||(this.h7=i.CSSColorUtil.g(e.selectedTextColor))},n.prototype.fh=function(){t.prototype.fh.call(this)},n.prototype.fr=function(){t.prototype.fr.call(this),this.hx=null,this.hw=null},n.prototype.ct=function(){var t=new ke;return this.fz(t),null!=this.hx&&(t.m=this.hx.ag()),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionCheckboxGroup",si.$),n}(si),ci=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hx=null,e.h2=-1,e.hz=!1,e.h3=null,e.h1=NaN,e.hy=!1,e.h4=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 11},n.prototype.fm=function(e,n){if(t.prototype.fm.call(this,e,n),null!=this.hx&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,i.isNaN_(this.ca)?Number.POSITIVE_INFINITY:this.ca),o=this.hx.bg(r);o.height+=this.b4,o.height+=this.b1,n.e=o.width,n.d=o.height;var s=this.h1;this.h1=o.height,i.isNaN_(s)||s==this.h1||this.f6()}},n.prototype.fs=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cx("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gw("ItemsSource",t),this.gg("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cx("SelectedMemberPath",null)},set:function(t){var e=this.ij;e!=t&&(this.gw("SelectedMemberPath",t),this.gg("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.cx("ShowSelectAll",!1)},set:function(t){var e=this.h0;e!=t&&(this.gw("ShowSelectAll",t),this.gg("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cx("DataMemberPath",null)},set:function(t){var e=this.ic;e!=t&&(this.gw("DataMemberPath",t),this.gg("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cx("PrimaryKey",null)},set:function(t){var e=this.hu;e!=t&&(this.gw("PrimaryKey",t),this.gg("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.cx("SelectedKeys",null)},set:function(t){var e=this.hv;e!=t&&(this.gw("SelectedKeys",t),this.gg("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.i(Ne,"IndexType",1)},set:function(t){var e=this.hw;e!=t&&(this.gw("IndexType",i.enumGetBox(Ne,t)),this.gg("IndexType",i.enumGetBox(Ne,e),i.enumGetBox(Ne,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i4",{get:function(){return this.cx("UncheckedBackgroundColor",null)},set:function(t){var e=this.i4;e!=t&&(this.gw("UncheckedBackgroundColor",t),this.gg("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.cx("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.i0;e!=t&&(this.gw("ActualUncheckedBackgroundColor",t),this.gg("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i2",{get:function(){return this.cx("CheckedBackgroundColor",null)},set:function(t){var e=this.i2;e!=t&&(this.gw("CheckedBackgroundColor",t),this.gg("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.cx("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.iy;e!=t&&(this.gw("ActualCheckedBackgroundColor",t),this.gg("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i5",{get:function(){return this.cx("UncheckedBorderColor",null)},set:function(t){var e=this.i5;e!=t&&(this.gw("UncheckedBorderColor",t),this.gg("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i1",{get:function(){return this.cx("ActualUncheckedBorderColor",null)},set:function(t){var e=this.i1;e!=t&&(this.gw("ActualUncheckedBorderColor",t),this.gg("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i3",{get:function(){return this.cx("CheckedBorderColor",null)},set:function(t){var e=this.i3;e!=t&&(this.gw("CheckedBorderColor",t),this.gg("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return this.cx("ActualCheckedBorderColor",null)},set:function(t){var e=this.iz;e!=t&&(this.gw("ActualCheckedBorderColor",t),this.gg("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.go=function(e,n,r){if(t.prototype.go.call(this,e,n,r),null!=this.hx)switch(e){case"ItemsSource":this.hx.b6=this.itemsSource,n!=r&&this.f6();break;case"SelectedMemberPath":this.hx.b9=this.ij;break;case"DataMemberPath":this.hx.b7=this.ic;break;case"PrimaryKey":this.hx.bl=this.hu;break;case"ShowSelectAll":this.hx.b3=this.h0;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.iv)),n.ao(i.runOn(this,this.iu))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.iv)),n.am(i.runOn(this,this.iu))}this.iw(this.hx);break;case"IndexType":this.hx.bw=this.hw;break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g7()}},n.prototype.iu=function(){this.hy||null!=this.hx&&this.hx.cc()},n.prototype.iw=function(t){var n,r;if(null!=t){this.hy=!0,t.cc();try{for(var o=e.__values(i.fromEnum(this.hv)),s=o.next();!s.done;s=o.next()){var a=s.value;t.cb(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.hy=!1}},n.prototype.iv=function(t,n){var r,o;if(!this.hy)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.hx.cd(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.hx.cf(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.hx.cf(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.hx.cd(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.hx.cc();try{for(var p=e.__values(i.fromEnum(this.hv)),f=p.next();!f.done;f=p.next()){var d=f.value;this.hx.cb(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.ix=function(t,e,n,r){0!=e.bn&&null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(0==e.bn&&e.bo(n),n.bm=3),e.bi=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),e.a9=this.hd,e.bk=this.ht,null!=this.eq&&(e.aq=this.eq),n.cg(this.h4),n.bl=this.hu,n.b6=this.itemsSource,n.bw=this.hw,n.b7=this.ic,n.b9=this.ij,this.h0?n.b3=!0:n.b3=!1,n.b2=!0,n.b1=!1,n.c=this.t,n.cq=this.hk,n.cj=this.hd,n.ck=this.hg,n.cn=this.hi,n.co=this.hk,n.cl=this.hk,n.cm=this.hc,n.cp=this.hk,n.ch=this.hc,n.ci=this.hc,n.bs=i.runOn(this,this.ip),n.bt=i.runOn(this,this.ir),n.bu=i.runOn(this,this.is),n.by=i.runOn(this,this.iq),n.b0=i.runOn(this,this.it),this.hx!=n&&(this.hx=n),null==this.hv?this.gu("SelectedKeys",new Ie):this.iw(n)},n.prototype.it=function(t,e){this.hy||(this.hy=!0,this.hv.clear(),this.hy=!1)},n.prototype.iq=function(t,e){this.gu("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.ip=function(t,e){this.hy||(this.h2=e.c,this.hz=e.b,this.h3=e.a,this.hy=!0,0==this.hw?e.b?this.hv.remove(new Se(1,e.a)):this.hv.add(new Se(1,e.a)):e.b?this.hv.add(new Se(1,e.a)):this.hv.remove(new Se(1,e.a)),this.hy=!1,this.gh(this.l(!0),this))},n.prototype.ir=function(t,e){if(0==this.hw){if(e.b)return;var i=new Se(1,e.a);if(this.hv.contains(i))return;this.hy=!0,this.hv.add(i),this.hy=!1}else{if(!e.b)return;var n=new Se(1,e.a);if(this.hv.contains(n))return;this.hy=!0,this.hv.add(n),this.hy=!1}},n.prototype.is=function(t,e){if(0==this.hw){if(e.b)return;var i=new Se(1,e.a);if(!this.hv.contains(i))return;this.hy=!0,this.hv.remove(i),this.hy=!1}else{if(!e.b)return;var n=new Se(1,e.a);if(!this.hv.contains(n))return;this.hy=!0,this.hv.remove(n),this.hy=!1}},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hx&&this.h2>-1&&(e.e=this.h2,e.b=this.hz,e.f=this.hz),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),this.h2>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hz,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.h2,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.h3,t}()))},n.prototype.g6=function(t,e,n){null!=this.hx&&(t.bi=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),t.a9=this.hd,t.bk=this.ht,null!=this.eq&&(t.aq=this.eq))},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.ix(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(0);this.ix(o,t,s,n)}},n.prototype.g8=function(){t.prototype.g8.call(this),null!=this.r&&(this.i0=null!=this.i4?this.i4:this.r.jm,this.i1=null!=this.i5?this.i5:this.r.jn,this.iy=null!=this.i2?this.i2:this.r.i4,this.iz=null!=this.i3?this.i3:this.r.i5,null!=this.hx&&(this.hx.c=this.t,this.hx.cq=this.hk,this.hx.cj=this.hd,this.hx.ck=this.hg,this.hx.cn=this.hi,this.hx.co=this.hk,this.hx.cp=this.hk,this.hx.cr=this.i0,this.hx.cs=this.i1,this.hx.ch=this.iy,this.hx.ci=this.iz),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.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(8):this.cn,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(8):this.ck)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.ic=e.dataMemberPath,this.ij=e.selectedMemberPath,this.hu=e.primaryKey,this.itemsSource=e.itemsSource,this.h0=e.showSelectAll,this.h4=e.aj},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hx&&(this.hx.bs=null,this.hx.bt=null,this.hx.bu=null,this.hx.by=null,this.hx.b0=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hx&&(this.hx.bs=null,this.hx.bt=null,this.hx.bu=null,this.hx.by=null,this.hx.b0=null)},n.prototype.ct=function(){var t=new Be;return this.fz(t),null!=this.hx&&(t.l=this.hx.ag()),t},n.$t=i.markType(n,"ToolActionCheckboxList",si.$),n}(si),pi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hu=null,e.hv=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 16},Object.defineProperty(n.prototype,"h0",{get:function(){return this.cx("Value",i.BrushUtil.l(255,0,0,255))},set:function(t){var e=this.h0;e!=t&&(this.gw("Value",t),this.gg("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hu&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hw(),n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hw=function(){var t=i.Color.u(255,0,0,255);if(null!=this.hu){var e=i.ColorUtil.p(this.hu.bp);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 be;return e.g=this.c2,e.a=this.aa,e.c=t,e.h=this.hw(),e},n.prototype.hy=function(t,e){if(!this.hv){this.h0=this.hu.bp;var i=this.l(!0);this.gh(i,this)}},n.prototype.hz=function(t,e,n,r,o){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=this.b7(this.r,o);e.b5(2,1,s),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=s,n.f=2,n.h=1}n.c=this.t,n.bo=i.runOn(this,this.hy),this.hu!=n&&(this.hu=n),null!=this.h0&&(this.hv=!0,n.bp=this.h0,this.hv=!1)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),20,this.al(20),(function(i){var s=i;r.hz(o,t,s,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.hz(o,t,s,e,n)}},n.prototype.g1=function(){t.prototype.g1.call(this),this.hu},n.prototype.g8=function(){null!=this.hu&&(this.hu.c=this.t)},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"IsDisabled":this.hu}},n.prototype.f9=function(){null==this.hu||this.a9||this.hu.a0()},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.h0=i.CSSColorUtil.g(e.value)},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hu&&(this.hu.bo=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hu&&(this.hu.bo=null)},n.prototype.ct=function(){var t=new Re;return this.fz(t),null!=this.hu&&(t.l=this.hu.ag()),t},n.$t=i.markType(n,"ToolActionColorEditor",si.$),n}(si),fi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hv=null,e.hw=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 14},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cx("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gw("ItemsSource",t),this.gg("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("DisplayMemberPath",null)},set:function(t){var e=this.hy;e!=t&&(this.gw("DisplayMemberPath",t),this.gg("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.cx("ValueMemberPath",null)},set:function(t){var e=this.h2;e!=t&&(this.gw("ValueMemberPath",t),this.gg("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cx("SelectedValues",null)},set:function(t){var e=this.hu;e!=t&&(this.gw("SelectedValues",t),this.gg("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.go=function(e,i,n){if(t.prototype.go.call(this,e,i,n),null!=this.hv)switch(e){case"ItemsSource":this.hv.bp=this.itemsSource;break;case"SelectedValues":for(var r=new Array(this.hu.count),o=0;o<this.hu.count;o++)r[o]=this.hu._inner[o];this.hv.bl=r;break;case"DisplayMemberPath":this.hv.bq=this.hy;break;case"ValueMemberPath":this.hv.br=this.h2}},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.h4=function(t,e){if(!this.hw){this.hw=!0,null==this.hu&&(this.hu=new Ee),this.hu.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.hu.add1(r)}this.hw=!1;var o=this.l(!0);this.gh(o,this)}},n.prototype.h5=function(t,e,n,r,o){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=this.b7(this.r,o);e.b5(2,1,s),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=s,n.bo=3,n.f=2,n.h=1}if(n.c=this.t,n.bn=i.runOn(this,this.h4),n.bp!=this.itemsSource&&(n.bp=this.itemsSource),n.bq!=this.hy&&(n.bq=this.hy),n.br!=this.h2&&(n.br=this.h2),null!=this.hu){this.hw=!0;for(var a=new Array(this.hu.count),h=0;h<this.hu.count;h++)a[h]=this.hu._inner[h];n.bl=a,this.hw=!1}this.hv!=n&&(this.hv=n)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),19,this.al(19),(function(i){var s=i;r.h5(o,t,s,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.h5(o,t,s,e,n)}},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hv&&(this.hv.bo=this.ak(this.v))},n.prototype.g8=function(){null!=this.hv&&(this.hv.c=this.t)},n.prototype.f9=function(){null==this.hv||this.a9||this.hv.a0()},n.prototype.l=function(t){var e=new be;if(e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hv){for(var i=new Array(this.hu.count),n=0;n<this.hu.count;n++)i[n]=this.hu._inner[n];e.f=i}return e},n.prototype.fy=function(e){t.prototype.fy.call(this,e);for(var n=new Array(this.hu.count),r=0;r<this.hu.count;r++)n[r]=this.hu._inner[r];var o;e.add(((o=new i.ToolCommandArgument).argumentName="SelectedValues",o.value=n,o))},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;if(this.hy=e.displayMemberPath,this.h2=e.valueMemberPath,null!=e.selectedValues){this.hu.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.hu.add1(r)}}this.itemsSource=e.itemsSource},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hv&&(this.hv.bn=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hv&&(this.hv.bn=null)},n.prototype.ct=function(){var t=new $e;return this.fz(t),null!=this.hv&&(t.l=this.hv.ag()),t},n.$t=i.markType(n,"ToolActionCombo",si.$),n}(si),di=function(t){function n(){var e,n=t.call(this)||this;return n.h7=null,n.iv=-1,n.ia=!1,n.ix=null,n.i2=null,n.h4=0,n.ic=!1,n.il=NaN,n.id=!1,n.iz=null,n.hu=null,n.h1=null,n.ij=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.hw=new i.DataSeriesAdapterPropertyInfo,n.hx=new i.DataSeriesAdapterPropertyInfo,n.h8=!1,n.h9=!1,n.ib=!1,n.hu=n.hv(),n.contextBindings.add(((e=new Kt).d=0,e.h="FieldSelectorRules",e.j="Rules",e)),n}return e.__extends(n,t),n.prototype.hv=function(){return(new i.DataSeriesAdapter).e},n.prototype.jw=function(){var t;if(this.h8=!1,this.actions.clear(),this.actions.add(((t=new gi).eq="FieldSelectorHeader",t.fa="Aggregation",t)),this.actions.add(function(){var t=new ji;return t.hu=!0,t}()),null!=this.h3&&this.h3.count>0)for(var e=function(t){var e=n.h3._inner[t],r=void 0;5==e.operand?(r=function(){var t=new _i;return t.fa=e.label,t.eq="FieldSelectorAggregation"+e.name,t.h2="fieldSelectorAggregation",t}(),n.h8=!0):r=function(){var t=new _i;return t.fa=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.eq="FieldSelectorAggregation"+i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.h2="fieldSelectorAggregation",t}(),r.onCommand=i.delegateCombine(r.onCommand,i.runOn(n,n.jy)),n.actions.add(r)},n=this,r=0;r<this.h3.count;r++)e(r);else{var o=function(){var t=new _i;return t.fa="Sum",t.eq="FieldSelectorAggregationSum",t.h2="fieldSelectorAggregation",t}();o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jy)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Average",t.eq="FieldSelectorAggregationAverage",t.h2="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jy)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Count of Rows",t.eq="FieldSelectorAggregationCount",t.h2="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jy)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Min",t.eq="FieldSelectorAggregationMin",t.h2="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jy)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Max",t.eq="FieldSelectorAggregationMax",t.h2="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jy)),this.actions.add(o)}},n.prototype.jy=function(t,e){var i=this.iw(e.a.commandId);switch(e.a.commandId){case"FieldSelectorAggregationAverage":this.j5(this.iz,3,i);break;case"FieldSelectorAggregationSum":this.j5(this.iz,2,i);break;case"FieldSelectorAggregationCount":this.j5(this.iz,4,i);break;case"FieldSelectorAggregationMin":this.j5(this.iz,0,i);break;case"FieldSelectorAggregationMax":this.j5(this.iz,1,i);break;default:this.j5(this.iz,5,i)}},n.prototype.iw=function(t){if(i.stringIsNullOrEmpty(t))return 0;if(i.stringStartsWith(t,"FieldSelectorAggregation")&&(t=t.substr(24)),null!=this.h3&&this.h3.count>0)for(var e=0;e<this.h3.count;e++){var n=this.h3._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.hz=function(t){if(null!=this.h3&&this.h3.count>0)return this.h3._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.jh=function(t){if(null!=this.h3&&this.h3.count>0)return 5==this.h3._inner[t].operand?this.h3._inner[t].name:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.h3._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.jg=function(t){if(null!=this.h3&&this.h3.count>0)return 5==this.h3._inner[t].operand?this.h3._inner[t].label:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.h3._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.h0=function(t){if(null!=this.h3&&this.h3.count>0)return this.h3._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.j5=function(t,n,r){var o,s;if(null!=this.h2&&0!=this.h6&&this.ig()){var a=!1,h=2;if(this.ix=t,this.h4=1,this.ie()){for(var u=0;u<this.h2.summaryDescriptions.k.count;u++){var l=this.h2.summaryDescriptions.k.item(u);if(l.propertyName==t){h=l.operand,l.operand=n,a=!0;break}}var c=null;if(null==this.h2.propertiesRequested){var p=0;c=new Array(this.hw.b.length+this.hx.b.length);for(var f=0;f<this.hw.b.length;f++)c[p]=this.hw.b[f],p++;for(var d=0;d<this.hx.b.length;d++)c[p]=this.hx.b[d],p++}else c=new Array(this.h2.propertiesRequested.length);for(var g=0;g<c.length;g++){var b=null==c[g]?this.h2.propertiesRequested[g]:c[g];""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,h)==b?(c[g]=""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,n),a||this.h2.summaryDescriptions.add(new i.SummaryDescription(2,t,n))):null!=this.h2.propertiesRequested&&null!=this.h2.propertiesRequested[g]&&(c[g]=this.h2.propertiesRequested[g])}this.h2.propertiesRequested=c,this.h2.refresh()}var y=i.typeCast(i.ObservableCollection$1.$.specialize(Ve.$),this.h7.b6);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.ij.containsKey(_.key)?this.ij.item(_.key,r):this.ij.addItem(_.key,r),5==n)_.aggregationName=this.h3._inner[r].name,_.aggregationLabel=this.h3._inner[r].label,_.aggregationOperand=5,this.i2=this.h3._inner[r].name;else{var C=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,n);_.aggregationName=C,_.aggregationLabel=C,_.aggregationOperand=n}this.i2=_.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.gh(this.l(!0),this),this.jx()}},Object.defineProperty(n.prototype,"h2",{get:function(){return this.cx("DataSource",null)},set:function(t){var e=this.h2;e!=t&&(this.gw("DataSource",t),this.gg("DataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.cx("LegendTarget",null)},set:function(t){var e=this.iy;e!=t&&(this.gw("LegendTarget",t),this.gg("LegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("DataLegendTarget",null)},set:function(t){var e=this.hy;e!=t&&(this.gw("DataLegendTarget",t),this.gg("DataLegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.i(ze,"FieldType",0)},set:function(t){var e=this.h6;e!=t&&(this.gw("FieldType",i.enumGetBox(ze,t)),this.gg("FieldType",i.enumGetBox(ze,e),i.enumGetBox(ze,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cx("SingleSelection",!1)},set:function(t){var e=this.ih;e!=t&&(this.gw("SingleSelection",t),this.gg("SingleSelection",e,t))},enumerable:!1,configurable:!0}),n.prototype.ig=function(){return null!=this.h3&&this.h3.count>0||null!=this.h2&&this.h2.groupDescriptions.k.count>0},Object.defineProperty(n.prototype,"h3",{get:function(){return this.cx("Aggregations",null)},set:function(t){var e=this.h3;e!=t&&(this.gw("Aggregations",t),this.gg("Aggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cx("Rules",null)},set:function(t){var e=this.ik;e!=t&&(this.gw("Rules",t),this.gg("Rules",e,t))},enumerable:!1,configurable:!0}),n.prototype.ie=function(){return this.ii&&(!this.ig()||!this.h8)},Object.defineProperty(n.prototype,"ii",{get:function(){return this.cx("UpdateDataSource",!1)},set:function(t){var e=this.ii;e!=t&&(this.gw("UpdateDataSource",t),this.gg("UpdateDataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cx("SelectedAggregations",null)},set:function(t){var e=this.h5;e!=t&&(this.gw("SelectedAggregations",t),this.gg("SelectedAggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.cx("PaddingLeft",NaN)},set:function(t){var e=this.is;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingLeft",t),this.gg("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.cx("ActualPaddingLeft",NaN)},set:function(t){var e=this.io;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualPaddingLeft",t),this.gg("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"it",{get:function(){return this.cx("PaddingRight",NaN)},set:function(t){var e=this.it;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingRight",t),this.gg("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cx("ActualPaddingRight",NaN)},set:function(t){var e=this.ip;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualPaddingRight",t),this.gg("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.cx("PaddingBottom",NaN)},set:function(t){var e=this.ir;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingBottom",t),this.gg("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cw("ActualPaddingBottom",NaN)},set:function(t){var e=this.im;e!=t&&(this.gw("ActualPaddingBottom",t),this.gg("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.cx("PaddingTop",NaN)},set:function(t){var e=this.iu;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("PaddingTop",t),this.gg("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cx("ActualPaddingTop",NaN)},set:function(t){var e=this.iq;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gw("ActualPaddingTop",t),this.gg("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 12},n.prototype.fm=function(e,n){if(t.prototype.fm.call(this,e,n),null!=this.h7&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),o=this.h7.bg(r);o.height+=this.iq,o.height+=this.im,n.e=o.width,n.d=o.height;var s=this.il;this.il=o.height,i.isNaN_(s)||s==this.il||this.f6()}},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.go=function(e,n,r){switch(t.prototype.go.call(this,e,n,r),e){case"Aggregations":this.jw(),this.ij.clear(),this.j2(this.h7);break;case"SelectedAggregations":this.ij.clear(),this.j2(this.h7);break;case"FieldType":this.j2(this.h7);break;case"DataSource":if(this.h1=null,null!=n){this.h1=null;var o=n;o.propertiesRequestedChanged=i.delegateRemove(o.propertiesRequestedChanged,i.runOn(this,this.j0))}if(null!=r){this.h1=r.clone();var s=r;s.propertiesRequestedChanged=i.delegateCombine(s.propertiesRequestedChanged,i.runOn(this,this.j0))}this.j2(this.h7);break;case"Rules":this.h1=null,this.j2(this.h7);break;case"SingleSelection":this.j4(this.h7);break;case"LegendTarget":var a=r;null!=a&&null===i.typeCast(i.IDataLegendTarget_$type,a)&&(a=a._implementation),this.hy=i.typeCast(i.IDataLegendTarget_$type,a);break;case"DataLegendTarget":this.j3(this.h7)}},n.prototype.j0=function(t,e){this.ic||this.ij.clear(),this.j2(this.h7),this.jx()},n.prototype.j1=function(t,e,n,r){null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(0==e.bn&&e.bo(n),n.bm=3,this.jw()),e.bi=new i.Thickness(1,this.io,this.iq,this.ip,this.im),e.a9=this.hd,e.bk=this.ht,null!=this.eq&&(e.aq=this.eq),n.b3=!1,n.cc(),this.ij.clear(),this.j2(n),n.b2=0==this.h6||!this.ig(),n.z=this.il-16,n.b1=!0,n.c=this.t,n.cq=this.hk,n.cj=this.hd,n.ck=this.hg,n.cn=this.hi,n.co=this.hk,n.cp=this.hk,this.j4(n),this.j3(n),n.bs=i.runOn(this,this.js),n.bv=i.runOn(this,this.jt),this.h7!=n&&(this.h7=n),this.jx()},n.prototype.j4=function(t){null!=t&&(t.b4=this.ih?10:2)},n.prototype.j3=function(t){if(null!=t)if(0==this.h6){var e=i.typeCast(i.IDataLegendTarget_$type,t.b5);null!=e&&(e.seriesDataChanged=i.delegateRemove(e.seriesDataChanged,i.runOn(this,this.ju))),t.b5=null}else if(1==this.h6&&t.b5!=this.hy){var n=i.typeCast(i.IDataLegendTarget_$type,t.b5);if(null!=n&&(n.seriesDataChanged=i.delegateRemove(n.seriesDataChanged,i.runOn(this,this.ju))),t.b5=this.hy,null!=this.hy){var r=this.hy;r.seriesDataChanged=i.delegateCombine(r.seriesDataChanged,i.runOn(this,this.ju))}}},n.prototype.j2=function(t){if(!this.ic&&null!=t&&null!=this.ik){var e=new i.ObservableCollection$1(Ve.$,0);if(null!=this.h2){if(null==this.h1){if(this.h1=this.h2.clone(),null!==i.typeCast(i.LocalDataSource.$,this.h1)){var n=i.typeCast(i.LocalDataSource.$,this.h1),r=i.typeCast(i.LocalDataSource.$,this.h2);n.dataSource=r.dataSource,n.executionContext=r.executionContext}this.h1.propertiesRequested=null,this.h1.groupDescriptions.clear(),this.h1.summaryDescriptions.clear(),this.h1.isVirtual||this.h1.flushAutoRefresh(),this.hu.rules.clear();for(var o=0;o<this.ik.count;o++)this.hu.rules.add(this.ik._inner[o]);this.hu.itemsSource=this.h1,this.hu.refresh(),this.hw=new i.DataSeriesAdapterPropertyInfo,this.hx=new i.DataSeriesAdapterPropertyInfo}if((null==this.hw.b||null==this.hx.b||0==this.hw.b.length&&0==this.hx.b.length)&&this.hu.a1(this.hw,this.hx),null==this.hw.b||null==this.hx.b||0==this.hw.b.length||0==this.hx.b.length)return;if(0==this.h6)for(var s=function(t){var i,n=a.hw.b[t],r=a.hw.a[t],o=a.hw.c[t],s=null==a.h2.propertiesRequested;if(null!=a.h2.propertiesRequested)for(var h=0;h<a.h2.propertiesRequested.length;h++){var u=a.h2.propertiesRequested[h];if(u==n||u==""+n){s=!0;break}}e.add(((i=new Ve).propertyType=o,i.key=n,i.isSelected=s,i.label=r,i))},a=this,h=0;h<this.hw.b.length;h++)s(h);if(1==this.h6)for(var u=function(t){var n=l.hx.b[t],r=l.hx.a[t],o=l.hx.c[t],s=2,a="Sum",h="Sum",u=0;if(null!=l.h3&&l.h3.count>0&&(h=l.h3._inner[0].label,a=l.h3._inner[0].name,s=l.h3._inner[0].operand,i.stringIsNullOrEmpty(h))){var c=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,l.h3._inner[0].operand);h=c,a=c}if(l.ij.containsKey(n))u=l.ij.item(n),a=l.jh(u),h=l.jg(u),s=l.h0(u);else if(l.h8){if(null!=l.h5)for(var p=0;p<l.h5.count;p++){var f=l.h5._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 g=0;g<l.h3.count;g++)if(l.h3._inner[g].name==f.aggregationName){h=l.h3._inner[g].label;break}}break}}}else for(var b=0;b<l.h2.summaryDescriptions.k.count;b++){var y=l.h2.summaryDescriptions.k.item(b);if(y.propertyName==n){var m=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,y.operand);s=y.operand,h=m,a=m,u=l.iw(a);break}}var v=null==l.h2.propertiesRequested;if(null!=l.h2.propertiesRequested)for(var _=0;_<l.h2.propertiesRequested.length;_++){var C=l.h2.propertiesRequested[_];if(null!=C){if(C==n||C==""+n){v=!0;break}if(0==C.indexOf(""+n)){if(null==l.h2.summaryDescriptions)continue;for(var j=0;j<l.h2.summaryDescriptions.k.count;j++){if(l.h2.summaryDescriptions.k.item(j).propertyName==n){v=!0;break}}}}}var w,P=((w=new Ve).key=n,w.isSelected=v,w.label=r,w.propertyType=o,w);l.ig()&&(P.aggregationLabel=h,P.aggregationName=a,P.aggregationOperand=s,l.ij.containsKey(n)?l.ij.item(n,u):l.ij.addItem(n,u)),e.add(P)},l=this,c=0;c<this.hx.b.length;c++)u(c)}t.bl=["key"],t.b6=e,t.b7="label",t.b9="isSelected",t.ca="aggregationLabel",t.b8="propertyType"}},n.prototype.ju=function(t,e){this.jx()},n.prototype.jt=function(t,e){if(0!=this.h6&&this.ig()){this.iz=e.a[0],this.iv=e.c,this.ia=e.b;for(var n=this.ij.item(this.iz),r=0,o=0;o<this.actions.count;o++){var s=i.typeCast(_i.$,this.actions._inner[o]);null!=s&&(s.hv=n==r,r++)}this.r.g1(this)}},n.prototype.js=function(t,e){var n=this;this.ic=!0;this.iv,this.ia,this.ix;this.iv=e.c,this.ia=e.b,this.ix=e.a,this.h4=0;var r,o=e.a[0];if(this.ih&&!this.h9&&(e.b?this.d.executeDelayed(i.runOn(this,this.jz),0):this.d.executeDelayed(i.runOn(this,this.jr),0)),this.ie()){var s="";if(1==this.h6){var a=this.ij.item(o);s=this.jh(a).toString()}if(e.b){if(this.ig())if(0==this.h6){for(var h=!1,u=0;u<this.h2.groupDescriptions.k.count;u++){if(this.h2.groupDescriptions.k.item(u).propertyName==o){h=!0;break}}h||(this.ih&&this.h2.groupDescriptions.clear(),this.h2.groupDescriptions.add(((r=new i.SortDescription).propertyName=o,r)))}else{for(var l=!1,c=0;c<this.h2.summaryDescriptions.k.count;c++){if(this.h2.summaryDescriptions.k.item(c).propertyName==o){l=!0;break}}l||this.h2.summaryDescriptions.add(function(){var t=new i.SummaryDescription(0);return t.propertyName=o,t.operand=n.hz(n.ij.item(o)),t}())}if(null==this.h2.propertiesRequested)this.h2.propertiesRequested=[this.ig()?""+o+s:o];else{for(var p=!1,f=0;f<this.h2.propertiesRequested.length;f++)if(this.h2.propertiesRequested[f]==(this.ig()?""+o+s:o)){p=!0;break}if(!p){for(var d=new Array(this.h2.propertiesRequested.length+1),g=0;g<this.h2.propertiesRequested.length;g++)d[g]=this.h2.propertiesRequested[g];d[this.h2.propertiesRequested.length]=this.ig()?""+o+s:o,this.h2.propertiesRequested=d}}}else{if(this.ig())if(0!=this.h6||this.ih){for(var b=new i.SummaryDescription(0),y=!1,m=0;m<this.h2.summaryDescriptions.k.count;m++){var v=this.h2.summaryDescriptions.k.item(m);v.propertyName==o&&(b=v,y=!0)}y&&this.h2.summaryDescriptions.remove(b)}else{for(var _=new i.SortDescription,C=!1,j=0;j<this.h2.groupDescriptions.k.count;j++){var w=this.h2.groupDescriptions.k.item(j);if(w.propertyName==o){_=w,C=!0;break}}C&&this.h2.groupDescriptions.remove(_)}if(null==this.h2.propertiesRequested){for(var P=0,x=new Array(this.hw.b.length+this.hx.b.length-1),T=0;T<this.hw.b.length;T++)this.hw.b[T]!=o&&(x[P]=this.hw.b[T],P++);for(var k=0;k<this.hx.b.length;k++)this.hx.b[k]!=o&&(x[P]=this.hx.b[k],P++);this.h2.propertiesRequested=x}else{for(var O=new Array(this.h2.propertiesRequested.length-1),S=0,I=0;I<this.h2.propertiesRequested.length;I++){var A=this.h2.propertiesRequested[I];A!=o&&A!=""+o+s&&(O[S]=A,S++)}this.h2.propertiesRequested=O}}}this.jx(),this.gh(this.l(!0),this),this.ic=!1},n.prototype.jx=function(){this.ib||null!=this.d&&null!=this.h7&&(this.ib=!0,this.d.enqueueAction(i.runOn(this,this.jv)))},n.prototype.jv=function(){null!=this.h7&&this.h7.ce(),this.ib=!1},n.prototype.jz=function(){this.h9=!0,this.h7.cf(0),this.h9=!1},n.prototype.jr=function(){this.h9=!0,this.h7.cb(["key"],this.ix),this.h9=!1},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.h7&&this.iv>-1&&(e.e=this.iv,e.b=this.ia,e.f=i.enumGetBox(qe,this.h4)),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),this.iv>=0&&(0==this.h4||1==this.h4&&e.add(((n=new i.ToolCommandArgument).argumentName="Aggregation",n.value=r.i2,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="IsChecked",t.value=r.ia,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.iv,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.ix,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="EventType",t.value=i.enumGetBox(qe,r.h4),t}()))},n.prototype.g6=function(t,e,n){null!=this.h7&&(t.z=this.il-16,t.bi=new i.Thickness(1,this.io,this.iq,this.ip,this.im),t.a9=this.hd,t.bk=this.ht,null!=this.eq&&(t.aq=this.eq))},n.prototype.g8=function(){t.prototype.g8.call(this),this.io=i.isNaN_(this.is)?i.DeviceUtils.g(8):this.is,this.ip=i.isNaN_(this.it)?i.DeviceUtils.g(8):this.it,this.iq=i.isNaN_(this.iu)?i.DeviceUtils.g(8):this.iu,this.im=i.isNaN_(this.ir)?i.DeviceUtils.g(8):this.ir},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.j1(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(0);this.j1(o,t,s,n)}},n.prototype.gf=function(e,i){t.prototype.gf.call(this,e,i),this.h1=null,this.j2(this.h7)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.h6=e.fieldType,this.h2=e.dataSource,this.hy=e.ak,this.ii=e.updateDataSource,this.ih=e.singleSelection},n.prototype.fh=function(){if(t.prototype.fh.call(this),null!=this.h2){var e=this.h2;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.j0))}null!=this.h7&&(this.h7.bs=null,this.h7.bv=null)},n.prototype.fr=function(){if(t.prototype.fr.call(this),null!=this.h2){var e=this.h2;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.j0))}null!=this.h7&&(this.h7.bs=null,this.h7.bv=null)},n.$t=i.markType(n,"ToolActionFieldSelector",si.$),n}(si),gi=function(t){function n(){var e,n=t.call(this)||this;return n.hv=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),n.hw=null,n.hu=null,n.hx=!1,n}return e.__extends(n,t),n.prototype.get_aa=function(){return 1},n.prototype.get_a4=function(){return!1},n.prototype.get_a5=function(){return!1},n.prototype.get_be=function(){return!1},Object.defineProperty(n.prototype,"h4",{get:function(){return this.cx("ActualBackIconColor",null)},set:function(t){var e=this.h4;e!=t&&(this.gw("ActualBackIconColor",t),this.gg("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cx("BackIconColor",null)},set:function(t){var e=this.h5;e!=t&&(this.gw("BackIconColor",t),this.gg("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.af=function(t){return this.hv},n.prototype.b5=function(t,e){return this.bf()?i.DeviceUtils.g(36):NaN},n.prototype.b7=function(e,n){if(this.actions.count>0){if(null!=this.hu){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.hu.bg(r).width}return 0}return t.prototype.b7.call(this,e,n)},n.prototype.h2=function(t,e,n,r){var o=n.bp;if(!(null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||null!=e.ap&&2!=i.typeGetValue(e.ap))){var s=!1;null==e.ap?e.ap=1:(s=!0,e.ap=3),e.bp(2,n);var a=null;s&&(a=e.bm(3)),e.b9(0,1,this.b5(this.r,r)),e.cd(e.bm(0),1),e.cd(e.bm(1),2),s&&e.cd(a,3),e.cd(n,0),e.cf(n,0),n.h=1,n.f=1,n.bi=new i.Thickness(1,-9,0,9,0),n.bq=this.ak(this.v),o.bs="ToolbarBackButtonIcon",o.br="ToolPanelIconCollection",o.af=i.DeviceUtils.g(24),o.z=i.DeviceUtils.g(24)}o.bd=this.h4,n.c=this.t,n.by=this.bg,n.bn=i.runOn(this,this.h0),this.hw=n},n.prototype.h3=function(t,e,n,r){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa||null==e.ap||i.typeGetValue(e.ap)<2)&&(null==e.ap||1==i.typeGetValue(e.ap))){var o=!1;null==e.ap?e.ap=2:(o=!0,e.ap=3),e.bo(n),o?(e.b9(3,1,this.b7(this.r,r)),e.cd(n,3),e.cf(n,0)):(e.b9(2,1,this.b7(this.r,r)),e.cd(n,2),e.cf(n,0)),n.bv=this.r.p,n.bw=1,n.h=1,n.f=2}n.c=this.t,n.ca=this.hd,n.cn=this.hk,n.ch=this.hk,n.ci=this.hk,n.bt=i.runOn(this,this.h1),n.b8(this.ak(this.v)),this.hu=n,this.hu.bu!=this.actions&&(this.hu.bu=this.actions,this.bf()?e.cg(3,1,this.b7(this.r,r)):e.cg(2,1,this.b7(this.r,r)))},n.prototype.h1=function(t,e){this.gs(e.a,e.b)},n.prototype.h0=function(t,e){this.r.g2(this)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)this.bf()&&i.NativeUIComponent.au(this.r.v.z(),10,this.bj()?2:0,(function(e){return r.h2(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.au(this.r.v.z(),13,2,(function(e){return r.h3(o,t,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{if(this.bf()){var s=t.bm(2);this.h2(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ap)&&(a=2);var h=t.bm(a);this.h3(o,t,h,n)}}},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hw&&(this.hw.bq=this.ak(this.v))},n.prototype.g8=function(){var e;t.prototype.g8.call(this),null!=this.hw&&(this.hw.c=this.t),null!=this.r&&(this.hd=null!=this.hl?this.hl:this.r.i7,this.hk=null!=this.hs?this.hs:this.r.ja,this.hj=null!=this.hr?this.hr:this.r.i9),null!=this.hu&&(this.hu.c=this.t,this.hu.cn=this.r.j6,this.hu.ca=this.hd),this.h4=null!=this.h5?this.h5:this.hk,e=null!=this.ah?this.ah.a():null!=this.r&&null!=this.r.an?this.r.an.a():this.hv,this.ae=e},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"StopPropagation":null!=this.hw&&(this.hw.by=this.bg)}},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hw&&(this.hw.bn=null),null!=this.hu&&(this.hu.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hw&&(this.hw.bn=null),null!=this.hu&&(this.hu.bt=null)},n.prototype.ct=function(){var t=new Le;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionGroupHeader",si.$),n}(si),bi=function(t){function n(){var e=t.call(this)||this;return e.hz=null,e.hw=null,e.hu=null,e.i0=-1,e.i1=-1,e.ir=-1,e.h6=!1,e.h3=!1,e.h2=!1,e.h7=!1,e.h5=!1,e.i2=-1,e.io=NaN,e.ij=NaN,e.iq=NaN,e.il=NaN,e.ip=NaN,e.ik=NaN,e.im=NaN,e.ii=NaN,e.hx=null,e.hy=null,e.h8=!1,e.ia=!1,e.popupOpening=null,e.h1=!1,e.h4=!1,e.hu=new i.DelayManager(0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ic",{get:function(){return this.h7},set:function(t){this.h7=t},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 3},n.prototype.get_bh=function(){return!1},Object.defineProperty(n.prototype,"h0",{get:function(){return this.hz},enumerable:!1,configurable:!0}),n.prototype.get_ih=function(){return null!=this.hw},Object.defineProperty(n.prototype,"ih",{get:function(){return this.get_ih()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i4",{get:function(){return this.i2},set:function(t){this.i2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i3",{get:function(){return i.typeGetValue(this.cx("ActualTooltipDelay",500))},set:function(t){var e=this.i3;e!=t&&(this.gw("ActualTooltipDelay",t),this.gg("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return null!=this.hz&&(this.hz.b6||this.hz.b7||this.hz.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ix",{get:function(){return this.io},set:function(t){var e=this.io;this.io=t,e!=this.io&&this.gg("ContentPaddingLeft",e,this.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"it",{get:function(){return this.ij},set:function(t){var e=this.ij;this.ij=t,e!=this.ij&&this.gg("ActualContentPaddingLeft",e,this.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return this.iq},set:function(t){var e=this.iq;this.iq=t,e!=this.iq&&this.gg("ContentPaddingTop",e,this.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.il},set:function(t){var e=this.il;this.il=t,e!=this.il&&this.gg("ActualContentPaddingTop",e,this.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.ip},set:function(t){var e=this.ip;this.ip=t,e!=this.ip&&this.gg("ContentPaddingRight",e,this.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.ik},set:function(t){var e=this.ik;this.ik=t,e!=this.ik&&this.gg("ActualContentPaddingRight",e,this.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.im},set:function(t){var e=this.im;this.im=t,e!=this.im&&this.gg("ContentPaddingBottom",e,this.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.ii},set:function(t){var e=this.ii;this.ii=t,e!=this.ii&&this.gg("ActualContentPaddingBottom",e,this.ii)},enumerable:!1,configurable:!0}),n.prototype.fh=function(){t.prototype.fh.call(this),i.NativeUIWindow.i(15,i.runOn(this,this.jx)),i.NativeUIWindow.i(9,i.runOn(this,this.jw)),this.h2=!1,this.h7=!1,null!=this.hz&&(this.hz.q=null,this.hz.s=null,this.hz.n=null,this.hz.o=null,this.hz.bv=null),null!=this.hx&&(this.hx.bn=null,this.hx.q=null,this.hx.s=null,this.hx.o=null)},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,e},n.prototype.b6=function(t,e){var n=36;4==this.v&&(n=18);var r=0;return i.isNaN_(this.it)||(r+=this.it),i.isNaN_(this.iu)||(r+=this.iu),i.DeviceUtils.g(n)+r},n.prototype.b8=function(t,e){return NaN},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.j2=function(t){this.b0=i.isNaN_(this.cj)?this.b9():this.cj,this.bz=i.isNaN_(this.cd)?this.b9():this.cd},n.prototype.j1=function(t,e,n,r,o){var s=n.bp;this.ia=!0,o&&(e.cb(2),e.cb(1),0==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,0),this.a7?n.bq=3:n.bq=this.ak(this.v),n.bo=4,n.bv=!0,n.f=1,this.j2(s)),e.bx=1,e.by=!1,e.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),n.b3=new i.Thickness(1,this.it,this.iv,this.iu,this.is),s.bs=this.ee,s.br=this.d9,s.bo=this.cg,s.bp=this.ch,s.bq=this.ci,s.bn=this.cf,s.bc=this.hh,s.bl=this.a,s.bd=this.hi,s.bm=this.b,s.ad=this.ce,s.af=i.DeviceUtils.g(this.b0),s.z=i.DeviceUtils.g(this.bz),s.ab=this.a9?.25:1,n.c=this.t,n.by=this.bg,n.b2=this.hg,n.bn=i.runOn(this,this.jm),n.q=i.runOn(this,this.jo),n.s=i.runOn(this,this.jp),n.o=i.runOn(this,this.jn),n.bx=this.a9,this.hx!=n&&(this.hx=n),this.hy!=s&&(this.hy=s),this.ia=!1},n.prototype.j3=function(t,e){this.hz!=e&&(null!=this.hz&&(this.hz.b7||this.hz.b6)&&this.hz.cd(),this.hz=e,this.hz.b9=this.r.ce,this.hz.bt=1,this.hz.b4=!0,this.hz.cb=100,this.hz.b2=!0,this.hz.cc=i.truncate(this.r.cf),this.hz.b5=!0,2!=t.bn&&t.bo(this.hz),this.h2||(i.NativeUIWindow.h(15,i.runOn(this,this.jx),this.r.v.r),i.NativeUIWindow.h(9,i.runOn(this,this.jw),this.r.v.r),this.h2=!0),this.h1=!1),this.hz.q=i.runOn(this,this.ju),this.hz.s=i.runOn(this,this.jv),this.hz.n=i.runOn(this,this.js),this.hz.o=i.runOn(this,this.jt),this.hz.bv=i.runOn(this,this.jr),0==this.hz.bn&&(this.h7=!1),this.actions.count>0?this.hz.u=!0:this.hz.u=!1},n.prototype.jg=function(){this.jh(this.h5,this.h6),this.h7=!0},n.prototype.jh=function(t,e){var i=this;0==this.hz.bn?(this.hw=new Fe(this.r.v.z()),this.hw.t((function(){i.hz.bo(i.hw.e),t&&i.jy(100,e)}))):this.hw=this.hz.bm(0).ap,this.hw.b=this.r.am,this.hw.y=this.r.jk,this.hw.z=this.r.jl,this.hw.p=this.fa,this.hz.cj=this.hw.y},n.prototype.jj=function(){},n.prototype.ji=function(){},n.prototype.jk=function(){null!=this.hw&&(this.hz.cj=this.r.jk,this.hw.y=this.r.jk,this.hw.z=this.r.jl,this.hz.b9=this.r.ce,this.hz.cc=i.truncate(this.r.cf))},n.prototype.j4=function(){return null!=this.hw?this.hw.aa():i.Size.empty},n.prototype.jx=function(t){if(null!=this.hx){var e=this.hx.bf();this.hz.cf(e)}},n.prototype.jw=function(t){var e=t;!this.ig||this.hz.t(e.b)||this.hx.t(e.b)||this.jf()},n.prototype.gj=function(t,e,n){var r=this;if(!this.h8){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn)this.h8=!0,i.NativeUIComponent.aw(this.r.v.z(),[10,12],[this.al(10),this.al(12)],(function(e){r.j1(o,t,e[0],n,!0),r.j3(t,e[1]),r.h8=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(0),a=t.bm(1);this.j1(o,t,s,n,!1),this.j3(t,a)}}},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hx&&(this.hx.bq=this.ak(this.v)),null!=this.hy&&this.j2(this.hy)},n.prototype.g8=function(){switch(t.prototype.g8.call(this),null!=this.r&&(this.i3=-1!=this.i4?this.i4:this.r.c0),this.t){case 6:case 5:case 4:case 3:this.b2=i.isNaN_(this.cl)?0:this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm;break;default: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.it=i.isNaN_(this.ix)?NaN:this.ix,this.iu=i.isNaN_(this.iy)?NaN:this.iy,this.iv=i.isNaN_(this.iz)?NaN:this.iz,this.is=i.isNaN_(this.iw)?NaN:this.iw,null!=this.hx&&(this.hx.c=this.t,this.hx.b2=this.hg,null!==i.typeCast(i.NativeUIIconButton.$,this.hx)&&(this.hx.bc=this.hk,this.hx.bd=this.hk)),null!=this.hy&&(this.hy.bc=this.hh,this.hy.bd=this.hi,this.hy.bl=this.a,this.hy.bm=this.b,this.hy.ab=this.a9?.25:1),this.jk()},n.prototype.ge=function(){this.ia||null!=this.hy&&(this.hy.bs=this.ee,this.hy.br=this.d9,this.hy.af=i.DeviceUtils.g(this.b0),this.hy.z=i.DeviceUtils.g(this.bz))},n.prototype.gl=function(){this.actions.count>0&&(null!=this.hz&&this.ih?(this.jz(),this.h6=!0):this.h5=!0)},n.prototype.fi=function(){if(this.actions.count>0){if(-1!=this.i1)return this.hu.g(this.i1),void(this.i1=-1);null!=this.hz&&this.ih?this.jf():this.h5=!1}},n.prototype.get_bb=function(){return this.ig||this.ib},Object.defineProperty(n.prototype,"ib",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].bb)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.jz=function(t){if(void 0===t&&(t=!1),!this.h7)return this.h5=!0,this.h6=t,void this.jg();if(!this.ig){if(this.r.f9(),0==this.actions.count&&i.stringIsNullOrEmpty(this.fa))return;if(null!=this.popupOpening){var e=new Oi;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.r&&this.r.gr();var n=this.hx.bf(),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.j4();s.height+=this.hz.ca,n.bottom+s.height>o?n.top-s.height<0?this.hz.cg(r,1,3):this.hz.cg(r,2,3):this.hz.cg(r,1,3)}else{var a=i.NativeUIWindow.f(this.r.v.r),h=this.j4();h.width+=this.hz.ca,n.right+h.width>a?n.left-h.width<0?this.hz.cg(r,4,3):this.hz.cg(r,3,3):this.hz.cg(r,4,3)}this.jj()}this.h6=t,this.h5=!1},n.prototype.j0=function(){this.ig&&(this.h6=!0)},n.prototype.jf=function(){var t=this;this.ig&&(this.h1||(this.hu.f((function(){t.hz.cd(),t.h6=!1,t.h1=!1}),100),this.h1=!0))},n.prototype.jq=function(t){void 0===t&&(t=!1),this.i1=-1,this.jz(t),this.ir=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.jl=function(){this.jf(),this.i0=-1},n.prototype.jy=function(t,e){var i=this;void 0===e&&(e=!1),this.i1=this.hu.f((function(){return i.jq(e)}),t)},n.prototype.h9=function(){return this.r.a7&&!i.stringIsNullOrEmpty(this.fa)},n.prototype.jo=function(t,e){if(this.h3=!0,-1!=this.i0&&(this.hu.g(this.i0),this.i0=-1),!this.ig){if(!this.h9())return;this.jy(this.i3)}},n.prototype.jp=function(t,e){-1!=this.i1&&(this.hu.g(this.i1),this.i1=-1),this.ig&&!this.h6&&(this.i0=this.hu.f(i.runOn(this,this.jl),50)),this.ir=-1,this.h3=!1},n.prototype.jm=function(t,e){if(this.actions.count>0)if(this.ig)if(this.h6||-1==this.ir)this.jf();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.id(n-this.ir)&&this.jf()}else-1!=this.i1&&(this.hu.g(this.i1),this.i1=-1),this.jz(!0);else this.ig&&this.jf(),this.gh(this.l(!0),this)},n.prototype.id=function(t){return!0},n.prototype.ju=function(t,e){this.h4=!0,-1!=this.i0&&(this.hu.g(this.i0),this.i0=-1)},n.prototype.jv=function(t,e){this.h6||(this.i0=this.hu.f(i.runOn(this,this.jl),50)),this.h4=!1},n.prototype.js=function(t,e){this.h6=!0},n.prototype.jt=function(t,e){null==e.b&&this.ie(e)||this.hz.t(e.b)||this.hx.t(e.b)||this.jf()},n.prototype.ie=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.jr=function(t,e){null!=this.r&&this.r.gq(),this.ji()},n.prototype.jn=function(t,e){if(this.ig){if(null==e.b&&this.ie(e))return;this.hz.t(e.b)||this.hx.t(e.b)||this.jf()}},n.prototype.go=function(e,n,r){switch(t.prototype.go.call(this,e,n,r),e){case"ExecutionContext":this.hu.b=this.d;break;case"Title":null!=this.hw&&(this.hw.p=this.fa);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.hy&&(this.hy.bc=this.hh,this.hy.bd=this.hi,this.hy.bl=this.a,this.hy.bm=this.b);break;case"TooltipDelay":this.i3=-1!=this.i4?this.i4:this.r.c0;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.hy&&(this.hy.af=i.DeviceUtils.g(this.b0),this.hy.z=i.DeviceUtils.g(this.bz));break;case"StopPropagation":null!=this.hx&&(this.hx.by=this.bg);break;case"IsDisabled":null!=this.hx&&(this.hx.bx=this.a9),this.g8()}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.i4=e.tooltipDelay,e.isMenuOpenOnStart&&this.gl()},n.prototype.ct=function(){var t=new re;return t.i=this.c2,t.j=this.eq,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.am(this.aq.ao)),null!=this.hx&&(t.h=this.hx.ag()),null!=this.hy&&(t.c=this.hy.ag()),t},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hz&&(this.hz.q=null,this.hz.s=null,this.hz.n=null,this.hz.o=null,this.hz.bv=null),null!=this.hx&&(this.hx.bn=null,this.hx.q=null,this.hx.s=null,this.hx.o=null),this.h7=!1},n.$t=i.markType(n,"ToolActionIconButton",si.$),n}(si),yi=function(t){function n(){var e=t.call(this)||this;return e.kd=i.DeviceUtils.g(24),e.kc=i.DeviceUtils.g(15),e.kb=0,e.j5=null,e.j8=!1,e.j7=null,e.j9=!1,e.j6=null,e.kb=e.kd-e.kc,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 8},Object.defineProperty(n.prototype,"kl",{get:function(){return this.cx("ArrowStroke",null)},set:function(t){var e=this.kl;e!=t&&(this.gw("ArrowStroke",t),this.gg("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kk",{get:function(){return this.cx("ActualArrowStroke",null)},set:function(t){var e=this.kk;e!=t&&(this.gw("ActualArrowStroke",t),this.gg("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ka",{get:function(){return this.cx("ShowArrowIcon",!0)},set:function(t){var e=this.ka;e!=t&&(this.gw("ShowArrowIcon",t),this.gg("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_ih=function(){return null!=this.j5},n.prototype.jh=function(t,e){var n=this;if(this.j8=!1,this.h0.bn>0)for(;this.h0.bn>0;)this.h0.br(0);null!=this.j5&&(this.j5.t=null),this.j5=new Ai(this.r.v.z(),this.d),this.j5.o=this.t,this.j5.al((function(){n.j5.s.a8=new i.CornerRadius(0,8),n.j5.s.a9=n.r.jh,n.h0.bo(n.j5.s),n.j5.ag(n,(function(r){null!=n.eq&&(r.aq=n.eq+"SubPanel"),n.j5.am(r),n.actions.count>0&&null!=n.actions._inner[0].hd&&!i.BrushUtilCore.a(n.actions._inner[0].hd)?n.h0.cj=n.actions._inner[0].hd:n.h0.cj=n.r.jh,t&&(n.j5.ak(),n.h0.ce(),n.jy(100,e))}))})),this.j5.t=i.runOn(this,this.kh)},n.prototype.f6=function(){t.prototype.f6.call(this),this.ic?this.jj():this.j8=!0},n.prototype.jj=function(){null!=this.j5&&this.j5.ap()},n.prototype.ji=function(){null!=this.j5&&(this.j5.az(),this.h0.ce())},n.prototype.jk=function(){null!=this.j5&&(this.j5.a0(this.t,this.r),this.actions.count>0&&null!=this.actions._inner[0].hd&&!i.BrushUtilCore.a(this.actions._inner[0].hd)?this.h0.cj=this.actions._inner[0].hd:this.h0.cj=this.r.jh,this.h0.b9=8,this.h0.cc=4)},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hx&&(this.hx.bq=this.ak(this.v)),null!=this.hy&&this.j2(this.hy)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.ka=e.showArrowIcon},n.prototype.g8=function(){t.prototype.g8.call(this),null!=this.r&&(this.kk=null!=this.kl?this.kl:this.r.jf);var e=this.ka?i.DeviceUtils.g(8):0,n=this.ka?i.DeviceUtils.g(4):0,r=this.ka?i.DeviceUtils.g(5):0,o=this.ka?i.DeviceUtils.g(5):0;switch(this.t){case 6:case 5:case 4:case 3:this.it=i.isNaN_(this.ix)?e:this.ix,this.iu=i.isNaN_(this.iy)?n:this.iy,this.iv=i.isNaN_(this.iz)?r:this.iz,this.is=i.isNaN_(this.iw)?o:this.iw;break;default:this.it=i.isNaN_(this.ix)?0:this.ix,this.iu=i.isNaN_(this.iy)?0:this.iy,this.iv=i.isNaN_(this.iz)?0:this.iz,this.is=i.isNaN_(this.iw)?0:this.iw}null!=this.j7&&(this.j7.bd=this.kk),null!=this.j6&&this.j6.cg(0,1,this.b0)},n.prototype.j4=function(){return!this.ic&&this.j8&&this.jg(),this.j5.a5()},n.prototype.jz=function(e){void 0===e&&(e=!1),null!=this.j5&&this.j5.az(),t.prototype.jz.call(this,e)},n.prototype.b6=function(e,n){if(!this.ka)return t.prototype.b6.call(this,e,n);var r=0;return i.isNaN_(this.it)||(r+=this.it),i.isNaN_(this.iu)||(r+=this.iu),Math.max(i.DeviceUtils.g(36),this.b0+this.kb+r)},n.prototype.kj=function(t,e,n,r,o,s,a){this.ia=!0,a&&(t.cb(2),t.cb(1),0==t.bn&&(n.b5(0,1,i.DeviceUtils.g(this.b0)),n.b5(1,1,this.kb),n.bo(r),n.bo(o),n.cd(r,0),n.cd(o,1),this.j6=n,e.bp=n,t.bo(e)),t.cf(e,0),t.cd(e,0),this.a7?e.bq=3:e.bq=this.ak(this.v),n.bj=new i.Thickness(1,this.it,this.iv,this.iu,this.is),e.bo=4,e.bv=!0,e.f=1,e.b1=new i.CornerRadius(0,18),this.j2(r),r.h=1,o.af=this.kd,o.z=this.kd,o.h=1,o.bi=new i.Thickness(1,-this.kc,0,0,0),o.bs="ToolbarIconMenuArrowIcon",o.br="ToolPanelIconCollection",o.bc=i.BrushUtil.l(0,0,0,0),o.ad=i.DeviceUtils.g(1)),t.by=!1,t.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),r.bs=this.ee,r.br=this.d9,r.bo=this.cg,r.bp=this.ch,r.bq=this.ci,r.bn=this.cf,r.bc=this.hh,r.bl=this.a,r.bd=this.hi,r.bm=this.b,r.ad=this.ce,r.af=this.b0,r.z=this.bz,o.bd=this.kk,e.c=this.t,e.by=this.bg,e.b2=this.hg;var h=this.b0+this.it+this.iu;this.ka&&(h=h+this.kd-this.kc),e.bz=h,e.bn=i.runOn(this,this.jm),e.q=i.runOn(this,this.jo),e.s=i.runOn(this,this.jp),e.o=i.runOn(this,this.jn),this.hx!=e&&(this.hx=e),this.hy!=r&&(this.hy=r),this.j7!=o&&(this.j7=o),this.ki(),this.ia=!1},n.prototype.gj=function(t,e,n){var r=this;if(!this.j9){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn){var s=[this.al(1),this.al(7),this.al(11),this.al(11),this.al(12)];this.j9=!0,i.NativeUIComponent.aw(this.r.v.z(),[1,7,11,11,12],s,(function(e){r.kj(t,e[0],e[1],e[2],e[3],n,!0),r.j3(t,e[4]),r.j9=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bm(0),h=a.bp,u=h.bm(0),l=h.bm(1),c=t.bm(1);this.kj(t,a,h,u,l,n,!1),this.j3(t,c)}}},n.prototype.kh=function(t){this.gs(t.a,t.b),t.b&&this.fi()},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"ShowArrowIcon":this.ki(),null!=this.r&&(this.r.gh(this),this.r.g0());break;case"StopPropagation":null!=this.hx&&(this.hx.by=this.bg)}},n.prototype.ki=function(){if(null!=this.hx&&null!=this.hy&&null!=this.j7)if(this.ka){var t=this.hx.bp;2==t.b0?(t.cg(0,1,i.DeviceUtils.g(this.b0)),t.cg(1,1,this.kb)):(t.b5(0,1,i.DeviceUtils.g(this.b0)),t.b5(1,1,this.kb)),t.cd(this.hy,0),t.cd(this.j7,1),this.j7.bk=0}else{this.hx.bp.cg(1,1,i.DeviceUtils.g(0)),this.j7.bk=1}this.g8()},n.prototype.fg=function(e,i){switch(t.prototype.fg.call(this,e,i),i){case"Visibility":null!=this.j5&&this.j5.ay()}},n.prototype.gm=function(e){if(t.prototype.gm.call(this,e),8==e.aa){var i=e;this.ka!=i.ka&&(this.ka=i.ka),this.kl!=i.kl&&(this.kl=i.kl)}},n.prototype.e=function(){return this.h0.b7?this.j5.k().a:null},n.prototype.ct=function(){var t=new He;return t.i=this.c2,t.j=this.eq,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.am(this.aq.ao)),null!=this.hx&&(t.h=this.hx.ag()),null!=this.hy&&(t.c=this.hy.ag()),null!=this.j7&&(t.l=this.j7.ag()),t},n.prototype.h9=function(){return this.r.a6&&this.actions.count>0},n.prototype.id=function(t){return!(this.r.c1<0||t<this.r.c1)||(this.j0(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",bi.$),n}(bi),mi=function(t){function n(){var e=t.call(this)||this;return e.hu=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 4},n.prototype.b7=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b7.call(this,e,n)},n.prototype.hv=function(t,e,n,r){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)&&2==e.bn){var o=this.b7(this.r,r);e.b5(2,1,i.isNaN_(o)?0:o),e.bo(n),e.cd(n,2),e.cf(n,0),n.bs="ToolbarDrillDownIcon",n.br="ToolPanelIconCollection",n.f=1,n.h=1,n.af=i.DeviceUtils.g(24),n.z=i.DeviceUtils.g(24)}n.bd=this.hk,n.bc=this.hk},n.prototype.f9=function(){this.actions.count>0?this.r.g1(this):this.gh(this.l(!1),this)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa?(this.actions.count>0&&i.NativeUIComponent.au(this.r.v.z(),11,this.bj()?2:0,(function(e){r.hu=e,r.hv(o,t,r.hu,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)):this.actions.count>0?(this.hu=t.bm(2),this.hv(o,t,this.hu,n)):3==t.bn&&(t.br(2),t.cb(2),this.hu=null)},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"ActualTextColor":null!=this.hu&&(this.hu.bb=this.hk)}},n.prototype.ct=function(){var t=new Me;return this.fz(t),null!=this.hu&&(t.l=this.hu.ag()),t},n.$t=i.markType(n,"ToolActionLabel",si.$),n}(si),vi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hu=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 5},Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("Value",0)},set:function(t){var e=this.hw;e!=t&&(this.gw("Value",t),this.gg("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hu&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hv(),n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hv=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.hu.b8)?NaN:(null!=this.hu&&(e=i.tryParseNumber(n.hu.b8,t),t=e.p1,e.ret),t)},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,e.e=this.hv(),e},n.prototype.hy=function(t,e){this.hw=this.hv();var i=this.l(!0);this.gh(i,this)},n.prototype.hz=function(t,e,n,r){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var o=this.b7(this.r,r);e.b5(2,1,o),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=o,n.bq=3,n.bv=1,n.f=2,n.h=1,n.bw=1,n.bp=2,n.b3=!1}n.c=this.t,n.cf=this.a9?this.he:this.hk,n.bl=this.ae,n.b1=this.a9,n.bt=i.runOn(this,this.hy),i.isNaN_(this.hw)?n.b8="":n.b8=this.hw.toString(),this.hu!=n&&(this.hu=n)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),2,this.al(2),(function(e){var i=e;r.hz(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.hz(o,t,s,n)}},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hu&&(this.hu.bq=this.ak(this.v))},n.prototype.g8=function(){null!=this.hu&&(this.hu.c=this.t)},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"IsDisabled":null!=this.hu&&(this.hu.b1=this.a9,this.hu.cf=this.a9?this.he:this.hk)}},n.prototype.f9=function(){null==this.hu||this.a9||this.hu.a0()},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hw=e.value},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hu&&(this.hu.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hu&&(this.hu.bt=null)},n.prototype.ct=function(){var t=new Ge;return this.fz(t),null!=this.hu&&(t.l=this.hu.ag()),t},n.$t=i.markType(n,"ToolActionNumberInput",si.$),n}(si),_i=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hu=null,e.hx=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 6},Object.defineProperty(n.prototype,"h2",{get:function(){return this.hx},set:function(t){this.hx=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cx("ShorthandTitle",null)},set:function(t){var e=this.h7;e!=t&&(this.gw("ShorthandTitle",t),this.gg("ShorthandTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.cx("IsChecked",!1)},set:function(t){var e=this.hv;e!=t&&(this.gw("IsChecked",t),this.gg("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("IsManual",!1)},set:function(t){var e=this.hw;e!=t&&(this.gw("IsManual",t),this.gg("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cx("UncheckedBackgroundColor",null)},set:function(t){var e=this.il;e!=t&&(this.gw("UncheckedBackgroundColor",t),this.gg("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cx("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.ih;e!=t&&(this.gw("ActualUncheckedBackgroundColor",t),this.gg("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cx("CheckedBackgroundColor",null)},set:function(t){var e=this.ij;e!=t&&(this.gw("CheckedBackgroundColor",t),this.gg("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cx("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.ie;e!=t&&(this.gw("ActualCheckedBackgroundColor",t),this.gg("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cx("UncheckedBorderColor",null)},set:function(t){var e=this.im;e!=t&&(this.gw("UncheckedBorderColor",t),this.gg("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cx("ActualUncheckedBorderColor",null)},set:function(t){var e=this.ii;e!=t&&(this.gw("ActualUncheckedBorderColor",t),this.gg("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cx("CheckedBorderColor",null)},set:function(t){var e=this.ik;e!=t&&(this.gw("CheckedBorderColor",t),this.gg("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cx("ActualCheckedBorderColor",null)},set:function(t){var e=this.ig;e!=t&&(this.gw("ActualCheckedBorderColor",t),this.gg("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hu&&(e.b=this.hu.bo),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hu&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hu.bo,n))},n.prototype.ib=function(){if(null!=this.hu){var t=this.hv;this.hu.bo=!1;var e=this.hu.bo;this.gu("IsChecked",e),t!=e&&this.gg("IsChecked",t,e)}},n.prototype.b7=function(t,e){return 30},n.prototype.g1=function(){t.prototype.g1.call(this),this.hu},n.prototype.g8=function(){null!=this.r&&(this.ih=null!=this.il?this.il:this.r.jm,this.ii=null!=this.im?this.im:this.r.jn,this.ie=null!=this.ij?this.ij:this.r.i4,this.ig=null!=this.ik?this.ik:this.r.i5,null!=this.hu&&(this.hu.c=this.t,this.hu.bs=this.ih,this.hu.bt=this.ii,this.hu.bq=this.ie,this.hu.br=this.ig))},n.prototype.f9=function(){if(!this.hw){var t=this.hv;this.hu.bo=!0;var e=this.hu.bo;this.gu("IsChecked",e),t!=e&&this.gg("IsChecked",t,e)}this.gh(this.l(!0),this)},n.prototype.ic=function(t,e){if(this.hv)this.hu.bo=!0;else{if(this.hw)this.hu.bo=this.hv;else{var i=this.hv,n=this.hu.bo;this.gu("IsChecked",n),i!=n&&this.gg("IsChecked",i,n)}this.gh(this.l(!0),this)}},n.prototype.id=function(t,e,n,r){null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(e.b5(2,1,this.b7(this.r,r)),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.bn=!0,n.f=1,n.h=1,n.bp=i.DeviceUtils.g(10),n.af=i.DeviceUtils.g(20),n.z=i.DeviceUtils.g(20),t.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)),n.c=this.t,n.bo=this.hv,n.bm=i.runOn(this,this.ic),n.bs=this.ih,n.bt=this.ii,n.bq=this.ie,n.br=this.ig,this.hu!=n&&(this.hu=n)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.id(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.id(o,t,s,n)}},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"IsChecked":null!=this.hu&&(this.hu.bo=this.hv);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g7()}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hv=e.isChecked,this.h2=e.channel,this.h7=e.shorthandTitle},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hu&&(this.hu.bm=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hu&&(this.hu.bm=null)},n.prototype.ct=function(){var t=new We;return this.fz(t),null!=this.hu&&(t.l=this.hu.ag()),t},n.$t=i.markType(n,"ToolActionRadio",si.$),n}(si),Ci=function(t){function n(){var e=t.call(this)||this;return e.hy=null,e.hx=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("SelectedTextStyle",null)},set:function(t){var e=this.hw;e!=t&&(this.gw("SelectedTextStyle",t),this.gg("SelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.cx("ActualSelectedTextStyle",null)},set:function(t){var e=this.hv;e!=t&&(this.gw("ActualSelectedTextStyle",t),this.gg("ActualSelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cx("SelectedTextColor",null)},set:function(t){var e=this.h8;e!=t&&(this.gw("SelectedTextColor",t),this.gg("SelectedTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cw("ActualSelectedTextColor",null)},set:function(t){var e=this.h7;e!=t&&(this.gw("ActualSelectedTextColor",t),this.gg("ActualSelectedTextColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 17},n.prototype.av=function(t){return 6==t.aa||7==t.aa||1==t.aa},n.prototype.hu=function(){for(var t=0;t<this.actions.count;t++)if(6==this.actions._inner[t].aa){var e=this.actions._inner[t];if(e.hv)return e}return null},n.prototype.h1=function(){var t=this.hu();return null==t?"None":null!=t.h7?t.h7:null!=t.fa?t.fa:"1 Selected"},n.prototype.gf=function(e,i){t.prototype.gf.call(this,e,i),this.h4()},n.prototype.h4=function(){for(var t=0;t<this.actions.count;t++)if(6==this.actions._inner[t].aa){var e=this.actions._inner[t];null==e.h2&&(e.h2=this.c2)}},n.prototype.f4=function(t){if(6==t.aa&&null!=this.r){var e=t;null==e.h2&&(e.h2=this.c2)}},n.prototype.g8=function(){if(t.prototype.g8.call(this),null!=this.r){if(null!=this.hw)this.hv=this.hw;else{var e=this.r.am;if(null!=e){var i=e.a();i.f=e.f-2,this.hv=i}}this.h7=null!=this.h8?this.h8:null!=this.hk?this.hk:null}},n.prototype.b7=function(t,e){var n=this.hv||this.af(t);return t.v.q("00 Selected",n)+i.DeviceUtils.g(24)},n.prototype.f9=function(){this.r.g1(this)},n.prototype.fg=function(e,i){t.prototype.fg.call(this,e,i),6==e.aa&&"IsChecked"==i&&this.h6()},n.prototype.h6=function(){null!=this.hy&&(this.hy.bo=this.h1())},n.prototype.h5=function(t,e,n,r,o){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)&&2==e.bn){var s=this.b7(this.r,o),a=i.DeviceUtils.g(24),h=s-a;e.b5(2,1,h),e.bo(n),e.cd(n,2),e.cf(n,0),n.h=1,n.f=2,n.bn=!1,n.bm=!0,e.b5(3,1,a),e.bo(r),e.cd(r,3),e.cf(r,0),r.bs="ToolbarDrillDownIcon",r.br="ToolPanelIconCollection",r.f=1,r.h=1,r.af=i.DeviceUtils.g(24),r.z=i.DeviceUtils.g(24)}n.bo=this.h1(),null!=this.hv&&(n.bl=this.hv),n.bb=this.h7,r.bd=this.hk,r.bc=this.hk},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa){var s=[this.al(3),this.bj()?2:0];i.NativeUIComponent.aw(this.r.v.z(),[3,11],s,(function(e){r.hy=e[0],r.hx=e[1],r.h5(o,t,r.hy,r.hx,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else this.hy=t.bm(2),this.hx=t.bm(3),this.h5(o,t,this.hy,this.hx,n)},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"ActualSelectedTextColor":null!=this.hy&&(this.hy.bb=this.h7);break;case"ActualTextColor":null!=this.hx&&(this.hx.bd=this.hk,this.hx.bc=this.hk)}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;if(!i.stringIsNullOrEmpty(e.selectedTextStyle)){var n=i.FontStringUtil.a(e.selectedTextStyle);if(null!=n){var r=new i.FontInfo;null!=n.b&&(r.q=n.b),null!=n.c&&(r.t=n.c),null!=n.d&&(r.v=n.d),i.isNaN_(n.a)||(r.f=n.a),this.hw=r}}i.stringIsNullOrEmpty(e.selectedTextColor)||(this.h8=i.CSSColorUtil.g(e.selectedTextColor))},n.prototype.fh=function(){t.prototype.fh.call(this)},n.prototype.fr=function(){t.prototype.fr.call(this),this.hy=null,this.hx=null},n.prototype.ct=function(){var t=new Ke;return this.fz(t),null!=this.hy&&(t.m=this.hy.ag()),null!=this.hx&&(t.l=this.hx.ag()),t},n.$t=i.markType(n,"ToolActionRadioGroup",si.$),n}(si),ji=function(t){function n(){var e=t.call(this)||this;return e.hv=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hw",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.gg("Size",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cx("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.hu;e!=t&&(this.gw("IsGroupHeaderSeparator",t),this.gg("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 7},n.prototype.fm=function(e,i){t.prototype.fm.call(this,e,i),1==i.a||2==i.a?i.e=this.b2+this.hw+this.b3:i.d=this.b4+this.hw+this.b1},n.prototype.fs=function(t,e,n,r){t.ap=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fo=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.g6=function(t,e,n){1==n.a||2==n.a?t.af=this.hw:t.z=this.hw,t.bi=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),t.a9=this.hd,t.bk=this.ht},n.prototype.g1=function(){t.prototype.g1.call(this)},n.prototype.g8=function(){t.prototype.g8.call(this),null!=this.r&&(this.hd=null!=this.hl?this.hl:this.hu?this.r.i8:this.r.jg,1==this.r.u||2==this.r.u?(this.b2=i.isNaN_(this.cl)?this.r.b7:this.cl,this.b3=i.isNaN_(this.cm)?this.r.b8:this.cm,this.b4=i.isNaN_(this.cn)?this.r.b9:this.cn,this.b1=i.isNaN_(this.ck)?this.r.b6:this.ck):(null==this.h&&this.bc()?(this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(10):this.cm):(this.b2=i.isNaN_(this.cl)?this.r.cb:this.cl,this.b3=i.isNaN_(this.cm)?this.r.cc:this.cm),this.b4=i.isNaN_(this.cn)?this.r.cd:this.cn,this.b1=i.isNaN_(this.ck)?this.r.ca:this.ck))},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"Size":null!=this.r&&this.r.g0();break;case"IsGroupHeaderSeparator":this.g7()}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hw=e.size,this.hu=e.isGroupHeaderSeparator},n.prototype.ct=function(){var t=new Xe;return this.fz(t),t},n.$t=i.markType(n,"ToolActionSeparator",si.$),n}(si),wi=function(t){function n(){var e=t.call(this)||this;return e.hu=null,e.hv=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("ItemSpacing",0)},set:function(t){var e=this.hw;e!=t&&(this.gw("ItemSpacing",t),this.gg("ItemSpacing",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 10},n.prototype.fm=function(e,n){t.prototype.fm.call(this,e,n);var r=new ye;r.a=1;for(var o=0,s=0;s<this.actions.count;s++)0==this.actions._inner[s].ht&&(s>0&&(o+=this.hw),i.isNaN_(this.actions._inner[s].b2)&&this.actions._inner[s].g7(),this.actions._inner[s].fl(e,r),o+=r.e);n.e=this.b2+o+this.b3,i.isNaN_(this.ca)||(n.d=this.ca),this.hv||(this.hv=!0,this.f6())},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa),i.NativeUIComponent.au(this.r.v.z(),13,this.bj()?2:0,(function(e){return r.h0(o,t,e,n)}));else{var s=t.bm(0);this.h0(o,t,s,n)}},n.prototype.h0=function(t,e,n,r){0==e.bn&&(e.bo(n),n.bw=1,n.f=0,n.h=1),e.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),n.c=this.t,n.cn=this.r.j6,n.bv=this.r.p,n.cd=this.r.jr,null==this.h?n.ca=this.r.jo:n.ca=this.r.j4,n.cl=this.r.j4,n.ce=this.r.ju,n.cg=this.r.jx,n.ck=this.r.j3,n.bx=this.r.am,n.cq=this.r.j9,n.cr=this.r.ka,n.cb=this.r.jp,n.cc=this.r.jq,n.cj=this.r.j2,n.ch=this.r.j0,n.ci=this.r.j1,n.cm=this.r.j5,n.cf=this.r.jw,n.bz=this.r.as,n.b9=this.r.i1,n.co=this.r.j7,n.cp=this.r.j8,this.hy(n),n.b1=this.hw,n.bu=this.actions,n.bt=i.runOn(this,this.hz),this.hu!=n&&(this.hu=n)},n.prototype.hz=function(t,e){this.gs(e.a,e.b)},n.prototype.g8=function(){switch(t.prototype.g8.call(this),this.t){case 6:case 5: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.b4=i.isNaN_(this.cn)?0:this.cn,this.b1=i.isNaN_(this.ck)?0:this.ck;break;default:this.b2=i.isNaN_(this.cl)?0:this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b4=i.isNaN_(this.cn)?0:this.cn,this.b1=i.isNaN_(this.ck)?0:this.ck}},n.prototype.hy=function(t){null!=t&&(-1!=this.cq?t.b2=this.cq:null!=this.r?t.b2=this.r.c5:t.b2=-1,t.z=-1==t.b2?NaN:t.b2)},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"ItemSpacing":null!=this.hu&&(this.hu.b1=this.hw);break;case"SubPanelRowHeight":this.hy(this.hu)}},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hu&&(this.hu.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hu&&(this.hu.bt=null)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hw=e.itemSpacing},n.prototype.ct=function(){var t=new Qe;return this.fz(t),null!=this.hu&&(t.l=this.hu.ag()),t},n.$t=i.markType(n,"ToolActionSubPanel",si.$),n}(si),Pi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hu=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 15},Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("Value",null)},set:function(t){var e=this.hw;e!=t&&(this.gw("Value",t),this.gg("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hu&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hv(),n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hv=function(){return this.hu.b8},n.prototype.l=function(t){var e=new be;return e.g=this.c2,e.a=this.aa,e.c=t,e.h=this.hv(),e},n.prototype.hy=function(t,e){this.hw=this.hv();var i=this.l(!0);this.gh(i,this)},n.prototype.hz=function(t,e,n,r,o){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=this.b7(this.r,o);e.b5(2,1,s),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=s,n.bq=3,n.bv=1,n.f=2,n.h=1,n.bw=0,n.bp=2,n.b3=!1}n.c=this.t,n.cf=this.a9?this.he:this.hk,n.bl=this.ae,n.b1=this.a9,n.bt=i.runOn(this,this.hy),n.b8=this.hw,this.hu!=n&&(this.hu=n)},n.prototype.gj=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),2,this.al(2),(function(i){var s=i;r.hz(o,t,s,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.hz(o,t,s,e,n)}},n.prototype.g1=function(){t.prototype.g1.call(this),null!=this.hu&&(this.hu.bq=this.ak(this.v))},n.prototype.g8=function(){null!=this.hu&&(this.hu.c=this.t)},n.prototype.go=function(e,i,n){switch(t.prototype.go.call(this,e,i,n),e){case"IsDisabled":null!=this.hu&&(this.hu.b1=this.a9,this.hu.cf=this.a9?this.he:this.hk)}},n.prototype.f9=function(){null==this.hu||this.a9||this.hu.a0()},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hw=e.value},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hu&&(this.hu.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hu&&(this.hu.bt=null)},n.prototype.ct=function(){var t=new Ye;return this.fz(t),null!=this.hu&&(t.l=this.hu.ag()),t},n.$t=i.markType(n,"ToolActionTextInput",si.$),n}(si),xi=function(t){function n(){var e=t.call(this,si.$,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(si.$)),n}(i.ObservableCollection$1),Ti=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 xi,e.e=new xi,e.f=new xi,e.k=r.l,e.ab=null,e.b1=r.b2,e.fa=null,e.fn=null,e.fe=null,e.fm=null,e.fi=null,e.fp=null,e.fd=null,e.fg=null,e.fr=null,e.fq=null,e.bb=NaN,e.bc=NaN,e.fj=null,e.fk=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.fh=null,e.e9=null,e.fl=null,e.fs=null,e.fb=null,e.ft=null,e.fc=null,e.bt=-1,e.bu=-1,e.fo=null,e.ff=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.dz));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.d1));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.d2)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new ii;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.d7=function(t){this.s=t,this.s.dc=this,this.s.z=0==this.w?1:this.w;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.dy)),this.s.p=this.t,this.e5(),this.ej()},r.prototype.dy=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.eg=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.ee=function(){var t=this.target;this.ef(t,t)},r.prototype.ea=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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("Orientation",i.enumGetBox(fe,e),i.enumGetBox(fe,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.eb("Target",e,t)},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.eb("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f9",{get:function(){return this.fn},set:function(t){var e=this.fn;this.fn=t,e!=this.fn&&this.eb("SubmenuBackgroundColor",e,this.fn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f0",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.eb("GroupHeaderBackgroundColorPropertyName",e,this.fe)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f8",{get:function(){return this.fm},set:function(t){var e=this.fm;this.fm=t,e!=this.fm&&this.eb("SeparatorBackgroundColor",e,this.fm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f4",{get:function(){return this.fi},set:function(t){var e=this.fi;this.fi=t,e!=this.fi&&this.eb("HoverBackgroundColor",e,this.fi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gb",{get:function(){return this.fp},set:function(t){var e=this.fp;this.fp=t,e!=this.fp&&this.eb("TextColor",e,this.fp)},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.eb("DisabledTextColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f2",{get:function(){return this.fg},set:function(t){var e=this.fg;this.fg=t,e!=this.fg&&this.eb("GroupHeaderTextColor",e,this.fg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gd",{get:function(){return this.fr},set:function(t){var e=this.fr;this.fr=t,e!=this.fr&&this.eb("ToolTipTextColor",e,this.fr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gc",{get:function(){return this.fq},set:function(t){var e=this.fq;this.fq=t,e!=this.fq&&this.eb("ToolTipBackgroundColor",e,this.fq)},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.eb("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.eb("ToolTipElevation",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.fj},set:function(t){var e=this.fj;this.fj=t,e!=this.fj&&this.eb("IconFill",e,this.fj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f6",{get:function(){return this.fk},set:function(t){var e=this.fk;this.fk=t,e!=this.fk&&this.eb("IconStroke",e,this.fk)},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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("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.eb("ShowTooltipOnHover",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bv",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.eb("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.eb("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.eb("HighlightRadius",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f3",{get:function(){return this.fh},set:function(t){var e=this.fh;this.fh=t,e!=this.fh&&this.eb("HighlightColor",e,this.fh)},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.eb("AccentColor",e,this.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f7",{get:function(){return this.fl},set:function(t){var e=this.fl;this.fl=t,e!=this.fl&&this.eb("MenuArrowStroke",e,this.fl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ge",{get:function(){return this.fs},set:function(t){var e=this.fs;this.fs=t,e!=this.fs&&this.eb("UncheckedBackgroundColor",e,this.fs)},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.eb("CheckedBackgroundColor",e,this.fb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gf",{get:function(){return this.ft},set:function(t){var e=this.ft;this.ft=t,e!=this.ft&&this.eb("UncheckedBorderColor",e,this.ft)},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.eb("CheckedBorderColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bz",{get:function(){return null!=this.s?this.s.c5:-1},set:function(t){this.bt=t,null!=this.s&&(this.s.c5=this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b0",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.eb("SubPanelRowHeight",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ga",{get:function(){return this.fo},set:function(t){var e=this.fo;this.fo=t,e!=this.fo&&this.eb("SubtitleTextColor",e,this.fo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f1",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.eb("GroupHeaderSubtitleTextColor",e,this.ff)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bw",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.eb("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.eb("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.eb("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.dz=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.d0))}}}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 g=d;g.propertyChanged=i.delegateCombine(g.propertyChanged,i.runOn(this,this.d0))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.d9()},r.prototype.d1=function(t,e){this.e8()},r.prototype.d2=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.d0))}this.actualActions._inner[n].d=null}},r.prototype.e8=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.e7=function(){null!=this.s&&this.s.ho(this.z);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].g3(this.z)},r.prototype.d0=function(t,e){},r.prototype.d9=function(){this.ej()},r.prototype.ej=function(){this.an||(null!=this.d?(this.an=!0,this.d.enqueueAction(i.runOn(this,this.d5))):this.ao=!0)},r.prototype.d5=function(){this.an&&(this.an=!1,this.ek(),null!=this.s&&this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.ek=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.es)?(i.stringIsNullOrEmpty(c.ds)?i.stringIsNullOrEmpty(c.dp)||(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.dp,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dp,o=!1,s=!0,h=0)):(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.ds,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.ds,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.es,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].gm(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.eq&&a.eq==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.dx){if(null!=a.eq&&a.eq==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.dx&&a.dx==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.d6=function(){this.an&&this.d5(),null!=this.s&&this.s.ge()},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.eb=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.eh(t,e,n)},r.prototype.eh=function(t,e,i){switch(t){case"CellTextStyle":null!=this.af&&null!=this.p.l&&this.af.w(this.p.l),this.e5();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":case"AccentColor":case"SubPanelRowHeight":this.e5();break;case"Target":var n=i,r=e;this.ef(r,n);break;case"BaseTheme":this.e8();break;case"Density":this.e7();break;case"ExecutionContext":null!=this.d&&this.ao&&(this.ej(),this.ao=!1)}},r.prototype.e5=function(){null!=this.s&&(this.s.a6=this.aw,this.s.a7=this.ax,this.s.jo=this.fv,this.s.j6=this.gb,this.s.jr=this.fy,this.s.j4=this.f9,this.s.ju=this.f0,this.s.jx=this.f2,this.s.j3=this.f8,this.s.jz=this.f4,this.s.u=this.m,this.s.j8=this.gd,this.s.j7=this.gc,this.s.ct=this.bp,this.s.cu=this.bq,this.s.j0=this.f5,this.s.j1=this.f6,this.s.ap=this.af,this.s.as=this.aj,this.s.ar=this.ai,this.s.cm=this.bi,this.s.cn=this.bj,this.s.co=this.bk,this.s.cl=this.bh,this.s.cq=this.bm,this.s.cr=this.bn,this.s.cs=this.bo,this.s.cp=this.bl,this.s.jy=this.f3,this.s.ci=this.bf,this.s.cj=this.bg,this.s.j2=this.f7,this.s.j9=this.ge,this.s.ka=this.gf,this.s.jp=this.fw,this.s.jq=this.fx,this.s.j5=this.ga,this.s.jw=this.f1,this.s.i1=this.fu,this.s.c6=this.b0,this.s.c2=this.bw,this.s.c1=this.bv,this.s.a8=this.ay,this.s.x=this.v,-1!=this.bt&&(this.s.c5=this.bt))},r.prototype.av=function(){return null!=this.s&&this.s.a5},r.prototype.gh=function(){return null!=this.s?this.s.kd():i.Size.empty},r.prototype.ef=function(t,e){this.d3(),this.ab=e,null!=t&&(t.commandCompleted=null,t.dismissContextAccessor(this.aa),null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.ej()),null!=e&&(e.commandCompleted=i.runOn(this,this.eg),e.invalidateActions=i.runOn(this,this.ee),this.aa=new ki(this,!1),e.provideContextAccessor(this.aa),this.e6(),e.addCommandStateChangedListener(this),this.ej())},r.prototype.e6=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];si.ay(r,o)||(this.autoGeneratedActions._inner[n]=si.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(si.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.eb("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.d3=function(){null!=this.s&&this.s.f9()},r.prototype.ed=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new he)},r.prototype.ec=function(){null!=this.subMenuClosing&&this.subMenuClosing(this,new le)},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.hv=n;break;case 5:a.hw=n;break;case 6:a.hv=n}break;case 0:a.ht=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a9=n}}},r.prototype.el=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.ee==e&&(n.ee=null,n.ee=e),null!=n.actions&&n.actions.count>0&&this.el(n.actions,e)}},r.prototype.en=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.el(this.actualActions,e)},r.prototype.ct=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.ep=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.el(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.em=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.el(this.actualActions,e)},r.prototype.cs=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.eo=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.el(this.actualActions,e)},r.prototype.ca=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.es=function(t,e){i.stringIsNullOrEmpty(t)||Si.g9(this.t,t,e)},r.prototype.fz=function(t){return i.stringIsNullOrEmpty(t)?null:Si.jt(this.t,t)},r.prototype.ey=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),Si.g9(this.t,t,e))},r.prototype.b7=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Si.jt(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.er=function(t,e){i.stringIsNullOrEmpty(t)||Si.g7(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:Si.b(this.t,t)},r.prototype.ex=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),Si.g7(this.t,t,e))},r.prototype.b6=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Si.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.ew=function(t,e){i.stringIsNullOrEmpty(t)||Si.hh(this.t,t,e)},r.prototype.bd=function(t){return i.stringIsNullOrEmpty(t)?NaN:Si.ch(this.t,t)},r.prototype.e3=function(t,e){i.stringIsNullOrEmpty(t)||Si.hj(this.t,t,e)},r.prototype.be=function(t){return i.stringIsNullOrEmpty(t)?NaN:Si.ch(this.t,t)},r.prototype.e1=function(t,e){i.stringIsNullOrEmpty(t)||Si.hh(this.t,t,e)},r.prototype.by=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Si.c4(this.t,t)},r.prototype.e2=function(t,e){i.stringIsNullOrEmpty(t)||Si.hj(this.t,t,i.typeGetValue(e))},r.prototype.bx=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Si.c4(this.t,t)},r.prototype.e4=function(t,e){i.stringIsNullOrEmpty(t)||Si.hl(this.t,t,e)},r.prototype.cu=function(t){return i.stringIsNullOrEmpty(t)?null:Si.ew(this.t,t)},r.prototype.eq=function(t,e){i.stringIsNullOrEmpty(t)||Si.g5(this.t,t,e)},r.prototype.au=function(t){return!i.stringIsNullOrEmpty(t)&&Si.a3(this.t,t)},r.prototype.et=function(t,e){i.stringIsNullOrEmpty(t)||Si.hb(this.t,t,e)},r.prototype.gg=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):Si.kc(this.t,t)},r.prototype.ez=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),Si.hb(this.t,t,e))},r.prototype.b8=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Si.kc(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.ev=function(t,e){i.stringIsNullOrEmpty(t)||Si.hf(this.t,t,e)},r.prototype.b5=function(t){return i.stringIsNullOrEmpty(t)?null:Si.db(this.t,t)},r.prototype.e0=function(t,e){i.stringIsNullOrEmpty(t)||Si.hf(this.t,t,e)},r.prototype.b9=function(t){return i.stringIsNullOrEmpty(t)?null:Si.db(this.t,t)},r.prototype.eu=function(t,e){i.stringIsNullOrEmpty(t)||Si.hd(this.t,t,e)},r.prototype.b4=function(t){return i.stringIsNullOrEmpty(t)?null:Si.c9(this.t,t)},r.prototype.b3=function(){return null==this.s?null:this.s.c7()},r.prototype.cr=function(){return this.b3().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.b2=null,r}(i.Base),ki=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.fz(t):this.a.b7(t);case 1:return this.b?this.a.b(t):this.a.b6(t);case 2:return this.b?this.a.gg(t):this.a.b8(t);case 3:return this.b,this.a.cu(t);case 4:return this.b?this.a.bd(t):this.a.be(t);case 6:return this.b?this.a.by(t):this.a.bx(t);case 7:return this.b?this.a.b5(t):this.a.b9(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.es(t,n):this.a.ey(t,n);break;case 1:this.b?this.a.er(t,n):this.a.ex(t,n);break;case 2:this.b?this.a.et(t,n):this.a.ez(t,n);break;case 3:this.b,this.a.e4(t,n);break;case 4:this.b?this.a.ew(t,n):this.a.e1(t,n);break;case 6:this.b?this.a.e3(t,i.typeGetValue(n)):this.a.e2(t,n);break;case 7:this.b?this.a.ev(t,n):this.a.e0(t,n);break;case 5:this.b,this.a.eq(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),Oi=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),Si=function(t){function r(){var e=t.call(this)||this;e.v=null,e.at=null,e.dc=null,e.o=null,e.aw=!1,e.au=null,e.k=new ye,e.propertyChanged=null,e.i=new xi,e.contentRefreshed=null,e.az=!0,e.a0=!0,e.cw=-1,e.a1=!1,e.ay=!1,e.ba=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(si.$),0),e.bb=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(si.$),0),e.a9=new i.Dictionary$2(i.String_$type,si.$,0),e.ax=!1,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.ie=null,e.ht=null,e.iu=null,e.h7=null,e.ij=null,e.hx=null,e.it=null,e.h6=null,e.ik=null,e.hy=null,e.ip=null,e.h2=null,e.f=null,e.bs=Number.POSITIVE_INFINITY,e.iw=null,e.h9=null,e.h8=null,e.iv=null,e.ii=null,e.hw=null,e.im=null,e.h0=null,e.il=null,e.hz=null,e.iy=null,e.ib=null,e.ix=null,e.ia=null,e.b1=NaN,e.bn=NaN,e.b2=NaN,e.bo=NaN,e.iq=null,e.h3=null,e.ir=null,e.h4=null,e.by=NaN,e.bk=NaN,e.bz=NaN,e.bl=NaN,e.b0=NaN,e.bm=NaN,e.bx=NaN,e.bj=NaN,e.bu=NaN,e.bg=NaN,e.bv=NaN,e.bh=NaN,e.bw=NaN,e.bi=NaN,e.bt=NaN,e.bf=NaN,e.s=r.t,e.onCommand=null,e.cy=-1,e.cz=-1,e.bq=NaN,e.be=NaN,e.bp=NaN,e.bd=NaN,e.io=null,e.h1=null,e.hs=null,e.hr=null,e.is=null,e.h5=null,e.iz=null,e.ic=null,e.ig=null,e.hu=null,e.i0=null,e.id=null,e.ih=null,e.hv=null,e.cx=-1,e.cv=500,e.w=1,e.br=0,e.g=0,e.onContextChanged=null,e.onContextSwapped=null,e.drillDownRequested=null,e.drillUpRequested=null,e.ac=0,Oe.k();var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.f5)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),Ze.g();var s=new ni;return s.c=e,e.v=s,e.v.ah(),e.hq(),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.gn))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.gn))}null!=this.onContextSwapped&&this.onContextSwapped(this,new ge)}},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.gf=function(t){this.f=t,-1!=this.cy&&(this.f.ef=this.cy),this.f.a0=this.w;var e=this.f;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.f4));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.fz)),this.f.ad=this.u,this.f.b0=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.f0));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.f3));var s=this.f;s.itemRecycled=i.delegateCombine(s.itemRecycled,i.runOn(this,this.f2));var a=this.f;a.itemRebind=i.delegateCombine(a.itemRebind,i.runOn(this,this.f1)),this.f.c9=this.ck,this.gx()},r.prototype.gr=function(){null!=this.dc&&(null!==i.typeCast(r.$,this.dc)&&this.dc.gr(),null!==i.typeCast(Ti.$,this.dc)&&this.dc.ed())},r.prototype.gq=function(){null!=this.dc&&(null!==i.typeCast(r.$,this.dc)&&this.dc.gq(),null!==i.typeCast(Ti.$,this.dc)&&this.dc.ec())},r.prototype.fz=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new Je)},r.prototype.f0=function(t,e){var n=e.c,r=new ye;this.gt(r),n.fl(this,r),0==n.ht?i.isNaN_(r.d)?e.a=this.f.c6:e.a=r.d:e.a=0},r.prototype.f3=function(t,e){var n=e.c,r=new ye;this.gt(r),n.fl(this,r),0==n.ht?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.f2=function(t,e){e.rowObject.fq()},r.prototype.f1=function(t,e){e.rowObject.fp()},r.prototype.f4=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new ye;this.gt(r),i.fl(this,r),i.gi(n,this,e,r)}else i.gi(n,this,e,this.k)},r.prototype.gl=function(t){this.bs=t.width,this.gx(),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.gp("Actions",e,this.i)},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.gp("ShowOnHover",e,this.az)},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.gp("ShowTooltipOnHover",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.gp("DropdownClickBuffer",e,this.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a8",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.gp("StopPropagation",e,this.a1)},enumerable:!1,configurable:!0}),r.prototype.f5=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.gg))}l.fh(),l.d=null,l.gv(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 g=d;g.propertyChanged=i.delegateCombine(g.propertyChanged,i.runOn(this,this.gg))}d.d=this.c,d.gv(this)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.hp(this.actions),this.gk()},r.prototype.f6=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.gg))}this.actions._inner[n].fh(),this.actions._inner[n].d=null,this.actions._inner[n].gv(null)}},r.prototype.gk=function(){this.gx(),this.v.ae()},r.prototype.gx=function(){this.ay||(this.ay=!0,this.c.enqueueAction(i.runOn(this,this.gb)))},r.prototype.gz=function(){this.ay=!0,this.gb()},r.prototype.gb=function(){if(this.ay){this.ay=!1,this.f7(),this.g3();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.gc()}},r.prototype.f7=function(){this.ba.clear(),this.bb.clear(),this.a9.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].gv(this),null!=this.i._inner[t].c2&&this.a9.item(this.i._inner[t].c2,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].ex)if(this.a9.containsKey(this.i._inner[e].ex))this.ba.containsKey(this.i._inner[e].ex)||this.ba.item(this.i._inner[e].ex,new i.List$1(si.$,0)),this.ba.item(this.i._inner[e].ex).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].h2;null==r&&(r="null"),this.bb.containsKey(r)||this.bb.item(r,new i.List$1(si.$,0)),this.bb.item(r).add(this.i._inner[n])}},r.prototype.a4=function(t){return null!=t.c2&&this.ba.containsKey(t.c2)},r.prototype.h=function(t){return this.a9.containsKey(t)?this.a9.item(t):null},r.prototype.bc=function(t){return null==t.c2?null:this.ba.containsKey(t.c2)?this.ba.item(t.c2):null},r.prototype.l=function(t){var e=new ye;return this.gt(e),t.fl(this,e),this.gi(this.k,e),e},r.prototype.gt=function(t){t.a=this.u,t.c=this.bs},r.prototype.gi=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.g3=function(){this.k=new ye,this.k.a=this.u,this.k.c=this.bs},r.prototype.kd=function(){this.bs;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].ht&&(n>0&&(e+=this.ck),i.isNaN_(r.d)?e+=this.b5:e+=r.d)}else{if(2==this.u)return this.f.ia();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].ht&&(o>0&&(t+=this.ck),i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].ht&&(e=i.isNaN_(s.d)?this.b5:s.d)}}return new i.Size(1,t,e)},r.prototype.gc=function(){null!=this.f&&this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.ge=function(){this.ay&&this.gb(),null!=this.f&&this.f.f2()},r.prototype.g0=function(){null!=this.f&&this.f.hc()},r.prototype.gy=function(t){var e=t.h2;null==e&&(e="null");var i=t.c2;if(null!=this.bb&&this.bb.containsKey(e))for(var n=0;n<this.bb.item(e).count;n++)this.bb.item(e)._inner[n].c2!=i&&this.bb.item(e)._inner[n].ib()},r.prototype.gg=function(t,e){"ExecutionContext"!=e.propertyName&&this.gk()},r.prototype.f8=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fh()},r.prototype.gu=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.gg))}this.actions._inner[t].d=null}},r.prototype.notifySizeChanged=function(){this.v.ad()},r.prototype.onAttachedToUI=function(){this.ax=!1},r.prototype.onDetachedFromUI=function(){this.ax=!0,this.f8()},r.prototype.destroy=function(){this.provideContainer(null),this.f8()},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.gp("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.gp("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.gp("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.gp("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.gp("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.gp("ActualGroupHeaderTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),r.prototype.gp=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gv(t,e,n)},r.prototype.gv=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":case"AccentColor":case"SubPanelRowHeight":this.hq();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":case"ActualAccentColor":this.hp(this.actions);break;case"ActualBackgroundColor":this.hn();break;case"ActualDensity":this.hm(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.c9=this.ck);break;case"Actions":if(null!=n){var u=n;u.collectionChanged=i.delegateRemove(u.collectionChanged,i.runOn(this,this.f5)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.f6));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.gg))}p.fh(),p.d=null,p.gv(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.f5)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.f6));try{for(var g=e.__values(i.fromEnum(d)),b=g.next();!b.done;b=g.next()){var y=b.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,y)){var m=y;m.propertyChanged=i.delegateCombine(m.propertyChanged,i.runOn(this,this.gg))}y.d=this.c,y.gv(this)}}catch(t){a={error:t}}finally{try{b&&!b.done&&(h=g.return)&&h.call(g)}finally{if(a)throw a.error}}}this.hp(this.actions),this.gx();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].bg=this.a8}},r.prototype.hq=function(){switch(this.z){case 0:case 1:case 2:this.jj=null!=this.j6?this.j6:i.BrushUtil.l(255,24,29,31),this.ji=null!=this.j5?this.j5:i.BrushUtil.l(102,24,29,31),this.i6=null!=this.jr?this.jr:i.BrushUtil.l(102,0,0,0),this.i3=null!=this.jo?this.jo:i.BrushUtil.l(255,255,255,255),this.jh=null!=this.j4?this.j4:i.BrushUtil.l(255,255,255,255),this.i7=null!=this.ju?this.ju:i.BrushUtil.l(255,237,239,245),this.ja=null!=this.jx?this.jx:i.BrushUtil.l(255,142,143,147),this.i9=null!=this.jw?this.jw:i.BrushUtil.l(102,142,143,147),this.jg=null!=this.j3?this.j3:i.BrushUtil.l(255,237,239,245),this.i8=null!=this.jv?this.jv:i.BrushUtil.l(25,0,0,0),this.jc=null!=this.jz?this.jz:i.BrushUtil.l(51,178,191,220),this.jl=null!=this.j8?this.j8:i.BrushUtil.l(255,0,0,0),this.jd=null!=this.j0?this.j0:i.BrushUtil.l(255,0,0,0),this.je=null!=this.j1?this.j1:i.BrushUtil.l(255,0,0,0),this.jk=null!=this.j7?this.j7:i.BrushUtil.l(255,237,239,245),this.ce=i.isNaN_(this.ct)?8:this.ct,this.cf=i.isNaN_(this.cu)?4:this.cu,this.cb=i.isNaN_(this.cq)?0:this.cq,this.cc=i.isNaN_(this.cr)?0:this.cr,this.cd=i.isNaN_(this.cs)?0:this.cs,this.ca=i.isNaN_(this.cp)?0:this.cp,this.b7=i.isNaN_(this.cm)?0:this.cm,this.b8=i.isNaN_(this.cn)?0:this.cn,this.b9=i.isNaN_(this.co)?i.DeviceUtils.g(10):this.co,this.b6=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,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.jb=null!=this.jy?this.jy:i.BrushUtil.l(255,110,137,247),this.b3=i.isNaN_(this.ci)?6:this.ci,this.b4=i.isNaN_(this.cj)?1:this.cj,this.jf=null!=this.j2?this.j2:i.BrushUtil.l(255,0,0,0),this.jm=this.j9,this.jn=this.ka,this.i4=this.jp,this.i5=this.jq,this.c0=-1!=this.c2?this.c2:500,this.i2=null!=this.i1?this.i1:null;break;case 5:case 3:this.jj=null!=this.j6?this.j6:i.BrushUtil.l(255,24,29,31),this.ji=null!=this.j5?this.j5:i.BrushUtil.l(102,24,29,31),this.i6=null!=this.jr?this.jr:i.BrushUtil.l(102,0,0,0),this.i3=null!=this.jo?this.jo:i.BrushUtil.l(255,255,255,255),this.jh=null!=this.j4?this.j4:i.BrushUtil.l(255,255,255,255),this.i7=null!=this.ju?this.ju:i.BrushUtil.l(255,237,239,245),this.ja=null!=this.jx?this.jx:i.BrushUtil.l(255,142,143,147),this.i9=null!=this.jw?this.jw:i.BrushUtil.l(102,142,143,147),this.jg=null!=this.j3?this.j3:i.BrushUtil.l(255,237,239,245),this.i8=null!=this.jv?this.jv:i.BrushUtil.l(25,0,0,0),this.jc=null!=this.jz?this.jz:i.BrushUtil.l(51,178,191,220),this.jl=null!=this.j8?this.j8:i.BrushUtil.l(255,0,0,0),this.jd=null!=this.j0?this.j0:i.BrushUtil.l(255,0,0,0),this.je=null!=this.j1?this.j1:i.BrushUtil.l(255,0,0,0),this.jk=null!=this.j7?this.j7:i.BrushUtil.l(255,237,239,245),this.ce=i.isNaN_(this.ct)?8:this.ct,this.cf=i.isNaN_(this.cu)?4:this.cu,this.cb=i.isNaN_(this.cq)?0:this.cq,this.cc=i.isNaN_(this.cr)?0:this.cr,this.cd=i.isNaN_(this.cs)?0:this.cs,this.ca=i.isNaN_(this.cp)?0:this.cp,this.b7=i.isNaN_(this.cm)?i.DeviceUtils.g(5):this.cm,this.b8=i.isNaN_(this.cn)?i.DeviceUtils.g(5):this.cn,this.b9=i.isNaN_(this.co)?i.DeviceUtils.g(10):this.co,this.b6=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,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.jb=null!=this.jy?this.jy:i.BrushUtil.l(255,110,137,247),this.b3=i.isNaN_(this.ci)?6:this.ci,this.b4=i.isNaN_(this.cj)?1:this.cj,this.jf=null!=this.j2?this.j2:i.BrushUtil.l(255,0,0,0),this.jm=this.j9,this.jn=this.ka,this.i4=this.jp,this.i5=this.jq,this.c0=-1!=this.c2?this.c2:500,this.i2=null!=this.i1?this.i1:null;break;case 6:case 4:this.jj=null!=this.j6?this.j6:i.BrushUtil.l(255,255,255,255),this.ji=null!=this.j5?this.j5:i.BrushUtil.l(102,255,255,255),this.i6=null!=this.jr?this.jr:i.BrushUtil.l(102,255,255,255),this.i3=null!=this.jo?this.jo:i.BrushUtil.l(255,55,63,86),this.jh=null!=this.j4?this.j4:i.BrushUtil.l(255,55,63,86),this.i7=null!=this.ju?this.ju:i.BrushUtil.l(255,44,50,70),this.ja=null!=this.jx?this.jx:i.BrushUtil.l(255,255,255,255),this.i9=null!=this.jw?this.jw:i.BrushUtil.l(102,255,255,255),this.jg=null!=this.j3?this.j3:i.BrushUtil.l(255,44,50,70),this.i8=null!=this.jv?this.jv:i.BrushUtil.l(25,0,0,0),this.jc=null!=this.jz?this.jz:i.BrushUtil.l(25,105,136,255),this.jl=null!=this.j8?this.j8:i.BrushUtil.l(255,255,255,255),this.jd=null!=this.j0?this.j0:i.BrushUtil.l(255,255,255,255),this.je=null!=this.j1?this.j1:i.BrushUtil.l(255,255,255,255),this.jk=null!=this.j7?this.j7:i.BrushUtil.l(255,44,50,70),this.ce=i.isNaN_(this.ct)?8:this.ct,this.cf=i.isNaN_(this.cu)?4:this.cu,this.cb=i.isNaN_(this.cq)?0:this.cq,this.cc=i.isNaN_(this.cr)?0:this.cr,this.cd=i.isNaN_(this.cs)?0:this.cs,this.ca=i.isNaN_(this.cp)?0:this.cp,this.b7=i.isNaN_(this.cm)?i.DeviceUtils.g(5):this.cm,this.b8=i.isNaN_(this.cn)?i.DeviceUtils.g(5):this.cn,this.b9=i.isNaN_(this.co)?i.DeviceUtils.g(10):this.co,this.b6=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,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.jb=null!=this.jy?this.jy:i.BrushUtil.l(255,110,137,247),this.b3=i.isNaN_(this.ci)?6:this.ci,this.b4=i.isNaN_(this.cj)?1:this.cj,this.jf=null!=this.j2?this.j2:i.BrushUtil.l(255,255,255,255),this.jm=this.j9,this.jn=this.ka,this.i4=this.jp,this.i5=this.jq,this.c0=-1!=this.c2?this.c2:500,this.i2=null!=this.i1?this.i1:null}},r.prototype.hp=function(t){for(var e=0;e<t.count;e++)t._inner[e].g7(),this.hp(t._inner[e].actions)},r.prototype.hm=function(t){for(var e=0;e<t.count;e++)t._inner[e].g3(this.ad),this.hm(t._inner[e].actions)},r.prototype.hn=function(){null!=this.v.r&&i.NativeUI.n(this.v.x,this.i3)},Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.gp("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.gp("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.gp("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},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.gp("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i3",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.gp("ActualBackgroundColor",e,this.ht)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j4",{get:function(){return this.iu},set:function(t){var e=this.iu;this.iu=t,e!=this.iu&&this.gp("SubmenuBackgroundColor",e,this.iu)},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.gp("ActualSubmenuBackgroundColor",e,this.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ju",{get:function(){return this.ij},set:function(t){var e=this.ij;this.ij=t,e!=this.ij&&this.gp("GroupHeaderBackgroundColor",e,this.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i7",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.gp("ActualGroupHeaderBackgroundColor",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j3",{get:function(){return this.it},set:function(t){var e=this.it;this.it=t,e!=this.it&&this.gp("SeparatorBackgroundColor",e,this.it)},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.gp("ActualSeparatorBackgroundColor",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jv",{get:function(){return this.ik},set:function(t){var e=this.ik;this.ik=t,e!=this.ik&&this.gp("GroupHeaderSeparatorBackgroundColor",e,this.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i8",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.gp(r.dp,e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jz",{get:function(){return this.ip},set:function(t){var e=this.ip;this.ip=t,e!=this.ip&&this.gp("HoverBackgroundColor",e,this.ip)},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.gp("ActualHoverBackgroundColor",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j6",{get:function(){return this.iw},set:function(t){var e=this.iw;this.iw=t,e!=this.iw&&this.gp("TextColor",e,this.iw)},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.gp("ActualTextColor",e,this.h9)},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.gp("ActualSubtitleTextColor",e,this.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j5",{get:function(){return this.iv},set:function(t){var e=this.iv;this.iv=t,e!=this.iv&&this.gp("SubtitleTextColor",e,this.iv)},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.gp("DisabledTextColor",e,this.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i6",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.gp("ActualDisabledTextColor",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jx",{get:function(){return this.im},set:function(t){var e=this.im;this.im=t,e!=this.im&&this.gp("GroupHeaderTextColor",e,this.im)},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.gp("ActualGroupHeaderTextColor",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jw",{get:function(){return this.il},set:function(t){var e=this.il;this.il=t,e!=this.il&&this.gp("GroupHeaderSubtitleTextColor",e,this.il)},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.gp("ActualGroupHeaderSubtitleTextColor",e,this.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.iy},set:function(t){var e=this.iy;this.iy=t,e!=this.iy&&this.gp("ToolTipTextColor",e,this.iy)},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.gp("ActualToolTipTextColor",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.ix},set:function(t){var e=this.ix;this.ix=t,e!=this.ix&&this.gp("ToolTipBackgroundColor",e,this.ix)},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.gp("ActualToolTipBackgroundColor",e,this.ia)},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.gp("ToolTipCornerRadius",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.gp("ActualToolTipCornerRadius",e,this.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cu",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.gp("ToolTipElevation",e,this.b2)},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.gp("ActualToolTipElevation",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j0",{get:function(){return this.iq},set:function(t){var e=this.iq;this.iq=t,e!=this.iq&&this.gp("IconFill",e,this.iq)},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.gp("ActualIconFill",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j1",{get:function(){return this.ir},set:function(t){var e=this.ir;this.ir=t,e!=this.ir&&this.gp("IconStroke",e,this.ir)},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.gp("ActualIconStroke",e,this.h4)},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.gp("SeparatorVerticalPaddingLeft",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.gp("ActualSeparatorVerticalPaddingLeft",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.gp("SeparatorVerticalPaddingRight",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.gp("ActualSeparatorVerticalPaddingRight",e,this.bl)},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.gp("SeparatorVerticalPaddingTop",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.gp("ActualSeparatorVerticalPaddingTop",e,this.bm)},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.gp("SeparatorVerticalPaddingBottom",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.gp("ActualSeparatorVerticalPaddingBottom",e,this.bj)},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.gp("SeparatorHorizontalPaddingLeft",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.gp("ActualSeparatorHorizontalPaddingLeft",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.gp("SeparatorHorizontalPaddingRight",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.gp("ActualSeparatorHorizontalPaddingRight",e,this.bh)},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.gp("SeparatorHorizontalPaddingTop",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.gp("ActualSeparatorHorizontalPaddingTop",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.gp("SeparatorHorizontalPaddingBottom",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.gp("ActualSeparatorHorizontalPaddingBottom",e,this.bf)},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.gp("Orientation",i.enumGetBox(ee,e),i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),r.prototype.gs=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.aa&&this.gy(t)},Object.defineProperty(r.prototype,"c5",{get:function(){return null!=this.f?this.f.ef:this.cy},set:function(t){this.cy=t,null!=this.f&&(this.f.ef=this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b5",{get:function(){return null!=this.f?this.f.c6:-1!=this.cy?this.cy:42},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c6",{get:function(){return this.cz},set:function(t){var e=this.cz;this.cz=t,e!=this.cz&&this.gp("SubPanelRowHeight",e,this.cz)},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.gp("HighlightWidth",e,this.bq)},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.gp("ActualHighlightWidth",e,this.be)},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.gp("HighlightRadius",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.gp("ActualHighlightRadius",e,this.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jy",{get:function(){return this.io},set:function(t){var e=this.io;this.io=t,e!=this.io&&this.gp("HighlightColor",e,this.io)},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.gp("ActualHighlightColor",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i2",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,e!=this.hs&&this.gp("ActualAccentColor",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i1",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.gp("AccentColor",e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j2",{get:function(){return this.is},set:function(t){var e=this.is;this.is=t,e!=this.is&&this.gp("MenuArrowStroke",e,this.is)},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.gp("ActualMenuArrowStroke",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j9",{get:function(){return this.iz},set:function(t){var e=this.iz;this.iz=t,e!=this.iz&&this.gp("UncheckedBackgroundColor",e,this.iz)},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.gp("ActualUncheckedBackgroundColor",e,this.ic)},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.gp("CheckedBackgroundColor",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i4",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.gp("ActualCheckedBackgroundColor",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ka",{get:function(){return this.i0},set:function(t){var e=this.i0;this.i0=t,e!=this.i0&&this.gp("UncheckedBorderColor",e,this.i0)},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.gp("ActualUncheckedBorderColor",e,this.id)},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.gp("CheckedBorderColor",e,this.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i5",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.gp("ActualCheckedBorderColor",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.gp("DropdownDelay",e,this.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.gp("ActualDropdownDelay",e,this.cv)},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.gp("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.w))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ck",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.gp("ItemSpacing",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.gn=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.g1=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new Ii).a=t,e))},r.prototype.g2=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new Ii).a=t,e))},r.prototype.f9=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fi()},Object.defineProperty(r.prototype,"a5",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].bb)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.ho=function(t){this.af=t,0==this.ae&&(this.ad=t)},r.prototype.c7=function(){var t=new oe;t.a=this.f.ei();for(var e=function(e){var n,r=i.actions._inner[e],o=r.e(),s=r.ct();if(t.b.add1(s),null!=o){var a=((n=new se).a=o.ag(),n);t.c.add(a)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.eu=function(){return this.c7().serialize()},r.prototype.g8=function(t,e){r.g9(this.p,t,e)},r.g9=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(t,e,n)},r.prototype.js=function(t){return r.jt(this.p,t)},r.jt=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c9(t,e)},r.prototype.g6=function(t,e){r.g7(this.p,t,e)},r.g7=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(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.c9(t,e)},r.prototype.hg=function(t,e){r.hh(this.p,t,e)},r.hh=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(t,e,n)},r.prototype.cg=function(t){return r.ch(this.p,t)},r.ch=function(t,e){return i.stringIsNullOrEmpty(e)?NaN:r.c9(t,e)},r.prototype.hi=function(t,e){r.hj(this.p,t,e)},r.hj=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(t,e,n)},r.prototype.c3=function(t){return r.c4(this.p,t)},r.c4=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.c9(t,e))},r.prototype.hk=function(t,e){r.hl(this.p,t,e)},r.hl=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(t,e,n)},r.prototype.ev=function(t){return r.ew(this.p,t)},r.ew=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c9(t,e)},r.prototype.g4=function(t,e){r.g5(this.p,t,e)},r.g5=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(t,e,n)},r.prototype.a2=function(t){return r.a3(this.p,t)},r.a3=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.c9(t,e)},r.prototype.ha=function(t,e){r.hb(this.p,t,e)},r.hb=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(t,e,n)},r.prototype.kb=function(t){return r.kc(this.p,t)},r.kc=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.c9(t,e)},r.prototype.he=function(t,e){r.hf(this.p,t,e)},r.hf=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hd(t,e,n)},r.prototype.da=function(t){return r.db(this.p,t)},r.db=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c9(t,e)},r.prototype.hc=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.hd=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.c8=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.c9=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.gd=function(){this.v.aa()},r.prototype.gh=function(t){null!=this.f&&this.f.fs(t)},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.dp="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),Ii=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(Bi.$),r.u=!1,r.s=null,r.r=null,r.w=new i.List$1(Ni.$,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.ax(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bo(e.r),e.r.be=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a5=function(){return null!=this.j?this.j.f():this.s.bg(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.av(this.ad,13,(function(r){var o=r;o.c=n.o,o.cn=t.r.j6,o.bv=t.r.p,o.cd=t.r.jr,o.ca=t.r.j4,o.cl=t.r.j4,o.ce=t.r.ju,o.cg=t.r.jx,o.ck=t.r.j3,o.bx=t.r.am,o.cq=t.r.j9,o.cr=t.r.ka,o.cb=t.r.jp,o.cc=t.r.jq,o.cj=t.r.j2,o.ch=t.r.j0,o.ci=t.r.j1,o.cm=t.r.j5,o.cf=t.r.jw,o.bz=t.r.as,o.by=t.r.ar,o.b9=t.r.i1,o.co=t.r.j7,o.cp=t.r.j8,-1!=t.cq&&(o.b2=t.cq),o.bu=t.actions,o.bn=i.runOn(n,n.at),o.bo=i.runOn(n,n.au),o.bt=i.runOn(n,n.ar),n.r.bo(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.af=a.width}n.r.bv(o,n.aa),n.r.bw(o,0),n.x.add(new Ni(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.bn=null,this.x._inner[n].a.bo=null,this.r.bq(this.x._inner[n].a),this.aa-=this.x._inner[n].a.af,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.bn=null,this.x._inner[this.ac].a.bo=null,this.r.bq(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.af,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.eq&&(t.aq=e.a.eq+"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.be){var s=t.f();return this.s.af=Math.floor(s.width),void(this.s.z=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.af,this.c.d=this.s.z,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.ao,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.ao,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.af=e.width,this.x._inner[t].a.z=e.height,this.x._inner[t].a.b6(e),this.u||(1!=this.q.playState?this.ac==t&&(this.s.af=e.width,this.s.z=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.be=new i.MatrixTransform;var t,e=this.x._inner[0].f();this.s.af=Math.floor(e.width),this.s.z=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.cn=e.j6,n.cd=e.jr,n.ca=e.j4,n.cl=e.j4,n.ce=e.ju,n.cg=e.jx,n.ck=e.j3}},n.prototype.ap=function(){var t=this.x._inner[this.ac].f();this.x._inner[this.ac].a.af=t.width,this.x._inner[this.ac].a.z=t.height,this.x._inner[this.ac].d(t),1!=this.q.playState?(this.s.af=t.width,this.s.z=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),Ni=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.bg(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.b7()},n.prototype.d=function(t){this.a.b6(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),Ri=function(t){function n(e){var n=t.call(this)||this;if(Vi.$type||(Vi.$type=i.markType(Vi,"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(){Vi.$type||(Vi.$type=i.markType(Vi,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(Vi.$type,si.$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=Vi._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Ei=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}(),$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 be},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}(),Di=function(t){function n(e){var n=t.call(this)||this;if($i.$type||($i.$type=i.markType($i,"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(){$i.$type||($i.$type=i.markType($i,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2($i.$type,be.$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(){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 ve},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 $i;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 Di,e=this.i.b;e||(e=new me),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 Di;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(be.$type),r=this.i.b;r||(r=new me),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),Vi=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.bb},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 de),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 de),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.c2},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 Ri,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.cp},set:function(t){this.i.cp=+t,this._a("width",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("height",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("subPanelRowHeight",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubPanelRowHeight",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("actualSubPanelRowHeight",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.ex},set:function(t){this.i.ex=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.ds},set:function(t){this.i.ds=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.dp},set:function(t){this.i.dp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.es},set:function(t){this.i.es=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.dx},set:function(t){this.i.dx=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.du},set:function(t){this.i.du=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.cs},set:function(t){this.i.cs=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("paddingLeft",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualPaddingLeft",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("paddingRight",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualPaddingRight",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("paddingBottom",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualPaddingBottom",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("paddingTop",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("actualPaddingTop",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.hg)},set:function(t){this.i.hg=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.hl)},set:function(t){this.i.hl=i.stringToBrush(t),this._a("background",i.brushToString(this.i.hl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.hk)},set:function(t){this.i.hk=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.hk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.he)},set:function(t){this.i.he=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.he))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.hm)},set:function(t){this.i.hm=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.hm))},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.a9},set:function(t){this.i.a9=i.ensureBool(t),this._a("isDisabled",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.ba},set:function(t){this.i.ba=i.ensureBool(t),this._a("isHighlighted",this.i.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAccentColor",{get:function(){return i.brushToString(this.i.hc)},set:function(t){this.i.hc=i.stringToBrush(t),this._a("actualAccentColor",i.brushToString(this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.hb)},set:function(t){this.i.hb=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.hb))},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.eq},set:function(t){this.i.eq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.fa},set:function(t){this.i.fa=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.e4},set:function(t){this.i.e4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"titleHorizontalAlignment",{get:function(){return this.i.g9},set:function(t){this.i.g9=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("titleHorizontalAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.g9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.ee},set:function(t){this.i.ee=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.d9},set:function(t){this.i.d9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("iconViewBoxLeft",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("iconViewBoxTop",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("iconViewBoxWidth",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("iconViewBoxHeight",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.hh)},set:function(t){this.i.hh=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.hh))},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.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.hi))},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.ce},set:function(t){this.i.ce=+t,this._a("iconStrokeWidth",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("iconWidth",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualIconWidth",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconHeight",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualIconHeight",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.ht},set:function(t){this.i.ht=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("closeOnExecute",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("highlightWidth",this.i.cc)},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.cb},set:function(t){this.i.cb=+t,this._a("highlightRadius",this.i.cb)},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.hn)},set:function(t){this.i.hn=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.hn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.hf)},set:function(t){this.i.hf=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.hf))},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.gl()},n.prototype.closeSubmenu=function(){this.i.fi()},n.prototype.exportVisualData=function(){return this.i.ct()},n.prototype.exportSerializedVisualData=function(){return this.i.d3()},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 Ei;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 zi;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),Ui=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new mi},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.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(Vi),qi=function(){function t(){}return t.register=function(){Ui.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",Ui),i.TypeRegistrar.register("ToolActionLabel",mi.$type)},t}(),Li=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ui},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.hv},set:function(t){this.i.hv=i.ensureBool(t),this._a("isChecked",this.i.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shorthandTitle",{get:function(){return this.i.h3},set:function(t){this.i.h3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ig)},set:function(t){this.i.ig=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.ig))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ib)},set:function(t){this.i.ib=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.ib))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.id)},set:function(t){this.i.id=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.id))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ih)},set:function(t){this.i.ih=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ih))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ic)},set:function(t){this.i.ic=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ic))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.ie)},set:function(t){this.i.ie=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.ie))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(Vi),Fi=function(){function t(){}return t.register=function(){Li.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Li),i.TypeRegistrar.register("ToolActionCheckbox",ui.$type)},t}(),Hi=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}(),Mi=function(t){function n(e){var n=t.call(this)||this;if(Hi.$type||(Hi.$type=i.markType(Hi,"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(){Hi.$type||(Hi.$type=i.markType(Hi,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(Hi.$type,Se.$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 Hi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Gi=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 ci},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.ij},set:function(t){this.i.ij=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.h0},set:function(t){this.i.h0=i.ensureBool(t),this._a("showSelectAll",this.i.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.ic},set:function(t){this.i.ic=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.hu},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new Mi,e=this.i.hv;e||(e=new Ie),this._selectedKeys=t._fromInner(e),this.i.hv=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new Mi;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Se.$type),r=this.i.hv;r||(r=new Ie),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.hv=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.hw},set:function(t){this.i.hw=i.ensureEnum(Ne,t),this._a("indexType",i.enumToString(Ne,this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.iy)},set:function(t){this.i.iy=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.iy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.i5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.iz)},set:function(t){this.i.iz=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.iz))},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.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(Vi),Wi=function(){function t(){}return t.register=function(){Gi.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",Gi),i.TypeRegistrar.register("ToolActionCheckboxList",ci.$type)},t}(),Ki=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new gi},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.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(Vi),Xi=function(){function t(){}return t.register=function(){Ki.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",Ki),i.TypeRegistrar.register("ToolActionGroupHeader",gi.$type)},t}(),Qi=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),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 Qi},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}(),Ji=function(t){function n(e){var n=t.call(this)||this;if(Yi.$type||(Yi.$type=i.markType(Yi,"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(){Yi.$type||(Yi.$type=i.markType(Yi,"IgcToolActionFieldSelectorAggregation"));var t=new i.SyncableObservableCollection$2(Yi.$type,Qi.$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 Yi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Zi=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),tn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Zi},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}(),en=function(t){function n(e){var n=t.call(this)||this;if(tn.$type||(tn.$type=i.markType(tn,"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(){tn.$type||(tn.$type=i.markType(tn,"IgcToolActionFieldSelectorSelectedAggregation"));var t=new i.SyncableObservableCollection$2(tn.$type,Zi.$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 tn)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),nn=function(t){function n(){var e=t.call(this,Qi.$,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(Qi.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Qi.$,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(Qi.$)),n}(i.ObservableCollection$1),rn=function(t){function n(){var e=t.call(this,Zi.$,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(Zi.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Zi.$,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(Zi.$)),n}(i.ObservableCollection$1),on=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 di},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.h2},set:function(t){this.i.h2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"legendTarget",{get:function(){return this.i.iy},set:function(t){this.i.iy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fieldType",{get:function(){return this.i.h6},set:function(t){this.i.h6=i.ensureEnum(ze,t),this._a("fieldType",i.enumToString(ze,this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"singleSelection",{get:function(){return this.i.ih},set:function(t){this.i.ih=i.ensureBool(t),this._a("singleSelection",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aggregations",{get:function(){if(null===this._aggregations){var t=new Ji,e=this.i.h3;e||(e=new nn),this._aggregations=t._fromInner(e),this.i.h3=e}return this._aggregations},set:function(t){null!==this._aggregations&&(this._aggregations._setSyncTarget(null),this._aggregations=null);var e=new Ji;this._aggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Qi.$type),r=this.i.h3;r||(r=new nn),n._inner=r,n.clear(),this._aggregations._setSyncTarget(n),this.i.h3=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateDataSource",{get:function(){return this.i.ii},set:function(t){this.i.ii=i.ensureBool(t),this._a("updateDataSource",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedAggregations",{get:function(){if(null===this._selectedAggregations){var t=new en,e=this.i.h5;e||(e=new rn),this._selectedAggregations=t._fromInner(e),this.i.h5=e}return this._selectedAggregations},set:function(t){null!==this._selectedAggregations&&(this._selectedAggregations._setSyncTarget(null),this._selectedAggregations=null);var e=new en;this._selectedAggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Zi.$type),r=this.i.h5;r||(r=new rn),n._inner=r,n.clear(),this._selectedAggregations._setSyncTarget(n),this.i.h5=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.is},set:function(t){this.i.is=+t,this._a("paddingLeft",this.i.is)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("actualPaddingLeft",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.it},set:function(t){this.i.it=+t,this._a("paddingRight",this.i.it)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("actualPaddingRight",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ir},set:function(t){this.i.ir=+t,this._a("paddingBottom",this.i.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("actualPaddingBottom",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("paddingTop",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("actualPaddingTop",this.i.iq)},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}(Vi),sn=function(){function t(){}return t.register=function(){on.register(),i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorComponent",on),i.TypeRegistrar.register("ToolActionFieldSelector",di.$type)},t}(),an=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new vi},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.hw},set:function(t){this.i.hw=+t,this._a("value",this.i.hw)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(Vi),hn=function(){function t(){}return t.register=function(){an.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",an),i.TypeRegistrar.register("ToolActionNumberInput",vi.$type)},t}(),un=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ji},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.hw},set:function(t){this.i.hw=+t,this._a("size",this.i.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.hu},set:function(t){this.i.hu=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.hu)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(Vi),ln=function(){function t(){}return t.register=function(){un.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",un),i.TypeRegistrar.register("ToolActionSeparator",ji.$type)},t}(),cn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new _i},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.h2},set:function(t){this.i.h2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shorthandTitle",{get:function(){return this.i.h7},set:function(t){this.i.h7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.hv},set:function(t){this.i.hv=i.ensureBool(t),this._a("isChecked",this.i.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.hw},set:function(t){this.i.hw=i.ensureBool(t),this._a("isManual",this.i.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.il)},set:function(t){this.i.il=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.il))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ih)},set:function(t){this.i.ih=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.ih))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.ij)},set:function(t){this.i.ij=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.ij))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ie)},set:function(t){this.i.ie=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.ie))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.im)},set:function(t){this.i.im=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.im))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ii)},set:function(t){this.i.ii=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ii))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.ik)},set:function(t){this.i.ik=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.ik))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.ig)},set:function(t){this.i.ig=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.ig))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(Vi),pn=function(){function t(){}return t.register=function(){cn.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",cn),i.TypeRegistrar.register("ToolActionRadio",_i.$type)},t}(),fn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ai},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.hu},set:function(t){this.i.hu=i.ensureEnum(Ce,t),this._a("displayType",i.enumToString(Ce,this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hy},set:function(t){this.i.hy=+t,this._a("cornerRadius",this.i.hy)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(Vi),dn=function(){function t(){}return t.register=function(){fn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",fn),i.TypeRegistrar.register("ToolActionButton",ai.$type)},t}(),gn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new wi},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.hw},set:function(t){this.i.hw=+t,this._a("itemSpacing",this.i.hw)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(Vi),bn=function(){function t(){}return t.register=function(){gn.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",gn),i.TypeRegistrar.register("ToolActionSubPanel",wi.$type)},t}(),yn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Oi},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=Vi._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}(),mn=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 bi},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.i4},set:function(t){this.i.i4=+t,this._a("tooltipDelay",this.i.i4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.i3},set:function(t){this.i.i3=+t,this._a("actualTooltipDelay",this.i.i3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.ix},set:function(t){this.i.ix=+t,this._a("contentPaddingLeft",this.i.ix)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.it},set:function(t){this.i.it=+t,this._a("actualContentPaddingLeft",this.i.it)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.iz},set:function(t){this.i.iz=+t,this._a("contentPaddingTop",this.i.iz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("actualContentPaddingTop",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.iy},set:function(t){this.i.iy=+t,this._a("contentPaddingRight",this.i.iy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("actualContentPaddingRight",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.iw},set:function(t){this.i.iw=+t,this._a("contentPaddingBottom",this.i.iw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.is},set:function(t){this.i.is=+t,this._a("actualContentPaddingBottom",this.i.is)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.bb},enumerable:!1,configurable:!0}),n.prototype.openSubMenu=function(){this.i.gl()},n.prototype.closeSubmenu=function(){this.i.fi()},n.prototype.exportVisualData=function(){return this.i.ct()},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 yn;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}(Vi),vn=function(){function t(){}return t.register=function(){mn.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",mn),i.TypeRegistrar.register("ToolActionIconButton",bi.$type)},t}(),_n=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new yi},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.kl)},set:function(t){this.i.kl=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.kl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.kk)},set:function(t){this.i.kk=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.kk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.ka},set:function(t){this.i.ka=i.ensureBool(t),this._a("showArrowIcon",this.i.ka)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(mn),Cn=function(){function t(){}return t.register=function(){_n.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",_n),i.TypeRegistrar.register("ToolActionIconMenu",yi.$type)},t}(),jn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ci},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._observedAttributesIgcToolActionRadioGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionRadioGroupComponent=t}return n._observedAttributesIgcToolActionRadioGroupComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectedTextStyle",{get:function(){return null==this.i.hw?null:this.i.hw.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.hw=e,this._a("selectedTextStyle",null!=this.i.hw?this.i.hw.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedTextColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("selectedTextColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedTextColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("actualSelectedTextColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionRadioGroupComponent=null,n.htmlTagName="igc-tool-action-radio-group",n._isElementRegistered=!1,n}(Vi),wn=function(){function t(){}return t.register=function(){jn.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioGroupComponent",jn),i.TypeRegistrar.register("ToolActionRadioGroup",Ci.$type)},t}(),Pn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new li},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._observedAttributesIgcToolActionCheckboxGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxGroupComponent=t}return n._observedAttributesIgcToolActionCheckboxGroupComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectedTextStyle",{get:function(){return null==this.i.hv?null:this.i.hv.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.hv=e,this._a("selectedTextStyle",null!=this.i.hv?this.i.hv.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedTextColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("selectedTextColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedTextColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("actualSelectedTextColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionCheckboxGroupComponent=null,n.htmlTagName="igc-tool-action-checkbox-group",n._isElementRegistered=!1,n}(Vi),xn=function(){function t(){}return t.register=function(){Pn.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxGroupComponent",Pn),i.TypeRegistrar.register("ToolActionCheckboxGroup",li.$type)},t}(),Tn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Je},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}(),kn=function(t){return t[t.Replace=0]="Replace",t}({}),On=i.markEnum("NestedActionMode","Replace,0"),Sn=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 Ri;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 Vi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Si},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.a6},set:function(t){this.i.a6=i.ensureBool(t),this._a("showOnHover",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.a7},set:function(t){this.i.a7=i.ensureBool(t),this._a("showTooltipOnHover",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("dropdownClickBuffer",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.a8},set:function(t){this.i.a8=i.ensureBool(t),this._a("stopPropagation",this.i.a8)},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.jo)},set:function(t){this.i.jo=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.jo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.jh)},set:function(t){this.i.jh=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.jh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.ju)},set:function(t){this.i.ju=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.ju))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.i7)},set:function(t){this.i.i7=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.i7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.j3)},set:function(t){this.i.j3=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.j3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.jg)},set:function(t){this.i.jg=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.jg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.i8)},set:function(t){this.i.i8=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.i8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.jz)},set:function(t){this.i.jz=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.jz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.jj)},set:function(t){this.i.jj=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.jj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.ji)},set:function(t){this.i.ji=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.ji))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.jr)},set:function(t){this.i.jr=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.jr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.jl)},set:function(t){this.i.jl=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.jl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jk)},set:function(t){this.i.jk=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.jk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("toolTipCornerRadius",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("actualToolTipCornerRadius",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t,this._a("toolTipElevation",this.i.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("actualToolTipElevation",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.j0)},set:function(t){this.i.j0=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.j0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.j1)},set:function(t){this.i.j1=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.j1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("separatorVerticalPaddingLeft",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("separatorVerticalPaddingRight",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("separatorVerticalPaddingTop",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("separatorVerticalPaddingBottom",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("separatorHorizontalPaddingLeft",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.b7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("separatorHorizontalPaddingRight",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("separatorHorizontalPaddingTop",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("separatorHorizontalPaddingBottom",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.b6},set:function(t){this.i.b6=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.b6)},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.c5},set:function(t){this.i.c5=+t,this._a("rowHeight",this.i.c5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.b5},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("subPanelRowHeight",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("highlightWidth",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("actualHighlightWidth",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("highlightRadius",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualHighlightRadius",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.jy)},set:function(t){this.i.jy=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.jy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.jb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAccentColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("actualAccentColor",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.j2)},set:function(t){this.i.j2=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.j2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jm)},set:function(t){this.i.jm=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.jm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.jp)},set:function(t){this.i.jp=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.jp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.jn)},set:function(t){this.i.jn=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.jn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.jq)},set:function(t){this.i.jq=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.jq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.i5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("dropdownDelay",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.c0},set:function(t){this.i.c0=+t,this._a("actualDropdownDelay",this.i.c0)},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.ck},set:function(t){this.i.ck=+t,this._a("itemSpacing",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(On,t),this._a("nestedActionMode",i.enumToString(On,this.i.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a5},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.gz()},n.prototype.getDesiredSize=function(){var t=this.i.kd();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.ge()},n.prototype.closeSubmenus=function(){this.i.f9()},n.prototype.exportVisualData=function(){return this.i.c7()},n.prototype.exportSerializedVisualData=function(){return this.i.eu()},n.prototype.setBrushContextItem=function(t,e){this.i.g8(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.js(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.g6(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.hg(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.cg(t)},n.prototype.setIntContextItem=function(t,e){this.i.hi(t,e)},n.prototype.getIntContextItem=function(t){return this.i.c3(t)},n.prototype.setStringContextItem=function(t,e){this.i.hk(t,e)},n.prototype.getStringContextItem=function(t){return this.i.ev(t)},n.prototype.setBoolContextItem=function(t,e){this.i.g4(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.a2(t)},n.prototype.setColorContextItem=function(t,e){this.i.ha(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.kb(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.he(t,e)},n.prototype.getDataContextItem=function(t){return this.i.da(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 Tn;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 Ei;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),In=function(){function t(){}return t.register=function(){Tt.register(),qi.register(),Fi.register(),Wi.register(),Xi.register(),sn.register(),hn.register(),ln.register(),pn.register(),dn.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),bn.register(),vn.register(),Cn.register(),wn.register(),xn.register(),Sn.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Sn),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Sn),i.TypeRegistrar.register("ToolPanel",Si.$type)},t}(),An=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new he},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}(),Nn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new le},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}(),Bn=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 Ri;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 Vi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Ti},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 Ri,e=this.i.autoGeneratedActions;e||(e=new xi),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 Ri;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(si.$type),r=this.i.autoGeneratedActions;r||(r=new xi),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 Ri,e=this.i.actualActions;e||(e=new xi),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 Ri;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(si.$type),r=this.i.actualActions;r||(r=new xi),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(fe,t),this._a("orientation",i.enumToString(fe,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.fv)},set:function(t){this.i.fv=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.fv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.f9)},set:function(t){this.i.f9=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.f9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.f0)},set:function(t){this.i.f0=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.f0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.f8)},set:function(t){this.i.f8=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.f8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.f4)},set:function(t){this.i.f4=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.gb)},set:function(t){this.i.gb=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.gb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.fy)},set:function(t){this.i.fy=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.fy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.f2)},set:function(t){this.i.f2=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.f2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.gd)},set:function(t){this.i.gd=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.gd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.gc)},set:function(t){this.i.gc=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.gc))},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.f5)},set:function(t){this.i.f5=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.f5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.f6)},set:function(t){this.i.f6=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.f6))},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.bv},set:function(t){this.i.bv=+t,this._a("dropdownClickBuffer",this.i.bv)},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.f3)},set:function(t){this.i.f3=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.f3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.fu)},set:function(t){this.i.fu=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.fu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.f7)},set:function(t){this.i.f7=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.f7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ge)},set:function(t){this.i.ge=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.ge))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.fw)},set:function(t){this.i.fw=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.fw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.gf)},set:function(t){this.i.gf=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.gf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.fx)},set:function(t){this.i.fx=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.fx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("rowHeight",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("subPanelRowHeight",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.ga)},set:function(t){this.i.ga=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.ga))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.f1)},set:function(t){this.i.f1=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("dropdownDelay",this.i.bw)},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}),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.d6()},n.prototype.isOpen=function(){return this.i.av()},n.prototype.getDesiredSize=function(){var t=this.i.gh();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.d3()},n.prototype.onCommandStateChanged=function(t,e,n){this.i.onCommandStateChanged(t,i.ensureEnum(i.ToolCommandStateType_$type,e),n)},n.prototype.registerIconFromText=function(t,e,i){this.i.en(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.ct(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.ep(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.em(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.cs(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.eo(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.ca(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.es(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.fz(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.er(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.ew(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.bd(t)},n.prototype.setIntContextItem=function(t,e){this.i.e3(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.be(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.e1(t,e)},n.prototype.getIntContextItem=function(t){return this.i.by(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.e2(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bx(t)},n.prototype.setStringContextItem=function(t,e){this.i.e4(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cu(t)},n.prototype.setBoolContextItem=function(t,e){this.i.eq(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.au(t)},n.prototype.setColorContextItem=function(t,e){this.i.et(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.gg(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.ev(t,e)},n.prototype.getDataContextItem=function(t){return this.i.b5(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.e0(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.b9(t)},n.prototype.exportVisualData=function(){return this.i.b3()},n.prototype.exportSerializedVisualData=function(){return this.i.cr()},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 Ei;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 An;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 Nn;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),Rn=function(){function t(){}return t.register=function(){In.register(),Bn.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Bn),i.TypeRegistrar.registerCons("IgcToolbarComponent",Bn),i.TypeRegistrar.register("Toolbar",Ti.$type)},t}(),En=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),$n=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),Dn=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),zn=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),Vn=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 zn;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 Dn;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),Un=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),qn=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(","),g=0;g<d.length;g++){var b=d[g];if(i.stringContains(b,"as")){var y=b.indexOf("as"),m=b.substr(0,y).trim(),v=b.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 w=f._inner[j],P=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),x=!1;-1==P&&(x=!0,P=0);for(var T=new i.List$1(i.Base.$,0),k=0;k<=P;k++)if(null!=C&&k<C.length){var O=C[k];null!==i.typeCast(i.DescriptionTreeNode.$,O)&&k==P&&(O.i=w),T.add1(O)}else{var S=this.g(a,!0,w);null!=S&&T.add1(S)}var I=(C=T.toArray())[P],A=new i.List$1(i.String_$type,1,h);A.removeAt(0);var N=_.collectionElementType;null!=w&&(N=w);var B=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(A.toArray()),!1)),x?-1:P,r,I,N,_);null!=B&&(C[P]=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,V=this.h(r,_);if(this.d){var U=new i.DataSeriesToDescriptionCustomization;U.matchType=s,U.propertyName=u,-1!=n&&(U.matchParentIndex=n),U.propertyValue=V,this.e.add(U)}z.o(u,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.appendLine("{"),t.increaseTabLevel(),t.appendLine('"descriptions": {'),t.increaseTabLevel(),t.append('"root"'),t.append(": "),e.y(this.c,this.b,t),t.appendLine(""),t.decreaseTabLevel(),t.append("}"),t.decreaseTabLevel(),t.appendLine("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),Ln=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.av(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.ao.setStyleProperty("width","100%"),i.ao.setStyleProperty("height","100%"),e.i.append(i.ao)}));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.b6(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.r(e,this.a.cr),i.NativeUI.n(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),Fn=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(),Ze.g(),e.at=new i.ObservableCollection$1(Vn.$,0);var r=new Ln;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 g=d;g.propertyChanged=i.delegateCombine(g.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.bt=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.bv=2:this.ak?this.l.bv=1:this.l.bv=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($n,e),i.enumGetBox($n,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 xi,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.bu=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(Un.$,0),n=function(i){var n;e.add(((n=new Un).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 vi;r.hw=null!=e.ar?e.ar:NaN,r.fa=this.bm(e),n=r,null!=e.a4&&(n.e4=e.a4);break;case 4:case 5:var o=new pi;o.h0=i.CSSColorUtil.g(e.ar),o.fa=this.bm(e),n=o,null!=e.a4&&(n.e4=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new Pi;s.hw=e.ar,s.fa=this.bm(e),n=s,null!=e.a4&&(n.e4=e.a4);break;case 7:var a=new ui;a.hv=null!=e.ar&&e.ar,a.fa=this.bm(e),n=a,null!=e.a4&&(n.e4=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new fi;h.itemsSource=this.a4(this.c(e)),h.fa=this.bm(e),n=h,null!=e.a4&&(n.e4=e.a4),null!=e.ar&&(h.hu=new Ee,h.hu.add1(e.ar));break;case 20:var u=new ai;u.fa=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.fa=e.ar),n=u,null!=e.a4&&(n.e4=e.a4);break;case 24:var l=new ji;l.hw=5,n=l;break;case 25:(n=new gi).fa=this.bm(e),null!=e.a4&&(n.e4=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.eq=this.be+"_"+c,this.aq.item(n.eq,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.bg(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 qn(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new qn(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 qn(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 g=l[d],b=e+a.propertyPath+"["+d+"]";n.bv(g.properties,b,r,g.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.l(255,248,248,248),n.cq=i.BrushUtil.l(255,24,29,31),n}(i.Base),Hn=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 Vt;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 Fn},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 Vt,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 Vt;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($n,t),this._a("updateMode",i.enumToString($n,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),Mn=function(){function t(){}return t.register=function(){Wt.register(),Rn.register(),Hn.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",Hn),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",Hn),i.TypeRegistrar.register("PropertyEditorPanel",Fn.$type)},t}(),Gn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),Wn=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),Kn=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),Xn=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),Qn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",mt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",E.$type)},t}(),Yn=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),Jn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",Hi),i.TypeRegistrar.register("LayoutPrimaryKeyValue",Se.$type)},t}(),Zn=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),tr=new i.Type(null,"IExternalListPanel"),er=new i.Type(null,"IListPanelView"),ir=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),nr=new i.Type(null,"IListPanelViewportManager"),rr=new i.Type(null,"IPropertyEditorPanelView"),or=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),sr=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),ar=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),hr=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}(),ur=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new hi},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.ii},set:function(t){this.i.ii=i.ensureBool(t),this._a("leftIsSelected",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.il},set:function(t){this.i.il=i.ensureBool(t),this._a("rightIsSelected",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.ih},set:function(t){this.i.ih=i.ensureBool(t),this._a("leftIsDisabled",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.ik},set:function(t){this.i.ik=i.ensureBool(t),this._a("rightIsDisabled",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.jd},set:function(t){this.i.jd=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.i7},set:function(t){this.i.i7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.ig},set:function(t){this.i.ig=i.ensureBool(t),this._a("isToggleDisabled",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.i9},set:function(t){this.i.i9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.is},set:function(t){this.i.is=+t,this._a("leftIconViewBoxLeft",this.i.is)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.it},set:function(t){this.i.it=+t,this._a("leftIconViewBoxTop",this.i.it)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("leftIconViewBoxWidth",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.ir},set:function(t){this.i.ir=+t,this._a("leftIconViewBoxHeight",this.i.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hw)},set:function(t){this.i.hw=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.kh)},set:function(t){this.i.kh=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.kh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hx)},set:function(t){this.i.hx=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("leftIconStrokeWidth",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.jo},set:function(t){this.i.jo=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.jw},set:function(t){this.i.jw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.jq},set:function(t){this.i.jq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.js},set:function(t){this.i.js=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.ix},set:function(t){this.i.ix=+t,this._a("rightIconViewBoxLeft",this.i.ix)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.iy},set:function(t){this.i.iy=+t,this._a("rightIconViewBoxTop",this.i.iy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.iz},set:function(t){this.i.iz=+t,this._a("rightIconViewBoxWidth",this.i.iz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.iw},set:function(t){this.i.iw=+t,this._a("rightIconViewBoxHeight",this.i.iw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.ki)},set:function(t){this.i.ki=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.ki))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hy)},set:function(t){this.i.hy=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.kj)},set:function(t){this.i.kj=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.kj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hz)},set:function(t){this.i.hz=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("rightIconStrokeWidth",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.j7},set:function(t){this.i.j7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.h0},set:function(t){this.i.h0=i.ensureEnum(Pe,t),this._a("displayType",i.enumToString(Pe,this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("cornerRadius",this.i.im)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(Vi),lr=function(){function t(){}return t.register=function(){ur.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",ur),i.TypeRegistrar.register("ToolActionButtonPair",hi.$type)},t}(),cr=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"GridColumnProviderOnAttachingOverrideEventArgs",i.EventArgs.$),n}(i.EventArgs),pr=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new pi},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.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("value",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(Vi),fr=function(){function t(){}return t.register=function(){pr.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",pr),i.TypeRegistrar.register("ToolActionColorEditor",pi.$type)},t}(),dr=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 fi},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.hy},set:function(t){this.i.hy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.h2},set:function(t){this.i.h2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new Zn,e=this.i.hu;e||(e=new Ee),this._selectedValues=t._fromInner(e),this.i.hu=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new Zn;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.hu;r||(r=new Ee),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.hu=r},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(Vi),gr=function(){function t(){}return t.register=function(){dr.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",dr),i.TypeRegistrar.register("ToolActionCombo",fi.$type)},t}(),br=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorAggregation",Yi),i.TypeRegistrar.register("ToolActionFieldSelectorAggregation",Qi.$type)},t}(),yr=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorSelectedAggregation",tn),i.TypeRegistrar.register("ToolActionFieldSelectorSelectedAggregation",Zi.$type)},t}(),mr=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Pi},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.hw},set:function(t){this.i.hw=t},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(Vi),vr=function(){function t(){}return t.register=function(){mr.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",mr),i.TypeRegistrar.register("ToolActionTextInput",Pi.$type)},t}(),_r=new i.Type(null,"IExternalToolbar"),Cr=new i.Type(null,"IToolbarView"),jr=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),wr=new i.Type(null,"IExternalToolPanel"),Pr=new i.Type(null,"IToolPanelView"),xr=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}(),Tr=function(){function t(){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()},t}();t.ComboEditor=_,t.ComboEditorBridge=Yt,t.ComboEditorCloneDataSourceFilterOperation=Gn,t.ComboEditorCloneDataSourceFilterOperation_$type=Wn,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=b,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=Kn,t.ComboEditorSelectedItemChangeType_$type=Xn,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=v,t.ComboEditorVisualModelExport=g,t.DrillDownRequestedEventArgs=Ii,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.GridColumnProviderOnAttachingOverrideEventArgs=cr,t.IExternalListPanel_$type=tr,t.IExternalToolPanel_$type=wr,t.IExternalToolbar_$type=_r,t.IListPanelView_$type=er,t.IListPanelViewportManager_$type=nr,t.INativeUIToolPanelBridge_$type=Jt,t.INativeUIToolbarBridge_$type=ae,t.IPropertyEditorPanelView_$type=rr,t.IToolPanelView_$type=Pr,t.IToolbarView_$type=Cr,t.IgcComboEditorComponent=T,t.IgcComboEditorGotFocusEventArgs=P,t.IgcComboEditorLostFocusEventArgs=x,t.IgcComboEditorModule=kt,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=w,t.IgcLayoutPrimaryKeyValue=Hi,t.IgcLayoutPrimaryKeyValueModule=Jn,t.IgcLayoutSelectedItemsCollection=Zn,t.IgcLayoutSelectedKeysCollection=Mi,t.IgcListPanelActiveRowChangedEventArgs=bt,t.IgcListPanelComponent=xt,t.IgcListPanelContentRebindEventArgs=Pt,t.IgcListPanelContentRecycledEventArgs=wt,t.IgcListPanelContentRefreshedEventArgs=ct,t.IgcListPanelItemEventArgs=gt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=Tt,t.IgcListPanelPrimaryKeyValue=mt,t.IgcListPanelPrimaryKeyValueModule=Qn,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=hr,t.IgcPropertyEditorDescriptionObject=Ut,t.IgcPropertyEditorDescriptionObjectCollection=qt,t.IgcPropertyEditorPanelComponent=Hn,t.IgcPropertyEditorPanelModule=Mn,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=Lt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Ft,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Mt,t.IgcPropertyEditorPropertyDescriptionCollection=Vt,t.IgcPropertyEditorPropertyDescriptionComponent=Gt,t.IgcPropertyEditorPropertyDescriptionModule=Wt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Ht,t.IgcToolActionButtonComponent=fn,t.IgcToolActionButtonModule=dn,t.IgcToolActionButtonPairComponent=ur,t.IgcToolActionButtonPairModule=lr,t.IgcToolActionCheckboxComponent=Li,t.IgcToolActionCheckboxGroupComponent=Pn,t.IgcToolActionCheckboxGroupModule=xn,t.IgcToolActionCheckboxListComponent=Gi,t.IgcToolActionCheckboxListModule=Wi,t.IgcToolActionCheckboxModule=Fi,t.IgcToolActionCollection=Ri,t.IgcToolActionColorEditorComponent=pr,t.IgcToolActionColorEditorModule=fr,t.IgcToolActionComboComponent=dr,t.IgcToolActionComboModule=gr,t.IgcToolActionComponent=Vi,t.IgcToolActionEventDetail=$i,t.IgcToolActionEventDetailCollection=Di,t.IgcToolActionFieldSelectorAggregation=Yi,t.IgcToolActionFieldSelectorAggregationModule=br,t.IgcToolActionFieldSelectorAggregationsCollection=Ji,t.IgcToolActionFieldSelectorComponent=on,t.IgcToolActionFieldSelectorModule=sn,t.IgcToolActionFieldSelectorSelectedAggregation=tn,t.IgcToolActionFieldSelectorSelectedAggregationModule=yr,t.IgcToolActionFieldSelectorSelectedAggregationsCollection=en,t.IgcToolActionGroupHeaderComponent=Ki,t.IgcToolActionGroupHeaderModule=Xi,t.IgcToolActionIconButtonComponent=mn,t.IgcToolActionIconButtonModule=vn,t.IgcToolActionIconMenuComponent=_n,t.IgcToolActionIconMenuModule=Cn,t.IgcToolActionLabelComponent=Ui,t.IgcToolActionLabelModule=qi,t.IgcToolActionNumberInputComponent=an,t.IgcToolActionNumberInputModule=hn,t.IgcToolActionPerformedEventArgs=zi,t.IgcToolActionPopupOpeningEventArgs=yn,t.IgcToolActionRadioComponent=cn,t.IgcToolActionRadioGroupComponent=jn,t.IgcToolActionRadioGroupModule=wn,t.IgcToolActionRadioModule=pn,t.IgcToolActionSeparatorComponent=un,t.IgcToolActionSeparatorModule=ln,t.IgcToolActionSubPanelComponent=gn,t.IgcToolActionSubPanelModule=bn,t.IgcToolActionTextInputComponent=mr,t.IgcToolActionTextInputModule=vr,t.IgcToolCommandEventArgs=Ei,t.IgcToolContextBinding=Xt,t.IgcToolContextBindingCollection=Qt,t.IgcToolPanelComponent=Sn,t.IgcToolPanelContentRefreshedEventArgs=Tn,t.IgcToolPanelContextChangedEventArgs=xr,t.IgcToolPanelContextSwappedEventArgs=Tr,t.IgcToolPanelModule=In,t.IgcToolbarComponent=Bn,t.IgcToolbarModule=Rn,t.IgcToolbarSubMenuClosingEventArgs=Nn,t.IgcToolbarSubMenuOpeningEventArgs=An,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=Se,t.LayoutSelectedItemsCollection=Ee,t.LayoutSelectedKeysCollection=Ie,t.ListPanel=et,t.ListPanelActivationManager=ht,t.ListPanelActivationMode=I,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=M,t.ListPanelColumnDefinition=Q,t.ListPanelContentRebindEventArgs=q,t.ListPanelContentRecycledEventArgs=U,t.ListPanelContentRefreshedEventArgs=G,t.ListPanelDataBindingEventArgs=ir,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=H,t.ListPanelSelectionManager=at,t.ListPanelSelectionMode=O,t.ListPanelSelectionMode_$type=S,t.ListPanelTemplateHeightRequestedEventArgs=X,t.ListPanelTemplateItemUpdatingEventArgs=it,t.ListPanelTemplateWidthRequestedEventArgs=K,t.ListPanelView=tt,t.ListPanelViewportChangedEventArgs=V,t.ListPanelVisualData=J,t.ListPanelVisualModel=k,t.NativeUIContentRefreshedEventArgs=Yn,t.NativeUILayoutFactory=Ze,t.NativeUIToolPanel=ri,t.NativeUIToolbar=oi,t.NativeUIToolbarSubMenuClosingEventArgs=ce,t.NativeUIToolbarSubMenuOpeningEventArgs=ue,t.NestedActionMode=kn,t.NestedActionMode_$type=On,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=Bi,t.PanelInfo=Ni,t.PropertyEditorDataSource=Bt,t.PropertyEditorDescriptionObject=$t,t.PropertyEditorDescriptionObjectCollection=Dt,t.PropertyEditorPanel=Fn,t.PropertyEditorPanelColumnDefinition=Vn,t.PropertyEditorPanelColumnFieldType_$type=sr,t.PropertyEditorPanelColumnType_$type=or,t.PropertyEditorPanelComboBoxBridgeItem=Un,t.PropertyEditorPanelDataBindingEventArgs=zn,t.PropertyEditorPanelDropDownDataListItem=ar,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=Dn,t.PropertyEditorPanelUpdateMode=En,t.PropertyEditorPanelUpdateMode_$type=$n,t.PropertyEditorPanelView=Ln,t.PropertyEditorPropertyDescription=Rt,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=It,t.PropertyEditorPropertyDescriptionChangedEventArgs=At,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=Et,t.PropertyEditorPropertyDescriptionCollection=zt,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Nt,t.PropertyEditorTreeTransformer=qn,t.PropertyEditorValueType=Ot,t.PropertyEditorValueType_$type=St,t.ToolAction=si,t.ToolActionButton=ai,t.ToolActionButtonDisplayType=_e,t.ToolActionButtonDisplayType_$type=Ce,t.ToolActionButtonGroupDisplayType=we,t.ToolActionButtonGroupDisplayType_$type=Pe,t.ToolActionButtonPair=hi,t.ToolActionButtonPairVisualData=xe,t.ToolActionButtonVisualData=je,t.ToolActionCheckbox=ui,t.ToolActionCheckboxGroup=li,t.ToolActionCheckboxGroupVisualData=ke,t.ToolActionCheckboxList=ci,t.ToolActionCheckboxListIndexType=Ae,t.ToolActionCheckboxListIndexType_$type=Ne,t.ToolActionCheckboxListVisualData=Be,t.ToolActionCheckboxVisualData=Te,t.ToolActionCollection=xi,t.ToolActionColorEditor=pi,t.ToolActionColorEditorVisualData=Re,t.ToolActionCombo=fi,t.ToolActionComboVisualData=$e,t.ToolActionEventDetail=be,t.ToolActionEventDetailCollection=me,t.ToolActionFieldSelector=di,t.ToolActionFieldSelectorAggregation=Qi,t.ToolActionFieldSelectorAggregationsCollection=nn,t.ToolActionFieldSelectorEventType=Ue,t.ToolActionFieldSelectorEventType_$type=qe,t.ToolActionFieldSelectorSelectedAggregation=Zi,t.ToolActionFieldSelectorSelectedAggregationsCollection=rn,t.ToolActionFieldSelectorType=De,t.ToolActionFieldSelectorType_$type=ze,t.ToolActionFieldSelector_ToolActionFieldSelectorItem=Ve,t.ToolActionGroupHeader=gi,t.ToolActionGroupHeaderVisualData=Le,t.ToolActionIconButton=bi,t.ToolActionIconMenu=yi,t.ToolActionIconMenuVisualData=He,t.ToolActionLabel=mi,t.ToolActionLabelVisualData=Me,t.ToolActionMeasurementContext=ye,t.ToolActionNumberInput=vi,t.ToolActionNumberInputVisualData=Ge,t.ToolActionPerformedEventArgs=ve,t.ToolActionPopupOpeningEventArgs=Oi,t.ToolActionRadio=_i,t.ToolActionRadioGroup=Ci,t.ToolActionRadioGroupVisualData=Ke,t.ToolActionRadioVisualData=We,t.ToolActionSeparator=ji,t.ToolActionSeparatorVisualData=Xe,t.ToolActionSubPanel=wi,t.ToolActionSubPanelVisualData=Qe,t.ToolActionTextInput=Pi,t.ToolActionTextInputVisualData=Ye,t.ToolActionVisualData=re,t.ToolCommandEventArgs=Zt,t.ToolContextBinding=Kt,t.ToolContextBindingCollection=de,t.ToolPanel=Si,t.ToolPanelContentRefreshedEventArgs=Je,t.ToolPanelContext=ne,t.ToolPanelContextChangedEventArgs=ie,t.ToolPanelContextSwappedEventArgs=ge,t.ToolPanelDropdownMenuVisualData=se,t.ToolPanelIconRepository=Oe,t.ToolPanelOrientation=te,t.ToolPanelOrientation_$type=ee,t.ToolPanelView=ni,t.ToolPanelVisualData=oe,t.ToolPanelsPresenter=Ai,t.Toolbar=Ti,t.ToolbarContextAccessor=ki,t.ToolbarIconManager=jr,t.ToolbarOrientation=pe,t.ToolbarOrientation_$type=fe,t.ToolbarSubMenuClosingEventArgs=le,t.ToolbarSubMenuOpeningEventArgs=he,t.ToolbarView=ii,t.TooltipTextPresenter=Fe,t.XExpansionPanel=h,t.XToolPanelBridge=ti,t.XToolbarBridge=ei,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.n(this.p,this.h.bl),null!=this.l&&i.NativeUI.r(this.l,this.h.bj),null!=this.o&&i.NativeUI.r(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.ac;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.aj;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.c4(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.l(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.ab="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.t=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,"ac",{get:function(){return this.ab},set:function(t){if(t!=this.ab){var e=this.ab;this.ab=t,this.aw("Caption",e,this.ab)}},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,"aj",{get:function(){return this.t},set:function(t){if(t!=this.t){var e=this.t;this.t=t,this.aw("DescriptionText",e,this.t)}},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"DescriptionText":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.l(188,0,0,0),n.bt=i.BrushUtil.l(188,0,0,0),n.r=2,n.bu=i.BrushUtil.l(255,245,245,245),n.bw=i.BrushUtil.l(66,0,0,0),n.bv=i.BrushUtil.l(30,0,0,0),n.br=i.BrushUtil.l(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.ac},set:function(t){this.i.ac=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,"descriptionText",{get:function(){return this.i.aj},set:function(t){this.i.aj=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.n=!1,e.x=0,e.aa=0,e.ab=0,e.v=0,e.a=null,e.j=0,e.b=null,e.p=0,e.ay=null,e.ax=null,e.k=0,e._dropDownButtonVisible=!1,e.q=0,e.ae=null,e.c=null,e.ah=null,e.ai=null,e.aj=null,e.w=0,e.af=null,e.ag=null,e._actualLabelVisible=!1,e._actualNoMatchesFoundLabel=null,e.d=null,e.e=null,e.am=null,e.an=null,e.ao=null,e.y=0,e.ak=null,e.al=null,e.ap=null,e._rowSeparatorsVisible=!1,e.f=null,e.au=null,e.av=null,e.aw=null,e.z=0,e.as=null,e.at=null,e.g=null,e.r=0,e.h=null,e.s=0,e.t=0,e.u=0,e.ar=null,e.ac=null,e.i=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.aq=function(){var t=new i.StringBuilder(0);return t.l("{"),t.l("actualBackgroundColor : "+this.a.serialize()+", "),t.l("actualBaseTheme : "+this.j+", "),t.l("actualBorderColor : "+this.b.serialize()+", "),t.l("actualBorderWidth : "+this.p+", "),t.l("actualContentPadding : { left: "+this.ay.left+",top: "+this.ay.top+",right: "+this.ay.right+",bottom: "+this.ay.bottom+"},"),t.l("actualDensity : "+this.k+", "),t.l("dropDownButtonVisible : "+this.dropDownButtonVisible+", "),t.l("actualFocusUnderlineOpacity : "+this.q+", "),t.l('label : "'+this.ae+'", '),t.l("actualLabelTextColor : "+this.c.serialize()+", "),i.stringIsNullOrEmpty(this.ah)||t.l('labelFontStyle : "'+this.ah+'", '),i.stringIsNullOrEmpty(this.ai)||t.l('labelFontVariant : "'+this.ai+'", '),i.stringIsNullOrEmpty(this.aj)||t.l('labelFontWeight : "'+this.aj+'", '),i.stringIsNullOrEmpty(this.af)||t.l('labelFontFamily : "'+this.af+'", '),i.stringIsNullOrEmpty(this.ag)||t.l('labelFontStretch : "'+this.ag+'", '),i.isNaN_(this.w)||t.l("labelFontSize : "+this.w+", "),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.am)||t.l('noMatchesFoundLabelFontStyle : "'+this.am+'", '),i.stringIsNullOrEmpty(this.an)||t.l('noMatchesFoundLabelFontVariant : "'+this.an+'", '),i.stringIsNullOrEmpty(this.ao)||t.l('noMatchesFoundLabelFontWeight : "'+this.ao+'", '),i.stringIsNullOrEmpty(this.ak)||t.l('noMatchesFoundLabelFontFamily : "'+this.ak+'", '),i.stringIsNullOrEmpty(this.al)||t.l('noMatchesFoundLabelFontStretch : "'+this.al+'", '),i.isNaN_(this.y)||t.l("noMatchesFoundLabelFontSize : "+this.y+", "),t.l('placeholder : "'+this.ap+'", '),t.l("rowSeparatorsVisible : "+this.rowSeparatorsVisible+", "),t.l("actualTextColor : "+this.f.serialize()+", "),i.stringIsNullOrEmpty(this.au)||t.l('textStyleFontStyle : "'+this.au+'", '),i.stringIsNullOrEmpty(this.av)||t.l('textStyleFontVariant : "'+this.av+'", '),i.stringIsNullOrEmpty(this.aw)||t.l('textStyleFontWeight : "'+this.aw+'", '),i.stringIsNullOrEmpty(this.as)||t.l('textStyleFontFamily : "'+this.as+'", '),i.stringIsNullOrEmpty(this.at)||t.l('textStyleFontStretch : "'+this.at+'", '),i.isNaN_(this.z)||t.l("textStyleFontSize : "+this.z+", "),t.l("actualUnderlineColor : "+this.g.serialize()+", "),t.l("actualUnderlineOpacity : "+this.r+", "),t.l("actualUnderlineRippleColor : "+this.h.serialize()+", "),t.l("actualUnderlineRippleOpacity : "+this.s+", "),t.l("actualUnderlineRippleWidth : "+this.t+", "),t.l("actualUnderlineWidth : "+this.u+", "),t.l('text : "'+this.ar+'", '),null!=this.ac&&t.l('value : "'+this.ac.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.ao,"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.b7){var i=this.r();this.a.bh.cf(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.ao);if(null!=u){u.oi=h.k4,u.ks=h.jg,u.no=h.j7,u.eg=h.cx,u.np=h.j8,u.eh=h.cy,u.ei=h.cz,u.nq=h.j9,u.ej=h.c0,u.ek=h.c1,u.n6=h.ke,u.e5=h.c2,u.n7=h.kf,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.gc)}}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.ka;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.ao,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.ao;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.ao,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.ao;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.ao,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.ao.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.ao.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.av(this.c,7,(function(t){e.c.append(t.ao),e.a.ie(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.ao;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.kl=n.XInputGroup.m.af(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.km=n.XInputGroup.m.af(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.k6=n.XInputGroup.m.ak(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.ji=n.XInputGroup.m.z(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.kn=n.XInputGroup.m.af(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.ko=n.XInputGroup.m.af(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.kp=n.XInputGroup.m.af(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.kq=n.XInputGroup.m.af(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.kr=n.XInputGroup.m.af(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.ju=null,e.jj=n.ThemeResolver.ah(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.af=0,e.ae=1,e.jv=null,e.jk=n.ThemeResolver.ah(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.k3=new i.Thickness(1,NaN,NaN,NaN,NaN),e.k2=n.ThemeResolver.am(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.jf=new i.CornerRadius(1,NaN,NaN,NaN,NaN),e.je=n.ThemeResolver.ab(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.jw=null,e.jl=n.ThemeResolver.ah(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.jx=null,e.jm=n.ThemeResolver.ah(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.jy=null,e.jn=n.ThemeResolver.ah(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.f2=null,e.jz=null,e.jo=r.ki,e.as=null,e.ap=null,e.bs=!1,e.f5=null,e.er="No Matches Found",e.j0=null,e.jp=r.kj,e.j1=null,e.jq=r.kk,e.at=null,e.aq=null,e.gd="",e.j2=r.ks,e.jr=r.ks,e.au=null,e.ar=null,e.j3=null,e.js=n.ThemeResolver.ah(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.j4=null,e.jt=n.ThemeResolver.ah(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.gz=function(){this.ad.dw=-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.iq=function(t,e,o){switch(t){case"BackgroundColor":this.j5=null!=this.kg?this.kg:this.kl;break;case"BorderColor":this.j6=null!=this.kh?this.kh:this.km;break;case"BorderWidth":this.cw=i.isNaN_(this.c6)?this.c8:this.c6;break;case"ContentPadding":this.k4=n.XInputGroup.oh(this.k5,this.k6);break;case"CornerRadius":this.jg=n.XInputGroup.kr(this.jh,this.ji);break;case"FocusBorderColor":this.j7=null!=this.kt?this.kt:this.kn;break;case"FocusBorderWidth":this.cx=i.isNaN_(this.di)?this.c9:this.di;break;case"FocusUnderlineColor":this.j8=null!=this.ku?this.ku:this.ko;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.j9=null!=this.kv?this.kv:this.kp;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.jb();break;case"LabelTextColor":this.ka=null!=this.kw?this.kw:r.ki;break;case"LabelTextStyle":this.av=null!=this.a2?this.a2:r.ay;break;case"NoMatchesFoundLabelTextColor":this.kc=null!=this.ky?this.ky:r.kk;break;case"NoMatchesFoundLabelBackgroundColor":this.kb=null!=this.kx?this.kx:r.kj;break;case"NoMatchesFoundLabelTextStyle":this.aw=null!=this.a3?this.a3:r.az;break;case"UnderlineColor":this.ke=null!=this.k0?this.k0:this.kq;break;case"UnderlineOpacity":this.c2=i.isNaN_(this.dn)?this.de:this.dn;break;case"UnderlineRippleColor":this.kf=null!=this.k1?this.k1:this.kr;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.kd=null!=this.kz?this.kz:r.ks;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.i2();break;case"NoMatchesFoundLabel":this.actualNoMatchesFoundLabel=i.stringIsNullOrEmpty(this.f6)?"No Matches Found":this.f6;break;case"Label":case"PlaceholderText":this.i2(),this.actualLabelVisible=!i.stringIsNullOrEmpty(this.f2);break;case"Text":this.i6();var s=null!=e?e.toString():null,a=null!=o?o.toString():null;this.id(new f(s,a)),this.ip(1,a);break;case"Value":this.ia(new d(e,o)),this.ip(0,o);break;case"AllowFilter":this.g7(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.g9(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.h7("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.h7("Fields",e,this.c)},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.h7("BackgroundColor",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.h7("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.h7("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.h7("ActualBaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kh",{get:function(){return this.jv},set:function(t){var e=this.jv;this.jv=t,e!=this.jv&&this.h7("BorderColor",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.h7("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.h7("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.h7("ActualBorderWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k5",{get:function(){return this.k3},set:function(t){var e=this.k3;this.k3=t,e!=this.k3&&this.h7("ContentPadding",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.h7("ActualContentPadding",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jh",{get:function(){return this.jf},set:function(t){var e=this.jf;this.jf=t,e!=this.jf&&this.h7("CornerRadius",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.h7("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.h7("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.h7("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.h7("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.h7("DropDownButtonVisible",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.h7("FocusBorderColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.jl},set:function(t){var e=this.jl;this.jl=t,e!=this.jl&&this.h7("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.h7("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.h7("ActualFocusBorderWidth",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.h7("FocusUnderlineColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.jm},set:function(t){var e=this.jm;this.jx=t,e!=this.jm&&this.h7("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.h7("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.h7("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.h7("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.h7("ActualFocusUnderlineRippleOpacity",e,t)},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.h7("HoverUnderlineColor",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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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,"f0",{get:function(){return this.f2},set:function(t){var e=this.f0;0!=i.StringComparer.b.compare(t,e)&&(this.f2=t,this.h7("Label",e,this.f2))},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.h7("LabelTextColor",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.h7("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.h7("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.h7("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.h7("ActualLabelVisible",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f6",{get:function(){return this.f5},set:function(t){var e=this.f5;0!=i.StringComparer.b.compare(t,e)&&(this.f5=t,this.h7("NoMatchesFoundLabel",e,this.f5))},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.h7("ActualNoMatchesFoundLabel",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.h7("NoMatchesFoundLabelBackgroundColor",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.h7(r.et,e,t)},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.h7("NoMatchesFoundLabelTextColor",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.h7("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.h7("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.h7("ActualNoMatchesFoundLabelTextStyle",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gc",{get:function(){return this.gd},set:function(t){var e=this.gc;0!=i.StringComparer.b.compare(t,e)&&(this.gd=t,this.h7("PlaceholderText",e,this.gd))},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.h7("TextColor",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.h7("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.h7("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.h7("ActualTextStyle",e,this.ar)},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.h7("UnderlineColor",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.h7("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.h7("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.h7("ActualUnderlineOpacity",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k1",{get:function(){return this.j4},set:function(t){var e=this.j4;this.j4=t,e!=this.j4&&this.h7("UnderlineRippleColor",e,t)},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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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.h7("AllowFilter",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gh",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.h7("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.h7("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.h7("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.h7("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.h7("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.h7("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.fu=function(){return this.ft(this.gh)},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.fu();if(null!=i){var n=this.dx(t,i);e=null!=n?n.toString():null}else e=null;return e},r.prototype.ft=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.ft(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.ft(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.h9=function(t){this.ip(2,t)},r.prototype.ip=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.i1(e.toString());break;case 0:this.i0(e)}}finally{this.b2=!1}}},r.prototype.iz=function(t){this.text=t},r.prototype.jd=function(){this.ax=null==this.a4?this.a1:this.a4,this.av=null==this.a2?this.a1:this.a2},r.prototype.i4=function(){},r.prototype.closeUp=function(){this.g1()},r.prototype.destroy=function(){this.provideRenderer(null)},r.prototype.dropDown=function(){this.g6()},r.prototype.select=function(){this.iv()},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().aq()},r.prototype.u=function(){var t,n,r=new b;r.i=this.ac.ei(),r.n=this.bh.b7;try{for(var o=e.__values(i.fromEnum(r.i.a)),s=o.next();!s.done;s=o.next()){var a=s.value,h=a.e,u=this.actualDataSource.getItemAtIndex(h),l=this.fs(u);a.f=l}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}if(r.a=i.AppearanceHelper.a(this.j5),r.j=this.ah,r.b=i.AppearanceHelper.a(this.j6),r.p=this.cw,r.ay=this.k4,r.ax=this.jg,r.k=this.am,r.dropDownButtonVisible=this.dropDownButtonVisible,r.q=this.cy,r.ae=this.f0,r.c=i.AppearanceHelper.a(this.ka),r.actualLabelVisible=this.actualLabelVisible,r.actualNoMatchesFoundLabel=this.actualNoMatchesFoundLabel,r.d=i.AppearanceHelper.a(this.kb),r.e=i.AppearanceHelper.a(this.kc),r.ap=this.gc,r.f=i.AppearanceHelper.a(this.kd),r.g=i.AppearanceHelper.a(this.ke),r.r=this.c2,r.h=i.AppearanceHelper.a(this.kf),r.s=this.c3,r.t=this.c4,r.u=this.c5,r.ar=this.text,r.ac=this.value,null!=this.av){var c=this.av;if(null!=this.ab&&null==c.q){var p=this.ab.c,f=i.FontUtil.getFontInfoFromString(p,c.fontString);c.q=f.q,c.f=f.f,c.r=f.r,c.t=f.t,c.u=f.u,c.v=f.v}null!=c.q&&(r.af=c.q),i.isNaN_(c.f)||(r.w=c.f),null!=c.v&&(r.aj=c.v),null!=c.t&&(r.ah=c.t),null!=c.r&&(r.ag=c.t)}if(null!=this.aw){var d=this.aw;if(null!=this.ab&&null==d.q){var g=this.ab.c,y=i.FontUtil.getFontInfoFromString(g,d.fontString);d.q=y.q,d.f=y.f,d.r=y.r,d.t=y.t,d.u=y.u,d.v=y.v}null!=d.q&&(r.ak=d.q),i.isNaN_(d.f)||(r.y=d.f),null!=d.v&&(r.ao=d.v),null!=d.t&&(r.am=d.t),null!=d.r&&(r.al=d.t)}if(null!=this.ax){var m=this.ax;if(null!=this.ab&&null==m.q){var v=this.ab.c,_=i.FontUtil.getFontInfoFromString(v,m.fontString);m.q=_.q,m.f=_.f,m.r=_.r,m.t=_.t,m.u=_.u,m.v=_.v}null!=m.q&&(r.as=m.q),i.isNaN_(m.f)||(r.z=m.f),null!=m.v&&(r.aw=m.v),null!=m.t&&(r.au=m.t),null!=m.r&&(r.at=m.t)}return r},Object.defineProperty(r.prototype,"b4",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,e!=this.bn&&this.h7("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.h7("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.h7("UseTopLayer",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.h2=function(t){null!=this.gotFocus&&this.gotFocus(this,t)},r.prototype.h5=function(t){null!=this.lostFocus&&this.lostFocus(this,t)},r.prototype.id=function(t){null!=this.textValueChanged&&this.textValueChanged(this,t)},r.prototype.ia=function(t){null!=this.selectedValueChanged&&this.selectedValueChanged(this,t)},r.prototype.h7=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.iq(t,e,n)},r.prototype.h4=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.hr=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.ie=function(t){this.a9=t,this.h6()},r.prototype.h1=function(){this.ab.i()},r.prototype.hq=function(){this.ab.h()},r.prototype.h6=function(){this.g3(),this.i9(),this.g2(),this.bc.bo(this.a7),this.i2(),this.i3(),this.ab.h()},r.prototype.gw=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.gx=function(){var t=this.m();null!=t&&t.filterExpressions.k.contains(this.n)&&t.filterExpressions.remove(this.n),this.n=null},r.prototype.g1=function(){var t=this.bh;null!=t&&t.cd(),this.i3(),this.gx()},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.g2=function(){var t=this,e=this.ab.d();i.NativeUIContent.aw(e,[7,2],[2,2],(function(e){t.a7=e[0],t.a7.h=3,t.a7.n=i.runOn(t,t.hl),t.a7.o=i.runOn(t,t.hm),t.bd=e[1],t.a7.bo(t.bd),t.bd.b8=t.text,t.bd.bt=i.runOn(t,t.hg),t.bd.bu=i.runOn(t,t.hh),t.bd.by=i.runOn(t,t.hj),t.bd.n=i.runOn(t,t.hi),t.bd.b0=i.runOn(t,t.hk),t.g7(t.bu),t.bd.b7=r.d2,t.bd.cd=i.BrushUtil.l(255,0,0,0),t.bd.bo=i.runOn(t,t.ic)}))},Object.defineProperty(r.prototype,"be",{get:function(){return this.bd},enumerable:!1,configurable:!0}),r.prototype.g3=function(){var t=this;i.NativeUIContent.aw(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.bg.b8=!0,t.a5=e[2],t.a5.bj=new i.Thickness(0,4),t.ba=e[0],t.ba.bo(t.a5),t.a8=e[4],t.ba.bo(t.a8),t.a9.bo(t.bg),t.bf=e[3],t.bg.bo(t.ba),t.bg.bx=i.runOn(t,t.ih)}))},r.prototype.ih=function(t,e){null!=this.ad&&0==this.a8.bk&&this.ad.notifySizeChanged()},r.prototype.hu=function(t,e){},r.prototype.hx=function(t,e,i){},r.prototype.ht=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.fu();t=this.l.getItemAtIndex(0);var l=this.l.getItemProperty(t,u).toString();this.text=l}var c=this.m().indexOfItem(t);this.ix(c);break;case 0:default:return}if(null!=t){var p=this.m().indexOfItem(t);this.ix(p)}else this.ix(-1);null!=this.l&&(this.l.updateNotifier=null,this.l=null),this.v=0},r.prototype.hv=function(t,e){},r.prototype.hw=function(t,e){},r.prototype.h0=function(t,e){var i=this.ad;if(null!=i){var n=i.dw;-1!=n&&n>=t&&n<=e&&(this.iu(n),this.ja())}},r.prototype.ib=function(t,e,i){},r.prototype.hs=function(){if(this.ij(),this.b5){var t=this.m().actualCount;this.ca&&t>0?this.il():this.im()}else this.i8()},r.prototype.h3=function(t,e){},r.prototype.h8=function(t,e){},r.prototype.g6=function(){this.jc(),this.hn();var t=this.bh;t.b7||(t.b1=!this.b5,t.ch(this.bc,1,1),this.i3())},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.hb=function(t){var e=-1!=t?t:-1;this.iu(e)},r.prototype.hd=function(){var t,e,i=this;this.bo||(e=i.bz(t),t=e.p0,e.ret)&&null!=t&&this.h9(t)},r.prototype.hn=function(){this.bh.ce()},r.prototype.hp=function(){if(this.bh.b7){this.closeUp();var t=this.bd;t.a0();var e=null!=t.b8?t.b8.length:0;t.cb(e,e)}},r.prototype.hy=function(){this.bd.b2=!0,this.bd.ca();var t=new g;this.h2(t)},r.prototype.hz=function(){this.closeUp(),this.bd.b9();var t=new y;this.h5(t)},r.prototype.im=function(){var t=this.ac;t.selectedItemsChanged=i.delegateRemove(t.selectedItemsChanged,i.runOn(this,this.he)),this.bo=!0;try{this.iz(this.d7)}finally{this.bo=!1;var e=this.ac;e.selectedItemsChanged=i.delegateCombine(e.selectedItemsChanged,i.runOn(this,this.he))}this.b5=!1},r.prototype.io=function(){if(this.b5=!0,i.stringIsNullOrEmpty(this.d7))null!=this.n?this.gw(null):this.im();else{var t=i.FilterFactory.instance.property(this.fu()).toLower().startsWith(this.d7.toLowerCase());this.gw(t)}},r.prototype.is=function(){this.dt=0,this.b6=!1},r.prototype.iu=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.hd());n.selectedItemsChanged=i.delegateRemove(n.selectedItemsChanged,i.runOn(this,this.he));try{n.ai.clear()}finally{n.selectedItemsChanged=i.delegateCombine(n.selectedItemsChanged,i.runOn(this,this.he))}if(t>=0){var r=e.getItemAtIndex(t);this.b1=!1,n.ai.add1(r),this.b1||this.hd()}}},r.prototype.ix=function(t){var e=this.ad;if(-1!=t){var i;e.dw;this.ds=t,i=t,this.b0=!1,e.dw=i,this.b0||this.hb(e.dw),this.ja()}else e.dw=-1},r.prototype.i1=function(t){this.ig(2,t)},r.prototype.i0=function(t){this.ig(1,t)},r.prototype.i2=function(){var t=this;if(null!=this.bd&&(this.bd.bq=t.density,this.bd.c=t.ah,this.bd.bv=t.s,this.bd.a9=t.j5,this.bd.ba=t.j6,this.bd.bh=new i.Thickness(0,t.cw),this.bd.bq=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.cf=t.kd,this.bd.bl=t.ax),null!=this.bd&&(this.bd.b6=t.f0),null!=this.a5){if(this.a5.bb=t.kc,this.a5.a9=t.kb,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bt=this.bf,this.bf.bo=this.actualNoMatchesFoundLabel,this.hn()}this.ad},r.prototype.i6=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b8=t}},r.prototype.i3=function(){var t=this.bh,e=null!=t&&t.b7;this.bd.b7=e?r.d3:r.d4},r.prototype.i5=function(){this.jd();var t=this.ac.ia(),e=Math.min(t.height,320);this.a8.z=e;var i=t.width;i=Math.max(i,150),this.a8.af=i},r.prototype.i7=function(){this.b5||(this.d7=null,null!=this.n?this.gx():this.i8())},r.prototype.i8=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.ix(n)}},r.prototype.i9=function(){var t=this;null==this.ad&&(this.jd(),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.gu)),t.jb(),t.ad.as=1,t.ad.an=0,t.ad.r=1,t.a8.a9=i.BrushUtil.l(255,255,255,255),t.ac.h8=i.BrushUtil.l(255,200,200,200),t.ac.h2=i.BrushUtil.l(255,100,100,100),t.ac.ef=32,t.ad.h6=i.BrushUtil.l(0,0,0,0),t.ad.by=!1,t.ad.bt=!1;var o=t.ad;o.activeRowChanged=i.delegateCombine(o.activeRowChanged,i.runOn(t,t.ha));var s=t.ad;s.selectedItemsChanged=i.delegateCombine(s.selectedItemsChanged,i.runOn(t,t.he));var a=t.ad;a.itemClicked=i.delegateCombine(a.itemClicked,i.runOn(t,t.hc)),t.ad.a9=i.runOn(t,t.hf),t.i2()})))},r.prototype.gu=function(t,e){var n=this;if(null!=e.b){if("comboItem"!=e.b.ap)i.NativeUIComponent.av(this.ab.d(),3,(function(t){var r=t;r.bl=n.ax,e.b.bt=r,e.b.ap="comboItem",r.f=0,r.h=1,r.bi=new i.Thickness(0,5),r.bo=n.fs(e.a.x)}));else e.b.bt.bo=this.fs(e.a.x)}},r.prototype.fs=function(t){return null!=this.fu()?this.actualDataSource.getItemProperty(t,this.fu()).toString():""},r.prototype.ig=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.fu();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.ii=function(){this.i6();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.cb(e,n)},r.prototype.ij=function(){this.by&&(this.by=!1,this.dropDown())},r.prototype.ik=function(t){this.d7=t,this.ca=!this.b7,this.io()},r.prototype.il=function(){i.stringIsNullOrEmpty(this.d7)?this.gy():this.ix(0),this.ii(),this.b5=!1},r.prototype.gy=function(){this.ad.dw=-1},r.prototype.g7=function(t){null!=this.bd&&(this.bd.b1=!t)},r.prototype.ja=function(){if(this.bp){var t=this.ad,e=t.dw;if(-1!=e){var i=this.m();if(null!=i){var n=e<i.actualCount?i.getItemAtIndex(e):0;if(null==n)return;t.cl(n)}}else t.hj(0)}},r.prototype.jb=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.gv))}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.gv)),null!=this.value&&this.ig(1,this.value)}this.l=null}},r.prototype.gv=function(t,e){-1!=this.ds&&(this.ix(this.ds),this.ds=-1)},r.prototype.iw=function(t){null!=this.bd&&(this.bd.b1=!t)},r.prototype.jc=function(){if(this.i5(),this.b5){var t=this.m();this.b8=0==t.actualCount}else this.b8=!1;this.a5.bk=this.b8?0:1;this.a8.bk;this.a8.bk=this.b8?1:0},r.prototype.g9=function(t){null!=this.bd&&(t?this.bd.a1():this.bd.a0())},r.prototype.iv=function(){null!=this.bd&&this.bd.ca()},Object.defineProperty(r.prototype,"bc",{get:function(){return this.a9},enumerable:!1,configurable:!0}),r.prototype.ic=function(t,e){e.a=!0,this.bh.b7?this.closeUp():this.gw(null),null!=this.bd&&(this.bd.a0(),this.bd.ca())},r.prototype.ha=function(t,e){var i=e.newActiveRow;this.hb(i),this.b0=!0},r.prototype.hc=function(t,e){this.hp()},r.prototype.he=function(t,e){this.hd(),this.b1=!0},r.prototype.hf=function(){this.bp=this.ad.ay.a,this.ja()},r.prototype.hg=function(t,e){if(!e.a){this.hr(e);var i=e.b;this.ik(i)}},r.prototype.hh=function(t,e){var i=this.bd.b8;this.ik(i)},r.prototype.hi=function(t,e){this.is()},r.prototype.hj=function(t,e){if(this.h4(e),!e.c){var n=e.g;switch(this.dt=n,this.b6=!1,n){case 8:var r=this.bd.b5;if(0==r)break;var o=this.bd.b8;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b4,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.i7(),e.d=!0;else{var u=this.ad;if(null==u)return;this.ad.dw;if(-1!=u.dw)this.ad.b4(!1,!1),e.d=!0;else{var l=this.m();if(null!=l)l.actualCount>0&&(this.ix(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.dw;if(null!=c.dw)this.ac.ch(!1,!1),e.d=!0;else{var p=this.m();if(null!=p){var f=p.actualCount;f>0&&(this.ix(f-1),e.d=!0)}}}break;case 13:this.bh.b7&&(e.f=!0),this.hp();break;case 27:this.closeUp()}}},r.prototype.hk=function(t,e){},r.prototype.hl=function(t,e){if(!this.bm){this.bm=!0,this.bd.a0(),this.bm=!1;var i=e.b;this.b3(i)||this.hy()}},r.prototype.hm=function(t,e){var i=e.b;this.b3(i)||this.hz()},r.$t=i.markType(r,"ComboEditor",i.Base.$,[i.INotifyPropertyChanged_$type]),r.ag=1,r.ki=n.ThemeResolver.aj(r.ag,n.XLabel.de,n.XLabel.c7),r.kk=n.ThemeResolver.aj(r.ag,n.XLabel.de,n.XLabel.c7),r.kj=i.BrushUtil.l(255,255,255,255),r.ay=null,r.et="ActualNoMatchesFoundLabelBackgroundColor",r.az=null,r.ks=i.BrushUtil.l(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.hu(t,e):this.a.h0(t,e)},n.prototype.notifySetItem=function(t,e,i){this.b?this.a.hx(t,e,i):this.a.ib(t,e,i)},n.prototype.notifyClearItems=function(){this.b?this.a.ht():this.a.hs()},n.prototype.notifyInsertItem=function(t,e){this.b?this.a.hv(t,e):this.a.h3(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.b?this.a.hw(t,e):this.a.h8(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}(),w=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}(),k=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}(),P=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}(),x=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.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.j5))},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.kh)},set:function(t){this.i.kh=i.stringToBrush(t),this._a("borderColor",i.brushToString(this.i.kh))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualBorderColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualBorderColor",i.brushToString(this.i.j6))},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.k5?this.i.k5.bottom:NaN},set:function(t){this.ensureContentPadding();var e=+t;if(this.i.k5.bottom!==e){var n=new i.Thickness(2);n.bottom=e,n.left=this.i.k5.left,n.right=this.i.k5.right,n.top=this.i.k5.top,this.i.k5=n,this._a("contentPaddingBottom",this.i.k5.bottom)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingLeft",{get:function(){return this.i.k5?this.i.k5.left:NaN},set:function(t){this.ensureContentPadding();var e=+t;if(this.i.k5.left!==e){var n=new i.Thickness(2);n.left=e,n.bottom=this.i.k5.bottom,n.right=this.i.k5.right,n.top=this.i.k5.top,this.i.k5=n,this._a("contentPaddingLeft",this.i.k5.left)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingRight",{get:function(){return this.i.k5?this.i.k5.right:NaN},set:function(t){this.ensureContentPadding();var e=+t;if(this.i.k5.right!==e){var n=new i.Thickness(2);n.right=e,n.bottom=this.i.k5.bottom,n.left=this.i.k5.left,n.top=this.i.k5.top,this.i.k5=n,this._a("contentPaddingRight",this.i.k5.right)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"contentPaddingTop",{get:function(){return this.i.k5?this.i.k5.top:NaN},set:function(t){this.ensureContentPadding();var e=+t;if(this.i.k5.top!==e){var n=new i.Thickness(2);n.top=e,n.bottom=this.i.k5.bottom,n.left=this.i.k5.left,n.right=this.i.k5.right,this.i.k5=n,this._a("contentPaddingTop",this.i.k5.top)}},enumerable:!1,configurable:!0}),r.prototype.ensureContentPadding=function(){this.i.k5||(this.i.k5=new i.Thickness(2))},Object.defineProperty(r.prototype,"actualContentPaddingBottom",{get:function(){return this.i.k4?this.i.k4.bottom:NaN},set:function(t){this.ensureActualContentPadding();var e=+t;if(this.i.k4.bottom!==e){var n=new i.Thickness(2);n.bottom=e,n.left=this.i.k4.left,n.right=this.i.k4.right,n.top=this.i.k4.top,this.i.k4=n,this._a("actualContentPaddingBottom",this.i.k4.bottom)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingLeft",{get:function(){return this.i.k4?this.i.k4.left:NaN},set:function(t){this.ensureActualContentPadding();var e=+t;if(this.i.k4.left!==e){var n=new i.Thickness(2);n.left=e,n.bottom=this.i.k4.bottom,n.right=this.i.k4.right,n.top=this.i.k4.top,this.i.k4=n,this._a("actualContentPaddingLeft",this.i.k4.left)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingRight",{get:function(){return this.i.k4?this.i.k4.right:NaN},set:function(t){this.ensureActualContentPadding();var e=+t;if(this.i.k4.right!==e){var n=new i.Thickness(2);n.right=e,n.bottom=this.i.k4.bottom,n.left=this.i.k4.left,n.top=this.i.k4.top,this.i.k4=n,this._a("actualContentPaddingRight",this.i.k4.right)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualContentPaddingTop",{get:function(){return this.i.k4?this.i.k4.top:NaN},set:function(t){this.ensureActualContentPadding();var e=+t;if(this.i.k4.top!==e){var n=new i.Thickness(2);n.top=e,n.bottom=this.i.k4.bottom,n.left=this.i.k4.left,n.right=this.i.k4.right,this.i.k4=n,this._a("actualContentPaddingTop",this.i.k4.top)}},enumerable:!1,configurable:!0}),r.prototype.ensureActualContentPadding=function(){this.i.k4||(this.i.k4=new i.Thickness(2))},Object.defineProperty(r.prototype,"cornerRadiusBottomRight",{get:function(){return this.i.jh?this.i.jh.c:NaN},set:function(t){this.ensureCornerRadius();var e=+t;if(this.i.jh.c!==e){var n=new i.CornerRadius(2);n.c=e,n.b=this.i.jh.b,n.d=this.i.jh.d,n.e=this.i.jh.e,this.i.jh=n,this._a("cornerRadiusBottomRight",this.i.jh.c)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusBottomLeft",{get:function(){return this.i.jh?this.i.jh.b:NaN},set:function(t){this.ensureCornerRadius();var e=+t;if(this.i.jh.b!==e){var n=new i.CornerRadius(2);n.b=e,n.c=this.i.jh.c,n.d=this.i.jh.d,n.e=this.i.jh.e,this.i.jh=n,this._a("cornerRadiusBottomLeft",this.i.jh.b)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopLeft",{get:function(){return this.i.jh?this.i.jh.d:NaN},set:function(t){this.ensureCornerRadius();var e=+t;if(this.i.jh.d!==e){var n=new i.CornerRadius(2);n.d=e,n.c=this.i.jh.c,n.b=this.i.jh.b,n.e=this.i.jh.e,this.i.jh=n,this._a("cornerRadiusTopLeft",this.i.jh.d)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cornerRadiusTopRight",{get:function(){return this.i.jh?this.i.jh.e:NaN},set:function(t){this.ensureCornerRadius();var e=+t;if(this.i.jh.e!==e){var n=new i.CornerRadius(2);n.e=e,n.c=this.i.jh.c,n.b=this.i.jh.b,n.d=this.i.jh.d,this.i.jh=n,this._a("cornerRadiusTopRight",this.i.jh.e)}},enumerable:!1,configurable:!0}),r.prototype.ensureCornerRadius=function(){this.i.jh||(this.i.jh=new i.CornerRadius(2))},Object.defineProperty(r.prototype,"actualCornerRadiusBottomRight",{get:function(){return this.i.jg?this.i.jg.c:NaN},set:function(t){this.ensureActualCornerRadius();var e=+t;if(this.i.jg.c!==e){var n=new i.CornerRadius(2);n.c=e,n.b=this.i.jg.b,n.d=this.i.jg.d,n.e=this.i.jg.e,this.i.jg=n,this._a("actualCornerRadiusBottomRight",this.i.jg.c)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusBottomLeft",{get:function(){return this.i.jg?this.i.jg.b:NaN},set:function(t){this.ensureActualCornerRadius();var e=+t;if(this.i.jg.b!==e){var n=new i.CornerRadius(2);n.b=e,n.c=this.i.jg.c,n.d=this.i.jg.d,n.e=this.i.jg.e,this.i.jg=n,this._a("actualCornerRadiusBottomLeft",this.i.jg.b)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopLeft",{get:function(){return this.i.jg?this.i.jg.d:NaN},set:function(t){this.ensureActualCornerRadius();var e=+t;if(this.i.jg.d!==e){var n=new i.CornerRadius(2);n.d=e,n.c=this.i.jg.c,n.b=this.i.jg.b,n.e=this.i.jg.e,this.i.jg=n,this._a("actualCornerRadiusTopLeft",this.i.jg.d)}},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualCornerRadiusTopRight",{get:function(){return this.i.jg?this.i.jg.e:NaN},set:function(t){this.ensureActualCornerRadius();var e=+t;if(this.i.jg.e!==e){var n=new i.CornerRadius(2);n.e=e,n.c=this.i.jg.c,n.b=this.i.jg.b,n.d=this.i.jg.d,this.i.jg=n,this._a("actualCornerRadiusTopRight",this.i.jg.e)}},enumerable:!1,configurable:!0}),r.prototype.ensureActualCornerRadius=function(){this.i.jg||(this.i.jg=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.kt)},set:function(t){this.i.kt=i.stringToBrush(t),this._a("focusBorderColor",i.brushToString(this.i.kt))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusBorderColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("actualFocusBorderColor",i.brushToString(this.i.j7))},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.ku)},set:function(t){this.i.ku=i.stringToBrush(t),this._a("focusUnderlineColor",i.brushToString(this.i.ku))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualFocusUnderlineColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("actualFocusUnderlineColor",i.brushToString(this.i.j8))},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.kv)},set:function(t){this.i.kv=i.stringToBrush(t),this._a("hoverUnderlineColor",i.brushToString(this.i.kv))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualHoverUnderlineColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("actualHoverUnderlineColor",i.brushToString(this.i.j9))},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.f0},set:function(t){this.i.f0=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"labelTextColor",{get:function(){return i.brushToString(this.i.kw)},set:function(t){this.i.kw=i.stringToBrush(t),this._a("labelTextColor",i.brushToString(this.i.kw))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualLabelTextColor",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("actualLabelTextColor",i.brushToString(this.i.ka))},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.f6},set:function(t){this.i.f6=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.kx)},set:function(t){this.i.kx=i.stringToBrush(t),this._a("noMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kx))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelBackgroundColor",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelBackgroundColor",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"noMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.ky)},set:function(t){this.i.ky=i.stringToBrush(t),this._a("noMatchesFoundLabelTextColor",i.brushToString(this.i.ky))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualNoMatchesFoundLabelTextColor",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualNoMatchesFoundLabelTextColor",i.brushToString(this.i.kc))},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.gc},set:function(t){this.i.gc=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"textColor",{get:function(){return i.brushToString(this.i.kz)},set:function(t){this.i.kz=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.kz))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.kd))},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.k0)},set:function(t){this.i.k0=i.stringToBrush(t),this._a("underlineColor",i.brushToString(this.i.k0))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineColor",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualUnderlineColor",i.brushToString(this.i.ke))},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.k1)},set:function(t){this.i.k1=i.stringToBrush(t),this._a("underlineRippleColor",i.brushToString(this.i.k1))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualUnderlineRippleColor",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("actualUnderlineRippleColor",i.brushToString(this.i.kf))},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.gh},set:function(t){this.i.gh=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.iu(t)},r.prototype.verifyDisplayText=function(){this.i.i6()},r.prototype.enableDisableFiltering=function(t){this.i.g7(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 k;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 P;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 w;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),T=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),O=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"),I=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),z=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"),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),H=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),M=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.e=0,e.f=null,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("dataRow: "+this.e+", "),t.l("text: "+this.f+" "),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.ak=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.af=function(){},n.prototype.ac=function(t){var e=this;if(null==t)return this.t(),void(this.j=null);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.ai(),i.NativeUIComponent.av(this.s(),9,(function(t){var i=t;e.a.f4(i),e.k=i.ao}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.j.rootWrapper.setStyleProperty("position","relative"),this.u()},n.prototype.v=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.gp(e,0==t.button,t.shiftKey,t.ctrlKey)},n.prototype.w=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.gq(e,0==t.button,t.shiftKey,t.ctrlKey)},Object.defineProperty(n.prototype,"contentGrid",{get:function(){return this.k},enumerable:!1,configurable:!0}),n.prototype.ai=function(){},n.prototype.ah=function(){this.j},n.prototype.aa=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.ak=new i.Size(1,n,r),this.a.onSizeChanged(this.ak.width,this.ak.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.aj=function(){var t=this.j;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.r(e,this.a.h9),i.NativeUI.n(e,this.a.h3))}},n.prototype.d=function(){return this.b},n.prototype.ad=function(){},n.prototype.ag=function(){},n.prototype.z=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.ak.width},n.prototype.i=function(t){return this.c=this.a.a5(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.y=function(t,e){null==this.l&&(this.l=this.j.createElement("div")),e(this.l.getNativeElement())},n.prototype.x=function(){this.a.externalObject.ensureStretch()},n.prototype.ae=function(){this.t()},n.prototype.t=function(){var t,n;try{for(var r=e.__values(i.fromEnum(this.g)),o=r.next();!o.done;o=r.next()){(0,o.value)()}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},n.prototype.ab=function(){this.u()},n.prototype.u=function(){this.g.add(this.j.rootWrapper.listen("mousedown",i.runOn(this,this.v))),this.g.add(this.j.rootWrapper.listen("mouseup",i.runOn(this,this.w)))},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.eg=null,e.viewportChanged=null,e.ay=null,e.dk=-1,e.dl=-1,e.ar=0,e.bh=!0,e.h0=null,e.ba=!0,e.hy=null,e.hw=null,e.dd=i.truncate(i.DeviceUtils.g(1)),e.df=i.truncate(i.DeviceUtils.g(1)),e.de=i.truncate(i.DeviceUtils.g(1)),e.dc=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.c3=10,e.bv=!1,e.bj=!1,e.dn=-1,e.c1=i.DeviceUtils.g(42),e.a3=null,e.bd=!0,e.eh=null,e.c2=0,e.c0=NaN,e.cz=0,e.bo=!1,e.bg=!1,e.bn=!1,e.dm=-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.cy=new i.Queue$1(ot.$),e.cs=new i.List$1(i.Number_$type,0),e.cr=new i.List$1(i.Number_$type,0),e.cw=new i.List$1(i.Number_$type,0),e.cv=new i.List$1(i.Number_$type,0),e.dr=-1,e.cx=null,e.az=1,e.hz=null,e.bs=!0,e.bl=!0,e.dh=-1,e.di=-1,e.l=null,e.bz=!1,e.k=null,e.hx=n.h4,e.ab=n.ac,e.bi=n.bu,e.h1=n.h5,e.dp=-1,e.dq=-1,e.bk=!0,e.dg=0,e._viewportManager=null,e.ct=new i.List$1(i.Number_$type,0),e.cu=new i.List$1(i.Number_$type,0),e.cn=new i.List$1(i.Base.$,0),e.co=new i.List$1(E.$,0),e.cp=new i.List$1(i.Base.$,0),e.cq=new i.List$1(E.$,0),e.bc=!1,e.bb=!1,e.bf=!1,e.bm=!1,e.bq=!1,e.bp=!1,e.cm=!1,e.dj=-1,e.br=!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 T;var r=new tt;return r.a=e,e.view=r,e.view.af(),e.ah.ag(i.runOn(e,e.hm)),e.ak.an(i.runOn(e,e.hn)),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.f4=function(t){this.aa=new rt(t)},n.prototype.onSizeChanged=function(t,e){var n=this.c0,r=this.cz;this.c0=this.view.h(),1!=this.ad&&(r==this.cz&&n==(i.isNaN_(this.c0)?0:this.c0)||this.view.z(this.c0,this.cz)),this.hc()},n.prototype.setViewport=function(t,e,n,r){this.dk=-1,this.dl=-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.hd(),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.eb=function(t){return null==this.actualDataSource?-1:null!=this.actualDataSource.actualPrimaryKey&&this.actualDataSource.isKeyIndexLookupSupported?this.actualDataSource.indexOfKey(t.value):-1},n.prototype.ej=function(t){var e=this.eb(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.gr("SelectionMode",i.enumGetBox(S,e),i.enumGetBox(S,this.ar))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,this.bh!=e&&this.gr("IsActiveRowStyleEnabled",e,this.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,this.h0!=e&&this.gr("SelectedBackground",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ba},set:function(t){this.ba=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,this.hy!=e&&this.gr("NormalBackground",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,this.hw!=e&&this.gr("ActivationBorder",e,this.hw)},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.gr("ActivationBorderLeftWidth",e,this.dd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dv",{get:function(){return this.df},set:function(t){var e=this.df;this.df=t,this.df!=e&&this.gr("ActivationBorderTopWidth",e,this.df)},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.gr("ActivationBorderRightWidth",e,this.de)},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.gr("ActivationBorderBottomWidth",e,this.dc)},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.gr("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.gr("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.gr("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.gr("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.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.gr("ItemsSource",e,this.eg)},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.gr("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.gr("ActualDataSource",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c9",{get:function(){return this.c3},set:function(t){var e=this.c3;this.c3=t,this.c3!=e&&this.gr("ItemSpacing",e,this.c3)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.view.aa()},n.prototype.onAttachedToUI=function(){this.bj=!1,this.view.ab()},n.prototype.onDetachedFromUI=function(){this.bj=!0,this.view.ae()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.view.ac(t)},Object.defineProperty(n.prototype,"ef",{get:function(){return this.dn},set:function(t){var e=this.dn;this.dn=t,e!=this.dn&&this.gr("RowHeight",e,this.dn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c6",{get:function(){return this.c1},set:function(t){var e=this.c1;this.c1=t,e!=this.c1&&this.gr("ActualRowHeight",e,this.c1)},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.gr("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,"bw",{get:function(){return 1==this.ad},enumerable:!1,configurable:!0}),n.prototype.gr=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.g4(t,e,n)},n.prototype.fp=function(t,e){this.gm()},n.prototype.g7=function(){this.bn||(this.bn=!0,this.k.enqueueAction(i.runOn(this,this.ft)))},n.prototype.ft=function(){this.bn&&(this.bn=!1,this.f1(),this.bs&&this.fn(),this.g8(),this.hb(),null!=this.contentRefreshed&&this.contentRefreshed(this,new G))},n.prototype.f1=function(){this.bl&&(this.fm(),this.bl=!1,1==this.ad&&this.aa.g(new i.Size(1,this.c0,this.cz)))},n.prototype.hb=function(){if(null!=this.actualDataSource){this.dm=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.fx(n),this.fz(n),this.fv(n),this.aa.d(this,n)}}},n.prototype.fz=function(t){t.p&&(t.k?t.b.a.bh=new i.Thickness(1,this.dt,this.dv,this.du,this.ds):t.b.a.bh=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.ba=this.h2:t.b.a.ba=null,t.n?t.b.a.a9=this.h8:t.b.a.a9=this.h6)},n.prototype.fv=function(t){t.m&&(t.m=!1,this.f0(t))},n.prototype.f0=function(t){if(null!=this.rowUpdating){var e=this.c8(t.v);this.rowUpdating(this,((i=new it).a=t,i.b=t.b.a.bm(0),i.d=t.b.a.ao,i.c=e,i))}var i},n.prototype.fx=function(t){var e=this;null==t.b&&(t.b=new W,i.NativeUIComponent.aw(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bo(r),0==e.ad?n.f=3:n.f=0,t.b.a=n,null!=e.h6&&(t.b.a.a9=e.h6)})))},n.prototype.fn=function(){if(this.bs&&(this.bs=!1,this.f3(),this.dh=this.ed(),this.di=this.ee(),this.ay.c=this.dh,this.ay.b=this.di,-1!=this.dh&&-1!=this.di)){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.dh||n>this.di)&&t.add(n)}for(var r=0;r<t.count;r++)this.he(t._inner[r]);for(var o=this.dh;o<=this.di;o++){this.fw(o);var s=this.a2.item(o);s.u=this.db(o),s.s=this.da(o)}}},n.prototype.da=function(t){if(0==this.ad)return 0;if(2==this.ad){var e=this.d9(t);return this.cw._inner[e]}return this.cw._inner[t]},n.prototype.d9=function(t){return t%this.cx.count},n.prototype.ea=function(t){var e=Math.floor(t/this.cx.count);return i.truncate(e)},n.prototype.db=function(t){if(1==this.ad)return 0;if(2==this.ad){var e=this.ea(t);return this.b0?this.cs._inner[e]:e*this.c6}return this.b0?this.cs._inner[t]:t*this.c6},n.prototype.fw=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.cy.count>0?this.cy.b():new ot;return e.v=t,e.t=this.c6,e},n.prototype.he=function(t){var e=this.a2.item(t);this.ha(e),this.a2.f(t),e.i=!0,e.x=null,this.a1.s(e,e)},n.prototype.ha=function(t){var e;this.cy.g(t),null!=this.itemRecycled&&this.itemRecycled(this,((e=new V).rowObject=t.x,e))},n.prototype.ee=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.b0){this.f1();var t=this.ay.d.bottom,e=this.d1(t);return this.cs._inner[e]+this.cr._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.c6));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.b0){this.f1();var o=this.ay.d.bottom,s=this.d1(o);return this.cs._inner[s]+this.cr._inner[s]<o&&(s+=1),s*=this.cx.count,s+=this.cx.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.bottom,h=i.truncate(Math.floor(a/this.c6));return h*=this.cx.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.f1();var u=this.ay.d.right,l=this.d2(u);return this.cw._inner[l]+this.cv._inner[l]<u&&(l+=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return this.actualDataSource.actualCount-1},n.prototype.d1=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cs,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cs.count-1&&(e=this.cs.count-1),e},n.prototype.d2=function(t){var e=-1;return(e=i.ArrayExtension.binarySearch$11(i.Number_$type,this.cw,(function(e){return t<e?-1:t>e?1:0})))<0&&(e=~e,e--),e<0&&(e=0),e>this.cw.count-1&&(e=this.cw.count-1),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.b0){this.f1();var t=this.ay.d.top,e=this.d1(t);return this.cs._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.c6));return Math.max(0,Math.min(r,this.actualDataSource.actualCount-1))}if(2==this.ad){if(this.b0){this.f1();var o=this.ay.d.top,s=this.d1(o);return this.cs._inner[s]>o&&(s-=1),s*=this.cx.count,Math.max(0,Math.min(s,this.actualDataSource.actualCount-1))}var a=this.ay.d.top,h=i.truncate(Math.floor(a/this.c6));return h*=this.cx.count,Math.max(0,Math.min(h,this.actualDataSource.actualCount-1))}this.f1();var u=this.ay.d.left,l=this.d2(u);return this.cw._inner[l]>u&&(l-=1),Math.max(0,Math.min(l,this.actualDataSource.actualCount-1))}return 0},n.prototype.c8=function(t){return 2==this.ad&&(t=this.d9(t)),this.cv.count>0&&t<this.cv.count?this.cv._inner[t]:0},n.prototype.c7=function(t){return 2==this.ad&&(t=this.ea(t)),this.cr.count>0&&t<this.cr.count?this.cr._inner[t]:this.c6},n.prototype.fm=function(){var t=this;this.cr.clear(),this.cs.clear(),this.cv.clear(),this.cw.clear();var e=0!=this.r,n=this.dv+this.ds,r=this.dt+this.du;if(null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var o=this.cz,s=i.isNaN_(this.c0)?0:this.c0;if(0==this.ad)if(this.b0){for(var a=0,h=function(i){var r,o=u.c6;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.c9),u.cs.add(a),u.cr.add(o),a+=o},u=this,l=0;l<this.actualDataSource.actualCount;l++)h(l);this.cz=a}else this.cz=this.c6*this.actualDataSource.actualCount;else if(2==this.ad){var c=new i.List$1(Q.$,0),p=this.dx(c,2147483647);if(this.b0){for(var f=0,d=function(i){b.cs.add(f);for(var r=b.c6,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.cr.add(r)},b=this,g=0;g<p;g++)d(g);this.cz=f}else this.cz=this.c6*p;this.cx=c,this.dr=p;for(var y=0,m=0;m<this.cx.count;m++)this.cw.add(y),this.cv.add(this.cx._inner[m].a),y+=this.cx._inner[m].a}else{this.cz=this.c6;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.c9),C.cw.add(v),C.cv.add(o),v+=o},C=this,j=0;j<this.actualDataSource.actualCount;j++)_(j);this.c0=v}o==this.cz&&s==(i.isNaN_(this.c0)?0:this.c0)||this.view.z(this.c0,this.cz)}},n.prototype.dx=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.hg(o,t),0==t.count?{value:0}:{value:l.dx(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.hg(o,t),0==t.count?{value:0}:{value:l.dx(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.hg=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.f2=function(){this.bn&&this.ft()},Object.defineProperty(n.prototype,"a0",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.gr("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.az))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.gr("ScrollbarBackground",e,this.hz)},enumerable:!1,configurable:!0}),n.prototype.hc=function(){var t=i.isNaN_(this.c0)?0:this.c0,e=this.cz;this.bo=!0,this.f8(this.c2),t==(i.isNaN_(this.c0)?0:this.c0)&&e==this.cz||this.externalListPanel.onContentSizeChanged(),this.bo=!1,this.f9(),this.g7()},n.prototype.f9=function(){this.bs=!0,this.dh=-1,this.di=-1},n.prototype.f8=function(t){this.bl=!0,this.c2=t},n.prototype.f3=function(){this.bg&&(this.bg=!1,this.hc(),this.f7())},n.prototype.hd=function(){this.bg?this.f3():(this.f9(),this.g7(),this.f2())},n.prototype.d5=function(){return this.bs&&this.fn(),this.di},n.prototype.d3=function(){return this.bs&&this.fn(),this.dh},n.prototype.ck=function(){return this.dh>=0&&this.di>=0},n.prototype.f7=function(){if(this.ck()){var t=this.d3(),e=this.d5();this.f6(t,e)}},n.prototype.f6=function(t,e){var i=this.d3(),n=this.d5();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.g8(),this.hd())},n.prototype.g8=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.c6,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.g9=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.c6}},n.prototype.g6=function(){this.bg||(this.bg=!0,this.f9(),this.g7())},n.prototype.f5=function(t){this.g9(t)},n.prototype.gm=function(){this.bg?this.f3():(this.hc(),this.f7())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.l},set:function(t){this.l=t},enumerable:!1,configurable:!0}),n.prototype.cj=function(){return 0!=this.as||0!=this.r},n.prototype.g4=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.fp)),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.fp)),this.i.updateNotifier=new nt(this),null!=this.i.actualSchema&&(this.g6(),this.k.enqueueAction((function(){return r.gm()})))}break;case"RowHeight":this.c6=this.ef;break;case"CellTextStyle":case"BackgroundColor":case"TextColor":this.f7();break;case"ItemSpacing":case"Orientation":case"ActualRowHeight":this.hc();break;case"ScrollbarStyle":this.externalListPanel.setScrollbarStyle(this.a0);break;case"ScrollbarBackground":this.externalListPanel.setScrollbarColor(this.h7);break;case"ActiveRow":this.dj=i.typeGetValue(e),this.br=!0,-1!=this.dw&&this.dw>=0?this.p.k(this.dw):this.p.o(),this.br=!1;break;case"SelectedBackground":case"ActivationBorder":case"ActivationBorderLeftWidth":case"ActivationBorderRightWidth":case"ActivationBorderBottomWidth":case"ActivationBorderTopWidth":this.g6();break;case"ActivationMode":this.bz=this.cj();break;case"SelectionMode":switch(this.bz=this.cj(),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.ia=function(){var t=this.cz,e=0;!i.isNaN_(t)&&t>=0&&(e=t);var n=0;if(1==this.ad)for(var r=0;r<this.cv.count;r++){var o=this.cv._inner[r];!i.isNaN_(o)&&o>=0&&(n+=o)}else if(2==this.ad)for(var s=0;s<this.cv.count;s++){var a=this.cv._inner[s];!i.isNaN_(a)&&a>=0&&(n+=a)}else!i.isNaN_(this.c0)&&this.c0>=0&&(n=this.c0);return new i.Size(1,n,e)},n.prototype.gl=function(t,e){if(1==this.r&&-1!=this.dw&&this.dw>=t&&this.dw<=e&&null!=this.activeRowChanged){var i=new M;i.newActiveRow=this.dw,i.oldActiveRow=this.dw,this.activeRowChanged(this,i)}var n=this.d3(),r=this.d5();e<n||t>r||(t<n&&(t=n),e>r&&(e=r),this.ck()&&(this.d7()!=this.dm?this.hc():this.hd(),this.fo()))},n.prototype.fo=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.d7()-1;t<0&&(t=0),this.hj(t)}}else if(this.ay.d.bottom>this.absoluteHeight||this.ay.d.top>this.absoluteHeight){var e=this.d7()-1;e<0&&(e=0),this.hj(e)}2==this.ad&&(this.ay.d.right>this.absoluteWidth||this.ay.d.left>this.absoluteWidth)&&this.hi(this.cx.count-1)}},n.prototype.g1=function(t,e,i){if(0==this.ad){if(this.b0){var n=this.c6;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.cr._inner[t];this.cr._inner[t]=n;for(var s=n-o,a=t;a<this.actualDataSource.actualCount;a++)this.cs._inner[a]+=s}}else{if(2==this.ad)return void this.hc();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.cv._inner[t];this.cv._inner[t]=h;for(var c=h-l,p=t;p<this.actualDataSource.actualCount;p++)this.cw._inner[p]+=c}this.f5(t)},n.prototype.gk=function(){this.hc()},n.prototype.go=function(t,e){if(0==this.ad){if(this.b0){var i=this.c6;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.cr.insert(t,i);var r=0;if(t>0)r=this.cs._inner[t-1]+this.cr._inner[t-1];this.cs.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.cs._inner[o]+=i}}else{if(2==this.ad)return void this.hc();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.cv.insert(t,s);var h=0;t>0&&(h=this.cw._inner[t-1]+this.cv._inner[t-1]);this.cw.insert(t,h);for(var u=t;u<this.actualDataSource.actualCount;u++)this.cw._inner[u]+=s}this.g6()},n.prototype.gs=function(t,e){if(0==this.ad){for(var i=this.cr._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.cs._inner[n]-=i;this.cr.removeAt(t),this.cs.removeAt(t)}else{if(2==this.ad)return void this.hc();for(var r=this.cv._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.cw._inner[o]-=r;this.cv.removeAt(t),this.cw.removeAt(t)}this.g6()},n.prototype.gd=function(t,e,i){null!=this.i&&this.i.notifySetItem(t,e,i)},n.prototype.ga=function(){null!=this.i&&this.i.notifyClearItems()},n.prototype.gb=function(t,e){null!=this.i&&this.i.notifyInsertItem(t,e)},n.prototype.gc=function(t,e){null!=this.i&&this.i.notifyRemoveItem(t,e)},n.prototype.dy=function(t){return null==this.i?-1:this.i.indexOfItem(t)},n.prototype.dz=function(t){return null==this.i?-1:this.i.indexOfKey(t)},Object.defineProperty(n.prototype,"h3",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.gr("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.gr("Orientation",i.enumGetBox(D,e),i.enumGetBox(D,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.bi},set:function(t){var e=this.bi;this.bi=t,e!=this.bi&&this.gr("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.gr("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteWidth",{get:function(){return this.c0},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"absoluteHeight",{get:function(){return this.cz},enumerable:!1,configurable:!0}),n.prototype.ei=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.e0=function(){return this.ei().serialize()},Object.defineProperty(n.prototype,"b1",{get:function(){return this.bk},set:function(t){this.bk=t},enumerable:!1,configurable:!0}),n.prototype.hl=function(){2==this.as&&this.aq.v()},n.prototype.ca=function(t,e,i){if(this.b1)switch(t){case 30:if(i)return this.hl(),!0;break;case 32:return!1}return!1},n.prototype.b2=function(){return-1==this.dg},Object.defineProperty(n.prototype,"dw",{get:function(){return this.dg},set:function(t){var e=this.dg;this.dg=t,e!=this.dg&&this.gr("ActiveRow",e,this.dg)},enumerable:!1,configurable:!0}),n.prototype.fl=function(t,e,i){if(void 0===i&&(i=!1),this.ay.a&&(i||(t<=this.d3()?this.hj(t):t>=this.d5()&&(e?this.hj(t):this.hh(t))),2==this.ad)){var n=this.d4(),r=this.d6(),o=this.d8(t);o<=n?this.hk(o):o>=r&&this.hi(o)}},n.prototype.hi=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.dl&&(e=this.dl),2==this.ad){var n=0,r=0;for(r=0;r<this.cx.count&&(n+=this.cx._inner[r].a,t!=r);r++);(n-=this.ay.d.width)<0&&(n=0),this.dl=e,this.dk=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.hk=function(t){var e=i.truncate(this.ay.d.top);if(-1!=this.dl&&(e=this.dl),2==this.ad){var n=0,r=0;for(r=0;r<this.cx.count&&t!=r;r++)n+=this.cx._inner[r].a;this.dl=e,this.dk=i.truncate(n),this.viewportManager.moveViewportTo(i.truncate(n),e)}},n.prototype.d8=function(t){return 2==this.ad?this.d9(t):-1},n.prototype.d6=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cx.count;e++)if((t+=this.cx._inner[e].a)>this.ay.d.right)return Math.min(Math.max(e-1,0),this.cx.count-1);return Math.min(e,this.cx.count-1)}return-1},n.prototype.d4=function(){if(2==this.ad){var t=0,e=0;for(e=0;e<this.cx.count;e++)if((t+=this.cx._inner[e].a)>this.ay.d.left)return Math.min(Math.max(e,0),this.cx.count-1);return e}return-1},n.prototype.hj=function(t){if(!this.ay.d.isEmpty){var e=i.truncate(this.ay.d.left);-1!=this.dk&&(e=this.dk);var n=0;t<0&&(t=0),t>=this.d7()&&(t=this.d7()-1);var r=0;if(r=i.truncate(Math.floor(t)),2==this.ad&&(r=i.truncate(Math.floor(r/this.cx.count))),n=this.cs.count>0?i.truncate(Math.floor(this.cs._inner[r])):i.truncate(Math.floor(this.c6*r)),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cr._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cz>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cz&&(n=i.truncate(Math.round(this.cz-this.ay.d.height))),n<0&&(n=0),this.dl=n,this.dk=e,this.viewportManager.moveViewportTo(e,n)}},n.prototype.hh=function(t){var e=i.truncate(this.ay.d.left);-1!=this.dk&&(e=this.dk);var n=0;t<0&&(t=0),t>=this.d7()&&(t=this.d7()-1);var r=i.truncate(Math.floor(t));if(2==this.ad&&(r=i.truncate(Math.floor(r/this.cx.count))),n=0==this.cs.count?i.truncate(Math.round(this.c6*t+this.c6)):i.truncate(Math.floor(this.cs._inner[r]+this.cr._inner[r])),t-i.truncate(Math.floor(t))>0){var o=(t-i.truncate(Math.floor(t)))*this.cr._inner[r];n=i.truncate(Math.floor(n+o))}n=Math.max(n,0),this.cz>0&&this.ay.d.height>0&&(n-=i.truncate(Math.round(this.ay.d.height))),this.cz>0&&this.ay.d.height>0&&n+this.ay.d.height>this.cz&&(n=i.truncate(Math.round(this.cz-this.ay.d.height))),n<0&&(n=0),this.dl=n,this.dk=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.b4=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i>this.d7()-1)return!1;var n=i+1;if(2==this.ad&&(n=i+this.cx.count),e&&(n=this.d7()-1),n>this.d7()-1&&(n=this.d7()-1),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.g0=function(){this.bp&&null!=this.selectionChanged&&(this.selectionChanged(this,new H),this.bp=!1)},n.prototype.ho=function(t,e){for(var i=t;i<=e;i++)if(!this.ct.contains(i)&&!this.cu.contains(i)){var n=this.af(this.e(),i);if(null!=n){if(this.aq.h(n)){this.ct.add(i);continue}this.cu.add(i),this.al.add(n),this.aq.z(i)}}for(var r=0;r<this.cu.count;r++)if(this.cu._inner[r]<t||this.cu._inner[r]>e){var o=this.af(this.e(),this.cu._inner[r]);if(null!=o){this.cu.removeAt(r),r--;var s=this.al.indexOf(o),a=this.ai._inner[s];this.al.remove(o),this.co.remove(o),this.cq.remove(o),this.cn.remove1(a),this.cp.remove1(a)}}},n.prototype.b5=function(t,e){if(0==this.r||this.b2())return!1;var i=this.dw,n=this.dw;if(e){if(n>=this.d7()-1)return!1;n=this.d7()-1}else if(2==this.ad&&this.d8(n)==this.cx.count-1)return!1;if(2==this.ad){var r=n-this.d8(n)+this.cx.count;r>this.d7()-1&&(r=this.d7()-1),n=r}return n!=i&&(this.dw=n,this.fl(n,!1),!0)},n.prototype.b9=function(t,e){var i=this.dg,n=this.dg;if(e){if(n<=0)return!1;n=0}else if(2==this.ad&&0==this.d8(n))return!1;if(2==this.ad){var r=n-this.d8(n);r<0&&(r=0),n=r}return n!=i&&(this.dw=n,this.fl(n,!1),!0)},n.prototype.cb=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i<=0)return!1;var n=i-1;if(e&&(n=0),e&&2==this.ad&&(n=i-this.d8(i))<0&&(n=0),n<0&&(n=0),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.cc=function(t,e){if(0==this.r||this.b2())return!1;this.d3();var i=this.d5(),n=Math.min(i+1,this.d7()-1);return this.dw=n,this.fl(n,!0),!0},n.prototype.cd=function(t,e){if(0==this.r||this.b2())return!1;var i=this.d3(),n=this.d5()-i,r=Math.max(i-n-1,0);return this.dw=r,this.fl(r,!1),!0},n.prototype.ce=function(t,e){if(0==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i<=0)return!1;var n=i-1;if(e&&(n=this.d7()-1),e&&2==this.ad&&(n=i-this.d8(i)+this.cx.count)>this.d7()-1&&(n=this.d7()-1),n>this.d7()-1&&(n=this.d7()-1),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.cg=function(t,e){return 0!=this.r&&!this.b2()&&(0==this.ad?this.b4(t,e):this.ce(t,e))},n.prototype.g3=function(){},n.prototype.ch=function(t,e){if(1==this.ad)return!1;if(0==this.r||this.b2())return!1;var i=this.dw;if(i<=0)return!1;var n=i-1;if(2==this.ad&&(n=i-this.cx.count)<0&&(n=0),e&&(n=0),n<=0&&(n=0),n==i)return!1;if(this.dw=n,this.ay.a&&this.fl(n,!1),this.bp=!1,2==this.as&&t){-1==this.dq&&(this.dq=i);var r=Math.min(this.dq,n),o=Math.max(this.dq,n);this.ho(r,o)}else this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear();return this.g0(),!0},n.prototype.b6=function(t,e){return!1},n.prototype.b7=function(){return!1},n.prototype.b8=function(){return!1},n.prototype.cf=function(t,e){return!1},n.prototype.fy=function(){this.view.x()},Object.defineProperty(n.prototype,"bx",{get:function(){return this.bf},set:function(t){this.bf=t},enumerable:!1,configurable:!0}),n.prototype.fk=function(t){void 0===t&&(t=!1),this.cn.clear(),this.co.clear(),this.cp.clear(),this.cq.clear(),this.bb=!0,this.bc=t},n.prototype.fu=function(){this.bb&&(this.bx=!0,this.hv(this.cn,this.co,this.cp,this.cq),this.bx=!1),this.bb=!1},Object.defineProperty(n.prototype,"b3",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.gr("NotifyOnAllSelectionChanges",e,this.bm)},enumerable:!1,configurable:!0}),n.prototype.hv=function(t,e,i,n){if(0!=t.count||0!=e.count||0!=i.count||0!=n.count){var r=this.b3;if(this.b3=!1,!this.bq&&!this.bc&&(t.count>0&&(this.ai.o(t),this.al.o(e),this.bp=!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.bp=!0}this.b3=r,this.gv(i,t),this.gy(n,e)}},n.prototype.hm=function(t,n){var r,o,s,a,h,u,l,c=this;if(this.bp=!0,!this.bx&&null!=this.actualDataSource&&!this.bq){switch(this.bq=!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.bq=!1}if(this.b3&&null!=this.selectedItemsChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){j=new R;try{for(var w=e.__values(i.fromEn(n.newItems)),k=w.next();!k.done;k=w.next()){var P=k.value;j.add1(P)}}catch(t){s={error:t}}finally{try{k&&!k.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var x=null;if(null!=n.oldItems&&n.oldItems.count>0){x=new R;try{for(var T=e.__values(i.fromEn(n.oldItems)),O=T.next();!O.done;O=T.next()){var S=O.value;x.add1(S)}}catch(t){h={error:t}}finally{try{O&&!O.done&&(u=T.return)&&u.call(T)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new L).addedItems=j,l.removedItems=x,l.currentItems=c.ai,l))}},n.prototype.hn=function(t,n){var r,o,s,a,h,u,l,c=this;if(!this.bx&&null!=this.actualDataSource&&!this.bq){switch(this.bq=!0,n.action){case 0:if(null!=n.newItems)for(var p=0;p<n.newItems.count;p++){var f=this.ej(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.ej(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.ej(_);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.bq=!1}if(this.b3&&null!=this.selectedKeysChanged){var j=null;if(null!=n.newItems&&n.newItems.count>0){(j=new $).ag=!1;try{for(var w=e.__values(i.fromEn(n.newItems)),k=w.next();!k.done;k=w.next()){var P=k.value;j.add(P)}}catch(t){s={error:t}}finally{try{k&&!k.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var x=null;if(null!=n.oldItems&&n.oldItems.count>0){(x=new $).ag=!1;try{for(var T=e.__values(i.fromEn(n.oldItems)),O=T.next();!O.done;O=T.next()){var S=O.value;x.add(S)}}catch(t){h={error:t}}finally{try{O&&!O.done&&(u=T.return)&&u.call(T)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new F).addedKeys=j,l.removedKeys=x,l.currentKeys=c.al,l))}},n.prototype.hs=function(t,e){this.g6()},n.prototype.gt=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.bx=!0,this.bb?(this.cn.add1(t),this.co.add(e),this.bc&&this.fj(t,e,!1)):this.fj(t,e,!0),this.bx=!1)},n.prototype.ht=function(t,e){this.g6()},n.prototype.gu=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.bx=!0,this.bb?(this.cp.add1(t),this.cq.add(e),this.bc&&this.hf(t,e,!1)):this.hf(t,e,!0),this.bx=!1)},n.prototype.fj=function(t,e,i){var n=this.b3;this.b3=!1,this.bq||(this.ai.add1(t),this.al.add(e)),this.b3=n,i&&(this.gw(null,t),this.gx(null,e))},n.prototype.hu=function(t,e,i){var n=this.b3;this.b3=!1;this.ai.ae._inner[t];this.bq||(this.ai.ae._inner[t]=e),this.b3=n,this.gw(e,e)},n.prototype.hf=function(t,e,i){var n=this.b3;this.b3=!1,this.bq||(this.ai.remove1(t),this.al.remove(e)),this.b3=n,i&&(this.gw(t,null),this.gx(e,null))},n.prototype.gw=function(t,e){if(!this.cm&&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.gx=function(t,e){if(!this.cm&&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.gv=function(t,e){if(!this.cm&&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.gy=function(t,e){if(!this.cm&&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.fq=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.bx=!0,this.ai.clear(),this.al.clear(),this.cm=!0,this.aq.af(),this.cm=!1,this.bx=!1,this.gv(t,null),this.gy(e,null),this.aq.z(-1)}},n.prototype.h=function(t){return null==this.actualDataSource||t<0||t>=this.d7()?0:this.actualDataSource.getRowType(t)},n.prototype.ec=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.el=function(t){return t<0||t>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(t)},n.prototype.d0=function(t,e,i,n){var r=this.ec(t,e,i,n);return r>=0?r:this.eb(e)},n.prototype.d7=function(){return null==this.actualDataSource?0:this.actualDataSource.actualCount},n.prototype.em=function(t){var e=t.v;return e<0||e>this.actualDataSource.actualCount-1?null:this.actualDataSource.getItemAtIndex(e)},n.prototype.gz=function(t,e,i){this.bx=!0,this.hu(t,e,i),this.bx=!1},n.prototype.hq=function(t,e){this.g6()},n.prototype.gg=function(t){if(this.br||(this.dw=t),null!=this.activeRowChanged){var e=new M;e.newActiveRow=this.dw,e.oldActiveRow=this.dj,this.activeRowChanged(this,e)}this.gh()},n.prototype.hr=function(t,e){this.g6()},n.prototype.gj=function(t){var e=this.dw;if(this.br||(this.dw=t),null!=this.activeRowChanged){var i=new M;i.newActiveRow=this.dw,i.oldActiveRow=e,this.activeRowChanged(this,i)}this.gh()},n.prototype.gh=function(){},n.prototype.cl=function(t){var e=this.dy(t);return-1!=e&&(this.hj(e),!0)},n.prototype.gp=function(t,e,i,n){if(this.bz){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.ci(i,t))return i}return null},n.prototype.ci=function(t,e){var i=e.y+this.ay.d.top,n=e.x+this.ay.d.left,r=this.c0,o=this.c6,s=t.v,a=-1;return 2==this.ad&&(s=this.ea(s),a=this.d9(s),r=this.cx._inner[a].a),this.b0&&(o=this.cr._inner[s]),1==this.ad&&(r=this.cv._inner[s]),n>=t.s&&n<=t.s+r&&i>=t.u&&i<=t.u+o},n.prototype.gq=function(t,e,i,n){if(this.bz){var r=this.y(t);null!=r&&r==this.x&&this.gi(r,e,i,n)}},n.prototype.gi=function(t,e,i,n){var r,o=this;e&&(this.dq=-1,this.dp=-1,this.ct.clear(),this.cu.clear(),this.bp=!1,this.aq.o(t,i,n,0==this.an),this.g0(),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.fs=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.h4=null,n.ac=0,n.bu=!1,n.h5=i.BrushUtil.l(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.gl(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.g1(t,e,i)},n.prototype.notifyClearItems=function(){this.a.gk()},n.prototype.notifyInsertItem=function(t,e){this.a.go(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.gs(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.af=t.width,this.a.z=t.height},n.prototype.h=function(){return this.a.bf()},n.prototype.b=function(t){return this.a.bt(t)},n.prototype.c=function(t){return this.a.bu(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bo(e.b.a)),0==t.ad?(i.isNaN_(t.absoluteWidth)||(e.b.a.af=t.absoluteWidth),e.b.a.z=t.c7(e.v)):2==t.ad?(e.b.a.af=t.c8(e.v),e.b.a.z=t.c7(e.v)):(e.b.a.af=t.c8(e.v),e.b.a.z=t.absoluteHeight),e.o&&(e.o=!1,this.a.bv(e.b.a,e.s),this.a.bw(e.b.a,e.u))},n.prototype.e=function(t){this.a.bw(t,-1e3),this.a.bv(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.bf();return e.d=i.width,e.a=i.height,e.e=this.v,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.em(t);this.a.gz(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.fk(),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.fu()}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.ec(this.a.e(),a,this.a.d3(),this.a.d5());this.y(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.el(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.hs(this.a,e)}n&&this.a.gt(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.ht(this.a,e)}}n&&this.a.gu(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.ec(this.a.e(),a,this.a.d3(),this.a.d5());this.ae(a,h,s.targetRow,!0)}o=!0,r=!1}var u=null;o||(u=this.a.el(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.ec(this.a.e(),r,this.a.d3(),this.a.d5())),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.d0(this.a.e(),d,this.a.d3(),this.a.d5())),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.ec(this.a.e(),r,this.a.d3(),this.a.d5());e.add_1(o),this.d.item(r,-1)}for(var s=0;s<t.count;s++)e.contains(t._inner[s])||this.a.ht(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.fk(),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.fu(),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.fk();for(var t=this.a.d7(),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.fu()}},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.d7(),this.a.hq(this.a,t)),e&&this.a.gg(t))},n.prototype.p=function(t,e){this.d(t)&&(this.g=-1,t>=0&&(t>=0&&this.a.d7(),this.a.hr(this.a,t)),e&&this.a.gj(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.b4(t,e)},n.prototype.onEnd=function(t,e){return this.a.b5(t,e)},n.prototype.onHome=function(t,e){return this.a.b9(t,e)},n.prototype.onLeftArrow=function(t,e){return this.a.cb(t,e)},n.prototype.onPageDown=function(t,e){return this.a.cc(t,e)},n.prototype.onPageUp=function(t,e){return this.a.cd(t,e)},n.prototype.onRightArrow=function(t,e){return this.a.ce(t,e)},n.prototype.onTab=function(t,e){return this.a.cg(t,e)},n.prototype.onUpArrow=function(t,e){return this.a.ch(t,e)},n.prototype.onWheel=function(){this.a.g3()},n.prototype.onEnter=function(t,e){return this.a.b6(t,e)},n.prototype.onEscape=function(){return this.a.b7()},n.prototype.onF2=function(){return this.a.b8()},n.prototype.onSpace=function(t,e){return this.a.cf(t,e)},n.prototype.onKeyDown=function(t,e,i){return this.a.ca(t,e,i)},n.prototype.onGotFocus=function(t,e){},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 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,"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 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()},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}(),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 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}(),kt=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}(),Pt=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.by},set:function(t){this.i.by=i.ensureBool(t),this._a("isActiveRowStyleEnabled",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedBackground",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("selectedBackground",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"normalBackground",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("normalBackground",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorder",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("activationBorder",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderLeftWidth",{get:function(){return this.i.dt},set:function(t){this.i.dt=+t,this._a("activationBorderLeftWidth",this.i.dt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderTopWidth",{get:function(){return this.i.dv},set:function(t){this.i.dv=+t,this._a("activationBorderTopWidth",this.i.dv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderRightWidth",{get:function(){return this.i.du},set:function(t){this.i.du=+t,this._a("activationBorderRightWidth",this.i.du)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activationBorderBottomWidth",{get:function(){return this.i.ds},set:function(t){this.i.ds=+t,this._a("activationBorderBottomWidth",this.i.ds)},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.c9},set:function(t){this.i.c9=+t,this._a("itemSpacing",this.i.c9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.ef},set:function(t){this.i.ef=+t,this._a("rowHeight",this.i.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.c6},set:function(t){this.i.c6=+t,this._a("actualRowHeight",this.i.c6)},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.bw},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.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("scrollbarBackground",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.h3))},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.b0},set:function(t){this.i.b0=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"activeRow",{get:function(){return this.i.dw},set:function(t){this.i.dw=+t,this._a("activeRow",this.i.dw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"notifyOnAllSelectionChanges",{get:function(){return this.i.b3},set:function(t){this.i.b3=i.ensureBool(t),this._a("notifyOnAllSelectionChanges",this.i.b3)},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.d5()},n.prototype.getFirstVisibleIndex=function(){return this.i.d3()},n.prototype.invalidateVisibleItems=function(){this.i.f7()},n.prototype.notifySetItem=function(t,e,i){this.i.gd(t,e,i)},n.prototype.notifyClearItems=function(){this.i.ga()},n.prototype.notifyInsertItem=function(t,e){this.i.gb(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.gc(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.dy(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.dz(t)},n.prototype.exportVisualData=function(){return this.i.ei()},n.prototype.exportSerializedVisualData=function(){return this.i.e0()},n.prototype.selectAllRows=function(){this.i.hl()},n.prototype.scrollToRowByIndex=function(t){this.i.hj(t)},n.prototype.scrollToLastRowByIndex=function(t){this.i.hh(t)},n.prototype.deselectAllRows=function(){this.i.fq()},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 wt;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 kt;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),xt=function(){function t(){}return t.register=function(){Pt.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",Pt),i.TypeRegistrar.registerCons("IgcListPanelComponent",Pt),i.TypeRegistrar.register("ListPanel",et.$type)},t}(),Tt=function(){function t(){}return t.register=function(){n.IgcXInputGroupModule.register(),xt.register(),x.register(),i.TypeRegistrar.registerCons("IgcComboEditorComponent",x),i.TypeRegistrar.registerCons("IgcComboEditorComponent",x),i.TypeRegistrar.register("ComboEditor",_.$type)},t}(),Ot=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"),It=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.getAllProperties(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!(i.stringEndsWith(r[o],"@names")||i.stringEndsWith(r[o],"@args")||i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion")||i.stringEndsWith(r[o],"@constantValues"))){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 zt,e.j=new zt,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(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 It)},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),zt=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),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 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 qt;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 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()},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}(),Ht=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}(),Mt=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 zt),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 zt),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 zt),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 zt),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 zt),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 zt),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 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 qt;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 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 Ht;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 Mt;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 92:return e.gh;case 91:return e.j;case 8:return e.itemsSource;case 90: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 92:return void(e.gh=r);case 91: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 90:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.prototype.exportVisualData=function(t){var e=t.dw(),i=this.getBoundingRect(t);return e.x=i.left,e.aa=i.top,e.ab=i.width,e.v=i.height,e},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=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=null,e.j=null,e.g=0,e.a=null,e.f=null,e.h=null,e.b=null,e.c=null,e.d=null,e.e=null,e}return e.__extends(n,t),n.prototype.serialize=function(){var t=new i.StringBuilder(0);return t.u("{"),t.u('id: "'+this.i+'", '),t.u('name: "'+this.j+'", '),t.u("type: "+this.g+", "),t.u("actualBackgroundColor: "+this.a.serialize()+", "),null!=this.f&&t.u("listItem: "+this.f.serialize()+", "),null!=this.h&&t.u("container: "+this.h.serialize()+", "),null!=this.c&&t.u("icon: "+this.c.l()+", "),null!=this.d&&t.u("label: "+this.d.g()+", "),null!=this.e&&t.u("subTitle: "+this.e.g()+", "),t.u(this.k()),t.u("}"),t.toString()},n.prototype.k=function(){return""},n.$t=i.markType(n,"ToolActionVisualData",i.Base.$,[i.IVisualData_$type]),n}(i.Base),oe=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(re.$,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=new i.Type(null,"INativeUIToolbarBridge",null,[i.INativeUIElementBridge_$type]),he=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuOpeningEventArgs"),n}(i.Base),ue=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),le=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolbarSubMenuClosingEventArgs"),n}(i.Base),ce=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),pe=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),fe=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),de=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),be=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),ge=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),ye=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),me=function(t){function n(){return t.call(this,ge.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(ge.$)),n}(i.ObservableCollection$1),ve=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new me,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),_e=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),Ce=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),je=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"innerButton: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionButtonVisualData",re.$),n}(re),we=function(t){return t[t.Flat=0]="Flat",t[t.Outlined=1]="Outlined",t}({}),ke=i.markEnum("ToolActionButtonGroupDisplayType","Flat,0|Outlined,1"),Pe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=null,e.n=null,e.o=null,e.p=null,e.q=null,e.r=null,e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){var t=new i.StringBuilder(0);return t.u("leftButton: "+this.m!=null?this.m.serialize():"null"),t.u("rightButton: "+this.n!=null?this.n.serialize():"null"),t.u("leftIcon: "+this.o!=null?this.o.l():"null"),t.u("rightIcon: "+this.p!=null?this.p.l():"null"),t.u("leftLabel: "+this.q!=null?this.q.g():"null"),t.u("rightLabel: "+this.r!=null?this.r.g():"null"),t.u("buttonGroup: "+this.l!=null?this.l.p():"null"),t.toString()},n.$t=i.markType(n,"ToolActionButtonPairVisualData",re.$),n}(re),xe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"checkbox: "+this.l!=null?this.l.w():"null"},n.$t=i.markType(n,"ToolActionCheckboxVisualData",re.$),n}(re),Te=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=null,e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){return"selectedTextLabel: "+(null!=this.m?this.m.g():"null")+", dropdownIcon: "+(null!=this.l?this.l.l():"null")},n.$t=i.markType(n,"ToolActionCheckboxGroupVisualData",re.$),n}(re),Oe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.k=function(){n.a||(i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarDrillDownIcon",n.f),i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarDownArrowIcon",n.d),i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarBackButtonIcon",n.b),i.SvgIconRegistry.instance.addSvgPathString("ToolPanelIconCollection","ToolbarIconMenuArrowIcon",n.i),n.a=!0)},n.$t=i.markType(n,"ToolPanelIconRepository"),n.a=!1,n.f='\r\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>',n.d='\r\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M6.34315 10.1807L12.0183 15.8192L17.6569 10.1807" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>',n.b='\r\n<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/>\r\n<path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>',n.i='\r\n<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>',n}(i.Base),Se=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),Ie=function(t){function n(){var e=t.call(this,Se.$,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(Se.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Se.$,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(Se.$)),n}(i.ObservableCollection$1),Ae=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),Ne=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),Be=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"checkbox: "+this.l!=null?this.l.i():"null"},n.$t=i.markType(n,"ToolActionCheckboxListVisualData",re.$),n}(re),Re=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"colorEditor: "+this.l!=null?this.l.h():"null"},n.$t=i.markType(n,"ToolActionColorEditorVisualData",re.$),n}(re),Ee=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){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"combo: "+this.l!=null?this.l.aq():"null"},n.$t=i.markType(n,"ToolActionComboVisualData",re.$),n}(re),ze=function(t){return t[t.Label=0]="Label",t[t.Value=1]="Value",t}({}),De=i.markEnum("ToolActionFieldSelectorType","Label,0|Value,1"),qe=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),Ve=function(t){return t[t.Change=0]="Change",t[t.AggregationChange=1]="AggregationChange",t}({}),Ue=i.markEnum("ToolActionFieldSelectorEventType","Change,0|AggregationChange,1"),Le=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"backButton: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionGroupHeaderVisualData",re.$),n}(re),Fe=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.l(255,237,239,245),r.x=i.BrushUtil.l(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.ax(this.j,[7,3],(function(i){e.e=i[0],e.e.bj=e.ac,e.e.z=e.i,e.e.a9=e.y,e.e.ap=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bn=!1,e.f.bo=e.p,e.f.bb=e.z,e.f.bl=e.b,e.e.bo(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.bj=this.ac,this.e.z=this.i,this.e.a9=this.y),null!=this.f&&(this.f.bo=this.p,this.f.bb=this.z,this.f.bl=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),He=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"arrowIcon: "+this.l!=null?this.l.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",re.$),n}(re),Me=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"drilldownIcon: "+this.l!=null?this.l.l():"null"},n.$t=i.markType(n,"ToolActionLabelVisualData",re.$),n}(re),Ge=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"input: "+this.l!=null?this.l.p():"null"},n.$t=i.markType(n,"ToolActionNumberInputVisualData",re.$),n}(re),We=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"checkbox: "+this.l!=null?this.l.w():"null"},n.$t=i.markType(n,"ToolActionRadioVisualData",re.$),n}(re),Ke=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.m=null,e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){return"selectedTextLabel: "+(null!=this.m?this.m.g():"null")+", dropdownIcon: "+(null!=this.l?this.l.l():"null")},n.$t=i.markType(n,"ToolActionRadioGroupVisualData",re.$),n}(re),Xe=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.prototype.k=function(){return null},n.$t=i.markType(n,"ToolActionSeparatorVisualData",re.$),n}(re),Qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"toolPanel: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionSubPanelVisualData",re.$),n}(re),Ye=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.l=null,e}return e.__extends(n,t),n.prototype.k=function(){new i.StringBuilder(0);return"input: "+this.l!=null?this.l.p():"null"},n.$t=i.markType(n,"ToolActionTextInputVisualData",re.$),n}(re),Je=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),Ze=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.at(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.ao=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 Si;o.provideContainer(r);var s=new ti(o),a=new ri;a.ao=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 xi;o.provideContainer(r);var s=new ei(o),a=new oi;a.ao=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),ti=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.kn()},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.hs(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 109: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.c6=i.typeGetValue(r));case 18:return void(o.z=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 34:return void(o.kg=r);case 35:return void(o.j1=r);case 23:return void(o.jv=r);case 51:return void(o.ke=r);case 52:return void(o.j4=r);case 121:return void(o.i8=r);case 53:return void(o.j7=r);case 117:return void(o.ki=r);case 54:return void(o.kd=r);case 11:return void(o.ap=r);case 71:return void(o.kc=r);case 67:return void(o.kj=r);case 69:return void(o.kk=r);case 68:return void(o.jz=r);case 70:return void(o.j0=r);case 128:return void(o.jx=r);case 129:return void(o.jy=r);case 130:return void(o.jw=r);case 72:return void(o.ka=r);case 73:return void(o.kb=r);case 84:return void(o.kf=r);case 85:return void(o.j6=r);case 86:return void(o.as=r);case 113:o.ar=r;break;case 110:return void(o.a7=r);case 112:return void(o.cl=r);case 24:return void(o.j9=r);case 123:return void(o.kh=r);case 124:return void(o.j8=r);case 125:return void(o.c7=i.typeGetValue(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.c6;case 29:return r.b6;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.z);case 34:return r.kg;case 35:return r.j1;case 23:return r.jv;case 51:return r.ke;case 52:return r.j4;case 53:return r.j7;case 121:return r.i8;case 117:return r.ki;case 54:return r.kd;case 11:return r.ap;case 71:return r.kc;case 67:return r.kj;case 69:return r.kk;case 68:return r.jz;case 70:return r.j0;case 128:return r.jx;case 129:return r.jy;case 130:return r.jw;case 72:return r.ka;case 73:return r.kb;case 84:return r.kf;case 85:return r.j6;case 86:return r.as;case 113:return r.ar;case 105:return r.a6;case 110:return r.a7;case 112:return r.cl;case 24:return r.j9;case 123:return r.kh;case 124:return r.j8;case 125:return r.c7}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.g3()},r.prototype.flushRefresh=function(t){t.gi()},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.hc(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.j2(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.ha(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.hk(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.ch(e)},r.prototype.setStringContextItem=function(t,e,i){t.ho(e,i)},r.prototype.getStringContextItem=function(t,e){return t.ez(e)},r.prototype.setBoolContextItem=function(t,e,i){t.g8(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.a2(e)},r.prototype.setColorContextItem=function(t,e,i){t.he(e,i)},r.prototype.getColorContextItem=function(t,e){return t.kl(e)},r.prototype.setDataContextItem=function(t,e,i){t.hi(e,i)},r.prototype.getDataContextItem=function(t,e){return t.db(e)},r.prototype.markDirty=function(t,e){t.gl(e)},r.prototype.exportVisualData=function(t){return t.c8()},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Jt]),r}(n.XComponentBridge),ei=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.gq()},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 ue;this.x(this.ab,i)}},r.prototype.ag=function(t,e){if(null!=this.x){var i=new ce;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(n,r,o){var s,a,h=n;switch(r){case 27:h.actions.clear();try{for(var u=e.__values(i.fromEnum(o)),l=u.next();!l.done;l=u.next()){var c=l.value;h.actions.add(c)}}catch(t){s={error:t}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(s)throw s.error}}break;case 30:h.m=i.EnumUtil.getEnumValue(fe,o);break;case 28:h.bz=i.typeGetValue(o);break;case 18:h.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,o);break;case 34:h.gk=o;break;case 35:h.f7=o;break;case 23:h.f1=o;break;case 51:h.gi=o;break;case 52:h.f9=o;break;case 53:h.gb=o;break;case 117:h.gm=o;break;case 54:h.gh=o;break;case 11:h.af=o;break;case 71:h.gg=o;break;case 67:h.gn=o;break;case 69:h.go=o;break;case 68:h.f5=o;break;case 70:h.f6=o;break;case 128:h.f3=o;break;case 129:h.f4=o;break;case 130:h.f2=o;break;case 72:h.ge=o;break;case 73:h.gf=o;break;case 84:h.gj=o;break;case 85:h.ga=o;break;case 86:h.aj=o;break;case 113:h.ai=o;break;case 87:h.target=o;break;case 110:h.aw=o;break;case 121:h.f0=o;break;case 24:h.gd=o;break;case 123:h.gl=o;break;case 124:h.gc=o;break;case 125:h.b0=i.typeGetValue(o)}t.prototype.setValue.call(this,n,r,o)},r.prototype.getValue=function(e,n){var r=e;switch(n){case 27:return r.actions;case 30:return i.enumGetBox(fe,r.m);case 28:return r.bz;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.x);case 34:return r.gk;case 35:return r.f7;case 23:return r.f1;case 51:return r.gi;case 52:return r.f9;case 53:return r.gb;case 117:return r.gm;case 54:return r.gh;case 11:return r.af;case 71:return r.gg;case 67:return r.gn;case 69:return r.go;case 68:return r.f5;case 70:return r.f6;case 128:return r.f3;case 129:return r.f4;case 130:return r.f2;case 72:return r.ge;case 73:return r.gf;case 84:return r.gj;case 85:return r.ga;case 86:return r.aj;case 113:return r.ai;case 87:return r.target;case 105:return r.av();case 110:return r.aw;case 121:return r.f0;case 24:return r.gd;case 123:return r.gl;case 124:return r.gc;case 125:return r.b0}return t.prototype.getValue.call(this,e,n)},r.prototype.flushRefresh=function(t){t.d9()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.ev(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.f8(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.eu(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.ez(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.bd(e)},r.prototype.setStringContextItem=function(t,e,i){t.e7(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cx(e)},r.prototype.setBoolContextItem=function(t,e,i){t.et(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.au(e)},r.prototype.setColorContextItem=function(t,e,i){t.ew(e,i)},r.prototype.getColorContextItem=function(t,e){return t.gp(e)},r.prototype.setDataContextItem=function(t,e,i){t.ey(e,i)},r.prototype.getDataContextItem=function(t,e){return t.b5(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[ae]),r}(n.XComponentBridge),ii=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.gh(),e.a.ea(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.ed(this.ad)}},n.prototype.ac=function(){var t=this.l;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.r(e,this.a.gk),i.NativeUI.n(e,this.a.f1))}},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),ni=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.fy(),e.c.gj(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.gp(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.r(e,this.c.kg),i.NativeUI.n(e,this.c.jv))}},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 Si;this.r.getExternal(e,this.r.rootWrapper,this.r.getExternal(this.c,null,null));return t.ao.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),ri=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bq=null,e.bl=null,e.bm=null,e.bs=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bp",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.ah(27)},set:function(t){this.a5(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return i.typeGetValue(this.ah(28))},set:function(t){this.a5(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ah(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return i.typeGetValue(this.ah(125))},set:function(t){this.a5(125,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ah(30))},set:function(t){this.a5(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.ah(34)},set:function(t){this.a5(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.ah(84)},set:function(t){this.a5(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ah(85)},set:function(t){this.a5(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ah(86)},set:function(t){this.a5(86,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ah(113)},set:function(t){this.a5(113,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ah(35)},set:function(t){this.a5(35,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ah(23)},set:function(t){this.a5(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.ah(51)},set:function(t){this.a5(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ah(52)},set:function(t){this.a5(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ah(53)},set:function(t){this.a5(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.ah(54)},set:function(t){this.a5(54,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ah(11)},set:function(t){this.a5(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ah(71)},set:function(t){this.a5(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ct",{get:function(){return this.ah(67)},set:function(t){this.a5(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ah(68)},set:function(t){this.a5(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cu",{get:function(){return this.ah(69)},set:function(t){this.a5(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ah(70)},set:function(t){this.a5(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ah(128)},set:function(t){this.a5(128,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ah(129)},set:function(t){this.a5(129,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ah(130)},set:function(t){this.a5(130,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ah(72)},set:function(t){this.a5(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.bp.getContext(this.an)},set:function(t){this.bp.setContext(this.an,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ah(73)},set:function(t){this.a5(73,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ah(112)},set:function(t){this.a5(112,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ah(121)},set:function(t){this.a5(121,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.ah(123)},set:function(t){this.a5(123,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.ah(117)},set:function(t){this.a5(117,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,null!=this.bq?this.ar(10,this.bq):this.a3(10,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.ar(11,this.bl):this.a3(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,null!=this.bm?this.ar(12,this.bm):this.a3(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,null!=this.bs?this.ar(17,this.bs):this.a3(17,e)},enumerable:!1,configurable:!0}),n.prototype.b7=function(){this.bp.refresh(this.an)},n.prototype.b8=function(t){this.bp.updateDensity(this.an,t)},n.prototype.b4=function(){this.bp.flushRefresh(this.an)},n.prototype.b6=function(t){this.bp.notifySizeChanged(this.an,t)},n.prototype.b5=function(t){this.bp.markDirty(this.an,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),oi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bm=null,e.bs=null,e.bq=null,e.bo=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bl",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.ah(27)},set:function(t){this.a5(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ah(87)},set:function(t){this.a5(87,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ah(110)},set:function(t){this.a5(110,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return i.typeGetValue(this.ah(28))},set:function(t){this.a5(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ah(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return i.typeGetValue(this.ah(125))},set:function(t){this.a5(125,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ah(30))},set:function(t){this.a5(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.ah(34)},set:function(t){this.a5(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.ah(84)},set:function(t){this.a5(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ah(85)},set:function(t){this.a5(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ah(86)},set:function(t){this.a5(86,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ah(113)},set:function(t){this.a5(113,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ah(35)},set:function(t){this.a5(35,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ah(23)},set:function(t){this.a5(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.ah(51)},set:function(t){this.a5(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ah(52)},set:function(t){this.a5(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ah(121)},set:function(t){this.a5(121,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ah(53)},set:function(t){this.a5(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.ah(117)},set:function(t){this.a5(117,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.ah(54)},set:function(t){this.a5(54,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ah(11)},set:function(t){this.a5(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ah(24)},set:function(t){this.a5(24,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return this.ah(123)},set:function(t){this.a5(123,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ah(124)},set:function(t){this.a5(124,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ah(71)},set:function(t){this.a5(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ct",{get:function(){return this.ah(67)},set:function(t){this.a5(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ah(68)},set:function(t){this.a5(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cu",{get:function(){return this.ah(69)},set:function(t){this.a5(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ah(70)},set:function(t){this.a5(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ah(128)},set:function(t){this.a5(128,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ah(129)},set:function(t){this.a5(129,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ah(130)},set:function(t){this.a5(130,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ah(72)},set:function(t){this.a5(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ah(73)},set:function(t){this.a5(73,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ah(105)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,null!=this.bm?this.ar(10,this.bm):this.a3(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,null!=this.bs?this.ar(17,this.bs):this.a3(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,null!=this.bq?this.ar(23,this.bq):this.a3(23,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,null!=this.bo?this.ar(24,this.bo):this.a3(24,e)},enumerable:!1,configurable:!0}),n.prototype.b5=function(){this.bl.flushRefresh(this.an)},n.prototype.b6=function(t){this.bl.notifySizeChanged(this.an,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),si=function(t){function n(){var e,n=t.call(this)||this;n.r=null,n.bm=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bp=new i.List$1(i.String_$type,0),n.bo=new i.HashSet$1(i.String_$type,0),n.bl=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bk=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bs=NaN,n.au=!1,n.p=new de,n.s=null,n.c=null,n.c0=null,n.h=null,n.j=new Pi,n.ds=null,n.dp=null,n.es=null,n.g=null,n.hc=i.BrushUtil.l(0,0,0,0),n.ab=null,n.bw=30,n.bu=NaN,n.bv=NaN,n.br=24,n.bt=NaN,n.bq=24,n.propertyChanged=null,n.bn=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.f0));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.f1));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.gb));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.gc)),n}return e.__extends(n,t),n.prototype.get_bb=function(){return!1},Object.defineProperty(n.prototype,"bb",{get:function(){return this.get_bb()},enumerable:!1,configurable:!0}),n.prototype.gy=function(t,n){var r,o,s,a;if(this.bm.item(t,n),this.bl.containsKey(t)){var h=this.bl.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.gr(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.gr=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.g2)),null!=t.h&&this.bk.containsKey(t.h)){var e=this.bk.item(t.h);e.remove(t),0==e.count&&this.bk.removeItem(t.h)}if(null!=t.j&&this.bl.containsKey(t.j)){var n=this.bl.item(t.j);n.remove(t),0==n.count&&(this.bl.removeItem(t.j),this.bo.contains(t.j)&&(this.bo.remove(t.j),this.bp.remove(t.j)))}}},n.prototype.gs=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.g2)),null!=e&&this.bk.containsKey(e)){var r=this.bk.item(e);r.remove(t),0==r.count&&this.bk.removeItem(t.h)}if(null!=n)if(this.bl.containsKey(n))this.bl.item(n).remove(t),this.bo.contains(t.j)&&(this.bo.remove(t.j),this.bp.remove(t.j))}},n.prototype.ff=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.g2)),null!=t.h)if(this.bk.containsKey(t.h)){var e=this.bk.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Kt.$,0);n.add(t),this.bk.addItem(t.h,n)}if(null!=t.j)if(this.bl.containsKey(t.j)){var r=this.bl.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Kt.$,0);o.add(t),this.bl.addItem(t.j,o),this.bo.contains(t.j)||(this.bo.add_1(t.j),this.bp.add(t.j))}}},n.prototype.g2=function(t,e){switch(e.propertyName){case"ContextKey":this.gs(t,e.oldValue,t.j),this.ff(t);break;case"PropertyName":this.gs(t,t.h,e.oldValue),this.ff(t)}},n.prototype.cx=function(t,e){if(this.bm.containsKey(t))return this.bm.item(t);if(this.bl.containsKey(t))for(var i=this.bl.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a2(r))return this.cu(r,e)}return e},n.prototype.i=function(t,e,n){if(this.bm.containsKey(e))return i.typeCastObjTo$t(t,this.bm.item(e));if(this.bl.containsKey(e))for(var r=this.bl.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.a2(s)){var a=this.cu(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.cw=function(t,e){if(this.bm.containsKey(t))return this.bm.item(t);if(this.bl.containsKey(t))for(var i=this.bl.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a2(r))return this.cu(r,e)}return e},n.prototype.cu=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.gv=function(t,e){null!=this.r&&null!=this.r.p&&null!=t.h&&(this.gz(t.h),this.r.p.i(t.h,e),this.g0(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.gi("ContextBindings",e,this.p)},enumerable:!1,configurable:!0}),n.prototype.az=function(){return this.bp.count>0},n.prototype.fv=function(t){for(var e=0;e<this.bp.count;e++){var i=this.bp._inner[e];if(this.bl.containsKey(i))for(var n=this.bl.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.a2=function(t){return null!=this.r&&null!=this.r.p&&this.r.p.c(t.h)},n.prototype.gw=function(t,e){if(this.a1(t))for(var i=this.bl.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.gv(r,e)}else this.bm.item(t,e)},n.prototype.a0=function(t){return!!this.bk.containsKey(t)},n.prototype.a1=function(t){return!!this.bl.containsKey(t)},n.prototype.gx=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.bg=this.r.a9),this.r!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.gd)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.ge))),null!=this.r){var n=this.r;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.gd));var r=this.r;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.ge))}this.gh(e,t),this.z=null}},n.prototype.cv=function(t){return null==t||null==t.j?null:this.bm.containsKey(t.j)?this.bm.item(t.j):null},n.prototype.gh=function(t,e){null!=this.ai&&(this.ai.bn=i.runOn(this,this.f4))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.gi("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c2",{get:function(){return null!=this.eq?this.eq:null!=this.fa?this.e1(this.fa):(null==this.c0&&(this.c0=i.Guid.newGuid().toString()),this.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.j},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.cx("Width",NaN)},set:function(t){var e=this.cp;e!=t&&(this.gy("Width",t),this.gi("Width",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.cx("Height",NaN)},set:function(t){var e=this.ca;e!=t&&(this.gy("Height",t),this.gi("Height",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cr",{get:function(){return i.typeGetValue(this.cx("SubPanelRowHeight",-1))},set:function(t){var e=this.cr;e!=t&&(this.gy("SubPanelRowHeight",t),this.gi("SubPanelRowHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return i.typeGetValue(this.cx("ActualSubPanelRowHeight",-1))},set:function(t){var e=this.cq;e!=t&&(this.gy("ActualSubPanelRowHeight",t),this.gi("ActualSubPanelRowHeight",e,t))},enumerable:!1,configurable:!0}),n.prototype.fh=function(){null!=this.ai&&(this.ai.bn=null),null!=this.r&&this.r.gl(this),this.g=null},n.prototype.gb=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.gr(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.ff(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.gc=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.gr(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.f0=function(t,r){var o,s,a,h;if(null!=r.oldItems)try{for(var u=e.__values(i.fromEn(r.oldItems)),l=u.next();!l.done;l=u.next()){var c=l.value;c.fh(),c.h=null;var p=c;p.propertyChanged=i.delegateRemove(p.propertyChanged,i.runOn(this,this.f6))}}catch(t){o={error:t}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}finally{if(o)throw o.error}}if(null!=r.newItems){var f=new i.List$1(n.$,0);try{for(var d=e.__values(i.fromEn(r.newItems)),b=d.next();!b.done;b=d.next()){var g=b.value;this.av(g)?(g.h=this,g.propertyChanged=i.delegateCombine(g.propertyChanged,i.runOn(this,this.f6)),g.t=this.t,this.f5(g)):f.add(g)}}catch(t){a={error:t}}finally{try{b&&!b.done&&(h=d.return)&&h.call(d)}finally{if(a)throw a.error}}if(f.count>0){var y=this.actions;y.collectionChanged=i.delegateRemove(y.collectionChanged,i.runOn(this,this.f0));for(var m=0;m<f.count;m++)this.actions.remove(f._inner[m]);var v=this.actions;v.collectionChanged=i.delegateCombine(v.collectionChanged,i.runOn(this,this.f0))}}},n.prototype.f1=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.fh(),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.f6=function(t,e){this.fg(t,e.propertyName)},n.prototype.fg=function(t,e){null!=this.h&&this.h.fg(t,e)},n.prototype.f5=function(t){},n.prototype.e1=function(t){return i.stringReplace(t," ","_")},n.prototype.av=function(t){return!0},n.prototype.l=function(t){var e,i=this;return(e=new ge).g=i.c2,e.a=i.aa,e.c=t,e},n.prototype.fx=function(t){var e,n=this;null==this.du&&null==this.cs||t.add(((e=new i.ToolCommandArgument).argumentName=n.ez(),e.value=n.cy(),e)),this.fy(t)},n.prototype.fy=function(t){},n.prototype.ez=function(){return null!=this.du?this.du:null!=this.c2?this.c2:"Unknown"},n.prototype.cy=function(){return null!=this.cs?this.cs:this.cz()},n.prototype.cz=function(){return null},Object.defineProperty(n.prototype,"ex",{get:function(){return this.cx("ParentId",null)},set:function(t){var e=this.ex;e!=t&&(this.gy("ParentId",t),this.gi("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.e0=function(){return null!=this.dx?this.dx:this.c2},Object.defineProperty(n.prototype,"dx",{get:function(){return this.cx("CommandId",null)},set:function(t){var e=this.dx;e!=t&&(this.gy("CommandId",t),this.gi("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"du",{get:function(){return this.cx("CommandArgument",null)},set:function(t){var e=this.du;e!=t&&(this.gy("CommandArgument",t),this.gi("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cs",{get:function(){return this.cx("CommandArgumentValue",null)},set:function(t){var e=this.cs;e!=t&&(this.gy("CommandArgumentValue",t),this.gi("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.gy("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.gi("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.cx("PaddingLeft",NaN)},set:function(t){var e=this.cl;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingLeft",t),this.gi("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return this.cx("ActualPaddingLeft",NaN)},set:function(t){var e=this.b2;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualPaddingLeft",t),this.gi("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.cx("PaddingRight",NaN)},set:function(t){var e=this.cm;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingRight",t),this.gi("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.cx("ActualPaddingRight",NaN)},set:function(t){var e=this.b3;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualPaddingRight",t),this.gi("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.cx("PaddingBottom",NaN)},set:function(t){var e=this.ck;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingBottom",t),this.gi("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.cw("ActualPaddingBottom",NaN)},set:function(t){var e=this.b1;e!=t&&(this.gy("ActualPaddingBottom",t),this.gi("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.cx("PaddingTop",NaN)},set:function(t){var e=this.cn;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingTop",t),this.gi("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.cx("ActualPaddingTop",NaN)},set:function(t){var e=this.b4;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualPaddingTop",t),this.gi("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.cx("ActualHoverBackground",null)},set:function(t){var e=this.hi;e!=t&&(this.gy("ActualHoverBackground",t),this.gi("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cx("HoverBackground",null)},set:function(t){var e=this.hq;e!=t&&(this.gy("HoverBackground",t),this.gi("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.cx("ActualBackground",null)},set:function(t){var e=this.hf;e!=t&&(this.gy("ActualBackground",t),this.gi("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cw("Background",null)},set:function(t){var e=this.hn;e!=t&&(this.gy("Background",t),this.gi("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cw("ActualTextColor",null)},set:function(t){var e=this.hm;e!=t&&(this.gy("ActualTextColor",t),this.gi("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cx("TextColor",null)},set:function(t){var e=this.hu;e!=t&&(this.gy("TextColor",t),this.gi("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.cw("ActualSubtitleTextColor",null)},set:function(t){var e=this.hl;e!=t&&(this.gy("ActualSubtitleTextColor",t),this.gi("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.cx("SubtitleTextColor",null)},set:function(t){var e=this.ht;e!=t&&(this.gy("SubtitleTextColor",t),this.gi("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.cx("ActualDisabledTextColor",null)},set:function(t){var e=this.hg;e!=t&&(this.gy("ActualDisabledTextColor",t),this.gi("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cx("DisabledTextColor",null)},set:function(t){var e=this.ho;e!=t&&(this.gy("DisabledTextColor",t),this.gi("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.cx("ActualTextStyle",null)},set:function(t){var e=this.ae;e!=t&&(this.gy("ActualTextStyle",t),this.gi("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.cx("TextStyle",null)},set:function(t){var e=this.ah;e!=t&&(this.gy("TextStyle",t),this.gi("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.cx("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gy("ActualSubtitleTextStyle",t),this.gi("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.cx("SubtitleTextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gy("SubtitleTextStyle",t),this.gi("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.cx("IsDisabled",!1)},set:function(t){var e=this.a9;e!=t&&(this.gy("IsDisabled",t),this.gi("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ba",{get:function(){return this.cw("IsHighlighted",!1)},set:function(t){var e=this.ba;e!=t&&(this.gy("IsHighlighted",t),this.gi("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.cx("ActualAccentColor",null)},set:function(t){var e=this.he;e!=t&&(this.gy("ActualAccentColor",t),this.gi("ActualAccentColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.cx("AccentColor",null)},set:function(t){var e=this.hd;e!=t&&(this.gy("AccentColor",t),this.gi("AccentColor",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.gy("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.gi("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.gy("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.gi("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return null!=this.ex},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eq",{get:function(){return this.cx("Name",null)},set:function(t){var e=this.eq;e!=t&&(this.gy("Name",t),this.gi("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fa",{get:function(){return this.cx("Title",null)},set:function(t){var e=this.fa;e!=t&&(this.gy("Title",t),this.gi("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e4",{get:function(){return this.cx("Subtitle",null)},set:function(t){var e=this.e4;e!=t&&(this.gy("Subtitle",t),this.gi("Subtitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return i.EnumUtil.getEnumValue(i.HorizontalAlignment_$type,this.cx("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,0)))},set:function(t){var e=this.hb;e!=t&&(this.gy("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,t)),this.gi("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,t)))},enumerable:!1,configurable:!0}),n.prototype.get_co=function(){return this.bw},Object.defineProperty(n.prototype,"co",{get:function(){return this.get_co()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ee",{get:function(){return this.cx("IconName",null)},set:function(t){var e=this.ee;e!=t&&(this.gy("IconName",t),this.gi("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d9",{get:function(){return this.cx("IconCollectionName",null)},set:function(t){var e=this.d9;e!=t&&(this.gy("IconCollectionName",t),this.gi("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.cx("IconViewBoxLeft",NaN)},set:function(t){var e=this.cg;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("IconViewBoxLeft",t),this.gi("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.cx("IconViewBoxTop",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("IconViewBoxTop",t),this.gi("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.cx("IconViewBoxWidth",NaN)},set:function(t){var e=this.ci;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("IconViewBoxWidth",t),this.gi("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.cx("IconViewBoxHeight",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("IconViewBoxHeight",t),this.gi("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cx("IconFill",null)},set:function(t){var e=this.hr;e!=t&&(this.gy("IconFill",t),this.gi("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.cx("ActualIconFill",null)},set:function(t){var e=this.hj;e!=t&&(this.gy("ActualIconFill",t),this.gi("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.cx("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gy("IconFillColors",t),this.gi("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cx("IconStroke",null)},set:function(t){var e=this.hs;e!=t&&(this.gy("IconStroke",t),this.gi("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.cx("ActualIconStroke",null)},set:function(t){var e=this.hk;e!=t&&(this.gy("ActualIconStroke",t),this.gi("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.cx("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gy("IconStrokeColors",t),this.gi("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.cx("IconStrokeWidth",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("IconStrokeWidth",t),this.gi("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.gi("IconWidth",e,this.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.gi("ActualIconWidth",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.gi("IconHeight",e,this.bt)},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.gi("ActualIconHeight",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.i(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.hv;e!=t&&(this.gy("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.gi("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ax",{get:function(){return this.cx("CloseOnExecute",!1)},set:function(t){var e=this.ax;e!=t&&(this.gy("CloseOnExecute",t),this.gi("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.cx("HighlightWidth",NaN)},set:function(t){var e=this.cc;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("HighlightWidth",t),this.gi("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.cx("ActualHighlightWidth",NaN)},set:function(t){var e=this.by;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualHighlightWidth",t),this.gi("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.cx("HighlightRadius",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("HighlightRadius",t),this.gi("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.cx("ActualHighlightRadius",NaN)},set:function(t){var e=this.bx;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualHighlightRadius",t),this.gi("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cx("HighlightColor",null)},set:function(t){var e=this.hp;e!=t&&(this.gy("HighlightColor",t),this.gi("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.cx("ActualHighlightColor",null)},set:function(t){var e=this.hh;e!=t&&(this.gy("ActualHighlightColor",t),this.gi("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.cx("StopPropagation",!1)},set:function(t){var e=this.bg;e!=t&&(this.gy("StopPropagation",t),this.gi("StopPropagation",e,t))},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_a5=function(){return!0},Object.defineProperty(n.prototype,"a5",{get:function(){return this.get_a5()},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_bh=function(){return!0},Object.defineProperty(n.prototype,"bh",{get:function(){return this.get_bh()},enumerable:!1,configurable:!0}),n.prototype.get_aw=function(){return!0},Object.defineProperty(n.prototype,"aw",{get:function(){return this.get_aw()},enumerable:!1,configurable:!0}),n.prototype.f7=function(){null!=this.h&&this.h.f7()},n.prototype.gi=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gq(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.gq=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.g9();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":case"HoverBackground":case"AccentColor":this.g9(),this.g1();break;case"ActualDensity":this.f2();break;case"Density":this.g1(),0==this.w?this.v=this.y:this.v=this.w;break;case"ActualBackground":null!=this.aq&&(this.aq.a9=this.hf);break;case"ActualTextStyle":case"Subtitle":case"Title":case"TitleHorizontalAlignment":case"ActualSubtitleTextStyle":this.au=!0,this.g1(),this.g7(),this.ft();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.g1(),this.g7();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":this.g1(),null!=this.ar&&(this.ar.bc=this.hj,this.ar.bd=this.hk,this.ar.bl=this.a,this.ar.bm=this.b);break;case"Visibility":this.g1(),this.gm();break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.g1(),this.gg();break;case"IsHighlighted":this.g1(),this.g6(this.aq);break;case"StopPropagation":null!=this.ai&&(this.ai.by=this.bg);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.g9()}},n.prototype.g7=function(){null!=this.at&&(this.at.bo=this.e4,this.at.bb=this.a9?this.hg:this.hl,this.at.bl=this.ad),null!=this.as&&(this.as.bo=this.fa,this.as.bb=this.a9?this.hg:this.hm,this.as.bl=this.ae,this.as.h=this.a3()?2:1,this.as.f=this.aj()),null!=this.ao&&(this.a3()?1==this.ao.b4&&(this.ao.b7(1,2,1),this.ao.bo(this.at),this.ao.cf(this.at,1)):2==this.ao.b4&&(this.ao.cc(1),this.ao.bq(this.at)))},n.prototype.gz=function(t){this.bn.containsKey(t)?this.bn.item(t,this.bn.item(t)+1):this.bn.item(t,1)},n.prototype.g0=function(t){this.bn.containsKey(t)&&(this.bn.item(t,this.bn.item(t)-1),this.bn.item(t)<=0&&this.bn.removeItem(t))},n.prototype.bd=function(t){return this.bn.containsKey(t)},n.prototype.gd=function(t,e){this.bd(e.c)||this.a0(e.c)&&this.gp(e.c,e.b,e.a)},n.prototype.ge=function(t,e){for(var i=0;i<this.bp.count;i++)for(var n=this.bp._inner[i],r=this.bl.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.bd(s.h)&&this.a2(s)){var a=null;a=this.bm.containsKey(s.j)?this.bm.item(s.j):this.cu(s,null),this.gi(s.j,a,this.cu(s,null))}}},n.prototype.gp=function(t,e,i){if(this.bk.containsKey(t))for(var n=this.bk.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.gi(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,"a7",{get:function(){return 0==this.v},enumerable:!1,configurable:!0}),n.prototype.f2=function(){this.g3()},n.prototype.g3=function(){},n.prototype.g6=function(t){null!=t&&(this.ba?(t.bh=new i.Thickness(0,i.DeviceUtils.g(this.by)),t.a8=new i.CornerRadius(0,i.DeviceUtils.g(this.bx))):(t.bh=new i.Thickness(0,i.DeviceUtils.g(0)),t.a8=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.ba=this.hh)},n.prototype.bc=function(){return null!=this.r&&null!=this.r.dd&&null!==i.typeCast(xi.$,this.r.dd)},n.prototype.g9=function(){null!=this.r&&(this.t=this.r.z,this.hm=null!=this.hu?this.hu:this.r.jq,this.hl=null!=this.ht?this.ht:this.r.jp,this.hg=null!=this.ho?this.ho:this.r.jd,this.hi=null!=this.hq?this.hq:this.r.jj,this.hj=null!=this.hr?this.hr:this.r.jk,this.hk=null!=this.hs?this.hs:this.r.jl,this.ae=null!=this.ah?this.ah:this.r.am,this.ad=null!=this.ag?this.ag:this.r.ao,this.by=i.isNaN_(this.cc)?this.r.b5:this.cc,this.bx=i.isNaN_(this.cb)?this.r.b4:this.cb,this.hh=null!=this.hp?this.hp:this.r.ji,this.he=null!=this.hd?this.hd:this.r.i9,this.cq=-1!=this.cr?this.cr:this.r.c7),this.hf=null!=this.hn?this.hn:this.hc,null!=this.ar&&(this.ar.bl=this.a,this.ar.bm=this.b),this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(12):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(12):this.cm,this.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(2):this.cn,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(2):this.ck,this.b0=i.isNaN_(this.cj)?this.b9():this.cj,this.bz=i.isNaN_(this.cd)?this.b9():this.cd,this.ha()},n.prototype.b9=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.ha=function(){},n.prototype.gg=function(){null!=this.ar&&(this.ar.bs=this.ee,this.ar.br=this.d9,this.ar.af=i.DeviceUtils.g(this.b0),this.ar.z=i.DeviceUtils.g(this.bz))},n.prototype.g1=function(){null!=this.es&&null!=this.g&&this.g.go(this)},n.prototype.gm=function(){null!=this.r&&this.r.g4(),null!=this.ap&&(this.ap.bk=this.hv)},n.prototype.gk=function(t,e,i,n){var r=this;this.fu(i.b,i,n,(function(t){r.ap=t,r.fs(i.b,r.ap,n,(function(){i.b.bt=r.ap,r.g4(r.am,r.ar,r.as,r.at,n),r.gl(null==r.am?r.ap:r.am,i,n)}))}))},n.prototype.gl=function(t,e,i){},n.prototype.fl=function(t,e){this.fm(t,e)},n.prototype.fm=function(t,e){if(e.f=this.b6(t,e),e.h=this.b8(t,e),e.g=this.b7(t,e),e.b=this.b5(t,e),i.isNaN_(this.ca)||(e.d=this.ca),i.isNaN_(this.cp))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.b2+this.b3,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.b2+this.b3,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.cp},n.prototype.b7=function(t,e){return NaN},n.prototype.b8=function(t,e){var n=NaN;return null!=this.fa&&null!=this.ae&&(n=t.v.q(this.fa,this.ae)),null!=this.e4&&null!=this.ad&&(n=Math.max(n,t.v.q(this.e4,this.ad))),i.isNaN_(n)?NaN:n+this.co},n.prototype.b6=function(t,e){return i.stringIsNullOrEmpty(this.ee)?NaN:i.DeviceUtils.g(36)},n.prototype.af=function(t){return null!=this.ah?this.ah:t.aq()},n.prototype.b5=function(t,e){return NaN},n.prototype.gj=function(t,e){if(this.gt(),this.a8){var i=this.r.h(this.ex);null!=i&&i.f8(this,this.ax)}else if(this.r.a4(this)){if(null!=this.performed){var n=new me;this.fk(this,n,e),this.performed(this,((r=new ve).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new ve;return e.c=!1,e.a=t,e}());var r},n.prototype.gt=function(){var t=this,e=this.e0();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.fj(this,r),n.argumentsList=r.toArray();var o,s=((o=new Zt).a=n,o.b=t.ax,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.r&&this.r.gw(this,s)}},n.prototype.gu=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.gw(this,n)},n.prototype.bi=function(){return null!=this.onCommand},n.prototype.fj=function(t,e){t.fx(e);var i=this.r.bd(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a6()&&this.fj(i._inner[n],e)},n.prototype.a6=function(){return!0},n.prototype.f8=function(t,e){if(this.a8){var i=this.r.h(this.ex);null!=i&&i.f8(t,e)}else this.gj(this.l(!1),t),e&&this.fi()},n.prototype.fk=function(t,e,i){var n=t.l(t==i);e.add(n);var r=this.r.bd(t);if(null!=r)for(var o=0;o<r.count;o++)this.fk(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new ai;break;case 2:e=new ui;break;case 11:e=new ci;break;case 14:e=new fi;break;case 13:e=new hi;break;case 1:e=new bi;break;case 3:e=new gi;break;case 4:e=new mi;break;case 5:e=new vi;break;case 15:e=new ki;break;case 6:e=new _i;break;case 7:e=new ji;break;case 8:e=new yi;break;case 10:e=new wi;break;case 16:e=new pi;break;case 12:e=new di;break;case 17:e=new Ci;break;case 18:e=new li;break;case 0:return null}return e.z=t,e.fw(),e},n.prototype.fw=function(){if(this.eq=this.z.name,this.fa=this.z.title,this.du=this.z.commandArgument,this.cs=this.z.commandArgumentValue,this.dx=this.z.commandId,this.ee=this.z.iconName,this.d9=this.z.iconCollectionName,this.cg=this.z.iconViewBoxLeft,this.ch=this.z.iconViewBoxTop,this.ci=this.z.iconViewBoxWidth,this.cf=this.z.iconViewBoxHeight,this.cj=this.z.iconWidth,this.cd=this.z.iconHeight,this.ce=this.z.iconStrokeWidth,this.cl=this.z.paddingLeft,this.cm=this.z.paddingRight,this.cn=this.z.paddingTop,this.ck=this.z.paddingBottom,this.ex=this.z.parentId,this.a9=this.z.isDisabled,this.ax=this.z.closeOnExecute,this.w=this.x(this.z.density),this.cr=this.z.subPanelRowHeight,i.isNaN_(this.z.height)||(this.ca=this.z.height),i.stringIsNullOrEmpty(this.z.iconStroke)||(this.hs=i.CSSColorUtil.g(this.z.iconStroke)),i.stringIsNullOrEmpty(this.z.iconFill)||(this.hr=i.CSSColorUtil.g(this.z.iconFill)),i.stringIsNullOrEmpty(this.z.textColor)||(this.hu=i.CSSColorUtil.g(this.z.textColor)),i.stringIsNullOrEmpty(this.z.disabledTextColor)||(this.ho=i.CSSColorUtil.g(this.z.disabledTextColor)),this.ba=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.bf=function(){return null!=this.h&&null!=this.h.h&&this.h.actions._inner[0]==this},n.prototype.bj=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.bj()?2:0;default:return 0}},Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},enumerable:!1,configurable:!0}),n.prototype.fu=function(t,e,n,r){var o=this;if(null==t.bt||null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)i.NativeUIComponent.av(this.r.v.z(),7,(function(t){var i=t;o.fo(i,n),o.g8(i,e,n),null!=r&&r(i)}));else{var s=t.bt;this.g8(s,e,n),null!=r&&r(s)}},n.prototype.ft=function(){if(null!=this.am){if(i.isNaN_(this.bs)||this.au){var t=new ye;null!=this.r&&this.r.gx(t);var e=this.b8(this.r,t);e=i.isNaN_(e)?0:e,this.bs=e,this.au=!1}this.am.ch(1,2,1,this.bs)}},n.prototype.fs=function(t,e,n,r){var o=this;if(null==t.bt||null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=[this.al(1),this.al(7),this.al(11),this.al(3),this.al(3),this.al(7)];i.NativeUIComponent.aw(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.fn(e,i,s,a,h,u,n),null!=r&&r()}))}else null==this.am&&1==this.ap.bn&&(this.ai=this.ap.bm(0),this.ai.bn=i.runOn(this,this.f4),this.am=this.ai.bp,this.ar=this.am.bm(0),this.ao=this.am.bm(1),this.as=this.ao.bm(0),this.ao.bn>1&&(this.at=this.ao.bm(1))),this.g4(this.am,this.ar,this.as,this.at,n),null!=r&&r()},n.prototype.fo=function(t,e){t.f=1==e.a?0:3,t.bt=0},n.prototype.g8=function(t,e,n){t.z=e.a.t,i.isNaN_(this.ca)||(t.z=this.ca),2==n.a?t.af=e.c:t.af=n.e,t.a9=this.hf,t.bk=this.hv,t.bi=new i.Thickness(1,0,0,0,0),this.g6(t),null!=this.eq&&(t.aq=this.eq)},n.prototype.fn=function(t,e,n,r,o,s,a){if(0==this.ap.bn){this.ap.b5(0,2,1),this.ap.b7(0,2,1),this.ap.bo(t),this.ap.cd(t,0),this.ap.cf(t,0),t.bp=e,e.bt=0;var h=this.b6(this.r,a);h=i.isNaN_(h)?0:h;var u=this.b8(this.r,a);u=i.isNaN_(u)?0:u,this.an=e,e.b7(0,2,1),e.b5(0,1,h),e.b6(1,2,1,u),s.b7(0,2,1),s.bo(r),s.cf(r,0),e.bo(n),e.bo(s),e.cf(s,0),e.cd(n,0),e.cd(s,1),this.bs=u}t.c=this.t,this.a7?t.bq=1:t.bq=this.ak(this.v),t.bo=1,t.b1=new i.CornerRadius(0,0),t.b3=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b2=this.hi,t.bw=!0,t.bu=!this.a4,t.br=this.aw,t.by=this.bg,t.bt=!this.a5,t.bv=!0,t.bs=!0,t.bn=i.runOn(this,this.f4),n.h=1,n.f=1,n.bs=this.ee,n.br=this.d9,n.bo=this.cg,n.bp=this.ch,n.bq=this.ci,n.bn=this.cf,n.bc=this.hj,n.bl=this.a,n.bd=this.hk,n.bm=this.b,n.ad=this.ce,n.af=i.DeviceUtils.g(this.b0),n.z=i.DeviceUtils.g(this.bz),r.bn=!1,r.h=this.a3()?2:1,r.f=this.aj(),o.bn=!1,o.h=0,o.f=0,this.a3()?1==s.b4&&(s.b7(1,2,1),s.bo(o),s.cf(o,1)):2==s.b4&&(s.cc(1),s.bq(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.hb){case 0:return 0;case 2:return 2;case 3:return 3;case 1:return 1}return 0},n.prototype.a3=function(){return!i.stringIsNullOrEmpty(this.e4)},n.prototype.f4=function(t,e){this.ga()},n.prototype.g4=function(t,e,n,r,o){if(null!=t&&(t.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1)),null!=e){if(t.b0>0)if(0==t.bz(0)){var s=this.b6(this.r,o);s=i.isNaN_(s)?0:s,t.cg(0,1,s)}e.bi=new i.Thickness(1,0,0,9,0),e.bo=this.cg,e.bp=this.ch,e.bq=this.ci,e.bn=this.cf,e.bs=this.ee,e.br=this.d9,e.bc=this.hj,e.bl=this.a,e.bd=this.hk,e.bm=this.b,e.ad=this.ce}null!=n&&(n.bo=this.fa,n.bl=this.ae,n.bb=this.a9?this.hg:this.hm),null!=r&&(r.bo=this.e4,r.bl=this.ad,r.bb=this.a9?this.hg:this.hl),this.ft()},n.prototype.ga=function(){},n.prototype.f9=function(t,e){},n.prototype.gn=function(){},n.prototype.fi=function(){},n.prototype.go=function(t){if(t.g=this,i.stringIsNullOrEmpty(t.fa)||(this.fa=t.fa),i.stringIsNullOrEmpty(t.e4)||(this.e4=t.e4),i.stringIsNullOrEmpty(t.ee)||(this.ee=t.ee),i.stringIsNullOrEmpty(t.d9)||(this.d9=t.d9),i.stringIsNullOrEmpty(t.dx)||(this.dx=t.dx),i.stringIsNullOrEmpty(t.du)||(this.du=t.du),null!=t.cs&&(this.cs=t.cs),null!=t.hn&&(this.hn=t.hn),null!=t.hq&&(this.hq=t.hq),null!=t.hu&&(this.hu=t.hu),null!=t.ah&&(this.ah=t.ah),null!=t.ho&&(this.ho=t.ho),null!=t.hr&&(this.hr=t.hr),null!=t.a&&(this.a=t.a),null!=t.hs&&(this.hs=t.hs),null!=t.b&&(this.b=t.b),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.ci)||(this.ci=t.ci),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.cg)||(this.cg=t.cg),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.cl)||(this.cl=t.cl),i.isNaN_(t.cn)||(this.cn=t.cn),i.isNaN_(t.cm)||(this.cm=t.cm),i.isNaN_(t.ck)||(this.ck=t.ck),i.isNaN_(t.cp)||(this.cp=t.cp),i.isNaN_(t.ca)||(this.ca=t.ca),this.hv!=t.hv&&(this.hv=t.hv),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.ay=function(t,e){if(t.aa!=e.d)return!1;if(t.eq!=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.ay(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.ct=function(){var t=new re;return this.fz(t),t},n.prototype.fz=function(t){t.i=this.c2,t.j=this.eq,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.am(this.ap.ao)),null!=this.aq&&(t.h=this.aq.ag()),null!=this.ai&&(t.b=this.ai.ag()),null!=this.ar&&(t.c=this.ar.ag()),null!=this.as&&(t.d=this.as.ag()),null!=this.at&&(t.e=this.at.ag())},n.prototype.d3=function(){return this.ct().serialize()},Object.defineProperty(n.prototype,"y",{get:function(){return this.u},set:function(t){this.u=t},enumerable:!1,configurable:!0}),n.prototype.g5=function(t){this.y=t,0==this.w&&(this.v=t)},n.prototype.fq=function(){this.fr()},n.prototype.fp=function(){this.fr()},n.prototype.fr=function(){null!=this.ai&&(this.ai.bn=null),this.am=null,this.ai=null,this.ar=null,this.ao=null,this.as=null,this.at=null},n.prototype.f3=function(){var t=this.actions;if(null!=t)for(var e=0;e<t.count;e++)t._inner[e].f3()},n.prototype.gf=function(){var t=this.actions;if(null!=t)for(var e=0;e<t.count;e++)t._inner[e].gf()},n.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),ai=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hx=null,e.hz=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 9},n.prototype.get_co=function(){return 0},Object.defineProperty(n.prototype,"hw",{get:function(){return this.i(Ce,"DisplayType",0)},set:function(t){var e=this.hw;t!=e&&(this.gy("DisplayType",i.enumGetBox(Ce,t)),this.gi("DisplayType",i.enumGetBox(Ce,e),i.enumGetBox(Ce,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.cx("CornerRadius",NaN)},set:function(t){var e=this.h0;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("CornerRadius",t),this.gi("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.go=function(e){if(t.prototype.go.call(this,e),9==e.aa){var n=e;i.isNaN_(n.h0)||(this.h0=n.h0),this.hw!=n.hw&&(this.hw=n.hw)}},n.prototype.hy=function(){switch(this.hw){case 0:return 0;case 1:return 1;case 2:return 2;default:return 0}},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,e},n.prototype.b6=function(t,e){return NaN},n.prototype.b8=function(t,e){return NaN},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hw=e.displayType},n.prototype.h1=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.h2=function(){return i.DeviceUtils.g(88)},n.prototype.b7=function(e,n){var r=t.prototype.b8.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.h1(),i.DeviceUtils.g(this.h2()))},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.h6=function(t,e,n,r){r&&(0==t.bn&&(t.b5(0,2,1),t.bo(e),t.cf(e,0),t.cd(e,0)),this.a7?e.bq=2:e.bq=this.ak(this.v),e.h=1,e.bv=!0),t.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),e.c=this.t,e.b1=new i.CornerRadius(0,this.h0),e.bo=this.hy(),e.b0=this.fa,e.bn=i.runOn(this,this.h5),e.bl=this.ae,e.by=this.bg,e.a9=this.he,this.hx=e},n.prototype.h5=function(t,e){this.gj(this.l(!0),this)},n.prototype.gl=function(t,e,n){var r=this;if(!this.hz){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn){var s=[this.al(1)];this.hz=!0,i.NativeUIComponent.aw(this.r.v.z(),[1],s,(function(e){r.h6(t,e[0],n,!0),r.hz=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bm(0);this.h6(t,a,n,!1)}}},n.prototype.gq=function(e,n,r){switch(t.prototype.gq.call(this,e,n,r),e){case"Title":null!=this.hx&&(this.hx.b0=this.fa);break;case"DisplayType":null!=this.hx&&(this.hx.bo=this.hy());break;case"CornerRadius":null!=this.hx&&(this.hx.b1=new i.CornerRadius(0,this.h0));break;case"StopPropagation":null!=this.hx&&(this.hx.by=this.bg)}},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.hx&&(this.hx.bq=this.ak(this.v))},n.prototype.ha=function(){t.prototype.ha.call(this),null!=this.hx&&(this.hx.c=this.t,this.hx.a9=this.he),null==this.r||1!=this.r.u&&2!=this.r.u?(this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(10):this.cm,this.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(4):this.cn,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.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(4):this.cn,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck)},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hx&&(this.hx.bn=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hx&&(this.hx.bn=null)},n.prototype.ct=function(){var t=new je;return this.fz(t),null!=this.hx&&(t.l=this.hx.ag()),t},n.$t=i.markType(n,"ToolActionButton",si.$),n}(si),hi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.h3=null,e.h4=null,e.h5=null,e.id=!1,e.ie=!1,e.hw=null,e.ih=!1,e.h9=null,e.ib=null,e.ic=null,e.ia=null,e.h7=null,e.h8=null,e.ig=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 13},Object.defineProperty(n.prototype,"ik",{get:function(){return this.cx("LeftIsSelected",!1)},set:function(t){var e=this.ik;e!=t&&(this.gy("LeftIsSelected",t),this.gi("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.cx("RightIsSelected",!1)},set:function(t){var e=this.io;e!=t&&(this.gy("RightIsSelected",t),this.gi("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cx("LeftIsDisabled",!1)},set:function(t){var e=this.ij;e!=t&&(this.gy("LeftIsDisabled",t),this.gi("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cx("RightIsDisabled",!1)},set:function(t){var e=this.im;e!=t&&(this.gy("RightIsDisabled",t),this.gi("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jf",{get:function(){return this.cx("LeftIconName",null)},set:function(t){var e=this.jf;e!=t&&(this.gy("LeftIconName",t),this.gi("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i9",{get:function(){return this.cx("LeftCommandArgument",null)},set:function(t){var e=this.i9;e!=t&&(this.gy("LeftCommandArgument",t),this.gi("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cx("IsToggleDisabled",!1)},set:function(t){var e=this.ii;e!=t&&(this.gy("IsToggleDisabled",t),this.gi("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jb",{get:function(){return this.cx("LeftIconCollectionName",null)},set:function(t){var e=this.jb;e!=t&&(this.gy("LeftIconCollectionName",t),this.gi("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.cx("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.iu;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("LeftIconViewBoxLeft",t),this.gi("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.cx("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.iv;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("LeftIconViewBoxTop",t),this.gi("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.cx("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.iw;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("LeftIconViewBoxWidth",t),this.gi("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"it",{get:function(){return this.cx("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.it;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("LeftIconViewBoxHeight",t),this.gi("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ki",{get:function(){return this.cx("LeftIconFill",null)},set:function(t){var e=this.ki;e!=t&&(this.gy("LeftIconFill",t),this.gi("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ke",{get:function(){return this.cx("ActualLeftIconFill",null)},set:function(t){var e=this.ke;e!=t&&(this.gy("ActualLeftIconFill",t),this.gi("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("LeftIconFillColors",null)},set:function(t){var e=this.hy;e!=t&&(this.gy("LeftIconFillColors",t),this.gi("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kj",{get:function(){return this.cw("LeftIconStroke",null)},set:function(t){var e=this.kj;e!=t&&(this.gy("LeftIconStroke",t),this.gi("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kf",{get:function(){return this.cx("ActualLeftIconStroke",null)},set:function(t){var e=this.kf;e!=t&&(this.gy("ActualLeftIconStroke",t),this.gi("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.cx("LeftIconStrokeColors",null)},set:function(t){var e=this.hz;e!=t&&(this.gy("LeftIconStrokeColors",t),this.gi("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.cx("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.is;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("LeftIconStrokeWidth",t),this.gi("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jq",{get:function(){return this.cx("LeftTitle",null)},set:function(t){var e=this.jq;e!=t&&(this.gy("LeftTitle",t),this.gi("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jy",{get:function(){return this.cx("RightIconName",null)},set:function(t){var e=this.jy;e!=t&&(this.gy("RightIconName",t),this.gi("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"js",{get:function(){return this.cx("RightCommandArgument",null)},set:function(t){var e=this.js;e!=t&&(this.gy("RightCommandArgument",t),this.gi("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ju",{get:function(){return this.cx("RightIconCollectionName",null)},set:function(t){var e=this.ju;e!=t&&(this.gy("RightIconCollectionName",t),this.gi("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return this.cx("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.iz;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("RightIconViewBoxLeft",t),this.gi("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.cx("RightIconViewBoxTop",NaN)},set:function(t){var e=this.i0;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("RightIconViewBoxTop",t),this.gi("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i1",{get:function(){return this.cx("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.i1;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("RightIconViewBoxWidth",t),this.gi("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.cx("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.iy;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("RightIconViewBoxHeight",t),this.gi("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kk",{get:function(){return this.cx("RightIconFill",null)},set:function(t){var e=this.kk;e!=t&&(this.gy("RightIconFill",t),this.gi("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kg",{get:function(){return this.cx("ActualRightIconFill",null)},set:function(t){var e=this.kg;e!=t&&(this.gy("ActualRightIconFill",t),this.gi("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.cx("RightIconFillColors",null)},set:function(t){var e=this.h0;e!=t&&(this.gy("RightIconFillColors",t),this.gi("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kl",{get:function(){return this.cw("RightIconStroke",null)},set:function(t){var e=this.kl;e!=t&&(this.gy("RightIconStroke",t),this.gi("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kh",{get:function(){return this.cx("ActualRightIconStroke",null)},set:function(t){var e=this.kh;e!=t&&(this.gy("ActualRightIconStroke",t),this.gi("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.cx("RightIconStrokeColors",null)},set:function(t){var e=this.h1;e!=t&&(this.gy("RightIconStrokeColors",t),this.gi("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ix",{get:function(){return this.cx("RightIconStrokeWidth",NaN)},set:function(t){var e=this.ix;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("RightIconStrokeWidth",t),this.gi("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j9",{get:function(){return this.cx("RightTitle",null)},set:function(t){var e=this.j9;e!=t&&(this.gy("RightTitle",t),this.gi("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.i(ke,"DisplayType",1)},set:function(t){var e=this.h2;t!=e&&(this.gy("DisplayType",i.enumGetBox(ke,t)),this.gi("DisplayType",i.enumGetBox(ke,e),i.enumGetBox(ke,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cx("CornerRadius",NaN)},set:function(t){var e=this.ip;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("CornerRadius",t),this.gi("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.go=function(e){if(t.prototype.go.call(this,e),13==e.aa){var n=e;i.isNaN_(n.ip)||(this.ip=n.ip),this.h2!=n.h2&&(this.h2=n.h2),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.ki&&(this.ki=n.ki),null!=n.hy&&(this.hy=n.hy),null!=n.kj&&(this.kj=n.kj),null!=n.hz&&(this.hz=n.hz),i.isNaN_(n.is)||(this.is=n.is),i.stringIsNullOrEmpty(n.j9)||(this.j9=n.j9),i.stringIsNullOrEmpty(n.jy)||(this.jy=n.jy),i.stringIsNullOrEmpty(n.ju)||(this.ju=n.ju),i.stringIsNullOrEmpty(n.js)||(this.js=n.js),null!=n.kk&&(this.kk=n.kk),null!=n.h0&&(this.h0=n.h0),null!=n.kl&&(this.kl=n.kl),null!=n.h1&&(this.h1=n.h1),i.isNaN_(n.ix)||(this.ix=n.ix)}},n.prototype.h6=function(){switch(this.h2){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.i9=e.leftCommandArgument,this.jf=e.leftIconName,this.jb=e.leftIconCollectionName,this.ii=e.isToggleDisabled,this.iu=e.leftIconViewBoxLeft,this.iv=e.leftIconViewBoxTop,this.iw=e.leftIconViewBoxWidth,this.it=e.leftIconViewBoxHeight,this.is=e.leftIconStrokeWidth,null!=e.leftIconFill&&(this.ki=i.CSSColorUtil.g(e.leftIconFill)),null!=e.leftIconStroke&&(this.kj=i.CSSColorUtil.g(e.leftIconStroke)),this.jq=e.leftTitle,this.js=e.rightCommandArgument,this.jy=e.rightIconName,this.ju=e.rightIconCollectionName,this.iz=e.rightIconViewBoxLeft,this.i0=e.rightIconViewBoxTop,this.i1=e.rightIconViewBoxWidth,this.iy=e.rightIconViewBoxHeight,this.ix=e.rightIconStrokeWidth,null!=e.rightIconFill&&(this.kk=i.CSSColorUtil.g(e.rightIconFill)),null!=e.rightIconStroke&&(this.kl=i.CSSColorUtil.g(e.rightIconStroke)),this.j9=e.rightTitle},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,e.e=this.ik!=this.id?0:1,e.b=this.ik!=this.id?this.ik:this.io,e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.i9,n.value=r.ik,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.js,t.value=r.io,t}())},n.prototype.b7=function(t,e){var n=this.af(t),r=i.stringIsNullOrEmpty(this.jq)?0:t.v.q(this.jq,n),o=Math.max(r+this.iq(),i.DeviceUtils.g(this.ir()));return r=i.stringIsNullOrEmpty(this.j9)?0:t.v.q(this.j9,n),o+Math.max(r+this.iq(),i.DeviceUtils.g(this.ir()))},n.prototype.ir=function(){return i.DeviceUtils.g(88)},n.prototype.iq=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.il=function(t){var e=this.hx(),i=t.bl;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.hx=function(){return this.ik&&this.io?[0,1]:this.ik?((t=new Array(1)).push(0),t):this.io?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.kd=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bt&&null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(2==e.bn&&(e.b5(2,1,this.b7(this.r,f)),e.bo(c),c.bt(n),c.bt(a)),e.cf(c,0),e.cd(c,2),this.a7?c.br=2:c.br=this.ak(this.v),c.h=1,c.f=2,n.bv=!0,a.bv=!0),c.bq=i.runOn(this,this.kb),c.c=this.t,c.bz=this.he,this.kc(n),this.kc(a),this.il(c)&&(c.bl=this.hx()),n.bx=this.ij,a.bx=this.im,null==this.jf?(n.bp=null,n.b0=this.jq):(0==s.bn&&(s.b5(0,0,1),s.b5(1,0,1),s.bo(o),s.bo(r),s.cf(o,0),s.cd(o,0),s.cf(r,0),s.cd(r,1)),n.b0=null,n.bp=s,o.br=this.jb,o.bs=this.jf,o.bo=this.iu,o.bp=this.iv,o.bq=this.iw,o.bn=this.it,o.bc=this.ke,o.bd=this.kf,o.bl=this.hy,o.bm=this.hz,o.ad=this.is,r.bo=this.jq,r.bl=this.ae,r.bb=this.a9?this.hg:this.hm,o.af=i.DeviceUtils.g(16),o.z=i.DeviceUtils.g(16)),null==this.jy?(a.bp=null,a.b0=this.j9):(0==l.bn&&(l.b5(0,0,1),l.b5(1,0,1),l.bo(h),l.bo(u),l.cf(h,0),l.cd(h,0),l.cf(u,0),l.cd(u,1)),a.b0=null,a.bp=l,u.br=this.ju,u.bs=this.jy,u.bo=this.iz,u.bp=this.i0,u.bq=this.i1,u.bn=this.iy,u.bc=this.kg,u.bd=this.kh,u.bl=this.h0,u.bm=this.h1,u.ad=this.ix,h.bo=this.j9,h.bl=this.ae,h.bb=this.a9?this.hg:this.hm,u.af=i.DeviceUtils.g(16),u.z=i.DeviceUtils.g(16)),this.h5!=c&&(this.h5=c),this.h3!=n&&(this.h3,this.h3=n),this.h4!=a&&(this.h4,this.h4=a),this.h9!=o&&(this.h9,this.h9=o),this.ib!=r&&(this.ib,this.ib=r),this.ia!=u&&(this.ia,this.ia=u),this.ic!=h&&(this.ic,this.ic=h),this.h7!=s&&(this.h7,this.h7=s),this.h8!=l&&(this.h8,this.h8=l)},n.prototype.kb=function(t,e){if(!this.ig){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.hw){for(var a=0;a<this.hw.length;a++)0==this.hw[a]&&(n=!0);for(var h=0;h<this.hw.length;h++)1==this.hw[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.id=n,this.ie=r,this.ik!=o&&this.gw("LeftIsSelected",o),this.io!=s&&this.gw("RightIsSelected",s),this.gj(this.l(!0),this),this.ii&&(this.ig=!0,null!=this.h5&&this.h5.bu(),this.ig=!1)}},n.prototype.kc=function(t){t.bl=this.ae},n.prototype.gl=function(t,e,n){var r=this;if(!this.ih){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn){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.ih=!0,i.NativeUIComponent.aw(this.r.v.z(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.kd(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.ih=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bm(2),h=a.bn(0),u=a.bn(1),l=h.bp,c=l.bm(0),p=l.bm(1),f=u.bp,d=f.bm(1),b=f.bm(0);this.kd(o,t,h,p,c,l,u,b,d,f,a,e,n,!1)}}},n.prototype.gq=function(e,n,r){switch(t.prototype.gq.call(this,e,n,r),e){case"DisplayType":null!=this.h5&&(this.h5.bo=this.h6());break;case"CornerRadius":null!=this.h5&&(this.h5.by=new i.CornerRadius(0,this.ip));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.h9&&(this.h9.bc=this.ke,this.h9.bd=this.kf,this.h9.bl=this.hy,this.h9.bm=this.hz);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.ia&&(this.ia.bc=this.kg,this.ia.bd=this.kh,this.ia.bl=this.h0,this.ia.bm=this.h1);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.g9();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.h9&&(this.h9.bs=this.jf,this.h9.br=this.jb);break;case"LeftIsDisabled":null!=this.h3&&(this.h3.bx=this.ij);break;case"RightIsDisabled":null!=this.h4&&(this.h4.bx=this.im);break;case"RightIconName":case"RightIconCollectionName":null!=this.ia&&(this.ia.bs=this.jy,this.ia.br=this.ju);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.ic&&(this.ic.bo=this.j9,this.ic.bl=this.ae,this.ic.bb=this.a9?this.hg:this.hm),null!=this.ib&&(this.ib.bo=this.jq,this.ib.bl=this.ae,this.ib.bb=this.a9?this.hg:this.hm);break;case"LeftIsSelected":case"RightIsSelected":null!=this.h5&&this.il(this.h5)&&(this.h5.bl=this.hx())}},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.h5&&(this.h5.br=this.ak(this.v))},n.prototype.ha=function(){t.prototype.ha.call(this),null!=this.h5&&(this.h5.c=this.t,this.h5.bz=this.he),null!=this.r&&(this.ke=null!=this.ki?this.ki:this.r.jk,this.kf=null!=this.kj?this.kj:this.r.jl,this.kg=null!=this.kk?this.kk:this.r.jk,this.kh=null!=this.kl?this.kl:this.r.jl)},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.h5&&(this.h5.bq=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.h5&&(this.h5.bq=null)},n.prototype.ct=function(){var t=new Pe;return this.fz(t),null!=this.h3&&(t.m=this.h3.ag()),null!=this.h4&&(t.n=this.h4.ag()),null!=this.h9&&(t.o=this.h9.ag()),null!=this.ia&&(t.p=this.ia.ag()),null!=this.ib&&(t.q=this.ib.ag()),null!=this.ic&&(t.r=this.ic.ag()),null!=this.h5&&(t.l=this.h5.ag()),t},n.$t=i.markType(n,"ToolActionButtonPair",si.$),n}(si),ui=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hw=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 2},n.prototype.get_aw=function(){return!1},Object.defineProperty(n.prototype,"hx",{get:function(){return this.cx("IsChecked",!1)},set:function(t){var e=this.hx;e!=t&&(this.gy("IsChecked",t),this.gi("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cx("ShorthandTitle",null)},set:function(t){var e=this.h5;e!=t&&(this.gy("ShorthandTitle",t),this.gi("ShorthandTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cx("UncheckedBackgroundColor",null)},set:function(t){var e=this.ii;e!=t&&(this.gy("UncheckedBackgroundColor",t),this.gi("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.cx("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.id;e!=t&&(this.gy("ActualUncheckedBackgroundColor",t),this.gi("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cx("CheckedBackgroundColor",null)},set:function(t){var e=this.ig;e!=t&&(this.gy("CheckedBackgroundColor",t),this.gi("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cx("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.ib;e!=t&&(this.gy("ActualCheckedBackgroundColor",t),this.gi("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cx("UncheckedBorderColor",null)},set:function(t){var e=this.ij;e!=t&&(this.gy("UncheckedBorderColor",t),this.gi("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cx("ActualUncheckedBorderColor",null)},set:function(t){var e=this.ie;e!=t&&(this.gy("ActualUncheckedBorderColor",t),this.gi("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cx("CheckedBorderColor",null)},set:function(t){var e=this.ih;e!=t&&(this.gy("CheckedBorderColor",t),this.gi("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cx("ActualCheckedBorderColor",null)},set:function(t){var e=this.ic;e!=t&&(this.gy("ActualCheckedBorderColor",t),this.gi("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.go=function(e){if(t.prototype.go.call(this,e),2==e.aa){var i=e;null!=this.ih&&(this.ih=i.ih),null!=this.ig&&(this.ig=i.ig),null!=this.ij&&(this.ij=i.ij),null!=this.ii&&(this.ii=i.ii),this.hx!=i.hx&&(this.hx=i.hx)}},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hw&&(e.b=this.hw.bo),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hw&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hw.bo,n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(32)},n.prototype.ga=function(){var t=this.hx;this.hw.bo=!this.hw.bo;var e=this.hw.bo;this.gw("IsChecked",e),t!=e&&this.gi("IsChecked",t,e),this.gj(this.l(!0),this)},n.prototype.ia=function(t,e,n,r){null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(e.b5(2,1,this.b7(this.r,r)),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.bn=!0,n.f=1,n.h=1,n.af=i.DeviceUtils.g(20),n.z=i.DeviceUtils.g(20)),n.c=this.t,n.bo=this.hx,n.bm=i.runOn(this,this.h9),n.bs=this.id,n.bt=this.ie,n.bq=this.ib,n.br=this.ic,this.hw=n},n.prototype.h9=function(t,e){var i=this.hx,n=this.hw.bo;this.gw("IsChecked",n),i!=n&&this.gi("IsChecked",i,n),this.gj(this.l(!0),this)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.ia(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.ia(o,t,s,n)}},n.prototype.g3=function(){t.prototype.g3.call(this),this.hw},n.prototype.ha=function(){null!=this.r&&(this.id=null!=this.ii?this.ii:this.r.jt,this.ie=null!=this.ij?this.ij:this.r.ju,this.ib=null!=this.ig?this.ig:this.r.jb,this.ic=null!=this.ih?this.ih:this.r.jc,null!=this.hw&&(this.hw.c=this.t,this.hw.bs=this.id,this.hw.bt=this.ie,this.hw.bq=this.ib,this.hw.br=this.ic))},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g9();break;case"IsChecked":null!=this.hw&&(this.hw.bo=this.hx)}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hx=e.isChecked,this.h5=e.shorthandTitle},n.prototype.gh=function(e,i){if(t.prototype.gh.call(this,e,i),null!=this.z){var n=this.z;n.isChecked&&(this.hx=n.isChecked)}},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hw&&(this.hw.bm=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hw&&(this.hw.bm=null)},n.prototype.ct=function(){var t=new xe;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionCheckbox",si.$),n}(si),li=function(t){function n(){var e=t.call(this)||this;return e.hz=null,e.hy=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cx("SelectedTextStyle",null)},set:function(t){var e=this.hx;e!=t&&(this.gy("SelectedTextStyle",t),this.gi("SelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("ActualSelectedTextStyle",null)},set:function(t){var e=this.hw;e!=t&&(this.gy("ActualSelectedTextStyle",t),this.gi("ActualSelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cx("SelectedTextColor",null)},set:function(t){var e=this.h9;e!=t&&(this.gy("SelectedTextColor",t),this.gi("SelectedTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cw("ActualSelectedTextColor",null)},set:function(t){var e=this.h8;e!=t&&(this.gy("ActualSelectedTextColor",t),this.gi("ActualSelectedTextColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 18},n.prototype.av=function(t){return 2==t.aa||7==t.aa||1==t.aa},n.prototype.h0=function(){for(var t=new i.List$1(ui.$,0),e=0;e<this.actions.count;e++)if(2==this.actions._inner[e].aa){var n=this.actions._inner[e];n.hx&&t.add(n)}return t},n.prototype.h3=function(){var t=this.h0();if(0==t.count)return"None";if(1==t.count){if(null!=t._inner[0].h5)return t._inner[0].h5;if(null!=t._inner[0].fa)return t._inner[0].fa}return t.count+" Selected"},n.prototype.gh=function(e,i){t.prototype.gh.call(this,e,i)},n.prototype.ha=function(){if(t.prototype.ha.call(this),null!=this.r){if(null!=this.hx)this.hw=this.hx;else{var e=this.r.am;if(null!=e){var i=e.a();i.f=e.f-2,this.hw=i}}this.h8=null!=this.h9?this.h9:null!=this.hm?this.hm:null}},n.prototype.b7=function(t,e){var n=this.hw||this.af(t);return t.v.q("00 Selected",n)+i.DeviceUtils.g(24)},n.prototype.ga=function(){this.r.g5(this)},n.prototype.fg=function(e,i){t.prototype.fg.call(this,e,i),2==e.aa&&"IsChecked"==i&&this.h7()},n.prototype.h7=function(){null!=this.hz&&(this.hz.bo=this.h3())},n.prototype.h6=function(t,e,n,r,o){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)&&2==e.bn){var s=this.b7(this.r,o),a=i.DeviceUtils.g(24),h=s-a;e.b5(2,1,h),e.bo(n),e.cd(n,2),e.cf(n,0),n.h=1,n.f=2,n.bn=!1,n.bm=!0,e.b5(3,1,a),e.bo(r),e.cd(r,3),e.cf(r,0),r.bs="ToolbarDrillDownIcon",r.br="ToolPanelIconCollection",r.f=1,r.h=1,r.af=i.DeviceUtils.g(24),r.z=i.DeviceUtils.g(24)}n.bo=this.h3(),null!=this.hw&&(n.bl=this.hw),n.bb=this.h8,r.bd=this.hm,r.bc=this.hm},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa){var s=[this.al(3),this.bj()?2:0];i.NativeUIComponent.aw(this.r.v.z(),[3,11],s,(function(e){r.hz=e[0],r.hy=e[1],r.h6(o,t,r.hz,r.hy,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else this.hz=t.bm(2),this.hy=t.bm(3),this.h6(o,t,this.hz,this.hy,n)},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"ActualSelectedTextColor":null!=this.hz&&(this.hz.bb=this.h8);break;case"ActualTextColor":null!=this.hy&&(this.hy.bd=this.hm,this.hy.bc=this.hm)}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;if(!i.stringIsNullOrEmpty(e.selectedTextStyle)){var n=i.FontStringUtil.a(e.selectedTextStyle);if(null!=n){var r=new i.FontInfo;null!=n.b&&(r.q=n.b),null!=n.c&&(r.t=n.c),null!=n.d&&(r.v=n.d),i.isNaN_(n.a)||(r.f=n.a),this.hx=r}}i.stringIsNullOrEmpty(e.selectedTextColor)||(this.h9=i.CSSColorUtil.g(e.selectedTextColor))},n.prototype.fh=function(){t.prototype.fh.call(this)},n.prototype.fr=function(){t.prototype.fr.call(this),this.hz=null,this.hy=null},n.prototype.ct=function(){var t=new Te;return this.fz(t),null!=this.hz&&(t.m=this.hz.ag()),null!=this.hy&&(t.l=this.hy.ag()),t},n.$t=i.markType(n,"ToolActionCheckboxGroup",si.$),n}(si),ci=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hz=null,e.h4=-1,e.h1=!1,e.h5=null,e.h3=NaN,e.h0=!1,e.h6=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 11},n.prototype.fm=function(e,n){if(t.prototype.fm.call(this,e,n),null!=this.hz&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,i.isNaN_(this.ca)?Number.POSITIVE_INFINITY:this.ca),o=this.hz.bg(r);o.height+=this.b4,o.height+=this.b1,n.e=o.width,n.d=o.height;var s=this.h3;this.h3=o.height,i.isNaN_(s)||s==this.h3||this.f7()}},n.prototype.fs=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cx("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gy("ItemsSource",t),this.gi("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cx("SelectedMemberPath",null)},set:function(t){var e=this.il;e!=t&&(this.gy("SelectedMemberPath",t),this.gi("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.cx("ShowSelectAll",!1)},set:function(t){var e=this.h2;e!=t&&(this.gy("ShowSelectAll",t),this.gi("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cx("DataMemberPath",null)},set:function(t){var e=this.ie;e!=t&&(this.gy("DataMemberPath",t),this.gi("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("PrimaryKey",null)},set:function(t){var e=this.hw;e!=t&&(this.gy("PrimaryKey",t),this.gi("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cx("SelectedKeys",null)},set:function(t){var e=this.hx;e!=t&&(this.gy("SelectedKeys",t),this.gi("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.i(Ne,"IndexType",1)},set:function(t){var e=this.hy;e!=t&&(this.gy("IndexType",i.enumGetBox(Ne,t)),this.gi("IndexType",i.enumGetBox(Ne,e),i.enumGetBox(Ne,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i6",{get:function(){return this.cx("UncheckedBackgroundColor",null)},set:function(t){var e=this.i6;e!=t&&(this.gy("UncheckedBackgroundColor",t),this.gi("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i2",{get:function(){return this.cx("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.i2;e!=t&&(this.gy("ActualUncheckedBackgroundColor",t),this.gi("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i4",{get:function(){return this.cx("CheckedBackgroundColor",null)},set:function(t){var e=this.i4;e!=t&&(this.gy("CheckedBackgroundColor",t),this.gi("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.cx("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.i0;e!=t&&(this.gy("ActualCheckedBackgroundColor",t),this.gi("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i7",{get:function(){return this.cx("UncheckedBorderColor",null)},set:function(t){var e=this.i7;e!=t&&(this.gy("UncheckedBorderColor",t),this.gi("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i3",{get:function(){return this.cx("ActualUncheckedBorderColor",null)},set:function(t){var e=this.i3;e!=t&&(this.gy("ActualUncheckedBorderColor",t),this.gi("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i5",{get:function(){return this.cx("CheckedBorderColor",null)},set:function(t){var e=this.i5;e!=t&&(this.gy("CheckedBorderColor",t),this.gi("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i1",{get:function(){return this.cx("ActualCheckedBorderColor",null)},set:function(t){var e=this.i1;e!=t&&(this.gy("ActualCheckedBorderColor",t),this.gi("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.gq=function(e,n,r){if(t.prototype.gq.call(this,e,n,r),null!=this.hz)switch(e){case"ItemsSource":this.hz.b6=this.itemsSource,this.hz.bw=this.hy,n!=r&&this.f7();break;case"SelectedMemberPath":this.hz.b9=this.il;break;case"DataMemberPath":this.hz.b7=this.ie;break;case"PrimaryKey":this.hz.bl=this.hw;break;case"ShowSelectAll":this.hz.b3=this.h2;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.ix)),n.ao(i.runOn(this,this.iw))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.ix)),n.am(i.runOn(this,this.iw))}this.iy(this.hz);break;case"IndexType":this.hz.bw=this.hy;break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g9()}},n.prototype.iw=function(){this.h0||null!=this.hz&&this.hz.cc()},n.prototype.iy=function(t){var n,r;if(null!=t){this.h0=!0,t.cc();try{for(var o=e.__values(i.fromEnum(this.hx)),s=o.next();!s.done;s=o.next()){var a=s.value;t.cb(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.h0=!1}},n.prototype.ix=function(t,n){var r,o;if(!this.h0)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.hz.cd(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.hz.cf(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.hz.cf(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.hz.cd(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.hz.cc();try{for(var p=e.__values(i.fromEnum(this.hx)),f=p.next();!f.done;f=p.next()){var d=f.value;this.hz.cb(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.iz=function(t,e,n,r){0!=e.bn&&null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(0==e.bn&&e.bo(n),n.bm=3),e.bi=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),e.a9=this.hf,e.bk=this.hv,null!=this.eq&&(e.aq=this.eq),n.cg(this.h6),n.bl=this.hw,n.b6=this.itemsSource,n.bw=this.hy,n.b7=this.ie,n.b9=this.il,this.h2?n.b3=!0:n.b3=!1,n.b2=!0,n.b1=!1,n.c=this.t,n.ct=this.hm,n.cj=this.hf,n.ck=this.hi,n.cq=this.hk,n.cr=this.hm,n.co=this.hm,n.cp=this.he,n.cs=this.hm,n.ch=this.he,n.ci=this.he,null!=this.r&&(n.cm=this.r.jx,n.cn=this.r.jy,n.cl=this.r.jw),n.bs=i.runOn(this,this.ir),n.bt=i.runOn(this,this.it),n.bu=i.runOn(this,this.iu),n.by=i.runOn(this,this.is),n.b0=i.runOn(this,this.iv),this.hz!=n&&(this.hz=n),null==this.hx?this.gw("SelectedKeys",new Ie):this.iy(n)},n.prototype.iv=function(t,e){this.h0||(this.h0=!0,this.hx.clear(),this.h0=!1)},n.prototype.is=function(t,e){this.gw("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.ir=function(t,e){this.h0||(this.h4=e.c,this.h1=e.b,this.h5=e.a,this.h0=!0,0==this.hy?e.b?this.hx.remove(new Se(1,e.a)):this.hx.add(new Se(1,e.a)):e.b?this.hx.add(new Se(1,e.a)):this.hx.remove(new Se(1,e.a)),this.h0=!1,this.gj(this.l(!0),this))},n.prototype.it=function(t,e){if(0==this.hy){if(e.b)return;var i=new Se(1,e.a);if(this.hx.contains(i))return;this.h0=!0,this.hx.add(i),this.h0=!1}else{if(!e.b)return;var n=new Se(1,e.a);if(this.hx.contains(n))return;this.h0=!0,this.hx.add(n),this.h0=!1}},n.prototype.iu=function(t,e){if(0==this.hy){if(e.b)return;var i=new Se(1,e.a);if(!this.hx.contains(i))return;this.h0=!0,this.hx.remove(i),this.h0=!1}else{if(!e.b)return;var n=new Se(1,e.a);if(!this.hx.contains(n))return;this.h0=!0,this.hx.remove(n),this.h0=!1}},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hz&&this.h4>-1&&(e.e=this.h4,e.b=this.h1,e.f=this.h1),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),this.h4>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.h1,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.h4,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.h5,t}()))},n.prototype.g8=function(t,e,n){null!=this.hz&&(t.bi=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),t.a9=this.hf,t.bk=this.hv,null!=this.eq&&(t.aq=this.eq))},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.iz(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(0);this.iz(o,t,s,n)}},n.prototype.ha=function(){t.prototype.ha.call(this),null!=this.r&&(this.i2=null!=this.i6?this.i6:this.r.jt,this.i3=null!=this.i7?this.i7:this.r.ju,this.i0=null!=this.i4?this.i4:this.r.jb,this.i1=null!=this.i5?this.i5:this.r.jc,null!=this.hz&&(this.hz.c=this.t,this.hz.ct=this.hm,this.hz.cj=this.hf,this.hz.ck=this.hi,this.hz.cq=this.hk,this.hz.cr=this.hm,this.hz.cs=this.hm,this.hz.cu=this.i2,this.hz.cv=this.i3,this.hz.ch=this.i0,this.hz.ci=this.i1,this.hz.cm=this.r.jx,this.hz.cn=this.r.jy,this.hz.cl=this.r.jw),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.b4=i.isNaN_(this.cn)?i.DeviceUtils.g(8):this.cn,this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(8):this.ck)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.ie=e.dataMemberPath,this.il=e.selectedMemberPath,this.hw=e.primaryKey,this.itemsSource=e.itemsSource,this.h2=e.showSelectAll,this.h6=e.aj},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hz&&(this.hz.bs=null,this.hz.bt=null,this.hz.bu=null,this.hz.by=null,this.hz.b0=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hz&&(this.hz.bs=null,this.hz.bt=null,this.hz.bu=null,this.hz.by=null,this.hz.b0=null)},n.prototype.ct=function(){var t=new Be;return this.fz(t),null!=this.hz&&(t.l=this.hz.ag()),t},n.$t=i.markType(n,"ToolActionCheckboxList",si.$),n}(si),pi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hw=null,e.hx=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 16},Object.defineProperty(n.prototype,"h2",{get:function(){return this.cx("Value",i.BrushUtil.l(255,0,0,255))},set:function(t){var e=this.h2;e!=t&&(this.gy("Value",t),this.gi("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hw&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hy(),n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hy=function(){var t=i.Color.u(255,0,0,255);if(null!=this.hw){var e=i.ColorUtil.p(this.hw.bp);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 ge;return e.g=this.c2,e.a=this.aa,e.c=t,e.h=this.hy(),e},n.prototype.h0=function(t,e){if(!this.hx){this.h2=this.hw.bp;var i=this.l(!0);this.gj(i,this)}},n.prototype.h1=function(t,e,n,r,o){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=this.b7(this.r,o);e.b5(2,1,s),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=s,n.f=2,n.h=1}n.c=this.t,n.bo=i.runOn(this,this.h0),this.hw!=n&&(this.hw=n),null!=this.h2&&(this.hx=!0,n.bp=this.h2,this.hx=!1)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),20,this.al(20),(function(i){var s=i;r.h1(o,t,s,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.h1(o,t,s,e,n)}},n.prototype.g3=function(){t.prototype.g3.call(this),this.hw},n.prototype.ha=function(){null!=this.hw&&(this.hw.c=this.t)},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"IsDisabled":this.hw}},n.prototype.ga=function(){null==this.hw||this.a9||this.hw.a0()},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.h2=i.CSSColorUtil.g(e.value)},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hw&&(this.hw.bo=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hw&&(this.hw.bo=null)},n.prototype.ct=function(){var t=new Re;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionColorEditor",si.$),n}(si),fi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hx=null,e.hy=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 14},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cx("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gy("ItemsSource",t),this.gi("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.cx("DisplayMemberPath",null)},set:function(t){var e=this.h0;e!=t&&(this.gy("DisplayMemberPath",t),this.gi("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.cx("ValueMemberPath",null)},set:function(t){var e=this.h4;e!=t&&(this.gy("ValueMemberPath",t),this.gi("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("SelectedValues",null)},set:function(t){var e=this.hw;e!=t&&(this.gy("SelectedValues",t),this.gi("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.gq=function(e,i,n){if(t.prototype.gq.call(this,e,i,n),null!=this.hx)switch(e){case"ItemsSource":this.hx.bp=this.itemsSource;break;case"SelectedValues":for(var r=new Array(this.hw.count),o=0;o<this.hw.count;o++)r[o]=this.hw._inner[o];this.hx.bl=r;break;case"DisplayMemberPath":this.hx.bq=this.h0;break;case"ValueMemberPath":this.hx.br=this.h4}},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.h6=function(t,e){if(!this.hy){this.hy=!0,null==this.hw&&(this.hw=new Ee),this.hw.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.hw.add1(r)}this.hy=!1;var o=this.l(!0);this.gj(o,this)}},n.prototype.h7=function(t,e,n,r,o){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=this.b7(this.r,o);e.b5(2,1,s),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=s,n.bo=3,n.f=2,n.h=1}if(n.c=this.t,n.bn=i.runOn(this,this.h6),n.bp!=this.itemsSource&&(n.bp=this.itemsSource),n.bq!=this.h0&&(n.bq=this.h0),n.br!=this.h4&&(n.br=this.h4),null!=this.hw){this.hy=!0;for(var a=new Array(this.hw.count),h=0;h<this.hw.count;h++)a[h]=this.hw._inner[h];n.bl=a,this.hy=!1}this.hx!=n&&(this.hx=n)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),19,this.al(19),(function(i){var s=i;r.h7(o,t,s,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.h7(o,t,s,e,n)}},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.hx&&(this.hx.bo=this.ak(this.v))},n.prototype.ha=function(){null!=this.hx&&(this.hx.c=this.t)},n.prototype.ga=function(){null==this.hx||this.a9||this.hx.a0()},n.prototype.l=function(t){var e=new ge;if(e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hx){for(var i=new Array(this.hw.count),n=0;n<this.hw.count;n++)i[n]=this.hw._inner[n];e.f=i}return e},n.prototype.fy=function(e){t.prototype.fy.call(this,e);for(var n=new Array(this.hw.count),r=0;r<this.hw.count;r++)n[r]=this.hw._inner[r];var o;e.add(((o=new i.ToolCommandArgument).argumentName="SelectedValues",o.value=n,o))},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;if(this.h0=e.displayMemberPath,this.h4=e.valueMemberPath,null!=e.selectedValues){this.hw.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.hw.add1(r)}}this.itemsSource=e.itemsSource},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hx&&(this.hx.bn=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hx&&(this.hx.bn=null)},n.prototype.ct=function(){var t=new $e;return this.fz(t),null!=this.hx&&(t.l=this.hx.ag()),t},n.$t=i.markType(n,"ToolActionCombo",si.$),n}(si),di=function(t){function n(){var e,n=t.call(this)||this;return n.h9=null,n.ix=-1,n.ic=!1,n.iz=null,n.i4=null,n.h6=0,n.ie=!1,n.io=NaN,n.ig=!1,n.i1=null,n.hw=null,n.h3=null,n.il=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.hy=new i.DataSeriesAdapterPropertyInfo,n.hz=new i.DataSeriesAdapterPropertyInfo,n.ia=!1,n.ib=!1,n.id=!1,n.hw=n.hx(),n.contextBindings.add(((e=new Kt).d=0,e.h="FieldSelectorRules",e.j="Rules",e)),n}return e.__extends(n,t),n.prototype.hx=function(){return(new i.DataSeriesAdapter).e},n.prototype.jy=function(){var t;if(this.ia=!1,this.actions.clear(),this.actions.add(((t=new bi).eq="FieldSelectorHeader",t.fa="Aggregation",t)),this.actions.add(function(){var t=new ji;return t.hw=!0,t}()),null!=this.h5&&this.h5.count>0)for(var e=function(t){var e=n.h5._inner[t],r=void 0;5==e.operand?(r=function(){var t=new _i;return t.fa=e.label,t.eq="FieldSelectorAggregation"+e.name,t.h5="fieldSelectorAggregation",t}(),n.ia=!0):r=function(){var t=new _i;return t.fa=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.eq="FieldSelectorAggregation"+i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.h5="fieldSelectorAggregation",t}(),r.onCommand=i.delegateCombine(r.onCommand,i.runOn(n,n.j0)),n.actions.add(r)},n=this,r=0;r<this.h5.count;r++)e(r);else{var o=function(){var t=new _i;return t.fa="Sum",t.eq="FieldSelectorAggregationSum",t.h5="fieldSelectorAggregation",t}();o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.j0)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Average",t.eq="FieldSelectorAggregationAverage",t.h5="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.j0)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Count of Rows",t.eq="FieldSelectorAggregationCount",t.h5="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.j0)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Min",t.eq="FieldSelectorAggregationMin",t.h5="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.j0)),this.actions.add(o),(o=function(){var t=new _i;return t.fa="Max",t.eq="FieldSelectorAggregationMax",t.h5="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.j0)),this.actions.add(o)}},n.prototype.j0=function(t,e){var i=this.iy(e.a.commandId);switch(e.a.commandId){case"FieldSelectorAggregationAverage":this.j7(this.i1,3,i);break;case"FieldSelectorAggregationSum":this.j7(this.i1,2,i);break;case"FieldSelectorAggregationCount":this.j7(this.i1,4,i);break;case"FieldSelectorAggregationMin":this.j7(this.i1,0,i);break;case"FieldSelectorAggregationMax":this.j7(this.i1,1,i);break;default:this.j7(this.i1,5,i)}},n.prototype.iy=function(t){if(i.stringIsNullOrEmpty(t))return 0;if(i.stringStartsWith(t,"FieldSelectorAggregation")&&(t=t.substr(24)),null!=this.h5&&this.h5.count>0)for(var e=0;e<this.h5.count;e++){var n=this.h5._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.h1=function(t){if(null!=this.h5&&this.h5.count>0)return this.h5._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.jj=function(t){if(null!=this.h5&&this.h5.count>0)return 5==this.h5._inner[t].operand?this.h5._inner[t].name:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.h5._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.ji=function(t){if(null!=this.h5&&this.h5.count>0)return 5==this.h5._inner[t].operand?this.h5._inner[t].label:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.h5._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.h2=function(t){if(null!=this.h5&&this.h5.count>0)return this.h5._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.j7=function(t,n,r){var o,s;if(null!=this.h4&&0!=this.h8&&this.ii()){var a=!1,h=2;if(this.iz=t,this.h6=1,this.ih()){for(var u=0;u<this.h4.summaryDescriptions.k.count;u++){var l=this.h4.summaryDescriptions.k.item(u);if(l.propertyName==t){h=l.operand,l.operand=n,a=!0;break}}var c=null;if(null==this.h4.propertiesRequested){var p=0;c=new Array(this.hy.b.length+this.hz.b.length);for(var f=0;f<this.hy.b.length;f++)c[p]=this.hy.b[f],p++;for(var d=0;d<this.hz.b.length;d++)c[p]=this.hz.b[d],p++}else c=new Array(this.h4.propertiesRequested.length);for(var b=0;b<c.length;b++){var g=null==c[b]?this.h4.propertiesRequested[b]:c[b];""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,h)==g?(c[b]=""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,n),a||this.h4.summaryDescriptions.add(new i.SummaryDescription(2,t,n))):null!=this.h4.propertiesRequested&&null!=this.h4.propertiesRequested[b]&&(c[b]=this.h4.propertiesRequested[b])}this.h4.propertiesRequested=c,this.h4.refresh()}var y=i.typeCast(i.ObservableCollection$1.$.specialize(qe.$),this.h9.b6);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.il.containsKey(_.key)?this.il.item(_.key,r):this.il.addItem(_.key,r),5==n)_.aggregationName=this.h5._inner[r].name,_.aggregationLabel=this.h5._inner[r].label,_.aggregationOperand=5,this.i4=this.h5._inner[r].name;else{var C=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,n);_.aggregationName=C,_.aggregationLabel=C,_.aggregationOperand=n}this.i4=_.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.gj(this.l(!0),this),this.jz()}},Object.defineProperty(n.prototype,"h4",{get:function(){return this.cx("DataSource",null)},set:function(t){var e=this.h4;e!=t&&(this.gy("DataSource",t),this.gi("DataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.cx("LegendTarget",null)},set:function(t){var e=this.i0;e!=t&&(this.gy("LegendTarget",t),this.gi("LegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.cx("DataLegendTarget",null)},set:function(t){var e=this.h0;e!=t&&(this.gy("DataLegendTarget",t),this.gi("DataLegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.i(De,"FieldType",0)},set:function(t){var e=this.h8;e!=t&&(this.gy("FieldType",i.enumGetBox(De,t)),this.gi("FieldType",i.enumGetBox(De,e),i.enumGetBox(De,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cx("SingleSelection",!1)},set:function(t){var e=this.ij;e!=t&&(this.gy("SingleSelection",t),this.gi("SingleSelection",e,t))},enumerable:!1,configurable:!0}),n.prototype.ii=function(){return null!=this.h5&&this.h5.count>0||null!=this.h4&&this.h4.groupDescriptions.k.count>0},Object.defineProperty(n.prototype,"h5",{get:function(){return this.cx("Aggregations",null)},set:function(t){var e=this.h5;e!=t&&(this.gy("Aggregations",t),this.gi("Aggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cx("Rules",null)},set:function(t){var e=this.im;e!=t&&(this.gy("Rules",t),this.gi("Rules",e,t))},enumerable:!1,configurable:!0}),n.prototype.ih=function(){return this.ik&&(!this.ii()||!this.ia)},Object.defineProperty(n.prototype,"ik",{get:function(){return this.cx("UpdateDataSource",!1)},set:function(t){var e=this.ik;e!=t&&(this.gy("UpdateDataSource",t),this.gi("UpdateDataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cx("SelectedAggregations",null)},set:function(t){var e=this.h7;e!=t&&(this.gy("SelectedAggregations",t),this.gi("SelectedAggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.cx("PaddingLeft",NaN)},set:function(t){var e=this.iu;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingLeft",t),this.gi("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cx("ActualPaddingLeft",NaN)},set:function(t){var e=this.iq;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualPaddingLeft",t),this.gi("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.cx("PaddingRight",NaN)},set:function(t){var e=this.iv;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingRight",t),this.gi("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.cx("ActualPaddingRight",NaN)},set:function(t){var e=this.ir;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualPaddingRight",t),this.gi("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"it",{get:function(){return this.cx("PaddingBottom",NaN)},set:function(t){var e=this.it;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingBottom",t),this.gi("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cw("ActualPaddingBottom",NaN)},set:function(t){var e=this.ip;e!=t&&(this.gy("ActualPaddingBottom",t),this.gi("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.cx("PaddingTop",NaN)},set:function(t){var e=this.iw;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("PaddingTop",t),this.gi("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.cx("ActualPaddingTop",NaN)},set:function(t){var e=this.is;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gy("ActualPaddingTop",t),this.gi("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 12},n.prototype.fm=function(e,n){if(t.prototype.fm.call(this,e,n),null!=this.h9&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),o=this.h9.bg(r);o.height+=this.is,o.height+=this.ip,n.e=o.width,n.d=o.height;var s=this.io;this.io=o.height,i.isNaN_(s)||s==this.io||this.f7()}},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.gq=function(e,n,r){switch(t.prototype.gq.call(this,e,n,r),e){case"Aggregations":this.jy(),this.il.clear(),this.j4(this.h9);break;case"SelectedAggregations":this.il.clear(),this.j4(this.h9);break;case"FieldType":this.j4(this.h9);break;case"DataSource":if(this.h3=null,null!=n){this.h3=null;var o=n;o.propertiesRequestedChanged=i.delegateRemove(o.propertiesRequestedChanged,i.runOn(this,this.j2))}if(null!=r){this.h3=r.clone();var s=r;s.propertiesRequestedChanged=i.delegateCombine(s.propertiesRequestedChanged,i.runOn(this,this.j2))}this.j4(this.h9);break;case"Rules":this.h3=null,this.j4(this.h9);break;case"SingleSelection":this.j6(this.h9);break;case"LegendTarget":var a=r;null!=a&&null===i.typeCast(i.IDataLegendTarget_$type,a)&&(a=a._implementation),this.h0=i.typeCast(i.IDataLegendTarget_$type,a);break;case"DataLegendTarget":this.j5(this.h9)}},n.prototype.j2=function(t,e){this.ie||this.il.clear(),this.j4(this.h9),this.jz()},n.prototype.j3=function(t,e,n,r){null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(0==e.bn&&e.bo(n),n.bm=3,this.jy()),e.bi=new i.Thickness(1,this.iq,this.is,this.ir,this.ip),e.a9=this.hf,e.bk=this.hv,null!=this.eq&&(e.aq=this.eq),n.b3=!1,n.cc(),this.il.clear(),this.j4(n),n.b2=0==this.h8||!this.ii(),n.z=this.io-16,n.b1=!0,n.c=this.t,n.ct=this.hm,n.cj=this.hf,n.ck=this.hi,n.cq=this.hk,n.cr=this.hm,n.cs=this.hm,this.j6(n),this.j5(n),n.bs=i.runOn(this,this.ju),n.bv=i.runOn(this,this.jv),this.h9!=n&&(this.h9=n),this.jz()},n.prototype.j6=function(t){null!=t&&(t.b4=this.ij?10:2)},n.prototype.j5=function(t){if(null!=t)if(0==this.h8){var e=i.typeCast(i.IDataLegendTarget_$type,t.b5);null!=e&&(e.seriesDataChanged=i.delegateRemove(e.seriesDataChanged,i.runOn(this,this.jw))),t.b5=null}else if(1==this.h8&&t.b5!=this.h0){var n=i.typeCast(i.IDataLegendTarget_$type,t.b5);if(null!=n&&(n.seriesDataChanged=i.delegateRemove(n.seriesDataChanged,i.runOn(this,this.jw))),t.b5=this.h0,null!=this.h0){var r=this.h0;r.seriesDataChanged=i.delegateCombine(r.seriesDataChanged,i.runOn(this,this.jw))}}},n.prototype.j4=function(t){if(!this.ie&&null!=t&&null!=this.im){var e=new i.ObservableCollection$1(qe.$,0);if(null!=this.h4){if(null==this.h3){if(this.h3=this.h4.clone(),null!==i.typeCast(i.LocalDataSource.$,this.h3)){var n=i.typeCast(i.LocalDataSource.$,this.h3),r=i.typeCast(i.LocalDataSource.$,this.h4);n.dataSource=r.dataSource,n.executionContext=r.executionContext}this.h3.propertiesRequested=null,this.h3.groupDescriptions.clear(),this.h3.summaryDescriptions.clear(),this.h3.isVirtual||this.h3.flushAutoRefresh(),this.hw.rules.clear();for(var o=0;o<this.im.count;o++)this.hw.rules.add(this.im._inner[o]);this.hw.itemsSource=this.h3,this.hw.refresh(),this.hy=new i.DataSeriesAdapterPropertyInfo,this.hz=new i.DataSeriesAdapterPropertyInfo}if((null==this.hy.b||null==this.hz.b||0==this.hy.b.length&&0==this.hz.b.length)&&this.hw.a1(this.hy,this.hz),null==this.hy.b||null==this.hz.b||0==this.hy.b.length||0==this.hz.b.length)return;if(0==this.h8)for(var s=function(t){var i,n=a.hy.b[t],r=a.hy.a[t],o=a.hy.c[t],s=null==a.h4.propertiesRequested;if(null!=a.h4.propertiesRequested)for(var h=0;h<a.h4.propertiesRequested.length;h++){var u=a.h4.propertiesRequested[h];if(u==n||u==""+n){s=!0;break}}e.add(((i=new qe).propertyType=o,i.key=n,i.isSelected=s,i.label=r,i))},a=this,h=0;h<this.hy.b.length;h++)s(h);if(1==this.h8)for(var u=function(t){var n=l.hz.b[t],r=l.hz.a[t],o=l.hz.c[t],s=2,a="Sum",h="Sum",u=0;if(null!=l.h5&&l.h5.count>0&&(h=l.h5._inner[0].label,a=l.h5._inner[0].name,s=l.h5._inner[0].operand,i.stringIsNullOrEmpty(h))){var c=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,l.h5._inner[0].operand);h=c,a=c}if(l.il.containsKey(n))u=l.il.item(n),a=l.jj(u),h=l.ji(u),s=l.h2(u);else if(l.ia){if(null!=l.h7)for(var p=0;p<l.h7.count;p++){var f=l.h7._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.h5.count;b++)if(l.h5._inner[b].name==f.aggregationName){h=l.h5._inner[b].label;break}}break}}}else for(var g=0;g<l.h4.summaryDescriptions.k.count;g++){var y=l.h4.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.iy(a);break}}var v=null==l.h4.propertiesRequested;if(null!=l.h4.propertiesRequested)for(var _=0;_<l.h4.propertiesRequested.length;_++){var C=l.h4.propertiesRequested[_];if(null!=C){if(C==n||C==""+n){v=!0;break}if(0==C.indexOf(""+n)){if(null==l.h4.summaryDescriptions)continue;for(var j=0;j<l.h4.summaryDescriptions.k.count;j++){if(l.h4.summaryDescriptions.k.item(j).propertyName==n){v=!0;break}}}}}var w,k=((w=new qe).key=n,w.isSelected=v,w.label=r,w.propertyType=o,w);l.ii()&&(k.aggregationLabel=h,k.aggregationName=a,k.aggregationOperand=s,l.il.containsKey(n)?l.il.item(n,u):l.il.addItem(n,u)),e.add(k)},l=this,c=0;c<this.hz.b.length;c++)u(c)}t.bl=["key"],t.b6=e,t.b7="label",t.b9="isSelected",t.ca="aggregationLabel",t.b8="propertyType"}},n.prototype.jw=function(t,e){this.jz()},n.prototype.jv=function(t,e){if(0!=this.h8&&this.ii()){this.i1=e.a[0],this.ix=e.c,this.ic=e.b;for(var n=this.il.item(this.i1),r=0,o=0;o<this.actions.count;o++){var s=i.typeCast(_i.$,this.actions._inner[o]);null!=s&&(s.hx=n==r,r++)}this.r.g5(this)}},n.prototype.ju=function(t,e){var n=this;this.ie=!0;this.ix,this.ic,this.iz;this.ix=e.c,this.ic=e.b,this.iz=e.a,this.h6=0;var r,o=e.a[0];if(this.ij&&!this.ib&&(e.b?this.d.executeDelayed(i.runOn(this,this.j1),0):this.d.executeDelayed(i.runOn(this,this.jt),0)),this.ih()){var s="";if(1==this.h8){var a=this.il.item(o);s=this.jj(a).toString()}if(e.b){if(this.ii())if(0==this.h8){for(var h=!1,u=0;u<this.h4.groupDescriptions.k.count;u++){if(this.h4.groupDescriptions.k.item(u).propertyName==o){h=!0;break}}h||(this.ij&&this.h4.groupDescriptions.clear(),this.h4.groupDescriptions.add(((r=new i.SortDescription).propertyName=o,r)))}else{for(var l=!1,c=0;c<this.h4.summaryDescriptions.k.count;c++){if(this.h4.summaryDescriptions.k.item(c).propertyName==o){l=!0;break}}l||this.h4.summaryDescriptions.add(function(){var t=new i.SummaryDescription(0);return t.propertyName=o,t.operand=n.h1(n.il.item(o)),t}())}if(null==this.h4.propertiesRequested)this.h4.propertiesRequested=[this.ii()?""+o+s:o];else{for(var p=!1,f=0;f<this.h4.propertiesRequested.length;f++)if(this.h4.propertiesRequested[f]==(this.ii()?""+o+s:o)){p=!0;break}if(!p){for(var d=new Array(this.h4.propertiesRequested.length+1),b=0;b<this.h4.propertiesRequested.length;b++)d[b]=this.h4.propertiesRequested[b];d[this.h4.propertiesRequested.length]=this.ii()?""+o+s:o,this.h4.propertiesRequested=d}}}else{if(this.ii())if(0!=this.h8||this.ij){for(var g=new i.SummaryDescription(0),y=!1,m=0;m<this.h4.summaryDescriptions.k.count;m++){var v=this.h4.summaryDescriptions.k.item(m);v.propertyName==o&&(g=v,y=!0)}y&&this.h4.summaryDescriptions.remove(g)}else{for(var _=new i.SortDescription,C=!1,j=0;j<this.h4.groupDescriptions.k.count;j++){var w=this.h4.groupDescriptions.k.item(j);if(w.propertyName==o){_=w,C=!0;break}}C&&this.h4.groupDescriptions.remove(_)}if(null==this.h4.propertiesRequested){for(var k=0,P=new Array(this.hy.b.length+this.hz.b.length-1),x=0;x<this.hy.b.length;x++)this.hy.b[x]!=o&&(P[k]=this.hy.b[x],k++);for(var T=0;T<this.hz.b.length;T++)this.hz.b[T]!=o&&(P[k]=this.hz.b[T],k++);this.h4.propertiesRequested=P}else{for(var O=new Array(this.h4.propertiesRequested.length-1),S=0,I=0;I<this.h4.propertiesRequested.length;I++){var A=this.h4.propertiesRequested[I];A!=o&&A!=""+o+s&&(O[S]=A,S++)}this.h4.propertiesRequested=O}}}this.jz(),this.gj(this.l(!0),this),this.ie=!1},n.prototype.jz=function(){this.id||null!=this.d&&null!=this.h9&&(this.id=!0,this.d.enqueueAction(i.runOn(this,this.jx)))},n.prototype.jx=function(){null!=this.h9&&this.h9.ce(),this.id=!1},n.prototype.j1=function(){this.ib=!0,this.h9.cf(0),this.ib=!1},n.prototype.jt=function(){this.ib=!0,this.h9.cb(["key"],this.iz),this.ib=!1},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.h9&&this.ix>-1&&(e.e=this.ix,e.b=this.ic,e.f=i.enumGetBox(Ue,this.h6)),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),this.ix>=0&&(0==this.h6||1==this.h6&&e.add(((n=new i.ToolCommandArgument).argumentName="Aggregation",n.value=r.i4,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="IsChecked",t.value=r.ic,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.ix,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.iz,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="EventType",t.value=i.enumGetBox(Ue,r.h6),t}()))},n.prototype.g8=function(t,e,n){null!=this.h9&&(t.z=this.io-16,t.bi=new i.Thickness(1,this.iq,this.is,this.ir,this.ip),t.a9=this.hf,t.bk=this.hv,null!=this.eq&&(t.aq=this.eq))},n.prototype.ha=function(){t.prototype.ha.call(this),this.iq=i.isNaN_(this.iu)?i.DeviceUtils.g(8):this.iu,this.ir=i.isNaN_(this.iv)?i.DeviceUtils.g(8):this.iv,this.is=i.isNaN_(this.iw)?i.DeviceUtils.g(8):this.iw,this.ip=i.isNaN_(this.it)?i.DeviceUtils.g(8):this.it},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.j3(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(0);this.j3(o,t,s,n)}},n.prototype.gh=function(e,i){t.prototype.gh.call(this,e,i),this.h3=null,this.j4(this.h9)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.h8=e.fieldType,this.h4=e.dataSource,this.h0=e.ak,this.ik=e.updateDataSource,this.ij=e.singleSelection},n.prototype.fh=function(){if(t.prototype.fh.call(this),null!=this.h4){var e=this.h4;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.j2))}null!=this.h9&&(this.h9.bs=null,this.h9.bv=null)},n.prototype.fr=function(){if(t.prototype.fr.call(this),null!=this.h4){var e=this.h4;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.j2))}null!=this.h9&&(this.h9.bs=null,this.h9.bv=null)},n.$t=i.markType(n,"ToolActionFieldSelector",si.$),n}(si),bi=function(t){function n(){var e,n=t.call(this)||this;return n.hx=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),n.hy=null,n.hw=null,n.hz=!1,n}return e.__extends(n,t),n.prototype.get_aa=function(){return 1},n.prototype.get_a4=function(){return!1},n.prototype.get_a5=function(){return!1},n.prototype.get_be=function(){return!1},Object.defineProperty(n.prototype,"h6",{get:function(){return this.cx("ActualBackIconColor",null)},set:function(t){var e=this.h6;e!=t&&(this.gy("ActualBackIconColor",t),this.gi("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cx("BackIconColor",null)},set:function(t){var e=this.h7;e!=t&&(this.gy("BackIconColor",t),this.gi("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.af=function(t){return this.hx},n.prototype.b5=function(t,e){return this.bf()?i.DeviceUtils.g(36):NaN},n.prototype.b7=function(e,n){if(this.actions.count>0){if(null!=this.hw){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.hw.bg(r).width}return 0}return t.prototype.b7.call(this,e,n)},n.prototype.h4=function(t,e,n,r){var o=n.bp;if(!(null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||null!=e.ap&&2!=i.typeGetValue(e.ap))){var s=!1;null==e.ap?e.ap=1:(s=!0,e.ap=3),e.bp(2,n);var a=null;s&&(a=e.bm(3)),e.b9(0,1,this.b5(this.r,r)),e.cd(e.bm(0),1),e.cd(e.bm(1),2),s&&e.cd(a,3),e.cd(n,0),e.cf(n,0),n.h=1,n.f=1,n.bi=new i.Thickness(1,-9,0,9,0),n.bq=this.ak(this.v),o.bs="ToolbarBackButtonIcon",o.br="ToolPanelIconCollection",o.af=i.DeviceUtils.g(24),o.z=i.DeviceUtils.g(24)}o.bd=this.h6,n.c=this.t,n.by=this.bg,n.bn=i.runOn(this,this.h2),this.hy=n},n.prototype.h5=function(t,e,n,r){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa||null==e.ap||i.typeGetValue(e.ap)<2)&&(null==e.ap||1==i.typeGetValue(e.ap))){var o=!1;null==e.ap?e.ap=2:(o=!0,e.ap=3),e.bo(n),o?(e.b9(3,1,this.b7(this.r,r)),e.cd(n,3),e.cf(n,0)):(e.b9(2,1,this.b7(this.r,r)),e.cd(n,2),e.cf(n,0)),n.bv=this.r.p,n.bw=1,n.h=1,n.f=2}n.c=this.t,n.ca=this.hf,n.cq=this.hm,n.ck=this.hm,n.cl=this.hm,n.bt=i.runOn(this,this.h3),n.b8(this.ak(this.v)),this.hw=n,this.hw.bu!=this.actions&&(this.hw.bu=this.actions,this.bf()?e.cg(3,1,this.b7(this.r,r)):e.cg(2,1,this.b7(this.r,r)))},n.prototype.h3=function(t,e){this.gu(e.a,e.b)},n.prototype.h2=function(t,e){this.r.g6(this)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)this.bf()&&i.NativeUIComponent.au(this.r.v.z(),10,this.bj()?2:0,(function(e){return r.h4(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.au(this.r.v.z(),13,2,(function(e){return r.h5(o,t,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{if(this.bf()){var s=t.bm(2);this.h4(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ap)&&(a=2);var h=t.bm(a);this.h5(o,t,h,n)}}},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.hy&&(this.hy.bq=this.ak(this.v))},n.prototype.ha=function(){var e;t.prototype.ha.call(this),null!=this.hy&&(this.hy.c=this.t),null!=this.r&&(this.hf=null!=this.hn?this.hn:this.r.je,this.hm=null!=this.hu?this.hu:this.r.jh,this.hl=null!=this.ht?this.ht:this.r.jg),null!=this.hw&&(this.hw.c=this.t,this.hw.cq=this.r.kg,this.hw.ca=this.hf),this.h6=null!=this.h7?this.h7:this.hm,e=null!=this.ah?this.ah.a():null!=this.r&&null!=this.r.an?this.r.an.a():this.hx,this.ae=e},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"StopPropagation":null!=this.hy&&(this.hy.by=this.bg)}},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hy&&(this.hy.bn=null),null!=this.hw&&(this.hw.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hy&&(this.hy.bn=null),null!=this.hw&&(this.hw.bt=null)},n.prototype.ct=function(){var t=new Le;return this.fz(t),null!=this.hy&&(t.l=this.hy.ag()),t},n.$t=i.markType(n,"ToolActionGroupHeader",si.$),n}(si),gi=function(t){function n(){var e=t.call(this)||this;return e.h1=null,e.hy=null,e.hw=null,e.i2=-1,e.i3=-1,e.it=-1,e.h8=!1,e.h5=!1,e.h4=!1,e.h9=!1,e.h7=!1,e.i4=-1,e.iq=NaN,e.il=NaN,e.is=NaN,e.io=NaN,e.ir=NaN,e.im=NaN,e.ip=NaN,e.ik=NaN,e.hz=null,e.h0=null,e.ia=!1,e.ic=!1,e.popupOpening=null,e.h3=!1,e.h6=!1,e.hw=new i.DelayManager(0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ie",{get:function(){return this.h9},set:function(t){this.h9=t},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 3},n.prototype.get_bh=function(){return!1},Object.defineProperty(n.prototype,"h2",{get:function(){return this.h1},enumerable:!1,configurable:!0}),n.prototype.get_ij=function(){return null!=this.hy},Object.defineProperty(n.prototype,"ij",{get:function(){return this.get_ij()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i6",{get:function(){return this.i4},set:function(t){this.i4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i5",{get:function(){return i.typeGetValue(this.cx("ActualTooltipDelay",500))},set:function(t){var e=this.i5;e!=t&&(this.gy("ActualTooltipDelay",t),this.gi("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return null!=this.h1&&(this.h1.b6||this.h1.b7||this.h1.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return this.iq},set:function(t){var e=this.iq;this.iq=t,e!=this.iq&&this.gi("ContentPaddingLeft",e,this.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.il},set:function(t){var e=this.il;this.il=t,e!=this.il&&this.gi("ActualContentPaddingLeft",e,this.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i1",{get:function(){return this.is},set:function(t){var e=this.is;this.is=t,e!=this.is&&this.gi("ContentPaddingTop",e,this.is)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ix",{get:function(){return this.io},set:function(t){var e=this.io;this.io=t,e!=this.io&&this.gi("ActualContentPaddingTop",e,this.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.ir},set:function(t){var e=this.ir;this.ir=t,e!=this.ir&&this.gi("ContentPaddingRight",e,this.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.im},set:function(t){var e=this.im;this.im=t,e!=this.im&&this.gi("ActualContentPaddingRight",e,this.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.ip},set:function(t){var e=this.ip;this.ip=t,e!=this.ip&&this.gi("ContentPaddingBottom",e,this.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.ik},set:function(t){var e=this.ik;this.ik=t,e!=this.ik&&this.gi("ActualContentPaddingBottom",e,this.ik)},enumerable:!1,configurable:!0}),n.prototype.f3=function(){null==this.h1||this.h4||(i.NativeUIWindow.h(15,i.runOn(this,this.jz),this.r.v.r),i.NativeUIWindow.h(9,i.runOn(this,this.jy),this.r.v.r),this.h4=!0),t.prototype.f3.call(this)},n.prototype.gf=function(){this.h4&&(i.NativeUIWindow.i(15,i.runOn(this,this.jz)),i.NativeUIWindow.i(9,i.runOn(this,this.jy)),this.h4=!1),t.prototype.gf.call(this)},n.prototype.fh=function(){t.prototype.fh.call(this),this.h4&&(i.NativeUIWindow.i(15,i.runOn(this,this.jz)),i.NativeUIWindow.i(9,i.runOn(this,this.jy)),this.h4=!1),this.h9=!1,null!=this.h1&&(this.h1.q=null,this.h1.s=null,this.h1.n=null,this.h1.o=null,this.h1.bv=null),null!=this.hz&&(this.hz.bn=null,this.hz.q=null,this.hz.s=null,this.hz.o=null)},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,e},n.prototype.b6=function(t,e){var n=36;4==this.v&&(n=18);var r=0;return i.isNaN_(this.iv)||(r+=this.iv),i.isNaN_(this.iw)||(r+=this.iw),i.DeviceUtils.g(n)+r},n.prototype.b8=function(t,e){return NaN},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.j4=function(t){this.b0=i.isNaN_(this.cj)?this.b9():this.cj,this.bz=i.isNaN_(this.cd)?this.b9():this.cd},n.prototype.j3=function(t,e,n,r,o){var s=n.bp;this.ic=!0,o&&(e.cb(2),e.cb(1),0==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,0),this.a7?n.bq=3:n.bq=this.ak(this.v),n.bo=4,n.bv=!0,n.f=1,this.j4(s)),e.bx=1,e.by=!1,e.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),n.b3=new i.Thickness(1,this.iv,this.ix,this.iw,this.iu),s.bs=this.ee,s.br=this.d9,s.bo=this.cg,s.bp=this.ch,s.bq=this.ci,s.bn=this.cf,s.bc=this.hj,s.bl=this.a,s.bd=this.hk,s.bm=this.b,s.ad=this.ce,s.af=i.DeviceUtils.g(this.b0),s.z=i.DeviceUtils.g(this.bz),s.ab=this.a9?.25:1,n.c=this.t,n.by=this.bg,n.b2=this.hi,n.bn=i.runOn(this,this.jo),n.q=i.runOn(this,this.jq),n.s=i.runOn(this,this.jr),n.o=i.runOn(this,this.jp),n.bx=this.a9,this.hz!=n&&(this.hz=n),this.h0!=s&&(this.h0=s),this.ic=!1},n.prototype.j5=function(t,e){this.h1!=e&&(null!=this.h1&&(this.h1.b7||this.h1.b6)&&this.h1.cd(),this.h1=e,this.h1.b9=this.r.cf,this.h1.bt=1,this.h1.b4=!0,this.h1.cb=100,this.h1.b2=!0,this.h1.cc=i.truncate(this.r.cg),this.h1.b5=!0,2!=t.bn&&t.bo(this.h1),this.r.a5||this.h4||(i.NativeUIWindow.h(15,i.runOn(this,this.jz),this.r.v.r),i.NativeUIWindow.h(9,i.runOn(this,this.jy),this.r.v.r),this.h4=!0),this.h3=!1),this.h1.q=i.runOn(this,this.jw),this.h1.s=i.runOn(this,this.jx),this.h1.n=i.runOn(this,this.ju),this.h1.o=i.runOn(this,this.jv),this.h1.bv=i.runOn(this,this.jt),0==this.h1.bn&&(this.h9=!1),this.actions.count>0?this.h1.u=!0:this.h1.u=!1},n.prototype.ji=function(){this.jj(this.h7,this.h8),this.h9=!0},n.prototype.jj=function(t,e){var i=this;0==this.h1.bn?(this.hy=new Fe(this.r.v.z()),this.hy.t((function(){i.h1.bo(i.hy.e),t&&i.j0(100,e)}))):this.hy=this.h1.bm(0).ap,this.hy.b=this.r.am,this.hy.y=this.r.jr,this.hy.z=this.r.js,this.hy.p=this.fa,this.h1.cj=this.hy.y},n.prototype.jl=function(){},n.prototype.jk=function(){},n.prototype.jm=function(){null!=this.hy&&(this.h1.cj=this.r.jr,this.hy.y=this.r.jr,this.hy.z=this.r.js,this.h1.b9=this.r.cf,this.h1.cc=i.truncate(this.r.cg))},n.prototype.j6=function(){return null!=this.hy?this.hy.aa():i.Size.empty},n.prototype.jz=function(t){if(null!=this.hz){var e=this.hz.bf();this.h1.cf(e)}},n.prototype.jy=function(t){var e=t;!this.ii||this.h1.t(e.b)||this.hz.t(e.b)||this.jh()},n.prototype.gl=function(t,e,n){var r=this;if(!this.ia){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn)this.ia=!0,i.NativeUIComponent.aw(this.r.v.z(),[10,12],[this.al(10),this.al(12)],(function(e){r.j3(o,t,e[0],n,!0),r.j5(t,e[1]),r.ia=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(0),a=t.bm(1);this.j3(o,t,s,n,!1),this.j5(t,a)}}},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.hz&&(this.hz.bq=this.ak(this.v)),null!=this.h0&&this.j4(this.h0)},n.prototype.ha=function(){switch(t.prototype.ha.call(this),null!=this.r&&(this.i5=-1!=this.i6?this.i6:this.r.c1),this.t){case 6:case 5:case 4:case 3:this.b2=i.isNaN_(this.cl)?0:this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm;break;default: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.iv=i.isNaN_(this.iz)?NaN:this.iz,this.iw=i.isNaN_(this.i0)?NaN:this.i0,this.ix=i.isNaN_(this.i1)?NaN:this.i1,this.iu=i.isNaN_(this.iy)?NaN:this.iy,null!=this.hz&&(this.hz.c=this.t,this.hz.b2=this.hi,null!==i.typeCast(i.NativeUIIconButton.$,this.hz)&&(this.hz.bc=this.hm,this.hz.bd=this.hm)),null!=this.h0&&(this.h0.bc=this.hj,this.h0.bd=this.hk,this.h0.bl=this.a,this.h0.bm=this.b,this.h0.ab=this.a9?.25:1),this.jm()},n.prototype.gg=function(){this.ic||null!=this.h0&&(this.h0.bs=this.ee,this.h0.br=this.d9,this.h0.af=i.DeviceUtils.g(this.b0),this.h0.z=i.DeviceUtils.g(this.bz))},n.prototype.gn=function(){this.actions.count>0&&(null!=this.h1&&this.ij?(this.j1(),this.h8=!0):this.h7=!0)},n.prototype.fi=function(){if(this.actions.count>0){if(-1!=this.i3)return this.hw.g(this.i3),void(this.i3=-1);null!=this.h1&&this.ij?this.jh():this.h7=!1}},n.prototype.get_bb=function(){return this.ii||this.id},Object.defineProperty(n.prototype,"id",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].bb)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.j1=function(t){if(void 0===t&&(t=!1),!this.h9)return this.h7=!0,this.h8=t,void this.ji();if(!this.ii){if(this.r.gd(),0==this.actions.count&&i.stringIsNullOrEmpty(this.fa))return;if(null!=this.popupOpening){var e=new Oi;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.r&&this.r.gv();var n=this.hz.bf(),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.j6();s.height+=this.h1.ca,n.bottom+s.height>o?n.top-s.height<0?this.h1.cg(r,1,3):this.h1.cg(r,2,3):this.h1.cg(r,1,3)}else{var a=i.NativeUIWindow.f(this.r.v.r),h=this.j6();h.width+=this.h1.ca,n.right+h.width>a?n.left-h.width<0?this.h1.cg(r,4,3):this.h1.cg(r,3,3):this.h1.cg(r,4,3)}this.jl()}this.h8=t,this.h7=!1},n.prototype.j2=function(){this.ii&&(this.h8=!0)},n.prototype.jh=function(){var t=this;this.ii&&(this.h3||(this.hw.f((function(){t.h1.cd(),t.h8=!1,t.h3=!1}),100),this.h3=!0))},n.prototype.js=function(t){void 0===t&&(t=!1),this.i3=-1,this.j1(t),this.it=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.jn=function(){this.jh(),this.i2=-1},n.prototype.j0=function(t,e){var i=this;void 0===e&&(e=!1),this.i3=this.hw.f((function(){return i.js(e)}),t)},n.prototype.ib=function(){return this.r.a8&&!i.stringIsNullOrEmpty(this.fa)},n.prototype.jq=function(t,e){if(this.h5=!0,-1!=this.i2&&(this.hw.g(this.i2),this.i2=-1),!this.ii){if(!this.ib())return;this.j0(this.i5)}},n.prototype.jr=function(t,e){-1!=this.i3&&(this.hw.g(this.i3),this.i3=-1),this.ii&&!this.h8&&(this.i2=this.hw.f(i.runOn(this,this.jn),50)),this.it=-1,this.h5=!1},n.prototype.jo=function(t,e){if(this.actions.count>0)if(this.ii)if(this.h8||-1==this.it)this.jh();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.ig(n-this.it)&&this.jh()}else-1!=this.i3&&(this.hw.g(this.i3),this.i3=-1),this.j1(!0);else this.ii&&this.jh(),this.gj(this.l(!0),this)},n.prototype.ig=function(t){return!0},n.prototype.jw=function(t,e){this.h6=!0,-1!=this.i2&&(this.hw.g(this.i2),this.i2=-1)},n.prototype.jx=function(t,e){this.h8||(this.i2=this.hw.f(i.runOn(this,this.jn),50)),this.h6=!1},n.prototype.ju=function(t,e){this.h8=!0},n.prototype.jv=function(t,e){null==e.b&&this.ih(e)||this.h1.t(e.b)||this.hz.t(e.b)||this.jh()},n.prototype.ih=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.jt=function(t,e){null!=this.r&&this.r.gu(),this.jk()},n.prototype.jp=function(t,e){if(this.ii){if(null==e.b&&this.ih(e))return;this.h1.t(e.b)||this.hz.t(e.b)||this.jh()}},n.prototype.gq=function(e,n,r){switch(t.prototype.gq.call(this,e,n,r),e){case"ExecutionContext":this.hw.b=this.d;break;case"Title":null!=this.hy&&(this.hy.p=this.fa);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.h0&&(this.h0.bc=this.hj,this.h0.bd=this.hk,this.h0.bl=this.a,this.h0.bm=this.b);break;case"TooltipDelay":this.i5=-1!=this.i6?this.i6:this.r.c1;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.h0&&(this.h0.af=i.DeviceUtils.g(this.b0),this.h0.z=i.DeviceUtils.g(this.bz));break;case"StopPropagation":null!=this.hz&&(this.hz.by=this.bg);break;case"IsDisabled":null!=this.hz&&(this.hz.bx=this.a9),this.ha()}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.i6=e.tooltipDelay,e.isMenuOpenOnStart&&this.gn()},n.prototype.ct=function(){var t=new re;return t.i=this.c2,t.j=this.eq,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.am(this.aq.ao)),null!=this.hz&&(t.h=this.hz.ag()),null!=this.h0&&(t.c=this.h0.ag()),t},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.h1&&(this.h1.q=null,this.h1.s=null,this.h1.n=null,this.h1.o=null,this.h1.bv=null),null!=this.hz&&(this.hz.bn=null,this.hz.q=null,this.hz.s=null,this.hz.o=null),this.h9=!1},n.$t=i.markType(n,"ToolActionIconButton",si.$),n}(si),yi=function(t){function n(){var e=t.call(this)||this;return e.kf=i.DeviceUtils.g(24),e.ke=i.DeviceUtils.g(15),e.kd=0,e.j7=null,e.ka=!1,e.j9=null,e.kb=!1,e.j8=null,e.kd=e.kf-e.ke,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 8},Object.defineProperty(n.prototype,"kn",{get:function(){return this.cx("ArrowStroke",null)},set:function(t){var e=this.kn;e!=t&&(this.gy("ArrowStroke",t),this.gi("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"km",{get:function(){return this.cx("ActualArrowStroke",null)},set:function(t){var e=this.km;e!=t&&(this.gy("ActualArrowStroke",t),this.gi("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kc",{get:function(){return this.cx("ShowArrowIcon",!0)},set:function(t){var e=this.kc;e!=t&&(this.gy("ShowArrowIcon",t),this.gi("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_ij=function(){return null!=this.j7},n.prototype.jj=function(t,e){var n=this;if(this.ka=!1,this.h2.bn>0)for(;this.h2.bn>0;)this.h2.br(0);null!=this.j7&&(this.j7.a2(),this.j7.t=null),this.j7=new Ai(this.r.v.z(),this.d),this.j7.o=this.t,this.j7.an((function(){n.j7.s.a8=new i.CornerRadius(0,8),n.j7.s.a9=n.r.jo,n.h2.bo(n.j7.s),n.j7.ag(n,(function(r){null!=n.eq&&(r.aq=n.eq+"SubPanel"),n.j7.ao(r),n.actions.count>0&&null!=n.actions._inner[0].hf&&!i.BrushUtilCore.a(n.actions._inner[0].hf)?n.h2.cj=n.actions._inner[0].hf:n.h2.cj=n.r.jo,t&&(n.j7.am(),n.h2.ce(),n.j0(100,e))}))})),this.j7.t=i.runOn(this,this.kj)},n.prototype.f7=function(){t.prototype.f7.call(this),this.ie?this.jl():this.ka=!0},n.prototype.jl=function(){null!=this.j7&&this.j7.ar()},n.prototype.jk=function(){null!=this.j7&&(this.j7.a1(),this.h2.ce())},n.prototype.jm=function(){null!=this.j7&&(this.j7.a4(this.t,this.r),this.actions.count>0&&null!=this.actions._inner[0].hf&&!i.BrushUtilCore.a(this.actions._inner[0].hf)?this.h2.cj=this.actions._inner[0].hf:this.h2.cj=this.r.jo,this.h2.b9=8,this.h2.cc=4)},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.hz&&(this.hz.bq=this.ak(this.v)),null!=this.h0&&this.j4(this.h0)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.kc=e.showArrowIcon},n.prototype.ha=function(){t.prototype.ha.call(this),null!=this.r&&(this.km=null!=this.kn?this.kn:this.r.jm);var e=this.kc?i.DeviceUtils.g(8):0,n=this.kc?i.DeviceUtils.g(4):0,r=this.kc?i.DeviceUtils.g(5):0,o=this.kc?i.DeviceUtils.g(5):0;switch(this.t){case 6:case 5:case 4:case 3:this.iv=i.isNaN_(this.iz)?e:this.iz,this.iw=i.isNaN_(this.i0)?n:this.i0,this.ix=i.isNaN_(this.i1)?r:this.i1,this.iu=i.isNaN_(this.iy)?o:this.iy;break;default:this.iv=i.isNaN_(this.iz)?0:this.iz,this.iw=i.isNaN_(this.i0)?0:this.i0,this.ix=i.isNaN_(this.i1)?0:this.i1,this.iu=i.isNaN_(this.iy)?0:this.iy}null!=this.j9&&(this.j9.bd=this.km),null!=this.j8&&this.j8.cg(0,1,this.b0)},n.prototype.j6=function(){return!this.ie&&this.ka&&this.ji(),this.j7.a9()},n.prototype.j1=function(e){void 0===e&&(e=!1),null!=this.j7&&this.j7.a1(),t.prototype.j1.call(this,e)},n.prototype.b6=function(e,n){if(!this.kc)return t.prototype.b6.call(this,e,n);var r=0;return i.isNaN_(this.iv)||(r+=this.iv),i.isNaN_(this.iw)||(r+=this.iw),Math.max(i.DeviceUtils.g(36),this.b0+this.kd+r)},n.prototype.kl=function(t,e,n,r,o,s,a){this.ic=!0,a&&(t.cb(2),t.cb(1),0==t.bn&&(n.b5(0,1,i.DeviceUtils.g(this.b0)),n.b5(1,1,this.kd),n.bo(r),n.bo(o),n.cd(r,0),n.cd(o,1),this.j8=n,e.bp=n,t.bo(e)),t.cf(e,0),t.cd(e,0),this.a7?e.bq=3:e.bq=this.ak(this.v),n.bj=new i.Thickness(1,this.iv,this.ix,this.iw,this.iu),e.bo=4,e.bv=!0,e.f=1,e.b1=new i.CornerRadius(0,18),this.j4(r),r.h=1,o.af=this.kf,o.z=this.kf,o.h=1,o.bi=new i.Thickness(1,-this.ke,0,0,0),o.bs="ToolbarIconMenuArrowIcon",o.br="ToolPanelIconCollection",o.bc=i.BrushUtil.l(0,0,0,0),o.ad=i.DeviceUtils.g(1)),t.by=!1,t.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),r.bs=this.ee,r.br=this.d9,r.bo=this.cg,r.bp=this.ch,r.bq=this.ci,r.bn=this.cf,r.bc=this.hj,r.bl=this.a,r.bd=this.hk,r.bm=this.b,r.ad=this.ce,r.af=this.b0,r.z=this.bz,o.bd=this.km,e.c=this.t,e.by=this.bg,e.b2=this.hi;var h=this.b0+this.iv+this.iw;this.kc&&(h=h+this.kf-this.ke),e.bz=h,e.bn=i.runOn(this,this.jo),e.q=i.runOn(this,this.jq),e.s=i.runOn(this,this.jr),e.o=i.runOn(this,this.jp),this.hz!=e&&(this.hz=e),this.h0!=r&&(this.h0=r),this.j9!=o&&(this.j9=o),this.kk(),this.ic=!1},n.prototype.gl=function(t,e,n){var r=this;if(!this.kb){var o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa||0==t.bn){var s=[this.al(1),this.al(7),this.al(11),this.al(11),this.al(12)];this.kb=!0,i.NativeUIComponent.aw(this.r.v.z(),[1,7,11,11,12],s,(function(e){r.kl(t,e[0],e[1],e[2],e[3],n,!0),r.j5(t,e[4]),r.kb=!1})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bm(0),h=a.bp,u=h.bm(0),l=h.bm(1),c=t.bm(1);this.kl(t,a,h,u,l,n,!1),this.j5(t,c)}}},n.prototype.kj=function(t){this.gu(t.a,t.b),t.b&&this.fi()},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"ShowArrowIcon":this.kk(),null!=this.r&&(this.r.gl(this),this.r.g4());break;case"StopPropagation":null!=this.hz&&(this.hz.by=this.bg)}},n.prototype.kk=function(){if(null!=this.hz&&null!=this.h0&&null!=this.j9)if(this.kc){var t=this.hz.bp;2==t.b0?(t.cg(0,1,i.DeviceUtils.g(this.b0)),t.cg(1,1,this.kd)):(t.b5(0,1,i.DeviceUtils.g(this.b0)),t.b5(1,1,this.kd)),t.cd(this.h0,0),t.cd(this.j9,1),this.j9.bk=0}else{this.hz.bp.cg(1,1,i.DeviceUtils.g(0)),this.j9.bk=1}this.ha()},n.prototype.fg=function(e,i){switch(t.prototype.fg.call(this,e,i),i){case"Visibility":null!=this.j7&&this.j7.a0()}},n.prototype.go=function(e){if(t.prototype.go.call(this,e),8==e.aa){var i=e;this.kc!=i.kc&&(this.kc=i.kc),this.kn!=i.kn&&(this.kn=i.kn)}},n.prototype.e=function(){return this.h2.b7?this.j7.k().a:null},n.prototype.ct=function(){var t=new He;return t.i=this.c2,t.j=this.eq,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.am(this.aq.ao)),null!=this.hz&&(t.h=this.hz.ag()),null!=this.h0&&(t.c=this.h0.ag()),null!=this.j9&&(t.l=this.j9.ag()),t},n.prototype.ib=function(){return this.r.a7&&this.actions.count>0},n.prototype.ig=function(t){return!(this.r.c2<0||t<this.r.c2)||(this.j2(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",gi.$),n}(gi),mi=function(t){function n(){var e=t.call(this)||this;return e.hw=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 4},n.prototype.b7=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b7.call(this,e,n)},n.prototype.hx=function(t,e,n,r){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)&&2==e.bn){var o=this.b7(this.r,r);e.b5(2,1,i.isNaN_(o)?0:o),e.bo(n),e.cd(n,2),e.cf(n,0),n.bs="ToolbarDrillDownIcon",n.br="ToolPanelIconCollection",n.f=1,n.h=1,n.af=i.DeviceUtils.g(24),n.z=i.DeviceUtils.g(24)}n.bd=this.hm,n.bc=this.hm},n.prototype.ga=function(){this.actions.count>0?this.r.g5(this):this.gj(this.l(!1),this)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa?(this.actions.count>0&&i.NativeUIComponent.au(this.r.v.z(),11,this.bj()?2:0,(function(e){r.hw=e,r.hx(o,t,r.hw,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)):this.actions.count>0?(this.hw=t.bm(2),this.hx(o,t,this.hw,n)):3==t.bn&&(t.br(2),t.cb(2),this.hw=null)},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"ActualTextColor":null!=this.hw&&(this.hw.bb=this.hm)}},n.prototype.ct=function(){var t=new Me;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionLabel",si.$),n}(si),vi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hw=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 5},Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("Value",0)},set:function(t){var e=this.hy;e!=t&&(this.gy("Value",t),this.gi("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hw&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hx(),n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hx=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.hw.b8)?NaN:(null!=this.hw&&(e=i.tryParseNumber(n.hw.b8,t),t=e.p1,e.ret),t)},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,e.e=this.hx(),e},n.prototype.h0=function(t,e){this.hy=this.hx();var i=this.l(!0);this.gj(i,this)},n.prototype.h1=function(t,e,n,r){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var o=this.b7(this.r,r);e.b5(2,1,o),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=o,n.bq=3,n.bv=1,n.f=2,n.h=1,n.bw=1,n.bp=2,n.b3=!1}n.c=this.t,n.cf=this.a9?this.hg:this.hm,n.bl=this.ae,n.b1=this.a9,n.bt=i.runOn(this,this.h0),i.isNaN_(this.hy)?n.b8="":n.b8=this.hy.toString(),this.hw!=n&&(this.hw=n)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),2,this.al(2),(function(e){var i=e;r.h1(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.h1(o,t,s,n)}},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.hw&&(this.hw.bq=this.ak(this.v))},n.prototype.ha=function(){null!=this.hw&&(this.hw.c=this.t)},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"IsDisabled":null!=this.hw&&(this.hw.b1=this.a9,this.hw.cf=this.a9?this.hg:this.hm)}},n.prototype.ga=function(){null==this.hw||this.a9||this.hw.a0()},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hy=e.value},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hw&&(this.hw.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hw&&(this.hw.bt=null)},n.prototype.ct=function(){var t=new Ge;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionNumberInput",si.$),n}(si),_i=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hw=null,e.h0=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 6},Object.defineProperty(n.prototype,"h5",{get:function(){return this.h0},set:function(t){this.h0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cx("ShorthandTitle",null)},set:function(t){var e=this.ib;e!=t&&(this.gy("ShorthandTitle",t),this.gi("ShorthandTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cx("IsChecked",!1)},set:function(t){var e=this.hx;e!=t&&(this.gy("IsChecked",t),this.gi("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("IsManual",!1)},set:function(t){var e=this.hy;e!=t&&(this.gy("IsManual",t),this.gi("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.cx("IsToggleable",!1)},set:function(t){var e=this.hz;e!=t&&(this.gy("IsToggleable",t),this.gi("IsToggleable",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cx("UncheckedBackgroundColor",null)},set:function(t){var e=this.iq;e!=t&&(this.gy("UncheckedBackgroundColor",t),this.gi("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cx("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.il;e!=t&&(this.gy("ActualUncheckedBackgroundColor",t),this.gi("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.cx("CheckedBackgroundColor",null)},set:function(t){var e=this.io;e!=t&&(this.gy("CheckedBackgroundColor",t),this.gi("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cx("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.ij;e!=t&&(this.gy("ActualCheckedBackgroundColor",t),this.gi("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.cx("UncheckedBorderColor",null)},set:function(t){var e=this.ir;e!=t&&(this.gy("UncheckedBorderColor",t),this.gi("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cx("ActualUncheckedBorderColor",null)},set:function(t){var e=this.im;e!=t&&(this.gy("ActualUncheckedBorderColor",t),this.gi("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cx("CheckedBorderColor",null)},set:function(t){var e=this.ip;e!=t&&(this.gy("CheckedBorderColor",t),this.gi("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cx("ActualCheckedBorderColor",null)},set:function(t){var e=this.ik;e!=t&&(this.gy("ActualCheckedBorderColor",t),this.gi("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,null!=this.hw&&(e.b=this.hw.bo),e},n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hw&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hw.bo,n))},n.prototype.ig=function(){if(null!=this.hw){var t=this.hx;this.hw.bo=!1;var e=this.hw.bo;this.gw("IsChecked",e),t!=e&&this.gi("IsChecked",t,e)}},n.prototype.b7=function(t,e){return 30},n.prototype.g3=function(){t.prototype.g3.call(this),this.hw},n.prototype.ha=function(){null!=this.r&&(this.il=null!=this.iq?this.iq:this.r.jt,this.im=null!=this.ir?this.ir:this.r.ju,this.ij=null!=this.io?this.io:this.r.jb,this.ik=null!=this.ip?this.ip:this.r.jc,null!=this.hw&&(this.hw.c=this.t,this.hw.bs=this.il,this.hw.bt=this.im,this.hw.bq=this.ij,this.hw.br=this.ik))},n.prototype.ga=function(){if(!this.hy){var t=this.hx;this.hw.bo=!this.hz||!t;var e=this.hw.bo;this.gw("IsChecked",e),t!=e&&this.gi("IsChecked",t,e)}this.gj(this.l(!0),this)},n.prototype.ih=function(t,e){if(!this.hx||this.hz){if(this.hy)this.hw.bo=this.hx;else{var i=this.hx,n=this.hw.bo;this.gw("IsChecked",n),i!=n&&this.gi("IsChecked",i,n)}this.gj(this.l(!0),this)}else this.hw.bo=!0},n.prototype.ii=function(t,e,n,r){null!=t.ap&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)==this.aa||(e.b5(2,1,this.b7(this.r,r)),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.bn=!0,n.f=1,n.h=1,n.bp=i.DeviceUtils.g(10),n.af=i.DeviceUtils.g(20),n.z=i.DeviceUtils.g(20),t.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)),n.c=this.t,n.bo=this.hx,n.bm=i.runOn(this,this.ih),n.bs=this.il,n.bt=this.im,n.bq=this.ij,n.br=this.ik,this.hw!=n&&(this.hw=n)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.ii(o,t,i,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.ii(o,t,s,n)}},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"IsChecked":null!=this.hw&&(this.hw.bo=this.hx);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g9()}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hx=e.isChecked,this.hz=e.isToggleable,this.h5=e.channel,this.ib=e.shorthandTitle},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hw&&(this.hw.bm=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hw&&(this.hw.bm=null)},n.prototype.ct=function(){var t=new We;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionRadio",si.$),n}(si),Ci=function(t){function n(){var e=t.call(this)||this;return e.h0=null,e.hz=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("SelectedTextStyle",null)},set:function(t){var e=this.hy;e!=t&&(this.gy("SelectedTextStyle",t),this.gi("SelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cx("ActualSelectedTextStyle",null)},set:function(t){var e=this.hx;e!=t&&(this.gy("ActualSelectedTextStyle",t),this.gi("ActualSelectedTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cx("SelectedTextColor",null)},set:function(t){var e=this.ia;e!=t&&(this.gy("SelectedTextColor",t),this.gi("SelectedTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cw("ActualSelectedTextColor",null)},set:function(t){var e=this.h9;e!=t&&(this.gy("ActualSelectedTextColor",t),this.gi("ActualSelectedTextColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 17},n.prototype.av=function(t){return 6==t.aa||7==t.aa||1==t.aa},n.prototype.hw=function(){for(var t=0;t<this.actions.count;t++)if(6==this.actions._inner[t].aa){var e=this.actions._inner[t];if(e.hx)return e}return null},n.prototype.h3=function(){var t=this.hw();return null==t?"None":null!=t.ib?t.ib:null!=t.fa?t.fa:"1 Selected"},n.prototype.gh=function(e,i){t.prototype.gh.call(this,e,i),this.h6()},n.prototype.h6=function(){for(var t=0;t<this.actions.count;t++)if(6==this.actions._inner[t].aa){var e=this.actions._inner[t];null==e.h5&&(e.h5=this.c2)}},n.prototype.f5=function(t){if(6==t.aa&&null!=this.r){var e=t;null==e.h5&&(e.h5=this.c2)}},n.prototype.ha=function(){if(t.prototype.ha.call(this),null!=this.r){if(null!=this.hy)this.hx=this.hy;else{var e=this.r.am;if(null!=e){var i=e.a();i.f=e.f-2,this.hx=i}}this.h9=null!=this.ia?this.ia:null!=this.hm?this.hm:null}},n.prototype.b7=function(t,e){var n=this.hx||this.af(t);return t.v.q("00 Selected",n)+i.DeviceUtils.g(24)},n.prototype.ga=function(){this.r.g5(this)},n.prototype.fg=function(e,i){t.prototype.fg.call(this,e,i),6==e.aa&&"IsChecked"==i&&this.h8()},n.prototype.h8=function(){null!=this.h0&&(this.h0.bo=this.h3())},n.prototype.h7=function(t,e,n,r,o){if((null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa)&&2==e.bn){var s=this.b7(this.r,o),a=i.DeviceUtils.g(24),h=s-a;e.b5(2,1,h),e.bo(n),e.cd(n,2),e.cf(n,0),n.h=1,n.f=2,n.bn=!1,n.bm=!0,e.b5(3,1,a),e.bo(r),e.cd(r,3),e.cf(r,0),r.bs="ToolbarDrillDownIcon",r.br="ToolPanelIconCollection",r.f=1,r.h=1,r.af=i.DeviceUtils.g(24),r.z=i.DeviceUtils.g(24)}n.bo=this.h3(),null!=this.hx&&(n.bl=this.hx),n.bb=this.h9,r.bd=this.hm,r.bc=this.hm},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa){var s=[this.al(3),this.bj()?2:0];i.NativeUIComponent.aw(this.r.v.z(),[3,11],s,(function(e){r.h0=e[0],r.hz=e[1],r.h7(o,t,r.h0,r.hz,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa)}else this.h0=t.bm(2),this.hz=t.bm(3),this.h7(o,t,this.h0,this.hz,n)},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"ActualSelectedTextColor":null!=this.h0&&(this.h0.bb=this.h9);break;case"ActualTextColor":null!=this.hz&&(this.hz.bd=this.hm,this.hz.bc=this.hm)}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;if(!i.stringIsNullOrEmpty(e.selectedTextStyle)){var n=i.FontStringUtil.a(e.selectedTextStyle);if(null!=n){var r=new i.FontInfo;null!=n.b&&(r.q=n.b),null!=n.c&&(r.t=n.c),null!=n.d&&(r.v=n.d),i.isNaN_(n.a)||(r.f=n.a),this.hy=r}}i.stringIsNullOrEmpty(e.selectedTextColor)||(this.ia=i.CSSColorUtil.g(e.selectedTextColor))},n.prototype.fh=function(){t.prototype.fh.call(this)},n.prototype.fr=function(){t.prototype.fr.call(this),this.h0=null,this.hz=null},n.prototype.ct=function(){var t=new Ke;return this.fz(t),null!=this.h0&&(t.m=this.h0.ag()),null!=this.hz&&(t.l=this.hz.ag()),t},n.$t=i.markType(n,"ToolActionRadioGroup",si.$),n}(si),ji=function(t){function n(){var e=t.call(this)||this;return e.hx=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hy",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.gi("Size",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cx("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.hw;e!=t&&(this.gy("IsGroupHeaderSeparator",t),this.gi("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 7},n.prototype.fm=function(e,i){t.prototype.fm.call(this,e,i),1==i.a||2==i.a?i.e=this.b2+this.hy+this.b3:i.d=this.b4+this.hy+this.b1},n.prototype.fs=function(t,e,n,r){t.ap=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fo=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.g8=function(t,e,n){1==n.a||2==n.a?t.af=this.hy:t.z=this.hy,t.bi=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),t.a9=this.hf,t.bk=this.hv},n.prototype.g3=function(){t.prototype.g3.call(this)},n.prototype.ha=function(){t.prototype.ha.call(this),null!=this.r&&(this.hf=null!=this.hn?this.hn:this.hw?this.r.jf:this.r.jn,1==this.r.u||2==this.r.u?(this.b2=i.isNaN_(this.cl)?this.r.b8:this.cl,this.b3=i.isNaN_(this.cm)?this.r.b9:this.cm,this.b4=i.isNaN_(this.cn)?this.r.ca:this.cn,this.b1=i.isNaN_(this.ck)?this.r.b7:this.ck):(null==this.h&&this.bc()?(this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(10):this.cm):(this.b2=i.isNaN_(this.cl)?this.r.cc:this.cl,this.b3=i.isNaN_(this.cm)?this.r.cd:this.cm),this.b4=i.isNaN_(this.cn)?this.r.ce:this.cn,this.b1=i.isNaN_(this.ck)?this.r.cb:this.ck))},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"Size":null!=this.r&&this.r.g4();break;case"IsGroupHeaderSeparator":this.g9()}},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hy=e.size,this.hw=e.isGroupHeaderSeparator},n.prototype.ct=function(){var t=new Xe;return this.fz(t),t},n.$t=i.markType(n,"ToolActionSeparator",si.$),n}(si),wi=function(t){function n(){var e=t.call(this)||this;return e.hw=null,e.hx=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("ItemSpacing",0)},set:function(t){var e=this.hy;e!=t&&(this.gy("ItemSpacing",t),this.gi("ItemSpacing",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 10},n.prototype.fm=function(e,n){t.prototype.fm.call(this,e,n);var r=new ye;r.a=1;for(var o=0,s=0;s<this.actions.count;s++)0==this.actions._inner[s].hv&&(s>0&&(o+=this.hy),i.isNaN_(this.actions._inner[s].b2)&&this.actions._inner[s].g9(),this.actions._inner[s].fl(e,r),o+=r.e);n.e=this.b2+o+this.b3,i.isNaN_(this.ca)||(n.d=this.ca),this.hx||(this.hx=!0,this.f7())},n.prototype.fs=function(t,e,i,n){null!=n&&n()},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa),i.NativeUIComponent.au(this.r.v.z(),13,this.bj()?2:0,(function(e){return r.h2(o,t,e,n)}));else{var s=t.bm(0);this.h2(o,t,s,n)}},n.prototype.h2=function(t,e,n,r){0==e.bn&&(e.bo(n),n.bw=1,n.f=0,n.h=1),e.bj=new i.Thickness(1,this.b2,this.b4,this.b3,this.b1),n.c=this.t,n.cq=this.r.kg,n.bv=this.r.p,n.cg=this.r.j1,null==this.h?n.ca=this.r.jv:n.ca=this.r.ke,n.co=this.r.ke,n.ch=this.r.j4,n.cj=this.r.j7,n.cn=this.r.kd,n.bx=this.r.am,n.ct=this.r.kj,n.cu=this.r.kk,n.ce=this.r.jz,n.cf=this.r.j0,n.cm=this.r.kc,n.ck=this.r.ka,n.cl=this.r.kb,n.cp=this.r.kf,n.ci=this.r.j6,n.bz=this.r.as,n.b9=this.r.i8,n.cr=this.r.kh,n.cs=this.r.ki,this.h0(n),n.b1=this.hy,n.bu=this.actions,n.bt=i.runOn(this,this.h1),this.hw!=n&&(this.hw=n)},n.prototype.h1=function(t,e){this.gu(e.a,e.b)},n.prototype.ha=function(){switch(t.prototype.ha.call(this),this.t){case 6:case 5: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.b4=i.isNaN_(this.cn)?0:this.cn,this.b1=i.isNaN_(this.ck)?0:this.ck;break;default:this.b2=i.isNaN_(this.cl)?0:this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b4=i.isNaN_(this.cn)?0:this.cn,this.b1=i.isNaN_(this.ck)?0:this.ck}},n.prototype.h0=function(t){null!=t&&(-1!=this.cq?t.b2=this.cq:null!=this.r?t.b2=this.r.c6:t.b2=-1,t.z=-1==t.b2?NaN:t.b2)},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"ItemSpacing":null!=this.hw&&(this.hw.b1=this.hy);break;case"SubPanelRowHeight":this.h0(this.hw)}},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hw&&(this.hw.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hw&&(this.hw.bt=null)},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hy=e.itemSpacing},n.prototype.ct=function(){var t=new Qe;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionSubPanel",si.$),n}(si),ki=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hw=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 15},Object.defineProperty(n.prototype,"hy",{get:function(){return this.cx("Value",null)},set:function(t){var e=this.hy;e!=t&&(this.gy("Value",t),this.gi("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fy=function(e){var n,r=this;t.prototype.fy.call(this,e),null!=this.hw&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hx(),n))},n.prototype.b7=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hx=function(){return this.hw.b8},n.prototype.l=function(t){var e=new ge;return e.g=this.c2,e.a=this.aa,e.c=t,e.h=this.hx(),e},n.prototype.h0=function(t,e){this.hy=this.hx();var i=this.l(!0);this.gj(i,this)},n.prototype.h1=function(t,e,n,r,o){if(null==t.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ap)!=this.aa){var s=this.b7(this.r,o);e.b5(2,1,s),2==e.bn&&e.bo(n),e.cf(n,0),e.cd(n,2),n.af=s,n.bq=3,n.bv=1,n.f=2,n.h=1,n.bw=0,n.bp=2,n.b3=!1}n.c=this.t,n.cf=this.a9?this.hg:this.hm,n.bl=this.ae,n.b1=this.a9,n.bt=i.runOn(this,this.h0),n.b8=this.hy,this.hw!=n&&(this.hw=n)},n.prototype.gl=function(t,e,n){var r=this,o=e.b;if(null==o.bt||null==o.ap||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ap)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),2,this.al(2),(function(i){var s=i;r.h1(o,t,s,e,n)})),o.ap=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bm(2);this.h1(o,t,s,e,n)}},n.prototype.g3=function(){t.prototype.g3.call(this),null!=this.hw&&(this.hw.bq=this.ak(this.v))},n.prototype.ha=function(){null!=this.hw&&(this.hw.c=this.t)},n.prototype.gq=function(e,i,n){switch(t.prototype.gq.call(this,e,i,n),e){case"IsDisabled":null!=this.hw&&(this.hw.b1=this.a9,this.hw.cf=this.a9?this.hg:this.hm)}},n.prototype.ga=function(){null==this.hw||this.a9||this.hw.a0()},n.prototype.fw=function(){t.prototype.fw.call(this);var e=this.z;this.hy=e.value},n.prototype.fh=function(){t.prototype.fh.call(this),null!=this.hw&&(this.hw.bt=null)},n.prototype.fr=function(){t.prototype.fr.call(this),null!=this.hw&&(this.hw.bt=null)},n.prototype.ct=function(){var t=new Ye;return this.fz(t),null!=this.hw&&(t.l=this.hw.ag()),t},n.$t=i.markType(n,"ToolActionTextInput",si.$),n}(si),Pi=function(t){function n(){var e=t.call(this,si.$,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(si.$)),n}(i.ObservableCollection$1),xi=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 Pi,e.e=new Pi,e.f=new Pi,e.k=r.l,e.ab=null,e.b1=r.b2,e.fd=null,e.ft=null,e.fk=null,e.fs=null,e.fo=null,e.fv=null,e.fj=null,e.fm=null,e.fx=null,e.fw=null,e.bb=NaN,e.bc=NaN,e.fp=null,e.fq=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.fn=null,e.fc=null,e.fr=null,e.fy=null,e.fh=null,e.fz=null,e.fi=null,e.bt=-1,e.bu=-1,e.fu=null,e.fl=null,e.bs=-1,e.ar=!1,e.u=1,e.ff=null,e.fg=null,e.fe=null,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.d2));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.d4));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.d5)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new ii;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.ea=function(t){this.s=t,this.s.dd=this,this.s.z=0==this.w?1:this.w;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.d1)),this.s.p=this.t,this.e8(),this.em()},r.prototype.d1=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.ej=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.eh=function(){var t=this.target;this.ei(t,t)},r.prototype.ed=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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("Orientation",i.enumGetBox(fe,e),i.enumGetBox(fe,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.b1},set:function(t){var e=this.b1;this.b1=t,e!=this.b1&&this.ee("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f1",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.ee("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gi",{get:function(){return this.ft},set:function(t){var e=this.ft;this.ft=t,e!=this.ft&&this.ee("SubmenuBackgroundColor",e,this.ft)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f9",{get:function(){return this.fk},set:function(t){var e=this.fk;this.fk=t,e!=this.fk&&this.ee("GroupHeaderBackgroundColorPropertyName",e,this.fk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gh",{get:function(){return this.fs},set:function(t){var e=this.fs;this.fs=t,e!=this.fs&&this.ee("SeparatorBackgroundColor",e,this.fs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gd",{get:function(){return this.fo},set:function(t){var e=this.fo;this.fo=t,e!=this.fo&&this.ee("HoverBackgroundColor",e,this.fo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gk",{get:function(){return this.fv},set:function(t){var e=this.fv;this.fv=t,e!=this.fv&&this.ee("TextColor",e,this.fv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f7",{get:function(){return this.fj},set:function(t){var e=this.fj;this.fj=t,e!=this.fj&&this.ee("DisabledTextColor",e,this.fj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gb",{get:function(){return this.fm},set:function(t){var e=this.fm;this.fm=t,e!=this.fm&&this.ee("GroupHeaderTextColor",e,this.fm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gm",{get:function(){return this.fx},set:function(t){var e=this.fx;this.fx=t,e!=this.fx&&this.ee("ToolTipTextColor",e,this.fx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gl",{get:function(){return this.fw},set:function(t){var e=this.fw;this.fw=t,e!=this.fw&&this.ee("ToolTipBackgroundColor",e,this.fw)},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.ee("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.ee("ToolTipElevation",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ge",{get:function(){return this.fp},set:function(t){var e=this.fp;this.fp=t,e!=this.fp&&this.ee("IconFill",e,this.fp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gf",{get:function(){return this.fq},set:function(t){var e=this.fq;this.fq=t,e!=this.fq&&this.ee("IconStroke",e,this.fq)},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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("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.ee("ShowTooltipOnHover",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bv",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.ee("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.ee("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.ee("HighlightRadius",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gc",{get:function(){return this.fn},set:function(t){var e=this.fn;this.fn=t,e!=this.fn&&this.ee("HighlightColor",e,this.fn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f0",{get:function(){return this.fc},set:function(t){var e=this.fc;this.fc=t,e!=this.fc&&this.ee("AccentColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gg",{get:function(){return this.fr},set:function(t){var e=this.fr;this.fr=t,e!=this.fr&&this.ee("MenuArrowStroke",e,this.fr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gn",{get:function(){return this.fy},set:function(t){var e=this.fy;this.fy=t,e!=this.fy&&this.ee("UncheckedBackgroundColor",e,this.fy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.fh},set:function(t){var e=this.fh;this.fh=t,e!=this.fh&&this.ee("CheckedBackgroundColor",e,this.fh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"go",{get:function(){return this.fz},set:function(t){var e=this.fz;this.fz=t,e!=this.fz&&this.ee("UncheckedBorderColor",e,this.fz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f6",{get:function(){return this.fi},set:function(t){var e=this.fi;this.fi=t,e!=this.fi&&this.ee("CheckedBorderColor",e,this.fi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bz",{get:function(){return null!=this.s?this.s.c6:-1},set:function(t){this.bt=t,null!=this.s&&(this.s.c6=this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b0",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.ee("SubPanelRowHeight",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"gj",{get:function(){return this.fu},set:function(t){var e=this.fu;this.fu=t,e!=this.fu&&this.ee("SubtitleTextColor",e,this.fu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ga",{get:function(){return this.fl},set:function(t){var e=this.fl;this.fl=t,e!=this.fl&&this.ee("GroupHeaderSubtitleTextColor",e,this.fl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bw",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.ee("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.ee("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.ee("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.u))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f3",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.ee("CheckboxListScrollbarBackground",e,this.ff)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f4",{get:function(){return this.fg},set:function(t){var e=this.fg;this.fg=t,e!=this.fg&&this.ee("CheckboxListScrollbarHoverBackground",e,this.fg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f2",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.ee("CheckboxListScrollbarActiveBackground",e,this.fe)},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.d2=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.d3))}}}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.d3))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.ec()},r.prototype.d4=function(t,e){this.fb()},r.prototype.d5=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.d3))}this.actualActions._inner[n].d=null}},r.prototype.fb=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.fa=function(){null!=this.s&&this.s.hs(this.z);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].g5(this.z)},r.prototype.d3=function(t,e){},r.prototype.ec=function(){this.em()},r.prototype.em=function(){this.an||(null!=this.d?(this.an=!0,this.d.enqueueAction(i.runOn(this,this.d8))):this.ao=!0)},r.prototype.d8=function(){this.an&&(this.an=!1,this.en(),null!=this.s&&this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.en=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.es)?(i.stringIsNullOrEmpty(c.ds)?i.stringIsNullOrEmpty(c.dp)||(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.dp,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dp,o=!1,s=!0,h=0)):(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.ds,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.ds,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.es,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].go(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.eq&&a.eq==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.dx){if(null!=a.eq&&a.eq==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.dx&&a.dx==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.d9=function(){this.an&&this.d8(),null!=this.s&&this.s.gi()},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.ee=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ek(t,e,n)},r.prototype.ek=function(t,e,i){switch(t){case"CellTextStyle":null!=this.af&&null!=this.p.l&&this.af.w(this.p.l),this.e8();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":case"AccentColor":case"SubPanelRowHeight":case"CheckboxListScrollbarBackground":case"CheckboxListScrollbarHoverBackground":case"CheckboxListScrollbarActiveBackground":this.e8();break;case"Target":var n=i,r=e;this.ei(r,n);break;case"BaseTheme":this.fb();break;case"Density":this.fa();break;case"ExecutionContext":null!=this.d&&this.ao&&(this.em(),this.ao=!1)}},r.prototype.e8=function(){null!=this.s&&(this.s.a7=this.aw,this.s.a8=this.ax,this.s.jv=this.f1,this.s.kg=this.gk,this.s.j1=this.f7,this.s.ke=this.gi,this.s.j4=this.f9,this.s.j7=this.gb,this.s.kd=this.gh,this.s.j9=this.gd,this.s.u=this.m,this.s.ki=this.gm,this.s.kh=this.gl,this.s.cu=this.bp,this.s.cv=this.bq,this.s.ka=this.ge,this.s.kb=this.gf,this.s.ap=this.af,this.s.as=this.aj,this.s.ar=this.ai,this.s.cn=this.bi,this.s.co=this.bj,this.s.cp=this.bk,this.s.cm=this.bh,this.s.cr=this.bm,this.s.cs=this.bn,this.s.ct=this.bo,this.s.cq=this.bl,this.s.j8=this.gc,this.s.cj=this.bf,this.s.ck=this.bg,this.s.kc=this.gg,this.s.kj=this.gn,this.s.kk=this.go,this.s.jz=this.f5,this.s.j0=this.f6,this.s.kf=this.gj,this.s.j6=this.ga,this.s.i8=this.f0,this.s.c7=this.b0,this.s.c3=this.bw,this.s.c2=this.bv,this.s.a9=this.ay,this.s.x=this.v,this.s.jx=this.f3,this.s.jy=this.f4,this.s.jw=this.f2,-1!=this.bt&&(this.s.c6=this.bt))},r.prototype.av=function(){return null!=this.s&&this.s.a6},r.prototype.gq=function(){return null!=this.s?this.s.kn():i.Size.empty},r.prototype.ei=function(t,e){this.d6(),this.ab=e,null!=t&&(t.commandCompleted=null,t.dismissContextAccessor(this.aa),null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.em()),null!=e&&(e.commandCompleted=i.runOn(this,this.ej),e.invalidateActions=i.runOn(this,this.eh),this.aa=new Ti(this,!1),e.provideContextAccessor(this.aa),this.e9(),e.addCommandStateChangedListener(this),this.em())},r.prototype.e9=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];si.ay(r,o)||(this.autoGeneratedActions._inner[n]=si.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(si.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.ee("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.d6=function(){null!=this.s&&this.s.gd()},r.prototype.eg=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new he)},r.prototype.ef=function(){null!=this.subMenuClosing&&this.subMenuClosing(this,new le)},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.hx=n;break;case 5:a.hy=n;break;case 6:a.hx=n}break;case 0:a.hv=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a9=n}}},r.prototype.eo=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.ee==e&&(n.ee=null,n.ee=e),null!=n.actions&&n.actions.count>0&&this.eo(n.actions,e)}},r.prototype.eq=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.eo(this.actualActions,e)},r.prototype.cw=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.es=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.eo(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.ep=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.eo(this.actualActions,e)},r.prototype.cv=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.er=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.eo(this.actualActions,e)},r.prototype.ca=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.ev=function(t,e){i.stringIsNullOrEmpty(t)||Si.hd(this.t,t,e)},r.prototype.f8=function(t){return i.stringIsNullOrEmpty(t)?null:Si.j3(this.t,t)},r.prototype.e1=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),Si.hd(this.t,t,e))},r.prototype.b7=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Si.j3(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.eu=function(t,e){i.stringIsNullOrEmpty(t)||Si.hb(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:Si.b(this.t,t)},r.prototype.e0=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),Si.hb(this.t,t,e))},r.prototype.b6=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Si.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.ez=function(t,e){i.stringIsNullOrEmpty(t)||Si.hl(this.t,t,e)},r.prototype.bd=function(t){return i.stringIsNullOrEmpty(t)?NaN:Si.ci(this.t,t)},r.prototype.e6=function(t,e){i.stringIsNullOrEmpty(t)||Si.hn(this.t,t,e)},r.prototype.be=function(t){return i.stringIsNullOrEmpty(t)?NaN:Si.ci(this.t,t)},r.prototype.e4=function(t,e){i.stringIsNullOrEmpty(t)||Si.hl(this.t,t,e)},r.prototype.by=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Si.c5(this.t,t)},r.prototype.e5=function(t,e){i.stringIsNullOrEmpty(t)||Si.hn(this.t,t,i.typeGetValue(e))},r.prototype.bx=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Si.c5(this.t,t)},r.prototype.e7=function(t,e){i.stringIsNullOrEmpty(t)||Si.hp(this.t,t,e)},r.prototype.cx=function(t){return i.stringIsNullOrEmpty(t)?null:Si.e0(this.t,t)},r.prototype.et=function(t,e){i.stringIsNullOrEmpty(t)||Si.g9(this.t,t,e)},r.prototype.au=function(t){return!i.stringIsNullOrEmpty(t)&&Si.a3(this.t,t)},r.prototype.ew=function(t,e){i.stringIsNullOrEmpty(t)||Si.hf(this.t,t,e)},r.prototype.gp=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):Si.km(this.t,t)},r.prototype.e2=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),Si.hf(this.t,t,e))},r.prototype.b8=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Si.km(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.ey=function(t,e){i.stringIsNullOrEmpty(t)||Si.hj(this.t,t,e)},r.prototype.b5=function(t){return i.stringIsNullOrEmpty(t)?null:Si.dc(this.t,t)},r.prototype.e3=function(t,e){i.stringIsNullOrEmpty(t)||Si.hj(this.t,t,e)},r.prototype.b9=function(t){return i.stringIsNullOrEmpty(t)?null:Si.dc(this.t,t)},r.prototype.ex=function(t,e){i.stringIsNullOrEmpty(t)||Si.hh(this.t,t,e)},r.prototype.b4=function(t){return i.stringIsNullOrEmpty(t)?null:Si.da(this.t,t)},r.prototype.b3=function(){return null==this.s?null:this.s.c8()},r.prototype.cu=function(){return this.b3().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.b2=null,r}(i.Base),Ti=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.f8(t):this.a.b7(t);case 1:return this.b?this.a.b(t):this.a.b6(t);case 2:return this.b?this.a.gp(t):this.a.b8(t);case 3:return this.b,this.a.cx(t);case 4:return this.b?this.a.bd(t):this.a.be(t);case 6:return this.b?this.a.by(t):this.a.bx(t);case 7:return this.b?this.a.b5(t):this.a.b9(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.ev(t,n):this.a.e1(t,n);break;case 1:this.b?this.a.eu(t,n):this.a.e0(t,n);break;case 2:this.b?this.a.ew(t,n):this.a.e2(t,n);break;case 3:this.b,this.a.e7(t,n);break;case 4:this.b?this.a.ez(t,n):this.a.e4(t,n);break;case 6:this.b?this.a.e6(t,i.typeGetValue(n)):this.a.e5(t,n);break;case 7:this.b?this.a.ey(t,n):this.a.e3(t,n);break;case 5:this.b,this.a.et(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),Oi=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),Si=function(t){function r(){var e=t.call(this)||this;e.v=null,e.at=null,e.dd=null,e.o=null,e.aw=!1,e.au=null,e.k=new ye,e.propertyChanged=null,e.i=new Pi,e.contentRefreshed=null,e.az=!0,e.a0=!0,e.cx=-1,e.a1=!1,e.ay=!1,e.bb=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(si.$),0),e.bc=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(si.$),0),e.ba=new i.Dictionary$2(i.String_$type,si.$,0),e.ax=!1,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.ij=null,e.hx=null,e.i1=null,e.ib=null,e.ir=null,e.h1=null,e.i0=null,e.ia=null,e.is=null,e.h2=null,e.iw=null,e.h6=null,e.f=null,e.bt=Number.POSITIVE_INFINITY,e.i3=null,e.id=null,e.ic=null,e.i2=null,e.iq=null,e.h0=null,e.iu=null,e.h4=null,e.it=null,e.h3=null,e.i5=null,e.ig=null,e.i4=null,e.ie=null,e.b2=NaN,e.bo=NaN,e.b3=NaN,e.bp=NaN,e.ix=null,e.h7=null,e.iy=null,e.h8=null,e.bz=NaN,e.bl=NaN,e.b0=NaN,e.bm=NaN,e.b1=NaN,e.bn=NaN,e.by=NaN,e.bk=NaN,e.bv=NaN,e.bh=NaN,e.bw=NaN,e.bi=NaN,e.bx=NaN,e.bj=NaN,e.bu=NaN,e.bg=NaN,e.s=r.t,e.onCommand=null,e.cz=-1,e.c0=-1,e.br=NaN,e.bf=NaN,e.bq=NaN,e.be=NaN,e.iv=null,e.h5=null,e.hw=null,e.hv=null,e.iz=null,e.h9=null,e.i6=null,e.ih=null,e.io=null,e.hy=null,e.i7=null,e.ii=null,e.ip=null,e.hz=null,e.cy=-1,e.cw=500,e.w=1,e.il=null,e.im=null,e.ik=null,e.bs=0,e.g=0,e.onContextChanged=null,e.onContextSwapped=null,e.drillDownRequested=null,e.drillUpRequested=null,e.ac=0,Oe.k();var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.f9)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),Ze.g();var s=new ni;return s.c=e,e.v=s,e.v.ah(),e.hu(),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.gr))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.gr))}null!=this.onContextSwapped&&this.onContextSwapped(this,new be)}},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.gj=function(t){this.f=t,-1!=this.cz&&(this.f.ef=this.cz),this.f.a0=this.w;var e=this.f;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.f8));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.f3)),this.f.ad=this.u,this.f.b0=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.f4));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.f7));var s=this.f;s.itemRecycled=i.delegateCombine(s.itemRecycled,i.runOn(this,this.f6));var a=this.f;a.itemRebind=i.delegateCombine(a.itemRebind,i.runOn(this,this.f5)),this.f.c9=this.cl,this.g1()},r.prototype.gv=function(){null!=this.dd&&(null!==i.typeCast(r.$,this.dd)&&this.dd.gv(),null!==i.typeCast(xi.$,this.dd)&&this.dd.eg())},r.prototype.gu=function(){null!=this.dd&&(null!==i.typeCast(r.$,this.dd)&&this.dd.gu(),null!==i.typeCast(xi.$,this.dd)&&this.dd.ef())},r.prototype.f3=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new Je)},r.prototype.f4=function(t,e){var n=e.c,r=new ye;this.gx(r),n.fl(this,r),0==n.hv?i.isNaN_(r.d)?e.a=this.f.c6:e.a=r.d:e.a=0},r.prototype.f7=function(t,e){var n=e.c,r=new ye;this.gx(r),n.fl(this,r),0==n.hv?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.f6=function(t,e){e.rowObject.fq()},r.prototype.f5=function(t,e){e.rowObject.fp()},r.prototype.f8=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new ye;this.gx(r),i.fl(this,r),i.gk(n,this,e,r)}else i.gk(n,this,e,this.k)},r.prototype.gp=function(t){this.bt=t.width,this.g1(),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.gt("Actions",e,this.i)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a7",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.gt("ShowOnHover",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a8",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.gt("ShowTooltipOnHover",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.gt("DropdownClickBuffer",e,this.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a9",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.gt("StopPropagation",e,this.a1)},enumerable:!1,configurable:!0}),r.prototype.f9=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.gk))}l.fh(),l.d=null,l.gx(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.gk))}d.d=this.c,d.gx(this),this.a5||d.f3()}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.ht(this.actions),this.go()},r.prototype.ga=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.gk))}this.actions._inner[n].fh(),this.actions._inner[n].d=null,this.actions._inner[n].gx(null)}},r.prototype.go=function(){this.g1(),this.v.ae()},r.prototype.g1=function(){this.ay||(this.ay=!0,this.c.enqueueAction(i.runOn(this,this.gf)))},r.prototype.g3=function(){this.ay=!0,this.gf()},r.prototype.gf=function(){if(this.ay){this.ay=!1,this.gb(),this.g7();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.gg()}},r.prototype.gb=function(){this.bb.clear(),this.bc.clear(),this.ba.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].gx(this),null!=this.i._inner[t].c2&&this.ba.item(this.i._inner[t].c2,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].ex)if(this.ba.containsKey(this.i._inner[e].ex))this.bb.containsKey(this.i._inner[e].ex)||this.bb.item(this.i._inner[e].ex,new i.List$1(si.$,0)),this.bb.item(this.i._inner[e].ex).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].h5;null==r&&(r="null"),this.bc.containsKey(r)||this.bc.item(r,new i.List$1(si.$,0)),this.bc.item(r).add(this.i._inner[n])}},r.prototype.a4=function(t){return null!=t.c2&&this.bb.containsKey(t.c2)},r.prototype.h=function(t){return this.ba.containsKey(t)?this.ba.item(t):null},r.prototype.bd=function(t){return null==t.c2?null:this.bb.containsKey(t.c2)?this.bb.item(t.c2):null},r.prototype.l=function(t){var e=new ye;return this.gx(e),t.fl(this,e),this.gm(this.k,e),e},r.prototype.gx=function(t){t.a=this.u,t.c=this.bt},r.prototype.gm=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.g7=function(){this.k=new ye,this.k.a=this.u,this.k.c=this.bt},r.prototype.kn=function(){this.bt;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].hv&&(n>0&&(e+=this.cl),i.isNaN_(r.d)?e+=this.b6:e+=r.d)}else{if(2==this.u)return this.f.ia();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].hv&&(o>0&&(t+=this.cl),i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].hv&&(e=i.isNaN_(s.d)?this.b6:s.d)}}return new i.Size(1,t,e)},r.prototype.gg=function(){null!=this.f&&this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.gi=function(){this.ay&&this.gf(),null!=this.f&&this.f.f2()},r.prototype.g4=function(){null!=this.f&&this.f.hc()},r.prototype.g2=function(t){var e=t.h5;null==e&&(e="null");var i=t.c2;if(null!=this.bc&&this.bc.containsKey(e))for(var n=0;n<this.bc.item(e).count;n++)this.bc.item(e)._inner[n].c2!=i&&this.bc.item(e)._inner[n].ig()},r.prototype.gk=function(t,e){"ExecutionContext"!=e.propertyName&&this.go()},r.prototype.gc=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fh()},r.prototype.gy=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.gk))}this.actions._inner[t].d=null}},r.prototype.notifySizeChanged=function(){this.v.ad()},Object.defineProperty(r.prototype,"a5",{get:function(){return this.ax},enumerable:!1,configurable:!0}),r.prototype.onAttachedToUI=function(){this.ax=!1;for(var t=0;t<this.actions.count;t++)this.actions._inner[t].f3()},r.prototype.onDetachedFromUI=function(){this.ax=!0;for(var t=0;t<this.actions.count;t++)this.actions._inner[t].gf(),this.actions._inner[t].fh()},r.prototype.destroy=function(){this.provideContainer(null),this.gc()},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.gt("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.gt("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.gt("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.gt("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.gt("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.gt("ActualGroupHeaderTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),r.prototype.gt=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gz(t,e,n)},r.prototype.gz=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":case"AccentColor":case"SubPanelRowHeight":case"CheckboxListScrollbarBackground":case"CheckboxListScrollbarHoverBackground":case"CheckboxListScrollbarActiveBackground":this.hu();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":case"ActualAccentColor":this.ht(this.actions);break;case"ActualBackgroundColor":this.hr();break;case"ActualDensity":this.hq(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.c9=this.cl);break;case"Actions":if(null!=n){var u=n;u.collectionChanged=i.delegateRemove(u.collectionChanged,i.runOn(this,this.f9)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.ga));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.gk))}p.fh(),p.d=null,p.gx(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.f9)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.ga));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.gk))}y.d=this.c,y.gx(this),this.a5||y.f3()}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=b.return)&&h.call(b)}finally{if(a)throw a.error}}}this.ht(this.actions),this.g1();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].bg=this.a9}},r.prototype.hu=function(){switch(this.z){case 0:case 1:case 2:this.jq=null!=this.kg?this.kg:i.BrushUtil.l(255,24,29,31),this.jp=null!=this.kf?this.kf:i.BrushUtil.l(102,24,29,31),this.jd=null!=this.j1?this.j1:i.BrushUtil.l(102,0,0,0),this.ja=null!=this.jv?this.jv:i.BrushUtil.l(255,255,255,255),this.jo=null!=this.ke?this.ke:i.BrushUtil.l(255,255,255,255),this.je=null!=this.j4?this.j4:i.BrushUtil.l(255,237,239,245),this.jh=null!=this.j7?this.j7:i.BrushUtil.l(255,142,143,147),this.jg=null!=this.j6?this.j6:i.BrushUtil.l(102,142,143,147),this.jn=null!=this.kd?this.kd:i.BrushUtil.l(255,237,239,245),this.jf=null!=this.j5?this.j5:i.BrushUtil.l(25,0,0,0),this.jj=null!=this.j9?this.j9:i.BrushUtil.l(51,178,191,220),this.js=null!=this.ki?this.ki:i.BrushUtil.l(255,0,0,0),this.jk=null!=this.ka?this.ka:i.BrushUtil.l(255,0,0,0),this.jl=null!=this.kb?this.kb:i.BrushUtil.l(255,0,0,0),this.jr=null!=this.kh?this.kh:i.BrushUtil.l(255,237,239,245),this.cf=i.isNaN_(this.cu)?8:this.cu,this.cg=i.isNaN_(this.cv)?4:this.cv,this.cc=i.isNaN_(this.cr)?0:this.cr,this.cd=i.isNaN_(this.cs)?0:this.cs,this.ce=i.isNaN_(this.ct)?0:this.ct,this.cb=i.isNaN_(this.cq)?0:this.cq,this.b8=i.isNaN_(this.cn)?0:this.cn,this.b9=i.isNaN_(this.co)?0:this.co,this.ca=i.isNaN_(this.cp)?i.DeviceUtils.g(10):this.cp,this.b7=i.isNaN_(this.cm)?i.DeviceUtils.g(10):this.cm,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.ji=null!=this.j8?this.j8:i.BrushUtil.l(255,110,137,247),this.b4=i.isNaN_(this.cj)?6:this.cj,this.b5=i.isNaN_(this.ck)?1:this.ck,this.jm=null!=this.kc?this.kc:i.BrushUtil.l(255,0,0,0),this.jt=this.kj,this.ju=this.kk,this.jb=this.jz,this.jc=this.j0,this.c1=-1!=this.c3?this.c3:500,this.i9=null!=this.i8?this.i8:null;break;case 5:case 3:this.jq=null!=this.kg?this.kg:i.BrushUtil.l(255,24,29,31),this.jp=null!=this.kf?this.kf:i.BrushUtil.l(102,24,29,31),this.jd=null!=this.j1?this.j1:i.BrushUtil.l(102,0,0,0),this.ja=null!=this.jv?this.jv:i.BrushUtil.l(255,255,255,255),this.jo=null!=this.ke?this.ke:i.BrushUtil.l(255,255,255,255),this.je=null!=this.j4?this.j4:i.BrushUtil.l(255,237,239,245),this.jh=null!=this.j7?this.j7:i.BrushUtil.l(255,142,143,147),this.jg=null!=this.j6?this.j6:i.BrushUtil.l(102,142,143,147),this.jn=null!=this.kd?this.kd:i.BrushUtil.l(255,237,239,245),this.jf=null!=this.j5?this.j5:i.BrushUtil.l(25,0,0,0),this.jj=null!=this.j9?this.j9:i.BrushUtil.l(51,178,191,220),this.js=null!=this.ki?this.ki:i.BrushUtil.l(255,0,0,0),this.jk=null!=this.ka?this.ka:i.BrushUtil.l(255,0,0,0),this.jl=null!=this.kb?this.kb:i.BrushUtil.l(255,0,0,0),this.jr=null!=this.kh?this.kh:i.BrushUtil.l(255,237,239,245),this.cf=i.isNaN_(this.cu)?8:this.cu,this.cg=i.isNaN_(this.cv)?4:this.cv,this.cc=i.isNaN_(this.cr)?0:this.cr,this.cd=i.isNaN_(this.cs)?0:this.cs,this.ce=i.isNaN_(this.ct)?0:this.ct,this.cb=i.isNaN_(this.cq)?0:this.cq,this.b8=i.isNaN_(this.cn)?i.DeviceUtils.g(5):this.cn,this.b9=i.isNaN_(this.co)?i.DeviceUtils.g(5):this.co,this.ca=i.isNaN_(this.cp)?i.DeviceUtils.g(10):this.cp,this.b7=i.isNaN_(this.cm)?i.DeviceUtils.g(10):this.cm,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.ji=null!=this.j8?this.j8:i.BrushUtil.l(255,110,137,247),this.b4=i.isNaN_(this.cj)?6:this.cj,this.b5=i.isNaN_(this.ck)?1:this.ck,this.jm=null!=this.kc?this.kc:i.BrushUtil.l(255,0,0,0),this.jt=this.kj,this.ju=this.kk,this.jb=this.jz,this.jc=this.j0,this.c1=-1!=this.c3?this.c3:500,this.i9=null!=this.i8?this.i8:null;break;case 6:case 4:this.jq=null!=this.kg?this.kg:i.BrushUtil.l(255,255,255,255),this.jp=null!=this.kf?this.kf:i.BrushUtil.l(102,255,255,255),this.jd=null!=this.j1?this.j1:i.BrushUtil.l(102,255,255,255),this.ja=null!=this.jv?this.jv:i.BrushUtil.l(255,55,63,86),this.jo=null!=this.ke?this.ke:i.BrushUtil.l(255,55,63,86),this.je=null!=this.j4?this.j4:i.BrushUtil.l(255,44,50,70),this.jh=null!=this.j7?this.j7:i.BrushUtil.l(255,255,255,255),this.jg=null!=this.j6?this.j6:i.BrushUtil.l(102,255,255,255),this.jn=null!=this.kd?this.kd:i.BrushUtil.l(255,44,50,70),this.jf=null!=this.j5?this.j5:i.BrushUtil.l(25,0,0,0),this.jj=null!=this.j9?this.j9:i.BrushUtil.l(25,105,136,255),this.js=null!=this.ki?this.ki:i.BrushUtil.l(255,255,255,255),this.jk=null!=this.ka?this.ka:i.BrushUtil.l(255,255,255,255),this.jl=null!=this.kb?this.kb:i.BrushUtil.l(255,255,255,255),this.jr=null!=this.kh?this.kh:i.BrushUtil.l(255,44,50,70),this.cf=i.isNaN_(this.cu)?8:this.cu,this.cg=i.isNaN_(this.cv)?4:this.cv,this.cc=i.isNaN_(this.cr)?0:this.cr,this.cd=i.isNaN_(this.cs)?0:this.cs,this.ce=i.isNaN_(this.ct)?0:this.ct,this.cb=i.isNaN_(this.cq)?0:this.cq,this.b8=i.isNaN_(this.cn)?i.DeviceUtils.g(5):this.cn,this.b9=i.isNaN_(this.co)?i.DeviceUtils.g(5):this.co,this.ca=i.isNaN_(this.cp)?i.DeviceUtils.g(10):this.cp,this.b7=i.isNaN_(this.cm)?i.DeviceUtils.g(10):this.cm,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.ji=null!=this.j8?this.j8:i.BrushUtil.l(255,110,137,247),this.b4=i.isNaN_(this.cj)?6:this.cj,this.b5=i.isNaN_(this.ck)?1:this.ck,this.jm=null!=this.kc?this.kc:i.BrushUtil.l(255,255,255,255),this.jt=this.kj,this.ju=this.kk,this.jb=this.jz,this.jc=this.j0,this.c1=-1!=this.c3?this.c3:500,this.i9=null!=this.i8?this.i8:null}},r.prototype.ht=function(t){for(var e=0;e<t.count;e++)t._inner[e].g9(),this.ht(t._inner[e].actions)},r.prototype.hq=function(t){for(var e=0;e<t.count;e++)t._inner[e].g5(this.ad),this.hq(t._inner[e].actions)},r.prototype.hr=function(){null!=this.v.r&&i.NativeUI.n(this.v.x,this.ja)},Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.gt("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.gt("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.gt("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jv",{get:function(){return this.ij},set:function(t){var e=this.ij;this.ij=t,e!=this.ij&&this.gt("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ja",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.gt("ActualBackgroundColor",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ke",{get:function(){return this.i1},set:function(t){var e=this.i1;this.i1=t,e!=this.i1&&this.gt("SubmenuBackgroundColor",e,this.i1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jo",{get:function(){return this.ib},set:function(t){var e=this.ib;this.ib=t,e!=this.ib&&this.gt("ActualSubmenuBackgroundColor",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j4",{get:function(){return this.ir},set:function(t){var e=this.ir;this.ir=t,e!=this.ir&&this.gt("GroupHeaderBackgroundColor",e,this.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"je",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.gt("ActualGroupHeaderBackgroundColor",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kd",{get:function(){return this.i0},set:function(t){var e=this.i0;this.i0=t,e!=this.i0&&this.gt("SeparatorBackgroundColor",e,this.i0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jn",{get:function(){return this.ia},set:function(t){var e=this.ia;this.ia=t,e!=this.ia&&this.gt("ActualSeparatorBackgroundColor",e,this.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j5",{get:function(){return this.is},set:function(t){var e=this.is;this.is=t,e!=this.is&&this.gt("GroupHeaderSeparatorBackgroundColor",e,this.is)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.gt(r.dq,e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j9",{get:function(){return this.iw},set:function(t){var e=this.iw;this.iw=t,e!=this.iw&&this.gt("HoverBackgroundColor",e,this.iw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jj",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.gt("ActualHoverBackgroundColor",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kg",{get:function(){return this.i3},set:function(t){var e=this.i3;this.i3=t,e!=this.i3&&this.gt("TextColor",e,this.i3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jq",{get:function(){return this.id},set:function(t){var e=this.id;this.id=t,e!=this.id&&this.gt("ActualTextColor",e,this.id)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jp",{get:function(){return this.ic},set:function(t){var e=this.ic;this.ic=t,e!=this.ic&&this.gt("ActualSubtitleTextColor",e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kf",{get:function(){return this.i2},set:function(t){var e=this.i2;this.i2=t,e!=this.i2&&this.gt("SubtitleTextColor",e,this.i2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j1",{get:function(){return this.iq},set:function(t){var e=this.iq;this.iq=t,e!=this.iq&&this.gt("DisabledTextColor",e,this.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jd",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.gt("ActualDisabledTextColor",e,this.h0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j7",{get:function(){return this.iu},set:function(t){var e=this.iu;this.iu=t,e!=this.iu&&this.gt("GroupHeaderTextColor",e,this.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jh",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.gt("ActualGroupHeaderTextColor",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j6",{get:function(){return this.it},set:function(t){var e=this.it;this.it=t,e!=this.it&&this.gt("GroupHeaderSubtitleTextColor",e,this.it)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.gt("ActualGroupHeaderSubtitleTextColor",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ki",{get:function(){return this.i5},set:function(t){var e=this.i5;this.i5=t,e!=this.i5&&this.gt("ToolTipTextColor",e,this.i5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"js",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.gt("ActualToolTipTextColor",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kh",{get:function(){return this.i4},set:function(t){var e=this.i4;this.i4=t,e!=this.i4&&this.gt("ToolTipBackgroundColor",e,this.i4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jr",{get:function(){return this.ie},set:function(t){var e=this.ie;this.ie=t,e!=this.ie&&this.gt("ActualToolTipBackgroundColor",e,this.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cu",{get:function(){return this.b2},set:function(t){var e=this.b2;this.b2=t,e!=this.b2&&this.gt("ToolTipCornerRadius",e,this.b2)},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.gt("ActualToolTipCornerRadius",e,this.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cv",{get:function(){return this.b3},set:function(t){var e=this.b3;this.b3=t,e!=this.b3&&this.gt("ToolTipElevation",e,this.b3)},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.gt("ActualToolTipElevation",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ka",{get:function(){return this.ix},set:function(t){var e=this.ix;this.ix=t,e!=this.ix&&this.gt("IconFill",e,this.ix)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jk",{get:function(){return this.h7},set:function(t){var e=this.h7;this.h7=t,e!=this.h7&&this.gt("ActualIconFill",e,this.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kb",{get:function(){return this.iy},set:function(t){var e=this.iy;this.iy=t,e!=this.iy&&this.gt("IconStroke",e,this.iy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jl",{get:function(){return this.h8},set:function(t){var e=this.h8;this.h8=t,e!=this.h8&&this.gt("ActualIconStroke",e,this.h8)},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.gt("SeparatorVerticalPaddingLeft",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.gt("ActualSeparatorVerticalPaddingLeft",e,this.bl)},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.gt("SeparatorVerticalPaddingRight",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.gt("ActualSeparatorVerticalPaddingRight",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.gt("SeparatorVerticalPaddingTop",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.gt("ActualSeparatorVerticalPaddingTop",e,this.bn)},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.gt("SeparatorVerticalPaddingBottom",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.gt("ActualSeparatorVerticalPaddingBottom",e,this.bk)},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.gt("SeparatorHorizontalPaddingLeft",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.gt("ActualSeparatorHorizontalPaddingLeft",e,this.bh)},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.gt("SeparatorHorizontalPaddingRight",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.gt("ActualSeparatorHorizontalPaddingRight",e,this.bi)},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.gt("SeparatorHorizontalPaddingTop",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.gt("ActualSeparatorHorizontalPaddingTop",e,this.bj)},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.gt("SeparatorHorizontalPaddingBottom",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.gt("ActualSeparatorHorizontalPaddingBottom",e,this.bg)},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.gt("Orientation",i.enumGetBox(ee,e),i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),r.prototype.gw=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.aa&&this.g2(t)},Object.defineProperty(r.prototype,"c6",{get:function(){return null!=this.f?this.f.ef:this.cz},set:function(t){this.cz=t,null!=this.f&&(this.f.ef=this.cz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"b6",{get:function(){return null!=this.f?this.f.c6:-1!=this.cz?this.cz:42},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c7",{get:function(){return this.c0},set:function(t){var e=this.c0;this.c0=t,e!=this.c0&&this.gt("SubPanelRowHeight",e,this.c0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ck",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.gt("HighlightWidth",e,this.br)},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.gt("ActualHighlightWidth",e,this.bf)},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.gt("HighlightRadius",e,this.bq)},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.gt("ActualHighlightRadius",e,this.be)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j8",{get:function(){return this.iv},set:function(t){var e=this.iv;this.iv=t,e!=this.iv&&this.gt("HighlightColor",e,this.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ji",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.gt("ActualHighlightColor",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i9",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.gt("ActualAccentColor",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i8",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.gt("AccentColor",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kc",{get:function(){return this.iz},set:function(t){var e=this.iz;this.iz=t,e!=this.iz&&this.gt("MenuArrowStroke",e,this.iz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jm",{get:function(){return this.h9},set:function(t){var e=this.h9;this.h9=t,e!=this.h9&&this.gt("ActualMenuArrowStroke",e,this.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kj",{get:function(){return this.i6},set:function(t){var e=this.i6;this.i6=t,e!=this.i6&&this.gt("UncheckedBackgroundColor",e,this.i6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jt",{get:function(){return this.ih},set:function(t){var e=this.ih;this.ih=t,e!=this.ih&&this.gt("ActualUncheckedBackgroundColor",e,this.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jz",{get:function(){return this.io},set:function(t){var e=this.io;this.io=t,e!=this.io&&this.gt("CheckedBackgroundColor",e,this.io)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jb",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.gt("ActualCheckedBackgroundColor",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"kk",{get:function(){return this.i7},set:function(t){var e=this.i7;this.i7=t,e!=this.i7&&this.gt("UncheckedBorderColor",e,this.i7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ju",{get:function(){return this.ii},set:function(t){var e=this.ii;this.ii=t,e!=this.ii&&this.gt("ActualUncheckedBorderColor",e,this.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j0",{get:function(){return this.ip},set:function(t){var e=this.ip;this.ip=t,e!=this.ip&&this.gt("CheckedBorderColor",e,this.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jc",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.gt("ActualCheckedBorderColor",e,this.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c3",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.gt("DropdownDelay",e,this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.gt("ActualDropdownDelay",e,this.cw)},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.gt("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.w))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jx",{get:function(){return this.il},set:function(t){var e=this.il;this.il=t,e!=this.il&&this.gt("CheckboxListScrollbarBackground",e,this.il)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jy",{get:function(){return this.im},set:function(t){var e=this.im;this.im=t,e!=this.im&&this.gt("CheckboxListScrollbarHoverBackground",e,this.im)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jw",{get:function(){return this.ik},set:function(t){var e=this.ik;this.ik=t,e!=this.ik&&this.gt("CheckboxListScrollbarActiveBackground",e,this.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cl",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.gt("ItemSpacing",e,this.bs)},enumerable:!1,configurable:!0}),r.prototype.gr=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.g5=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new Ii).a=t,e))},r.prototype.g6=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new Ii).a=t,e))},r.prototype.gd=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fi()},Object.defineProperty(r.prototype,"a6",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].bb)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.hs=function(t){this.af=t,0==this.ae&&(this.ad=t)},r.prototype.c8=function(){var t=new oe;t.a=this.f.ei();for(var e=function(e){var n,r=i.actions._inner[e],o=r.e(),s=r.ct();if(t.b.add1(s),null!=o){var a=((n=new se).a=o.ag(),n);t.c.add(a)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.ey=function(){return this.c8().serialize()},r.prototype.hc=function(t,e){r.hd(this.p,t,e)},r.hd=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(t,e,n)},r.prototype.j2=function(t){return r.j3(this.p,t)},r.j3=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.da(t,e)},r.prototype.ha=function(t,e){r.hb(this.p,t,e)},r.hb=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(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.da(t,e)},r.prototype.hk=function(t,e){r.hl(this.p,t,e)},r.hl=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(t,e,n)},r.prototype.ch=function(t){return r.ci(this.p,t)},r.ci=function(t,e){return i.stringIsNullOrEmpty(e)?NaN:r.da(t,e)},r.prototype.hm=function(t,e){r.hn(this.p,t,e)},r.hn=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(t,e,n)},r.prototype.c4=function(t){return r.c5(this.p,t)},r.c5=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.da(t,e))},r.prototype.ho=function(t,e){r.hp(this.p,t,e)},r.hp=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(t,e,n)},r.prototype.ez=function(t){return r.e0(this.p,t)},r.e0=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.da(t,e)},r.prototype.g8=function(t,e){r.g9(this.p,t,e)},r.g9=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(t,e,n)},r.prototype.a2=function(t){return r.a3(this.p,t)},r.a3=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.da(t,e)},r.prototype.he=function(t,e){r.hf(this.p,t,e)},r.hf=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(t,e,n)},r.prototype.kl=function(t){return r.km(this.p,t)},r.km=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.da(t,e)},r.prototype.hi=function(t,e){r.hj(this.p,t,e)},r.hj=function(t,e,n){i.stringIsNullOrEmpty(e)||r.hh(t,e,n)},r.prototype.db=function(t){return r.dc(this.p,t)},r.dc=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.da(t,e)},r.prototype.hg=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.hh=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.c9=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.da=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.gh=function(){this.v.aa()},r.prototype.gl=function(t){null!=this.f&&this.f.fs(t)},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.dq="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),Ii=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.a5=null,r.a6=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(Ni.$,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,"a7",{get:function(){return this.a5},set:function(t){this.d.d=this.a5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return this.a6},set:function(t){this.g.d=this.a6=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.ax("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.an=function(t){var e=this;i.NativeUIComponent.ax(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bo(e.r),e.r.be=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a9=function(){return null!=this.j?this.j.h():this.s.bg(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.k=function(){return this.j},n.prototype.ag=function(t,e){var r=this;void 0===e&&(e=null);for(var o=0;o<this.x.count;o++)if(this.x._inner[o].b==t)return void(null!=e&&e(this.x._inner[o].a));i.NativeUIComponent.av(this.ad,13,(function(o){var s=o,a=t.r;s.c=r.o,s.bv=a.p,n.ai(s,a),-1!=t.cq&&(s.b2=t.cq),s.bu=t.actions,s.bn=i.runOn(r,r.av),s.bo=i.runOn(r,r.aw),s.bt=i.runOn(r,r.at),r.r.bo(s);var h=function(t,e){return n.aj(s,a,e.propertyName)};a.propertyChanged=i.delegateCombine(a.propertyChanged,h),r.aa=0;for(var u=0;u<r.x.count;u++){var l=r.x._inner[u].h();r.aa+=l.width,r.x._inner[u].a.af=l.width}r.r.bv(s,r.aa),r.r.bw(s,0);var c=new Ni(t,s,r.aa);c.c=a,c.d=h,r.x.add(c),r.a0(),null!=e&&e(s)}))},n.prototype.ao=function(t){for(var e=0;e<this.x.count;e++)this.x._inner[e].a==t&&this.aq(e)},n.prototype.aq=function(t){this.ap(this.x._inner[t])},n.prototype.ap=function(t,e){void 0===e&&(e=null),this.ah(t,-Math.floor(t.e),e),this.j=t},n.prototype.av=function(t,e){var i=this;if(this.ac++,this.x.count>1&&this.ac<this.x.count){for(var r=this.x.count-1;r>this.ac;r--)n.a3(this.x._inner[r]),this.x._inner[r].a.bn=null,this.x._inner[r].a.bo=null,this.r.bq(this.x._inner[r].a),this.aa-=this.x._inner[r].a.af,this.x.removeAt(r);if(this.x._inner[this.ac].b==e.a)return void this.ao(this.x._inner[this.ac].a);n.a3(this.x._inner[this.ac]),this.x._inner[this.ac].a.bn=null,this.x._inner[this.ac].a.bo=null,this.r.bq(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.af,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.eq&&(t.aq=e.a.eq+"SubMenu"),i.i.executeDelayed((function(){return i.ao(t)}),0)}))},n.prototype.aw=function(t,e){this.ac=Math.max(0,this.ac-1),this.ap(this.x._inner[this.ac],(function(){}))},n.prototype.at=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.al(),null==this.r.be){var s=t.h();return this.s.af=Math.floor(s.width),void(this.s.z=Math.floor(s.height))}if(1==this.p.playState)this.p.playbackRate>0&&this.a7.j==e||this.p.playbackRate<0&&this.a8.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.a7=function(){var t=new i.TranslateTransform;return t.j=o.a8.j,t}(),this.a8=function(){var t=new i.TranslateTransform;return t.j=e,t}();var a=t.h();this.e.d=this.s.af,this.c.d=this.s.z,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.as(n)})),this.q.updatePlaybackRate(1),this.q.play(),this.q.finished.f((function(t){null!=o.q&&o.q.commitStyles()}))}},n.prototype.al=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.ao,0,null,t),this.a5=((e=new i.TranslateTransform).j=0,e),this.a6=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.a5),this.g=new i.AnimationKeyFrameProperty(14,this.a6),this.p=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.s.ao,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.as=function(t){var e,n=this;if(null!=this.p&&this.p.commitStyles(),null!=t&&t(),this.p.playbackRate<0){var r=this.a8.j;this.a8=((e=new i.TranslateTransform).j=n.a7.j,e),this.a7=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.y.count>0){var o=this.y.b();this.ap(o.a,o.b)}},n.prototype.a0=function(){this.v||(this.v=!0,this.i.enqueueAction(i.runOn(this,this.ak)))},n.prototype.am=function(){this.ak()},n.prototype.ak=function(){if(this.v){this.v=!1;for(var t=0;t<this.x.count;t++){this.x._inner[t].g();var e=this.x._inner[t].h();this.x._inner[t].a.af=e.width,this.x._inner[t].a.z=e.height,this.x._inner[t].a.b6(e),this.u||(1!=this.q.playState?this.ac==t&&(this.s.af=e.width,this.s.z=e.height):(this.h.d=Math.floor(e.width),this.f.d=Math.floor(e.height)))}this.u=!1}},n.prototype.a1=function(){this.ac=0,this.r.be=new i.MatrixTransform;var t,e=this.x._inner[0].h();this.s.af=Math.floor(e.width),this.s.z=Math.floor(e.height),this.a5=((t=new i.TranslateTransform).j=0,t),this.a6=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.a4=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.cq=e.kg,n.cg=e.j1,n.ca=e.ke,n.co=e.ke,n.ch=e.j4,n.cj=e.j7,n.cn=e.kd}},n.prototype.ar=function(){var t=this.x._inner[this.ac].h();this.x._inner[this.ac].a.af=t.width,this.x._inner[this.ac].a.z=t.height,this.x._inner[this.ac].f(t),1!=this.q.playState?(this.s.af=t.width,this.s.z=t.height):(this.h.d=Math.floor(t.width),this.f.d=Math.floor(t.height))},n.prototype.au=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.ay=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.ax=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.az(t,e,n)},n.prototype.az=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.ai=function(t,e){t.cq=e.kg,t.cg=e.j1,t.ca=e.ke,t.co=e.ke,t.ch=e.j4,t.cj=e.j7,t.cn=e.kd,t.bx=e.am,t.ct=e.kj,t.cu=e.kk,t.ce=e.jz,t.cf=e.j0,t.cm=e.kc,t.ck=e.ka,t.cl=e.kb,t.cp=e.kf,t.ci=e.j6,t.bz=e.as,t.by=e.ar,t.b9=e.i8,t.cr=e.kh,t.cs=e.ki,t.cc=e.jx,t.cd=e.jy,t.cb=e.jw},n.aj=function(t,e,i){switch(i){case"TextColor":t.cq=e.kg;break;case"DisabledTextColor":t.cg=e.j1;break;case"SubmenuBackgroundColor":t.ca=e.ke,t.co=e.ke;break;case"GroupHeaderBackgroundColor":t.ch=e.j4;break;case"GroupHeaderTextColor":t.cj=e.j7;break;case"SeparatorBackgroundColor":t.cn=e.kd;break;case"ActualCellTextStyle":t.bx=e.am;break;case"UncheckedBackgroundColor":t.ct=e.kj;break;case"UncheckedBorderColor":t.cu=e.kk;break;case"CheckedBackgroundColor":t.ce=e.jz;break;case"CheckedBorderColor":t.cf=e.j0;break;case"MenuArrowStroke":t.cm=e.kc;break;case"IconFill":t.ck=e.ka;break;case"IconStroke":t.cl=e.kb;break;case"SubtitleTextColor":t.cp=e.kf;break;case"GroupHeaderSubtitleTextColor":t.ci=e.j6;break;case"SubtitleTextStyle":t.bz=e.as;break;case"GroupHeaderTextStyle":t.by=e.ar;break;case"AccentColor":t.b9=e.i8;break;case"ToolTipBackgroundColor":t.cr=e.kh;break;case"ToolTipTextColor":t.cs=e.ki;break;case"CheckboxListScrollbarBackground":t.cc=e.jx;break;case"CheckboxListScrollbarHoverBackground":t.cd=e.jy;break;case"CheckboxListScrollbarActiveBackground":t.cb=e.jw}},n.a3=function(t){if(null!=t.c&&null!=t.d){var e=t.c;e.propertyChanged=i.delegateRemove(e.propertyChanged,t.d),t.d=null,t.c=null}},n.prototype.a2=function(){for(var t=0;t<this.x.count;t++)n.a3(this.x._inner[t]),null!=this.r&&this.r.bq(this.x._inner[t].a);this.x.clear(),this.j=null,this.aa=0,this.ac=0},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Ni=function(t){function n(e,i,n){var r=t.call(this)||this;return r.e=0,r.a=null,r.b=null,r.c=null,r.d=null,r.b=e,r.a=i,r.e=n,r}return e.__extends(n,t),n.prototype.h=function(){return this.a.bg(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.g=function(){this.a.b7()},n.prototype.f=function(t){this.a.b6(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),Ri=function(t){function n(e){var n=t.call(this)||this;if(qi.$type||(qi.$type=i.markType(qi,"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(){qi.$type||(qi.$type=i.markType(qi,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(qi.$type,si.$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=qi._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Ei=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}(),$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 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,"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}(),zi=function(t){function n(e){var n=t.call(this)||this;if($i.$type||($i.$type=i.markType($i,"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(){$i.$type||($i.$type=i.markType($i,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2($i.$type,ge.$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),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 ve},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 $i;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 zi,e=this.i.b;e||(e=new me),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 zi;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ge.$type),r=this.i.b;r||(r=new me),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),qi=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.bb},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 de),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 de),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.c2},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 Ri,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.cp},set:function(t){this.i.cp=+t,this._a("width",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("height",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("subPanelRowHeight",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubPanelRowHeight",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("actualSubPanelRowHeight",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.ex},set:function(t){this.i.ex=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.ds},set:function(t){this.i.ds=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.dp},set:function(t){this.i.dp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.es},set:function(t){this.i.es=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.dx},set:function(t){this.i.dx=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.du},set:function(t){this.i.du=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.cs},set:function(t){this.i.cs=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("paddingLeft",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualPaddingLeft",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("paddingRight",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualPaddingRight",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("paddingBottom",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualPaddingBottom",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("paddingTop",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("actualPaddingTop",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.hq)},set:function(t){this.i.hq=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.hf)},set:function(t){this.i.hf=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.hn)},set:function(t){this.i.hn=i.stringToBrush(t),this._a("background",i.brushToString(this.i.hn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.hm)},set:function(t){this.i.hm=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.hm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.hu)},set:function(t){this.i.hu=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.hl)},set:function(t){this.i.hl=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.hl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.ht)},set:function(t){this.i.ht=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.hg)},set:function(t){this.i.hg=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.ho))},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.a9},set:function(t){this.i.a9=i.ensureBool(t),this._a("isDisabled",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.ba},set:function(t){this.i.ba=i.ensureBool(t),this._a("isHighlighted",this.i.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAccentColor",{get:function(){return i.brushToString(this.i.he)},set:function(t){this.i.he=i.stringToBrush(t),this._a("actualAccentColor",i.brushToString(this.i.he))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.hd))},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.eq},set:function(t){this.i.eq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.fa},set:function(t){this.i.fa=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.e4},set:function(t){this.i.e4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"titleHorizontalAlignment",{get:function(){return this.i.hb},set:function(t){this.i.hb=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("titleHorizontalAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.hb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.ee},set:function(t){this.i.ee=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.d9},set:function(t){this.i.d9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("iconViewBoxLeft",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("iconViewBoxTop",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("iconViewBoxWidth",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("iconViewBoxHeight",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.hr)},set:function(t){this.i.hr=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.hj))},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.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.hk)},set:function(t){this.i.hk=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.hk))},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.ce},set:function(t){this.i.ce=+t,this._a("iconStrokeWidth",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("iconWidth",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualIconWidth",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconHeight",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualIconHeight",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.hv},set:function(t){this.i.hv=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("closeOnExecute",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("highlightWidth",this.i.cc)},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.cb},set:function(t){this.i.cb=+t,this._a("highlightRadius",this.i.cb)},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.hp)},set:function(t){this.i.hp=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.hh)},set:function(t){this.i.hh=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.hh))},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.gn()},n.prototype.closeSubmenu=function(){this.i.fi()},n.prototype.exportVisualData=function(){return this.i.ct()},n.prototype.exportSerializedVisualData=function(){return this.i.d3()},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 Ei;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),Vi=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new mi},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.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(qi),Ui=function(){function t(){}return t.register=function(){Vi.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",Vi),i.TypeRegistrar.register("ToolActionLabel",mi.$type)},t}(),Li=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ui},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.hx},set:function(t){this.i.hx=i.ensureBool(t),this._a("isChecked",this.i.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shorthandTitle",{get:function(){return this.i.h5},set:function(t){this.i.h5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ii)},set:function(t){this.i.ii=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.ii))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.id)},set:function(t){this.i.id=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.id))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.ig)},set:function(t){this.i.ig=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.ig))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ib)},set:function(t){this.i.ib=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.ib))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ij)},set:function(t){this.i.ij=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ij))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ie)},set:function(t){this.i.ie=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ie))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.ih)},set:function(t){this.i.ih=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.ih))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.ic)},set:function(t){this.i.ic=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.ic))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(qi),Fi=function(){function t(){}return t.register=function(){Li.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Li),i.TypeRegistrar.register("ToolActionCheckbox",ui.$type)},t}(),Hi=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}(),Mi=function(t){function n(e){var n=t.call(this)||this;if(Hi.$type||(Hi.$type=i.markType(Hi,"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(){Hi.$type||(Hi.$type=i.markType(Hi,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(Hi.$type,Se.$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 Hi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Gi=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 ci},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.il},set:function(t){this.i.il=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.h2},set:function(t){this.i.h2=i.ensureBool(t),this._a("showSelectAll",this.i.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.ie},set:function(t){this.i.ie=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.hw},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.hw=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new Mi,e=this.i.hx;e||(e=new Ie),this._selectedKeys=t._fromInner(e),this.i.hx=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new Mi;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Se.$type),r=this.i.hx;r||(r=new Ie),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.hx=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.hy},set:function(t){this.i.hy=i.ensureEnum(Ne,t),this._a("indexType",i.enumToString(Ne,this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.i2))},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.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.i7)},set:function(t){this.i.i7=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.i7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.i3))},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.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.i1))},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.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(qi),Wi=function(){function t(){}return t.register=function(){Gi.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",Gi),i.TypeRegistrar.register("ToolActionCheckboxList",ci.$type)},t}(),Ki=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new bi},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.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(qi),Xi=function(){function t(){}return t.register=function(){Ki.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",Ki),i.TypeRegistrar.register("ToolActionGroupHeader",bi.$type)},t}(),Qi=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),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 Qi},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}(),Ji=function(t){function n(e){var n=t.call(this)||this;if(Yi.$type||(Yi.$type=i.markType(Yi,"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(){Yi.$type||(Yi.$type=i.markType(Yi,"IgcToolActionFieldSelectorAggregation"));var t=new i.SyncableObservableCollection$2(Yi.$type,Qi.$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 Yi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Zi=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),tn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Zi},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}(),en=function(t){function n(e){var n=t.call(this)||this;if(tn.$type||(tn.$type=i.markType(tn,"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(){tn.$type||(tn.$type=i.markType(tn,"IgcToolActionFieldSelectorSelectedAggregation"));var t=new i.SyncableObservableCollection$2(tn.$type,Zi.$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 tn)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),nn=function(t){function n(){var e=t.call(this,Qi.$,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(Qi.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Qi.$,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(Qi.$)),n}(i.ObservableCollection$1),rn=function(t){function n(){var e=t.call(this,Zi.$,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(Zi.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Zi.$,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(Zi.$)),n}(i.ObservableCollection$1),on=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 di},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.h4},set:function(t){this.i.h4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"legendTarget",{get:function(){return this.i.i0},set:function(t){this.i.i0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fieldType",{get:function(){return this.i.h8},set:function(t){this.i.h8=i.ensureEnum(De,t),this._a("fieldType",i.enumToString(De,this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"singleSelection",{get:function(){return this.i.ij},set:function(t){this.i.ij=i.ensureBool(t),this._a("singleSelection",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aggregations",{get:function(){if(null===this._aggregations){var t=new Ji,e=this.i.h5;e||(e=new nn),this._aggregations=t._fromInner(e),this.i.h5=e}return this._aggregations},set:function(t){null!==this._aggregations&&(this._aggregations._setSyncTarget(null),this._aggregations=null);var e=new Ji;this._aggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Qi.$type),r=this.i.h5;r||(r=new nn),n._inner=r,n.clear(),this._aggregations._setSyncTarget(n),this.i.h5=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateDataSource",{get:function(){return this.i.ik},set:function(t){this.i.ik=i.ensureBool(t),this._a("updateDataSource",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedAggregations",{get:function(){if(null===this._selectedAggregations){var t=new en,e=this.i.h7;e||(e=new rn),this._selectedAggregations=t._fromInner(e),this.i.h7=e}return this._selectedAggregations},set:function(t){null!==this._selectedAggregations&&(this._selectedAggregations._setSyncTarget(null),this._selectedAggregations=null);var e=new en;this._selectedAggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Zi.$type),r=this.i.h7;r||(r=new rn),n._inner=r,n.clear(),this._selectedAggregations._setSyncTarget(n),this.i.h7=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("paddingLeft",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("actualPaddingLeft",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("paddingRight",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.ir},set:function(t){this.i.ir=+t,this._a("actualPaddingRight",this.i.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.it},set:function(t){this.i.it=+t,this._a("paddingBottom",this.i.it)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("actualPaddingBottom",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.iw},set:function(t){this.i.iw=+t,this._a("paddingTop",this.i.iw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.is},set:function(t){this.i.is=+t,this._a("actualPaddingTop",this.i.is)},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}(qi),sn=function(){function t(){}return t.register=function(){on.register(),i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorComponent",on),i.TypeRegistrar.register("ToolActionFieldSelector",di.$type)},t}(),an=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new vi},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.hy},set:function(t){this.i.hy=+t,this._a("value",this.i.hy)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(qi),hn=function(){function t(){}return t.register=function(){an.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",an),i.TypeRegistrar.register("ToolActionNumberInput",vi.$type)},t}(),un=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ji},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.hy},set:function(t){this.i.hy=+t,this._a("size",this.i.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.hw},set:function(t){this.i.hw=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.hw)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(qi),ln=function(){function t(){}return t.register=function(){un.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",un),i.TypeRegistrar.register("ToolActionSeparator",ji.$type)},t}(),cn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new _i},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.h5},set:function(t){this.i.h5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shorthandTitle",{get:function(){return this.i.ib},set:function(t){this.i.ib=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.hx},set:function(t){this.i.hx=i.ensureBool(t),this._a("isChecked",this.i.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.hy},set:function(t){this.i.hy=i.ensureBool(t),this._a("isManual",this.i.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleable",{get:function(){return this.i.hz},set:function(t){this.i.hz=i.ensureBool(t),this._a("isToggleable",this.i.hz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.iq)},set:function(t){this.i.iq=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.iq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.il)},set:function(t){this.i.il=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.il))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.io)},set:function(t){this.i.io=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.io))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ij)},set:function(t){this.i.ij=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.ij))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ir)},set:function(t){this.i.ir=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ir))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.im)},set:function(t){this.i.im=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.im))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.ip)},set:function(t){this.i.ip=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.ip))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.ik)},set:function(t){this.i.ik=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.ik))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(qi),pn=function(){function t(){}return t.register=function(){cn.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",cn),i.TypeRegistrar.register("ToolActionRadio",_i.$type)},t}(),fn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ai},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.hw},set:function(t){this.i.hw=i.ensureEnum(Ce,t),this._a("displayType",i.enumToString(Ce,this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.h0},set:function(t){this.i.h0=+t,this._a("cornerRadius",this.i.h0)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(qi),dn=function(){function t(){}return t.register=function(){fn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",fn),i.TypeRegistrar.register("ToolActionButton",ai.$type)},t}(),bn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new wi},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.hy},set:function(t){this.i.hy=+t,this._a("itemSpacing",this.i.hy)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(qi),gn=function(){function t(){}return t.register=function(){bn.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",bn),i.TypeRegistrar.register("ToolActionSubPanel",wi.$type)},t}(),yn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Oi},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=qi._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}(),mn=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 gi},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.i6},set:function(t){this.i.i6=+t,this._a("tooltipDelay",this.i.i6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.i5},set:function(t){this.i.i5=+t,this._a("actualTooltipDelay",this.i.i5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.iz},set:function(t){this.i.iz=+t,this._a("contentPaddingLeft",this.i.iz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("actualContentPaddingLeft",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.i1},set:function(t){this.i.i1=+t,this._a("contentPaddingTop",this.i.i1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.ix},set:function(t){this.i.ix=+t,this._a("actualContentPaddingTop",this.i.ix)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.i0},set:function(t){this.i.i0=+t,this._a("contentPaddingRight",this.i.i0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.iw},set:function(t){this.i.iw=+t,this._a("actualContentPaddingRight",this.i.iw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.iy},set:function(t){this.i.iy=+t,this._a("contentPaddingBottom",this.i.iy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("actualContentPaddingBottom",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.bb},enumerable:!1,configurable:!0}),n.prototype.openSubMenu=function(){this.i.gn()},n.prototype.closeSubmenu=function(){this.i.fi()},n.prototype.exportVisualData=function(){return this.i.ct()},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 yn;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}(qi),vn=function(){function t(){}return t.register=function(){mn.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",mn),i.TypeRegistrar.register("ToolActionIconButton",gi.$type)},t}(),_n=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new yi},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.kn)},set:function(t){this.i.kn=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.kn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.km)},set:function(t){this.i.km=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.km))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.kc},set:function(t){this.i.kc=i.ensureBool(t),this._a("showArrowIcon",this.i.kc)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(mn),Cn=function(){function t(){}return t.register=function(){_n.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",_n),i.TypeRegistrar.register("ToolActionIconMenu",yi.$type)},t}(),jn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ci},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._observedAttributesIgcToolActionRadioGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionRadioGroupComponent=t}return n._observedAttributesIgcToolActionRadioGroupComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectedTextStyle",{get:function(){return null==this.i.hy?null:this.i.hy.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.hy=e,this._a("selectedTextStyle",null!=this.i.hy?this.i.hy.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedTextColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("selectedTextColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedTextColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("actualSelectedTextColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionRadioGroupComponent=null,n.htmlTagName="igc-tool-action-radio-group",n._isElementRegistered=!1,n}(qi),wn=function(){function t(){}return t.register=function(){jn.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioGroupComponent",jn),i.TypeRegistrar.register("ToolActionRadioGroup",Ci.$type)},t}(),kn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new li},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._observedAttributesIgcToolActionCheckboxGroupComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionCheckboxGroupComponent=t}return n._observedAttributesIgcToolActionCheckboxGroupComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"selectedTextStyle",{get:function(){return null==this.i.hx?null:this.i.hx.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.hx=e,this._a("selectedTextStyle",null!=this.i.hx?this.i.hx.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedTextColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("selectedTextColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSelectedTextColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("actualSelectedTextColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionCheckboxGroupComponent=null,n.htmlTagName="igc-tool-action-checkbox-group",n._isElementRegistered=!1,n}(qi),Pn=function(){function t(){}return t.register=function(){kn.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxGroupComponent",kn),i.TypeRegistrar.register("ToolActionCheckboxGroup",li.$type)},t}(),xn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Je},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}(),Tn=function(t){return t[t.Replace=0]="Replace",t}({}),On=i.markEnum("NestedActionMode","Replace,0"),Sn=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 Ri;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 qi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Si},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.a7},set:function(t){this.i.a7=i.ensureBool(t),this._a("showOnHover",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.a8},set:function(t){this.i.a8=i.ensureBool(t),this._a("showTooltipOnHover",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.c2},set:function(t){this.i.c2=+t,this._a("dropdownClickBuffer",this.i.c2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.a9},set:function(t){this.i.a9=i.ensureBool(t),this._a("stopPropagation",this.i.a9)},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.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.jo)},set:function(t){this.i.jo=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.jo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.jn)},set:function(t){this.i.jn=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.jn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.jj)},set:function(t){this.i.jj=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.jj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.jq)},set:function(t){this.i.jq=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.jq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.jp)},set:function(t){this.i.jp=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.jp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.j1)},set:function(t){this.i.j1=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.j1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.jh)},set:function(t){this.i.jh=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.jh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.jg)},set:function(t){this.i.jg=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.jg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.ki)},set:function(t){this.i.ki=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.ki))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.js)},set:function(t){this.i.js=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.js))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.kh)},set:function(t){this.i.kh=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.kh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jr)},set:function(t){this.i.jr=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.jr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.cu},set:function(t){this.i.cu=+t,this._a("toolTipCornerRadius",this.i.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("actualToolTipCornerRadius",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.cv},set:function(t){this.i.cv=+t,this._a("toolTipElevation",this.i.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("actualToolTipElevation",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.jk)},set:function(t){this.i.jk=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.jk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.jl)},set:function(t){this.i.jl=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.jl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.cr},set:function(t){this.i.cr=+t,this._a("separatorVerticalPaddingLeft",this.i.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.cs},set:function(t){this.i.cs=+t,this._a("separatorVerticalPaddingRight",this.i.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.ct},set:function(t){this.i.ct=+t,this._a("separatorVerticalPaddingTop",this.i.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.cq},set:function(t){this.i.cq=+t,this._a("separatorVerticalPaddingBottom",this.i.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.cn},set:function(t){this.i.cn=+t,this._a("separatorHorizontalPaddingLeft",this.i.cn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.b8},set:function(t){this.i.b8=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.b8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("separatorHorizontalPaddingRight",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("separatorHorizontalPaddingTop",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("separatorHorizontalPaddingBottom",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.b7},set:function(t){this.i.b7=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.b7)},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.c6},set:function(t){this.i.c6=+t,this._a("rowHeight",this.i.c6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.b6},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.c7},set:function(t){this.i.c7=+t,this._a("subPanelRowHeight",this.i.c7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("highlightWidth",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.b5},set:function(t){this.i.b5=+t,this._a("actualHighlightWidth",this.i.b5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("highlightRadius",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.b4},set:function(t){this.i.b4=+t,this._a("actualHighlightRadius",this.i.b4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.ji)},set:function(t){this.i.ji=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.ji))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAccentColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("actualAccentColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.i8)},set:function(t){this.i.i8=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.i8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.jm)},set:function(t){this.i.jm=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.jm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.kj)},set:function(t){this.i.kj=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.kj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jt)},set:function(t){this.i.jt=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.jt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.jz)},set:function(t){this.i.jz=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.jz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.jb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.kk)},set:function(t){this.i.kk=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.kk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ju)},set:function(t){this.i.ju=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ju))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.j0)},set:function(t){this.i.j0=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.j0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.c3},set:function(t){this.i.c3=+t,this._a("dropdownDelay",this.i.c3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("actualDropdownDelay",this.i.c1)},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,"checkboxListScrollbarBackground",{get:function(){return i.brushToString(this.i.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("checkboxListScrollbarBackground",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkboxListScrollbarHoverBackground",{get:function(){return i.brushToString(this.i.jy)},set:function(t){this.i.jy=i.stringToBrush(t),this._a("checkboxListScrollbarHoverBackground",i.brushToString(this.i.jy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkboxListScrollbarActiveBackground",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("checkboxListScrollbarActiveBackground",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"itemSpacing",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("itemSpacing",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.g},set:function(t){this.i.g=i.ensureEnum(On,t),this._a("nestedActionMode",i.enumToString(On,this.i.g))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.a6},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.g3()},n.prototype.getDesiredSize=function(){var t=this.i.kn();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.gi()},n.prototype.closeSubmenus=function(){this.i.gd()},n.prototype.exportVisualData=function(){return this.i.c8()},n.prototype.exportSerializedVisualData=function(){return this.i.ey()},n.prototype.setBrushContextItem=function(t,e){this.i.hc(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.j2(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.ha(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.hk(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.ch(t)},n.prototype.setIntContextItem=function(t,e){this.i.hm(t,e)},n.prototype.getIntContextItem=function(t){return this.i.c4(t)},n.prototype.setStringContextItem=function(t,e){this.i.ho(t,e)},n.prototype.getStringContextItem=function(t){return this.i.ez(t)},n.prototype.setBoolContextItem=function(t,e){this.i.g8(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.a2(t)},n.prototype.setColorContextItem=function(t,e){this.i.he(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.kl(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.hi(t,e)},n.prototype.getDataContextItem=function(t){return this.i.db(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 xn;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 Ei;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),In=function(){function t(){}return t.register=function(){xt.register(),Ui.register(),Fi.register(),Wi.register(),Xi.register(),sn.register(),hn.register(),ln.register(),pn.register(),dn.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),gn.register(),vn.register(),Cn.register(),wn.register(),Pn.register(),Sn.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Sn),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Sn),i.TypeRegistrar.register("ToolPanel",Si.$type)},t}(),An=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new he},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}(),Nn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new le},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}(),Bn=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 Ri;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 qi&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new xi},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 Ri,e=this.i.autoGeneratedActions;e||(e=new Pi),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 Ri;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(si.$type),r=this.i.autoGeneratedActions;r||(r=new Pi),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 Ri,e=this.i.actualActions;e||(e=new Pi),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 Ri;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(si.$type),r=this.i.actualActions;r||(r=new Pi),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(fe,t),this._a("orientation",i.enumToString(fe,this.i.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.f1)},set:function(t){this.i.f1=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.gi)},set:function(t){this.i.gi=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.gi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.f9)},set:function(t){this.i.f9=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.f9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.gh)},set:function(t){this.i.gh=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.gh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.gd)},set:function(t){this.i.gd=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.gd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.gk)},set:function(t){this.i.gk=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.gk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.f7)},set:function(t){this.i.f7=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.f7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.gb)},set:function(t){this.i.gb=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.gb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.gm)},set:function(t){this.i.gm=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.gm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.gl)},set:function(t){this.i.gl=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.gl))},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.ge)},set:function(t){this.i.ge=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.ge))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.gf)},set:function(t){this.i.gf=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.gf))},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.bv},set:function(t){this.i.bv=+t,this._a("dropdownClickBuffer",this.i.bv)},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.gc)},set:function(t){this.i.gc=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.gc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.f0)},set:function(t){this.i.f0=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.f0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.gg)},set:function(t){this.i.gg=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.gg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.gn)},set:function(t){this.i.gn=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.gn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.f5)},set:function(t){this.i.f5=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.f5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.go)},set:function(t){this.i.go=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.go))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.f6)},set:function(t){this.i.f6=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.f6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("rowHeight",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("subPanelRowHeight",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.gj)},set:function(t){this.i.gj=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.gj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.ga)},set:function(t){this.i.ga=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.ga))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("dropdownDelay",this.i.bw)},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,"checkboxListScrollbarBackground",{get:function(){return i.brushToString(this.i.f3)},set:function(t){this.i.f3=i.stringToBrush(t),this._a("checkboxListScrollbarBackground",i.brushToString(this.i.f3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkboxListScrollbarHoverBackground",{get:function(){return i.brushToString(this.i.f4)},set:function(t){this.i.f4=i.stringToBrush(t),this._a("checkboxListScrollbarHoverBackground",i.brushToString(this.i.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkboxListScrollbarActiveBackground",{get:function(){return i.brushToString(this.i.f2)},set:function(t){this.i.f2=i.stringToBrush(t),this._a("checkboxListScrollbarActiveBackground",i.brushToString(this.i.f2))},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.d9()},n.prototype.isOpen=function(){return this.i.av()},n.prototype.getDesiredSize=function(){var t=this.i.gq();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.d6()},n.prototype.onCommandStateChanged=function(t,e,n){this.i.onCommandStateChanged(t,i.ensureEnum(i.ToolCommandStateType_$type,e),n)},n.prototype.registerIconFromText=function(t,e,i){this.i.eq(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.cw(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.es(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.ep(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.cv(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.er(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.ca(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.ev(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.f8(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.eu(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.ez(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.bd(t)},n.prototype.setIntContextItem=function(t,e){this.i.e6(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.be(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.e4(t,e)},n.prototype.getIntContextItem=function(t){return this.i.by(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.e5(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bx(t)},n.prototype.setStringContextItem=function(t,e){this.i.e7(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cx(t)},n.prototype.setBoolContextItem=function(t,e){this.i.et(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.au(t)},n.prototype.setColorContextItem=function(t,e){this.i.ew(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.gp(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.ey(t,e)},n.prototype.getDataContextItem=function(t){return this.i.b5(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.e3(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.b9(t)},n.prototype.exportVisualData=function(){return this.i.b3()},n.prototype.exportSerializedVisualData=function(){return this.i.cu()},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 Ei;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 An;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 Nn;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),Rn=function(){function t(){}return t.register=function(){In.register(),Bn.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Bn),i.TypeRegistrar.registerCons("IgcToolbarComponent",Bn),i.TypeRegistrar.register("Toolbar",xi.$type)},t}(),En=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),$n=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),zn=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),Dn=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),qn=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 Dn;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 zn;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),Vn=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),Un=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 w=f._inner[j],k=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),P=!1;-1==k&&(P=!0,k=0);for(var x=new i.List$1(i.Base.$,0),T=0;T<=k;T++)if(null!=C&&T<C.length){var O=C[T];null!==i.typeCast(i.DescriptionTreeNode.$,O)&&T==k&&(O.i=w),x.add1(O)}else{var S=this.g(a,!0,w);null!=S&&x.add1(S)}var I=(C=x.toArray())[k],A=new i.List$1(i.String_$type,1,h);A.removeAt(0);var N=_.collectionElementType;null!=w&&(N=w);var B=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(A.toArray()),!1)),P?-1:k,r,I,N,_);null!=B&&(C[k]=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 z=this.f(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read($.toArray()),!1)),-1,r,E,_.specificExternalType,_);null!=z&&R.o(u,z,_)}else{null!==i.typeCast(i.DescriptionPropertyValue.$,o)&&(o=o.b);var D=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)}D.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.appendLine("{"),t.increaseTabLevel(),t.appendLine('"descriptions": {'),t.increaseTabLevel(),t.append('"root"'),t.append(": "),e.y(this.c,this.b,t),t.appendLine(""),t.decreaseTabLevel(),t.append("}"),t.decreaseTabLevel(),t.appendLine("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),Ln=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.av(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.ao.setStyleProperty("width","100%"),i.ao.setStyleProperty("height","100%"),e.i.append(i.ao)}));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.b6(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.r(e,this.a.cr),i.NativeUI.n(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),Fn=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(),Ze.g(),e.at=new i.ObservableCollection$1(qn.$,0);var r=new Ln;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.bt=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.bv=2:this.ak?this.l.bv=1:this.l.bv=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($n,e),i.enumGetBox($n,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 Pi,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.bu=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(Vn.$,0),n=function(i){var n;e.add(((n=new Vn).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 vi;r.hy=null!=e.ar?e.ar:NaN,r.fa=this.bm(e),n=r,null!=e.a4&&(n.e4=e.a4);break;case 4:case 5:var o=new pi;o.h2=i.CSSColorUtil.g(e.ar),o.fa=this.bm(e),n=o,null!=e.a4&&(n.e4=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new ki;s.hy=e.ar,s.fa=this.bm(e),n=s,null!=e.a4&&(n.e4=e.a4);break;case 7:var a=new ui;a.hx=null!=e.ar&&e.ar,a.fa=this.bm(e),n=a,null!=e.a4&&(n.e4=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new fi;h.itemsSource=this.a4(this.c(e)),h.fa=this.bm(e),n=h,null!=e.a4&&(n.e4=e.a4),null!=e.ar&&(h.hw=new Ee,h.hw.add1(e.ar));break;case 20:var u=new ai;u.fa=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.fa=e.ar),n=u,null!=e.a4&&(n.e4=e.a4);break;case 24:var l=new ji;l.hy=5,n=l;break;case 25:(n=new bi).fa=this.bm(e),null!=e.a4&&(n.e4=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.eq=this.be+"_"+c,this.aq.item(n.eq,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.bg(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 Un(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new Un(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 Un(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.l(255,248,248,248),n.cq=i.BrushUtil.l(255,24,29,31),n}(i.Base),Hn=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 Fn},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 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 qt;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($n,t),this._a("updateMode",i.enumToString($n,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),Mn=function(){function t(){}return t.register=function(){Wt.register(),Rn.register(),Hn.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",Hn),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",Hn),i.TypeRegistrar.register("PropertyEditorPanel",Fn.$type)},t}(),Gn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),Wn=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),Kn=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),Xn=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),Qn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",mt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",E.$type)},t}(),Yn=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),Jn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",Hi),i.TypeRegistrar.register("LayoutPrimaryKeyValue",Se.$type)},t}(),Zn=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),tr=new i.Type(null,"IExternalListPanel"),er=new i.Type(null,"IListPanelView"),ir=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),nr=new i.Type(null,"IListPanelViewportManager"),rr=new i.Type(null,"IPropertyEditorPanelView"),or=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),sr=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),ar=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),hr=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}(),ur=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new hi},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.ik},set:function(t){this.i.ik=i.ensureBool(t),this._a("leftIsSelected",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.io},set:function(t){this.i.io=i.ensureBool(t),this._a("rightIsSelected",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.ij},set:function(t){this.i.ij=i.ensureBool(t),this._a("leftIsDisabled",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.im},set:function(t){this.i.im=i.ensureBool(t),this._a("rightIsDisabled",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.jf},set:function(t){this.i.jf=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.i9},set:function(t){this.i.i9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.ii},set:function(t){this.i.ii=i.ensureBool(t),this._a("isToggleDisabled",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.jb},set:function(t){this.i.jb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("leftIconViewBoxLeft",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("leftIconViewBoxTop",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.iw},set:function(t){this.i.iw=+t,this._a("leftIconViewBoxWidth",this.i.iw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.it},set:function(t){this.i.it=+t,this._a("leftIconViewBoxHeight",this.i.it)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.ki)},set:function(t){this.i.ki=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.ki))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hy)},set:function(t){this.i.hy=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.kj)},set:function(t){this.i.kj=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.kj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hz)},set:function(t){this.i.hz=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.is},set:function(t){this.i.is=+t,this._a("leftIconStrokeWidth",this.i.is)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.jq},set:function(t){this.i.jq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.jy},set:function(t){this.i.jy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.js},set:function(t){this.i.js=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.ju},set:function(t){this.i.ju=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.iz},set:function(t){this.i.iz=+t,this._a("rightIconViewBoxLeft",this.i.iz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.i0},set:function(t){this.i.i0=+t,this._a("rightIconViewBoxTop",this.i.i0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.i1},set:function(t){this.i.i1=+t,this._a("rightIconViewBoxWidth",this.i.i1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.iy},set:function(t){this.i.iy=+t,this._a("rightIconViewBoxHeight",this.i.iy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.kk)},set:function(t){this.i.kk=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.kk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.h0)},set:function(t){this.i.h0=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.h0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.kl)},set:function(t){this.i.kl=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.kl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.kh)},set:function(t){this.i.kh=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.kh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.h1)},set:function(t){this.i.h1=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.ix},set:function(t){this.i.ix=+t,this._a("rightIconStrokeWidth",this.i.ix)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.j9},set:function(t){this.i.j9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.h2},set:function(t){this.i.h2=i.ensureEnum(ke,t),this._a("displayType",i.enumToString(ke,this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("cornerRadius",this.i.ip)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(qi),lr=function(){function t(){}return t.register=function(){ur.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",ur),i.TypeRegistrar.register("ToolActionButtonPair",hi.$type)},t}(),cr=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"GridColumnProviderOnAttachingOverrideEventArgs",i.EventArgs.$),n}(i.EventArgs),pr=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new pi},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.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("value",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(qi),fr=function(){function t(){}return t.register=function(){pr.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",pr),i.TypeRegistrar.register("ToolActionColorEditor",pi.$type)},t}(),dr=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 fi},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.h0},set:function(t){this.i.h0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.h4},set:function(t){this.i.h4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new Zn,e=this.i.hw;e||(e=new Ee),this._selectedValues=t._fromInner(e),this.i.hw=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new Zn;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.hw;r||(r=new Ee),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.hw=r},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(qi),br=function(){function t(){}return t.register=function(){dr.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",dr),i.TypeRegistrar.register("ToolActionCombo",fi.$type)},t}(),gr=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorAggregation",Yi),i.TypeRegistrar.register("ToolActionFieldSelectorAggregation",Qi.$type)},t}(),yr=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorSelectedAggregation",tn),i.TypeRegistrar.register("ToolActionFieldSelectorSelectedAggregation",Zi.$type)},t}(),mr=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ki},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.hy},set:function(t){this.i.hy=t},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.ct()},n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(qi),vr=function(){function t(){}return t.register=function(){mr.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",mr),i.TypeRegistrar.register("ToolActionTextInput",ki.$type)},t}(),_r=new i.Type(null,"IExternalToolbar"),Cr=new i.Type(null,"IToolbarView"),jr=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),wr=new i.Type(null,"IExternalToolPanel"),kr=new i.Type(null,"IToolPanelView"),Pr=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}(),xr=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new be},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.ComboEditor=_,t.ComboEditorBridge=Yt,t.ComboEditorCloneDataSourceFilterOperation=Gn,t.ComboEditorCloneDataSourceFilterOperation_$type=Wn,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=g,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=Kn,t.ComboEditorSelectedItemChangeType_$type=Xn,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=v,t.ComboEditorVisualModelExport=b,t.DrillDownRequestedEventArgs=Ii,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.GridColumnProviderOnAttachingOverrideEventArgs=cr,t.IExternalListPanel_$type=tr,t.IExternalToolPanel_$type=wr,t.IExternalToolbar_$type=_r,t.IListPanelView_$type=er,t.IListPanelViewportManager_$type=nr,t.INativeUIToolPanelBridge_$type=Jt,t.INativeUIToolbarBridge_$type=ae,t.IPropertyEditorPanelView_$type=rr,t.IToolPanelView_$type=kr,t.IToolbarView_$type=Cr,t.IgcComboEditorComponent=x,t.IgcComboEditorGotFocusEventArgs=k,t.IgcComboEditorLostFocusEventArgs=P,t.IgcComboEditorModule=Tt,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=w,t.IgcLayoutPrimaryKeyValue=Hi,t.IgcLayoutPrimaryKeyValueModule=Jn,t.IgcLayoutSelectedItemsCollection=Zn,t.IgcLayoutSelectedKeysCollection=Mi,t.IgcListPanelActiveRowChangedEventArgs=gt,t.IgcListPanelComponent=Pt,t.IgcListPanelContentRebindEventArgs=kt,t.IgcListPanelContentRecycledEventArgs=wt,t.IgcListPanelContentRefreshedEventArgs=ct,t.IgcListPanelItemEventArgs=bt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=xt,t.IgcListPanelPrimaryKeyValue=mt,t.IgcListPanelPrimaryKeyValueModule=Qn,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=hr,t.IgcPropertyEditorDescriptionObject=Vt,t.IgcPropertyEditorDescriptionObjectCollection=Ut,t.IgcPropertyEditorPanelComponent=Hn,t.IgcPropertyEditorPanelModule=Mn,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=Lt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Ft,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Mt,t.IgcPropertyEditorPropertyDescriptionCollection=qt,t.IgcPropertyEditorPropertyDescriptionComponent=Gt,t.IgcPropertyEditorPropertyDescriptionModule=Wt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Ht,t.IgcToolActionButtonComponent=fn,t.IgcToolActionButtonModule=dn,t.IgcToolActionButtonPairComponent=ur,t.IgcToolActionButtonPairModule=lr,t.IgcToolActionCheckboxComponent=Li,t.IgcToolActionCheckboxGroupComponent=kn,t.IgcToolActionCheckboxGroupModule=Pn,t.IgcToolActionCheckboxListComponent=Gi,t.IgcToolActionCheckboxListModule=Wi,t.IgcToolActionCheckboxModule=Fi,t.IgcToolActionCollection=Ri,t.IgcToolActionColorEditorComponent=pr,t.IgcToolActionColorEditorModule=fr,t.IgcToolActionComboComponent=dr,t.IgcToolActionComboModule=br,t.IgcToolActionComponent=qi,t.IgcToolActionEventDetail=$i,t.IgcToolActionEventDetailCollection=zi,t.IgcToolActionFieldSelectorAggregation=Yi,t.IgcToolActionFieldSelectorAggregationModule=gr,t.IgcToolActionFieldSelectorAggregationsCollection=Ji,t.IgcToolActionFieldSelectorComponent=on,t.IgcToolActionFieldSelectorModule=sn,t.IgcToolActionFieldSelectorSelectedAggregation=tn,t.IgcToolActionFieldSelectorSelectedAggregationModule=yr,t.IgcToolActionFieldSelectorSelectedAggregationsCollection=en,t.IgcToolActionGroupHeaderComponent=Ki,t.IgcToolActionGroupHeaderModule=Xi,t.IgcToolActionIconButtonComponent=mn,t.IgcToolActionIconButtonModule=vn,t.IgcToolActionIconMenuComponent=_n,t.IgcToolActionIconMenuModule=Cn,t.IgcToolActionLabelComponent=Vi,t.IgcToolActionLabelModule=Ui,t.IgcToolActionNumberInputComponent=an,t.IgcToolActionNumberInputModule=hn,t.IgcToolActionPerformedEventArgs=Di,t.IgcToolActionPopupOpeningEventArgs=yn,t.IgcToolActionRadioComponent=cn,t.IgcToolActionRadioGroupComponent=jn,t.IgcToolActionRadioGroupModule=wn,t.IgcToolActionRadioModule=pn,t.IgcToolActionSeparatorComponent=un,t.IgcToolActionSeparatorModule=ln,t.IgcToolActionSubPanelComponent=bn,t.IgcToolActionSubPanelModule=gn,t.IgcToolActionTextInputComponent=mr,t.IgcToolActionTextInputModule=vr,t.IgcToolCommandEventArgs=Ei,t.IgcToolContextBinding=Xt,t.IgcToolContextBindingCollection=Qt,t.IgcToolPanelComponent=Sn,t.IgcToolPanelContentRefreshedEventArgs=xn,t.IgcToolPanelContextChangedEventArgs=Pr,t.IgcToolPanelContextSwappedEventArgs=xr,t.IgcToolPanelModule=In,t.IgcToolbarComponent=Bn,t.IgcToolbarModule=Rn,t.IgcToolbarSubMenuClosingEventArgs=Nn,t.IgcToolbarSubMenuOpeningEventArgs=An,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=Se,t.LayoutSelectedItemsCollection=Ee,t.LayoutSelectedKeysCollection=Ie,t.ListPanel=et,t.ListPanelActivationManager=ht,t.ListPanelActivationMode=I,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=M,t.ListPanelColumnDefinition=Q,t.ListPanelContentRebindEventArgs=U,t.ListPanelContentRecycledEventArgs=V,t.ListPanelContentRefreshedEventArgs=G,t.ListPanelDataBindingEventArgs=ir,t.ListPanelDataSourceNotificationBridge=nt,t.ListPanelItemEventArgs=st,t.ListPanelItemModel=ot,t.ListPanelItemPresenter=W,t.ListPanelItemVisualData=Y,t.ListPanelLayoutPanel=rt,t.ListPanelOrientation=z,t.ListPanelOrientation_$type=D,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=H,t.ListPanelSelectionManager=at,t.ListPanelSelectionMode=O,t.ListPanelSelectionMode_$type=S,t.ListPanelTemplateHeightRequestedEventArgs=X,t.ListPanelTemplateItemUpdatingEventArgs=it,t.ListPanelTemplateWidthRequestedEventArgs=K,t.ListPanelView=tt,t.ListPanelViewportChangedEventArgs=q,t.ListPanelVisualData=J,t.ListPanelVisualModel=T,t.NativeUIContentRefreshedEventArgs=Yn,t.NativeUILayoutFactory=Ze,t.NativeUIToolPanel=ri,t.NativeUIToolbar=oi,t.NativeUIToolbarSubMenuClosingEventArgs=ce,t.NativeUIToolbarSubMenuOpeningEventArgs=ue,t.NestedActionMode=Tn,t.NestedActionMode_$type=On,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=Bi,t.PanelInfo=Ni,t.PropertyEditorDataSource=Bt,t.PropertyEditorDescriptionObject=$t,t.PropertyEditorDescriptionObjectCollection=zt,t.PropertyEditorPanel=Fn,t.PropertyEditorPanelColumnDefinition=qn,t.PropertyEditorPanelColumnFieldType_$type=sr,t.PropertyEditorPanelColumnType_$type=or,t.PropertyEditorPanelComboBoxBridgeItem=Vn,t.PropertyEditorPanelDataBindingEventArgs=Dn,t.PropertyEditorPanelDropDownDataListItem=ar,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=zn,t.PropertyEditorPanelUpdateMode=En,t.PropertyEditorPanelUpdateMode_$type=$n,t.PropertyEditorPanelView=Ln,t.PropertyEditorPropertyDescription=Rt,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=It,t.PropertyEditorPropertyDescriptionChangedEventArgs=At,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=Et,t.PropertyEditorPropertyDescriptionCollection=Dt,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Nt,t.PropertyEditorTreeTransformer=Un,t.PropertyEditorValueType=Ot,t.PropertyEditorValueType_$type=St,t.ToolAction=si,t.ToolActionButton=ai,t.ToolActionButtonDisplayType=_e,t.ToolActionButtonDisplayType_$type=Ce,t.ToolActionButtonGroupDisplayType=we,t.ToolActionButtonGroupDisplayType_$type=ke,t.ToolActionButtonPair=hi,t.ToolActionButtonPairVisualData=Pe,t.ToolActionButtonVisualData=je,t.ToolActionCheckbox=ui,t.ToolActionCheckboxGroup=li,t.ToolActionCheckboxGroupVisualData=Te,t.ToolActionCheckboxList=ci,t.ToolActionCheckboxListIndexType=Ae,t.ToolActionCheckboxListIndexType_$type=Ne,t.ToolActionCheckboxListVisualData=Be,t.ToolActionCheckboxVisualData=xe,t.ToolActionCollection=Pi,t.ToolActionColorEditor=pi,t.ToolActionColorEditorVisualData=Re,t.ToolActionCombo=fi,t.ToolActionComboVisualData=$e,t.ToolActionEventDetail=ge,t.ToolActionEventDetailCollection=me,t.ToolActionFieldSelector=di,t.ToolActionFieldSelectorAggregation=Qi,t.ToolActionFieldSelectorAggregationsCollection=nn,t.ToolActionFieldSelectorEventType=Ve,t.ToolActionFieldSelectorEventType_$type=Ue,t.ToolActionFieldSelectorSelectedAggregation=Zi,t.ToolActionFieldSelectorSelectedAggregationsCollection=rn,t.ToolActionFieldSelectorType=ze,t.ToolActionFieldSelectorType_$type=De,t.ToolActionFieldSelector_ToolActionFieldSelectorItem=qe,t.ToolActionGroupHeader=bi,t.ToolActionGroupHeaderVisualData=Le,t.ToolActionIconButton=gi,t.ToolActionIconMenu=yi,t.ToolActionIconMenuVisualData=He,t.ToolActionLabel=mi,t.ToolActionLabelVisualData=Me,t.ToolActionMeasurementContext=ye,t.ToolActionNumberInput=vi,t.ToolActionNumberInputVisualData=Ge,t.ToolActionPerformedEventArgs=ve,t.ToolActionPopupOpeningEventArgs=Oi,t.ToolActionRadio=_i,t.ToolActionRadioGroup=Ci,t.ToolActionRadioGroupVisualData=Ke,t.ToolActionRadioVisualData=We,t.ToolActionSeparator=ji,t.ToolActionSeparatorVisualData=Xe,t.ToolActionSubPanel=wi,t.ToolActionSubPanelVisualData=Qe,t.ToolActionTextInput=ki,t.ToolActionTextInputVisualData=Ye,t.ToolActionVisualData=re,t.ToolCommandEventArgs=Zt,t.ToolContextBinding=Kt,t.ToolContextBindingCollection=de,t.ToolPanel=Si,t.ToolPanelContentRefreshedEventArgs=Je,t.ToolPanelContext=ne,t.ToolPanelContextChangedEventArgs=ie,t.ToolPanelContextSwappedEventArgs=be,t.ToolPanelDropdownMenuVisualData=se,t.ToolPanelIconRepository=Oe,t.ToolPanelOrientation=te,t.ToolPanelOrientation_$type=ee,t.ToolPanelView=ni,t.ToolPanelVisualData=oe,t.ToolPanelsPresenter=Ai,t.Toolbar=xi,t.ToolbarContextAccessor=Ti,t.ToolbarIconManager=jr,t.ToolbarOrientation=pe,t.ToolbarOrientation_$type=fe,t.ToolbarSubMenuClosingEventArgs=le,t.ToolbarSubMenuOpeningEventArgs=he,t.ToolbarView=ii,t.TooltipTextPresenter=Fe,t.XExpansionPanel=h,t.XToolPanelBridge=ti,t.XToolbarBridge=ei,Object.defineProperty(t,"__esModule",{value:!0})}));