igniteui-webcomponents-layouts 7.0.0 → 7.0.1
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.
- package/bundles/igniteui-webcomponents-layouts.umd.js +5037 -4563
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ComboEditorView_combined.js +27 -27
- package/esm2015/lib/ExpansionPanelView_combined.js +7 -7
- package/esm2015/lib/GridColumnProviderOnAttachingOverrideEventArgs.js +18 -0
- package/esm2015/lib/ListPanelView_combined.js +1 -1
- package/esm2015/lib/NativeUILayoutFactory_combined.js +4314 -4089
- package/esm2015/lib/PropertyEditorPanelView_combined.js +26 -26
- package/esm2015/lib/TooltipTextPresenter.js +2 -2
- package/esm2015/lib/igc-tool-action-button-component.js +6 -6
- package/esm2015/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm2015/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm2015/lib/igc-tool-action-checkbox-list-component.js +97 -17
- package/esm2015/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm2015/lib/igc-tool-action-combo-component.js +8 -8
- package/esm2015/lib/igc-tool-action-component.js +94 -80
- package/esm2015/lib/igc-tool-action-field-selector-component.js +45 -45
- package/esm2015/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm2015/lib/igc-tool-action-icon-button-component.js +32 -32
- package/esm2015/lib/igc-tool-action-icon-menu-component.js +9 -9
- package/esm2015/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm2015/lib/igc-tool-action-radio-component.js +32 -32
- package/esm2015/lib/igc-tool-action-separator-component.js +6 -6
- package/esm2015/lib/igc-tool-action-sub-panel-component.js +3 -3
- package/esm2015/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm2015/lib/igc-tool-panel-component.js +156 -142
- package/esm2015/lib/igc-toolbar-component.js +99 -87
- package/esm2015/public_api.js +1 -0
- package/esm5/lib/ComboEditorView_combined.js +27 -27
- package/esm5/lib/ExpansionPanelView_combined.js +7 -7
- package/esm5/lib/GridColumnProviderOnAttachingOverrideEventArgs.js +21 -0
- package/esm5/lib/ListPanelView_combined.js +1 -1
- package/esm5/lib/NativeUILayoutFactory_combined.js +4171 -3886
- package/esm5/lib/PropertyEditorPanelView_combined.js +26 -26
- package/esm5/lib/TooltipTextPresenter.js +2 -2
- package/esm5/lib/igc-tool-action-button-component.js +6 -6
- package/esm5/lib/igc-tool-action-button-pair-component.js +103 -103
- package/esm5/lib/igc-tool-action-checkbox-component.js +27 -27
- package/esm5/lib/igc-tool-action-checkbox-list-component.js +129 -17
- package/esm5/lib/igc-tool-action-color-editor-component.js +3 -3
- package/esm5/lib/igc-tool-action-combo-component.js +8 -8
- package/esm5/lib/igc-tool-action-component.js +102 -80
- package/esm5/lib/igc-tool-action-field-selector-component.js +45 -45
- package/esm5/lib/igc-tool-action-group-header-component.js +6 -6
- package/esm5/lib/igc-tool-action-icon-button-component.js +32 -32
- package/esm5/lib/igc-tool-action-icon-menu-component.js +9 -9
- package/esm5/lib/igc-tool-action-number-input-component.js +3 -3
- package/esm5/lib/igc-tool-action-radio-component.js +32 -32
- package/esm5/lib/igc-tool-action-separator-component.js +6 -6
- package/esm5/lib/igc-tool-action-sub-panel-component.js +3 -3
- package/esm5/lib/igc-tool-action-text-input-component.js +2 -2
- package/esm5/lib/igc-tool-panel-component.js +164 -142
- package/esm5/lib/igc-toolbar-component.js +103 -91
- package/esm5/public_api.js +1 -0
- package/fesm2015/igniteui-webcomponents-layouts.js +5112 -4750
- package/fesm5/igniteui-webcomponents-layouts.js +5037 -4564
- package/lib/GridColumnProviderOnAttachingOverrideEventArgs.d.ts +8 -0
- package/lib/NativeUILayoutFactory_combined.d.ts +972 -935
- package/lib/igc-tool-action-checkbox-list-component.d.ts +40 -0
- package/lib/igc-tool-action-component.d.ts +4 -0
- package/lib/igc-tool-panel-component.d.ts +4 -0
- package/lib/igc-toolbar-component.d.ts +7 -1
- package/package.json +3 -3
- package/public_api.d.ts +1 -0
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,i,n){"use strict";var r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return t.getNativeElement().checked},n.b=function(t,e){t.getNativeElement().checked=e},n.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},n.$t=i.markType(n,"ExpansionPanelUtilities"),n}(i.Base),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnCollapsedEventArgs",i.EventArgs.$),n}(i.EventArgs),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnExpandedEventArgs",i.EventArgs.$),n}(i.EventArgs),a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.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.c1(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.j(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.j(188,0,0,0),n.bt=i.BrushUtil.j(188,0,0,0),n.r=2,n.bu=i.BrushUtil.j(255,245,245,245),n.bw=i.BrushUtil.j(66,0,0,0),n.bv=i.BrushUtil.j(30,0,0,0),n.br=i.BrushUtil.j(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.an,"ListPanel",(function(t){var i=t.componentRef.i;e(i)}),!1)},r.prototype.i=function(){this.b&&(this.b=!1,window.addEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.h=function(){this.b||(this.b=!0,window.removeEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.q=function(t){var e=this.a.bh;if(null!=e&&0!=e.b6){var i=this.r();this.a.bh.ce(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.an);if(null!=u){u.oi=h.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.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].e=t)},r.prototype.o=function(){if(this.a.disallowTabFocus){var t=this.a.bb.an;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].be=-1)}else{var o=this.a.bb.an;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.an,a=0;a<s.inputs.count;a++)null!==i.typeCast(n.XInput.$,s.inputs._inner[a])&&s.inputs._inner[a].cu()}},r.prototype.n=function(){null!=this.a.bh&&(this.a.bh.an.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.an.ay=this.a.cb)},r.prototype.j=function(t){var e=this;if(null==t)return this.i(),void(this.c=null);this.c=t,i.NativeUIComponent.au(this.c,7,(function(t){e.c.append(t.an),e.a.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.an;i.remove(),i.append(e.view.j.rootWrapper)},r.$t=i.markType(r,"ComboEditorView"),r}(i.Base),_=function(t){function r(){var e=t.call(this)||this;e.d0=null,e.kl=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BackgroundColor"),e.km=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.c8=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k6=n.XInputGroup.m.ai(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"ContentPadding"),e.ji=n.XInputGroup.m.y(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.kn=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.c9=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.ko=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.da=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.db=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.kp=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.dc=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.dd=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.kq=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.de=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.kr=n.XInputGroup.m.ad(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.df=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.dg=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.dh=n.XInputGroup.m.i(r.ag,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.bi=null,e.a0=null,e.ab=null,e.bl=!1,e.c=null,e.ju=null,e.jj=n.ThemeResolver.af(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.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderColor"),e.cm=NaN,e.cc=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"BorderWidth"),e.k3=new i.Thickness(1,NaN,NaN,NaN,NaN),e.k2=n.ThemeResolver.ak(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.aa(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"CornerRadius"),e.b=null,e.al=0,e.ak=0,e.bw=!0,e.jw=null,e.jl=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderColor"),e.cn=NaN,e.cd=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusBorderWidth"),e.jx=null,e.jm=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineColor"),e.co=NaN,e.ce=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineOpacity"),e.cp=NaN,e.cf=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"FocusUnderlineRippleOpacity"),e.jy=null,e.jn=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineColor"),e.cq=NaN,e.cg=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineOpacity"),e.cr=NaN,e.ch=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"HoverUnderlineWidth"),e.du=null,e.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.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineColor"),e.cs=NaN,e.ci=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineOpacity"),e.j4=null,e.jt=n.ThemeResolver.af(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleColor"),e.ct=NaN,e.cj=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleOpacity"),e.cu=NaN,e.ck=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineRippleWidth"),e.cv=NaN,e.cl=n.ThemeResolver.k(r.ag,n.XInputGroup.m,i.enumGetBox(n.InputGroupDisplayType_$type,0),"UnderlineWidth"),e.bk=!0,e.d6=null,e.d5=null,e.d=null,e.a=null,e.dv=null,e.q=0,e.b2=!1,e.bn=!1,e.bq=!1,e.br=!1,e.gotFocus=null,e.lostFocus=null,e.textValueChanged=null,e.selectedValueChanged=null,e.keyDown=null,e.change=null,e.changing=null,e.propertyChanged=null,e.a6=null,e.a9=null,e.a7=null,e.bd=null,e.bg=null,e.ac=null,e.d7=null,e.ca=!0,e.dt=0,e.b6=!1,e.l=null,e.v=0,e.b5=!1,e.b1=!1,e.b0=!1,e.by=!1,e.ba=null,e.a5=null,e.n=null,e.ds=-1,e.bo=!1,e.b8=!1,e.bp=!1,e.bm=!1,e.a8=null,e.bf=null;var o=e.aa();return e.ab=o,e}return e.__extends(r,t),r.prototype.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.b6;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.bn(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.cc(),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.av(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.bn(t.bd),t.bd.b7=t.text,t.bd.bs=i.runOn(t,t.hg),t.bd.bt=i.runOn(t,t.hh),t.bd.bx=i.runOn(t,t.hj),t.bd.n=i.runOn(t,t.hi),t.bd.bz=i.runOn(t,t.hk),t.g7(t.bu),t.bd.b6=r.d2,t.bd.cc=i.BrushUtil.j(255,0,0,0),t.bd.bn=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.av(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.bg.b7=!0,t.a5=e[2],t.a5.bi=new i.Thickness(0,4),t.ba=e[0],t.ba.bn(t.a5),t.a8=e[4],t.ba.bn(t.a8),t.a9.bn(t.bg),t.bf=e[3],t.bg.bn(t.ba),t.bg.bw=i.runOn(t,t.ih)}))},r.prototype.ih=function(t,e){null!=this.ad&&0==this.a8.bj&&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.b6||(t.b0=!this.b5,t.cg(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.cd()},r.prototype.hp=function(){if(this.bh.b6){this.closeUp();var t=this.bd;t.az();var e=null!=t.b7?t.b7.length:0;t.ca(e,e)}},r.prototype.hy=function(){this.bd.b1=!0,this.bd.b9();var t=new g;this.h2(t)},r.prototype.hz=function(){this.closeUp(),this.bd.b8();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.bp=t.density,this.bd.c=t.ah,this.bd.bu=t.s,this.bd.a8=t.j5,this.bd.a9=t.j6,this.bd.bg=new i.Thickness(0,t.cw),this.bd.bp=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.ce=t.kd,this.bd.bk=t.ax),null!=this.bd&&(this.bd.b5=t.f0),null!=this.a5){if(this.a5.ba=t.kc,this.a5.a8=t.kb,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bs=this.bf,this.bf.bm=this.actualNoMatchesFoundLabel,this.hn()}this.ad},r.prototype.i6=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b7=t}},r.prototype.i3=function(){var t=this.bh,e=null!=t&&t.b6;this.bd.b6=e?r.d3:r.d4},r.prototype.i5=function(){this.jd();var t=this.ac.ia(),e=Math.min(t.height,320);this.a8.y=e;var i=t.width;i=Math.max(i,150),this.a8.ae=i},r.prototype.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.a8=i.BrushUtil.j(255,255,255,255),t.ac.h8=i.BrushUtil.j(255,200,200,200),t.ac.h2=i.BrushUtil.j(255,100,100,100),t.ac.ef=32,t.ad.h6=i.BrushUtil.j(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.ao)i.NativeUIComponent.au(this.ab.d(),3,(function(t){var r=t;r.bk=n.ax,e.b.bs=r,e.b.ao="comboItem",r.f=0,r.h=1,r.bh=new i.Thickness(0,5),r.bm=n.fs(e.a.x)}));else e.b.bs.bm=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.ca(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.b0=!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.b0=!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.bj=this.b8?0:1;this.a8.bj;this.a8.bj=this.b8?1:0},r.prototype.g9=function(t){null!=this.bd&&(t?this.bd.a0():this.bd.az())},r.prototype.iv=function(){null!=this.bd&&this.bd.b9()},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.b6?this.closeUp():this.gw(null),null!=this.bd&&(this.bd.az(),this.bd.b9())},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.b7;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.b4;if(0==r)break;var o=this.bd.b7;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b3,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.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.b6&&(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.az(),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.ah(r.ag,n.XLabel.de,n.XLabel.c7),r.kk=n.ThemeResolver.ah(r.ag,n.XLabel.de,n.XLabel.c7),r.kj=i.BrushUtil.j(255,255,255,255),r.ay=null,r.et="ActualNoMatchesFoundLabelBackgroundColor",r.az=null,r.ks=i.BrushUtil.j(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 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}(),T=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}(),O=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 T;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),I=function(t){return t[t.None=0]="None",t[t.SingleRow=1]="SingleRow",t[t.MultipleRow=2]="MultipleRow",t}({}),S=i.markEnum("ListPanelSelectionMode","None,0|SingleRow,1|MultipleRow,2"),x=function(t){return t[t.None=0]="None",t[t.Cell=1]="Cell",t}({}),A=i.markEnum("ListPanelActivationMode","None,0|Cell,1"),N=function(t){return t[t.Toggle=0]="Toggle",t[t.ModifierBased=1]="ModifierBased",t}({}),B=i.markEnum("ListPanelSelectionBehavior","Toggle,0|ModifierBased,1"),R=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.af=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.ag=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.u=function(t){var e=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.af||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,e,t))},n.$t=i.markType(n,"ListPanelSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),E=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=null,n.a=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"ListPanelPrimaryKeyValue"),n}(i.Base),$=function(t){function n(){var e=t.call(this,E.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(E.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,E.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ListPanelSelectedKeysCollection",i.ObservableCollection$1.$.specialize(E.$)),n}(i.ObservableCollection$1),D=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),z=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=0,e.d=0,e.h=0,e.e=0,e.f=0,e.c=0,e.a=0,e.b=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelViewportChangedEventArgs"),n}(i.Base),V=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRecycledEventArgs",i.EventArgs.$),n}(i.EventArgs),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRebindEventArgs",i.EventArgs.$),n}(i.EventArgs),L=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentItems=null,e._addedItems=null,e._removedItems=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentItems",{get:function(){return this._currentItems},set:function(t){this._currentItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedItems",{get:function(){return this._addedItems},set:function(t){this._addedItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedItems",{get:function(){return this._removedItems},set:function(t){this._removedItems=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedItemsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentKeys=null,e._addedKeys=null,e._removedKeys=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentKeys",{get:function(){return this._currentKeys},set:function(t){this._currentKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedKeys",{get:function(){return this._addedKeys},set:function(t){this._addedKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedKeys",{get:function(){return this._removedKeys},set:function(t){this._removedKeys=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedKeysChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newActiveRow=0,e._oldActiveRow=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newActiveRow",{get:function(){return this._newActiveRow},set:function(t){this._newActiveRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldActiveRow",{get:function(){return this._oldActiveRow},set:function(t){this._oldActiveRow=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelActiveRowChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),G=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelItemPresenter"),n}(i.Base),K=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateWidthRequestedEventArgs"),n}(i.Base),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateHeightRequestedEventArgs"),n}(i.Base),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelColumnDefinition"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e.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.au(this.s(),9,(function(t){var i=t;e.a.f4(i),e.k=i.an}));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.q(e,this.a.h9),i.NativeUI.m(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 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.bg=new i.Thickness(1,this.dt,this.dv,this.du,this.ds):t.b.a.bg=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.a9=this.h2:t.b.a.a9=null,t.n?t.b.a.a8=this.h8:t.b.a.a8=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.bl(0),i.d=t.b.a.an,i.c=e,i))}var i},n.prototype.fx=function(t){var e=this;null==t.b&&(t.b=new W,i.NativeUIComponent.av(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bn(r),0==e.ad?n.f=3:n.f=0,t.b.a=n,null!=e.h6&&(t.b.a.a8=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 H;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 M),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)),P=w.next();!P.done;P=w.next()){var T=P.value;j.add1(T)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var O=null;if(null!=n.oldItems&&n.oldItems.count>0){O=new R;try{for(var k=e.__values(i.fromEn(n.oldItems)),I=k.next();!I.done;I=k.next()){var S=I.value;O.add1(S)}}catch(t){h={error:t}}finally{try{I&&!I.done&&(u=k.return)&&u.call(k)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new L).addedItems=j,l.removedItems=O,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)),P=w.next();!P.done;P=w.next()){var T=P.value;j.add(T)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var O=null;if(null!=n.oldItems&&n.oldItems.count>0){(O=new $).ag=!1;try{for(var k=e.__values(i.fromEn(n.oldItems)),I=k.next();!I.done;I=k.next()){var S=I.value;O.add(S)}}catch(t){h={error:t}}finally{try{I&&!I.done&&(u=k.return)&&u.call(k)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new F).addedKeys=j,l.removedKeys=O,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 H;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 H;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.j(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.ae=t.width,this.a.y=t.height},n.prototype.h=function(){return this.a.be()},n.prototype.b=function(t){return this.a.bs(t)},n.prototype.c=function(t){return this.a.bt(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bn(e.b.a)),0==t.ad?(i.isNaN_(t.absoluteWidth)||(e.b.a.ae=t.absoluteWidth),e.b.a.y=t.c7(e.v)):2==t.ad?(e.b.a.ae=t.c8(e.v),e.b.a.y=t.c7(e.v)):(e.b.a.ae=t.c8(e.v),e.b.a.y=t.absoluteHeight),e.o&&(e.o=!1,this.a.bu(e.b.a,e.s),this.a.bv(e.b.a,e.u))},n.prototype.e=function(t){this.a.bv(t,-1e3),this.a.bu(t,-1e3)},n.prototype.f=function(t){t.s=-1e3,t.u=-1e3,null!=t.b&&this.e(t.b.a)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),ot=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=!1,e.v=0,e.t=0,e.w=null,e.b=null,e.e=!1,e.l=!1,e.g=!0,e.h=!0,e.q=0,e.r=0,e.c=!1,e.d=!1,e.f=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){this.w!=t&&(this.m=!0),this.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.e},set:function(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.g},set:function(t){this.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.h},set:function(t){this.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&(this.p=!0)},enumerable:!1,configurable:!0}),n.prototype.a=function(t){var e=new Y;e.b=t.b(this.b.a),e.c=t.c(this.b.a);var i=this.b.a.be();return e.d=i.width,e.a=i.height,e.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.$t=i.markType(n,"ListPanelScrollerKeyboardListener",i.Base.$,[i.IScrollerKeyboardListener_$type]),n}(i.Base),bt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new st},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"itemInfo",{get:function(){var t=this.i.itemInfo;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.itemInfo=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listPanel",{get:function(){var t=this.i.listPanel;return null==t?null:t.externalObject},set:function(t){this.i.listPanel=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLeftButton",{get:function(){return this.i.isLeftButton},set:function(t){this.i.isLeftButton=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDoubleClick",{get:function(){return this.i.isDoubleClick},set:function(t){this.i.isDoubleClick=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),gt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new H},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newActiveRow",{get:function(){return this.i.newActiveRow},set:function(t){this.i.newActiveRow=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldActiveRow",{get:function(){return this.i.oldActiveRow},set:function(t){this.i.oldActiveRow=+t},enumerable:!1,configurable:!0}),t}(),yt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),mt=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),vt=function(t){function n(e){var n=t.call(this)||this;if(mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(mt.$type,E.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new mt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),_t=function(){function t(){this._currentKeys=null,this._addedKeys=null,this._removedKeys=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new F},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentKeys",{get:function(){if(null===this._currentKeys){var t=new vt,e=this.i.currentKeys;e||(e=new $),this._currentKeys=t._fromInner(e),this.i.currentKeys=e}return this._currentKeys},set:function(t){null!==this._currentKeys&&(this._currentKeys._setSyncTarget(null),this._currentKeys=null);var e=new vt;this._currentKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.currentKeys;r||(r=new $),n._inner=r,n.clear(),this._currentKeys._setSyncTarget(n),this.i.currentKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedKeys",{get:function(){if(null===this._addedKeys){var t=new vt,e=this.i.addedKeys;e||(e=new $),this._addedKeys=t._fromInner(e),this.i.addedKeys=e}return this._addedKeys},set:function(t){null!==this._addedKeys&&(this._addedKeys._setSyncTarget(null),this._addedKeys=null);var e=new vt;this._addedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.addedKeys;r||(r=new $),n._inner=r,n.clear(),this._addedKeys._setSyncTarget(n),this.i.addedKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedKeys",{get:function(){if(null===this._removedKeys){var t=new vt,e=this.i.removedKeys;e||(e=new $),this._removedKeys=t._fromInner(e),this.i.removedKeys=e}return this._removedKeys},set:function(t){null!==this._removedKeys&&(this._removedKeys._setSyncTarget(null),this._removedKeys=null);var e=new vt;this._removedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.removedKeys;r||(r=new $),n._inner=r,n.clear(),this._removedKeys._setSyncTarget(n),this.i.removedKeys=r},enumerable:!1,configurable:!0}),t}(),Ct=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),jt=function(){function t(){this._currentItems=null,this._addedItems=null,this._removedItems=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new L},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentItems",{get:function(){if(null===this._currentItems){var t=new Ct,e=this.i.currentItems;e||(e=new R),this._currentItems=t._fromInner(e),this.i.currentItems=e}return this._currentItems},set:function(t){null!==this._currentItems&&(this._currentItems._setSyncTarget(null),this._currentItems=null);var e=new Ct;this._currentItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.currentItems;r||(r=new R),n._inner=r,n.clear(),this._currentItems._setSyncTarget(n),this.i.currentItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedItems",{get:function(){if(null===this._addedItems){var t=new Ct,e=this.i.addedItems;e||(e=new R),this._addedItems=t._fromInner(e),this.i.addedItems=e}return this._addedItems},set:function(t){null!==this._addedItems&&(this._addedItems._setSyncTarget(null),this._addedItems=null);var e=new Ct;this._addedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.addedItems;r||(r=new R),n._inner=r,n.clear(),this._addedItems._setSyncTarget(n),this.i.addedItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedItems",{get:function(){if(null===this._removedItems){var t=new Ct,e=this.i.removedItems;e||(e=new R),this._removedItems=t._fromInner(e),this.i.removedItems=e}return this._removedItems},set:function(t){null!==this._removedItems&&(this._removedItems._setSyncTarget(null),this._removedItems=null);var e=new Ct;this._removedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.removedItems;r||(r=new R),n._inner=r,n.clear(),this._removedItems._setSyncTarget(n),this.i.removedItems=r},enumerable:!1,configurable:!0}),t}(),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}(),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 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}(),Tt=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 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),Ot=function(){function t(){}return t.register=function(){Tt.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",Tt),i.TypeRegistrar.registerCons("IgcListPanelComponent",Tt),i.TypeRegistrar.register("ListPanel",et.$type)},t}(),kt=function(){function t(){}return t.register=function(){n.IgcXInputGroupModule.register(),Ot.register(),O.register(),i.TypeRegistrar.registerCons("IgcComboEditorComponent",O),i.TypeRegistrar.registerCons("IgcComboEditorComponent",O),i.TypeRegistrar.register("ComboEditor",_.$type)},t}(),It=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t[t.TemplateRef=22]="TemplateRef",t[t.DoubleCollection=23]="DoubleCollection",t[t.Separator=24]="Separator",t[t.Header=25]="Header",t}({}),St=i.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21|TemplateRef,22|DoubleCollection,23|Separator,24|Header,25"),xt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),At=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",i.EventArgs.$),n}(i.EventArgs),Bt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.a=null,e.g=null,e.propertyChanged=null,e.j=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!1,configurable:!0}),n.prototype.p=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.q(t,e,n)},n.prototype.q=function(t,e,i){switch(t){case"DescriptionType":case"Context":this.r()}},n.d=function(t,e,i){var r=new n;return r.j=i,r.b=t,r.n=e,r.j=null,r},n.prototype.f=function(t){var e=new Rt;return e.a3=t.propertyName,e.w=this.i(t),e.a2=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ay=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ay)?e.e=this.j.item(e.ay):e.e=n.d(this.a,e.ay,this.j)),8==e.w&&(null!=this.j&&this.j.containsKey(e.a2)?e.e=this.j.item(e.a2):e.e=n.d(this.a,e.a2,this.j)),15==e.w&&(e.c=this.a.c(this.n,e.a3),e.d=e.d),e},n.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 23:return 23;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 22:return 22;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},n.prototype.r=function(){var t=new zt;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.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 xt)},n.prototype.a5=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new At).newValue=e.ar,t))},n.prototype.a9=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new Nt).propertyPath=t,n.target=e,n.value=i,n))},n.prototype.a7=function(){var t,e=this;if(null!=this.coercingValue){var i=((t=new Et).value=e.ar,t.complexValue=e.i,t.complexValues=e.m,t);this.coercingValue(this,i),this.ap=i.value,this.h=i.complexValue,this.l=i.complexValues}},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._complexValue=null,e._complexValues=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){return this._complexValue},set:function(t){this._complexValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){return this._complexValues},set:function(t){this._complexValues=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCoercingValueEventArgs",i.EventArgs.$),n}(i.EventArgs),$t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObject"),n}(i.Base),Dt=function(t){function n(){return t.call(this,$t.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize($t.$)),n}(i.ObservableCollection$1),zt=function(t){function n(){return t.call(this,Rt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(Rt.$)),n}(i.ObservableCollection$1),qt=function(t){function n(e){var n=t.call(this)||this;if(Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(Gt.$type,Rt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Gt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Vt=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new qt,e=this.i.a;e||(e=new zt),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new qt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.a;r||(r=new zt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.a=r},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),Ut=function(t){function n(e){var n=t.call(this)||this;if(Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(Vt.$type,$t.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Vt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new xt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new At},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),Mt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!1,configurable:!0}),t}(),Ht=function(){function t(){this._complexValues=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Et},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValue",{get:function(){var t=this.i.complexValue;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.complexValue=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.complexValues;e||(e=new Dt),this._complexValues=t._fromInner(e),this.i.complexValues=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.complexValues;r||(r=new Dt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.complexValues=r},enumerable:!1,configurable:!0}),t}(),Gt=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e._coercedComplexValues=null,e._properties=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._coercingValue=null,e._coercingValue_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Rt},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"name",{get:function(){return this.i.a0},set:function(t){this.i.a0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.az},set:function(t){this.i.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(St,t),this._a("valueType",i.enumToString(St,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedValueType",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(St,t),this._a("coercedValueType",i.enumToString(St,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ay},set:function(t){this.i.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primitiveValue",{get:function(){return this.i.ar},set:function(t){this.i.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedPrimitiveValue",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("min",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("editorWidth",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("labelWidth",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("max",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("step",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.i=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValue",{get:function(){var t=this.i.h;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.h=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.m;e||(e=new Dt),this._complexValues=t._fromInner(e),this.i.m=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.m;r||(r=new Dt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.m=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValues",{get:function(){if(null===this._coercedComplexValues){var t=new Ut,e=this.i.l;e||(e=new Dt),this._coercedComplexValues=t._fromInner(e),this.i.l=e}return this._coercedComplexValues},set:function(t){null!==this._coercedComplexValues&&(this._coercedComplexValues._setSyncTarget(null),this._coercedComplexValues=null);var e=new Ut;this._coercedComplexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.l;r||(r=new Dt),n._inner=r,n.clear(),this._coercedComplexValues._setSyncTarget(n),this.i.l=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useCoercedValue",{get:function(){return this.i.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("useCoercedValue",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new qt,e=this.i.r;e||(e=new zt),this._properties=t._fromInner(e),this.i.r=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new qt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.r;r||(r=new zt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.r=r},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:this.coercedComplexValue&&this.coercedComplexValue.name&&this.coercedComplexValue.name==t?this.coercedComplexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null!=this.coercedComplexValues&&this.coercedComplexValues.findByName&&this.coercedComplexValues.findByName(t)?this.coercedComplexValues.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPropertyDescriptionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},Object.defineProperty(n.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=i.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,i){var n=new Lt;n._provideImplementation(i),e.beforeButtonClicked&&e.beforeButtonClicked(e,n),e._buttonClicked&&e._buttonClicked(e,n)},this.i.buttonClicked=i.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=i.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,i){var n=new Ft;n._provideImplementation(i),e.beforeChanged&&e.beforeChanged(e,n),e._changed&&e._changed(e,n)},this.i.changed=i.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=i.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,i){var n=new Mt;n._provideImplementation(i),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,n),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,n)},this.i.targetPropertyUpdating=i.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercingValue",{get:function(){return this._coercingValue},set:function(t){var e=this;null!==this._coercingValue_wrapped&&(this.i.coercingValue=i.delegateRemove(this.i.coercingValue,this._coercingValue_wrapped),this._coercingValue_wrapped=null,this._coercingValue=null),this._coercingValue=t,this._coercingValue_wrapped=function(t,i){var n=new Ht;n._provideImplementation(i),e.beforeCoercingValue&&e.beforeCoercingValue(e,n),e._coercingValue&&e._coercingValue(e,n)},this.i.coercingValue=i.delegateCombine(this.i.coercingValue,this._coercingValue_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Wt=function(){function t(){}return t.register=function(){Gt.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",Gt),i.TypeRegistrar.register("PropertyEditorPropertyDescription",Rt.$type)},t}(),Kt=function(t){function n(){var e=t.call(this)||this;return e.c=1,e.e=null,e.f=null,e.propertyChanged=null,e.propertyUpdated=null,e}return e.__extends(n,t),n.b=function(t){return(e=new n).d=t.bindingMode,e.h=t.contextKey,e.j=t.propertyName,e;var e},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=t&&this.l("BindingMode",i.enumGetBox(i.ToolContextBindingMode_$type,e),i.enumGetBox(i.ToolContextBindingMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=t&&this.l("ContextKey",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=t&&this.l("PropertyName",e,t)},enumerable:!1,configurable:!0}),n.prototype.l=function(t,e,n){this.m(t,e,n),null!=this.propertyUpdated&&this.propertyUpdated(this,new i.PropertyUpdatedEventArgs(t,e,n)),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.m=function(t,e,i){},n.$t=i.markType(n,"ToolContextBinding",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Xt=function(){function t(){this._propertyUpdated=null,this._propertyUpdated_wrapped=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Kt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"bindingMode",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(i.ToolContextBindingMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyName",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"propertyUpdated",{get:function(){return this._propertyUpdated},set:function(t){var e=this;null!==this._propertyUpdated_wrapped&&(this.i.propertyUpdated=i.delegateRemove(this.i.propertyUpdated,this._propertyUpdated_wrapped),this._propertyUpdated_wrapped=null,this._propertyUpdated=null),this._propertyUpdated=t,this._propertyUpdated_wrapped=function(t,n){var r=new i.IgcPropertyUpdatedEventArgs;r._provideImplementation(n),e.beforePropertyUpdated&&e.beforePropertyUpdated(e,r),e._propertyUpdated&&e._propertyUpdated(e,r)},this.i.propertyUpdated=i.delegateCombine(this.i.propertyUpdated,this._propertyUpdated_wrapped)},enumerable:!1,configurable:!0}),t}(),Qt=function(t){function n(e){var n=t.call(this)||this;if(Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding"));var t=new i.SyncableObservableCollection$2(Xt.$type,Kt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Xt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Yt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(r,t),r.prototype.addHandler=function(t,e,n,r){switch(n){case 21:var o=t;o.selectedValueChanged=i.delegateCombine(o.selectedValueChanged,i.runOn(this,this.w)),this.u=r,this.v=e}},r.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUIComboSelectedItemsChangedEventArgs;null==t.value?n.a=[]:n.a=[t.value],this.u(this.v,n)}},r.prototype.getValue=function(e,n){switch(n){case 1:var r=1;switch(e.density){case 0:r=0;break;case 1:r=1;break;case 2:r=2;break;case 3:r=3;break;case 4:r=4}return i.enumGetBox(i.NativeUIDisplayDensity_$type,r);case 91:return e.gh;case 90:return e.j;case 8:return e.itemsSource;case 89:return[e.value]}return t.prototype.getValue.call(this,e,n)},r.prototype.removeHandler=function(t,e,n,r){switch(n){case 21:var o=t;o.selectedValueChanged=i.delegateRemove(o.selectedValueChanged,i.runOn(this,this.w)),this.u=null,this.v=null}},r.prototype.setValue=function(e,n,r){switch(n){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,r)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}return void(e.density=o);case 91:return void(e.gh=r);case 90:return void(e.j=[r]);case 8:var s=!1;if(null!=r&&null!==i.typeCast(i.Array_$type,r))for(var a=r,h=0;h<a.length;h++){if("string"==typeof a[h]){s=!0;break}break}if(s){for(var u=r,l=new i.List$1(i.Base.$,0),c=0;c<u.length;c++){var p=u[c],f={};f.label=p,l.add1(f)}e.itemsSource=l.toArray()}else e.itemsSource=r;return;case 89:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.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){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),Ce=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),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"combo: "+this.l!=null?this.l.aq():"null"},n.$t=i.markType(n,"ToolActionComboVisualData",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"),Te=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),Oe=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),ke=function(t){function n(){var e=t.call(this,Oe.$,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(Oe.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Oe.$,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(Oe.$)),n}(i.ObservableCollection$1),Ie=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),Se=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),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.i():"null"},n.$t=i.markType(n,"ToolActionCheckboxListVisualData",re.$),n}(re),Ae=function(t){return t[t.Label=0]="Label",t[t.Value=1]="Value",t}({}),Ne=i.markEnum("ToolActionFieldSelectorType","Label,0|Value,1"),Be=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),Re=function(t){return t[t.Change=0]="Change",t[t.AggregationChange=1]="AggregationChange",t}({}),Ee=i.markEnum("ToolActionFieldSelectorEventType","Change,0|AggregationChange,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"toolPanel: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionSubPanelVisualData",re.$),n}(re),De=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),ze=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),qe=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),Ve=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),Ue=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),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"checkbox: "+this.l!=null?this.l.w():"null"},n.$t=i.markType(n,"ToolActionRadioVisualData",re.$),n}(re),Fe=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),Me=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.j(255,237,239,245),r.x=i.BrushUtil.j(255,0,0,0),r.k="",r.a=n.c(),r.g=NaN,r.propertyChanged=null,r.j=e,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.u("Height",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.u("Padding",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.u("Background",e,this.w)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.u("TextColor",e,this.x)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.u("Text",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.u("FontInfo",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var e=this;i.NativeUIComponent.aw(this.j,[7,3],(function(i){e.e=i[0],e.e.bi=e.ac,e.e.y=e.i,e.e.a8=e.y,e.e.ao=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bl=!1,e.f.bm=e.p,e.f.ba=e.z,e.f.bk=e.b,e.e.bn(e.f),null!=t&&t()}))},n.prototype.aa=function(){if(i.isNaN_(this.g)){var t=document.createElement("canvas").getContext("2d");t.font=this.b.fontString;var e=t.measureText(this.p);this.g=e.width}return new i.Size(1,this.ac.left+this.ac.right+this.g,this.ac.top+this.ac.bottom+this.i)},n.c=function(){return(t=new i.FontInfo).q="Verdana",t.f=14,t.t="Normal",t.v="Normal",t.r="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.bi=this.ac,this.e.y=this.i,this.e.a8=this.y),null!=this.f&&(this.f.bm=this.p,this.f.ba=this.z,this.f.bk=this.b)},n.prototype.u=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.v(t,e,n)},n.prototype.v=function(t,e,i){switch(t){case"Background":case"Padding":case"Height":case"FontInfo":case"TextColor":this.s();break;case"Text":this.g=NaN,this.s()}},n.$t=i.markType(n,"TooltipTextPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),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"backButton: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionGroupHeaderVisualData",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"arrowIcon: "+this.l!=null?this.l.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",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,"ToolActionCheckboxVisualData",re.$),n}(re),Ke=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),Xe=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),Qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=2,e}return e.__extends(n,t),Object.defineProperty(n,"b",{get:function(){return null==n.a&&(n.a=new n),n.a},enumerable:!1,configurable:!0}),n.g=function(){i.NativeUIComponent.as(n.b)},Object.defineProperty(n.prototype,"flavor",{get:function(){return this.c},enumerable:!1,configurable:!0}),n.prototype.createComponent=function(t,e,i){switch(e){case 19:this.d(t,i);break;case 13:this.f(t,i);break;case 18:this.e(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:case 18:case 19:return!0}return!1},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new _;s.provideRenderer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Yt(s),h=new i.NativeUICombo;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new Pi;o.provideContainer(r);var s=new Ye(o),a=new ei;a.an=n,a.d=s,e(a)},n.prototype.e=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new Ci;o.provideContainer(r);var s=new Je(o),a=new ii;a.an=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),Ye=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.j4()},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.hj(this.x(e))},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ac)),this.u=r,this.y=e;break;case 12:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ad)),this.v=r,this.z=e;break;case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ab)),this.w=r,this.aa=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ac)),this.u=null,this.y=null;break;case 12:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ad)),this.v=null,this.z=null;break;case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.ab)),this.w=null,this.aa=null}},r.prototype.ac=function(t,e){null!=this.u&&this.u(this.y,e)},r.prototype.ad=function(t,e){null!=this.v&&this.v(this.z,e)},r.prototype.ab=function(t,e){null!=this.w&&this.w(this.aa,e)},r.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 108:return e}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},r.prototype.setValue=function(e,n,r){var o=e;switch(n){case 27:return void(o.actions=r);case 30:return void(o.u=i.EnumUtil.getEnumValue(ee,r));case 28:return void(o.c4=i.typeGetValue(r));case 18:return void(o.z=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 33:return void(o.jx=r);case 34:return void(o.ji=r);case 23:return void(o.jf=r);case 50:return void(o.jv=r);case 51:return void(o.jl=r);case 52:return void(o.jo=r);case 53:return void(o.ju=r);case 11:return void(o.ap=r);case 70:return void(o.jt=r);case 66:return void(o.j0=r);case 68:return void(o.j1=r);case 67:return void(o.jg=r);case 69:return void(o.jh=r);case 71:return void(o.jr=r);case 72:return void(o.js=r);case 83:return void(o.jw=r);case 84:return void(o.jn=r);case 85:return void(o.as=r);case 112:o.ar=r;break;case 109:return void(o.a6=r);case 111:return void(o.ck=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.c4;case 29:return r.b5;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.z);case 33:return r.jx;case 34:return r.ji;case 23:return r.jf;case 50:return r.jv;case 51:return r.jl;case 52:return r.jo;case 53:return r.ju;case 11:return r.ap;case 70:return r.jt;case 66:return r.j0;case 68:return r.j1;case 67:return r.jg;case 69:return r.jh;case 71:return r.jr;case 72:return r.js;case 83:return r.jw;case 84:return r.jn;case 85:return r.as;case 112:return r.ar;case 104:return r.a5;case 109:return r.a6;case 111:return r.ck}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.gu()},r.prototype.flushRefresh=function(t){t.f9()},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.g3(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.jj(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.g1(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.hb(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.cg(e)},r.prototype.setStringContextItem=function(t,e,i){t.hf(e,i)},r.prototype.getStringContextItem=function(t,e){return t.er(e)},r.prototype.setBoolContextItem=function(t,e,i){t.gz(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.a2(e)},r.prototype.setColorContextItem=function(t,e,i){t.g5(e,i)},r.prototype.getColorContextItem=function(t,e){return t.j2(e)},r.prototype.setDataContextItem=function(t,e,i){t.g9(e,i)},r.prototype.getDataContextItem=function(t,e){return t.c8(e)},r.prototype.markDirty=function(t,e){t.gc(e)},r.prototype.exportVisualData=function(t){return t.c5()},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Jt]),r}(n.XComponentBridge),Je=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.ac=null,i.v=null,i.ad=null,i.y=null,i.ae=null,i.x=null,i.ab=null,i.w=null,i.aa=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.gb()},r.prototype.z=function(t){switch(t){case 0:return 0;case 1:return 1;case 3:return 3;case 2:return 2;case 4:return 4}return 0},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.af)),this.y=r,this.ae=e;break;case 23:o.subMenuOpening=i.delegateCombine(o.subMenuOpening,i.runOn(this,this.ah)),this.x=r,this.ab=e;break;case 24:o.subMenuClosing=i.delegateCombine(o.subMenuClosing,i.runOn(this,this.ag)),this.w=r,this.aa=e}},r.prototype.ah=function(t,e){if(null!=this.x){var i=new 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(t,n,r){var o,s,a=t;switch(n){case 27:a.actions.clear();try{for(var h=e.__values(i.fromEnum(r)),u=h.next();!u.done;u=h.next()){var l=u.value;a.actions.add(l)}}catch(t){o={error:t}}finally{try{u&&!u.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}break;case 30:a.m=i.EnumUtil.getEnumValue(fe,r);break;case 28:a.by=i.typeGetValue(r);break;case 18:a.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r);break;case 33:a.f5=r;break;case 34:a.fs=r;break;case 23:a.fp=r;break;case 50:a.f3=r;break;case 51:a.fu=r;break;case 52:a.fw=r;break;case 53:a.f2=r;break;case 11:a.af=r;break;case 70:a.f1=r;break;case 66:a.f8=r;break;case 68:a.f9=r;break;case 67:a.fq=r;break;case 69:a.fr=r;break;case 71:a.fz=r;break;case 72:a.f0=r;break;case 83:a.f4=r;break;case 84:a.fv=r;break;case 85:a.aj=r;break;case 86:a.target=r;break;case 109:a.aw=r}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(fe,n.m);case 28:return n.by;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.x);case 33:return n.f5;case 34:return n.fs;case 23:return n.fp;case 50:return n.f3;case 51:return n.fu;case 52:return n.fw;case 53:return n.f2;case 11:return n.af;case 70:return n.f1;case 66:return n.f8;case 68:return n.f9;case 67:return n.fq;case 69:return n.fr;case 71:return n.fz;case 72:return n.f0;case 83:return n.f4;case 84:return n.fv;case 85:return n.aj;case 86:return n.target;case 104:return n.av;case 109:return n.aw}return null},r.prototype.flushRefresh=function(t){t.d2()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.eo(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.ft(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.en(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.es(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.bd(e)},r.prototype.setStringContextItem=function(t,e,i){t.e0(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cr(e)},r.prototype.setBoolContextItem=function(t,e,i){t.em(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.au(e)},r.prototype.setColorContextItem=function(t,e,i){t.ep(e,i)},r.prototype.getColorContextItem=function(t,e){return t.ga(e)},r.prototype.setDataContextItem=function(t,e,i){t.er(e,i)},r.prototype.getDataContextItem=function(t,e){return t.b3(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[ae]),r}(n.XComponentBridge),Ze=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.f8(),e.a.d3(i)}),!1);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.l.rootWrapper.setStyleProperty("position","relative")}else this.l=null},n.prototype.ab=function(){},n.prototype.aa=function(){this.l},n.prototype.v=function(){if(null!=this.l){var t=this.l.rootWrapper.width(),e=this.l.rootWrapper.height();this.a.userSetWidth||0!=this.a.m||(this.l.rootWrapper.setStyleProperty("min-width",this.i+"px"),t=this.i),this.ad=new i.Size(1,t,e),this.a.d6(this.ad)}},n.prototype.ac=function(){var t=this.l;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.f5),i.NativeUI.m(e,this.a.fp))}},n.prototype.e=function(){return this.b},n.prototype.f=function(){return this.c},n.prototype.x=function(){},n.prototype.z=function(){},n.prototype.u=function(){},n.prototype.j=function(){return this.ad.width},n.prototype.k=function(t){return this.d=this.a.ag(),i.FontUtil.measureStringWidth(t,this.d,this.g)},n.prototype.t=function(t,e){null==this.m&&(this.m=this.l.createElement("div")),e(this.m.getNativeElement())},n.$t=i.markType(n,"ToolbarView"),n}(i.Base),ti=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.ga(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.gg(this.an),this.c.at}},n.prototype.o=function(){return this.r.rootWrapper.getNativeElement().offsetWidth},n.prototype.n=function(){return this.r.rootWrapper.getNativeElement().offsetHeight},n.prototype.al=function(){var t=this.r;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.jx),i.NativeUI.m(e,this.c.jf))}},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 Pi;this.r.getExternal(e,this.r.rootWrapper,this.r.getExternal(this.c,null,null));return t.an.appendChild(e.v.r.rootWrapper.getNativeElement()),e},n.prototype.am=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,s=e.height;return new i.Rect(0,n,r,o,s)},n.prototype.aa=function(){this.c.externalObject.ensureStretch()},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),ei=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bp=null,e.bk=null,e.bl=null,e.br=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bo",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(85)},set:function(t){this.a4(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(112)},set:function(t){this.a4(112,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bo.getContext(this.am)},set:function(t){this.bo.setContext(this.am,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ag(111)},set:function(t){this.a4(111,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,null!=this.bp?this.aq(10,this.bp):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,null!=this.bk?this.aq(11,this.bk):this.a2(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(12,this.bl):this.a2(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),n.prototype.b5=function(){this.bo.refresh(this.am)},n.prototype.b6=function(t){this.bo.updateDensity(this.am,t)},n.prototype.b2=function(){this.bo.flushRefresh(this.am)},n.prototype.b4=function(t){this.bo.notifySizeChanged(this.am,t)},n.prototype.b3=function(t){this.bo.markDirty(this.am,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),ii=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.br=null,e.bo=null,e.bn=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bk",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ag(86)},set:function(t){this.a4(86,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(109)},set:function(t){this.a4(109,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(85)},set:function(t){this.a4(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(104)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(10,this.bl):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bo},set:function(t){var e=this.bo;this.bo=t,null!=this.bo?this.aq(23,this.bo):this.a2(23,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,null!=this.bo?this.aq(24,this.bn):this.a2(24,e)},enumerable:!1,configurable:!0}),n.prototype.b2=function(){this.bk.flushRefresh(this.am)},n.prototype.b3=function(t){this.bk.notifySizeChanged(this.am,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),ni=function(t){function n(){var e,n=t.call(this)||this;n.r=null,n.bl=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bo=new i.List$1(i.String_$type,0),n.bn=new i.HashSet$1(i.String_$type,0),n.bk=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bj=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.br=NaN,n.au=!1,n.p=new de,n.s=null,n.c=null,n.cy=null,n.h=null,n.j=new _i,n.dm=null,n.dj=null,n.en=null,n.g=null,n.g4=i.BrushUtil.j(0,0,0,0),n.ab=null,n.bv=30,n.bt=NaN,n.bu=NaN,n.bq=24,n.bs=NaN,n.bp=24,n.propertyChanged=null,n.bm=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.ac=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.onCommand=null,n.performed=null,n.z=null,n.ap=null,n.am=null,n.ai=null,n.ar=null,n.ao=null,n.as=null,n.at=null,n.u=0,n.an=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.fv));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.fw));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.f4));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.f5)),n}return e.__extends(n,t),n.prototype.get_ba=function(){return!1},Object.defineProperty(n.prototype,"ba",{get:function(){return this.get_ba()},enumerable:!1,configurable:!0}),n.prototype.gq=function(t,n){var r,o,s,a;if(this.bl.item(t,n),this.bk.containsKey(t)){var h=this.bk.item(t),u=new i.List$1(Kt.$,0);try{for(var l=e.__values(i.fromEnum(h)),c=l.next();!c.done;c=l.next()){var p=c.value;u.add(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u)),d=f.next();!d.done;d=f.next()){var b=d.value;this.gj(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.gj=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gu)),null!=t.h&&this.bj.containsKey(t.h)){var e=this.bj.item(t.h);e.remove(t),0==e.count&&this.bj.removeItem(t.h)}if(null!=t.j&&this.bk.containsKey(t.j)){var n=this.bk.item(t.j);n.remove(t),0==n.count&&(this.bk.removeItem(t.j),this.bn.contains(t.j)&&(this.bn.remove(t.j),this.bo.remove(t.j)))}}},n.prototype.gk=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gu)),null!=e&&this.bj.containsKey(e)){var r=this.bj.item(e);r.remove(t),0==r.count&&this.bj.removeItem(t.h)}if(null!=n)if(this.bk.containsKey(n))this.bk.item(n).remove(t),this.bn.contains(t.j)&&(this.bn.remove(t.j),this.bo.remove(t.j))}},n.prototype.fa=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.gu)),null!=t.h)if(this.bj.containsKey(t.h)){var e=this.bj.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Kt.$,0);n.add(t),this.bj.addItem(t.h,n)}if(null!=t.j)if(this.bk.containsKey(t.j)){var r=this.bk.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Kt.$,0);o.add(t),this.bk.addItem(t.j,o),this.bn.contains(t.j)||(this.bn.add_1(t.j),this.bo.add(t.j))}}},n.prototype.gu=function(t,e){switch(e.propertyName){case"ContextKey":this.gk(t,e.oldValue,t.j),this.fa(t);break;case"PropertyName":this.gk(t,t.h,e.oldValue),this.fa(t)}},n.prototype.cv=function(t,e){if(this.bl.containsKey(t))return this.bl.item(t);if(this.bk.containsKey(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a1(r))return this.cs(r,e)}return e},n.prototype.i=function(t,e,n){if(this.bl.containsKey(e))return i.typeCastObjTo$t(t,this.bl.item(e));if(this.bk.containsKey(e))for(var r=this.bk.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.a1(s)){var a=this.cs(s,i.getBoxIfEnum(t,n));return"number"==typeof a?i.typeCastObjTo$t(t,i.EnumUtil.toObject(t,i.typeGetValue(a))):i.typeCastObjTo$t(t,a)}}return n},n.prototype.cu=function(t,e){if(this.bl.containsKey(t))return this.bl.item(t);if(this.bk.containsKey(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a1(r))return this.cs(r,e)}return e},n.prototype.cs=function(t,e){return null==this.r||null==this.r.p?e:this.r.p.c(t.h)?this.r.p.g(t.h):e},n.prototype.gn=function(t,e){null!=this.r&&null!=this.r.p&&null!=t.h&&(this.gr(t.h),this.r.p.i(t.h,e),this.gs(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.ga("ContextBindings",e,this.p)},enumerable:!1,configurable:!0}),n.prototype.ay=function(){return this.bo.count>0},n.prototype.fq=function(t){for(var e=0;e<this.bo.count;e++){var i=this.bo._inner[e];if(this.bk.containsKey(i))for(var n=this.bk.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.a1=function(t){return null!=this.r&&null!=this.r.p&&this.r.p.c(t.h)},n.prototype.go=function(t,e){if(this.a0(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.gn(r,e)}else this.bl.item(t,e)},n.prototype.az=function(t){return!!this.bj.containsKey(t)},n.prototype.a0=function(t){return!!this.bk.containsKey(t)},n.prototype.gp=function(t){var e=this.r;if(this.r=t,null!=this.r&&(null!=this.ah&&null!=this.r.v.r&&this.ah.w(this.r.v.r),this.bf=this.r.a8),this.r!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.f6)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.f7))),null!=this.r){var n=this.r;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.f6));var r=this.r;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.f7))}this.f9(e,t),this.z=null}},n.prototype.ct=function(t){return null==t||null==t.j?null:this.bl.containsKey(t.j)?this.bl.item(t.j):null},n.prototype.f9=function(t,e){null!=this.ai&&(this.ai.bm=i.runOn(this,this.fy))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.ga("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cz",{get:function(){return null!=this.el?this.el:null!=this.e5?this.ew(this.e5):(null==this.cy&&(this.cy=i.Guid.newGuid().toString()),this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.j},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.cv("Width",NaN)},set:function(t){var e=this.co;e!=t&&(this.gq("Width",t),this.ga("Width",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.cv("Height",NaN)},set:function(t){var e=this.b9;e!=t&&(this.gq("Height",t),this.ga("Height",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return i.typeGetValue(this.cv("SubPanelRowHeight",-1))},set:function(t){var e=this.cp;e!=t&&(this.gq("SubPanelRowHeight",t),this.ga("SubPanelRowHeight",e,t))},enumerable:!1,configurable:!0}),n.prototype.fc=function(){null!=this.ai&&(this.ai.bm=null),null!=this.r&&this.r.gc(this),this.g=null},n.prototype.f4=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.gj(l)}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var c=e.__values(i.fromEn(n.newItems)),p=c.next();!p.done;p=c.next()){var f=p.value;this.fa(f)}}catch(t){s={error:t}}finally{try{p&&!p.done&&(a=c.return)&&a.call(c)}finally{if(s)throw s.error}}},n.prototype.f5=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.gj(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.fv=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;l.fc(),l.h=null;var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.fz))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;d.h=this;var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.fz)),d.t=this.t}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},n.prototype.fw=function(t,n){var r,o;try{for(var s=e.__values(i.fromEnum(this.actions)),a=s.next();!a.done;a=s.next()){var h=a.value;h.fc(),h.h=null}}catch(t){r={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}},n.prototype.fz=function(t,e){this.fb(t,e.propertyName)},n.prototype.fb=function(t,e){null!=this.h&&this.h.fb(t,e)},n.prototype.ew=function(t){return i.stringReplace(t," ","_")},n.prototype.l=function(t){var e,i=this;return(e=new ge).g=i.cz,e.a=i.aa,e.c=t,e},n.prototype.fs=function(t){var e,n=this;null==this.dp&&null==this.cq||t.add(((e=new i.ToolCommandArgument).argumentName=n.eu(),e.value=n.cw(),e)),this.ft(t)},n.prototype.ft=function(t){},n.prototype.eu=function(){return null!=this.dp?this.dp:null!=this.cz?this.cz:"Unknown"},n.prototype.cw=function(){return null!=this.cq?this.cq:this.cx()},n.prototype.cx=function(){return null},Object.defineProperty(n.prototype,"es",{get:function(){return this.cv("ParentId",null)},set:function(t){var e=this.es;e!=t&&(this.gq("ParentId",t),this.ga("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.ev=function(){return null!=this.ds?this.ds:this.cz},Object.defineProperty(n.prototype,"ds",{get:function(){return this.cv("CommandId",null)},set:function(t){var e=this.ds;e!=t&&(this.gq("CommandId",t),this.ga("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dp",{get:function(){return this.cv("CommandArgument",null)},set:function(t){var e=this.dp;e!=t&&(this.gq("CommandArgument",t),this.ga("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.cv("CommandArgumentValue",null)},set:function(t){var e=this.cq;e!=t&&(this.gq("CommandArgumentValue",t),this.ga("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.gq("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.ga("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.cv("PaddingLeft",NaN)},set:function(t){var e=this.ck;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingLeft",t),this.ga("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.cv("ActualPaddingLeft",NaN)},set:function(t){var e=this.b1;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualPaddingLeft",t),this.ga("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.cv("PaddingRight",NaN)},set:function(t){var e=this.cl;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingRight",t),this.ga("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return this.cv("ActualPaddingRight",NaN)},set:function(t){var e=this.b2;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualPaddingRight",t),this.ga("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.cv("PaddingBottom",NaN)},set:function(t){var e=this.cj;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingBottom",t),this.ga("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.cu("ActualPaddingBottom",NaN)},set:function(t){var e=this.b0;e!=t&&(this.gq("ActualPaddingBottom",t),this.ga("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.cv("PaddingTop",NaN)},set:function(t){var e=this.cm;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingTop",t),this.ga("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.cv("ActualPaddingTop",NaN)},set:function(t){var e=this.b3;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualPaddingTop",t),this.ga("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g8",{get:function(){return this.cv("ActualHoverBackground",null)},set:function(t){var e=this.g8;e!=t&&(this.gq("ActualHoverBackground",t),this.ga("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.cv("HoverBackground",null)},set:function(t){var e=this.hg;e!=t&&(this.gq("HoverBackground",t),this.ga("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g5",{get:function(){return this.cv("ActualBackground",null)},set:function(t){var e=this.g5;e!=t&&(this.gq("ActualBackground",t),this.ga("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.cu("Background",null)},set:function(t){var e=this.hd;e!=t&&(this.gq("Background",t),this.ga("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.cu("ActualTextColor",null)},set:function(t){var e=this.hc;e!=t&&(this.gq("ActualTextColor",t),this.ga("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.cv("TextColor",null)},set:function(t){var e=this.hk;e!=t&&(this.gq("TextColor",t),this.ga("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.cu("ActualSubtitleTextColor",null)},set:function(t){var e=this.hb;e!=t&&(this.gq("ActualSubtitleTextColor",t),this.ga("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.cv("SubtitleTextColor",null)},set:function(t){var e=this.hj;e!=t&&(this.gq("SubtitleTextColor",t),this.ga("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g6",{get:function(){return this.cv("ActualDisabledTextColor",null)},set:function(t){var e=this.g6;e!=t&&(this.gq("ActualDisabledTextColor",t),this.ga("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.cv("DisabledTextColor",null)},set:function(t){var e=this.he;e!=t&&(this.gq("DisabledTextColor",t),this.ga("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.cv("ActualTextStyle",null)},set:function(t){var e=this.ae;e!=t&&(this.gq("ActualTextStyle",t),this.ga("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.cv("TextStyle",null)},set:function(t){var e=this.ah;e!=t&&(this.gq("TextStyle",t),this.ga("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.cv("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gq("ActualSubtitleTextStyle",t),this.ga("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.cv("SubtitleTextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gq("SubtitleTextStyle",t),this.ga("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return this.cv("IsDisabled",!1)},set:function(t){var e=this.a8;e!=t&&(this.gq("IsDisabled",t),this.ga("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.cu("IsHighlighted",!1)},set:function(t){var e=this.a9;e!=t&&(this.gq("IsHighlighted",t),this.ga("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"w",{get:function(){return this.i(i.ControlDisplayDensity_$type,"Density",0)},set:function(t){var e=this.w;e!=t&&(this.gq("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.ga("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.gq("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.ga("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return null!=this.es},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"el",{get:function(){return this.cv("Name",null)},set:function(t){var e=this.el;e!=t&&(this.gq("Name",t),this.ga("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.cv("Title",null)},set:function(t){var e=this.e5;e!=t&&(this.gq("Title",t),this.ga("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ez",{get:function(){return this.cv("Subtitle",null)},set:function(t){var e=this.ez;e!=t&&(this.gq("Subtitle",t),this.ga("Subtitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g3",{get:function(){return i.EnumUtil.getEnumValue(i.HorizontalAlignment_$type,this.cv("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,0)))},set:function(t){var e=this.g3;e!=t&&(this.gq("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,t)),this.ga("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,t)))},enumerable:!1,configurable:!0}),n.prototype.get_cn=function(){return this.bv},Object.defineProperty(n.prototype,"cn",{get:function(){return this.get_cn()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d9",{get:function(){return this.cv("IconName",null)},set:function(t){var e=this.d9;e!=t&&(this.gq("IconName",t),this.ga("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d4",{get:function(){return this.cv("IconCollectionName",null)},set:function(t){var e=this.d4;e!=t&&(this.gq("IconCollectionName",t),this.ga("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.cv("IconViewBoxLeft",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("IconViewBoxLeft",t),this.ga("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.cv("IconViewBoxTop",NaN)},set:function(t){var e=this.cg;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("IconViewBoxTop",t),this.ga("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.cv("IconViewBoxWidth",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("IconViewBoxWidth",t),this.ga("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.cv("IconViewBoxHeight",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("IconViewBoxHeight",t),this.ga("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.cv("IconFill",null)},set:function(t){var e=this.hh;e!=t&&(this.gq("IconFill",t),this.ga("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.cv("ActualIconFill",null)},set:function(t){var e=this.g9;e!=t&&(this.gq("ActualIconFill",t),this.ga("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.cv("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gq("IconFillColors",t),this.ga("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.cv("IconStroke",null)},set:function(t){var e=this.hi;e!=t&&(this.gq("IconStroke",t),this.ga("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ha",{get:function(){return this.cv("ActualIconStroke",null)},set:function(t){var e=this.ha;e!=t&&(this.gq("ActualIconStroke",t),this.ga("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.cv("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gq("IconStrokeColors",t),this.ga("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.cv("IconStrokeWidth",NaN)},set:function(t){var e=this.cd;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("IconStrokeWidth",t),this.ga("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.ga("IconWidth",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.ga("ActualIconWidth",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.ga("IconHeight",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.ga("ActualIconHeight",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.i(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.hl;e!=t&&(this.gq("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.ga("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.cv("CloseOnExecute",!1)},set:function(t){var e=this.aw;e!=t&&(this.gq("CloseOnExecute",t),this.ga("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.cv("HighlightWidth",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("HighlightWidth",t),this.ga("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.cv("ActualHighlightWidth",NaN)},set:function(t){var e=this.bx;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualHighlightWidth",t),this.ga("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.cv("HighlightRadius",NaN)},set:function(t){var e=this.ca;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("HighlightRadius",t),this.ga("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.cv("ActualHighlightRadius",NaN)},set:function(t){var e=this.bw;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualHighlightRadius",t),this.ga("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.cv("HighlightColor",null)},set:function(t){var e=this.hf;e!=t&&(this.gq("HighlightColor",t),this.ga("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.cv("ActualHighlightColor",null)},set:function(t){var e=this.g7;e!=t&&(this.gq("ActualHighlightColor",t),this.ga("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.cv("StopPropagation",!1)},set:function(t){var e=this.bf;e!=t&&(this.gq("StopPropagation",t),this.ga("StopPropagation",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_a3=function(){return!0},Object.defineProperty(n.prototype,"a3",{get:function(){return this.get_a3()},enumerable:!1,configurable:!0}),n.prototype.get_a4=function(){return!0},Object.defineProperty(n.prototype,"a4",{get:function(){return this.get_a4()},enumerable:!1,configurable:!0}),n.prototype.get_bd=function(){return!0},Object.defineProperty(n.prototype,"bd",{get:function(){return this.get_bd()},enumerable:!1,configurable:!0}),n.prototype.get_bg=function(){return!0},Object.defineProperty(n.prototype,"bg",{get:function(){return this.get_bg()},enumerable:!1,configurable:!0}),n.prototype.get_av=function(){return!0},Object.defineProperty(n.prototype,"av",{get:function(){return this.get_av()},enumerable:!1,configurable:!0}),n.prototype.f0=function(){null!=this.h&&this.h.f0()},n.prototype.ga=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gi(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.gi=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.g1();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":case"HoverBackground":this.g1(),this.gt();break;case"ActualDensity":this.fx();break;case"Density":this.gt(),0==this.w?this.v=this.y:this.v=this.w;break;case"ActualBackground":null!=this.aq&&(this.aq.a8=this.g5);break;case"ActualTextStyle":case"Subtitle":case"Title":case"TitleHorizontalAlignment":case"ActualSubtitleTextStyle":this.au=!0,this.gt(),this.gz(),this.fo();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.gt(),this.gz();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":this.gt(),null!=this.ar&&(this.ar.bb=this.g9,this.ar.bc=this.ha,this.ar.bk=this.a,this.ar.bl=this.b);break;case"Visibility":this.gt(),this.ge();break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.gt(),this.f8();break;case"IsHighlighted":this.gt(),this.gy(this.aq);break;case"StopPropagation":null!=this.ai&&(this.ai.bx=this.bf);break;case"BaseTheme":try{for(var a=e.__values(i.fromEnum(this.actions)),h=a.next();!h.done;h=a.next()){h.value.t=this.t}}catch(t){o={error:t}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}this.g1()}},n.prototype.gz=function(){null!=this.at&&(this.at.bm=this.ez,this.at.ba=this.a8?this.g6:this.hb,this.at.bk=this.ad),null!=this.as&&(this.as.bm=this.e5,this.as.ba=this.a8?this.g6:this.hc,this.as.bk=this.ae,this.as.h=this.a2()?2:1,this.as.f=this.aj()),null!=this.ao&&(this.a2()?1==this.ao.b1&&(this.ao.b4(1,2,1),this.ao.bn(this.at),this.ao.cc(this.at,1)):2==this.ao.b1&&(this.ao.b9(1),this.ao.bp(this.at)))},n.prototype.gr=function(t){this.bm.containsKey(t)?this.bm.item(t,this.bm.item(t)+1):this.bm.item(t,1)},n.prototype.gs=function(t){this.bm.containsKey(t)&&(this.bm.item(t,this.bm.item(t)-1),this.bm.item(t)<=0&&this.bm.removeItem(t))},n.prototype.bc=function(t){return this.bm.containsKey(t)},n.prototype.f6=function(t,e){this.bc(e.c)||this.az(e.c)&&this.gh(e.c,e.b,e.a)},n.prototype.f7=function(t,e){for(var i=0;i<this.bo.count;i++)for(var n=this.bo._inner[i],r=this.bk.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.bc(s.h)&&this.a1(s)){var a=null;a=this.bl.containsKey(s.j)?this.bl.item(s.j):this.cs(s,null),this.ga(s.j,a,this.cs(s,null))}}},n.prototype.gh=function(t,e,i){if(this.bj.containsKey(t))for(var n=this.bj.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.ga(o.j,e,i)}},n.prototype.ak=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},n.prototype.x=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},Object.defineProperty(n.prototype,"a6",{get:function(){return 0==this.v},enumerable:!1,configurable:!0}),n.prototype.fx=function(){this.gv()},n.prototype.gv=function(){},n.prototype.gy=function(t){null!=t&&(this.a9?(t.bg=new i.Thickness(0,i.DeviceUtils.g(this.bx)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(this.bw))):(t.bg=new i.Thickness(0,i.DeviceUtils.g(0)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.a9=this.g7)},n.prototype.bb=function(){return null!=this.r&&null!=this.r.da&&null!==i.typeCast(Ci.$,this.r.da)},n.prototype.g1=function(){null!=this.r&&(this.t=this.r.z,this.hc=null!=this.hk?this.hk:this.r.ja,this.hb=null!=this.hj?this.hj:this.r.i9,this.g6=null!=this.he?this.he:this.r.ix,this.g8=null!=this.hg?this.hg:this.r.i3,this.g9=null!=this.hh?this.hh:this.r.i4,this.ha=null!=this.hi?this.hi:this.r.i5,this.ae=null!=this.ah?this.ah:this.r.am,this.ad=null!=this.ag?this.ag:this.r.ao,this.bx=i.isNaN_(this.cb)?this.r.b4:this.cb,this.bw=i.isNaN_(this.ca)?this.r.b3:this.ca,this.g7=null!=this.hf?this.hf:this.r.i2),this.g5=null!=this.hd?this.hd:this.g4,null!=this.ar&&(this.ar.bk=this.a,this.ar.bl=this.b),this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(12):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(12):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(2):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(2):this.cj,this.bz=i.isNaN_(this.ci)?this.b8():this.ci,this.by=i.isNaN_(this.cc)?this.b8():this.cc,this.g2()},n.prototype.b8=function(){switch(this.v){case 0:case 3:case 1:case 2:return i.DeviceUtils.g(24);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(24)},n.prototype.g2=function(){},n.prototype.f8=function(){null!=this.ar&&(this.ar.br=this.d9,this.ar.bq=this.d4,this.ar.ae=i.DeviceUtils.g(this.bz),this.ar.y=i.DeviceUtils.g(this.by))},n.prototype.gt=function(){null!=this.en&&null!=this.g&&this.g.gg(this)},n.prototype.ge=function(){null!=this.r&&this.r.gv(),null!=this.ap&&(this.ap.bj=this.hl)},n.prototype.gc=function(t,e,i,n){var r=this;this.fp(i.b,i,n,(function(t){r.ap=t,r.fn(i.b,r.ap,n,(function(){i.b.bs=r.ap,r.gw(r.am,r.ar,r.as,r.at),r.gd(null==r.am?r.ap:r.am,i,n)}))}))},n.prototype.gd=function(t,e,i){},n.prototype.fg=function(t,e){this.fh(t,e)},n.prototype.fh=function(t,e){if(e.f=this.b5(t,e),e.h=this.b7(t,e),e.g=this.b6(t,e),e.b=this.b4(t,e),i.isNaN_(this.b9)||(e.d=this.b9),i.isNaN_(this.co))if(1==e.a||2==e.a){var n=0;i.isNaN_(e.f)||(n+=e.f),i.isNaN_(e.h)||(n+=e.h),i.isNaN_(e.g)||(n+=e.g),i.isNaN_(e.b)||(n+=e.b),n+=this.b1+this.b2,e.e=n}else{var r=0;i.isNaN_(e.f)||(r+=e.f),i.isNaN_(e.h)||(r+=e.h),i.isNaN_(e.g)||(r+=e.g),i.isNaN_(e.b)||(r+=e.b),r+=this.b1+this.b2,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.co},n.prototype.b6=function(t,e){return NaN},n.prototype.b7=function(t,e){var n=NaN;return null!=this.e5&&null!=this.ae&&(n=t.v.q(this.e5,this.ae)),null!=this.ez&&null!=this.ad&&(n=Math.max(n,t.v.q(this.ez,this.ad))),i.isNaN_(n)?NaN:n+this.cn},n.prototype.b5=function(t,e){return i.stringIsNullOrEmpty(this.d9)?NaN:i.DeviceUtils.g(36)},n.prototype.af=function(t){return null!=this.ah?this.ah:t.aq()},n.prototype.b4=function(t,e){return NaN},n.prototype.gb=function(t,e){if(this.gl(),this.a7){var i=this.r.h(this.es);null!=i&&i.f1(this,this.aw)}else if(this.r.a4(this)){if(null!=this.performed){var n=new me;this.ff(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.gl=function(){var t=this,e=this.ev();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.fe(this,r),n.argumentsList=r.toArray();var o,s=((o=new Zt).a=n,o.b=t.aw,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.r&&this.r.gn(this,s)}},n.prototype.gm=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.gn(this,n)},n.prototype.bh=function(){return null!=this.onCommand},n.prototype.fe=function(t,e){t.fs(e);var i=this.r.bc(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a5()&&this.fe(i._inner[n],e)},n.prototype.a5=function(){return!0},n.prototype.f1=function(t,e){if(this.a7){var i=this.r.h(this.es);null!=i&&i.f1(t,e)}else this.gb(this.l(!1),t),e&&this.fd()},n.prototype.ff=function(t,e,i){var n=t.l(t==i);e.add(n);var r=this.r.bc(t);if(null!=r)for(var o=0;o<r.count;o++)this.ff(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new ci;break;case 2:e=new mi;break;case 11:e=new ai;break;case 14:e=new oi;break;case 13:e=new si;break;case 1:e=new gi;break;case 3:e=new bi;break;case 4:e=new pi;break;case 5:e=new vi;break;case 15:e=new li;break;case 6:e=new fi;break;case 7:e=new di;break;case 8:e=new yi;break;case 10:e=new ui;break;case 16:e=new ri;break;case 12:e=new hi;break;case 0:return null}return e.z=t,e.fr(),e},n.prototype.fr=function(){if(this.el=this.z.name,this.e5=this.z.title,this.dp=this.z.commandArgument,this.cq=this.z.commandArgumentValue,this.ds=this.z.commandId,this.d9=this.z.iconName,this.d4=this.z.iconCollectionName,this.cf=this.z.iconViewBoxLeft,this.cg=this.z.iconViewBoxTop,this.ch=this.z.iconViewBoxWidth,this.ce=this.z.iconViewBoxHeight,this.ci=this.z.iconWidth,this.cc=this.z.iconHeight,this.cd=this.z.iconStrokeWidth,this.ck=this.z.paddingLeft,this.cl=this.z.paddingRight,this.cm=this.z.paddingTop,this.cj=this.z.paddingBottom,this.es=this.z.parentId,this.a8=this.z.isDisabled,this.aw=this.z.closeOnExecute,this.w=this.x(this.z.density),this.cp=this.z.subPanelRowHeight,i.isNaN_(this.z.height)||(this.b9=this.z.height),i.stringIsNullOrEmpty(this.z.iconStroke)||(this.hi=i.CSSColorUtil.g(this.z.iconStroke)),i.stringIsNullOrEmpty(this.z.iconFill)||(this.hh=i.CSSColorUtil.g(this.z.iconFill)),i.stringIsNullOrEmpty(this.z.textColor)||(this.hk=i.CSSColorUtil.g(this.z.textColor)),i.stringIsNullOrEmpty(this.z.disabledTextColor)||(this.he=i.CSSColorUtil.g(this.z.disabledTextColor)),this.a9=this.z.isHighlighted,null!=this.z.actions&&this.z.actions.length>0)for(var t=0;t<this.z.actions.length;t++)this.actions.add(n.f(this.z.actions[t]));if(null!=this.z.contextBindings&&this.z.contextBindings.length>0)for(var e=0;e<this.z.contextBindings.length;e++)this.contextBindings.add(this.o(this.z.contextBindings[e]))},n.prototype.o=function(t){return Kt.b(t)},n.prototype.be=function(){return null!=this.h&&null!=this.h.h&&this.h.actions._inner[0]==this},n.prototype.bi=function(){return!0},n.prototype.al=function(t){switch(t){case 1:case 17:case 6:case 11:case 10:case 2:case 12:case 13:return this.bi()?2:0;default:return 0}},Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},enumerable:!1,configurable:!0}),n.prototype.fp=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),7,(function(t){var i=t;o.fj(i,n),o.g0(i,e,n),null!=r&&r(i)}));else{var s=t.bs;this.g0(s,e,n),null!=r&&r(s)}},n.prototype.fo=function(){if(null!=this.am){if(i.isNaN_(this.br)||this.au){var t=new ye;null!=this.r&&this.r.go(t);var e=this.b7(this.r,t);e=i.isNaN_(e)?0:e,this.br=e,this.au=!1}this.am.ce(1,2,1,this.br)}},n.prototype.fn=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=[this.al(1),this.al(7),this.al(11),this.al(3),this.al(3),this.al(7)];i.NativeUIComponent.av(this.r.v.z(),[1,7,11,3,3,7],s,(function(t){var e=t[0],i=t[1],s=t[2],a=t[3],h=t[4],u=t[5];o.fi(e,i,s,a,h,u,n),null!=r&&r()}))}else null==this.am&&1==this.ap.bm&&(this.ai=this.ap.bl(0),this.ai.bm=i.runOn(this,this.fy),this.am=this.ai.bo,this.ar=this.am.bl(0),this.ao=this.am.bl(1),this.as=this.ao.bl(0),this.ao.bm>1&&(this.at=this.ao.bl(1))),this.gw(this.am,this.ar,this.as,this.at),null!=r&&r()},n.prototype.fj=function(t,e){t.f=1==e.a?0:3,t.bs=0},n.prototype.g0=function(t,e,n){t.y=e.a.t,i.isNaN_(this.b9)||(t.y=this.b9),2==n.a?t.ae=e.c:t.ae=n.e,t.a8=this.g5,t.bj=this.hl,t.bh=new i.Thickness(1,0,0,0,0),this.gy(t),null!=this.el&&(t.ap=this.el)},n.prototype.fi=function(t,e,n,r,o,s,a){if(0==this.ap.bm){this.ap.b2(0,2,1),this.ap.b4(0,2,1),this.ap.bn(t),this.ap.ca(t,0),this.ap.cc(t,0),t.bo=e,e.bs=0;var h=this.b5(this.r,a);h=i.isNaN_(h)?0:h;var u=this.b7(this.r,a);u=i.isNaN_(u)?0:u,this.an=e,e.b4(0,2,1),e.b2(0,1,h),e.b3(1,2,1,u),s.b4(0,2,1),s.bn(r),s.cc(r,0),e.bn(n),e.bn(s),e.cc(s,0),e.ca(n,0),e.ca(s,1),this.br=u}t.c=this.t,this.a6?t.bp=1:t.bp=this.ak(this.v),t.bn=1,t.b2=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b1=this.g8,t.bv=!0,t.bt=!this.a3,t.bq=this.av,t.bx=this.bf,t.bs=!this.a4,t.bu=!0,t.br=!0,t.bm=i.runOn(this,this.fy),n.h=1,n.f=1,n.br=this.d9,n.bq=this.d4,n.bn=this.cf,n.bo=this.cg,n.bp=this.ch,n.bm=this.ce,n.bb=this.g9,n.bk=this.a,n.bc=this.ha,n.bl=this.b,n.ac=this.cd,n.ae=i.DeviceUtils.g(this.bz),n.y=i.DeviceUtils.g(this.by),r.bl=!1,r.h=this.a2()?2:1,r.f=this.aj(),o.bl=!1,o.h=0,o.f=0,this.a2()?1==s.b1&&(s.b4(1,2,1),s.bn(o),s.cc(o,1)):2==s.b1&&(s.b9(1),s.bp(o)),this.am=e,this.ai=t,this.ar=n,this.as=r,this.at=o,this.ao=s},n.prototype.aj=function(){switch(this.g3){case 0:return 0;case 2:return 2;case 3:return 3;case 1:return 1}return 0},n.prototype.a2=function(){return!i.stringIsNullOrEmpty(this.ez)},n.prototype.fy=function(t,e){this.f3()},n.prototype.gw=function(t,e,n,r){null!=t&&(t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0)),null!=e&&(e.bh=new i.Thickness(1,0,0,9,0),e.bn=this.cf,e.bo=this.cg,e.bp=this.ch,e.bm=this.ce,e.br=this.d9,e.bq=this.d4,e.bb=this.g9,e.bk=this.a,e.bc=this.ha,e.bl=this.b,e.ac=this.cd),null!=n&&(n.bm=this.e5,n.bk=this.ae,n.ba=this.a8?this.g6:this.hc),null!=r&&(r.bm=this.ez,r.bk=this.ad,r.ba=this.a8?this.g6:this.hb),this.fo()},n.prototype.f3=function(){},n.prototype.f2=function(t,e){},n.prototype.gf=function(){},n.prototype.fd=function(){},n.prototype.gg=function(t){if(t.g=this,i.stringIsNullOrEmpty(t.e5)||(this.e5=t.e5),i.stringIsNullOrEmpty(t.ez)||(this.ez=t.ez),i.stringIsNullOrEmpty(t.d9)||(this.d9=t.d9),i.stringIsNullOrEmpty(t.d4)||(this.d4=t.d4),i.stringIsNullOrEmpty(t.ds)||(this.ds=t.ds),i.stringIsNullOrEmpty(t.dp)||(this.dp=t.dp),null!=t.cq&&(this.cq=t.cq),null!=t.hd&&(this.hd=t.hd),null!=t.hg&&(this.hg=t.hg),null!=t.hk&&(this.hk=t.hk),null!=t.ah&&(this.ah=t.ah),null!=t.he&&(this.he=t.he),null!=t.hh&&(this.hh=t.hh),null!=t.a&&(this.a=t.a),null!=t.hi&&(this.hi=t.hi),null!=t.b&&(this.b=t.b),i.isNaN_(t.cd)||(this.cd=t.cd),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.cg)||(this.cg=t.cg),i.isNaN_(t.ck)||(this.ck=t.ck),i.isNaN_(t.cm)||(this.cm=t.cm),i.isNaN_(t.cl)||(this.cl=t.cl),i.isNaN_(t.cj)||(this.cj=t.cj),i.isNaN_(t.co)||(this.co=t.co),i.isNaN_(t.b9)||(this.b9=t.b9),this.hl!=t.hl&&(this.hl=t.hl),null!=t.actions&&t.actions.count>0){this.actions.clear();for(var e=0;e<t.actions.count;e++)this.actions.add(t.actions._inner[e])}},n.ax=function(t,e){if(t.aa!=e.d)return!1;if(t.el!=e.name)return!1;if(!(null!=t.actions&&0!=t.actions.count||null!=e.actions&&0!=e.actions.length))return!0;if(t.actions.count!=e.actions.length)return!1;for(var i=0;i<e.actions.length;i++){var r=t.actions._inner[i],o=e.actions[i];if(!n.ax(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.cr=function(){var t=new re;return this.fu(t),t},n.prototype.fu=function(t){t.i=this.cz,t.j=this.el,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ap.an)),null!=this.aq&&(t.h=this.aq.af()),null!=this.ai&&(t.b=this.ai.af()),null!=this.ar&&(t.c=this.ar.af()),null!=this.as&&(t.d=this.as.af()),null!=this.at&&(t.e=this.at.af())},n.prototype.dy=function(){return this.cr().serialize()},Object.defineProperty(n.prototype,"y",{get:function(){return this.u},set:function(t){this.u=t},enumerable:!1,configurable:!0}),n.prototype.gx=function(t){this.y=t,0==this.w&&(this.v=t)},n.prototype.fl=function(){this.fm()},n.prototype.fk=function(){this.fm()},n.prototype.fm=function(){null!=this.ai&&(this.ai.bm=null),this.am=null,this.ai=null,this.ar=null,this.ao=null,this.as=null,this.at=null},n.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),ri=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hm=null,e.hn=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 16},Object.defineProperty(n.prototype,"hs",{get:function(){return this.cv("Value",i.BrushUtil.j(255,0,0,255))},set:function(t){var e=this.hs;e!=t&&(this.gq("Value",t),this.ga("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hm&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.ho(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.ho=function(){var t=i.Color.u(255,0,0,255);if(null!=this.hm){var e=i.ColorUtil.p(this.hm.bo);return e.c&&(t=e.d),i.ColorUtil.k(t,!0)}return i.ColorUtil.k(t,!0)},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,e.h=this.ho(),e},n.prototype.hq=function(t,e){if(!this.hn){this.hs=this.hm.bo;var i=this.l(!0);this.gb(i,this)}},n.prototype.hr=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.f=2,n.h=1}n.c=this.t,n.bn=i.runOn(this,this.hq),this.hm!=n&&(this.hm=n),null!=this.hs&&(this.hn=!0,n.bo=this.hs,this.hn=!1)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),20,this.al(20),(function(i){var s=i;r.hr(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hr(o,t,s,e,n)}},n.prototype.gv=function(){t.prototype.gv.call(this),this.hm},n.prototype.g2=function(){null!=this.hm&&(this.hm.c=this.t)},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"IsDisabled":this.hm}},n.prototype.f3=function(){null==this.hm||this.a8||this.hm.az()},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hs=i.CSSColorUtil.g(e.value)},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bn=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bn=null)},n.prototype.cr=function(){var t=new _e;return this.fu(t),null!=this.hm&&(t.l=this.hm.af()),t},n.$t=i.markType(n,"ToolActionColorEditor",ni.$),n}(ni),oi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hn=null,e.ho=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 14},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cv("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gq("ItemsSource",t),this.ga("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("DisplayMemberPath",null)},set:function(t){var e=this.hq;e!=t&&(this.gq("DisplayMemberPath",t),this.ga("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cv("ValueMemberPath",null)},set:function(t){var e=this.hu;e!=t&&(this.gq("ValueMemberPath",t),this.ga("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cv("SelectedValues",null)},set:function(t){var e=this.hm;e!=t&&(this.gq("SelectedValues",t),this.ga("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.gi=function(e,i,n){if(t.prototype.gi.call(this,e,i,n),null!=this.hn)switch(e){case"ItemsSource":this.hn.bo=this.itemsSource;break;case"SelectedValues":this.hn.bk=this.hm.toArray();break;case"DisplayMemberPath":this.hn.bp=this.hq;break;case"ValueMemberPath":this.hn.bq=this.hu}},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hw=function(t,e){if(!this.ho){this.ho=!0,null==this.hm&&(this.hm=new Ce),this.hm.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.hm.add1(r)}this.ho=!1;var o=this.l(!0);this.gb(o,this)}},n.prototype.hx=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.bn=3,n.f=2,n.h=1}n.c=this.t,n.bm=i.runOn(this,this.hw),n.bo!=this.itemsSource&&(n.bo=this.itemsSource),n.bp!=this.hq&&(n.bp=this.hq),n.bq!=this.hu&&(n.bq=this.hu),null!=this.hm&&(this.ho=!0,n.bk=this.hm.toArray(),this.ho=!1),this.hn!=n&&(this.hn=n)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),19,this.al(19),(function(i){var s=i;r.hx(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hx(o,t,s,e,n)}},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.hn&&(this.hn.bn=this.ak(this.v))},n.prototype.g2=function(){null!=this.hn&&(this.hn.c=this.t)},n.prototype.f3=function(){null==this.hn||this.a8||this.hn.az()},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hn&&(e.f=this.hm.toArray()),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName="SelectedValues",n.value=r.hm.toArray(),n))},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;if(this.hq=e.displayMemberPath,this.hu=e.valueMemberPath,null!=e.selectedValues){this.hm.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.hm.add1(r)}}this.itemsSource=e.itemsSource},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hn&&(this.hn.bm=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hn&&(this.hn.bm=null)},n.prototype.cr=function(){var t=new je;return this.fu(t),null!=this.hn&&(t.l=this.hn.af()),t},n.$t=i.markType(n,"ToolActionCombo",ni.$),n}(ni),si=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ht=null,e.hu=null,e.hv=null,e.h3=!1,e.h4=!1,e.hm=null,e.h6=!1,e.hz=null,e.h1=null,e.h2=null,e.h0=null,e.hx=null,e.hy=null,e.h5=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 13},Object.defineProperty(n.prototype,"h9",{get:function(){return this.cv("LeftIsSelected",!1)},set:function(t){var e=this.h9;e!=t&&(this.gq("LeftIsSelected",t),this.ga("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cv("RightIsSelected",!1)},set:function(t){var e=this.ic;e!=t&&(this.gq("RightIsSelected",t),this.ga("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("LeftIsDisabled",!1)},set:function(t){var e=this.h8;e!=t&&(this.gq("LeftIsDisabled",t),this.ga("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cv("RightIsDisabled",!1)},set:function(t){var e=this.ib;e!=t&&(this.gq("RightIsDisabled",t),this.ga("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i5",{get:function(){return this.cv("LeftIconName",null)},set:function(t){var e=this.i5;e!=t&&(this.gq("LeftIconName",t),this.ga("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return this.cv("LeftCommandArgument",null)},set:function(t){var e=this.iz;e!=t&&(this.gq("LeftCommandArgument",t),this.ga("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cv("IsToggleDisabled",!1)},set:function(t){var e=this.h7;e!=t&&(this.gq("IsToggleDisabled",t),this.ga("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i1",{get:function(){return this.cv("LeftIconCollectionName",null)},set:function(t){var e=this.i1;e!=t&&(this.gq("LeftIconCollectionName",t),this.ga("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cv("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.ij;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("LeftIconViewBoxLeft",t),this.ga("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cv("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.ik;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("LeftIconViewBoxTop",t),this.ga("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cv("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.il;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("LeftIconViewBoxWidth",t),this.ga("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cv("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.ii;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("LeftIconViewBoxHeight",t),this.ga("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j8",{get:function(){return this.cv("LeftIconFill",null)},set:function(t){var e=this.j8;e!=t&&(this.gq("LeftIconFill",t),this.ga("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j4",{get:function(){return this.cv("ActualLeftIconFill",null)},set:function(t){var e=this.j4;e!=t&&(this.gq("ActualLeftIconFill",t),this.ga("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cv("LeftIconFillColors",null)},set:function(t){var e=this.ho;e!=t&&(this.gq("LeftIconFillColors",t),this.ga("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j9",{get:function(){return this.cu("LeftIconStroke",null)},set:function(t){var e=this.j9;e!=t&&(this.gq("LeftIconStroke",t),this.ga("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j5",{get:function(){return this.cv("ActualLeftIconStroke",null)},set:function(t){var e=this.j5;e!=t&&(this.gq("ActualLeftIconStroke",t),this.ga("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.cv("LeftIconStrokeColors",null)},set:function(t){var e=this.hp;e!=t&&(this.gq("LeftIconStrokeColors",t),this.ga("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cv("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.ih;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("LeftIconStrokeWidth",t),this.ga("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jg",{get:function(){return this.cv("LeftTitle",null)},set:function(t){var e=this.jg;e!=t&&(this.gq("LeftTitle",t),this.ga("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jo",{get:function(){return this.cv("RightIconName",null)},set:function(t){var e=this.jo;e!=t&&(this.gq("RightIconName",t),this.ga("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ji",{get:function(){return this.cv("RightCommandArgument",null)},set:function(t){var e=this.ji;e!=t&&(this.gq("RightCommandArgument",t),this.ga("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jk",{get:function(){return this.cv("RightIconCollectionName",null)},set:function(t){var e=this.jk;e!=t&&(this.gq("RightIconCollectionName",t),this.ga("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cv("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.ip;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("RightIconViewBoxLeft",t),this.ga("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cv("RightIconViewBoxTop",NaN)},set:function(t){var e=this.iq;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("RightIconViewBoxTop",t),this.ga("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.cv("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.ir;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("RightIconViewBoxWidth",t),this.ga("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.cv("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.io;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("RightIconViewBoxHeight",t),this.ga("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ka",{get:function(){return this.cv("RightIconFill",null)},set:function(t){var e=this.ka;e!=t&&(this.gq("RightIconFill",t),this.ga("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j6",{get:function(){return this.cv("ActualRightIconFill",null)},set:function(t){var e=this.j6;e!=t&&(this.gq("ActualRightIconFill",t),this.ga("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("RightIconFillColors",null)},set:function(t){var e=this.hq;e!=t&&(this.gq("RightIconFillColors",t),this.ga("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kb",{get:function(){return this.cu("RightIconStroke",null)},set:function(t){var e=this.kb;e!=t&&(this.gq("RightIconStroke",t),this.ga("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j7",{get:function(){return this.cv("ActualRightIconStroke",null)},set:function(t){var e=this.j7;e!=t&&(this.gq("ActualRightIconStroke",t),this.ga("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cv("RightIconStrokeColors",null)},set:function(t){var e=this.hr;e!=t&&(this.gq("RightIconStrokeColors",t),this.ga("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cv("RightIconStrokeWidth",NaN)},set:function(t){var e=this.im;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("RightIconStrokeWidth",t),this.ga("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jz",{get:function(){return this.cv("RightTitle",null)},set:function(t){var e=this.jz;e!=t&&(this.gq("RightTitle",t),this.ga("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.i(Pe,"DisplayType",1)},set:function(t){var e=this.hs;t!=e&&(this.gq("DisplayType",i.enumGetBox(Pe,t)),this.ga("DisplayType",i.enumGetBox(Pe,e),i.enumGetBox(Pe,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.cv("CornerRadius",NaN)},set:function(t){var e=this.id;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("CornerRadius",t),this.ga("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gg=function(e){if(t.prototype.gg.call(this,e),13==e.aa){var n=e;i.isNaN_(n.id)||(this.id=n.id),this.hs!=n.hs&&(this.hs=n.hs),i.stringIsNullOrEmpty(n.jg)||(this.jg=n.jg),i.stringIsNullOrEmpty(n.i5)||(this.i5=n.i5),i.stringIsNullOrEmpty(n.i1)||(this.i1=n.i1),i.stringIsNullOrEmpty(n.iz)||(this.iz=n.iz),null!=n.j8&&(this.j8=n.j8),null!=n.ho&&(this.ho=n.ho),null!=n.j9&&(this.j9=n.j9),null!=n.hp&&(this.hp=n.hp),i.isNaN_(n.ih)||(this.ih=n.ih),i.stringIsNullOrEmpty(n.jz)||(this.jz=n.jz),i.stringIsNullOrEmpty(n.jo)||(this.jo=n.jo),i.stringIsNullOrEmpty(n.jk)||(this.jk=n.jk),i.stringIsNullOrEmpty(n.ji)||(this.ji=n.ji),null!=n.ka&&(this.ka=n.ka),null!=n.hq&&(this.hq=n.hq),null!=n.kb&&(this.kb=n.kb),null!=n.hr&&(this.hr=n.hr),i.isNaN_(n.im)||(this.im=n.im)}},n.prototype.hw=function(){switch(this.hs){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.iz=e.leftCommandArgument,this.i5=e.leftIconName,this.i1=e.leftIconCollectionName,this.h7=e.isToggleDisabled,this.ij=e.leftIconViewBoxLeft,this.ik=e.leftIconViewBoxTop,this.il=e.leftIconViewBoxWidth,this.ii=e.leftIconViewBoxHeight,this.ih=e.leftIconStrokeWidth,null!=e.leftIconFill&&(this.j8=i.CSSColorUtil.g(e.leftIconFill)),null!=e.leftIconStroke&&(this.j9=i.CSSColorUtil.g(e.leftIconStroke)),this.jg=e.leftTitle,this.ji=e.rightCommandArgument,this.jo=e.rightIconName,this.jk=e.rightIconCollectionName,this.ip=e.rightIconViewBoxLeft,this.iq=e.rightIconViewBoxTop,this.ir=e.rightIconViewBoxWidth,this.io=e.rightIconViewBoxHeight,this.im=e.rightIconStrokeWidth,null!=e.rightIconFill&&(this.ka=i.CSSColorUtil.g(e.rightIconFill)),null!=e.rightIconStroke&&(this.kb=i.CSSColorUtil.g(e.rightIconStroke)),this.jz=e.rightTitle},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,e.e=this.h9!=this.h3?0:1,e.b=this.h9!=this.h3?this.h9:this.ic,e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.iz,n.value=r.h9,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.ji,t.value=r.ic,t}())},n.prototype.b6=function(t,e){var n=this.af(t),r=i.stringIsNullOrEmpty(this.jg)?0:t.v.q(this.jg,n),o=Math.max(r+this.ie(),i.DeviceUtils.g(this.ig()));return r=i.stringIsNullOrEmpty(this.jz)?0:t.v.q(this.jz,n),o+Math.max(r+this.ie(),i.DeviceUtils.g(this.ig()))},n.prototype.ig=function(){return i.DeviceUtils.g(88)},n.prototype.ie=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.ia=function(t){var e=this.hn(),i=t.bk;if(null==e&&null==i)return!1;if(null==e&&null!=i)return!0;if(null!=e&&null==i)return!0;if(e.length!=i.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!=i[n])return!0;return!1},n.prototype.hn=function(){return this.h9&&this.ic?[0,1]:this.h9?((t=new Array(1)).push(0),t):this.ic?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.j3=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bs&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(2==e.bm&&(e.b2(2,1,this.b6(this.r,f)),e.bn(c),c.bs(n),c.bs(a)),e.cc(c,0),e.ca(c,2),this.a6?c.bq=2:c.bq=this.ak(this.v),c.h=1,c.f=2,n.bu=!0,a.bu=!0),c.bp=i.runOn(this,this.j1),c.c=this.t,this.j2(n),this.j2(a),this.ia(c)&&(c.bk=this.hn()),n.bw=this.h8,a.bw=this.ib,null==this.i5?(n.bo=null,n.bz=this.jg):(0==s.bm&&(s.b2(0,0,1),s.b2(1,0,1),s.bn(o),s.bn(r),s.cc(o,0),s.ca(o,0),s.cc(r,0),s.ca(r,1)),n.bz=null,n.bo=s,o.bq=this.i1,o.br=this.i5,o.bn=this.ij,o.bo=this.ik,o.bp=this.il,o.bm=this.ii,o.bb=this.j4,o.bc=this.j5,o.bk=this.ho,o.bl=this.hp,o.ac=this.ih,r.bm=this.jg,r.bk=this.ae,r.ba=this.a8?this.g6:this.hc,o.ae=i.DeviceUtils.g(16),o.y=i.DeviceUtils.g(16)),null==this.jo?(a.bo=null,a.bz=this.jz):(0==l.bm&&(l.b2(0,0,1),l.b2(1,0,1),l.bn(h),l.bn(u),l.cc(h,0),l.ca(h,0),l.cc(u,0),l.ca(u,1)),a.bz=null,a.bo=l,u.bq=this.jk,u.br=this.jo,u.bn=this.ip,u.bo=this.iq,u.bp=this.ir,u.bm=this.io,u.bb=this.j6,u.bc=this.j7,u.bk=this.hq,u.bl=this.hr,u.ac=this.im,h.bm=this.jz,h.bk=this.ae,h.ba=this.a8?this.g6:this.hc,u.ae=i.DeviceUtils.g(16),u.y=i.DeviceUtils.g(16)),this.hv!=c&&(this.hv=c),this.ht!=n&&(this.ht,this.ht=n),this.hu!=a&&(this.hu,this.hu=a),this.hz!=o&&(this.hz,this.hz=o),this.h1!=r&&(this.h1,this.h1=r),this.h0!=u&&(this.h0,this.h0=u),this.h2!=h&&(this.h2,this.h2=h),this.hx!=s&&(this.hx,this.hx=s),this.hy!=l&&(this.hy,this.hy=l)},n.prototype.j1=function(t,e){if(!this.h5){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.hm){for(var a=0;a<this.hm.length;a++)0==this.hm[a]&&(n=!0);for(var h=0;h<this.hm.length;h++)1==this.hm[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.h3=n,this.h4=r,this.h9!=o&&this.go("LeftIsSelected",o),this.ic!=s&&this.go("RightIsSelected",s),this.gb(this.l(!0),this),this.h7&&(this.h5=!0,null!=this.hv&&this.hv.bt(),this.h5=!1)}},n.prototype.j2=function(t){t.bk=this.ae},n.prototype.gd=function(t,e,n){var r=this;if(!this.h6){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1),this.al(3),this.al(11),this.al(7),this.al(1),this.al(3),this.al(11),this.al(7),this.al(17)];this.h6=!0,i.NativeUIComponent.av(this.r.v.z(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.j3(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.h6=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(2),h=a.bm(0),u=a.bm(1),l=h.bo,c=l.bl(0),p=l.bl(1),f=u.bo,d=f.bl(1),b=f.bl(0);this.j3(o,t,h,p,c,l,u,b,d,f,a,e,n,!1)}}},n.prototype.gi=function(e,n,r){switch(t.prototype.gi.call(this,e,n,r),e){case"DisplayType":null!=this.hv&&(this.hv.bn=this.hw());break;case"CornerRadius":null!=this.hv&&(this.hv.bx=new i.CornerRadius(0,this.id));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.hz&&(this.hz.bb=this.j4,this.hz.bc=this.j5,this.hz.bk=this.ho,this.hz.bl=this.hp);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.h0&&(this.h0.bb=this.j6,this.h0.bc=this.j7,this.h0.bk=this.hq,this.h0.bl=this.hr);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.g1();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.hz&&(this.hz.br=this.i5,this.hz.bq=this.i1);break;case"LeftIsDisabled":null!=this.ht&&(this.ht.bw=this.h8);break;case"RightIsDisabled":null!=this.hu&&(this.hu.bw=this.ib);break;case"RightIconName":case"RightIconCollectionName":null!=this.h0&&(this.h0.br=this.jo,this.h0.bq=this.jk);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.h2&&(this.h2.bm=this.jz,this.h2.bk=this.ae,this.h2.ba=this.a8?this.g6:this.hc),null!=this.h1&&(this.h1.bm=this.jg,this.h1.bk=this.ae,this.h1.ba=this.a8?this.g6:this.hc);break;case"LeftIsSelected":case"RightIsSelected":null!=this.hv&&this.ia(this.hv)&&(this.hv.bk=this.hn())}},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.hv&&(this.hv.bq=this.ak(this.v))},n.prototype.g2=function(){t.prototype.g2.call(this),null!=this.hv&&(this.hv.c=this.t),null!=this.r&&(this.j4=null!=this.j8?this.j8:this.r.i4,this.j5=null!=this.j9?this.j9:this.r.i5,this.j6=null!=this.ka?this.ka:this.r.i4,this.j7=null!=this.kb?this.kb:this.r.i5)},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hv&&(this.hv.bp=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hv&&(this.hv.bp=null)},n.prototype.cr=function(){var t=new Te;return this.fu(t),null!=this.ht&&(t.m=this.ht.af()),null!=this.hu&&(t.n=this.hu.af()),null!=this.hz&&(t.o=this.hz.af()),null!=this.h0&&(t.p=this.h0.af()),null!=this.h1&&(t.q=this.h1.af()),null!=this.h2&&(t.r=this.h2.af()),null!=this.hv&&(t.l=this.hv.af()),t},n.$t=i.markType(n,"ToolActionButtonPair",ni.$),n}(ni),ai=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hp=null,e.hu=-1,e.hr=!1,e.hv=null,e.ht=NaN,e.hq=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 11},n.prototype.fh=function(e,n){if(t.prototype.fh.call(this,e,n),null!=this.hp&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,i.isNaN_(this.b9)?Number.POSITIVE_INFINITY:this.b9),o=this.hp.bf(r);o.height+=this.b3,o.height+=this.b0,n.e=o.width,n.d=o.height;var s=this.ht;this.ht=o.height,i.isNaN_(s)||s==this.ht||this.f0()}},n.prototype.fn=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cv("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gq("ItemsSource",t),this.ga("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.cv("SelectedMemberPath",null)},set:function(t){var e=this.h3;e!=t&&(this.gq("SelectedMemberPath",t),this.ga("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cv("ShowSelectAll",!1)},set:function(t){var e=this.hs;e!=t&&(this.gq("ShowSelectAll",t),this.ga("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cv("DataMemberPath",null)},set:function(t){var e=this.hx;e!=t&&(this.gq("DataMemberPath",t),this.ga("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cv("PrimaryKey",null)},set:function(t){var e=this.hm;e!=t&&(this.gq("PrimaryKey",t),this.ga("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("SelectedKeys",null)},set:function(t){var e=this.hn;e!=t&&(this.gq("SelectedKeys",t),this.ga("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.i(Se,"IndexType",1)},set:function(t){var e=this.ho;e!=t&&(this.gq("IndexType",i.enumGetBox(Se,t)),this.ga("IndexType",i.enumGetBox(Se,e),i.enumGetBox(Se,t)))},enumerable:!1,configurable:!0}),n.prototype.gi=function(e,n,r){if(t.prototype.gi.call(this,e,n,r),null!=this.hp)switch(e){case"ItemsSource":this.hp.b5=this.itemsSource,n!=r&&this.f0();break;case"SelectedMemberPath":this.hp.b8=this.h3;break;case"DataMemberPath":this.hp.b6=this.hx;break;case"PrimaryKey":this.hp.bk=this.hm;break;case"ShowSelectAll":this.hp.b2=this.hs;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.ic)),n.ao(i.runOn(this,this.ib))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.ic)),n.am(i.runOn(this,this.ib))}this.id(this.hp);break;case"IndexType":this.hp.bv=this.ho}},n.prototype.ib=function(){this.hq||null!=this.hp&&this.hp.cb()},n.prototype.id=function(t){var n,r;if(null!=t){this.hq=!0,t.cb();try{for(var o=e.__values(i.fromEnum(this.hn)),s=o.next();!s.done;s=o.next()){var a=s.value;t.ca(a.key,a.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.hq=!1}},n.prototype.ic=function(t,n){var r,o;if(!this.hq)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.hp.cc(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.hp.ce(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.hp.ce(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.hp.cc(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.hp.cb();try{for(var p=e.__values(i.fromEnum(this.hn)),f=p.next();!f.done;f=p.next()){var d=f.value;this.hp.ca(d.key,d.value)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}},n.prototype.ie=function(t,e,n,r){0!=e.bm&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(0==e.bm&&e.bn(n),n.bl=3),e.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),e.a8=this.g5,e.bj=this.hl,null!=this.el&&(e.ap=this.el),n.bk=this.hm,n.b5=this.itemsSource,n.bv=this.ho,n.b6=this.hx,n.b8=this.h3,this.hs?n.b2=!0:n.b2=!1,n.b1=!0,n.b0=!1,n.c=this.t,n.cj=this.hc,n.cf=this.g5,n.cg=this.g8,n.ch=this.ha,n.ci=this.hc,n.br=i.runOn(this,this.h6),n.bs=i.runOn(this,this.h8),n.bt=i.runOn(this,this.h9),n.bx=i.runOn(this,this.h7),n.bz=i.runOn(this,this.ia),this.hp!=n&&(this.hp=n),null==this.hn?this.go("SelectedKeys",new ke):this.id(n)},n.prototype.ia=function(t,e){this.hq||(this.hq=!0,this.hn.clear(),this.hq=!1)},n.prototype.h7=function(t,e){this.go("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.h6=function(t,e){this.hq||(this.hu=e.c,this.hr=e.b,this.hv=e.a,this.hq=!0,0==this.ho?e.b?this.hn.remove(new Oe(1,e.a)):this.hn.add(new Oe(1,e.a)):e.b?this.hn.add(new Oe(1,e.a)):this.hn.remove(new Oe(1,e.a)),this.hq=!1,this.gb(this.l(!0),this))},n.prototype.h8=function(t,e){if(0==this.ho){if(e.b)return;var i=new Oe(1,e.a);if(this.hn.contains(i))return;this.hq=!0,this.hn.add(i),this.hq=!1}else{if(!e.b)return;var n=new Oe(1,e.a);if(this.hn.contains(n))return;this.hq=!0,this.hn.add(n),this.hq=!1}},n.prototype.h9=function(t,e){if(0==this.ho){if(e.b)return;var i=new Oe(1,e.a);if(!this.hn.contains(i))return;this.hq=!0,this.hn.remove(i),this.hq=!1}else{if(!e.b)return;var n=new Oe(1,e.a);if(!this.hn.contains(n))return;this.hq=!0,this.hn.remove(n),this.hq=!1}},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hp&&this.hu>-1&&(e.e=this.hu,e.b=this.hr,e.f=this.hr),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),this.hu>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hr,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.hu,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.hv,t}()))},n.prototype.g0=function(t,e,n){null!=this.hp&&(t.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),t.a8=this.g5,t.bj=this.hl,null!=this.el&&(t.ap=this.el))},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.ie(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0);this.ie(o,t,s,n)}},n.prototype.g2=function(){t.prototype.g2.call(this),this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(8):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(8):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(8):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(8):this.cj},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hx=e.dataMemberPath,this.h3=e.selectedMemberPath,this.hm=e.primaryKey,this.itemsSource=e.itemsSource,this.hs=e.showSelectAll},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hp&&(this.hp.br=null,this.hp.bs=null,this.hp.bt=null,this.hp.bx=null,this.hp.bz=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hp&&(this.hp.br=null,this.hp.bs=null,this.hp.bt=null,this.hp.bx=null,this.hp.bz=null)},n.prototype.cr=function(){var t=new xe;return this.fu(t),null!=this.hp&&(t.l=this.hp.af()),t},n.$t=i.markType(n,"ToolActionCheckboxList",ni.$),n}(ni),hi=function(t){function n(){var e,n=t.call(this)||this;return n.hz=null,n.im=-1,n.h2=!1,n.ip=null,n.iu=null,n.hw=0,n.h4=!1,n.ic=NaN,n.h5=!1,n.ir=null,n.hm=null,n.ht=null,n.ia=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.ho=new i.DataSeriesAdapterPropertyInfo,n.hp=new i.DataSeriesAdapterPropertyInfo,n.h0=!1,n.h1=!1,n.h3=!1,n.hm=n.hn(),n.contextBindings.add(((e=new Kt).d=0,e.h="FieldSelectorRules",e.j="Rules",e)),n}return e.__extends(n,t),n.prototype.hn=function(){return(new i.DataSeriesAdapter).e},n.prototype.jo=function(){var t;if(this.h0=!1,this.actions.clear(),this.actions.add(((t=new gi).el="FieldSelectorHeader",t.e5="Aggregation",t)),this.actions.add(function(){var t=new di;return t.hm=!0,t}()),null!=this.hv&&this.hv.count>0)for(var e=function(t){var e=n.hv._inner[t],r=void 0;5==e.operand?(r=function(){var t=new fi;return t.e5=e.label,t.el="FieldSelectorAggregation"+e.name,t.hu="fieldSelectorAggregation",t}(),n.h0=!0):r=function(){var t=new fi;return t.e5=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.el="FieldSelectorAggregation"+i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.hu="fieldSelectorAggregation",t}(),r.onCommand=i.delegateCombine(r.onCommand,i.runOn(n,n.jq)),n.actions.add(r)},n=this,r=0;r<this.hv.count;r++)e(r);else{var o=function(){var t=new fi;return t.e5="Sum",t.el="FieldSelectorAggregationSum",t.hu="fieldSelectorAggregation",t}();o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jq)),this.actions.add(o),(o=function(){var t=new fi;return t.e5="Average",t.el="FieldSelectorAggregationAverage",t.hu="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jq)),this.actions.add(o),(o=function(){var t=new fi;return t.e5="Count of Rows",t.el="FieldSelectorAggregationCount",t.hu="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jq)),this.actions.add(o),(o=function(){var t=new fi;return t.e5="Min",t.el="FieldSelectorAggregationMin",t.hu="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jq)),this.actions.add(o),(o=function(){var t=new fi;return t.e5="Max",t.el="FieldSelectorAggregationMax",t.hu="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.jq)),this.actions.add(o)}},n.prototype.jq=function(t,e){var i=this.io(e.a.commandId);switch(e.a.commandId){case"FieldSelectorAggregationAverage":this.jx(this.ir,3,i);break;case"FieldSelectorAggregationSum":this.jx(this.ir,2,i);break;case"FieldSelectorAggregationCount":this.jx(this.ir,4,i);break;case"FieldSelectorAggregationMin":this.jx(this.ir,0,i);break;case"FieldSelectorAggregationMax":this.jx(this.ir,1,i);break;default:this.jx(this.ir,5,i)}},n.prototype.io=function(t){if(i.stringIsNullOrEmpty(t))return 0;if(i.stringStartsWith(t,"FieldSelectorAggregation")&&(t=t.substr(24)),null!=this.hv&&this.hv.count>0)for(var e=0;e<this.hv.count;e++){var n=this.hv._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.hr=function(t){if(null!=this.hv&&this.hv.count>0)return this.hv._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.i9=function(t){if(null!=this.hv&&this.hv.count>0)return 5==this.hv._inner[t].operand?this.hv._inner[t].name:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.hv._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.i8=function(t){if(null!=this.hv&&this.hv.count>0)return 5==this.hv._inner[t].operand?this.hv._inner[t].label:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.hv._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.hs=function(t){if(null!=this.hv&&this.hv.count>0)return this.hv._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.jx=function(t,n,r){var o,s;if(null!=this.hu&&0!=this.hy&&this.h7()){var a=!1,h=2;if(this.ip=t,this.hw=1,this.h6()){for(var u=0;u<this.hu.summaryDescriptions.k.count;u++){var l=this.hu.summaryDescriptions.k.item(u);if(l.propertyName==t){h=l.operand,l.operand=n,a=!0;break}}var c=null;if(null==this.hu.propertiesRequested){var p=0;c=new Array(this.ho.b.length+this.hp.b.length);for(var f=0;f<this.ho.b.length;f++)c[p]=this.ho.b[f],p++;for(var d=0;d<this.hp.b.length;d++)c[p]=this.hp.b[d],p++}else c=new Array(this.hu.propertiesRequested.length);for(var b=0;b<c.length;b++){var g=null==c[b]?this.hu.propertiesRequested[b]:c[b];""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,h)==g?(c[b]=""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,n),a||this.hu.summaryDescriptions.add(new i.SummaryDescription(2,t,n))):null!=this.hu.propertiesRequested&&null!=this.hu.propertiesRequested[b]&&(c[b]=this.hu.propertiesRequested[b])}this.hu.propertiesRequested=c,this.hu.refresh()}var y=i.typeCast(i.ObservableCollection$1.$.specialize(Be.$),this.hz.b5);try{for(var m=e.__values(i.fromEnum(y)),v=m.next();!v.done;v=m.next()){var _=v.value;if(_.key==t){if(this.ia.containsKey(_.key)?this.ia.item(_.key,r):this.ia.addItem(_.key,r),5==n)_.aggregationName=this.hv._inner[r].name,_.aggregationLabel=this.hv._inner[r].label,_.aggregationOperand=5,this.iu=this.hv._inner[r].name;else{var C=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,n);_.aggregationName=C,_.aggregationLabel=C,_.aggregationOperand=n}this.iu=_.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.gb(this.l(!0),this),this.jp()}},Object.defineProperty(n.prototype,"hu",{get:function(){return this.cv("DataSource",null)},set:function(t){var e=this.hu;e!=t&&(this.gq("DataSource",t),this.ga("DataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cv("LegendTarget",null)},set:function(t){var e=this.iq;e!=t&&(this.gq("LegendTarget",t),this.ga("LegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("DataLegendTarget",null)},set:function(t){var e=this.hq;e!=t&&(this.gq("DataLegendTarget",t),this.ga("DataLegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.i(Ne,"FieldType",0)},set:function(t){var e=this.hy;e!=t&&(this.gq("FieldType",i.enumGetBox(Ne,t)),this.ga("FieldType",i.enumGetBox(Ne,e),i.enumGetBox(Ne,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("SingleSelection",!1)},set:function(t){var e=this.h8;e!=t&&(this.gq("SingleSelection",t),this.ga("SingleSelection",e,t))},enumerable:!1,configurable:!0}),n.prototype.h7=function(){return null!=this.hv&&this.hv.count>0||null!=this.hu&&this.hu.groupDescriptions.k.count>0},Object.defineProperty(n.prototype,"hv",{get:function(){return this.cv("Aggregations",null)},set:function(t){var e=this.hv;e!=t&&(this.gq("Aggregations",t),this.ga("Aggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cv("Rules",null)},set:function(t){var e=this.ib;e!=t&&(this.gq("Rules",t),this.ga("Rules",e,t))},enumerable:!1,configurable:!0}),n.prototype.h6=function(){return this.h9&&(!this.h7()||!this.h0)},Object.defineProperty(n.prototype,"h9",{get:function(){return this.cv("UpdateDataSource",!1)},set:function(t){var e=this.h9;e!=t&&(this.gq("UpdateDataSource",t),this.ga("UpdateDataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hx",{get:function(){return this.cv("SelectedAggregations",null)},set:function(t){var e=this.hx;e!=t&&(this.gq("SelectedAggregations",t),this.ga("SelectedAggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cv("PaddingLeft",NaN)},set:function(t){var e=this.ij;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingLeft",t),this.ga("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cv("ActualPaddingLeft",NaN)},set:function(t){var e=this.ie;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualPaddingLeft",t),this.ga("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cv("PaddingRight",NaN)},set:function(t){var e=this.ik;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingRight",t),this.ga("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cv("ActualPaddingRight",NaN)},set:function(t){var e=this.ig;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualPaddingRight",t),this.ga("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cv("PaddingBottom",NaN)},set:function(t){var e=this.ii;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingBottom",t),this.ga("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.cu("ActualPaddingBottom",NaN)},set:function(t){var e=this.id;e!=t&&(this.gq("ActualPaddingBottom",t),this.ga("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cv("PaddingTop",NaN)},set:function(t){var e=this.il;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("PaddingTop",t),this.ga("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cv("ActualPaddingTop",NaN)},set:function(t){var e=this.ih;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("ActualPaddingTop",t),this.ga("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 12},n.prototype.fh=function(e,n){if(t.prototype.fh.call(this,e,n),null!=this.hz&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),o=this.hz.bf(r);o.height+=this.ih,o.height+=this.id,n.e=o.width,n.d=o.height;var s=this.ic;this.ic=o.height,i.isNaN_(s)||s==this.ic||this.f0()}},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.gi=function(e,n,r){switch(t.prototype.gi.call(this,e,n,r),e){case"Aggregations":this.jo(),this.ia.clear(),this.ju(this.hz);break;case"SelectedAggregations":this.ia.clear(),this.ju(this.hz);break;case"FieldType":this.ju(this.hz);break;case"DataSource":if(this.ht=null,null!=n){this.ht=null;var o=n;o.propertiesRequestedChanged=i.delegateRemove(o.propertiesRequestedChanged,i.runOn(this,this.js))}if(null!=r){this.ht=r.clone();var s=r;s.propertiesRequestedChanged=i.delegateCombine(s.propertiesRequestedChanged,i.runOn(this,this.js))}this.ju(this.hz);break;case"Rules":this.ht=null,this.ju(this.hz);break;case"SingleSelection":this.jw(this.hz);break;case"LegendTarget":var a=r;null!=a&&null===i.typeCast(i.IDataLegendTarget_$type,a)&&(a=a._implementation),this.hq=i.typeCast(i.IDataLegendTarget_$type,a);break;case"DataLegendTarget":this.jv(this.hz)}},n.prototype.js=function(t,e){this.h4||this.ia.clear(),this.ju(this.hz),this.jp()},n.prototype.jt=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(0==e.bm&&e.bn(n),n.bl=3,this.jo()),e.bh=new i.Thickness(1,this.ie,this.ih,this.ig,this.id),e.a8=this.g5,e.bj=this.hl,null!=this.el&&(e.ap=this.el),n.b2=!1,n.cb(),this.ia.clear(),this.ju(n),n.b1=0==this.hy||!this.h7(),n.y=this.ic-16,n.b0=!0,n.c=this.t,n.cj=this.hc,n.cf=this.g5,n.cg=this.g8,n.ch=this.ha,n.ci=this.hc,this.jw(n),this.jv(n),n.br=i.runOn(this,this.jk),n.bu=i.runOn(this,this.jl),this.hz!=n&&(this.hz=n),this.jp()},n.prototype.jw=function(t){null!=t&&(t.b3=this.h8?10:2)},n.prototype.jv=function(t){if(null!=t)if(0==this.hy){var e=i.typeCast(i.IDataLegendTarget_$type,t.b4);null!=e&&(e.seriesDataChanged=i.delegateRemove(e.seriesDataChanged,i.runOn(this,this.jm))),t.b4=null}else if(1==this.hy&&t.b4!=this.hq){var n=i.typeCast(i.IDataLegendTarget_$type,t.b4);if(null!=n&&(n.seriesDataChanged=i.delegateRemove(n.seriesDataChanged,i.runOn(this,this.jm))),t.b4=this.hq,null!=this.hq){var r=this.hq;r.seriesDataChanged=i.delegateCombine(r.seriesDataChanged,i.runOn(this,this.jm))}}},n.prototype.ju=function(t){if(!this.h4&&null!=t&&null!=this.ib){var e=new i.ObservableCollection$1(Be.$,0);if(null!=this.hu){if(null==this.ht){if(this.ht=this.hu.clone(),null!==i.typeCast(i.LocalDataSource.$,this.ht)){var n=i.typeCast(i.LocalDataSource.$,this.ht),r=i.typeCast(i.LocalDataSource.$,this.hu);n.dataSource=r.dataSource,n.executionContext=r.executionContext}this.ht.propertiesRequested=null,this.ht.groupDescriptions.clear(),this.ht.summaryDescriptions.clear(),this.ht.isVirtual||this.ht.flushAutoRefresh(),this.hm.rules.clear();for(var o=0;o<this.ib.count;o++)this.hm.rules.add(this.ib._inner[o]);this.hm.itemsSource=this.ht,this.hm.refresh(),this.ho=new i.DataSeriesAdapterPropertyInfo,this.hp=new i.DataSeriesAdapterPropertyInfo}if((null==this.ho.b||null==this.hp.b||0==this.ho.b.length&&0==this.hp.b.length)&&this.hm.a1(this.ho,this.hp),null==this.ho.b||null==this.hp.b||0==this.ho.b.length||0==this.hp.b.length)return;if(0==this.hy)for(var s=function(t){var i,n=a.ho.b[t],r=a.ho.a[t],o=a.ho.c[t],s=null==a.hu.propertiesRequested;if(null!=a.hu.propertiesRequested)for(var h=0;h<a.hu.propertiesRequested.length;h++){var u=a.hu.propertiesRequested[h];if(u==n||u==""+n){s=!0;break}}e.add(((i=new Be).propertyType=o,i.key=n,i.isSelected=s,i.label=r,i))},a=this,h=0;h<this.ho.b.length;h++)s(h);if(1==this.hy)for(var u=function(t){var n=l.hp.b[t],r=l.hp.a[t],o=l.hp.c[t],s=2,a="Sum",h="Sum",u=0;if(null!=l.hv&&l.hv.count>0&&(h=l.hv._inner[0].label,a=l.hv._inner[0].name,s=l.hv._inner[0].operand,i.stringIsNullOrEmpty(h))){var c=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,l.hv._inner[0].operand);h=c,a=c}if(l.ia.containsKey(n))u=l.ia.item(n),a=l.i9(u),h=l.i8(u),s=l.hs(u);else if(l.h0){if(null!=l.hx)for(var p=0;p<l.hx.count;p++){var f=l.hx._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.hv.count;b++)if(l.hv._inner[b].name==f.aggregationName){h=l.hv._inner[b].label;break}}break}}}else for(var g=0;g<l.hu.summaryDescriptions.k.count;g++){var y=l.hu.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.io(a);break}}var v=null==l.hu.propertiesRequested;if(null!=l.hu.propertiesRequested)for(var _=0;_<l.hu.propertiesRequested.length;_++){var C=l.hu.propertiesRequested[_];if(null!=C){if(C==n||C==""+n){v=!0;break}if(0==C.indexOf(""+n)){if(null==l.hu.summaryDescriptions)continue;for(var j=0;j<l.hu.summaryDescriptions.k.count;j++){if(l.hu.summaryDescriptions.k.item(j).propertyName==n){v=!0;break}}}}}var w,P=((w=new Be).key=n,w.isSelected=v,w.label=r,w.propertyType=o,w);l.h7()&&(P.aggregationLabel=h,P.aggregationName=a,P.aggregationOperand=s,l.ia.containsKey(n)?l.ia.item(n,u):l.ia.addItem(n,u)),e.add(P)},l=this,c=0;c<this.hp.b.length;c++)u(c)}t.bk=["key"],t.b5=e,t.b6="label",t.b8="isSelected",t.b9="aggregationLabel",t.b7="propertyType"}},n.prototype.jm=function(t,e){this.jp()},n.prototype.jl=function(t,e){if(0!=this.hy&&this.h7()){this.ir=e.a[0],this.im=e.c,this.h2=e.b;for(var n=this.ia.item(this.ir),r=0,o=0;o<this.actions.count;o++){var s=i.typeCast(fi.$,this.actions._inner[o]);null!=s&&(s.hn=n==r,r++)}this.r.gw(this)}},n.prototype.jk=function(t,e){var n=this;this.h4=!0;this.im,this.h2,this.ip;this.im=e.c,this.h2=e.b,this.ip=e.a,this.hw=0;var r,o=e.a[0];if(this.h8&&!this.h1&&(e.b?this.d.executeDelayed(i.runOn(this,this.jr),0):this.d.executeDelayed(i.runOn(this,this.jj),0)),this.h6()){var s="";if(1==this.hy){var a=this.ia.item(o);s=this.i9(a).toString()}if(e.b){if(this.h7())if(0==this.hy){for(var h=!1,u=0;u<this.hu.groupDescriptions.k.count;u++){if(this.hu.groupDescriptions.k.item(u).propertyName==o){h=!0;break}}h||(this.h8&&this.hu.groupDescriptions.clear(),this.hu.groupDescriptions.add(((r=new i.SortDescription).propertyName=o,r)))}else{for(var l=!1,c=0;c<this.hu.summaryDescriptions.k.count;c++){if(this.hu.summaryDescriptions.k.item(c).propertyName==o){l=!0;break}}l||this.hu.summaryDescriptions.add(function(){var t=new i.SummaryDescription(0);return t.propertyName=o,t.operand=n.hr(n.ia.item(o)),t}())}if(null==this.hu.propertiesRequested)this.hu.propertiesRequested=[this.h7()?""+o+s:o];else{for(var p=!1,f=0;f<this.hu.propertiesRequested.length;f++)if(this.hu.propertiesRequested[f]==(this.h7()?""+o+s:o)){p=!0;break}if(!p){for(var d=new Array(this.hu.propertiesRequested.length+1),b=0;b<this.hu.propertiesRequested.length;b++)d[b]=this.hu.propertiesRequested[b];d[this.hu.propertiesRequested.length]=this.h7()?""+o+s:o,this.hu.propertiesRequested=d}}}else{if(this.h7())if(0!=this.hy||this.h8){for(var g=new i.SummaryDescription(0),y=!1,m=0;m<this.hu.summaryDescriptions.k.count;m++){var v=this.hu.summaryDescriptions.k.item(m);v.propertyName==o&&(g=v,y=!0)}y&&this.hu.summaryDescriptions.remove(g)}else{for(var _=new i.SortDescription,C=!1,j=0;j<this.hu.groupDescriptions.k.count;j++){var w=this.hu.groupDescriptions.k.item(j);if(w.propertyName==o){_=w,C=!0;break}}C&&this.hu.groupDescriptions.remove(_)}if(null==this.hu.propertiesRequested){for(var P=0,T=new Array(this.ho.b.length+this.hp.b.length-1),O=0;O<this.ho.b.length;O++)this.ho.b[O]!=o&&(T[P]=this.ho.b[O],P++);for(var k=0;k<this.hp.b.length;k++)this.hp.b[k]!=o&&(T[P]=this.hp.b[k],P++);this.hu.propertiesRequested=T}else{for(var I=new Array(this.hu.propertiesRequested.length-1),S=0,x=0;x<this.hu.propertiesRequested.length;x++){var A=this.hu.propertiesRequested[x];A!=o&&A!=""+o+s&&(I[S]=A,S++)}this.hu.propertiesRequested=I}}}this.jp(),this.gb(this.l(!0),this),this.h4=!1},n.prototype.jp=function(){this.h3||null!=this.d&&null!=this.hz&&(this.h3=!0,this.d.enqueueAction(i.runOn(this,this.jn)))},n.prototype.jn=function(){null!=this.hz&&this.hz.cd(),this.h3=!1},n.prototype.jr=function(){this.h1=!0,this.hz.ce(0),this.h1=!1},n.prototype.jj=function(){this.h1=!0,this.hz.ca(["key"],this.ip),this.h1=!1},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hz&&this.im>-1&&(e.e=this.im,e.b=this.h2,e.f=i.enumGetBox(Ee,this.hw)),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),this.im>=0&&(0==this.hw||1==this.hw&&e.add(((n=new i.ToolCommandArgument).argumentName="Aggregation",n.value=r.iu,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="IsChecked",t.value=r.h2,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.im,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.ip,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="EventType",t.value=i.enumGetBox(Ee,r.hw),t}()))},n.prototype.g0=function(t,e,n){null!=this.hz&&(t.y=this.ic-16,t.bh=new i.Thickness(1,this.ie,this.ih,this.ig,this.id),t.a8=this.g5,t.bj=this.hl,null!=this.el&&(t.ap=this.el))},n.prototype.g2=function(){t.prototype.g2.call(this),this.ie=i.isNaN_(this.ij)?i.DeviceUtils.g(8):this.ij,this.ig=i.isNaN_(this.ik)?i.DeviceUtils.g(8):this.ik,this.ih=i.isNaN_(this.il)?i.DeviceUtils.g(8):this.il,this.id=i.isNaN_(this.ii)?i.DeviceUtils.g(8):this.ii},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.jt(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0);this.jt(o,t,s,n)}},n.prototype.f9=function(e,i){t.prototype.f9.call(this,e,i),this.ht=null,this.ju(this.hz)},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hy=e.fieldType,this.hu=e.dataSource,this.hq=e.ak,this.h9=e.updateDataSource,this.h8=e.singleSelection},n.prototype.fc=function(){if(t.prototype.fc.call(this),null!=this.hu){var e=this.hu;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.js))}null!=this.hz&&(this.hz.br=null,this.hz.bu=null)},n.prototype.fm=function(){if(t.prototype.fm.call(this),null!=this.hu){var e=this.hu;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.js))}null!=this.hz&&(this.hz.br=null,this.hz.bu=null)},n.$t=i.markType(n,"ToolActionFieldSelector",ni.$),n}(ni),ui=function(t){function n(){var e=t.call(this)||this;return e.hm=null,e.hn=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cv("ItemSpacing",0)},set:function(t){var e=this.ho;e!=t&&(this.gq("ItemSpacing",t),this.ga("ItemSpacing",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 10},n.prototype.fh=function(e,n){t.prototype.fh.call(this,e,n);var r=new ye;r.a=1;for(var o=0,s=0;s<this.actions.count;s++)0==this.actions._inner[s].hl&&(s>0&&(o+=this.ho),i.isNaN_(this.actions._inner[s].b1)&&this.actions._inner[s].g1(),this.actions._inner[s].fg(e,r),o+=r.e);n.e=this.b1+o+this.b2,i.isNaN_(this.b9)||(n.d=this.b9),this.hn||(this.hn=!0,this.f0())},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa),i.NativeUIComponent.at(this.r.v.z(),13,this.bi()?2:0,(function(e){return r.hs(o,t,e,n)}));else{var s=t.bl(0);this.hs(o,t,s,n)}},n.prototype.hs=function(t,e,n,r){0==e.bm&&(e.bn(n),n.bv=1,n.f=0,n.h=1),e.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),n.c=this.t,n.ck=this.r.jx,n.bu=this.r.p,n.ca=this.r.ji,null==this.h?n.b7=this.r.jf:n.b7=this.r.jv,n.ci=this.r.jv,n.cb=this.r.jl,n.cd=this.r.jo,n.ch=this.r.ju,n.bw=this.r.am,n.cl=this.r.j0,n.cm=this.r.j1,n.b8=this.r.jg,n.b9=this.r.jh,n.cg=this.r.jt,n.ce=this.r.jr,n.cf=this.r.js,n.cj=this.r.jw,n.cc=this.r.jn,n.by=this.r.as,this.hq(n),n.b0=this.ho,n.bt=this.actions,n.bs=i.runOn(this,this.hr),this.hm!=n&&(this.hm=n)},n.prototype.hr=function(t,e){this.gm(e.a,e.b)},n.prototype.g2=function(){switch(t.prototype.g2.call(this),this.t){case 6:case 5:this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b0=i.isNaN_(this.cj)?0:this.cj;break;default:this.b1=i.isNaN_(this.ck)?0:this.ck,this.b2=i.isNaN_(this.cl)?0:this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b0=i.isNaN_(this.cj)?0:this.cj}},n.prototype.hq=function(t){null!=t&&(-1!=this.cp?t.b1=this.cp:null!=this.r?t.b1=this.r.c4:t.b1=-1,t.y=-1==t.b1?NaN:t.b1)},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"ItemSpacing":null!=this.hm&&(this.hm.b0=this.ho);break;case"SubPanelRowHeight":this.hq(this.hm)}},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bs=null)},n.prototype.cr=function(){var t=new $e;return this.fu(t),null!=this.hm&&(t.l=this.hm.af()),t},n.$t=i.markType(n,"ToolActionSubPanel",ni.$),n}(ni),li=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hm=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 15},Object.defineProperty(n.prototype,"ho",{get:function(){return this.cv("Value",null)},set:function(t){var e=this.ho;e!=t&&(this.gq("Value",t),this.ga("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hm&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hn(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hn=function(){return this.hm.b7},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,e.h=this.hn(),e},n.prototype.hq=function(t,e){this.ho=this.hn();var i=this.l(!0);this.gb(i,this)},n.prototype.hr=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=0,n.bo=2,n.b2=!1}n.c=this.t,n.ce=this.a8?this.g6:this.hc,n.bk=this.ae,n.b0=this.a8,n.bs=i.runOn(this,this.hq),n.b7=this.ho,this.hm!=n&&(this.hm=n)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),2,this.al(2),(function(i){var s=i;r.hr(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hr(o,t,s,e,n)}},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.hm&&(this.hm.bp=this.ak(this.v))},n.prototype.g2=function(){null!=this.hm&&(this.hm.c=this.t)},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"IsDisabled":null!=this.hm&&(this.hm.b0=this.a8,this.hm.ce=this.a8?this.g6:this.hc)}},n.prototype.f3=function(){null==this.hm||this.a8||this.hm.az()},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.ho=e.value},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bs=null)},n.prototype.cr=function(){var t=new De;return this.fu(t),null!=this.hm&&(t.l=this.hm.af()),t},n.$t=i.markType(n,"ToolActionTextInput",ni.$),n}(ni),ci=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hn=null,e.hp=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 9},n.prototype.get_cn=function(){return 0},Object.defineProperty(n.prototype,"hm",{get:function(){return this.i(qe,"DisplayType",0)},set:function(t){var e=this.hm;t!=e&&(this.gq("DisplayType",i.enumGetBox(qe,t)),this.ga("DisplayType",i.enumGetBox(qe,e),i.enumGetBox(qe,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("CornerRadius",NaN)},set:function(t){var e=this.hq;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gq("CornerRadius",t),this.ga("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gg=function(e){if(t.prototype.gg.call(this,e),9==e.aa){var n=e;i.isNaN_(n.hq)||(this.hq=n.hq),this.hm!=n.hm&&(this.hm=n.hm)}},n.prototype.ho=function(){switch(this.hm){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.cz,e.a=this.aa,e.c=t,e},n.prototype.b5=function(t,e){return NaN},n.prototype.b7=function(t,e){return NaN},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hm=e.displayType},n.prototype.hr=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.hs=function(){return i.DeviceUtils.g(88)},n.prototype.b6=function(e,n){var r=t.prototype.b7.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.hr(),i.DeviceUtils.g(this.hs()))},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.hw=function(t,e,n,r){r&&(0==t.bm&&(t.b2(0,2,1),t.bn(e),t.cc(e,0),t.ca(e,0)),this.a6?e.bp=2:e.bp=this.ak(this.v),e.h=1,e.bu=!0),t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),e.c=this.t,e.b0=new i.CornerRadius(0,this.hq),e.bn=this.ho(),e.bz=this.e5,e.bm=i.runOn(this,this.hv),e.bk=this.ae,e.bx=this.bf,this.hn=e},n.prototype.hv=function(t,e){this.gb(this.l(!0),this)},n.prototype.gd=function(t,e,n){var r=this;if(!this.hp){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1)];this.hp=!0,i.NativeUIComponent.av(this.r.v.z(),[1],s,(function(e){r.hw(t,e[0],n,!0),r.hp=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(0);this.hw(t,a,n,!1)}}},n.prototype.gi=function(e,n,r){switch(t.prototype.gi.call(this,e,n,r),e){case"Title":null!=this.hn&&(this.hn.bz=this.e5);break;case"DisplayType":null!=this.hn&&(this.hn.bn=this.ho());break;case"CornerRadius":null!=this.hn&&(this.hn.b0=new i.CornerRadius(0,this.hq));break;case"StopPropagation":null!=this.hn&&(this.hn.bx=this.bf)}},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.hn&&(this.hn.bp=this.ak(this.v))},n.prototype.g2=function(){t.prototype.g2.call(this),null!=this.hn&&(this.hn.c=this.t),null==this.r||1!=this.r.u&&2!=this.r.u?(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(4):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj):(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(4):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj)},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hn&&(this.hn.bm=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hn&&(this.hn.bm=null)},n.prototype.cr=function(){var t=new Ve;return this.fu(t),null!=this.hn&&(t.l=this.hn.af()),t},n.$t=i.markType(n,"ToolActionButton",ni.$),n}(ni),pi=function(t){function n(){var e=t.call(this)||this;return e.hm=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.hn),e}return e.__extends(n,t),n.prototype.get_aa=function(){return 4},n.prototype.b6=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b6.call(this,e,n)},n.prototype.ho=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa)&&2==e.bm){var o=this.b6(this.r,r);e.b2(2,1,i.isNaN_(o)?0:o),e.bn(n),e.ca(n,2),e.cc(n,0),n.br="ToolbarDrillDownIcon",n.bq="IG_Default",n.f=1,n.h=1,n.ae=i.DeviceUtils.g(24),n.y=i.DeviceUtils.g(24)}n.bc=this.hc,n.bb=this.hc},n.prototype.f3=function(){this.actions.count>0?this.r.gw(this):this.gb(this.l(!1),this)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa?(this.actions.count>0&&i.NativeUIComponent.at(this.r.v.z(),11,this.bi()?2:0,(function(e){r.hm=e,r.ho(o,t,r.hm,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)):this.actions.count>0&&(this.hm=t.bl(2),this.ho(o,t,this.hm,n))},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"ActualTextColor":null!=this.hm&&(this.hm.ba=this.hc)}},n.prototype.cr=function(){var t=new Ue;return this.fu(t),null!=this.hm&&(t.l=this.hm.af()),t},n.$t=i.markType(n,"ToolActionLabel",ni.$),n.hn='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ni),fi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hm=null,e.hp=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 6},Object.defineProperty(n.prototype,"hu",{get:function(){return this.hp},set:function(t){this.hp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("IsChecked",!1)},set:function(t){var e=this.hn;e!=t&&(this.gq("IsChecked",t),this.ga("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cv("IsManual",!1)},set:function(t){var e=this.ho;e!=t&&(this.gq("IsManual",t),this.ga("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cv("UncheckedBackgroundColor",null)},set:function(t){var e=this.ia;e!=t&&(this.gq("UncheckedBackgroundColor",t),this.ga("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.cv("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.h6;e!=t&&(this.gq("ActualUncheckedBackgroundColor",t),this.ga("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("CheckedBackgroundColor",null)},set:function(t){var e=this.h8;e!=t&&(this.gq("CheckedBackgroundColor",t),this.ga("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.cv("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.h4;e!=t&&(this.gq("ActualCheckedBackgroundColor",t),this.ga("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cv("UncheckedBorderColor",null)},set:function(t){var e=this.ib;e!=t&&(this.gq("UncheckedBorderColor",t),this.ga("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cv("ActualUncheckedBorderColor",null)},set:function(t){var e=this.h7;e!=t&&(this.gq("ActualUncheckedBorderColor",t),this.ga("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cv("CheckedBorderColor",null)},set:function(t){var e=this.h9;e!=t&&(this.gq("CheckedBorderColor",t),this.ga("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cv("ActualCheckedBorderColor",null)},set:function(t){var e=this.h5;e!=t&&(this.gq("ActualCheckedBorderColor",t),this.ga("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hm&&(e.b=this.hm.bn),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hm&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hm.bn,n))},n.prototype.h1=function(){null!=this.hm&&(this.hm.bn=!1,this.go("IsChecked",this.hm.bn))},n.prototype.b6=function(t,e){return 30},n.prototype.gv=function(){t.prototype.gv.call(this),this.hm},n.prototype.g2=function(){null!=this.r&&(this.h6=null!=this.ia?this.ia:this.r.jd,this.h7=null!=this.ib?this.ib:this.r.je,this.h4=null!=this.h8?this.h8:this.r.iv,this.h5=null!=this.h9?this.h9:this.r.iw,null!=this.hm&&(this.hm.c=this.t,this.hm.br=this.h6,this.hm.bs=this.h7,this.hm.bp=this.h4,this.hm.bq=this.h5))},n.prototype.f3=function(){this.ho||(this.hm.bn=!0,this.go("IsChecked",this.hm.bn)),this.gb(this.l(!0),this)},n.prototype.h2=function(t,e){this.hn?this.hm.bn=!0:(this.ho?this.hm.bn=this.hn:this.go("IsChecked",this.hm.bn),this.gb(this.l(!0),this))},n.prototype.h3=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(e.b2(2,1,this.b6(this.r,r)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.bm=!0,n.f=1,n.h=1,n.bo=i.DeviceUtils.g(10),n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20),t.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)),n.c=this.t,n.bn=this.hn,n.bl=i.runOn(this,this.h2),n.br=this.h6,n.bs=this.h7,n.bp=this.h4,n.bq=this.h5,this.hm!=n&&(this.hm=n)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.h3(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.h3(o,t,s,n)}},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"IsChecked":null!=this.hm&&(this.hm.bn=this.hn);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g1()}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.hn=e.isChecked,this.hu=e.channel},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bl=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bl=null)},n.prototype.cr=function(){var t=new Le;return this.fu(t),null!=this.hm&&(t.l=this.hm.af()),t},n.$t=i.markType(n,"ToolActionRadio",ni.$),n}(ni),di=function(t){function n(){var e=t.call(this)||this;return e.hn=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ho",{get:function(){return this.hn},set:function(t){var e=this.hn;this.hn=t,e!=this.hn&&this.ga("Size",e,this.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cv("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.hm;e!=t&&(this.gq("IsGroupHeaderSeparator",t),this.ga("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 7},n.prototype.fh=function(e,i){t.prototype.fh.call(this,e,i),1==i.a||2==i.a?i.e=this.b1+this.ho+this.b2:i.d=this.b3+this.ho+this.b0},n.prototype.fn=function(t,e,n,r){t.ao=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fj=function(t,e){1==e.a?(t.f=0,t.h=3):2==e.a?(t.f=3,t.h=3):t.f=3},n.prototype.g0=function(t,e,n){1==n.a||2==n.a?t.ae=this.ho:t.y=this.ho,t.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),t.a8=this.g5,t.bj=this.hl},n.prototype.gv=function(){t.prototype.gv.call(this)},n.prototype.g2=function(){t.prototype.g2.call(this),null!=this.r&&(this.g5=null!=this.hd?this.hd:this.hm?this.r.iz:this.r.i7,1==this.r.u||2==this.r.u?(this.b1=i.isNaN_(this.ck)?this.r.b7:this.ck,this.b2=i.isNaN_(this.cl)?this.r.b8:this.cl,this.b3=i.isNaN_(this.cm)?this.r.b9:this.cm,this.b0=i.isNaN_(this.cj)?this.r.b6:this.cj):(null==this.h&&this.bb()?(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl):(this.b1=i.isNaN_(this.ck)?this.r.cb:this.ck,this.b2=i.isNaN_(this.cl)?this.r.cc:this.cl),this.b3=i.isNaN_(this.cm)?this.r.cd:this.cm,this.b0=i.isNaN_(this.cj)?this.r.ca:this.cj))},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"Size":null!=this.r&&this.r.gv();break;case"IsGroupHeaderSeparator":this.g1()}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.ho=e.size,this.hm=e.isGroupHeaderSeparator},n.prototype.cr=function(){var t=new Fe;return this.fu(t),t},n.$t=i.markType(n,"ToolActionSeparator",ni.$),n}(ni),bi=function(t){function n(){var e=t.call(this)||this;return e.hr=null,e.ho=null,e.hm=null,e.is=-1,e.it=-1,e.ii=-1,e.hy=!1,e.hv=!1,e.hu=!1,e.hz=!1,e.hx=!1,e.iu=-1,e.ie=NaN,e.ia=NaN,e.ih=NaN,e.ic=NaN,e.ig=NaN,e.ib=NaN,e.id=NaN,e.h9=NaN,e.hp=null,e.hq=null,e.h0=!1,e.h2=!1,e.popupOpening=null,e.ht=!1,e.hw=!1,e.hm=new i.DelayManager(0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"h4",{get:function(){return this.hz},set:function(t){this.hz=t},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 3},n.prototype.get_bg=function(){return!1},Object.defineProperty(n.prototype,"hs",{get:function(){return this.hr},enumerable:!1,configurable:!0}),n.prototype.get_h8=function(){return null!=this.ho},Object.defineProperty(n.prototype,"h8",{get:function(){return this.get_h8()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.iu},set:function(t){this.iu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return i.typeGetValue(this.cv("ActualTooltipDelay",500))},set:function(t){var e=this.iv;e!=t&&(this.gq("ActualTooltipDelay",t),this.ga("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return null!=this.hr&&(this.hr.b5||this.hr.b6||this.hr.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.ie},set:function(t){var e=this.ie;this.ie=t,e!=this.ie&&this.ga("ContentPaddingLeft",e,this.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.ia},set:function(t){var e=this.ia;this.ia=t,e!=this.ia&&this.ga("ActualContentPaddingLeft",e,this.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.ih},set:function(t){var e=this.ih;this.ih=t,e!=this.ih&&this.ga("ContentPaddingTop",e,this.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.ic},set:function(t){var e=this.ic;this.ic=t,e!=this.ic&&this.ga("ActualContentPaddingTop",e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.ga("ContentPaddingRight",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.ib},set:function(t){var e=this.ib;this.ib=t,e!=this.ib&&this.ga("ActualContentPaddingRight",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.id},set:function(t){var e=this.id;this.id=t,e!=this.id&&this.ga("ContentPaddingBottom",e,this.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.h9},set:function(t){var e=this.h9;this.h9=t,e!=this.h9&&this.ga("ActualContentPaddingBottom",e,this.h9)},enumerable:!1,configurable:!0}),n.prototype.fc=function(){t.prototype.fc.call(this),i.NativeUIWindow.i(15,i.runOn(this,this.jp)),i.NativeUIWindow.i(9,i.runOn(this,this.jo)),this.hu=!1,this.hz=!1,null!=this.hr&&(this.hr.q=null,this.hr.s=null,this.hr.n=null,this.hr.o=null,this.hr.bu=null),null!=this.hp&&(this.hp.bm=null,this.hp.q=null,this.hp.s=null,this.hp.o=null)},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,e},n.prototype.b5=function(t,e){var n=36;4==this.v&&(n=18);var r=0;return i.isNaN_(this.ik)||(r+=this.ik),i.isNaN_(this.il)||(r+=this.il),i.DeviceUtils.g(n)+r},n.prototype.b7=function(t,e){return NaN},n.prototype.fn=function(t,e,i,n){null!=n&&n()},n.prototype.jt=function(t){this.bz=i.isNaN_(this.ci)?this.b8():this.ci,this.by=i.isNaN_(this.cc)?this.b8():this.cc},n.prototype.js=function(t,e,n,r,o){var s=n.bo;this.h2=!0,o&&(e.b8(2),e.b8(1),0==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,0),this.a6?n.bp=3:n.bp=this.ak(this.v),n.bn=4,n.bu=!0,n.f=1,this.jt(s)),e.bv=1,e.bw=!1,e.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),n.b2=new i.Thickness(1,this.ik,this.im,this.il,this.ij),s.br=this.d9,s.bq=this.d4,s.bn=this.cf,s.bo=this.cg,s.bp=this.ch,s.bm=this.ce,s.bb=this.g9,s.bk=this.a,s.bc=this.ha,s.bl=this.b,s.ac=this.cd,s.ae=i.DeviceUtils.g(this.bz),s.y=i.DeviceUtils.g(this.by),n.c=this.t,n.bx=this.bf,n.b1=this.g8,n.bm=i.runOn(this,this.je),n.q=i.runOn(this,this.jg),n.s=i.runOn(this,this.jh),n.o=i.runOn(this,this.jf),this.hp!=n&&(this.hp=n),this.hq!=s&&(this.hq=s),this.h2=!1},n.prototype.ju=function(t,e){this.hr!=e&&(null!=this.hr&&(this.hr.b6||this.hr.b5)&&this.hr.cc(),this.hr=e,this.hr.b8=this.r.ce,this.hr.bs=1,this.hr.b3=!0,this.hr.ca=100,this.hr.b1=!0,this.hr.cb=i.truncate(this.r.cf),this.hr.b4=!0,2!=t.bm&&t.bn(this.hr),this.hu||(i.NativeUIWindow.h(15,i.runOn(this,this.jp),this.r.v.r),i.NativeUIWindow.h(9,i.runOn(this,this.jo),this.r.v.r),this.hu=!0),this.ht=!1),this.hr.q=i.runOn(this,this.jm),this.hr.s=i.runOn(this,this.jn),this.hr.n=i.runOn(this,this.jk),this.hr.o=i.runOn(this,this.jl),this.hr.bu=i.runOn(this,this.jj),0==this.hr.bm&&(this.hz=!1),this.actions.count>0?this.hr.u=!0:this.hr.u=!1},n.prototype.i8=function(){this.i9(this.hx,this.hy),this.hz=!0},n.prototype.i9=function(t,e){var i=this;0==this.hr.bm?(this.ho=new Me(this.r.v.z()),this.ho.t((function(){i.hr.bn(i.ho.e),t&&i.d.executeDelayed((function(){return i.jq(e)}),100)}))):this.ho=this.hr.bl(0).ao,this.ho.b=this.r.am,this.ho.y=this.r.jb,this.ho.z=this.r.jc,this.ho.p=this.e5,this.hr.ci=this.ho.y},n.prototype.jb=function(){},n.prototype.ja=function(){},n.prototype.jc=function(){null!=this.ho&&(this.hr.ci=this.r.jb,this.ho.y=this.r.jb,this.ho.z=this.r.jc,this.hr.b8=this.r.ce,this.hr.cb=i.truncate(this.r.cf))},n.prototype.jv=function(){return null!=this.ho?this.ho.aa():i.Size.empty},n.prototype.jp=function(t){if(null!=this.hp){var e=this.hp.be();this.hr.ce(e)}},n.prototype.jo=function(t){var e=t;!this.h7||this.hr.t(e.b)||this.hp.t(e.b)||this.i7()},n.prototype.gd=function(t,e,n){var r=this;if(!this.h0){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm)this.h0=!0,i.NativeUIComponent.av(this.r.v.z(),[10,12],[this.al(10),this.al(12)],(function(e){r.js(o,t,e[0],n,!0),r.ju(t,e[1]),r.h0=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0),a=t.bl(1);this.js(o,t,s,n,!1),this.ju(t,a)}}},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.hp&&(this.hp.bp=this.ak(this.v)),null!=this.hq&&this.jt(this.hq)},n.prototype.g2=function(){switch(t.prototype.g2.call(this),null!=this.r&&(this.iv=-1!=this.iw?this.iw:this.r.cz),this.t){case 6:case 5:case 4:case 3:this.b1=i.isNaN_(this.ck)?0:this.ck,this.b2=i.isNaN_(this.cl)?0:this.cl;break;default:this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl}this.ik=i.isNaN_(this.ip)?NaN:this.ip,this.il=i.isNaN_(this.iq)?NaN:this.iq,this.im=i.isNaN_(this.ir)?NaN:this.ir,this.ij=i.isNaN_(this.io)?NaN:this.io,null!=this.hp&&(this.hp.c=this.t,this.hp.b1=this.g8,null!==i.typeCast(i.NativeUIIconButton.$,this.hp)&&(this.hp.bb=this.hc,this.hp.bc=this.hc)),null!=this.hq&&(this.hq.bb=this.g9,this.hq.bc=this.ha,this.hq.bk=this.a,this.hq.bl=this.b),this.jc()},n.prototype.f8=function(){this.h2||null!=this.hq&&(this.hq.br=this.d9,this.hq.bq=this.d4,this.hq.ae=i.DeviceUtils.g(this.bz),this.hq.y=i.DeviceUtils.g(this.by))},n.prototype.gf=function(){this.actions.count>0&&(null!=this.hr&&this.h8?(this.jq(),this.hy=!0):this.hx=!0)},n.prototype.fd=function(){this.actions.count>0&&(null!=this.hr&&this.h8?this.i7():this.hx=!1)},n.prototype.get_ba=function(){return this.h7||this.h3},Object.defineProperty(n.prototype,"h3",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].ba)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.jq=function(t){if(void 0===t&&(t=!1),!this.hz)return this.hx=!0,this.hy=t,void this.i8();if(!this.h7){if(this.r.f4(),0==this.actions.count&&i.stringIsNullOrEmpty(this.e5))return;if(null!=this.popupOpening){var e=new wi;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.r&&this.r.gm();var n=this.hp.be(),r=new i.Rect(0,n.left,n.top,n.width,n.height);if(r.top=n.top+window.scrollY,r.left=n.left+window.scrollX,1==this.r.u||2==this.r.u){var o=i.NativeUIWindow.d(this.r.v.r),s=this.jv();s.height+=this.hr.b9,n.bottom+s.height>o?n.top-s.height<0?this.hr.cf(r,1,3):this.hr.cf(r,2,3):this.hr.cf(r,1,3)}else{var a=i.NativeUIWindow.f(this.r.v.r),h=this.jv();h.width+=this.hr.b9,n.right+h.width>a?n.left-h.width<0?this.hr.cf(r,4,3):this.hr.cf(r,3,3):this.hr.cf(r,4,3)}this.jb()}this.hy=t,this.hx=!1},n.prototype.jr=function(){this.h7&&(this.hy=!0)},n.prototype.i7=function(){var t=this;this.h7&&(this.ht||(this.hm.f((function(){t.hr.cc(),t.hy=!1,t.ht=!1}),100),this.ht=!0))},n.prototype.ji=function(){this.jq(),this.it=-1,this.ii=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.jd=function(){this.i7(),this.is=-1},n.prototype.h1=function(){return this.r.a7&&!i.stringIsNullOrEmpty(this.e5)},n.prototype.jg=function(t,e){if(this.hv=!0,-1!=this.is&&(this.hm.g(this.is),this.is=-1),!this.h7){if(!this.h1())return;this.it=this.hm.f(i.runOn(this,this.ji),this.iv)}},n.prototype.jh=function(t,e){-1!=this.it&&(this.hm.g(this.it),this.it=-1),this.h7&&!this.hy&&(this.is=this.hm.f(i.runOn(this,this.jd),50)),this.ii=-1,this.hv=!1},n.prototype.je=function(t,e){if(this.actions.count>0)if(this.h7)if(this.hy||-1==this.ii)this.i7();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.h5(n-this.ii)&&this.i7()}else-1!=this.it&&(this.hm.g(this.it),this.it=-1),this.jq(!0);else this.h7&&this.aw&&this.i7(),this.gb(this.l(!0),this)},n.prototype.h5=function(t){return!0},n.prototype.jm=function(t,e){this.hw=!0,-1!=this.is&&(this.hm.g(this.is),this.is=-1)},n.prototype.jn=function(t,e){this.hy||(this.is=this.hm.f(i.runOn(this,this.jd),50)),this.hw=!1},n.prototype.jk=function(t,e){this.hy=!0},n.prototype.jl=function(t,e){null==e.b&&this.h6(e)||this.hr.t(e.b)||this.hp.t(e.b)||this.i7()},n.prototype.h6=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.jj=function(t,e){null!=this.r&&this.r.gl(),this.ja()},n.prototype.jf=function(t,e){if(this.h7){if(null==e.b&&this.h6(e))return;this.hr.t(e.b)||this.hp.t(e.b)||this.i7()}},n.prototype.gi=function(e,n,r){switch(t.prototype.gi.call(this,e,n,r),e){case"ExecutionContext":this.hm.b=this.d;break;case"Title":null!=this.ho&&(this.ho.p=this.e5);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.hq&&(this.hq.bb=this.g9,this.hq.bc=this.ha,this.hq.bk=this.a,this.hq.bl=this.b);break;case"TooltipDelay":this.iv=-1!=this.iw?this.iw:this.r.cz;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.hq&&(this.hq.ae=i.DeviceUtils.g(this.bz),this.hq.y=i.DeviceUtils.g(this.by));break;case"StopPropagation":null!=this.hp&&(this.hp.bx=this.bf)}},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.iw=e.tooltipDelay,e.isMenuOpenOnStart&&this.gf()},n.prototype.cr=function(){var t=new re;return t.i=this.cz,t.j=this.el,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.aq.an)),null!=this.hp&&(t.h=this.hp.af()),null!=this.hq&&(t.c=this.hq.af()),t},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hr&&(this.hr.q=null,this.hr.s=null,this.hr.n=null,this.hr.o=null,this.hr.bu=null),null!=this.hp&&(this.hp.bm=null,this.hp.q=null,this.hp.s=null,this.hp.o=null),this.hz=!1},n.$t=i.markType(n,"ToolActionIconButton",ni.$),n}(ni),gi=function(t){function n(){var e,r=t.call(this)||this;return r.hn=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),r.ho=null,r.hm=null,r.hp=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.hr),r}return e.__extends(n,t),n.prototype.get_aa=function(){return 1},n.prototype.get_a3=function(){return!1},n.prototype.get_a4=function(){return!1},n.prototype.get_bd=function(){return!1},Object.defineProperty(n.prototype,"hx",{get:function(){return this.cv("ActualBackIconColor",null)},set:function(t){var e=this.hx;e!=t&&(this.gq("ActualBackIconColor",t),this.ga("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cv("BackIconColor",null)},set:function(t){var e=this.hy;e!=t&&(this.gq("BackIconColor",t),this.ga("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.af=function(t){return this.hn},n.prototype.b4=function(t,e){return this.be()?i.DeviceUtils.g(36):NaN},n.prototype.b6=function(e,n){if(this.actions.count>0){if(null!=this.hm){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.hm.bf(r).width}return 0}return t.prototype.b6.call(this,e,n)},n.prototype.hv=function(t,e,n,r){var o=n.bo;if(!(null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||null!=e.ao&&2!=i.typeGetValue(e.ao))){var s=!1;null==e.ao?e.ao=1:(s=!0,e.ao=3),e.bo(2,n);var a=null;s&&(a=e.bl(3)),e.b6(0,1,this.b4(this.r,r)),e.ca(e.bl(0),1),e.ca(e.bl(1),2),s&&e.ca(a,3),e.ca(n,0),e.cc(n,0),n.h=1,n.f=1,n.bh=new i.Thickness(1,-9,0,9,0),n.bp=this.ak(this.v),o.br="ToolbarBackButton",o.bq="IG_Default",o.ae=i.DeviceUtils.g(24),o.y=i.DeviceUtils.g(24)}o.bc=this.hx,n.c=this.t,n.bx=this.bf,n.bm=i.runOn(this,this.ht),this.ho=n},n.prototype.hw=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa||null==e.ao||i.typeGetValue(e.ao)<2)&&(null==e.ao||1==i.typeGetValue(e.ao))){var o=!1;null==e.ao?e.ao=2:(o=!0,e.ao=3),e.bn(n),o?(e.b6(3,1,this.b6(this.r,r)),e.ca(n,3),e.cc(n,0)):(e.b6(2,1,this.b6(this.r,r)),e.ca(n,2),e.cc(n,0)),n.bu=this.r.p,n.bv=1,n.h=1,n.f=2}n.bs=i.runOn(this,this.hu),n.b6(this.ak(this.v)),this.hm=n,this.hm.bt!=this.actions&&(this.hm.bt=this.actions,this.be()?e.cd(3,1,this.b6(this.r,r)):e.cd(2,1,this.b6(this.r,r)))},n.prototype.hu=function(t,e){this.gm(e.a,e.b)},n.prototype.ht=function(t,e){this.r.gx(this)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)this.be()&&i.NativeUIComponent.at(this.r.v.z(),10,this.bi()?2:0,(function(e){return r.hv(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.at(this.r.v.z(),13,2,(function(e){return r.hw(o,t,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{if(this.be()){var s=t.bl(2);this.hv(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ao)&&(a=2);var h=t.bl(a);this.hw(o,t,h,n)}}},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.ho&&(this.ho.bp=this.ak(this.v))},n.prototype.g2=function(){var e;t.prototype.g2.call(this),null!=this.ho&&(this.ho.c=this.t),null!=this.r&&(this.g5=null!=this.hd?this.hd:this.r.iy,this.hc=null!=this.hk?this.hk:this.r.i1,this.hb=null!=this.hj?this.hj:this.r.i0),this.hx=null!=this.hy?this.hy:this.hc,e=null!=this.ah?this.ah.a():null!=this.r&&null!=this.r.an?this.r.an.a():this.hn,this.ae=e},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"StopPropagation":null!=this.ho&&(this.ho.bx=this.bf)}},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.ho&&(this.ho.bm=null),null!=this.hm&&(this.hm.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.ho&&(this.ho.bm=null),null!=this.hm&&(this.hm.bs=null)},n.prototype.cr=function(){var t=new He;return this.fu(t),null!=this.ho&&(t.l=this.ho.af()),t},n.$t=i.markType(n,"ToolActionGroupHeader",ni.$),n.hr='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ni),yi=function(t){function n(){var e=t.call(this)||this;return e.j4=i.DeviceUtils.g(24),e.j3=i.DeviceUtils.g(15),e.j2=0,e.jw=null,e.jz=!1,e.jy=null,e.j0=!1,e.jx=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow",n.j6),e.j2=e.j4-e.j3,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 8},Object.defineProperty(n.prototype,"kd",{get:function(){return this.cv("ArrowStroke",null)},set:function(t){var e=this.kd;e!=t&&(this.gq("ArrowStroke",t),this.ga("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kc",{get:function(){return this.cv("ActualArrowStroke",null)},set:function(t){var e=this.kc;e!=t&&(this.gq("ActualArrowStroke",t),this.ga("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j1",{get:function(){return this.cv("ShowArrowIcon",!0)},set:function(t){var e=this.j1;e!=t&&(this.gq("ShowArrowIcon",t),this.ga("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_h8=function(){return null!=this.jw},n.prototype.i9=function(t,e){var n=this;if(this.jz=!1,this.hs.bm>0)for(;this.hs.bm>0;)this.hs.bq(0);null!=this.jw&&(this.jw.t=null),this.jw=new Oi(this.r.v.z(),this.d),this.jw.o=this.t,this.jw.al((function(){n.jw.s.a7=new i.CornerRadius(0,8),n.jw.s.a8=n.r.i8,n.hs.bn(n.jw.s),n.jw.ag(n,(function(r){null!=n.el&&(r.ap=n.el+"SubPanel"),n.jw.am(r),n.actions.count>0&&null!=n.actions._inner[0].g5&&!i.BrushUtilCore.a(n.actions._inner[0].g5)?n.hs.ci=n.actions._inner[0].g5:n.hs.ci=n.r.i8,t&&(n.jw.ak(),n.hs.cd(),n.d.executeDelayed((function(){return n.jq(e)}),100))}))})),this.jw.t=i.runOn(this,this.j9)},n.prototype.f0=function(){t.prototype.f0.call(this),this.h4?this.jb():this.jz=!0},n.prototype.jb=function(){null!=this.jw&&this.jw.ap()},n.prototype.ja=function(){null!=this.jw&&(this.jw.az(),this.hs.cd())},n.prototype.jc=function(){null!=this.jw&&(this.jw.a0(this.t,this.r),this.actions.count>0&&null!=this.actions._inner[0].g5&&!i.BrushUtilCore.a(this.actions._inner[0].g5)?this.hs.ci=this.actions._inner[0].g5:this.hs.ci=this.r.i8,this.hs.b8=8,this.hs.cb=4)},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.hp&&(this.hp.bp=this.ak(this.v)),null!=this.hq&&this.jt(this.hq)},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.j1=e.showArrowIcon},n.prototype.g2=function(){t.prototype.g2.call(this),null!=this.r&&(this.kc=null!=this.kd?this.kd:this.r.i6);var e=this.j1?i.DeviceUtils.g(8):0,n=this.j1?i.DeviceUtils.g(4):0,r=this.j1?i.DeviceUtils.g(5):0,o=this.j1?i.DeviceUtils.g(5):0;switch(this.t){case 6:case 5:case 4:case 3:this.ik=i.isNaN_(this.ip)?e:this.ip,this.il=i.isNaN_(this.iq)?n:this.iq,this.im=i.isNaN_(this.ir)?r:this.ir,this.ij=i.isNaN_(this.io)?o:this.io;break;default:this.ik=i.isNaN_(this.ip)?0:this.ip,this.il=i.isNaN_(this.iq)?0:this.iq,this.im=i.isNaN_(this.ir)?0:this.ir,this.ij=i.isNaN_(this.io)?0:this.io}null!=this.jy&&(this.jy.bc=this.kc),null!=this.jx&&this.jx.cd(0,1,this.bz)},n.prototype.jv=function(){return!this.h4&&this.jz&&this.i8(),this.jw.a5()},n.prototype.jq=function(e){void 0===e&&(e=!1),null!=this.jw&&this.jw.az(),t.prototype.jq.call(this,e)},n.prototype.b5=function(e,n){if(!this.j1)return t.prototype.b5.call(this,e,n);var r=0;return i.isNaN_(this.ik)||(r+=this.ik),i.isNaN_(this.il)||(r+=this.il),Math.max(i.DeviceUtils.g(36),this.bz+this.j2+r)},n.prototype.kb=function(t,e,n,r,o,s,a){this.h2=!0,a&&(t.b8(2),t.b8(1),0==t.bm&&(n.b2(0,1,i.DeviceUtils.g(this.bz)),n.b2(1,1,this.j2),n.bn(r),n.bn(o),n.ca(r,0),n.ca(o,1),this.jx=n,e.bo=n,t.bn(e)),t.cc(e,0),t.ca(e,0),this.a6?e.bp=3:e.bp=this.ak(this.v),n.bi=new i.Thickness(1,this.ik,this.im,this.il,this.ij),e.bn=4,e.bu=!0,e.f=1,e.b0=new i.CornerRadius(0,18),this.jt(r),r.h=1,o.ae=this.j4,o.y=this.j4,o.h=1,o.bh=new i.Thickness(1,-this.j3,0,0,0),o.br="igDropDownArrow",o.bq="IG_Default",o.bb=i.BrushUtil.j(0,0,0,0),o.ac=i.DeviceUtils.g(1)),t.bw=!1,t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),r.br=this.d9,r.bq=this.d4,r.bn=this.cf,r.bo=this.cg,r.bp=this.ch,r.bm=this.ce,r.bb=this.g9,r.bk=this.a,r.bc=this.ha,r.bl=this.b,r.ac=this.cd,r.ae=this.bz,r.y=this.by,o.bc=this.kc,e.c=this.t,e.bx=this.bf,e.b1=this.g8;var h=this.bz+this.ik+this.il;this.j1&&(h=h+this.j4-this.j3),e.by=h,e.bm=i.runOn(this,this.je),e.q=i.runOn(this,this.jg),e.s=i.runOn(this,this.jh),e.o=i.runOn(this,this.jf),this.hp!=e&&(this.hp=e),this.hq!=r&&(this.hq=r),this.jy!=o&&(this.jy=o),this.ka(),this.h2=!1},n.prototype.gd=function(t,e,n){var r=this;if(!this.j0){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1),this.al(7),this.al(11),this.al(11),this.al(12)];this.j0=!0,i.NativeUIComponent.av(this.r.v.z(),[1,7,11,11,12],s,(function(e){r.kb(t,e[0],e[1],e[2],e[3],n,!0),r.ju(t,e[4]),r.j0=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(0),h=a.bo,u=h.bl(0),l=h.bl(1),c=t.bl(1);this.kb(t,a,h,u,l,n,!1),this.ju(t,c)}}},n.prototype.j9=function(t){this.gm(t.a,t.b),t.b&&this.fd()},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"ShowArrowIcon":this.ka(),null!=this.r&&(this.r.gc(this),this.r.gv());break;case"StopPropagation":null!=this.hp&&(this.hp.bx=this.bf)}},n.prototype.ka=function(){if(null!=this.hp&&null!=this.hq&&null!=this.jy)if(this.j1){var t=this.hp.bo;2==t.bx?(t.cd(0,1,i.DeviceUtils.g(this.bz)),t.cd(1,1,this.j2)):(t.b2(0,1,i.DeviceUtils.g(this.bz)),t.b2(1,1,this.j2)),t.ca(this.hq,0),t.ca(this.jy,1),this.jy.bj=0}else{this.hp.bo.cd(1,1,i.DeviceUtils.g(0)),this.jy.bj=1}this.g2()},n.prototype.fb=function(e,i){switch(t.prototype.fb.call(this,e,i),i){case"Visibility":null!=this.jw&&this.jw.ay()}},n.prototype.gg=function(e){if(t.prototype.gg.call(this,e),8==e.aa){var i=e;this.j1!=i.j1&&(this.j1=i.j1),this.kd!=i.kd&&(this.kd=i.kd)}},n.prototype.e=function(){return this.hs.b6?this.jw.k().a:null},n.prototype.cr=function(){var t=new Ge;return t.i=this.cz,t.j=this.el,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.aq.an)),null!=this.hp&&(t.h=this.hp.af()),null!=this.hq&&(t.c=this.hq.af()),null!=this.jy&&(t.l=this.jy.af()),t},n.prototype.h1=function(){return this.r.a6&&this.actions.count>0},n.prototype.h5=function(t){return!(this.r.c0<0||t<this.r.c0)||(this.jr(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",bi.$),n.j6='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M20 11.1205L16.2166 14.8795L12.4575 11.1205" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>\r\n',n}(bi),mi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hm=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 2},n.prototype.get_av=function(){return!1},Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("IsChecked",!1)},set:function(t){var e=this.hn;e!=t&&(this.gq("IsChecked",t),this.ga("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cv("UncheckedBackgroundColor",null)},set:function(t){var e=this.h5;e!=t&&(this.gq("UncheckedBackgroundColor",t),this.ga("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.cv("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.h1;e!=t&&(this.gq("ActualUncheckedBackgroundColor",t),this.ga("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.cv("CheckedBackgroundColor",null)},set:function(t){var e=this.h3;e!=t&&(this.gq("CheckedBackgroundColor",t),this.ga("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hz",{get:function(){return this.cv("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.hz;e!=t&&(this.gq("ActualCheckedBackgroundColor",t),this.ga("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.cv("UncheckedBorderColor",null)},set:function(t){var e=this.h6;e!=t&&(this.gq("UncheckedBorderColor",t),this.ga("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.cv("ActualUncheckedBorderColor",null)},set:function(t){var e=this.h2;e!=t&&(this.gq("ActualUncheckedBorderColor",t),this.ga("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.cv("CheckedBorderColor",null)},set:function(t){var e=this.h4;e!=t&&(this.gq("CheckedBorderColor",t),this.ga("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h0",{get:function(){return this.cv("ActualCheckedBorderColor",null)},set:function(t){var e=this.h0;e!=t&&(this.gq("ActualCheckedBorderColor",t),this.ga("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.gg=function(e){if(t.prototype.gg.call(this,e),2==e.aa){var i=e;null!=this.h4&&(this.h4=i.h4),null!=this.h3&&(this.h3=i.h3),null!=this.h6&&(this.h6=i.h6),null!=this.h5&&(this.h5=i.h5),this.hn!=i.hn&&(this.hn=i.hn)}},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,null!=this.hm&&(e.b=this.hm.bn),e},n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hm&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hm.bn,n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(32)},n.prototype.f3=function(){this.hm.bn=!this.hm.bn,this.go("IsChecked",this.hm.bn),this.gb(this.l(!0),this)},n.prototype.hy=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(e.b2(2,1,this.b6(this.r,r)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.bm=!0,n.f=1,n.h=1,n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20)),n.c=this.t,n.bn=this.hn,n.bl=i.runOn(this,this.hx),n.br=this.h1,n.bs=this.h2,n.bp=this.hz,n.bq=this.h0,this.hm=n},n.prototype.hx=function(t,e){this.go("IsChecked",this.hm.bn),this.gb(this.l(!0),this)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.hy(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hy(o,t,s,n)}},n.prototype.gv=function(){t.prototype.gv.call(this),this.hm},n.prototype.g2=function(){null!=this.r&&(this.h1=null!=this.h5?this.h5:this.r.jd,this.h2=null!=this.h6?this.h6:this.r.je,this.hz=null!=this.h3?this.h3:this.r.iv,this.h0=null!=this.h4?this.h4:this.r.iw,null!=this.hm&&(this.hm.c=this.t,this.hm.br=this.h1,this.hm.bs=this.h2,this.hm.bp=this.hz,this.hm.bq=this.h0))},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g1()}},n.prototype.f9=function(e,i){if(t.prototype.f9.call(this,e,i),null!=this.z){var n=this.z;n.isChecked&&(this.hn=n.isChecked)}},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bl=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bl=null)},n.prototype.cr=function(){var t=new We;return this.fu(t),null!=this.hm&&(t.l=this.hm.af()),t},n.$t=i.markType(n,"ToolActionCheckbox",ni.$),n}(ni),vi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hm=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 5},Object.defineProperty(n.prototype,"ho",{get:function(){return this.cv("Value",0)},set:function(t){var e=this.ho;e!=t&&(this.gq("Value",t),this.ga("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.ft=function(e){var n,r=this;t.prototype.ft.call(this,e),null!=this.hm&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hn(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hn=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.hm.b7)?NaN:(null!=this.hm&&(e=i.tryParseNumber(n.hm.b7,t),t=e.p1,e.ret),t)},n.prototype.l=function(t){var e=new ge;return e.g=this.cz,e.a=this.aa,e.c=t,e.e=this.hn(),e},n.prototype.hq=function(t,e){this.ho=this.hn();var i=this.l(!0);this.gb(i,this)},n.prototype.hr=function(t,e,n,r){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var o=this.b6(this.r,r);e.b2(2,1,o),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=o,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=1,n.bo=2,n.b2=!1}n.c=this.t,n.ce=this.a8?this.g6:this.hc,n.bk=this.ae,n.b0=this.a8,n.bs=i.runOn(this,this.hq),i.isNaN_(this.ho)?n.b7="":n.b7=this.ho.toString(),this.hm!=n&&(this.hm=n)},n.prototype.gd=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),2,this.al(2),(function(e){var i=e;r.hr(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hr(o,t,s,n)}},n.prototype.gv=function(){t.prototype.gv.call(this),null!=this.hm&&(this.hm.bp=this.ak(this.v))},n.prototype.g2=function(){null!=this.hm&&(this.hm.c=this.t)},n.prototype.gi=function(e,i,n){switch(t.prototype.gi.call(this,e,i,n),e){case"IsDisabled":null!=this.hm&&(this.hm.b0=this.a8,this.hm.ce=this.a8?this.g6:this.hc)}},n.prototype.f3=function(){null==this.hm||this.a8||this.hm.az()},n.prototype.fr=function(){t.prototype.fr.call(this);var e=this.z;this.ho=e.value},n.prototype.fc=function(){t.prototype.fc.call(this),null!=this.hm&&(this.hm.bs=null)},n.prototype.fm=function(){t.prototype.fm.call(this),null!=this.hm&&(this.hm.bs=null)},n.prototype.cr=function(){var t=new Ke;return this.fu(t),null!=this.hm&&(t.l=this.hm.af()),t},n.$t=i.markType(n,"ToolActionNumberInput",ni.$),n}(ni),_i=function(t){function n(){var e=t.call(this,ni.$,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(ni.$)),n}(i.ObservableCollection$1),Ci=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 _i,e.e=new _i,e.f=new _i,e.k=r.l,e.ab=null,e.bz=r.b0,e.e5=null,e.fi=null,e.e9=null,e.fh=null,e.fd=null,e.fk=null,e.e8=null,e.fb=null,e.fm=null,e.fl=null,e.bb=NaN,e.bc=NaN,e.fe=null,e.ff=null,e.ac=null,e.ae=null,e.ad=null,e.a8=NaN,e.a9=NaN,e.ba=NaN,e.a7=NaN,e.a4=NaN,e.a5=NaN,e.a6=NaN,e.a3=NaN,e.ap=!0,e.aq=!0,e.br=-1,e.a2=NaN,e.a1=NaN,e.fc=null,e.fg=null,e.fn=null,e.e6=null,e.fo=null,e.e7=null,e.bt=-1,e.fj=null,e.fa=null,e.bs=-1,e.ar=!1,e.u=1,e._userSetWidth=!1,e._userSetHeight=!1,e.ao=!1,e.an=!1,e.propertyChanged=null,e.aa=null,e.c=null,e.onCommand=null,e.subMenuOpening=null,e.subMenuClosing=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.dv));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.dx));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.dy)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new Ze;return h.a=e,e.p=h,e.p.y(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"al",{get:function(){return null==this.ak&&(this.ak=new i.SRProvider(this.p.l),this.ak.cb("Layouts")),this.ak},enumerable:!1,configurable:!0}),r.prototype.d3=function(t){this.s=t,this.s.da=this,this.s.z=0==this.w?1:this.w;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.du)),this.s.p=this.t,this.e1(),this.ef()},r.prototype.du=function(t,e){var i=!1;null!=this.ab&&2==this.ab.onToolCommandExecuting(e.a)&&(i=!0,this.q=e),null==this.onCommand||i||this.onCommand(this,e)},r.prototype.ec=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.ea=function(){var t=this.target;this.eb(t,t)},r.prototype.d6=function(t){null!=this.s&&this.s.notifySizeChanged()},Object.defineProperty(r.prototype,"x",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,e!=this.w&&this.d7("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.d7("Density",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.d7("AutoGeneratedActions",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.d7("Actions",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&this.d7("ActualActions",e,this.f)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"m",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.d7("Orientation",i.enumGetBox(fe,e),i.enumGetBox(fe,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.d7("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fp",{get:function(){return this.e5},set:function(t){var e=this.e5;this.e5=t,e!=this.e5&&this.d7("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f3",{get:function(){return this.fi},set:function(t){var e=this.fi;this.fi=t,e!=this.fi&&this.d7("SubmenuBackgroundColor",e,this.fi)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fu",{get:function(){return this.e9},set:function(t){var e=this.e9;this.e9=t,e!=this.e9&&this.d7("GroupHeaderBackgroundColorPropertyName",e,this.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f2",{get:function(){return this.fh},set:function(t){var e=this.fh;this.fh=t,e!=this.fh&&this.d7("SeparatorBackgroundColor",e,this.fh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fy",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.d7("HoverBackgroundColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f5",{get:function(){return this.fk},set:function(t){var e=this.fk;this.fk=t,e!=this.fk&&this.d7("TextColor",e,this.fk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fs",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.d7("DisabledTextColor",e,this.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fw",{get:function(){return this.fb},set:function(t){var e=this.fb;this.fb=t,e!=this.fb&&this.d7("GroupHeaderTextColor",e,this.fb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f7",{get:function(){return this.fm},set:function(t){var e=this.fm;this.fm=t,e!=this.fm&&this.d7("ToolTipTextColor",e,this.fm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f6",{get:function(){return this.fl},set:function(t){var e=this.fl;this.fl=t,e!=this.fl&&this.d7("ToolTipBackgroundColor",e,this.fl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bp",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.d7("ToolTipCornerRadius",e,this.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bq",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.d7("ToolTipElevation",e,this.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.d7("IconFill",e,this.fe)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f0",{get:function(){return this.ff},set:function(t){var e=this.ff;this.ff=t,e!=this.ff&&this.d7("IconStroke",e,this.ff)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.d7("CellTextStyle",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aj",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.d7("SubtitleTextStyle",e,this.ae)},enumerable:!1,configurable:!0}),r.prototype.ag=function(){return null==this.af?this.p.f():this.af},Object.defineProperty(r.prototype,"ai",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,e!=this.ad&&this.d7("GroupHeaderTextStyle",e,this.ad)},enumerable:!1,configurable:!0}),r.prototype.ah=function(){return null==this.ai?this.p.f():this.ai},Object.defineProperty(r.prototype,"bm",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.d7("SeparatorVerticalPaddingLeft",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bn",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.d7("SeparatorVerticalPaddingRight",e,this.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bo",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.d7("SeparatorVerticalPaddingTop",e,this.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bl",{get:function(){return this.a7},set:function(t){var e=this.a7;this.a7=t,e!=this.a7&&this.d7("SeparatorVerticalPaddingBottom",e,this.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bi",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.d7("SeparatorHorizontalPaddingLeft",e,this.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bj",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.d7("SeparatorHorizontalPaddingRight",e,this.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bk",{get:function(){return this.a6},set:function(t){var e=this.a6;this.a6=t,e!=this.a6&&this.d7("SeparatorHorizontalPaddingTop",e,this.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.a3},set:function(t){var e=this.a3;this.a3=t,e!=this.a3&&this.d7("SeparatorHorizontalPaddingBottom",e,this.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.d7("ShowOnHover",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.d7("ShowTooltipOnHover",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.d7("DropdownClickBuffer",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bg",{get:function(){return this.a2},set:function(t){var e=this.a2;this.a2=t,e!=this.a2&&this.d7("HighlightWidth",e,this.a2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bf",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.d7("HighlightRadius",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fx",{get:function(){return this.fc},set:function(t){var e=this.fc;this.fc=t,e!=this.fc&&this.d7("HighlightColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f1",{get:function(){return this.fg},set:function(t){var e=this.fg;this.fg=t,e!=this.fg&&this.d7("MenuArrowStroke",e,this.fg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f8",{get:function(){return this.fn},set:function(t){var e=this.fn;this.fn=t,e!=this.fn&&this.d7("UncheckedBackgroundColor",e,this.fn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fq",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.d7("CheckedBackgroundColor",e,this.e6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f9",{get:function(){return this.fo},set:function(t){var e=this.fo;this.fo=t,e!=this.fo&&this.d7("UncheckedBorderColor",e,this.fo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fr",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d7("CheckedBorderColor",e,this.e7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"by",{get:function(){return null!=this.s?this.s.c4:-1},set:function(t){this.bt=t,null!=this.s&&(this.s.c4=this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"f4",{get:function(){return this.fj},set:function(t){var e=this.fj;this.fj=t,e!=this.fj&&this.d7("SubtitleTextColor",e,this.fj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fv",{get:function(){return this.fa},set:function(t){var e=this.fa;this.fa=t,e!=this.fa&&this.d7("GroupHeaderSubtitleTextColor",e,this.fa)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bv",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.d7("DropdownDelay",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ay",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.d7("StopPropagation",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"v",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,e!=this.u&&this.d7("ScrollbarStyle",i.enumGetBox(i.ScrollbarStyle_$type,e),i.enumGetBox(i.ScrollbarStyle_$type,this.u))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetWidth",{get:function(){return this._userSetWidth},set:function(t){this._userSetWidth=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"userSetHeight",{get:function(){return this._userSetHeight},set:function(t){this._userSetHeight=t},enumerable:!1,configurable:!0}),r.prototype.dv=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dw))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.dw))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.d5()},r.prototype.dx=function(t,e){this.e4()},r.prototype.dy=function(t,e){for(var n=0;n<this.actualActions.count;n++){if(null!==i.typeCast(i.INotifyPropertyChanged_$type,this.actualActions._inner[n])){var r=this.actualActions._inner[n];r.propertyChanged=i.delegateRemove(r.propertyChanged,i.runOn(this,this.dw))}this.actualActions._inner[n].d=null}},r.prototype.e4=function(){var t=0==this.x?1:this.x;null!=this.s&&(this.s.z=t);for(var e=0;e<this.actualActions.count;e++)this.actualActions._inner[e].t=t},r.prototype.e3=function(){null!=this.s&&this.s.hj(this.z);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].gx(this.z)},r.prototype.dw=function(t,e){},r.prototype.d5=function(){this.ef()},r.prototype.ef=function(){this.an||(null!=this.d?(this.an=!0,this.d.enqueueAction(i.runOn(this,this.d1))):this.ao=!0)},r.prototype.d1=function(){this.an&&(this.an=!1,this.eg(),null!=this.s&&this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.eg=function(){var t=this;this.actualActions.clear();for(var e=0;e<this.autoGeneratedActions.count;e++)this.actualActions.add(this.autoGeneratedActions._inner[e]);for(var n=null,r=null,o=!1,s=!1,a=-1,h=0,u=function(e){var u,c=l.actions._inner[e];i.stringIsNullOrEmpty(c.en)?(i.stringIsNullOrEmpty(c.dm)?i.stringIsNullOrEmpty(c.dj)||(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.dj,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dj,o=!1,s=!0,h=0)):(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.dm,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dm,o=!0,s=!1)),i.stringIsNullOrEmpty(r)?l.actualActions.add(c):o?(n.insert(a,c),a++):s&&(n.insert(a+1+h,c),h++)):(u=t.as(c.en,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].gg(c))},l=this,c=0;c<this.actions.count;c++)u(c)},r.prototype.as=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];return null!=a.el&&a.el==t?{value:{ret:!0,p2:i=e,p3:n=o}}:a.actions.count>0&&(s=r.as(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret)?{value:{ret:!0,p2:i,p3:n}}:void 0},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.at=function(t,e,i,n){for(var r=this,o=function(o){var s,a=e._inner[o];if(null==a.ds){if(null!=a.el&&a.el==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.ds&&a.ds==t)return{value:{ret:!0,p2:i=e,p3:n=o}};if(a.actions.count>0&&(s=r.as(t,a.actions,i,n),i=s.p2,n=s.p3,s.ret))return{value:{ret:!0,p2:i,p3:n}}},s=0;s<e.count;s++){var a=o(s);if("object"==typeof a)return a.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.d2=function(){this.an&&this.d1(),null!=this.s&&this.s.f9()},r.prototype.notifySizeChanged=function(){this.p.v()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.p.w(t),null!=this.af&&null!=this.p.l&&this.af.w(this.p.l)},r.prototype.d7=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ed(t,e,n)},r.prototype.ed=function(t,e,i){switch(t){case"CellTextStyle":null!=this.af&&null!=this.p.l&&this.af.w(this.p.l),this.e1();break;case"BackgroundColor":case"TextColor":case"SubmenuBackgroundColor":case"GroupHeaderBackgroundColorPropertyName":case"GroupHeaderTextColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"Orientation":case"ShowOnHover":case"ShowTooltipOnHover":case"DropdownClickBuffer":case"HighlightWidth":case"HighlightRadius":case"HighlightColor":case"MenuArrowStroke":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":case"GroupHeaderTextStyle":this.e1();break;case"Target":var n=i,r=e;this.eb(r,n);break;case"BaseTheme":this.e4();break;case"Density":this.e3();break;case"ExecutionContext":null!=this.d&&this.ao&&(this.ef(),this.ao=!1)}},r.prototype.e1=function(){null!=this.s&&(this.s.a6=this.aw,this.s.a7=this.ax,this.s.jf=this.fp,this.s.jx=this.f5,this.s.ji=this.fs,this.s.jv=this.f3,this.s.jl=this.fu,this.s.jo=this.fw,this.s.ju=this.f2,this.s.jq=this.fy,this.s.u=this.m,this.s.jz=this.f7,this.s.jy=this.f6,this.s.ct=this.bp,this.s.cu=this.bq,this.s.jr=this.fz,this.s.js=this.f0,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.jp=this.fx,this.s.ci=this.bf,this.s.cj=this.bg,this.s.jt=this.f1,this.s.j0=this.f8,this.s.j1=this.f9,this.s.jg=this.fq,this.s.jh=this.fr,this.s.jw=this.f4,this.s.jn=this.fv,this.s.c1=this.bv,this.s.c0=this.bu,this.s.a8=this.ay,this.s.x=this.v,-1!=this.bt&&(this.s.c4=this.bt))},Object.defineProperty(r.prototype,"av",{get:function(){return null!=this.s&&this.s.a5},enumerable:!1,configurable:!0}),r.prototype.gb=function(){return null!=this.s?this.s.j4():i.Size.empty},r.prototype.eb=function(t,e){this.dz(),this.ab=e,null!=t&&(t.commandCompleted=null,t.dismissContextAccessor(this.aa),null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.ef()),null!=e&&(e.commandCompleted=i.runOn(this,this.ec),e.invalidateActions=i.runOn(this,this.ea),this.aa=new ji(this,!1),e.provideContextAccessor(this.aa),this.e2(),e.addCommandStateChangedListener(this),this.ef())},r.prototype.e2=function(){var t=this.ab.getDesiredToolbarActions();if(null!=t){for(var e=null==this.autoGeneratedActions?0:this.autoGeneratedActions.count,i=t.length,n=0;n<e&&n<i;){var r=this.autoGeneratedActions._inner[n],o=t[n];ni.ax(r,o)||(this.autoGeneratedActions._inner[n]=ni.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(ni.f(t[s]));else if(n<e)for(var a=0;a<e-n;a++)this.autoGeneratedActions.removeAt(n)}else this.autoGeneratedActions.clear()},Object.defineProperty(r.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.d7("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.dz=function(){null!=this.s&&this.s.f4()},r.prototype.d9=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new he)},r.prototype.d8=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.hn=n;break;case 5:a.ho=n;break;case 6:a.hn=n}break;case 0:a.hl=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a8=n}}},r.prototype.eh=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.d9==e&&(n.d9=null,n.d9=e),null!=n.actions&&n.actions.count>0&&this.eh(n.actions,e)}},r.prototype.ej=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.eh(this.actualActions,e)},r.prototype.cq=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.el=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.eh(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.ei=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.eh(this.actualActions,e)},r.prototype.cp=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.ek=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.eh(this.actualActions,e)},r.prototype.b8=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.eo=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g4(this.t,t,e)},r.prototype.ft=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.jk(this.t,t)},r.prototype.eu=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),Pi.g4(this.t,t,e))},r.prototype.b5=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Pi.jk(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.en=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g2(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.b(this.t,t)},r.prototype.et=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),Pi.g2(this.t,t,e))},r.prototype.b4=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Pi.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.es=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hc(this.t,t,e)},r.prototype.bd=function(t){return i.stringIsNullOrEmpty(t)?NaN:Pi.ch(this.t,t)},r.prototype.ez=function(t,e){i.stringIsNullOrEmpty(t)||Pi.he(this.t,t,e)},r.prototype.be=function(t){return i.stringIsNullOrEmpty(t)?NaN:Pi.ch(this.t,t)},r.prototype.ex=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hc(this.t,t,e)},r.prototype.bx=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Pi.c3(this.t,t)},r.prototype.ey=function(t,e){i.stringIsNullOrEmpty(t)||Pi.he(this.t,t,i.typeGetValue(e))},r.prototype.bw=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Pi.c3(this.t,t)},r.prototype.e0=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hg(this.t,t,e)},r.prototype.cr=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.es(this.t,t)},r.prototype.em=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g0(this.t,t,e)},r.prototype.au=function(t){return!i.stringIsNullOrEmpty(t)&&Pi.a3(this.t,t)},r.prototype.ep=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g6(this.t,t,e)},r.prototype.ga=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):Pi.j3(this.t,t)},r.prototype.ev=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),Pi.g6(this.t,t,e))},r.prototype.b6=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Pi.j3(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.er=function(t,e){i.stringIsNullOrEmpty(t)||Pi.ha(this.t,t,e)},r.prototype.b3=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.c9(this.t,t)},r.prototype.ew=function(t,e){i.stringIsNullOrEmpty(t)||Pi.ha(this.t,t,e)},r.prototype.b7=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.c9(this.t,t)},r.prototype.eq=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g8(this.t,t,e)},r.prototype.b2=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.c7(this.t,t)},r.prototype.b1=function(){return null==this.s?null:this.s.c5()},r.prototype.co=function(){return this.b1().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.b0=null,r}(i.Base),ji=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=!1,n.a=e,n.b=i,n}return e.__extends(n,t),n.prototype.getContextValue=function(t,e){switch(e){case 0:return this.b?this.a.ft(t):this.a.b5(t);case 1:return this.b?this.a.b(t):this.a.b4(t);case 2:return this.b?this.a.ga(t):this.a.b6(t);case 3:return this.b,this.a.cr(t);case 4:return this.b?this.a.bd(t):this.a.be(t);case 6:return this.b?this.a.bx(t):this.a.bw(t);case 7:return this.b?this.a.b3(t):this.a.b7(t);case 5:return this.b,this.a.au(t)}return null},n.prototype.getInternalAccessor=function(){return new n(this.a,!0)},n.prototype.setContextValue=function(t,e,n){switch(e){case 0:this.b?this.a.eo(t,n):this.a.eu(t,n);break;case 1:this.b?this.a.en(t,n):this.a.et(t,n);break;case 2:this.b?this.a.ep(t,n):this.a.ev(t,n);break;case 3:this.b,this.a.e0(t,n);break;case 4:this.b?this.a.es(t,n):this.a.ex(t,n);break;case 6:this.b?this.a.ez(t,i.typeGetValue(n)):this.a.ey(t,n);break;case 7:this.b?this.a.er(t,n):this.a.ew(t,n);break;case 5:this.b,this.a.em(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),wi=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),Pi=function(t){function r(){var e=t.call(this)||this;e.v=null,e.at=null,e.da=null,e.o=null,e.aw=!1,e.au=null,e.k=new ye,e.propertyChanged=null,e.i=new _i,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(ni.$),0),e.bb=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(ni.$),0),e.a9=new i.Dictionary$2(i.String_$type,ni.$,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.h7=null,e.hm=null,e.im=null,e.h0=null,e.ib=null,e.hq=null,e.il=null,e.hz=null,e.ic=null,e.hr=null,e.ih=null,e.hv=null,e.f=null,e.bs=Number.POSITIVE_INFINITY,e.ip=null,e.h2=null,e.h1=null,e.io=null,e.ia=null,e.hp=null,e.ie=null,e.ht=null,e.id=null,e.hs=null,e.ir=null,e.h4=null,e.iq=null,e.h3=null,e.b1=NaN,e.bn=NaN,e.b2=NaN,e.bo=NaN,e.ii=null,e.hw=null,e.ij=null,e.hx=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.bq=NaN,e.be=NaN,e.bp=NaN,e.bd=NaN,e.ig=null,e.hu=null,e.ik=null,e.hy=null,e.is=null,e.h5=null,e.h8=null,e.hn=null,e.it=null,e.h6=null,e.h9=null,e.ho=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;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.f0)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),Qe.g();var s=new ti;return s.c=e,e.v=s,e.v.ah(),e.hl(),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.gi))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.gi))}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.ga=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.fz));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.fu)),this.f.ad=this.u,this.f.b0=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.fv));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.fy));var s=this.f;s.itemRecycled=i.delegateCombine(s.itemRecycled,i.runOn(this,this.fx));var a=this.f;a.itemRebind=i.delegateCombine(a.itemRebind,i.runOn(this,this.fw)),this.f.c9=this.ck,this.gs()},r.prototype.gm=function(){null!=this.da&&(null!==i.typeCast(r.$,this.da)&&this.da.gm(),null!==i.typeCast(Ci.$,this.da)&&this.da.d9())},r.prototype.gl=function(){null!=this.da&&(null!==i.typeCast(r.$,this.da)&&this.da.gl(),null!==i.typeCast(Ci.$,this.da)&&this.da.d8())},r.prototype.fu=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new Xe)},r.prototype.fv=function(t,e){var n=e.c,r=new ye;this.go(r),n.fg(this,r),0==n.hl?i.isNaN_(r.d)?e.a=this.f.c6:e.a=r.d:e.a=0},r.prototype.fy=function(t,e){var n=e.c,r=new ye;this.go(r),n.fg(this,r),0==n.hl?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.fx=function(t,e){e.rowObject.fl()},r.prototype.fw=function(t,e){e.rowObject.fk()},r.prototype.fz=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new ye;this.go(r),i.fg(this,r),i.gc(n,this,e,r)}else i.gc(n,this,e,this.k)},r.prototype.gg=function(t){this.bs=t.width,this.gs(),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.gk("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.gk("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.gk("ShowTooltipOnHover",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.gk("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.gk("StopPropagation",e,this.a1)},enumerable:!1,configurable:!0}),r.prototype.f0=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.gb))}l.fc(),l.d=null,l.gp(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.gb))}d.d=this.c,d.gp(this)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.hk(this.actions),this.gf()},r.prototype.f1=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.gb))}this.actions._inner[n].fc(),this.actions._inner[n].d=null,this.actions._inner[n].gp(null)}},r.prototype.gf=function(){this.gs(),this.v.ae()},r.prototype.gs=function(){this.ay||(this.ay=!0,this.c.enqueueAction(i.runOn(this,this.f6)))},r.prototype.gu=function(){this.ay=!0,this.f6()},r.prototype.f6=function(){if(this.ay){this.ay=!1,this.f2(),this.gy();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.f7()}},r.prototype.f2=function(){this.ba.clear(),this.bb.clear(),this.a9.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].gp(this),null!=this.i._inner[t].cz&&this.a9.item(this.i._inner[t].cz,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].es)if(this.a9.containsKey(this.i._inner[e].es))this.ba.containsKey(this.i._inner[e].es)||this.ba.item(this.i._inner[e].es,new i.List$1(ni.$,0)),this.ba.item(this.i._inner[e].es).add(this.i._inner[e])}for(var n=0;n<this.i.count;n++)if(6==this.i._inner[n].aa){var r=this.i._inner[n].hu;null==r&&(r="null"),this.bb.containsKey(r)||this.bb.item(r,new i.List$1(ni.$,0)),this.bb.item(r).add(this.i._inner[n])}},r.prototype.a4=function(t){return null!=t.cz&&this.ba.containsKey(t.cz)},r.prototype.h=function(t){return this.a9.containsKey(t)?this.a9.item(t):null},r.prototype.bc=function(t){return null==t.cz?null:this.ba.containsKey(t.cz)?this.ba.item(t.cz):null},r.prototype.l=function(t){var e=new ye;return this.go(e),t.fg(this,e),this.gd(this.k,e),e},r.prototype.go=function(t){t.a=this.u,t.c=this.bs},r.prototype.gd=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.gy=function(){this.k=new ye,this.k.a=this.u,this.k.c=this.bs},r.prototype.j4=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].hl&&(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].hl&&(o>0&&(t+=this.ck),i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].hl&&(e=i.isNaN_(s.d)?this.b5:s.d)}}return new i.Size(1,t,e)},r.prototype.f7=function(){null!=this.f&&this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.f9=function(){this.ay&&this.f6(),null!=this.f&&this.f.f2()},r.prototype.gv=function(){null!=this.f&&this.f.hc()},r.prototype.gt=function(t){var e=t.hu;null==e&&(e="null");var i=t.cz;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].cz!=i&&this.bb.item(e)._inner[n].h1()},r.prototype.gb=function(t,e){"ExecutionContext"!=e.propertyName&&this.gf()},r.prototype.f3=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fc()},r.prototype.gp=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.gb))}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.f3()},r.prototype.destroy=function(){this.provideContainer(null),this.f3()},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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("ActualGroupHeaderTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),r.prototype.gk=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gq(t,e,n)},r.prototype.gq=function(t,n,r){var o,s,a,h;switch(t){case"BaseTheme":case"TextColor":case"BackgroundColor":case"SubmenuBackgroundColor":case"GroupHeaderTextColor":case"GroupHeaderBackgroundColor":case"SeparatorBackgroundColor":case"HoverBackgroundColor":case"IconFill":case"IconStroke":case"ToolTipTextColor":case"ToolTipBackgroundColor":case"ToolTipCornerRadius":case"ToolTipElevation":case"SeparatorHorizontalPaddingLeft":case"SeparatorHorizontalPaddingRight":case"SeparatorHorizontalPaddingTop":case"SeparatorHorizontalPaddingBottom":case"SeparatorVerticalPaddingLeft":case"SeparatorVerticalPaddingRight":case"SeparatorVerticalPaddingTop":case"SeparatorVerticalPaddingBottom":case"CellTextStyle":case"HighlightRadius":case"HighlightWidth":case"HighlightColor":case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":case"SubtitleTextColor":case"GroupHeaderSubtitleTextColor":case"SubtitleTextStyle":case"DropdownDelay":case"GroupHeaderTextStyle":this.hl();break;case"ActualTextColor":case"ActualIconFill":case"ActualIconStroke":case"ActualSubmenuBackgroundColor":case"ActualGroupHeaderTextColor":case"ActualGroupHeaderBackgroundColor":case"ActualSeparatorBackgroundColor":case"ActualHoverBackgroundColor":case"ActualToolTipTextColor":case"ActualToolTipBackgroundColor":case"ActualToolTipCornerRadius":case"ActualToolTipElevation":case"ActualSeparatorHorizontalPaddingLeft":case"ActualSeparatorHorizontalPaddingRight":case"ActualSeparatorHorizontalPaddingTop":case"ActualSeparatorHorizontalPaddingBottom":case"ActualSeparatorVerticalPaddingLeft":case"ActualSeparatorVerticalPaddingRight":case"ActualSeparatorVerticalPaddingTop":case"ActualSeparatorVerticalPaddingBottom":case"ActualCellTextStyle":case"ActualHighlightRadius":case"ActualHighlightWidth":case"ActualHighlightColor":case"ActualUncheckedBackgroundColor":case"ActualUncheckedBorderColor":case"ActualCheckedBackgroundColor":case"ActualCheckedBorderColor":case"ActualSubtitleTextColor":case"ActualGroupHeaderSubtitleTextColor":case"ActualSubtitleTextStyle":case"ActualDropdownDelay":case"ActualGroupHeaderTextStyle":this.hk(this.actions);break;case"ActualBackgroundColor":this.hi();break;case"ActualDensity":this.hh(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.f0)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.f1));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.gb))}p.fc(),p.d=null,p.gp(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.f0)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.f1));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.gb))}y.d=this.c,y.gp(this)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=b.return)&&h.call(b)}finally{if(a)throw a.error}}}this.hk(this.actions),this.gs();break;case"ScrollbarStyle":null!=this.f&&(this.f.a0=this.w);break;case"StopPropagation":for(var v=0;v<this.actions.count;v++)this.actions._inner[v].bf=this.a8}},r.prototype.hl=function(){switch(this.z){case 0:case 1:case 2:this.ja=null!=this.jx?this.jx:i.BrushUtil.j(255,24,29,31),this.i9=null!=this.jw?this.jw:i.BrushUtil.j(102,24,29,31),this.ix=null!=this.ji?this.ji:i.BrushUtil.j(102,0,0,0),this.iu=null!=this.jf?this.jf:i.BrushUtil.j(255,255,255,255),this.i8=null!=this.jv?this.jv:i.BrushUtil.j(255,255,255,255),this.iy=null!=this.jl?this.jl:i.BrushUtil.j(255,237,239,245),this.i1=null!=this.jo?this.jo:i.BrushUtil.j(255,142,143,147),this.i0=null!=this.jn?this.jn:i.BrushUtil.j(102,142,143,147),this.i7=null!=this.ju?this.ju:i.BrushUtil.j(255,237,239,245),this.iz=null!=this.jm?this.jm:i.BrushUtil.j(25,0,0,0),this.i3=null!=this.jq?this.jq:i.BrushUtil.j(51,178,191,220),this.jc=null!=this.jz?this.jz:i.BrushUtil.j(255,0,0,0),this.i4=null!=this.jr?this.jr:i.BrushUtil.j(255,0,0,0),this.i5=null!=this.js?this.js:i.BrushUtil.j(255,0,0,0),this.jb=null!=this.jy?this.jy:i.BrushUtil.j(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.i2=null!=this.jp?this.jp:i.BrushUtil.j(255,110,137,247),this.b3=i.isNaN_(this.ci)?6:this.ci,this.b4=i.isNaN_(this.cj)?1:this.cj,this.i6=null!=this.jt?this.jt:i.BrushUtil.j(255,0,0,0),this.jd=this.j0,this.je=this.j1,this.iv=this.jg,this.iw=this.jh,this.cz=-1!=this.c1?this.c1:500;break;case 5:case 3:this.ja=null!=this.jx?this.jx:i.BrushUtil.j(255,24,29,31),this.i9=null!=this.jw?this.jw:i.BrushUtil.j(102,24,29,31),this.ix=null!=this.ji?this.ji:i.BrushUtil.j(102,0,0,0),this.iu=null!=this.jf?this.jf:i.BrushUtil.j(255,255,255,255),this.i8=null!=this.jv?this.jv:i.BrushUtil.j(255,255,255,255),this.iy=null!=this.jl?this.jl:i.BrushUtil.j(255,237,239,245),this.i1=null!=this.jo?this.jo:i.BrushUtil.j(255,142,143,147),this.i0=null!=this.jn?this.jn:i.BrushUtil.j(102,142,143,147),this.i7=null!=this.ju?this.ju:i.BrushUtil.j(255,237,239,245),this.iz=null!=this.jm?this.jm:i.BrushUtil.j(25,0,0,0),this.i3=null!=this.jq?this.jq:i.BrushUtil.j(51,178,191,220),this.jc=null!=this.jz?this.jz:i.BrushUtil.j(255,0,0,0),this.i4=null!=this.jr?this.jr:i.BrushUtil.j(255,0,0,0),this.i5=null!=this.js?this.js:i.BrushUtil.j(255,0,0,0),this.jb=null!=this.jy?this.jy:i.BrushUtil.j(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.i2=null!=this.jp?this.jp:i.BrushUtil.j(255,110,137,247),this.b3=i.isNaN_(this.ci)?6:this.ci,this.b4=i.isNaN_(this.cj)?1:this.cj,this.i6=null!=this.jt?this.jt:i.BrushUtil.j(255,0,0,0),this.jd=this.j0,this.je=this.j1,this.iv=this.jg,this.iw=this.jh,this.cz=-1!=this.c1?this.c1:500;break;case 6:case 4:this.ja=null!=this.jx?this.jx:i.BrushUtil.j(255,255,255,255),this.i9=null!=this.jw?this.jw:i.BrushUtil.j(102,255,255,255),this.ix=null!=this.ji?this.ji:i.BrushUtil.j(102,255,255,255),this.iu=null!=this.jf?this.jf:i.BrushUtil.j(255,55,63,86),this.i8=null!=this.jv?this.jv:i.BrushUtil.j(255,55,63,86),this.iy=null!=this.jl?this.jl:i.BrushUtil.j(255,44,50,70),this.i1=null!=this.jo?this.jo:i.BrushUtil.j(255,255,255,255),this.i0=null!=this.jn?this.jn:i.BrushUtil.j(102,255,255,255),this.i7=null!=this.ju?this.ju:i.BrushUtil.j(255,44,50,70),this.iz=null!=this.jm?this.jm:i.BrushUtil.j(25,0,0,0),this.i3=null!=this.jq?this.jq:i.BrushUtil.j(25,105,136,255),this.jc=null!=this.jz?this.jz:i.BrushUtil.j(255,255,255,255),this.i4=null!=this.jr?this.jr:i.BrushUtil.j(255,255,255,255),this.i5=null!=this.js?this.js:i.BrushUtil.j(255,255,255,255),this.jb=null!=this.jy?this.jy:i.BrushUtil.j(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.i2=null!=this.jp?this.jp:i.BrushUtil.j(255,110,137,247),this.b3=i.isNaN_(this.ci)?6:this.ci,this.b4=i.isNaN_(this.cj)?1:this.cj,this.i6=null!=this.jt?this.jt:i.BrushUtil.j(255,255,255,255),this.jd=this.j0,this.je=this.j1,this.iv=this.jg,this.iw=this.jh,this.cz=-1!=this.c1?this.c1:500}},r.prototype.hk=function(t){for(var e=0;e<t.count;e++)t._inner[e].g1(),this.hk(t._inner[e].actions)},r.prototype.hh=function(t){for(var e=0;e<t.count;e++)t._inner[e].gx(this.ad),this.hh(t._inner[e].actions)},r.prototype.hi=function(){null!=this.v.r&&i.NativeUI.m(this.v.x,this.iu)},Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.gk("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.gk("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.gk("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jf",{get:function(){return this.h7},set:function(t){var e=this.h7;this.h7=t,e!=this.h7&&this.gk("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iu",{get:function(){return this.hm},set:function(t){var e=this.hm;this.hm=t,e!=this.hm&&this.gk("ActualBackgroundColor",e,this.hm)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jv",{get:function(){return this.im},set:function(t){var e=this.im;this.im=t,e!=this.im&&this.gk("SubmenuBackgroundColor",e,this.im)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i8",{get:function(){return this.h0},set:function(t){var e=this.h0;this.h0=t,e!=this.h0&&this.gk("ActualSubmenuBackgroundColor",e,this.h0)},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.gk("GroupHeaderBackgroundColor",e,this.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iy",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,e!=this.hq&&this.gk("ActualGroupHeaderBackgroundColor",e,this.hq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ju",{get:function(){return this.il},set:function(t){var e=this.il;this.il=t,e!=this.il&&this.gk("SeparatorBackgroundColor",e,this.il)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i7",{get:function(){return this.hz},set:function(t){var e=this.hz;this.hz=t,e!=this.hz&&this.gk("ActualSeparatorBackgroundColor",e,this.hz)},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.gk("GroupHeaderSeparatorBackgroundColor",e,this.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iz",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.gk(r.dk,e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jq",{get:function(){return this.ih},set:function(t){var e=this.ih;this.ih=t,e!=this.ih&&this.gk("HoverBackgroundColor",e,this.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i3",{get:function(){return this.hv},set:function(t){var e=this.hv;this.hv=t,e!=this.hv&&this.gk("ActualHoverBackgroundColor",e,this.hv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jx",{get:function(){return this.ip},set:function(t){var e=this.ip;this.ip=t,e!=this.ip&&this.gk("TextColor",e,this.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ja",{get:function(){return this.h2},set:function(t){var e=this.h2;this.h2=t,e!=this.h2&&this.gk("ActualTextColor",e,this.h2)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i9",{get:function(){return this.h1},set:function(t){var e=this.h1;this.h1=t,e!=this.h1&&this.gk("ActualSubtitleTextColor",e,this.h1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jw",{get:function(){return this.io},set:function(t){var e=this.io;this.io=t,e!=this.io&&this.gk("SubtitleTextColor",e,this.io)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ji",{get:function(){return this.ia},set:function(t){var e=this.ia;this.ia=t,e!=this.ia&&this.gk("DisabledTextColor",e,this.ia)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ix",{get:function(){return this.hp},set:function(t){var e=this.hp;this.hp=t,e!=this.hp&&this.gk("ActualDisabledTextColor",e,this.hp)},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.gk("GroupHeaderTextColor",e,this.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i1",{get:function(){return this.ht},set:function(t){var e=this.ht;this.ht=t,e!=this.ht&&this.gk("ActualGroupHeaderTextColor",e,this.ht)},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.gk("GroupHeaderSubtitleTextColor",e,this.id)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i0",{get:function(){return this.hs},set:function(t){var e=this.hs;this.hs=t,e!=this.hs&&this.gk("ActualGroupHeaderSubtitleTextColor",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jz",{get:function(){return this.ir},set:function(t){var e=this.ir;this.ir=t,e!=this.ir&&this.gk("ToolTipTextColor",e,this.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jc",{get:function(){return this.h4},set:function(t){var e=this.h4;this.h4=t,e!=this.h4&&this.gk("ActualToolTipTextColor",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jy",{get:function(){return this.iq},set:function(t){var e=this.iq;this.iq=t,e!=this.iq&&this.gk("ToolTipBackgroundColor",e,this.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jb",{get:function(){return this.h3},set:function(t){var e=this.h3;this.h3=t,e!=this.h3&&this.gk("ActualToolTipBackgroundColor",e,this.h3)},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.gk("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.gk("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.gk("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.gk("ActualToolTipElevation",e,this.bo)},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.gk("IconFill",e,this.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i4",{get:function(){return this.hw},set:function(t){var e=this.hw;this.hw=t,e!=this.hw&&this.gk("ActualIconFill",e,this.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"js",{get:function(){return this.ij},set:function(t){var e=this.ij;this.ij=t,e!=this.ij&&this.gk("IconStroke",e,this.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i5",{get:function(){return this.hx},set:function(t){var e=this.hx;this.hx=t,e!=this.hx&&this.gk("ActualIconStroke",e,this.hx)},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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("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.gk("Orientation",i.enumGetBox(ee,e),i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),r.prototype.gn=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.aa&&this.gt(t)},Object.defineProperty(r.prototype,"c4",{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,"cj",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.gk("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.gk("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.gk("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.gk("ActualHighlightRadius",e,this.bd)},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.gk("HighlightColor",e,this.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i2",{get:function(){return this.hu},set:function(t){var e=this.hu;this.hu=t,e!=this.hu&&this.gk("ActualHighlightColor",e,this.hu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jt",{get:function(){return this.ik},set:function(t){var e=this.ik;this.ik=t,e!=this.ik&&this.gk("MenuArrowStroke",e,this.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i6",{get:function(){return this.hy},set:function(t){var e=this.hy;this.hy=t,e!=this.hy&&this.gk("ActualMenuArrowStroke",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j0",{get:function(){return this.is},set:function(t){var e=this.is;this.is=t,e!=this.is&&this.gk("UncheckedBackgroundColor",e,this.is)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jd",{get:function(){return this.h5},set:function(t){var e=this.h5;this.h5=t,e!=this.h5&&this.gk("ActualUncheckedBackgroundColor",e,this.h5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jg",{get:function(){return this.h8},set:function(t){var e=this.h8;this.h8=t,e!=this.h8&&this.gk("CheckedBackgroundColor",e,this.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iv",{get:function(){return this.hn},set:function(t){var e=this.hn;this.hn=t,e!=this.hn&&this.gk("ActualCheckedBackgroundColor",e,this.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"j1",{get:function(){return this.it},set:function(t){var e=this.it;this.it=t,e!=this.it&&this.gk("UncheckedBorderColor",e,this.it)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"je",{get:function(){return this.h6},set:function(t){var e=this.h6;this.h6=t,e!=this.h6&&this.gk("ActualUncheckedBorderColor",e,this.h6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jh",{get:function(){return this.h9},set:function(t){var e=this.h9;this.h9=t,e!=this.h9&&this.gk("CheckedBorderColor",e,this.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iw",{get:function(){return this.ho},set:function(t){var e=this.ho;this.ho=t,e!=this.ho&&this.gk("ActualCheckedBorderColor",e,this.ho)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.gk("DropdownDelay",e,this.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.gk("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.gk("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.gk("ItemSpacing",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.gi=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.gw=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new Ti).a=t,e))},r.prototype.gx=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new Ti).a=t,e))},r.prototype.f4=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fd()},Object.defineProperty(r.prototype,"a5",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].ba)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){this.ac=t},enumerable:!1,configurable:!0}),r.prototype.hj=function(t){this.af=t,0==this.ae&&(this.ad=t)},r.prototype.c5=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.cr();if(t.b.add1(s),null!=o){var a=((n=new se).a=o.af(),n);t.c.add(a)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.eq=function(){return this.c5().serialize()},r.prototype.g3=function(t,e){r.g4(this.p,t,e)},r.g4=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(t,e,n)},r.prototype.jj=function(t){return r.jk(this.p,t)},r.jk=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c7(t,e)},r.prototype.g1=function(t,e){r.g2(this.p,t,e)},r.g2=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(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.c7(t,e)},r.prototype.hb=function(t,e){r.hc(this.p,t,e)},r.hc=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(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.c7(t,e)},r.prototype.hd=function(t,e){r.he(this.p,t,e)},r.he=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(t,e,n)},r.prototype.c2=function(t){return r.c3(this.p,t)},r.c3=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.c7(t,e))},r.prototype.hf=function(t,e){r.hg(this.p,t,e)},r.hg=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(t,e,n)},r.prototype.er=function(t){return r.es(this.p,t)},r.es=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c7(t,e)},r.prototype.gz=function(t,e){r.g0(this.p,t,e)},r.g0=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(t,e,n)},r.prototype.a2=function(t){return r.a3(this.p,t)},r.a3=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.c7(t,e)},r.prototype.g5=function(t,e){r.g6(this.p,t,e)},r.g6=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(t,e,n)},r.prototype.j2=function(t){return r.j3(this.p,t)},r.j3=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.c7(t,e)},r.prototype.g9=function(t,e){r.ha(this.p,t,e)},r.ha=function(t,e,n){i.stringIsNullOrEmpty(e)||r.g8(t,e,n)},r.prototype.c8=function(t){return r.c9(this.p,t)},r.c9=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c7(t,e)},r.prototype.g7=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.g8=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.c6=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.c7=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.f8=function(){this.v.aa()},r.prototype.gc=function(t){null!=this.f&&this.f.fs(t)},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.dk="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),Ti=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),Oi=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(Ii.$),r.u=!1,r.s=null,r.r=null,r.w=new i.List$1(ki.$,0),r.n=1,r.z=200,r.t=null,r.ac=0,r.v=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ad=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a1},set:function(t){this.d.d=this.a1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a2},set:function(t){this.g.d=this.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.av("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.z},set:function(t){this.z=t},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var e=this;i.NativeUIComponent.aw(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bn(e.r),e.r.bd=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a5=function(){return null!=this.j?this.j.f():this.s.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.k=function(){return this.j},n.prototype.ag=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.x.count;r++)if(this.x._inner[r].b==t)return void(null!=e&&e(this.x._inner[r].a));i.NativeUIComponent.au(this.ad,13,(function(r){var o=r;o.c=n.o,o.ck=t.r.jx,o.bu=t.r.p,o.ca=t.r.ji,o.b7=t.r.jv,o.ci=t.r.jv,o.cb=t.r.jl,o.cd=t.r.jo,o.ch=t.r.ju,o.bw=t.r.am,o.cl=t.r.j0,o.cm=t.r.j1,o.b8=t.r.jg,o.b9=t.r.jh,o.cg=t.r.jt,o.ce=t.r.jr,o.cf=t.r.js,o.cj=t.r.jw,o.cc=t.r.jn,o.by=t.r.as,o.bx=t.r.ar,-1!=t.cp&&(o.b1=t.cp),o.bt=t.actions,o.bm=i.runOn(n,n.at),o.bn=i.runOn(n,n.au),o.bs=i.runOn(n,n.ar),n.r.bn(o),n.aa=0;for(var s=0;s<n.x.count;s++){var a=n.x._inner[s].f();n.aa+=a.width,n.x._inner[s].a.ae=a.width}n.r.bu(o,n.aa),n.r.bv(o,0),n.x.add(new ki(t,o,n.aa)),n.ay(),null!=e&&e(o)}))},n.prototype.am=function(t){for(var e=0;e<this.x.count;e++)this.x._inner[e].a==t&&this.ao(e)},n.prototype.ao=function(t){this.an(this.x._inner[t])},n.prototype.an=function(t,e){void 0===e&&(e=null),this.ah(t,-Math.floor(t.c),e),this.j=t},n.prototype.at=function(t,e){var i=this;if(this.ac++,this.x.count>1&&this.ac<this.x.count){for(var n=this.x.count-1;n>this.ac;n--)this.x._inner[n].a.bm=null,this.x._inner[n].a.bn=null,this.r.bp(this.x._inner[n].a),this.aa-=this.x._inner[n].a.ae,this.x.removeAt(n);if(this.x._inner[this.ac].b==e.a)return void this.am(this.x._inner[this.ac].a);this.x._inner[this.ac].a.bm=null,this.x._inner[this.ac].a.bn=null,this.r.bp(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.ae,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.el&&(t.ap=e.a.el+"SubMenu"),i.i.executeDelayed((function(){return i.am(t)}),0)}))},n.prototype.au=function(t,e){this.ac=Math.max(0,this.ac-1),this.an(this.x._inner[this.ac],(function(){}))},n.prototype.ar=function(t,e){null!=this.t&&this.t(e)},n.prototype.ah=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.aj(),null==this.r.bd){var s=t.f();return this.s.ae=Math.floor(s.width),void(this.s.y=Math.floor(s.height))}if(1==this.p.playState)this.p.playbackRate>0&&this.a3.j==e||this.p.playbackRate<0&&this.a4.j==e?(this.p.reverse(),this.q.reverse()):this.y.g(((r=new Ii).a=t,r.c=e,r.b=n,r));else{this.a3=function(){var t=new i.TranslateTransform;return t.j=o.a4.j,t}(),this.a4=function(){var t=new i.TranslateTransform;return t.j=e,t}();var a=t.f();this.e.d=this.s.ae,this.c.d=this.s.y,this.h.d=Math.floor(a.width),this.f.d=Math.floor(a.height),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){return o.aq(n)})),this.q.updatePlaybackRate(1),this.q.play(),this.q.finished.f((function(t){null!=o.q&&o.q.commitStyles()}))}},n.prototype.aj=function(){if(null==this.p){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.ab,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.r.an,0,null,t),this.a1=((e=new i.TranslateTransform).j=0,e),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.a1),this.g=new i.AnimationKeyFrameProperty(14,this.a2),this.p=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.s.an,0,null,t),this.e=new i.AnimationKeyFrameProperty(9,0),this.c=new i.AnimationKeyFrameProperty(10,0),this.h=new i.AnimationKeyFrameProperty(9,0),this.f=new i.AnimationKeyFrameProperty(10,0),this.q=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.aq=function(t){var e,n=this;if(null!=this.p&&this.p.commitStyles(),null!=t&&t(),this.p.playbackRate<0){var r=this.a4.j;this.a4=((e=new i.TranslateTransform).j=n.a3.j,e),this.a3=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.y.count>0){var o=this.y.b();this.an(o.a,o.b)}},n.prototype.ay=function(){this.v||(this.v=!0,this.i.enqueueAction(i.runOn(this,this.ai)))},n.prototype.ak=function(){this.ai()},n.prototype.ai=function(){if(this.v){this.v=!1;for(var t=0;t<this.x.count;t++){this.x._inner[t].e();var e=this.x._inner[t].f();this.x._inner[t].a.ae=e.width,this.x._inner[t].a.y=e.height,this.x._inner[t].a.b4(e),this.u||(1!=this.q.playState?this.ac==t&&(this.s.ae=e.width,this.s.y=e.height):(this.h.d=Math.floor(e.width),this.f.d=Math.floor(e.height)))}this.u=!1}},n.prototype.az=function(){this.ac=0,this.r.bd=new i.MatrixTransform;var t,e=this.x._inner[0].f();this.s.ae=Math.floor(e.width),this.s.y=Math.floor(e.height),this.a1=((t=new i.TranslateTransform).j=0,t),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.a0=function(t,e){this.n=t;for(var i=0;i<this.x.count;i++){var n=this.x._inner[i].a;n.c=t,n.ck=e.jx,n.ca=e.ji,n.b7=e.jv,n.ci=e.jv,n.cb=e.jl,n.cd=e.jo,n.ch=e.ju}},n.prototype.ap=function(){var t=this.x._inner[this.ac].f();this.x._inner[this.ac].a.ae=t.width,this.x._inner[this.ac].a.y=t.height,this.x._inner[this.ac].d(t),1!=this.q.playState?(this.s.ae=t.width,this.s.y=t.height):(this.h.d=Math.floor(t.width),this.f.d=Math.floor(t.height))},n.prototype.as=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.aw=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.av=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},n.prototype.ax=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.x.count;n++)this.x._inner[n].a.c=this.o}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),ki=function(t){function n(e,i,n){var r=t.call(this)||this;return r.c=0,r.a=null,r.b=null,r.b=e,r.a=i,r.c=n,r}return e.__extends(n,t),n.prototype.f=function(){return this.a.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.b5()},n.prototype.d=function(t){this.a.b4(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),Ii=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),Si=function(t){function n(e){var n=t.call(this)||this;if(Ri.$type||(Ri.$type=i.markType(Ri,"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(){Ri.$type||(Ri.$type=i.markType(Ri,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(Ri.$type,ni.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=Ri._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),xi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new 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}(),Ai=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}(),Ni=function(t){function n(e){var n=t.call(this)||this;if(Ai.$type||(Ai.$type=i.markType(Ai,"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(){Ai.$type||(Ai.$type=i.markType(Ai,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(Ai.$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 Ai)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Bi=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 Ai;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 Ni,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 Ni;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}(),Ri=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._contextBindings=null,e._actions=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return null},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._initializeAdapters=function(){var n=this;this.__observingChildren||(this.__observingChildren=!0,new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&(n.updateContentChildren?n.updateContentChildren():n._initializeAdapters&&n.initializeAdapters())}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(this,{childList:!0}));this._actionsAdapter=new i.CollectionAdapter(this.contentActions,this.i.actions,this.actualActions,(function(t){return t.i}),(function(t){n._initializeElement&&n._initializeElement(t)}),(function(t){n._destroyElement&&n._destroyElement(t)})),t.prototype._initializeAdapters&&t.prototype._initializeAdapters.call(this)},n.prototype._updateAdapters=function(){t.prototype._updateAdapters&&t.prototype._updateAdapters.call(this),this.contentActions.length=0;for(var e=0;e<this.children.length;e++)this.children[e]instanceof n&&this.contentActions.push(this.children[e]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComponent=t}return n._observedAttributesIgcToolActionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ba},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contextBindings",{get:function(){if(null===this._contextBindings){var t=new Qt,e=this.i.contextBindings;e||(e=new 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.cz},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualActions",{get:function(){return this._actualActions||(this._actualActions=[]),this._actualActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentActions",{get:function(){return this._contentActions||(this._contentActions=[]),this._contentActions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){var t=this;if(null===this._actions){var e=new Si,n=e._innerColl;this._actions=e,n.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}}))}return this._actions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("width",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("height",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("subPanelRowHeight",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.es},set:function(t){this.i.es=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.dm},set:function(t){this.i.dm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.dj},set:function(t){this.i.dj=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.en},set:function(t){this.i.en=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.ds},set:function(t){this.i.ds=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.dp},set:function(t){this.i.dp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.cq},set:function(t){this.i.cq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("paddingLeft",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualPaddingLeft",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("paddingRight",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualPaddingRight",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("paddingBottom",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualPaddingBottom",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("paddingTop",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualPaddingTop",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.g8)},set:function(t){this.i.g8=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.g8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.hg)},set:function(t){this.i.hg=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.g5)},set:function(t){this.i.g5=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.g5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("background",i.brushToString(this.i.hd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.hc)},set:function(t){this.i.hc=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.hk)},set:function(t){this.i.hk=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.hk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.hb)},set:function(t){this.i.hb=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.hb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.g6)},set:function(t){this.i.g6=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.g6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.he)},set:function(t){this.i.he=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.he))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return this.i.ae},set:function(t){this.i.ae=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.ah?null:this.i.ah.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ah=e,this._a("textStyle",null!=this.i.ah?this.i.ah.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextStyle",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.ag?null:this.i.ag.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ag=e,this._a("subtitleTextStyle",null!=this.i.ag?this.i.ag.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.a8},set:function(t){this.i.a8=i.ensureBool(t),this._a("isDisabled",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.a9},set:function(t){this.i.a9=i.ensureBool(t),this._a("isHighlighted",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"density",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("density",i.enumToString(i.ControlDisplayDensity_$type,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDensity",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ControlDisplayDensity_$type,t),this._a("actualDensity",i.enumToString(i.ControlDisplayDensity_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.el},set:function(t){this.i.el=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.e5},set:function(t){this.i.e5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.ez},set:function(t){this.i.ez=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"titleHorizontalAlignment",{get:function(){return this.i.g3},set:function(t){this.i.g3=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("titleHorizontalAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.g3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.d9},set:function(t){this.i.d9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.d4},set:function(t){this.i.d4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("iconViewBoxLeft",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("iconViewBoxTop",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("iconViewBoxWidth",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("iconViewBoxHeight",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.hh)},set:function(t){this.i.hh=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.hh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.g9)},set:function(t){this.i.g9=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.g9))},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.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.ha)},set:function(t){this.i.ha=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.ha))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.b)},set:function(t){this.i.b=i.toBrushCollection(t),this._a("iconStrokeColors",i.brushCollectionToString(this.i.b))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeWidth",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconStrokeWidth",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("iconWidth",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualIconWidth",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("iconHeight",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualIconHeight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.hl},set:function(t){this.i.hl=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.hl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("closeOnExecute",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("highlightWidth",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualHighlightWidth",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("highlightRadius",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("actualHighlightRadius",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.hf)},set:function(t){this.i.hf=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.g7)},set:function(t){this.i.g7=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.g7))},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.gf()},n.prototype.closeSubmenu=function(){this.i.fd()},n.prototype.exportVisualData=function(){return this.i.cr()},n.prototype.exportSerializedVisualData=function(){return this.i.dy()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new xi;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 Bi;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),Ei=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._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.cr()},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(Ri),$i=function(){function t(){}return t.register=function(){Ei.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",Ei),i.TypeRegistrar.register("ToolActionLabel",pi.$type)},t}(),Di=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._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.hn},set:function(t){this.i.hn=i.ensureBool(t),this._a("isChecked",this.i.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.hz)},set:function(t){this.i.hz=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.hz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.h0)},set:function(t){this.i.h0=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.h0))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(Ri),zi=function(){function t(){}return t.register=function(){Di.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Di),i.TypeRegistrar.register("ToolActionCheckbox",mi.$type)},t}(),qi=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}(),Vi=function(t){function n(e){var n=t.call(this)||this;if(qi.$type||(qi.$type=i.markType(qi,"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(){qi.$type||(qi.$type=i.markType(qi,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(qi.$type,Oe.$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 qi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Ui=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 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._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.h3},set:function(t){this.i.h3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.hs},set:function(t){this.i.hs=i.ensureBool(t),this._a("showSelectAll",this.i.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.hx},set:function(t){this.i.hx=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.hm},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.hm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new Vi,e=this.i.hn;e||(e=new ke),this._selectedKeys=t._fromInner(e),this.i.hn=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new Vi;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Oe.$type),r=this.i.hn;r||(r=new ke),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.hn=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.ho},set:function(t){this.i.ho=i.ensureEnum(Se,t),this._a("indexType",i.enumToString(Se,this.i.ho))},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.cr()},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(Ri),Li=function(){function t(){}return t.register=function(){Ui.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",Ui),i.TypeRegistrar.register("ToolActionCheckboxList",ai.$type)},t}(),Fi=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.hx)},set:function(t){this.i.hx=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.hx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.hy)},set:function(t){this.i.hy=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.hy))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(Ri),Mi=function(){function t(){}return t.register=function(){Fi.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",Fi),i.TypeRegistrar.register("ToolActionGroupHeader",gi.$type)},t}(),Hi=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),Gi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Hi},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}(),Wi=function(t){function n(e){var n=t.call(this)||this;if(Gi.$type||(Gi.$type=i.markType(Gi,"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(){Gi.$type||(Gi.$type=i.markType(Gi,"IgcToolActionFieldSelectorAggregation"));var t=new i.SyncableObservableCollection$2(Gi.$type,Hi.$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 Gi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Ki=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),Xi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ki},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}(),Qi=function(t){function n(e){var n=t.call(this)||this;if(Xi.$type||(Xi.$type=i.markType(Xi,"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(){Xi.$type||(Xi.$type=i.markType(Xi,"IgcToolActionFieldSelectorSelectedAggregation"));var t=new i.SyncableObservableCollection$2(Xi.$type,Ki.$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 Xi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Yi=function(t){function n(){var e=t.call(this,Hi.$,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(Hi.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Hi.$,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(Hi.$)),n}(i.ObservableCollection$1),Ji=function(t){function n(){var e=t.call(this,Ki.$,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(Ki.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Ki.$,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(Ki.$)),n}(i.ObservableCollection$1),Zi=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 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._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.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"legendTarget",{get:function(){return this.i.iq},set:function(t){this.i.iq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fieldType",{get:function(){return this.i.hy},set:function(t){this.i.hy=i.ensureEnum(Ne,t),this._a("fieldType",i.enumToString(Ne,this.i.hy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"singleSelection",{get:function(){return this.i.h8},set:function(t){this.i.h8=i.ensureBool(t),this._a("singleSelection",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aggregations",{get:function(){if(null===this._aggregations){var t=new Wi,e=this.i.hv;e||(e=new Yi),this._aggregations=t._fromInner(e),this.i.hv=e}return this._aggregations},set:function(t){null!==this._aggregations&&(this._aggregations._setSyncTarget(null),this._aggregations=null);var e=new Wi;this._aggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Hi.$type),r=this.i.hv;r||(r=new Yi),n._inner=r,n.clear(),this._aggregations._setSyncTarget(n),this.i.hv=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateDataSource",{get:function(){return this.i.h9},set:function(t){this.i.h9=i.ensureBool(t),this._a("updateDataSource",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedAggregations",{get:function(){if(null===this._selectedAggregations){var t=new Qi,e=this.i.hx;e||(e=new Ji),this._selectedAggregations=t._fromInner(e),this.i.hx=e}return this._selectedAggregations},set:function(t){null!==this._selectedAggregations&&(this._selectedAggregations._setSyncTarget(null),this._selectedAggregations=null);var e=new Qi;this._selectedAggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ki.$type),r=this.i.hx;r||(r=new Ji),n._inner=r,n.clear(),this._selectedAggregations._setSyncTarget(n),this.i.hx=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.ij},set:function(t){this.i.ij=+t,this._a("paddingLeft",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.ie},set:function(t){this.i.ie=+t,this._a("actualPaddingLeft",this.i.ie)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.ik},set:function(t){this.i.ik=+t,this._a("paddingRight",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.ig},set:function(t){this.i.ig=+t,this._a("actualPaddingRight",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.ii},set:function(t){this.i.ii=+t,this._a("paddingBottom",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("actualPaddingBottom",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("paddingTop",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("actualPaddingTop",this.i.ih)},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}(Ri),tn=function(){function t(){}return t.register=function(){Zi.register(),i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorComponent",Zi),i.TypeRegistrar.register("ToolActionFieldSelector",hi.$type)},t}(),en=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.ho},set:function(t){this.i.ho=+t,this._a("value",this.i.ho)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(Ri),nn=function(){function t(){}return t.register=function(){en.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",en),i.TypeRegistrar.register("ToolActionNumberInput",vi.$type)},t}(),rn=function(t){function n(){return t.call(this)||this}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._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.ho},set:function(t){this.i.ho=+t,this._a("size",this.i.ho)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.hm},set:function(t){this.i.hm=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.hm)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(Ri),on=function(){function t(){}return t.register=function(){rn.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",rn),i.TypeRegistrar.register("ToolActionSeparator",di.$type)},t}(),sn=function(t){function n(){return t.call(this)||this}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._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.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.hn},set:function(t){this.i.hn=i.ensureBool(t),this._a("isChecked",this.i.hn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.ho},set:function(t){this.i.ho=i.ensureBool(t),this._a("isManual",this.i.ho)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ib)},set:function(t){this.i.ib=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ib))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(Ri),an=function(){function t(){}return t.register=function(){sn.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",sn),i.TypeRegistrar.register("ToolActionRadio",fi.$type)},t}(),hn=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._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.hm},set:function(t){this.i.hm=i.ensureEnum(qe,t),this._a("displayType",i.enumToString(qe,this.i.hm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hq},set:function(t){this.i.hq=+t,this._a("cornerRadius",this.i.hq)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(Ri),un=function(){function t(){}return t.register=function(){hn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",hn),i.TypeRegistrar.register("ToolActionButton",ci.$type)},t}(),ln=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._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.ho},set:function(t){this.i.ho=+t,this._a("itemSpacing",this.i.ho)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(Ri),cn=function(){function t(){}return t.register=function(){ln.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",ln),i.TypeRegistrar.register("ToolActionSubPanel",ui.$type)},t}(),pn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new wi},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=Ri._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}(),fn=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.iw},set:function(t){this.i.iw=+t,this._a("tooltipDelay",this.i.iw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("actualTooltipDelay",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("contentPaddingLeft",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.ik},set:function(t){this.i.ik=+t,this._a("actualContentPaddingLeft",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.ir},set:function(t){this.i.ir=+t,this._a("contentPaddingTop",this.i.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("actualContentPaddingTop",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("contentPaddingRight",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("actualContentPaddingRight",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("contentPaddingBottom",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.ij},set:function(t){this.i.ij=+t,this._a("actualContentPaddingBottom",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ba},enumerable:!1,configurable:!0}),n.prototype.openSubMenu=function(){this.i.gf()},n.prototype.closeSubmenu=function(){this.i.fd()},n.prototype.exportVisualData=function(){return this.i.cr()},Object.defineProperty(n.prototype,"popupOpening",{get:function(){return this._popupOpening},set:function(t){var e=this;null!==this._popupOpening_wrapped&&(this.i.popupOpening=i.delegateRemove(this.i.popupOpening,this._popupOpening_wrapped),this._popupOpening_wrapped=null,this._popupOpening=null),this._popupOpening=t,this._popupOpening_wrapped=function(t,i){var n=new pn;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}(Ri),dn=function(){function t(){}return t.register=function(){fn.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",fn),i.TypeRegistrar.register("ToolActionIconButton",bi.$type)},t}(),bn=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.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.j1},set:function(t){this.i.j1=i.ensureBool(t),this._a("showArrowIcon",this.i.j1)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(fn),gn=function(){function t(){}return t.register=function(){bn.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",bn),i.TypeRegistrar.register("ToolActionIconMenu",yi.$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 Xe},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}(),mn=function(t){return t[t.Replace=0]="Replace",t}({}),vn=i.markEnum("NestedActionMode","Replace,0"),_n=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 Si;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 Ri&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Pi},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.c0},set:function(t){this.i.c0=+t,this._a("dropdownClickBuffer",this.i.c0)},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.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.iu)},set:function(t){this.i.iu=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.iu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.i8)},set:function(t){this.i.i8=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.i8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.jl)},set:function(t){this.i.jl=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.jl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.iy)},set:function(t){this.i.iy=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.iy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.ju)},set:function(t){this.i.ju=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.ju))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.i7)},set:function(t){this.i.i7=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.i7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.jm)},set:function(t){this.i.jm=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.jm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.iz)},set:function(t){this.i.iz=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.iz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.jq)},set:function(t){this.i.jq=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.jq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.ji)},set:function(t){this.i.ji=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.ji))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ix)},set:function(t){this.i.ix=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ix))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.jo)},set:function(t){this.i.jo=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.jo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.jn)},set:function(t){this.i.jn=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.jn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.jz)},set:function(t){this.i.jz=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.jz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jy)},set:function(t){this.i.jy=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.jy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.jb))},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.jr)},set:function(t){this.i.jr=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.jr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.js)},set:function(t){this.i.js=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.js))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.i5))},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.c4},set:function(t){this.i.c4=+t,this._a("rowHeight",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.b5},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.jp)},set:function(t){this.i.jp=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.jp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.jt)},set:function(t){this.i.jt=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.jt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.j0)},set:function(t){this.i.j0=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.j0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.jg)},set:function(t){this.i.jg=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.jg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.iv)},set:function(t){this.i.iv=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.iv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.j1)},set:function(t){this.i.j1=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.j1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.jh)},set:function(t){this.i.jh=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.jh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.iw)},set:function(t){this.i.iw=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.iw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("dropdownDelay",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("actualDropdownDelay",this.i.cz)},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(vn,t),this._a("nestedActionMode",i.enumToString(vn,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.gu()},n.prototype.getDesiredSize=function(){var t=this.i.j4();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.f9()},n.prototype.closeSubmenus=function(){this.i.f4()},n.prototype.exportVisualData=function(){return this.i.c5()},n.prototype.exportSerializedVisualData=function(){return this.i.eq()},n.prototype.setBrushContextItem=function(t,e){this.i.g3(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.jj(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.g1(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.hb(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.cg(t)},n.prototype.setIntContextItem=function(t,e){this.i.hd(t,e)},n.prototype.getIntContextItem=function(t){return this.i.c2(t)},n.prototype.setStringContextItem=function(t,e){this.i.hf(t,e)},n.prototype.getStringContextItem=function(t){return this.i.er(t)},n.prototype.setBoolContextItem=function(t,e){this.i.gz(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.a2(t)},n.prototype.setColorContextItem=function(t,e){this.i.g5(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.j2(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.g9(t,e)},n.prototype.getDataContextItem=function(t){return this.i.c8(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 yn;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 xi;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),Cn=function(){function t(){}return t.register=function(){Ot.register(),$i.register(),zi.register(),Li.register(),Mi.register(),tn.register(),nn.register(),on.register(),an.register(),un.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),cn.register(),dn.register(),gn.register(),_n.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",_n),i.TypeRegistrar.registerCons("IgcToolPanelComponent",_n),i.TypeRegistrar.register("ToolPanel",Pi.$type)},t}(),jn=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}(),wn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new 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}(),Pn=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 Si;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 Ri&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Ci},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-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 Si,e=this.i.autoGeneratedActions;e||(e=new _i),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 Si;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ni.$type),r=this.i.autoGeneratedActions;r||(r=new _i),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 Si,e=this.i.actualActions;e||(e=new _i),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 Si;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ni.$type),r=this.i.actualActions;r||(r=new _i),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.fp)},set:function(t){this.i.fp=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.fp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.f3)},set:function(t){this.i.f3=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.f3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fu)},set:function(t){this.i.fu=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.f2)},set:function(t){this.i.f2=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.f2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.fy)},set:function(t){this.i.fy=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.fy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.f5)},set:function(t){this.i.f5=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.f5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.fs)},set:function(t){this.i.fs=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.fs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fw)},set:function(t){this.i.fw=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.f7)},set:function(t){this.i.f7=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.f7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.f6)},set:function(t){this.i.f6=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.f6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.bp},set:function(t){this.i.bp=+t,this._a("toolTipCornerRadius",this.i.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.bq},set:function(t){this.i.bq=+t,this._a("toolTipElevation",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.fz)},set:function(t){this.i.fz=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.fz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.f0)},set:function(t){this.i.f0=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.f0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("cellTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.aj?null:this.i.aj.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.aj=e,this._a("subtitleTextStyle",null!=this.i.aj?this.i.aj.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextStyle",{get:function(){return null==this.i.ai?null:this.i.ai.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ai=e,this._a("groupHeaderTextStyle",null!=this.i.ai?this.i.ai.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("separatorVerticalPaddingLeft",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("separatorVerticalPaddingRight",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bo},set:function(t){this.i.bo=+t,this._a("separatorVerticalPaddingTop",this.i.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("separatorVerticalPaddingBottom",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("separatorHorizontalPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("separatorHorizontalPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("separatorHorizontalPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("separatorHorizontalPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("showOnHover",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("showTooltipOnHover",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("dropdownClickBuffer",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("highlightWidth",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("highlightRadius",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.fx)},set:function(t){this.i.fx=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.fx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.f1)},set:function(t){this.i.f1=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.f8)},set:function(t){this.i.f8=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.f8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.fq)},set:function(t){this.i.fq=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.fq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.f9)},set:function(t){this.i.f9=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.f9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.fr)},set:function(t){this.i.fr=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.fr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("rowHeight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.f4)},set:function(t){this.i.f4=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.fv)},set:function(t){this.i.fv=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.fv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("dropdownDelay",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("stopPropagation",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.av},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.autoGeneratedActions&&this.autoGeneratedActions.findByName&&this.autoGeneratedActions.findByName(t)?this.autoGeneratedActions.findByName(t):null!=this.actions&&this.actions.findByName&&this.actions.findByName(t)?this.actions.findByName(t):null!=this.actualActions&&this.actualActions.findByName&&this.actualActions.findByName(t)?this.actualActions.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("ToolbarComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.flushRefresh=function(){this.i.d2()},n.prototype.getDesiredSize=function(){var t=this.i.gb();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.dz()},n.prototype.onCommandStateChanged=function(t,e,n){this.i.onCommandStateChanged(t,i.ensureEnum(i.ToolCommandStateType_$type,e),n)},n.prototype.registerIconFromText=function(t,e,i){this.i.ej(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.cq(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.el(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.ei(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.cp(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.ek(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.b8(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.eo(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.ft(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.en(t,i.toBrushCollection(e))},n.prototype.getBrushCollectionContextItem=function(t){var e=this.i.b(t);return i.fromBrushCollection(e)},n.prototype.setDoubleContextItem=function(t,e){this.i.es(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.bd(t)},n.prototype.setIntContextItem=function(t,e){this.i.ez(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.be(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.ex(t,e)},n.prototype.getIntContextItem=function(t){return this.i.bx(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.ey(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bw(t)},n.prototype.setStringContextItem=function(t,e){this.i.e0(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cr(t)},n.prototype.setBoolContextItem=function(t,e){this.i.em(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.au(t)},n.prototype.setColorContextItem=function(t,e){this.i.ep(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.ga(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.er(t,e)},n.prototype.getDataContextItem=function(t){return this.i.b3(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.ew(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.b7(t)},n.prototype.exportVisualData=function(){return this.i.b1()},n.prototype.exportSerializedVisualData=function(){return this.i.co()},Object.defineProperty(n.prototype,"onCommand",{get:function(){return this._onCommand},set:function(t){var e=this;null!==this._onCommand_wrapped&&(this.i.onCommand=i.delegateRemove(this.i.onCommand,this._onCommand_wrapped),this._onCommand_wrapped=null,this._onCommand=null),this._onCommand=t,this._onCommand_wrapped=function(t,i){var n=new xi;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 jn;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 wn;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),Tn=function(){function t(){}return t.register=function(){Cn.register(),Pn.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Pn),i.TypeRegistrar.registerCons("IgcToolbarComponent",Pn),i.TypeRegistrar.register("Toolbar",Ci.$type)},t}(),On=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),kn=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),In=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),Sn=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),xn=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 Sn;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 In;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),An=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._label=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"label",{get:function(){return this._label},set:function(t){this._label=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPanelComboBoxBridgeItem"),n}(i.Base),Nn=function(t){function n(e,n,r){var o=t.call(this)||this;o.b=new i.DescriptionTreeNode,o.e=new i.List$1(i.DataSeriesToDescriptionCustomization.$,0),o.c=null,o.d=!1,o.c=e,o.b=new i.DescriptionTreeNode,o.b.i=n,o.d=r;new i.JsonDictionaryObject;return o}return e.__extends(n,t),n.prototype.a=function(){return this.e.toArray()},n.prototype.k=function(t,e,i){null!=t&&this.f(t,-1,e,this.b,i,null)},n.prototype.f=function(t,n,r,o,s,a){if(null==t)return null;var h=i.stringSplit(t,[".","["],0),u=h[0],l=h.length>1,c=!1,p=new i.List$1(i.Number_$type,0),f=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){c=!0;for(var d=(u=i.stringReplace(u,"]","")).split(","),b=0;b<d.length;b++){var g=d[b];if(i.stringContains(g,"as")){var y=g.indexOf("as"),m=g.substr(0,y).trim(),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],P=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),T=!1;-1==P&&(T=!0,P=0);for(var O=new i.List$1(i.Base.$,0),k=0;k<=P;k++)if(null!=C&&k<C.length){var I=C[k];null!==i.typeCast(i.DescriptionTreeNode.$,I)&&k==P&&(I.i=w),O.add1(I)}else{var S=this.g(a,!0,w);null!=S&&O.add1(S)}var x=(C=O.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)),T?-1:P,r,x,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,q=this.h(r,_);if(this.d){var V=new i.DataSeriesToDescriptionCustomization;V.matchType=s,V.propertyName=u,-1!=n&&(V.matchParentIndex=n),V.propertyValue=q,this.e.add(V)}z.o(u,q,_)}return null},n.prototype.i=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.h=function(t,e){if(null==e)return null;if(null==t)return 1==e.knownType&&"double"==e.specificExternalType?NaN:null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 23:case 9:return t;case 5:return t.toString();case 16:case 20:case 22:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},n.prototype.g=function(t,e,n){if(e||10!=t.knownType&&9!=t.knownType){var r=new i.DescriptionTreeNode;return r.i=null!=n?n:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},n.prototype.j=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.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),Bn=function(t){function n(){var e,n=t.call(this)||this;return n.n=null,n.m=null,n.a=null,n.i=null,n.l=null,n.e=null,n.k=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.aa=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.j=null,n}return e.__extends(n,t),n.prototype.p=function(){return this.i},n.prototype.v=function(){},n.prototype.t=function(t){var e=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),i.NativeUIComponent.au(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.an.setStyleProperty("width","100%"),i.an.setStyleProperty("height","100%"),e.i.append(i.an)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},n.prototype.y=function(){},n.prototype.x=function(){this.i},n.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new i.Size(1,t,e),null!=this.a.l&&(this.a.cj(),this.a.l.b3(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cr),i.NativeUI.m(e,this.a.co))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.y(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},n.$t=i.markType(n,"PropertyEditorPanelView"),n}(i.Base),Rn=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(),Qe.g(),e.at=new i.ObservableCollection$1(xn.$,0);var r=new Bn;r.a=e,e.p=r,e.p.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.ca)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"aa",{get:function(){return null==this.z&&(this.z=new i.SRProvider(this.p.i),this.z.cb("Layouts")),this.z},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.bx))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.bx))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.an(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),null!=this.d&&this.d.notifyClearItems(),this.b5()},n.prototype.b5=function(){this.aj||null!=this.l&&this.cj()},n.prototype.bx=function(t,e){this.aj||(this.an(),null!=this.l&&this.cj())},n.prototype.notifySizeChanged=function(){this.p.s()},n.prototype.bw=function(t,e){if(this.l=t,null!=this.l){if(this.l.bs=i.runOn(this,this.b9),this.cl(),null!=this.actualProperties){this.a1=this.actualProperties;var n=this.actualProperties;n=this.actualProperties.toArray();var r=new i.LocalDataSource;r.dataSource=n,this.d=r,this.br()}null!=this.actualProperties&&this.cj()}},n.prototype.b9=function(t,e){if(this.aj=!0,this.aq.containsKey(e.a.commandId)){var i=this.aq.item(e.a.commandId);this.b3(i,e)}this.aj=!1},n.prototype.b3=function(t,e){switch(t.w){case 0:break;case 19:case 1:this.ch(t,e),this.b7(t);break;case 11:case 12:case 13:case 14:case 2:case 3:case 4:case 5:case 6:case 23:this.ci(t,e),this.b7(t);break;case 7:this.ce(t,e),this.b7(t);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:break;case 15:this.cg(t,e),this.b7(t);break;case 20:this.cf(t,e);break;default:return}},n.prototype.cf=function(t,e){t.a6()},n.prototype.cg=function(t,e){var i=e.a.argumentsList[0].value;if(null!=i&&i.length>0){var n=i[0];t.ar=n,t.aa=!0,t.a5()}else t.ar=null,t.aa=!0,t.a5()},n.prototype.ce=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ci=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ch=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.cl=function(){null!=this.l&&(this.ak&&this.am?this.l.bu=2:this.ak?this.l.bu=1:this.l.bu=0)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.p.t(t)},n.prototype.b4=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.b6("ActualProperties",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.b6("Properties",e,this.r)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.b6("RowHeight",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b6("UpdateMode",i.enumGetBox(kn,e),i.enumGetBox(kn,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 _i,n=0;n<t;n++){var r=this.d.getItemAtIndex(n),o=this.u(r);null!=o&&e.add(o)}this.ck(e)}},n.prototype.ck=function(t){this.l.bt=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(An.$,0),n=function(i){var n;e.add(((n=new An).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.ho=null!=e.ar?e.ar:NaN,r.e5=this.bm(e),n=r,null!=e.a4&&(n.ez=e.a4);break;case 4:case 5:var o=new ri;o.hs=i.CSSColorUtil.g(e.ar),o.e5=this.bm(e),n=o,null!=e.a4&&(n.ez=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new li;s.ho=e.ar,s.e5=this.bm(e),n=s,null!=e.a4&&(n.ez=e.a4);break;case 7:var a=new mi;a.hn=null!=e.ar&&e.ar,a.e5=this.bm(e),n=a,null!=e.a4&&(n.ez=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new oi;h.itemsSource=this.a4(this.c(e)),h.e5=this.bm(e),n=h,null!=e.a4&&(n.ez=e.a4),null!=e.ar&&(h.hm=new Ce,h.hm.add1(e.ar));break;case 20:var u=new ci;u.e5=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.e5=e.ar),n=u,null!=e.a4&&(n.ez=e.a4);break;case 24:var l=new di;l.ho=5,n=l;break;case 25:(n=new gi).e5=this.bm(e),null!=e.a4&&(n.ez=e.a4);break;default:return null}var c=this.bl(e.a3);if(null==c&&(c=e.a0),null==c){var p=this.aj;this.aj=!0,e.a0=i.Guid.newGuid().toString(),c=e.a0,this.aj=p}return null==n?null:(n.el=this.be+"_"+c,this.aq.item(n.el,e),n)},n.prototype.bl=function(t){return null==t?null:i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(t,".","__dot__"),"[","__ob__"),"]","__cb__")," ","__sp__"),"*","__star__")},n.prototype.b8=function(t,e){this.ad=!0,this.br(),this.ad=!1},n.prototype.cj=function(){null!=this.l&&(this.cd(),this.p.r())},n.prototype.cs=function(){return null!=this.l?this.l.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)):new i.Size(1,0,0)},n.prototype.a2=function(t){return t.i},n.prototype.b7=function(t){var e=this;if(null!=this.a3&&null!=this.f)if(2==this.o){var n=this.a(),r=this.a2(this.a3);null!==i.typeCast(i.IAcceptsDataSeriesToDescriptionCustomizations_$type,r)&&r.onCustomizationsChanged(n)}else{this.ah&&(this.ab=!0,this.ah=!1,this.f.addTargetPropertyUpdatingListener(i.runOn(this,this.ap)));var o=null==this.a5;this.a5=this.bg(),o?this.p.q(this.a3,(function(t){return e.f.loadJsonOverlay(e.a5,(function(e){return t}),(function(t){return e.a3}))})):this.p.q(this.a3,(function(t){return e.f.loadJsonDelta(e.a5,(function(e){return t}),!1)}))}},n.prototype.a=function(){var t=this.actualProperties,e=new Nn(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new Nn(t,e,!0);return n.bv(i,"",r,e),r.a()},n.prototype.ap=function(t,e,i){for(var n=this.actualProperties,r=0;r<n.count;r++){var o=n._inner[r].a3;this.ao(o,t)&&n._inner[r].a9(t,e,i)}return!!this.al},n.prototype.ao=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var n=i.stringSplit(t,[".","["],0),r=i.stringSplit(e,[".","["],0);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var s=n[o],a=r[o];if(i.stringContains(s,"]")){if(!i.stringContains(a,"]"))return!1;if(a=i.stringReplace(a,"]",""),!this.as(s).contains(a))return!1}else if(!i.Base.equalsStatic(s,a))return!1}return!0},n.prototype.as=function(t){var e=new i.List$1(i.String_$type,0);if(i.stringContains(t,"]")){for(var n=(t=i.stringReplace(t,"]","")).split(","),r=0;r<n.length;r++){var o=n[r];if(i.stringContains(o,"as")){var s=o.indexOf("as"),a=o.substr(0,s).trim();e.add(a)}}return e}return e.add(t),e},n.prototype.bg=function(){if(null==this.actualProperties)return null;var t=this.actualProperties,e=new Nn(this.i,this.be,!1);return this.bu(t,"",e,this.be),e.j()},n.prototype.bu=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r],s=o.ac,a=o.w,h=o.m,u=o.i,l=o.ar;if(s&&(a=o.v,h=o.l,u=o.h,l=o.ap),20!=a&&25!=a&&24!=a)if(null!=h&&h.count>0)for(var c=0;c<h.count;c++){var p=h._inner[c],f=e+o.a3+"["+c+"]";this.bu(p.a,f,i,p.b)}else if(null!=u){var d=e+o.a3;this.bu(u.a,d,i,u.b)}else{if(15==a&&null==l)continue;i.k(e+o.a3,l,n)}}},n.bv=function(t,e,r,o){for(var s=0;s<t.length;s++){var a=t[s],h=a.useCoercedValue,u=a.valueType,l=a.complexValues,c=a.complexValue,p=a.primitiveValue;h&&(u=a.coercedValueType,l=a.coercedComplexValues,c=a.coercedComplexValue,p=a.coercedPrimitiveValue);var f=0;if(20!=(f=i.EnumUtil.tryParse$1(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.j(255,248,248,248),n.cq=i.BrushUtil.j(255,24,29,31),n}(i.Base),En=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 Rn},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPanelComponent=t}return n._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new qt,e=this.i.actualProperties;e||(e=new zt),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new qt;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.actualProperties;r||(r=new zt),n._inner=r,n.clear(),this._actualDataSource._setSyncTarget(n),this.i.actualProperties=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("rowHeight",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateMode",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(kn,t),this._a("updateMode",i.enumToString(kn,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),$n=function(){function t(){}return t.register=function(){Wt.register(),Tn.register(),En.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",En),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",En),i.TypeRegistrar.register("PropertyEditorPanel",Rn.$type)},t}(),Dn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),zn=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),qn=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),Vn=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),Un=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",mt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",E.$type)},t}(),Ln=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),Fn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",qi),i.TypeRegistrar.register("LayoutPrimaryKeyValue",Oe.$type)},t}(),Mn=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),Hn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ri},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._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.hs)},set:function(t){this.i.hs=i.stringToBrush(t),this._a("value",i.brushToString(this.i.hs))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(Ri),Gn=function(){function t(){}return t.register=function(){Hn.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",Hn),i.TypeRegistrar.register("ToolActionColorEditor",ri.$type)},t}(),Wn=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 oi},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._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.hq},set:function(t){this.i.hq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new Mn,e=this.i.hm;e||(e=new Ce),this._selectedValues=t._fromInner(e),this.i.hm=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new Mn;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.hm;r||(r=new Ce),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.hm=r},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(Ri),Kn=function(){function t(){}return t.register=function(){Wn.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",Wn),i.TypeRegistrar.register("ToolActionCombo",oi.$type)},t}(),Xn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new si},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._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.h9},set:function(t){this.i.h9=i.ensureBool(t),this._a("leftIsSelected",this.i.h9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.ic},set:function(t){this.i.ic=i.ensureBool(t),this._a("rightIsSelected",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.h8},set:function(t){this.i.h8=i.ensureBool(t),this._a("leftIsDisabled",this.i.h8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.ib},set:function(t){this.i.ib=i.ensureBool(t),this._a("rightIsDisabled",this.i.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.i5},set:function(t){this.i.i5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.iz},set:function(t){this.i.iz=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.h7},set:function(t){this.i.h7=i.ensureBool(t),this._a("isToggleDisabled",this.i.h7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.i1},set:function(t){this.i.i1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.ij},set:function(t){this.i.ij=+t,this._a("leftIconViewBoxLeft",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.ik},set:function(t){this.i.ik=+t,this._a("leftIconViewBoxTop",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("leftIconViewBoxWidth",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.ii},set:function(t){this.i.ii=+t,this._a("leftIconViewBoxHeight",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.ho)},set:function(t){this.i.ho=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hp)},set:function(t){this.i.hp=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.ih},set:function(t){this.i.ih=+t,this._a("leftIconStrokeWidth",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.jg},set:function(t){this.i.jg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.jo},set:function(t){this.i.jo=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.ji},set:function(t){this.i.ji=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.jk},set:function(t){this.i.jk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("rightIconViewBoxLeft",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("rightIconViewBoxTop",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.ir},set:function(t){this.i.ir=+t,this._a("rightIconViewBoxWidth",this.i.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("rightIconViewBoxHeight",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hq)},set:function(t){this.i.hq=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hr)},set:function(t){this.i.hr=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.hr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("rightIconStrokeWidth",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.jz},set:function(t){this.i.jz=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hs},set:function(t){this.i.hs=i.ensureEnum(Pe,t),this._a("displayType",i.enumToString(Pe,this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.id},set:function(t){this.i.id=+t,this._a("cornerRadius",this.i.id)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(Ri),Qn=function(){function t(){}return t.register=function(){Xn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",Xn),i.TypeRegistrar.register("ToolActionButtonPair",si.$type)},t}(),Yn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorAggregation",Gi),i.TypeRegistrar.register("ToolActionFieldSelectorAggregation",Hi.$type)},t}(),Jn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorSelectedAggregation",Xi),i.TypeRegistrar.register("ToolActionFieldSelectorSelectedAggregation",Ki.$type)},t}(),Zn=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._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.ho},set:function(t){this.i.ho=t},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(Ri),tr=function(){function t(){}return t.register=function(){Zn.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",Zn),i.TypeRegistrar.register("ToolActionTextInput",li.$type)},t}(),er=new i.Type(null,"IExternalToolbar"),ir=new i.Type(null,"IToolbarView"),nr=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),rr=new i.Type(null,"IExternalToolPanel"),or=new i.Type(null,"IToolPanelView"),sr=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}(),ar=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}(),hr=new i.Type(null,"IExternalListPanel"),ur=new i.Type(null,"IListPanelView"),lr=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),cr=new i.Type(null,"IListPanelViewportManager"),pr=new i.Type(null,"IPropertyEditorPanelView"),fr=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),dr=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),br=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),gr=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Bt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ComboEditor=_,t.ComboEditorBridge=Yt,t.ComboEditorCloneDataSourceFilterOperation=Dn,t.ComboEditorCloneDataSourceFilterOperation_$type=zn,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=g,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=qn,t.ComboEditorSelectedItemChangeType_$type=Vn,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=v,t.ComboEditorVisualModelExport=b,t.DrillDownRequestedEventArgs=Ti,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.IExternalListPanel_$type=hr,t.IExternalToolPanel_$type=rr,t.IExternalToolbar_$type=er,t.IListPanelView_$type=ur,t.IListPanelViewportManager_$type=cr,t.INativeUIToolPanelBridge_$type=Jt,t.INativeUIToolbarBridge_$type=ae,t.IPropertyEditorPanelView_$type=pr,t.IToolPanelView_$type=or,t.IToolbarView_$type=ir,t.IgcComboEditorComponent=O,t.IgcComboEditorGotFocusEventArgs=P,t.IgcComboEditorLostFocusEventArgs=T,t.IgcComboEditorModule=kt,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=w,t.IgcLayoutPrimaryKeyValue=qi,t.IgcLayoutPrimaryKeyValueModule=Fn,t.IgcLayoutSelectedItemsCollection=Mn,t.IgcLayoutSelectedKeysCollection=Vi,t.IgcListPanelActiveRowChangedEventArgs=gt,t.IgcListPanelComponent=Tt,t.IgcListPanelContentRebindEventArgs=Pt,t.IgcListPanelContentRecycledEventArgs=wt,t.IgcListPanelContentRefreshedEventArgs=ct,t.IgcListPanelItemEventArgs=bt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=Ot,t.IgcListPanelPrimaryKeyValue=mt,t.IgcListPanelPrimaryKeyValueModule=Un,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=gr,t.IgcPropertyEditorDescriptionObject=Vt,t.IgcPropertyEditorDescriptionObjectCollection=Ut,t.IgcPropertyEditorPanelComponent=En,t.IgcPropertyEditorPanelModule=$n,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=Lt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Ft,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Ht,t.IgcPropertyEditorPropertyDescriptionCollection=qt,t.IgcPropertyEditorPropertyDescriptionComponent=Gt,t.IgcPropertyEditorPropertyDescriptionModule=Wt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Mt,t.IgcToolActionButtonComponent=hn,t.IgcToolActionButtonModule=un,t.IgcToolActionButtonPairComponent=Xn,t.IgcToolActionButtonPairModule=Qn,t.IgcToolActionCheckboxComponent=Di,t.IgcToolActionCheckboxListComponent=Ui,t.IgcToolActionCheckboxListModule=Li,t.IgcToolActionCheckboxModule=zi,t.IgcToolActionCollection=Si,t.IgcToolActionColorEditorComponent=Hn,t.IgcToolActionColorEditorModule=Gn,t.IgcToolActionComboComponent=Wn,t.IgcToolActionComboModule=Kn,t.IgcToolActionComponent=Ri,t.IgcToolActionEventDetail=Ai,t.IgcToolActionEventDetailCollection=Ni,t.IgcToolActionFieldSelectorAggregation=Gi,t.IgcToolActionFieldSelectorAggregationModule=Yn,t.IgcToolActionFieldSelectorAggregationsCollection=Wi,t.IgcToolActionFieldSelectorComponent=Zi,t.IgcToolActionFieldSelectorModule=tn,t.IgcToolActionFieldSelectorSelectedAggregation=Xi,t.IgcToolActionFieldSelectorSelectedAggregationModule=Jn,t.IgcToolActionFieldSelectorSelectedAggregationsCollection=Qi,t.IgcToolActionGroupHeaderComponent=Fi,t.IgcToolActionGroupHeaderModule=Mi,t.IgcToolActionIconButtonComponent=fn,t.IgcToolActionIconButtonModule=dn,t.IgcToolActionIconMenuComponent=bn,t.IgcToolActionIconMenuModule=gn,t.IgcToolActionLabelComponent=Ei,t.IgcToolActionLabelModule=$i,t.IgcToolActionNumberInputComponent=en,t.IgcToolActionNumberInputModule=nn,t.IgcToolActionPerformedEventArgs=Bi,t.IgcToolActionPopupOpeningEventArgs=pn,t.IgcToolActionRadioComponent=sn,t.IgcToolActionRadioModule=an,t.IgcToolActionSeparatorComponent=rn,t.IgcToolActionSeparatorModule=on,t.IgcToolActionSubPanelComponent=ln,t.IgcToolActionSubPanelModule=cn,t.IgcToolActionTextInputComponent=Zn,t.IgcToolActionTextInputModule=tr,t.IgcToolCommandEventArgs=xi,t.IgcToolContextBinding=Xt,t.IgcToolContextBindingCollection=Qt,t.IgcToolPanelComponent=_n,t.IgcToolPanelContentRefreshedEventArgs=yn,t.IgcToolPanelContextChangedEventArgs=sr,t.IgcToolPanelContextSwappedEventArgs=ar,t.IgcToolPanelModule=Cn,t.IgcToolbarComponent=Pn,t.IgcToolbarModule=Tn,t.IgcToolbarSubMenuClosingEventArgs=wn,t.IgcToolbarSubMenuOpeningEventArgs=jn,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=Oe,t.LayoutSelectedItemsCollection=Ce,t.LayoutSelectedKeysCollection=ke,t.ListPanel=et,t.ListPanelActivationManager=ht,t.ListPanelActivationMode=x,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=H,t.ListPanelColumnDefinition=Q,t.ListPanelContentRebindEventArgs=U,t.ListPanelContentRecycledEventArgs=V,t.ListPanelContentRefreshedEventArgs=G,t.ListPanelDataBindingEventArgs=lr,t.ListPanelDataSourceNotificationBridge=nt,t.ListPanelItemEventArgs=st,t.ListPanelItemModel=ot,t.ListPanelItemPresenter=W,t.ListPanelItemVisualData=Y,t.ListPanelLayoutPanel=rt,t.ListPanelOrientation=D,t.ListPanelOrientation_$type=z,t.ListPanelPrimaryKeyValue=E,t.ListPanelRowRange=Z,t.ListPanelScrollerKeyboardListener=dt,t.ListPanelSelectedItemsChangedEventArgs=L,t.ListPanelSelectedItemsCollection=R,t.ListPanelSelectedKeysChangedEventArgs=F,t.ListPanelSelectedKeysCollection=$,t.ListPanelSelectionBehavior=N,t.ListPanelSelectionBehavior_$type=B,t.ListPanelSelectionChangedEventArgs=M,t.ListPanelSelectionManager=at,t.ListPanelSelectionMode=I,t.ListPanelSelectionMode_$type=S,t.ListPanelTemplateHeightRequestedEventArgs=X,t.ListPanelTemplateItemUpdatingEventArgs=it,t.ListPanelTemplateWidthRequestedEventArgs=K,t.ListPanelView=tt,t.ListPanelViewportChangedEventArgs=q,t.ListPanelVisualData=J,t.ListPanelVisualModel=k,t.NativeUIContentRefreshedEventArgs=Ln,t.NativeUILayoutFactory=Qe,t.NativeUIToolPanel=ei,t.NativeUIToolbar=ii,t.NativeUIToolbarSubMenuClosingEventArgs=ce,t.NativeUIToolbarSubMenuOpeningEventArgs=ue,t.NestedActionMode=mn,t.NestedActionMode_$type=vn,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=Ii,t.PanelInfo=ki,t.PropertyEditorDataSource=Bt,t.PropertyEditorDescriptionObject=$t,t.PropertyEditorDescriptionObjectCollection=Dt,t.PropertyEditorPanel=Rn,t.PropertyEditorPanelColumnDefinition=xn,t.PropertyEditorPanelColumnFieldType_$type=dr,t.PropertyEditorPanelColumnType_$type=fr,t.PropertyEditorPanelComboBoxBridgeItem=An,t.PropertyEditorPanelDataBindingEventArgs=Sn,t.PropertyEditorPanelDropDownDataListItem=br,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=In,t.PropertyEditorPanelUpdateMode=On,t.PropertyEditorPanelUpdateMode_$type=kn,t.PropertyEditorPanelView=Bn,t.PropertyEditorPropertyDescription=Rt,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=xt,t.PropertyEditorPropertyDescriptionChangedEventArgs=At,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=Et,t.PropertyEditorPropertyDescriptionCollection=zt,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Nt,t.PropertyEditorTreeTransformer=Nn,t.PropertyEditorValueType=It,t.PropertyEditorValueType_$type=St,t.ToolAction=ni,t.ToolActionButton=ci,t.ToolActionButtonDisplayType=ze,t.ToolActionButtonDisplayType_$type=qe,t.ToolActionButtonGroupDisplayType=we,t.ToolActionButtonGroupDisplayType_$type=Pe,t.ToolActionButtonPair=si,t.ToolActionButtonPairVisualData=Te,t.ToolActionButtonVisualData=Ve,t.ToolActionCheckbox=mi,t.ToolActionCheckboxList=ai,t.ToolActionCheckboxListIndexType=Ie,t.ToolActionCheckboxListIndexType_$type=Se,t.ToolActionCheckboxListVisualData=xe,t.ToolActionCheckboxVisualData=We,t.ToolActionCollection=_i,t.ToolActionColorEditor=ri,t.ToolActionColorEditorVisualData=_e,t.ToolActionCombo=oi,t.ToolActionComboVisualData=je,t.ToolActionEventDetail=ge,t.ToolActionEventDetailCollection=me,t.ToolActionFieldSelector=hi,t.ToolActionFieldSelectorAggregation=Hi,t.ToolActionFieldSelectorAggregationsCollection=Yi,t.ToolActionFieldSelectorEventType=Re,t.ToolActionFieldSelectorEventType_$type=Ee,t.ToolActionFieldSelectorSelectedAggregation=Ki,t.ToolActionFieldSelectorSelectedAggregationsCollection=Ji,t.ToolActionFieldSelectorType=Ae,t.ToolActionFieldSelectorType_$type=Ne,t.ToolActionFieldSelector_ToolActionFieldSelectorItem=Be,t.ToolActionGroupHeader=gi,t.ToolActionGroupHeaderVisualData=He,t.ToolActionIconButton=bi,t.ToolActionIconMenu=yi,t.ToolActionIconMenuVisualData=Ge,t.ToolActionLabel=pi,t.ToolActionLabelVisualData=Ue,t.ToolActionMeasurementContext=ye,t.ToolActionNumberInput=vi,t.ToolActionNumberInputVisualData=Ke,t.ToolActionPerformedEventArgs=ve,t.ToolActionPopupOpeningEventArgs=wi,t.ToolActionRadio=fi,t.ToolActionRadioVisualData=Le,t.ToolActionSeparator=di,t.ToolActionSeparatorVisualData=Fe,t.ToolActionSubPanel=ui,t.ToolActionSubPanelVisualData=$e,t.ToolActionTextInput=li,t.ToolActionTextInputVisualData=De,t.ToolActionVisualData=re,t.ToolCommandEventArgs=Zt,t.ToolContextBinding=Kt,t.ToolContextBindingCollection=de,t.ToolPanel=Pi,t.ToolPanelContentRefreshedEventArgs=Xe,t.ToolPanelContext=ne,t.ToolPanelContextChangedEventArgs=ie,t.ToolPanelContextSwappedEventArgs=be,t.ToolPanelDropdownMenuVisualData=se,t.ToolPanelOrientation=te,t.ToolPanelOrientation_$type=ee,t.ToolPanelView=ti,t.ToolPanelVisualData=oe,t.ToolPanelsPresenter=Oi,t.Toolbar=Ci,t.ToolbarContextAccessor=ji,t.ToolbarIconManager=nr,t.ToolbarOrientation=pe,t.ToolbarOrientation_$type=fe,t.ToolbarSubMenuClosingEventArgs=le,t.ToolbarSubMenuOpeningEventArgs=he,t.ToolbarView=Ze,t.TooltipTextPresenter=Me,t.XExpansionPanel=h,t.XToolPanelBridge=Ye,t.XToolbarBridge=Je,Object.defineProperty(t,"__esModule",{value:!0})}));
|
|
7
|
+
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,i,n){"use strict";var r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return t.getNativeElement().checked},n.b=function(t,e){t.getNativeElement().checked=e},n.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},n.$t=i.markType(n,"ExpansionPanelUtilities"),n}(i.Base),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnCollapsedEventArgs",i.EventArgs.$),n}(i.EventArgs),s=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnExpandedEventArgs",i.EventArgs.$),n}(i.EventArgs),a=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.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.c1(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.an,"ListPanel",(function(t){var i=t.componentRef.i;e(i)}),!1)},r.prototype.i=function(){this.b&&(this.b=!1,window.addEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.h=function(){this.b||(this.b=!0,window.removeEventListener("resize",i.runOn(this,this.q),!1))},r.prototype.q=function(t){var e=this.a.bh;if(null!=e&&0!=e.b6){var i=this.r();this.a.bh.ce(i)}},r.prototype.k=function(t){var r,o,s,a,h=this.a,u=i.typeCast(n.XInputGroup.$,t.an);if(null!=u){u.oi=h.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.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].e=t)},r.prototype.o=function(){if(this.a.disallowTabFocus){var t=this.a.bb.an;if(null!=t&&t.setAttribute("tabIndex","-1"),null!=this.a.be)for(var e=this.a.be.an,r=0;r<e.inputs.count;r++)null!==i.typeCast(n.XInput.$,e.inputs._inner[r])&&(e.inputs._inner[r].be=-1)}else{var o=this.a.bb.an;if(null!=o&&o.setAttribute("tabIndex","0"),null!=this.a.be)for(var s=this.a.be.an,a=0;a<s.inputs.count;a++)null!==i.typeCast(n.XInput.$,s.inputs._inner[a])&&s.inputs._inner[a].cu()}},r.prototype.n=function(){null!=this.a.bh&&(this.a.bh.an.ar=this.a.b4)},r.prototype.p=function(){null!=this.a.bh&&(this.a.bh.an.ay=this.a.cb)},r.prototype.j=function(t){var e=this;if(null==t)return this.i(),void(this.c=null);this.c=t,i.NativeUIComponent.au(this.c,7,(function(t){e.c.append(t.an),e.a.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.an;i.remove(),i.append(e.view.j.rootWrapper)},r.$t=i.markType(r,"ComboEditorView"),r}(i.Base),_=function(t){function r(){var e=t.call(this)||this;e.d0=null,e.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.b6;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.bn(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.cc(),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.av(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.bn(t.bd),t.bd.b7=t.text,t.bd.bs=i.runOn(t,t.hg),t.bd.bt=i.runOn(t,t.hh),t.bd.bx=i.runOn(t,t.hj),t.bd.n=i.runOn(t,t.hi),t.bd.bz=i.runOn(t,t.hk),t.g7(t.bu),t.bd.b6=r.d2,t.bd.cc=i.BrushUtil.l(255,0,0,0),t.bd.bn=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.av(this.ab.d(),[7,12,0,3,7],[2,2,2,2,2],(function(e){var n=e[1];t.bg=n,t.bg.b7=!0,t.a5=e[2],t.a5.bi=new i.Thickness(0,4),t.ba=e[0],t.ba.bn(t.a5),t.a8=e[4],t.ba.bn(t.a8),t.a9.bn(t.bg),t.bf=e[3],t.bg.bn(t.ba),t.bg.bw=i.runOn(t,t.ih)}))},r.prototype.ih=function(t,e){null!=this.ad&&0==this.a8.bj&&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.b6||(t.b0=!this.b5,t.cg(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.cd()},r.prototype.hp=function(){if(this.bh.b6){this.closeUp();var t=this.bd;t.az();var e=null!=t.b7?t.b7.length:0;t.ca(e,e)}},r.prototype.hy=function(){this.bd.b1=!0,this.bd.b9();var t=new g;this.h2(t)},r.prototype.hz=function(){this.closeUp(),this.bd.b8();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.bp=t.density,this.bd.c=t.ah,this.bd.bu=t.s,this.bd.a8=t.j5,this.bd.a9=t.j6,this.bd.bg=new i.Thickness(0,t.cw),this.bd.bp=t.am,this.ab.k(this.bd)),null!=this.bd&&(this.bd.ce=t.kd,this.bd.bk=t.ax),null!=this.bd&&(this.bd.b5=t.f0),null!=this.a5){if(this.a5.ba=t.kc,this.a5.a8=t.kb,null!=t.aw){var e=t.aw;this.ab.m(this.a5,e)}this.a5.bs=this.bf,this.bf.bm=this.actualNoMatchesFoundLabel,this.hn()}this.ad},r.prototype.i6=function(){if(!this.bo&&null!=this.bd){var t=this.text;this.bd.b7=t}},r.prototype.i3=function(){var t=this.bh,e=null!=t&&t.b6;this.bd.b6=e?r.d3:r.d4},r.prototype.i5=function(){this.jd();var t=this.ac.ia(),e=Math.min(t.height,320);this.a8.y=e;var i=t.width;i=Math.max(i,150),this.a8.ae=i},r.prototype.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.a8=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.ao)i.NativeUIComponent.au(this.ab.d(),3,(function(t){var r=t;r.bk=n.ax,e.b.bs=r,e.b.ao="comboItem",r.f=0,r.h=1,r.bh=new i.Thickness(0,5),r.bm=n.fs(e.a.x)}));else e.b.bs.bm=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.ca(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.b0=!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.b0=!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.bj=this.b8?0:1;this.a8.bj;this.a8.bj=this.b8?1:0},r.prototype.g9=function(t){null!=this.bd&&(t?this.bd.a0():this.bd.az())},r.prototype.iv=function(){null!=this.bd&&this.bd.b9()},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.b6?this.closeUp():this.gw(null),null!=this.bd&&(this.bd.az(),this.bd.b9())},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.b7;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.b4;if(0==r)break;var o=this.bd.b7;if(i.stringIsNullOrEmpty(o))break;var s=o.length,a=this.bd.b3,h=a-r;h>0&&h<s&&a==s&&(this.b6=!0);break;case 40:if(e.a)this.dropDown(),this.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.b6&&(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.az(),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 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}(),T=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}(),k=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 T;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),O=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),I=function(t){return t[t.None=0]="None",t[t.SingleRow=1]="SingleRow",t[t.MultipleRow=2]="MultipleRow",t}({}),S=i.markEnum("ListPanelSelectionMode","None,0|SingleRow,1|MultipleRow,2"),x=function(t){return t[t.None=0]="None",t[t.Cell=1]="Cell",t}({}),A=i.markEnum("ListPanelActivationMode","None,0|Cell,1"),N=function(t){return t[t.Toggle=0]="Toggle",t[t.ModifierBased=1]="ModifierBased",t}({}),B=i.markEnum("ListPanelSelectionBehavior","Toggle,0|ModifierBased,1"),R=function(t){function n(){var e=t.call(this,i.Base.$,0)||this;return e.af=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.ag=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.u=function(t){var e=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.af||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,e,t))},n.$t=i.markType(n,"ListPanelSelectedItemsCollection",i.ObservableCollection$1.$.specialize(i.Base.$)),n}(i.ObservableCollection$1),E=function(t){function n(e,i){var n=t.call(this)||this;return n.a=null,n.b=null,n.a=e,n.b=i,n}return e.__extends(n,t),Object.defineProperty(n.prototype,"key",{get:function(){return this.a},set:function(t){this.a=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),n.createIdentityKey=function(t){return new n(null,[t])},n.prototype.equals=function(t){var e=t;if(null==e)return!1;if(null==e.b&&null==this.b)return!0;if(e.b.length!=this.b.length)return!1;if(null==this.a&&null==e.a&&1==this.b.length&&1==e.b.length){var i=this.b[0],n=e.b[0];return this.f(i,n)}for(var r=0;r<this.b.length;r++)if(!this.f(this.b[r],e.b[r]))return!1;return!0},n.prototype.f=function(t,e){return null==t&&null==e||(null!=t||null==e)&&i.Base.equalsStatic(t,e)},n.prototype.getHashCode=function(){if(null==this.b||0==this.b.length)return 0;var t=0;t=this.i(this.b[0]);for(var e=1;e<this.b.length;e++)t=17*t+this.i(this.b[e]);return t},n.prototype.i=function(t){return null==t?0:i.Base.getHashCodeStatic(t)},n.$t=i.markType(n,"ListPanelPrimaryKeyValue"),n}(i.Base),$=function(t){function n(){var e=t.call(this,E.$,0)||this;return e.ak=new i.List$1(i.Delegate_$type,0),e.ah=!1,e.af=!0,e.ai=new i.Dictionary$2(E.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,E.$,0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"ae",{get:function(){return this},enumerable:!1,configurable:!0}),n.prototype.an=function(t){this.collectionChanged=i.delegateCombine(this.collectionChanged,t)},n.prototype.am=function(t){this.ak.add(t)},n.prototype.ao=function(t){this.ak.remove(t)},n.prototype.ap=function(t){this.collectionChanged=i.delegateRemove(this.collectionChanged,t)},Object.defineProperty(n.prototype,"ag",{get:function(){return this.af},set:function(t){this.af=t},enumerable:!1,configurable:!0}),n.prototype.n=function(e){t.prototype.n.call(this,e),this.ag&&(this.ai.addItem(e,this.count-1),this.aj.addItem(this.count-1,e))},n.prototype.o=function(n){var r,o,s=this.count;if(t.prototype.o.call(this,n),this.ag)try{for(var a=e.__values(i.fromEnum(n)),h=a.next();!h.done;h=a.next()){var u=h.value;this.ai.addItem(u,s),this.aj.addItem(s,u),s++}}catch(t){r={error:t}}finally{try{h&&!h.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.p=function(){var n,r,o,s,a=new i.List$1(i.Delegate_$type,0);try{for(var h=e.__values(i.fromEnum(this.ak)),u=h.next();!u.done;u=h.next()){var l=u.value;a.add(l)}}catch(t){n={error:t}}finally{try{u&&!u.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}try{for(var c=e.__values(i.fromEnum(a)),p=c.next();!p.done;p=c.next()){(0,p.value)()}}catch(t){o={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(o)throw o.error}}t.prototype.p.call(this),this.ag&&(this.ai.clear(),this.aj.clear())},n.prototype.u=function(t){if(this.ag&&this.aj.containsKey(t)){var e=this.aj.item(t);this.ai.removeItem(e),this.aj.removeItem(t);for(var n=t+1;n<this.count;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.aj.removeItem(n),this.aj.addItem(n-1,r),this.ai.item(r,n-1)}}var o=this._inner[t];0==t?this._inner.shift():this._inner.splice(t,1),this.ad(new i.PropertyChangedEventArgs("Count")),this.ad(new i.PropertyChangedEventArgs("Item[]")),this.ah||this.ac(new i.NotifyCollectionChangedEventArgs(1,1,o,t))},n.prototype.v=function(e,i){if(t.prototype.v.call(this,e,i),this.ag)for(var n=e;n<e+i;n++)if(this.aj.containsKey(n)){var r=this.aj.item(n);this.ai.removeItem(r),this.aj.removeItem(n)}},n.prototype.x=function(e,i){if(t.prototype.x.call(this,e,i),this.ag&&this.aj.containsKey(e)){var n=this.aj.item(e);this.aj.item(e,i),this.ai.removeItem(n),this.ai.addItem(i,e)}},n.prototype.r=function(e,i){if(t.prototype.r.call(this,e,i),this.ag)for(var n=e;n<this.count;n++){var r=this._inner[n];this.ai.containsKey(r)?(this.ai.item(r,n),this.aj.removeItem(n),this.aj.addItem(n,r)):(this.ai.addItem(r,n),this.aj.addItem(n,r))}},n.prototype.al=function(t){return this.ag?this.ai.containsKey(t)?this.ai.item(t):-1:this.indexOf(t)},n.$t=i.markType(n,"ListPanelSelectedKeysCollection",i.ObservableCollection$1.$.specialize(E.$)),n}(i.ObservableCollection$1),D=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t[t.HorizontalWrapped=2]="HorizontalWrapped",t}({}),z=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1|HorizontalWrapped,2"),q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.g=0,e.d=0,e.h=0,e.e=0,e.f=0,e.c=0,e.a=0,e.b=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelViewportChangedEventArgs"),n}(i.Base),V=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRecycledEventArgs",i.EventArgs.$),n}(i.EventArgs),U=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._rowObject=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"rowObject",{get:function(){return this._rowObject},set:function(t){this._rowObject=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelContentRebindEventArgs",i.EventArgs.$),n}(i.EventArgs),L=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentItems=null,e._addedItems=null,e._removedItems=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentItems",{get:function(){return this._currentItems},set:function(t){this._currentItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedItems",{get:function(){return this._addedItems},set:function(t){this._addedItems=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedItems",{get:function(){return this._removedItems},set:function(t){this._removedItems=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedItemsChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),F=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._currentKeys=null,e._addedKeys=null,e._removedKeys=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"currentKeys",{get:function(){return this._currentKeys},set:function(t){this._currentKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"addedKeys",{get:function(){return this._addedKeys},set:function(t){this._addedKeys=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"removedKeys",{get:function(){return this._removedKeys},set:function(t){this._removedKeys=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelSelectedKeysChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),M=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelSelectionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newActiveRow=0,e._oldActiveRow=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newActiveRow",{get:function(){return this._newActiveRow},set:function(t){this._newActiveRow=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"oldActiveRow",{get:function(){return this._oldActiveRow},set:function(t){this._oldActiveRow=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelActiveRowChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),G=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),W=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelItemPresenter"),n}(i.Base),K=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateWidthRequestedEventArgs"),n}(i.Base),X=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=null,e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateHeightRequestedEventArgs"),n}(i.Base),Q=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=0,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelColumnDefinition"),n}(i.Base),Y=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=0,e.c=0,e.d=0,e.a=0,e.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.au(this.s(),9,(function(t){var i=t;e.a.f4(i),e.k=i.an}));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.q(e,this.a.h9),i.NativeUI.m(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 O;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.bg=new i.Thickness(1,this.dt,this.dv,this.du,this.ds):t.b.a.bg=new i.Thickness(0,0),t.p=!1,t.j?t.b.a.a9=this.h2:t.b.a.a9=null,t.n?t.b.a.a8=this.h8:t.b.a.a8=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.bl(0),i.d=t.b.a.an,i.c=e,i))}var i},n.prototype.fx=function(t){var e=this;null==t.b&&(t.b=new W,i.NativeUIComponent.av(this.view.s(),[7,0],[2,2],(function(i){var n=i[0],r=i[1];r.h=3,r.f=3,n.bn(r),0==e.ad?n.f=3:n.f=0,t.b.a=n,null!=e.h6&&(t.b.a.a8=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 H;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 M),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)),P=w.next();!P.done;P=w.next()){var T=P.value;j.add1(T)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var k=null;if(null!=n.oldItems&&n.oldItems.count>0){k=new R;try{for(var O=e.__values(i.fromEn(n.oldItems)),I=O.next();!I.done;I=O.next()){var S=I.value;k.add1(S)}}catch(t){h={error:t}}finally{try{I&&!I.done&&(u=O.return)&&u.call(O)}finally{if(h)throw h.error}}}this.selectedItemsChanged(this,((l=new L).addedItems=j,l.removedItems=k,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)),P=w.next();!P.done;P=w.next()){var T=P.value;j.add(T)}}catch(t){s={error:t}}finally{try{P&&!P.done&&(a=w.return)&&a.call(w)}finally{if(s)throw s.error}}}var k=null;if(null!=n.oldItems&&n.oldItems.count>0){(k=new $).ag=!1;try{for(var O=e.__values(i.fromEn(n.oldItems)),I=O.next();!I.done;I=O.next()){var S=I.value;k.add(S)}}catch(t){h={error:t}}finally{try{I&&!I.done&&(u=O.return)&&u.call(O)}finally{if(h)throw h.error}}}this.selectedKeysChanged(this,((l=new F).addedKeys=j,l.removedKeys=k,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 H;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 H;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.ae=t.width,this.a.y=t.height},n.prototype.h=function(){return this.a.be()},n.prototype.b=function(t){return this.a.bs(t)},n.prototype.c=function(t){return this.a.bt(t)},n.prototype.d=function(t,e){e.l||(e.l=!0,this.a.bn(e.b.a)),0==t.ad?(i.isNaN_(t.absoluteWidth)||(e.b.a.ae=t.absoluteWidth),e.b.a.y=t.c7(e.v)):2==t.ad?(e.b.a.ae=t.c8(e.v),e.b.a.y=t.c7(e.v)):(e.b.a.ae=t.c8(e.v),e.b.a.y=t.absoluteHeight),e.o&&(e.o=!1,this.a.bu(e.b.a,e.s),this.a.bv(e.b.a,e.u))},n.prototype.e=function(t){this.a.bv(t,-1e3),this.a.bu(t,-1e3)},n.prototype.f=function(t){t.s=-1e3,t.u=-1e3,null!=t.b&&this.e(t.b.a)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),ot=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.i=!1,e.v=0,e.t=0,e.w=null,e.b=null,e.e=!1,e.l=!1,e.g=!0,e.h=!0,e.q=0,e.r=0,e.c=!1,e.d=!1,e.f=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},set:function(t){this.w!=t&&(this.m=!0),this.w=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.e},set:function(t){this.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.g},set:function(t){this.g=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.h},set:function(t){this.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"u",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&(this.o=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&(this.p=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=this.f&&(this.p=!0)},enumerable:!1,configurable:!0}),n.prototype.a=function(t){var e=new Y;e.b=t.b(this.b.a),e.c=t.c(this.b.a);var i=this.b.a.be();return e.d=i.width,e.a=i.height,e.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.$t=i.markType(n,"ListPanelScrollerKeyboardListener",i.Base.$,[i.IScrollerKeyboardListener_$type]),n}(i.Base),bt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new st},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"itemInfo",{get:function(){var t=this.i.itemInfo;if(null==t)return null;if(!t.externalObject){var e=new ut;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.itemInfo=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listPanel",{get:function(){var t=this.i.listPanel;return null==t?null:t.externalObject},set:function(t){this.i.listPanel=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isLeftButton",{get:function(){return this.i.isLeftButton},set:function(t){this.i.isLeftButton=i.ensureBool(t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isDoubleClick",{get:function(){return this.i.isDoubleClick},set:function(t){this.i.isDoubleClick=i.ensureBool(t)},enumerable:!1,configurable:!0}),t}(),gt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new H},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newActiveRow",{get:function(){return this.i.newActiveRow},set:function(t){this.i.newActiveRow=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldActiveRow",{get:function(){return this.i.oldActiveRow},set:function(t){this.i.oldActiveRow=+t},enumerable:!1,configurable:!0}),t}(),yt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),mt=function(){function t(){}return Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"key",{get:function(){return this.i.key},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.key=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.value=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t.prototype.equals=function(t){return this.i.equals(t)},t}(),vt=function(t){function n(e){var n=t.call(this)||this;if(mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){mt.$type||(mt.$type=i.markType(mt,"IgcListPanelPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(mt.$type,E.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new mt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),_t=function(){function t(){this._currentKeys=null,this._addedKeys=null,this._removedKeys=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new F},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentKeys",{get:function(){if(null===this._currentKeys){var t=new vt,e=this.i.currentKeys;e||(e=new $),this._currentKeys=t._fromInner(e),this.i.currentKeys=e}return this._currentKeys},set:function(t){null!==this._currentKeys&&(this._currentKeys._setSyncTarget(null),this._currentKeys=null);var e=new vt;this._currentKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.currentKeys;r||(r=new $),n._inner=r,n.clear(),this._currentKeys._setSyncTarget(n),this.i.currentKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedKeys",{get:function(){if(null===this._addedKeys){var t=new vt,e=this.i.addedKeys;e||(e=new $),this._addedKeys=t._fromInner(e),this.i.addedKeys=e}return this._addedKeys},set:function(t){null!==this._addedKeys&&(this._addedKeys._setSyncTarget(null),this._addedKeys=null);var e=new vt;this._addedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.addedKeys;r||(r=new $),n._inner=r,n.clear(),this._addedKeys._setSyncTarget(n),this.i.addedKeys=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedKeys",{get:function(){if(null===this._removedKeys){var t=new vt,e=this.i.removedKeys;e||(e=new $),this._removedKeys=t._fromInner(e),this.i.removedKeys=e}return this._removedKeys},set:function(t){null!==this._removedKeys&&(this._removedKeys._setSyncTarget(null),this._removedKeys=null);var e=new vt;this._removedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(E.$type),r=this.i.removedKeys;r||(r=new $),n._inner=r,n.clear(),this._removedKeys._setSyncTarget(n),this.i.removedKeys=r},enumerable:!1,configurable:!0}),t}(),Ct=function(t){function n(e){var i=t.call(this)||this;if(e)for(var n=0;n<e.length;n++)i.add(e[n]);return i}return e.__extends(n,t),n.prototype._createInnerColl=function(){var t=new i.SyncableObservableCollection$2(i.Base.$type,i.Base.$type,0);return t.compare=function(t,e){var i=t;return i.equals?i.equals(e):i===e},t.createTo=function(t){return t},t.createFrom=function(t){return t},t},n}(i.IgCollection),jt=function(){function t(){this._currentItems=null,this._addedItems=null,this._removedItems=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new L},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"currentItems",{get:function(){if(null===this._currentItems){var t=new Ct,e=this.i.currentItems;e||(e=new R),this._currentItems=t._fromInner(e),this.i.currentItems=e}return this._currentItems},set:function(t){null!==this._currentItems&&(this._currentItems._setSyncTarget(null),this._currentItems=null);var e=new Ct;this._currentItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.currentItems;r||(r=new R),n._inner=r,n.clear(),this._currentItems._setSyncTarget(n),this.i.currentItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"addedItems",{get:function(){if(null===this._addedItems){var t=new Ct,e=this.i.addedItems;e||(e=new R),this._addedItems=t._fromInner(e),this.i.addedItems=e}return this._addedItems},set:function(t){null!==this._addedItems&&(this._addedItems._setSyncTarget(null),this._addedItems=null);var e=new Ct;this._addedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.addedItems;r||(r=new R),n._inner=r,n.clear(),this._addedItems._setSyncTarget(n),this.i.addedItems=r},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"removedItems",{get:function(){if(null===this._removedItems){var t=new Ct,e=this.i.removedItems;e||(e=new R),this._removedItems=t._fromInner(e),this.i.removedItems=e}return this._removedItems},set:function(t){null!==this._removedItems&&(this._removedItems._setSyncTarget(null),this._removedItems=null);var e=new Ct;this._removedItems=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.removedItems;r||(r=new R),n._inner=r,n.clear(),this._removedItems._setSyncTarget(n),this.i.removedItems=r},enumerable:!1,configurable:!0}),t}(),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}(),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 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}(),Tt=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 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),kt=function(){function t(){}return t.register=function(){Tt.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",Tt),i.TypeRegistrar.registerCons("IgcListPanelComponent",Tt),i.TypeRegistrar.register("ListPanel",et.$type)},t}(),Ot=function(){function t(){}return t.register=function(){n.IgcXInputGroupModule.register(),kt.register(),k.register(),i.TypeRegistrar.registerCons("IgcComboEditorComponent",k),i.TypeRegistrar.registerCons("IgcComboEditorComponent",k),i.TypeRegistrar.register("ComboEditor",_.$type)},t}(),It=function(t){return t[t.Unhandled=0]="Unhandled",t[t.Number=1]="Number",t[t.StringValue=2]="StringValue",t[t.Date=3]="Date",t[t.Brush=4]="Brush",t[t.Color=5]="Color",t[t.BrushCollection=6]="BrushCollection",t[t.boolean1=7]="boolean1",t[t.SubType=8]="SubType",t[t.Collection=9]="Collection",t[t.Array=10]="Array",t[t.Point=11]="Point",t[t.Size=12]="Size",t[t.Rect=13]="Rect",t[t.ColorCollection=14]="ColorCollection",t[t.EnumValue=15]="EnumValue",t[t.MethodRef=16]="MethodRef",t[t.EventRef=17]="EventRef",t[t.DataRef=18]="DataRef",t[t.TimeSpan=19]="TimeSpan",t[t.Button=20]="Button",t[t.Slider=21]="Slider",t[t.TemplateRef=22]="TemplateRef",t[t.DoubleCollection=23]="DoubleCollection",t[t.Separator=24]="Separator",t[t.Header=25]="Header",t}({}),St=i.markEnum("PropertyEditorValueType","Unhandled,0|Number,1|StringValue,2|Date,3|Brush,4|Color,5|BrushCollection,6|Boolean:boolean1,7|SubType,8|Collection,9|Array,10|Point,11|Size,12|Rect,13|ColorCollection,14|EnumValue,15|MethodRef,16|EventRef,17|DataRef,18|TimeSpan,19|Button,20|Slider,21|TemplateRef,22|DoubleCollection,23|Separator,24|Header,25"),xt=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionButtonClickEventArgs",i.EventArgs.$),n}(i.EventArgs),At=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._newValue=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"newValue",{get:function(){return this._newValue},set:function(t){this._newValue=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionChangedEventArgs",i.EventArgs.$),n}(i.EventArgs),Nt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._target=null,e._value=null,e._propertyPath=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"target",{get:function(){return this._target},set:function(t){this._target=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this._propertyPath},set:function(t){this._propertyPath=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs",i.EventArgs.$),n}(i.EventArgs),Bt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.k=null,e.a=null,e.g=null,e.propertyChanged=null,e.j=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"n",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.p("DescriptionType",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.p("Context",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,this.p("Data",e,this.g)},enumerable:!1,configurable:!0}),n.prototype.p=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.q(t,e,n)},n.prototype.q=function(t,e,i){switch(t){case"DescriptionType":case"Context":this.r()}},n.d=function(t,e,i){var r=new n;return r.j=i,r.b=t,r.n=e,r.j=null,r},n.prototype.f=function(t){var e=new Rt;return e.a3=t.propertyName,e.w=this.i(t),e.a2=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ay=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ay)?e.e=this.j.item(e.ay):e.e=n.d(this.a,e.ay,this.j)),8==e.w&&(null!=this.j&&this.j.containsKey(e.a2)?e.e=this.j.item(e.a2):e.e=n.d(this.a,e.a2,this.j)),15==e.w&&(e.c=this.a.c(this.n,e.a3),e.d=e.d),e},n.prototype.i=function(t){switch(t.knownType){case 10:return 10;case 7:return 7;case 4:return 4;case 6:return 6;case 23:return 23;case 9:return 9;case 5:return 5;case 16:return 14;case 20:return 18;case 22:return 22;case 15:return 0;case 3:return 3;case 19:return 17;case 8:return"string"==t.specificExternalType?15:8;case 13:case 18:return 0;case 1:return 1;case 11:return 11;case 14:return 13;case 12:return 12;case 2:return 2;case 21:return 19;case 17:case 0:return 0}return 0},n.prototype.r=function(){var t=new zt;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.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 xt)},n.prototype.a5=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new At).newValue=e.ar,t))},n.prototype.a9=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new Nt).propertyPath=t,n.target=e,n.value=i,n))},n.prototype.a7=function(){var t,e=this;if(null!=this.coercingValue){var i=((t=new Et).value=e.ar,t.complexValue=e.i,t.complexValues=e.m,t);this.coercingValue(this,i),this.ap=i.value,this.h=i.complexValue,this.l=i.complexValues}},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Et=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._value=null,e._complexValue=null,e._complexValues=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"value",{get:function(){return this._value},set:function(t){this._value=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){return this._complexValue},set:function(t){this._complexValue=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){return this._complexValues},set:function(t){this._complexValues=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCoercingValueEventArgs",i.EventArgs.$),n}(i.EventArgs),$t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.b=null,e.a=null,e}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObject"),n}(i.Base),Dt=function(t){function n(){return t.call(this,$t.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize($t.$)),n}(i.ObservableCollection$1),zt=function(t){function n(){return t.call(this,Rt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(Rt.$)),n}(i.ObservableCollection$1),qt=function(t){function n(e){var n=t.call(this)||this;if(Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Gt.$type||(Gt.$type=i.markType(Gt,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(Gt.$type,Rt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Gt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Vt=function(){function t(){this._properties=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new $t},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){if(null===this._properties){var t=new qt,e=this.i.a;e||(e=new zt),this._properties=t._fromInner(e),this.i.a=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new qt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.a;r||(r=new zt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.a=r},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},t}(),Ut=function(t){function n(e){var n=t.call(this)||this;if(Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Vt.$type||(Vt.$type=i.markType(Vt,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(Vt.$type,$t.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Vt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Lt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new xt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),Ft=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new At},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),Mt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Nt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"target",{get:function(){return this.i.target},set:function(t){this.i.target=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyPath",{get:function(){return this.i.propertyPath},set:function(t){this.i.propertyPath=t},enumerable:!1,configurable:!0}),t}(),Ht=function(){function t(){this._complexValues=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Et},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"value",{get:function(){return this.i.value},set:function(t){this.i.value=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValue",{get:function(){var t=this.i.complexValue;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.complexValue=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.complexValues;e||(e=new Dt),this._complexValues=t._fromInner(e),this.i.complexValues=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.complexValues;r||(r=new Dt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.complexValues=r},enumerable:!1,configurable:!0}),t}(),Gt=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._complexValues=null,e._coercedComplexValues=null,e._properties=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._buttonClicked=null,e._buttonClicked_wrapped=null,e._changed=null,e._changed_wrapped=null,e._targetPropertyUpdating=null,e._targetPropertyUpdating_wrapped=null,e._coercingValue=null,e._coercingValue_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Rt},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=t}return n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"name",{get:function(){return this.i.a0},set:function(t){this.i.a0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyPath",{get:function(){return this.i.a3},set:function(t){this.i.a3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.az},set:function(t){this.i.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.a4},set:function(t){this.i.a4=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.w},set:function(t){this.i.w=i.ensureEnum(St,t),this._a("valueType",i.enumToString(St,this.i.w))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedValueType",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(St,t),this._a("coercedValueType",i.enumToString(St,this.i.v))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.a2},set:function(t){this.i.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.ab},set:function(t){this.i.ab=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ay},set:function(t){this.i.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownNames",{get:function(){return this.i.c},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropDownValues",{get:function(){return this.i.d},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primitiveValue",{get:function(){return this.i.ar},set:function(t){this.i.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedPrimitiveValue",{get:function(){return this.i.ap},set:function(t){this.i.ap=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.al},set:function(t){this.i.al=+t,this._a("min",this.i.al)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.ai},set:function(t){this.i.ai=+t,this._a("editorWidth",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.aj},set:function(t){this.i.aj=+t,this._a("labelWidth",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.ak},set:function(t){this.i.ak=+t,this._a("max",this.i.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.am},set:function(t){this.i.am=+t,this._a("step",this.i.am)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.i;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.i=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValue",{get:function(){var t=this.i.h;if(null==t)return null;if(!t.externalObject){var e=new Vt;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.h=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new Ut,e=this.i.m;e||(e=new Dt),this._complexValues=t._fromInner(e),this.i.m=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new Ut;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.m;r||(r=new Dt),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.m=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercedComplexValues",{get:function(){if(null===this._coercedComplexValues){var t=new Ut,e=this.i.l;e||(e=new Dt),this._coercedComplexValues=t._fromInner(e),this.i.l=e}return this._coercedComplexValues},set:function(t){null!==this._coercedComplexValues&&(this._coercedComplexValues._setSyncTarget(null),this._coercedComplexValues=null);var e=new Ut;this._coercedComplexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1($t.$type),r=this.i.l;r||(r=new Dt),n._inner=r,n.clear(),this._coercedComplexValues._setSyncTarget(n),this.i.l=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"useCoercedValue",{get:function(){return this.i.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("useCoercedValue",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new qt,e=this.i.r;e||(e=new zt),this._properties=t._fromInner(e),this.i.r=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new qt;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.r;r||(r=new zt),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.r=r},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):this.complexValue&&this.complexValue.name&&this.complexValue.name==t?this.complexValue:this.coercedComplexValue&&this.coercedComplexValue.name&&this.coercedComplexValue.name==t?this.coercedComplexValue:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.findByName(t):null!=this.coercedComplexValues&&this.coercedComplexValues.findByName&&this.coercedComplexValues.findByName(t)?this.coercedComplexValues.findByName(t):null!=this.properties&&this.properties.findByName&&this.properties.findByName(t)?this.properties.findByName(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("PropertyEditorPropertyDescriptionComponent");var s=[],a=i.toSpinal(o);s.push(a+"-");for(var h=this.i.$type.baseType;h&&"Object"!=h.name&&"Base"!=h.name&&"Control"!=h.name&&"DependencyObject"!=h.Name&&"FrameworkElement"!=h.Name;){0===(o=h.name).indexOf("Xam")&&(o=o.substring(3));var u=i.toSpinal(o);s.push(u+"-"),h=h.baseType}if(n){var l=n.i.$type.name;0===l.indexOf("Xam")&&(l=l.substring(3));var c=i.toSpinal(l);s.push(c+"-"+r+"-"),s.push(c+"-"+a+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,s),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},Object.defineProperty(n.prototype,"buttonClicked",{get:function(){return this._buttonClicked},set:function(t){var e=this;null!==this._buttonClicked_wrapped&&(this.i.buttonClicked=i.delegateRemove(this.i.buttonClicked,this._buttonClicked_wrapped),this._buttonClicked_wrapped=null,this._buttonClicked=null),this._buttonClicked=t,this._buttonClicked_wrapped=function(t,i){var n=new Lt;n._provideImplementation(i),e.beforeButtonClicked&&e.beforeButtonClicked(e,n),e._buttonClicked&&e._buttonClicked(e,n)},this.i.buttonClicked=i.delegateCombine(this.i.buttonClicked,this._buttonClicked_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"changed",{get:function(){return this._changed},set:function(t){var e=this;null!==this._changed_wrapped&&(this.i.changed=i.delegateRemove(this.i.changed,this._changed_wrapped),this._changed_wrapped=null,this._changed=null),this._changed=t,this._changed_wrapped=function(t,i){var n=new Ft;n._provideImplementation(i),e.beforeChanged&&e.beforeChanged(e,n),e._changed&&e._changed(e,n)},this.i.changed=i.delegateCombine(this.i.changed,this._changed_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"targetPropertyUpdating",{get:function(){return this._targetPropertyUpdating},set:function(t){var e=this;null!==this._targetPropertyUpdating_wrapped&&(this.i.targetPropertyUpdating=i.delegateRemove(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped),this._targetPropertyUpdating_wrapped=null,this._targetPropertyUpdating=null),this._targetPropertyUpdating=t,this._targetPropertyUpdating_wrapped=function(t,i){var n=new Mt;n._provideImplementation(i),e.beforeTargetPropertyUpdating&&e.beforeTargetPropertyUpdating(e,n),e._targetPropertyUpdating&&e._targetPropertyUpdating(e,n)},this.i.targetPropertyUpdating=i.delegateCombine(this.i.targetPropertyUpdating,this._targetPropertyUpdating_wrapped)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"coercingValue",{get:function(){return this._coercingValue},set:function(t){var e=this;null!==this._coercingValue_wrapped&&(this.i.coercingValue=i.delegateRemove(this.i.coercingValue,this._coercingValue_wrapped),this._coercingValue_wrapped=null,this._coercingValue=null),this._coercingValue=t,this._coercingValue_wrapped=function(t,i){var n=new Ht;n._provideImplementation(i),e.beforeCoercingValue&&e.beforeCoercingValue(e,n),e._coercingValue&&e._coercingValue(e,n)},this.i.coercingValue=i.delegateCombine(this.i.coercingValue,this._coercingValue_wrapped)},enumerable:!1,configurable:!0}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Wt=function(){function t(){}return t.register=function(){Gt.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",Gt),i.TypeRegistrar.register("PropertyEditorPropertyDescription",Rt.$type)},t}(),Kt=function(t){function n(){var e=t.call(this)||this;return e.c=1,e.e=null,e.f=null,e.propertyChanged=null,e.propertyUpdated=null,e}return e.__extends(n,t),n.b=function(t){return(e=new n).d=t.bindingMode,e.h=t.contextKey,e.j=t.propertyName,e;var e},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=t&&this.l("BindingMode",i.enumGetBox(i.ToolContextBindingMode_$type,e),i.enumGetBox(i.ToolContextBindingMode_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=t&&this.l("ContextKey",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,e!=t&&this.l("PropertyName",e,t)},enumerable:!1,configurable:!0}),n.prototype.l=function(t,e,n){this.m(t,e,n),null!=this.propertyUpdated&&this.propertyUpdated(this,new i.PropertyUpdatedEventArgs(t,e,n)),null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.m=function(t,e,i){},n.$t=i.markType(n,"ToolContextBinding",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Xt=function(){function t(){this._propertyUpdated=null,this._propertyUpdated_wrapped=null,this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Kt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"bindingMode",{get:function(){return this.i.d},set:function(t){this.i.d=i.ensureEnum(i.ToolContextBindingMode_$type,t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"contextKey",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"propertyName",{get:function(){return this.i.j},set:function(t){this.i.j=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(t.prototype,"propertyUpdated",{get:function(){return this._propertyUpdated},set:function(t){var e=this;null!==this._propertyUpdated_wrapped&&(this.i.propertyUpdated=i.delegateRemove(this.i.propertyUpdated,this._propertyUpdated_wrapped),this._propertyUpdated_wrapped=null,this._propertyUpdated=null),this._propertyUpdated=t,this._propertyUpdated_wrapped=function(t,n){var r=new i.IgcPropertyUpdatedEventArgs;r._provideImplementation(n),e.beforePropertyUpdated&&e.beforePropertyUpdated(e,r),e._propertyUpdated&&e._propertyUpdated(e,r)},this.i.propertyUpdated=i.delegateCombine(this.i.propertyUpdated,this._propertyUpdated_wrapped)},enumerable:!1,configurable:!0}),t}(),Qt=function(t){function n(e){var n=t.call(this)||this;if(Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding")),e)for(var r=0;r<e.length;r++)n.add(e[r]);return n}return e.__extends(n,t),n.prototype._createInnerColl=function(){Xt.$type||(Xt.$type=i.markType(Xt,"IgcToolContextBinding"));var t=new i.SyncableObservableCollection$2(Xt.$type,Kt.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=new Xt)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Yt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.v=null,i}return e.__extends(r,t),r.prototype.addHandler=function(t,e,n,r){switch(n){case 21:var o=t;o.selectedValueChanged=i.delegateCombine(o.selectedValueChanged,i.runOn(this,this.w)),this.u=r,this.v=e}},r.prototype.w=function(t,e){if(null!=this.u){var n=new i.NativeUIComboSelectedItemsChangedEventArgs;null==t.value?n.a=[]:n.a=[t.value],this.u(this.v,n)}},r.prototype.getValue=function(e,n){switch(n){case 1:var r=1;switch(e.density){case 0:r=0;break;case 1:r=1;break;case 2:r=2;break;case 3:r=3;break;case 4:r=4}return i.enumGetBox(i.NativeUIDisplayDensity_$type,r);case 91:return e.gh;case 90:return e.j;case 8:return e.itemsSource;case 89:return[e.value]}return t.prototype.getValue.call(this,e,n)},r.prototype.removeHandler=function(t,e,n,r){switch(n){case 21:var o=t;o.selectedValueChanged=i.delegateRemove(o.selectedValueChanged,i.runOn(this,this.w)),this.u=null,this.v=null}},r.prototype.setValue=function(e,n,r){switch(n){case 1:var o=0;switch(i.EnumUtil.getEnumValue(i.NativeUIDisplayDensity_$type,r)){case 0:o=0;break;case 1:o=1;break;case 3:o=3;break;case 4:o=4;break;case 2:o=2}return void(e.density=o);case 91:return void(e.gh=r);case 90:return void(e.j=[r]);case 8:var s=!1;if(null!=r&&null!==i.typeCast(i.Array_$type,r))for(var a=r,h=0;h<a.length;h++){if("string"==typeof a[h]){s=!0;break}break}if(s){for(var u=r,l=new i.List$1(i.Base.$,0),c=0;c<u.length;c++){var p=u[c],f={};f.label=p,l.add1(f)}e.itemsSource=l.toArray()}else e.itemsSource=r;return;case 89:return void(e.value=null!=r&&r.length>0?r[0]:null)}t.prototype.setValue.call(this,e,n,r)},r.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){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),Ce=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),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"combo: "+this.l!=null?this.l.aq():"null"},n.$t=i.markType(n,"ToolActionComboVisualData",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"),Te=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),ke=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),Oe=function(t){function n(){var e=t.call(this,ke.$,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(ke.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,ke.$,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(ke.$)),n}(i.ObservableCollection$1),Ie=function(t){return t[t.Selected=0]="Selected",t[t.DeSelected=1]="DeSelected",t}({}),Se=i.markEnum("ToolActionCheckboxListIndexType","Selected,0|DeSelected,1"),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.i():"null"},n.$t=i.markType(n,"ToolActionCheckboxListVisualData",re.$),n}(re),Ae=function(t){return t[t.Label=0]="Label",t[t.Value=1]="Value",t}({}),Ne=i.markEnum("ToolActionFieldSelectorType","Label,0|Value,1"),Be=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),Re=function(t){return t[t.Change=0]="Change",t[t.AggregationChange=1]="AggregationChange",t}({}),Ee=i.markEnum("ToolActionFieldSelectorEventType","Change,0|AggregationChange,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"toolPanel: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionSubPanelVisualData",re.$),n}(re),De=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),ze=function(t){return t[t.Raised=0]="Raised",t[t.Flat=1]="Flat",t[t.Outlined=2]="Outlined",t}({}),qe=i.markEnum("ToolActionButtonDisplayType","Raised,0|Flat,1|Outlined,2"),Ve=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),Ue=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),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"checkbox: "+this.l!=null?this.l.w():"null"},n.$t=i.markType(n,"ToolActionRadioVisualData",re.$),n}(re),Fe=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),Me=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.aw(this.j,[7,3],(function(i){e.e=i[0],e.e.bi=e.ac,e.e.y=e.i,e.e.a8=e.y,e.e.ao=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bl=!1,e.f.bm=e.p,e.f.ba=e.z,e.f.bk=e.b,e.e.bn(e.f),null!=t&&t()}))},n.prototype.aa=function(){if(i.isNaN_(this.g)){var t=document.createElement("canvas").getContext("2d");t.font=this.b.fontString;var e=t.measureText(this.p);this.g=e.width}return new i.Size(1,this.ac.left+this.ac.right+this.g,this.ac.top+this.ac.bottom+this.i)},n.c=function(){return(t=new i.FontInfo).q="Verdana",t.f=14,t.t="Normal",t.v="Normal",t.r="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.bi=this.ac,this.e.y=this.i,this.e.a8=this.y),null!=this.f&&(this.f.bm=this.p,this.f.ba=this.z,this.f.bk=this.b)},n.prototype.u=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.v(t,e,n)},n.prototype.v=function(t,e,i){switch(t){case"Background":case"Padding":case"Height":case"FontInfo":case"TextColor":this.s();break;case"Text":this.g=NaN,this.s()}},n.$t=i.markType(n,"TooltipTextPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),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"backButton: "+this.l!=null?this.l.serialize():"null"},n.$t=i.markType(n,"ToolActionGroupHeaderVisualData",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"arrowIcon: "+this.l!=null?this.l.l():"null"},n.$t=i.markType(n,"ToolActionIconMenuVisualData",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,"ToolActionCheckboxVisualData",re.$),n}(re),Ke=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),Xe=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),Qe=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.c=2,e}return e.__extends(n,t),Object.defineProperty(n,"b",{get:function(){return null==n.a&&(n.a=new n),n.a},enumerable:!1,configurable:!0}),n.g=function(){i.NativeUIComponent.as(n.b)},Object.defineProperty(n.prototype,"flavor",{get:function(){return this.c},enumerable:!1,configurable:!0}),n.prototype.createComponent=function(t,e,i){switch(e){case 19:this.d(t,i);break;case 13:this.f(t,i);break;case 18:this.e(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:case 18:case 19:return!0}return!1},n.prototype.d=function(t,e){var n=t,r=n.createElement("div"),o=n.getSubRenderer(r),s=new _;s.provideRenderer(o);o.getExternal(s,o.rootWrapper,o.getExternal(s,null,null));var a=new Yt(s),h=new i.NativeUICombo;h.an=r,h.d=a,e(h)},n.prototype.f=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new Pi;o.provideContainer(r);var s=new Ye(o),a=new ei;a.an=n,a.d=s,e(a)},n.prototype.e=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new Ci;o.provideContainer(r);var s=new Je(o),a=new ii;a.an=n,a.d=s,e(a)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),Ye=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.ka()},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.hl(this.x(e))},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ac)),this.u=r,this.y=e;break;case 12:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ad)),this.v=r,this.z=e;break;case 17:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ab)),this.w=r,this.aa=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 11:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ac)),this.u=null,this.y=null;break;case 12:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ad)),this.v=null,this.z=null;break;case 17:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.ab)),this.w=null,this.aa=null}},r.prototype.ac=function(t,e){null!=this.u&&this.u(this.y,e)},r.prototype.ad=function(t,e){null!=this.v&&this.v(this.z,e)},r.prototype.ab=function(t,e){null!=this.w&&this.w(this.aa,e)},r.prototype.getTargetForBuildInProperty=function(e,i){switch(i){case 108:return e}return t.prototype.getTargetForBuildInProperty.call(this,e,i)},r.prototype.setValue=function(e,n,r){var o=e;switch(n){case 27:return void(o.actions=r);case 30:return void(o.u=i.EnumUtil.getEnumValue(ee,r));case 28:return void(o.c4=i.typeGetValue(r));case 18:return void(o.z=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r));case 33:return void(o.j3=r);case 34:return void(o.jo=r);case 23:return void(o.jl=r);case 50:return void(o.j1=r);case 51:return void(o.jr=r);case 120:return void(o.iy=r);case 52:return void(o.ju=r);case 116:return void(o.j5=r);case 53:return void(o.j0=r);case 11:return void(o.ap=r);case 70:return void(o.jz=r);case 66:return void(o.j6=r);case 68:return void(o.j7=r);case 67:return void(o.jm=r);case 69:return void(o.jn=r);case 71:return void(o.jx=r);case 72:return void(o.jy=r);case 83:return void(o.j2=r);case 84:return void(o.jt=r);case 85:return void(o.as=r);case 112:o.ar=r;break;case 109:return void(o.a6=r);case 111:return void(o.ck=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.c4;case 29:return r.b5;case 18:return i.enumGetBox(i.BaseControlTheme_$type,r.z);case 33:return r.j3;case 34:return r.jo;case 23:return r.jl;case 50:return r.j1;case 51:return r.jr;case 52:return r.ju;case 120:return r.iy;case 116:return r.j5;case 53:return r.j0;case 11:return r.ap;case 70:return r.jz;case 66:return r.j6;case 68:return r.j7;case 67:return r.jm;case 69:return r.jn;case 71:return r.jx;case 72:return r.jy;case 83:return r.j2;case 84:return r.jt;case 85:return r.as;case 112:return r.ar;case 104:return r.a5;case 109:return r.a6;case 111:return r.ck}return t.prototype.getValue.call(this,e,n)},r.prototype.refresh=function(t){t.gw()},r.prototype.flushRefresh=function(t){t.gb()},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.g5(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.jp(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.g3(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.a(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.hd(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.cg(e)},r.prototype.setStringContextItem=function(t,e,i){t.hh(e,i)},r.prototype.getStringContextItem=function(t,e){return t.et(e)},r.prototype.setBoolContextItem=function(t,e,i){t.g1(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.a2(e)},r.prototype.setColorContextItem=function(t,e,i){t.g7(e,i)},r.prototype.getColorContextItem=function(t,e){return t.j8(e)},r.prototype.setDataContextItem=function(t,e,i){t.hb(e,i)},r.prototype.getDataContextItem=function(t,e){return t.c8(e)},r.prototype.markDirty=function(t,e){t.ge(e)},r.prototype.exportVisualData=function(t){return t.c5()},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[Jt]),r}(n.XComponentBridge),Je=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.ge()},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(t,n,r){var o,s,a=t;switch(n){case 27:a.actions.clear();try{for(var h=e.__values(i.fromEnum(r)),u=h.next();!u.done;u=h.next()){var l=u.value;a.actions.add(l)}}catch(t){o={error:t}}finally{try{u&&!u.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}break;case 30:a.m=i.EnumUtil.getEnumValue(fe,r);break;case 28:a.by=i.typeGetValue(r);break;case 18:a.x=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,r);break;case 33:a.f8=r;break;case 34:a.fv=r;break;case 23:a.fs=r;break;case 50:a.f6=r;break;case 51:a.fx=r;break;case 52:a.fz=r;break;case 116:a.ga=r;break;case 53:a.f5=r;break;case 11:a.af=r;break;case 70:a.f4=r;break;case 66:a.gb=r;break;case 68:a.gc=r;break;case 67:a.ft=r;break;case 69:a.fu=r;break;case 71:a.f2=r;break;case 72:a.f3=r;break;case 83:a.f7=r;break;case 84:a.fy=r;break;case 85:a.aj=r;break;case 86:a.target=r;break;case 109:a.aw=r;break;case 120:a.fr=r}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(fe,n.m);case 28:return n.by;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.x);case 33:return n.f8;case 34:return n.fv;case 23:return n.fs;case 50:return n.f6;case 51:return n.fx;case 52:return n.fz;case 116:return n.ga;case 53:return n.f5;case 11:return n.af;case 70:return n.f4;case 66:return n.gb;case 68:return n.gc;case 67:return n.ft;case 69:return n.fu;case 71:return n.f2;case 72:return n.f3;case 83:return n.f7;case 84:return n.fy;case 85:return n.aj;case 86:return n.target;case 104:return n.av();case 109:return n.aw;case 120:return n.fr}return null},r.prototype.flushRefresh=function(t){t.d3()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.prototype.setBrushContextItem=function(t,e,i){t.ep(e,i)},r.prototype.getBrushContextItem=function(t,e){return t.fw(e)},r.prototype.setBrushCollectionContextItem=function(t,e,i){t.eo(e,i)},r.prototype.getBrushCollectionContextItem=function(t,e){return t.b(e)},r.prototype.setDoubleContextItem=function(t,e,i){t.et(e,i)},r.prototype.getDoubleContextItem=function(t,e){return t.bd(e)},r.prototype.setStringContextItem=function(t,e,i){t.e1(e,i)},r.prototype.getStringContextItem=function(t,e){return t.cs(e)},r.prototype.setBoolContextItem=function(t,e,i){t.en(e,i)},r.prototype.getBoolContextItem=function(t,e){return t.au(e)},r.prototype.setColorContextItem=function(t,e,i){t.eq(e,i)},r.prototype.getColorContextItem=function(t,e){return t.gd(e)},r.prototype.setDataContextItem=function(t,e,i){t.es(e,i)},r.prototype.getDataContextItem=function(t,e){return t.b3(e)},r.$t=i.markType(r,"XToolbarBridge",n.XComponentBridge.$,[ae]),r}(n.XComponentBridge),Ze=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.ga(),e.a.d4(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.d7(this.ad)}},n.prototype.ac=function(){var t=this.l;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.f8),i.NativeUI.m(e,this.a.fs))}},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),ti=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.gc(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.gi(this.an),this.c.at}},n.prototype.o=function(){return this.r.rootWrapper.getNativeElement().offsetWidth},n.prototype.n=function(){return this.r.rootWrapper.getNativeElement().offsetHeight},n.prototype.al=function(){var t=this.r;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.j3),i.NativeUI.m(e,this.c.jl))}},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 Pi;this.r.getExternal(e,this.r.rootWrapper,this.r.getExternal(this.c,null,null));return t.an.appendChild(e.v.r.rootWrapper.getNativeElement()),e},n.prototype.am=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,s=e.height;return new i.Rect(0,n,r,o,s)},n.prototype.aa=function(){this.c.externalObject.ensureStretch()},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),ei=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bp=null,e.bk=null,e.bl=null,e.br=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bo",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(85)},set:function(t){this.a4(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(112)},set:function(t){this.a4(112,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cn",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return this.bo.getContext(this.am)},set:function(t){this.bo.setContext(this.am,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ag(111)},set:function(t){this.a4(111,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(120)},set:function(t){this.a4(120,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,null!=this.bp?this.aq(10,this.bp):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bk},set:function(t){var e=this.bk;this.bk=t,null!=this.bk?this.aq(11,this.bk):this.a2(11,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(12,this.bl):this.a2(12,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),n.prototype.b5=function(){this.bo.refresh(this.am)},n.prototype.b6=function(t){this.bo.updateDensity(this.am,t)},n.prototype.b2=function(){this.bo.flushRefresh(this.am)},n.prototype.b4=function(t){this.bo.notifySizeChanged(this.am,t)},n.prototype.b3=function(t){this.bo.markDirty(this.am,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),ii=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.br=null,e.bp=null,e.bn=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"bk",{get:function(){return this.d},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.ag(27)},set:function(t){this.a4(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ag(86)},set:function(t){this.a4(86,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ag(109)},set:function(t){this.a4(109,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return i.typeGetValue(this.ag(28))},set:function(t){this.a4(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ag(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bu",{get:function(){return i.EnumUtil.getEnumValue(ee,this.ag(30))},set:function(t){this.a4(30,i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.ag(33)},set:function(t){this.a4(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.ag(83)},set:function(t){this.a4(83,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.ag(84)},set:function(t){this.a4(84,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ag(85)},set:function(t){this.a4(85,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b8",{get:function(){return this.ag(34)},set:function(t){this.a4(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b5",{get:function(){return this.ag(23)},set:function(t){this.a4(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.ag(50)},set:function(t){this.a4(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.ag(51)},set:function(t){this.a4(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b4",{get:function(){return this.ag(120)},set:function(t){this.a4(120,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.ag(52)},set:function(t){this.a4(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.ag(116)},set:function(t){this.a4(116,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.ag(53)},set:function(t){this.a4(53,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ag(11)},set:function(t){this.a4(11,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.ag(70)},set:function(t){this.a4(70,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.ag(66)},set:function(t){this.a4(66,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b6",{get:function(){return this.ag(67)},set:function(t){this.a4(67,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.ag(68)},set:function(t){this.a4(68,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b7",{get:function(){return this.ag(69)},set:function(t){this.a4(69,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.ag(71)},set:function(t){this.a4(71,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.ag(72)},set:function(t){this.a4(72,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ag(104)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bm",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,null!=this.bl?this.aq(10,this.bl):this.a2(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,null!=this.br?this.aq(17,this.br):this.a2(17,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,null!=this.bp?this.aq(23,this.bp):this.a2(23,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.bn},set:function(t){var e=this.bn;this.bn=t,null!=this.bn?this.aq(24,this.bn):this.a2(24,e)},enumerable:!1,configurable:!0}),n.prototype.b2=function(){this.bk.flushRefresh(this.am)},n.prototype.b3=function(t){this.bk.notifySizeChanged(this.am,t)},n.$t=i.markType(n,"NativeUIToolbar",i.NativeUIComponent.$),n}(i.NativeUIComponent),ni=function(t){function n(){var e,n=t.call(this)||this;n.r=null,n.bl=new i.Dictionary$2(i.String_$type,i.Base.$,0),n.bo=new i.List$1(i.String_$type,0),n.bn=new i.HashSet$1(i.String_$type,0),n.bk=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.bj=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Kt.$),0),n.br=NaN,n.au=!1,n.p=new de,n.s=null,n.c=null,n.cy=null,n.h=null,n.j=new _i,n.dp=null,n.dl=null,n.ep=null,n.g=null,n.g6=i.BrushUtil.l(0,0,0,0),n.ab=null,n.bv=30,n.bt=NaN,n.bu=NaN,n.bq=24,n.bs=NaN,n.bp=24,n.propertyChanged=null,n.bm=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.ac=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.onCommand=null,n.performed=null,n.z=null,n.ap=null,n.am=null,n.ai=null,n.ar=null,n.ao=null,n.as=null,n.at=null,n.u=0,n.an=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.fx));var o=n.actions;o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.fy));var s=n.contextBindings;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(n,n.f6));var a=n.contextBindings;return a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(n,n.f7)),n}return e.__extends(n,t),n.prototype.get_ba=function(){return!1},Object.defineProperty(n.prototype,"ba",{get:function(){return this.get_ba()},enumerable:!1,configurable:!0}),n.prototype.gs=function(t,n){var r,o,s,a;if(this.bl.item(t,n),this.bk.containsKey(t)){var h=this.bk.item(t),u=new i.List$1(Kt.$,0);try{for(var l=e.__values(i.fromEnum(h)),c=l.next();!c.done;c=l.next()){var p=c.value;u.add(p)}}catch(t){r={error:t}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}try{for(var f=e.__values(i.fromEnum(u)),d=f.next();!d.done;d=f.next()){var b=d.value;this.gl(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.gl=function(t){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gw)),null!=t.h&&this.bj.containsKey(t.h)){var e=this.bj.item(t.h);e.remove(t),0==e.count&&this.bj.removeItem(t.h)}if(null!=t.j&&this.bk.containsKey(t.j)){var n=this.bk.item(t.j);n.remove(t),0==n.count&&(this.bk.removeItem(t.j),this.bn.contains(t.j)&&(this.bn.remove(t.j),this.bo.remove(t.j)))}}},n.prototype.gm=function(t,e,n){if(null!=t){if(t.propertyUpdated=i.delegateRemove(t.propertyUpdated,i.runOn(this,this.gw)),null!=e&&this.bj.containsKey(e)){var r=this.bj.item(e);r.remove(t),0==r.count&&this.bj.removeItem(t.h)}if(null!=n)if(this.bk.containsKey(n))this.bk.item(n).remove(t),this.bn.contains(t.j)&&(this.bn.remove(t.j),this.bo.remove(t.j))}},n.prototype.fc=function(t){if(null!=t){if(t.propertyUpdated=i.delegateCombine(t.propertyUpdated,i.runOn(this,this.gw)),null!=t.h)if(this.bj.containsKey(t.h)){var e=this.bj.item(t.h);e.contains(t)||e.add(t)}else{var n=new i.List$1(Kt.$,0);n.add(t),this.bj.addItem(t.h,n)}if(null!=t.j)if(this.bk.containsKey(t.j)){var r=this.bk.item(t.j);r.contains(t)||r.add(t)}else{var o=new i.List$1(Kt.$,0);o.add(t),this.bk.addItem(t.j,o),this.bn.contains(t.j)||(this.bn.add_1(t.j),this.bo.add(t.j))}}},n.prototype.gw=function(t,e){switch(e.propertyName){case"ContextKey":this.gm(t,e.oldValue,t.j),this.fc(t);break;case"PropertyName":this.gm(t,t.h,e.oldValue),this.fc(t)}},n.prototype.cv=function(t,e){if(this.bl.containsKey(t))return this.bl.item(t);if(this.bk.containsKey(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a1(r))return this.cs(r,e)}return e},n.prototype.i=function(t,e,n){if(this.bl.containsKey(e))return i.typeCastObjTo$t(t,this.bl.item(e));if(this.bk.containsKey(e))for(var r=this.bk.item(e),o=0;o<r.count;o++){var s=r._inner[o];if(this.a1(s)){var a=this.cs(s,i.getBoxIfEnum(t,n));return"number"==typeof a?i.typeCastObjTo$t(t,i.EnumUtil.toObject(t,i.typeGetValue(a))):i.typeCastObjTo$t(t,a)}}return n},n.prototype.cu=function(t,e){if(this.bl.containsKey(t))return this.bl.item(t);if(this.bk.containsKey(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];if(this.a1(r))return this.cs(r,e)}return e},n.prototype.cs=function(t,e){return null==this.r||null==this.r.p?e:this.r.p.c(t.h)?this.r.p.g(t.h):e},n.prototype.gp=function(t,e){null!=this.r&&null!=this.r.p&&null!=t.h&&(this.gt(t.h),this.r.p.i(t.h,e),this.gu(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.gc("ContextBindings",e,this.p)},enumerable:!1,configurable:!0}),n.prototype.ay=function(){return this.bo.count>0},n.prototype.fs=function(t){for(var e=0;e<this.bo.count;e++){var i=this.bo._inner[e];if(this.bk.containsKey(i))for(var n=this.bk.item(i),r=0;r<n.count;r++){var o=n._inner[r];1==o.d&&t(o)}}},n.prototype.a1=function(t){return null!=this.r&&null!=this.r.p&&this.r.p.c(t.h)},n.prototype.gq=function(t,e){if(this.a0(t))for(var i=this.bk.item(t),n=0;n<i.count;n++){var r=i._inner[n];this.gp(r,e)}else this.bl.item(t,e)},n.prototype.az=function(t){return!!this.bj.containsKey(t)},n.prototype.a0=function(t){return!!this.bk.containsKey(t)},n.prototype.gr=function(t){var e=this.r;if(this.r=t,null!=this.r&&(null!=this.ah&&null!=this.r.v.r&&this.ah.w(this.r.v.r),this.bf=this.r.a8),this.r!=e){if(null!=e&&(e.onContextChanged=i.delegateRemove(e.onContextChanged,i.runOn(this,this.f8)),e.onContextSwapped=i.delegateRemove(e.onContextSwapped,i.runOn(this,this.f9))),null!=this.r){var n=this.r;n.onContextChanged=i.delegateCombine(n.onContextChanged,i.runOn(this,this.f8));var r=this.r;r.onContextSwapped=i.delegateCombine(r.onContextSwapped,i.runOn(this,this.f9))}this.gb(e,t),this.z=null}},n.prototype.ct=function(t){return null==t||null==t.j?null:this.bl.containsKey(t.j)?this.bl.item(t.j):null},n.prototype.gb=function(t,e){null!=this.ai&&(this.ai.bm=i.runOn(this,this.f0))},Object.defineProperty(n.prototype,"d",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.gc("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"c0",{get:function(){return null!=this.en?this.en:null!=this.e7?this.ey(this.e7):(null==this.cy&&(this.cy=i.Guid.newGuid().toString()),this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.j},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"co",{get:function(){return this.cv("Width",NaN)},set:function(t){var e=this.co;e!=t&&(this.gs("Width",t),this.gc("Width",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b9",{get:function(){return this.cv("Height",NaN)},set:function(t){var e=this.b9;e!=t&&(this.gs("Height",t),this.gc("Height",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return i.typeGetValue(this.cv("SubPanelRowHeight",-1))},set:function(t){var e=this.cp;e!=t&&(this.gs("SubPanelRowHeight",t),this.gc("SubPanelRowHeight",e,t))},enumerable:!1,configurable:!0}),n.prototype.fe=function(){null!=this.ai&&(this.ai.bm=null),null!=this.r&&this.r.ge(this),this.g=null},n.prototype.f6=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.gl(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.fc(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.f7=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.gl(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.fx=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;l.fe(),l.h=null;var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.f1))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;d.h=this;var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.f1)),d.t=this.t}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}},n.prototype.fy=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.fe(),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.f1=function(t,e){this.fd(t,e.propertyName)},n.prototype.fd=function(t,e){null!=this.h&&this.h.fd(t,e)},n.prototype.ey=function(t){return i.stringReplace(t," ","_")},n.prototype.l=function(t){var e,i=this;return(e=new ge).g=i.c0,e.a=i.aa,e.c=t,e},n.prototype.fu=function(t){var e,n=this;null==this.dr&&null==this.cq||t.add(((e=new i.ToolCommandArgument).argumentName=n.ew(),e.value=n.cw(),e)),this.fv(t)},n.prototype.fv=function(t){},n.prototype.ew=function(){return null!=this.dr?this.dr:null!=this.c0?this.c0:"Unknown"},n.prototype.cw=function(){return null!=this.cq?this.cq:this.cx()},n.prototype.cx=function(){return null},Object.defineProperty(n.prototype,"eu",{get:function(){return this.cv("ParentId",null)},set:function(t){var e=this.eu;e!=t&&(this.gs("ParentId",t),this.gc("ParentId",e,t))},enumerable:!1,configurable:!0}),n.prototype.ex=function(){return null!=this.du?this.du:this.c0},Object.defineProperty(n.prototype,"du",{get:function(){return this.cv("CommandId",null)},set:function(t){var e=this.du;e!=t&&(this.gs("CommandId",t),this.gc("CommandId",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dr",{get:function(){return this.cv("CommandArgument",null)},set:function(t){var e=this.dr;e!=t&&(this.gs("CommandArgument",t),this.gc("CommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cq",{get:function(){return this.cv("CommandArgumentValue",null)},set:function(t){var e=this.cq;e!=t&&(this.gs("CommandArgumentValue",t),this.gc("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.gs("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,t)),this.gc("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ck",{get:function(){return this.cv("PaddingLeft",NaN)},set:function(t){var e=this.ck;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingLeft",t),this.gc("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.cv("ActualPaddingLeft",NaN)},set:function(t){var e=this.b1;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualPaddingLeft",t),this.gc("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cl",{get:function(){return this.cv("PaddingRight",NaN)},set:function(t){var e=this.cl;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingRight",t),this.gc("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b2",{get:function(){return this.cv("ActualPaddingRight",NaN)},set:function(t){var e=this.b2;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualPaddingRight",t),this.gc("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cj",{get:function(){return this.cv("PaddingBottom",NaN)},set:function(t){var e=this.cj;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingBottom",t),this.gc("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.cu("ActualPaddingBottom",NaN)},set:function(t){var e=this.b0;e!=t&&(this.gs("ActualPaddingBottom",t),this.gc("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.cv("PaddingTop",NaN)},set:function(t){var e=this.cm;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingTop",t),this.gc("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.cv("ActualPaddingTop",NaN)},set:function(t){var e=this.b3;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualPaddingTop",t),this.gc("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hc",{get:function(){return this.cv("ActualHoverBackground",null)},set:function(t){var e=this.hc;e!=t&&(this.gs("ActualHoverBackground",t),this.gc("ActualHoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hk",{get:function(){return this.cv("HoverBackground",null)},set:function(t){var e=this.hk;e!=t&&(this.gs("HoverBackground",t),this.gc("HoverBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g9",{get:function(){return this.cv("ActualBackground",null)},set:function(t){var e=this.g9;e!=t&&(this.gs("ActualBackground",t),this.gc("ActualBackground",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hh",{get:function(){return this.cu("Background",null)},set:function(t){var e=this.hh;e!=t&&(this.gs("Background",t),this.gc("Background",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hg",{get:function(){return this.cu("ActualTextColor",null)},set:function(t){var e=this.hg;e!=t&&(this.gs("ActualTextColor",t),this.gc("ActualTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ho",{get:function(){return this.cv("TextColor",null)},set:function(t){var e=this.ho;e!=t&&(this.gs("TextColor",t),this.gc("TextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hf",{get:function(){return this.cu("ActualSubtitleTextColor",null)},set:function(t){var e=this.hf;e!=t&&(this.gs("ActualSubtitleTextColor",t),this.gc("ActualSubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hn",{get:function(){return this.cv("SubtitleTextColor",null)},set:function(t){var e=this.hn;e!=t&&(this.gs("SubtitleTextColor",t),this.gc("SubtitleTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ha",{get:function(){return this.cv("ActualDisabledTextColor",null)},set:function(t){var e=this.ha;e!=t&&(this.gs("ActualDisabledTextColor",t),this.gc("ActualDisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hi",{get:function(){return this.cv("DisabledTextColor",null)},set:function(t){var e=this.hi;e!=t&&(this.gs("DisabledTextColor",t),this.gc("DisabledTextColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.cv("ActualTextStyle",null)},set:function(t){var e=this.ae;e!=t&&(this.gs("ActualTextStyle",t),this.gc("ActualTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.cv("TextStyle",null)},set:function(t){var e=this.ah;e!=t&&(this.gs("TextStyle",t),this.gc("TextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ad",{get:function(){return this.cv("ActualSubtitleTextStyle",null)},set:function(t){var e=this.ad;e!=t&&(this.gs("ActualSubtitleTextStyle",t),this.gc("ActualSubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.cv("SubtitleTextStyle",null)},set:function(t){var e=this.ag;e!=t&&(this.gs("SubtitleTextStyle",t),this.gc("SubtitleTextStyle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a8",{get:function(){return this.cv("IsDisabled",!1)},set:function(t){var e=this.a8;e!=t&&(this.gs("IsDisabled",t),this.gc("IsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a9",{get:function(){return this.cu("IsHighlighted",!1)},set:function(t){var e=this.a9;e!=t&&(this.gs("IsHighlighted",t),this.gc("IsHighlighted",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g8",{get:function(){return this.cv("ActualAccentColor",null)},set:function(t){var e=this.g8;e!=t&&(this.gs("ActualAccentColor",t),this.gc("ActualAccentColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g7",{get:function(){return this.cv("AccentColor",null)},set:function(t){var e=this.g7;e!=t&&(this.gs("AccentColor",t),this.gc("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.gs("Density",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.gc("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.gs("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,t)),this.gc("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return null!=this.eu},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"en",{get:function(){return this.cv("Name",null)},set:function(t){var e=this.en;e!=t&&(this.gs("Name",t),this.gc("Name",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.cv("Title",null)},set:function(t){var e=this.e7;e!=t&&(this.gs("Title",t),this.gc("Title",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.cv("Subtitle",null)},set:function(t){var e=this.e1;e!=t&&(this.gs("Subtitle",t),this.gc("Subtitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g5",{get:function(){return i.EnumUtil.getEnumValue(i.HorizontalAlignment_$type,this.cv("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,0)))},set:function(t){var e=this.g5;e!=t&&(this.gs("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,t)),this.gc("TitleHorizontalAlignment",i.enumGetBox(i.HorizontalAlignment_$type,e),i.enumGetBox(i.HorizontalAlignment_$type,t)))},enumerable:!1,configurable:!0}),n.prototype.get_cn=function(){return this.bv},Object.defineProperty(n.prototype,"cn",{get:function(){return this.get_cn()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eb",{get:function(){return this.cv("IconName",null)},set:function(t){var e=this.eb;e!=t&&(this.gs("IconName",t),this.gc("IconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d6",{get:function(){return this.cv("IconCollectionName",null)},set:function(t){var e=this.d6;e!=t&&(this.gs("IconCollectionName",t),this.gc("IconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cf",{get:function(){return this.cv("IconViewBoxLeft",NaN)},set:function(t){var e=this.cf;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("IconViewBoxLeft",t),this.gc("IconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cg",{get:function(){return this.cv("IconViewBoxTop",NaN)},set:function(t){var e=this.cg;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("IconViewBoxTop",t),this.gc("IconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ch",{get:function(){return this.cv("IconViewBoxWidth",NaN)},set:function(t){var e=this.ch;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("IconViewBoxWidth",t),this.gc("IconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.cv("IconViewBoxHeight",NaN)},set:function(t){var e=this.ce;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("IconViewBoxHeight",t),this.gc("IconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hl",{get:function(){return this.cv("IconFill",null)},set:function(t){var e=this.hl;e!=t&&(this.gs("IconFill",t),this.gc("IconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hd",{get:function(){return this.cv("ActualIconFill",null)},set:function(t){var e=this.hd;e!=t&&(this.gs("ActualIconFill",t),this.gc("ActualIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a",{get:function(){return this.cv("IconFillColors",null)},set:function(t){var e=this.a;e!=t&&(this.gs("IconFillColors",t),this.gc("IconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hm",{get:function(){return this.cv("IconStroke",null)},set:function(t){var e=this.hm;e!=t&&(this.gs("IconStroke",t),this.gc("IconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"he",{get:function(){return this.cv("ActualIconStroke",null)},set:function(t){var e=this.he;e!=t&&(this.gs("ActualIconStroke",t),this.gc("ActualIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.cv("IconStrokeColors",null)},set:function(t){var e=this.b;e!=t&&(this.gs("IconStrokeColors",t),this.gc("IconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cd",{get:function(){return this.cv("IconStrokeWidth",NaN)},set:function(t){var e=this.cd;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("IconStrokeWidth",t),this.gc("IconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ci",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.gc("IconWidth",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.gc("ActualIconWidth",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cc",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.gc("IconHeight",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bp},set:function(t){var e=this.bp;this.bp=t,e!=this.bp&&this.gc("ActualIconHeight",e,this.bp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hp",{get:function(){return this.i(i.Visibility_$type,"Visibility",0)},set:function(t){var e=this.hp;e!=t&&(this.gs("Visibility",i.enumGetBox(i.Visibility_$type,t)),this.gc("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aw",{get:function(){return this.cv("CloseOnExecute",!1)},set:function(t){var e=this.aw;e!=t&&(this.gs("CloseOnExecute",t),this.gc("CloseOnExecute",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cb",{get:function(){return this.cv("HighlightWidth",NaN)},set:function(t){var e=this.cb;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("HighlightWidth",t),this.gc("HighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.cv("ActualHighlightWidth",NaN)},set:function(t){var e=this.bx;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualHighlightWidth",t),this.gc("ActualHighlightWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ca",{get:function(){return this.cv("HighlightRadius",NaN)},set:function(t){var e=this.ca;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("HighlightRadius",t),this.gc("HighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.cv("ActualHighlightRadius",NaN)},set:function(t){var e=this.bw;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualHighlightRadius",t),this.gc("ActualHighlightRadius",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hj",{get:function(){return this.cv("HighlightColor",null)},set:function(t){var e=this.hj;e!=t&&(this.gs("HighlightColor",t),this.gc("HighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hb",{get:function(){return this.cv("ActualHighlightColor",null)},set:function(t){var e=this.hb;e!=t&&(this.gs("ActualHighlightColor",t),this.gc("ActualHighlightColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.cv("StopPropagation",!1)},set:function(t){var e=this.bf;e!=t&&(this.gs("StopPropagation",t),this.gc("StopPropagation",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_a3=function(){return!0},Object.defineProperty(n.prototype,"a3",{get:function(){return this.get_a3()},enumerable:!1,configurable:!0}),n.prototype.get_a4=function(){return!0},Object.defineProperty(n.prototype,"a4",{get:function(){return this.get_a4()},enumerable:!1,configurable:!0}),n.prototype.get_bd=function(){return!0},Object.defineProperty(n.prototype,"bd",{get:function(){return this.get_bd()},enumerable:!1,configurable:!0}),n.prototype.get_bg=function(){return!0},Object.defineProperty(n.prototype,"bg",{get:function(){return this.get_bg()},enumerable:!1,configurable:!0}),n.prototype.get_av=function(){return!0},Object.defineProperty(n.prototype,"av",{get:function(){return this.get_av()},enumerable:!1,configurable:!0}),n.prototype.f2=function(){null!=this.h&&this.h.f2()},n.prototype.gc=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gk(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.gk=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.g3();break;case"Background":case"TextColor":case"IconFill":case"IconStroke":case"IconWidth":case"IconHeight":case"HoverBackground":case"AccentColor":this.g3(),this.gv();break;case"ActualDensity":this.fz();break;case"Density":this.gv(),0==this.w?this.v=this.y:this.v=this.w;break;case"ActualBackground":null!=this.aq&&(this.aq.a8=this.g9);break;case"ActualTextStyle":case"Subtitle":case"Title":case"TitleHorizontalAlignment":case"ActualSubtitleTextStyle":this.au=!0,this.gv(),this.g1(),this.fq();break;case"ActualTextColor":case"ActualSubtitleTextColor":case"IsDisabled":this.gv(),this.g1();break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":this.gv(),null!=this.ar&&(this.ar.bb=this.hd,this.ar.bc=this.he,this.ar.bk=this.a,this.ar.bl=this.b);break;case"Visibility":this.gv(),this.gg();break;case"IconName":case"IconCollectionName":case"ActualIconWidth":case"ActualIconHeight":this.gv(),this.ga();break;case"IsHighlighted":this.gv(),this.g0(this.aq);break;case"StopPropagation":null!=this.ai&&(this.ai.bx=this.bf);break;case"BaseTheme":try{for(var a=e.__values(i.fromEnum(this.actions)),h=a.next();!h.done;h=a.next()){h.value.t=this.t}}catch(t){o={error:t}}finally{try{h&&!h.done&&(s=a.return)&&s.call(a)}finally{if(o)throw o.error}}this.g3()}},n.prototype.g1=function(){null!=this.at&&(this.at.bm=this.e1,this.at.ba=this.a8?this.ha:this.hf,this.at.bk=this.ad),null!=this.as&&(this.as.bm=this.e7,this.as.ba=this.a8?this.ha:this.hg,this.as.bk=this.ae,this.as.h=this.a2()?2:1,this.as.f=this.aj()),null!=this.ao&&(this.a2()?1==this.ao.b1&&(this.ao.b4(1,2,1),this.ao.bn(this.at),this.ao.cc(this.at,1)):2==this.ao.b1&&(this.ao.b9(1),this.ao.bp(this.at)))},n.prototype.gt=function(t){this.bm.containsKey(t)?this.bm.item(t,this.bm.item(t)+1):this.bm.item(t,1)},n.prototype.gu=function(t){this.bm.containsKey(t)&&(this.bm.item(t,this.bm.item(t)-1),this.bm.item(t)<=0&&this.bm.removeItem(t))},n.prototype.bc=function(t){return this.bm.containsKey(t)},n.prototype.f8=function(t,e){this.bc(e.c)||this.az(e.c)&&this.gj(e.c,e.b,e.a)},n.prototype.f9=function(t,e){for(var i=0;i<this.bo.count;i++)for(var n=this.bo._inner[i],r=this.bk.item(n),o=0;o<r.count;o++){var s=r._inner[o];if(!this.bc(s.h)&&this.a1(s)){var a=null;a=this.bl.containsKey(s.j)?this.bl.item(s.j):this.cs(s,null),this.gc(s.j,a,this.cs(s,null))}}},n.prototype.gj=function(t,e,i){if(this.bj.containsKey(t))for(var n=this.bj.item(t),r=0;r<n.count;r++){var o=n._inner[r];null!=o.j&&this.gc(o.j,e,i)}},n.prototype.ak=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},n.prototype.x=function(t){switch(t){case 0:return 0;case 1:return 1;case 2:return 2;case 3:return 3;case 4:return 4}return 0},Object.defineProperty(n.prototype,"a6",{get:function(){return 0==this.v},enumerable:!1,configurable:!0}),n.prototype.fz=function(){this.gx()},n.prototype.gx=function(){},n.prototype.g0=function(t){null!=t&&(this.a9?(t.bg=new i.Thickness(0,i.DeviceUtils.g(this.bx)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(this.bw))):(t.bg=new i.Thickness(0,i.DeviceUtils.g(0)),t.a7=new i.CornerRadius(0,i.DeviceUtils.g(0))),t.a9=this.hb)},n.prototype.bb=function(){return null!=this.r&&null!=this.r.da&&null!==i.typeCast(Ci.$,this.r.da)},n.prototype.g3=function(){null!=this.r&&(this.t=this.r.z,this.hg=null!=this.ho?this.ho:this.r.jg,this.hf=null!=this.hn?this.hn:this.r.jf,this.ha=null!=this.hi?this.hi:this.r.i3,this.hc=null!=this.hk?this.hk:this.r.i9,this.hd=null!=this.hl?this.hl:this.r.ja,this.he=null!=this.hm?this.hm:this.r.jb,this.ae=null!=this.ah?this.ah:this.r.am,this.ad=null!=this.ag?this.ag:this.r.ao,this.bx=i.isNaN_(this.cb)?this.r.b4:this.cb,this.bw=i.isNaN_(this.ca)?this.r.b3:this.ca,this.hb=null!=this.hj?this.hj:this.r.i8,this.g8=null!=this.g7?this.g7:this.r.iz),this.g9=null!=this.hh?this.hh:this.g6,null!=this.ar&&(this.ar.bk=this.a,this.ar.bl=this.b),this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(12):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(12):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(2):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(2):this.cj,this.bz=i.isNaN_(this.ci)?this.b8():this.ci,this.by=i.isNaN_(this.cc)?this.b8():this.cc,this.g4()},n.prototype.b8=function(){switch(this.v){case 0:case 3:case 1:case 2:return i.DeviceUtils.g(24);case 4:return i.DeviceUtils.g(16)}return i.DeviceUtils.g(24)},n.prototype.g4=function(){},n.prototype.ga=function(){null!=this.ar&&(this.ar.br=this.eb,this.ar.bq=this.d6,this.ar.ae=i.DeviceUtils.g(this.bz),this.ar.y=i.DeviceUtils.g(this.by))},n.prototype.gv=function(){null!=this.ep&&null!=this.g&&this.g.gi(this)},n.prototype.gg=function(){null!=this.r&&this.r.gx(),null!=this.ap&&(this.ap.bj=this.hp)},n.prototype.ge=function(t,e,i,n){var r=this;this.fr(i.b,i,n,(function(t){r.ap=t,r.fp(i.b,r.ap,n,(function(){i.b.bs=r.ap,r.gy(r.am,r.ar,r.as,r.at),r.gf(null==r.am?r.ap:r.am,i,n)}))}))},n.prototype.gf=function(t,e,i){},n.prototype.fi=function(t,e){this.fj(t,e)},n.prototype.fj=function(t,e){if(e.f=this.b5(t,e),e.h=this.b7(t,e),e.g=this.b6(t,e),e.b=this.b4(t,e),i.isNaN_(this.b9)||(e.d=this.b9),i.isNaN_(this.co))if(1==e.a||2==e.a){var n=0;i.isNaN_(e.f)||(n+=e.f),i.isNaN_(e.h)||(n+=e.h),i.isNaN_(e.g)||(n+=e.g),i.isNaN_(e.b)||(n+=e.b),n+=this.b1+this.b2,e.e=n}else{var r=0;i.isNaN_(e.f)||(r+=e.f),i.isNaN_(e.h)||(r+=e.h),i.isNaN_(e.g)||(r+=e.g),i.isNaN_(e.b)||(r+=e.b),r+=this.b1+this.b2,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.co},n.prototype.b6=function(t,e){return NaN},n.prototype.b7=function(t,e){var n=NaN;return null!=this.e7&&null!=this.ae&&(n=t.v.q(this.e7,this.ae)),null!=this.e1&&null!=this.ad&&(n=Math.max(n,t.v.q(this.e1,this.ad))),i.isNaN_(n)?NaN:n+this.cn},n.prototype.b5=function(t,e){return i.stringIsNullOrEmpty(this.eb)?NaN:i.DeviceUtils.g(36)},n.prototype.af=function(t){return null!=this.ah?this.ah:t.aq()},n.prototype.b4=function(t,e){return NaN},n.prototype.gd=function(t,e){if(this.gn(),this.a7){var i=this.r.h(this.eu);null!=i&&i.f3(this,this.aw)}else if(this.r.a4(this)){if(null!=this.performed){var n=new me;this.fh(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.gn=function(){var t=this,e=this.ex();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.fg(this,r),n.argumentsList=r.toArray();var o,s=((o=new Zt).a=n,o.b=t.aw,o);null!=this.onCommand&&this.onCommand(this,s),null!=this.r&&this.r.gp(this,s)}},n.prototype.go=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.gp(this,n)},n.prototype.bh=function(){return null!=this.onCommand},n.prototype.fg=function(t,e){t.fu(e);var i=this.r.bc(t);if(null!=i)for(var n=0;n<i.count;n++)i._inner[n].a5()&&this.fg(i._inner[n],e)},n.prototype.a5=function(){return!0},n.prototype.f3=function(t,e){if(this.a7){var i=this.r.h(this.eu);null!=i&&i.f3(t,e)}else this.gd(this.l(!1),t),e&&this.ff()},n.prototype.fh=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.fh(r._inner[o],e,i)},n.f=function(t){var e=null;switch(t.d){case 9:e=new ci;break;case 2:e=new mi;break;case 11:e=new ai;break;case 14:e=new oi;break;case 13:e=new si;break;case 1:e=new gi;break;case 3:e=new bi;break;case 4:e=new pi;break;case 5:e=new vi;break;case 15:e=new li;break;case 6:e=new fi;break;case 7:e=new di;break;case 8:e=new yi;break;case 10:e=new ui;break;case 16:e=new ri;break;case 12:e=new hi;break;case 0:return null}return e.z=t,e.ft(),e},n.prototype.ft=function(){if(this.en=this.z.name,this.e7=this.z.title,this.dr=this.z.commandArgument,this.cq=this.z.commandArgumentValue,this.du=this.z.commandId,this.eb=this.z.iconName,this.d6=this.z.iconCollectionName,this.cf=this.z.iconViewBoxLeft,this.cg=this.z.iconViewBoxTop,this.ch=this.z.iconViewBoxWidth,this.ce=this.z.iconViewBoxHeight,this.ci=this.z.iconWidth,this.cc=this.z.iconHeight,this.cd=this.z.iconStrokeWidth,this.ck=this.z.paddingLeft,this.cl=this.z.paddingRight,this.cm=this.z.paddingTop,this.cj=this.z.paddingBottom,this.eu=this.z.parentId,this.a8=this.z.isDisabled,this.aw=this.z.closeOnExecute,this.w=this.x(this.z.density),this.cp=this.z.subPanelRowHeight,i.isNaN_(this.z.height)||(this.b9=this.z.height),i.stringIsNullOrEmpty(this.z.iconStroke)||(this.hm=i.CSSColorUtil.g(this.z.iconStroke)),i.stringIsNullOrEmpty(this.z.iconFill)||(this.hl=i.CSSColorUtil.g(this.z.iconFill)),i.stringIsNullOrEmpty(this.z.textColor)||(this.ho=i.CSSColorUtil.g(this.z.textColor)),i.stringIsNullOrEmpty(this.z.disabledTextColor)||(this.hi=i.CSSColorUtil.g(this.z.disabledTextColor)),this.a9=this.z.isHighlighted,null!=this.z.actions&&this.z.actions.length>0)for(var t=0;t<this.z.actions.length;t++)this.actions.add(n.f(this.z.actions[t]));if(null!=this.z.contextBindings&&this.z.contextBindings.length>0)for(var e=0;e<this.z.contextBindings.length;e++)this.contextBindings.add(this.o(this.z.contextBindings[e]))},n.prototype.o=function(t){return Kt.b(t)},n.prototype.be=function(){return null!=this.h&&null!=this.h.h&&this.h.actions._inner[0]==this},n.prototype.bi=function(){return!0},n.prototype.al=function(t){switch(t){case 1:case 17:case 6:case 11:case 10:case 2:case 12:case 13:return this.bi()?2:0;default:return 0}},Object.defineProperty(n.prototype,"aq",{get:function(){return this.ap},enumerable:!1,configurable:!0}),n.prototype.fr=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa)i.NativeUIComponent.au(this.r.v.z(),7,(function(t){var i=t;o.fl(i,n),o.g2(i,e,n),null!=r&&r(i)}));else{var s=t.bs;this.g2(s,e,n),null!=r&&r(s)}},n.prototype.fq=function(){if(null!=this.am){if(i.isNaN_(this.br)||this.au){var t=new ye;null!=this.r&&this.r.gq(t);var e=this.b7(this.r,t);e=i.isNaN_(e)?0:e,this.br=e,this.au=!1}this.am.ce(1,2,1,this.br)}},n.prototype.fp=function(t,e,n,r){var o=this;if(null==t.bs||null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=[this.al(1),this.al(7),this.al(11),this.al(3),this.al(3),this.al(7)];i.NativeUIComponent.av(this.r.v.z(),[1,7,11,3,3,7],s,(function(t){var e=t[0],i=t[1],s=t[2],a=t[3],h=t[4],u=t[5];o.fk(e,i,s,a,h,u,n),null!=r&&r()}))}else null==this.am&&1==this.ap.bm&&(this.ai=this.ap.bl(0),this.ai.bm=i.runOn(this,this.f0),this.am=this.ai.bo,this.ar=this.am.bl(0),this.ao=this.am.bl(1),this.as=this.ao.bl(0),this.ao.bm>1&&(this.at=this.ao.bl(1))),this.gy(this.am,this.ar,this.as,this.at),null!=r&&r()},n.prototype.fl=function(t,e){t.f=1==e.a?0:3,t.bs=0},n.prototype.g2=function(t,e,n){t.y=e.a.t,i.isNaN_(this.b9)||(t.y=this.b9),2==n.a?t.ae=e.c:t.ae=n.e,t.a8=this.g9,t.bj=this.hp,t.bh=new i.Thickness(1,0,0,0,0),this.g0(t),null!=this.en&&(t.ap=this.en)},n.prototype.fk=function(t,e,n,r,o,s,a){if(0==this.ap.bm){this.ap.b2(0,2,1),this.ap.b4(0,2,1),this.ap.bn(t),this.ap.ca(t,0),this.ap.cc(t,0),t.bo=e,e.bs=0;var h=this.b5(this.r,a);h=i.isNaN_(h)?0:h;var u=this.b7(this.r,a);u=i.isNaN_(u)?0:u,this.an=e,e.b4(0,2,1),e.b2(0,1,h),e.b3(1,2,1,u),s.b4(0,2,1),s.bn(r),s.cc(r,0),e.bn(n),e.bn(s),e.cc(s,0),e.ca(n,0),e.ca(s,1),this.br=u}t.c=this.t,this.a6?t.bp=1:t.bp=this.ak(this.v),t.bn=1,t.b2=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.b1=this.hc,t.bv=!0,t.bt=!this.a3,t.bq=this.av,t.bx=this.bf,t.bs=!this.a4,t.bu=!0,t.br=!0,t.bm=i.runOn(this,this.f0),n.h=1,n.f=1,n.br=this.eb,n.bq=this.d6,n.bn=this.cf,n.bo=this.cg,n.bp=this.ch,n.bm=this.ce,n.bb=this.hd,n.bk=this.a,n.bc=this.he,n.bl=this.b,n.ac=this.cd,n.ae=i.DeviceUtils.g(this.bz),n.y=i.DeviceUtils.g(this.by),r.bl=!1,r.h=this.a2()?2:1,r.f=this.aj(),o.bl=!1,o.h=0,o.f=0,this.a2()?1==s.b1&&(s.b4(1,2,1),s.bn(o),s.cc(o,1)):2==s.b1&&(s.b9(1),s.bp(o)),this.am=e,this.ai=t,this.ar=n,this.as=r,this.at=o,this.ao=s},n.prototype.aj=function(){switch(this.g5){case 0:return 0;case 2:return 2;case 3:return 3;case 1:return 1}return 0},n.prototype.a2=function(){return!i.stringIsNullOrEmpty(this.e1)},n.prototype.f0=function(t,e){this.f5()},n.prototype.gy=function(t,e,n,r){null!=t&&(t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0)),null!=e&&(e.bh=new i.Thickness(1,0,0,9,0),e.bn=this.cf,e.bo=this.cg,e.bp=this.ch,e.bm=this.ce,e.br=this.eb,e.bq=this.d6,e.bb=this.hd,e.bk=this.a,e.bc=this.he,e.bl=this.b,e.ac=this.cd),null!=n&&(n.bm=this.e7,n.bk=this.ae,n.ba=this.a8?this.ha:this.hg),null!=r&&(r.bm=this.e1,r.bk=this.ad,r.ba=this.a8?this.ha:this.hf),this.fq()},n.prototype.f5=function(){},n.prototype.f4=function(t,e){},n.prototype.gh=function(){},n.prototype.ff=function(){},n.prototype.gi=function(t){if(t.g=this,i.stringIsNullOrEmpty(t.e7)||(this.e7=t.e7),i.stringIsNullOrEmpty(t.e1)||(this.e1=t.e1),i.stringIsNullOrEmpty(t.eb)||(this.eb=t.eb),i.stringIsNullOrEmpty(t.d6)||(this.d6=t.d6),i.stringIsNullOrEmpty(t.du)||(this.du=t.du),i.stringIsNullOrEmpty(t.dr)||(this.dr=t.dr),null!=t.cq&&(this.cq=t.cq),null!=t.hh&&(this.hh=t.hh),null!=t.hk&&(this.hk=t.hk),null!=t.ho&&(this.ho=t.ho),null!=t.ah&&(this.ah=t.ah),null!=t.hi&&(this.hi=t.hi),null!=t.hl&&(this.hl=t.hl),null!=t.a&&(this.a=t.a),null!=t.hm&&(this.hm=t.hm),null!=t.b&&(this.b=t.b),i.isNaN_(t.cd)||(this.cd=t.cd),i.isNaN_(t.ch)||(this.ch=t.ch),i.isNaN_(t.ce)||(this.ce=t.ce),i.isNaN_(t.cf)||(this.cf=t.cf),i.isNaN_(t.cg)||(this.cg=t.cg),i.isNaN_(t.ck)||(this.ck=t.ck),i.isNaN_(t.cm)||(this.cm=t.cm),i.isNaN_(t.cl)||(this.cl=t.cl),i.isNaN_(t.cj)||(this.cj=t.cj),i.isNaN_(t.co)||(this.co=t.co),i.isNaN_(t.b9)||(this.b9=t.b9),this.hp!=t.hp&&(this.hp=t.hp),null!=t.actions&&t.actions.count>0){this.actions.clear();for(var e=0;e<t.actions.count;e++)this.actions.add(t.actions._inner[e])}},n.ax=function(t,e){if(t.aa!=e.d)return!1;if(t.en!=e.name)return!1;if(!(null!=t.actions&&0!=t.actions.count||null!=e.actions&&0!=e.actions.length))return!0;if(t.actions.count!=e.actions.length)return!1;for(var i=0;i<e.actions.length;i++){var r=t.actions._inner[i],o=e.actions[i];if(!n.ax(r,o))return!1}return!0},n.prototype.e=function(){return null},n.prototype.cr=function(){var t=new re;return this.fw(t),t},n.prototype.fw=function(t){t.i=this.c0,t.j=this.en,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.ap.an)),null!=this.aq&&(t.h=this.aq.af()),null!=this.ai&&(t.b=this.ai.af()),null!=this.ar&&(t.c=this.ar.af()),null!=this.as&&(t.d=this.as.af()),null!=this.at&&(t.e=this.at.af())},n.prototype.d0=function(){return this.cr().serialize()},Object.defineProperty(n.prototype,"y",{get:function(){return this.u},set:function(t){this.u=t},enumerable:!1,configurable:!0}),n.prototype.gz=function(t){this.y=t,0==this.w&&(this.v=t)},n.prototype.fn=function(){this.fo()},n.prototype.fm=function(){this.fo()},n.prototype.fo=function(){null!=this.ai&&(this.ai.bm=null),this.am=null,this.ai=null,this.ar=null,this.ao=null,this.as=null,this.at=null},n.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),ri=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hq=null,e.hr=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 16},Object.defineProperty(n.prototype,"hw",{get:function(){return this.cv("Value",i.BrushUtil.l(255,0,0,255))},set:function(t){var e=this.hw;e!=t&&(this.gs("Value",t),this.gc("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),null!=this.hq&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hs(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hs=function(){var t=i.Color.u(255,0,0,255);if(null!=this.hq){var e=i.ColorUtil.p(this.hq.bo);return e.c&&(t=e.d),i.ColorUtil.k(t,!0)}return i.ColorUtil.k(t,!0)},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,e.h=this.hs(),e},n.prototype.hu=function(t,e){if(!this.hr){this.hw=this.hq.bo;var i=this.l(!0);this.gd(i,this)}},n.prototype.hv=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.f=2,n.h=1}n.c=this.t,n.bn=i.runOn(this,this.hu),this.hq!=n&&(this.hq=n),null!=this.hw&&(this.hr=!0,n.bo=this.hw,this.hr=!1)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),20,this.al(20),(function(i){var s=i;r.hv(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hv(o,t,s,e,n)}},n.prototype.gx=function(){t.prototype.gx.call(this),this.hq},n.prototype.g4=function(){null!=this.hq&&(this.hq.c=this.t)},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"IsDisabled":this.hq}},n.prototype.f5=function(){null==this.hq||this.a8||this.hq.az()},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.hw=i.CSSColorUtil.g(e.value)},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hq&&(this.hq.bn=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hq&&(this.hq.bn=null)},n.prototype.cr=function(){var t=new _e;return this.fw(t),null!=this.hq&&(t.l=this.hq.af()),t},n.$t=i.markType(n,"ToolActionColorEditor",ni.$),n}(ni),oi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hr=null,e.hs=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 14},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cv("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gs("ItemsSource",t),this.gc("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cv("DisplayMemberPath",null)},set:function(t){var e=this.hu;e!=t&&(this.gs("DisplayMemberPath",t),this.gc("DisplayMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hy",{get:function(){return this.cv("ValueMemberPath",null)},set:function(t){var e=this.hy;e!=t&&(this.gs("ValueMemberPath",t),this.gc("ValueMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("SelectedValues",null)},set:function(t){var e=this.hq;e!=t&&(this.gs("SelectedValues",t),this.gc("SelectedValues",e,t))},enumerable:!1,configurable:!0}),n.prototype.gk=function(e,i,n){if(t.prototype.gk.call(this,e,i,n),null!=this.hr)switch(e){case"ItemsSource":this.hr.bo=this.itemsSource;break;case"SelectedValues":this.hr.bk=this.hq.toArray();break;case"DisplayMemberPath":this.hr.bp=this.hu;break;case"ValueMemberPath":this.hr.bq=this.hy}},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.h0=function(t,e){if(!this.hs){this.hs=!0,null==this.hq&&(this.hq=new Ce),this.hq.clear();for(var i=e.a,n=0;n<i.length;n++){var r=i[n];this.hq.add1(r)}this.hs=!1;var o=this.l(!0);this.gd(o,this)}},n.prototype.h1=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.bn=3,n.f=2,n.h=1}n.c=this.t,n.bm=i.runOn(this,this.h0),n.bo!=this.itemsSource&&(n.bo=this.itemsSource),n.bp!=this.hu&&(n.bp=this.hu),n.bq!=this.hy&&(n.bq=this.hy),null!=this.hq&&(this.hs=!0,n.bk=this.hq.toArray(),this.hs=!1),this.hr!=n&&(this.hr=n)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),19,this.al(19),(function(i){var s=i;r.h1(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.h1(o,t,s,e,n)}},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.hr&&(this.hr.bn=this.ak(this.v))},n.prototype.g4=function(){null!=this.hr&&(this.hr.c=this.t)},n.prototype.f5=function(){null==this.hr||this.a8||this.hr.az()},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,null!=this.hr&&(e.f=this.hq.toArray()),e},n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName="SelectedValues",n.value=r.hq.toArray(),n))},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;if(this.hu=e.displayMemberPath,this.hy=e.valueMemberPath,null!=e.selectedValues){this.hq.clear();for(var i=e.selectedValues,n=0;n<i.length;n++){var r=i[n];this.hq.add1(r)}}this.itemsSource=e.itemsSource},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hr&&(this.hr.bm=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hr&&(this.hr.bm=null)},n.prototype.cr=function(){var t=new je;return this.fw(t),null!=this.hr&&(t.l=this.hr.af()),t},n.$t=i.markType(n,"ToolActionCombo",ni.$),n}(ni),si=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hx=null,e.hy=null,e.hz=null,e.h7=!1,e.h8=!1,e.hq=null,e.ia=!1,e.h3=null,e.h5=null,e.h6=null,e.h4=null,e.h1=null,e.h2=null,e.h9=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 13},Object.defineProperty(n.prototype,"id",{get:function(){return this.cv("LeftIsSelected",!1)},set:function(t){var e=this.id;e!=t&&(this.gs("LeftIsSelected",t),this.gc("LeftIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ih",{get:function(){return this.cv("RightIsSelected",!1)},set:function(t){var e=this.ih;e!=t&&(this.gs("RightIsSelected",t),this.gc("RightIsSelected",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cv("LeftIsDisabled",!1)},set:function(t){var e=this.ic;e!=t&&(this.gs("LeftIsDisabled",t),this.gc("LeftIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cv("RightIsDisabled",!1)},set:function(t){var e=this.ig;e!=t&&(this.gs("RightIsDisabled",t),this.gc("RightIsDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i9",{get:function(){return this.cv("LeftIconName",null)},set:function(t){var e=this.i9;e!=t&&(this.gs("LeftIconName",t),this.gc("LeftIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i3",{get:function(){return this.cv("LeftCommandArgument",null)},set:function(t){var e=this.i3;e!=t&&(this.gs("LeftCommandArgument",t),this.gc("LeftCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cv("IsToggleDisabled",!1)},set:function(t){var e=this.ib;e!=t&&(this.gs("IsToggleDisabled",t),this.gc("IsToggleDisabled",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i5",{get:function(){return this.cv("LeftIconCollectionName",null)},set:function(t){var e=this.i5;e!=t&&(this.gs("LeftIconCollectionName",t),this.gc("LeftIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.cv("LeftIconViewBoxLeft",NaN)},set:function(t){var e=this.io;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("LeftIconViewBoxLeft",t),this.gc("LeftIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cv("LeftIconViewBoxTop",NaN)},set:function(t){var e=this.ip;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("LeftIconViewBoxTop",t),this.gc("LeftIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cv("LeftIconViewBoxWidth",NaN)},set:function(t){var e=this.iq;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("LeftIconViewBoxWidth",t),this.gc("LeftIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cv("LeftIconViewBoxHeight",NaN)},set:function(t){var e=this.im;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("LeftIconViewBoxHeight",t),this.gc("LeftIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kc",{get:function(){return this.cv("LeftIconFill",null)},set:function(t){var e=this.kc;e!=t&&(this.gs("LeftIconFill",t),this.gc("LeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j8",{get:function(){return this.cv("ActualLeftIconFill",null)},set:function(t){var e=this.j8;e!=t&&(this.gs("ActualLeftIconFill",t),this.gc("ActualLeftIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cv("LeftIconFillColors",null)},set:function(t){var e=this.hs;e!=t&&(this.gs("LeftIconFillColors",t),this.gc("LeftIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kd",{get:function(){return this.cu("LeftIconStroke",null)},set:function(t){var e=this.kd;e!=t&&(this.gs("LeftIconStroke",t),this.gc("LeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j9",{get:function(){return this.cv("ActualLeftIconStroke",null)},set:function(t){var e=this.j9;e!=t&&(this.gs("ActualLeftIconStroke",t),this.gc("ActualLeftIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ht",{get:function(){return this.cv("LeftIconStrokeColors",null)},set:function(t){var e=this.ht;e!=t&&(this.gs("LeftIconStrokeColors",t),this.gc("LeftIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cv("LeftIconStrokeWidth",NaN)},set:function(t){var e=this.il;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("LeftIconStrokeWidth",t),this.gc("LeftIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jk",{get:function(){return this.cv("LeftTitle",null)},set:function(t){var e=this.jk;e!=t&&(this.gs("LeftTitle",t),this.gc("LeftTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"js",{get:function(){return this.cv("RightIconName",null)},set:function(t){var e=this.js;e!=t&&(this.gs("RightIconName",t),this.gc("RightIconName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jm",{get:function(){return this.cv("RightCommandArgument",null)},set:function(t){var e=this.jm;e!=t&&(this.gs("RightCommandArgument",t),this.gc("RightCommandArgument",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"jo",{get:function(){return this.cv("RightIconCollectionName",null)},set:function(t){var e=this.jo;e!=t&&(this.gs("RightIconCollectionName",t),this.gc("RightIconCollectionName",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"it",{get:function(){return this.cv("RightIconViewBoxLeft",NaN)},set:function(t){var e=this.it;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("RightIconViewBoxLeft",t),this.gc("RightIconViewBoxLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.cv("RightIconViewBoxTop",NaN)},set:function(t){var e=this.iu;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("RightIconViewBoxTop",t),this.gc("RightIconViewBoxTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.cv("RightIconViewBoxWidth",NaN)},set:function(t){var e=this.iv;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("RightIconViewBoxWidth",t),this.gc("RightIconViewBoxWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"is",{get:function(){return this.cv("RightIconViewBoxHeight",NaN)},set:function(t){var e=this.is;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("RightIconViewBoxHeight",t),this.gc("RightIconViewBoxHeight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ke",{get:function(){return this.cv("RightIconFill",null)},set:function(t){var e=this.ke;e!=t&&(this.gs("RightIconFill",t),this.gc("RightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ka",{get:function(){return this.cv("ActualRightIconFill",null)},set:function(t){var e=this.ka;e!=t&&(this.gs("ActualRightIconFill",t),this.gc("ActualRightIconFill",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cv("RightIconFillColors",null)},set:function(t){var e=this.hu;e!=t&&(this.gs("RightIconFillColors",t),this.gc("RightIconFillColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kf",{get:function(){return this.cu("RightIconStroke",null)},set:function(t){var e=this.kf;e!=t&&(this.gs("RightIconStroke",t),this.gc("RightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kb",{get:function(){return this.cv("ActualRightIconStroke",null)},set:function(t){var e=this.kb;e!=t&&(this.gs("ActualRightIconStroke",t),this.gc("ActualRightIconStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hv",{get:function(){return this.cv("RightIconStrokeColors",null)},set:function(t){var e=this.hv;e!=t&&(this.gs("RightIconStrokeColors",t),this.gc("RightIconStrokeColors",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.cv("RightIconStrokeWidth",NaN)},set:function(t){var e=this.ir;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("RightIconStrokeWidth",t),this.gc("RightIconStrokeWidth",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j3",{get:function(){return this.cv("RightTitle",null)},set:function(t){var e=this.j3;e!=t&&(this.gs("RightTitle",t),this.gc("RightTitle",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.i(Pe,"DisplayType",1)},set:function(t){var e=this.hw;t!=e&&(this.gs("DisplayType",i.enumGetBox(Pe,t)),this.gc("DisplayType",i.enumGetBox(Pe,e),i.enumGetBox(Pe,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cv("CornerRadius",NaN)},set:function(t){var e=this.ii;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("CornerRadius",t),this.gc("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gi=function(e){if(t.prototype.gi.call(this,e),13==e.aa){var n=e;i.isNaN_(n.ii)||(this.ii=n.ii),this.hw!=n.hw&&(this.hw=n.hw),i.stringIsNullOrEmpty(n.jk)||(this.jk=n.jk),i.stringIsNullOrEmpty(n.i9)||(this.i9=n.i9),i.stringIsNullOrEmpty(n.i5)||(this.i5=n.i5),i.stringIsNullOrEmpty(n.i3)||(this.i3=n.i3),null!=n.kc&&(this.kc=n.kc),null!=n.hs&&(this.hs=n.hs),null!=n.kd&&(this.kd=n.kd),null!=n.ht&&(this.ht=n.ht),i.isNaN_(n.il)||(this.il=n.il),i.stringIsNullOrEmpty(n.j3)||(this.j3=n.j3),i.stringIsNullOrEmpty(n.js)||(this.js=n.js),i.stringIsNullOrEmpty(n.jo)||(this.jo=n.jo),i.stringIsNullOrEmpty(n.jm)||(this.jm=n.jm),null!=n.ke&&(this.ke=n.ke),null!=n.hu&&(this.hu=n.hu),null!=n.kf&&(this.kf=n.kf),null!=n.hv&&(this.hv=n.hv),i.isNaN_(n.ir)||(this.ir=n.ir)}},n.prototype.h0=function(){switch(this.hw){case 1:return 1;case 0:return 0;default:return 1}},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.i3=e.leftCommandArgument,this.i9=e.leftIconName,this.i5=e.leftIconCollectionName,this.ib=e.isToggleDisabled,this.io=e.leftIconViewBoxLeft,this.ip=e.leftIconViewBoxTop,this.iq=e.leftIconViewBoxWidth,this.im=e.leftIconViewBoxHeight,this.il=e.leftIconStrokeWidth,null!=e.leftIconFill&&(this.kc=i.CSSColorUtil.g(e.leftIconFill)),null!=e.leftIconStroke&&(this.kd=i.CSSColorUtil.g(e.leftIconStroke)),this.jk=e.leftTitle,this.jm=e.rightCommandArgument,this.js=e.rightIconName,this.jo=e.rightIconCollectionName,this.it=e.rightIconViewBoxLeft,this.iu=e.rightIconViewBoxTop,this.iv=e.rightIconViewBoxWidth,this.is=e.rightIconViewBoxHeight,this.ir=e.rightIconStrokeWidth,null!=e.rightIconFill&&(this.ke=i.CSSColorUtil.g(e.rightIconFill)),null!=e.rightIconStroke&&(this.kf=i.CSSColorUtil.g(e.rightIconStroke)),this.j3=e.rightTitle},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,e.e=this.id!=this.h7?0:1,e.b=this.id!=this.h7?this.id:this.ih,e},n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),e.add(((n=new i.ToolCommandArgument).argumentName=r.i3,n.value=r.id,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName=r.jm,t.value=r.ih,t}())},n.prototype.b6=function(t,e){var n=this.af(t),r=i.stringIsNullOrEmpty(this.jk)?0:t.v.q(this.jk,n),o=Math.max(r+this.ij(),i.DeviceUtils.g(this.ik()));return r=i.stringIsNullOrEmpty(this.j3)?0:t.v.q(this.j3,n),o+Math.max(r+this.ij(),i.DeviceUtils.g(this.ik()))},n.prototype.ik=function(){return i.DeviceUtils.g(88)},n.prototype.ij=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.ie=function(t){var e=this.hr(),i=t.bk;if(null==e&&null==i)return!1;if(null==e&&null!=i)return!0;if(null!=e&&null==i)return!0;if(e.length!=i.length)return!0;for(var n=0;n<e.length;n++)if(e[n]!=i[n])return!0;return!1},n.prototype.hr=function(){return this.id&&this.ih?[0,1]:this.id?((t=new Array(1)).push(0),t):this.ih?function(){var t=new Array(1);return t.push(1),t}():new Array(0);var t},n.prototype.j7=function(t,e,n,r,o,s,a,h,u,l,c,p,f,d){null!=t.bs&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(2==e.bm&&(e.b2(2,1,this.b6(this.r,f)),e.bn(c),c.bs(n),c.bs(a)),e.cc(c,0),e.ca(c,2),this.a6?c.bq=2:c.bq=this.ak(this.v),c.h=1,c.f=2,n.bu=!0,a.bu=!0),c.bp=i.runOn(this,this.j5),c.c=this.t,c.by=this.g8,this.j6(n),this.j6(a),this.ie(c)&&(c.bk=this.hr()),n.bw=this.ic,a.bw=this.ig,null==this.i9?(n.bo=null,n.bz=this.jk):(0==s.bm&&(s.b2(0,0,1),s.b2(1,0,1),s.bn(o),s.bn(r),s.cc(o,0),s.ca(o,0),s.cc(r,0),s.ca(r,1)),n.bz=null,n.bo=s,o.bq=this.i5,o.br=this.i9,o.bn=this.io,o.bo=this.ip,o.bp=this.iq,o.bm=this.im,o.bb=this.j8,o.bc=this.j9,o.bk=this.hs,o.bl=this.ht,o.ac=this.il,r.bm=this.jk,r.bk=this.ae,r.ba=this.a8?this.ha:this.hg,o.ae=i.DeviceUtils.g(16),o.y=i.DeviceUtils.g(16)),null==this.js?(a.bo=null,a.bz=this.j3):(0==l.bm&&(l.b2(0,0,1),l.b2(1,0,1),l.bn(h),l.bn(u),l.cc(h,0),l.ca(h,0),l.cc(u,0),l.ca(u,1)),a.bz=null,a.bo=l,u.bq=this.jo,u.br=this.js,u.bn=this.it,u.bo=this.iu,u.bp=this.iv,u.bm=this.is,u.bb=this.ka,u.bc=this.kb,u.bk=this.hu,u.bl=this.hv,u.ac=this.ir,h.bm=this.j3,h.bk=this.ae,h.ba=this.a8?this.ha:this.hg,u.ae=i.DeviceUtils.g(16),u.y=i.DeviceUtils.g(16)),this.hz!=c&&(this.hz=c),this.hx!=n&&(this.hx,this.hx=n),this.hy!=a&&(this.hy,this.hy=a),this.h3!=o&&(this.h3,this.h3=o),this.h5!=r&&(this.h5,this.h5=r),this.h4!=u&&(this.h4,this.h4=u),this.h6!=h&&(this.h6,this.h6=h),this.h1!=s&&(this.h1,this.h1=s),this.h2!=l&&(this.h2,this.h2=l)},n.prototype.j5=function(t,e){if(!this.h9){var i=e.a,n=!1,r=!1,o=!1,s=!1;if(null!=this.hq){for(var a=0;a<this.hq.length;a++)0==this.hq[a]&&(n=!0);for(var h=0;h<this.hq.length;h++)1==this.hq[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.h7=n,this.h8=r,this.id!=o&&this.gq("LeftIsSelected",o),this.ih!=s&&this.gq("RightIsSelected",s),this.gd(this.l(!0),this),this.ib&&(this.h9=!0,null!=this.hz&&this.hz.bt(),this.h9=!1)}},n.prototype.j6=function(t){t.bk=this.ae},n.prototype.gf=function(t,e,n){var r=this;if(!this.ia){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1),this.al(3),this.al(11),this.al(7),this.al(1),this.al(3),this.al(11),this.al(7),this.al(17)];this.ia=!0,i.NativeUIComponent.av(this.r.v.z(),[1,3,11,7,1,3,11,7,17],s,(function(i){r.j7(o,t,i[0],i[1],i[2],i[3],i[4],i[5],i[6],i[7],i[8],e,n,!0),r.ia=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(2),h=a.bm(0),u=a.bm(1),l=h.bo,c=l.bl(0),p=l.bl(1),f=u.bo,d=f.bl(1),b=f.bl(0);this.j7(o,t,h,p,c,l,u,b,d,f,a,e,n,!1)}}},n.prototype.gk=function(e,n,r){switch(t.prototype.gk.call(this,e,n,r),e){case"DisplayType":null!=this.hz&&(this.hz.bn=this.h0());break;case"CornerRadius":null!=this.hz&&(this.hz.bx=new i.CornerRadius(0,this.ii));break;case"ActualLeftIconFill":case"ActualLeftIconStroke":case"LeftIconFillColors":case"LeftIconStrokeColors":null!=this.h3&&(this.h3.bb=this.j8,this.h3.bc=this.j9,this.h3.bk=this.hs,this.h3.bl=this.ht);break;case"ActualRightIconFill":case"ActualRightIconStroke":case"RightIconFillColors":case"RightIconStrokeColors":null!=this.h4&&(this.h4.bb=this.ka,this.h4.bc=this.kb,this.h4.bk=this.hu,this.h4.bl=this.hv);break;case"LeftIconFill":case"LeftIconStroke":case"RightIconFill":case"RightIconStroke":this.g3();break;case"LeftIconName":case"LeftIconCollectionName":null!=this.h3&&(this.h3.br=this.i9,this.h3.bq=this.i5);break;case"LeftIsDisabled":null!=this.hx&&(this.hx.bw=this.ic);break;case"RightIsDisabled":null!=this.hy&&(this.hy.bw=this.ig);break;case"RightIconName":case"RightIconCollectionName":null!=this.h4&&(this.h4.br=this.js,this.h4.bq=this.jo);break;case"LeftTitle":case"RightTitle":case"TextStyle":case"ActualDisabledTextColor":case"ActualTextColor":null!=this.h6&&(this.h6.bm=this.j3,this.h6.bk=this.ae,this.h6.ba=this.a8?this.ha:this.hg),null!=this.h5&&(this.h5.bm=this.jk,this.h5.bk=this.ae,this.h5.ba=this.a8?this.ha:this.hg);break;case"LeftIsSelected":case"RightIsSelected":null!=this.hz&&this.ie(this.hz)&&(this.hz.bk=this.hr())}},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.hz&&(this.hz.bq=this.ak(this.v))},n.prototype.g4=function(){t.prototype.g4.call(this),null!=this.hz&&(this.hz.c=this.t,this.hz.by=this.g8),null!=this.r&&(this.j8=null!=this.kc?this.kc:this.r.ja,this.j9=null!=this.kd?this.kd:this.r.jb,this.ka=null!=this.ke?this.ke:this.r.ja,this.kb=null!=this.kf?this.kf:this.r.jb)},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hz&&(this.hz.bp=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hz&&(this.hz.bp=null)},n.prototype.cr=function(){var t=new Te;return this.fw(t),null!=this.hx&&(t.m=this.hx.af()),null!=this.hy&&(t.n=this.hy.af()),null!=this.h3&&(t.o=this.h3.af()),null!=this.h4&&(t.p=this.h4.af()),null!=this.h5&&(t.q=this.h5.af()),null!=this.h6&&(t.r=this.h6.af()),null!=this.hz&&(t.l=this.hz.af()),t},n.$t=i.markType(n,"ToolActionButtonPair",ni.$),n}(ni),ai=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.ht=null,e.hy=-1,e.hv=!1,e.hz=null,e.hx=NaN,e.hu=!1,e.h0=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 11},n.prototype.fj=function(e,n){if(t.prototype.fj.call(this,e,n),null!=this.ht&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,i.isNaN_(this.b9)?Number.POSITIVE_INFINITY:this.b9),o=this.ht.bf(r);o.height+=this.b3,o.height+=this.b0,n.e=o.width,n.d=o.height;var s=this.hx;this.hx=o.height,i.isNaN_(s)||s==this.hx||this.f2()}},n.prototype.fp=function(t,e,i,n){null!=n&&n()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.cv("ItemsSource",null)},set:function(t){var e=this.itemsSource;e!=t&&(this.gs("ItemsSource",t),this.gc("ItemsSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cv("SelectedMemberPath",null)},set:function(t){var e=this.ie;e!=t&&(this.gs("SelectedMemberPath",t),this.gc("SelectedMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hw",{get:function(){return this.cv("ShowSelectAll",!1)},set:function(t){var e=this.hw;e!=t&&(this.gs("ShowSelectAll",t),this.gc("ShowSelectAll",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("DataMemberPath",null)},set:function(t){var e=this.h8;e!=t&&(this.gs("DataMemberPath",t),this.gc("DataMemberPath",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("PrimaryKey",null)},set:function(t){var e=this.hq;e!=t&&(this.gs("PrimaryKey",t),this.gc("PrimaryKey",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cv("SelectedKeys",null)},set:function(t){var e=this.hr;e!=t&&(this.gs("SelectedKeys",t),this.gc("SelectedKeys",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.i(Se,"IndexType",1)},set:function(t){var e=this.hs;e!=t&&(this.gs("IndexType",i.enumGetBox(Se,t)),this.gc("IndexType",i.enumGetBox(Se,e),i.enumGetBox(Se,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.cv("UncheckedBackgroundColor",null)},set:function(t){var e=this.i0;e!=t&&(this.gs("UncheckedBackgroundColor",t),this.gc("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iw",{get:function(){return this.cv("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.iw;e!=t&&(this.gs("ActualUncheckedBackgroundColor",t),this.gc("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iy",{get:function(){return this.cv("CheckedBackgroundColor",null)},set:function(t){var e=this.iy;e!=t&&(this.gs("CheckedBackgroundColor",t),this.gc("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.cv("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.iu;e!=t&&(this.gs("ActualCheckedBackgroundColor",t),this.gc("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i1",{get:function(){return this.cv("UncheckedBorderColor",null)},set:function(t){var e=this.i1;e!=t&&(this.gs("UncheckedBorderColor",t),this.gc("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ix",{get:function(){return this.cv("ActualUncheckedBorderColor",null)},set:function(t){var e=this.ix;e!=t&&(this.gs("ActualUncheckedBorderColor",t),this.gc("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return this.cv("CheckedBorderColor",null)},set:function(t){var e=this.iz;e!=t&&(this.gs("CheckedBorderColor",t),this.gc("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iv",{get:function(){return this.cv("ActualCheckedBorderColor",null)},set:function(t){var e=this.iv;e!=t&&(this.gs("ActualCheckedBorderColor",t),this.gc("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.gk=function(e,n,r){if(t.prototype.gk.call(this,e,n,r),null!=this.ht)switch(e){case"ItemsSource":this.ht.b5=this.itemsSource,n!=r&&this.f2();break;case"SelectedMemberPath":this.ht.b8=this.ie;break;case"DataMemberPath":this.ht.b6=this.h8;break;case"PrimaryKey":this.ht.bk=this.hq;break;case"ShowSelectAll":this.ht.b2=this.hw;break;case"SelectedKeys":if(null!=n){var o=n;o.collectionChanged=i.delegateRemove(o.collectionChanged,i.runOn(this,this.ir)),n.ao(i.runOn(this,this.iq))}if(null!=r){var s=n;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(this,this.ir)),n.am(i.runOn(this,this.iq))}this.is(this.ht);break;case"IndexType":this.ht.bv=this.hs;break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g3()}},n.prototype.iq=function(){this.hu||null!=this.ht&&this.ht.cb()},n.prototype.is=function(t){var n,r;if(null!=t){this.hu=!0,t.cb();try{for(var o=e.__values(i.fromEnum(this.hr)),s=o.next();!s.done;s=o.next()){var a=s.value;t.ca(a.key,a.value)}}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}this.hu=!1}},n.prototype.ir=function(t,n){var r,o;if(!this.hu)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.ht.cc(s+n.newStartingIndex,a.key,a.value)}break;case 1:if(null!=n.oldItems)for(var h=0;h<n.oldItems.count;h++)this.ht.ce(n.oldStartingIndex);break;case 2:if(null!=n.oldItems)for(var u=0;u<n.oldItems.count;u++)this.ht.ce(n.oldStartingIndex);if(null!=n.newItems)for(var l=0;l<n.newItems.count;l++){var c=n.newItems.item(l);this.ht.cc(l+n.newStartingIndex,c.key,c.value)}break;case 4:this.ht.cb();try{for(var p=e.__values(i.fromEnum(this.hr)),f=p.next();!f.done;f=p.next()){var d=f.value;this.ht.ca(d.key,d.value)}}catch(t){r={error:t}}finally{try{f&&!f.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}}},n.prototype.it=function(t,e,n,r){0!=e.bm&&null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(0==e.bm&&e.bn(n),n.bl=3),e.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),e.a8=this.g9,e.bj=this.hp,null!=this.en&&(e.ap=this.en),n.bk=this.hq,n.b5=this.itemsSource,n.bv=this.hs,n.b6=this.h8,n.b8=this.ie,this.hw?n.b2=!0:n.b2=!1,n.b1=!0,n.b0=!1,n.c=this.t,n.cn=this.hg,n.ci=this.g9,n.cj=this.hc,n.ck=this.he,n.cl=this.hg,n.cm=this.hg,n.cg=this.g8,n.ch=this.g8,n.br=i.runOn(this,this.ik),n.bs=i.runOn(this,this.im),n.bt=i.runOn(this,this.io),n.bx=i.runOn(this,this.il),n.bz=i.runOn(this,this.ip),n.cf(this.h0),this.ht!=n&&(this.ht=n),null==this.hr?this.gq("SelectedKeys",new Oe):this.is(n)},n.prototype.ip=function(t,e){this.hu||(this.hu=!0,this.hr.clear(),this.hu=!1)},n.prototype.il=function(t,e){this.gq("IndexType",i.enumGetBox(i.NativeUICheckboxListIndexType_$type,e.a))},n.prototype.ik=function(t,e){this.hu||(this.hy=e.c,this.hv=e.b,this.hz=e.a,this.hu=!0,0==this.hs?e.b?this.hr.remove(new ke(1,e.a)):this.hr.add(new ke(1,e.a)):e.b?this.hr.add(new ke(1,e.a)):this.hr.remove(new ke(1,e.a)),this.hu=!1,this.gd(this.l(!0),this))},n.prototype.im=function(t,e){if(0==this.hs){if(e.b)return;var i=new ke(1,e.a);if(this.hr.contains(i))return;this.hu=!0,this.hr.add(i),this.hu=!1}else{if(!e.b)return;var n=new ke(1,e.a);if(this.hr.contains(n))return;this.hu=!0,this.hr.add(n),this.hu=!1}},n.prototype.io=function(t,e){if(0==this.hs){if(e.b)return;var i=new ke(1,e.a);if(!this.hr.contains(i))return;this.hu=!0,this.hr.remove(i),this.hu=!1}else{if(!e.b)return;var n=new ke(1,e.a);if(!this.hr.contains(n))return;this.hu=!0,this.hr.remove(n),this.hu=!1}},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,null!=this.ht&&this.hy>-1&&(e.e=this.hy,e.b=this.hv,e.f=this.hv),e},n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),this.hy>=0&&(e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hv,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.hy,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.hz,t}()))},n.prototype.g2=function(t,e,n){null!=this.ht&&(t.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),t.a8=this.g9,t.bj=this.hp,null!=this.en&&(t.ap=this.en))},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.it(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0);this.it(o,t,s,n)}},n.prototype.g4=function(){t.prototype.g4.call(this),null!=this.r&&(this.iw=null!=this.i0?this.i0:this.r.jj,this.ix=null!=this.i1?this.i1:this.r.jk,this.iu=null!=this.iy?this.iy:this.r.i1,this.iv=null!=this.iz?this.iz:this.r.i2,null!=this.ht&&(this.ht.c=this.t,this.ht.cn=this.hg,this.ht.ci=this.g9,this.ht.cj=this.hc,this.ht.ck=this.he,this.ht.cl=this.hg,this.ht.cm=this.hg,this.ht.co=this.iw,this.ht.cp=this.ix,this.ht.cg=this.iu,this.ht.ch=this.iv),this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(8):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(8):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(8):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(8):this.cj)},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.h8=e.dataMemberPath,this.ie=e.selectedMemberPath,this.hq=e.primaryKey,this.itemsSource=e.itemsSource,this.hw=e.showSelectAll,this.h0=e.aj},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.ht&&(this.ht.br=null,this.ht.bs=null,this.ht.bt=null,this.ht.bx=null,this.ht.bz=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.ht&&(this.ht.br=null,this.ht.bs=null,this.ht.bt=null,this.ht.bx=null,this.ht.bz=null)},n.prototype.cr=function(){var t=new xe;return this.fw(t),null!=this.ht&&(t.l=this.ht.af()),t},n.$t=i.markType(n,"ToolActionCheckboxList",ni.$),n}(ni),hi=function(t){function n(){var e,n=t.call(this)||this;return n.h3=null,n.ir=-1,n.h6=!1,n.it=null,n.iy=null,n.h0=0,n.h8=!1,n.ih=NaN,n.h9=!1,n.iv=null,n.hq=null,n.hx=null,n.ie=new i.Dictionary$2(i.String_$type,i.Number_$type,0),n.hs=new i.DataSeriesAdapterPropertyInfo,n.ht=new i.DataSeriesAdapterPropertyInfo,n.h4=!1,n.h5=!1,n.h7=!1,n.hq=n.hr(),n.contextBindings.add(((e=new Kt).d=0,e.h="FieldSelectorRules",e.j="Rules",e)),n}return e.__extends(n,t),n.prototype.hr=function(){return(new i.DataSeriesAdapter).e},n.prototype.js=function(){var t;if(this.h4=!1,this.actions.clear(),this.actions.add(((t=new gi).en="FieldSelectorHeader",t.e7="Aggregation",t)),this.actions.add(function(){var t=new di;return t.hq=!0,t}()),null!=this.hz&&this.hz.count>0)for(var e=function(t){var e=n.hz._inner[t],r=void 0;5==e.operand?(r=function(){var t=new fi;return t.e7=e.label,t.en="FieldSelectorAggregation"+e.name,t.hy="fieldSelectorAggregation",t}(),n.h4=!0):r=function(){var t=new fi;return t.e7=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.en="FieldSelectorAggregation"+i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,e.operand),t.hy="fieldSelectorAggregation",t}(),r.onCommand=i.delegateCombine(r.onCommand,i.runOn(n,n.ju)),n.actions.add(r)},n=this,r=0;r<this.hz.count;r++)e(r);else{var o=function(){var t=new fi;return t.e7="Sum",t.en="FieldSelectorAggregationSum",t.hy="fieldSelectorAggregation",t}();o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ju)),this.actions.add(o),(o=function(){var t=new fi;return t.e7="Average",t.en="FieldSelectorAggregationAverage",t.hy="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ju)),this.actions.add(o),(o=function(){var t=new fi;return t.e7="Count of Rows",t.en="FieldSelectorAggregationCount",t.hy="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ju)),this.actions.add(o),(o=function(){var t=new fi;return t.e7="Min",t.en="FieldSelectorAggregationMin",t.hy="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ju)),this.actions.add(o),(o=function(){var t=new fi;return t.e7="Max",t.en="FieldSelectorAggregationMax",t.hy="fieldSelectorAggregation",t}()).onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.ju)),this.actions.add(o)}},n.prototype.ju=function(t,e){var i=this.is(e.a.commandId);switch(e.a.commandId){case"FieldSelectorAggregationAverage":this.j1(this.iv,3,i);break;case"FieldSelectorAggregationSum":this.j1(this.iv,2,i);break;case"FieldSelectorAggregationCount":this.j1(this.iv,4,i);break;case"FieldSelectorAggregationMin":this.j1(this.iv,0,i);break;case"FieldSelectorAggregationMax":this.j1(this.iv,1,i);break;default:this.j1(this.iv,5,i)}},n.prototype.is=function(t){if(i.stringIsNullOrEmpty(t))return 0;if(i.stringStartsWith(t,"FieldSelectorAggregation")&&(t=t.substr(24)),null!=this.hz&&this.hz.count>0)for(var e=0;e<this.hz.count;e++){var n=this.hz._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.hv=function(t){if(null!=this.hz&&this.hz.count>0)return this.hz._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.jd=function(t){if(null!=this.hz&&this.hz.count>0)return 5==this.hz._inner[t].operand?this.hz._inner[t].name:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.hz._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.jc=function(t){if(null!=this.hz&&this.hz.count>0)return 5==this.hz._inner[t].operand?this.hz._inner[t].label:i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,this.hz._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.hw=function(t){if(null!=this.hz&&this.hz.count>0)return this.hz._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.j1=function(t,n,r){var o,s;if(null!=this.hy&&0!=this.h2&&this.ib()){var a=!1,h=2;if(this.it=t,this.h0=1,this.ia()){for(var u=0;u<this.hy.summaryDescriptions.k.count;u++){var l=this.hy.summaryDescriptions.k.item(u);if(l.propertyName==t){h=l.operand,l.operand=n,a=!0;break}}var c=null;if(null==this.hy.propertiesRequested){var p=0;c=new Array(this.hs.b.length+this.ht.b.length);for(var f=0;f<this.hs.b.length;f++)c[p]=this.hs.b[f],p++;for(var d=0;d<this.ht.b.length;d++)c[p]=this.ht.b[d],p++}else c=new Array(this.hy.propertiesRequested.length);for(var b=0;b<c.length;b++){var g=null==c[b]?this.hy.propertiesRequested[b]:c[b];""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,h)==g?(c[b]=""+t+i.enumGetBox(i.DataSourceSummaryOperand_$type,n),a||this.hy.summaryDescriptions.add(new i.SummaryDescription(2,t,n))):null!=this.hy.propertiesRequested&&null!=this.hy.propertiesRequested[b]&&(c[b]=this.hy.propertiesRequested[b])}this.hy.propertiesRequested=c,this.hy.refresh()}var y=i.typeCast(i.ObservableCollection$1.$.specialize(Be.$),this.h3.b5);try{for(var m=e.__values(i.fromEnum(y)),v=m.next();!v.done;v=m.next()){var _=v.value;if(_.key==t){if(this.ie.containsKey(_.key)?this.ie.item(_.key,r):this.ie.addItem(_.key,r),5==n)_.aggregationName=this.hz._inner[r].name,_.aggregationLabel=this.hz._inner[r].label,_.aggregationOperand=5,this.iy=this.hz._inner[r].name;else{var C=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,n);_.aggregationName=C,_.aggregationLabel=C,_.aggregationOperand=n}this.iy=_.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.gd(this.l(!0),this),this.jt()}},Object.defineProperty(n.prototype,"hy",{get:function(){return this.cv("DataSource",null)},set:function(t){var e=this.hy;e!=t&&(this.gs("DataSource",t),this.gc("DataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iu",{get:function(){return this.cv("LegendTarget",null)},set:function(t){var e=this.iu;e!=t&&(this.gs("LegendTarget",t),this.gc("LegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cv("DataLegendTarget",null)},set:function(t){var e=this.hu;e!=t&&(this.gs("DataLegendTarget",t),this.gc("DataLegendTarget",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.i(Ne,"FieldType",0)},set:function(t){var e=this.h2;e!=t&&(this.gs("FieldType",i.enumGetBox(Ne,t)),this.gc("FieldType",i.enumGetBox(Ne,e),i.enumGetBox(Ne,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cv("SingleSelection",!1)},set:function(t){var e=this.ic;e!=t&&(this.gs("SingleSelection",t),this.gc("SingleSelection",e,t))},enumerable:!1,configurable:!0}),n.prototype.ib=function(){return null!=this.hz&&this.hz.count>0||null!=this.hy&&this.hy.groupDescriptions.k.count>0},Object.defineProperty(n.prototype,"hz",{get:function(){return this.cv("Aggregations",null)},set:function(t){var e=this.hz;e!=t&&(this.gs("Aggregations",t),this.gc("Aggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cv("Rules",null)},set:function(t){var e=this.ig;e!=t&&(this.gs("Rules",t),this.gc("Rules",e,t))},enumerable:!1,configurable:!0}),n.prototype.ia=function(){return this.id&&(!this.ib()||!this.h4)},Object.defineProperty(n.prototype,"id",{get:function(){return this.cv("UpdateDataSource",!1)},set:function(t){var e=this.id;e!=t&&(this.gs("UpdateDataSource",t),this.gc("UpdateDataSource",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h1",{get:function(){return this.cv("SelectedAggregations",null)},set:function(t){var e=this.h1;e!=t&&(this.gs("SelectedAggregations",t),this.gc("SelectedAggregations",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.cv("PaddingLeft",NaN)},set:function(t){var e=this.io;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingLeft",t),this.gc("PaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ij",{get:function(){return this.cv("ActualPaddingLeft",NaN)},set:function(t){var e=this.ij;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualPaddingLeft",t),this.gc("ActualPaddingLeft",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.cv("PaddingRight",NaN)},set:function(t){var e=this.ip;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingRight",t),this.gc("PaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ik",{get:function(){return this.cv("ActualPaddingRight",NaN)},set:function(t){var e=this.ik;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualPaddingRight",t),this.gc("ActualPaddingRight",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"im",{get:function(){return this.cv("PaddingBottom",NaN)},set:function(t){var e=this.im;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingBottom",t),this.gc("PaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ii",{get:function(){return this.cu("ActualPaddingBottom",NaN)},set:function(t){var e=this.ii;e!=t&&(this.gs("ActualPaddingBottom",t),this.gc("ActualPaddingBottom",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.cv("PaddingTop",NaN)},set:function(t){var e=this.iq;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("PaddingTop",t),this.gc("PaddingTop",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"il",{get:function(){return this.cv("ActualPaddingTop",NaN)},set:function(t){var e=this.il;e==t||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("ActualPaddingTop",t),this.gc("ActualPaddingTop",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 12},n.prototype.fj=function(e,n){if(t.prototype.fj.call(this,e,n),null!=this.h3&&null!=e){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),o=this.h3.bf(r);o.height+=this.il,o.height+=this.ii,n.e=o.width,n.d=o.height;var s=this.ih;this.ih=o.height,i.isNaN_(s)||s==this.ih||this.f2()}},n.prototype.fp=function(t,e,i,n){null!=n&&n()},n.prototype.gk=function(e,n,r){switch(t.prototype.gk.call(this,e,n,r),e){case"Aggregations":this.js(),this.ie.clear(),this.jy(this.h3);break;case"SelectedAggregations":this.ie.clear(),this.jy(this.h3);break;case"FieldType":this.jy(this.h3);break;case"DataSource":if(this.hx=null,null!=n){this.hx=null;var o=n;o.propertiesRequestedChanged=i.delegateRemove(o.propertiesRequestedChanged,i.runOn(this,this.jw))}if(null!=r){this.hx=r.clone();var s=r;s.propertiesRequestedChanged=i.delegateCombine(s.propertiesRequestedChanged,i.runOn(this,this.jw))}this.jy(this.h3);break;case"Rules":this.hx=null,this.jy(this.h3);break;case"SingleSelection":this.j0(this.h3);break;case"LegendTarget":var a=r;null!=a&&null===i.typeCast(i.IDataLegendTarget_$type,a)&&(a=a._implementation),this.hu=i.typeCast(i.IDataLegendTarget_$type,a);break;case"DataLegendTarget":this.jz(this.h3)}},n.prototype.jw=function(t,e){this.h8||this.ie.clear(),this.jy(this.h3),this.jt()},n.prototype.jx=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(0==e.bm&&e.bn(n),n.bl=3,this.js()),e.bh=new i.Thickness(1,this.ij,this.il,this.ik,this.ii),e.a8=this.g9,e.bj=this.hp,null!=this.en&&(e.ap=this.en),n.b2=!1,n.cb(),this.ie.clear(),this.jy(n),n.b1=0==this.h2||!this.ib(),n.y=this.ih-16,n.b0=!0,n.c=this.t,n.cn=this.hg,n.ci=this.g9,n.cj=this.hc,n.ck=this.he,n.cl=this.hg,n.cm=this.hg,this.j0(n),this.jz(n),n.br=i.runOn(this,this.jo),n.bu=i.runOn(this,this.jp),this.h3!=n&&(this.h3=n),this.jt()},n.prototype.j0=function(t){null!=t&&(t.b3=this.ic?10:2)},n.prototype.jz=function(t){if(null!=t)if(0==this.h2){var e=i.typeCast(i.IDataLegendTarget_$type,t.b4);null!=e&&(e.seriesDataChanged=i.delegateRemove(e.seriesDataChanged,i.runOn(this,this.jq))),t.b4=null}else if(1==this.h2&&t.b4!=this.hu){var n=i.typeCast(i.IDataLegendTarget_$type,t.b4);if(null!=n&&(n.seriesDataChanged=i.delegateRemove(n.seriesDataChanged,i.runOn(this,this.jq))),t.b4=this.hu,null!=this.hu){var r=this.hu;r.seriesDataChanged=i.delegateCombine(r.seriesDataChanged,i.runOn(this,this.jq))}}},n.prototype.jy=function(t){if(!this.h8&&null!=t&&null!=this.ig){var e=new i.ObservableCollection$1(Be.$,0);if(null!=this.hy){if(null==this.hx){if(this.hx=this.hy.clone(),null!==i.typeCast(i.LocalDataSource.$,this.hx)){var n=i.typeCast(i.LocalDataSource.$,this.hx),r=i.typeCast(i.LocalDataSource.$,this.hy);n.dataSource=r.dataSource,n.executionContext=r.executionContext}this.hx.propertiesRequested=null,this.hx.groupDescriptions.clear(),this.hx.summaryDescriptions.clear(),this.hx.isVirtual||this.hx.flushAutoRefresh(),this.hq.rules.clear();for(var o=0;o<this.ig.count;o++)this.hq.rules.add(this.ig._inner[o]);this.hq.itemsSource=this.hx,this.hq.refresh(),this.hs=new i.DataSeriesAdapterPropertyInfo,this.ht=new i.DataSeriesAdapterPropertyInfo}if((null==this.hs.b||null==this.ht.b||0==this.hs.b.length&&0==this.ht.b.length)&&this.hq.a1(this.hs,this.ht),null==this.hs.b||null==this.ht.b||0==this.hs.b.length||0==this.ht.b.length)return;if(0==this.h2)for(var s=function(t){var i,n=a.hs.b[t],r=a.hs.a[t],o=a.hs.c[t],s=null==a.hy.propertiesRequested;if(null!=a.hy.propertiesRequested)for(var h=0;h<a.hy.propertiesRequested.length;h++){var u=a.hy.propertiesRequested[h];if(u==n||u==""+n){s=!0;break}}e.add(((i=new Be).propertyType=o,i.key=n,i.isSelected=s,i.label=r,i))},a=this,h=0;h<this.hs.b.length;h++)s(h);if(1==this.h2)for(var u=function(t){var n=l.ht.b[t],r=l.ht.a[t],o=l.ht.c[t],s=2,a="Sum",h="Sum",u=0;if(null!=l.hz&&l.hz.count>0&&(h=l.hz._inner[0].label,a=l.hz._inner[0].name,s=l.hz._inner[0].operand,i.stringIsNullOrEmpty(h))){var c=i.EnumUtil.getName(i.DataSourceSummaryOperand_$type,l.hz._inner[0].operand);h=c,a=c}if(l.ie.containsKey(n))u=l.ie.item(n),a=l.jd(u),h=l.jc(u),s=l.hw(u);else if(l.h4){if(null!=l.h1)for(var p=0;p<l.h1.count;p++){var f=l.h1._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.hz.count;b++)if(l.hz._inner[b].name==f.aggregationName){h=l.hz._inner[b].label;break}}break}}}else for(var g=0;g<l.hy.summaryDescriptions.k.count;g++){var y=l.hy.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.is(a);break}}var v=null==l.hy.propertiesRequested;if(null!=l.hy.propertiesRequested)for(var _=0;_<l.hy.propertiesRequested.length;_++){var C=l.hy.propertiesRequested[_];if(null!=C){if(C==n||C==""+n){v=!0;break}if(0==C.indexOf(""+n)){if(null==l.hy.summaryDescriptions)continue;for(var j=0;j<l.hy.summaryDescriptions.k.count;j++){if(l.hy.summaryDescriptions.k.item(j).propertyName==n){v=!0;break}}}}}var w,P=((w=new Be).key=n,w.isSelected=v,w.label=r,w.propertyType=o,w);l.ib()&&(P.aggregationLabel=h,P.aggregationName=a,P.aggregationOperand=s,l.ie.containsKey(n)?l.ie.item(n,u):l.ie.addItem(n,u)),e.add(P)},l=this,c=0;c<this.ht.b.length;c++)u(c)}t.bk=["key"],t.b5=e,t.b6="label",t.b8="isSelected",t.b9="aggregationLabel",t.b7="propertyType"}},n.prototype.jq=function(t,e){this.jt()},n.prototype.jp=function(t,e){if(0!=this.h2&&this.ib()){this.iv=e.a[0],this.ir=e.c,this.h6=e.b;for(var n=this.ie.item(this.iv),r=0,o=0;o<this.actions.count;o++){var s=i.typeCast(fi.$,this.actions._inner[o]);null!=s&&(s.hr=n==r,r++)}this.r.gy(this)}},n.prototype.jo=function(t,e){var n=this;this.h8=!0;this.ir,this.h6,this.it;this.ir=e.c,this.h6=e.b,this.it=e.a,this.h0=0;var r,o=e.a[0];if(this.ic&&!this.h5&&(e.b?this.d.executeDelayed(i.runOn(this,this.jv),0):this.d.executeDelayed(i.runOn(this,this.jn),0)),this.ia()){var s="";if(1==this.h2){var a=this.ie.item(o);s=this.jd(a).toString()}if(e.b){if(this.ib())if(0==this.h2){for(var h=!1,u=0;u<this.hy.groupDescriptions.k.count;u++){if(this.hy.groupDescriptions.k.item(u).propertyName==o){h=!0;break}}h||(this.ic&&this.hy.groupDescriptions.clear(),this.hy.groupDescriptions.add(((r=new i.SortDescription).propertyName=o,r)))}else{for(var l=!1,c=0;c<this.hy.summaryDescriptions.k.count;c++){if(this.hy.summaryDescriptions.k.item(c).propertyName==o){l=!0;break}}l||this.hy.summaryDescriptions.add(function(){var t=new i.SummaryDescription(0);return t.propertyName=o,t.operand=n.hv(n.ie.item(o)),t}())}if(null==this.hy.propertiesRequested)this.hy.propertiesRequested=[this.ib()?""+o+s:o];else{for(var p=!1,f=0;f<this.hy.propertiesRequested.length;f++)if(this.hy.propertiesRequested[f]==(this.ib()?""+o+s:o)){p=!0;break}if(!p){for(var d=new Array(this.hy.propertiesRequested.length+1),b=0;b<this.hy.propertiesRequested.length;b++)d[b]=this.hy.propertiesRequested[b];d[this.hy.propertiesRequested.length]=this.ib()?""+o+s:o,this.hy.propertiesRequested=d}}}else{if(this.ib())if(0!=this.h2||this.ic){for(var g=new i.SummaryDescription(0),y=!1,m=0;m<this.hy.summaryDescriptions.k.count;m++){var v=this.hy.summaryDescriptions.k.item(m);v.propertyName==o&&(g=v,y=!0)}y&&this.hy.summaryDescriptions.remove(g)}else{for(var _=new i.SortDescription,C=!1,j=0;j<this.hy.groupDescriptions.k.count;j++){var w=this.hy.groupDescriptions.k.item(j);if(w.propertyName==o){_=w,C=!0;break}}C&&this.hy.groupDescriptions.remove(_)}if(null==this.hy.propertiesRequested){for(var P=0,T=new Array(this.hs.b.length+this.ht.b.length-1),k=0;k<this.hs.b.length;k++)this.hs.b[k]!=o&&(T[P]=this.hs.b[k],P++);for(var O=0;O<this.ht.b.length;O++)this.ht.b[O]!=o&&(T[P]=this.ht.b[O],P++);this.hy.propertiesRequested=T}else{for(var I=new Array(this.hy.propertiesRequested.length-1),S=0,x=0;x<this.hy.propertiesRequested.length;x++){var A=this.hy.propertiesRequested[x];A!=o&&A!=""+o+s&&(I[S]=A,S++)}this.hy.propertiesRequested=I}}}this.jt(),this.gd(this.l(!0),this),this.h8=!1},n.prototype.jt=function(){this.h7||null!=this.d&&null!=this.h3&&(this.h7=!0,this.d.enqueueAction(i.runOn(this,this.jr)))},n.prototype.jr=function(){null!=this.h3&&this.h3.cd(),this.h7=!1},n.prototype.jv=function(){this.h5=!0,this.h3.ce(0),this.h5=!1},n.prototype.jn=function(){this.h5=!0,this.h3.ca(["key"],this.it),this.h5=!1},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,null!=this.h3&&this.ir>-1&&(e.e=this.ir,e.b=this.h6,e.f=i.enumGetBox(Ee,this.h0)),e},n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),this.ir>=0&&(0==this.h0||1==this.h0&&e.add(((n=new i.ToolCommandArgument).argumentName="Aggregation",n.value=r.iy,n)),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="IsChecked",t.value=r.h6,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="Index",t.value=r.ir,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="PrimaryKey",t.value=r.it,t}()),e.add(function(){var t=new i.ToolCommandArgument;return t.argumentName="EventType",t.value=i.enumGetBox(Ee,r.h0),t}()))},n.prototype.g2=function(t,e,n){null!=this.h3&&(t.y=this.ih-16,t.bh=new i.Thickness(1,this.ij,this.il,this.ik,this.ii),t.a8=this.g9,t.bj=this.hp,null!=this.en&&(t.ap=this.en))},n.prototype.g4=function(){t.prototype.g4.call(this),this.ij=i.isNaN_(this.io)?i.DeviceUtils.g(8):this.io,this.ik=i.isNaN_(this.ip)?i.DeviceUtils.g(8):this.ip,this.il=i.isNaN_(this.iq)?i.DeviceUtils.g(8):this.iq,this.ii=i.isNaN_(this.im)?i.DeviceUtils.g(8):this.im},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),16,this.al(16),(function(e){var i=e;r.jx(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0);this.jx(o,t,s,n)}},n.prototype.gb=function(e,i){t.prototype.gb.call(this,e,i),this.hx=null,this.jy(this.h3)},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.h2=e.fieldType,this.hy=e.dataSource,this.hu=e.ak,this.id=e.updateDataSource,this.ic=e.singleSelection},n.prototype.fe=function(){if(t.prototype.fe.call(this),null!=this.hy){var e=this.hy;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.jw))}null!=this.h3&&(this.h3.br=null,this.h3.bu=null)},n.prototype.fo=function(){if(t.prototype.fo.call(this),null!=this.hy){var e=this.hy;e.propertiesRequestedChanged=i.delegateRemove(e.propertiesRequestedChanged,i.runOn(this,this.jw))}null!=this.h3&&(this.h3.br=null,this.h3.bu=null)},n.$t=i.markType(n,"ToolActionFieldSelector",ni.$),n}(ni),ui=function(t){function n(){var e=t.call(this)||this;return e.hq=null,e.hr=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cv("ItemSpacing",0)},set:function(t){var e=this.hs;e!=t&&(this.gs("ItemSpacing",t),this.gc("ItemSpacing",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 10},n.prototype.fj=function(e,n){t.prototype.fj.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].hp&&(s>0&&(o+=this.hs),i.isNaN_(this.actions._inner[s].b1)&&this.actions._inner[s].g3(),this.actions._inner[s].fi(e,r),o+=r.e);n.e=this.b1+o+this.b2,i.isNaN_(this.b9)||(n.d=this.b9),this.hr||(this.hr=!0,this.f2())},n.prototype.fp=function(t,e,i,n){null!=n&&n()},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa),i.NativeUIComponent.at(this.r.v.z(),13,this.bi()?2:0,(function(e){return r.hw(o,t,e,n)}));else{var s=t.bl(0);this.hw(o,t,s,n)}},n.prototype.hw=function(t,e,n,r){0==e.bm&&(e.bn(n),n.bv=1,n.f=0,n.h=1),e.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),n.c=this.t,n.cl=this.r.j3,n.bu=this.r.p,n.cb=this.r.jo,null==this.h?n.b8=this.r.jl:n.b8=this.r.j1,n.cj=this.r.j1,n.cc=this.r.jr,n.ce=this.r.ju,n.ci=this.r.j0,n.bw=this.r.am,n.cm=this.r.j6,n.cn=this.r.j7,n.b9=this.r.jm,n.ca=this.r.jn,n.ch=this.r.jz,n.cf=this.r.jx,n.cg=this.r.jy,n.ck=this.r.j2,n.cd=this.r.jt,n.by=this.r.as,n.b7=this.r.iy,this.hu(n),n.b0=this.hs,n.bt=this.actions,n.bs=i.runOn(this,this.hv),this.hq!=n&&(this.hq=n)},n.prototype.hv=function(t,e){this.go(e.a,e.b)},n.prototype.g4=function(){switch(t.prototype.g4.call(this),this.t){case 6:case 5:this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b0=i.isNaN_(this.cj)?0:this.cj;break;default:this.b1=i.isNaN_(this.ck)?0:this.ck,this.b2=i.isNaN_(this.cl)?0:this.cl,this.b3=i.isNaN_(this.cm)?0:this.cm,this.b0=i.isNaN_(this.cj)?0:this.cj}},n.prototype.hu=function(t){null!=t&&(-1!=this.cp?t.b1=this.cp:null!=this.r?t.b1=this.r.c4:t.b1=-1,t.y=-1==t.b1?NaN:t.b1)},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"ItemSpacing":null!=this.hq&&(this.hq.b0=this.hs);break;case"SubPanelRowHeight":this.hu(this.hq)}},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hq&&(this.hq.bs=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hq&&(this.hq.bs=null)},n.prototype.cr=function(){var t=new $e;return this.fw(t),null!=this.hq&&(t.l=this.hq.af()),t},n.$t=i.markType(n,"ToolActionSubPanel",ni.$),n}(ni),li=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hq=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 15},Object.defineProperty(n.prototype,"hs",{get:function(){return this.cv("Value",null)},set:function(t){var e=this.hs;e!=t&&(this.gs("Value",t),this.gc("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),null!=this.hq&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hr(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hr=function(){return this.hq.b7},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,e.h=this.hr(),e},n.prototype.hu=function(t,e){this.hs=this.hr();var i=this.l(!0);this.gd(i,this)},n.prototype.hv=function(t,e,n,r,o){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var s=this.b6(this.r,o);e.b2(2,1,s),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=s,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=0,n.bo=2,n.b2=!1}n.c=this.t,n.ce=this.a8?this.ha:this.hg,n.bk=this.ae,n.b0=this.a8,n.bs=i.runOn(this,this.hu),n.b7=this.hs,this.hq!=n&&(this.hq=n)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),2,this.al(2),(function(i){var s=i;r.hv(o,t,s,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hv(o,t,s,e,n)}},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.hq&&(this.hq.bp=this.ak(this.v))},n.prototype.g4=function(){null!=this.hq&&(this.hq.c=this.t)},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"IsDisabled":null!=this.hq&&(this.hq.b0=this.a8,this.hq.ce=this.a8?this.ha:this.hg)}},n.prototype.f5=function(){null==this.hq||this.a8||this.hq.az()},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.hs=e.value},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hq&&(this.hq.bs=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hq&&(this.hq.bs=null)},n.prototype.cr=function(){var t=new De;return this.fw(t),null!=this.hq&&(t.l=this.hq.af()),t},n.$t=i.markType(n,"ToolActionTextInput",ni.$),n}(ni),ci=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hr=null,e.ht=!1,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 9},n.prototype.get_cn=function(){return 0},Object.defineProperty(n.prototype,"hq",{get:function(){return this.i(qe,"DisplayType",0)},set:function(t){var e=this.hq;t!=e&&(this.gs("DisplayType",i.enumGetBox(qe,t)),this.gc("DisplayType",i.enumGetBox(qe,e),i.enumGetBox(qe,t)))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hu",{get:function(){return this.cv("CornerRadius",NaN)},set:function(t){var e=this.hu;t==e||i.isNaN_(t)&&i.isNaN_(e)||(this.gs("CornerRadius",t),this.gc("CornerRadius",e,t))},enumerable:!1,configurable:!0}),n.prototype.gi=function(e){if(t.prototype.gi.call(this,e),9==e.aa){var n=e;i.isNaN_(n.hu)||(this.hu=n.hu),this.hq!=n.hq&&(this.hq=n.hq)}},n.prototype.hs=function(){switch(this.hq){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.c0,e.a=this.aa,e.c=t,e},n.prototype.b5=function(t,e){return NaN},n.prototype.b7=function(t,e){return NaN},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.hq=e.displayType},n.prototype.hv=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.hw=function(){return i.DeviceUtils.g(88)},n.prototype.b6=function(e,n){var r=t.prototype.b7.call(this,e,n);return i.isNaN_(r)?i.DeviceUtils.g(88):Math.max(r+this.hv(),i.DeviceUtils.g(this.hw()))},n.prototype.fp=function(t,e,i,n){null!=n&&n()},n.prototype.h0=function(t,e,n,r){r&&(0==t.bm&&(t.b2(0,2,1),t.bn(e),t.cc(e,0),t.ca(e,0)),this.a6?e.bp=2:e.bp=this.ak(this.v),e.h=1,e.bu=!0),t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),e.c=this.t,e.b0=new i.CornerRadius(0,this.hu),e.bn=this.hs(),e.bz=this.e7,e.bm=i.runOn(this,this.hz),e.bk=this.ae,e.bx=this.bf,e.a8=this.g8,this.hr=e},n.prototype.hz=function(t,e){this.gd(this.l(!0),this)},n.prototype.gf=function(t,e,n){var r=this;if(!this.ht){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1)];this.ht=!0,i.NativeUIComponent.av(this.r.v.z(),[1],s,(function(e){r.h0(t,e[0],n,!0),r.ht=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(0);this.h0(t,a,n,!1)}}},n.prototype.gk=function(e,n,r){switch(t.prototype.gk.call(this,e,n,r),e){case"Title":null!=this.hr&&(this.hr.bz=this.e7);break;case"DisplayType":null!=this.hr&&(this.hr.bn=this.hs());break;case"CornerRadius":null!=this.hr&&(this.hr.b0=new i.CornerRadius(0,this.hu));break;case"StopPropagation":null!=this.hr&&(this.hr.bx=this.bf)}},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.hr&&(this.hr.bp=this.ak(this.v))},n.prototype.g4=function(){t.prototype.g4.call(this),null!=this.hr&&(this.hr.c=this.t,this.hr.a8=this.g8),null==this.r||1!=this.r.u&&2!=this.r.u?(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(4):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj):(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl,this.b3=i.isNaN_(this.cm)?i.DeviceUtils.g(4):this.cm,this.b0=i.isNaN_(this.cj)?i.DeviceUtils.g(4):this.cj)},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hr&&(this.hr.bm=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hr&&(this.hr.bm=null)},n.prototype.cr=function(){var t=new Ve;return this.fw(t),null!=this.hr&&(t.l=this.hr.af()),t},n.$t=i.markType(n,"ToolActionButton",ni.$),n}(ni),pi=function(t){function n(){var e=t.call(this)||this;return e.hq=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.hr),e}return e.__extends(n,t),n.prototype.get_aa=function(){return 4},n.prototype.b6=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.b6.call(this,e,n)},n.prototype.hs=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa)&&2==e.bm){var o=this.b6(this.r,r);e.b2(2,1,i.isNaN_(o)?0:o),e.bn(n),e.ca(n,2),e.cc(n,0),n.br="ToolbarDrillDownIcon",n.bq="IG_Default",n.f=1,n.h=1,n.ae=i.DeviceUtils.g(24),n.y=i.DeviceUtils.g(24)}n.bc=this.hg,n.bb=this.hg},n.prototype.f5=function(){this.actions.count>0?this.r.gy(this):this.gd(this.l(!1),this)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa?(this.actions.count>0&&i.NativeUIComponent.at(this.r.v.z(),11,this.bi()?2:0,(function(e){r.hq=e,r.hs(o,t,r.hq,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)):this.actions.count>0&&(this.hq=t.bl(2),this.hs(o,t,this.hq,n))},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"ActualTextColor":null!=this.hq&&(this.hq.ba=this.hg)}},n.prototype.cr=function(){var t=new Ue;return this.fw(t),null!=this.hq&&(t.l=this.hq.af()),t},n.$t=i.markType(n,"ToolActionLabel",ni.$),n.hr='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.1807 6.34315L15.8192 12.0183L10.1807 17.6569" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ni),fi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hq=null,e.ht=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 6},Object.defineProperty(n.prototype,"hy",{get:function(){return this.ht},set:function(t){this.ht=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hr",{get:function(){return this.cv("IsChecked",!1)},set:function(t){var e=this.hr;e!=t&&(this.gs("IsChecked",t),this.gc("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hs",{get:function(){return this.cv("IsManual",!1)},set:function(t){var e=this.hs;e!=t&&(this.gs("IsManual",t),this.gc("IsManual",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ie",{get:function(){return this.cv("UncheckedBackgroundColor",null)},set:function(t){var e=this.ie;e!=t&&(this.gs("UncheckedBackgroundColor",t),this.gc("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cv("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.ia;e!=t&&(this.gs("ActualUncheckedBackgroundColor",t),this.gc("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ic",{get:function(){return this.cv("CheckedBackgroundColor",null)},set:function(t){var e=this.ic;e!=t&&(this.gs("CheckedBackgroundColor",t),this.gc("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.h8;e!=t&&(this.gs("ActualCheckedBackgroundColor",t),this.gc("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ig",{get:function(){return this.cv("UncheckedBorderColor",null)},set:function(t){var e=this.ig;e!=t&&(this.gs("UncheckedBorderColor",t),this.gc("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return this.cv("ActualUncheckedBorderColor",null)},set:function(t){var e=this.ib;e!=t&&(this.gs("ActualUncheckedBorderColor",t),this.gc("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"id",{get:function(){return this.cv("CheckedBorderColor",null)},set:function(t){var e=this.id;e!=t&&(this.gs("CheckedBorderColor",t),this.gc("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cv("ActualCheckedBorderColor",null)},set:function(t){var e=this.h9;e!=t&&(this.gs("ActualCheckedBorderColor",t),this.gc("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,null!=this.hq&&(e.b=this.hq.bn),e},n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),null!=this.hq&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hq.bn,n))},n.prototype.h5=function(){null!=this.hq&&(this.hq.bn=!1,this.gq("IsChecked",this.hq.bn))},n.prototype.b6=function(t,e){return 30},n.prototype.gx=function(){t.prototype.gx.call(this),this.hq},n.prototype.g4=function(){null!=this.r&&(this.ia=null!=this.ie?this.ie:this.r.jj,this.ib=null!=this.ig?this.ig:this.r.jk,this.h8=null!=this.ic?this.ic:this.r.i1,this.h9=null!=this.id?this.id:this.r.i2,null!=this.hq&&(this.hq.c=this.t,this.hq.br=this.ia,this.hq.bs=this.ib,this.hq.bp=this.h8,this.hq.bq=this.h9))},n.prototype.f5=function(){this.hs||(this.hq.bn=!0,this.gq("IsChecked",this.hq.bn)),this.gd(this.l(!0),this)},n.prototype.h6=function(t,e){this.hr?this.hq.bn=!0:(this.hs?this.hq.bn=this.hr:this.gq("IsChecked",this.hq.bn),this.gd(this.l(!0),this))},n.prototype.h7=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(e.b2(2,1,this.b6(this.r,r)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.bm=!0,n.f=1,n.h=1,n.bo=i.DeviceUtils.g(10),n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20),t.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)),n.c=this.t,n.bn=this.hr,n.bl=i.runOn(this,this.h6),n.br=this.ia,n.bs=this.ib,n.bp=this.h8,n.bq=this.h9,this.hq!=n&&(this.hq=n)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.h7(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.h7(o,t,s,n)}},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"IsChecked":null!=this.hq&&(this.hq.bn=this.hr);break;case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g3()}},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.hr=e.isChecked,this.hy=e.channel},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hq&&(this.hq.bl=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hq&&(this.hq.bl=null)},n.prototype.cr=function(){var t=new Le;return this.fw(t),null!=this.hq&&(t.l=this.hq.af()),t},n.$t=i.markType(n,"ToolActionRadio",ni.$),n}(ni),di=function(t){function n(){var e=t.call(this)||this;return e.hr=i.DeviceUtils.g(2),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"hs",{get:function(){return this.hr},set:function(t){var e=this.hr;this.hr=t,e!=this.hr&&this.gc("Size",e,this.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hq",{get:function(){return this.cv("IsGroupHeaderSeparator",!1)},set:function(t){var e=this.hq;e!=t&&(this.gs("IsGroupHeaderSeparator",t),this.gc("IsGroupHeaderSeparator",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 7},n.prototype.fj=function(e,i){t.prototype.fj.call(this,e,i),1==i.a||2==i.a?i.e=this.b1+this.hs+this.b2:i.d=this.b3+this.hs+this.b0},n.prototype.fp=function(t,e,n,r){t.ao=i.enumGetBox(i.ToolActionType_$type,7),null!=r&&r()},n.prototype.fl=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.g2=function(t,e,n){1==n.a||2==n.a?t.ae=this.hs:t.y=this.hs,t.bh=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),t.a8=this.g9,t.bj=this.hp},n.prototype.gx=function(){t.prototype.gx.call(this)},n.prototype.g4=function(){t.prototype.g4.call(this),null!=this.r&&(this.g9=null!=this.hh?this.hh:this.hq?this.r.i5:this.r.jd,1==this.r.u||2==this.r.u?(this.b1=i.isNaN_(this.ck)?this.r.b7:this.ck,this.b2=i.isNaN_(this.cl)?this.r.b8:this.cl,this.b3=i.isNaN_(this.cm)?this.r.b9:this.cm,this.b0=i.isNaN_(this.cj)?this.r.b6:this.cj):(null==this.h&&this.bb()?(this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(10):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(10):this.cl):(this.b1=i.isNaN_(this.ck)?this.r.cb:this.ck,this.b2=i.isNaN_(this.cl)?this.r.cc:this.cl),this.b3=i.isNaN_(this.cm)?this.r.cd:this.cm,this.b0=i.isNaN_(this.cj)?this.r.ca:this.cj))},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"Size":null!=this.r&&this.r.gx();break;case"IsGroupHeaderSeparator":this.g3()}},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.hs=e.size,this.hq=e.isGroupHeaderSeparator},n.prototype.cr=function(){var t=new Fe;return this.fw(t),t},n.$t=i.markType(n,"ToolActionSeparator",ni.$),n}(ni),bi=function(t){function n(){var e=t.call(this)||this;return e.hv=null,e.hs=null,e.hq=null,e.iw=-1,e.ix=-1,e.im=-1,e.h2=!1,e.hz=!1,e.hy=!1,e.h3=!1,e.h1=!1,e.iy=-1,e.ij=NaN,e.ie=NaN,e.il=NaN,e.ih=NaN,e.ik=NaN,e.ig=NaN,e.ii=NaN,e.id=NaN,e.ht=null,e.hu=null,e.h4=!1,e.h6=!1,e.popupOpening=null,e.hx=!1,e.h0=!1,e.hq=new i.DelayManager(0),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"h8",{get:function(){return this.h3},set:function(t){this.h3=t},enumerable:!1,configurable:!0}),n.prototype.get_aa=function(){return 3},n.prototype.get_bg=function(){return!1},Object.defineProperty(n.prototype,"hw",{get:function(){return this.hv},enumerable:!1,configurable:!0}),n.prototype.get_ic=function(){return null!=this.hs},Object.defineProperty(n.prototype,"ic",{get:function(){return this.get_ic()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i0",{get:function(){return this.iy},set:function(t){this.iy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iz",{get:function(){return i.typeGetValue(this.cv("ActualTooltipDelay",500))},set:function(t){var e=this.iz;e!=t&&(this.gs("ActualTooltipDelay",t),this.gc("ActualTooltipDelay",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ib",{get:function(){return null!=this.hv&&(this.hv.b5||this.hv.b6||this.hv.b2)},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.gc("ContentPaddingLeft",e,this.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ip",{get:function(){return this.ie},set:function(t){var e=this.ie;this.ie=t,e!=this.ie&&this.gc("ActualContentPaddingLeft",e,this.ie)},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.gc("ContentPaddingTop",e,this.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ir",{get:function(){return this.ih},set:function(t){var e=this.ih;this.ih=t,e!=this.ih&&this.gc("ActualContentPaddingTop",e,this.ih)},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.gc("ContentPaddingRight",e,this.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iq",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.gc("ActualContentPaddingRight",e,this.ig)},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.gc("ContentPaddingBottom",e,this.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"io",{get:function(){return this.id},set:function(t){var e=this.id;this.id=t,e!=this.id&&this.gc("ActualContentPaddingBottom",e,this.id)},enumerable:!1,configurable:!0}),n.prototype.fe=function(){t.prototype.fe.call(this),i.NativeUIWindow.i(15,i.runOn(this,this.jt)),i.NativeUIWindow.i(9,i.runOn(this,this.js)),this.hy=!1,this.h3=!1,null!=this.hv&&(this.hv.q=null,this.hv.s=null,this.hv.n=null,this.hv.o=null,this.hv.bu=null),null!=this.ht&&(this.ht.bm=null,this.ht.q=null,this.ht.s=null,this.ht.o=null)},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,e},n.prototype.b5=function(t,e){var n=36;4==this.v&&(n=18);var r=0;return i.isNaN_(this.ip)||(r+=this.ip),i.isNaN_(this.iq)||(r+=this.iq),i.DeviceUtils.g(n)+r},n.prototype.b7=function(t,e){return NaN},n.prototype.fp=function(t,e,i,n){null!=n&&n()},n.prototype.jx=function(t){this.bz=i.isNaN_(this.ci)?this.b8():this.ci,this.by=i.isNaN_(this.cc)?this.b8():this.cc},n.prototype.jw=function(t,e,n,r,o){var s=n.bo;this.h6=!0,o&&(e.b8(2),e.b8(1),0==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,0),this.a6?n.bp=3:n.bp=this.ak(this.v),n.bn=4,n.bu=!0,n.f=1,this.jx(s)),e.bv=1,e.bw=!1,e.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),n.b2=new i.Thickness(1,this.ip,this.ir,this.iq,this.io),s.br=this.eb,s.bq=this.d6,s.bn=this.cf,s.bo=this.cg,s.bp=this.ch,s.bm=this.ce,s.bb=this.hd,s.bk=this.a,s.bc=this.he,s.bl=this.b,s.ac=this.cd,s.ae=i.DeviceUtils.g(this.bz),s.y=i.DeviceUtils.g(this.by),n.c=this.t,n.bx=this.bf,n.b1=this.hc,n.bm=i.runOn(this,this.ji),n.q=i.runOn(this,this.jk),n.s=i.runOn(this,this.jl),n.o=i.runOn(this,this.jj),this.ht!=n&&(this.ht=n),this.hu!=s&&(this.hu=s),this.h6=!1},n.prototype.jy=function(t,e){this.hv!=e&&(null!=this.hv&&(this.hv.b6||this.hv.b5)&&this.hv.cc(),this.hv=e,this.hv.b8=this.r.ce,this.hv.bs=1,this.hv.b3=!0,this.hv.ca=100,this.hv.b1=!0,this.hv.cb=i.truncate(this.r.cf),this.hv.b4=!0,2!=t.bm&&t.bn(this.hv),this.hy||(i.NativeUIWindow.h(15,i.runOn(this,this.jt),this.r.v.r),i.NativeUIWindow.h(9,i.runOn(this,this.js),this.r.v.r),this.hy=!0),this.hx=!1),this.hv.q=i.runOn(this,this.jq),this.hv.s=i.runOn(this,this.jr),this.hv.n=i.runOn(this,this.jo),this.hv.o=i.runOn(this,this.jp),this.hv.bu=i.runOn(this,this.jn),0==this.hv.bm&&(this.h3=!1),this.actions.count>0?this.hv.u=!0:this.hv.u=!1},n.prototype.jc=function(){this.jd(this.h1,this.h2),this.h3=!0},n.prototype.jd=function(t,e){var i=this;0==this.hv.bm?(this.hs=new Me(this.r.v.z()),this.hs.t((function(){i.hv.bn(i.hs.e),t&&i.d.executeDelayed((function(){return i.ju(e)}),100)}))):this.hs=this.hv.bl(0).ao,this.hs.b=this.r.am,this.hs.y=this.r.jh,this.hs.z=this.r.ji,this.hs.p=this.e7,this.hv.ci=this.hs.y},n.prototype.jf=function(){},n.prototype.je=function(){},n.prototype.jg=function(){null!=this.hs&&(this.hv.ci=this.r.jh,this.hs.y=this.r.jh,this.hs.z=this.r.ji,this.hv.b8=this.r.ce,this.hv.cb=i.truncate(this.r.cf))},n.prototype.jz=function(){return null!=this.hs?this.hs.aa():i.Size.empty},n.prototype.jt=function(t){if(null!=this.ht){var e=this.ht.be();this.hv.ce(e)}},n.prototype.js=function(t){var e=t;!this.ib||this.hv.t(e.b)||this.ht.t(e.b)||this.jb()},n.prototype.gf=function(t,e,n){var r=this;if(!this.h4){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm)this.h4=!0,i.NativeUIComponent.av(this.r.v.z(),[10,12],[this.al(10),this.al(12)],(function(e){r.jw(o,t,e[0],n,!0),r.jy(t,e[1]),r.h4=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(0),a=t.bl(1);this.jw(o,t,s,n,!1),this.jy(t,a)}}},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.ht&&(this.ht.bp=this.ak(this.v)),null!=this.hu&&this.jx(this.hu)},n.prototype.g4=function(){switch(t.prototype.g4.call(this),null!=this.r&&(this.iz=-1!=this.i0?this.i0:this.r.cz),this.t){case 6:case 5:case 4:case 3:this.b1=i.isNaN_(this.ck)?0:this.ck,this.b2=i.isNaN_(this.cl)?0:this.cl;break;default:this.b1=i.isNaN_(this.ck)?i.DeviceUtils.g(4):this.ck,this.b2=i.isNaN_(this.cl)?i.DeviceUtils.g(4):this.cl}this.ip=i.isNaN_(this.it)?NaN:this.it,this.iq=i.isNaN_(this.iu)?NaN:this.iu,this.ir=i.isNaN_(this.iv)?NaN:this.iv,this.io=i.isNaN_(this.is)?NaN:this.is,null!=this.ht&&(this.ht.c=this.t,this.ht.b1=this.hc,null!==i.typeCast(i.NativeUIIconButton.$,this.ht)&&(this.ht.bb=this.hg,this.ht.bc=this.hg)),null!=this.hu&&(this.hu.bb=this.hd,this.hu.bc=this.he,this.hu.bk=this.a,this.hu.bl=this.b),this.jg()},n.prototype.ga=function(){this.h6||null!=this.hu&&(this.hu.br=this.eb,this.hu.bq=this.d6,this.hu.ae=i.DeviceUtils.g(this.bz),this.hu.y=i.DeviceUtils.g(this.by))},n.prototype.gh=function(){this.actions.count>0&&(null!=this.hv&&this.ic?(this.ju(),this.h2=!0):this.h1=!0)},n.prototype.ff=function(){this.actions.count>0&&(null!=this.hv&&this.ic?this.jb():this.h1=!1)},n.prototype.get_ba=function(){return this.ib||this.h7},Object.defineProperty(n.prototype,"h7",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].ba)return!0;return!1},enumerable:!1,configurable:!0}),n.prototype.ju=function(t){if(void 0===t&&(t=!1),!this.h3)return this.h1=!0,this.h2=t,void this.jc();if(!this.ib){if(this.r.f6(),0==this.actions.count&&i.stringIsNullOrEmpty(this.e7))return;if(null!=this.popupOpening){var e=new wi;if(e.a=this,this.popupOpening(this,e),e.b)return}null!=this.r&&this.r.go();var n=this.ht.be(),r=new i.Rect(0,n.left,n.top,n.width,n.height);if(r.top=n.top+window.scrollY,r.left=n.left+window.scrollX,1==this.r.u||2==this.r.u){var o=i.NativeUIWindow.d(this.r.v.r),s=this.jz();s.height+=this.hv.b9,n.bottom+s.height>o?n.top-s.height<0?this.hv.cf(r,1,3):this.hv.cf(r,2,3):this.hv.cf(r,1,3)}else{var a=i.NativeUIWindow.f(this.r.v.r),h=this.jz();h.width+=this.hv.b9,n.right+h.width>a?n.left-h.width<0?this.hv.cf(r,4,3):this.hv.cf(r,3,3):this.hv.cf(r,4,3)}this.jf()}this.h2=t,this.h1=!1},n.prototype.jv=function(){this.ib&&(this.h2=!0)},n.prototype.jb=function(){var t=this;this.ib&&(this.hx||(this.hq.f((function(){t.hv.cc(),t.h2=!1,t.hx=!1}),100),this.hx=!0))},n.prototype.jm=function(){this.ju(),this.ix=-1,this.im=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()))},n.prototype.jh=function(){this.jb(),this.iw=-1},n.prototype.h5=function(){return this.r.a7&&!i.stringIsNullOrEmpty(this.e7)},n.prototype.jk=function(t,e){if(this.hz=!0,-1!=this.iw&&(this.hq.g(this.iw),this.iw=-1),!this.ib){if(!this.h5())return;this.ix=this.hq.f(i.runOn(this,this.jm),this.iz)}},n.prototype.jl=function(t,e){-1!=this.ix&&(this.hq.g(this.ix),this.ix=-1),this.ib&&!this.h2&&(this.iw=this.hq.f(i.runOn(this,this.jh),50)),this.im=-1,this.hz=!1},n.prototype.ji=function(t,e){if(this.actions.count>0)if(this.ib)if(this.h2||-1==this.im)this.jb();else{var n=i.timeSpanTotalMilliseconds(i.dateGetTimeOfDay(i.dateNow()));this.h9(n-this.im)&&this.jb()}else-1!=this.ix&&(this.hq.g(this.ix),this.ix=-1),this.ju(!0);else this.ib&&this.aw&&this.jb(),this.gd(this.l(!0),this)},n.prototype.h9=function(t){return!0},n.prototype.jq=function(t,e){this.h0=!0,-1!=this.iw&&(this.hq.g(this.iw),this.iw=-1)},n.prototype.jr=function(t,e){this.h2||(this.iw=this.hq.f(i.runOn(this,this.jh),50)),this.h0=!1},n.prototype.jo=function(t,e){this.h2=!0},n.prototype.jp=function(t,e){null==e.b&&this.ia(e)||this.hv.t(e.b)||this.ht.t(e.b)||this.jb()},n.prototype.ia=function(t){if(null!=t.a){var e=t.a;if(void 0!==e.disabled&&1==e.disabled)return!0}return!1},n.prototype.jn=function(t,e){null!=this.r&&this.r.gn(),this.je()},n.prototype.jj=function(t,e){if(this.ib){if(null==e.b&&this.ia(e))return;this.hv.t(e.b)||this.ht.t(e.b)||this.jb()}},n.prototype.gk=function(e,n,r){switch(t.prototype.gk.call(this,e,n,r),e){case"ExecutionContext":this.hq.b=this.d;break;case"Title":null!=this.hs&&(this.hs.p=this.e7);break;case"ActualIconFill":case"ActualIconStroke":case"IconFillColors":case"IconStrokeColors":null!=this.hu&&(this.hu.bb=this.hd,this.hu.bc=this.he,this.hu.bk=this.a,this.hu.bl=this.b);break;case"TooltipDelay":this.iz=-1!=this.i0?this.i0:this.r.cz;break;case"ActualIconWidth":case"ActualIconHeight":null!=this.hu&&(this.hu.ae=i.DeviceUtils.g(this.bz),this.hu.y=i.DeviceUtils.g(this.by));break;case"StopPropagation":null!=this.ht&&(this.ht.bx=this.bf)}},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.i0=e.tooltipDelay,e.isMenuOpenOnStart&&this.gh()},n.prototype.cr=function(){var t=new re;return t.i=this.c0,t.j=this.en,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.aq.an)),null!=this.ht&&(t.h=this.ht.af()),null!=this.hu&&(t.c=this.hu.af()),t},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hv&&(this.hv.q=null,this.hv.s=null,this.hv.n=null,this.hv.o=null,this.hv.bu=null),null!=this.ht&&(this.ht.bm=null,this.ht.q=null,this.ht.s=null,this.ht.o=null),this.h3=!1},n.$t=i.markType(n,"ToolActionIconButton",ni.$),n}(ni),gi=function(t){function n(){var e,r=t.call(this)||this;return r.hr=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Bold",e.r="Normal",e),r.hs=null,r.hq=null,r.ht=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.hv),r}return e.__extends(n,t),n.prototype.get_aa=function(){return 1},n.prototype.get_a3=function(){return!1},n.prototype.get_a4=function(){return!1},n.prototype.get_bd=function(){return!1},Object.defineProperty(n.prototype,"h1",{get:function(){return this.cv("ActualBackIconColor",null)},set:function(t){var e=this.h1;e!=t&&(this.gs("ActualBackIconColor",t),this.gc("ActualBackIconColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h2",{get:function(){return this.cv("BackIconColor",null)},set:function(t){var e=this.h2;e!=t&&(this.gs("BackIconColor",t),this.gc("BackIconColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.af=function(t){return this.hr},n.prototype.b4=function(t,e){return this.be()?i.DeviceUtils.g(36):NaN},n.prototype.b6=function(e,n){if(this.actions.count>0){if(null!=this.hq){var r=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY);return this.hq.bf(r).width}return 0}return t.prototype.b6.call(this,e,n)},n.prototype.hz=function(t,e,n,r){var o=n.bo;if(!(null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||null!=e.ao&&2!=i.typeGetValue(e.ao))){var s=!1;null==e.ao?e.ao=1:(s=!0,e.ao=3),e.bo(2,n);var a=null;s&&(a=e.bl(3)),e.b6(0,1,this.b4(this.r,r)),e.ca(e.bl(0),1),e.ca(e.bl(1),2),s&&e.ca(a,3),e.ca(n,0),e.cc(n,0),n.h=1,n.f=1,n.bh=new i.Thickness(1,-9,0,9,0),n.bp=this.ak(this.v),o.br="ToolbarBackButton",o.bq="IG_Default",o.ae=i.DeviceUtils.g(24),o.y=i.DeviceUtils.g(24)}o.bc=this.h1,n.c=this.t,n.bx=this.bf,n.bm=i.runOn(this,this.hx),this.hs=n},n.prototype.h0=function(t,e,n,r){if((null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa||null==e.ao||i.typeGetValue(e.ao)<2)&&(null==e.ao||1==i.typeGetValue(e.ao))){var o=!1;null==e.ao?e.ao=2:(o=!0,e.ao=3),e.bn(n),o?(e.b6(3,1,this.b6(this.r,r)),e.ca(n,3),e.cc(n,0)):(e.b6(2,1,this.b6(this.r,r)),e.ca(n,2),e.cc(n,0)),n.bu=this.r.p,n.bv=1,n.h=1,n.f=2}n.c=this.t,n.b8=this.g9,n.cl=this.hg,n.cf=this.hg,n.cg=this.hg,n.bs=i.runOn(this,this.hy),n.b6(this.ak(this.v)),this.hq=n,this.hq.bt!=this.actions&&(this.hq.bt=this.actions,this.be()?e.cd(3,1,this.b6(this.r,r)):e.cd(2,1,this.b6(this.r,r)))},n.prototype.hy=function(t,e){this.go(e.a,e.b)},n.prototype.hx=function(t,e){this.r.gz(this)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)this.be()&&i.NativeUIComponent.at(this.r.v.z(),10,this.bi()?2:0,(function(e){return r.hz(o,t,e,n)})),this.actions.count>0&&i.NativeUIComponent.at(this.r.v.z(),13,2,(function(e){return r.h0(o,t,e,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{if(this.be()){var s=t.bl(2);this.hz(o,t,s,n)}if(this.actions.count>0){var a=3;2==i.typeGetValue(t.ao)&&(a=2);var h=t.bl(a);this.h0(o,t,h,n)}}},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.hs&&(this.hs.bp=this.ak(this.v))},n.prototype.g4=function(){var e;t.prototype.g4.call(this),null!=this.hs&&(this.hs.c=this.t),null!=this.r&&(this.g9=null!=this.hh?this.hh:this.r.i4,this.hg=null!=this.ho?this.ho:this.r.i7,this.hf=null!=this.hn?this.hn:this.r.i6),null!=this.hq&&(this.hq.c=this.t,this.hq.cl=this.r.j3,this.hq.b8=this.g9),this.h1=null!=this.h2?this.h2:this.hg,e=null!=this.ah?this.ah.a():null!=this.r&&null!=this.r.an?this.r.an.a():this.hr,this.ae=e},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"StopPropagation":null!=this.hs&&(this.hs.bx=this.bf)}},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hs&&(this.hs.bm=null),null!=this.hq&&(this.hq.bs=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hs&&(this.hs.bm=null),null!=this.hq&&(this.hq.bs=null)},n.prototype.cr=function(){var t=new He;return this.fw(t),null!=this.hs&&(t.l=this.hs.af()),t},n.$t=i.markType(n,"ToolActionGroupHeader",ni.$),n.hv='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M11.0936 18.0748L5.04492 11.9739L11.0936 5.9252" stroke-linecap="round" stroke-linejoin="round"/><path d="M5.65907 12H18.4091" stroke-linecap="round" stroke-linejoin="round"/></svg>',n}(ni),yi=function(t){function n(){var e=t.call(this)||this;return e.j8=i.DeviceUtils.g(24),e.j7=i.DeviceUtils.g(15),e.j6=0,e.j0=null,e.j3=!1,e.j2=null,e.j4=!1,e.j1=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow",n.ka),e.j6=e.j8-e.j7,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 8},Object.defineProperty(n.prototype,"kh",{get:function(){return this.cv("ArrowStroke",null)},set:function(t){var e=this.kh;e!=t&&(this.gs("ArrowStroke",t),this.gc("ArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"kg",{get:function(){return this.cv("ActualArrowStroke",null)},set:function(t){var e=this.kg;e!=t&&(this.gs("ActualArrowStroke",t),this.gc("ActualArrowStroke",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j5",{get:function(){return this.cv("ShowArrowIcon",!0)},set:function(t){var e=this.j5;e!=t&&(this.gs("ShowArrowIcon",t),this.gc("ShowArrowIcon",e,t))},enumerable:!1,configurable:!0}),n.prototype.get_ic=function(){return null!=this.j0},n.prototype.jd=function(t,e){var n=this;if(this.j3=!1,this.hw.bm>0)for(;this.hw.bm>0;)this.hw.bq(0);null!=this.j0&&(this.j0.t=null),this.j0=new ki(this.r.v.z(),this.d),this.j0.o=this.t,this.j0.al((function(){n.j0.s.a7=new i.CornerRadius(0,8),n.j0.s.a8=n.r.je,n.hw.bn(n.j0.s),n.j0.ag(n,(function(r){null!=n.en&&(r.ap=n.en+"SubPanel"),n.j0.am(r),n.actions.count>0&&null!=n.actions._inner[0].g9&&!i.BrushUtilCore.a(n.actions._inner[0].g9)?n.hw.ci=n.actions._inner[0].g9:n.hw.ci=n.r.je,t&&(n.j0.ak(),n.hw.cd(),n.d.executeDelayed((function(){return n.ju(e)}),100))}))})),this.j0.t=i.runOn(this,this.kd)},n.prototype.f2=function(){t.prototype.f2.call(this),this.h8?this.jf():this.j3=!0},n.prototype.jf=function(){null!=this.j0&&this.j0.ap()},n.prototype.je=function(){null!=this.j0&&(this.j0.az(),this.hw.cd())},n.prototype.jg=function(){null!=this.j0&&(this.j0.a0(this.t,this.r),this.actions.count>0&&null!=this.actions._inner[0].g9&&!i.BrushUtilCore.a(this.actions._inner[0].g9)?this.hw.ci=this.actions._inner[0].g9:this.hw.ci=this.r.je,this.hw.b8=8,this.hw.cb=4)},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.ht&&(this.ht.bp=this.ak(this.v)),null!=this.hu&&this.jx(this.hu)},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.j5=e.showArrowIcon},n.prototype.g4=function(){t.prototype.g4.call(this),null!=this.r&&(this.kg=null!=this.kh?this.kh:this.r.jc);var e=this.j5?i.DeviceUtils.g(8):0,n=this.j5?i.DeviceUtils.g(4):0,r=this.j5?i.DeviceUtils.g(5):0,o=this.j5?i.DeviceUtils.g(5):0;switch(this.t){case 6:case 5:case 4:case 3:this.ip=i.isNaN_(this.it)?e:this.it,this.iq=i.isNaN_(this.iu)?n:this.iu,this.ir=i.isNaN_(this.iv)?r:this.iv,this.io=i.isNaN_(this.is)?o:this.is;break;default:this.ip=i.isNaN_(this.it)?0:this.it,this.iq=i.isNaN_(this.iu)?0:this.iu,this.ir=i.isNaN_(this.iv)?0:this.iv,this.io=i.isNaN_(this.is)?0:this.is}null!=this.j2&&(this.j2.bc=this.kg),null!=this.j1&&this.j1.cd(0,1,this.bz)},n.prototype.jz=function(){return!this.h8&&this.j3&&this.jc(),this.j0.a5()},n.prototype.ju=function(e){void 0===e&&(e=!1),null!=this.j0&&this.j0.az(),t.prototype.ju.call(this,e)},n.prototype.b5=function(e,n){if(!this.j5)return t.prototype.b5.call(this,e,n);var r=0;return i.isNaN_(this.ip)||(r+=this.ip),i.isNaN_(this.iq)||(r+=this.iq),Math.max(i.DeviceUtils.g(36),this.bz+this.j6+r)},n.prototype.kf=function(t,e,n,r,o,s,a){this.h6=!0,a&&(t.b8(2),t.b8(1),0==t.bm&&(n.b2(0,1,i.DeviceUtils.g(this.bz)),n.b2(1,1,this.j6),n.bn(r),n.bn(o),n.ca(r,0),n.ca(o,1),this.j1=n,e.bo=n,t.bn(e)),t.cc(e,0),t.ca(e,0),this.a6?e.bp=3:e.bp=this.ak(this.v),n.bi=new i.Thickness(1,this.ip,this.ir,this.iq,this.io),e.bn=4,e.bu=!0,e.f=1,e.b0=new i.CornerRadius(0,18),this.jx(r),r.h=1,o.ae=this.j8,o.y=this.j8,o.h=1,o.bh=new i.Thickness(1,-this.j7,0,0,0),o.br="igDropDownArrow",o.bq="IG_Default",o.bb=i.BrushUtil.l(0,0,0,0),o.ac=i.DeviceUtils.g(1)),t.bw=!1,t.bi=new i.Thickness(1,this.b1,this.b3,this.b2,this.b0),r.br=this.eb,r.bq=this.d6,r.bn=this.cf,r.bo=this.cg,r.bp=this.ch,r.bm=this.ce,r.bb=this.hd,r.bk=this.a,r.bc=this.he,r.bl=this.b,r.ac=this.cd,r.ae=this.bz,r.y=this.by,o.bc=this.kg,e.c=this.t,e.bx=this.bf,e.b1=this.hc;var h=this.bz+this.ip+this.iq;this.j5&&(h=h+this.j8-this.j7),e.by=h,e.bm=i.runOn(this,this.ji),e.q=i.runOn(this,this.jk),e.s=i.runOn(this,this.jl),e.o=i.runOn(this,this.jj),this.ht!=e&&(this.ht=e),this.hu!=r&&(this.hu=r),this.j2!=o&&(this.j2=o),this.ke(),this.h6=!1},n.prototype.gf=function(t,e,n){var r=this;if(!this.j4){var o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa||0==t.bm){var s=[this.al(1),this.al(7),this.al(11),this.al(11),this.al(12)];this.j4=!0,i.NativeUIComponent.av(this.r.v.z(),[1,7,11,11,12],s,(function(e){r.kf(t,e[0],e[1],e[2],e[3],n,!0),r.jy(t,e[4]),r.j4=!1})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa)}else{var a=t.bl(0),h=a.bo,u=h.bl(0),l=h.bl(1),c=t.bl(1);this.kf(t,a,h,u,l,n,!1),this.jy(t,c)}}},n.prototype.kd=function(t){this.go(t.a,t.b),t.b&&this.ff()},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"ShowArrowIcon":this.ke(),null!=this.r&&(this.r.ge(this),this.r.gx());break;case"StopPropagation":null!=this.ht&&(this.ht.bx=this.bf)}},n.prototype.ke=function(){if(null!=this.ht&&null!=this.hu&&null!=this.j2)if(this.j5){var t=this.ht.bo;2==t.bx?(t.cd(0,1,i.DeviceUtils.g(this.bz)),t.cd(1,1,this.j6)):(t.b2(0,1,i.DeviceUtils.g(this.bz)),t.b2(1,1,this.j6)),t.ca(this.hu,0),t.ca(this.j2,1),this.j2.bj=0}else{this.ht.bo.cd(1,1,i.DeviceUtils.g(0)),this.j2.bj=1}this.g4()},n.prototype.fd=function(e,i){switch(t.prototype.fd.call(this,e,i),i){case"Visibility":null!=this.j0&&this.j0.ay()}},n.prototype.gi=function(e){if(t.prototype.gi.call(this,e),8==e.aa){var i=e;this.j5!=i.j5&&(this.j5=i.j5),this.kh!=i.kh&&(this.kh=i.kh)}},n.prototype.e=function(){return this.hw.b6?this.j0.k().a:null},n.prototype.cr=function(){var t=new Ge;return t.i=this.c0,t.j=this.en,t.g=this.aa,t.a=i.AppearanceHelper.a(i.NativeUI.aj(this.aq.an)),null!=this.ht&&(t.h=this.ht.af()),null!=this.hu&&(t.c=this.hu.af()),null!=this.j2&&(t.l=this.j2.af()),t},n.prototype.h5=function(){return this.r.a6&&this.actions.count>0},n.prototype.h9=function(t){return!(this.r.c0<0||t<this.r.c0)||(this.jv(),!1)},n.$t=i.markType(n,"ToolActionIconMenu",bi.$),n.ka='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\r\n<path d="M20 11.1205L16.2166 14.8795L12.4575 11.1205" stroke-linecap="round" stroke-linejoin="round"/>\r\n</svg>\r\n',n}(bi),mi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hq=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 2},n.prototype.get_av=function(){return!1},Object.defineProperty(n.prototype,"hr",{get:function(){return this.cv("IsChecked",!1)},set:function(t){var e=this.hr;e!=t&&(this.gs("IsChecked",t),this.gc("IsChecked",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h9",{get:function(){return this.cv("UncheckedBackgroundColor",null)},set:function(t){var e=this.h9;e!=t&&(this.gs("UncheckedBackgroundColor",t),this.gc("UncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h5",{get:function(){return this.cv("ActualUncheckedBackgroundColor",null)},set:function(t){var e=this.h5;e!=t&&(this.gs("ActualUncheckedBackgroundColor",t),this.gc("ActualUncheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h7",{get:function(){return this.cv("CheckedBackgroundColor",null)},set:function(t){var e=this.h7;e!=t&&(this.gs("CheckedBackgroundColor",t),this.gc("CheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h3",{get:function(){return this.cv("ActualCheckedBackgroundColor",null)},set:function(t){var e=this.h3;e!=t&&(this.gs("ActualCheckedBackgroundColor",t),this.gc("ActualCheckedBackgroundColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ia",{get:function(){return this.cv("UncheckedBorderColor",null)},set:function(t){var e=this.ia;e!=t&&(this.gs("UncheckedBorderColor",t),this.gc("UncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h6",{get:function(){return this.cv("ActualUncheckedBorderColor",null)},set:function(t){var e=this.h6;e!=t&&(this.gs("ActualUncheckedBorderColor",t),this.gc("ActualUncheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h8",{get:function(){return this.cv("CheckedBorderColor",null)},set:function(t){var e=this.h8;e!=t&&(this.gs("CheckedBorderColor",t),this.gc("CheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h4",{get:function(){return this.cv("ActualCheckedBorderColor",null)},set:function(t){var e=this.h4;e!=t&&(this.gs("ActualCheckedBorderColor",t),this.gc("ActualCheckedBorderColor",e,t))},enumerable:!1,configurable:!0}),n.prototype.gi=function(e){if(t.prototype.gi.call(this,e),2==e.aa){var i=e;null!=this.h8&&(this.h8=i.h8),null!=this.h7&&(this.h7=i.h7),null!=this.ia&&(this.ia=i.ia),null!=this.h9&&(this.h9=i.h9),this.hr!=i.hr&&(this.hr=i.hr)}},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,null!=this.hq&&(e.b=this.hq.bn),e},n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),null!=this.hq&&e.add(((n=new i.ToolCommandArgument).argumentName="IsChecked",n.value=r.hq.bn,n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(32)},n.prototype.f5=function(){this.hq.bn=!this.hq.bn,this.gq("IsChecked",this.hq.bn),this.gd(this.l(!0),this)},n.prototype.h2=function(t,e,n,r){null!=t.ao&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)==this.aa||(e.b2(2,1,this.b6(this.r,r)),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.bm=!0,n.f=1,n.h=1,n.ae=i.DeviceUtils.g(20),n.y=i.DeviceUtils.g(20)),n.c=this.t,n.bn=this.hr,n.bl=i.runOn(this,this.h1),n.br=this.h5,n.bs=this.h6,n.bp=this.h3,n.bq=this.h4,this.hq=n},n.prototype.h1=function(t,e){this.gq("IsChecked",this.hq.bn),this.gd(this.l(!0),this)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),6,this.al(6),(function(e){var i=e;r.h2(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.h2(o,t,s,n)}},n.prototype.gx=function(){t.prototype.gx.call(this),this.hq},n.prototype.g4=function(){null!=this.r&&(this.h5=null!=this.h9?this.h9:this.r.jj,this.h6=null!=this.ia?this.ia:this.r.jk,this.h3=null!=this.h7?this.h7:this.r.i1,this.h4=null!=this.h8?this.h8:this.r.i2,null!=this.hq&&(this.hq.c=this.t,this.hq.br=this.h5,this.hq.bs=this.h6,this.hq.bp=this.h3,this.hq.bq=this.h4))},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"UncheckedBackgroundColor":case"UncheckedBorderColor":case"CheckedBackgroundColor":case"CheckedBorderColor":this.g3()}},n.prototype.gb=function(e,i){if(t.prototype.gb.call(this,e,i),null!=this.z){var n=this.z;n.isChecked&&(this.hr=n.isChecked)}},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hq&&(this.hq.bl=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hq&&(this.hq.bl=null)},n.prototype.cr=function(){var t=new We;return this.fw(t),null!=this.hq&&(t.l=this.hq.af()),t},n.$t=i.markType(n,"ToolActionCheckbox",ni.$),n}(ni),vi=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.hq=null,e}return e.__extends(n,t),n.prototype.get_aa=function(){return 5},Object.defineProperty(n.prototype,"hs",{get:function(){return this.cv("Value",0)},set:function(t){var e=this.hs;e!=t&&(this.gs("Value",t),this.gc("Value",e,t))},enumerable:!1,configurable:!0}),n.prototype.fv=function(e){var n,r=this;t.prototype.fv.call(this,e),null!=this.hq&&e.add(((n=new i.ToolCommandArgument).argumentName="Value",n.value=r.hr(),n))},n.prototype.b6=function(t,e){return i.DeviceUtils.g(150)},n.prototype.hr=function(){var t,e,n=this;return t=NaN,i.stringIsNullOrEmpty(this.hq.b7)?NaN:(null!=this.hq&&(e=i.tryParseNumber(n.hq.b7,t),t=e.p1,e.ret),t)},n.prototype.l=function(t){var e=new ge;return e.g=this.c0,e.a=this.aa,e.c=t,e.e=this.hr(),e},n.prototype.hu=function(t,e){this.hs=this.hr();var i=this.l(!0);this.gd(i,this)},n.prototype.hv=function(t,e,n,r){if(null==t.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.ao)!=this.aa){var o=this.b6(this.r,r);e.b2(2,1,o),2==e.bm&&e.bn(n),e.cc(n,0),e.ca(n,2),n.ae=o,n.bp=3,n.bu=1,n.f=2,n.h=1,n.bv=1,n.bo=2,n.b2=!1}n.c=this.t,n.ce=this.a8?this.ha:this.hg,n.bk=this.ae,n.b0=this.a8,n.bs=i.runOn(this,this.hu),i.isNaN_(this.hs)?n.b7="":n.b7=this.hs.toString(),this.hq!=n&&(this.hq=n)},n.prototype.gf=function(t,e,n){var r=this,o=e.b;if(null==o.bs||null==o.ao||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.ao)!=this.aa)i.NativeUIComponent.at(this.r.v.z(),2,this.al(2),(function(e){var i=e;r.hv(o,t,i,n)})),o.ao=i.enumGetBox(i.ToolActionType_$type,this.aa);else{var s=t.bl(2);this.hv(o,t,s,n)}},n.prototype.gx=function(){t.prototype.gx.call(this),null!=this.hq&&(this.hq.bp=this.ak(this.v))},n.prototype.g4=function(){null!=this.hq&&(this.hq.c=this.t)},n.prototype.gk=function(e,i,n){switch(t.prototype.gk.call(this,e,i,n),e){case"IsDisabled":null!=this.hq&&(this.hq.b0=this.a8,this.hq.ce=this.a8?this.ha:this.hg)}},n.prototype.f5=function(){null==this.hq||this.a8||this.hq.az()},n.prototype.ft=function(){t.prototype.ft.call(this);var e=this.z;this.hs=e.value},n.prototype.fe=function(){t.prototype.fe.call(this),null!=this.hq&&(this.hq.bs=null)},n.prototype.fo=function(){t.prototype.fo.call(this),null!=this.hq&&(this.hq.bs=null)},n.prototype.cr=function(){var t=new Ke;return this.fw(t),null!=this.hq&&(t.l=this.hq.af()),t},n.$t=i.markType(n,"ToolActionNumberInput",ni.$),n}(ni),_i=function(t){function n(){var e=t.call(this,ni.$,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(ni.$)),n}(i.ObservableCollection$1),Ci=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 _i,e.e=new _i,e.f=new _i,e.k=r.l,e.ab=null,e.bz=r.b0,e.e7=null,e.fk=null,e.fb=null,e.fj=null,e.ff=null,e.fm=null,e.fa=null,e.fd=null,e.fo=null,e.fn=null,e.bb=NaN,e.bc=NaN,e.fg=null,e.fh=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.fe=null,e.e6=null,e.fi=null,e.fp=null,e.e8=null,e.fq=null,e.e9=null,e.bt=-1,e.fl=null,e.fc=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.dw));var s=e.actualActions;s.collectionChanged=i.delegateCombine(s.collectionChanged,i.runOn(e,e.dy));var a=e.actualActions;a.collectionResetting=i.delegateCombine(a.collectionResetting,i.runOn(e,e.dz)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.m();var h=new Ze;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.d4=function(t){this.s=t,this.s.da=this,this.s.z=0==this.w?1:this.w;var e=this.s;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.dv)),this.s.p=this.t,this.e2(),this.eg()},r.prototype.dv=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.ed=function(t){null!=this.onCommand&&(this.onCommand(this,this.q),this.q=null)},r.prototype.eb=function(){var t=this.target;this.ec(t,t)},r.prototype.d7=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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("Orientation",i.enumGetBox(fe,e),i.enumGetBox(fe,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.bz},set:function(t){var e=this.bz;this.bz=t,e!=this.bz&&this.d8("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fs",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d8("BackgroundColor",e,t)},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.d8("SubmenuBackgroundColor",e,this.fk)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fx",{get:function(){return this.fb},set:function(t){var e=this.fb;this.fb=t,e!=this.fb&&this.d8("GroupHeaderBackgroundColorPropertyName",e,this.fb)},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.d8("SeparatorBackgroundColor",e,this.fj)},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.d8("HoverBackgroundColor",e,this.ff)},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.d8("TextColor",e,this.fm)},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.d8("DisabledTextColor",e,this.fa)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fz",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.d8("GroupHeaderTextColor",e,this.fd)},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.d8("ToolTipTextColor",e,this.fo)},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.d8("ToolTipBackgroundColor",e,this.fn)},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.d8("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.d8("ToolTipElevation",e,this.bc)},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.d8("IconFill",e,this.fg)},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.d8("IconStroke",e,this.fh)},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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("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.d8("ShowTooltipOnHover",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bu",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.d8("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.d8("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.d8("HighlightRadius",e,this.a1)},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.d8("HighlightColor",e,this.fe)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fr",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.d8("AccentColor",e,this.e6)},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.d8("MenuArrowStroke",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.d8("UncheckedBackgroundColor",e,this.fp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ft",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.d8("CheckedBackgroundColor",e,this.e8)},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.d8("UncheckedBorderColor",e,this.fq)},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.d8("CheckedBorderColor",e,this.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"by",{get:function(){return null!=this.s?this.s.c4:-1},set:function(t){this.bt=t,null!=this.s&&(this.s.c4=this.bt)},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.d8("SubtitleTextColor",e,this.fl)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fy",{get:function(){return this.fc},set:function(t){var e=this.fc;this.fc=t,e!=this.fc&&this.d8("GroupHeaderSubtitleTextColor",e,this.fc)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bv",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.d8("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.d8("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.d8("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.dw=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.dx))}}}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.dx))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.d6()},r.prototype.dy=function(t,e){this.e5()},r.prototype.dz=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.dx))}this.actualActions._inner[n].d=null}},r.prototype.e5=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.e4=function(){null!=this.s&&this.s.hl(this.z);for(var t=0;t<this.actualActions.count;t++)this.actualActions._inner[t].gz(this.z)},r.prototype.dx=function(t,e){},r.prototype.d6=function(){this.eg()},r.prototype.eg=function(){this.an||(null!=this.d?(this.an=!0,this.d.enqueueAction(i.runOn(this,this.d2))):this.ao=!0)},r.prototype.d2=function(){this.an&&(this.an=!1,this.eh(),null!=this.s&&this.s.actions!=this.actualActions&&(this.s.actions=this.actualActions))},r.prototype.eh=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.ep)?(i.stringIsNullOrEmpty(c.dp)?i.stringIsNullOrEmpty(c.dl)||(null!=c.h&&c.h.actions.remove(c),function(){var e=t.as(c.dl,t.actualActions,n,a);return n=e.p2,a=e.p3,e.ret}()&&(r=c.dl,o=!1,s=!0,h=0)):(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=!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.ep,t.actualActions,n,a),n=u.p2,a=u.p3,u.ret&&n._inner[a].gi(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.en&&a.en==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.du){if(null!=a.en&&a.en==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=a.du&&a.du==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.d3=function(){this.an&&this.d2(),null!=this.s&&this.s.gb()},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.d8=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ee(t,e,n)},r.prototype.ee=function(t,e,i){switch(t){case"CellTextStyle":null!=this.af&&null!=this.p.l&&this.af.w(this.p.l),this.e2();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":this.e2();break;case"Target":var n=i,r=e;this.ec(r,n);break;case"BaseTheme":this.e5();break;case"Density":this.e4();break;case"ExecutionContext":null!=this.d&&this.ao&&(this.eg(),this.ao=!1)}},r.prototype.e2=function(){null!=this.s&&(this.s.a6=this.aw,this.s.a7=this.ax,this.s.jl=this.fs,this.s.j3=this.f8,this.s.jo=this.fv,this.s.j1=this.f6,this.s.jr=this.fx,this.s.ju=this.fz,this.s.j0=this.f5,this.s.jw=this.f1,this.s.u=this.m,this.s.j5=this.ga,this.s.j4=this.f9,this.s.ct=this.bp,this.s.cu=this.bq,this.s.jx=this.f2,this.s.jy=this.f3,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.jv=this.f0,this.s.ci=this.bf,this.s.cj=this.bg,this.s.jz=this.f4,this.s.j6=this.gb,this.s.j7=this.gc,this.s.jm=this.ft,this.s.jn=this.fu,this.s.j2=this.f7,this.s.jt=this.fy,this.s.iy=this.fr,this.s.c1=this.bv,this.s.c0=this.bu,this.s.a8=this.ay,this.s.x=this.v,-1!=this.bt&&(this.s.c4=this.bt))},r.prototype.av=function(){return null!=this.s&&this.s.a5},r.prototype.ge=function(){return null!=this.s?this.s.ka():i.Size.empty},r.prototype.ec=function(t,e){this.d0(),this.ab=e,null!=t&&(t.commandCompleted=null,t.dismissContextAccessor(this.aa),null==e&&this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.eg()),null!=e&&(e.commandCompleted=i.runOn(this,this.ed),e.invalidateActions=i.runOn(this,this.eb),this.aa=new ji(this,!1),e.provideContextAccessor(this.aa),this.e3(),e.addCommandStateChangedListener(this),this.eg())},r.prototype.e3=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];ni.ax(r,o)||(this.autoGeneratedActions._inner[n]=ni.f(t[n])),n++}if(n<i)for(var s=n;s<i;s++)this.autoGeneratedActions.add(ni.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.d8("ExecutionContext",e,this.c)},enumerable:!1,configurable:!0}),r.prototype.d0=function(){null!=this.s&&this.s.f6()},r.prototype.ea=function(){null!=this.subMenuOpening&&this.subMenuOpening(this,new he)},r.prototype.d9=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.hr=n;break;case 5:a.hs=n;break;case 6:a.hr=n}break;case 0:a.hp=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:a.a8=n}}},r.prototype.ei=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.eb==e&&(n.eb=null,n.eb=e),null!=n.actions&&n.actions.count>0&&this.ei(n.actions,e)}},r.prototype.ek=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.ei(this.actualActions,e)},r.prototype.cr=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.prototype.em=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathsString(t,e,n),this.ei(this.actualActions,e)},r.prototype.a=function(t,e){return i.SvgIconRegistry.instance.getSvgPathsString(t,e)},r.prototype.ej=function(t,e,n){i.SvgIconRegistry.instance.addDataURLString(t,e,n),this.ei(this.actualActions,e)},r.prototype.cq=function(t,e){return i.SvgIconRegistry.instance.getDataURLString(t,e)},r.prototype.el=function(t,e,n){i.SvgIconRegistry.instance.addIconSource(t,e,n),this.ei(this.actualActions,e)},r.prototype.b8=function(t,e){return i.SvgIconRegistry.instance.getIconSource(t,e)},r.prototype.ep=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g6(this.t,t,e)},r.prototype.fw=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.jq(this.t,t)},r.prototype.ev=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.j(e),Pi.g6(this.t,t,e))},r.prototype.b5=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Pi.jq(this.t,t);return i.PlatformAPIHelper.b(e)},r.prototype.eo=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g4(this.t,t,e)},r.prototype.b=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.b(this.t,t)},r.prototype.eu=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.i(e),Pi.g4(this.t,t,e))},r.prototype.b4=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Pi.b(this.t,t);return i.PlatformAPIHelper.a(e)},r.prototype.et=function(t,e){i.stringIsNullOrEmpty(t)||Pi.he(this.t,t,e)},r.prototype.bd=function(t){return i.stringIsNullOrEmpty(t)?NaN:Pi.ch(this.t,t)},r.prototype.e0=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hg(this.t,t,e)},r.prototype.be=function(t){return i.stringIsNullOrEmpty(t)?NaN:Pi.ch(this.t,t)},r.prototype.ey=function(t,e){i.stringIsNullOrEmpty(t)||Pi.he(this.t,t,e)},r.prototype.bx=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Pi.c3(this.t,t)},r.prototype.ez=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hg(this.t,t,i.typeGetValue(e))},r.prototype.bw=function(t){return i.stringIsNullOrEmpty(t)?-2147483648:Pi.c3(this.t,t)},r.prototype.e1=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hi(this.t,t,e)},r.prototype.cs=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.eu(this.t,t)},r.prototype.en=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g2(this.t,t,e)},r.prototype.au=function(t){return!i.stringIsNullOrEmpty(t)&&Pi.a3(this.t,t)},r.prototype.eq=function(t,e){i.stringIsNullOrEmpty(t)||Pi.g8(this.t,t,e)},r.prototype.gd=function(t){return i.stringIsNullOrEmpty(t)?i.Color.u(0,0,0,0):Pi.j9(this.t,t)},r.prototype.ew=function(t,e){i.stringIsNullOrEmpty(t)||(e=i.PlatformAPIHelper.k(e),Pi.g8(this.t,t,e))},r.prototype.b6=function(t){if(i.stringIsNullOrEmpty(t))return null;var e=Pi.j9(this.t,t);return i.PlatformAPIHelper.c(e)},r.prototype.es=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hc(this.t,t,e)},r.prototype.b3=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.c9(this.t,t)},r.prototype.ex=function(t,e){i.stringIsNullOrEmpty(t)||Pi.hc(this.t,t,e)},r.prototype.b7=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.c9(this.t,t)},r.prototype.er=function(t,e){i.stringIsNullOrEmpty(t)||Pi.ha(this.t,t,e)},r.prototype.b2=function(t){return i.stringIsNullOrEmpty(t)?null:Pi.c7(this.t,t)},r.prototype.b1=function(){return null==this.s?null:this.s.c5()},r.prototype.cp=function(){return this.b1().serialize()},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.l=1,r.b0=null,r}(i.Base),ji=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.fw(t):this.a.b5(t);case 1:return this.b?this.a.b(t):this.a.b4(t);case 2:return this.b?this.a.gd(t):this.a.b6(t);case 3:return this.b,this.a.cs(t);case 4:return this.b?this.a.bd(t):this.a.be(t);case 6:return this.b?this.a.bx(t):this.a.bw(t);case 7:return this.b?this.a.b3(t):this.a.b7(t);case 5:return this.b,this.a.au(t)}return null},n.prototype.getInternalAccessor=function(){return new n(this.a,!0)},n.prototype.setContextValue=function(t,e,n){switch(e){case 0:this.b?this.a.ep(t,n):this.a.ev(t,n);break;case 1:this.b?this.a.eo(t,n):this.a.eu(t,n);break;case 2:this.b?this.a.eq(t,n):this.a.ew(t,n);break;case 3:this.b,this.a.e1(t,n);break;case 4:this.b?this.a.et(t,n):this.a.ey(t,n);break;case 6:this.b?this.a.e0(t,i.typeGetValue(n)):this.a.ez(t,n);break;case 7:this.b?this.a.es(t,n):this.a.ex(t,n);break;case 5:this.b,this.a.en(t,n)}},n.$t=i.markType(n,"ToolbarContextAccessor",i.Base.$,[i.IToolbarContextAccessor_$type]),n}(i.Base),wi=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),Pi=function(t){function r(){var e=t.call(this)||this;e.v=null,e.at=null,e.da=null,e.o=null,e.aw=!1,e.au=null,e.k=new ye,e.propertyChanged=null,e.i=new _i,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(ni.$),0),e.bb=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(ni.$),0),e.a9=new i.Dictionary$2(i.String_$type,ni.$,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.ib=null,e.hq=null,e.ir=null,e.h4=null,e.ig=null,e.hu=null,e.iq=null,e.h3=null,e.ih=null,e.hv=null,e.il=null,e.hz=null,e.f=null,e.bs=Number.POSITIVE_INFINITY,e.it=null,e.h6=null,e.h5=null,e.is=null,e.ie=null,e.ht=null,e.ij=null,e.hx=null,e.ii=null,e.hw=null,e.iv=null,e.h8=null,e.iu=null,e.h7=null,e.b1=NaN,e.bn=NaN,e.b2=NaN,e.bo=NaN,e.im=null,e.h0=null,e.io=null,e.h1=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.bq=NaN,e.be=NaN,e.bp=NaN,e.bd=NaN,e.ik=null,e.hy=null,e.hp=null,e.ho=null,e.ip=null,e.h2=null,e.iw=null,e.h9=null,e.ic=null,e.hr=null,e.ix=null,e.ia=null,e.id=null,e.hs=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;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.f2)),n.NativeUIXInputsFactory.m(),i.NativeUIInputsFactory.n(),Qe.g();var s=new ti;return s.c=e,e.v=s,e.v.ah(),e.hn(),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.gk))}if(this.o=t,null!=this.o){var n=this.o;n.onItemChanged=i.delegateCombine(n.onItemChanged,i.runOn(this,this.gk))}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.gc=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.f1));var n=this.f;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.fw)),this.f.ad=this.u,this.f.b0=!0;var r=this.f;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.fx));var o=this.f;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.f0));var s=this.f;s.itemRecycled=i.delegateCombine(s.itemRecycled,i.runOn(this,this.fz));var a=this.f;a.itemRebind=i.delegateCombine(a.itemRebind,i.runOn(this,this.fy)),this.f.c9=this.ck,this.gu()},r.prototype.go=function(){null!=this.da&&(null!==i.typeCast(r.$,this.da)&&this.da.go(),null!==i.typeCast(Ci.$,this.da)&&this.da.ea())},r.prototype.gn=function(){null!=this.da&&(null!==i.typeCast(r.$,this.da)&&this.da.gn(),null!==i.typeCast(Ci.$,this.da)&&this.da.d9())},r.prototype.fw=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new Xe)},r.prototype.fx=function(t,e){var n=e.c,r=new ye;this.gq(r),n.fi(this,r),0==n.hp?i.isNaN_(r.d)?e.a=this.f.c6:e.a=r.d:e.a=0},r.prototype.f0=function(t,e){var n=e.c,r=new ye;this.gq(r),n.fi(this,r),0==n.hp?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.fz=function(t,e){e.rowObject.fn()},r.prototype.fy=function(t,e){e.rowObject.fm()},r.prototype.f1=function(t,e){var i=e.a.x,n=t;if(1==this.u||2==this.u){var r=new ye;this.gq(r),i.fi(this,r),i.ge(n,this,e,r)}else i.ge(n,this,e,this.k)},r.prototype.gi=function(t){this.bs=t.width,this.gu(),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.gm("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.gm("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.gm("ShowTooltipOnHover",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.gm("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.gm("StopPropagation",e,this.a1)},enumerable:!1,configurable:!0}),r.prototype.f2=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.gd))}l.fe(),l.d=null,l.gr(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.gd))}d.d=this.c,d.gr(this)}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.hm(this.actions),this.gh()},r.prototype.f3=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.gd))}this.actions._inner[n].fe(),this.actions._inner[n].d=null,this.actions._inner[n].gr(null)}},r.prototype.gh=function(){this.gu(),this.v.ae()},r.prototype.gu=function(){this.ay||(this.ay=!0,this.c.enqueueAction(i.runOn(this,this.f8)))},r.prototype.gw=function(){this.ay=!0,this.f8()},r.prototype.f8=function(){if(this.ay){this.ay=!1,this.f4(),this.g0();for(var t=0;t<this.i.count;t++)this.l(this.i._inner[t]);this.f9()}},r.prototype.f4=function(){this.ba.clear(),this.bb.clear(),this.a9.clear();for(var t=0;t<this.i.count;t++)this.i._inner[t].gr(this),null!=this.i._inner[t].c0&&this.a9.item(this.i._inner[t].c0,this.i._inner[t]);for(var e=0;e<this.i.count;e++){if(null!=this.i._inner[e].eu)if(this.a9.containsKey(this.i._inner[e].eu))this.ba.containsKey(this.i._inner[e].eu)||this.ba.item(this.i._inner[e].eu,new i.List$1(ni.$,0)),this.ba.item(this.i._inner[e].eu).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].hy;null==r&&(r="null"),this.bb.containsKey(r)||this.bb.item(r,new i.List$1(ni.$,0)),this.bb.item(r).add(this.i._inner[n])}},r.prototype.a4=function(t){return null!=t.c0&&this.ba.containsKey(t.c0)},r.prototype.h=function(t){return this.a9.containsKey(t)?this.a9.item(t):null},r.prototype.bc=function(t){return null==t.c0?null:this.ba.containsKey(t.c0)?this.ba.item(t.c0):null},r.prototype.l=function(t){var e=new ye;return this.gq(e),t.fi(this,e),this.gf(this.k,e),e},r.prototype.gq=function(t){t.a=this.u,t.c=this.bs},r.prototype.gf=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.g0=function(){this.k=new ye,this.k.a=this.u,this.k.c=this.bs},r.prototype.ka=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].hp&&(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].hp&&(o>0&&(t+=this.ck),i.isNaN_(s.e)||(t+=s.e)),0==this.actions._inner[o].hp&&(e=i.isNaN_(s.d)?this.b5:s.d)}}return new i.Size(1,t,e)},r.prototype.f9=function(){null!=this.f&&this.f.itemsSource!=this.actions&&(this.f.itemsSource=this.actions)},r.prototype.gb=function(){this.ay&&this.f8(),null!=this.f&&this.f.f2()},r.prototype.gx=function(){null!=this.f&&this.f.hc()},r.prototype.gv=function(t){var e=t.hy;null==e&&(e="null");var i=t.c0;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].c0!=i&&this.bb.item(e)._inner[n].h5()},r.prototype.gd=function(t,e){"ExecutionContext"!=e.propertyName&&this.gh()},r.prototype.f5=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].fe()},r.prototype.gr=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.gd))}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.f5()},r.prototype.destroy=function(){this.provideContainer(null),this.f5()},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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("ActualGroupHeaderTextStyle",e,this.ah)},enumerable:!1,configurable:!0}),r.prototype.gm=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.gs(t,e,n)},r.prototype.gs=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":this.hn();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.hm(this.actions);break;case"ActualBackgroundColor":this.hk();break;case"ActualDensity":this.hj(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.f2)),u.collectionResetting=i.delegateRemove(u.collectionResetting,i.runOn(this,this.f3));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.gd))}p.fe(),p.d=null,p.gr(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.f2)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.f3));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.gd))}y.d=this.c,y.gr(this)}}catch(t){a={error:t}}finally{try{g&&!g.done&&(h=b.return)&&h.call(b)}finally{if(a)throw a.error}}}this.hm(this.actions),this.gu();break;case"ScrollbarStyle":null!=this.f&&(this.f.a0=this.w);break;case"StopPropagation":for(var v=0;v<this.actions.count;v++)this.actions._inner[v].bf=this.a8}},r.prototype.hn=function(){switch(this.z){case 0:case 1:case 2:this.jg=null!=this.j3?this.j3:i.BrushUtil.l(255,24,29,31),this.jf=null!=this.j2?this.j2:i.BrushUtil.l(102,24,29,31),this.i3=null!=this.jo?this.jo:i.BrushUtil.l(102,0,0,0),this.i0=null!=this.jl?this.jl:i.BrushUtil.l(255,255,255,255),this.je=null!=this.j1?this.j1:i.BrushUtil.l(255,255,255,255),this.i4=null!=this.jr?this.jr:i.BrushUtil.l(255,237,239,245),this.i7=null!=this.ju?this.ju:i.BrushUtil.l(255,142,143,147),this.i6=null!=this.jt?this.jt:i.BrushUtil.l(102,142,143,147),this.jd=null!=this.j0?this.j0:i.BrushUtil.l(255,237,239,245),this.i5=null!=this.js?this.js:i.BrushUtil.l(25,0,0,0),this.i9=null!=this.jw?this.jw:i.BrushUtil.l(51,178,191,220),this.ji=null!=this.j5?this.j5:i.BrushUtil.l(255,0,0,0),this.ja=null!=this.jx?this.jx:i.BrushUtil.l(255,0,0,0),this.jb=null!=this.jy?this.jy:i.BrushUtil.l(255,0,0,0),this.jh=null!=this.j4?this.j4: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.i8=null!=this.jv?this.jv: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.jc=null!=this.jz?this.jz:i.BrushUtil.l(255,0,0,0),this.jj=this.j6,this.jk=this.j7,this.i1=this.jm,this.i2=this.jn,this.cz=-1!=this.c1?this.c1:500,this.iz=null!=this.iy?this.iy:null;break;case 5:case 3:this.jg=null!=this.j3?this.j3:i.BrushUtil.l(255,24,29,31),this.jf=null!=this.j2?this.j2:i.BrushUtil.l(102,24,29,31),this.i3=null!=this.jo?this.jo:i.BrushUtil.l(102,0,0,0),this.i0=null!=this.jl?this.jl:i.BrushUtil.l(255,255,255,255),this.je=null!=this.j1?this.j1:i.BrushUtil.l(255,255,255,255),this.i4=null!=this.jr?this.jr:i.BrushUtil.l(255,237,239,245),this.i7=null!=this.ju?this.ju:i.BrushUtil.l(255,142,143,147),this.i6=null!=this.jt?this.jt:i.BrushUtil.l(102,142,143,147),this.jd=null!=this.j0?this.j0:i.BrushUtil.l(255,237,239,245),this.i5=null!=this.js?this.js:i.BrushUtil.l(25,0,0,0),this.i9=null!=this.jw?this.jw:i.BrushUtil.l(51,178,191,220),this.ji=null!=this.j5?this.j5:i.BrushUtil.l(255,0,0,0),this.ja=null!=this.jx?this.jx:i.BrushUtil.l(255,0,0,0),this.jb=null!=this.jy?this.jy:i.BrushUtil.l(255,0,0,0),this.jh=null!=this.j4?this.j4: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.i8=null!=this.jv?this.jv: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.jc=null!=this.jz?this.jz:i.BrushUtil.l(255,0,0,0),this.jj=this.j6,this.jk=this.j7,this.i1=this.jm,this.i2=this.jn,this.cz=-1!=this.c1?this.c1:500,this.iz=null!=this.iy?this.iy:null;break;case 6:case 4:this.jg=null!=this.j3?this.j3:i.BrushUtil.l(255,255,255,255),this.jf=null!=this.j2?this.j2:i.BrushUtil.l(102,255,255,255),this.i3=null!=this.jo?this.jo:i.BrushUtil.l(102,255,255,255),this.i0=null!=this.jl?this.jl:i.BrushUtil.l(255,55,63,86),this.je=null!=this.j1?this.j1:i.BrushUtil.l(255,55,63,86),this.i4=null!=this.jr?this.jr:i.BrushUtil.l(255,44,50,70),this.i7=null!=this.ju?this.ju:i.BrushUtil.l(255,255,255,255),this.i6=null!=this.jt?this.jt:i.BrushUtil.l(102,255,255,255),this.jd=null!=this.j0?this.j0:i.BrushUtil.l(255,44,50,70),this.i5=null!=this.js?this.js:i.BrushUtil.l(25,0,0,0),this.i9=null!=this.jw?this.jw:i.BrushUtil.l(25,105,136,255),this.ji=null!=this.j5?this.j5:i.BrushUtil.l(255,255,255,255),this.ja=null!=this.jx?this.jx:i.BrushUtil.l(255,255,255,255),this.jb=null!=this.jy?this.jy:i.BrushUtil.l(255,255,255,255),this.jh=null!=this.j4?this.j4: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.i8=null!=this.jv?this.jv: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.jc=null!=this.jz?this.jz:i.BrushUtil.l(255,255,255,255),this.jj=this.j6,this.jk=this.j7,this.i1=this.jm,this.i2=this.jn,this.cz=-1!=this.c1?this.c1:500,this.iz=null!=this.iy?this.iy:null}},r.prototype.hm=function(t){for(var e=0;e<t.count;e++)t._inner[e].g3(),this.hm(t._inner[e].actions)},r.prototype.hj=function(t){for(var e=0;e<t.count;e++)t._inner[e].gz(this.ad),this.hj(t._inner[e].actions)},r.prototype.hk=function(){null!=this.v.r&&i.NativeUI.m(this.v.x,this.i0)},Object.defineProperty(r.prototype,"z",{get:function(){return this.y},set:function(t){var e=this.y;this.y=t,e!=this.y&&this.gm("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.gm("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.gm("ActualDensity",i.enumGetBox(i.ControlDisplayDensity_$type,e),i.enumGetBox(i.ControlDisplayDensity_$type,t))},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.gm("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"i0",{get:function(){return this.hq},set:function(t){var e=this.hq;this.hq=t,e!=this.hq&&this.gm("ActualBackgroundColor",e,this.hq)},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.gm("SubmenuBackgroundColor",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.gm("ActualSubmenuBackgroundColor",e,this.h4)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jr",{get:function(){return this.ig},set:function(t){var e=this.ig;this.ig=t,e!=this.ig&&this.gm("GroupHeaderBackgroundColor",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.gm("ActualGroupHeaderBackgroundColor",e,this.hu)},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.gm("SeparatorBackgroundColor",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.gm("ActualSeparatorBackgroundColor",e,this.h3)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"js",{get:function(){return this.ih},set:function(t){var e=this.ih;this.ih=t,e!=this.ih&&this.gm("GroupHeaderSeparatorBackgroundColor",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.gm(r.dm,e,this.hv)},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.gm("HoverBackgroundColor",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.gm("ActualHoverBackgroundColor",e,this.hz)},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.gm("TextColor",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.gm("ActualTextColor",e,this.h6)},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.gm("ActualSubtitleTextColor",e,this.h5)},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.gm("SubtitleTextColor",e,this.is)},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.gm("DisabledTextColor",e,this.ie)},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.gm("ActualDisabledTextColor",e,this.ht)},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.gm("GroupHeaderTextColor",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.gm("ActualGroupHeaderTextColor",e,this.hx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"jt",{get:function(){return this.ii},set:function(t){var e=this.ii;this.ii=t,e!=this.ii&&this.gm("GroupHeaderSubtitleTextColor",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.gm("ActualGroupHeaderSubtitleTextColor",e,this.hw)},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.gm("ToolTipTextColor",e,this.iv)},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.gm("ActualToolTipTextColor",e,this.h8)},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.gm("ToolTipBackgroundColor",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.gm("ActualToolTipBackgroundColor",e,this.h7)},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.gm("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.gm("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.gm("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.gm("ActualToolTipElevation",e,this.bo)},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.gm("IconFill",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.gm("ActualIconFill",e,this.h0)},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.gm("IconStroke",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.gm("ActualIconStroke",e,this.h1)},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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("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.gm("Orientation",i.enumGetBox(ee,e),i.enumGetBox(ee,t))},enumerable:!1,configurable:!0}),r.prototype.gp=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.aa&&this.gv(t)},Object.defineProperty(r.prototype,"c4",{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,"cj",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.gm("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.gm("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.gm("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.gm("ActualHighlightRadius",e,this.bd)},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.gm("HighlightColor",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.gm("ActualHighlightColor",e,this.hy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iz",{get:function(){return this.hp},set:function(t){var e=this.hp;this.hp=t,e!=this.hp&&this.gm("ActualAccentColor",e,this.hp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"iy",{get:function(){return this.ho},set:function(t){var e=this.ho;this.ho=t,e!=this.ho&&this.gm("AccentColor",e,this.ho)},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.gm("MenuArrowStroke",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.gm("ActualMenuArrowStroke",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.gm("UncheckedBackgroundColor",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.gm("ActualUncheckedBackgroundColor",e,this.h9)},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.gm("CheckedBackgroundColor",e,this.ic)},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.gm("ActualCheckedBackgroundColor",e,this.hr)},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.gm("UncheckedBorderColor",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.gm("ActualUncheckedBorderColor",e,this.ia)},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.gm("CheckedBorderColor",e,this.id)},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.gm("ActualCheckedBorderColor",e,this.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.gm("DropdownDelay",e,this.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.gm("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.gm("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.gm("ItemSpacing",e,this.br)},enumerable:!1,configurable:!0}),r.prototype.gk=function(t,e){null!=this.onContextChanged&&this.onContextChanged(t,e)},r.prototype.gy=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new Ti).a=t,e))},r.prototype.gz=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new Ti).a=t,e))},r.prototype.f6=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].ff()},Object.defineProperty(r.prototype,"a5",{get:function(){for(var t=0;t<this.actions.count;t++)if(this.actions._inner[t].ba)return!0;return!1},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"af",{get:function(){return this.ac},set:function(t){this.ac=t},enumerable:!1,configurable:!0}),r.prototype.hl=function(t){this.af=t,0==this.ae&&(this.ad=t)},r.prototype.c5=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.cr();if(t.b.add1(s),null!=o){var a=((n=new se).a=o.af(),n);t.c.add(a)}},i=this,n=0;n<this.actions.count;n++)e(n);return t},r.prototype.es=function(){return this.c5().serialize()},r.prototype.g5=function(t,e){r.g6(this.p,t,e)},r.g6=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(t,e,n)},r.prototype.jp=function(t){return r.jq(this.p,t)},r.jq=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c7(t,e)},r.prototype.g3=function(t,e){r.g4(this.p,t,e)},r.g4=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(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.c7(t,e)},r.prototype.hd=function(t,e){r.he(this.p,t,e)},r.he=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(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.c7(t,e)},r.prototype.hf=function(t,e){r.hg(this.p,t,e)},r.hg=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(t,e,n)},r.prototype.c2=function(t){return r.c3(this.p,t)},r.c3=function(t,e){return i.stringIsNullOrEmpty(e)?-2147483648:i.typeGetValue(r.c7(t,e))},r.prototype.hh=function(t,e){r.hi(this.p,t,e)},r.hi=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(t,e,n)},r.prototype.et=function(t){return r.eu(this.p,t)},r.eu=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c7(t,e)},r.prototype.g1=function(t,e){r.g2(this.p,t,e)},r.g2=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(t,e,n)},r.prototype.a2=function(t){return r.a3(this.p,t)},r.a3=function(t,e){return!i.stringIsNullOrEmpty(e)&&r.c7(t,e)},r.prototype.g7=function(t,e){r.g8(this.p,t,e)},r.g8=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(t,e,n)},r.prototype.j8=function(t){return r.j9(this.p,t)},r.j9=function(t,e){return i.stringIsNullOrEmpty(e)?i.Color.u(0,0,0,0):r.c7(t,e)},r.prototype.hb=function(t,e){r.hc(this.p,t,e)},r.hc=function(t,e,n){i.stringIsNullOrEmpty(e)||r.ha(t,e,n)},r.prototype.c8=function(t){return r.c9(this.p,t)},r.c9=function(t,e){return i.stringIsNullOrEmpty(e)?null:r.c7(t,e)},r.prototype.g9=function(t,e){i.stringIsNullOrEmpty(t)||null!=this.p&&this.p.i(t,e)},r.ha=function(t,e,n){i.stringIsNullOrEmpty(e)||null!=t&&t.i(e,n)},r.prototype.c6=function(t){return i.stringIsNullOrEmpty(t)?null:this.p.g(t)},r.c7=function(t,e){return i.stringIsNullOrEmpty(e)?null:t.g(e)},r.prototype.ga=function(){this.v.aa()},r.prototype.ge=function(t){null!=this.f&&this.f.fs(t)},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.dm="ActualGroupHeaderSeparatorBackgroundColor",r.t=0,r}(i.Base),Ti=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),ki=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(Ii.$),r.u=!1,r.s=null,r.r=null,r.w=new i.List$1(Oi.$,0),r.n=1,r.z=200,r.t=null,r.ac=0,r.v=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ad=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a3",{get:function(){return this.a1},set:function(t){this.d.d=this.a1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.a2},set:function(t){this.g.d=this.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"x",{get:function(){return this.w},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.av("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.n))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.z},set:function(t){this.z=t},enumerable:!1,configurable:!0}),n.prototype.al=function(t){var e=this;i.NativeUIComponent.aw(this.ad,[7,9],(function(n){e.s=n[0],e.r=n[1],e.s.bn(e.r),e.r.bd=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a5=function(){return null!=this.j?this.j.f():this.s.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.k=function(){return this.j},n.prototype.ag=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.x.count;r++)if(this.x._inner[r].b==t)return void(null!=e&&e(this.x._inner[r].a));i.NativeUIComponent.au(this.ad,13,(function(r){var o=r;o.c=n.o,o.cl=t.r.j3,o.bu=t.r.p,o.cb=t.r.jo,o.b8=t.r.j1,o.cj=t.r.j1,o.cc=t.r.jr,o.ce=t.r.ju,o.ci=t.r.j0,o.bw=t.r.am,o.cm=t.r.j6,o.cn=t.r.j7,o.b9=t.r.jm,o.ca=t.r.jn,o.ch=t.r.jz,o.cf=t.r.jx,o.cg=t.r.jy,o.ck=t.r.j2,o.cd=t.r.jt,o.by=t.r.as,o.bx=t.r.ar,o.b7=t.r.iy,-1!=t.cp&&(o.b1=t.cp),o.bt=t.actions,o.bm=i.runOn(n,n.at),o.bn=i.runOn(n,n.au),o.bs=i.runOn(n,n.ar),n.r.bn(o),n.aa=0;for(var s=0;s<n.x.count;s++){var a=n.x._inner[s].f();n.aa+=a.width,n.x._inner[s].a.ae=a.width}n.r.bu(o,n.aa),n.r.bv(o,0),n.x.add(new Oi(t,o,n.aa)),n.ay(),null!=e&&e(o)}))},n.prototype.am=function(t){for(var e=0;e<this.x.count;e++)this.x._inner[e].a==t&&this.ao(e)},n.prototype.ao=function(t){this.an(this.x._inner[t])},n.prototype.an=function(t,e){void 0===e&&(e=null),this.ah(t,-Math.floor(t.c),e),this.j=t},n.prototype.at=function(t,e){var i=this;if(this.ac++,this.x.count>1&&this.ac<this.x.count){for(var n=this.x.count-1;n>this.ac;n--)this.x._inner[n].a.bm=null,this.x._inner[n].a.bn=null,this.r.bp(this.x._inner[n].a),this.aa-=this.x._inner[n].a.ae,this.x.removeAt(n);if(this.x._inner[this.ac].b==e.a)return void this.am(this.x._inner[this.ac].a);this.x._inner[this.ac].a.bm=null,this.x._inner[this.ac].a.bn=null,this.r.bp(this.x._inner[this.ac].a),this.aa-=this.x._inner[this.ac].a.ae,this.x.removeAt(this.ac)}this.u=!0,this.ag(e.a,(function(t){null!=e.a.en&&(t.ap=e.a.en+"SubMenu"),i.i.executeDelayed((function(){return i.am(t)}),0)}))},n.prototype.au=function(t,e){this.ac=Math.max(0,this.ac-1),this.an(this.x._inner[this.ac],(function(){}))},n.prototype.ar=function(t,e){null!=this.t&&this.t(e)},n.prototype.ah=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.aj(),null==this.r.bd){var s=t.f();return this.s.ae=Math.floor(s.width),void(this.s.y=Math.floor(s.height))}if(1==this.p.playState)this.p.playbackRate>0&&this.a3.j==e||this.p.playbackRate<0&&this.a4.j==e?(this.p.reverse(),this.q.reverse()):this.y.g(((r=new Ii).a=t,r.c=e,r.b=n,r));else{this.a3=function(){var t=new i.TranslateTransform;return t.j=o.a4.j,t}(),this.a4=function(){var t=new i.TranslateTransform;return t.j=e,t}();var a=t.f();this.e.d=this.s.ae,this.c.d=this.s.y,this.h.d=Math.floor(a.width),this.f.d=Math.floor(a.height),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){return o.aq(n)})),this.q.updatePlaybackRate(1),this.q.play(),this.q.finished.f((function(t){null!=o.q&&o.q.commitStyles()}))}},n.prototype.aj=function(){if(null==this.p){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.ab,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.r.an,0,null,t),this.a1=((e=new i.TranslateTransform).j=0,e),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.a1),this.g=new i.AnimationKeyFrameProperty(14,this.a2),this.p=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.s.an,0,null,t),this.e=new i.AnimationKeyFrameProperty(9,0),this.c=new i.AnimationKeyFrameProperty(10,0),this.h=new i.AnimationKeyFrameProperty(9,0),this.f=new i.AnimationKeyFrameProperty(10,0),this.q=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.aq=function(t){var e,n=this;if(null!=this.p&&this.p.commitStyles(),null!=t&&t(),this.p.playbackRate<0){var r=this.a4.j;this.a4=((e=new i.TranslateTransform).j=n.a3.j,e),this.a3=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.y.count>0){var o=this.y.b();this.an(o.a,o.b)}},n.prototype.ay=function(){this.v||(this.v=!0,this.i.enqueueAction(i.runOn(this,this.ai)))},n.prototype.ak=function(){this.ai()},n.prototype.ai=function(){if(this.v){this.v=!1;for(var t=0;t<this.x.count;t++){this.x._inner[t].e();var e=this.x._inner[t].f();this.x._inner[t].a.ae=e.width,this.x._inner[t].a.y=e.height,this.x._inner[t].a.b4(e),this.u||(1!=this.q.playState?this.ac==t&&(this.s.ae=e.width,this.s.y=e.height):(this.h.d=Math.floor(e.width),this.f.d=Math.floor(e.height)))}this.u=!1}},n.prototype.az=function(){this.ac=0,this.r.bd=new i.MatrixTransform;var t,e=this.x._inner[0].f();this.s.ae=Math.floor(e.width),this.s.y=Math.floor(e.height),this.a1=((t=new i.TranslateTransform).j=0,t),this.a2=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.a0=function(t,e){this.n=t;for(var i=0;i<this.x.count;i++){var n=this.x._inner[i].a;n.c=t,n.cl=e.j3,n.cb=e.jo,n.b8=e.j1,n.cj=e.j1,n.cc=e.jr,n.ce=e.ju,n.ci=e.j0}},n.prototype.ap=function(){var t=this.x._inner[this.ac].f();this.x._inner[this.ac].a.ae=t.width,this.x._inner[this.ac].a.y=t.height,this.x._inner[this.ac].d(t),1!=this.q.playState?(this.s.ae=t.width,this.s.y=t.height):(this.h.d=Math.floor(t.width),this.f.d=Math.floor(t.height))},n.prototype.as=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.aw=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.av=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},n.prototype.ax=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.x.count;n++)this.x._inner[n].a.c=this.o}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Oi=function(t){function n(e,i,n){var r=t.call(this)||this;return r.c=0,r.a=null,r.b=null,r.b=e,r.a=i,r.c=n,r}return e.__extends(n,t),n.prototype.f=function(){return this.a.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.b5()},n.prototype.d=function(t){this.a.b4(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),Ii=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),Si=function(t){function n(e){var n=t.call(this)||this;if(Ri.$type||(Ri.$type=i.markType(Ri,"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(){Ri.$type||(Ri.$type=i.markType(Ri,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(Ri.$type,ni.$type,0);return t.compare=function(t,e){var i=t;return i._implementation&&(i=i._implementation),i.equals?i.equals(e):i===e},t.createTo=function(t){return t._implementation},t.createFrom=function(t){var e=t.externalObject;return e||(e=Ri._createFromInternal(t))&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),xi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new 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}(),Ai=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}(),Ni=function(t){function n(e){var n=t.call(this)||this;if(Ai.$type||(Ai.$type=i.markType(Ai,"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(){Ai.$type||(Ai.$type=i.markType(Ai,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(Ai.$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 Ai)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Bi=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 Ai;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 Ni,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 Ni;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}(),Ri=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,e._contextBindings=null,e._actions=null,e.__p=null,e._hasUserValues=new Set,e._stylingContainer=null,e._stylingParent=null,e._inStyling=!1,e._onCommand=null,e._onCommand_wrapped=null,e._performed=null,e._performed_wrapped=null,e._styling&&i.NamePatcher.ensureStylablePatched(Object.getPrototypeOf(e)),e._implementation=e.createImplementation(),e._implementation.externalObject=e,e.onImplementationCreated(),e._initializeAdapters&&e._initializeAdapters(),e}return e.__extends(n,t),n.prototype.createImplementation=function(){return null},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n._createFromInternal=function(t){if(!t)return null;if(!t.$type)return null;var e="Igc"+t.$type.name+"Component";return i.TypeRegistrar.isRegistered(e)?i.TypeRegistrar.create(e):null},n.prototype.onImplementationCreated=function(){},n.prototype._initializeAdapters=function(){var n=this;this.__observingChildren||(this.__observingChildren=!0,new MutationObserver((function(t){var i,r;try{for(var o=e.__values(t),s=o.next();!s.done;s=o.next()){"childList"==s.value.type&&(n.updateContentChildren?n.updateContentChildren():n._initializeAdapters&&n.initializeAdapters())}}catch(t){i={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}})).observe(this,{childList:!0}));this._actionsAdapter=new i.CollectionAdapter(this.contentActions,this.i.actions,this.actualActions,(function(t){return t.i}),(function(t){n._initializeElement&&n._initializeElement(t)}),(function(t){n._destroyElement&&n._destroyElement(t)})),t.prototype._initializeAdapters&&t.prototype._initializeAdapters.call(this)},n.prototype._updateAdapters=function(){t.prototype._updateAdapters&&t.prototype._updateAdapters.call(this),this.contentActions.length=0;for(var e=0;e<this.children.length;e++)this.children[e]instanceof n&&this.contentActions.push(this.children[e]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionComponent=t}return n._observedAttributesIgcToolActionComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ba},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contextBindings",{get:function(){if(null===this._contextBindings){var t=new Qt,e=this.i.contextBindings;e||(e=new 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.c0},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 Si,n=e._innerColl;this._actions=e,n.addListener((function(e,n){switch(n.action){case i.NotifyCollectionChangedAction.Add:t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Remove:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex);break;case i.NotifyCollectionChangedAction.Replace:t._actionsAdapter.removeManualItemAt(n.oldStartingIndex),t._actionsAdapter.insertManualItem(n.newStartingIndex,n.newItems.item(0));break;case i.NotifyCollectionChangedAction.Reset:t._actionsAdapter.clearManualItems()}}))}return this._actions},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.co},set:function(t){this.i.co=+t,this._a("width",this.i.co)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"height",{get:function(){return this.i.b9},set:function(t){this.i.b9=+t,this._a("height",this.i.b9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subPanelRowHeight",{get:function(){return this.i.cp},set:function(t){this.i.cp=+t,this._a("subPanelRowHeight",this.i.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.eu},set:function(t){this.i.eu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.dp},set:function(t){this.i.dp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.dl},set:function(t){this.i.dl=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.ep},set:function(t){this.i.ep=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.du},set:function(t){this.i.du=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.dr},set:function(t){this.i.dr=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.cq},set:function(t){this.i.cq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.ck},set:function(t){this.i.ck=+t,this._a("paddingLeft",this.i.ck)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.b1},set:function(t){this.i.b1=+t,this._a("actualPaddingLeft",this.i.b1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.cl},set:function(t){this.i.cl=+t,this._a("paddingRight",this.i.cl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.b2},set:function(t){this.i.b2=+t,this._a("actualPaddingRight",this.i.b2)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.cj},set:function(t){this.i.cj=+t,this._a("paddingBottom",this.i.cj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.b0},set:function(t){this.i.b0=+t,this._a("actualPaddingBottom",this.i.b0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.cm},set:function(t){this.i.cm=+t,this._a("paddingTop",this.i.cm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.b3},set:function(t){this.i.b3=+t,this._a("actualPaddingTop",this.i.b3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.hc)},set:function(t){this.i.hc=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.hc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.hk)},set:function(t){this.i.hk=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.hk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.g9)},set:function(t){this.i.g9=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.g9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.hh)},set:function(t){this.i.hh=i.stringToBrush(t),this._a("background",i.brushToString(this.i.hh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.hg)},set:function(t){this.i.hg=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.hg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.ho)},set:function(t){this.i.ho=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.ho))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.hf)},set:function(t){this.i.hf=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.hf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.hn)},set:function(t){this.i.hn=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.hn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ha)},set:function(t){this.i.ha=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ha))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.hi)},set:function(t){this.i.hi=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.hi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return this.i.ae},set:function(t){this.i.ae=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.ah?null:this.i.ah.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ah=e,this._a("textStyle",null!=this.i.ah?this.i.ah.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextStyle",{get:function(){return this.i.ad},set:function(t){this.i.ad=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.ag?null:this.i.ag.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ag=e,this._a("subtitleTextStyle",null!=this.i.ag?this.i.ag.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.a8},set:function(t){this.i.a8=i.ensureBool(t),this._a("isDisabled",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHighlighted",{get:function(){return this.i.a9},set:function(t){this.i.a9=i.ensureBool(t),this._a("isHighlighted",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAccentColor",{get:function(){return i.brushToString(this.i.g8)},set:function(t){this.i.g8=i.stringToBrush(t),this._a("actualAccentColor",i.brushToString(this.i.g8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.g7)},set:function(t){this.i.g7=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.g7))},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.en},set:function(t){this.i.en=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.e7},set:function(t){this.i.e7=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.e1},set:function(t){this.i.e1=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"titleHorizontalAlignment",{get:function(){return this.i.g5},set:function(t){this.i.g5=i.ensureEnum(i.HorizontalAlignment_$type,t),this._a("titleHorizontalAlignment",i.enumToString(i.HorizontalAlignment_$type,this.i.g5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.eb},set:function(t){this.i.eb=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.d6},set:function(t){this.i.d6=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.cf},set:function(t){this.i.cf=+t,this._a("iconViewBoxLeft",this.i.cf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.cg},set:function(t){this.i.cg=+t,this._a("iconViewBoxTop",this.i.cg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.ch},set:function(t){this.i.ch=+t,this._a("iconViewBoxWidth",this.i.ch)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.ce},set:function(t){this.i.ce=+t,this._a("iconViewBoxHeight",this.i.ce)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.hl)},set:function(t){this.i.hl=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.hl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.hd)},set:function(t){this.i.hd=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.hd))},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.hm)},set:function(t){this.i.hm=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.hm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.he)},set:function(t){this.i.he=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.he))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.b)},set:function(t){this.i.b=i.toBrushCollection(t),this._a("iconStrokeColors",i.brushCollectionToString(this.i.b))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStrokeWidth",{get:function(){return this.i.cd},set:function(t){this.i.cd=+t,this._a("iconStrokeWidth",this.i.cd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconWidth",{get:function(){return this.i.ci},set:function(t){this.i.ci=+t,this._a("iconWidth",this.i.ci)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconWidth",{get:function(){return this.i.bz},set:function(t){this.i.bz=+t,this._a("actualIconWidth",this.i.bz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconHeight",{get:function(){return this.i.cc},set:function(t){this.i.cc=+t,this._a("iconHeight",this.i.cc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconHeight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("actualIconHeight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.hp},set:function(t){this.i.hp=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.hp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("closeOnExecute",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.cb},set:function(t){this.i.cb=+t,this._a("highlightWidth",this.i.cb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightWidth",{get:function(){return this.i.bx},set:function(t){this.i.bx=+t,this._a("actualHighlightWidth",this.i.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.ca},set:function(t){this.i.ca=+t,this._a("highlightRadius",this.i.ca)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightRadius",{get:function(){return this.i.bw},set:function(t){this.i.bw=+t,this._a("actualHighlightRadius",this.i.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.hj)},set:function(t){this.i.hj=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.hj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.hb)},set:function(t){this.i.hb=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.hb))},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.gh()},n.prototype.closeSubmenu=function(){this.i.ff()},n.prototype.exportVisualData=function(){return this.i.cr()},n.prototype.exportSerializedVisualData=function(){return this.i.d0()},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 xi;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 Bi;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),Ei=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._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.cr()},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(Ri),$i=function(){function t(){}return t.register=function(){Ei.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",Ei),i.TypeRegistrar.register("ToolActionLabel",pi.$type)},t}(),Di=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._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.hr},set:function(t){this.i.hr=i.ensureBool(t),this._a("isChecked",this.i.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h5)},set:function(t){this.i.h5=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.h5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.h7)},set:function(t){this.i.h7=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.h7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h3)},set:function(t){this.i.h3=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.h3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.h6)},set:function(t){this.i.h6=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.h6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.h4)},set:function(t){this.i.h4=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.h4))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(Ri),zi=function(){function t(){}return t.register=function(){Di.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Di),i.TypeRegistrar.register("ToolActionCheckbox",mi.$type)},t}(),qi=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}(),Vi=function(t){function n(e){var n=t.call(this)||this;if(qi.$type||(qi.$type=i.markType(qi,"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(){qi.$type||(qi.$type=i.markType(qi,"IgcLayoutPrimaryKeyValue"));var t=new i.SyncableObservableCollection$2(qi.$type,ke.$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 qi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Ui=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 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._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.ie},set:function(t){this.i.ie=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showSelectAll",{get:function(){return this.i.hw},set:function(t){this.i.hw=i.ensureBool(t),this._a("showSelectAll",this.i.hw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dataMemberPath",{get:function(){return this.i.h8},set:function(t){this.i.h8=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"primaryKey",{get:function(){return this.i.hq},set:function(t){if(t&&!Array.isArray(t)&&"string"==typeof t){t=t.split(/\s*(?:,|\s|$)\s*/gm)}this.i.hq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedKeys",{get:function(){if(null===this._selectedKeys){var t=new Vi,e=this.i.hr;e||(e=new Oe),this._selectedKeys=t._fromInner(e),this.i.hr=e}return this._selectedKeys},set:function(t){null!==this._selectedKeys&&(this._selectedKeys._setSyncTarget(null),this._selectedKeys=null);var e=new Vi;this._selectedKeys=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ke.$type),r=this.i.hr;r||(r=new Oe),n._inner=r,n.clear(),this._selectedKeys._setSyncTarget(n),this.i.hr=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"indexType",{get:function(){return this.i.hs},set:function(t){this.i.hs=i.ensureEnum(Se,t),this._a("indexType",i.enumToString(Se,this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.iw)},set:function(t){this.i.iw=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.iw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.iy)},set:function(t){this.i.iy=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.iy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.iu)},set:function(t){this.i.iu=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.iu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ix)},set:function(t){this.i.ix=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ix))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.iz)},set:function(t){this.i.iz=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.iz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.iv)},set:function(t){this.i.iv=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.iv))},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.cr()},n._observedAttributesIgcToolActionCheckboxListComponent=null,n.htmlTagName="igc-tool-action-checkbox-list",n._isElementRegistered=!1,n}(Ri),Li=function(){function t(){}return t.register=function(){Ui.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxListComponent",Ui),i.TypeRegistrar.register("ToolActionCheckboxList",ai.$type)},t}(),Fi=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.h1)},set:function(t){this.i.h1=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.h1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.h2)},set:function(t){this.i.h2=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.h2))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(Ri),Mi=function(){function t(){}return t.register=function(){Fi.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",Fi),i.TypeRegistrar.register("ToolActionGroupHeader",gi.$type)},t}(),Hi=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),Gi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Hi},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}(),Wi=function(t){function n(e){var n=t.call(this)||this;if(Gi.$type||(Gi.$type=i.markType(Gi,"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(){Gi.$type||(Gi.$type=i.markType(Gi,"IgcToolActionFieldSelectorAggregation"));var t=new i.SyncableObservableCollection$2(Gi.$type,Hi.$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 Gi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Ki=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),Xi=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Ki},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}(),Qi=function(t){function n(e){var n=t.call(this)||this;if(Xi.$type||(Xi.$type=i.markType(Xi,"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(){Xi.$type||(Xi.$type=i.markType(Xi,"IgcToolActionFieldSelectorSelectedAggregation"));var t=new i.SyncableObservableCollection$2(Xi.$type,Ki.$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 Xi)&&(!t.$type&&e._implementation.setNativeElement?e._implementation.setNativeElement(t):e._implementation=t),e},t},n}(i.IgCollection),Yi=function(t){function n(){var e=t.call(this,Hi.$,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(Hi.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Hi.$,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(Hi.$)),n}(i.ObservableCollection$1),Ji=function(t){function n(){var e=t.call(this,Ki.$,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(Ki.$,i.Number_$type,0),e.aj=new i.Dictionary$2(i.Number_$type,Ki.$,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(Ki.$)),n}(i.ObservableCollection$1),Zi=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 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._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.hy},set:function(t){this.i.hy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"legendTarget",{get:function(){return this.i.iu},set:function(t){this.i.iu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fieldType",{get:function(){return this.i.h2},set:function(t){this.i.h2=i.ensureEnum(Ne,t),this._a("fieldType",i.enumToString(Ne,this.i.h2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"singleSelection",{get:function(){return this.i.ic},set:function(t){this.i.ic=i.ensureBool(t),this._a("singleSelection",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aggregations",{get:function(){if(null===this._aggregations){var t=new Wi,e=this.i.hz;e||(e=new Yi),this._aggregations=t._fromInner(e),this.i.hz=e}return this._aggregations},set:function(t){null!==this._aggregations&&(this._aggregations._setSyncTarget(null),this._aggregations=null);var e=new Wi;this._aggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Hi.$type),r=this.i.hz;r||(r=new Yi),n._inner=r,n.clear(),this._aggregations._setSyncTarget(n),this.i.hz=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateDataSource",{get:function(){return this.i.id},set:function(t){this.i.id=i.ensureBool(t),this._a("updateDataSource",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedAggregations",{get:function(){if(null===this._selectedAggregations){var t=new Qi,e=this.i.h1;e||(e=new Ji),this._selectedAggregations=t._fromInner(e),this.i.h1=e}return this._selectedAggregations},set:function(t){null!==this._selectedAggregations&&(this._selectedAggregations._setSyncTarget(null),this._selectedAggregations=null);var e=new Qi;this._selectedAggregations=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Ki.$type),r=this.i.h1;r||(r=new Ji),n._inner=r,n.clear(),this._selectedAggregations._setSyncTarget(n),this.i.h1=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("paddingLeft",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.ij},set:function(t){this.i.ij=+t,this._a("actualPaddingLeft",this.i.ij)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("paddingRight",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.ik},set:function(t){this.i.ik=+t,this._a("actualPaddingRight",this.i.ik)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("paddingBottom",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.ii},set:function(t){this.i.ii=+t,this._a("actualPaddingBottom",this.i.ii)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("paddingTop",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("actualPaddingTop",this.i.il)},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}(Ri),tn=function(){function t(){}return t.register=function(){Zi.register(),i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorComponent",Zi),i.TypeRegistrar.register("ToolActionFieldSelector",hi.$type)},t}(),en=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.hs},set:function(t){this.i.hs=+t,this._a("value",this.i.hs)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(Ri),nn=function(){function t(){}return t.register=function(){en.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",en),i.TypeRegistrar.register("ToolActionNumberInput",vi.$type)},t}(),rn=function(t){function n(){return t.call(this)||this}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._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.hs},set:function(t){this.i.hs=+t,this._a("size",this.i.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.hq},set:function(t){this.i.hq=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.hq)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(Ri),on=function(){function t(){}return t.register=function(){rn.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",rn),i.TypeRegistrar.register("ToolActionSeparator",di.$type)},t}(),sn=function(t){function n(){return t.call(this)||this}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._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.hy},set:function(t){this.i.hy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.hr},set:function(t){this.i.hr=i.ensureBool(t),this._a("isChecked",this.i.hr)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isManual",{get:function(){return this.i.hs},set:function(t){this.i.hs=i.ensureBool(t),this._a("isManual",this.i.hs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ie)},set:function(t){this.i.ie=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.ie))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.ia)},set:function(t){this.i.ia=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.ia))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.ic)},set:function(t){this.i.ic=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.ic))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.h8)},set:function(t){this.i.h8=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.h8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.ig)},set:function(t){this.i.ig=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.ig))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.ib)},set:function(t){this.i.ib=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.ib))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.id)},set:function(t){this.i.id=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.id))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.h9)},set:function(t){this.i.h9=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.h9))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(Ri),an=function(){function t(){}return t.register=function(){sn.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",sn),i.TypeRegistrar.register("ToolActionRadio",fi.$type)},t}(),hn=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._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.hq},set:function(t){this.i.hq=i.ensureEnum(qe,t),this._a("displayType",i.enumToString(qe,this.i.hq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.hu},set:function(t){this.i.hu=+t,this._a("cornerRadius",this.i.hu)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(Ri),un=function(){function t(){}return t.register=function(){hn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",hn),i.TypeRegistrar.register("ToolActionButton",ci.$type)},t}(),ln=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._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.hs},set:function(t){this.i.hs=+t,this._a("itemSpacing",this.i.hs)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionSubPanelComponent=null,n.htmlTagName="igc-tool-action-sub-panel",n._isElementRegistered=!1,n}(Ri),cn=function(){function t(){}return t.register=function(){ln.register(),i.TypeRegistrar.registerCons("IgcToolActionSubPanelComponent",ln),i.TypeRegistrar.register("ToolActionSubPanel",ui.$type)},t}(),pn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new wi},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=Ri._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}(),fn=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.i0},set:function(t){this.i.i0=+t,this._a("tooltipDelay",this.i.i0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTooltipDelay",{get:function(){return this.i.iz},set:function(t){this.i.iz=+t,this._a("actualTooltipDelay",this.i.iz)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingLeft",{get:function(){return this.i.it},set:function(t){this.i.it=+t,this._a("contentPaddingLeft",this.i.it)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingLeft",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("actualContentPaddingLeft",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingTop",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("contentPaddingTop",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingTop",{get:function(){return this.i.ir},set:function(t){this.i.ir=+t,this._a("actualContentPaddingTop",this.i.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingRight",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("contentPaddingRight",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingRight",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("actualContentPaddingRight",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"contentPaddingBottom",{get:function(){return this.i.is},set:function(t){this.i.is=+t,this._a("contentPaddingBottom",this.i.is)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualContentPaddingBottom",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("actualContentPaddingBottom",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isOpen",{get:function(){return this.i.ba},enumerable:!1,configurable:!0}),n.prototype.openSubMenu=function(){this.i.gh()},n.prototype.closeSubmenu=function(){this.i.ff()},n.prototype.exportVisualData=function(){return this.i.cr()},Object.defineProperty(n.prototype,"popupOpening",{get:function(){return this._popupOpening},set:function(t){var e=this;null!==this._popupOpening_wrapped&&(this.i.popupOpening=i.delegateRemove(this.i.popupOpening,this._popupOpening_wrapped),this._popupOpening_wrapped=null,this._popupOpening=null),this._popupOpening=t,this._popupOpening_wrapped=function(t,i){var n=new pn;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}(Ri),dn=function(){function t(){}return t.register=function(){fn.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",fn),i.TypeRegistrar.register("ToolActionIconButton",bi.$type)},t}(),bn=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.kh)},set:function(t){this.i.kh=i.stringToBrush(t),this._a("arrowStroke",i.brushToString(this.i.kh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualArrowStroke",{get:function(){return i.brushToString(this.i.kg)},set:function(t){this.i.kg=i.stringToBrush(t),this._a("actualArrowStroke",i.brushToString(this.i.kg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showArrowIcon",{get:function(){return this.i.j5},set:function(t){this.i.j5=i.ensureBool(t),this._a("showArrowIcon",this.i.j5)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(fn),gn=function(){function t(){}return t.register=function(){bn.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",bn),i.TypeRegistrar.register("ToolActionIconMenu",yi.$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 Xe},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}(),mn=function(t){return t[t.Replace=0]="Replace",t}({}),vn=i.markEnum("NestedActionMode","Replace,0"),_n=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 Si;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 Ri&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Pi},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.c0},set:function(t){this.i.c0=+t,this._a("dropdownClickBuffer",this.i.c0)},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.jl)},set:function(t){this.i.jl=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.jl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.i0)},set:function(t){this.i.i0=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.i0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.j1)},set:function(t){this.i.j1=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.j1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.je)},set:function(t){this.i.je=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.je))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.jr)},set:function(t){this.i.jr=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.jr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.i4)},set:function(t){this.i.i4=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.i4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.j0)},set:function(t){this.i.j0=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.j0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.jd)},set:function(t){this.i.jd=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.jd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.js)},set:function(t){this.i.js=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.js))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.i5)},set:function(t){this.i.i5=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.i5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.jw)},set:function(t){this.i.jw=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.jw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.i9)},set:function(t){this.i.i9=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.i9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.j3)},set:function(t){this.i.j3=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.j3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.jg)},set:function(t){this.i.jg=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.jg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubtitleTextColor",{get:function(){return i.brushToString(this.i.jf)},set:function(t){this.i.jf=i.stringToBrush(t),this._a("actualSubtitleTextColor",i.brushToString(this.i.jf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.j2)},set:function(t){this.i.j2=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.j2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.jo)},set:function(t){this.i.jo=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.jo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.i3)},set:function(t){this.i.i3=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.i3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.ju)},set:function(t){this.i.ju=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.ju))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.i7)},set:function(t){this.i.i7=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.i7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.jt)},set:function(t){this.i.jt=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.jt))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.i6)},set:function(t){this.i.i6=i.stringToBrush(t),this._a("actualGroupHeaderSubtitleTextColor",i.brushToString(this.i.i6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.j5)},set:function(t){this.i.j5=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.j5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.ji)},set:function(t){this.i.ji=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.ji))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.j4)},set:function(t){this.i.j4=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.j4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.jh)},set:function(t){this.i.jh=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.jh))},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.jx)},set:function(t){this.i.jx=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.jx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.ja)},set:function(t){this.i.ja=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.ja))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.jy)},set:function(t){this.i.jy=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.jy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.jb)},set:function(t){this.i.jb=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.jb))},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.c4},set:function(t){this.i.c4=+t,this._a("rowHeight",this.i.c4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.b5},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.jv)},set:function(t){this.i.jv=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.jv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHighlightColor",{get:function(){return i.brushToString(this.i.i8)},set:function(t){this.i.i8=i.stringToBrush(t),this._a("actualHighlightColor",i.brushToString(this.i.i8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAccentColor",{get:function(){return i.brushToString(this.i.iz)},set:function(t){this.i.iz=i.stringToBrush(t),this._a("actualAccentColor",i.brushToString(this.i.iz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.iy)},set:function(t){this.i.iy=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.iy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.jz)},set:function(t){this.i.jz=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.jz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualMenuArrowStroke",{get:function(){return i.brushToString(this.i.jc)},set:function(t){this.i.jc=i.stringToBrush(t),this._a("actualMenuArrowStroke",i.brushToString(this.i.jc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.j6)},set:function(t){this.i.j6=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.j6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.jj)},set:function(t){this.i.jj=i.stringToBrush(t),this._a("actualUncheckedBackgroundColor",i.brushToString(this.i.jj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.jm)},set:function(t){this.i.jm=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.jm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBackgroundColor",{get:function(){return i.brushToString(this.i.i1)},set:function(t){this.i.i1=i.stringToBrush(t),this._a("actualCheckedBackgroundColor",i.brushToString(this.i.i1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.j7)},set:function(t){this.i.j7=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.j7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUncheckedBorderColor",{get:function(){return i.brushToString(this.i.jk)},set:function(t){this.i.jk=i.stringToBrush(t),this._a("actualUncheckedBorderColor",i.brushToString(this.i.jk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.jn)},set:function(t){this.i.jn=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.jn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCheckedBorderColor",{get:function(){return i.brushToString(this.i.i2)},set:function(t){this.i.i2=i.stringToBrush(t),this._a("actualCheckedBorderColor",i.brushToString(this.i.i2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.c1},set:function(t){this.i.c1=+t,this._a("dropdownDelay",this.i.c1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDropdownDelay",{get:function(){return this.i.cz},set:function(t){this.i.cz=+t,this._a("actualDropdownDelay",this.i.cz)},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(vn,t),this._a("nestedActionMode",i.enumToString(vn,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.gw()},n.prototype.getDesiredSize=function(){var t=this.i.ka();return i.fromSize(t)},n.prototype.flushRefresh=function(){this.i.gb()},n.prototype.closeSubmenus=function(){this.i.f6()},n.prototype.exportVisualData=function(){return this.i.c5()},n.prototype.exportSerializedVisualData=function(){return this.i.es()},n.prototype.setBrushContextItem=function(t,e){this.i.g5(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.jp(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.g3(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.hd(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.cg(t)},n.prototype.setIntContextItem=function(t,e){this.i.hf(t,e)},n.prototype.getIntContextItem=function(t){return this.i.c2(t)},n.prototype.setStringContextItem=function(t,e){this.i.hh(t,e)},n.prototype.getStringContextItem=function(t){return this.i.et(t)},n.prototype.setBoolContextItem=function(t,e){this.i.g1(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.a2(t)},n.prototype.setColorContextItem=function(t,e){this.i.g7(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.j8(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.hb(t,e)},n.prototype.getDataContextItem=function(t){return this.i.c8(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 yn;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 xi;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),Cn=function(){function t(){}return t.register=function(){kt.register(),$i.register(),zi.register(),Li.register(),Mi.register(),tn.register(),nn.register(),on.register(),an.register(),un.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),n.IgcColorEditorModule.register(),n.IgcMultiSliderModule.register(),cn.register(),dn.register(),gn.register(),_n.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",_n),i.TypeRegistrar.registerCons("IgcToolPanelComponent",_n),i.TypeRegistrar.register("ToolPanel",Pi.$type)},t}(),jn=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}(),wn=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new 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}(),Pn=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 Si;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 Ri&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Ci},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-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 Si,e=this.i.autoGeneratedActions;e||(e=new _i),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 Si;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ni.$type),r=this.i.autoGeneratedActions;r||(r=new _i),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 Si,e=this.i.actualActions;e||(e=new _i),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 Si;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(ni.$type),r=this.i.actualActions;r||(r=new _i),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.fs)},set:function(t){this.i.fs=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.fs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.f6)},set:function(t){this.i.f6=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.f6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fx)},set:function(t){this.i.fx=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.f5)},set:function(t){this.i.f5=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.f5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.f1)},set:function(t){this.i.f1=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.f1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.f8)},set:function(t){this.i.f8=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.f8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.fv)},set:function(t){this.i.fv=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.fv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fz)},set:function(t){this.i.fz=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.ga)},set:function(t){this.i.ga=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.ga))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.f9)},set:function(t){this.i.f9=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.f9))},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.f2)},set:function(t){this.i.f2=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.f2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.f3)},set:function(t){this.i.f3=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.f3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.af?null:this.i.af.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.af=e,this._a("cellTextStyle",null!=this.i.af?this.i.af.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextStyle",{get:function(){return null==this.i.aj?null:this.i.aj.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.aj=e,this._a("subtitleTextStyle",null!=this.i.aj?this.i.aj.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextStyle",{get:function(){return null==this.i.ai?null:this.i.ai.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.ai=e,this._a("groupHeaderTextStyle",null!=this.i.ai?this.i.ai.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("separatorVerticalPaddingLeft",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("separatorVerticalPaddingRight",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bo},set:function(t){this.i.bo=+t,this._a("separatorVerticalPaddingTop",this.i.bo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("separatorVerticalPaddingBottom",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("separatorHorizontalPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("separatorHorizontalPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("separatorHorizontalPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("separatorHorizontalPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.aw},set:function(t){this.i.aw=i.ensureBool(t),this._a("showOnHover",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showTooltipOnHover",{get:function(){return this.i.ax},set:function(t){this.i.ax=i.ensureBool(t),this._a("showTooltipOnHover",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownClickBuffer",{get:function(){return this.i.bu},set:function(t){this.i.bu=+t,this._a("dropdownClickBuffer",this.i.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightWidth",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("highlightWidth",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightRadius",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("highlightRadius",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"highlightColor",{get:function(){return i.brushToString(this.i.f0)},set:function(t){this.i.f0=i.stringToBrush(t),this._a("highlightColor",i.brushToString(this.i.f0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"accentColor",{get:function(){return i.brushToString(this.i.fr)},set:function(t){this.i.fr=i.stringToBrush(t),this._a("accentColor",i.brushToString(this.i.fr))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"menuArrowStroke",{get:function(){return i.brushToString(this.i.f4)},set:function(t){this.i.f4=i.stringToBrush(t),this._a("menuArrowStroke",i.brushToString(this.i.f4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBackgroundColor",{get:function(){return i.brushToString(this.i.gb)},set:function(t){this.i.gb=i.stringToBrush(t),this._a("uncheckedBackgroundColor",i.brushToString(this.i.gb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBackgroundColor",{get:function(){return i.brushToString(this.i.ft)},set:function(t){this.i.ft=i.stringToBrush(t),this._a("checkedBackgroundColor",i.brushToString(this.i.ft))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"uncheckedBorderColor",{get:function(){return i.brushToString(this.i.gc)},set:function(t){this.i.gc=i.stringToBrush(t),this._a("uncheckedBorderColor",i.brushToString(this.i.gc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"checkedBorderColor",{get:function(){return i.brushToString(this.i.fu)},set:function(t){this.i.fu=i.stringToBrush(t),this._a("checkedBorderColor",i.brushToString(this.i.fu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.by},set:function(t){this.i.by=+t,this._a("rowHeight",this.i.by)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitleTextColor",{get:function(){return i.brushToString(this.i.f7)},set:function(t){this.i.f7=i.stringToBrush(t),this._a("subtitleTextColor",i.brushToString(this.i.f7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSubtitleTextColor",{get:function(){return i.brushToString(this.i.fy)},set:function(t){this.i.fy=i.stringToBrush(t),this._a("groupHeaderSubtitleTextColor",i.brushToString(this.i.fy))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"dropdownDelay",{get:function(){return this.i.bv},set:function(t){this.i.bv=+t,this._a("dropdownDelay",this.i.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"stopPropagation",{get:function(){return this.i.ay},set:function(t){this.i.ay=i.ensureBool(t),this._a("stopPropagation",this.i.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"scrollbarStyle",{get:function(){return this.i.v},set:function(t){this.i.v=i.ensureEnum(i.ScrollbarStyle_$type,t),this._a("scrollbarStyle",i.enumToString(i.ScrollbarStyle_$type,this.i.v))},enumerable:!1,configurable:!0}),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.d3()},n.prototype.isOpen=function(){return this.i.av()},n.prototype.getDesiredSize=function(){var t=this.i.ge();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.d0()},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.ek(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.cr(t,e)},n.prototype.registerMultiPathSVG=function(t,e,i){this.i.em(t,e,i)},n.prototype.getMultiPathSVGFromCache=function(t,e){return this.i.a(t,e)},n.prototype.registerIconFromDataURL=function(t,e,i){this.i.ej(t,e,i)},n.prototype.getDataURLFromCache=function(t,e){return this.i.cq(t,e)},n.prototype.registerIconSource=function(t,e,i){this.i.el(t,e,i)},n.prototype.getIconSource=function(t,e){return this.i.b8(t,e)},n.prototype.setBrushContextItem=function(t,e){this.i.ep(t,i.stringToBrush(e))},n.prototype.getBrushContextItem=function(t){var e=this.i.fw(t);return i.brushToString(e)},n.prototype.setBrushCollectionContextItem=function(t,e){this.i.eo(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.et(t,e)},n.prototype.getDoubleContextItem=function(t){return this.i.bd(t)},n.prototype.setIntContextItem=function(t,e){this.i.e0(t,e)},n.prototype.getExternalDoubleContextItem=function(t){return this.i.be(t)},n.prototype.setExternalDoubleContextItem=function(t,e){this.i.ey(t,e)},n.prototype.getIntContextItem=function(t){return this.i.bx(t)},n.prototype.setExternalIntContextItem=function(t,e){this.i.ez(t,e)},n.prototype.getExternalIntContextItem=function(t){return this.i.bw(t)},n.prototype.setStringContextItem=function(t,e){this.i.e1(t,e)},n.prototype.getStringContextItem=function(t){return this.i.cs(t)},n.prototype.setBoolContextItem=function(t,e){this.i.en(t,e)},n.prototype.getBoolContextItem=function(t){return this.i.au(t)},n.prototype.setColorContextItem=function(t,e){this.i.eq(t,i.stringToColor(e))},n.prototype.getColorContextItem=function(t){var e=this.i.gd(t);return i.colorToString(e)},n.prototype.setDataContextItem=function(t,e){this.i.es(t,e)},n.prototype.getDataContextItem=function(t){return this.i.b3(t)},n.prototype.setExternalDataContextItem=function(t,e){this.i.ex(t,e)},n.prototype.getExternalDataContextItem=function(t){return this.i.b7(t)},n.prototype.exportVisualData=function(){return this.i.b1()},n.prototype.exportSerializedVisualData=function(){return this.i.cp()},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 xi;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 jn;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 wn;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),Tn=function(){function t(){}return t.register=function(){Cn.register(),Pn.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Pn),i.TypeRegistrar.registerCons("IgcToolbarComponent",Pn),i.TypeRegistrar.register("Toolbar",Ci.$type)},t}(),kn=function(t){return t[t.Auto=0]="Auto",t[t.ComponentRendererOverlay=1]="ComponentRendererOverlay",t[t.DataSeriesToDescriptionCustomizations=2]="DataSeriesToDescriptionCustomizations",t}({}),On=i.markEnum("PropertyEditorPanelUpdateMode","Auto,0|ComponentRendererOverlay,1|DataSeriesToDescriptionCustomizations,2"),In=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),Sn=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),xn=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 Sn;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 In;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),An=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._label=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"label",{get:function(){return this._label},set:function(t){this._label=t},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"PropertyEditorPanelComboBoxBridgeItem"),n}(i.Base),Nn=function(t){function n(e,n,r){var o=t.call(this)||this;o.b=new i.DescriptionTreeNode,o.e=new i.List$1(i.DataSeriesToDescriptionCustomization.$,0),o.c=null,o.d=!1,o.c=e,o.b=new i.DescriptionTreeNode,o.b.i=n,o.d=r;new i.JsonDictionaryObject;return o}return e.__extends(n,t),n.prototype.a=function(){return this.e.toArray()},n.prototype.k=function(t,e,i){null!=t&&this.f(t,-1,e,this.b,i,null)},n.prototype.f=function(t,n,r,o,s,a){if(null==t)return null;var h=i.stringSplit(t,[".","["],0),u=h[0],l=h.length>1,c=!1,p=new i.List$1(i.Number_$type,0),f=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){c=!0;for(var d=(u=i.stringReplace(u,"]","")).split(","),b=0;b<d.length;b++){var g=d[b];if(i.stringContains(g,"as")){var y=g.indexOf("as"),m=g.substr(0,y).trim(),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],P=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),T=!1;-1==P&&(T=!0,P=0);for(var k=new i.List$1(i.Base.$,0),O=0;O<=P;O++)if(null!=C&&O<C.length){var I=C[O];null!==i.typeCast(i.DescriptionTreeNode.$,I)&&O==P&&(I.i=w),k.add1(I)}else{var S=this.g(a,!0,w);null!=S&&k.add1(S)}var x=(C=k.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)),T?-1:P,r,x,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,q=this.h(r,_);if(this.d){var V=new i.DataSeriesToDescriptionCustomization;V.matchType=s,V.propertyName=u,-1!=n&&(V.matchParentIndex=n),V.propertyValue=q,this.e.add(V)}z.o(u,q,_)}return null},n.prototype.i=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.h=function(t,e){if(null==e)return null;if(null==t)return 1==e.knownType&&"double"==e.specificExternalType?NaN:null;switch(e.knownType){case 10:case 7:return t;case 4:return t.toString();case 6:case 23:case 9:return t;case 5:return t.toString();case 16:case 20:case 22:case 15:case 3:case 19:case 8:case 13:case 18:case 1:case 11:case 14:case 12:case 2:case 21:case 17:case 0:return t}return null},n.prototype.g=function(t,e,n){if(e||10!=t.knownType&&9!=t.knownType){var r=new i.DescriptionTreeNode;return r.i=null!=n?n:null!=t.specificExternalType?t.specificExternalType:t.specificType,r}return new Array(0)},n.prototype.j=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.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),Bn=function(t){function n(){var e,n=t.call(this)||this;return n.n=null,n.m=null,n.a=null,n.i=null,n.l=null,n.e=null,n.k=null,n.b=((e=new i.FontInfo).q="Verdana",e.f=13,e.t="Normal",e.v="Normal",e.r="Normal",e),n.aa=new i.Size,n.c=null,n._gridExternal=null,n.f=!1,n.j=null,n}return e.__extends(n,t),n.prototype.p=function(){return this.i},n.prototype.v=function(){},n.prototype.t=function(t){var e=this;if(null!=t){this.a.k=new i.DOMExecutionContext(t),this.i=t,this.l=this.i.createElement("canvas"),this.e=new i.RenderingContext(new i.CanvasViewRenderer,this.i.get2DCanvasContext(this.l)),this.k=this.i.createElement("div"),this.y(),i.NativeUIComponent.au(this.p(),18,(function(t){var i=t;e.a.bw(i,e.n),i.an.setStyleProperty("width","100%"),i.an.setStyleProperty("height","100%"),e.i.append(i.an)}));Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.i.rootWrapper.setStyleProperty("position","relative")}else this.i=null},n.prototype.y=function(){},n.prototype.x=function(){this.i},n.prototype.s=function(){if(null!=this.i){var t=this.i.rootWrapper.width(),e=this.i.rootWrapper.height();this.aa=new i.Size(1,t,e),null!=this.a.l&&(this.a.cj(),this.a.l.b3(this.aa))}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cr),i.NativeUI.m(e,this.a.co))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.y(),i.FontUtil.measureStringWidth(t,this.c,this.e)},n.prototype.q=function(t,e){null==this.j&&(this.j=this.i.createElement("div")),e(this.j.getNativeElement())},n.$t=i.markType(n,"PropertyEditorPanelView"),n}(i.Base),Rn=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(),Qe.g(),e.at=new i.ObservableCollection$1(xn.$,0);var r=new Bn;r.a=e,e.p=r,e.p.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.ca)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"aa",{get:function(){return null==this.z&&(this.z=new i.SRProvider(this.p.i),this.z.cb("Layouts")),this.z},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,n){var r,o,s,a;if(null!=n.oldItems)try{for(var h=e.__values(i.fromEn(n.oldItems)),u=h.next();!u.done;u=h.next()){var l=u.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,l)){var c=l;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.bx))}}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}if(null!=n.newItems)try{for(var p=e.__values(i.fromEn(n.newItems)),f=p.next();!f.done;f=p.next()){var d=f.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,d)){var b=d;b.propertyChanged=i.delegateCombine(b.propertyChanged,i.runOn(this,this.bx))}}}catch(t){s={error:t}}finally{try{f&&!f.done&&(a=p.return)&&a.call(p)}finally{if(s)throw s.error}}this.an(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),null!=this.d&&this.d.notifyClearItems(),this.b5()},n.prototype.b5=function(){this.aj||null!=this.l&&this.cj()},n.prototype.bx=function(t,e){this.aj||(this.an(),null!=this.l&&this.cj())},n.prototype.notifySizeChanged=function(){this.p.s()},n.prototype.bw=function(t,e){if(this.l=t,null!=this.l){if(this.l.bs=i.runOn(this,this.b9),this.cl(),null!=this.actualProperties){this.a1=this.actualProperties;var n=this.actualProperties;n=this.actualProperties.toArray();var r=new i.LocalDataSource;r.dataSource=n,this.d=r,this.br()}null!=this.actualProperties&&this.cj()}},n.prototype.b9=function(t,e){if(this.aj=!0,this.aq.containsKey(e.a.commandId)){var i=this.aq.item(e.a.commandId);this.b3(i,e)}this.aj=!1},n.prototype.b3=function(t,e){switch(t.w){case 0:break;case 19:case 1:this.ch(t,e),this.b7(t);break;case 11:case 12:case 13:case 14:case 2:case 3:case 4:case 5:case 6:case 23:this.ci(t,e),this.b7(t);break;case 7:this.ce(t,e),this.b7(t);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:break;case 15:this.cg(t,e),this.b7(t);break;case 20:this.cf(t,e);break;default:return}},n.prototype.cf=function(t,e){t.a6()},n.prototype.cg=function(t,e){var i=e.a.argumentsList[0].value;if(null!=i&&i.length>0){var n=i[0];t.ar=n,t.aa=!0,t.a5()}else t.ar=null,t.aa=!0,t.a5()},n.prototype.ce=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ci=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.ch=function(t,e){var i=e.a.argumentsList[0].value;t.ar=i,t.aa=!0,t.a5()},n.prototype.cl=function(){null!=this.l&&(this.ak&&this.am?this.l.bu=2:this.ak?this.l.bu=1:this.l.bu=0)},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.p.t(t)},n.prototype.b4=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.b6("ActualProperties",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.b6("Properties",e,this.r)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"az",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.b6("RowHeight",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.b6("UpdateMode",i.enumGetBox(On,e),i.enumGetBox(On,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 _i,n=0;n<t;n++){var r=this.d.getItemAtIndex(n),o=this.u(r);null!=o&&e.add(o)}this.ck(e)}},n.prototype.ck=function(t){this.l.bt=t},n.prototype.a4=function(t){if(null==t)return null;for(var e=new i.List$1(An.$,0),n=function(i){var n;e.add(((n=new An).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.hs=null!=e.ar?e.ar:NaN,r.e7=this.bm(e),n=r,null!=e.a4&&(n.e1=e.a4);break;case 4:case 5:var o=new ri;o.hw=i.CSSColorUtil.g(e.ar),o.e7=this.bm(e),n=o,null!=e.a4&&(n.e1=e.a4);break;case 11:case 12:case 13:case 14:case 2:case 3:case 6:case 23:var s=new li;s.hs=e.ar,s.e7=this.bm(e),n=s,null!=e.a4&&(n.e1=e.a4);break;case 7:var a=new mi;a.hr=null!=e.ar&&e.ar,a.e7=this.bm(e),n=a,null!=e.a4&&(n.e1=e.a4);break;case 8:case 9:case 10:case 16:case 17:case 18:case 22:return null;case 15:var h=new oi;h.itemsSource=this.a4(this.c(e)),h.e7=this.bm(e),n=h,null!=e.a4&&(n.e1=e.a4),null!=e.ar&&(h.hq=new Ce,h.hq.add1(e.ar));break;case 20:var u=new ci;u.e7=this.bm(e),null!=e.ar&&"string"==typeof e.ar&&(u.e7=e.ar),n=u,null!=e.a4&&(n.e1=e.a4);break;case 24:var l=new di;l.hs=5,n=l;break;case 25:(n=new gi).e7=this.bm(e),null!=e.a4&&(n.e1=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.en=this.be+"_"+c,this.aq.item(n.en,e),n)},n.prototype.bl=function(t){return null==t?null:i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(i.stringReplace(t,".","__dot__"),"[","__ob__"),"]","__cb__")," ","__sp__"),"*","__star__")},n.prototype.b8=function(t,e){this.ad=!0,this.br(),this.ad=!1},n.prototype.cj=function(){null!=this.l&&(this.cd(),this.p.r())},n.prototype.cs=function(){return null!=this.l?this.l.bf(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY)):new i.Size(1,0,0)},n.prototype.a2=function(t){return t.i},n.prototype.b7=function(t){var e=this;if(null!=this.a3&&null!=this.f)if(2==this.o){var n=this.a(),r=this.a2(this.a3);null!==i.typeCast(i.IAcceptsDataSeriesToDescriptionCustomizations_$type,r)&&r.onCustomizationsChanged(n)}else{this.ah&&(this.ab=!0,this.ah=!1,this.f.addTargetPropertyUpdatingListener(i.runOn(this,this.ap)));var o=null==this.a5;this.a5=this.bg(),o?this.p.q(this.a3,(function(t){return e.f.loadJsonOverlay(e.a5,(function(e){return t}),(function(t){return e.a3}))})):this.p.q(this.a3,(function(t){return e.f.loadJsonDelta(e.a5,(function(e){return t}),!1)}))}},n.prototype.a=function(){var t=this.actualProperties,e=new Nn(this.i,this.be,!0);return this.bu(t,"",e,this.be),e.a()},n.b=function(t,e,i){var r=new Nn(t,e,!0);return n.bv(i,"",r,e),r.a()},n.prototype.ap=function(t,e,i){for(var n=this.actualProperties,r=0;r<n.count;r++){var o=n._inner[r].a3;this.ao(o,t)&&n._inner[r].a9(t,e,i)}return!!this.al},n.prototype.ao=function(t,e){if(null==t&&null==e)return!0;if(null==t)return!1;if(null==e)return!1;var n=i.stringSplit(t,[".","["],0),r=i.stringSplit(e,[".","["],0);if(n.length!=r.length)return!1;for(var o=0;o<n.length;o++){var s=n[o],a=r[o];if(i.stringContains(s,"]")){if(!i.stringContains(a,"]"))return!1;if(a=i.stringReplace(a,"]",""),!this.as(s).contains(a))return!1}else if(!i.Base.equalsStatic(s,a))return!1}return!0},n.prototype.as=function(t){var e=new i.List$1(i.String_$type,0);if(i.stringContains(t,"]")){for(var n=(t=i.stringReplace(t,"]","")).split(","),r=0;r<n.length;r++){var o=n[r];if(i.stringContains(o,"as")){var s=o.indexOf("as"),a=o.substr(0,s).trim();e.add(a)}}return e}return e.add(t),e},n.prototype.bg=function(){if(null==this.actualProperties)return null;var t=this.actualProperties,e=new Nn(this.i,this.be,!1);return this.bu(t,"",e,this.be),e.j()},n.prototype.bu=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r],s=o.ac,a=o.w,h=o.m,u=o.i,l=o.ar;if(s&&(a=o.v,h=o.l,u=o.h,l=o.ap),20!=a&&25!=a&&24!=a)if(null!=h&&h.count>0)for(var c=0;c<h.count;c++){var p=h._inner[c],f=e+o.a3+"["+c+"]";this.bu(p.a,f,i,p.b)}else if(null!=u){var d=e+o.a3;this.bu(u.a,d,i,u.b)}else{if(15==a&&null==l)continue;i.k(e+o.a3,l,n)}}},n.bv=function(t,e,r,o){for(var s=0;s<t.length;s++){var a=t[s],h=a.useCoercedValue,u=a.valueType,l=a.complexValues,c=a.complexValue,p=a.primitiveValue;h&&(u=a.coercedValueType,l=a.coercedComplexValues,c=a.coercedComplexValue,p=a.coercedPrimitiveValue);var f=0;if(20!=(f=i.EnumUtil.tryParse$1(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),En=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 Rn},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){if(this._disconnected)this._disconnected=!1;else{this.classList.add("ig-property-editor-panel"),this.classList.add("igc-property-editor-panel");var t=this._webComponentRenderer.rootWrapper.getNativeElement();this.appendChild(t),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this);for(var e=0;e<this.actualProperties.length;e++){this.actualProperties[e]._styling(this,this,this)}this.updateContentProperties(),this.afterContentInit()}},n.prototype.afterContentInit=function(){this.i.notifySizeChanged()},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcPropertyEditorPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcPropertyEditorPanelComponent=t}return n._observedAttributesIgcPropertyEditorPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"actualDataSource",{get:function(){if(null===this._actualDataSource){var t=new qt,e=this.i.actualProperties;e||(e=new zt),this._actualDataSource=t._fromInner(e),this.i.actualProperties=e}return this._actualDataSource},set:function(t){null!==this._actualDataSource&&(this._actualDataSource._setSyncTarget(null),this._actualDataSource=null);var e=new qt;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Rt.$type),r=this.i.actualProperties;r||(r=new zt),n._inner=r,n.clear(),this._actualDataSource._setSyncTarget(n),this.i.actualProperties=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.az},set:function(t){this.i.az=+t,this._a("rowHeight",this.i.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"updateMode",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(On,t),this._a("updateMode",i.enumToString(On,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),$n=function(){function t(){}return t.register=function(){Wt.register(),Tn.register(),En.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",En),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",En),i.TypeRegistrar.register("PropertyEditorPanel",Rn.$type)},t}(),Dn=function(t){return t[t.None=0]="None",t[t.ValueToText=1]="ValueToText",t[t.TextToValue=2]="TextToValue",t}({}),zn=i.markEnum("ComboEditorCloneDataSourceFilterOperation","None,0|ValueToText,1|TextToValue,2"),qn=function(t){return t[t.Value=0]="Value",t[t.Text=1]="Text",t[t.Row=2]="Row",t}({}),Vn=i.markEnum("ComboEditorSelectedItemChangeType","Value,0|Text,1|Row,2"),Un=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcListPanelPrimaryKeyValue",mt),i.TypeRegistrar.register("ListPanelPrimaryKeyValue",E.$type)},t}(),Ln=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),Fn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcLayoutPrimaryKeyValue",qi),i.TypeRegistrar.register("LayoutPrimaryKeyValue",ke.$type)},t}(),Mn=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),Hn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new ri},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._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.hw)},set:function(t){this.i.hw=i.stringToBrush(t),this._a("value",i.brushToString(this.i.hw))},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionColorEditorComponent=null,n.htmlTagName="igc-tool-action-color-editor",n._isElementRegistered=!1,n}(Ri),Gn=function(){function t(){}return t.register=function(){Hn.register(),i.TypeRegistrar.registerCons("IgcToolActionColorEditorComponent",Hn),i.TypeRegistrar.register("ToolActionColorEditor",ri.$type)},t}(),Wn=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 oi},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._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.hu},set:function(t){this.i.hu=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueMemberPath",{get:function(){return this.i.hy},set:function(t){this.i.hy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"selectedValues",{get:function(){if(null===this._selectedValues){var t=new Mn,e=this.i.hq;e||(e=new Ce),this._selectedValues=t._fromInner(e),this.i.hq=e}return this._selectedValues},set:function(t){null!==this._selectedValues&&(this._selectedValues._setSyncTarget(null),this._selectedValues=null);var e=new Mn;this._selectedValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(i.Base.$type),r=this.i.hq;r||(r=new Ce),n._inner=r,n.clear(),this._selectedValues._setSyncTarget(n),this.i.hq=r},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionComboComponent=null,n.htmlTagName="igc-tool-action-combo",n._isElementRegistered=!1,n}(Ri),Kn=function(){function t(){}return t.register=function(){Wn.register(),i.TypeRegistrar.registerCons("IgcToolActionComboComponent",Wn),i.TypeRegistrar.register("ToolActionCombo",oi.$type)},t}(),Xn=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new si},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.connectedCallback=function(){t.prototype.connectedCallback&&t.prototype.connectedCallback.call(this),this.i.connectedCallback&&this.i.connectedCallback(),this.updateContentChildren?this.updateContentChildren():this._updateAdapters&&this._updateAdapters(),this._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._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.id},set:function(t){this.i.id=i.ensureBool(t),this._a("leftIsSelected",this.i.id)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsSelected",{get:function(){return this.i.ih},set:function(t){this.i.ih=i.ensureBool(t),this._a("rightIsSelected",this.i.ih)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIsDisabled",{get:function(){return this.i.ic},set:function(t){this.i.ic=i.ensureBool(t),this._a("leftIsDisabled",this.i.ic)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIsDisabled",{get:function(){return this.i.ig},set:function(t){this.i.ig=i.ensureBool(t),this._a("rightIsDisabled",this.i.ig)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconName",{get:function(){return this.i.i9},set:function(t){this.i.i9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftCommandArgument",{get:function(){return this.i.i3},set:function(t){this.i.i3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isToggleDisabled",{get:function(){return this.i.ib},set:function(t){this.i.ib=i.ensureBool(t),this._a("isToggleDisabled",this.i.ib)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconCollectionName",{get:function(){return this.i.i5},set:function(t){this.i.i5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxLeft",{get:function(){return this.i.io},set:function(t){this.i.io=+t,this._a("leftIconViewBoxLeft",this.i.io)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxTop",{get:function(){return this.i.ip},set:function(t){this.i.ip=+t,this._a("leftIconViewBoxTop",this.i.ip)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxWidth",{get:function(){return this.i.iq},set:function(t){this.i.iq=+t,this._a("leftIconViewBoxWidth",this.i.iq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconViewBoxHeight",{get:function(){return this.i.im},set:function(t){this.i.im=+t,this._a("leftIconViewBoxHeight",this.i.im)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFill",{get:function(){return i.brushToString(this.i.kc)},set:function(t){this.i.kc=i.stringToBrush(t),this._a("leftIconFill",i.brushToString(this.i.kc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconFill",{get:function(){return i.brushToString(this.i.j8)},set:function(t){this.i.j8=i.stringToBrush(t),this._a("actualLeftIconFill",i.brushToString(this.i.j8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hs)},set:function(t){this.i.hs=i.toBrushCollection(t),this._a("leftIconFillColors",i.brushCollectionToString(this.i.hs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStroke",{get:function(){return i.brushToString(this.i.kd)},set:function(t){this.i.kd=i.stringToBrush(t),this._a("leftIconStroke",i.brushToString(this.i.kd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualLeftIconStroke",{get:function(){return i.brushToString(this.i.j9)},set:function(t){this.i.j9=i.stringToBrush(t),this._a("actualLeftIconStroke",i.brushToString(this.i.j9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.ht)},set:function(t){this.i.ht=i.toBrushCollection(t),this._a("leftIconStrokeColors",i.brushCollectionToString(this.i.ht))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftIconStrokeWidth",{get:function(){return this.i.il},set:function(t){this.i.il=+t,this._a("leftIconStrokeWidth",this.i.il)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"leftTitle",{get:function(){return this.i.jk},set:function(t){this.i.jk=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconName",{get:function(){return this.i.js},set:function(t){this.i.js=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightCommandArgument",{get:function(){return this.i.jm},set:function(t){this.i.jm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconCollectionName",{get:function(){return this.i.jo},set:function(t){this.i.jo=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxLeft",{get:function(){return this.i.it},set:function(t){this.i.it=+t,this._a("rightIconViewBoxLeft",this.i.it)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxTop",{get:function(){return this.i.iu},set:function(t){this.i.iu=+t,this._a("rightIconViewBoxTop",this.i.iu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxWidth",{get:function(){return this.i.iv},set:function(t){this.i.iv=+t,this._a("rightIconViewBoxWidth",this.i.iv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconViewBoxHeight",{get:function(){return this.i.is},set:function(t){this.i.is=+t,this._a("rightIconViewBoxHeight",this.i.is)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFill",{get:function(){return i.brushToString(this.i.ke)},set:function(t){this.i.ke=i.stringToBrush(t),this._a("rightIconFill",i.brushToString(this.i.ke))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconFill",{get:function(){return i.brushToString(this.i.ka)},set:function(t){this.i.ka=i.stringToBrush(t),this._a("actualRightIconFill",i.brushToString(this.i.ka))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconFillColors",{get:function(){return i.fromBrushCollection(this.i.hu)},set:function(t){this.i.hu=i.toBrushCollection(t),this._a("rightIconFillColors",i.brushCollectionToString(this.i.hu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStroke",{get:function(){return i.brushToString(this.i.kf)},set:function(t){this.i.kf=i.stringToBrush(t),this._a("rightIconStroke",i.brushToString(this.i.kf))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRightIconStroke",{get:function(){return i.brushToString(this.i.kb)},set:function(t){this.i.kb=i.stringToBrush(t),this._a("actualRightIconStroke",i.brushToString(this.i.kb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeColors",{get:function(){return i.fromBrushCollection(this.i.hv)},set:function(t){this.i.hv=i.toBrushCollection(t),this._a("rightIconStrokeColors",i.brushCollectionToString(this.i.hv))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightIconStrokeWidth",{get:function(){return this.i.ir},set:function(t){this.i.ir=+t,this._a("rightIconStrokeWidth",this.i.ir)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rightTitle",{get:function(){return this.i.j3},set:function(t){this.i.j3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"displayType",{get:function(){return this.i.hw},set:function(t){this.i.hw=i.ensureEnum(Pe,t),this._a("displayType",i.enumToString(Pe,this.i.hw))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cornerRadius",{get:function(){return this.i.ii},set:function(t){this.i.ii=+t,this._a("cornerRadius",this.i.ii)},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionButtonPairComponent=null,n.htmlTagName="igc-tool-action-button-pair",n._isElementRegistered=!1,n}(Ri),Qn=function(){function t(){}return t.register=function(){Xn.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonPairComponent",Xn),i.TypeRegistrar.register("ToolActionButtonPair",si.$type)},t}(),Yn=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),Jn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorAggregation",Gi),i.TypeRegistrar.register("ToolActionFieldSelectorAggregation",Hi.$type)},t}(),Zn=function(){function t(){}return t.register=function(){i.TypeRegistrar.registerCons("IgcToolActionFieldSelectorSelectedAggregation",Xi),i.TypeRegistrar.register("ToolActionFieldSelectorSelectedAggregation",Ki.$type)},t}(),tr=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._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.hs},set:function(t){this.i.hs=t},enumerable:!1,configurable:!0}),n.prototype.exportVisualData=function(){return this.i.cr()},n._observedAttributesIgcToolActionTextInputComponent=null,n.htmlTagName="igc-tool-action-text-input",n._isElementRegistered=!1,n}(Ri),er=function(){function t(){}return t.register=function(){tr.register(),i.TypeRegistrar.registerCons("IgcToolActionTextInputComponent",tr),i.TypeRegistrar.register("ToolActionTextInput",li.$type)},t}(),ir=new i.Type(null,"IExternalToolbar"),nr=new i.Type(null,"IToolbarView"),rr=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),or=new i.Type(null,"IExternalToolPanel"),sr=new i.Type(null,"IToolPanelView"),ar=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}(),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 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}(),ur=new i.Type(null,"IExternalListPanel"),lr=new i.Type(null,"IListPanelView"),cr=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),pr=new i.Type(null,"IListPanelViewportManager"),fr=new i.Type(null,"IPropertyEditorPanelView"),dr=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),br=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),gr=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),yr=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new Bt},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"descriptionType",{get:function(){return this.i.n},set:function(t){this.i.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"context",{get:function(){return this.i.b},set:function(t){this.i.b=t},enumerable:!1,configurable:!0}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}();t.ComboEditor=_,t.ComboEditorBridge=Yt,t.ComboEditorCloneDataSourceFilterOperation=Dn,t.ComboEditorCloneDataSourceFilterOperation_$type=zn,t.ComboEditorDataSourceNotificationHandler=C,t.ComboEditorGotFocusEventArgs=g,t.ComboEditorLostFocusEventArgs=y,t.ComboEditorMultipleDataSourceNotifier=m,t.ComboEditorSelectedItemChangeType=qn,t.ComboEditorSelectedItemChangeType_$type=Vn,t.ComboEditorTextChangedEventArgs=f,t.ComboEditorValueChangedEventArgs=d,t.ComboEditorView=v,t.ComboEditorVisualModelExport=b,t.DrillDownRequestedEventArgs=Ti,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=a,t.GridColumnProviderOnAttachingOverrideEventArgs=Yn,t.IExternalListPanel_$type=ur,t.IExternalToolPanel_$type=or,t.IExternalToolbar_$type=ir,t.IListPanelView_$type=lr,t.IListPanelViewportManager_$type=pr,t.INativeUIToolPanelBridge_$type=Jt,t.INativeUIToolbarBridge_$type=ae,t.IPropertyEditorPanelView_$type=fr,t.IToolPanelView_$type=sr,t.IToolbarView_$type=nr,t.IgcComboEditorComponent=k,t.IgcComboEditorGotFocusEventArgs=P,t.IgcComboEditorLostFocusEventArgs=T,t.IgcComboEditorModule=Ot,t.IgcComboEditorTextChangedEventArgs=j,t.IgcComboEditorValueChangedEventArgs=w,t.IgcLayoutPrimaryKeyValue=qi,t.IgcLayoutPrimaryKeyValueModule=Fn,t.IgcLayoutSelectedItemsCollection=Mn,t.IgcLayoutSelectedKeysCollection=Vi,t.IgcListPanelActiveRowChangedEventArgs=gt,t.IgcListPanelComponent=Tt,t.IgcListPanelContentRebindEventArgs=Pt,t.IgcListPanelContentRecycledEventArgs=wt,t.IgcListPanelContentRefreshedEventArgs=ct,t.IgcListPanelItemEventArgs=bt,t.IgcListPanelItemModel=ut,t.IgcListPanelModule=kt,t.IgcListPanelPrimaryKeyValue=mt,t.IgcListPanelPrimaryKeyValueModule=Un,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=yr,t.IgcPropertyEditorDescriptionObject=Vt,t.IgcPropertyEditorDescriptionObjectCollection=Ut,t.IgcPropertyEditorPanelComponent=En,t.IgcPropertyEditorPanelModule=$n,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=Lt,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=Ft,t.IgcPropertyEditorPropertyDescriptionCoercingValueEventArgs=Ht,t.IgcPropertyEditorPropertyDescriptionCollection=qt,t.IgcPropertyEditorPropertyDescriptionComponent=Gt,t.IgcPropertyEditorPropertyDescriptionModule=Wt,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Mt,t.IgcToolActionButtonComponent=hn,t.IgcToolActionButtonModule=un,t.IgcToolActionButtonPairComponent=Xn,t.IgcToolActionButtonPairModule=Qn,t.IgcToolActionCheckboxComponent=Di,t.IgcToolActionCheckboxListComponent=Ui,t.IgcToolActionCheckboxListModule=Li,t.IgcToolActionCheckboxModule=zi,t.IgcToolActionCollection=Si,t.IgcToolActionColorEditorComponent=Hn,t.IgcToolActionColorEditorModule=Gn,t.IgcToolActionComboComponent=Wn,t.IgcToolActionComboModule=Kn,t.IgcToolActionComponent=Ri,t.IgcToolActionEventDetail=Ai,t.IgcToolActionEventDetailCollection=Ni,t.IgcToolActionFieldSelectorAggregation=Gi,t.IgcToolActionFieldSelectorAggregationModule=Jn,t.IgcToolActionFieldSelectorAggregationsCollection=Wi,t.IgcToolActionFieldSelectorComponent=Zi,t.IgcToolActionFieldSelectorModule=tn,t.IgcToolActionFieldSelectorSelectedAggregation=Xi,t.IgcToolActionFieldSelectorSelectedAggregationModule=Zn,t.IgcToolActionFieldSelectorSelectedAggregationsCollection=Qi,t.IgcToolActionGroupHeaderComponent=Fi,t.IgcToolActionGroupHeaderModule=Mi,t.IgcToolActionIconButtonComponent=fn,t.IgcToolActionIconButtonModule=dn,t.IgcToolActionIconMenuComponent=bn,t.IgcToolActionIconMenuModule=gn,t.IgcToolActionLabelComponent=Ei,t.IgcToolActionLabelModule=$i,t.IgcToolActionNumberInputComponent=en,t.IgcToolActionNumberInputModule=nn,t.IgcToolActionPerformedEventArgs=Bi,t.IgcToolActionPopupOpeningEventArgs=pn,t.IgcToolActionRadioComponent=sn,t.IgcToolActionRadioModule=an,t.IgcToolActionSeparatorComponent=rn,t.IgcToolActionSeparatorModule=on,t.IgcToolActionSubPanelComponent=ln,t.IgcToolActionSubPanelModule=cn,t.IgcToolActionTextInputComponent=tr,t.IgcToolActionTextInputModule=er,t.IgcToolCommandEventArgs=xi,t.IgcToolContextBinding=Xt,t.IgcToolContextBindingCollection=Qt,t.IgcToolPanelComponent=_n,t.IgcToolPanelContentRefreshedEventArgs=yn,t.IgcToolPanelContextChangedEventArgs=ar,t.IgcToolPanelContextSwappedEventArgs=hr,t.IgcToolPanelModule=Cn,t.IgcToolbarComponent=Pn,t.IgcToolbarModule=Tn,t.IgcToolbarSubMenuClosingEventArgs=wn,t.IgcToolbarSubMenuOpeningEventArgs=jn,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.LayoutPrimaryKeyValue=ke,t.LayoutSelectedItemsCollection=Ce,t.LayoutSelectedKeysCollection=Oe,t.ListPanel=et,t.ListPanelActivationManager=ht,t.ListPanelActivationMode=x,t.ListPanelActivationMode_$type=A,t.ListPanelActiveRowChangedEventArgs=H,t.ListPanelColumnDefinition=Q,t.ListPanelContentRebindEventArgs=U,t.ListPanelContentRecycledEventArgs=V,t.ListPanelContentRefreshedEventArgs=G,t.ListPanelDataBindingEventArgs=cr,t.ListPanelDataSourceNotificationBridge=nt,t.ListPanelItemEventArgs=st,t.ListPanelItemModel=ot,t.ListPanelItemPresenter=W,t.ListPanelItemVisualData=Y,t.ListPanelLayoutPanel=rt,t.ListPanelOrientation=D,t.ListPanelOrientation_$type=z,t.ListPanelPrimaryKeyValue=E,t.ListPanelRowRange=Z,t.ListPanelScrollerKeyboardListener=dt,t.ListPanelSelectedItemsChangedEventArgs=L,t.ListPanelSelectedItemsCollection=R,t.ListPanelSelectedKeysChangedEventArgs=F,t.ListPanelSelectedKeysCollection=$,t.ListPanelSelectionBehavior=N,t.ListPanelSelectionBehavior_$type=B,t.ListPanelSelectionChangedEventArgs=M,t.ListPanelSelectionManager=at,t.ListPanelSelectionMode=I,t.ListPanelSelectionMode_$type=S,t.ListPanelTemplateHeightRequestedEventArgs=X,t.ListPanelTemplateItemUpdatingEventArgs=it,t.ListPanelTemplateWidthRequestedEventArgs=K,t.ListPanelView=tt,t.ListPanelViewportChangedEventArgs=q,t.ListPanelVisualData=J,t.ListPanelVisualModel=O,t.NativeUIContentRefreshedEventArgs=Ln,t.NativeUILayoutFactory=Qe,t.NativeUIToolPanel=ei,t.NativeUIToolbar=ii,t.NativeUIToolbarSubMenuClosingEventArgs=ce,t.NativeUIToolbarSubMenuOpeningEventArgs=ue,t.NestedActionMode=mn,t.NestedActionMode_$type=vn,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=s,t.PanelAnimationRequest=Ii,t.PanelInfo=Oi,t.PropertyEditorDataSource=Bt,t.PropertyEditorDescriptionObject=$t,t.PropertyEditorDescriptionObjectCollection=Dt,t.PropertyEditorPanel=Rn,t.PropertyEditorPanelColumnDefinition=xn,t.PropertyEditorPanelColumnFieldType_$type=br,t.PropertyEditorPanelColumnType_$type=dr,t.PropertyEditorPanelComboBoxBridgeItem=An,t.PropertyEditorPanelDataBindingEventArgs=Sn,t.PropertyEditorPanelDropDownDataListItem=gr,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=In,t.PropertyEditorPanelUpdateMode=kn,t.PropertyEditorPanelUpdateMode_$type=On,t.PropertyEditorPanelView=Bn,t.PropertyEditorPropertyDescription=Rt,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=xt,t.PropertyEditorPropertyDescriptionChangedEventArgs=At,t.PropertyEditorPropertyDescriptionCoercingValueEventArgs=Et,t.PropertyEditorPropertyDescriptionCollection=zt,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=Nt,t.PropertyEditorTreeTransformer=Nn,t.PropertyEditorValueType=It,t.PropertyEditorValueType_$type=St,t.ToolAction=ni,t.ToolActionButton=ci,t.ToolActionButtonDisplayType=ze,t.ToolActionButtonDisplayType_$type=qe,t.ToolActionButtonGroupDisplayType=we,t.ToolActionButtonGroupDisplayType_$type=Pe,t.ToolActionButtonPair=si,t.ToolActionButtonPairVisualData=Te,t.ToolActionButtonVisualData=Ve,t.ToolActionCheckbox=mi,t.ToolActionCheckboxList=ai,t.ToolActionCheckboxListIndexType=Ie,t.ToolActionCheckboxListIndexType_$type=Se,t.ToolActionCheckboxListVisualData=xe,t.ToolActionCheckboxVisualData=We,t.ToolActionCollection=_i,t.ToolActionColorEditor=ri,t.ToolActionColorEditorVisualData=_e,t.ToolActionCombo=oi,t.ToolActionComboVisualData=je,t.ToolActionEventDetail=ge,t.ToolActionEventDetailCollection=me,t.ToolActionFieldSelector=hi,t.ToolActionFieldSelectorAggregation=Hi,t.ToolActionFieldSelectorAggregationsCollection=Yi,t.ToolActionFieldSelectorEventType=Re,t.ToolActionFieldSelectorEventType_$type=Ee,t.ToolActionFieldSelectorSelectedAggregation=Ki,t.ToolActionFieldSelectorSelectedAggregationsCollection=Ji,t.ToolActionFieldSelectorType=Ae,t.ToolActionFieldSelectorType_$type=Ne,t.ToolActionFieldSelector_ToolActionFieldSelectorItem=Be,t.ToolActionGroupHeader=gi,t.ToolActionGroupHeaderVisualData=He,t.ToolActionIconButton=bi,t.ToolActionIconMenu=yi,t.ToolActionIconMenuVisualData=Ge,t.ToolActionLabel=pi,t.ToolActionLabelVisualData=Ue,t.ToolActionMeasurementContext=ye,t.ToolActionNumberInput=vi,t.ToolActionNumberInputVisualData=Ke,t.ToolActionPerformedEventArgs=ve,t.ToolActionPopupOpeningEventArgs=wi,t.ToolActionRadio=fi,t.ToolActionRadioVisualData=Le,t.ToolActionSeparator=di,t.ToolActionSeparatorVisualData=Fe,t.ToolActionSubPanel=ui,t.ToolActionSubPanelVisualData=$e,t.ToolActionTextInput=li,t.ToolActionTextInputVisualData=De,t.ToolActionVisualData=re,t.ToolCommandEventArgs=Zt,t.ToolContextBinding=Kt,t.ToolContextBindingCollection=de,t.ToolPanel=Pi,t.ToolPanelContentRefreshedEventArgs=Xe,t.ToolPanelContext=ne,t.ToolPanelContextChangedEventArgs=ie,t.ToolPanelContextSwappedEventArgs=be,t.ToolPanelDropdownMenuVisualData=se,t.ToolPanelOrientation=te,t.ToolPanelOrientation_$type=ee,t.ToolPanelView=ti,t.ToolPanelVisualData=oe,t.ToolPanelsPresenter=ki,t.Toolbar=Ci,t.ToolbarContextAccessor=ji,t.ToolbarIconManager=rr,t.ToolbarOrientation=pe,t.ToolbarOrientation_$type=fe,t.ToolbarSubMenuClosingEventArgs=le,t.ToolbarSubMenuOpeningEventArgs=he,t.ToolbarView=Ze,t.TooltipTextPresenter=Me,t.XExpansionPanel=h,t.XToolPanelBridge=Ye,t.XToolbarBridge=Je,Object.defineProperty(t,"__esModule",{value:!0})}));
|