igniteui-webcomponents-layouts 4.6.0 → 4.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/igniteui-webcomponents-layouts.umd.js +43 -43
- package/bundles/igniteui-webcomponents-layouts.umd.min.js +1 -1
- package/esm2015/lib/ExpansionPanelView_combined.js +7 -7
- package/esm2015/lib/ListPanelView_combined.js +2 -2
- package/esm2015/lib/NativeUILayoutFactory_combined.js +29 -29
- package/esm2015/lib/PropertyEditorPanelView_combined.js +3 -3
- package/esm2015/lib/TooltipTextPresenter.js +2 -2
- package/esm5/lib/ExpansionPanelView_combined.js +7 -7
- package/esm5/lib/ListPanelView_combined.js +2 -2
- package/esm5/lib/NativeUILayoutFactory_combined.js +29 -29
- package/esm5/lib/PropertyEditorPanelView_combined.js +3 -3
- package/esm5/lib/TooltipTextPresenter.js +2 -2
- package/fesm2015/igniteui-webcomponents-layouts.js +43 -43
- package/fesm5/igniteui-webcomponents-layouts.js +43 -43
- package/package.json +3 -3
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
https://www.infragistics.com/legal/license/igultimate-eula
|
|
5
5
|
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE: you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
|
|
6
6
|
*/
|
|
7
|
-
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("tslib"),require("igniteui-webcomponents-core"),require("igniteui-webcomponents-inputs")):"function"==typeof define&&define.amd?define(["exports","tslib","igniteui-webcomponents-core","igniteui-webcomponents-inputs"],e):e((t=t||self)["igniteui-webcomponents-layouts"]={},t.tslib,t.igniteuiWebcomponentsCore,t.igniteuiWebcomponentsInputs)}(this,(function(t,e,i,n){"use strict";var r=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.a=function(t){return t.getNativeElement().checked},n.b=function(t,e){t.getNativeElement().checked=e},n.c=function(t){var e=0;return t.altKey&&(e|=1),t.shiftKey&&(e|=4),t.ctrlKey&&(e|=2),e},n.$t=i.markType(n,"ExpansionPanelUtilities"),n}(i.Base),o=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return e.__extends(n,t),n.$t=i.markType(n,"OnCollapsedEventArgs",i.EventArgs.$),n}(i.EventArgs),a=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),s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},n.prototype.y=function(t){this.q=t,this.ab()},n.prototype.z=function(t){this.g=t},n.prototype.aa=function(){},n.prototype.af=function(t){var e=this.k;this.p=t;var n=e.createElement("div");this.p.append(n),this.v(n);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var a=e.createElement("div");r.append(a),this.o=e.createElement("label"),a.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),n.setStyleProperty("display","flex"),n.setStyleProperty("justify-content","center"),n.setStyleProperty("flex-direction","column"),n.setStyleProperty("margin","0px 10px 0px 10px"),n.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",i.runOn(this,this.w)),this.p.listen("keydown",i.runOn(this,this.x))},n.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var i=t.componentRef;e.f=i.i,e.f.fill=n.al,e.ag()}),!1)},n.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},n.prototype.ad=function(t){this.k;this.m=t},n.prototype.w=function(t){t.originalEvent.target;this.h.a2()},n.prototype.x=function(t){var e=i.BaseDOMEventProxy.c0(t),n=r.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==n&&(this.h.au(),t.preventDefault());break;case 15:1==n&&(this.h.ar(),t.preventDefault())}},n.$t=i.markType(n,"ExpansionPanelView"),n.al=i.BrushUtil.g(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),u=function(t){function n(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.ag=i.stringEmpty(),e.be=null,e.a5=n.bt,e.bc=null,e.bd=null,e.p=-1,e.o=n.r,e.m=!0,e.bf=null,e.a6=n.bu,e.bg=null,e.bh=null,e.a8=n.bw,e.a7=n.bv,e.a3=n.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(n,t),n.prototype.aw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},Object.defineProperty(n.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var i=this.m;this.m=t;var n=this.h(this.m),r=this.i(this.m),s=this.j(this.m),u=this.k(this.m),l=this.l(this.m);n.play(),r.play(),s.play(),u.play(),l.play(),n.finished.f((function(t){return n.commitStyles()})),r.finished.f((function(t){return r.commitStyles()})),s.finished.f((function(t){return s.commitStyles()})),u.finished.f((function(t){return u.commitStyles()})),l.finished.f((function(t){l.commitStyles(),e.aw("Expanded",i,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new a):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 s},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(),a=this.bj,s=this.b0(),u=this.bk,l=this.b2();r!=o||a!=s||u!=l?(this.bl=o,this.bj=s,this.bk=l):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?n.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},n.prototype.h=function(t){var n=this.bj,r=this.b1(t),o=t?this.b():this.a(),a=this.g.a(o),s=[new i.AnimationKeyFrameProperty(7,n)],u=[new i.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spreadArray([],e.__read(s),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.i=function(t){var n=this.bk,r=this.b3(t),o=t?this.b():this.a(),a=this.g.b(o),s=[new i.AnimationKeyFrameProperty(7,n)],u=[new i.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spreadArray([],e.__read(s),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.j=function(t){var n=this.bl,r=this.b5(t),o=t?this.b():this.a(),a=this.g.c(o),s=[new i.AnimationKeyFrameProperty(2,n)],u=[new i.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spreadArray([],e.__read(s),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.k=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?-n:0,o=t?0:-n,a=t?0:1,s=t?1:0,u=t?this.b():this.a(),l=new i.TranslateTransform;l.k=r;var h=new i.TranslateTransform;h.k=o;var c=this.g.d(u),p=[new i.AnimationKeyFrameProperty(14,l),new i.AnimationKeyFrameProperty(1,a)],f=[new i.AnimationKeyFrameProperty(14,h),new i.AnimationKeyFrameProperty(1,s)];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,a=t?this.b():this.a(),s=this.g.e(a),u=[new i.AnimationKeyFrameProperty(10,r)],l=[new i.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spreadArray([],e.__read(u),!1)),s.m.apply(s,e.__spreadArray([],e.__read(l),!1)),i.KeyFrameAnimationFactory.f.c(s)},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.g(188,0,0,0),n.bt=i.BrushUtil.g(188,0,0,0),n.r=2,n.bu=i.BrushUtil.g(255,245,245,245),n.bw=i.BrushUtil.g(66,0,0,0),n.bv=i.BrushUtil.g(30,0,0,0),n.br=i.BrushUtil.g(20,0,0,0),n}(i.Base),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 a},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}(),h=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 a=n._webComponentRenderer.createElement("div");return a.setAttribute("key","expansionPanelContentAreaInner"),o.append(a),n._mainDiv.append(r),n._mainDiv.append(o),new MutationObserver((function(t){var i,s;try{for(var u=e.__values(t),l=u.next();!l.done;l=u.next()){if("childList"==l.value.type)for(var h=0;h<n.childNodes.length;h++){var c=n.childNodes[h];c!=n._mainDiv.getNativeElement()&&c!==r.getNativeElement()&&c!==o.getNativeElement()&&c!==a.getNativeElement()&&(c.remove(),a.append(n._webComponentRenderer.getWrapper(c)))}}}catch(t){i={error:t}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}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(a)),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 u},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},n.prototype.afterContentInit=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXExpansionPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXExpansionPanelComponent=t}return n._observedAttributesIgcXExpansionPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionTextColor",{get:function(){return i.brushToString(this.i.bq)},set:function(t){this.i.bq=i.stringToBrush(t),this._a("captionTextColor",i.brushToString(this.i.bq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCaptionTextColor",{get:function(){return i.brushToString(this.i.bj)},set:function(t){this.i.bj=i.stringToBrush(t),this._a("actualCaptionTextColor",i.brushToString(this.i.bj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bo)},set:function(t){this.i.bo=i.stringToBrush(t),this._a("captionCollapsedTextColor",i.brushToString(this.i.bo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionExpandedTextColor",{get:function(){return i.brushToString(this.i.bp)},set:function(t){this.i.bp=i.stringToBrush(t),this._a("captionExpandedTextColor",i.brushToString(this.i.bp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionTextColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("descriptionTextColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionTextColor",{get:function(){return i.brushToString(this.i.bk)},set:function(t){this.i.bk=i.stringToBrush(t),this._a("actualDescriptionTextColor",i.brushToString(this.i.bk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bx)},set:function(t){this.i.bx=i.stringToBrush(t),this._a("descriptionCollapsedTextColor",i.brushToString(this.i.bx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionExpandedTextColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("descriptionExpandedTextColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerBackgroundColor",{get:function(){return i.brushToString(this.i.b6)},set:function(t){this.i.b6=i.stringToBrush(t),this._a("headerBackgroundColor",i.brushToString(this.i.b6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.bl)},set:function(t){this.i.bl=i.stringToBrush(t),this._a("actualHeaderBackgroundColor",i.brushToString(this.i.bl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerCollapsedBackgroundColor",{get:function(){return i.brushToString(this.i.b7)},set:function(t){this.i.b7=i.stringToBrush(t),this._a("headerCollapsedBackgroundColor",i.brushToString(this.i.b7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerExpandedBackgroundColor",{get:function(){return i.brushToString(this.i.b8)},set:function(t){this.i.b8=i.stringToBrush(t),this._a("headerExpandedBackgroundColor",i.brushToString(this.i.b8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.bn)},set:function(t){this.i.bn=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.bn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.bm)},set:function(t){this.i.bm=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.bm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.bi)},set:function(t){this.i.bi=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.bi))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("XExpansionPanelComponent");var a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),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 h;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 l;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",u.$type)},t}(),f=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}({}),d=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"),b=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),g=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),y=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),m=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.aj=null,e.ah=null,e.o=0,e.ai=null,e.q=!1,e.ag=null,e.a=null,e.b=null,e.ad=null,e.w=NaN,e.t=NaN,e.u=NaN,e.v=NaN,e.x=NaN,e.f=null,e.h=new P,e.l=new _,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"an",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,this.aj!=e&&this.aq("PropertyPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.aq("Label",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,this.o!=e&&this.aq("ValueType",i.enumGetBox(d,e),i.enumGetBox(d,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,this.ai!=e&&this.aq("PropertyDescriptionType",e,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,this.q!=e&&this.aq("ShouldOverrideDefaultEditor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.aq("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.aq("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.aq("DropDownValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,this.ad!=e&&this.aq("PrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.aq("Min",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.aq("EditorWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.aq("LabelWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,this.v!=e&&this.aq("Max",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.aq("Step",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.aq("ComplexValue",e,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.aq("ComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,this.l!=e&&this.aq("Properties",e,t)},enumerable:!1,configurable:!0}),n.prototype.aq=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.r=function(t){return null!=t&&(null==t.c||null!=this.c&&this.s||(this.c=t.c),null==t.d||null!=this.d&&this.s||(this.d=t.d),null==t.ak||null!=this.ak&&this.s||(this.ak=t.ak),null==t.am||null!=this.am&&this.s||(this.am=t.am),0==t.p||0!=this.p&&this.s||(this.p=t.p,!0),!0)},n.prototype.ae=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},n.prototype.ap=function(){null!=this.buttonClicked&&this.buttonClicked(this,new b)},n.prototype.ao=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new g).newValue=e.af,t))},n.prototype.ar=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new y).propertyPath=t,n.target=e,n.value=i,n))},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),_=function(t){function n(){return t.call(this,m.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(m.$)),n}(i.ObservableCollection$1),v=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 m;return e.an=t.propertyName,e.p=this.i(t),e.am=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ak=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ak)?e.e=this.j.item(e.ak):e.e=n.d(this.a,e.ak,this.j)),8==e.p&&(null!=this.j&&this.j.containsKey(e.am)?e.e=this.j.item(e.am):e.e=n.d(this.a,e.am,this.j)),15==e.p&&(e.c=this.a.c(this.n,e.an),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 _;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.b(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!i.stringEndsWith(r[o],"@names")&&!(i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion"))){var a=this.b.getMetadata(this.n,r[o]),s=this.f(a);0!=s.p&&t.add(s)}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,a=null;r.count>0;){var s=r._inner[0];r.removeAt(0);var u=!1;if(i.stringContains(s,"]")){u=!0;var l=(s=i.stringReplace(s,"]","")).split(",");if(s=l[0].trim(),i.stringContains(s,"as")){var h=s.indexOf("as");s.substr(0,h).trim(),a=s.substr(h+2).trim()}if(null!=a&&a!=this.n){var c=this.c();c.n=a,o=c;continue}}if(e&&(u=!0),null!=o&&null!==i.typeCast(m.$,o)){var p=o.ae(s,u);if(null==p)return null;o=p}else if(null!=o){var f=o.e(s,u);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].an,s)){o=this.h._inner[d];break}if(null==o)return null}}return i.typeCast(m.$,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),C=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),P=function(t){function n(){return t.call(this,C.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize(C.$)),n}(i.ObservableCollection$1),T=function(t){function n(e){var n=t.call(this)||this;if(x.$type||(x.$type=i.markType(x,"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(){x.$type||(x.$type=i.markType(x,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(x.$type,m.$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 x)&&(e._implementation=t),e},t},n}(i.IgCollection),w=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 C},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 T,e=this.i.a;e||(e=new _),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 T;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(m.$type),r=this.i.a;r||(r=new _),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}(),j=function(t){function n(e){var n=t.call(this)||this;if(w.$type||(w.$type=i.markType(w,"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(){w.$type||(w.$type=i.markType(w,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(w.$type,C.$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 w)&&(e._implementation=t),e},t},n}(i.IgCollection),O=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new b},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),A=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()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),S=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()},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}(),x=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._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._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 m},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,"propertyPath",{get:function(){return this.i.an},set:function(t){this.i.an=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.al},set:function(t){this.i.al=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.p},set:function(t){this.i.p=i.ensureEnum(d,t),this._a("valueType",i.enumToString(d,this.i.p))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.am},set:function(t){this.i.am=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ak},set:function(t){this.i.ak=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.af},set:function(t){this.i.af=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.ab},set:function(t){this.i.ab=+t,this._a("min",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("editorWidth",this.i.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.z},set:function(t){this.i.z=+t,this._a("labelWidth",this.i.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("max",this.i.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.ac},set:function(t){this.i.ac=+t,this._a("step",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.g;if(null==t)return null;if(!t.externalObject){var e=new w;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.g=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new j,e=this.i.i;e||(e=new P),this._complexValues=t._fromInner(e),this.i.i=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new j;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(C.$type),r=this.i.i;r||(r=new P),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.i=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new T,e=this.i.m;e||(e=new _),this._properties=t._fromInner(e),this.i.m=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new T;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(m.$type),r=this.i.m;r||(r=new _),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.m=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:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),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 O;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 A;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 S;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}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),I=function(){function t(){}return t.register=function(){x.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",x),i.TypeRegistrar.register("PropertyEditorPropertyDescription",m.$type)},t}(),k=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),N=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),E=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 N;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 k;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),B=function(t){function n(e){var i=t.call(this)||this;return i.ae=null,i.add(new m),i.ae=e,i}return e.__extends(n,t),n.$t=i.markType(n,"HorizontalPropertyEditorPanelDataSource",_.$),n}(_),R=function(t){function n(e,n){var r=t.call(this)||this;r.a=new i.DescriptionTreeNode,r.b=null,r.b=e,r.a=new i.DescriptionTreeNode,r.a.i=n;new i.JsonDictionaryObject;return r}return e.__extends(n,t),n.prototype.h=function(t,e,i){null!=t&&this.c(t,e,this.a,i,null)},n.prototype.c=function(t,n,r,o,a){if(null==t)return null;var s=i.stringSplit(t,[".","["],0),u=s[0],l=s.length>1,h=!1,c=new i.List$1(i.Number_$type,0),p=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){h=!0;for(var f=(u=i.stringReplace(u,"]","")).split(","),d=0;d<f.length;d++){var b=f[d];if(i.stringContains(b,"as")){var g=b.indexOf("as"),y=b.substr(0,g).trim(),m=b.substr(g+2).trim();c.add(parseInt(y)),p.add(m),o=m,u=y}}}var _=null;if(_=h?a:this.b.getMetadata(o,u),l)if(h)for(var v=r.b,C=0;C<c.count;C++){u=c._inner[C].toString();for(var P=p._inner[C],T=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),w=new i.List$1(i.Base.$,0),j=0;j<=T;j++)if(null!=v&&j<v.length){var O=v[j];null!==i.typeCast(i.DescriptionTreeNode.$,O)&&j==T&&(O.i=P),w.add1(O)}else{var A=this.d(a,!0,P);null!=A&&w.add1(A)}var S=(v=w.toArray())[T],x=new i.List$1(i.String_$type,1,s);x.removeAt(0);var I=_.collectionElementType;null!=P&&(I=P);var k=this.c(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(x.toArray()),!1)),n,S,I,_);null!=k&&(v[T]=k),r.b=v}else{var N=r;N.c(u)||N.o(u,this.d(_,!1,null),_);var E=N.a(u),B=new i.List$1(i.String_$type,1,s);B.removeAt(0);var R=this.c(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(B.toArray()),!1)),n,E,_.specificExternalType,_);null!=R&&N.o(u,R,_)}else null!==i.typeCast(i.DescriptionPropertyValue.$,r)&&(r=r.b),r.o(u,this.e(n,_),_);return null},n.prototype.f=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.e=function(t,e){if(null==t)return null;if(null==e)return 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.d=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.g=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.t(this.b,this.a,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),$=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).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="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.j=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.ar(this.p(),7,(function(t){var i=t;e.a.dj(i,e.n),e.i.append(i.al)}));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.v&&this.a.d4()}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.eb),i.NativeUI.m(e,this.a.d8))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){var t=this.a.ec();t.height>0&&this.i.rootWrapper.setStyleProperty("min-height",t.height+"px")},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.u(),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),q=function(t){function n(){var e=t.call(this)||this;e.l=null,e.v=null,e.r=null,e.y=!1,e.z=!1,e.w=null,e.propertyChanged=null,e.af=!1,e.n=null,e.o=new _,e.bl=-1,e.aq=i.DeviceUtils.g(38),e.s=null,e.bs=null,e.c=null,e.an=null,e.j=null,e.ae=!1,e.ap=null,e.bk=-1,e.bu=null,e.ad=!0,e.am=new i.Dictionary$2(E.$,i.Number_$type,0),e.f=null,e.g=null,e.d=null,e.br=null,e.bv=null,e.aa=!1,e.ac=!1,e.ab=!1,e.d6=n.d9,e.d7=n.ea,e.bp=0,e.bm=-1,e.k=null,i.NativeUIInputsFactory.n(),e.ap=new i.ObservableCollection$1(E.$,0);var r=new $;r.a=e,e.l=r,e.l.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.dz)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return null==this.w&&(this.w=new i.SRProvider(this.l.i),this.w.cb("Layouts")),this.w},enumerable:!1,configurable:!0}),n.prototype.dz=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,h)){var c=h;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dl))}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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.dl))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}this.aj(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),this.dv()},n.prototype.dv=function(){this.af||null!=this.v&&this.d4()},n.prototype.dl=function(t,e){this.af||(this.aj(),null!=this.v&&this.d4())},n.prototype.notifySizeChanged=function(){this.l.s()},n.prototype.dj=function(t,e){if(this.v=t,null!=this.v){if(null!=this.actualProperties){if(this.ag)null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var n=this.actualProperties;this.actualProperties=n.ae}this.bs=this.actualProperties;var r=this.actualProperties;r=this.actualProperties.toArray();var o=new i.LocalDataSource;o.dataSource=r,this.c=o,this.cf()}null!=this.actualProperties&&this.d4()}},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.l.t(t)},n.prototype.du=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.dw("ActualProperties",e,this.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.dw("Properties",e,this.o)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.dw("RowHeight",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.aq},set:function(t){this.aq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.dw("CellTextStyle",e,this.s)},enumerable:!1,configurable:!0}),n.prototype.u=function(){return null==this.t?this.l.d():this.t},n.prototype.dw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.d0(t,e,n)},n.prototype.d0=function(t,e,n){switch(t){case"DescriptionType":null==this.b3&&null==this.properties&&(this.actualProperties=null),null!=this.b3&&(null==this.k&&(this.k=new v),this.k.n=this.b3),null==this.properties||0==this.properties.count?null!=this.k.h&&(this.actualProperties=this.k.h):null!=this.properties&&this.properties.count>0&&this.aj();break;case"ComponentRenderer":null!=e&&e.removeTargetPropertyUpdatingListener(i.runOn(this,this.al)),e!=n&&(this.ad=!0),null==this.e?this.h=this.i:this.h=this.e.context;break;case"Target":null!=i.ComponentRenderer.defaultInstance&&null==this.e&&(this.e=i.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.e&&(this.h=n);break;case"ActualContext":null==this.h&&null==this.properties&&(this.actualProperties=null),null!=this.h&&(null==this.k&&(this.k=new v),this.k.b=this.h),null==this.properties||0==this.properties.count?null!=this.k.h&&(this.actualProperties=this.k.h):null!=this.properties&&this.properties.count>0&&this.aj();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.d4();break;case"IsHorizontal":if(this.ag)this.bk=-1,null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var r=this.actualProperties;this.actualProperties=r.ae}break;case"ActualProperties":if(this.ag)null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var o=this.actualProperties;this.actualProperties=o.ae}if(null!=this.v){var a=this.bs!=this.actualProperties;if(this.ag)null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var s=this.actualProperties;this.actualProperties=s.ae}this.bs=this.actualProperties;var u=this.actualProperties;u=this.actualProperties.toArray();var l=new i.LocalDataSource;if(l.dataSource=u,this.c=l,this.cf(),null!=this.c){var h=this.c;h.schemaChanged=i.delegateCombine(h.schemaChanged,i.runOn(this,this.dy))}a&&this.d4()}break;case"RowHeight":null!=this.v&&(this.ar=this.bq);break;case"CellTextStyle":this.d2();break;case"BackgroundColor":case"TextColor":this.d2()}},n.prototype.aj=function(){var t,n,r=this.af;this.af=!0;var o=!1;try{for(var a=e.__values(i.fromEnum(this.properties)),s=a.next();!s.done;s=a.next()){var u=s.value,l=u.an;if(null!=this.k){var h=this.k.e(l,!1);null!=h&&u.r(h)&&(o=!0)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o?this.d4():null!=this.v&&this.d2(),this.af=r,o},n.prototype.d2=function(){this.ae||null==this.j||(this.ae=!0,this.j.enqueueAction(i.runOn(this,this.ck)))},n.prototype.ck=function(){var t=this;if(this.ae=!1,null==this.an&&(this.an=new i.List$1(i.List$1.$.specialize(i.NativeUIComponent.$),0)),null!=this.c){for(var e=this.c.actualCount,n=function(e){var n=e,o=r.c.getItemAtIndex(e);r.v.bv<n+1?r.v.by(n,1,r.ar):r.v.b6(n,1,r.ar),r.an.count<n+1&&r.an.add(new i.List$1(i.NativeUIComponent.$,0));for(var a=r.an._inner[n],s=function(e){var s=r.ap._inner[e];a.count<e+1&&i.NativeUIComponent.av(r.l.p(),0,(function(r){var o=r;o.h=1,0==s.a&&(o.f=2),o.bd=new i.Thickness(1,5,5,5,0),t.v.bj(o),t.v.b4(o,n),t.v.b3(o,e),a.add(o)})),r.v.bs<e+1?r.v.bw(e,1,s.h):r.v.b5(e,1,s.h);var u=a._inner[e],l="PropertyPath";1==s.a&&(l="ValueType");var h=r.m(s,n,o),c=null;(null!=h&&(c=r.c.getItemProperty(h,l),null!=(c=s.i(c,n,o))&&(u=s.e(u,n,o))),null==c)&&(u.bo=null)},u=0;u<r.ap.count;u++)s(u)},r=this,o=0;o<e;o++)n(o);for(var a=new i.HashSet$1(i.NativeUIComponent.$,0),s=this.v.bi-1;s>=0;s--){var u=this.v.bh(s),l=this.v.bu(u),h=this.v.bt(u);(l+1>e||h+1>this.ap.count)&&a.add_1(u)}for(var c=this.v.bi-1;c>=0;c--){var p=this.v.bh(c);a.contains(p)&&this.v.bm(c)}for(var f=this.an.count-1;f>=0;f--){for(var d=this.an._inner[f].count-1;d>=0;d--){var b=this.an._inner[f]._inner[d];a.contains(b)&&this.an._inner[f].removeAt(d)}0==this.an._inner[f].count&&this.an.removeAt(f)}for(;this.v.bv>e;)this.v.b2(this.v.bv-1);for(;this.v.bs>this.ap.count;)this.v.b1(this.v.bs-1)}},n.prototype.dy=function(t,e){this.z=!0,this.cf(),this.z=!1},n.prototype.d4=function(){if(null!=this.v){this.am.clear(),this.ap.clear();-1==this.bq||this.bq,this.d8,this.u();if(this.ag)this.ch();else{var t=new E;t.b=0,t.f=10,t.g=5,t.a=0,t.dataBinding=i.delegateCombine(t.dataBinding,i.runOn(this,this.dn)),t.cellUpdating=i.delegateCombine(t.cellUpdating,i.runOn(this,this.dm)),t.j="PropertyPath",this.ap.add(t);var e=new E;e.b=1,e.a=1,e.f=5,e.g=5,e.dataBinding=i.delegateCombine(e.dataBinding,i.runOn(this,this.cm)),e.cellUpdating=i.delegateCombine(e.cellUpdating,i.runOn(this,this.cl)),e.j="ValueType",this.ap.add(e)}this.d2()}},n.prototype.ch=function(){if(null!=this.actualProperties){for(var t=this.actualProperties.ae,e=t.count,n=new i.List$1(E.$,0),r=this.bn(t,e,n,2147483647),o=0;o<n.count;o++)this.ap.add(n._inner[o]);this.bp=r;var a=this.actualProperties,s=this.bk;a.clear();for(var u=0;u<this.bp;u++)a.add(new m);var l=this.actualProperties.toArray(),h=new i.LocalDataSource;h.dataSource=l,this.c=h,a.count!=s&&(this.bk=a.count,this.d2(),this.l.r())}},n.prototype.ec=function(){if(this.ag&&null!=this.v&&null!=this.c){var t=this.ar,e=this.actualProperties;return new i.Size(1,0,e.count*t)}return new i.Size(1,0,0)},n.prototype.bn=function(t,e,n,r){var o=0,a=0,s=this.l.g();s-=5,this.ai||(s=17976931348623157e292);for(var u=0,l=s,h=0;h<e;h++){var c=t.item(h),p=this.ba(c),f=this.a6(c);if(u+p+f>s&&a>0||a>=r){if(0!=o&&a<r&&r>2){var d=n._inner[a],b=n._inner[a+1];return d.h=p,b.h=f,this.d3(s,n),0==n.count?0:this.bn(t,e,n,n.count)}r=Math.max(Math.min(r,a),2),o++;var g=s-u;g<l&&(l=g),u=0,a=0}this.b6(c);if(n.count<=a){var y=new E;y.b=0,y.a=0,y.f=10,y.g=5,y.h=p,y.dataBinding=i.delegateCombine(y.dataBinding,i.runOn(this,this.dn)),y.cellUpdating=i.delegateCombine(y.cellUpdating,i.runOn(this,this.dm)),y.j="PropertyName_"+h,n.add(y),this.am.item(y,n.count-1),a++}else{var m=n._inner[a];if(p>m.h){var _=p-m.h;if(m.h=p,_>l&&r>2)return this.d3(s,n),0==n.count?0:this.bn(t,e,n,n.count);(l-=_)<0&&(l=0),a++}else p=m.h,a++}if(n.count<=a){var v=new E;v.b=1,v.a=1,v.j="ValueType_"+h,v.f=5,v.g=5,v.dataBinding=i.delegateCombine(v.dataBinding,i.runOn(this,this.cm)),v.h=f,v.cellUpdating=i.delegateCombine(v.cellUpdating,i.runOn(this,this.cl)),n.add(v),this.am.item(v,n.count-1),a++}else{var C=n._inner[a];if(f>C.h){var P=f-C.h;if(C.h=f,P>l&&r>2)return this.d3(s,n),0==n.count?0:this.bn(t,e,n,n.count);(l-=P)<0&&(l=0),a++}else f=C.h,a++}u+=p+f}return o+1},n.prototype.d3=function(t,n){var r,o,a=0;try{for(var s=e.__values(i.fromEnum(n)),u=s.next();!u.done;u=s.next()){a+=u.value.h}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(n.count<1)return;1==n._inner[n.count-1].b?(a-=n._inner[n.count-1].h,a-=n._inner[n.count-2].h,n.removeAt(n.count-1),n.removeAt(n.count-1)):(a-=n._inner[n.count-1].h,n.removeAt(n.count-1))}},n.prototype.cm=function(t,e){var n=t,r=this.m(n,e.a,e.c);e.b=i.enumGetBox(d,null!=r?r.p:0)},n.prototype.dn=function(t,e){var i=t,n=this.m(i,e.a,e.c);e.b=null!=n?null!=n.al?n.al:n.an:null},n.prototype.a6=function(t){if(!i.isNaN_(t.y))return t.y;switch(t.p){case 10:return this.as(t);case 7:return this.at(t);case 4:return this.av(t);case 6:return this.au(t);case 23:return this.a4(t);case 9:return this.ay(t);case 5:return this.a0(t);case 14:return this.az(t);case 18:return this.a1(t);case 3:return this.a2(t);case 15:return this.a7(t);case 17:return this.a8(t);case 16:return this.bb(t);case 1:return this.bc(t);case 11:return this.bd(t);case 13:return this.be(t);case 12:return this.bf(t);case 2:return this.bh(t);case 8:return this.bi(t);case 19:return this.bj(t);case 0:return this.a9(t);case 20:return this.aw(t);case 21:return this.bg(t)}return 100},n.prototype.bj=function(t){return this.a9(t)},n.prototype.a9=function(t){return 175},n.prototype.aw=function(t){return null!=t.af?Math.max(100,this.l.h(t.af.toString())+30):80},n.prototype.bg=function(t){return 175},n.prototype.bi=function(t){return this.aw(t)},n.prototype.bh=function(t){return this.a9(t)},n.prototype.bf=function(t){return this.a9(t)},n.prototype.be=function(t){return this.a9(t)},n.prototype.bd=function(t){return this.a9(t)},n.prototype.bc=function(t){return this.a9(t)},n.prototype.bb=function(t){return this.aw(t)},n.prototype.a8=function(t){return this.aw(t)},n.prototype.a7=function(t){return this.a5(t)},n.prototype.a5=function(t){return this.a9(t)},n.prototype.a2=function(t){return this.a3(t)},n.prototype.a3=function(t){return this.a9(t)},n.prototype.a1=function(t){return this.aw(t)},n.prototype.az=function(t){return this.aw(t)},n.prototype.a0=function(t){return this.a9(t)},n.prototype.ay=function(t){return this.aw(t)},n.prototype.au=function(t){return this.aw(t)},n.prototype.a4=function(t){return this.a9(t)},n.prototype.av=function(t){return this.a9(t)},n.prototype.at=function(t){return this.ax(t)},n.prototype.ax=function(t){return 50},n.prototype.as=function(t){return this.aw(t)},n.prototype.ba=function(t){return i.isNaN_(t.z)?this.l.h(this.b6(t))+17:t.z},n.prototype.b6=function(t){return null!=t.al?t.al:t.an},n.prototype.dm=function(t,e){var i=t;this.m(i,e.b,e.c);this.c9(i,e)},n.prototype.cl=function(t,e){var i=t,n=this.m(i,e.b,e.c);switch(null!=n?n.p:0){case 10:this.ct(i,e);break;case 7:this.cu(i,e);break;case 4:this.cw(i,e);break;case 6:this.cv(i,e);break;case 23:this.c4(i,e);break;case 9:this.cy(i,e);break;case 5:this.c0(i,e);break;case 14:this.cz(i,e);break;case 18:this.c1(i,e);break;case 3:this.c2(i,e);break;case 15:this.c6(i,e);break;case 17:this.c7(i,e);break;case 16:this.da(i,e);break;case 1:this.db(i,e);break;case 11:this.dc(i,e);break;case 13:this.dd(i,e);break;case 12:this.de(i,e);break;case 2:this.dg(i,e);break;case 8:this.dh(i,e);break;case 19:this.di(i,e);break;case 20:this.cx(i,e);break;case 21:this.df(i,e)}},n.prototype.di=function(t,e){this.c8(t,e)},n.prototype.dh=function(t,e){},n.prototype.dg=function(t,e){this.c8(t,e)},n.prototype.de=function(t,e){this.c8(t,e)},n.prototype.dd=function(t,e){this.c8(t,e)},n.prototype.dc=function(t,e){this.c8(t,e)},n.prototype.db=function(t,e){this.c8(t,e)},n.prototype.c9=function(t,e){var i=this;this.cr(e,(function(n,r){n.bg=i.u(),n.h=1;var o=i.m(t,e.b,e.c);n.am=o,n.bi=i.b6(o)}))},n.prototype.c8=function(t,e){var n=this;this.cq(e,(function(r,o){r.h=1,r.bm=1,r.bj=2;var a=n.m(t,e.b,e.c);r.am=a,r.bq=null!=a.af?a.af.toString():"",o&&(r.bl=i.runOn(n,n.dk))}))},n.prototype.cr=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||3!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),3,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cq=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||2!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),2,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cn=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||1!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),1,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cs=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||5!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),5,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cp=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||4!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),4,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.co=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||6!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),6,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cx=function(t,e){var n=this;this.cn(e,(function(r,o){r.h=1,2!=r.bk&&(r.bk=2);var a=n.m(t,e.b,e.c);r.am=a;var s=a.af;"number"!=typeof a.af&&"number"!=typeof a.af||(s=a.af.toString()),r.bs=s,o&&(r.bh=i.runOn(n,n.ce))}))},n.prototype.df=function(t,e){var n=this;this.cs(e,(function(r,o){r.h=1;var a=n.m(t,e.b,e.c);r.am=a;var s=a.af;if("number"!=typeof a.af&&"number"!=typeof a.af||(s=a.af),"string"==typeof a.af){var u=0;s=u=i.tryParseNumber(s,u).p1}null==s&&(s=0),r.bn=s,i.isNaN_(a.ab)?r.bl=0:r.bl=a.ab,i.isNaN_(a.aa)?r.bk=100:r.bk=a.aa,i.isNaN_(a.ac)?r.bm=1:r.bm=a.ac,o&&(r.bj=i.runOn(n,n.d5))}))},n.prototype.d5=function(t,e){var i=t,n=i.am;this.af=!0,n.af=i.bn,this.af=!1,this.dx(n)},n.prototype.c5=function(t,e){var n=this;this.cp(e,(function(r,o){r.h=1,2!=r.bg&&(r.bg=2);var a=n.m(t,e.b,e.c);r.am!=a?(r.bi=null,r.am=a,r.bk=null,r.bj=n.b(n.a(a)),a.af!=r.bk&&("number"==typeof a.af||"number"==typeof a.af?r.bk=a.af.toString():r.bk=a.af),r.bi=i.runOn(n,n.ci)):a.af!=r.bk&&("number"==typeof a.af||"number"==typeof a.af?r.bk=a.af.toString():r.bk=a.af),o&&(null==r.bi&&(r.bi=i.runOn(n,n.ci)),r.a4=i.BrushUtil.g(255,255,255,255))}))},n.prototype.b=function(t){return t},n.prototype.a=function(t){return t.c},n.prototype.ci=function(t,e){var i=t,n=i.am;this.af=!0,n.af=i.bk,n.ao(),this.af=!1,this.dx(n)},n.prototype.dk=function(t,e){var n=t,r=n.am;if(this.af=!0,1==r.p){var o=0;o=i.tryParseNumber(n.bq,o).p1,r.af=o}else if(23==r.p){if(null!=n.bq){for(var a=n.bq.split(" "),s=new i.List$1(i.Number_$type,0),u=function(t){var e,r=a[t];if(!i.stringIsNullOrEmpty(r)){var o=0;e=i.tryParseNumber(n.bq,o),o=e.p1,e.ret&&s.add(o)}},l=0;l<a.length;l++)u(l);r.af=s.toArray()}}else r.af=n.bq;r.ao(),this.af=!1,this.dx(r)},n.prototype.ce=function(t,e){var i=t.am;this.af=!0,i.ap(),this.af=!1,this.dx(i)},n.prototype.dx=function(t){var e=this;if(null!=this.bt&&null!=this.e){this.ad&&(this.ad=!1,this.e.addTargetPropertyUpdatingListener(i.runOn(this,this.al)));var n=null==this.bu;this.bu=this.b5(),n?this.l.q(this.bt,(function(t){return e.e.loadJsonOverlay(e.bu,(function(e){return t}),(function(t){return e.bt}))})):this.l.q(this.bt,(function(t){return e.e.loadJsonDelta(e.bu,(function(e){return t}),!1)}))}},n.prototype.al=function(t,e,n){var r=this.actualProperties;null!==i.typeCast(B.$,r)&&(r=r.ae);for(var o=0;o<r.count;o++){var a=r._inner[o].an;this.ak(a,t)&&r._inner[o].ar(t,e,n)}return!!this.ah},n.prototype.ak=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 a=n[o],s=r[o];if(i.stringContains(a,"]")){if(!i.stringContains(s,"]"))return!1;if(s=i.stringReplace(s,"]",""),!this.ao(a).contains(s))return!1}else if(!i.Base.equalsStatic(a,s))return!1}return!0},n.prototype.ao=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 a=o.indexOf("as"),s=o.substr(0,a).trim();e.add(s)}}return e}return e.add(t),e},n.prototype.b5=function(){if(null==this.actualProperties)return null;var t=this.actualProperties;null!==i.typeCast(B.$,t)&&(t=t.ae);var e=new R(this.h,this.b3);return this.c3(t,"",e,this.b3),e.g()},n.prototype.c3=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r];if(20!=o.p)if(null!=o.i&&o.i.count>0)for(var a=0;a<o.i.count;a++){var s=o.i._inner[a],u=e+o.an+"["+a+"]";this.c3(s.a,u,i,s.b)}else if(null!=o.g){var l=e+o.an;this.c3(o.g.a,l,i,o.g.b)}else i.h(e+o.an,o.af,n)}},n.prototype.da=function(t,e){},n.prototype.c7=function(t,e){},n.prototype.c6=function(t,e){this.c5(t,e)},n.prototype.c2=function(t,e){},n.prototype.c1=function(t,e){},n.prototype.cz=function(t,e){},n.prototype.c0=function(t,e){this.c8(t,e)},n.prototype.c4=function(t,e){this.c8(t,e)},n.prototype.cy=function(t,e){},n.prototype.cv=function(t,e){},n.prototype.cw=function(t,e){this.c8(t,e)},n.prototype.cu=function(t,e){var n=this;this.co(e,(function(r,o){r.h=1,r.bi||(r.bi=!0);var a,s=n.m(t,e.b,e.c),u=s.af;if((null==u&&(u=!1),"string"==typeof u)&&function(){var t=i.tryParseBool(u,a);return a=t.p1,t.ret}()){u=a;var l=n.af;n.af=!0,s.af=u,n.af=l}if("number"==typeof u&&i.typeGetValue(u)>0){u=!0;var h=n.af;n.af=!0,s.af=u,n.af=h}if("number"==typeof u&&u>0){u=!0;var c=n.af;n.af=!0,s.af=u,n.af=c}var p=u;r.bj=p,r.am=s,o&&(r.bh=i.runOn(n,n.cg))}))},n.prototype.m=function(t,e,n){if(this.ag){var r=this.actualProperties.ae,o=e*i.truncate(this.ap.count/2),a=this.bo(t);return(a=i.truncate(Math.floor(a/2))+o)>r.count-1?null:r.item(a)}return n},n.prototype.bo=function(t){return this.am.item(t)},n.prototype.cg=function(t,e){var i=t,n=i.am;this.af=!0,n.af=i.bj,n.ao(),this.af=!1,this.dx(n)},n.prototype.ct=function(t,e){},n.prototype.ds=function(t,e,i){null!=this.v&&this.c.notifySetItem(t,e,i)},n.prototype.dp=function(){null!=this.v&&this.c.notifyClearItems()},n.prototype.dq=function(t,e){null!=this.v&&this.c.notifyInsertItem(t,e)},n.prototype.dr=function(t,e){null!=this.v&&this.c.notifyRemoveItem(t,e)},Object.defineProperty(n.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.dw("ActualContext",e,this.f)},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.dw("DescriptionContext",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.dw("ComponentRenderer",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,this.dw("Target",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,this.dw("DescriptionType",e,this.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,this.dw("IsHorizontal",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,this.dw("IsWrappingEnabled",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.dw("IsIndirectModeEnabled",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d8",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.dw("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eb",{get:function(){return this.d7},set:function(t){var e=this.d7;this.d7=t,e!=this.d7&&this.dw("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.cf=function(){var t=this.c;if(null!=t){if(null==t.actualSchema)return void(this.bm=-1);var e=t.actualCount;this.bm=e}else this.bm=-1},n.$t=i.markType(n,"PropertyEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.d9=i.BrushUtil.g(255,248,248,248),n.ea=i.BrushUtil.g(255,24,29,31),n}(i.Base),z=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),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{a&&!a.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 T;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 x&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new q},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 T,e=this.i.actualProperties;e||(e=new _),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 T;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(m.$type),r=this.i.actualProperties;r||(r=new _),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.bq},set:function(t){this.i.bq=+t,this._a("rowHeight",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualRowHeight",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionContext",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderer",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"target",{get:function(){return this.i.bt},set:function(t){this.i.bt=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionType",{get:function(){return this.i.b3},set:function(t){this.i.b3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHorizontal",{get:function(){return this.i.ag},set:function(t){this.i.ag=i.ensureBool(t),this._a("isHorizontal",this.i.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isWrappingEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("isWrappingEnabled",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndirectModeEnabled",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureBool(t),this._a("isIndirectModeEnabled",this.i.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.d8)},set:function(t){this.i.d8=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.d8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.eb)},set:function(t){this.i.eb=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.eb))},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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.notifySetItem=function(t,e,i){this.i.ds(t,e,i)},n.prototype.notifyClearItems=function(){this.i.dp()},n.prototype.notifyInsertItem=function(t,e){this.i.dq(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.dr(t,e)},n._observedAttributesIgcPropertyEditorPanelComponent=null,n.htmlTagName="igc-property-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),U=function(){function t(){}return t.register=function(){I.register(),z.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",z),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",z),i.TypeRegistrar.register("PropertyEditorPanel",q.$type)},t}(),D=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),V=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1"),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.d=!1,e.m=0,e.k=0,e.n=null,e.a=null,e.b=!1,e.e=!1,e.c=!0,e.h=0,e.i=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){this.f=!0,this.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.c},set:function(t){this.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&(this.g=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&(this.g=!0)},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelItemModel"),n}(i.Base),L=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),F=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),M=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateItemUpdatingEventArgs"),n}(i.Base),W=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),G=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),K=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).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="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.c=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.ar(this.p(),9,(function(t){var i=t;e.a.bv(i),e.i.append(i.al)}));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),this.a.cd(this.aa),null!=this.a.u&&this.a.cp()}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cv),i.NativeUI.m(e,this.a.cs))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(t,e){this.i.rootWrapper.setStyleProperty("height",e+"px")},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.t(),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,"ListPanelView"),n}(i.Base),X=function(t){function n(){var e=t.call(this)||this;e.o=null,e.u=null,e.y=!1,e.v=null,e.h=null,e.propertyChanged=null,e.a8=null,e.a=null,e.ag=!1,e.a0=-1,e.ar=i.DeviceUtils.g(42),e.r=null,e.x=!0,e.a9=null,e.as=0,e.aq=NaN,e.ap=0,e.ad=!1,e.z=!1,e.ac=!1,e.contentRefreshed=null,e.rowUpdating=null,e.q=new i.FastIterationDictionary$2(i.Number_$type,H.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.p=new i.FastIterationDictionary$2(H.$,H.$,0),e.ao=new i.Stack$1(H.$),e.al=new i.List$1(i.Number_$type,0),e.ak=new i.List$1(i.Number_$type,0),e.an=new i.List$1(i.Number_$type,0),e.am=new i.List$1(i.Number_$type,0),e.ae=!0,e.ab=!0,e.ay=-1,e.az=-1,e.d=null,e.c=null,e.cq=n.ct,e.i=n.j,e.aa=n.af,e.cr=n.cu,i.NativeUIInputsFactory.n();var r=new K;return r.a=e,e.o=r,e.o.v(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"w",{get:function(){return null==this.v&&(this.v=new i.SRProvider(this.o.i),this.v.cb("Layouts")),this.v},enumerable:!1,configurable:!0}),n.prototype.bv=function(t){this.h=new Y(t)},n.prototype.cd=function(t){this.aq=t.width,this.ch()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.ca("ItemsSource",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDataSource",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.ca("ActualDataSource",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.o.s()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.o.t(t)},Object.defineProperty(n.prototype,"a7",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.ca("RowHeight",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.ar},set:function(t){this.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.ca("CellTextStyle",e,this.r)},enumerable:!1,configurable:!0}),n.prototype.t=function(){return null==this.s?this.o.d():this.s},Object.defineProperty(n.prototype,"ah",{get:function(){return 1==this.k},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ce(t,e,n)},n.prototype.bm=function(t,e){this.b8()},n.prototype.ch=function(){this.ac||(this.ac=!0,this.c.enqueueAction(i.runOn(this,this.bo)))},n.prototype.bo=function(){this.ac&&(this.ac=!1,this.ab&&(this.bk(),1==this.k&&this.h.d(new i.Size(1,this.aq,this.ap))),this.ae&&this.bl(),this.ci(),this.cl(),null!=this.contentRefreshed&&this.contentRefreshed(this,new L))},n.prototype.cl=function(){if(null!=this.actualDataSource){for(var t=0;t<this.p.o.count;t++)if(!this.p.p._inner[t]){this.p.o._inner[t];var e=this.p.q._inner[t];null!=e.a&&this.h.c(e.a.a)}for(var i=0;i<this.q.o.count;i++)if(!this.q.p._inner[i]){this.q.o._inner[i];var n=this.q.q._inner[i];this.br(n),this.bp(n),this.h.b(this,n)}}},n.prototype.bp=function(t){t.f&&(t.f=!1,this.bs(t))},n.prototype.bs=function(t){var e;null!=this.rowUpdating&&this.rowUpdating(this,((e=new M).a=t,e.b=t.a.a,e.c=t.a.a.al,e))},n.prototype.br=function(t){var e=this;null==t.a&&(t.a=new F,i.NativeUIComponent.av(this.o.p(),0,(function(i){var n=i;0==e.k?n.f=3:n.f=0,t.a.a=n})))},n.prototype.bl=function(){if(this.ae&&(this.ae=!1,this.bu(),this.ay=this.a5(),this.az=this.a6(),-1!=this.ay&&-1!=this.az)){for(var t=new i.List$1(i.Number_$type,0),e=0;e<this.q.o.count;e++)if(!this.q.p._inner[e]){var n=this.q.o._inner[e];this.q.q._inner[e];(n<this.ay||n>this.az)&&t.add(n)}for(var r=0;r<t.count;r++)this.co(t._inner[r]);for(var o=this.ay;o<=this.az;o++){this.bq(o);var a=this.q.item(o);a.l=this.ax(o),a.j=this.aw(o)}}},n.prototype.aw=function(t){return 0==this.k?0:this.an._inner[t]},n.prototype.ax=function(t){return 1==this.k?0:this.ai?this.al._inner[t]:t*this.av},n.prototype.bq=function(t){if(!this.q.d(t)){var e=this.g(t);e.d&&(this.p.f(e),e.d=!1),this.q.s(t,e)}},n.prototype.g=function(t){if(this.ao.f>0)return this.ao.e();var e=new H;return e.m=t,e.k=this.av,e},n.prototype.co=function(t){var e=this.q.item(t);this.ck(e),this.q.f(t),e.d=!0,this.p.s(e,e)},n.prototype.ck=function(t){this.ao.h(t)},n.prototype.a6=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:this.actualDataSource.actualCount-1},n.prototype.a5=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:0},n.prototype.bk=function(){var t=this;if(this.ak.clear(),this.al.clear(),this.am.clear(),this.an.clear(),null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var e=this.ap,n=i.isNaN_(this.aq)?0:this.aq;if(0==this.k)if(this.ai){for(var r=0,o=function(e){a.al.add(r);var i,n=a.av;if(null!=a.itemHeightRequested){var o=((i=new G).b=e,i.c=t.actualDataSource.getItemAtIndex(e),i.a=n,i);a.itemHeightRequested(a,o),n=o.a,r+=n}a.ak.add(n)},a=this,s=0;s<this.actualDataSource.actualCount;s++)o(s);this.ap=r}else this.ap=this.av*this.actualDataSource.actualCount;else{this.ap=this.av;for(var u=0,l=function(e){h.an.add(u);var i,n=0;if(null!=h.itemWidthRequested){var r=((i=new W).b=e,i.c=t.actualDataSource.getItemAtIndex(e),i.a=n,i);h.itemWidthRequested(h,r),n=r.a,u+=n}h.am.add(n)},h=this,c=0;c<this.actualDataSource.actualCount;c++)l(c);this.aq=u}e==this.ap&&n==(i.isNaN_(this.aq)?0:this.aq)||this.o.r(this.aq,this.ap)}},n.prototype.bt=function(){this.ac&&this.bo()},n.prototype.cm=function(){var t=i.isNaN_(this.aq)?0:this.aq,e=this.ap;this.ad=!0,this.bz(this.as),t==(i.isNaN_(this.aq)?0:this.aq)&&e==this.ap||this.externalListPanel.onContentSizeChanged(),this.ad=!1,this.b0(),this.ch()},n.prototype.b0=function(){this.ae=!0},n.prototype.bz=function(t){this.ab=!0,this.as=t},n.prototype.bu=function(){this.z&&(this.z=!1,this.cm(),this.by())},n.prototype.cn=function(){this.z?this.bu():(this.ch(),this.bt())},n.prototype.a4=function(){return this.az},n.prototype.a3=function(){return this.ay},n.prototype.aj=function(){return this.ay>=0&&this.az>=0},n.prototype.by=function(){if(this.aj()){var t=this.a3(),e=this.a4();this.bx(t,e)}},n.prototype.bx=function(t,e){var i=this.a3(),n=this.a4();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.ci(),this.cn())},n.prototype.ci=function(){if(null!=this.actualDataSource)for(var t=0;t<this.q.q.count;t++)if(!this.q.p._inner[t]){var e=this.q.q._inner[t];e.o=this.actualDataSource.getItemAtIndex(e.m),e.k=this.av}},n.prototype.cj=function(t){if(null!=this.actualDataSource&&this.q.d(t)){var e=this.q.item(t);e.o=this.actualDataSource.getItemAtIndex(e.m),e.k=this.av}},n.prototype.cg=function(){this.z||(this.z=!0,this.b0(),this.ch())},n.prototype.bw=function(t){this.cj(t)},n.prototype.b8=function(){this.z?this.bu():(this.cm(),this.by())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),n.prototype.ce=function(t,e,n){var r=this;switch(t){case"ItemsSource":if(null!=this.a){var o=this.a;o.schemaChanged=i.delegateRemove(o.schemaChanged,i.runOn(this,this.bm)),this.a.updateNotifier=null}if(null!==i.typeCast(i.IDataSource_$type,this.itemsSource))this.actualDataSource=this.itemsSource;else{var a=this.externalListPanel.createLocalDataSource(this.itemsSource);this.actualDataSource=a}if(null!=this.a){var s=this.a;s.schemaChanged=i.delegateCombine(s.schemaChanged,i.runOn(this,this.bm)),this.a.updateNotifier=new Q(this),null!=this.a.actualSchema&&(this.cg(),this.c.enqueueAction((function(){return r.b8()})))}break;case"RowHeight":null!=this.u&&(this.av=this.a7);break;case"CellTextStyle":this.by();break;case"BackgroundColor":case"TextColor":this.by();break;case"Orientation":this.cm()}},n.prototype.cp=function(){if(null!=this.u)-1==this.a7||this.a7,this.cs,this.t()},n.prototype.cw=function(){var t=this.ap,e=0;!i.isNaN_(t)&&t>=0&&(e=t);for(var n=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),r=0,o=0;o<this.q.o.count;o++)if(!this.q.p._inner[o]){this.q.o._inner[o];var a=this.q.q._inner[o].a.a.bb(n);0==this.k?r=Math.max(r,a.width):r+=a.width}return new i.Size(1,r,e)},n.prototype.b7=function(t,e){},n.prototype.cc=function(t,e,i){if(0==this.k){if(this.ai){var n=this.av;if(null!=this.itemHeightRequested){var r=new G;r.c=i,r.b=t,r.a=n,this.itemHeightRequested(this,r),n=r.a}var o=this.ak._inner[t];this.ak._inner[t]=n;for(var a=n-o,s=t;s<this.actualDataSource.actualCount;s++)this.al._inner[s]+=a}}else{var u=0;if(null!=this.itemWidthRequested){var l=new W;l.c=i,l.b=t,l.a=u,this.itemWidthRequested(this,l),u=l.a}var h=this.am._inner[t];this.am._inner[t]=u;for(var c=u-h,p=t;p<this.actualDataSource.actualCount;p++)this.an._inner[p]+=c}this.bw(t)},n.prototype.b6=function(){this.cm()},n.prototype.b9=function(t,e){if(0==this.k){if(this.ai){var i=this.av;if(null!=this.itemHeightRequested){var n=new G;n.c=e,n.b=t,n.a=i,this.itemHeightRequested(this,n),i=n.a}this.ak.insert(t,i);var r=0;if(t>0)r=this.al._inner[t-1]+this.ak._inner[t-1];this.al.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.al._inner[o]+=i}}else{var a=0;if(null!=this.itemWidthRequested){var s=new W;s.c=e,s.b=t,s.a=a,this.itemWidthRequested(this,s),a=s.a}this.am.insert(t,a);var u=0;if(t>0)u=this.an._inner[t-1]+this.am._inner[t-1];this.an.insert(t,u);for(var l=t;l<this.actualDataSource.actualCount;l++)this.an._inner[l]+=a}this.cg()},n.prototype.cb=function(t,e){if(0==this.k){for(var i=this.ak._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.al._inner[n]-=i;this.ak.removeAt(t),this.al.removeAt(t)}else{for(var r=this.am._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.an._inner[o]-=r;this.am.removeAt(t),this.an.removeAt(t)}this.cg()},n.prototype.b4=function(t,e,i){null!=this.a&&this.a.notifySetItem(t,e,i)},n.prototype.b1=function(){null!=this.a&&this.a.notifyClearItems()},n.prototype.b2=function(t,e){null!=this.a&&this.a.notifyInsertItem(t,e)},n.prototype.b3=function(t,e){null!=this.a&&this.a.notifyRemoveItem(t,e)},n.prototype.a1=function(t){return null==this.a?-1:this.a.indexOfItem(t)},n.prototype.a2=function(t){return null==this.a?-1:this.a.indexOfKey(t)},Object.defineProperty(n.prototype,"cs",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.ca("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.ca("Orientation",i.enumGetBox(V,e),i.enumGetBox(V,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.ca("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cv",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.ca("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.aq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ap},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.ct=i.BrushUtil.g(255,248,248,248),n.j=0,n.af=!1,n.cu=i.BrushUtil.g(255,24,29,31),n}(i.Base),Q=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.b7(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.cc(t,e,i)},n.prototype.notifyClearItems=function(){this.a.b6()},n.prototype.notifyInsertItem=function(t,e){this.a.b9(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.cb(t,e)},n.$t=i.markType(n,"ListPanelDataSourceNotificationBridge",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),Y=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.d=function(t){this.a.ad=t.width,this.a.x=t.height},n.prototype.b=function(t,e){e.e||(e.e=!0,this.a.bj(e.a.a)),0==t.k?i.isNaN_(t.au)||(e.a.a.ad=t.au):e.a.a.x=t.at,e.g&&(e.g=!1,this.a.bq(e.a.a,e.j),this.a.br(e.a.a,e.l))},n.prototype.c=function(t){this.a.br(t,-1e3),this.a.bq(t,-1e3)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),J=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,"dataRow",{get:function(){return this.i.m},set:function(t){this.i.m=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.k},set:function(t){this.i.k=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.o},set:function(t){this.i.o=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.f},set:function(t){this.i.f=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}(),Z=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new J;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.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),t}(),tt=function(){function t(){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()},t}(),et=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new W},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}(),it=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()},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}(),nt=function(t){function n(){var e=t.call(this)||this;return e._implementation=null,e._disconnected=!1,e._dataSource=null,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._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._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.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.i.notifySizeChanged()})),e}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.createLocalDataSource=function(t){var e=new i.LocalDataSource;return e.dataSource=t,e},n.prototype.onContentSizeChanged=function(){},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new X},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-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.i.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,"rowHeight",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("rowHeight",this.i.a7)},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.s?null:this.i.s.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.s=e,this._a("cellTextStyle",null!=this.i.s?this.i.s.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasUnevenSizes",{get:function(){return this.i.ah},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.cs)},set:function(t){this.i.cs=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.cs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureEnum(V,t),this._a("orientation",i.enumToString(V,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.cv)},set:function(t){this.i.cv=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.cv))},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("ListPanelComponent");var a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.getLastVisibleIndex=function(){return this.i.a4()},n.prototype.getFirstVisibleIndex=function(){return this.i.a3()},n.prototype.invalidateVisibleItems=function(){this.i.by()},n.prototype.notifySetItem=function(t,e,i){this.i.b4(t,e,i)},n.prototype.notifyClearItems=function(){this.i.b1()},n.prototype.notifyInsertItem=function(t,e){this.i.b2(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.b3(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.a1(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.a2(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 tt;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 Z;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 et;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 it;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}),n._observedAttributesIgcListPanelComponent=null,n.htmlTagName="igc-list-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),rt=function(){function t(){}return t.register=function(){nt.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",nt),i.TypeRegistrar.registerCons("IgcListPanelComponent",nt),i.TypeRegistrar.register("ListPanel",X.$type)},t}(),ot=new i.Type(null,"INativeUIToolPanelBridge",null,[i.INativeUIElementBridge_$type]),at=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),st=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),ut=i.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1"),lt=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}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetail"),n}(i.Base),ht=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),ct=function(t){function n(){return t.call(this,lt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(lt.$)),n}(i.ObservableCollection$1),pt=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new ct,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),ft=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.g(255,237,239,245),r.x=i.BrushUtil.g(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.at(this.j,[7,3],(function(i){e.e=i[0],e.e.be=e.ac,e.e.x=e.i,e.e.a4=e.y,e.e.am=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bh=!1,e.f.bi=e.p,e.f.a6=e.z,e.f.bg=e.b,e.e.bj(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).n="Verdana",t.d=14,t.q="Normal",t.s="Normal",t.o="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.be=this.ac,this.e.x=this.i,this.e.a4=this.y),null!=this.f&&(this.f.bi=this.p,this.f.a6=this.z,this.f.bg=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),dt=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),bt=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1"),gt=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),yt=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.e=function(){i.NativeUIComponent.ap(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 13:this.d(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:return!0}return!1},n.prototype.d=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new Bt;o.provideContainer(r);var a=new mt(o),s=new Ct;s.al=n,s.d=a,e(s)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),mt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.x=null,i.v=null,i.y=null,i.w=null,i.z=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.fl()},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 10:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ab)),this.u=r,this.x=e;break;case 11:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ac)),this.v=r,this.y=e;break;case 16:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.aa)),this.w=r,this.z=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 10:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ab)),this.u=null,this.x=null;break;case 11:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ac)),this.v=null,this.y=null;break;case 16:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.aa)),this.w=null,this.z=null}},r.prototype.ab=function(t,e){null!=this.u&&this.u(this.x,e)},r.prototype.ac=function(t,e){null!=this.v&&this.v(this.y,e)},r.prototype.aa=function(t,e){null!=this.w&&this.w(this.z,e)},r.prototype.setValue=function(t,e,n){var r=t;switch(e){case 27:r.actions=n;break;case 30:r.o=i.EnumUtil.getEnumValue(ut,n);break;case 28:r.bn=i.typeGetValue(n);break;case 18:r.r=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n)}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(ut,n.o);case 28:return n.bn;case 29:return n.a2;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.r)}return null},r.prototype.refresh=function(t){t.dx()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[ot]),r}(n.XComponentBridge),_t=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).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="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){if(null!=t){this.a.b=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();var e=new Bt,n=this.i.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.i.append(n);var r=this.i.getSubRenderer(n);e.provideContainer(r);this.i.getExternal(e,this.i.rootWrapper,this.i.getExternal(this.a,null,null));this.a.b7(e);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),this.a.ca(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.c8),i.NativeUI.m(e,this.a.cz))}},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.u(),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,"ToolbarView"),n}(i.Base),vt=function(t){function n(){var e,n=t.call(this)||this;return n.s=null,n.r=null,n.c=null,n.n=null,n.q=null,n.g=null,n.p=null,n.d=((e=new i.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),n.ai=new i.Size,n.e=null,n._gridExternal=null,n.h=!1,n.o=null,n}return e.__extends(n,t),n.prototype.v=function(){return this.n},n.prototype.ac=function(){},Object.defineProperty(n.prototype,"t",{get:function(){return this.n.rootWrapper},enumerable:!1,configurable:!0}),n.prototype.aa=function(t){if(null!=t){this.c.a=new i.DOMExecutionContext(t),this.n=t,this.q=this.n.createElement("canvas"),this.g=new i.RenderingContext(new i.CanvasViewRenderer,this.n.get2DCanvasContext(this.q)),this.p=this.n.createElement("div"),this.af();var e=new X,n=this.n.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.n.append(n);var r=this.n.getSubRenderer(n);e.provideContainer(r);var o=this.n.getExternal(e,this.n.rootWrapper,this.n.getExternal(this.c,null,null));e.externalListPanel=o,this.c.di(e);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.n.rootWrapper.setStyleProperty("position","relative"),this.n.rootWrapper.setStyleProperty("width","100%"),this.ad()}else this.n=null},n.prototype.af=function(){},n.prototype.y=function(){if(null!=this.n){var t=this.n.rootWrapper.width(),e=this.n.rootWrapper.height();this.ai=new i.Size(1,t,e),this.c.dn(this.ai),this.c.v}},n.prototype.k=function(){return this.n.rootWrapper.getNativeElement().offsetWidth},n.prototype.j=function(){return this.n.rootWrapper.getNativeElement().offsetHeight},n.prototype.ag=function(){var t=this.n;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.fi),i.NativeUI.m(e,this.c.e8))}},n.prototype.f=function(){return this.d},n.prototype.ab=function(){},n.prototype.ae=function(){},n.prototype.ad=function(){this.c.actions.count>0&&0==this.c.o?this.n.rootWrapper.setStyleProperty("min-width",i.DeviceUtils.g(44)+"px"):this.n.rootWrapper.setStyleProperty("min-width","0px")},n.prototype.z=function(){this.ad()},n.prototype.x=function(){},n.prototype.i=function(){return this.ai.width},n.prototype.l=function(t){return this.e=this.c.u(),i.FontUtil.measureStringWidth(t,this.e,this.g)},n.prototype.m=function(t,e){return i.FontUtil.measureStringWidth(t,e,this.g)},n.prototype.w=function(t,e){null==this.o&&(this.o=this.n.createElement("div")),e(this.o.getNativeElement())},n.prototype.a=function(){var t=new i.Popup;this.n.getExternal(t,this.n.rootWrapper,this.n.getExternal(this.c,null,null));return t},n.prototype.b=function(t){var e=new Bt;this.n.getExternal(e,this.n.rootWrapper,this.n.getExternal(this.c,null,null));return t.al.appendChild(e.p.n.rootWrapper.getNativeElement()),e},n.prototype.ah=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,a=e.height;return new i.Rect(0,n,r,o,a)},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),Ct=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.bg=null,e.bh=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,"bp",{get:function(){return this.ae(27)},set:function(t){this.a0(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.ae(28)},set:function(t){this.a0(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.ae(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return i.EnumUtil.getEnumValue(ut,this.ae(30))},set:function(t){this.a0(30,i.enumGetBox(ut,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ae(33)},set:function(t){this.a0(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ae(34)},set:function(t){this.a0(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ae(23)},set:function(t){this.a0(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ae(50)},set:function(t){this.a0(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ae(51)},set:function(t){this.a0(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ae(52)},set:function(t){this.a0(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ae(53)},set:function(t){this.a0(53,t)},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.an(9,this.bl):this.ay(9,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,null!=this.bg?this.an(10,this.bg):this.ay(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,null!=this.bh?this.an(11,this.bh):this.ay(11,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.an(16,this.bn):this.ay(16,e)},enumerable:!1,configurable:!0}),n.prototype.bu=function(){this.bk.refresh(this.ak)},n.prototype.bt=function(t){this.bk.notifySizeChanged(this.ak,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),Pt=function(t){function n(){var e,n=t.call(this)||this;n.j=null,n.a=null,n.d=null,n.e=new Nt,n.a3=NaN,n.bv=null,n.cc=null,n.b9=null,n.c0=null,n.br=null,n.bq=null,n.bm=null,n.k=0,n.az=NaN,n.ar=NaN,n.a0=NaN,n.as=NaN,n.ay=NaN,n.aq=NaN,n.a1=NaN,n.at=NaN,n.eh=null,n.eo=null,n.em=i.BrushUtil.g(0,0,0,0),n.ef=null,n.el=null,n.ek=null,n.er=null,n.eg=null,n.en=null,n.o=null,n.q=null,n.ac=!1,n.bu=null,n.bx=null,n.bw=null,n.a2=30,n.bt=null,n.bs=null,n.av=NaN,n.aw=NaN,n.ax=NaN,n.au=NaN,n.ep=null,n.ei=null,n.eq=null,n.ej=null,n.e4=0,n.ab=!1,n.propertyChanged=null,n.p=((e=new i.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),n.onCommand=null,n.performed=null,n.x=null,n.w=null,n.u=null,n.z=null,n.aa=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.du));var o=n.actions;return o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.dv)),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.d1("ExecutionContext",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return null!=this.cy?this.cy:null!=this.de?this.c9(this.de):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a3},set:function(t){this.a3=t},enumerable:!1,configurable:!0}),n.prototype.dh=function(){},n.prototype.du=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;h.dh(),h.d=null}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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()){p.value.d=this}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}},n.prototype.dv=function(t,n){var r,o;try{for(var a=e.__values(i.fromEnum(this.actions)),s=a.next();!s.done;s=a.next()){var u=s.value;u.dh(),u.d=null}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.c9=function(t){return i.stringReplace(t," ","_")},n.prototype.g=function(t){var e,i=this;return(e=new lt).g=i.cw,e.a=i.m,e.c=t,e},n.prototype.n=function(){var t,e=this;return(t=new i.ToolCommandArgument).argumentName=e.c7(),t.value=e.bo(),t},n.prototype.c7=function(){return null!=this.ce?this.ce:null!=this.cw?this.cw:"Unknown"},n.prototype.bo=function(){return null!=this.bn?this.bn:this.bp()},n.prototype.bp=function(){return null},Object.defineProperty(n.prototype,"c5",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.d1("ParentId",e,this.bv)},enumerable:!1,configurable:!0}),n.prototype.c8=function(){return null!=this.ch?this.ch:this.cw},Object.defineProperty(n.prototype,"ch",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.d1("CommandId",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.d1("CommandArgument",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.d1("CommandArgumentValue",e,this.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.d1("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.d1("PaddingLeft",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.d1("ActualPaddingLeft",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.d1("PaddingRight",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.d1("ActualPaddingRight",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.d1("PaddingBottom",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.d1("ActualPaddingBottom",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.d1("PaddingTop",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.d1("ActualPaddingTop",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eu",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.d1("ActualHoverBackground",e,this.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e0",{get:function(){return this.eo},set:function(t){var e=this.eo;this.eo=t,e!=this.eo&&this.d1("HoverBackground",e,this.eo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"es",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.d1("ActualBackground",e,this.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ey",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.d1("Background",e,this.el)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ex",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.d1("ActualTextColor",e,this.ek)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e3",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.d1("TextColor",e,this.er)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"et",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.d1("ActualDisabledTextColor",e,this.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ez",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.d1("DisabledTextColor",e,this.en)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.d1("ActualTextStyle",e,this.o)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.d1("TextStyle",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.d1("IsDisabled",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return null!=this.c5},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.d1("Name",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"de",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bx=t,e!=this.bx&&this.d1("Title",e,this.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.d1("Subtitle",e,this.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a2},set:function(t){this.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.d1("IconName",e,this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.d1("IconCollectionName",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.d1("IconViewBoxLeft",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.d1("IconViewBoxTop",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.d1("IconViewBoxWidth",e,this.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.d1("IconViewBoxHeight",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.ep},set:function(t){var e=this.ep;this.ep=t,e!=this.ep&&this.d1("IconFill",e,this.ep)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ev",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.d1("ActualIconFill",e,this.ei)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e2",{get:function(){return this.eq},set:function(t){var e=this.eq;this.eq=t,e!=this.eq&&this.d1("IconStroke",e,this.eq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ew",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.d1("ActualIconStroke",e,this.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.e4},set:function(t){var e=this.e4;this.e4=t,e!=this.e4&&this.d1("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,this.e4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.d1("CloseOnExecute",e,this.ab)},enumerable:!1,configurable:!0}),n.prototype.get_af=function(){return!0},Object.defineProperty(n.prototype,"af",{get:function(){return this.get_af()},enumerable:!1,configurable:!0}),n.prototype.get_ag=function(){return!0},Object.defineProperty(n.prototype,"ag",{get:function(){return this.get_ag()},enumerable:!1,configurable:!0}),n.prototype.get_al=function(){return!0},Object.defineProperty(n.prototype,"al",{get:function(){return this.get_al()},enumerable:!1,configurable:!0}),n.prototype.get_an=function(){return!0},Object.defineProperty(n.prototype,"an",{get:function(){return this.get_an()},enumerable:!1,configurable:!0}),n.prototype.get_ad=function(){return!0},Object.defineProperty(n.prototype,"ad",{get:function(){return this.get_ad()},enumerable:!1,configurable:!0}),n.prototype.d1=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.d8(t,e,n)},n.prototype.get_m=function(){return 0},Object.defineProperty(n.prototype,"m",{get:function(){return this.get_m()},enumerable:!1,configurable:!0}),n.prototype.d8=function(t,e,i){switch(t){case"Background":case"TextColor":case"TextStyle":this.ed();break;case"ActualBackground":null!=this.y&&(this.y.a4=this.es);break;case"ActualTextColor":null!=this.aa&&(this.aa.a6=this.ex);break;case"ActualTextStyle":null!=this.aa&&(this.aa.bg=this.r);break;case"IsDisabled":null!=this.aa&&(this.aa.a6=this.aj?this.et:this.ex);break;case"ActualIconFill":case"ActualIconStroke":null!=this.z&&(this.z.a7=this.ev,this.z.a8=this.ew);break;case"Visibility":null!=this.j&&this.j.dy();break;case"IconName":case"IconCollectionName":this.d0()}},n.prototype.ak=function(){return null!=this.j&&null!=this.j.bo&&null!==i.typeCast(Et.$,this.j.bo)},n.prototype.ed=function(){null!=this.j&&(this.l=this.j.r,this.es=null!=this.ey?this.ey:this.em,this.ex=null!=this.e3?this.e3:this.j.e5,this.et=null!=this.ez?this.ez:this.j.ew,this.eu=null!=this.e0?this.e0:this.j.e0,this.ev=null!=this.e1?this.e1:this.j.e1,this.ew=null!=this.e2?this.e2:this.j.e2,this.r=null!=this.t?this.t:this.p,this.a5=i.isNaN_(this.bh)?i.DeviceUtils.g(12):this.bh,this.a6=i.isNaN_(this.bi)?i.DeviceUtils.g(12):this.bi,this.a7=i.isNaN_(this.bj)?i.DeviceUtils.g(2):this.bj,this.a4=i.isNaN_(this.bg)?i.DeviceUtils.g(2):this.bg,this.ee())},n.prototype.ee=function(){},n.prototype.d0=function(){null!=this.z&&(this.z.bl=this.cp,this.z.bk=this.cm)},n.prototype.d3=function(t,e,i,n){var r=this;this.ds(i.b,i,n,(function(t){r.di(i.b),r.x=t,r.dr(i.b,r.x,n,(function(){i.b.bo=r.x,r.eb(r.w,r.z,r.aa),r.d5(null==r.w?r.x:r.w,i,n)}))}))},n.prototype.d5=function(t,e,i){},n.prototype.d4=function(t,e,i,n){},n.prototype.dm=function(t,e){this.dn(t,e)},n.prototype.dn=function(t,e){if(e.f=this.a9(t,e),e.h=this.bb(t,e),e.g=this.ba(t,e),e.b=this.a8(t,e),1==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.a5+this.a6,e.e=n}else if(i.isNaN_(this.bl)){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.a5+this.a6,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.bl},n.prototype.ba=function(t,e){return NaN},n.prototype.bb=function(t,e){if(null==this.de)return NaN;var i=this.s(t);return t.p.m(this.de,i)+this.bk},n.prototype.a9=function(t,e){return i.stringIsNullOrEmpty(this.cp)?NaN:i.DeviceUtils.g(36)},n.prototype.s=function(t){return t.u()},n.prototype.a8=function(t,e){return NaN},n.prototype.d2=function(t,e){if(this.d9(),this.ai){var i=this.j.f(this.c5);null!=i&&i.dx(this,this.ae)}else if(this.j.ab(this)){if(null!=this.performed){var n=new ct;this.dl(this,n,e),this.performed(this,((r=new pt).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new pt;return e.c=!1,e.a=t,e}());var r},n.prototype.d9=function(){var t=this,e=this.c8();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.dk(this,r),n.argumentsList=r.toArray();var o,a=((o=new at).a=n,o.b=t.ae,o);null!=this.onCommand&&this.onCommand(this,a),null!=this.j&&this.j.dq(this,a)}},n.prototype.ea=function(t){var e,i=this,n=((e=new at).a=t,e.b=i.ae,e);null!=this.onCommand&&this.onCommand(this,n),null!=this.j&&this.j.dq(this,n)},n.prototype.ao=function(){return null!=this.onCommand},n.prototype.dk=function(t,e){var i=t.n();null!=i&&e.add(i);var n=this.j.ag(t);if(null!=n)for(var r=0;r<n.count;r++)n._inner[r].ah()&&this.dk(n._inner[r],e)},n.prototype.ah=function(){return!0},n.prototype.dx=function(t,e){if(this.ai){var i=this.j.f(this.c5);null!=i&&i.dx(t,e)}else this.d2(this.g(!1),t),e&&this.dj()},n.prototype.dl=function(t,e,i){var n=t.g(t==i);e.add(n);var r=this.j.ag(t);if(null!=r)for(var o=0;o<r.count;o++)this.dl(r._inner[o],e,i)},n.c=function(t){var e=null;switch(t.b){case 2:e=new It;break;case 1:e=new St;break;case 3:e=new At;break;case 4:e=new wt;break;case 5:e=new kt;break;case 6:e=new jt;break;case 7:e=new Ot;break;case 8:e=new xt;break;case 9:e=new Tt;break;case 0:return null}return e.dt(t),e},n.prototype.dt=function(t){if(this.cy=t.name,this.de=t.title,this.ce=t.commandArgument,this.bn=t.commandArgumentValue,this.ch=t.commandId,this.cp=t.iconName,this.cm=t.iconCollectionName,this.bd=t.iconViewBoxLeft,this.be=t.iconViewBoxTop,this.bf=t.iconViewBoxWidth,this.bc=t.iconViewBoxHeight,this.bh=t.paddingLeft,this.bi=t.paddingRight,this.bj=t.paddingTop,this.bg=t.paddingBottom,this.c5=t.parentId,this.aj=t.isDisabled,this.ae=t.closeOnExecute,i.stringIsNullOrEmpty(t.textColor)||(this.e3=i.CSSColorUtil.a(t.textColor)),i.stringIsNullOrEmpty(t.disabledTextColor)||(this.ez=i.CSSColorUtil.a(t.disabledTextColor)),null!=t.actions&&t.actions.length>0)for(var e=0;e<t.actions.length;e++)this.actions.add(n.c(t.actions[e]))},n.prototype.am=function(){return null!=this.d&&null!=this.d.d&&this.d.actions._inner[0]==this},n.prototype.ap=function(){return!0},n.prototype.v=function(t){switch(t){case 1:case 6:case 11:case 10:case 2:case 12:case 13:return this.ap()?2:0;default:return 0}},Object.defineProperty(n.prototype,"y",{get:function(){return this.x},enumerable:!1,configurable:!0}),n.prototype.ds=function(t,e,n,r){var o=this;if(null==t.bo||null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m)i.NativeUIComponent.ar(this.j.p.v(),7,(function(t){var i=t;o.dq(i,n),o.ec(i,e,n),null!=r&&r(i)}));else{var a=t.bo;this.ec(a,e,n),null!=r&&r(a)}},n.prototype.dr=function(t,e,n,r){var o=this;if(null==t.bo||null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m){var a=[this.v(1),this.v(7),this.v(11),this.v(3)];i.NativeUIComponent.as(this.j.p.v(),[1,7,11,3],a,(function(t){var e=t[0],i=t[1],a=t[2],s=t[3];o.dp(e,i,a,s,n),null!=r&&r()}))}else this.eb(this.w,this.z,this.aa),null!=r&&r()},n.prototype.dq=function(t,e){t.f=1==e.a?0:3,t.bo=0},n.prototype.ec=function(t,e,i){t.x=e.a.k,t.a4=this.es,t.bf=this.e5},n.prototype.dp=function(t,e,n,r,o){if(0==this.x.bi){this.x.bw(0,2,1),this.x.by(0,2,1),this.x.bj(t),this.x.b3(t,0),this.x.b4(t,0),t.bj=e,e.bo=0;var a=this.a9(this.j,o);a=i.isNaN_(a)?0:a;var s=this.bb(this.j,o);s=i.isNaN_(s)?0:s-this.bk,e.by(0,2,1),e.bw(0,1,a),e.bw(1,1,s),e.bx(2,2,1,this.bk),e.bj(n),e.bj(r),e.b4(r,0),e.b3(n,0),e.b3(r,1)}t.c=this.l,t.bk=1,t.bi=1,t.bu=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.bt=this.eu,t.bq=!0,t.bo=!this.af,t.bl=this.ad,t.bn=!this.ag,t.bp=!0,t.bm=!0,t.bh=i.runOn(this,this.dw),n.h=1,n.f=1,r.bh=!1,r.h=1,r.f=0,this.w=e,this.u=t,this.z=n,this.aa=r},n.prototype.dw=function(t,e){this.dz()},n.prototype.eb=function(t,e,n){null!=t&&(t.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4)),null!=e&&(e.bd=new i.Thickness(1,0,0,9,0),e.bh=this.bd,e.bi=this.be,e.bj=this.bf,e.bg=this.bc,e.bl=this.cp,e.bk=this.cm,e.a7=this.ev,e.a8=this.ew,e.ad=28,e.x=28),null!=n&&(n.bi=this.de,n.bg=this.r,n.a6=this.aj?this.et:this.ex)},n.prototype.di=function(t){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||null!=this.x&&(this.x.bq=null)},n.prototype.dz=function(){},n.prototype.dy=function(t,e){},n.prototype.d6=function(){},n.prototype.dj=function(){},n.prototype.d7=function(t){if(i.stringIsNullOrEmpty(t.de)||(this.de=t.de),i.stringIsNullOrEmpty(t.da)||(this.da=t.da),i.stringIsNullOrEmpty(t.cp)||(this.cp=t.cp),i.stringIsNullOrEmpty(t.cm)||(this.cm=t.cm),i.stringIsNullOrEmpty(t.ch)||(this.ch=t.ch),i.stringIsNullOrEmpty(t.ce)||(this.ce=t.ce),null!=t.bn&&(this.bn=t.bn),null!=t.ey&&(this.ey=t.ey),null!=t.e0&&(this.e0=t.e0),null!=t.e3&&(this.e3=t.e3),null!=t.t&&(this.t=t.t),null!=t.ez&&(this.ez=t.ez),null!=t.e1&&(this.e1=t.e1),null!=t.e2&&(this.e2=t.e2),i.isNaN_(t.bh)||(this.bh=t.bh),i.isNaN_(t.bj)||(this.bj=t.bj),i.isNaN_(t.bi)||(this.bi=t.bi),i.isNaN_(t.bg)||(this.bg=t.bg),i.isNaN_(t.bl)||(this.bl=t.bl),this.e5!=t.e5&&(this.e5=t.e5),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.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e}return e.__extends(n,t),n.prototype.get_m=function(){return 9},n.prototype.n=function(){return null},n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,e},n.prototype.bb=function(t,e){return NaN},n.prototype.ba=function(t,e){return 88},n.prototype.e8=function(t,e,n,r,o,a,s){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||(t.bo=e,1==s.a?e.f=0:e.f=3,e.by(0,2,1),e.bw(0,0,1),e.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),0==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,0),this.e6=n,this.e6.bk=2,this.e6.bh=i.runOn(this,this.e7)),n.bs=this.de,e.x=a.a.k},n.prototype.e7=function(t,e){this.d2(this.g(!0),this)},n.prototype.d4=function(e,n,r,o){var a=this;t.prototype.d4.call(this,e,n,r,o);var s=r.b;if(null==s.bo||null==s.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,s.am)!=this.m){var u=[0,0];this.l>=3&&this.l<=6&&(u=[0,2]),i.NativeUIComponent.as(n.p.v(),[7,1],u,(function(t){var i=t[0],u=t[1];s.bo=i,a.e8(s,i,u,e,n,r,o)})),s.am=i.enumGetBox(i.ToolActionType_$type,this.m)}else{var l=s.bo,h=l.bh(0);this.e8(s,l,h,e,n,r,o)}},n.$t=i.markType(n,"ToolActionButton",Pt.$),n}(Pt),wt=function(t){function n(){var e=t.call(this)||this;return e.e6=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.e7),e}return e.__extends(n,t),n.prototype.get_af=function(){return this.ao()||this.actions.count>0},n.prototype.get_m=function(){return 4},n.prototype.ba=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.ba.call(this,e,n)},n.prototype.e8=function(t,e,n,r){if((null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m)&&2==e.bi){var o=this.ba(this.j,r);e.bw(3,1,i.isNaN_(o)?0:o),e.bj(n),e.b3(n,3),e.b4(n,0),n.bl="ToolbarDrillDownIcon",n.bk="IG_Default",n.f=1,n.h=1}n.a7=this.ex},n.prototype.dz=function(){this.actions.count>0?this.j.dz(this):this.d2(this.g(!1),this)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m?(this.actions.count>0&&i.NativeUIComponent.aq(this.j.p.v(),11,this.ap()?2:0,(function(e){r.e6=e,r.e8(o,t,r.e6,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m)):this.actions.count>0&&(this.e6=t.bh(2),this.e8(o,t,this.e6,n))},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"ActualTextColor":null!=this.e6&&(this.e6.a6=this.ex)}},n.$t=i.markType(n,"ToolActionLabel",Pt.$),n.e7="M 7.42 8.58 L 12 13.17 L 7.42 17.76 L 8.83 19.17 l 6 -6 l -6 -6 z",n}(Pt),jt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e.e9="channel_1",e.e7=!1,e}return e.__extends(n,t),n.prototype.get_m=function(){return 6},Object.defineProperty(n.prototype,"fa",{get:function(){return this.e9},set:function(t){this.e9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e8",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d1("IsChecked",e,this.e7)},enumerable:!1,configurable:!0}),n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,null!=this.e6&&(e.b=this.e6.bj),e},n.prototype.bp=function(){return this.e6.bj},n.prototype.fc=function(){null!=this.e6&&(this.e6.bj=!1,this.e7=this.e6.bj)},n.prototype.ba=function(t,e){return 30},n.prototype.ee=function(){null!=this.e6&&(this.e6.c=this.l)},n.prototype.dz=function(){this.e6.bj=!0,this.e7=this.e6.bj,this.d2(this.g(!0),this)},n.prototype.fd=function(t,e){this.e7?this.e6.bj=!0:(this.e7=this.e6.bj,this.d2(this.g(!0),this))},n.prototype.fe=function(t,e,n,r,o){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||(e.bw(3,1,this.ba(this.j,o)),2==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,3),this.e6=n,n.bi=!0,n.f=1,n.h=1,n.bk=i.DeviceUtils.g(10),n.ad=i.DeviceUtils.g(20),n.x=i.DeviceUtils.g(20),n.bh=i.runOn(this,this.fd),t.am=i.enumGetBox(i.ToolActionType_$type,this.m)),this.e6.bj=this.e7,this.e6.c=this.l},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.aq(this.j.p.v(),6,this.v(6),(function(i){var a=i;r.fe(o,t,a,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(2);this.fe(o,t,a,e,n)}},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"IsChecked":null!=this.e6&&(this.e6.bj=this.e8)}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e8=i.isChecked,this.fa=i.channel},n.$t=i.markType(n,"ToolActionRadio",Pt.$),n}(Pt),Ot=function(t){function n(){var e=t.call(this)||this;return e.e8=i.DeviceUtils.g(2),e.e6=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e9",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.d1("Size",e,this.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.d1("IsGroupHeaderSeparator",e,this.e6)},enumerable:!1,configurable:!0}),n.prototype.get_m=function(){return 7},n.prototype.dn=function(e,i){t.prototype.dn.call(this,e,i),1==i.a?i.e=this.a5+this.e9+this.a6:i.d=this.a7+this.e9+this.a4},n.prototype.dr=function(t,e,i,n){null!=n&&n()},n.prototype.dq=function(t,e){1==e.a?(t.f=0,t.h=3):t.f=3},n.prototype.ec=function(t,e,n){1==n.a?t.ad=this.e9:t.x=this.e9,t.bd=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),t.a4=this.es,t.bf=this.e5},n.prototype.ee=function(){t.prototype.ee.call(this),this.es=null!=this.ey?this.ey:this.e7?this.j.ey:this.j.e3,1==this.j.o?(this.a5=i.isNaN_(this.bh)?this.j.a4:this.bh,this.a6=i.isNaN_(this.bi)?this.j.a5:this.bi,this.a7=i.isNaN_(this.bj)?this.j.a6:this.bj,this.a4=i.isNaN_(this.bg)?this.j.a3:this.bg):(null==this.d&&this.ak()?(this.a5=i.isNaN_(this.bh)?i.DeviceUtils.g(10):this.bh,this.a6=i.isNaN_(this.bi)?i.DeviceUtils.g(10):this.bi):(this.a5=i.isNaN_(this.bh)?this.j.a8:this.bh,this.a6=i.isNaN_(this.bi)?this.j.a9:this.bi),this.a7=i.isNaN_(this.bj)?this.j.ba:this.bj,this.a4=i.isNaN_(this.bg)?this.j.a7:this.bg)},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"Size":null!=this.j&&this.j.dy();break;case"IsGroupHeaderSeparator":this.ed()}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e9=i.size,this.e7=i.isGroupHeaderSeparator},n.$t=i.markType(n,"ToolActionSeparator",Pt.$),n}(Pt),At=function(t){function n(){var e=t.call(this)||this;return e.fb=null,e.e7=null,e.e6=null,e.fl=-1,e.fm=-1,e.fh=!1,e.fe=!1,e.fd=!1,e.fg=!1,e.fn=500,e.fi=!1,e.e8=null,e.fa=null,e.e9=null,e.ff=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow","M0,0L3,3L6,0"),e.e6=new i.DelayManager(0),e}return e.__extends(n,t),n.prototype.get_m=function(){return 3},n.prototype.get_an=function(){return!1},Object.defineProperty(n.prototype,"fc",{get:function(){return this.fb},enumerable:!1,configurable:!0}),n.prototype.get_fk=function(){return null!=this.e7},Object.defineProperty(n.prototype,"fk",{get:function(){return this.get_fk()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fj",{get:function(){return this.fg},set:function(t){this.fg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fo",{get:function(){return this.fn},set:function(t){this.fn=t},enumerable:!1,configurable:!0}),n.prototype.dh=function(){t.prototype.dh.call(this),i.NativeUIWindow.h(14,i.runOn(this,this.f4)),this.fd=!1},n.prototype.n=function(){return null},n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,e},n.prototype.a9=function(t,e){return i.DeviceUtils.g(36)},n.prototype.bb=function(t,e){return NaN},n.prototype.dr=function(t,e,i,n){null!=n&&n()},n.prototype.di=function(e){t.prototype.di.call(this,e)},n.prototype.f6=function(t,e,n,r,o){var a=n.bj;o&&(e.b1(2),e.b1(1),0==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,0),n.c=this.l,n.bk=2,n.bi=4,n.bp=!0,a.ad=i.DeviceUtils.g(28),a.x=i.DeviceUtils.g(28)),e.br=!1,e.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),a.bl=this.cp,a.bk=this.cm,a.bh=this.bd,a.bi=this.be,a.bj=this.bf,a.bg=this.bc,a.a7=this.ex,a.a8=this.ex,this.e8!=n&&(n.bh=i.runOn(this,this.fv),n.q=i.runOn(this,this.fx),n.s=i.runOn(this,this.fy),n.o=i.runOn(this,this.fw),this.e8=n),this.fa!=a&&(this.fa=a)},n.prototype.f7=function(t,e){this.fb!=e&&(this.fb=e,this.fb.b1=this.j.bb,this.fb.b9=i.BrushUtil.g(255,255,255,255),this.fb.bo=1,this.fb.bx=!0,this.fb.b3=100,this.fb.bv=!0,this.fb.b4=i.truncate(this.j.bc),this.fb.by=!0,2!=t.bi&&t.bj(this.fb),this.fq(),this.fb.q=i.runOn(this,this.f2),this.fb.s=i.runOn(this,this.f3),this.fb.n=i.runOn(this,this.f0),this.fb.o=i.runOn(this,this.f1),this.fd||(i.NativeUIWindow.g(14,i.runOn(this,this.f4)),this.fd=!0)),this.actions.count>0?this.fb.u=!0:this.fb.u=!1},n.prototype.fq=function(){var t=this;0==this.fb.bi?(this.e7=new ft(this.j.p.v()),this.e7.t((function(){return t.fb.bj(t.e7.e)}))):this.e7=this.fb.bh(0).am,this.e7.y=this.j.e6,this.e7.z=this.j.e7,this.e7.p=this.de,this.fb.ca=this.e7.y},n.prototype.fs=function(){},n.prototype.fr=function(){},n.prototype.ft=function(){null!=this.e7&&(this.fb.ca=this.j.e6,this.e7.y=this.j.e6,this.e7.z=this.j.e7,this.fb.b1=this.j.bb,this.fb.b4=i.truncate(this.j.bc))},n.prototype.f8=function(){return null!=this.e7?this.e7.aa():i.Size.empty},n.prototype.f4=function(){if(null!=this.e8){var t=this.e8.ba();this.fb.b7(t)}},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.as(this.j.p.v(),[10,12],[this.v(10),this.v(12)],(function(e){r.f6(o,t,e[0],n,!0),r.f7(t,e[1])})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(0),s=t.bh(1);this.f6(o,t,a,n,!1),this.f7(t,s)}},n.prototype.ee=function(){t.prototype.ee.call(this),this.a5=i.isNaN_(this.bh)?i.DeviceUtils.g(4):this.bh,this.a6=i.isNaN_(this.bi)?i.DeviceUtils.g(4):this.bi,null!=this.e8&&(this.e8.c=this.l,null!==i.typeCast(i.NativeUIIconButton.$,this.e8)&&(this.e8.a7=this.ex,this.e8.a8=this.ex)),null!=this.fa&&(this.fa.a7=this.ex,this.fa.a8=this.ex),null!=this.e9&&(this.e9.a8=this.ex),this.ft()},n.prototype.d0=function(){null!=this.fa&&(this.fa.bl=this.cp,this.fa.bk=this.cm)},n.prototype.d6=function(){this.actions.count>0&&(null!=this.fb&&this.fk?(this.f5(),this.fh=!0):this.fg=!0)},n.prototype.dj=function(){this.actions.count>0&&(null!=this.fb&&this.fk?this.fp():this.fg=!1)},n.prototype.f5=function(t){if(void 0===t&&(t=!1),!this.fi){if(this.j.dd(),0==this.actions.count&&i.stringIsNullOrEmpty(this.de))return;var e=this.e8.ba(),n=new i.Rect(0,e.left,e.top,e.width,e.height);if(n.top=e.top+window.scrollY,n.left=e.left+window.scrollX,1==this.j.o){var r=i.NativeUIWindow.d(this.j.p.n),o=this.f8();o.height+=this.fb.b2,e.bottom+o.height>r?e.top-o.height<0?this.fb.b8(n,1,3):this.fb.b8(n,2,3):this.fb.b8(n,1,3)}else{var a=i.NativeUIWindow.f(this.j.p.n),s=this.f8();s.width+=this.fb.b2,e.right+s.width>a?e.left-s.width<0?this.fb.b8(n,4,3):this.fb.b8(n,3,3):this.fb.b8(n,4,3)}this.fi=!0,this.fs()}this.fh=t,this.fg=!1},n.prototype.fp=function(){var t=this;this.fi&&(this.fb.b5(),this.fi=!1,this.e6.f((function(){return t.fr()}),100),this.fh=!1)},n.prototype.fz=function(){this.f5(),this.fm=-1},n.prototype.fu=function(){this.fp(),this.fl=-1},n.prototype.fx=function(t,e){if(this.fe=!0,-1!=this.fl&&(this.e6.g(this.fl),this.fl=-1),!this.fi){if(this.actions.count>0&&!this.j.ac)return;this.fm=this.e6.f(i.runOn(this,this.fz),this.fo)}},n.prototype.fy=function(t,e){-1!=this.fm&&(this.e6.g(this.fm),this.fm=-1),this.fi&&!this.fh&&(this.fl=this.e6.f(i.runOn(this,this.fu),50)),this.fe=!1},n.prototype.fv=function(t,e){this.actions.count>0?this.fi?this.fp():(-1!=this.fm&&(this.e6.g(this.fm),this.fm=-1),this.f5(),this.fh=!0):this.d2(this.g(!0),this)},n.prototype.f2=function(t,e){this.ff=!0,-1!=this.fl&&(this.e6.g(this.fl),this.fl=-1)},n.prototype.f3=function(t,e){this.fh||(this.fl=this.e6.f(i.runOn(this,this.fu),50)),this.ff=!1},n.prototype.f0=function(t,e){this.fh=!0},n.prototype.f1=function(t,e){this.fb.t(e.a)||this.e8.t(e.a)||this.fp()},n.prototype.fw=function(t,e){this.fi&&(this.fb.t(e.a)||this.e8.t(e.a)||this.fp())},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"ExecutionContext":this.e6.b=this.b;break;case"Title":null!=this.e7&&(this.e7.p=this.de)}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.fo=i.tooltipDelay,i.isMenuOpenOnStart&&this.d6()},n.$t=i.markType(n,"ToolActionIconButton",Pt.$),n}(Pt),St=function(t){function n(){var e,r=t.call(this)||this;return r.e6=((e=new i.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Bold",e.o="Normal",e),r.e7=null,r.fd=null,r.fe=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.e9),r}return e.__extends(n,t),n.prototype.get_m=function(){return 1},n.prototype.get_af=function(){return!1},n.prototype.get_ag=function(){return!1},n.prototype.get_al=function(){return!1},Object.defineProperty(n.prototype,"ff",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.d1("ActualBackIconColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fg",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.d1("BackIconColor",e,this.fe)},enumerable:!1,configurable:!0}),n.prototype.s=function(t){return this.e6},n.prototype.a8=function(t,e){return this.am()?i.DeviceUtils.g(36):NaN},n.prototype.fc=function(t,e,n,r){var o=n.bj;null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||2==e.bi&&(e.bj(n),e.bz(0,1,this.a8(this.j,r)),e.b3(e.bh(0),1),e.b3(e.bh(1),2),e.b3(n,0),e.b4(n,0),n.c=this.l,n.h=1,n.f=1,n.bd=new i.Thickness(1,-9,0,9,0),n.bh=i.runOn(this,this.fb),this.e7=n,o.bl="ToolbarBackButton",o.bk="IG_Default"),o.a7=this.ff},n.prototype.fb=function(t,e){this.j.d0(this)},n.prototype.di=function(e){t.prototype.di.call(this,e),null!=e.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,e.am)==this.m||this.am()&&null!=this.e7&&(this.e7.bh=null)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)this.am()&&i.NativeUIComponent.aq(this.j.p.v(),10,this.ap()?2:0,(function(e){return r.fc(o,t,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else if(this.am()){var a=t.bh(2);this.fc(o,t,a,n)}},n.prototype.ee=function(){t.prototype.ee.call(this),null!=this.e7&&(this.e7.c=this.l),this.es=null!=this.ey?this.ey:this.j.ex,this.ex=null!=this.e3?this.e3:this.j.ez,this.ff=null!=this.fg?this.fg:this.ex,this.r=null!=this.t?this.t:this.e6},n.$t=i.markType(n,"ToolActionGroupHeader",Pt.$),n.e9="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",n}(Pt),xt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f9=null,e}return e.__extends(n,t),n.prototype.get_m=function(){return 8},n.prototype.get_fk=function(){return null!=this.f9},n.prototype.fq=function(){var t=this;if(this.fc.bi>0)for(;this.fc.bi>0;)this.fc.bm(0);null!=this.f9&&(this.f9.s=null),this.f9=new $t(this.j.p.v(),this.b),this.f9.n=this.l,this.f9.ai((function(){t.f9.ae(t,(function(e){t.f9.aj(e),null==t.actions._inner[0].es||i.BrushUtilCore.a(t.actions._inner[0].es)?t.fc.ca=t.j.e4:t.fc.ca=t.actions._inner[0].es,t.fj&&t.b.executeDelayed((function(){return t.f5(!0)}),100)})),t.f9.r.a3=new i.CornerRadius(0,8),t.f9.r.a4=t.j.e4,t.fc.bj(t.f9.r)})),this.f9.s=i.runOn(this,this.ga)},n.prototype.fs=function(){null!=this.f9&&this.f9.am()},n.prototype.fr=function(){null!=this.f9&&(this.f9.aw(),this.fc.b6())},n.prototype.ft=function(){null!=this.f9&&(this.f9.ax(this.l,this.j),null==this.actions._inner[0].es||i.BrushUtilCore.a(this.actions._inner[0].es)?this.fc.ca=this.j.e4:this.fc.ca=this.actions._inner[0].es,this.fc.b1=8,this.fc.b4=4)},n.prototype.f8=function(){return this.f9.a2()},n.prototype.gb=function(t,e,n,r,o,a,s){s&&(t.b1(2),t.b1(1),0==t.bi&&(n.bw(0,1,i.DeviceUtils.g(28)),n.bw(1,1,i.DeviceUtils.g(6)),n.bj(r),n.bj(o),n.b3(r,0),n.b3(o,1),e.bj=n,t.bj(e)),t.b4(e,0),t.b3(e,0),e.c=this.l,e.bk=2,e.bi=4,e.bp=!0,r.ad=i.DeviceUtils.g(28),r.x=i.DeviceUtils.g(28),r.h=1,o.ad=i.DeviceUtils.g(6),o.x=i.DeviceUtils.g(3),o.h=1,o.bd=new i.Thickness(1,-4,0,0,0),o.bl="igDropDownArrow",o.bk="IG_Default",o.bh=0,o.bi=0,o.bj=6,o.bg=3,o.a7=i.BrushUtil.g(0,0,0,0),o.ab=i.DeviceUtils.g(1)),t.br=!1,t.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),r.bl=this.cp,r.bk=this.cm,r.bh=this.bd,r.bi=this.be,r.bj=this.bf,r.bg=this.bc,r.a7=this.ex,r.a8=this.ex,o.a8=this.ex,this.e8!=e&&(e.bh=i.runOn(this,this.fv),e.q=i.runOn(this,this.fx),e.s=i.runOn(this,this.fy),e.o=i.runOn(this,this.fw),this.e8=e),this.fa!=r&&(this.fa=r),this.e9!=o&&(this.e9=o)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m){var a=[this.v(1),this.v(7),this.v(11),this.v(11),this.v(12)];i.NativeUIComponent.as(this.j.p.v(),[1,7,11,11,12],a,(function(e){r.gb(t,e[0],e[1],e[2],e[3],n,!0),r.f7(t,e[4])})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m)}else{var s=t.bh(0),u=s.bj,l=u.bh(0),h=u.bh(1),c=t.bh(1);this.gb(t,s,u,l,h,n,!1),this.f7(t,c)}},n.prototype.ga=function(t){this.ea(t.a),t.b&&this.dj()},n.$t=i.markType(n,"ToolActionIconMenu",At.$),n}(At),It=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e.e7=!1,e}return e.__extends(n,t),n.prototype.get_m=function(){return 2},n.prototype.get_ad=function(){return!1},Object.defineProperty(n.prototype,"e8",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d1("IsChecked",e,this.e7)},enumerable:!1,configurable:!0}),n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,null!=this.e6&&(e.b=this.e6.bj),e},n.prototype.bp=function(){return this.e6.bj},n.prototype.ba=function(t,e){return i.DeviceUtils.g(32)},n.prototype.di=function(e){t.prototype.di.call(this,e),null!=e.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,e.am)==this.m||null!=this.e6&&(this.e6.bh=null)},n.prototype.dz=function(){this.e6.bj=!this.e6.bj,this.e7=this.e6.bj,this.d2(this.g(!0),this)},n.prototype.fb=function(t,e,n,r,o){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||(e.bw(3,1,this.ba(this.j,o)),2==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,3),this.e6=n,n.bi=!0,n.f=1,n.h=1,n.ad=i.DeviceUtils.g(20),n.x=i.DeviceUtils.g(20),n.bh=i.runOn(this,this.fa)),this.e6.bj=this.e7,this.e6.c=this.l},n.prototype.fa=function(t,e){this.e7=this.e6.bj,this.d2(this.g(!0),this)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.aq(this.j.p.v(),6,this.v(6),(function(i){var a=i;r.fb(o,t,a,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(2);this.fb(o,t,a,e,n)}},n.prototype.ee=function(){null!=this.e6&&(this.e6.c=this.l)},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"IsChecked":null!=this.e6&&(this.e6.bj=this.e7)}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e8=i.isChecked},n.$t=i.markType(n,"ToolActionCheckbox",Pt.$),n}(Pt),kt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e.e7=0,e}return e.__extends(n,t),n.prototype.get_m=function(){return 5},Object.defineProperty(n.prototype,"e9",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d1("Value",e,this.e7)},enumerable:!1,configurable:!0}),n.prototype.bp=function(){return this.e8()},n.prototype.ba=function(t,e){return i.DeviceUtils.g(70)},n.prototype.e8=function(){var t,e,n=this;return t=NaN,null!=this.e6&&(e=i.tryParseNumber(n.e6.bq,t),t=e.p1,e.ret),t},n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,e.e=this.e8(),e},n.prototype.fb=function(t,e){this.e9=this.e8();var i=this.g(!0);this.d2(i,this)},n.prototype.fc=function(t,e,n,r,o){if(null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m){var a=this.ba(this.j,o);e.bw(3,1,a),2==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,3),this.e6=n,n.ad=a,n.bj=2,n.bm=1,n.f=2,n.h=1,n.bn=1,n.bi=2,n.bp=!1,n.bl=i.runOn(this,this.fb)}n.c=this.l,n.bt=this.aj?this.et:this.ex,n.bg=this.r,n.bo=this.aj,i.isNaN_(this.e9)||(n.bq=this.e9.toString())},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.aq(this.j.p.v(),2,this.v(2),(function(i){var a=i;r.fc(o,t,a,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(2);this.fc(o,t,a,e,n)}},n.prototype.ee=function(){null!=this.e6&&(this.e6.c=this.l)},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"IsDisabled":null!=this.e6&&(this.e6.bo=this.aj,this.e6.bt=this.aj?this.et:this.ex)}},n.prototype.dz=function(){null==this.e6||this.aj||this.e6.aw()},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e9=i.value},n.$t=i.markType(n,"ToolActionNumberInput",Pt.$),n}(Pt),Nt=function(t){function n(){var e=t.call(this,Pt.$,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(Pt.$)),n}(i.ObservableCollection$1),Et=function(t){function r(){var e=t.call(this)||this;e.l=null,e.x=!1,e.v=null,e.o=null,e.m=null,e.p=0,e.e=new Nt,e.c=new Nt,e.d=new Nt,e.i=r.j,e.r=null,e.ay=r.az,e.cn=null,e.cv=null,e.cp=null,e.cu=null,e.cr=null,e.cw=null,e.co=null,e.cq=null,e.cy=null,e.cx=null,e.am=NaN,e.an=NaN,e.cs=null,e.ct=null,e.s=null,e.aj=NaN,e.ak=NaN,e.al=NaN,e.ai=NaN,e.af=NaN,e.ag=NaN,e.ah=NaN,e.ae=NaN,e.aa=!0,e.z=!1,e.y=!1,e.propertyChanged=null,e.a=null,e.onCommand=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.bz));var a=e.actualActions;a.collectionChanged=i.delegateCombine(a.collectionChanged,i.runOn(e,e.b1));var s=e.actualActions;s.collectionResetting=i.delegateCombine(s.collectionResetting,i.runOn(e,e.b2)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.j();var u=new _t;return u.a=e,e.l=u,e.l.v(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"w",{get:function(){return null==this.v&&(this.v=new i.SRProvider(this.l.i),this.v.cb("Layouts")),this.v},enumerable:!1,configurable:!0}),r.prototype.b7=function(t){this.o=t,this.o.bo=this,this.o.r=0==this.p?1:this.p;var e=this.o;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.by)),this.o.o=this.k,this.o.ac=this.ad,this.o.fi=this.c8,this.o.e9=this.c0,this.o.e8=this.cz,this.o.fh=this.c7,this.o.fa=this.c1,this.o.fc=this.c2,this.o.fg=this.c6,this.o.fd=this.c3,this.o.fk=this.da,this.o.fj=this.c9,this.o.bl=this.aw,this.o.bm=this.ax,this.o.fe=this.c4,this.o.ff=this.c5,this.o.be=this.ap,this.o.bf=this.aq,this.o.bg=this.ar,this.o.bd=this.ao,this.o.bi=this.at,this.o.bj=this.au,this.o.bk=this.av,this.o.bh=this.as},r.prototype.by=function(t,e){var i=!1;null!=this.r&&2==this.r.onToolCommandExecuting(e.a)&&(i=!0,this.m=e),null==this.onCommand||i||this.onCommand(this,e)},r.prototype.ce=function(t){null!=this.onCommand&&(this.onCommand(this,this.m),this.m=null)},r.prototype.cc=function(){var t=this.target;this.cd(t,t)},r.prototype.ca=function(t){this.o.notifySizeChanged()},Object.defineProperty(r.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.cb("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.cb("AutoGeneratedActions",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.cb("Actions",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.cb("ActualActions",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.cb("Orientation",i.enumGetBox(bt,e),i.enumGetBox(bt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.cb("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.cb("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c7",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.cb("SubmenuBackgroundColor",e,this.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.cb("GroupHeaderBackgroundColorPropertyName",e,this.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c6",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.cb("SeparatorBackgroundColor",e,this.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c3",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.cb("HoverBackgroundColor",e,this.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c8",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.cb("TextColor",e,this.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.cb("DisabledTextColor",e,this.co)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.cb("GroupHeaderTextColor",e,this.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"da",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.cb("ToolTipTextColor",e,this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c9",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.cb("ToolTipBackgroundColor",e,this.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.cb("ToolTipCornerRadius",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.cb("ToolTipElevation",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c4",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.cb("IconFill",e,this.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c5",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.cb("IconStroke",e,this.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.cb("CellTextStyle",e,this.s)},enumerable:!1,configurable:!0}),r.prototype.u=function(){return null==this.t?this.l.d():this.t},Object.defineProperty(r.prototype,"at",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.cb("SeparatorVerticalPaddingLeft",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"au",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.cb("SeparatorVerticalPaddingRight",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"av",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.cb("SeparatorVerticalPaddingTop",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"as",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.cb("SeparatorVerticalPaddingBottom",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ap",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.cb("SeparatorHorizontalPaddingLeft",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aq",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.cb("SeparatorHorizontalPaddingRight",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ar",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.cb("SeparatorHorizontalPaddingTop",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ao",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.cb("SeparatorHorizontalPaddingBottom",e,this.ae)},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.cb("ShowOnHover",e,this.aa)},enumerable:!1,configurable:!0}),r.prototype.bz=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,h)){var c=h;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.b0))}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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.b0))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}this.b9()},r.prototype.b1=function(t,e){this.cm()},r.prototype.b2=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.b0))}this.actualActions._inner[n].b=null}},r.prototype.cm=function(){var t=0==this.q?1:this.q;null!=this.o&&(this.o.r=t);for(var e=0;e<this.actualActions.count;e++)this.actualActions._inner[e].l=t},r.prototype.b0=function(t,e){},r.prototype.b9=function(){this.ch()},r.prototype.ch=function(){this.y||(null!=this.b?(this.y=!0,this.b.enqueueAction(i.runOn(this,this.b5))):this.z=!0)},r.prototype.b5=function(){this.y&&(this.y=!1,this.ci(),this.o.actions!=this.actualActions&&(this.o.actions=this.actualActions))},r.prototype.ci=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,a=!1,s=-1,u=0,l=function(e){var l,c=h.actions._inner[e];i.stringIsNullOrEmpty(c.c0)?(i.stringIsNullOrEmpty(c.cc)?i.stringIsNullOrEmpty(c.b9)||(null!=c.d&&c.d.actions.remove(c),function(){var e=t.ab(c.b9,t.actualActions,n,s);return n=e.p2,s=e.p3,e.ret}()&&(r=c.b9,o=!1,a=!0,u=0)):(null!=c.d&&c.d.actions.remove(c),function(){var e=t.ab(c.cc,t.actualActions,n,s);return n=e.p2,s=e.p3,e.ret}()&&(r=c.cc,o=!0,a=!1)),i.stringIsNullOrEmpty(r)?h.actualActions.add(c):o?(n.insert(s,c),s++):a&&(n.insert(s+1+u,c),u++)):(l=t.ab(c.c0,t.actualActions,n,s),n=l.p2,s=l.p3,l.ret&&n._inner[s].d7(c))},h=this,c=0;c<this.actions.count;c++)l(c)},r.prototype.ab=function(t,e,i,n){for(var r=this,o=function(o){var a,s=e._inner[o];return null!=s.cy&&s.cy==t?{value:{ret:!0,p2:i=e,p3:n=o}}:s.actions.count>0&&(a=r.ab(t,s.actions,i,n),i=a.p2,n=a.p3,a.ret)?{value:{ret:!0,p2:i,p3:n}}:void 0},a=0;a<e.count;a++){var s=o(a);if("object"==typeof s)return s.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.ac=function(t,e,i,n){for(var r=this,o=function(o){var a,s=e._inner[o];if(null==s.ch){if(null!=s.cy&&s.cy==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=s.ch&&s.ch==t)return{value:{ret:!0,p2:i=e,p3:n=o}};if(s.actions.count>0&&(a=r.ab(t,s.actions,i,n),i=a.p2,n=a.p3,a.ret))return{value:{ret:!0,p2:i,p3:n}}},a=0;a<e.count;a++){var s=o(a);if("object"==typeof s)return s.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.b6=function(){this.y&&this.b5()},r.prototype.notifySizeChanged=function(){this.l.s()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.l.t(t)},r.prototype.cb=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cf(t,e,n)},r.prototype.cf=function(t,e,i){switch(t){case"CellTextStyle":this.ch();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":this.cl();break;case"Target":var n=i,r=e;this.cd(r,n);break;case"BaseTheme":this.cm();break;case"ExecutionContext":null!=this.b&&this.z&&(this.ch(),this.z=!1)}},r.prototype.cl=function(){null!=this.o&&(this.o.ac=this.ad,this.o.e8=this.cz,this.o.fi=this.c8,this.o.e9=this.c0,this.o.fh=this.c7,this.o.fa=this.c1,this.o.fc=this.c2,this.o.fg=this.c6,this.o.fd=this.c3,this.o.o=this.k,this.o.fk=this.da,this.o.fj=this.c9,this.o.bl=this.aw,this.o.bm=this.ax,this.o.fe=this.c4,this.o.ff=this.c5,this.o.be=this.ap,this.o.bf=this.aq,this.o.bg=this.ar,this.o.bd=this.ao,this.o.bi=this.at,this.o.bj=this.au,this.o.bk=this.av,this.o.bh=this.as)},r.prototype.cd=function(t,e){if(this.r=e,null!=t&&(t.commandCompleted=null,this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.ch()),null!=e){e.commandCompleted=i.runOn(this,this.ce),e.invalidateActions=i.runOn(this,this.cc),this.autoGeneratedActions.clear();var n=e.getDesiredToolbarActions();if(null!=n)for(var r=0;r<n.length;r++){var o=Pt.c(n[r]);this.autoGeneratedActions.add(o)}e.addCommandStateChangedListener(this),this.ch()}},Object.defineProperty(r.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.cb("ExecutionContext",e,this.a)},enumerable:!1,configurable:!0}),r.prototype.b3=function(){null!=this.o&&this.o.dd()},r.prototype.onCommandStateChanged=function(t,e,n){var r=this,o=null,a=-1;if(function(){var e=r.ac(t,r.actualActions,o,a);return o=e.p2,a=e.p3,e.ret}()){var s=o._inner[a];switch(e){case 2:switch(s.m){case 2:s.e8=n;break;case 5:s.e9=n;break;case 6:s.e8=n}break;case 0:s.e5=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:s.aj=n}}},r.prototype.cj=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.cp==e&&(n.cp=null,n.cp=e),null!=n.actions&&n.actions.count>0&&this.cj(n.actions,e)}},r.prototype.ck=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.cj(this.actualActions,e)},r.prototype.ba=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.j=1,r.az=null,r}(i.Base),Bt=function(t){function r(){var e=t.call(this)||this;e.p=null,e.v=null,e.bo=null,e.y=!1,e.w=null,e.i=new ht,e.propertyChanged=null,e.g=new Nt,e.contentRefreshed=null,e.aa=!0,e.z=!1,e.ae=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Pt.$),0),e.af=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Pt.$),0),e.ad=new i.Dictionary$2(i.String_$type,Pt.$,0),e.s=null,e.a=null,e.q=0,e.ei=null,e.d5=null,e.er=null,e.ee=null,e.ek=null,e.d7=null,e.eq=null,e.ed=null,e.el=null,e.d8=null,e.en=null,e.ea=null,e.d=null,e.ar=Number.POSITIVE_INFINITY,e.es=null,e.ef=null,e.ej=null,e.d6=null,e.em=null,e.d9=null,e.eu=null,e.eh=null,e.et=null,e.eg=null,e.a0=NaN,e.ap=NaN,e.a1=NaN,e.aq=NaN,e.eo=null,e.eb=null,e.ep=null,e.ec=null,e.ax=NaN,e.am=NaN,e.ay=NaN,e.an=NaN,e.az=NaN,e.ao=NaN,e.aw=NaN,e.al=NaN,e.at=NaN,e.ai=NaN,e.au=NaN,e.aj=NaN,e.av=NaN,e.ak=NaN,e.as=NaN,e.ah=NaN,e.m=r.n,e.onCommand=null,e.e=0,e.drillDownRequested=null,e.drillUpRequested=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.c9)),n.NativeUIXInputsFactory.j(),i.NativeUIInputsFactory.n(),yt.e();var a=new vt;return a.c=e,e.p=a,e.p.ac(),e.d4(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"x",{get:function(){return null==this.w&&(this.w=new i.SRProvider(this.p.n),this.w.cb("Layouts")),this.w},enumerable:!1,configurable:!0}),r.prototype.di=function(t){this.d=t;var e=this.d;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.c8));var n=this.d;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.c5)),this.d.k=this.o,this.d.ai=!0;var r=this.d;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.c6));var o=this.d;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.c7))},r.prototype.c5=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new gt)},r.prototype.c6=function(t,e){var n=e.c,r=new ht;this.dr(r),n.dm(this,r),0==n.e5?i.isNaN_(r.d)?e.a=this.d.av:e.a=r.d:e.a=0},r.prototype.c7=function(t,e){var n=e.c,r=new ht;this.dr(r),n.dm(this,r),0==n.e5?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.c8=function(t,e){var i=e.a.o,n=t;if(1==this.o){var r=new ht;this.dr(r),i.dm(this,r),i.d3(n,this,e,r)}else i.d3(n,this,e,this.i)},r.prototype.dn=function(t){this.ar=t.width,this.dv(),this.d.notifySizeChanged()},Object.defineProperty(r.prototype,"actions",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.dp("Actions",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ac",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.dp("ShowOnHover",e,this.aa)},enumerable:!1,configurable:!0}),r.prototype.c9=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,h)){var c=h;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dj))}h.dh(),h.b=null,h.j=null}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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.dj))}d.b=this.a,d.j=this}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}this.d3(this.actions),this.dm()},r.prototype.da=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.dj))}this.actions._inner[n].dh(),this.actions._inner[n].b=null,this.actions._inner[n].j=null}},r.prototype.dm=function(){this.dv(),this.p.z()},r.prototype.dv=function(){this.z||(this.z=!0,this.a.enqueueAction(i.runOn(this,this.df)))},r.prototype.dx=function(){this.z=!0,this.df()},r.prototype.df=function(){if(this.z){this.z=!1,this.db(),this.d1();for(var t=0;t<this.g.count;t++)this.j(this.g._inner[t]);this.dg()}},r.prototype.db=function(){this.ae.clear(),this.af.clear(),this.ad.clear();for(var t=0;t<this.g.count;t++)this.g._inner[t].j=this,null!=this.g._inner[t].cw&&this.ad.item(this.g._inner[t].cw,this.g._inner[t]);for(var e=0;e<this.g.count;e++){if(null!=this.g._inner[e].c5)if(this.ad.containsKey(this.g._inner[e].c5))this.ae.containsKey(this.g._inner[e].c5)||this.ae.item(this.g._inner[e].c5,new i.List$1(Pt.$,0)),this.ae.item(this.g._inner[e].c5).add(this.g._inner[e])}for(var n=0;n<this.g.count;n++)if(6==this.g._inner[n].m){var r=this.g._inner[n].fa;this.af.containsKey(r)||this.af.item(r,new i.List$1(Pt.$,0)),this.af.item(r).add(this.g._inner[n])}},r.prototype.ab=function(t){return null!=t.cw&&this.ae.containsKey(t.cw)},r.prototype.f=function(t){return this.ad.containsKey(t)?this.ad.item(t):null},r.prototype.ag=function(t){return null==t.cw?null:this.ae.containsKey(t.cw)?this.ae.item(t.cw):null},r.prototype.j=function(t){var e=new ht;return this.dr(e),t.dm(this,e),this.dk(this.i,e),e},r.prototype.dr=function(t){t.a=this.o,t.c=this.ar},r.prototype.dk=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.d1=function(){this.i=new ht,this.i.a=this.o,this.i.c=this.ar},r.prototype.fl=function(){var t=0,e=0;if(0==this.o)for(var n=0;n<this.actions.count;n++){var r=this.j(this.actions._inner[n]);t=Math.max(r.e,t),0==this.actions._inner[n].e5&&(i.isNaN_(r.d)?e+=this.a2:e+=r.d)}return new i.Size(1,t,e)},r.prototype.dg=function(){this.d.itemsSource!=this.actions&&(this.d.itemsSource=this.actions)},r.prototype.dh=function(){this.z&&this.df(),null!=this.d&&this.d.bt()},r.prototype.dy=function(){null!=this.d&&this.d.cm()},r.prototype.dw=function(t){var e=t.fa,i=t.cw;if(null!=this.af&&this.af.containsKey(e))for(var n=0;n<this.af.item(e).count;n++)this.af.item(e)._inner[n].cw!=i&&this.af.item(e)._inner[n].fc()},r.prototype.dj=function(t,e){this.dm()},r.prototype.dc=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].dh()},r.prototype.ds=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.dj))}this.actions._inner[t].b=null}},r.prototype.notifySizeChanged=function(){this.p.y()},r.prototype.destroy=function(){this.provideContainer(null),this.dc()},r.prototype.provideContainer=function(t){this.p.aa(t)},Object.defineProperty(r.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.dp("CellTextStyle",e,this.s)},enumerable:!1,configurable:!0}),r.prototype.u=function(){return null==this.t?this.p.f():this.t},r.prototype.dp=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.dt(t,e,n)},r.prototype.dt=function(t,n,r){var o,a,s,u;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":this.d4();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":this.d3(this.actions);break;case"CellTextStyle":this.dv();break;case"ActualBackgroundColor":this.d2();break;case"Orientation":null!=this.d&&(this.d.k=this.o,this.p.ad());break;case"Actions":if(null!=n){var l=n;l.collectionChanged=i.delegateRemove(l.collectionChanged,i.runOn(this,this.c9)),l.collectionResetting=i.delegateRemove(l.collectionResetting,i.runOn(this,this.da));try{for(var h=e.__values(i.fromEnum(l)),c=h.next();!c.done;c=h.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.dj))}p.b=null,p.j=null}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}}if(null!=r){var d=r;d.collectionChanged=i.delegateCombine(d.collectionChanged,i.runOn(this,this.c9)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.da));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.dj))}y.b=this.a,y.j=this}}catch(t){s={error:t}}finally{try{g&&!g.done&&(u=b.return)&&u.call(b)}finally{if(s)throw s.error}}}this.d3(this.actions),this.dv()}},r.prototype.d4=function(){switch(this.r){case 0:case 1:case 2:case 5:case 3:this.e5=null!=this.fi?this.fi:i.BrushUtil.g(255,24,29,31),this.ew=null!=this.e9?this.e9:i.BrushUtil.g(102,0,0,0),this.ev=null!=this.e8?this.e8:i.BrushUtil.g(255,255,255,255),this.e4=null!=this.fh?this.fh:i.BrushUtil.g(255,255,255,255),this.ex=null!=this.fa?this.fa:i.BrushUtil.g(255,237,239,245),this.ez=null!=this.fc?this.fc:i.BrushUtil.g(255,142,143,147),this.e3=null!=this.fg?this.fg:i.BrushUtil.g(255,237,239,245),this.ey=null!=this.fb?this.fb:i.BrushUtil.g(25,0,0,0),this.e0=null!=this.fd?this.fd:i.BrushUtil.g(51,178,191,220),this.e7=null!=this.fk?this.fk:i.BrushUtil.g(255,0,0,0),this.e1=null!=this.fe?this.fe:i.BrushUtil.g(255,0,0,0),this.e2=null!=this.ff?this.ff:i.BrushUtil.g(255,0,0,0),this.e6=null!=this.fj?this.fj:i.BrushUtil.g(255,237,239,245),this.bb=i.isNaN_(this.bl)?8:this.bl,this.bc=i.isNaN_(this.bm)?4:this.bm,this.a8=i.isNaN_(this.bi)?0:this.bi,this.a9=i.isNaN_(this.bj)?0:this.bj,this.ba=i.isNaN_(this.bk)?0:this.bk,this.a7=i.isNaN_(this.bh)?0:this.bh,this.a4=i.isNaN_(this.be)?0:this.be,this.a5=i.isNaN_(this.bf)?0:this.bf,this.a6=i.isNaN_(this.bg)?i.DeviceUtils.g(10):this.bg,this.a3=i.isNaN_(this.bd)?i.DeviceUtils.g(10):this.bd;break;case 6:case 4:this.e5=null!=this.fi?this.fi:i.BrushUtil.g(255,255,255,255),this.ew=null!=this.e9?this.e9:i.BrushUtil.g(102,255,255,255),this.ev=null!=this.e8?this.e8:i.BrushUtil.g(255,55,63,86),this.e4=null!=this.fh?this.fh:i.BrushUtil.g(255,55,63,86),this.ex=null!=this.fa?this.fa:i.BrushUtil.g(255,44,50,70),this.ez=null!=this.fc?this.fc:i.BrushUtil.g(255,255,255,255),this.e3=null!=this.fg?this.fg:i.BrushUtil.g(255,44,50,70),this.ey=null!=this.fb?this.fb:i.BrushUtil.g(25,0,0,0),this.e0=null!=this.fd?this.fd:i.BrushUtil.g(25,105,136,255),this.e7=null!=this.fk?this.fk:i.BrushUtil.g(255,255,255,255),this.e1=null!=this.fe?this.fe:i.BrushUtil.g(255,210,212,216),this.e2=null!=this.ff?this.ff:i.BrushUtil.g(255,210,212,216),this.e6=null!=this.fj?this.fj:i.BrushUtil.g(255,44,50,70),this.bb=i.isNaN_(this.bl)?8:this.bl,this.bc=i.isNaN_(this.bm)?4:this.bm,this.a8=i.isNaN_(this.bi)?0:this.bi,this.a9=i.isNaN_(this.bj)?0:this.bj,this.ba=i.isNaN_(this.bk)?0:this.bk,this.a7=i.isNaN_(this.bh)?0:this.bh,this.a4=i.isNaN_(this.be)?0:this.be,this.a5=i.isNaN_(this.bf)?0:this.bf,this.a6=i.isNaN_(this.bg)?i.DeviceUtils.g(10):this.bg,this.a3=i.isNaN_(this.bd)?i.DeviceUtils.g(10):this.bd}},r.prototype.d3=function(t){for(var e=0;e<t.count;e++)t._inner[e].ed(),this.d3(t._inner[e].actions)},r.prototype.d2=function(){null!=this.p.n&&i.NativeUI.m(this.p.t,this.ev)},Object.defineProperty(r.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.dp("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e8",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.dp("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ev",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.dp("ActualBackgroundColor",e,this.d5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fh",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.dp("SubmenuBackgroundColor",e,this.er)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e4",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.dp("ActualSubmenuBackgroundColor",e,this.ee)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fa",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.dp("GroupHeaderBackgroundColor",e,this.ek)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ex",{get:function(){return this.d7},set:function(t){var e=this.d7;this.d7=t,e!=this.d7&&this.dp("ActualGroupHeaderBackgroundColor",e,this.d7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fg",{get:function(){return this.eq},set:function(t){var e=this.eq;this.eq=t,e!=this.eq&&this.dp("SeparatorBackgroundColor",e,this.eq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e3",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.dp("ActualSeparatorBackgroundColor",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fb",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.dp("GroupHeaderSeparatorBackgroundColor",e,this.el)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ey",{get:function(){return this.d8},set:function(t){var e=this.d8;this.d8=t,e!=this.d8&&this.dp(r.bt,e,this.d8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fd",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.dp("HoverBackgroundColor",e,this.en)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e0",{get:function(){return this.ea},set:function(t){var e=this.ea;this.ea=t,e!=this.ea&&this.dp("ActualHoverBackgroundColor",e,this.ea)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fi",{get:function(){return this.es},set:function(t){var e=this.es;this.es=t,e!=this.es&&this.dp("TextColor",e,this.es)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e5",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.dp("ActualTextColor",e,this.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e9",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.dp("DisabledTextColor",e,this.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ew",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.dp("ActualDisabledTextColor",e,this.d6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fc",{get:function(){return this.em},set:function(t){var e=this.em;this.em=t,e!=this.em&&this.dp("GroupHeaderTextColor",e,this.em)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ez",{get:function(){return this.d9},set:function(t){var e=this.d9;this.d9=t,e!=this.d9&&this.dp("ActualGroupHeaderTextColor",e,this.d9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fk",{get:function(){return this.eu},set:function(t){var e=this.eu;this.eu=t,e!=this.eu&&this.dp("ToolTipTextColor",e,this.eu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e7",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.dp("ActualToolTipTextColor",e,this.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fj",{get:function(){return this.et},set:function(t){var e=this.et;this.et=t,e!=this.et&&this.dp("ToolTipBackgroundColor",e,this.et)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e6",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.dp("ActualToolTipBackgroundColor",e,this.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bl",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.dp("ToolTipCornerRadius",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bb",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.dp("ActualToolTipCornerRadius",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bm",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.dp("ToolTipElevation",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bc",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.dp("ActualToolTipElevation",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fe",{get:function(){return this.eo},set:function(t){var e=this.eo;this.eo=t,e!=this.eo&&this.dp("IconFill",e,this.eo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e1",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.dp("ActualIconFill",e,this.eb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ff",{get:function(){return this.ep},set:function(t){var e=this.ep;this.ep=t,e!=this.ep&&this.dp("IconStroke",e,this.ep)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e2",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.dp("ActualIconStroke",e,this.ec)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bi",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.dp("SeparatorVerticalPaddingLeft",e,this.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a8",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.dp("ActualSeparatorVerticalPaddingLeft",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bj",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.dp("SeparatorVerticalPaddingRight",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a9",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.dp("ActualSeparatorVerticalPaddingRight",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bk",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.dp("SeparatorVerticalPaddingTop",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ba",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.dp("ActualSeparatorVerticalPaddingTop",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.dp("SeparatorVerticalPaddingBottom",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a7",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.dp("ActualSeparatorVerticalPaddingBottom",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"be",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.dp("SeparatorHorizontalPaddingLeft",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a4",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.dp("ActualSeparatorHorizontalPaddingLeft",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bf",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.dp("SeparatorHorizontalPaddingRight",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a5",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.dp("ActualSeparatorHorizontalPaddingRight",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bg",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.dp("SeparatorHorizontalPaddingTop",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a6",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.dp("ActualSeparatorHorizontalPaddingTop",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bd",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.dp("SeparatorHorizontalPaddingBottom",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.dp("ActualSeparatorHorizontalPaddingBottom",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"o",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.dp("Orientation",i.enumGetBox(ut,e),i.enumGetBox(ut,t))},enumerable:!1,configurable:!0}),r.prototype.dq=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.m&&this.dw(t)},Object.defineProperty(r.prototype,"bn",{get:function(){return this.d.a7},set:function(t){this.d.a7=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.d.av},enumerable:!1,configurable:!0}),r.prototype.dz=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new Rt).a=t,e))},r.prototype.d0=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new Rt).a=t,e))},r.prototype.dd=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].dj()},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.bt="ActualGroupHeaderSeparatorBackgroundColor",r.n=0,r}(i.Base),Rt=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),$t=function(t){function n(e,n){var r=t.call(this)||this;return r.ab=null,r.i=null,r.j=null,r.y=0,r.o=null,r.a=null,r.d=null,r.g=null,r.ay=null,r.az=null,r.p=null,r.b=null,r.e=null,r.h=null,r.c=null,r.f=null,r.w=new i.Queue$1(zt.$),r.r=null,r.q=null,r.u=new i.List$1(qt.$,0),r.m=1,r.x=200,r.s=null,r.aa=0,r.t=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ab=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a0",{get:function(){return this.ay},set:function(t){this.d.d=this.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.az},set:function(t){this.g.d=this.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.u},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.as("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){this.x=t},enumerable:!1,configurable:!0}),n.prototype.ai=function(t){var e=this;i.NativeUIComponent.at(this.ab,[7,9],(function(n){e.r=n[0],e.q=n[1],e.r.bj(e.q),e.q.a9=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a2=function(){return null!=this.j?this.j.f():this.r.bb(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.ae=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.v.count;r++)if(this.v._inner[r].b==t)return void(null!=e&&e(this.v._inner[r].a));i.NativeUIComponent.ar(this.ab,13,(function(r){var o=r;o.c=n.n,o.b1=t.j.fi,o.bw=t.j.e9,o.bv=t.j.fh,o.b0=t.j.fh,o.bx=t.j.fa,o.by=t.j.fc,o.bz=t.j.fg,o.bp=t.actions,o.bi=i.runOn(n,n.aq),o.bj=i.runOn(n,n.ar),o.bo=i.runOn(n,n.ao),n.q.bj(o),n.y=0;for(var a=0;a<n.v.count;a++){var s=n.v._inner[a].f();n.y+=s.width,n.v._inner[a].a.ad=s.width}n.q.bq(o,n.y),n.q.br(o,0),n.v.add(new qt(t,o,n.y)),n.av(),null!=e&&e(o)}))},n.prototype.aj=function(t){for(var e=0;e<this.v.count;e++)this.v._inner[e].a==t&&this.al(e)},n.prototype.al=function(t){this.ak(this.v._inner[t])},n.prototype.ak=function(t,e){void 0===e&&(e=null),this.af(t,-Math.floor(t.c),e),this.j=t},n.prototype.aq=function(t,e){var i=this;if(this.aa++,this.v.count>1&&this.aa<this.v.count){for(var n=this.v.count-1;n>this.aa;n--)this.v._inner[n].a.bi=null,this.v._inner[n].a.bj=null,this.q.bl(this.v._inner[n].a),this.y-=this.v._inner[n].a.ad,this.v.removeAt(n);if(this.v._inner[this.aa].b==e.a)return void this.aj(this.v._inner[this.aa].a);this.v._inner[this.aa].a.bi=null,this.v._inner[this.aa].a.bj=null,this.q.bl(this.v._inner[this.aa].a),this.y-=this.v._inner[this.aa].a.ad,this.v.removeAt(this.aa)}this.ae(e.a,(function(t){return i.i.executeDelayed((function(){return i.aj(t)}),0)}))},n.prototype.ar=function(t,e){this.aa--,this.ak(this.v._inner[this.v.count-2],(function(){}))},n.prototype.ao=function(t,e){null!=this.s&&this.s(e)},n.prototype.af=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.ah(),null==this.q.a9){var a=t.f();return this.r.ad=Math.floor(a.width),void(this.r.x=Math.floor(a.height))}if(1==this.o.playState)this.o.playbackRate>0&&this.a0.j==e||this.o.playbackRate<0&&this.a1.j==e?(this.o.reverse(),this.p.reverse()):this.w.g(((r=new zt).a=t,r.c=e,r.b=n,r));else{this.a0=function(){var t=new i.TranslateTransform;return t.j=o.a1.j,t}(),this.a1=function(){var t=new i.TranslateTransform;return t.j=e,t}();var s=t.f();this.e.d=this.r.ad,this.c.d=this.r.x,this.h.d=Math.floor(s.width),this.f.d=Math.floor(s.height),this.o.updatePlaybackRate(1),this.o.play(),this.o.finished.f((function(t){return o.an(n)})),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){null!=o.p&&o.p.commitStyles()}))}},n.prototype.ah=function(){if(null==this.o){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.z,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.q.al,0,null,t),this.ay=((e=new i.TranslateTransform).j=0,e),this.az=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.ay),this.g=new i.AnimationKeyFrameProperty(14,this.az),this.o=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.r.al,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.p=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.an=function(t){var e,n=this;if(null!=this.o&&this.o.commitStyles(),null!=t&&t(),this.o.playbackRate<0){var r=this.a1.j;this.a1=((e=new i.TranslateTransform).j=n.a0.j,e),this.a0=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.w.count>0){var o=this.w.b();this.ak(o.a,o.b)}},n.prototype.av=function(){this.t||(this.t=!0,this.i.enqueueAction(i.runOn(this,this.ag)))},n.prototype.ag=function(){if(this.t){this.t=!1;for(var t=0;t<this.v.count;t++){this.v._inner[t].e();var e=this.v._inner[t].f();this.v._inner[t].a.ad=e.width,this.v._inner[t].a.x=e.height,this.v._inner[t].a.bt(e)}}},n.prototype.aw=function(){this.aa=0,this.q.a9=new i.MatrixTransform;var t,e=this.v._inner[0].f();this.r.ad=Math.floor(e.width),this.r.x=Math.floor(e.height),this.ay=((t=new i.TranslateTransform).j=0,t),this.az=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.ax=function(t,e){this.m=t;for(var i=0;i<this.v.count;i++){var n=this.v._inner[i].a;n.c=t,n.b1=e.fi,n.bw=e.e9,n.bv=e.fh,n.b0=e.fh,n.bx=e.fa,n.by=e.fc,n.bz=e.fg}},n.prototype.am=function(){var t=this.v._inner[0].f();this.v._inner[0].d(t)},n.prototype.ap=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.at=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.as=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.au(t,e,n)},n.prototype.au=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.v.count;n++)this.v._inner[n].a.c=this.n}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),qt=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.bb(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.bu()},n.prototype.d=function(t){this.a.bt(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),zt=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),Ut=function(t){function n(e){var n=t.call(this)||this;if(Ft.$type||(Ft.$type=i.markType(Ft,"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(){Ft.$type||(Ft.$type=i.markType(Ft,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(Ft.$type,Pt.$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=Ft._createFromInternal(t))&&(e._implementation=t),e},t},n}(i.IgCollection),Dt=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,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),t}(),Vt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new lt},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}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),Ht=function(t){function n(e){var n=t.call(this)||this;if(Vt.$type||(Vt.$type=i.markType(Vt,"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(){Vt.$type||(Vt.$type=i.markType(Vt,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(Vt.$type,lt.$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)&&(e._implementation=t),e},t},n}(i.IgCollection),Lt=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 pt},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 Vt;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 Ht,e=this.i.b;e||(e=new ct),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 Ht;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(lt.$type),r=this.i.b;r||(r=new ct),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),Ft=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,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._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._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,"id",{get:function(){return this.i.cw},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){if(null===this._actions){var t=new Ut,e=this.i.actions;e||(e=new Nt),this._actions=t._fromInner(e)}return this._actions},set:function(t){null!==this._actions&&(this._actions._setSyncTarget(null),this._actions=null);var e=new Ut;this._actions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Pt.$type),r=this.i.actions;r||(r=new Nt),n._inner=r,n.clear(),this._actions._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("width",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.c5},set:function(t){this.i.c5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.cc},set:function(t){this.i.cc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.b9},set:function(t){this.i.b9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.c0},set:function(t){this.i.c0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.ch},set:function(t){this.i.ch=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.ce},set:function(t){this.i.ce=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("paddingLeft",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.a5},set:function(t){this.i.a5=+t,this._a("actualPaddingLeft",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("paddingRight",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.a6},set:function(t){this.i.a6=+t,this._a("actualPaddingRight",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("paddingBottom",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.a4},set:function(t){this.i.a4=+t,this._a("actualPaddingBottom",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("paddingTop",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("actualPaddingTop",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.eu)},set:function(t){this.i.eu=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.eu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.e0)},set:function(t){this.i.e0=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.e0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.es)},set:function(t){this.i.es=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.es))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.ey)},set:function(t){this.i.ey=i.stringToBrush(t),this._a("background",i.brushToString(this.i.ey))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.ex)},set:function(t){this.i.ex=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.ex))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.e3)},set:function(t){this.i.e3=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.e3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.et)},set:function(t){this.i.et=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.et))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.ez)},set:function(t){this.i.ez=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.ez))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return null==this.i.r?null:this.i.r.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.r=e,this._a("actualTextStyle",null!=this.i.r?this.i.r.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("textStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.aj},set:function(t){this.i.aj=i.ensureBool(t),this._a("isDisabled",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.cy},set:function(t){this.i.cy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.de},set:function(t){this.i.de=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.da},set:function(t){this.i.da=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.cp},set:function(t){this.i.cp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.cm},set:function(t){this.i.cm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("iconViewBoxLeft",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("iconViewBoxTop",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("iconViewBoxWidth",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("iconViewBoxHeight",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.e1)},set:function(t){this.i.e1=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.ev)},set:function(t){this.i.ev=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.ev))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.e2)},set:function(t){this.i.e2=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.e2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.ew)},set:function(t){this.i.ew=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.ew))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.e5},set:function(t){this.i.e5=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.e5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.ae},set:function(t){this.i.ae=i.ensureBool(t),this._a("closeOnExecute",this.i.ae)},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("ToolActionComponent");var a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.cleanUp=function(){this.i.dh()},n.prototype.fromInfo=function(t){this.i.dt(t)},n.prototype.openSubMenu=function(){this.i.d6()},n.prototype.closeSubmenu=function(){this.i.dj()},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 Dt;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 Lt;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),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 gt},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}(),Wt=function(t){return t[t.Replace=0]="Replace",t}({}),Gt=i.markEnum("NestedActionMode","Replace,0"),Kt=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),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{a&&!a.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 Ut;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 Ft&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Bt},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.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("showOnHover",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.e8)},set:function(t){this.i.e8=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.e8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.ev)},set:function(t){this.i.ev=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.ev))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.fh)},set:function(t){this.i.fh=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.fh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.e4)},set:function(t){this.i.e4=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.e4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fa)},set:function(t){this.i.fa=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.ex)},set:function(t){this.i.ex=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.ex))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.fg)},set:function(t){this.i.fg=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.fg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.e3)},set:function(t){this.i.e3=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.e3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.fb)},set:function(t){this.i.fb=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.fb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.ey)},set:function(t){this.i.ey=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.ey))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.fd)},set:function(t){this.i.fd=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.fd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.e0)},set:function(t){this.i.e0=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.e0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.fi)},set:function(t){this.i.fi=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.fi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.e5)},set:function(t){this.i.e5=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.e5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.e9)},set:function(t){this.i.e9=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.e9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ew)},set:function(t){this.i.ew=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ew))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fc)},set:function(t){this.i.fc=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.ez)},set:function(t){this.i.ez=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.ez))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.fk)},set:function(t){this.i.fk=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.fk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.e7)},set:function(t){this.i.e7=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.e7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.fj)},set:function(t){this.i.fj=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.fj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.e6)},set:function(t){this.i.e6=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.e6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("toolTipCornerRadius",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("actualToolTipCornerRadius",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("toolTipElevation",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("actualToolTipElevation",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.fe)},set:function(t){this.i.fe=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.fe))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.e1)},set:function(t){this.i.e1=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.ff)},set:function(t){this.i.ff=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.ff))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.e2)},set:function(t){this.i.e2=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.e2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("separatorVerticalPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.a8},set:function(t){this.i.a8=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("separatorVerticalPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.a9},set:function(t){this.i.a9=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("separatorVerticalPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.ba},set:function(t){this.i.ba=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("separatorVerticalPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("separatorHorizontalPaddingLeft",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.a4},set:function(t){this.i.a4=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("separatorHorizontalPaddingRight",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.a5},set:function(t){this.i.a5=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("separatorHorizontalPaddingTop",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.a6},set:function(t){this.i.a6=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("separatorHorizontalPaddingBottom",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.a3},set:function(t){this.i.a3=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(ut,t),this._a("orientation",i.enumToString(ut,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("rowHeight",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.a2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(Gt,t),this._a("nestedActionMode",i.enumToString(Gt,this.i.e))},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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.refresh=function(){this.i.dx()},n.prototype.getDesiredSize=function(){var t=this.i.fl();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.dd()},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 Mt;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 Dt;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),Xt=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._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),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{a&&!a.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 Ut;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 Ft&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},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=!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.q},set:function(t){this.i.q=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new Ut,e=this.i.autoGeneratedActions;e||(e=new Nt),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 Ut;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Pt.$type),r=this.i.autoGeneratedActions;r||(r=new Nt),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 Ut,e=this.i.actualActions;e||(e=new Nt),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 Ut;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Pt.$type),r=this.i.actualActions;r||(r=new Nt),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.k},set:function(t){this.i.k=i.ensureEnum(bt,t),this._a("orientation",i.enumToString(bt,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.cz)},set:function(t){this.i.cz=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.cz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.c7)},set:function(t){this.i.c7=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.c7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.c1)},set:function(t){this.i.c1=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.c1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.c6)},set:function(t){this.i.c6=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.c6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.c3)},set:function(t){this.i.c3=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.c3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.c8)},set:function(t){this.i.c8=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.c8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.c0)},set:function(t){this.i.c0=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.c0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.c2)},set:function(t){this.i.c2=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.c2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.da)},set:function(t){this.i.da=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.da))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.c9)},set:function(t){this.i.c9=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.c9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.aw},set:function(t){this.i.aw=+t,this._a("toolTipCornerRadius",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.ax},set:function(t){this.i.ax=+t,this._a("toolTipElevation",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.c4)},set:function(t){this.i.c4=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.c4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.c5)},set:function(t){this.i.c5=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.c5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.at},set:function(t){this.i.at=+t,this._a("separatorVerticalPaddingLeft",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.au},set:function(t){this.i.au=+t,this._a("separatorVerticalPaddingRight",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("separatorVerticalPaddingTop",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("separatorVerticalPaddingBottom",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.ap},set:function(t){this.i.ap=+t,this._a("separatorHorizontalPaddingLeft",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("separatorHorizontalPaddingRight",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("separatorHorizontalPaddingTop",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.ao},set:function(t){this.i.ao=+t,this._a("separatorHorizontalPaddingBottom",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureBool(t),this._a("showOnHover",this.i.ad)},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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.closeSubmenus=function(){this.i.b3()},n.prototype.onCommandStateChanged=function(t,e,i){this.i.onCommandStateChanged(t,null==e?null:e,i)},n.prototype.registerIconFromText=function(t,e,i){this.i.ck(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.ba(t,e)},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 Dt;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._observedAttributesIgcToolbarComponent=null,n.htmlTagName="igc-toolbar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Qt=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new wt},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._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionLabelComponent=t}return n._observedAttributesIgcToolActionLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(Ft),Yt=function(){function t(){}return t.register=function(){Qt.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",Qt),i.TypeRegistrar.register("ToolActionLabel",wt.$type)},t}(),Jt=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new It},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._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.e8},set:function(t){this.i.e8=i.ensureBool(t),this._a("isChecked",this.i.e8)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(Ft),Zt=function(){function t(){}return t.register=function(){Jt.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Jt),i.TypeRegistrar.register("ToolActionCheckbox",It.$type)},t}(),te=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new St},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._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.ff)},set:function(t){this.i.ff=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.ff))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.fg)},set:function(t){this.i.fg=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.fg))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(Ft),ee=function(){function t(){}return t.register=function(){te.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",te),i.TypeRegistrar.register("ToolActionGroupHeader",St.$type)},t}(),ie=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new kt},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._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.e9},set:function(t){this.i.e9=+t,this._a("value",this.i.e9)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(Ft),ne=function(){function t(){}return t.register=function(){ie.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",ie),i.TypeRegistrar.register("ToolActionNumberInput",kt.$type)},t}(),re=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new At},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._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.fo},set:function(t){this.i.fo=+t,this._a("tooltipDelay",this.i.fo)},enumerable:!1,configurable:!0}),n.prototype.cleanUp=function(){this.i.dh()},n.prototype.openSubMenu=function(){this.i.d6()},n.prototype.closeSubmenu=function(){this.i.dj()},n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionIconButtonComponent=null,n.htmlTagName="igc-tool-action-icon-button",n._isElementRegistered=!1,n}(Ft),oe=function(){function t(){}return t.register=function(){re.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",re),i.TypeRegistrar.register("ToolActionIconButton",At.$type)},t}(),ae=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new xt},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._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))},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(re),se=function(){function t(){}return t.register=function(){ae.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",ae),i.TypeRegistrar.register("ToolActionIconMenu",xt.$type)},t}(),ue=function(){function t(){}return t.register=function(){rt.register(),Yt.register(),Zt.register(),ee.register(),ne.register(),oe.register(),se.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),Kt.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Kt),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Kt),i.TypeRegistrar.register("ToolPanel",Bt.$type)},t}(),le=function(){function t(){}return t.register=function(){ue.register(),Xt.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Xt),i.TypeRegistrar.registerCons("IgcToolbarComponent",Xt),i.TypeRegistrar.register("Toolbar",Et.$type)},t}(),he=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),ce=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Tt},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._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))},n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(Ft),pe=function(){function t(){}return t.register=function(){ce.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",ce),i.TypeRegistrar.register("ToolActionButton",Tt.$type)},t}(),fe=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new jt},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._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.fa},set:function(t){this.i.fa=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.e8},set:function(t){this.i.e8=i.ensureBool(t),this._a("isChecked",this.i.e8)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(Ft),de=function(){function t(){}return t.register=function(){fe.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",fe),i.TypeRegistrar.register("ToolActionRadio",jt.$type)},t}(),be=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ot},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._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.e9},set:function(t){this.i.e9=+t,this._a("size",this.i.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.e7},set:function(t){this.i.e7=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.e7)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(Ft),ge=function(){function t(){}return t.register=function(){be.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",be),i.TypeRegistrar.register("ToolActionSeparator",Ot.$type)},t}(),ye=new i.Type(null,"IExternalToolbar"),me=new i.Type(null,"IToolbarView"),_e=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),ve=new i.Type(null,"IExternalToolPanel"),Ce=new i.Type(null,"IToolPanelView"),Pe=new i.Type(null,"IExternalListPanel"),Te=new i.Type(null,"IListPanelView"),we=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),je=new i.Type(null,"IPropertyEditorPanelView"),Oe=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),Ae=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),Se=function(t){function n(e){var n=t.call(this)||this;if(x.$type||(x.$type=i.markType(x,"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(){x.$type||(x.$type=i.markType(x,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(x.$type,m.$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 x)&&(e._implementation=t),e},t},n}(i.IgCollection),xe=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),Ie=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,"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.DrillDownRequestedEventArgs=Rt,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=s,t.HorizontalPropertyEditorPanelDataSource=B,t.IExternalListPanel_$type=Pe,t.IExternalToolPanel_$type=ve,t.IExternalToolbar_$type=ye,t.IListPanelView_$type=Te,t.INativeUIToolPanelBridge_$type=ot,t.IPropertyEditorPanelView_$type=je,t.IToolPanelView_$type=Ce,t.IToolbarView_$type=me,t.IgcHorizontalPropertyEditorPanelDataSource=Se,t.IgcListPanelComponent=nt,t.IgcListPanelContentRefreshedEventArgs=tt,t.IgcListPanelItemModel=J,t.IgcListPanelModule=rt,t.IgcListPanelTemplateHeightRequestedEventArgs=it,t.IgcListPanelTemplateItemUpdatingEventArgs=Z,t.IgcListPanelTemplateWidthRequestedEventArgs=et,t.IgcOnCollapsedEventArgs=h,t.IgcOnExpandedEventArgs=l,t.IgcPropertyEditorDataSource=Ie,t.IgcPropertyEditorDescriptionObject=w,t.IgcPropertyEditorDescriptionObjectCollection=j,t.IgcPropertyEditorPanelComponent=z,t.IgcPropertyEditorPanelModule=U,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=O,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=A,t.IgcPropertyEditorPropertyDescriptionCollection=T,t.IgcPropertyEditorPropertyDescriptionComponent=x,t.IgcPropertyEditorPropertyDescriptionModule=I,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=S,t.IgcToolActionButtonComponent=ce,t.IgcToolActionButtonModule=pe,t.IgcToolActionCheckboxComponent=Jt,t.IgcToolActionCheckboxModule=Zt,t.IgcToolActionCollection=Ut,t.IgcToolActionComponent=Ft,t.IgcToolActionEventDetail=Vt,t.IgcToolActionEventDetailCollection=Ht,t.IgcToolActionGroupHeaderComponent=te,t.IgcToolActionGroupHeaderModule=ee,t.IgcToolActionIconButtonComponent=re,t.IgcToolActionIconButtonModule=oe,t.IgcToolActionIconMenuComponent=ae,t.IgcToolActionIconMenuModule=se,t.IgcToolActionLabelComponent=Qt,t.IgcToolActionLabelModule=Yt,t.IgcToolActionNumberInputComponent=ie,t.IgcToolActionNumberInputModule=ne,t.IgcToolActionPerformedEventArgs=Lt,t.IgcToolActionRadioComponent=fe,t.IgcToolActionRadioModule=de,t.IgcToolActionSeparatorComponent=be,t.IgcToolActionSeparatorModule=ge,t.IgcToolCommandEventArgs=Dt,t.IgcToolPanelComponent=Kt,t.IgcToolPanelContentRefreshedEventArgs=Mt,t.IgcToolPanelModule=ue,t.IgcToolbarComponent=Xt,t.IgcToolbarModule=le,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.ListPanel=X,t.ListPanelContentRefreshedEventArgs=L,t.ListPanelDataBindingEventArgs=we,t.ListPanelDataSourceNotificationBridge=Q,t.ListPanelItemModel=H,t.ListPanelItemPresenter=F,t.ListPanelLayoutPanel=Y,t.ListPanelOrientation=D,t.ListPanelOrientation_$type=V,t.ListPanelTemplateHeightRequestedEventArgs=G,t.ListPanelTemplateItemUpdatingEventArgs=M,t.ListPanelTemplateWidthRequestedEventArgs=W,t.ListPanelView=K,t.NativeUIContentRefreshedEventArgs=he,t.NativeUILayoutFactory=yt,t.NativeUIToolPanel=Ct,t.NestedActionMode=Wt,t.NestedActionMode_$type=Gt,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=a,t.PanelAnimationRequest=zt,t.PanelInfo=qt,t.PropertyEditorDataSource=v,t.PropertyEditorDescriptionObject=C,t.PropertyEditorDescriptionObjectCollection=P,t.PropertyEditorPanel=q,t.PropertyEditorPanelColumnDefinition=E,t.PropertyEditorPanelColumnFieldType_$type=Ae,t.PropertyEditorPanelColumnType_$type=Oe,t.PropertyEditorPanelDataBindingEventArgs=N,t.PropertyEditorPanelDropDownDataListItem=xe,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=k,t.PropertyEditorPanelView=$,t.PropertyEditorPropertyDescription=m,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=b,t.PropertyEditorPropertyDescriptionChangedEventArgs=g,t.PropertyEditorPropertyDescriptionCollection=_,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=y,t.PropertyEditorTreeTransformer=R,t.PropertyEditorValueType=f,t.PropertyEditorValueType_$type=d,t.ToolAction=Pt,t.ToolActionButton=Tt,t.ToolActionCheckbox=It,t.ToolActionCollection=Nt,t.ToolActionEventDetail=lt,t.ToolActionEventDetailCollection=ct,t.ToolActionGroupHeader=St,t.ToolActionIconButton=At,t.ToolActionIconMenu=xt,t.ToolActionLabel=wt,t.ToolActionMeasurementContext=ht,t.ToolActionNumberInput=kt,t.ToolActionPerformedEventArgs=pt,t.ToolActionRadio=jt,t.ToolActionSeparator=Ot,t.ToolCommandEventArgs=at,t.ToolPanel=Bt,t.ToolPanelContentRefreshedEventArgs=gt,t.ToolPanelOrientation=st,t.ToolPanelOrientation_$type=ut,t.ToolPanelView=vt,t.ToolPanelsPresenter=$t,t.Toolbar=Et,t.ToolbarIconManager=_e,t.ToolbarOrientation=dt,t.ToolbarOrientation_$type=bt,t.ToolbarView=_t,t.TooltipTextPresenter=ft,t.XExpansionPanel=u,t.XToolPanelBridge=mt,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),a=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),s=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.j=null,e.q=null,e.g=null,e.f=null,e.p=null,e.l=null,e.o=null,e.n=null,e.m=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"r",{get:function(){return this.q},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"h",{get:function(){return this.g},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.j},enumerable:!1,configurable:!0}),n.prototype.ab=function(){this.r.setStyleProperty("display","flex"),this.r.setStyleProperty("flexDirection","column"),this.r.setStyleProperty("flexWrap","no-wrap"),this.r.setStyleProperty("alignItems","left")},n.prototype.aj=function(){var t=this.h,e=i.ElevationHelper.e(t.q,t.bn,t.bm,t.bi);this.r.setStyleProperty("box-shadow",e)},n.prototype.ak=function(){null!=this.r&&(this.aj(),this.ah(),this.ai(),this.ag(),null!=this.p&&i.NativeUI.m(this.p,this.h.bl),null!=this.l&&i.NativeUI.q(this.l,this.h.bj),null!=this.o&&i.NativeUI.q(this.o,this.h.bk))},n.prototype.a=function(t){return new i.AnimationKeyFrameEffect(0,this.l,0,null,t)},n.prototype.b=function(t){return new i.AnimationKeyFrameEffect(0,this.o,0,null,t)},n.prototype.c=function(t){return new i.AnimationKeyFrameEffect(0,this.p,0,null,t)},n.prototype.d=function(t){return new i.AnimationKeyFrameEffect(0,this.m,0,null,t)},n.prototype.e=function(t){return new i.AnimationKeyFrameEffect(0,this.n,0,null,t)},n.prototype.u=function(){null==i.KeyFrameAnimationFactory.h&&(i.KeyFrameAnimationFactory.h=this.k)},n.prototype.i=function(){return this.m.outerHeight()},n.prototype.ac=function(t){if(null!=t){this.j=t;var e=t.rootWrapper;this.y(e)}else this.j=null},n.prototype.ag=function(){if(null!=this.f){var t=this.h.n;this.f.svgPath=t?n.s:n.t}},n.prototype.ah=function(){if(null!=this.l){var t=this.h.ab;this.l.setRawText(t)}},n.prototype.ai=function(){if(null!=this.o){var t=this.h.ah;this.o.setRawText(t)}},n.prototype.y=function(t){this.q=t,this.ab()},n.prototype.z=function(t){this.g=t},n.prototype.aa=function(){},n.prototype.af=function(t){var e=this.k;this.p=t;var n=e.createElement("div");this.p.append(n),this.v(n);var r=e.createElement("div");r.setStyleProperty("display","flex"),r.setStyleProperty("flex-direction","column"),r.setStyleProperty("justify-content","space-evenly"),r.setStyleProperty("align-items","flex-start"),this.p.append(r);var o=e.createElement("div");r.append(o),this.l=e.createElement("label"),o.append(this.l);var a=e.createElement("div");r.append(a),this.o=e.createElement("label"),a.append(this.o),this.p.setAttribute("tabindex","0"),this.p.setStyleProperty("display","flex"),this.p.setStyleProperty("flex-direction","row"),n.setStyleProperty("display","flex"),n.setStyleProperty("justify-content","center"),n.setStyleProperty("flex-direction","column"),n.setStyleProperty("margin","0px 10px 0px 10px"),n.setStyleProperty("flex","none | 0 | content"),this.ak(),this.p.listen("click",i.runOn(this,this.w)),this.p.listen("keydown",i.runOn(this,this.x))},n.prototype.v=function(t){var e=this;null==this.f&&this.j.getPortal(t,"XIcon",(function(t){var i=t.componentRef;e.f=i.i,e.f.fill=n.al,e.ag()}),!1)},n.prototype.ae=function(t){this.k;this.n=t,this.n.setAttribute("tabindex","1"),this.n.setStyleProperty("overflow","hidden")},n.prototype.ad=function(t){this.k;this.m=t},n.prototype.w=function(t){t.originalEvent.target;this.h.a2()},n.prototype.x=function(t){var e=i.BaseDOMEventProxy.c0(t),n=r.c(t);switch(e){case 9:case 3:this.h.a2(),t.preventDefault();break;case 17:1==n&&(this.h.au(),t.preventDefault());break;case 15:1==n&&(this.h.ar(),t.preventDefault())}},n.$t=i.markType(n,"ExpansionPanelView"),n.al=i.BrushUtil.h(255,33,150,243),n.t="M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z",n.s="M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",n}(i.Base),u=function(t){function n(){var e=t.call(this)||this;e.c=null,e.onCollapsed=null,e.onExpanded=null,e.propertyChanged=null,e.g=null,e.aa="Caption",e.bb=null,e.a4=n.bs,e.a9=null,e.ba=null,e.ag=i.stringEmpty(),e.be=null,e.a5=n.bt,e.bc=null,e.bd=null,e.p=-1,e.o=n.r,e.m=!0,e.bf=null,e.a6=n.bu,e.bg=null,e.bh=null,e.a8=n.bw,e.a7=n.bv,e.a3=n.br;var r=e.f();return e.g=r,r.z(e),e}return e.__extends(n,t),n.prototype.aw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ax(t,e,n)},Object.defineProperty(n.prototype,"ab",{get:function(){return this.aa},set:function(t){if(t!=this.aa){var e=this.aa;this.aa=t,this.aw("Caption",e,this.aa)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bb},set:function(t){var e=this.bb;this.bb=t,e!=this.bb&&this.aw("CaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a4},set:function(t){var e=this.a4;this.a4=t,e!=this.a4&&this.aw("ActualCaptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bo",{get:function(){return this.a9},set:function(t){var e=this.a9;this.a9=t,e!=this.a9&&this.aw("CaptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bp",{get:function(){return this.ba},set:function(t){var e=this.ba;this.ba=t,e!=this.ba&&this.aw("CaptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ag},set:function(t){if(t!=this.ag){var e=this.ag;this.ag=t,this.aw("Description",e,this.ag)}},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.be},set:function(t){var e=this.be;this.be=t,e!=this.be&&this.aw("DescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a5},set:function(t){var e=this.a5;this.a5=t,e!=this.a5&&this.aw("ActualDescriptionTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.bc},set:function(t){var e=this.bc;this.bc=t,e!=this.bc&&this.aw("DescriptionCollapsedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.bd},set:function(t){var e=this.bd;this.bd=t,e!=this.bd&&this.aw("DescriptionExpandedTextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.aw("Elevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"q",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.aw("ActualElevation",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this;if(t!=this.m){this.at();var i=this.m;this.m=t;var n=this.h(this.m),r=this.i(this.m),s=this.j(this.m),u=this.k(this.m),l=this.l(this.m);n.play(),r.play(),s.play(),u.play(),l.play(),n.finished.f((function(t){return n.commitStyles()})),r.finished.f((function(t){return r.commitStyles()})),s.finished.f((function(t){return s.commitStyles()})),u.finished.f((function(t){return u.commitStyles()})),l.finished.f((function(t){l.commitStyles(),e.aw("Expanded",i,e.m),e.m&&(null!=e.onExpanded?e.onExpanded(e,new a):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 s},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(),a=this.bj,s=this.b0(),u=this.bk,l=this.b2();r!=o||a!=s||u!=l?(this.bl=o,this.bj=s,this.bk=l):"Expanded"==t&&this.g.ak();break;case"Elevation":this.q=-1==this.s?n.r:this.s;break;case"ActualElevation":case"ActualHeaderBackgroundColor":case"ActualCaptionTextColor":case"ActualDescriptionTextColor":case"ActualUmbraShadowColor":case"ActualPenumbraShadowColor":case"ActualAmbientShadowColor":case"Caption":case"Description":this.g.ak()}},n.prototype.h=function(t){var n=this.bj,r=this.b1(t),o=t?this.b():this.a(),a=this.g.a(o),s=[new i.AnimationKeyFrameProperty(7,n)],u=[new i.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spreadArray([],e.__read(s),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.i=function(t){var n=this.bk,r=this.b3(t),o=t?this.b():this.a(),a=this.g.b(o),s=[new i.AnimationKeyFrameProperty(7,n)],u=[new i.AnimationKeyFrameProperty(7,r)];return a.m.apply(a,e.__spreadArray([],e.__read(s),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.j=function(t){var n=this.bl,r=this.b5(t),o=t?this.b():this.a(),a=this.g.c(o),s=[new i.AnimationKeyFrameProperty(2,n)],u=[new i.AnimationKeyFrameProperty(2,r)];return a.m.apply(a,e.__spreadArray([],e.__read(s),!1)),a.m.apply(a,e.__spreadArray([],e.__read(u),!1)),i.KeyFrameAnimationFactory.f.c(a)},n.prototype.k=function(t){var n=this.g.i();n<=0&&(n=500);var r=t?-n:0,o=t?0:-n,a=t?0:1,s=t?1:0,u=t?this.b():this.a(),l=new i.TranslateTransform;l.k=r;var h=new i.TranslateTransform;h.k=o;var c=this.g.d(u),p=[new i.AnimationKeyFrameProperty(14,l),new i.AnimationKeyFrameProperty(1,a)],f=[new i.AnimationKeyFrameProperty(14,h),new i.AnimationKeyFrameProperty(1,s)];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,a=t?this.b():this.a(),s=this.g.e(a),u=[new i.AnimationKeyFrameProperty(10,r)],l=[new i.AnimationKeyFrameProperty(10,o)];return s.m.apply(s,e.__spreadArray([],e.__read(u),!1)),s.m.apply(s,e.__spreadArray([],e.__read(l),!1)),i.KeyFrameAnimationFactory.f.c(s)},n.prototype.a=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.b=function(){var t=new i.AnimationKeyFrameEffectTiming;return t.g=300,t.b=3,t},n.prototype.at=function(){this.g.u()},n.prototype.b0=function(){return this.b1(this.n)},n.prototype.b1=function(t){var e;return null!=(e=t?this.bp:this.bo)?e:null!=this.bq?this.bq:n.bs},n.prototype.b2=function(){return this.b3(this.n)},n.prototype.b3=function(t){var e;return null!=(e=t?this.by:this.bx)?e:null!=this.bz?this.bz:n.bt},n.prototype.b4=function(){return this.b5(this.n)},n.prototype.b5=function(t){var e;return null!=(e=t?this.b8:this.b7)?e:null!=this.b6?this.b6:n.bu},n.prototype.ar=function(){this.n=!1},n.prototype.destroy=function(){this.provideRenderer(null)},n.prototype.au=function(){this.n=!0},n.prototype.notifySizeChanged=function(){},n.prototype.provideHeader=function(t){this.g.af(t)},n.prototype.provideContentAreaOuter=function(t){this.g.ae(t)},n.prototype.provideContentAreaInner=function(t){this.g.ad(t)},n.prototype.provideRenderer=function(t){this.g.ac(t)},n.prototype.a2=function(){this.n=!this.n},n.$t=i.markType(n,"XExpansionPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.bs=i.BrushUtil.h(188,0,0,0),n.bt=i.BrushUtil.h(188,0,0,0),n.r=2,n.bu=i.BrushUtil.h(255,245,245,245),n.bw=i.BrushUtil.h(66,0,0,0),n.bv=i.BrushUtil.h(30,0,0,0),n.br=i.BrushUtil.h(20,0,0,0),n}(i.Base),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 a},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}(),h=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 a=n._webComponentRenderer.createElement("div");return a.setAttribute("key","expansionPanelContentAreaInner"),o.append(a),n._mainDiv.append(r),n._mainDiv.append(o),new MutationObserver((function(t){var i,s;try{for(var u=e.__values(t),l=u.next();!l.done;l=u.next()){if("childList"==l.value.type)for(var h=0;h<n.childNodes.length;h++){var c=n.childNodes[h];c!=n._mainDiv.getNativeElement()&&c!==r.getNativeElement()&&c!==o.getNativeElement()&&c!==a.getNativeElement()&&(c.remove(),a.append(n._webComponentRenderer.getWrapper(c)))}}}catch(t){i={error:t}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}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(a)),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 u},Object.defineProperty(n.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),n.prototype.disconnectedCallback=function(){this._disconnected=!0},n.prototype.connectedCallback=function(){this._disconnected?this._disconnected=!1:(this.classList.add("ig-expansion-panel"),this.classList.add("igr-expansion-panel"),this.appendChild(this._mainDiv.getNativeElement()),this._attached=!0,this.style.display="block",this.style.height=this._height,this.style.width=this._width,this._flushQueuedAttributes(),this._styling(this,this),this.afterContentInit())},n.prototype.afterContentInit=function(){},n.prototype._enqueueSetAttribute=function(t,e){this._queuedSetAttributes.push({attrName:t,attrValue:e})},n.prototype._flushQueuedAttributes=function(){this._settingAttributes=!0;for(var t=0;t<this._queuedSetAttributes.length;t++)this.setAttribute(this._queuedSetAttributes[t].attrName,this._queuedSetAttributes[t].attrValue);this._settingAttributes=!1,this._queuedSetAttributes.length=0},n.prototype._a=function(t,e){this._updatingFromAttribute||(e&&(e=e.toString()),this._settingAttributes=!0,t=i.toSpinal(t),this._attached?this.setAttribute(t,e):this._enqueueSetAttribute(t,e),this._settingAttributes=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcXExpansionPanelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcXExpansionPanelComponent=t}return n._observedAttributesIgcXExpansionPanelComponent},enumerable:!1,configurable:!0}),n.prototype.attributeChangedCallback=function(t,e,n){if(!this._settingAttributes){var r=i.fromSpinal(t);this._updatingFromAttribute=!0,this[r]=n,this._updatingFromAttribute=!1}},n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},Object.defineProperty(n.prototype,"caption",{get:function(){return this.i.ab},set:function(t){this.i.ab=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionTextColor",{get:function(){return i.brushToString(this.i.bq)},set:function(t){this.i.bq=i.stringToBrush(t),this._a("captionTextColor",i.brushToString(this.i.bq))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualCaptionTextColor",{get:function(){return i.brushToString(this.i.bj)},set:function(t){this.i.bj=i.stringToBrush(t),this._a("actualCaptionTextColor",i.brushToString(this.i.bj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bo)},set:function(t){this.i.bo=i.stringToBrush(t),this._a("captionCollapsedTextColor",i.brushToString(this.i.bo))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"captionExpandedTextColor",{get:function(){return i.brushToString(this.i.bp)},set:function(t){this.i.bp=i.stringToBrush(t),this._a("captionExpandedTextColor",i.brushToString(this.i.bp))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"description",{get:function(){return this.i.ah},set:function(t){this.i.ah=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionTextColor",{get:function(){return i.brushToString(this.i.bz)},set:function(t){this.i.bz=i.stringToBrush(t),this._a("descriptionTextColor",i.brushToString(this.i.bz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionTextColor",{get:function(){return i.brushToString(this.i.bk)},set:function(t){this.i.bk=i.stringToBrush(t),this._a("actualDescriptionTextColor",i.brushToString(this.i.bk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionCollapsedTextColor",{get:function(){return i.brushToString(this.i.bx)},set:function(t){this.i.bx=i.stringToBrush(t),this._a("descriptionCollapsedTextColor",i.brushToString(this.i.bx))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionExpandedTextColor",{get:function(){return i.brushToString(this.i.by)},set:function(t){this.i.by=i.stringToBrush(t),this._a("descriptionExpandedTextColor",i.brushToString(this.i.by))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elevation",{get:function(){return this.i.s},set:function(t){this.i.s=+t,this._a("elevation",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualElevation",{get:function(){return this.i.q},set:function(t){this.i.q=+t,this._a("actualElevation",this.i.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"expanded",{get:function(){return this.i.n},set:function(t){this.i.n=i.ensureBool(t),this._a("expanded",this.i.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerBackgroundColor",{get:function(){return i.brushToString(this.i.b6)},set:function(t){this.i.b6=i.stringToBrush(t),this._a("headerBackgroundColor",i.brushToString(this.i.b6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.bl)},set:function(t){this.i.bl=i.stringToBrush(t),this._a("actualHeaderBackgroundColor",i.brushToString(this.i.bl))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerCollapsedBackgroundColor",{get:function(){return i.brushToString(this.i.b7)},set:function(t){this.i.b7=i.stringToBrush(t),this._a("headerCollapsedBackgroundColor",i.brushToString(this.i.b7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"headerExpandedBackgroundColor",{get:function(){return i.brushToString(this.i.b8)},set:function(t){this.i.b8=i.stringToBrush(t),this._a("headerExpandedBackgroundColor",i.brushToString(this.i.b8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualUmbraShadowColor",{get:function(){return i.brushToString(this.i.bn)},set:function(t){this.i.bn=i.stringToBrush(t),this._a("actualUmbraShadowColor",i.brushToString(this.i.bn))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPenumbraShadowColor",{get:function(){return i.brushToString(this.i.bm)},set:function(t){this.i.bm=i.stringToBrush(t),this._a("actualPenumbraShadowColor",i.brushToString(this.i.bm))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualAmbientShadowColor",{get:function(){return i.brushToString(this.i.bi)},set:function(t){this.i.bi=i.stringToBrush(t),this._a("actualAmbientShadowColor",i.brushToString(this.i.bi))},enumerable:!1,configurable:!0}),n.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},Object.defineProperty(n.prototype,"hasUserValues",{get:function(){return this._hasUserValues},enumerable:!1,configurable:!0}),n.prototype.__m=function(t){this._inStyling||this._hasUserValues.add(t)},n.prototype._styling=function(t,e,n){if(!this._inStyling){this._inStyling=!0,this._stylingContainer=t,this._stylingParent=e;var r,o=this.i.$type.name;0===o.indexOf("Xam")&&(o=o.substring(3)),r=i.toSpinal("XExpansionPanelComponent");var a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),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 h;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 l;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",u.$type)},t}(),f=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}({}),d=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"),b=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),y=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),g=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),m=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.aj=null,e.ah=null,e.o=0,e.ai=null,e.q=!1,e.ag=null,e.a=null,e.b=null,e.ad=null,e.w=NaN,e.t=NaN,e.u=NaN,e.v=NaN,e.x=NaN,e.f=null,e.h=new P,e.l=new _,e.e=null,e.propertyChanged=null,e.buttonClicked=null,e.changed=null,e.targetPropertyUpdating=null,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"an",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,this.aj!=e&&this.aq("PropertyPath",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"al",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,this.ah!=e&&this.aq("Label",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,this.o!=e&&this.aq("ValueType",i.enumGetBox(d,e),i.enumGetBox(d,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"am",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,this.ai!=e&&this.aq("PropertyDescriptionType",e,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,this.q!=e&&this.aq("ShouldOverrideDefaultEditor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ak",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,this.ag!=e&&this.aq("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.aq("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.aq("DropDownValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"af",{get:function(){return this.ad},set:function(t){var e=this.ad;this.ad=t,this.ad!=e&&this.aq("PrimitiveValue",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ab",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.aq("Min",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.t},set:function(t){var e=this.t;this.t=t,this.t!=e&&this.aq("EditorWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.u},set:function(t){var e=this.u;this.u=t,this.u!=e&&this.aq("LabelWidth",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aa",{get:function(){return this.v},set:function(t){var e=this.v;this.v=t,this.v!=e&&this.aq("Max",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.aq("Step",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.f!=e&&this.aq("ComplexValue",e,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.aq("ComplexValues",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"m",{get:function(){return this.l},set:function(t){var e=this.l;this.l=t,this.l!=e&&this.aq("Properties",e,t)},enumerable:!1,configurable:!0}),n.prototype.aq=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t))},n.prototype.r=function(t){return null!=t&&(null==t.c||null!=this.c&&this.s||(this.c=t.c),null==t.d||null!=this.d&&this.s||(this.d=t.d),null==t.ak||null!=this.ak&&this.s||(this.ak=t.ak),null==t.am||null!=this.am&&this.s||(this.am=t.am),0==t.p||0!=this.p&&this.s||(this.p=t.p,!0),!0)},n.prototype.ae=function(t,e){return e?this.e:null!=this.e?this.e.e(t,!1):null},n.prototype.ap=function(){null!=this.buttonClicked&&this.buttonClicked(this,new b)},n.prototype.ao=function(){var t,e=this;null!=this.changed&&this.changed(this,((t=new y).newValue=e.af,t))},n.prototype.ar=function(t,e,i){var n;null!=this.targetPropertyUpdating&&this.targetPropertyUpdating(this,((n=new g).propertyPath=t,n.target=e,n.value=i,n))},n.$t=i.markType(n,"PropertyEditorPropertyDescription",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),_=function(t){function n(){return t.call(this,m.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorPropertyDescriptionCollection",i.ObservableCollection$1.$.specialize(m.$)),n}(i.ObservableCollection$1),v=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 m;return e.an=t.propertyName,e.p=this.i(t),e.am=null!=t.specificExternalType?t.specificExternalType:t.specificType,9==t.knownType&&(e.ak=t.collectionElementType,null!=this.j&&this.j.containsKey(e.ak)?e.e=this.j.item(e.ak):e.e=n.d(this.a,e.ak,this.j)),8==e.p&&(null!=this.j&&this.j.containsKey(e.am)?e.e=this.j.item(e.am):e.e=n.d(this.a,e.am,this.j)),15==e.p&&(e.c=this.a.c(this.n,e.an),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 _;if(null!=this.n&&null!=this.b){var e=!1;null==this.j&&(e=!0,this.j=new i.Dictionary$2(i.String_$type,n.$,0)),this.j.item(this.n,this);var r=this.b.b(this.n);if(null==r)return;for(var o=0;o<r.length;o++)if(!i.stringEndsWith(r[o],"@names")&&!(i.stringEndsWith(r[o],"@nameBinding")||i.stringEndsWith(r[o],"@ngQueryList")||i.stringEndsWith(r[o],"@mustSetInCode")||i.stringEndsWith(r[o],"@stringUnion"))){var a=this.b.getMetadata(this.n,r[o]),s=this.f(a);0!=s.p&&t.add(s)}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,a=null;r.count>0;){var s=r._inner[0];r.removeAt(0);var u=!1;if(i.stringContains(s,"]")){u=!0;var l=(s=i.stringReplace(s,"]","")).split(",");if(s=l[0].trim(),i.stringContains(s,"as")){var h=s.indexOf("as");s.substr(0,h).trim(),a=s.substr(h+2).trim()}if(null!=a&&a!=this.n){var c=this.c();c.n=a,o=c;continue}}if(e&&(u=!0),null!=o&&null!==i.typeCast(m.$,o)){var p=o.ae(s,u);if(null==p)return null;o=p}else if(null!=o){var f=o.e(s,u);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].an,s)){o=this.h._inner[d];break}if(null==o)return null}}return i.typeCast(m.$,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),C=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),P=function(t){function n(){return t.call(this,C.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"PropertyEditorDescriptionObjectCollection",i.ObservableCollection$1.$.specialize(C.$)),n}(i.ObservableCollection$1),T=function(t){function n(e){var n=t.call(this)||this;if(x.$type||(x.$type=i.markType(x,"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(){x.$type||(x.$type=i.markType(x,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(x.$type,m.$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 x)&&(e._implementation=t),e},t},n}(i.IgCollection),w=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 C},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 T,e=this.i.a;e||(e=new _),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 T;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(m.$type),r=this.i.a;r||(r=new _),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}(),j=function(t){function n(e){var n=t.call(this)||this;if(w.$type||(w.$type=i.markType(w,"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(){w.$type||(w.$type=i.markType(w,"IgcPropertyEditorDescriptionObject"));var t=new i.SyncableObservableCollection$2(w.$type,C.$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 w)&&(e._implementation=t),e},t},n}(i.IgCollection),O=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new b},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},t}(),A=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()},Object.defineProperty(t.prototype,"newValue",{get:function(){return this.i.newValue},set:function(t){this.i.newValue=t},enumerable:!1,configurable:!0}),t}(),S=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()},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}(),x=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._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._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 m},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,"propertyPath",{get:function(){return this.i.an},set:function(t){this.i.an=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"label",{get:function(){return this.i.al},set:function(t){this.i.al=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"valueType",{get:function(){return this.i.p},set:function(t){this.i.p=i.ensureEnum(d,t),this._a("valueType",i.enumToString(d,this.i.p))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"propertyDescriptionType",{get:function(){return this.i.am},set:function(t){this.i.am=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"shouldOverrideDefaultEditor",{get:function(){return this.i.s},set:function(t){this.i.s=i.ensureBool(t),this._a("shouldOverrideDefaultEditor",this.i.s)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"elementDescriptionType",{get:function(){return this.i.ak},set:function(t){this.i.ak=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.af},set:function(t){this.i.af=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"min",{get:function(){return this.i.ab},set:function(t){this.i.ab=+t,this._a("min",this.i.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"editorWidth",{get:function(){return this.i.y},set:function(t){this.i.y=+t,this._a("editorWidth",this.i.y)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"labelWidth",{get:function(){return this.i.z},set:function(t){this.i.z=+t,this._a("labelWidth",this.i.z)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"max",{get:function(){return this.i.aa},set:function(t){this.i.aa=+t,this._a("max",this.i.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"step",{get:function(){return this.i.ac},set:function(t){this.i.ac=+t,this._a("step",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValue",{get:function(){var t=this.i.g;if(null==t)return null;if(!t.externalObject){var e=new w;t.$type?e._implementation=t:e.i.setNativeElement&&e.i.setNativeElement(t),t.externalObject=e}return t.externalObject},set:function(t){this.i.g=null==t?null:t.i},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"complexValues",{get:function(){if(null===this._complexValues){var t=new j,e=this.i.i;e||(e=new P),this._complexValues=t._fromInner(e),this.i.i=e}return this._complexValues},set:function(t){null!==this._complexValues&&(this._complexValues._setSyncTarget(null),this._complexValues=null);var e=new j;this._complexValues=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(C.$type),r=this.i.i;r||(r=new P),n._inner=r,n.clear(),this._complexValues._setSyncTarget(n),this.i.i=r},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){if(null===this._properties){var t=new T,e=this.i.m;e||(e=new _),this._properties=t._fromInner(e),this.i.m=e}return this._properties},set:function(t){null!==this._properties&&(this._properties._setSyncTarget(null),this._properties=null);var e=new T;this._properties=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(m.$type),r=this.i.m;r||(r=new _),n._inner=r,n.clear(),this._properties._setSyncTarget(n),this.i.m=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:null!=this.complexValues&&this.complexValues.findByName&&this.complexValues.findByName(t)?this.complexValues.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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),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 O;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 A;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 S;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}),n._observedAttributesIgcPropertyEditorPropertyDescriptionComponent=null,n.htmlTagName="igc-property-editor-property-description",n._isElementRegistered=!1,n}(i.IgcHTMLElement),I=function(){function t(){}return t.register=function(){x.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPropertyDescriptionComponent",x),i.TypeRegistrar.register("PropertyEditorPropertyDescription",m.$type)},t}(),k=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),N=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),E=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 N;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 k;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),B=function(t){function n(e){var i=t.call(this)||this;return i.ae=null,i.add(new m),i.ae=e,i}return e.__extends(n,t),n.$t=i.markType(n,"HorizontalPropertyEditorPanelDataSource",_.$),n}(_),R=function(t){function n(e,n){var r=t.call(this)||this;r.a=new i.DescriptionTreeNode,r.b=null,r.b=e,r.a=new i.DescriptionTreeNode,r.a.i=n;new i.JsonDictionaryObject;return r}return e.__extends(n,t),n.prototype.h=function(t,e,i){null!=t&&this.c(t,e,this.a,i,null)},n.prototype.c=function(t,n,r,o,a){if(null==t)return null;var s=i.stringSplit(t,[".","["],0),u=s[0],l=s.length>1,h=!1,c=new i.List$1(i.Number_$type,0),p=new i.List$1(i.String_$type,0);if(i.stringContains(u,"]")){h=!0;for(var f=(u=i.stringReplace(u,"]","")).split(","),d=0;d<f.length;d++){var b=f[d];if(i.stringContains(b,"as")){var y=b.indexOf("as"),g=b.substr(0,y).trim(),m=b.substr(y+2).trim();c.add(parseInt(g)),p.add(m),o=m,u=g}}}var _=null;if(_=h?a:this.b.getMetadata(o,u),l)if(h)for(var v=r.b,C=0;C<c.count;C++){u=c._inner[C].toString();for(var P=p._inner[C],T=parseInt(i.stringReplace(i.stringReplace(u,"[",""),"]","")),w=new i.List$1(i.Base.$,0),j=0;j<=T;j++)if(null!=v&&j<v.length){var O=v[j];null!==i.typeCast(i.DescriptionTreeNode.$,O)&&j==T&&(O.i=P),w.add1(O)}else{var A=this.d(a,!0,P);null!=A&&w.add1(A)}var S=(v=w.toArray())[T],x=new i.List$1(i.String_$type,1,s);x.removeAt(0);var I=_.collectionElementType;null!=P&&(I=P);var k=this.c(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(x.toArray()),!1)),n,S,I,_);null!=k&&(v[T]=k),r.b=v}else{var N=r;N.c(u)||N.o(u,this.d(_,!1,null),_);var E=N.a(u),B=new i.List$1(i.String_$type,1,s);B.removeAt(0);var R=this.c(i.stringJoin.apply(void 0,e.__spreadArray(["."],e.__read(B.toArray()),!1)),n,E,_.specificExternalType,_);null!=R&&N.o(u,R,_)}else null!==i.typeCast(i.DescriptionPropertyValue.$,r)&&(r=r.b),r.o(u,this.e(n,_),_);return null},n.prototype.f=function(t){return null==t?null:t.length<1?"":t.substr(0,1).toLowerCase()+t.substr(1)},n.prototype.e=function(t,e){if(null==t)return null;if(null==e)return 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.d=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.g=function(){var t=new i.DescriptionSerializerBuilder,e=new i.DescriptionSerializer;return t.f("{"),t.i(),t.f('"descriptions": {'),t.i(),t.e('"root"'),t.e(": "),e.t(this.b,this.a,t),t.f(""),t.h(),t.e("}"),t.h(),t.f("}"),t.toString()},n.$t=i.markType(n,"PropertyEditorTreeTransformer"),n}(i.Base),$=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).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="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.j=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.ar(this.p(),7,(function(t){var i=t;e.a.dj(i,e.n),e.i.append(i.al)}));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.v&&this.a.d4()}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.eb),i.NativeUI.m(e,this.a.d8))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(){var t=this.a.ec();t.height>0&&this.i.rootWrapper.setStyleProperty("min-height",t.height+"px")},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.u(),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),q=function(t){function n(){var e=t.call(this)||this;e.l=null,e.v=null,e.r=null,e.y=!1,e.z=!1,e.w=null,e.propertyChanged=null,e.af=!1,e.n=null,e.o=new _,e.bl=-1,e.aq=i.DeviceUtils.g(38),e.s=null,e.bs=null,e.c=null,e.an=null,e.j=null,e.ae=!1,e.ap=null,e.bk=-1,e.bu=null,e.ad=!0,e.am=new i.Dictionary$2(E.$,i.Number_$type,0),e.f=null,e.g=null,e.d=null,e.br=null,e.bv=null,e.aa=!1,e.ac=!1,e.ab=!1,e.d6=n.d9,e.d7=n.ea,e.bp=0,e.bm=-1,e.k=null,i.NativeUIInputsFactory.n(),e.ap=new i.ObservableCollection$1(E.$,0);var r=new $;r.a=e,e.l=r,e.l.v();var o=e.properties;return o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.dz)),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"x",{get:function(){return null==this.w&&(this.w=new i.SRProvider(this.l.i),this.w.cb("Layouts")),this.w},enumerable:!1,configurable:!0}),n.prototype.dz=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,h)){var c=h;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dl))}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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.dl))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}this.aj(),this.properties.count>0&&this.actualProperties!=this.properties&&(this.actualProperties=this.properties),this.dv()},n.prototype.dv=function(){this.af||null!=this.v&&this.d4()},n.prototype.dl=function(t,e){this.af||(this.aj(),null!=this.v&&this.d4())},n.prototype.notifySizeChanged=function(){this.l.s()},n.prototype.dj=function(t,e){if(this.v=t,null!=this.v){if(null!=this.actualProperties){if(this.ag)null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var n=this.actualProperties;this.actualProperties=n.ae}this.bs=this.actualProperties;var r=this.actualProperties;r=this.actualProperties.toArray();var o=new i.LocalDataSource;o.dataSource=r,this.c=o,this.cf()}null!=this.actualProperties&&this.d4()}},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.l.t(t)},n.prototype.du=function(t){},Object.defineProperty(n.prototype,"actualProperties",{get:function(){return this.n},set:function(t){var e=this.n;this.n=t,e!=this.n&&this.dw("ActualProperties",e,this.n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"properties",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.dw("Properties",e,this.o)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return this.bl},set:function(t){var e=this.bl;this.bl=t,e!=this.bl&&this.dw("RowHeight",e,this.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ar",{get:function(){return this.aq},set:function(t){this.aq=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.dw("CellTextStyle",e,this.s)},enumerable:!1,configurable:!0}),n.prototype.u=function(){return null==this.t?this.l.d():this.t},n.prototype.dw=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.d0(t,e,n)},n.prototype.d0=function(t,e,n){switch(t){case"DescriptionType":null==this.b3&&null==this.properties&&(this.actualProperties=null),null!=this.b3&&(null==this.k&&(this.k=new v),this.k.n=this.b3),null==this.properties||0==this.properties.count?null!=this.k.h&&(this.actualProperties=this.k.h):null!=this.properties&&this.properties.count>0&&this.aj();break;case"ComponentRenderer":null!=e&&e.removeTargetPropertyUpdatingListener(i.runOn(this,this.al)),e!=n&&(this.ad=!0),null==this.e?this.h=this.i:this.h=this.e.context;break;case"Target":null!=i.ComponentRenderer.defaultInstance&&null==this.e&&(this.e=i.ComponentRenderer.defaultInstance);break;case"DescriptionContext":null==this.e&&(this.h=n);break;case"ActualContext":null==this.h&&null==this.properties&&(this.actualProperties=null),null!=this.h&&(null==this.k&&(this.k=new v),this.k.b=this.h),null==this.properties||0==this.properties.count?null!=this.k.h&&(this.actualProperties=this.k.h):null!=this.properties&&this.properties.count>0&&this.aj();break;case"Properties":this.actualProperties=this.properties;break;case"IsWrappingEnabled":this.d4();break;case"IsHorizontal":if(this.ag)this.bk=-1,null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var r=this.actualProperties;this.actualProperties=r.ae}break;case"ActualProperties":if(this.ag)null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var o=this.actualProperties;this.actualProperties=o.ae}if(null!=this.v){var a=this.bs!=this.actualProperties;if(this.ag)null!=this.actualProperties&&null===i.typeCast(B.$,this.actualProperties)&&(this.actualProperties=new B(this.actualProperties));else if(null!==i.typeCast(B.$,this.actualProperties)){var s=this.actualProperties;this.actualProperties=s.ae}this.bs=this.actualProperties;var u=this.actualProperties;u=this.actualProperties.toArray();var l=new i.LocalDataSource;if(l.dataSource=u,this.c=l,this.cf(),null!=this.c){var h=this.c;h.schemaChanged=i.delegateCombine(h.schemaChanged,i.runOn(this,this.dy))}a&&this.d4()}break;case"RowHeight":null!=this.v&&(this.ar=this.bq);break;case"CellTextStyle":this.d2();break;case"BackgroundColor":case"TextColor":this.d2()}},n.prototype.aj=function(){var t,n,r=this.af;this.af=!0;var o=!1;try{for(var a=e.__values(i.fromEnum(this.properties)),s=a.next();!s.done;s=a.next()){var u=s.value,l=u.an;if(null!=this.k){var h=this.k.e(l,!1);null!=h&&u.r(h)&&(o=!0)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o?this.d4():null!=this.v&&this.d2(),this.af=r,o},n.prototype.d2=function(){this.ae||null==this.j||(this.ae=!0,this.j.enqueueAction(i.runOn(this,this.ck)))},n.prototype.ck=function(){var t=this;if(this.ae=!1,null==this.an&&(this.an=new i.List$1(i.List$1.$.specialize(i.NativeUIComponent.$),0)),null!=this.c){for(var e=this.c.actualCount,n=function(e){var n=e,o=r.c.getItemAtIndex(e);r.v.bv<n+1?r.v.by(n,1,r.ar):r.v.b6(n,1,r.ar),r.an.count<n+1&&r.an.add(new i.List$1(i.NativeUIComponent.$,0));for(var a=r.an._inner[n],s=function(e){var s=r.ap._inner[e];a.count<e+1&&i.NativeUIComponent.av(r.l.p(),0,(function(r){var o=r;o.h=1,0==s.a&&(o.f=2),o.bd=new i.Thickness(1,5,5,5,0),t.v.bj(o),t.v.b4(o,n),t.v.b3(o,e),a.add(o)})),r.v.bs<e+1?r.v.bw(e,1,s.h):r.v.b5(e,1,s.h);var u=a._inner[e],l="PropertyPath";1==s.a&&(l="ValueType");var h=r.m(s,n,o),c=null;(null!=h&&(c=r.c.getItemProperty(h,l),null!=(c=s.i(c,n,o))&&(u=s.e(u,n,o))),null==c)&&(u.bo=null)},u=0;u<r.ap.count;u++)s(u)},r=this,o=0;o<e;o++)n(o);for(var a=new i.HashSet$1(i.NativeUIComponent.$,0),s=this.v.bi-1;s>=0;s--){var u=this.v.bh(s),l=this.v.bu(u),h=this.v.bt(u);(l+1>e||h+1>this.ap.count)&&a.add_1(u)}for(var c=this.v.bi-1;c>=0;c--){var p=this.v.bh(c);a.contains(p)&&this.v.bm(c)}for(var f=this.an.count-1;f>=0;f--){for(var d=this.an._inner[f].count-1;d>=0;d--){var b=this.an._inner[f]._inner[d];a.contains(b)&&this.an._inner[f].removeAt(d)}0==this.an._inner[f].count&&this.an.removeAt(f)}for(;this.v.bv>e;)this.v.b2(this.v.bv-1);for(;this.v.bs>this.ap.count;)this.v.b1(this.v.bs-1)}},n.prototype.dy=function(t,e){this.z=!0,this.cf(),this.z=!1},n.prototype.d4=function(){if(null!=this.v){this.am.clear(),this.ap.clear();-1==this.bq||this.bq,this.d8,this.u();if(this.ag)this.ch();else{var t=new E;t.b=0,t.f=10,t.g=5,t.a=0,t.dataBinding=i.delegateCombine(t.dataBinding,i.runOn(this,this.dn)),t.cellUpdating=i.delegateCombine(t.cellUpdating,i.runOn(this,this.dm)),t.j="PropertyPath",this.ap.add(t);var e=new E;e.b=1,e.a=1,e.f=5,e.g=5,e.dataBinding=i.delegateCombine(e.dataBinding,i.runOn(this,this.cm)),e.cellUpdating=i.delegateCombine(e.cellUpdating,i.runOn(this,this.cl)),e.j="ValueType",this.ap.add(e)}this.d2()}},n.prototype.ch=function(){if(null!=this.actualProperties){for(var t=this.actualProperties.ae,e=t.count,n=new i.List$1(E.$,0),r=this.bn(t,e,n,2147483647),o=0;o<n.count;o++)this.ap.add(n._inner[o]);this.bp=r;var a=this.actualProperties,s=this.bk;a.clear();for(var u=0;u<this.bp;u++)a.add(new m);var l=this.actualProperties.toArray(),h=new i.LocalDataSource;h.dataSource=l,this.c=h,a.count!=s&&(this.bk=a.count,this.d2(),this.l.r())}},n.prototype.ec=function(){if(this.ag&&null!=this.v&&null!=this.c){var t=this.ar,e=this.actualProperties;return new i.Size(1,0,e.count*t)}return new i.Size(1,0,0)},n.prototype.bn=function(t,e,n,r){var o=0,a=0,s=this.l.g();s-=5,this.ai||(s=17976931348623157e292);for(var u=0,l=s,h=0;h<e;h++){var c=t.item(h),p=this.ba(c),f=this.a6(c);if(u+p+f>s&&a>0||a>=r){if(0!=o&&a<r&&r>2){var d=n._inner[a],b=n._inner[a+1];return d.h=p,b.h=f,this.d3(s,n),0==n.count?0:this.bn(t,e,n,n.count)}r=Math.max(Math.min(r,a),2),o++;var y=s-u;y<l&&(l=y),u=0,a=0}this.b6(c);if(n.count<=a){var g=new E;g.b=0,g.a=0,g.f=10,g.g=5,g.h=p,g.dataBinding=i.delegateCombine(g.dataBinding,i.runOn(this,this.dn)),g.cellUpdating=i.delegateCombine(g.cellUpdating,i.runOn(this,this.dm)),g.j="PropertyName_"+h,n.add(g),this.am.item(g,n.count-1),a++}else{var m=n._inner[a];if(p>m.h){var _=p-m.h;if(m.h=p,_>l&&r>2)return this.d3(s,n),0==n.count?0:this.bn(t,e,n,n.count);(l-=_)<0&&(l=0),a++}else p=m.h,a++}if(n.count<=a){var v=new E;v.b=1,v.a=1,v.j="ValueType_"+h,v.f=5,v.g=5,v.dataBinding=i.delegateCombine(v.dataBinding,i.runOn(this,this.cm)),v.h=f,v.cellUpdating=i.delegateCombine(v.cellUpdating,i.runOn(this,this.cl)),n.add(v),this.am.item(v,n.count-1),a++}else{var C=n._inner[a];if(f>C.h){var P=f-C.h;if(C.h=f,P>l&&r>2)return this.d3(s,n),0==n.count?0:this.bn(t,e,n,n.count);(l-=P)<0&&(l=0),a++}else f=C.h,a++}u+=p+f}return o+1},n.prototype.d3=function(t,n){var r,o,a=0;try{for(var s=e.__values(i.fromEnum(n)),u=s.next();!u.done;u=s.next()){a+=u.value.h}}catch(t){r={error:t}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(r)throw r.error}}for(;a>t;){if(n.count<1)return;1==n._inner[n.count-1].b?(a-=n._inner[n.count-1].h,a-=n._inner[n.count-2].h,n.removeAt(n.count-1),n.removeAt(n.count-1)):(a-=n._inner[n.count-1].h,n.removeAt(n.count-1))}},n.prototype.cm=function(t,e){var n=t,r=this.m(n,e.a,e.c);e.b=i.enumGetBox(d,null!=r?r.p:0)},n.prototype.dn=function(t,e){var i=t,n=this.m(i,e.a,e.c);e.b=null!=n?null!=n.al?n.al:n.an:null},n.prototype.a6=function(t){if(!i.isNaN_(t.y))return t.y;switch(t.p){case 10:return this.as(t);case 7:return this.at(t);case 4:return this.av(t);case 6:return this.au(t);case 23:return this.a4(t);case 9:return this.ay(t);case 5:return this.a0(t);case 14:return this.az(t);case 18:return this.a1(t);case 3:return this.a2(t);case 15:return this.a7(t);case 17:return this.a8(t);case 16:return this.bb(t);case 1:return this.bc(t);case 11:return this.bd(t);case 13:return this.be(t);case 12:return this.bf(t);case 2:return this.bh(t);case 8:return this.bi(t);case 19:return this.bj(t);case 0:return this.a9(t);case 20:return this.aw(t);case 21:return this.bg(t)}return 100},n.prototype.bj=function(t){return this.a9(t)},n.prototype.a9=function(t){return 175},n.prototype.aw=function(t){return null!=t.af?Math.max(100,this.l.h(t.af.toString())+30):80},n.prototype.bg=function(t){return 175},n.prototype.bi=function(t){return this.aw(t)},n.prototype.bh=function(t){return this.a9(t)},n.prototype.bf=function(t){return this.a9(t)},n.prototype.be=function(t){return this.a9(t)},n.prototype.bd=function(t){return this.a9(t)},n.prototype.bc=function(t){return this.a9(t)},n.prototype.bb=function(t){return this.aw(t)},n.prototype.a8=function(t){return this.aw(t)},n.prototype.a7=function(t){return this.a5(t)},n.prototype.a5=function(t){return this.a9(t)},n.prototype.a2=function(t){return this.a3(t)},n.prototype.a3=function(t){return this.a9(t)},n.prototype.a1=function(t){return this.aw(t)},n.prototype.az=function(t){return this.aw(t)},n.prototype.a0=function(t){return this.a9(t)},n.prototype.ay=function(t){return this.aw(t)},n.prototype.au=function(t){return this.aw(t)},n.prototype.a4=function(t){return this.a9(t)},n.prototype.av=function(t){return this.a9(t)},n.prototype.at=function(t){return this.ax(t)},n.prototype.ax=function(t){return 50},n.prototype.as=function(t){return this.aw(t)},n.prototype.ba=function(t){return i.isNaN_(t.z)?this.l.h(this.b6(t))+17:t.z},n.prototype.b6=function(t){return null!=t.al?t.al:t.an},n.prototype.dm=function(t,e){var i=t;this.m(i,e.b,e.c);this.c9(i,e)},n.prototype.cl=function(t,e){var i=t,n=this.m(i,e.b,e.c);switch(null!=n?n.p:0){case 10:this.ct(i,e);break;case 7:this.cu(i,e);break;case 4:this.cw(i,e);break;case 6:this.cv(i,e);break;case 23:this.c4(i,e);break;case 9:this.cy(i,e);break;case 5:this.c0(i,e);break;case 14:this.cz(i,e);break;case 18:this.c1(i,e);break;case 3:this.c2(i,e);break;case 15:this.c6(i,e);break;case 17:this.c7(i,e);break;case 16:this.da(i,e);break;case 1:this.db(i,e);break;case 11:this.dc(i,e);break;case 13:this.dd(i,e);break;case 12:this.de(i,e);break;case 2:this.dg(i,e);break;case 8:this.dh(i,e);break;case 19:this.di(i,e);break;case 20:this.cx(i,e);break;case 21:this.df(i,e)}},n.prototype.di=function(t,e){this.c8(t,e)},n.prototype.dh=function(t,e){},n.prototype.dg=function(t,e){this.c8(t,e)},n.prototype.de=function(t,e){this.c8(t,e)},n.prototype.dd=function(t,e){this.c8(t,e)},n.prototype.dc=function(t,e){this.c8(t,e)},n.prototype.db=function(t,e){this.c8(t,e)},n.prototype.c9=function(t,e){var i=this;this.cr(e,(function(n,r){n.bg=i.u(),n.h=1;var o=i.m(t,e.b,e.c);n.am=o,n.bi=i.b6(o)}))},n.prototype.c8=function(t,e){var n=this;this.cq(e,(function(r,o){r.h=1,r.bm=1,r.bj=2;var a=n.m(t,e.b,e.c);r.am=a,r.bq=null!=a.af?a.af.toString():"",o&&(r.bl=i.runOn(n,n.dk))}))},n.prototype.cr=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||3!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),3,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cq=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||2!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),2,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cn=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||1!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),1,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cs=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||5!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),5,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cp=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||4!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),4,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.co=function(t,e){var n=t.a,r=n.bo,o=!1;if(null==r||6!=r.e)return o=!0,void i.NativeUIComponent.ar(this.l.p(),6,(function(t){n.bo=t,e(t,o)}));e(r,o)},n.prototype.cx=function(t,e){var n=this;this.cn(e,(function(r,o){r.h=1,2!=r.bk&&(r.bk=2);var a=n.m(t,e.b,e.c);r.am=a;var s=a.af;"number"!=typeof a.af&&"number"!=typeof a.af||(s=a.af.toString()),r.bs=s,o&&(r.bh=i.runOn(n,n.ce))}))},n.prototype.df=function(t,e){var n=this;this.cs(e,(function(r,o){r.h=1;var a=n.m(t,e.b,e.c);r.am=a;var s=a.af;if("number"!=typeof a.af&&"number"!=typeof a.af||(s=a.af),"string"==typeof a.af){var u=0;s=u=i.tryParseNumber(s,u).p1}null==s&&(s=0),r.bn=s,i.isNaN_(a.ab)?r.bl=0:r.bl=a.ab,i.isNaN_(a.aa)?r.bk=100:r.bk=a.aa,i.isNaN_(a.ac)?r.bm=1:r.bm=a.ac,o&&(r.bj=i.runOn(n,n.d5))}))},n.prototype.d5=function(t,e){var i=t,n=i.am;this.af=!0,n.af=i.bn,this.af=!1,this.dx(n)},n.prototype.c5=function(t,e){var n=this;this.cp(e,(function(r,o){r.h=1,2!=r.bg&&(r.bg=2);var a=n.m(t,e.b,e.c);r.am!=a?(r.bi=null,r.am=a,r.bk=null,r.bj=n.b(n.a(a)),a.af!=r.bk&&("number"==typeof a.af||"number"==typeof a.af?r.bk=a.af.toString():r.bk=a.af),r.bi=i.runOn(n,n.ci)):a.af!=r.bk&&("number"==typeof a.af||"number"==typeof a.af?r.bk=a.af.toString():r.bk=a.af),o&&(null==r.bi&&(r.bi=i.runOn(n,n.ci)),r.a4=i.BrushUtil.h(255,255,255,255))}))},n.prototype.b=function(t){return t},n.prototype.a=function(t){return t.c},n.prototype.ci=function(t,e){var i=t,n=i.am;this.af=!0,n.af=i.bk,n.ao(),this.af=!1,this.dx(n)},n.prototype.dk=function(t,e){var n=t,r=n.am;if(this.af=!0,1==r.p){var o=0;o=i.tryParseNumber(n.bq,o).p1,r.af=o}else if(23==r.p){if(null!=n.bq){for(var a=n.bq.split(" "),s=new i.List$1(i.Number_$type,0),u=function(t){var e,r=a[t];if(!i.stringIsNullOrEmpty(r)){var o=0;e=i.tryParseNumber(n.bq,o),o=e.p1,e.ret&&s.add(o)}},l=0;l<a.length;l++)u(l);r.af=s.toArray()}}else r.af=n.bq;r.ao(),this.af=!1,this.dx(r)},n.prototype.ce=function(t,e){var i=t.am;this.af=!0,i.ap(),this.af=!1,this.dx(i)},n.prototype.dx=function(t){var e=this;if(null!=this.bt&&null!=this.e){this.ad&&(this.ad=!1,this.e.addTargetPropertyUpdatingListener(i.runOn(this,this.al)));var n=null==this.bu;this.bu=this.b5(),n?this.l.q(this.bt,(function(t){return e.e.loadJsonOverlay(e.bu,(function(e){return t}),(function(t){return e.bt}))})):this.l.q(this.bt,(function(t){return e.e.loadJsonDelta(e.bu,(function(e){return t}),!1)}))}},n.prototype.al=function(t,e,n){var r=this.actualProperties;null!==i.typeCast(B.$,r)&&(r=r.ae);for(var o=0;o<r.count;o++){var a=r._inner[o].an;this.ak(a,t)&&r._inner[o].ar(t,e,n)}return!!this.ah},n.prototype.ak=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 a=n[o],s=r[o];if(i.stringContains(a,"]")){if(!i.stringContains(s,"]"))return!1;if(s=i.stringReplace(s,"]",""),!this.ao(a).contains(s))return!1}else if(!i.Base.equalsStatic(a,s))return!1}return!0},n.prototype.ao=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 a=o.indexOf("as"),s=o.substr(0,a).trim();e.add(s)}}return e}return e.add(t),e},n.prototype.b5=function(){if(null==this.actualProperties)return null;var t=this.actualProperties;null!==i.typeCast(B.$,t)&&(t=t.ae);var e=new R(this.h,this.b3);return this.c3(t,"",e,this.b3),e.g()},n.prototype.c3=function(t,e,i,n){for(var r=0;r<t.count;r++){var o=t._inner[r];if(20!=o.p)if(null!=o.i&&o.i.count>0)for(var a=0;a<o.i.count;a++){var s=o.i._inner[a],u=e+o.an+"["+a+"]";this.c3(s.a,u,i,s.b)}else if(null!=o.g){var l=e+o.an;this.c3(o.g.a,l,i,o.g.b)}else i.h(e+o.an,o.af,n)}},n.prototype.da=function(t,e){},n.prototype.c7=function(t,e){},n.prototype.c6=function(t,e){this.c5(t,e)},n.prototype.c2=function(t,e){},n.prototype.c1=function(t,e){},n.prototype.cz=function(t,e){},n.prototype.c0=function(t,e){this.c8(t,e)},n.prototype.c4=function(t,e){this.c8(t,e)},n.prototype.cy=function(t,e){},n.prototype.cv=function(t,e){},n.prototype.cw=function(t,e){this.c8(t,e)},n.prototype.cu=function(t,e){var n=this;this.co(e,(function(r,o){r.h=1,r.bi||(r.bi=!0);var a,s=n.m(t,e.b,e.c),u=s.af;if((null==u&&(u=!1),"string"==typeof u)&&function(){var t=i.tryParseBool(u,a);return a=t.p1,t.ret}()){u=a;var l=n.af;n.af=!0,s.af=u,n.af=l}if("number"==typeof u&&i.typeGetValue(u)>0){u=!0;var h=n.af;n.af=!0,s.af=u,n.af=h}if("number"==typeof u&&u>0){u=!0;var c=n.af;n.af=!0,s.af=u,n.af=c}var p=u;r.bj=p,r.am=s,o&&(r.bh=i.runOn(n,n.cg))}))},n.prototype.m=function(t,e,n){if(this.ag){var r=this.actualProperties.ae,o=e*i.truncate(this.ap.count/2),a=this.bo(t);return(a=i.truncate(Math.floor(a/2))+o)>r.count-1?null:r.item(a)}return n},n.prototype.bo=function(t){return this.am.item(t)},n.prototype.cg=function(t,e){var i=t,n=i.am;this.af=!0,n.af=i.bj,n.ao(),this.af=!1,this.dx(n)},n.prototype.ct=function(t,e){},n.prototype.ds=function(t,e,i){null!=this.v&&this.c.notifySetItem(t,e,i)},n.prototype.dp=function(){null!=this.v&&this.c.notifyClearItems()},n.prototype.dq=function(t,e){null!=this.v&&this.c.notifyInsertItem(t,e)},n.prototype.dr=function(t,e){null!=this.v&&this.c.notifyRemoveItem(t,e)},Object.defineProperty(n.prototype,"h",{get:function(){return this.f},set:function(t){var e=this.f;this.f=t,this.dw("ActualContext",e,this.f)},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.dw("DescriptionContext",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,this.dw("ComponentRenderer",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bt",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,this.dw("Target",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b3",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,this.dw("DescriptionType",e,this.bv)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ag",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,this.dw("IsHorizontal",e,this.aa)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,this.dw("IsWrappingEnabled",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ah",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.dw("IsIndirectModeEnabled",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"d8",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.dw("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eb",{get:function(){return this.d7},set:function(t){var e=this.d7;this.d7=t,e!=this.d7&&this.dw("TextColor",e,t)},enumerable:!1,configurable:!0}),n.prototype.cf=function(){var t=this.c;if(null!=t){if(null==t.actualSchema)return void(this.bm=-1);var e=t.actualCount;this.bm=e}else this.bm=-1},n.$t=i.markType(n,"PropertyEditorPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.d9=i.BrushUtil.h(255,248,248,248),n.ea=i.BrushUtil.h(255,24,29,31),n}(i.Base),z=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),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{a&&!a.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 T;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 x&&this.contentProperties.push(this.children[t]);null!=this._propertiesAdapter&&this._propertiesAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new q},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 T,e=this.i.actualProperties;e||(e=new _),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 T;this._actualDataSource=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(m.$type),r=this.i.actualProperties;r||(r=new _),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.bq},set:function(t){this.i.bq=+t,this._a("rowHeight",this.i.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("actualRowHeight",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDescriptionContext",{get:function(){return this.i.h},set:function(t){this.i.h=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionContext",{get:function(){return this.i.i},set:function(t){this.i.i=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"componentRenderer",{get:function(){return this.i.e},set:function(t){this.i.e=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"target",{get:function(){return this.i.bt},set:function(t){this.i.bt=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"descriptionType",{get:function(){return this.i.b3},set:function(t){this.i.b3=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isHorizontal",{get:function(){return this.i.ag},set:function(t){this.i.ag=i.ensureBool(t),this._a("isHorizontal",this.i.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isWrappingEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("isWrappingEnabled",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isIndirectModeEnabled",{get:function(){return this.i.ah},set:function(t){this.i.ah=i.ensureBool(t),this._a("isIndirectModeEnabled",this.i.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.d8)},set:function(t){this.i.d8=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.d8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.eb)},set:function(t){this.i.eb=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.eb))},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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.notifySetItem=function(t,e,i){this.i.ds(t,e,i)},n.prototype.notifyClearItems=function(){this.i.dp()},n.prototype.notifyInsertItem=function(t,e){this.i.dq(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.dr(t,e)},n._observedAttributesIgcPropertyEditorPanelComponent=null,n.htmlTagName="igc-property-editor-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),U=function(){function t(){}return t.register=function(){I.register(),z.register(),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",z),i.TypeRegistrar.registerCons("IgcPropertyEditorPanelComponent",z),i.TypeRegistrar.register("PropertyEditorPanel",q.$type)},t}(),D=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),V=i.markEnum("ListPanelOrientation","Vertical,0|Horizontal,1"),H=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.d=!1,e.m=0,e.k=0,e.n=null,e.a=null,e.b=!1,e.e=!1,e.c=!0,e.h=0,e.i=0,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"o",{get:function(){return this.n},set:function(t){this.f=!0,this.n=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"f",{get:function(){return this.b},set:function(t){this.b=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"g",{get:function(){return this.c},set:function(t){this.c=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"j",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,e!=this.h&&(this.g=!0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&(this.g=!0)},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanelItemModel"),n}(i.Base),L=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelContentRefreshedEventArgs"),n}(i.Base),F=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),M=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.a=null,e.c=null,e.b=null,e}return e.__extends(n,t),n.$t=i.markType(n,"ListPanelTemplateItemUpdatingEventArgs"),n}(i.Base),W=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),G=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),K=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).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="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.c=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.ar(this.p(),9,(function(t){var i=t;e.a.bv(i),e.i.append(i.al)}));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),this.a.cd(this.aa),null!=this.a.u&&this.a.cp()}},n.prototype.z=function(){var t=this.i;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.a.cv),i.NativeUI.m(e,this.a.cs))}},n.prototype.d=function(){return this.b},n.prototype.u=function(){},n.prototype.w=function(){},n.prototype.r=function(t,e){this.i.rootWrapper.setStyleProperty("height",e+"px")},n.prototype.g=function(){return this.aa.width},n.prototype.h=function(t){return this.c=this.a.t(),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,"ListPanelView"),n}(i.Base),X=function(t){function n(){var e=t.call(this)||this;e.o=null,e.u=null,e.y=!1,e.v=null,e.h=null,e.propertyChanged=null,e.a8=null,e.a=null,e.ag=!1,e.a0=-1,e.ar=i.DeviceUtils.g(42),e.r=null,e.x=!0,e.a9=null,e.as=0,e.aq=NaN,e.ap=0,e.ad=!1,e.z=!1,e.ac=!1,e.contentRefreshed=null,e.rowUpdating=null,e.q=new i.FastIterationDictionary$2(i.Number_$type,H.$,0),e.itemWidthRequested=null,e.itemHeightRequested=null,e.p=new i.FastIterationDictionary$2(H.$,H.$,0),e.ao=new i.Stack$1(H.$),e.al=new i.List$1(i.Number_$type,0),e.ak=new i.List$1(i.Number_$type,0),e.an=new i.List$1(i.Number_$type,0),e.am=new i.List$1(i.Number_$type,0),e.ae=!0,e.ab=!0,e.ay=-1,e.az=-1,e.d=null,e.c=null,e.cq=n.ct,e.i=n.j,e.aa=n.af,e.cr=n.cu,i.NativeUIInputsFactory.n();var r=new K;return r.a=e,e.o=r,e.o.v(),e}return e.__extends(n,t),Object.defineProperty(n.prototype,"w",{get:function(){return null==this.v&&(this.v=new i.SRProvider(this.o.i),this.v.cb("Layouts")),this.v},enumerable:!1,configurable:!0}),n.prototype.bv=function(t){this.h=new Y(t)},n.prototype.cd=function(t){this.aq=t.width,this.ch()},Object.defineProperty(n.prototype,"itemsSource",{get:function(){return this.a8},set:function(t){var e=this.a8;this.a8=t,e!=this.a8&&this.ca("ItemsSource",e,this.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDataSource",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.ca("ActualDataSource",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.notifySizeChanged=function(){this.o.s()},n.prototype.destroy=function(){this.provideContainer(null)},n.prototype.provideContainer=function(t){this.o.t(t)},Object.defineProperty(n.prototype,"a7",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.ca("RowHeight",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"av",{get:function(){return this.ar},set:function(t){this.ar=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"s",{get:function(){return this.r},set:function(t){var e=this.r;this.r=t,e!=this.r&&this.ca("CellTextStyle",e,this.r)},enumerable:!1,configurable:!0}),n.prototype.t=function(){return null==this.s?this.o.d():this.s},Object.defineProperty(n.prototype,"ah",{get:function(){return 1==this.k},enumerable:!1,configurable:!0}),n.prototype.ca=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.ce(t,e,n)},n.prototype.bm=function(t,e){this.b8()},n.prototype.ch=function(){this.ac||(this.ac=!0,this.c.enqueueAction(i.runOn(this,this.bo)))},n.prototype.bo=function(){this.ac&&(this.ac=!1,this.ab&&(this.bk(),1==this.k&&this.h.d(new i.Size(1,this.aq,this.ap))),this.ae&&this.bl(),this.ci(),this.cl(),null!=this.contentRefreshed&&this.contentRefreshed(this,new L))},n.prototype.cl=function(){if(null!=this.actualDataSource){for(var t=0;t<this.p.o.count;t++)if(!this.p.p._inner[t]){this.p.o._inner[t];var e=this.p.q._inner[t];null!=e.a&&this.h.c(e.a.a)}for(var i=0;i<this.q.o.count;i++)if(!this.q.p._inner[i]){this.q.o._inner[i];var n=this.q.q._inner[i];this.br(n),this.bp(n),this.h.b(this,n)}}},n.prototype.bp=function(t){t.f&&(t.f=!1,this.bs(t))},n.prototype.bs=function(t){var e;null!=this.rowUpdating&&this.rowUpdating(this,((e=new M).a=t,e.b=t.a.a,e.c=t.a.a.al,e))},n.prototype.br=function(t){var e=this;null==t.a&&(t.a=new F,i.NativeUIComponent.av(this.o.p(),0,(function(i){var n=i;0==e.k?n.f=3:n.f=0,t.a.a=n})))},n.prototype.bl=function(){if(this.ae&&(this.ae=!1,this.bu(),this.ay=this.a5(),this.az=this.a6(),-1!=this.ay&&-1!=this.az)){for(var t=new i.List$1(i.Number_$type,0),e=0;e<this.q.o.count;e++)if(!this.q.p._inner[e]){var n=this.q.o._inner[e];this.q.q._inner[e];(n<this.ay||n>this.az)&&t.add(n)}for(var r=0;r<t.count;r++)this.co(t._inner[r]);for(var o=this.ay;o<=this.az;o++){this.bq(o);var a=this.q.item(o);a.l=this.ax(o),a.j=this.aw(o)}}},n.prototype.aw=function(t){return 0==this.k?0:this.an._inner[t]},n.prototype.ax=function(t){return 1==this.k?0:this.ai?this.al._inner[t]:t*this.av},n.prototype.bq=function(t){if(!this.q.d(t)){var e=this.g(t);e.d&&(this.p.f(e),e.d=!1),this.q.s(t,e)}},n.prototype.g=function(t){if(this.ao.f>0)return this.ao.e();var e=new H;return e.m=t,e.k=this.av,e},n.prototype.co=function(t){var e=this.q.item(t);this.ck(e),this.q.f(t),e.d=!0,this.p.s(e,e)},n.prototype.ck=function(t){this.ao.h(t)},n.prototype.a6=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:this.actualDataSource.actualCount-1},n.prototype.a5=function(){return null==this.actualDataSource||null==this.actualDataSource.actualSchema?-1:0},n.prototype.bk=function(){var t=this;if(this.ak.clear(),this.al.clear(),this.am.clear(),this.an.clear(),null!=this.actualDataSource&&null!=this.actualDataSource.actualSchema){var e=this.ap,n=i.isNaN_(this.aq)?0:this.aq;if(0==this.k)if(this.ai){for(var r=0,o=function(e){a.al.add(r);var i,n=a.av;if(null!=a.itemHeightRequested){var o=((i=new G).b=e,i.c=t.actualDataSource.getItemAtIndex(e),i.a=n,i);a.itemHeightRequested(a,o),n=o.a,r+=n}a.ak.add(n)},a=this,s=0;s<this.actualDataSource.actualCount;s++)o(s);this.ap=r}else this.ap=this.av*this.actualDataSource.actualCount;else{this.ap=this.av;for(var u=0,l=function(e){h.an.add(u);var i,n=0;if(null!=h.itemWidthRequested){var r=((i=new W).b=e,i.c=t.actualDataSource.getItemAtIndex(e),i.a=n,i);h.itemWidthRequested(h,r),n=r.a,u+=n}h.am.add(n)},h=this,c=0;c<this.actualDataSource.actualCount;c++)l(c);this.aq=u}e==this.ap&&n==(i.isNaN_(this.aq)?0:this.aq)||this.o.r(this.aq,this.ap)}},n.prototype.bt=function(){this.ac&&this.bo()},n.prototype.cm=function(){var t=i.isNaN_(this.aq)?0:this.aq,e=this.ap;this.ad=!0,this.bz(this.as),t==(i.isNaN_(this.aq)?0:this.aq)&&e==this.ap||this.externalListPanel.onContentSizeChanged(),this.ad=!1,this.b0(),this.ch()},n.prototype.b0=function(){this.ae=!0},n.prototype.bz=function(t){this.ab=!0,this.as=t},n.prototype.bu=function(){this.z&&(this.z=!1,this.cm(),this.by())},n.prototype.cn=function(){this.z?this.bu():(this.ch(),this.bt())},n.prototype.a4=function(){return this.az},n.prototype.a3=function(){return this.ay},n.prototype.aj=function(){return this.ay>=0&&this.az>=0},n.prototype.by=function(){if(this.aj()){var t=this.a3(),e=this.a4();this.bx(t,e)}},n.prototype.bx=function(t,e){var i=this.a3(),n=this.a4();e<i||t>n||(t<i&&(t=i),e>n&&(e=n),this.ci(),this.cn())},n.prototype.ci=function(){if(null!=this.actualDataSource)for(var t=0;t<this.q.q.count;t++)if(!this.q.p._inner[t]){var e=this.q.q._inner[t];e.o=this.actualDataSource.getItemAtIndex(e.m),e.k=this.av}},n.prototype.cj=function(t){if(null!=this.actualDataSource&&this.q.d(t)){var e=this.q.item(t);e.o=this.actualDataSource.getItemAtIndex(e.m),e.k=this.av}},n.prototype.cg=function(){this.z||(this.z=!0,this.b0(),this.ch())},n.prototype.bw=function(t){this.cj(t)},n.prototype.b8=function(){this.z?this.bu():(this.cm(),this.by())},Object.defineProperty(n.prototype,"externalListPanel",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),n.prototype.ce=function(t,e,n){var r=this;switch(t){case"ItemsSource":if(null!=this.a){var o=this.a;o.schemaChanged=i.delegateRemove(o.schemaChanged,i.runOn(this,this.bm)),this.a.updateNotifier=null}if(null!==i.typeCast(i.IDataSource_$type,this.itemsSource))this.actualDataSource=this.itemsSource;else{var a=this.externalListPanel.createLocalDataSource(this.itemsSource);this.actualDataSource=a}if(null!=this.a){var s=this.a;s.schemaChanged=i.delegateCombine(s.schemaChanged,i.runOn(this,this.bm)),this.a.updateNotifier=new Q(this),null!=this.a.actualSchema&&(this.cg(),this.c.enqueueAction((function(){return r.b8()})))}break;case"RowHeight":null!=this.u&&(this.av=this.a7);break;case"CellTextStyle":this.by();break;case"BackgroundColor":case"TextColor":this.by();break;case"Orientation":this.cm()}},n.prototype.cp=function(){if(null!=this.u)-1==this.a7||this.a7,this.cs,this.t()},n.prototype.cw=function(){var t=this.ap,e=0;!i.isNaN_(t)&&t>=0&&(e=t);for(var n=new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY),r=0,o=0;o<this.q.o.count;o++)if(!this.q.p._inner[o]){this.q.o._inner[o];var a=this.q.q._inner[o].a.a.bb(n);0==this.k?r=Math.max(r,a.width):r+=a.width}return new i.Size(1,r,e)},n.prototype.b7=function(t,e){},n.prototype.cc=function(t,e,i){if(0==this.k){if(this.ai){var n=this.av;if(null!=this.itemHeightRequested){var r=new G;r.c=i,r.b=t,r.a=n,this.itemHeightRequested(this,r),n=r.a}var o=this.ak._inner[t];this.ak._inner[t]=n;for(var a=n-o,s=t;s<this.actualDataSource.actualCount;s++)this.al._inner[s]+=a}}else{var u=0;if(null!=this.itemWidthRequested){var l=new W;l.c=i,l.b=t,l.a=u,this.itemWidthRequested(this,l),u=l.a}var h=this.am._inner[t];this.am._inner[t]=u;for(var c=u-h,p=t;p<this.actualDataSource.actualCount;p++)this.an._inner[p]+=c}this.bw(t)},n.prototype.b6=function(){this.cm()},n.prototype.b9=function(t,e){if(0==this.k){if(this.ai){var i=this.av;if(null!=this.itemHeightRequested){var n=new G;n.c=e,n.b=t,n.a=i,this.itemHeightRequested(this,n),i=n.a}this.ak.insert(t,i);var r=0;if(t>0)r=this.al._inner[t-1]+this.ak._inner[t-1];this.al.insert(t,r);for(var o=t;o<this.actualDataSource.actualCount;o++)this.al._inner[o]+=i}}else{var a=0;if(null!=this.itemWidthRequested){var s=new W;s.c=e,s.b=t,s.a=a,this.itemWidthRequested(this,s),a=s.a}this.am.insert(t,a);var u=0;if(t>0)u=this.an._inner[t-1]+this.am._inner[t-1];this.an.insert(t,u);for(var l=t;l<this.actualDataSource.actualCount;l++)this.an._inner[l]+=a}this.cg()},n.prototype.cb=function(t,e){if(0==this.k){for(var i=this.ak._inner[t],n=t+1;n<this.actualDataSource.actualCount;n++)this.al._inner[n]-=i;this.ak.removeAt(t),this.al.removeAt(t)}else{for(var r=this.am._inner[t],o=t+1;o<this.actualDataSource.actualCount;o++)this.an._inner[o]-=r;this.am.removeAt(t),this.an.removeAt(t)}this.cg()},n.prototype.b4=function(t,e,i){null!=this.a&&this.a.notifySetItem(t,e,i)},n.prototype.b1=function(){null!=this.a&&this.a.notifyClearItems()},n.prototype.b2=function(t,e){null!=this.a&&this.a.notifyInsertItem(t,e)},n.prototype.b3=function(t,e){null!=this.a&&this.a.notifyRemoveItem(t,e)},n.prototype.a1=function(t){return null==this.a?-1:this.a.indexOfItem(t)},n.prototype.a2=function(t){return null==this.a?-1:this.a.indexOfKey(t)},Object.defineProperty(n.prototype,"cs",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.ca("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"k",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.ca("Orientation",i.enumGetBox(V,e),i.enumGetBox(V,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.ca("IsCustomRowHeightEnabled",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cv",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.ca("TextColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"au",{get:function(){return this.aq},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"at",{get:function(){return this.ap},enumerable:!1,configurable:!0}),n.$t=i.markType(n,"ListPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),n.ct=i.BrushUtil.h(255,248,248,248),n.j=0,n.af=!1,n.cu=i.BrushUtil.h(255,24,29,31),n}(i.Base),Q=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.b7(t,e)},n.prototype.notifySetItem=function(t,e,i){this.a.cc(t,e,i)},n.prototype.notifyClearItems=function(){this.a.b6()},n.prototype.notifyInsertItem=function(t,e){this.a.b9(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.a.cb(t,e)},n.$t=i.markType(n,"ListPanelDataSourceNotificationBridge",i.Base.$,[i.IDataSourceUpdateNotifier_$type]),n}(i.Base),Y=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.d=function(t){this.a.ad=t.width,this.a.x=t.height},n.prototype.b=function(t,e){e.e||(e.e=!0,this.a.bj(e.a.a)),0==t.k?i.isNaN_(t.au)||(e.a.a.ad=t.au):e.a.a.x=t.at,e.g&&(e.g=!1,this.a.bq(e.a.a,e.j),this.a.br(e.a.a,e.l))},n.prototype.c=function(t){this.a.br(t,-1e3),this.a.bq(t,-1e3)},n.$t=i.markType(n,"ListPanelLayoutPanel"),n}(i.Base),J=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,"dataRow",{get:function(){return this.i.m},set:function(t){this.i.m=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowHeight",{get:function(){return this.i.k},set:function(t){this.i.k=+t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"rowObject",{get:function(){return this.i.o},set:function(t){this.i.o=t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isModelDirty",{get:function(){return this.i.f},set:function(t){this.i.f=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}(),Z=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new M},Object.defineProperty(t.prototype,"i",{get:function(){return this._implementation},enumerable:!1,configurable:!0}),t.prototype.onImplementationCreated=function(){},t.prototype._provideImplementation=function(t){this._implementation=t,this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()},Object.defineProperty(t.prototype,"model",{get:function(){var t=this.i.a;if(null==t)return null;if(!t.externalObject){var e=new J;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.c},set:function(t){this.i.c=t},enumerable:!1,configurable:!0}),t}(),tt=function(){function t(){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()},t}(),et=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new W},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}(),it=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()},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}(),nt=function(t){function n(){var e=t.call(this)||this;return e._implementation=null,e._disconnected=!1,e._dataSource=null,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._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._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.notifySizeChanged(),e._webComponentRenderer.addSizeWatcher((function(){e.i.notifySizeChanged()})),e}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.createLocalDataSource=function(t){var e=new i.LocalDataSource;return e.dataSource=t,e},n.prototype.onContentSizeChanged=function(){},n.prototype.updateStyle=function(){this._styling(this,this)},n.prototype.destroy=function(){this._implementation.destroy(),this._webComponentRenderer.destroy()},n.prototype.createImplementation=function(){return new X},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-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.i.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,"rowHeight",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("rowHeight",this.i.a7)},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.s?null:this.i.s.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.s=e,this._a("cellTextStyle",null!=this.i.s?this.i.s.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hasUnevenSizes",{get:function(){return this.i.ah},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.cs)},set:function(t){this.i.cs=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.cs))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.k},set:function(t){this.i.k=i.ensureEnum(V,t),this._a("orientation",i.enumToString(V,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isCustomRowHeightEnabled",{get:function(){return this.i.ai},set:function(t){this.i.ai=i.ensureBool(t),this._a("isCustomRowHeightEnabled",this.i.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.cv)},set:function(t){this.i.cv=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.cv))},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("ListPanelComponent");var a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.getLastVisibleIndex=function(){return this.i.a4()},n.prototype.getFirstVisibleIndex=function(){return this.i.a3()},n.prototype.invalidateVisibleItems=function(){this.i.by()},n.prototype.notifySetItem=function(t,e,i){this.i.b4(t,e,i)},n.prototype.notifyClearItems=function(){this.i.b1()},n.prototype.notifyInsertItem=function(t,e){this.i.b2(t,e)},n.prototype.notifyRemoveItem=function(t,e){this.i.b3(t,e)},n.prototype.dataIndexOfItem=function(t){return this.i.a1(t)},n.prototype.dataIndexOfPrimaryKey=function(t){return this.i.a2(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 tt;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 Z;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 et;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 it;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}),n._observedAttributesIgcListPanelComponent=null,n.htmlTagName="igc-list-panel",n._isElementRegistered=!1,n}(i.IgcHTMLElement),rt=function(){function t(){}return t.register=function(){nt.register(),i.TypeRegistrar.registerCons("IgcListPanelComponent",nt),i.TypeRegistrar.registerCons("IgcListPanelComponent",nt),i.TypeRegistrar.register("ListPanel",X.$type)},t}(),ot=new i.Type(null,"INativeUIToolPanelBridge",null,[i.INativeUIElementBridge_$type]),at=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),st=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),ut=i.markEnum("ToolPanelOrientation","Vertical,0|Horizontal,1"),lt=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}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetail"),n}(i.Base),ht=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),ct=function(t){function n(){return t.call(this,lt.$,0)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionEventDetailCollection",i.ObservableCollection$1.$.specialize(lt.$)),n}(i.ObservableCollection$1),pt=function(t){function n(){var e=t.call(this)||this;return e.c=!1,e.a=null,e.b=null,e.b=new ct,e}return e.__extends(n,t),n.$t=i.markType(n,"ToolActionPerformedEventArgs"),n}(i.Base),ft=function(t){function n(e){var r=t.call(this)||this;return r.j=null,r.f=null,r.d=null,r.h=i.DeviceUtils.g(42),r.ab=new i.Thickness(1,20,0,20,0),r.w=i.BrushUtil.h(255,237,239,245),r.x=i.BrushUtil.h(255,0,0,0),r.k="",r.a=n.c(),r.g=NaN,r.propertyChanged=null,r.j=e,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"e",{get:function(){return this.d},set:function(t){this.d=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"i",{get:function(){return this.h},set:function(t){var e=this.h;this.h=t,this.h!=e&&this.u("Height",e,this.h)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ac",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,this.ab!=e&&this.u("Padding",e,this.ab)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"y",{get:function(){return this.w},set:function(t){var e=this.w;this.w=t,this.w!=e&&this.u("Background",e,this.w)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){var e=this.x;this.x=t,this.x!=e&&this.u("TextColor",e,this.x)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"p",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,this.k!=e&&this.u("Text",e,this.k)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,this.a!=e&&this.u("FontInfo",e,this.a)},enumerable:!1,configurable:!0}),n.prototype.t=function(t){var e=this;i.NativeUIComponent.at(this.j,[7,3],(function(i){e.e=i[0],e.e.be=e.ac,e.e.x=e.i,e.e.a4=e.y,e.e.am=e,e.f=i[1],e.f.f=1,e.f.h=1,e.f.bh=!1,e.f.bi=e.p,e.f.a6=e.z,e.f.bg=e.b,e.e.bj(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).n="Verdana",t.d=14,t.q="Normal",t.s="Normal",t.o="Normal",t;var t},n.prototype.s=function(){null!=this.e&&(this.e.be=this.ac,this.e.x=this.i,this.e.a4=this.y),null!=this.f&&(this.f.bi=this.p,this.f.a6=this.z,this.f.bg=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),dt=function(t){return t[t.Vertical=0]="Vertical",t[t.Horizontal=1]="Horizontal",t}({}),bt=i.markEnum("ToolbarOrientation","Vertical,0|Horizontal,1"),yt=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.$t=i.markType(n,"ToolPanelContentRefreshedEventArgs"),n}(i.Base),gt=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.e=function(){i.NativeUIComponent.ap(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 13:this.d(t,i)}},n.prototype.createComponentSync=function(t,e,i){this.createComponent(t,e,i)},n.prototype.supportsComponent=function(t){switch(t){case 13:return!0}return!1},n.prototype.d=function(t,e){var i=t,n=i.createElement("div"),r=i.getSubRenderer(n),o=new Bt;o.provideContainer(r);var a=new mt(o),s=new Ct;s.al=n,s.d=a,e(s)},n.$t=i.markType(n,"NativeUILayoutFactory",i.Base.$,[i.INativeUIElementFactory_$type]),n.a=null,n}(i.Base),mt=function(t){function r(e){var i=t.call(this,e)||this;return i.u=null,i.x=null,i.v=null,i.y=null,i.w=null,i.z=null,i}return e.__extends(r,t),r.prototype.getDesiredSize=function(t,e){return this.t.fl()},r.prototype.addHandler=function(t,e,n,r){var o=t;switch(n){case 10:o.drillDownRequested=i.delegateCombine(o.drillDownRequested,i.runOn(this,this.ab)),this.u=r,this.x=e;break;case 11:o.drillUpRequested=i.delegateCombine(o.drillUpRequested,i.runOn(this,this.ac)),this.v=r,this.y=e;break;case 16:o.onCommand=i.delegateCombine(o.onCommand,i.runOn(this,this.aa)),this.w=r,this.z=e}},r.prototype.removeHandler=function(t,e,n,r){var o=t;switch(n){case 10:o.drillDownRequested=i.delegateRemove(o.drillDownRequested,i.runOn(this,this.ab)),this.u=null,this.x=null;break;case 11:o.drillUpRequested=i.delegateRemove(o.drillUpRequested,i.runOn(this,this.ac)),this.v=null,this.y=null;break;case 16:o.onCommand=i.delegateRemove(o.onCommand,i.runOn(this,this.aa)),this.w=null,this.z=null}},r.prototype.ab=function(t,e){null!=this.u&&this.u(this.x,e)},r.prototype.ac=function(t,e){null!=this.v&&this.v(this.y,e)},r.prototype.aa=function(t,e){null!=this.w&&this.w(this.z,e)},r.prototype.setValue=function(t,e,n){var r=t;switch(e){case 27:r.actions=n;break;case 30:r.o=i.EnumUtil.getEnumValue(ut,n);break;case 28:r.bn=i.typeGetValue(n);break;case 18:r.r=i.EnumUtil.getEnumValue(i.BaseControlTheme_$type,n)}},r.prototype.getValue=function(t,e){var n=t;switch(e){case 27:return n.actions;case 30:return i.enumGetBox(ut,n.o);case 28:return n.bn;case 29:return n.a2;case 18:return i.enumGetBox(i.BaseControlTheme_$type,n.r)}return null},r.prototype.refresh=function(t){t.dx()},r.prototype.notifySizeChanged=function(t,e){t.notifySizeChanged()},r.$t=i.markType(r,"XToolPanelBridge",n.XComponentBridge.$,[ot]),r}(n.XComponentBridge),_t=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).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="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){if(null!=t){this.a.b=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();var e=new Bt,n=this.i.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.i.append(n);var r=this.i.getSubRenderer(n);e.provideContainer(r);this.i.getExternal(e,this.i.rootWrapper,this.i.getExternal(this.a,null,null));this.a.b7(e);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),this.a.ca(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.c8),i.NativeUI.m(e,this.a.cz))}},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.u(),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,"ToolbarView"),n}(i.Base),vt=function(t){function n(){var e,n=t.call(this)||this;return n.s=null,n.r=null,n.c=null,n.n=null,n.q=null,n.g=null,n.p=null,n.d=((e=new i.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),n.ai=new i.Size,n.e=null,n._gridExternal=null,n.h=!1,n.o=null,n}return e.__extends(n,t),n.prototype.v=function(){return this.n},n.prototype.ac=function(){},Object.defineProperty(n.prototype,"t",{get:function(){return this.n.rootWrapper},enumerable:!1,configurable:!0}),n.prototype.aa=function(t){if(null!=t){this.c.a=new i.DOMExecutionContext(t),this.n=t,this.q=this.n.createElement("canvas"),this.g=new i.RenderingContext(new i.CanvasViewRenderer,this.n.get2DCanvasContext(this.q)),this.p=this.n.createElement("div"),this.af();var e=new X,n=this.n.createElement("div");n.setStyleProperty("width","100%"),n.setStyleProperty("height","100%"),this.n.append(n);var r=this.n.getSubRenderer(n);e.provideContainer(r);var o=this.n.getExternal(e,this.n.rootWrapper,this.n.getExternal(this.c,null,null));e.externalListPanel=o,this.c.di(e);Math.round(t.rootWrapper.width()),Math.round(t.rootWrapper.height());this.n.rootWrapper.setStyleProperty("position","relative"),this.n.rootWrapper.setStyleProperty("width","100%"),this.ad()}else this.n=null},n.prototype.af=function(){},n.prototype.y=function(){if(null!=this.n){var t=this.n.rootWrapper.width(),e=this.n.rootWrapper.height();this.ai=new i.Size(1,t,e),this.c.dn(this.ai),this.c.v}},n.prototype.k=function(){return this.n.rootWrapper.getNativeElement().offsetWidth},n.prototype.j=function(){return this.n.rootWrapper.getNativeElement().offsetHeight},n.prototype.ag=function(){var t=this.n;if(null!=t){var e=t.rootWrapper;null!=e&&(i.NativeUI.q(e,this.c.fi),i.NativeUI.m(e,this.c.e8))}},n.prototype.f=function(){return this.d},n.prototype.ab=function(){},n.prototype.ae=function(){},n.prototype.ad=function(){this.c.actions.count>0&&0==this.c.o?this.n.rootWrapper.setStyleProperty("min-width",i.DeviceUtils.g(44)+"px"):this.n.rootWrapper.setStyleProperty("min-width","0px")},n.prototype.z=function(){this.ad()},n.prototype.x=function(){},n.prototype.i=function(){return this.ai.width},n.prototype.l=function(t){return this.e=this.c.u(),i.FontUtil.measureStringWidth(t,this.e,this.g)},n.prototype.m=function(t,e){return i.FontUtil.measureStringWidth(t,e,this.g)},n.prototype.w=function(t,e){null==this.o&&(this.o=this.n.createElement("div")),e(this.o.getNativeElement())},n.prototype.a=function(){var t=new i.Popup;this.n.getExternal(t,this.n.rootWrapper,this.n.getExternal(this.c,null,null));return t},n.prototype.b=function(t){var e=new Bt;this.n.getExternal(e,this.n.rootWrapper,this.n.getExternal(this.c,null,null));return t.al.appendChild(e.p.n.rootWrapper.getNativeElement()),e},n.prototype.ah=function(t){var e=t.getBoundingClientRect(),n=e.left,r=e.top,o=e.width,a=e.height;return new i.Rect(0,n,r,o,a)},n.$t=i.markType(n,"ToolPanelView"),n}(i.Base),Ct=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.bl=null,e.bg=null,e.bh=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,"bp",{get:function(){return this.ae(27)},set:function(t){this.a0(27,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bs",{get:function(){return this.ae(28)},set:function(t){this.a0(28,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"br",{get:function(){return this.ae(29)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bq",{get:function(){return i.EnumUtil.getEnumValue(ut,this.ae(30))},set:function(t){this.a0(30,i.enumGetBox(ut,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b1",{get:function(){return this.ae(33)},set:function(t){this.a0(33,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bw",{get:function(){return this.ae(34)},set:function(t){this.a0(34,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bv",{get:function(){return this.ae(23)},set:function(t){this.a0(23,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"b0",{get:function(){return this.ae(50)},set:function(t){this.a0(50,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bx",{get:function(){return this.ae(51)},set:function(t){this.a0(51,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"by",{get:function(){return this.ae(52)},set:function(t){this.a0(52,t)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bz",{get:function(){return this.ae(53)},set:function(t){this.a0(53,t)},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.an(9,this.bl):this.ay(9,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.bg},set:function(t){var e=this.bg;this.bg=t,null!=this.bg?this.an(10,this.bg):this.ay(10,e)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.bh},set:function(t){var e=this.bh;this.bh=t,null!=this.bh?this.an(11,this.bh):this.ay(11,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.an(16,this.bn):this.ay(16,e)},enumerable:!1,configurable:!0}),n.prototype.bu=function(){this.bk.refresh(this.ak)},n.prototype.bt=function(t){this.bk.notifySizeChanged(this.ak,t)},n.$t=i.markType(n,"NativeUIToolPanel",i.NativeUIComponent.$),n}(i.NativeUIComponent),Pt=function(t){function n(){var e,n=t.call(this)||this;n.j=null,n.a=null,n.d=null,n.e=new Nt,n.a3=NaN,n.bv=null,n.cc=null,n.b9=null,n.c0=null,n.br=null,n.bq=null,n.bm=null,n.k=0,n.az=NaN,n.ar=NaN,n.a0=NaN,n.as=NaN,n.ay=NaN,n.aq=NaN,n.a1=NaN,n.at=NaN,n.eh=null,n.eo=null,n.em=i.BrushUtil.h(0,0,0,0),n.ef=null,n.el=null,n.ek=null,n.er=null,n.eg=null,n.en=null,n.o=null,n.q=null,n.ac=!1,n.bu=null,n.bx=null,n.bw=null,n.a2=30,n.bt=null,n.bs=null,n.av=NaN,n.aw=NaN,n.ax=NaN,n.au=NaN,n.ep=null,n.ei=null,n.eq=null,n.ej=null,n.e4=0,n.ab=!1,n.propertyChanged=null,n.p=((e=new i.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Normal",e.o="Normal",e),n.onCommand=null,n.performed=null,n.x=null,n.w=null,n.u=null,n.z=null,n.aa=null;var r=n.actions;r.collectionChanged=i.delegateCombine(r.collectionChanged,i.runOn(n,n.du));var o=n.actions;return o.collectionResetting=i.delegateCombine(o.collectionResetting,i.runOn(n,n.dv)),n}return e.__extends(n,t),Object.defineProperty(n.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.d1("ExecutionContext",e,this.a)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cw",{get:function(){return null!=this.cy?this.cy:null!=this.de?this.c9(this.de):null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){return this.e},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bl",{get:function(){return this.a3},set:function(t){this.a3=t},enumerable:!1,configurable:!0}),n.prototype.dh=function(){},n.prototype.du=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;h.dh(),h.d=null}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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()){p.value.d=this}}catch(t){a={error:t}}finally{try{p&&!p.done&&(s=c.return)&&s.call(c)}finally{if(a)throw a.error}}},n.prototype.dv=function(t,n){var r,o;try{for(var a=e.__values(i.fromEnum(this.actions)),s=a.next();!s.done;s=a.next()){var u=s.value;u.dh(),u.d=null}}catch(t){r={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},n.prototype.c9=function(t){return i.stringReplace(t," ","_")},n.prototype.g=function(t){var e,i=this;return(e=new lt).g=i.cw,e.a=i.m,e.c=t,e},n.prototype.n=function(){var t,e=this;return(t=new i.ToolCommandArgument).argumentName=e.c7(),t.value=e.bo(),t},n.prototype.c7=function(){return null!=this.ce?this.ce:null!=this.cw?this.cw:"Unknown"},n.prototype.bo=function(){return null!=this.bn?this.bn:this.bp()},n.prototype.bp=function(){return null},Object.defineProperty(n.prototype,"c5",{get:function(){return this.bv},set:function(t){var e=this.bv;this.bv=t,e!=this.bv&&this.d1("ParentId",e,this.bv)},enumerable:!1,configurable:!0}),n.prototype.c8=function(){return null!=this.ch?this.ch:this.cw},Object.defineProperty(n.prototype,"ch",{get:function(){return this.br},set:function(t){var e=this.br;this.br=t,e!=this.br&&this.d1("CommandId",e,this.br)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ce",{get:function(){return this.bq},set:function(t){var e=this.bq;this.bq=t,e!=this.bq&&this.d1("CommandArgument",e,this.bq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bn",{get:function(){return this.bm},set:function(t){var e=this.bm;this.bm=t,e!=this.bm&&this.d1("CommandArgumentValue",e,this.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"l",{get:function(){return this.k},set:function(t){var e=this.k;this.k=t,e!=this.k&&this.d1("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bh",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.d1("PaddingLeft",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a5",{get:function(){return this.ar},set:function(t){var e=this.ar;this.ar=t,e!=this.ar&&this.d1("ActualPaddingLeft",e,this.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bi",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.d1("PaddingRight",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a6",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.d1("ActualPaddingRight",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bg",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.d1("PaddingBottom",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a4",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.d1("ActualPaddingBottom",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bj",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.d1("PaddingTop",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a7",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.d1("ActualPaddingTop",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"eu",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.d1("ActualHoverBackground",e,this.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e0",{get:function(){return this.eo},set:function(t){var e=this.eo;this.eo=t,e!=this.eo&&this.d1("HoverBackground",e,this.eo)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"es",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.d1("ActualBackground",e,this.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ey",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.d1("Background",e,this.el)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ex",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.d1("ActualTextColor",e,this.ek)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e3",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.d1("TextColor",e,this.er)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"et",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.d1("ActualDisabledTextColor",e,this.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ez",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.d1("DisabledTextColor",e,this.en)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"r",{get:function(){return this.o},set:function(t){var e=this.o;this.o=t,e!=this.o&&this.d1("ActualTextStyle",e,this.o)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"t",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.d1("TextStyle",e,this.q)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"aj",{get:function(){return this.ac},set:function(t){var e=this.ac;this.ac=t,e!=this.ac&&this.d1("IsDisabled",e,this.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ai",{get:function(){return null!=this.c5},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cy",{get:function(){return this.bu},set:function(t){var e=this.bu;this.bu=t,e!=this.bu&&this.d1("Name",e,this.bu)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"de",{get:function(){return this.bx},set:function(t){var e=this.bx;this.bx=t,e!=this.bx&&this.d1("Title",e,this.bx)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"da",{get:function(){return this.bw},set:function(t){var e=this.bw;this.bw=t,e!=this.bw&&this.d1("Subtitle",e,this.bw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bk",{get:function(){return this.a2},set:function(t){this.a2=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cp",{get:function(){return this.bt},set:function(t){var e=this.bt;this.bt=t,e!=this.bt&&this.d1("IconName",e,this.bt)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cm",{get:function(){return this.bs},set:function(t){var e=this.bs;this.bs=t,e!=this.bs&&this.d1("IconCollectionName",e,this.bs)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bd",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.d1("IconViewBoxLeft",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"be",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.d1("IconViewBoxTop",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bf",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.d1("IconViewBoxWidth",e,this.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"bc",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.d1("IconViewBoxHeight",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e1",{get:function(){return this.ep},set:function(t){var e=this.ep;this.ep=t,e!=this.ep&&this.d1("IconFill",e,this.ep)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ev",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.d1("ActualIconFill",e,this.ei)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e2",{get:function(){return this.eq},set:function(t){var e=this.eq;this.eq=t,e!=this.eq&&this.d1("IconStroke",e,this.eq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ew",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.d1("ActualIconStroke",e,this.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e5",{get:function(){return this.e4},set:function(t){var e=this.e4;this.e4=t,e!=this.e4&&this.d1("Visibility",i.enumGetBox(i.Visibility_$type,e),i.enumGetBox(i.Visibility_$type,this.e4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"ae",{get:function(){return this.ab},set:function(t){var e=this.ab;this.ab=t,e!=this.ab&&this.d1("CloseOnExecute",e,this.ab)},enumerable:!1,configurable:!0}),n.prototype.get_af=function(){return!0},Object.defineProperty(n.prototype,"af",{get:function(){return this.get_af()},enumerable:!1,configurable:!0}),n.prototype.get_ag=function(){return!0},Object.defineProperty(n.prototype,"ag",{get:function(){return this.get_ag()},enumerable:!1,configurable:!0}),n.prototype.get_al=function(){return!0},Object.defineProperty(n.prototype,"al",{get:function(){return this.get_al()},enumerable:!1,configurable:!0}),n.prototype.get_an=function(){return!0},Object.defineProperty(n.prototype,"an",{get:function(){return this.get_an()},enumerable:!1,configurable:!0}),n.prototype.get_ad=function(){return!0},Object.defineProperty(n.prototype,"ad",{get:function(){return this.get_ad()},enumerable:!1,configurable:!0}),n.prototype.d1=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.d8(t,e,n)},n.prototype.get_m=function(){return 0},Object.defineProperty(n.prototype,"m",{get:function(){return this.get_m()},enumerable:!1,configurable:!0}),n.prototype.d8=function(t,e,i){switch(t){case"Background":case"TextColor":case"TextStyle":this.ed();break;case"ActualBackground":null!=this.y&&(this.y.a4=this.es);break;case"ActualTextColor":null!=this.aa&&(this.aa.a6=this.ex);break;case"ActualTextStyle":null!=this.aa&&(this.aa.bg=this.r);break;case"IsDisabled":null!=this.aa&&(this.aa.a6=this.aj?this.et:this.ex);break;case"ActualIconFill":case"ActualIconStroke":null!=this.z&&(this.z.a7=this.ev,this.z.a8=this.ew);break;case"Visibility":null!=this.j&&this.j.dy();break;case"IconName":case"IconCollectionName":this.d0()}},n.prototype.ak=function(){return null!=this.j&&null!=this.j.bo&&null!==i.typeCast(Et.$,this.j.bo)},n.prototype.ed=function(){null!=this.j&&(this.l=this.j.r,this.es=null!=this.ey?this.ey:this.em,this.ex=null!=this.e3?this.e3:this.j.e5,this.et=null!=this.ez?this.ez:this.j.ew,this.eu=null!=this.e0?this.e0:this.j.e0,this.ev=null!=this.e1?this.e1:this.j.e1,this.ew=null!=this.e2?this.e2:this.j.e2,this.r=null!=this.t?this.t:this.p,this.a5=i.isNaN_(this.bh)?i.DeviceUtils.g(12):this.bh,this.a6=i.isNaN_(this.bi)?i.DeviceUtils.g(12):this.bi,this.a7=i.isNaN_(this.bj)?i.DeviceUtils.g(2):this.bj,this.a4=i.isNaN_(this.bg)?i.DeviceUtils.g(2):this.bg,this.ee())},n.prototype.ee=function(){},n.prototype.d0=function(){null!=this.z&&(this.z.bl=this.cp,this.z.bk=this.cm)},n.prototype.d3=function(t,e,i,n){var r=this;this.ds(i.b,i,n,(function(t){r.di(i.b),r.x=t,r.dr(i.b,r.x,n,(function(){i.b.bo=r.x,r.eb(r.w,r.z,r.aa),r.d5(null==r.w?r.x:r.w,i,n)}))}))},n.prototype.d5=function(t,e,i){},n.prototype.d4=function(t,e,i,n){},n.prototype.dm=function(t,e){this.dn(t,e)},n.prototype.dn=function(t,e){if(e.f=this.a9(t,e),e.h=this.bb(t,e),e.g=this.ba(t,e),e.b=this.a8(t,e),1==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.a5+this.a6,e.e=n}else if(i.isNaN_(this.bl)){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.a5+this.a6,i.isNaN_(e.c)||i.isPositiveInfinity(e.c)||r>e.c?e.e=r:e.e=e.c}else e.e=this.bl},n.prototype.ba=function(t,e){return NaN},n.prototype.bb=function(t,e){if(null==this.de)return NaN;var i=this.s(t);return t.p.m(this.de,i)+this.bk},n.prototype.a9=function(t,e){return i.stringIsNullOrEmpty(this.cp)?NaN:i.DeviceUtils.g(36)},n.prototype.s=function(t){return t.u()},n.prototype.a8=function(t,e){return NaN},n.prototype.d2=function(t,e){if(this.d9(),this.ai){var i=this.j.f(this.c5);null!=i&&i.dx(this,this.ae)}else if(this.j.ab(this)){if(null!=this.performed){var n=new ct;this.dl(this,n,e),this.performed(this,((r=new pt).c=!0,r.b=n,r))}}else null!=this.performed&&this.performed(this,function(){var e=new pt;return e.c=!1,e.a=t,e}());var r},n.prototype.d9=function(){var t=this,e=this.c8();if(null!=e){var n=new i.ToolCommand;n.commandId=e;var r=new i.List$1(i.ToolCommandArgument.$,0);this.dk(this,r),n.argumentsList=r.toArray();var o,a=((o=new at).a=n,o.b=t.ae,o);null!=this.onCommand&&this.onCommand(this,a),null!=this.j&&this.j.dq(this,a)}},n.prototype.ea=function(t){var e,i=this,n=((e=new at).a=t,e.b=i.ae,e);null!=this.onCommand&&this.onCommand(this,n),null!=this.j&&this.j.dq(this,n)},n.prototype.ao=function(){return null!=this.onCommand},n.prototype.dk=function(t,e){var i=t.n();null!=i&&e.add(i);var n=this.j.ag(t);if(null!=n)for(var r=0;r<n.count;r++)n._inner[r].ah()&&this.dk(n._inner[r],e)},n.prototype.ah=function(){return!0},n.prototype.dx=function(t,e){if(this.ai){var i=this.j.f(this.c5);null!=i&&i.dx(t,e)}else this.d2(this.g(!1),t),e&&this.dj()},n.prototype.dl=function(t,e,i){var n=t.g(t==i);e.add(n);var r=this.j.ag(t);if(null!=r)for(var o=0;o<r.count;o++)this.dl(r._inner[o],e,i)},n.c=function(t){var e=null;switch(t.b){case 2:e=new It;break;case 1:e=new St;break;case 3:e=new At;break;case 4:e=new wt;break;case 5:e=new kt;break;case 6:e=new jt;break;case 7:e=new Ot;break;case 8:e=new xt;break;case 9:e=new Tt;break;case 0:return null}return e.dt(t),e},n.prototype.dt=function(t){if(this.cy=t.name,this.de=t.title,this.ce=t.commandArgument,this.bn=t.commandArgumentValue,this.ch=t.commandId,this.cp=t.iconName,this.cm=t.iconCollectionName,this.bd=t.iconViewBoxLeft,this.be=t.iconViewBoxTop,this.bf=t.iconViewBoxWidth,this.bc=t.iconViewBoxHeight,this.bh=t.paddingLeft,this.bi=t.paddingRight,this.bj=t.paddingTop,this.bg=t.paddingBottom,this.c5=t.parentId,this.aj=t.isDisabled,this.ae=t.closeOnExecute,i.stringIsNullOrEmpty(t.textColor)||(this.e3=i.CSSColorUtil.a(t.textColor)),i.stringIsNullOrEmpty(t.disabledTextColor)||(this.ez=i.CSSColorUtil.a(t.disabledTextColor)),null!=t.actions&&t.actions.length>0)for(var e=0;e<t.actions.length;e++)this.actions.add(n.c(t.actions[e]))},n.prototype.am=function(){return null!=this.d&&null!=this.d.d&&this.d.actions._inner[0]==this},n.prototype.ap=function(){return!0},n.prototype.v=function(t){switch(t){case 1:case 6:case 11:case 10:case 2:case 12:case 13:return this.ap()?2:0;default:return 0}},Object.defineProperty(n.prototype,"y",{get:function(){return this.x},enumerable:!1,configurable:!0}),n.prototype.ds=function(t,e,n,r){var o=this;if(null==t.bo||null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m)i.NativeUIComponent.ar(this.j.p.v(),7,(function(t){var i=t;o.dq(i,n),o.ec(i,e,n),null!=r&&r(i)}));else{var a=t.bo;this.ec(a,e,n),null!=r&&r(a)}},n.prototype.dr=function(t,e,n,r){var o=this;if(null==t.bo||null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m){var a=[this.v(1),this.v(7),this.v(11),this.v(3)];i.NativeUIComponent.as(this.j.p.v(),[1,7,11,3],a,(function(t){var e=t[0],i=t[1],a=t[2],s=t[3];o.dp(e,i,a,s,n),null!=r&&r()}))}else this.eb(this.w,this.z,this.aa),null!=r&&r()},n.prototype.dq=function(t,e){t.f=1==e.a?0:3,t.bo=0},n.prototype.ec=function(t,e,i){t.x=e.a.k,t.a4=this.es,t.bf=this.e5},n.prototype.dp=function(t,e,n,r,o){if(0==this.x.bi){this.x.bw(0,2,1),this.x.by(0,2,1),this.x.bj(t),this.x.b3(t,0),this.x.b4(t,0),t.bj=e,e.bo=0;var a=this.a9(this.j,o);a=i.isNaN_(a)?0:a;var s=this.bb(this.j,o);s=i.isNaN_(s)?0:s-this.bk,e.by(0,2,1),e.bw(0,1,a),e.bw(1,1,s),e.bx(2,2,1,this.bk),e.bj(n),e.bj(r),e.b4(r,0),e.b3(n,0),e.b3(r,1)}t.c=this.l,t.bk=1,t.bi=1,t.bu=new i.Thickness(1,0,0,0,0),t.g=3,t.i=3,t.bt=this.eu,t.bq=!0,t.bo=!this.af,t.bl=this.ad,t.bn=!this.ag,t.bp=!0,t.bm=!0,t.bh=i.runOn(this,this.dw),n.h=1,n.f=1,r.bh=!1,r.h=1,r.f=0,this.w=e,this.u=t,this.z=n,this.aa=r},n.prototype.dw=function(t,e){this.dz()},n.prototype.eb=function(t,e,n){null!=t&&(t.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4)),null!=e&&(e.bd=new i.Thickness(1,0,0,9,0),e.bh=this.bd,e.bi=this.be,e.bj=this.bf,e.bg=this.bc,e.bl=this.cp,e.bk=this.cm,e.a7=this.ev,e.a8=this.ew,e.ad=28,e.x=28),null!=n&&(n.bi=this.de,n.bg=this.r,n.a6=this.aj?this.et:this.ex)},n.prototype.di=function(t){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||null!=this.x&&(this.x.bq=null)},n.prototype.dz=function(){},n.prototype.dy=function(t,e){},n.prototype.d6=function(){},n.prototype.dj=function(){},n.prototype.d7=function(t){if(i.stringIsNullOrEmpty(t.de)||(this.de=t.de),i.stringIsNullOrEmpty(t.da)||(this.da=t.da),i.stringIsNullOrEmpty(t.cp)||(this.cp=t.cp),i.stringIsNullOrEmpty(t.cm)||(this.cm=t.cm),i.stringIsNullOrEmpty(t.ch)||(this.ch=t.ch),i.stringIsNullOrEmpty(t.ce)||(this.ce=t.ce),null!=t.bn&&(this.bn=t.bn),null!=t.ey&&(this.ey=t.ey),null!=t.e0&&(this.e0=t.e0),null!=t.e3&&(this.e3=t.e3),null!=t.t&&(this.t=t.t),null!=t.ez&&(this.ez=t.ez),null!=t.e1&&(this.e1=t.e1),null!=t.e2&&(this.e2=t.e2),i.isNaN_(t.bh)||(this.bh=t.bh),i.isNaN_(t.bj)||(this.bj=t.bj),i.isNaN_(t.bi)||(this.bi=t.bi),i.isNaN_(t.bg)||(this.bg=t.bg),i.isNaN_(t.bl)||(this.bl=t.bl),this.e5!=t.e5&&(this.e5=t.e5),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.$t=i.markType(n,"ToolAction",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),Tt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e}return e.__extends(n,t),n.prototype.get_m=function(){return 9},n.prototype.n=function(){return null},n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,e},n.prototype.bb=function(t,e){return NaN},n.prototype.ba=function(t,e){return 88},n.prototype.e8=function(t,e,n,r,o,a,s){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||(t.bo=e,1==s.a?e.f=0:e.f=3,e.by(0,2,1),e.bw(0,0,1),e.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),0==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,0),this.e6=n,this.e6.bk=2,this.e6.bh=i.runOn(this,this.e7)),n.bs=this.de,e.x=a.a.k},n.prototype.e7=function(t,e){this.d2(this.g(!0),this)},n.prototype.d4=function(e,n,r,o){var a=this;t.prototype.d4.call(this,e,n,r,o);var s=r.b;if(null==s.bo||null==s.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,s.am)!=this.m){var u=[0,0];this.l>=3&&this.l<=6&&(u=[0,2]),i.NativeUIComponent.as(n.p.v(),[7,1],u,(function(t){var i=t[0],u=t[1];s.bo=i,a.e8(s,i,u,e,n,r,o)})),s.am=i.enumGetBox(i.ToolActionType_$type,this.m)}else{var l=s.bo,h=l.bh(0);this.e8(s,l,h,e,n,r,o)}},n.$t=i.markType(n,"ToolActionButton",Pt.$),n}(Pt),wt=function(t){function n(){var e=t.call(this)||this;return e.e6=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarDrillDownIcon")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarDrillDownIcon",n.e7),e}return e.__extends(n,t),n.prototype.get_af=function(){return this.ao()||this.actions.count>0},n.prototype.get_m=function(){return 4},n.prototype.ba=function(e,n){return this.actions.count>0?i.DeviceUtils.g(32):t.prototype.ba.call(this,e,n)},n.prototype.e8=function(t,e,n,r){if((null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m)&&2==e.bi){var o=this.ba(this.j,r);e.bw(3,1,i.isNaN_(o)?0:o),e.bj(n),e.b3(n,3),e.b4(n,0),n.bl="ToolbarDrillDownIcon",n.bk="IG_Default",n.f=1,n.h=1}n.a7=this.ex},n.prototype.dz=function(){this.actions.count>0?this.j.dz(this):this.d2(this.g(!1),this)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m?(this.actions.count>0&&i.NativeUIComponent.aq(this.j.p.v(),11,this.ap()?2:0,(function(e){r.e6=e,r.e8(o,t,r.e6,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m)):this.actions.count>0&&(this.e6=t.bh(2),this.e8(o,t,this.e6,n))},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"ActualTextColor":null!=this.e6&&(this.e6.a6=this.ex)}},n.$t=i.markType(n,"ToolActionLabel",Pt.$),n.e7="M 7.42 8.58 L 12 13.17 L 7.42 17.76 L 8.83 19.17 l 6 -6 l -6 -6 z",n}(Pt),jt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e.e9="channel_1",e.e7=!1,e}return e.__extends(n,t),n.prototype.get_m=function(){return 6},Object.defineProperty(n.prototype,"fa",{get:function(){return this.e9},set:function(t){this.e9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e8",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d1("IsChecked",e,this.e7)},enumerable:!1,configurable:!0}),n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,null!=this.e6&&(e.b=this.e6.bj),e},n.prototype.bp=function(){return this.e6.bj},n.prototype.fc=function(){null!=this.e6&&(this.e6.bj=!1,this.e7=this.e6.bj)},n.prototype.ba=function(t,e){return 30},n.prototype.ee=function(){null!=this.e6&&(this.e6.c=this.l)},n.prototype.dz=function(){this.e6.bj=!0,this.e7=this.e6.bj,this.d2(this.g(!0),this)},n.prototype.fd=function(t,e){this.e7?this.e6.bj=!0:(this.e7=this.e6.bj,this.d2(this.g(!0),this))},n.prototype.fe=function(t,e,n,r,o){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||(e.bw(3,1,this.ba(this.j,o)),2==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,3),this.e6=n,n.bi=!0,n.f=1,n.h=1,n.bk=i.DeviceUtils.g(10),n.ad=i.DeviceUtils.g(20),n.x=i.DeviceUtils.g(20),n.bh=i.runOn(this,this.fd),t.am=i.enumGetBox(i.ToolActionType_$type,this.m)),this.e6.bj=this.e7,this.e6.c=this.l},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.aq(this.j.p.v(),6,this.v(6),(function(i){var a=i;r.fe(o,t,a,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(2);this.fe(o,t,a,e,n)}},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"IsChecked":null!=this.e6&&(this.e6.bj=this.e8)}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e8=i.isChecked,this.fa=i.channel},n.$t=i.markType(n,"ToolActionRadio",Pt.$),n}(Pt),Ot=function(t){function n(){var e=t.call(this)||this;return e.e8=i.DeviceUtils.g(2),e.e6=!1,e}return e.__extends(n,t),Object.defineProperty(n.prototype,"e9",{get:function(){return this.e8},set:function(t){var e=this.e8;this.e8=t,e!=this.e8&&this.d1("Size",e,this.e8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"e7",{get:function(){return this.e6},set:function(t){var e=this.e6;this.e6=t,e!=this.e6&&this.d1("IsGroupHeaderSeparator",e,this.e6)},enumerable:!1,configurable:!0}),n.prototype.get_m=function(){return 7},n.prototype.dn=function(e,i){t.prototype.dn.call(this,e,i),1==i.a?i.e=this.a5+this.e9+this.a6:i.d=this.a7+this.e9+this.a4},n.prototype.dr=function(t,e,i,n){null!=n&&n()},n.prototype.dq=function(t,e){1==e.a?(t.f=0,t.h=3):t.f=3},n.prototype.ec=function(t,e,n){1==n.a?t.ad=this.e9:t.x=this.e9,t.bd=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),t.a4=this.es,t.bf=this.e5},n.prototype.ee=function(){t.prototype.ee.call(this),this.es=null!=this.ey?this.ey:this.e7?this.j.ey:this.j.e3,1==this.j.o?(this.a5=i.isNaN_(this.bh)?this.j.a4:this.bh,this.a6=i.isNaN_(this.bi)?this.j.a5:this.bi,this.a7=i.isNaN_(this.bj)?this.j.a6:this.bj,this.a4=i.isNaN_(this.bg)?this.j.a3:this.bg):(null==this.d&&this.ak()?(this.a5=i.isNaN_(this.bh)?i.DeviceUtils.g(10):this.bh,this.a6=i.isNaN_(this.bi)?i.DeviceUtils.g(10):this.bi):(this.a5=i.isNaN_(this.bh)?this.j.a8:this.bh,this.a6=i.isNaN_(this.bi)?this.j.a9:this.bi),this.a7=i.isNaN_(this.bj)?this.j.ba:this.bj,this.a4=i.isNaN_(this.bg)?this.j.a7:this.bg)},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"Size":null!=this.j&&this.j.dy();break;case"IsGroupHeaderSeparator":this.ed()}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e9=i.size,this.e7=i.isGroupHeaderSeparator},n.$t=i.markType(n,"ToolActionSeparator",Pt.$),n}(Pt),At=function(t){function n(){var e=t.call(this)||this;return e.fb=null,e.e7=null,e.e6=null,e.fl=-1,e.fm=-1,e.fh=!1,e.fe=!1,e.fd=!1,e.fg=!1,e.fn=500,e.fi=!1,e.e8=null,e.fa=null,e.e9=null,e.ff=!1,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","igDropDownArrow")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","igDropDownArrow","M0,0L3,3L6,0"),e.e6=new i.DelayManager(0),e}return e.__extends(n,t),n.prototype.get_m=function(){return 3},n.prototype.get_an=function(){return!1},Object.defineProperty(n.prototype,"fc",{get:function(){return this.fb},enumerable:!1,configurable:!0}),n.prototype.get_fk=function(){return null!=this.e7},Object.defineProperty(n.prototype,"fk",{get:function(){return this.get_fk()},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fj",{get:function(){return this.fg},set:function(t){this.fg=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fo",{get:function(){return this.fn},set:function(t){this.fn=t},enumerable:!1,configurable:!0}),n.prototype.dh=function(){t.prototype.dh.call(this),i.NativeUIWindow.h(14,i.runOn(this,this.f4)),this.fd=!1},n.prototype.n=function(){return null},n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,e},n.prototype.a9=function(t,e){return i.DeviceUtils.g(36)},n.prototype.bb=function(t,e){return NaN},n.prototype.dr=function(t,e,i,n){null!=n&&n()},n.prototype.di=function(e){t.prototype.di.call(this,e)},n.prototype.f6=function(t,e,n,r,o){var a=n.bj;o&&(e.b1(2),e.b1(1),0==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,0),n.c=this.l,n.bk=2,n.bi=4,n.bp=!0,a.ad=i.DeviceUtils.g(28),a.x=i.DeviceUtils.g(28)),e.br=!1,e.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),a.bl=this.cp,a.bk=this.cm,a.bh=this.bd,a.bi=this.be,a.bj=this.bf,a.bg=this.bc,a.a7=this.ex,a.a8=this.ex,this.e8!=n&&(n.bh=i.runOn(this,this.fv),n.q=i.runOn(this,this.fx),n.s=i.runOn(this,this.fy),n.o=i.runOn(this,this.fw),this.e8=n),this.fa!=a&&(this.fa=a)},n.prototype.f7=function(t,e){this.fb!=e&&(this.fb=e,this.fb.b1=this.j.bb,this.fb.b9=i.BrushUtil.h(255,255,255,255),this.fb.bo=1,this.fb.bx=!0,this.fb.b3=100,this.fb.bv=!0,this.fb.b4=i.truncate(this.j.bc),this.fb.by=!0,2!=t.bi&&t.bj(this.fb),this.fq(),this.fb.q=i.runOn(this,this.f2),this.fb.s=i.runOn(this,this.f3),this.fb.n=i.runOn(this,this.f0),this.fb.o=i.runOn(this,this.f1),this.fd||(i.NativeUIWindow.g(14,i.runOn(this,this.f4)),this.fd=!0)),this.actions.count>0?this.fb.u=!0:this.fb.u=!1},n.prototype.fq=function(){var t=this;0==this.fb.bi?(this.e7=new ft(this.j.p.v()),this.e7.t((function(){return t.fb.bj(t.e7.e)}))):this.e7=this.fb.bh(0).am,this.e7.y=this.j.e6,this.e7.z=this.j.e7,this.e7.p=this.de,this.fb.ca=this.e7.y},n.prototype.fs=function(){},n.prototype.fr=function(){},n.prototype.ft=function(){null!=this.e7&&(this.fb.ca=this.j.e6,this.e7.y=this.j.e6,this.e7.z=this.j.e7,this.fb.b1=this.j.bb,this.fb.b4=i.truncate(this.j.bc))},n.prototype.f8=function(){return null!=this.e7?this.e7.aa():i.Size.empty},n.prototype.f4=function(){if(null!=this.e8){var t=this.e8.ba();this.fb.b7(t)}},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.as(this.j.p.v(),[10,12],[this.v(10),this.v(12)],(function(e){r.f6(o,t,e[0],n,!0),r.f7(t,e[1])})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(0),s=t.bh(1);this.f6(o,t,a,n,!1),this.f7(t,s)}},n.prototype.ee=function(){t.prototype.ee.call(this),this.a5=i.isNaN_(this.bh)?i.DeviceUtils.g(4):this.bh,this.a6=i.isNaN_(this.bi)?i.DeviceUtils.g(4):this.bi,null!=this.e8&&(this.e8.c=this.l,null!==i.typeCast(i.NativeUIIconButton.$,this.e8)&&(this.e8.a7=this.ex,this.e8.a8=this.ex)),null!=this.fa&&(this.fa.a7=this.ex,this.fa.a8=this.ex),null!=this.e9&&(this.e9.a8=this.ex),this.ft()},n.prototype.d0=function(){null!=this.fa&&(this.fa.bl=this.cp,this.fa.bk=this.cm)},n.prototype.d6=function(){this.actions.count>0&&(null!=this.fb&&this.fk?(this.f5(),this.fh=!0):this.fg=!0)},n.prototype.dj=function(){this.actions.count>0&&(null!=this.fb&&this.fk?this.fp():this.fg=!1)},n.prototype.f5=function(t){if(void 0===t&&(t=!1),!this.fi){if(this.j.dd(),0==this.actions.count&&i.stringIsNullOrEmpty(this.de))return;var e=this.e8.ba(),n=new i.Rect(0,e.left,e.top,e.width,e.height);if(n.top=e.top+window.scrollY,n.left=e.left+window.scrollX,1==this.j.o){var r=i.NativeUIWindow.d(this.j.p.n),o=this.f8();o.height+=this.fb.b2,e.bottom+o.height>r?e.top-o.height<0?this.fb.b8(n,1,3):this.fb.b8(n,2,3):this.fb.b8(n,1,3)}else{var a=i.NativeUIWindow.f(this.j.p.n),s=this.f8();s.width+=this.fb.b2,e.right+s.width>a?e.left-s.width<0?this.fb.b8(n,4,3):this.fb.b8(n,3,3):this.fb.b8(n,4,3)}this.fi=!0,this.fs()}this.fh=t,this.fg=!1},n.prototype.fp=function(){var t=this;this.fi&&(this.fb.b5(),this.fi=!1,this.e6.f((function(){return t.fr()}),100),this.fh=!1)},n.prototype.fz=function(){this.f5(),this.fm=-1},n.prototype.fu=function(){this.fp(),this.fl=-1},n.prototype.fx=function(t,e){if(this.fe=!0,-1!=this.fl&&(this.e6.g(this.fl),this.fl=-1),!this.fi){if(this.actions.count>0&&!this.j.ac)return;this.fm=this.e6.f(i.runOn(this,this.fz),this.fo)}},n.prototype.fy=function(t,e){-1!=this.fm&&(this.e6.g(this.fm),this.fm=-1),this.fi&&!this.fh&&(this.fl=this.e6.f(i.runOn(this,this.fu),50)),this.fe=!1},n.prototype.fv=function(t,e){this.actions.count>0?this.fi?this.fp():(-1!=this.fm&&(this.e6.g(this.fm),this.fm=-1),this.f5(),this.fh=!0):this.d2(this.g(!0),this)},n.prototype.f2=function(t,e){this.ff=!0,-1!=this.fl&&(this.e6.g(this.fl),this.fl=-1)},n.prototype.f3=function(t,e){this.fh||(this.fl=this.e6.f(i.runOn(this,this.fu),50)),this.ff=!1},n.prototype.f0=function(t,e){this.fh=!0},n.prototype.f1=function(t,e){this.fb.t(e.a)||this.e8.t(e.a)||this.fp()},n.prototype.fw=function(t,e){this.fi&&(this.fb.t(e.a)||this.e8.t(e.a)||this.fp())},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"ExecutionContext":this.e6.b=this.b;break;case"Title":null!=this.e7&&(this.e7.p=this.de)}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.fo=i.tooltipDelay,i.isMenuOpenOnStart&&this.d6()},n.$t=i.markType(n,"ToolActionIconButton",Pt.$),n}(Pt),St=function(t){function n(){var e,r=t.call(this)||this;return r.e6=((e=new i.FontInfo).n="Verdana",e.d=13,e.q="Normal",e.s="Bold",e.o="Normal",e),r.e7=null,r.fd=null,r.fe=null,null==i.SvgIconRegistry.instance.getSvgPathString("IG_Default","ToolbarBackButton")&&i.SvgIconRegistry.instance.addSvgPathString("IG_Default","ToolbarBackButton",n.e9),r}return e.__extends(n,t),n.prototype.get_m=function(){return 1},n.prototype.get_af=function(){return!1},n.prototype.get_ag=function(){return!1},n.prototype.get_al=function(){return!1},Object.defineProperty(n.prototype,"ff",{get:function(){return this.fd},set:function(t){var e=this.fd;this.fd=t,e!=this.fd&&this.d1("ActualBackIconColor",e,this.fd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"fg",{get:function(){return this.fe},set:function(t){var e=this.fe;this.fe=t,e!=this.fe&&this.d1("BackIconColor",e,this.fe)},enumerable:!1,configurable:!0}),n.prototype.s=function(t){return this.e6},n.prototype.a8=function(t,e){return this.am()?i.DeviceUtils.g(36):NaN},n.prototype.fc=function(t,e,n,r){var o=n.bj;null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||2==e.bi&&(e.bj(n),e.bz(0,1,this.a8(this.j,r)),e.b3(e.bh(0),1),e.b3(e.bh(1),2),e.b3(n,0),e.b4(n,0),n.c=this.l,n.h=1,n.f=1,n.bd=new i.Thickness(1,-9,0,9,0),n.bh=i.runOn(this,this.fb),this.e7=n,o.bl="ToolbarBackButton",o.bk="IG_Default"),o.a7=this.ff},n.prototype.fb=function(t,e){this.j.d0(this)},n.prototype.di=function(e){t.prototype.di.call(this,e),null!=e.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,e.am)==this.m||this.am()&&null!=this.e7&&(this.e7.bh=null)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)this.am()&&i.NativeUIComponent.aq(this.j.p.v(),10,this.ap()?2:0,(function(e){return r.fc(o,t,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else if(this.am()){var a=t.bh(2);this.fc(o,t,a,n)}},n.prototype.ee=function(){t.prototype.ee.call(this),null!=this.e7&&(this.e7.c=this.l),this.es=null!=this.ey?this.ey:this.j.ex,this.ex=null!=this.e3?this.e3:this.j.ez,this.ff=null!=this.fg?this.fg:this.ex,this.r=null!=this.t?this.t:this.e6},n.$t=i.markType(n,"ToolActionGroupHeader",Pt.$),n.e9="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",n}(Pt),xt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.f9=null,e}return e.__extends(n,t),n.prototype.get_m=function(){return 8},n.prototype.get_fk=function(){return null!=this.f9},n.prototype.fq=function(){var t=this;if(this.fc.bi>0)for(;this.fc.bi>0;)this.fc.bm(0);null!=this.f9&&(this.f9.s=null),this.f9=new $t(this.j.p.v(),this.b),this.f9.n=this.l,this.f9.ai((function(){t.f9.ae(t,(function(e){t.f9.aj(e),null==t.actions._inner[0].es||i.BrushUtilCore.a(t.actions._inner[0].es)?t.fc.ca=t.j.e4:t.fc.ca=t.actions._inner[0].es,t.fj&&t.b.executeDelayed((function(){return t.f5(!0)}),100)})),t.f9.r.a3=new i.CornerRadius(0,8),t.f9.r.a4=t.j.e4,t.fc.bj(t.f9.r)})),this.f9.s=i.runOn(this,this.ga)},n.prototype.fs=function(){null!=this.f9&&this.f9.am()},n.prototype.fr=function(){null!=this.f9&&(this.f9.aw(),this.fc.b6())},n.prototype.ft=function(){null!=this.f9&&(this.f9.ax(this.l,this.j),null==this.actions._inner[0].es||i.BrushUtilCore.a(this.actions._inner[0].es)?this.fc.ca=this.j.e4:this.fc.ca=this.actions._inner[0].es,this.fc.b1=8,this.fc.b4=4)},n.prototype.f8=function(){return this.f9.a2()},n.prototype.gb=function(t,e,n,r,o,a,s){s&&(t.b1(2),t.b1(1),0==t.bi&&(n.bw(0,1,i.DeviceUtils.g(28)),n.bw(1,1,i.DeviceUtils.g(6)),n.bj(r),n.bj(o),n.b3(r,0),n.b3(o,1),e.bj=n,t.bj(e)),t.b4(e,0),t.b3(e,0),e.c=this.l,e.bk=2,e.bi=4,e.bp=!0,r.ad=i.DeviceUtils.g(28),r.x=i.DeviceUtils.g(28),r.h=1,o.ad=i.DeviceUtils.g(6),o.x=i.DeviceUtils.g(3),o.h=1,o.bd=new i.Thickness(1,-4,0,0,0),o.bl="igDropDownArrow",o.bk="IG_Default",o.bh=0,o.bi=0,o.bj=6,o.bg=3,o.a7=i.BrushUtil.h(0,0,0,0),o.ab=i.DeviceUtils.g(1)),t.br=!1,t.be=new i.Thickness(1,this.a5,this.a7,this.a6,this.a4),r.bl=this.cp,r.bk=this.cm,r.bh=this.bd,r.bi=this.be,r.bj=this.bf,r.bg=this.bc,r.a7=this.ex,r.a8=this.ex,o.a8=this.ex,this.e8!=e&&(e.bh=i.runOn(this,this.fv),e.q=i.runOn(this,this.fx),e.s=i.runOn(this,this.fy),e.o=i.runOn(this,this.fw),this.e8=e),this.fa!=r&&(this.fa=r),this.e9!=o&&(this.e9=o)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m){var a=[this.v(1),this.v(7),this.v(11),this.v(11),this.v(12)];i.NativeUIComponent.as(this.j.p.v(),[1,7,11,11,12],a,(function(e){r.gb(t,e[0],e[1],e[2],e[3],n,!0),r.f7(t,e[4])})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m)}else{var s=t.bh(0),u=s.bj,l=u.bh(0),h=u.bh(1),c=t.bh(1);this.gb(t,s,u,l,h,n,!1),this.f7(t,c)}},n.prototype.ga=function(t){this.ea(t.a),t.b&&this.dj()},n.$t=i.markType(n,"ToolActionIconMenu",At.$),n}(At),It=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e.e7=!1,e}return e.__extends(n,t),n.prototype.get_m=function(){return 2},n.prototype.get_ad=function(){return!1},Object.defineProperty(n.prototype,"e8",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d1("IsChecked",e,this.e7)},enumerable:!1,configurable:!0}),n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,null!=this.e6&&(e.b=this.e6.bj),e},n.prototype.bp=function(){return this.e6.bj},n.prototype.ba=function(t,e){return i.DeviceUtils.g(32)},n.prototype.di=function(e){t.prototype.di.call(this,e),null!=e.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,e.am)==this.m||null!=this.e6&&(this.e6.bh=null)},n.prototype.dz=function(){this.e6.bj=!this.e6.bj,this.e7=this.e6.bj,this.d2(this.g(!0),this)},n.prototype.fb=function(t,e,n,r,o){null!=t.am&&i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)==this.m||(e.bw(3,1,this.ba(this.j,o)),2==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,3),this.e6=n,n.bi=!0,n.f=1,n.h=1,n.ad=i.DeviceUtils.g(20),n.x=i.DeviceUtils.g(20),n.bh=i.runOn(this,this.fa)),this.e6.bj=this.e7,this.e6.c=this.l},n.prototype.fa=function(t,e){this.e7=this.e6.bj,this.d2(this.g(!0),this)},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.aq(this.j.p.v(),6,this.v(6),(function(i){var a=i;r.fb(o,t,a,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(2);this.fb(o,t,a,e,n)}},n.prototype.ee=function(){null!=this.e6&&(this.e6.c=this.l)},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"IsChecked":null!=this.e6&&(this.e6.bj=this.e7)}},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e8=i.isChecked},n.$t=i.markType(n,"ToolActionCheckbox",Pt.$),n}(Pt),kt=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.e6=null,e.e7=0,e}return e.__extends(n,t),n.prototype.get_m=function(){return 5},Object.defineProperty(n.prototype,"e9",{get:function(){return this.e7},set:function(t){var e=this.e7;this.e7=t,e!=this.e7&&this.d1("Value",e,this.e7)},enumerable:!1,configurable:!0}),n.prototype.bp=function(){return this.e8()},n.prototype.ba=function(t,e){return i.DeviceUtils.g(70)},n.prototype.e8=function(){var t,e,n=this;return t=NaN,null!=this.e6&&(e=i.tryParseNumber(n.e6.bq,t),t=e.p1,e.ret),t},n.prototype.g=function(t){var e=new lt;return e.g=this.cw,e.a=this.m,e.c=t,e.e=this.e8(),e},n.prototype.fb=function(t,e){this.e9=this.e8();var i=this.g(!0);this.d2(i,this)},n.prototype.fc=function(t,e,n,r,o){if(null==t.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,t.am)!=this.m){var a=this.ba(this.j,o);e.bw(3,1,a),2==e.bi&&e.bj(n),e.b4(n,0),e.b3(n,3),this.e6=n,n.ad=a,n.bj=2,n.bm=1,n.f=2,n.h=1,n.bn=1,n.bi=2,n.bp=!1,n.bl=i.runOn(this,this.fb)}n.c=this.l,n.bt=this.aj?this.et:this.ex,n.bg=this.r,n.bo=this.aj,i.isNaN_(this.e9)||(n.bq=this.e9.toString())},n.prototype.d5=function(t,e,n){var r=this,o=e.b;if(null==o.bo||null==o.am||i.EnumUtil.getEnumValue(i.ToolActionType_$type,o.am)!=this.m)i.NativeUIComponent.aq(this.j.p.v(),2,this.v(2),(function(i){var a=i;r.fc(o,t,a,e,n)})),o.am=i.enumGetBox(i.ToolActionType_$type,this.m);else{var a=t.bh(2);this.fc(o,t,a,e,n)}},n.prototype.ee=function(){null!=this.e6&&(this.e6.c=this.l)},n.prototype.d8=function(e,i,n){switch(t.prototype.d8.call(this,e,i,n),e){case"IsDisabled":null!=this.e6&&(this.e6.bo=this.aj,this.e6.bt=this.aj?this.et:this.ex)}},n.prototype.dz=function(){null==this.e6||this.aj||this.e6.aw()},n.prototype.dt=function(e){t.prototype.dt.call(this,e);var i=e;this.e9=i.value},n.$t=i.markType(n,"ToolActionNumberInput",Pt.$),n}(Pt),Nt=function(t){function n(){var e=t.call(this,Pt.$,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(Pt.$)),n}(i.ObservableCollection$1),Et=function(t){function r(){var e=t.call(this)||this;e.l=null,e.x=!1,e.v=null,e.o=null,e.m=null,e.p=0,e.e=new Nt,e.c=new Nt,e.d=new Nt,e.i=r.j,e.r=null,e.ay=r.az,e.cn=null,e.cv=null,e.cp=null,e.cu=null,e.cr=null,e.cw=null,e.co=null,e.cq=null,e.cy=null,e.cx=null,e.am=NaN,e.an=NaN,e.cs=null,e.ct=null,e.s=null,e.aj=NaN,e.ak=NaN,e.al=NaN,e.ai=NaN,e.af=NaN,e.ag=NaN,e.ah=NaN,e.ae=NaN,e.aa=!0,e.z=!1,e.y=!1,e.propertyChanged=null,e.a=null,e.onCommand=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.bz));var a=e.actualActions;a.collectionChanged=i.delegateCombine(a.collectionChanged,i.runOn(e,e.b1));var s=e.actualActions;s.collectionResetting=i.delegateCombine(s.collectionResetting,i.runOn(e,e.b2)),i.NativeUIInputsFactory.n(),n.NativeUIXInputsFactory.j();var u=new _t;return u.a=e,e.l=u,e.l.v(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"w",{get:function(){return null==this.v&&(this.v=new i.SRProvider(this.l.i),this.v.cb("Layouts")),this.v},enumerable:!1,configurable:!0}),r.prototype.b7=function(t){this.o=t,this.o.bo=this,this.o.r=0==this.p?1:this.p;var e=this.o;e.onCommand=i.delegateCombine(e.onCommand,i.runOn(this,this.by)),this.o.o=this.k,this.o.ac=this.ad,this.o.fi=this.c8,this.o.e9=this.c0,this.o.e8=this.cz,this.o.fh=this.c7,this.o.fa=this.c1,this.o.fc=this.c2,this.o.fg=this.c6,this.o.fd=this.c3,this.o.fk=this.da,this.o.fj=this.c9,this.o.bl=this.aw,this.o.bm=this.ax,this.o.fe=this.c4,this.o.ff=this.c5,this.o.be=this.ap,this.o.bf=this.aq,this.o.bg=this.ar,this.o.bd=this.ao,this.o.bi=this.at,this.o.bj=this.au,this.o.bk=this.av,this.o.bh=this.as},r.prototype.by=function(t,e){var i=!1;null!=this.r&&2==this.r.onToolCommandExecuting(e.a)&&(i=!0,this.m=e),null==this.onCommand||i||this.onCommand(this,e)},r.prototype.ce=function(t){null!=this.onCommand&&(this.onCommand(this,this.m),this.m=null)},r.prototype.cc=function(){var t=this.target;this.cd(t,t)},r.prototype.ca=function(t){this.o.notifySizeChanged()},Object.defineProperty(r.prototype,"q",{get:function(){return this.p},set:function(t){var e=this.p;this.p=t,e!=this.p&&this.cb("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"autoGeneratedActions",{get:function(){return this.e},set:function(t){var e=this.e;this.e=t,e!=this.e&&this.cb("AutoGeneratedActions",e,this.e)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actions",{get:function(){return this.c},set:function(t){var e=this.c;this.c=t,e!=this.c&&this.cb("Actions",e,this.c)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"actualActions",{get:function(){return this.d},set:function(t){var e=this.d;this.d=t,e!=this.d&&this.cb("ActualActions",e,this.d)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"k",{get:function(){return this.i},set:function(t){var e=this.i;this.i=t,e!=this.i&&this.cb("Orientation",i.enumGetBox(bt,e),i.enumGetBox(bt,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"target",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.cb("Target",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"cz",{get:function(){return this.cn},set:function(t){var e=this.cn;this.cn=t,e!=this.cn&&this.cb("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c7",{get:function(){return this.cv},set:function(t){var e=this.cv;this.cv=t,e!=this.cv&&this.cb("SubmenuBackgroundColor",e,this.cv)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c1",{get:function(){return this.cp},set:function(t){var e=this.cp;this.cp=t,e!=this.cp&&this.cb("GroupHeaderBackgroundColorPropertyName",e,this.cp)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c6",{get:function(){return this.cu},set:function(t){var e=this.cu;this.cu=t,e!=this.cu&&this.cb("SeparatorBackgroundColor",e,this.cu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c3",{get:function(){return this.cr},set:function(t){var e=this.cr;this.cr=t,e!=this.cr&&this.cb("HoverBackgroundColor",e,this.cr)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c8",{get:function(){return this.cw},set:function(t){var e=this.cw;this.cw=t,e!=this.cw&&this.cb("TextColor",e,this.cw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c0",{get:function(){return this.co},set:function(t){var e=this.co;this.co=t,e!=this.co&&this.cb("DisabledTextColor",e,this.co)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c2",{get:function(){return this.cq},set:function(t){var e=this.cq;this.cq=t,e!=this.cq&&this.cb("GroupHeaderTextColor",e,this.cq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"da",{get:function(){return this.cy},set:function(t){var e=this.cy;this.cy=t,e!=this.cy&&this.cb("ToolTipTextColor",e,this.cy)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c9",{get:function(){return this.cx},set:function(t){var e=this.cx;this.cx=t,e!=this.cx&&this.cb("ToolTipBackgroundColor",e,this.cx)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aw",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.cb("ToolTipCornerRadius",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ax",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.cb("ToolTipElevation",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c4",{get:function(){return this.cs},set:function(t){var e=this.cs;this.cs=t,e!=this.cs&&this.cb("IconFill",e,this.cs)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"c5",{get:function(){return this.ct},set:function(t){var e=this.ct;this.ct=t,e!=this.ct&&this.cb("IconStroke",e,this.ct)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.cb("CellTextStyle",e,this.s)},enumerable:!1,configurable:!0}),r.prototype.u=function(){return null==this.t?this.l.d():this.t},Object.defineProperty(r.prototype,"at",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.cb("SeparatorVerticalPaddingLeft",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"au",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.cb("SeparatorVerticalPaddingRight",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"av",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.cb("SeparatorVerticalPaddingTop",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"as",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.cb("SeparatorVerticalPaddingBottom",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ap",{get:function(){return this.af},set:function(t){var e=this.af;this.af=t,e!=this.af&&this.cb("SeparatorHorizontalPaddingLeft",e,this.af)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"aq",{get:function(){return this.ag},set:function(t){var e=this.ag;this.ag=t,e!=this.ag&&this.cb("SeparatorHorizontalPaddingRight",e,this.ag)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ar",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.cb("SeparatorHorizontalPaddingTop",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ao",{get:function(){return this.ae},set:function(t){var e=this.ae;this.ae=t,e!=this.ae&&this.cb("SeparatorHorizontalPaddingBottom",e,this.ae)},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.cb("ShowOnHover",e,this.aa)},enumerable:!1,configurable:!0}),r.prototype.bz=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,h)){var c=h;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.b0))}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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.b0))}}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}this.b9()},r.prototype.b1=function(t,e){this.cm()},r.prototype.b2=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.b0))}this.actualActions._inner[n].b=null}},r.prototype.cm=function(){var t=0==this.q?1:this.q;null!=this.o&&(this.o.r=t);for(var e=0;e<this.actualActions.count;e++)this.actualActions._inner[e].l=t},r.prototype.b0=function(t,e){},r.prototype.b9=function(){this.ch()},r.prototype.ch=function(){this.y||(null!=this.b?(this.y=!0,this.b.enqueueAction(i.runOn(this,this.b5))):this.z=!0)},r.prototype.b5=function(){this.y&&(this.y=!1,this.ci(),this.o.actions!=this.actualActions&&(this.o.actions=this.actualActions))},r.prototype.ci=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,a=!1,s=-1,u=0,l=function(e){var l,c=h.actions._inner[e];i.stringIsNullOrEmpty(c.c0)?(i.stringIsNullOrEmpty(c.cc)?i.stringIsNullOrEmpty(c.b9)||(null!=c.d&&c.d.actions.remove(c),function(){var e=t.ab(c.b9,t.actualActions,n,s);return n=e.p2,s=e.p3,e.ret}()&&(r=c.b9,o=!1,a=!0,u=0)):(null!=c.d&&c.d.actions.remove(c),function(){var e=t.ab(c.cc,t.actualActions,n,s);return n=e.p2,s=e.p3,e.ret}()&&(r=c.cc,o=!0,a=!1)),i.stringIsNullOrEmpty(r)?h.actualActions.add(c):o?(n.insert(s,c),s++):a&&(n.insert(s+1+u,c),u++)):(l=t.ab(c.c0,t.actualActions,n,s),n=l.p2,s=l.p3,l.ret&&n._inner[s].d7(c))},h=this,c=0;c<this.actions.count;c++)l(c)},r.prototype.ab=function(t,e,i,n){for(var r=this,o=function(o){var a,s=e._inner[o];return null!=s.cy&&s.cy==t?{value:{ret:!0,p2:i=e,p3:n=o}}:s.actions.count>0&&(a=r.ab(t,s.actions,i,n),i=a.p2,n=a.p3,a.ret)?{value:{ret:!0,p2:i,p3:n}}:void 0},a=0;a<e.count;a++){var s=o(a);if("object"==typeof s)return s.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.ac=function(t,e,i,n){for(var r=this,o=function(o){var a,s=e._inner[o];if(null==s.ch){if(null!=s.cy&&s.cy==t)return{value:{ret:!0,p2:i=e,p3:n=o}}}else if(null!=s.ch&&s.ch==t)return{value:{ret:!0,p2:i=e,p3:n=o}};if(s.actions.count>0&&(a=r.ab(t,s.actions,i,n),i=a.p2,n=a.p3,a.ret))return{value:{ret:!0,p2:i,p3:n}}},a=0;a<e.count;a++){var s=o(a);if("object"==typeof s)return s.value}return{ret:!1,p2:i=i,p3:n=n}},r.prototype.b6=function(){this.y&&this.b5()},r.prototype.notifySizeChanged=function(){this.l.s()},r.prototype.destroy=function(){this.provideContainer(null)},r.prototype.provideContainer=function(t){this.l.t(t)},r.prototype.cb=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.cf(t,e,n)},r.prototype.cf=function(t,e,i){switch(t){case"CellTextStyle":this.ch();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":this.cl();break;case"Target":var n=i,r=e;this.cd(r,n);break;case"BaseTheme":this.cm();break;case"ExecutionContext":null!=this.b&&this.z&&(this.ch(),this.z=!1)}},r.prototype.cl=function(){null!=this.o&&(this.o.ac=this.ad,this.o.e8=this.cz,this.o.fi=this.c8,this.o.e9=this.c0,this.o.fh=this.c7,this.o.fa=this.c1,this.o.fc=this.c2,this.o.fg=this.c6,this.o.fd=this.c3,this.o.o=this.k,this.o.fk=this.da,this.o.fj=this.c9,this.o.bl=this.aw,this.o.bm=this.ax,this.o.fe=this.c4,this.o.ff=this.c5,this.o.be=this.ap,this.o.bf=this.aq,this.o.bg=this.ar,this.o.bd=this.ao,this.o.bi=this.at,this.o.bj=this.au,this.o.bk=this.av,this.o.bh=this.as)},r.prototype.cd=function(t,e){if(this.r=e,null!=t&&(t.commandCompleted=null,this.autoGeneratedActions.clear(),t.removeCommandStateChangedListener(this),this.ch()),null!=e){e.commandCompleted=i.runOn(this,this.ce),e.invalidateActions=i.runOn(this,this.cc),this.autoGeneratedActions.clear();var n=e.getDesiredToolbarActions();if(null!=n)for(var r=0;r<n.length;r++){var o=Pt.c(n[r]);this.autoGeneratedActions.add(o)}e.addCommandStateChangedListener(this),this.ch()}},Object.defineProperty(r.prototype,"b",{get:function(){return this.a},set:function(t){var e=this.a;this.a=t,e!=this.a&&this.cb("ExecutionContext",e,this.a)},enumerable:!1,configurable:!0}),r.prototype.b3=function(){null!=this.o&&this.o.dd()},r.prototype.onCommandStateChanged=function(t,e,n){var r=this,o=null,a=-1;if(function(){var e=r.ac(t,r.actualActions,o,a);return o=e.p2,a=e.p3,e.ret}()){var s=o._inner[a];switch(e){case 2:switch(s.m){case 2:s.e8=n;break;case 5:s.e9=n;break;case 6:s.e8=n}break;case 0:s.e5=i.EnumUtil.getEnumValue(i.Visibility_$type,n);break;case 1:s.aj=n}}},r.prototype.cj=function(t,e){for(var i=0;i<t.count;i++){var n=t._inner[i];n.cp==e&&(n.cp=null,n.cp=e),null!=n.actions&&n.actions.count>0&&this.cj(n.actions,e)}},r.prototype.ck=function(t,e,n){i.SvgIconRegistry.instance.addSvgPathString(t,e,n),this.cj(this.actualActions,e)},r.prototype.ba=function(t,e){return i.SvgIconRegistry.instance.getSvgPathString(t,e)},r.$t=i.markType(r,"Toolbar",i.Base.$,[i.INotifyPropertyChanged_$type,i.ICommandStateChangedListener_$type]),r.j=1,r.az=null,r}(i.Base),Bt=function(t){function r(){var e=t.call(this)||this;e.p=null,e.v=null,e.bo=null,e.y=!1,e.w=null,e.i=new ht,e.propertyChanged=null,e.g=new Nt,e.contentRefreshed=null,e.aa=!0,e.z=!1,e.ae=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Pt.$),0),e.af=new i.Dictionary$2(i.String_$type,i.List$1.$.specialize(Pt.$),0),e.ad=new i.Dictionary$2(i.String_$type,Pt.$,0),e.s=null,e.a=null,e.q=0,e.ei=null,e.d5=null,e.er=null,e.ee=null,e.ek=null,e.d7=null,e.eq=null,e.ed=null,e.el=null,e.d8=null,e.en=null,e.ea=null,e.d=null,e.ar=Number.POSITIVE_INFINITY,e.es=null,e.ef=null,e.ej=null,e.d6=null,e.em=null,e.d9=null,e.eu=null,e.eh=null,e.et=null,e.eg=null,e.a0=NaN,e.ap=NaN,e.a1=NaN,e.aq=NaN,e.eo=null,e.eb=null,e.ep=null,e.ec=null,e.ax=NaN,e.am=NaN,e.ay=NaN,e.an=NaN,e.az=NaN,e.ao=NaN,e.aw=NaN,e.al=NaN,e.at=NaN,e.ai=NaN,e.au=NaN,e.aj=NaN,e.av=NaN,e.ak=NaN,e.as=NaN,e.ah=NaN,e.m=r.n,e.onCommand=null,e.e=0,e.drillDownRequested=null,e.drillUpRequested=null;var o=e.actions;o.collectionChanged=i.delegateCombine(o.collectionChanged,i.runOn(e,e.c9)),n.NativeUIXInputsFactory.j(),i.NativeUIInputsFactory.n(),gt.e();var a=new vt;return a.c=e,e.p=a,e.p.ac(),e.d4(),e}return e.__extends(r,t),Object.defineProperty(r.prototype,"x",{get:function(){return null==this.w&&(this.w=new i.SRProvider(this.p.n),this.w.cb("Layouts")),this.w},enumerable:!1,configurable:!0}),r.prototype.di=function(t){this.d=t;var e=this.d;e.rowUpdating=i.delegateCombine(e.rowUpdating,i.runOn(this,this.c8));var n=this.d;n.contentRefreshed=i.delegateCombine(n.contentRefreshed,i.runOn(this,this.c5)),this.d.k=this.o,this.d.ai=!0;var r=this.d;r.itemHeightRequested=i.delegateCombine(r.itemHeightRequested,i.runOn(this,this.c6));var o=this.d;o.itemWidthRequested=i.delegateCombine(o.itemWidthRequested,i.runOn(this,this.c7))},r.prototype.c5=function(t,e){null!=this.contentRefreshed&&this.contentRefreshed(this,new yt)},r.prototype.c6=function(t,e){var n=e.c,r=new ht;this.dr(r),n.dm(this,r),0==n.e5?i.isNaN_(r.d)?e.a=this.d.av:e.a=r.d:e.a=0},r.prototype.c7=function(t,e){var n=e.c,r=new ht;this.dr(r),n.dm(this,r),0==n.e5?i.isNaN_(r.e)||(e.a=r.e):e.a=0},r.prototype.c8=function(t,e){var i=e.a.o,n=t;if(1==this.o){var r=new ht;this.dr(r),i.dm(this,r),i.d3(n,this,e,r)}else i.d3(n,this,e,this.i)},r.prototype.dn=function(t){this.ar=t.width,this.dv(),this.d.notifySizeChanged()},Object.defineProperty(r.prototype,"actions",{get:function(){return this.g},set:function(t){var e=this.g;this.g=t,e!=this.g&&this.dp("Actions",e,this.g)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ac",{get:function(){return this.aa},set:function(t){var e=this.aa;this.aa=t,e!=this.aa&&this.dp("ShowOnHover",e,this.aa)},enumerable:!1,configurable:!0}),r.prototype.c9=function(t,n){var r,o,a,s;if(null!=n.oldItems)try{for(var u=e.__values(i.fromEn(n.oldItems)),l=u.next();!l.done;l=u.next()){var h=l.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,h)){var c=h;c.propertyChanged=i.delegateRemove(c.propertyChanged,i.runOn(this,this.dj))}h.dh(),h.b=null,h.j=null}}catch(t){r={error:t}}finally{try{l&&!l.done&&(o=u.return)&&o.call(u)}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.dj))}d.b=this.a,d.j=this}}catch(t){a={error:t}}finally{try{f&&!f.done&&(s=p.return)&&s.call(p)}finally{if(a)throw a.error}}this.d3(this.actions),this.dm()},r.prototype.da=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.dj))}this.actions._inner[n].dh(),this.actions._inner[n].b=null,this.actions._inner[n].j=null}},r.prototype.dm=function(){this.dv(),this.p.z()},r.prototype.dv=function(){this.z||(this.z=!0,this.a.enqueueAction(i.runOn(this,this.df)))},r.prototype.dx=function(){this.z=!0,this.df()},r.prototype.df=function(){if(this.z){this.z=!1,this.db(),this.d1();for(var t=0;t<this.g.count;t++)this.j(this.g._inner[t]);this.dg()}},r.prototype.db=function(){this.ae.clear(),this.af.clear(),this.ad.clear();for(var t=0;t<this.g.count;t++)this.g._inner[t].j=this,null!=this.g._inner[t].cw&&this.ad.item(this.g._inner[t].cw,this.g._inner[t]);for(var e=0;e<this.g.count;e++){if(null!=this.g._inner[e].c5)if(this.ad.containsKey(this.g._inner[e].c5))this.ae.containsKey(this.g._inner[e].c5)||this.ae.item(this.g._inner[e].c5,new i.List$1(Pt.$,0)),this.ae.item(this.g._inner[e].c5).add(this.g._inner[e])}for(var n=0;n<this.g.count;n++)if(6==this.g._inner[n].m){var r=this.g._inner[n].fa;this.af.containsKey(r)||this.af.item(r,new i.List$1(Pt.$,0)),this.af.item(r).add(this.g._inner[n])}},r.prototype.ab=function(t){return null!=t.cw&&this.ae.containsKey(t.cw)},r.prototype.f=function(t){return this.ad.containsKey(t)?this.ad.item(t):null},r.prototype.ag=function(t){return null==t.cw?null:this.ae.containsKey(t.cw)?this.ae.item(t.cw):null},r.prototype.j=function(t){var e=new ht;return this.dr(e),t.dm(this,e),this.dk(this.i,e),e},r.prototype.dr=function(t){t.a=this.o,t.c=this.ar},r.prototype.dk=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.d1=function(){this.i=new ht,this.i.a=this.o,this.i.c=this.ar},r.prototype.fl=function(){var t=0,e=0;if(0==this.o)for(var n=0;n<this.actions.count;n++){var r=this.j(this.actions._inner[n]);t=Math.max(r.e,t),0==this.actions._inner[n].e5&&(i.isNaN_(r.d)?e+=this.a2:e+=r.d)}return new i.Size(1,t,e)},r.prototype.dg=function(){this.d.itemsSource!=this.actions&&(this.d.itemsSource=this.actions)},r.prototype.dh=function(){this.z&&this.df(),null!=this.d&&this.d.bt()},r.prototype.dy=function(){null!=this.d&&this.d.cm()},r.prototype.dw=function(t){var e=t.fa,i=t.cw;if(null!=this.af&&this.af.containsKey(e))for(var n=0;n<this.af.item(e).count;n++)this.af.item(e)._inner[n].cw!=i&&this.af.item(e)._inner[n].fc()},r.prototype.dj=function(t,e){this.dm()},r.prototype.dc=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].dh()},r.prototype.ds=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.dj))}this.actions._inner[t].b=null}},r.prototype.notifySizeChanged=function(){this.p.y()},r.prototype.destroy=function(){this.provideContainer(null),this.dc()},r.prototype.provideContainer=function(t){this.p.aa(t)},Object.defineProperty(r.prototype,"t",{get:function(){return this.s},set:function(t){var e=this.s;this.s=t,e!=this.s&&this.dp("CellTextStyle",e,this.s)},enumerable:!1,configurable:!0}),r.prototype.u=function(){return null==this.t?this.p.f():this.t},r.prototype.dp=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.dt(t,e,n)},r.prototype.dt=function(t,n,r){var o,a,s,u;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":this.d4();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":this.d3(this.actions);break;case"CellTextStyle":this.dv();break;case"ActualBackgroundColor":this.d2();break;case"Orientation":null!=this.d&&(this.d.k=this.o,this.p.ad());break;case"Actions":if(null!=n){var l=n;l.collectionChanged=i.delegateRemove(l.collectionChanged,i.runOn(this,this.c9)),l.collectionResetting=i.delegateRemove(l.collectionResetting,i.runOn(this,this.da));try{for(var h=e.__values(i.fromEnum(l)),c=h.next();!c.done;c=h.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.dj))}p.b=null,p.j=null}}catch(t){o={error:t}}finally{try{c&&!c.done&&(a=h.return)&&a.call(h)}finally{if(o)throw o.error}}}if(null!=r){var d=r;d.collectionChanged=i.delegateCombine(d.collectionChanged,i.runOn(this,this.c9)),d.collectionResetting=i.delegateCombine(d.collectionResetting,i.runOn(this,this.da));try{for(var b=e.__values(i.fromEnum(d)),y=b.next();!y.done;y=b.next()){var g=y.value;if(null!==i.typeCast(i.INotifyPropertyChanged_$type,g)){var m=g;m.propertyChanged=i.delegateCombine(m.propertyChanged,i.runOn(this,this.dj))}g.b=this.a,g.j=this}}catch(t){s={error:t}}finally{try{y&&!y.done&&(u=b.return)&&u.call(b)}finally{if(s)throw s.error}}}this.d3(this.actions),this.dv()}},r.prototype.d4=function(){switch(this.r){case 0:case 1:case 2:case 5:case 3:this.e5=null!=this.fi?this.fi:i.BrushUtil.h(255,24,29,31),this.ew=null!=this.e9?this.e9:i.BrushUtil.h(102,0,0,0),this.ev=null!=this.e8?this.e8:i.BrushUtil.h(255,255,255,255),this.e4=null!=this.fh?this.fh:i.BrushUtil.h(255,255,255,255),this.ex=null!=this.fa?this.fa:i.BrushUtil.h(255,237,239,245),this.ez=null!=this.fc?this.fc:i.BrushUtil.h(255,142,143,147),this.e3=null!=this.fg?this.fg:i.BrushUtil.h(255,237,239,245),this.ey=null!=this.fb?this.fb:i.BrushUtil.h(25,0,0,0),this.e0=null!=this.fd?this.fd:i.BrushUtil.h(51,178,191,220),this.e7=null!=this.fk?this.fk:i.BrushUtil.h(255,0,0,0),this.e1=null!=this.fe?this.fe:i.BrushUtil.h(255,0,0,0),this.e2=null!=this.ff?this.ff:i.BrushUtil.h(255,0,0,0),this.e6=null!=this.fj?this.fj:i.BrushUtil.h(255,237,239,245),this.bb=i.isNaN_(this.bl)?8:this.bl,this.bc=i.isNaN_(this.bm)?4:this.bm,this.a8=i.isNaN_(this.bi)?0:this.bi,this.a9=i.isNaN_(this.bj)?0:this.bj,this.ba=i.isNaN_(this.bk)?0:this.bk,this.a7=i.isNaN_(this.bh)?0:this.bh,this.a4=i.isNaN_(this.be)?0:this.be,this.a5=i.isNaN_(this.bf)?0:this.bf,this.a6=i.isNaN_(this.bg)?i.DeviceUtils.g(10):this.bg,this.a3=i.isNaN_(this.bd)?i.DeviceUtils.g(10):this.bd;break;case 6:case 4:this.e5=null!=this.fi?this.fi:i.BrushUtil.h(255,255,255,255),this.ew=null!=this.e9?this.e9:i.BrushUtil.h(102,255,255,255),this.ev=null!=this.e8?this.e8:i.BrushUtil.h(255,55,63,86),this.e4=null!=this.fh?this.fh:i.BrushUtil.h(255,55,63,86),this.ex=null!=this.fa?this.fa:i.BrushUtil.h(255,44,50,70),this.ez=null!=this.fc?this.fc:i.BrushUtil.h(255,255,255,255),this.e3=null!=this.fg?this.fg:i.BrushUtil.h(255,44,50,70),this.ey=null!=this.fb?this.fb:i.BrushUtil.h(25,0,0,0),this.e0=null!=this.fd?this.fd:i.BrushUtil.h(25,105,136,255),this.e7=null!=this.fk?this.fk:i.BrushUtil.h(255,255,255,255),this.e1=null!=this.fe?this.fe:i.BrushUtil.h(255,210,212,216),this.e2=null!=this.ff?this.ff:i.BrushUtil.h(255,210,212,216),this.e6=null!=this.fj?this.fj:i.BrushUtil.h(255,44,50,70),this.bb=i.isNaN_(this.bl)?8:this.bl,this.bc=i.isNaN_(this.bm)?4:this.bm,this.a8=i.isNaN_(this.bi)?0:this.bi,this.a9=i.isNaN_(this.bj)?0:this.bj,this.ba=i.isNaN_(this.bk)?0:this.bk,this.a7=i.isNaN_(this.bh)?0:this.bh,this.a4=i.isNaN_(this.be)?0:this.be,this.a5=i.isNaN_(this.bf)?0:this.bf,this.a6=i.isNaN_(this.bg)?i.DeviceUtils.g(10):this.bg,this.a3=i.isNaN_(this.bd)?i.DeviceUtils.g(10):this.bd}},r.prototype.d3=function(t){for(var e=0;e<t.count;e++)t._inner[e].ed(),this.d3(t._inner[e].actions)},r.prototype.d2=function(){null!=this.p.n&&i.NativeUI.m(this.p.t,this.ev)},Object.defineProperty(r.prototype,"r",{get:function(){return this.q},set:function(t){var e=this.q;this.q=t,e!=this.q&&this.dp("BaseTheme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,t))},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e8",{get:function(){return this.ei},set:function(t){var e=this.ei;this.ei=t,e!=this.ei&&this.dp("BackgroundColor",e,t)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ev",{get:function(){return this.d5},set:function(t){var e=this.d5;this.d5=t,e!=this.d5&&this.dp("ActualBackgroundColor",e,this.d5)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fh",{get:function(){return this.er},set:function(t){var e=this.er;this.er=t,e!=this.er&&this.dp("SubmenuBackgroundColor",e,this.er)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e4",{get:function(){return this.ee},set:function(t){var e=this.ee;this.ee=t,e!=this.ee&&this.dp("ActualSubmenuBackgroundColor",e,this.ee)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fa",{get:function(){return this.ek},set:function(t){var e=this.ek;this.ek=t,e!=this.ek&&this.dp("GroupHeaderBackgroundColor",e,this.ek)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ex",{get:function(){return this.d7},set:function(t){var e=this.d7;this.d7=t,e!=this.d7&&this.dp("ActualGroupHeaderBackgroundColor",e,this.d7)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fg",{get:function(){return this.eq},set:function(t){var e=this.eq;this.eq=t,e!=this.eq&&this.dp("SeparatorBackgroundColor",e,this.eq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e3",{get:function(){return this.ed},set:function(t){var e=this.ed;this.ed=t,e!=this.ed&&this.dp("ActualSeparatorBackgroundColor",e,this.ed)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fb",{get:function(){return this.el},set:function(t){var e=this.el;this.el=t,e!=this.el&&this.dp("GroupHeaderSeparatorBackgroundColor",e,this.el)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ey",{get:function(){return this.d8},set:function(t){var e=this.d8;this.d8=t,e!=this.d8&&this.dp(r.bt,e,this.d8)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fd",{get:function(){return this.en},set:function(t){var e=this.en;this.en=t,e!=this.en&&this.dp("HoverBackgroundColor",e,this.en)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e0",{get:function(){return this.ea},set:function(t){var e=this.ea;this.ea=t,e!=this.ea&&this.dp("ActualHoverBackgroundColor",e,this.ea)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fi",{get:function(){return this.es},set:function(t){var e=this.es;this.es=t,e!=this.es&&this.dp("TextColor",e,this.es)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e5",{get:function(){return this.ef},set:function(t){var e=this.ef;this.ef=t,e!=this.ef&&this.dp("ActualTextColor",e,this.ef)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e9",{get:function(){return this.ej},set:function(t){var e=this.ej;this.ej=t,e!=this.ej&&this.dp("DisabledTextColor",e,this.ej)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ew",{get:function(){return this.d6},set:function(t){var e=this.d6;this.d6=t,e!=this.d6&&this.dp("ActualDisabledTextColor",e,this.d6)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fc",{get:function(){return this.em},set:function(t){var e=this.em;this.em=t,e!=this.em&&this.dp("GroupHeaderTextColor",e,this.em)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ez",{get:function(){return this.d9},set:function(t){var e=this.d9;this.d9=t,e!=this.d9&&this.dp("ActualGroupHeaderTextColor",e,this.d9)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fk",{get:function(){return this.eu},set:function(t){var e=this.eu;this.eu=t,e!=this.eu&&this.dp("ToolTipTextColor",e,this.eu)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e7",{get:function(){return this.eh},set:function(t){var e=this.eh;this.eh=t,e!=this.eh&&this.dp("ActualToolTipTextColor",e,this.eh)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fj",{get:function(){return this.et},set:function(t){var e=this.et;this.et=t,e!=this.et&&this.dp("ToolTipBackgroundColor",e,this.et)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e6",{get:function(){return this.eg},set:function(t){var e=this.eg;this.eg=t,e!=this.eg&&this.dp("ActualToolTipBackgroundColor",e,this.eg)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bl",{get:function(){return this.a0},set:function(t){var e=this.a0;this.a0=t,e!=this.a0&&this.dp("ToolTipCornerRadius",e,this.a0)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bb",{get:function(){return this.ap},set:function(t){var e=this.ap;this.ap=t,e!=this.ap&&this.dp("ActualToolTipCornerRadius",e,this.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bm",{get:function(){return this.a1},set:function(t){var e=this.a1;this.a1=t,e!=this.a1&&this.dp("ToolTipElevation",e,this.a1)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bc",{get:function(){return this.aq},set:function(t){var e=this.aq;this.aq=t,e!=this.aq&&this.dp("ActualToolTipElevation",e,this.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"fe",{get:function(){return this.eo},set:function(t){var e=this.eo;this.eo=t,e!=this.eo&&this.dp("IconFill",e,this.eo)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e1",{get:function(){return this.eb},set:function(t){var e=this.eb;this.eb=t,e!=this.eb&&this.dp("ActualIconFill",e,this.eb)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ff",{get:function(){return this.ep},set:function(t){var e=this.ep;this.ep=t,e!=this.ep&&this.dp("IconStroke",e,this.ep)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"e2",{get:function(){return this.ec},set:function(t){var e=this.ec;this.ec=t,e!=this.ec&&this.dp("ActualIconStroke",e,this.ec)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bi",{get:function(){return this.ax},set:function(t){var e=this.ax;this.ax=t,e!=this.ax&&this.dp("SeparatorVerticalPaddingLeft",e,this.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a8",{get:function(){return this.am},set:function(t){var e=this.am;this.am=t,e!=this.am&&this.dp("ActualSeparatorVerticalPaddingLeft",e,this.am)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bj",{get:function(){return this.ay},set:function(t){var e=this.ay;this.ay=t,e!=this.ay&&this.dp("SeparatorVerticalPaddingRight",e,this.ay)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a9",{get:function(){return this.an},set:function(t){var e=this.an;this.an=t,e!=this.an&&this.dp("ActualSeparatorVerticalPaddingRight",e,this.an)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bk",{get:function(){return this.az},set:function(t){var e=this.az;this.az=t,e!=this.az&&this.dp("SeparatorVerticalPaddingTop",e,this.az)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"ba",{get:function(){return this.ao},set:function(t){var e=this.ao;this.ao=t,e!=this.ao&&this.dp("ActualSeparatorVerticalPaddingTop",e,this.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bh",{get:function(){return this.aw},set:function(t){var e=this.aw;this.aw=t,e!=this.aw&&this.dp("SeparatorVerticalPaddingBottom",e,this.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a7",{get:function(){return this.al},set:function(t){var e=this.al;this.al=t,e!=this.al&&this.dp("ActualSeparatorVerticalPaddingBottom",e,this.al)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"be",{get:function(){return this.at},set:function(t){var e=this.at;this.at=t,e!=this.at&&this.dp("SeparatorHorizontalPaddingLeft",e,this.at)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a4",{get:function(){return this.ai},set:function(t){var e=this.ai;this.ai=t,e!=this.ai&&this.dp("ActualSeparatorHorizontalPaddingLeft",e,this.ai)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bf",{get:function(){return this.au},set:function(t){var e=this.au;this.au=t,e!=this.au&&this.dp("SeparatorHorizontalPaddingRight",e,this.au)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a5",{get:function(){return this.aj},set:function(t){var e=this.aj;this.aj=t,e!=this.aj&&this.dp("ActualSeparatorHorizontalPaddingRight",e,this.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bg",{get:function(){return this.av},set:function(t){var e=this.av;this.av=t,e!=this.av&&this.dp("SeparatorHorizontalPaddingTop",e,this.av)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a6",{get:function(){return this.ak},set:function(t){var e=this.ak;this.ak=t,e!=this.ak&&this.dp("ActualSeparatorHorizontalPaddingTop",e,this.ak)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"bd",{get:function(){return this.as},set:function(t){var e=this.as;this.as=t,e!=this.as&&this.dp("SeparatorHorizontalPaddingBottom",e,this.as)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a3",{get:function(){return this.ah},set:function(t){var e=this.ah;this.ah=t,e!=this.ah&&this.dp("ActualSeparatorHorizontalPaddingBottom",e,this.ah)},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"o",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.dp("Orientation",i.enumGetBox(ut,e),i.enumGetBox(ut,t))},enumerable:!1,configurable:!0}),r.prototype.dq=function(t,e){null!=this.onCommand&&this.onCommand(this,e),6==t.m&&this.dw(t)},Object.defineProperty(r.prototype,"bn",{get:function(){return this.d.a7},set:function(t){this.d.a7=t},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"a2",{get:function(){return this.d.av},enumerable:!1,configurable:!0}),r.prototype.dz=function(t){var e;null!=this.drillDownRequested&&this.drillDownRequested(this,((e=new Rt).a=t,e))},r.prototype.d0=function(t){var e;null!=this.drillUpRequested&&this.drillUpRequested(this,((e=new Rt).a=t,e))},r.prototype.dd=function(){for(var t=0;t<this.actions.count;t++)this.actions._inner[t].dj()},r.$t=i.markType(r,"ToolPanel",i.Base.$,[i.INotifyPropertyChanged_$type]),r.bt="ActualGroupHeaderSeparatorBackgroundColor",r.n=0,r}(i.Base),Rt=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),$t=function(t){function n(e,n){var r=t.call(this)||this;return r.ab=null,r.i=null,r.j=null,r.y=0,r.o=null,r.a=null,r.d=null,r.g=null,r.ay=null,r.az=null,r.p=null,r.b=null,r.e=null,r.h=null,r.c=null,r.f=null,r.w=new i.Queue$1(zt.$),r.r=null,r.q=null,r.u=new i.List$1(qt.$,0),r.m=1,r.x=200,r.s=null,r.aa=0,r.t=!1,r.containerReady=null,r.sizeChanged=null,r.propertyChanged=null,r.ab=e,r.i=n,r}return e.__extends(n,t),Object.defineProperty(n.prototype,"a0",{get:function(){return this.ay},set:function(t){this.d.d=this.ay=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"a1",{get:function(){return this.az},set:function(t){this.g.d=this.az=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"v",{get:function(){return this.u},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"n",{get:function(){return this.m},set:function(t){var e=this.m;this.m=t,e!=this.m&&this.as("Theme",i.enumGetBox(i.BaseControlTheme_$type,e),i.enumGetBox(i.BaseControlTheme_$type,this.m))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"z",{get:function(){return this.x},set:function(t){this.x=t},enumerable:!1,configurable:!0}),n.prototype.ai=function(t){var e=this;i.NativeUIComponent.at(this.ab,[7,9],(function(n){e.r=n[0],e.q=n[1],e.r.bj(e.q),e.q.a9=new i.MatrixTransform,null!=t&&t()}))},n.prototype.a2=function(){return null!=this.j?this.j.f():this.r.bb(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.ae=function(t,e){var n=this;void 0===e&&(e=null);for(var r=0;r<this.v.count;r++)if(this.v._inner[r].b==t)return void(null!=e&&e(this.v._inner[r].a));i.NativeUIComponent.ar(this.ab,13,(function(r){var o=r;o.c=n.n,o.b1=t.j.fi,o.bw=t.j.e9,o.bv=t.j.fh,o.b0=t.j.fh,o.bx=t.j.fa,o.by=t.j.fc,o.bz=t.j.fg,o.bp=t.actions,o.bi=i.runOn(n,n.aq),o.bj=i.runOn(n,n.ar),o.bo=i.runOn(n,n.ao),n.q.bj(o),n.y=0;for(var a=0;a<n.v.count;a++){var s=n.v._inner[a].f();n.y+=s.width,n.v._inner[a].a.ad=s.width}n.q.bq(o,n.y),n.q.br(o,0),n.v.add(new qt(t,o,n.y)),n.av(),null!=e&&e(o)}))},n.prototype.aj=function(t){for(var e=0;e<this.v.count;e++)this.v._inner[e].a==t&&this.al(e)},n.prototype.al=function(t){this.ak(this.v._inner[t])},n.prototype.ak=function(t,e){void 0===e&&(e=null),this.af(t,-Math.floor(t.c),e),this.j=t},n.prototype.aq=function(t,e){var i=this;if(this.aa++,this.v.count>1&&this.aa<this.v.count){for(var n=this.v.count-1;n>this.aa;n--)this.v._inner[n].a.bi=null,this.v._inner[n].a.bj=null,this.q.bl(this.v._inner[n].a),this.y-=this.v._inner[n].a.ad,this.v.removeAt(n);if(this.v._inner[this.aa].b==e.a)return void this.aj(this.v._inner[this.aa].a);this.v._inner[this.aa].a.bi=null,this.v._inner[this.aa].a.bj=null,this.q.bl(this.v._inner[this.aa].a),this.y-=this.v._inner[this.aa].a.ad,this.v.removeAt(this.aa)}this.ae(e.a,(function(t){return i.i.executeDelayed((function(){return i.aj(t)}),0)}))},n.prototype.ar=function(t,e){this.aa--,this.ak(this.v._inner[this.v.count-2],(function(){}))},n.prototype.ao=function(t,e){null!=this.s&&this.s(e)},n.prototype.af=function(t,e,n){var r,o=this;if(void 0===n&&(n=null),this.ah(),null==this.q.a9){var a=t.f();return this.r.ad=Math.floor(a.width),void(this.r.x=Math.floor(a.height))}if(1==this.o.playState)this.o.playbackRate>0&&this.a0.j==e||this.o.playbackRate<0&&this.a1.j==e?(this.o.reverse(),this.p.reverse()):this.w.g(((r=new zt).a=t,r.c=e,r.b=n,r));else{this.a0=function(){var t=new i.TranslateTransform;return t.j=o.a1.j,t}(),this.a1=function(){var t=new i.TranslateTransform;return t.j=e,t}();var s=t.f();this.e.d=this.r.ad,this.c.d=this.r.x,this.h.d=Math.floor(s.width),this.f.d=Math.floor(s.height),this.o.updatePlaybackRate(1),this.o.play(),this.o.finished.f((function(t){return o.an(n)})),this.p.updatePlaybackRate(1),this.p.play(),this.p.finished.f((function(t){null!=o.p&&o.p.commitStyles()}))}},n.prototype.ah=function(){if(null==this.o){var t=new i.AnimationKeyFrameEffectTiming;t.g=this.z,t.b=0,this.a=new i.AnimationKeyFrameEffect(0,this.q.al,0,null,t),this.ay=((e=new i.TranslateTransform).j=0,e),this.az=function(){var t=new i.TranslateTransform;return t.j=0,t}(),this.d=new i.AnimationKeyFrameProperty(14,this.ay),this.g=new i.AnimationKeyFrameProperty(14,this.az),this.o=i.KeyFrameAnimationFactory.f.c(this.a.m(this.d).m(this.g)),this.b=new i.AnimationKeyFrameEffect(0,this.r.al,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.p=i.KeyFrameAnimationFactory.f.c(this.b.m(this.e,this.c).m(this.h,this.f))}var e},n.prototype.an=function(t){var e,n=this;if(null!=this.o&&this.o.commitStyles(),null!=t&&t(),this.o.playbackRate<0){var r=this.a1.j;this.a1=((e=new i.TranslateTransform).j=n.a0.j,e),this.a0=function(){var t=new i.TranslateTransform;return t.j=r,t}()}if(this.w.count>0){var o=this.w.b();this.ak(o.a,o.b)}},n.prototype.av=function(){this.t||(this.t=!0,this.i.enqueueAction(i.runOn(this,this.ag)))},n.prototype.ag=function(){if(this.t){this.t=!1;for(var t=0;t<this.v.count;t++){this.v._inner[t].e();var e=this.v._inner[t].f();this.v._inner[t].a.ad=e.width,this.v._inner[t].a.x=e.height,this.v._inner[t].a.bt(e)}}},n.prototype.aw=function(){this.aa=0,this.q.a9=new i.MatrixTransform;var t,e=this.v._inner[0].f();this.r.ad=Math.floor(e.width),this.r.x=Math.floor(e.height),this.ay=((t=new i.TranslateTransform).j=0,t),this.az=function(){var t=new i.TranslateTransform;return t.j=0,t}()},n.prototype.ax=function(t,e){this.m=t;for(var i=0;i<this.v.count;i++){var n=this.v._inner[i].a;n.c=t,n.b1=e.fi,n.bw=e.e9,n.bv=e.fh,n.b0=e.fh,n.bx=e.fa,n.by=e.fc,n.bz=e.fg}},n.prototype.am=function(){var t=this.v._inner[0].f();this.v._inner[0].d(t)},n.prototype.ap=function(){null!=this.containerReady&&this.containerReady(this)},n.prototype.at=function(){null!=this.sizeChanged&&this.sizeChanged(this)},n.prototype.as=function(t,e,n){null!=this.propertyChanged&&this.propertyChanged(this,new i.PropertyChangedEventArgs(t)),this.au(t,e,n)},n.prototype.au=function(t,e,i){switch(t){case"Theme":for(var n=0;n<this.v.count;n++)this.v._inner[n].a.c=this.n}},n.$t=i.markType(n,"ToolPanelsPresenter",i.Base.$,[i.INotifyPropertyChanged_$type]),n}(i.Base),qt=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.bb(new i.Size(1,Number.POSITIVE_INFINITY,Number.POSITIVE_INFINITY))},n.prototype.e=function(){this.a.bu()},n.prototype.d=function(t){this.a.bt(t)},n.$t=i.markType(n,"PanelInfo"),n}(i.Base),zt=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),Ut=function(t){function n(e){var n=t.call(this)||this;if(Ft.$type||(Ft.$type=i.markType(Ft,"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(){Ft.$type||(Ft.$type=i.markType(Ft,"IgcToolActionComponent"));var t=new i.SyncableObservableCollection$2(Ft.$type,Pt.$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=Ft._createFromInternal(t))&&(e._implementation=t),e},t},n}(i.IgCollection),Dt=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,"command",{get:function(){return this.i.a},set:function(t){this.i.a=t},enumerable:!1,configurable:!0}),t}(),Vt=function(){function t(){this._implementation=this.createImplementation(),this._implementation.externalObject=this,this.onImplementationCreated(),this._initializeAdapters&&this._initializeAdapters()}return t.prototype.createImplementation=function(){return new lt},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}),t.prototype.findByName=function(t){return this.findEphemera&&t&&0==t.indexOf("@@e:")?this.findEphemera(t):null},t}(),Ht=function(t){function n(e){var n=t.call(this)||this;if(Vt.$type||(Vt.$type=i.markType(Vt,"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(){Vt.$type||(Vt.$type=i.markType(Vt,"IgcToolActionEventDetail"));var t=new i.SyncableObservableCollection$2(Vt.$type,lt.$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)&&(e._implementation=t),e},t},n}(i.IgCollection),Lt=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 pt},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 Vt;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 Ht,e=this.i.b;e||(e=new ct),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 Ht;this._detailCollection=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(lt.$type),r=this.i.b;r||(r=new ct),n._inner=r,n.clear(),this._detailCollection._setSyncTarget(n),this.i.b=r},enumerable:!1,configurable:!0}),t}(),Ft=function(t){function n(){var e=t.call(this)||this;return e._settingAttributes=!1,e._attached=!1,e._queuedSetAttributes=[],e._updatingFromAttribute=!1,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._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._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,"id",{get:function(){return this.i.cw},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actions",{get:function(){if(null===this._actions){var t=new Ut,e=this.i.actions;e||(e=new Nt),this._actions=t._fromInner(e)}return this._actions},set:function(t){null!==this._actions&&(this._actions._setSyncTarget(null),this._actions=null);var e=new Ut;this._actions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Pt.$type),r=this.i.actions;r||(r=new Nt),n._inner=r,n.clear(),this._actions._setSyncTarget(n)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"width",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("width",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentId",{get:function(){return this.i.c5},set:function(t){this.i.c5=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"beforeId",{get:function(){return this.i.cc},set:function(t){this.i.cc=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"afterId",{get:function(){return this.i.b9},set:function(t){this.i.b9=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"overlayId",{get:function(){return this.i.c0},set:function(t){this.i.c0=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandId",{get:function(){return this.i.ch},set:function(t){this.i.ch=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgument",{get:function(){return this.i.ce},set:function(t){this.i.ce=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"commandArgumentValue",{get:function(){return this.i.bn},set:function(t){this.i.bn=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingLeft",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("paddingLeft",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingLeft",{get:function(){return this.i.a5},set:function(t){this.i.a5=+t,this._a("actualPaddingLeft",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingRight",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("paddingRight",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingRight",{get:function(){return this.i.a6},set:function(t){this.i.a6=+t,this._a("actualPaddingRight",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingBottom",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("paddingBottom",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingBottom",{get:function(){return this.i.a4},set:function(t){this.i.a4=+t,this._a("actualPaddingBottom",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"paddingTop",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("paddingTop",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualPaddingTop",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("actualPaddingTop",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackground",{get:function(){return i.brushToString(this.i.eu)},set:function(t){this.i.eu=i.stringToBrush(t),this._a("actualHoverBackground",i.brushToString(this.i.eu))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackground",{get:function(){return i.brushToString(this.i.e0)},set:function(t){this.i.e0=i.stringToBrush(t),this._a("hoverBackground",i.brushToString(this.i.e0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackground",{get:function(){return i.brushToString(this.i.es)},set:function(t){this.i.es=i.stringToBrush(t),this._a("actualBackground",i.brushToString(this.i.es))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"background",{get:function(){return i.brushToString(this.i.ey)},set:function(t){this.i.ey=i.stringToBrush(t),this._a("background",i.brushToString(this.i.ey))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.ex)},set:function(t){this.i.ex=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.ex))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.e3)},set:function(t){this.i.e3=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.e3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.et)},set:function(t){this.i.et=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.et))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.ez)},set:function(t){this.i.ez=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.ez))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextStyle",{get:function(){return null==this.i.r?null:this.i.r.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.r=e,this._a("actualTextStyle",null!=this.i.r?this.i.r.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("textStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isDisabled",{get:function(){return this.i.aj},set:function(t){this.i.aj=i.ensureBool(t),this._a("isDisabled",this.i.aj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"name",{get:function(){return this.i.cy},set:function(t){this.i.cy=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"title",{get:function(){return this.i.de},set:function(t){this.i.de=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"subtitle",{get:function(){return this.i.da},set:function(t){this.i.da=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconName",{get:function(){return this.i.cp},set:function(t){this.i.cp=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconCollectionName",{get:function(){return this.i.cm},set:function(t){this.i.cm=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxLeft",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("iconViewBoxLeft",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxTop",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("iconViewBoxTop",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxWidth",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("iconViewBoxWidth",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconViewBoxHeight",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("iconViewBoxHeight",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.e1)},set:function(t){this.i.e1=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.ev)},set:function(t){this.i.ev=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.ev))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.e2)},set:function(t){this.i.e2=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.e2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.ew)},set:function(t){this.i.ew=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.ew))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"visibility",{get:function(){return this.i.e5},set:function(t){this.i.e5=i.ensureEnum(i.Visibility_$type,t),this._a("visibility",i.enumToString(i.Visibility_$type,this.i.e5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"closeOnExecute",{get:function(){return this.i.ae},set:function(t){this.i.ae=i.ensureBool(t),this._a("closeOnExecute",this.i.ae)},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("ToolActionComponent");var a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.cleanUp=function(){this.i.dh()},n.prototype.fromInfo=function(t){this.i.dt(t)},n.prototype.openSubMenu=function(){this.i.d6()},n.prototype.closeSubmenu=function(){this.i.dj()},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 Dt;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 Lt;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),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 yt},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}(),Wt=function(t){return t[t.Replace=0]="Replace",t}({}),Gt=i.markEnum("NestedActionMode","Replace,0"),Kt=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),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{a&&!a.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 Ut;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 Ft&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},n.prototype.createImplementation=function(){return new Bt},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.ac},set:function(t){this.i.ac=i.ensureBool(t),this._a("showOnHover",this.i.ac)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"baseTheme",{get:function(){return this.i.r},set:function(t){this.i.r=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.r))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.e8)},set:function(t){this.i.e8=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.e8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualBackgroundColor",{get:function(){return i.brushToString(this.i.ev)},set:function(t){this.i.ev=i.stringToBrush(t),this._a("actualBackgroundColor",i.brushToString(this.i.ev))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.fh)},set:function(t){this.i.fh=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.fh))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSubmenuBackgroundColor",{get:function(){return i.brushToString(this.i.e4)},set:function(t){this.i.e4=i.stringToBrush(t),this._a("actualSubmenuBackgroundColor",i.brushToString(this.i.e4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.fa)},set:function(t){this.i.fa=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.fa))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.ex)},set:function(t){this.i.ex=i.stringToBrush(t),this._a("actualGroupHeaderBackgroundColor",i.brushToString(this.i.ex))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.fg)},set:function(t){this.i.fg=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.fg))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.e3)},set:function(t){this.i.e3=i.stringToBrush(t),this._a("actualSeparatorBackgroundColor",i.brushToString(this.i.e3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.fb)},set:function(t){this.i.fb=i.stringToBrush(t),this._a("groupHeaderSeparatorBackgroundColor",i.brushToString(this.i.fb))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderSeparatorBackgroundColor",{get:function(){return i.brushToString(this.i.ey)},set:function(t){this.i.ey=i.stringToBrush(t),this._a("actualGroupHeaderSeparatorBackgroundColor",i.brushToString(this.i.ey))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.fd)},set:function(t){this.i.fd=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.fd))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualHoverBackgroundColor",{get:function(){return i.brushToString(this.i.e0)},set:function(t){this.i.e0=i.stringToBrush(t),this._a("actualHoverBackgroundColor",i.brushToString(this.i.e0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.fi)},set:function(t){this.i.fi=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.fi))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualTextColor",{get:function(){return i.brushToString(this.i.e5)},set:function(t){this.i.e5=i.stringToBrush(t),this._a("actualTextColor",i.brushToString(this.i.e5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.e9)},set:function(t){this.i.e9=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.e9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualDisabledTextColor",{get:function(){return i.brushToString(this.i.ew)},set:function(t){this.i.ew=i.stringToBrush(t),this._a("actualDisabledTextColor",i.brushToString(this.i.ew))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.fc)},set:function(t){this.i.fc=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.fc))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualGroupHeaderTextColor",{get:function(){return i.brushToString(this.i.ez)},set:function(t){this.i.ez=i.stringToBrush(t),this._a("actualGroupHeaderTextColor",i.brushToString(this.i.ez))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.fk)},set:function(t){this.i.fk=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.fk))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipTextColor",{get:function(){return i.brushToString(this.i.e7)},set:function(t){this.i.e7=i.stringToBrush(t),this._a("actualToolTipTextColor",i.brushToString(this.i.e7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.fj)},set:function(t){this.i.fj=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.fj))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipBackgroundColor",{get:function(){return i.brushToString(this.i.e6)},set:function(t){this.i.e6=i.stringToBrush(t),this._a("actualToolTipBackgroundColor",i.brushToString(this.i.e6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.bl},set:function(t){this.i.bl=+t,this._a("toolTipCornerRadius",this.i.bl)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipCornerRadius",{get:function(){return this.i.bb},set:function(t){this.i.bb=+t,this._a("actualToolTipCornerRadius",this.i.bb)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.bm},set:function(t){this.i.bm=+t,this._a("toolTipElevation",this.i.bm)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualToolTipElevation",{get:function(){return this.i.bc},set:function(t){this.i.bc=+t,this._a("actualToolTipElevation",this.i.bc)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.fe)},set:function(t){this.i.fe=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.fe))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconFill",{get:function(){return i.brushToString(this.i.e1)},set:function(t){this.i.e1=i.stringToBrush(t),this._a("actualIconFill",i.brushToString(this.i.e1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.ff)},set:function(t){this.i.ff=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.ff))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualIconStroke",{get:function(){return i.brushToString(this.i.e2)},set:function(t){this.i.e2=i.stringToBrush(t),this._a("actualIconStroke",i.brushToString(this.i.e2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.bi},set:function(t){this.i.bi=+t,this._a("separatorVerticalPaddingLeft",this.i.bi)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingLeft",{get:function(){return this.i.a8},set:function(t){this.i.a8=+t,this._a("actualSeparatorVerticalPaddingLeft",this.i.a8)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.bj},set:function(t){this.i.bj=+t,this._a("separatorVerticalPaddingRight",this.i.bj)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingRight",{get:function(){return this.i.a9},set:function(t){this.i.a9=+t,this._a("actualSeparatorVerticalPaddingRight",this.i.a9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.bk},set:function(t){this.i.bk=+t,this._a("separatorVerticalPaddingTop",this.i.bk)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingTop",{get:function(){return this.i.ba},set:function(t){this.i.ba=+t,this._a("actualSeparatorVerticalPaddingTop",this.i.ba)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.bh},set:function(t){this.i.bh=+t,this._a("separatorVerticalPaddingBottom",this.i.bh)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorVerticalPaddingBottom",{get:function(){return this.i.a7},set:function(t){this.i.a7=+t,this._a("actualSeparatorVerticalPaddingBottom",this.i.a7)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.be},set:function(t){this.i.be=+t,this._a("separatorHorizontalPaddingLeft",this.i.be)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingLeft",{get:function(){return this.i.a4},set:function(t){this.i.a4=+t,this._a("actualSeparatorHorizontalPaddingLeft",this.i.a4)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.bf},set:function(t){this.i.bf=+t,this._a("separatorHorizontalPaddingRight",this.i.bf)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingRight",{get:function(){return this.i.a5},set:function(t){this.i.a5=+t,this._a("actualSeparatorHorizontalPaddingRight",this.i.a5)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.bg},set:function(t){this.i.bg=+t,this._a("separatorHorizontalPaddingTop",this.i.bg)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingTop",{get:function(){return this.i.a6},set:function(t){this.i.a6=+t,this._a("actualSeparatorHorizontalPaddingTop",this.i.a6)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.bd},set:function(t){this.i.bd=+t,this._a("separatorHorizontalPaddingBottom",this.i.bd)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualSeparatorHorizontalPaddingBottom",{get:function(){return this.i.a3},set:function(t){this.i.a3=+t,this._a("actualSeparatorHorizontalPaddingBottom",this.i.a3)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"orientation",{get:function(){return this.i.o},set:function(t){this.i.o=i.ensureEnum(ut,t),this._a("orientation",i.enumToString(ut,this.i.o))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"rowHeight",{get:function(){return this.i.bn},set:function(t){this.i.bn=+t,this._a("rowHeight",this.i.bn)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"actualRowHeight",{get:function(){return this.i.a2},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nestedActionMode",{get:function(){return this.i.e},set:function(t){this.i.e=i.ensureEnum(Gt,t),this._a("nestedActionMode",i.enumToString(Gt,this.i.e))},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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.refresh=function(){this.i.dx()},n.prototype.getDesiredSize=function(){var t=this.i.fl();return i.fromSize(t)},n.prototype.closeSubmenus=function(){this.i.dd()},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 Mt;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 Dt;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),Xt=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._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),a=o.next();!a.done;a=o.next()){"childList"==a.value.type&&n.updateContentProperties()}}catch(t){i={error:t}}finally{try{a&&!a.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 Ut;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 Ft&&this.contentActions.push(this.children[t]);null!=this._actionsAdapter&&this._actionsAdapter.notifyContentChanged()},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=!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.q},set:function(t){this.i.q=i.ensureEnum(i.BaseControlTheme_$type,t),this._a("baseTheme",i.enumToString(i.BaseControlTheme_$type,this.i.q))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"autoGeneratedActions",{get:function(){if(null===this._autoGeneratedActions){var t=new Ut,e=this.i.autoGeneratedActions;e||(e=new Nt),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 Ut;this._autoGeneratedActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Pt.$type),r=this.i.autoGeneratedActions;r||(r=new Nt),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 Ut,e=this.i.actualActions;e||(e=new Nt),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 Ut;this._actualActions=e._fromOuter(t);var n=new i.SyncableObservableCollection$1(Pt.$type),r=this.i.actualActions;r||(r=new Nt),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.k},set:function(t){this.i.k=i.ensureEnum(bt,t),this._a("orientation",i.enumToString(bt,this.i.k))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backgroundColor",{get:function(){return i.brushToString(this.i.cz)},set:function(t){this.i.cz=i.stringToBrush(t),this._a("backgroundColor",i.brushToString(this.i.cz))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"submenuBackgroundColor",{get:function(){return i.brushToString(this.i.c7)},set:function(t){this.i.c7=i.stringToBrush(t),this._a("submenuBackgroundColor",i.brushToString(this.i.c7))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderBackgroundColor",{get:function(){return i.brushToString(this.i.c1)},set:function(t){this.i.c1=i.stringToBrush(t),this._a("groupHeaderBackgroundColor",i.brushToString(this.i.c1))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorBackgroundColor",{get:function(){return i.brushToString(this.i.c6)},set:function(t){this.i.c6=i.stringToBrush(t),this._a("separatorBackgroundColor",i.brushToString(this.i.c6))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"hoverBackgroundColor",{get:function(){return i.brushToString(this.i.c3)},set:function(t){this.i.c3=i.stringToBrush(t),this._a("hoverBackgroundColor",i.brushToString(this.i.c3))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"textColor",{get:function(){return i.brushToString(this.i.c8)},set:function(t){this.i.c8=i.stringToBrush(t),this._a("textColor",i.brushToString(this.i.c8))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"disabledTextColor",{get:function(){return i.brushToString(this.i.c0)},set:function(t){this.i.c0=i.stringToBrush(t),this._a("disabledTextColor",i.brushToString(this.i.c0))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"groupHeaderTextColor",{get:function(){return i.brushToString(this.i.c2)},set:function(t){this.i.c2=i.stringToBrush(t),this._a("groupHeaderTextColor",i.brushToString(this.i.c2))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipTextColor",{get:function(){return i.brushToString(this.i.da)},set:function(t){this.i.da=i.stringToBrush(t),this._a("toolTipTextColor",i.brushToString(this.i.da))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipBackgroundColor",{get:function(){return i.brushToString(this.i.c9)},set:function(t){this.i.c9=i.stringToBrush(t),this._a("toolTipBackgroundColor",i.brushToString(this.i.c9))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipCornerRadius",{get:function(){return this.i.aw},set:function(t){this.i.aw=+t,this._a("toolTipCornerRadius",this.i.aw)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"toolTipElevation",{get:function(){return this.i.ax},set:function(t){this.i.ax=+t,this._a("toolTipElevation",this.i.ax)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconFill",{get:function(){return i.brushToString(this.i.c4)},set:function(t){this.i.c4=i.stringToBrush(t),this._a("iconFill",i.brushToString(this.i.c4))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"iconStroke",{get:function(){return i.brushToString(this.i.c5)},set:function(t){this.i.c5=i.stringToBrush(t),this._a("iconStroke",i.brushToString(this.i.c5))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"cellTextStyle",{get:function(){return null==this.i.t?null:this.i.t.fontString},set:function(t){var e=new i.FontInfo;e.fontString=t,this.i.t=e,this._a("cellTextStyle",null!=this.i.t?this.i.t.fontString:"")},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingLeft",{get:function(){return this.i.at},set:function(t){this.i.at=+t,this._a("separatorVerticalPaddingLeft",this.i.at)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingRight",{get:function(){return this.i.au},set:function(t){this.i.au=+t,this._a("separatorVerticalPaddingRight",this.i.au)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingTop",{get:function(){return this.i.av},set:function(t){this.i.av=+t,this._a("separatorVerticalPaddingTop",this.i.av)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorVerticalPaddingBottom",{get:function(){return this.i.as},set:function(t){this.i.as=+t,this._a("separatorVerticalPaddingBottom",this.i.as)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingLeft",{get:function(){return this.i.ap},set:function(t){this.i.ap=+t,this._a("separatorHorizontalPaddingLeft",this.i.ap)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingRight",{get:function(){return this.i.aq},set:function(t){this.i.aq=+t,this._a("separatorHorizontalPaddingRight",this.i.aq)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingTop",{get:function(){return this.i.ar},set:function(t){this.i.ar=+t,this._a("separatorHorizontalPaddingTop",this.i.ar)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"separatorHorizontalPaddingBottom",{get:function(){return this.i.ao},set:function(t){this.i.ao=+t,this._a("separatorHorizontalPaddingBottom",this.i.ao)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"showOnHover",{get:function(){return this.i.ad},set:function(t){this.i.ad=i.ensureBool(t),this._a("showOnHover",this.i.ad)},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 a=[],s=i.toSpinal(o);a.push(s+"-");for(var u=this.i.$type.baseType;u&&"Object"!=u.name&&"Base"!=u.name&&"Control"!=u.name&&"DependencyObject"!=u.Name&&"FrameworkElement"!=u.Name;){0===(o=u.name).indexOf("Xam")&&(o=o.substring(3));var l=i.toSpinal(o);a.push(l+"-"),u=u.baseType}if(n){var h=n.i.$type.name;0===h.indexOf("Xam")&&(h=h.substring(3));var c=i.toSpinal(h);a.push(c+"-"+r+"-"),a.push(c+"-"+s+"-")}i.initializePropertiesFromCss(t,this,r+"-",this.hasUserValues,!1,a),this._otherStyling&&this._otherStyling(t,e,n),this._inStyling=!1}},n.prototype.closeSubmenus=function(){this.i.b3()},n.prototype.onCommandStateChanged=function(t,e,i){this.i.onCommandStateChanged(t,null==e?null:e,i)},n.prototype.registerIconFromText=function(t,e,i){this.i.ck(t,e,i)},n.prototype.getIconFromCache=function(t,e){return this.i.ba(t,e)},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 Dt;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._observedAttributesIgcToolbarComponent=null,n.htmlTagName="igc-toolbar",n._isElementRegistered=!1,n}(i.IgcHTMLElement),Qt=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new wt},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._attached||(this._attached=!0,this._flushQueuedAttributes())},n.prototype.disconnectedCallback=function(){t.prototype.disconnectedCallback&&t.prototype.disconnectedCallback.call(this),this.i.disconnectedCallback&&this.i.disconnectedCallback(),this._attached&&(this._attached=!1)},Object.defineProperty(n,"observedAttributes",{get:function(){if(null==n._observedAttributesIgcToolActionLabelComponent){for(var t=i.getAllPropertyNames(n),e=0;e<t.length;e++)t[e]=i.toSpinal(t[e]);n._observedAttributesIgcToolActionLabelComponent=t}return n._observedAttributesIgcToolActionLabelComponent},enumerable:!1,configurable:!0}),n.register=function(){n._isElementRegistered||(n._isElementRegistered=!0,i.RegisterElementHelper.registerElement(n.htmlTagName,n))},n._observedAttributesIgcToolActionLabelComponent=null,n.htmlTagName="igc-tool-action-label",n._isElementRegistered=!1,n}(Ft),Yt=function(){function t(){}return t.register=function(){Qt.register(),i.TypeRegistrar.registerCons("IgcToolActionLabelComponent",Qt),i.TypeRegistrar.register("ToolActionLabel",wt.$type)},t}(),Jt=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new It},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._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.e8},set:function(t){this.i.e8=i.ensureBool(t),this._a("isChecked",this.i.e8)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionCheckboxComponent=null,n.htmlTagName="igc-tool-action-checkbox",n._isElementRegistered=!1,n}(Ft),Zt=function(){function t(){}return t.register=function(){Jt.register(),i.TypeRegistrar.registerCons("IgcToolActionCheckboxComponent",Jt),i.TypeRegistrar.register("ToolActionCheckbox",It.$type)},t}(),te=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new St},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._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.ff)},set:function(t){this.i.ff=i.stringToBrush(t),this._a("actualBackIconColor",i.brushToString(this.i.ff))},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"backIconColor",{get:function(){return i.brushToString(this.i.fg)},set:function(t){this.i.fg=i.stringToBrush(t),this._a("backIconColor",i.brushToString(this.i.fg))},enumerable:!1,configurable:!0}),n._observedAttributesIgcToolActionGroupHeaderComponent=null,n.htmlTagName="igc-tool-action-group-header",n._isElementRegistered=!1,n}(Ft),ee=function(){function t(){}return t.register=function(){te.register(),i.TypeRegistrar.registerCons("IgcToolActionGroupHeaderComponent",te),i.TypeRegistrar.register("ToolActionGroupHeader",St.$type)},t}(),ie=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new kt},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._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.e9},set:function(t){this.i.e9=+t,this._a("value",this.i.e9)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionNumberInputComponent=null,n.htmlTagName="igc-tool-action-number-input",n._isElementRegistered=!1,n}(Ft),ne=function(){function t(){}return t.register=function(){ie.register(),i.TypeRegistrar.registerCons("IgcToolActionNumberInputComponent",ie),i.TypeRegistrar.register("ToolActionNumberInput",kt.$type)},t}(),re=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new At},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._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.fo},set:function(t){this.i.fo=+t,this._a("tooltipDelay",this.i.fo)},enumerable:!1,configurable:!0}),n.prototype.cleanUp=function(){this.i.dh()},n.prototype.openSubMenu=function(){this.i.d6()},n.prototype.closeSubmenu=function(){this.i.dj()},n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionIconButtonComponent=null,n.htmlTagName="igc-tool-action-icon-button",n._isElementRegistered=!1,n}(Ft),oe=function(){function t(){}return t.register=function(){re.register(),i.TypeRegistrar.registerCons("IgcToolActionIconButtonComponent",re),i.TypeRegistrar.register("ToolActionIconButton",At.$type)},t}(),ae=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new xt},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._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))},n._observedAttributesIgcToolActionIconMenuComponent=null,n.htmlTagName="igc-tool-action-icon-menu",n._isElementRegistered=!1,n}(re),se=function(){function t(){}return t.register=function(){ae.register(),i.TypeRegistrar.registerCons("IgcToolActionIconMenuComponent",ae),i.TypeRegistrar.register("ToolActionIconMenu",xt.$type)},t}(),ue=function(){function t(){}return t.register=function(){rt.register(),Yt.register(),Zt.register(),ee.register(),ne.register(),oe.register(),se.register(),n.IgcXInputGroupModule.register(),n.IgcXCheckboxModule.register(),n.IgcXButtonModule.register(),n.IgcXIconModule.register(),Kt.register(),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Kt),i.TypeRegistrar.registerCons("IgcToolPanelComponent",Kt),i.TypeRegistrar.register("ToolPanel",Bt.$type)},t}(),le=function(){function t(){}return t.register=function(){ue.register(),Xt.register(),i.TypeRegistrar.registerCons("IgcToolbarComponent",Xt),i.TypeRegistrar.registerCons("IgcToolbarComponent",Xt),i.TypeRegistrar.register("Toolbar",Et.$type)},t}(),he=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),ce=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Tt},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._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))},n._observedAttributesIgcToolActionButtonComponent=null,n.htmlTagName="igc-tool-action-button",n._isElementRegistered=!1,n}(Ft),pe=function(){function t(){}return t.register=function(){ce.register(),i.TypeRegistrar.registerCons("IgcToolActionButtonComponent",ce),i.TypeRegistrar.register("ToolActionButton",Tt.$type)},t}(),fe=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new jt},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._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.fa},set:function(t){this.i.fa=t},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isChecked",{get:function(){return this.i.e8},set:function(t){this.i.e8=i.ensureBool(t),this._a("isChecked",this.i.e8)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionRadioComponent=null,n.htmlTagName="igc-tool-action-radio",n._isElementRegistered=!1,n}(Ft),de=function(){function t(){}return t.register=function(){fe.register(),i.TypeRegistrar.registerCons("IgcToolActionRadioComponent",fe),i.TypeRegistrar.register("ToolActionRadio",jt.$type)},t}(),be=function(t){function n(){return t.call(this)||this}return e.__extends(n,t),n.prototype.createImplementation=function(){return new Ot},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._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.e9},set:function(t){this.i.e9=+t,this._a("size",this.i.e9)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"isGroupHeaderSeparator",{get:function(){return this.i.e7},set:function(t){this.i.e7=i.ensureBool(t),this._a("isGroupHeaderSeparator",this.i.e7)},enumerable:!1,configurable:!0}),n.prototype.fromInfo=function(t){this.i.dt(t)},n._observedAttributesIgcToolActionSeparatorComponent=null,n.htmlTagName="igc-tool-action-separator",n._isElementRegistered=!1,n}(Ft),ye=function(){function t(){}return t.register=function(){be.register(),i.TypeRegistrar.registerCons("IgcToolActionSeparatorComponent",be),i.TypeRegistrar.register("ToolActionSeparator",Ot.$type)},t}(),ge=new i.Type(null,"IExternalToolbar"),me=new i.Type(null,"IToolbarView"),_e=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),ve=new i.Type(null,"IExternalToolPanel"),Ce=new i.Type(null,"IToolPanelView"),Pe=new i.Type(null,"IExternalListPanel"),Te=new i.Type(null,"IListPanelView"),we=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),je=new i.Type(null,"IPropertyEditorPanelView"),Oe=i.markEnum("PropertyEditorPanelColumnType","Label,0|Value,1"),Ae=i.markEnum("PropertyEditorPanelColumnFieldType","PropertyPath,0|ValueType,1"),Se=function(t){function n(e){var n=t.call(this)||this;if(x.$type||(x.$type=i.markType(x,"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(){x.$type||(x.$type=i.markType(x,"IgcPropertyEditorPropertyDescriptionComponent"));var t=new i.SyncableObservableCollection$2(x.$type,m.$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 x)&&(e._implementation=t),e},t},n}(i.IgCollection),xe=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),Ie=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,"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.DrillDownRequestedEventArgs=Rt,t.ExpansionPanelUtilities=r,t.ExpansionPanelView=s,t.HorizontalPropertyEditorPanelDataSource=B,t.IExternalListPanel_$type=Pe,t.IExternalToolPanel_$type=ve,t.IExternalToolbar_$type=ge,t.IListPanelView_$type=Te,t.INativeUIToolPanelBridge_$type=ot,t.IPropertyEditorPanelView_$type=je,t.IToolPanelView_$type=Ce,t.IToolbarView_$type=me,t.IgcHorizontalPropertyEditorPanelDataSource=Se,t.IgcListPanelComponent=nt,t.IgcListPanelContentRefreshedEventArgs=tt,t.IgcListPanelItemModel=J,t.IgcListPanelModule=rt,t.IgcListPanelTemplateHeightRequestedEventArgs=it,t.IgcListPanelTemplateItemUpdatingEventArgs=Z,t.IgcListPanelTemplateWidthRequestedEventArgs=et,t.IgcOnCollapsedEventArgs=h,t.IgcOnExpandedEventArgs=l,t.IgcPropertyEditorDataSource=Ie,t.IgcPropertyEditorDescriptionObject=w,t.IgcPropertyEditorDescriptionObjectCollection=j,t.IgcPropertyEditorPanelComponent=z,t.IgcPropertyEditorPanelModule=U,t.IgcPropertyEditorPropertyDescriptionButtonClickEventArgs=O,t.IgcPropertyEditorPropertyDescriptionChangedEventArgs=A,t.IgcPropertyEditorPropertyDescriptionCollection=T,t.IgcPropertyEditorPropertyDescriptionComponent=x,t.IgcPropertyEditorPropertyDescriptionModule=I,t.IgcPropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=S,t.IgcToolActionButtonComponent=ce,t.IgcToolActionButtonModule=pe,t.IgcToolActionCheckboxComponent=Jt,t.IgcToolActionCheckboxModule=Zt,t.IgcToolActionCollection=Ut,t.IgcToolActionComponent=Ft,t.IgcToolActionEventDetail=Vt,t.IgcToolActionEventDetailCollection=Ht,t.IgcToolActionGroupHeaderComponent=te,t.IgcToolActionGroupHeaderModule=ee,t.IgcToolActionIconButtonComponent=re,t.IgcToolActionIconButtonModule=oe,t.IgcToolActionIconMenuComponent=ae,t.IgcToolActionIconMenuModule=se,t.IgcToolActionLabelComponent=Qt,t.IgcToolActionLabelModule=Yt,t.IgcToolActionNumberInputComponent=ie,t.IgcToolActionNumberInputModule=ne,t.IgcToolActionPerformedEventArgs=Lt,t.IgcToolActionRadioComponent=fe,t.IgcToolActionRadioModule=de,t.IgcToolActionSeparatorComponent=be,t.IgcToolActionSeparatorModule=ye,t.IgcToolCommandEventArgs=Dt,t.IgcToolPanelComponent=Kt,t.IgcToolPanelContentRefreshedEventArgs=Mt,t.IgcToolPanelModule=ue,t.IgcToolbarComponent=Xt,t.IgcToolbarModule=le,t.IgcXExpansionPanelComponent=c,t.IgcXExpansionPanelModule=p,t.ListPanel=X,t.ListPanelContentRefreshedEventArgs=L,t.ListPanelDataBindingEventArgs=we,t.ListPanelDataSourceNotificationBridge=Q,t.ListPanelItemModel=H,t.ListPanelItemPresenter=F,t.ListPanelLayoutPanel=Y,t.ListPanelOrientation=D,t.ListPanelOrientation_$type=V,t.ListPanelTemplateHeightRequestedEventArgs=G,t.ListPanelTemplateItemUpdatingEventArgs=M,t.ListPanelTemplateWidthRequestedEventArgs=W,t.ListPanelView=K,t.NativeUIContentRefreshedEventArgs=he,t.NativeUILayoutFactory=gt,t.NativeUIToolPanel=Ct,t.NestedActionMode=Wt,t.NestedActionMode_$type=Gt,t.OnCollapsedEventArgs=o,t.OnExpandedEventArgs=a,t.PanelAnimationRequest=zt,t.PanelInfo=qt,t.PropertyEditorDataSource=v,t.PropertyEditorDescriptionObject=C,t.PropertyEditorDescriptionObjectCollection=P,t.PropertyEditorPanel=q,t.PropertyEditorPanelColumnDefinition=E,t.PropertyEditorPanelColumnFieldType_$type=Ae,t.PropertyEditorPanelColumnType_$type=Oe,t.PropertyEditorPanelDataBindingEventArgs=N,t.PropertyEditorPanelDropDownDataListItem=xe,t.PropertyEditorPanelTemplateCellUpdatingEventArgs=k,t.PropertyEditorPanelView=$,t.PropertyEditorPropertyDescription=m,t.PropertyEditorPropertyDescriptionButtonClickEventArgs=b,t.PropertyEditorPropertyDescriptionChangedEventArgs=y,t.PropertyEditorPropertyDescriptionCollection=_,t.PropertyEditorPropertyDescriptionTargetPropertyUpdatingEventArgs=g,t.PropertyEditorTreeTransformer=R,t.PropertyEditorValueType=f,t.PropertyEditorValueType_$type=d,t.ToolAction=Pt,t.ToolActionButton=Tt,t.ToolActionCheckbox=It,t.ToolActionCollection=Nt,t.ToolActionEventDetail=lt,t.ToolActionEventDetailCollection=ct,t.ToolActionGroupHeader=St,t.ToolActionIconButton=At,t.ToolActionIconMenu=xt,t.ToolActionLabel=wt,t.ToolActionMeasurementContext=ht,t.ToolActionNumberInput=kt,t.ToolActionPerformedEventArgs=pt,t.ToolActionRadio=jt,t.ToolActionSeparator=Ot,t.ToolCommandEventArgs=at,t.ToolPanel=Bt,t.ToolPanelContentRefreshedEventArgs=yt,t.ToolPanelOrientation=st,t.ToolPanelOrientation_$type=ut,t.ToolPanelView=vt,t.ToolPanelsPresenter=$t,t.Toolbar=Et,t.ToolbarIconManager=_e,t.ToolbarOrientation=dt,t.ToolbarOrientation_$type=bt,t.ToolbarView=_t,t.TooltipTextPresenter=ft,t.XExpansionPanel=u,t.XToolPanelBridge=mt,Object.defineProperty(t,"__esModule",{value:!0})}));
|